(function(){/*
 The buffer module from node.js, for the browser.

 @author   Feross Aboukhadijeh <http://feross.org>
 @license  MIT
*/
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(array){var index=0;return function(){return index<array.length?{done:!1,value:array[index++]}:{done:!0}}};$jscomp.arrayIterator=function(array){return{next:$jscomp.arrayIteratorImpl(array)}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;
$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(target,property,descriptor){if(target==Array.prototype||target==Object.prototype)return target;target[property]=descriptor.value;return target};
$jscomp.getGlobal=function(passedInThis){passedInThis=["object"==typeof globalThis&&globalThis,passedInThis,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var i=0;i<passedInThis.length;++i){var maybeGlobal=passedInThis[i];if(maybeGlobal&&maybeGlobal.Math==Math)return maybeGlobal}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");
$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(target,property){var obfuscatedName=$jscomp.propertyToPolyfillSymbol[property];if(null==obfuscatedName)return target[property];obfuscatedName=target[obfuscatedName];return void 0!==obfuscatedName?obfuscatedName:target[property]};
$jscomp.polyfill=function(target,polyfill,fromLang,toLang){polyfill&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(target,polyfill,fromLang,toLang):$jscomp.polyfillUnisolated(target,polyfill,fromLang,toLang))};
$jscomp.polyfillUnisolated=function(target,polyfill,fromLang,toLang){fromLang=$jscomp.global;target=target.split(".");for(toLang=0;toLang<target.length-1;toLang++){var key=target[toLang];if(!(key in fromLang))return;fromLang=fromLang[key]}target=target[target.length-1];toLang=fromLang[target];polyfill=polyfill(toLang);polyfill!=toLang&&null!=polyfill&&$jscomp.defineProperty(fromLang,target,{configurable:!0,writable:!0,value:polyfill})};
$jscomp.polyfillIsolated=function(target,polyfill,fromLang,toLang){var split=target.split(".");target=1===split.length;toLang=split[0];toLang=!target&&toLang in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var i=0;i<split.length-1;i++){var key=split[i];if(!(key in toLang))return;toLang=toLang[key]}split=split[split.length-1];fromLang=$jscomp.IS_SYMBOL_NATIVE&&"es6"===fromLang?toLang[split]:null;polyfill=polyfill(fromLang);null!=polyfill&&(target?$jscomp.defineProperty($jscomp.polyfills,
split,{configurable:!0,writable:!0,value:polyfill}):polyfill!==fromLang&&(void 0===$jscomp.propertyToPolyfillSymbol[split]&&(fromLang=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[split]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(split):$jscomp.POLYFILL_PREFIX+fromLang+"$"+split),$jscomp.defineProperty(toLang,$jscomp.propertyToPolyfillSymbol[split],{configurable:!0,writable:!0,value:polyfill})))};$jscomp.initSymbol=function(){};
$jscomp.polyfill("Symbol",function(orig){if(orig)return orig;var SymbolClass=function(id,opt_description){this.$jscomp$symbol$id_=id;$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:opt_description})};SymbolClass.prototype.toString=function(){return this.$jscomp$symbol$id_};var SYMBOL_PREFIX="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",counter=0,symbolPolyfill=function(opt_description){if(this instanceof symbolPolyfill)throw new TypeError("Symbol is not a constructor");
return new SymbolClass(SYMBOL_PREFIX+(opt_description||"")+"_"+counter++,opt_description)};return symbolPolyfill},"es6","es3");
$jscomp.polyfill("Symbol.iterator",function(orig){if(orig)return orig;orig=Symbol("Symbol.iterator");for(var arrayLikes="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),i=0;i<arrayLikes.length;i++){var ArrayLikeCtor=$jscomp.global[arrayLikes[i]];"function"===typeof ArrayLikeCtor&&"function"!=typeof ArrayLikeCtor.prototype[orig]&&$jscomp.defineProperty(ArrayLikeCtor.prototype,orig,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return orig},
"es6","es3");$jscomp.polyfill("Symbol.asyncIterator",function(orig){return orig?orig:Symbol("Symbol.asyncIterator")},"es9","es3");$jscomp.iteratorPrototype=function(next){next={next:next};next[Symbol.iterator]=function(){return this};return next};$jscomp.makeIterator=function(iterable){var iteratorFunction="undefined"!=typeof Symbol&&Symbol.iterator&&iterable[Symbol.iterator];return iteratorFunction?iteratorFunction.call(iterable):$jscomp.arrayIterator(iterable)};
$jscomp.polyfill("Promise",function(NativePromise){function AsyncExecutor(){this.batch_=null}function resolvingPromise(opt_value){return opt_value instanceof PolyfillPromise?opt_value:new PolyfillPromise(function(resolve,reject){resolve(opt_value)})}if(NativePromise&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&"undefined"===typeof $jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return NativePromise;
AsyncExecutor.prototype.asyncExecute=function(f){if(null==this.batch_){this.batch_=[];var self=this;this.asyncExecuteFunction(function(){self.executeBatch_()})}this.batch_.push(f)};var nativeSetTimeout=$jscomp.global.setTimeout;AsyncExecutor.prototype.asyncExecuteFunction=function(f){nativeSetTimeout(f,0)};AsyncExecutor.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var executingBatch=this.batch_;this.batch_=[];for(var i=0;i<executingBatch.length;++i){var f=executingBatch[i];
executingBatch[i]=null;try{f()}catch(error){this.asyncThrow_(error)}}}this.batch_=null};AsyncExecutor.prototype.asyncThrow_=function(exception){this.asyncExecuteFunction(function(){throw exception;})};var PolyfillPromise=function(executor){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var resolveAndReject=this.createResolveAndReject_();try{executor(resolveAndReject.resolve,resolveAndReject.reject)}catch(e){resolveAndReject.reject(e)}};PolyfillPromise.prototype.createResolveAndReject_=
function(){function firstCallWins(method){return function(x){alreadyCalled||(alreadyCalled=!0,method.call(thisPromise,x))}}var thisPromise=this,alreadyCalled=!1;return{resolve:firstCallWins(this.resolveTo_),reject:firstCallWins(this.reject_)}};PolyfillPromise.prototype.resolveTo_=function(value){if(value===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(value instanceof PolyfillPromise)this.settleSameAsPromise_(value);else{a:switch(typeof value){case "object":var JSCompiler_inline_result=
null!=value;break a;case "function":JSCompiler_inline_result=!0;break a;default:JSCompiler_inline_result=!1}JSCompiler_inline_result?this.resolveToNonPromiseObj_(value):this.fulfill_(value)}};PolyfillPromise.prototype.resolveToNonPromiseObj_=function(obj){var thenMethod=void 0;try{thenMethod=obj.then}catch(error){this.reject_(error);return}"function"==typeof thenMethod?this.settleSameAsThenable_(thenMethod,obj):this.fulfill_(obj)};PolyfillPromise.prototype.reject_=function(reason){this.settle_(2,
reason)};PolyfillPromise.prototype.fulfill_=function(value){this.settle_(1,value)};PolyfillPromise.prototype.settle_=function(settledState,valueOrReason){if(0!=this.state_)throw Error("Cannot settle("+settledState+", "+valueOrReason+"): Promise already settled in state"+this.state_);this.state_=settledState;this.result_=valueOrReason;2===this.state_&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};PolyfillPromise.prototype.scheduleUnhandledRejectionCheck_=function(){var self=
this;nativeSetTimeout(function(){if(self.notifyUnhandledRejection_()){var nativeConsole=$jscomp.global.console;"undefined"!==typeof nativeConsole&&nativeConsole.error(self.result_)}},1)};PolyfillPromise.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var NativeCustomEvent=$jscomp.global.CustomEvent,NativeEvent=$jscomp.global.Event,nativeDispatchEvent=$jscomp.global.dispatchEvent;if("undefined"===typeof nativeDispatchEvent)return!0;"function"===typeof NativeCustomEvent?
NativeCustomEvent=new NativeCustomEvent("unhandledrejection",{cancelable:!0}):"function"===typeof NativeEvent?NativeCustomEvent=new NativeEvent("unhandledrejection",{cancelable:!0}):(NativeCustomEvent=$jscomp.global.document.createEvent("CustomEvent"),NativeCustomEvent.initCustomEvent("unhandledrejection",!1,!0,NativeCustomEvent));NativeCustomEvent.promise=this;NativeCustomEvent.reason=this.result_;return nativeDispatchEvent(NativeCustomEvent)};PolyfillPromise.prototype.executeOnSettledCallbacks_=
function(){if(null!=this.onSettledCallbacks_){for(var i=0;i<this.onSettledCallbacks_.length;++i)asyncExecutor.asyncExecute(this.onSettledCallbacks_[i]);this.onSettledCallbacks_=null}};var asyncExecutor=new AsyncExecutor;PolyfillPromise.prototype.settleSameAsPromise_=function(promise){var methods=this.createResolveAndReject_();promise.callWhenSettled_(methods.resolve,methods.reject)};PolyfillPromise.prototype.settleSameAsThenable_=function(thenMethod,thenable){var methods=this.createResolveAndReject_();
try{thenMethod.call(thenable,methods.resolve,methods.reject)}catch(error){methods.reject(error)}};PolyfillPromise.prototype.then=function(onFulfilled,onRejected){function createCallback(paramF,defaultF){return"function"==typeof paramF?function(x){try{resolveChild(paramF(x))}catch(error){rejectChild(error)}}:defaultF}var resolveChild,rejectChild,childPromise=new PolyfillPromise(function(resolve,reject){resolveChild=resolve;rejectChild=reject});this.callWhenSettled_(createCallback(onFulfilled,resolveChild),
createCallback(onRejected,rejectChild));return childPromise};PolyfillPromise.prototype.catch=function(onRejected){return this.then(void 0,onRejected)};PolyfillPromise.prototype.callWhenSettled_=function(onFulfilled,onRejected){function callback(){switch(thisPromise.state_){case 1:onFulfilled(thisPromise.result_);break;case 2:onRejected(thisPromise.result_);break;default:throw Error("Unexpected state: "+thisPromise.state_);}}var thisPromise=this;null==this.onSettledCallbacks_?asyncExecutor.asyncExecute(callback):
this.onSettledCallbacks_.push(callback);this.isRejectionHandled_=!0};PolyfillPromise.resolve=resolvingPromise;PolyfillPromise.reject=function(opt_reason){return new PolyfillPromise(function(resolve,reject){reject(opt_reason)})};PolyfillPromise.race=function(thenablesOrValues){return new PolyfillPromise(function(resolve,reject){for(var iterator=$jscomp.makeIterator(thenablesOrValues),iterRec=iterator.next();!iterRec.done;iterRec=iterator.next())resolvingPromise(iterRec.value).callWhenSettled_(resolve,
reject)})};PolyfillPromise.all=function(thenablesOrValues){var iterator=$jscomp.makeIterator(thenablesOrValues),iterRec=iterator.next();return iterRec.done?resolvingPromise([]):new PolyfillPromise(function(resolveAll,rejectAll){function onFulfilled(i){return function(ithResult){resultsArray[i]=ithResult;unresolvedCount--;0==unresolvedCount&&resolveAll(resultsArray)}}var resultsArray=[],unresolvedCount=0;do resultsArray.push(void 0),unresolvedCount++,resolvingPromise(iterRec.value).callWhenSettled_(onFulfilled(resultsArray.length-
1),rejectAll),iterRec=iterator.next();while(!iterRec.done)})};return PolyfillPromise},"es6","es3");$jscomp.underscoreProtoCanBeSet=function(){var x={a:!0},y={};try{return y.__proto__=x,y.a}catch(e){}return!1};$jscomp.setPrototypeOf=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf:$jscomp.underscoreProtoCanBeSet()?function(target,proto){target.__proto__=proto;if(target.__proto__!==proto)throw new TypeError(target+" is not extensible");return target}:null;
$jscomp.polyfill("Object.setPrototypeOf",function(orig){return orig||$jscomp.setPrototypeOf},"es6","es5");$jscomp.polyfill("Number.isFinite",function(orig){return orig?orig:function(x){return"number"!==typeof x?!1:!isNaN(x)&&Infinity!==x&&-Infinity!==x}},"es6","es3");$jscomp.polyfill("Number.isInteger",function(orig){return orig?orig:function(x){return Number.isFinite(x)?x===Math.floor(x):!1}},"es6","es3");
$jscomp.polyfill("Math.log2",function(orig){return orig?orig:function(x){return Math.log(x)/Math.LN2}},"es6","es3");$jscomp.polyfill("Object.getOwnPropertySymbols",function(orig){return orig?orig:function(){return[]}},"es6","es5");
$jscomp.checkStringArgs=function(thisArg,arg,func){if(null==thisArg)throw new TypeError("The 'this' value for String.prototype."+func+" must not be null or undefined");if(arg instanceof RegExp)throw new TypeError("First argument to String.prototype."+func+" must not be a regular expression");return thisArg+""};
$jscomp.polyfill("String.prototype.startsWith",function(orig){return orig?orig:function(searchString,opt_position){var string=$jscomp.checkStringArgs(this,searchString,"startsWith");searchString+="";var strLen=string.length,searchLen=searchString.length;opt_position=Math.max(0,Math.min(opt_position|0,string.length));for(var j=0;j<searchLen&&opt_position<strLen;)if(string[opt_position++]!=searchString[j++])return!1;return j>=searchLen}},"es6","es3");
$jscomp.polyfill("String.prototype.endsWith",function(orig){return orig?orig:function(searchString,opt_position){var string=$jscomp.checkStringArgs(this,searchString,"endsWith");searchString+="";void 0===opt_position&&(opt_position=string.length);opt_position=Math.max(0,Math.min(opt_position|0,string.length));for(var j=searchString.length;0<j&&0<opt_position;)if(string[--opt_position]!=searchString[--j])return!1;return 0>=j}},"es6","es3");
$jscomp.polyfill("Object.is",function(orig){return orig?orig:function(left,right){return left===right?0!==left||1/left===1/right:left!==left&&right!==right}},"es6","es3");
$jscomp.polyfill("Array.prototype.includes",function(orig){return orig?orig:function(searchElement,opt_fromIndex){var array=this;array instanceof String&&(array=String(array));var len=array.length;opt_fromIndex=opt_fromIndex||0;for(0>opt_fromIndex&&(opt_fromIndex=Math.max(opt_fromIndex+len,0));opt_fromIndex<len;opt_fromIndex++){var element=array[opt_fromIndex];if(element===searchElement||Object.is(element,searchElement))return!0}return!1}},"es7","es3");
$jscomp.polyfill("String.prototype.includes",function(orig){return orig?orig:function(searchString,opt_position){return-1!==$jscomp.checkStringArgs(this,searchString,"includes").indexOf(searchString,opt_position||0)}},"es6","es3");
$jscomp.iteratorFromArray=function(array,transform){array instanceof String&&(array+="");var i=0,done=!1,iter={next:function(){if(!done&&i<array.length){var index=i++;return{value:transform(index,array[index]),done:!1}}done=!0;return{done:!0,value:void 0}}};iter[Symbol.iterator]=function(){return iter};return iter};$jscomp.polyfill("Array.prototype.keys",function(orig){return orig?orig:function(){return $jscomp.iteratorFromArray(this,function(i){return i})}},"es6","es3");
$jscomp.polyfill("Array.prototype.entries",function(orig){return orig?orig:function(){return $jscomp.iteratorFromArray(this,function(i,v){return[i,v]})}},"es6","es3");
$jscomp.polyfill("Array.from",function(orig){return orig?orig:function(arrayLike,opt_mapFn,opt_thisArg){opt_mapFn=null!=opt_mapFn?opt_mapFn:function(x){return x};var result=[],iteratorFunction="undefined"!=typeof Symbol&&Symbol.iterator&&arrayLike[Symbol.iterator];if("function"==typeof iteratorFunction){arrayLike=iteratorFunction.call(arrayLike);for(var k=0;!(iteratorFunction=arrayLike.next()).done;)result.push(opt_mapFn.call(opt_thisArg,iteratorFunction.value,k++))}else for(iteratorFunction=arrayLike.length,
k=0;k<iteratorFunction;k++)result.push(opt_mapFn.call(opt_thisArg,arrayLike[k],k));return result}},"es6","es3");$jscomp.owns=function(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)};$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(target,var_args){for(var i=1;i<arguments.length;i++){var source=arguments[i];if(source)for(var key in source)$jscomp.owns(source,key)&&(target[key]=source[key])}return target};
$jscomp.polyfill("Object.assign",function(orig){return orig||$jscomp.assign},"es6","es3");$jscomp.polyfill("Array.prototype.values",function(orig){return orig?orig:function(){return $jscomp.iteratorFromArray(this,function(k,v){return v})}},"es8","es3");$jscomp.polyfill("Number.isNaN",function(orig){return orig?orig:function(x){return"number"===typeof x&&isNaN(x)}},"es6","es3");
$jscomp.findInternal=function(array,callback,thisArg){array instanceof String&&(array=String(array));for(var len=array.length,i=0;i<len;i++){var value=array[i];if(callback.call(thisArg,value,i,array))return{i:i,v:value}}return{i:-1,v:void 0}};$jscomp.polyfill("Array.prototype.find",function(orig){return orig?orig:function(callback,opt_thisArg){return $jscomp.findInternal(this,callback,opt_thisArg).v}},"es6","es3");
$jscomp.polyfill("Array.prototype.findIndex",function(orig){return orig?orig:function(callback,opt_thisArg){return $jscomp.findInternal(this,callback,opt_thisArg).i}},"es6","es3");
$jscomp.polyfill("String.fromCodePoint",function(orig){return orig?orig:function(var_args){for(var result="",i=0;i<arguments.length;i++){var code=Number(arguments[i]);if(0>code||1114111<code||code!==Math.floor(code))throw new RangeError("invalid_code_point "+code);65535>=code?result+=String.fromCharCode(code):(code-=65536,result+=String.fromCharCode(code>>>10&1023|55296),result+=String.fromCharCode(code&1023|56320))}return result}},"es6","es3");
$jscomp.polyfill("String.prototype.repeat",function(orig){return orig?orig:function(copies){var string=$jscomp.checkStringArgs(this,null,"repeat");if(0>copies||1342177279<copies)throw new RangeError("Invalid count value");copies|=0;for(var result="";copies;)if(copies&1&&(result+=string),copies>>>=1)string+=string;return result}},"es6","es3");
$jscomp.stringPadding=function(padString,padLength){padString=void 0!==padString?String(padString):" ";return 0<padLength&&padString?padString.repeat(Math.ceil(padLength/padString.length)).substring(0,padLength):""};$jscomp.polyfill("String.prototype.padStart",function(orig){return orig?orig:function(targetLength,opt_padString){var string=$jscomp.checkStringArgs(this,null,"padStart");return $jscomp.stringPadding(opt_padString,targetLength-string.length)+string}},"es8","es3");
$jscomp.checkEs6ConformanceViaProxy=function(){try{var proxied={},proxy=Object.create(new $jscomp.global.Proxy(proxied,{get:function(target,key,receiver){return target==proxied&&"q"==key&&receiver==proxy}}));return!0===proxy.q}catch(err){return!1}};$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!1;$jscomp.ES6_CONFORMANCE=$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&$jscomp.checkEs6ConformanceViaProxy();
$jscomp.polyfill("WeakMap",function(NativeWeakMap){function isConformant(){if(!NativeWeakMap||!Object.seal)return!1;try{var x=Object.seal({}),y=Object.seal({}),map=new NativeWeakMap([[x,2],[y,3]]);if(2!=map.get(x)||3!=map.get(y))return!1;map.delete(x);map.set(y,4);return!map.has(x)&&4==map.get(y)}catch(err){return!1}}function WeakMapMembership(){}function isValidKey(key){var type=typeof key;return"object"===type&&null!==key||"function"===type}function insert(target){if(!$jscomp.owns(target,prop)){var obj=
new WeakMapMembership;$jscomp.defineProperty(target,prop,{value:obj})}}function patch(name){if(!$jscomp.ISOLATE_POLYFILLS){var prev=Object[name];prev&&(Object[name]=function(target){if(target instanceof WeakMapMembership)return target;Object.isExtensible(target)&&insert(target);return prev(target)})}}if($jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS){if(NativeWeakMap&&$jscomp.ES6_CONFORMANCE)return NativeWeakMap}else if(isConformant())return NativeWeakMap;var prop="$jscomp_hidden_"+Math.random();patch("freeze");
patch("preventExtensions");patch("seal");var index=0,PolyfillWeakMap=function(opt_iterable){this.id_=(index+=Math.random()+1).toString();if(opt_iterable){opt_iterable=$jscomp.makeIterator(opt_iterable);for(var entry;!(entry=opt_iterable.next()).done;)entry=entry.value,this.set(entry[0],entry[1])}};PolyfillWeakMap.prototype.set=function(key,value){if(!isValidKey(key))throw Error("Invalid WeakMap key");insert(key);if(!$jscomp.owns(key,prop))throw Error("WeakMap key fail: "+key);key[prop][this.id_]=
value;return this};PolyfillWeakMap.prototype.get=function(key){return isValidKey(key)&&$jscomp.owns(key,prop)?key[prop][this.id_]:void 0};PolyfillWeakMap.prototype.has=function(key){return isValidKey(key)&&$jscomp.owns(key,prop)&&$jscomp.owns(key[prop],this.id_)};PolyfillWeakMap.prototype.delete=function(key){return isValidKey(key)&&$jscomp.owns(key,prop)&&$jscomp.owns(key[prop],this.id_)?delete key[prop][this.id_]:!1};return PolyfillWeakMap},"es6","es3");$jscomp.MapEntry=function(){};
$jscomp.polyfill("Map",function(NativeMap){function isConformant(){if($jscomp.ASSUME_NO_NATIVE_MAP||!NativeMap||"function"!=typeof NativeMap||!NativeMap.prototype.entries||"function"!=typeof Object.seal)return!1;try{var key=Object.seal({x:4}),map=new NativeMap($jscomp.makeIterator([[key,"s"]]));if("s"!=map.get(key)||1!=map.size||map.get({x:4})||map.set({x:4},"t")!=map||2!=map.size)return!1;var iter=map.entries(),item=iter.next();if(item.done||item.value[0]!=key||"s"!=item.value[1])return!1;item=iter.next();
return item.done||4!=item.value[0].x||"t"!=item.value[1]||!iter.next().done?!1:!0}catch(err){return!1}}if($jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS){if(NativeMap&&$jscomp.ES6_CONFORMANCE)return NativeMap}else if(isConformant())return NativeMap;var idMap=new WeakMap,PolyfillMap=function(opt_iterable){this.data_={};this.head_=createHead();this.size=0;if(opt_iterable){opt_iterable=$jscomp.makeIterator(opt_iterable);for(var entry;!(entry=opt_iterable.next()).done;)entry=entry.value,this.set(entry[0],
entry[1])}};PolyfillMap.prototype.set=function(key,value){key=0===key?0:key;var r=maybeGetEntry(this,key);r.list||(r.list=this.data_[r.id]=[]);r.entry?r.entry.value=value:(r.entry={next:this.head_,previous:this.head_.previous,head:this.head_,key:key,value:value},r.list.push(r.entry),this.head_.previous.next=r.entry,this.head_.previous=r.entry,this.size++);return this};PolyfillMap.prototype.delete=function(key){key=maybeGetEntry(this,key);return key.entry&&key.list?(key.list.splice(key.index,1),key.list.length||
delete this.data_[key.id],key.entry.previous.next=key.entry.next,key.entry.next.previous=key.entry.previous,key.entry.head=null,this.size--,!0):!1};PolyfillMap.prototype.clear=function(){this.data_={};this.head_=this.head_.previous=createHead();this.size=0};PolyfillMap.prototype.has=function(key){return!!maybeGetEntry(this,key).entry};PolyfillMap.prototype.get=function(key){return(key=maybeGetEntry(this,key).entry)&&key.value};PolyfillMap.prototype.entries=function(){return makeIterator(this,function(entry){return[entry.key,
entry.value]})};PolyfillMap.prototype.keys=function(){return makeIterator(this,function(entry){return entry.key})};PolyfillMap.prototype.values=function(){return makeIterator(this,function(entry){return entry.value})};PolyfillMap.prototype.forEach=function(callback,opt_thisArg){for(var iter=this.entries(),item;!(item=iter.next()).done;)item=item.value,callback.call(opt_thisArg,item[1],item[0],this)};PolyfillMap.prototype[Symbol.iterator]=PolyfillMap.prototype.entries;var maybeGetEntry=function(map,
key){var id=key&&typeof key;"object"==id||"function"==id?idMap.has(key)?id=idMap.get(key):(id=""+ ++mapIndex,idMap.set(key,id)):id="p_"+key;var list=map.data_[id];if(list&&$jscomp.owns(map.data_,id))for(map=0;map<list.length;map++){var entry=list[map];if(key!==key&&entry.key!==entry.key||key===entry.key)return{id:id,list:list,index:map,entry:entry}}return{id:id,list:list,index:-1,entry:void 0}},makeIterator=function(map,func){var entry=map.head_;return $jscomp.iteratorPrototype(function(){if(entry){for(;entry.head!=
map.head_;)entry=entry.previous;for(;entry.next!=entry.head;)return entry=entry.next,{done:!1,value:func(entry)};entry=null}return{done:!0,value:void 0}})},createHead=function(){var head={};return head.previous=head.next=head.head=head},mapIndex=0;return PolyfillMap},"es6","es3");$jscomp.atMethod=function(index){index=Math.trunc(index)||0;0>index&&(index+=this.length);if(!(0>index||index>=this.length))return this[index]};
$jscomp.polyfill("Array.prototype.at",function(orig){return orig?orig:$jscomp.atMethod},"es_next","es5");$jscomp.typedArrayAt=function(orig){return orig?orig:$jscomp.atMethod};$jscomp.polyfill("Int8Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");$jscomp.polyfill("Uint8Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");$jscomp.polyfill("Uint8ClampedArray.prototype.at",$jscomp.typedArrayAt,"es_next","es5");$jscomp.polyfill("Int16Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");
$jscomp.polyfill("Uint16Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");$jscomp.polyfill("Int32Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");$jscomp.polyfill("Uint32Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");$jscomp.polyfill("Float32Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");$jscomp.polyfill("Float64Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");
$jscomp.polyfill("String.prototype.at",function(orig){return orig?orig:$jscomp.atMethod},"es_next","es5");
$jscomp.polyfill("Array.prototype.fill",function(orig){return orig?orig:function(value,opt_start,opt_end){var length=this.length||0;0>opt_start&&(opt_start=Math.max(0,length+opt_start));if(null==opt_end||opt_end>length)opt_end=length;opt_end=Number(opt_end);0>opt_end&&(opt_end=Math.max(0,length+opt_end));for(opt_start=Number(opt_start||0);opt_start<opt_end;opt_start++)this[opt_start]=value;return this}},"es6","es3");$jscomp.typedArrayFill=function(orig){return orig?orig:Array.prototype.fill};
$jscomp.polyfill("Int8Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Uint8Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Uint8ClampedArray.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Int16Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Uint16Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Int32Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");
$jscomp.polyfill("Uint32Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Float32Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Float64Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Object.values",function(orig){return orig?orig:function(obj){var result=[],key;for(key in obj)$jscomp.owns(obj,key)&&result.push(obj[key]);return result}},"es8","es3");
$jscomp.polyfill("String.prototype.codePointAt",function(orig){return orig?orig:function(position){var string=$jscomp.checkStringArgs(this,null,"codePointAt"),size=string.length;position=Number(position)||0;if(0<=position&&position<size){position|=0;var first=string.charCodeAt(position);if(55296>first||56319<first||position+1===size)return first;position=string.charCodeAt(position+1);return 56320>position||57343<position?first:1024*(first-55296)+position+9216}}},"es6","es3");
(function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.l=!0;return module.exports}var installedModules={};__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,
name,{enumerable:!0,get:getter})};__webpack_require__.r=function(exports){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});Object.defineProperty(exports,"__esModule",{value:!0})};__webpack_require__.t=function(value,mode){mode&1&&(value=__webpack_require__(value));if(mode&8||mode&4&&"object"===typeof value&&value&&value.__esModule)return value;var ns=Object.create(null);__webpack_require__.r(ns);Object.defineProperty(ns,"default",
{enumerable:!0,value:value});if(mode&2&&"string"!=typeof value)for(var key$jscomp$0 in value)__webpack_require__.d(ns,key$jscomp$0,function(key){return value[key]}.bind(null,key$jscomp$0));return ns};__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module["default"]}:function(){return module};__webpack_require__.d(getter,"a",getter);return getter};__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)};
__webpack_require__.p="/core/pdfjs/";return __webpack_require__(__webpack_require__.s=1)})([function(module,exports){exports=function(){return this}();try{exports=exports||(new Function("return this"))()}catch(e){"object"===typeof window&&(exports=window)}module.exports=exports},function(module,exports,__webpack_require__){module.exports=__webpack_require__(2)},function(module$jscomp$2,exports$jscomp$1,__webpack_require__){(function(Buffer,global$jscomp$0,process,module$jscomp$1){function _typeof2(obj$jscomp$0){"@babel/helpers - typeof";
return _typeof2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof2(obj$jscomp$0)}var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(root,factory){"object"===_typeof2(exports$jscomp$1)&&"object"===_typeof2(module$jscomp$1)?module$jscomp$1.exports=factory():!(__WEBPACK_AMD_DEFINE_ARRAY__=
[],__WEBPACK_AMD_DEFINE_FACTORY__=factory,__WEBPACK_AMD_DEFINE_RESULT__="function"===typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports$jscomp$1,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module$jscomp$1.exports=__WEBPACK_AMD_DEFINE_RESULT__))})(this,function(){return function(modules){function __w_pdfjs_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]=
{i:moduleId,l:!1,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__w_pdfjs_require__);module.l=!0;return module.exports}var installedModules={};__w_pdfjs_require__.m=modules;__w_pdfjs_require__.c=installedModules;__w_pdfjs_require__.d=function(exports,name,getter){__w_pdfjs_require__.o(exports,name)||Object.defineProperty(exports,name,{enumerable:!0,get:getter})};__w_pdfjs_require__.r=function(exports){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,
Symbol.toStringTag,{value:"Module"});Object.defineProperty(exports,"__esModule",{value:!0})};__w_pdfjs_require__.t=function(value,mode){mode&1&&(value=__w_pdfjs_require__(value));if(mode&8||mode&4&&"object"===_typeof2(value)&&value&&value.__esModule)return value;var ns=Object.create(null);__w_pdfjs_require__.r(ns);Object.defineProperty(ns,"default",{enumerable:!0,value:value});if(mode&2&&"string"!=typeof value)for(var key$jscomp$0 in value)__w_pdfjs_require__.d(ns,key$jscomp$0,function(key){return value[key]}.bind(null,
key$jscomp$0));return ns};__w_pdfjs_require__.n=function(module){var getter=module&&module.__esModule?function(){return module["default"]}:function(){return module};__w_pdfjs_require__.d(getter,"a",getter);return getter};__w_pdfjs_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)};__w_pdfjs_require__.p="";return __w_pdfjs_require__(__w_pdfjs_require__.s=0)}([function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(1);exports.WorkerMessageHandler=
module.WorkerMessageHandler},function(module,exports,__w_pdfjs_require__){function _slicedToArray(arr,i){var JSCompiler_temp=Array.isArray(arr)?arr:void 0;if(!JSCompiler_temp)if(Symbol.iterator in Object(arr)||"[object Arguments]"===Object.prototype.toString.call(arr)){JSCompiler_temp=[];var _n=!0,_d=!1,_e=void 0;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done)&&(JSCompiler_temp.push(_s.value),!i||JSCompiler_temp.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=
_i["return"])_i["return"]()}finally{if(_d)throw _e;}}}else JSCompiler_temp=void 0;if(!(arr=JSCompiler_temp))throw new TypeError("Invalid attempt to destructure non-iterable instance");return arr}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){reject(error);return}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,
reject){function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}var gen=fn.apply(self,args);_next(void 0)})}}Object.defineProperty(exports,"__esModule",{value:!0});exports.WorkerMessageHandler=exports.WorkerTask=void 0;var _regenerator=function(obj){return obj&&obj.__esModule?obj:{"default":obj}}(__w_pdfjs_require__(2)),_util=__w_pdfjs_require__(5),_primitives=__w_pdfjs_require__(188),
_pdf_manager=__w_pdfjs_require__(189);module=__w_pdfjs_require__(52);var _message_handler=__w_pdfjs_require__(228),_worker_stream=__w_pdfjs_require__(229),_core_utils=__w_pdfjs_require__(191),WorkerTask=function(){function WorkerTask(name){this.name=name;this.terminated=!1;this._capability=(0,_util.createPromiseCapability)()}WorkerTask.prototype={get finished(){return this._capability.promise},finish:function(){this._capability.resolve()},terminate:function(){this.terminated=!0},ensureNotTerminated:function(){if(this.terminated)throw Error("Worker task was terminated");
}};return WorkerTask}();exports.WorkerTask=WorkerTask;var WorkerMessageHandler={setup:function(handler,port){var testMessageProcessed=!1;handler.on("test",function(data){testMessageProcessed||(testMessageProcessed=!0,data instanceof Uint8Array?(data=255===data[0],handler.postMessageTransfers=data,handler.send("test",{supportTransfers:data})):handler.send("test",null))});handler.on("configure",function(data){(0,_util.setVerbosityLevel)(data.verbosity)});handler.on("GetDocRequest",function(data){return WorkerMessageHandler.createDocumentHandler(data,
port)})},createDocumentHandler:function(docParams,port){function ensureNotTerminated(){if(terminated)throw Error("Worker was terminated");}function finishWorkerTask(task){task.finish();task=WorkerTasks.indexOf(task);WorkerTasks.splice(task,1)}function loadDocument(_x){return _loadDocument.apply(this,arguments)}function _loadDocument(){_loadDocument=_asyncToGenerator(_regenerator["default"].mark(function _callee(recoveryMode){var _ref4,_ref5,numPages,fingerprint;return _regenerator["default"].wrap(function(_context){for(;;)switch(_context.prev=
_context.next){case 0:return _context.next=2,pdfManager.ensureDoc("checkHeader");case 2:return _context.next=4,pdfManager.ensureDoc("parseStartXRef");case 4:return _context.next=6,pdfManager.ensureDoc("parse",[recoveryMode]);case 6:if(recoveryMode){_context.next=9;break}_context.next=9;return pdfManager.ensureDoc("checkFirstPage");case 9:return _context.next=11,Promise.all([pdfManager.ensureDoc("numPages"),pdfManager.ensureDoc("fingerprint")]);case 11:return _ref4=_context.sent,_ref5=_slicedToArray(_ref4,
2),numPages=_ref5[0],fingerprint=_ref5[1],_context.abrupt("return",{numPages:numPages,fingerprint:fingerprint});case 16:case "end":return _context.stop()}},_callee)}));return _loadDocument.apply(this,arguments)}function getPdfManager(data$jscomp$0,evaluatorOptions){var pdfManagerCapability=(0,_util.createPromiseCapability)(),source=data$jscomp$0.source;if(source.data){try{var pdfManager=new _pdf_manager.LocalPdfManager(docId,source.data,source.password,evaluatorOptions,docBaseUrl);pdfManagerCapability.resolve(pdfManager)}catch(ex){pdfManagerCapability.reject(ex)}return pdfManagerCapability.promise}var cachedChunks=
[];try{var pdfStream=new _worker_stream.PDFWorkerStream(handler)}catch(ex$0){return pdfManagerCapability.reject(ex$0),pdfManagerCapability.promise}var fullRequest=pdfStream.getFullReader();fullRequest.headersReady.then(function(){if(fullRequest.isRangeSupported){pdfManager=new _pdf_manager.NetworkPdfManager(docId,pdfStream,{msgHandler:handler,password:source.password,length:fullRequest.contentLength,disableAutoFetch:source.disableAutoFetch||fullRequest.isStreamingSupported,rangeChunkSize:source.rangeChunkSize},
evaluatorOptions,docBaseUrl);for(var i=0;i<cachedChunks.length;i++)pdfManager.sendProgressiveData(cachedChunks[i]);cachedChunks=[];pdfManagerCapability.resolve(pdfManager);cancelXHRs=null}})["catch"](function(reason){pdfManagerCapability.reject(reason);cancelXHRs=null});var loaded=0;(new Promise(function(resolve,reject){fullRequest.read().then(function readChunk(chunk){try{if(ensureNotTerminated(),chunk.done){if(!pdfManager){var pdfFile=(0,_util.arraysToBytes)(cachedChunks);source.length&&pdfFile.length!==
source.length&&(0,_util.warn)("reported HTTP length is different from actual");try{pdfManager=new _pdf_manager.LocalPdfManager(docId,pdfFile,source.password,evaluatorOptions,docBaseUrl),pdfManagerCapability.resolve(pdfManager)}catch(ex$1){pdfManagerCapability.reject(ex$1)}cachedChunks=[]}cancelXHRs=null}else{var data=chunk.value;loaded+=(0,_util.arrayByteLength)(data);fullRequest.isStreamingSupported||handler.send("DocProgress",{loaded:loaded,total:Math.max(loaded,fullRequest.contentLength||0)});
pdfManager?pdfManager.sendProgressiveData(data):cachedChunks.push(data);fullRequest.read().then(readChunk,reject)}}catch(e){reject(e)}},reject)}))["catch"](function(e){pdfManagerCapability.reject(e);cancelXHRs=null});cancelXHRs=function(reason){pdfStream.cancelAllRequests(reason)};return pdfManagerCapability.promise}function setupDoc(data$jscomp$0){function onSuccess(doc){ensureNotTerminated();handler.send("GetDoc",{pdfInfo:doc})}function onFailure(ex){ensureNotTerminated();if(ex instanceof _util.PasswordException){var task=
new WorkerTask("PasswordException: response ".concat(ex.code));WorkerTasks.push(task);handler.sendWithPromise("PasswordRequest",ex).then(function(data){finishWorkerTask(task);pdfManager.updatePassword(data.password);pdfManagerReady()})["catch"](function(){finishWorkerTask(task);handler.send("DocException",ex)})}else ex instanceof _util.InvalidPDFException||ex instanceof _util.MissingPDFException||ex instanceof _util.UnexpectedResponseException||ex instanceof _util.UnknownErrorException?handler.send("DocException",
ex):handler.send("DocException",new _util.UnknownErrorException(ex.message,ex.toString()))}function pdfManagerReady(){ensureNotTerminated();loadDocument(!1).then(onSuccess,function(ex){ensureNotTerminated();ex instanceof _core_utils.XRefParseException?(pdfManager.requestLoadedStream(),pdfManager.onLoadedStream().then(function(){ensureNotTerminated();loadDocument(!0).then(onSuccess,onFailure)})):onFailure(ex)},onFailure)}ensureNotTerminated();getPdfManager(data$jscomp$0,{forceDataSchema:data$jscomp$0.disableCreateObjectURL,
maxImageSize:data$jscomp$0.maxImageSize,disableFontFace:data$jscomp$0.disableFontFace,nativeImageDecoderSupport:data$jscomp$0.nativeImageDecoderSupport,ignoreErrors:data$jscomp$0.ignoreErrors,isEvalSupported:data$jscomp$0.isEvalSupported}).then(function(newPdfManager){if(terminated)throw newPdfManager.terminate(new _util.AbortException("Worker was terminated.")),Error("Worker was terminated");pdfManager=newPdfManager;pdfManager.onLoadedStream().then(function(stream){handler.send("DataLoaded",{length:stream.bytes.byteLength})})}).then(pdfManagerReady,
onFailure)}var pdfManager,terminated=!1,cancelXHRs=null,WorkerTasks=[],verbosity=(0,_util.getVerbosityLevel)(),apiVersion=docParams.apiVersion;if("2.4.283"!==apiVersion)throw Error('The API version "'.concat(apiVersion,'" does not match ')+'the Worker version "'.concat("2.4.283",'".'));var docId=docParams.docId,docBaseUrl=docParams.docBaseUrl;apiVersion=docParams.docId+"_worker";var disableFlattenedAnnotations=docParams.disableFlattenedAnnotations,renderFormFields=docParams.renderFormFields;"undefined"!==
typeof self&&(self.disableFlattenedAnnotations=disableFlattenedAnnotations,self.renderFormFields=renderFormFields);"undefined"!==typeof window&&(window.disableFlattenedAnnotations=disableFlattenedAnnotations,window.renderFormFields=renderFormFields);var handler=new _message_handler.MessageHandler(apiVersion,docId,port);handler.postMessageTransfers=docParams.postMessageTransfers;handler.on("GetPage",function(data){return pdfManager.getPage(data.pageIndex).then(function(page){return Promise.all([pdfManager.ensure(page,
"rotate"),pdfManager.ensure(page,"ref"),pdfManager.ensure(page,"userUnit"),pdfManager.ensure(page,"view")]).then(function(_ref){_ref=_slicedToArray(_ref,4);return{rotate:_ref[0],ref:_ref[1],userUnit:_ref[2],view:_ref[3]}})})});handler.on("GetPageIndex",function(data){data=_primitives.Ref.get(data.ref.num,data.ref.gen);return pdfManager.pdfDocument.catalog.getPageIndex(data)});handler.on("GetDestinations",function(data){return pdfManager.ensureCatalog("destinations")});handler.on("GetDestination",
function(data){return pdfManager.ensureCatalog("getDestination",[data.id])});handler.on("GetPageLabels",function(data){return pdfManager.ensureCatalog("pageLabels")});handler.on("GetPageLayout",function(data){return pdfManager.ensureCatalog("pageLayout")});handler.on("GetPageMode",function(data){return pdfManager.ensureCatalog("pageMode")});handler.on("GetViewerPreferences",function(data){return pdfManager.ensureCatalog("viewerPreferences")});handler.on("GetOpenActionDestination",function(data){return pdfManager.ensureCatalog("openActionDestination")});
handler.on("GetAttachments",function(data){return pdfManager.ensureCatalog("attachments")});handler.on("GetJavaScript",function(data){return pdfManager.ensureCatalog("javaScript")});handler.on("GetOutline",function(data){return pdfManager.ensureCatalog("documentOutline")});handler.on("GetPermissions",function(data){return pdfManager.ensureCatalog("permissions")});handler.on("GetMetadata",function(data){return Promise.all([pdfManager.ensureDoc("documentInfo"),pdfManager.ensureCatalog("metadata")])});
handler.on("GetData",function(data){pdfManager.requestLoadedStream();return pdfManager.onLoadedStream().then(function(stream){return stream.bytes})});handler.on("GetStats",function(data){return pdfManager.pdfDocument.xref.stats});handler.on("GetAnnotations",function(_ref3){var intent=_ref3.intent;return pdfManager.getPage(_ref3.pageIndex).then(function(page){return page.getAnnotationsData(intent)})});handler.on("GetOperatorList",function(data,sink){var pageIndex=data.pageIndex;pdfManager.getPage(pageIndex).then(function(page){var task=
new WorkerTask("GetOperatorList: page ".concat(pageIndex));WorkerTasks.push(task);var start=verbosity>=_util.VerbosityLevel.INFOS?Date.now():0;page.getOperatorList({handler:handler,sink:sink,task:task,intent:data.intent,renderInteractiveForms:data.renderInteractiveForms}).then(function(operatorListInfo){finishWorkerTask(task);start&&(0,_util.info)("page=".concat(pageIndex+1," - getOperatorList: time=")+"".concat(Date.now()-start,"ms, len=").concat(operatorListInfo.length));sink.close()},function(reason){finishWorkerTask(task);
task.terminated||(handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.unknown}),sink.error(reason))})})},this);handler.on("GetTextContent",function(data,sink){var pageIndex=data.pageIndex;sink.onPull=function(desiredSize){};sink.onCancel=function(reason){};pdfManager.getPage(pageIndex).then(function(page){var task=new WorkerTask("GetTextContent: page "+pageIndex);WorkerTasks.push(task);var start=verbosity>=_util.VerbosityLevel.INFOS?Date.now():0;page.extractTextContent({handler:handler,
task:task,sink:sink,normalizeWhitespace:data.normalizeWhitespace,combineTextItems:data.combineTextItems}).then(function(){finishWorkerTask(task);start&&(0,_util.info)("page=".concat(pageIndex+1," - getTextContent: time=")+"".concat(Date.now()-start,"ms"));sink.close()},function(reason){finishWorkerTask(task);task.terminated||sink.error(reason)})})});handler.on("FontFallback",function(data){return pdfManager.fontFallback(data.id,handler)});handler.on("Cleanup",function(data){return pdfManager.cleanup()});
handler.on("Terminate",function(data){terminated=!0;pdfManager&&(pdfManager.terminate(new _util.AbortException("Worker was terminated.")),pdfManager=null);cancelXHRs&&cancelXHRs(new _util.AbortException("Worker was terminated."));(0,_primitives.clearPrimitiveCaches)();var waitOn=[];WorkerTasks.forEach(function(task){waitOn.push(task.finished);task.terminate()});return Promise.all(waitOn).then(function(){handler.destroy();handler=null})});handler.on("Ready",function(data){setupDoc(docParams);docParams=
null});return apiVersion},initializeFromPort:function(port){var handler=new _message_handler.MessageHandler("worker","main",port);WorkerMessageHandler.setup(handler,port);handler.send("ready",null)}};exports.WorkerMessageHandler=WorkerMessageHandler;"undefined"===typeof window&&!module.isNodeJS&&"undefined"!==typeof self&&"function"===typeof self.postMessage&&"onmessage"in self&&WorkerMessageHandler.initializeFromPort(self)},function(module,exports,__w_pdfjs_require__){module.exports=__w_pdfjs_require__(3)},
function(module$jscomp$0,exports$jscomp$0,__w_pdfjs_require__){(function(module){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}module=function(exports){function wrap(innerFn,outerFn,self,tryLocsList){outerFn=Object.create((outerFn&&outerFn.prototype instanceof
Generator?outerFn:Generator).prototype);tryLocsList=new Context(tryLocsList||[]);outerFn._invoke=makeInvokeMethod(innerFn,self,tryLocsList);return outerFn}function tryCatch(fn,obj,arg){try{return{type:"normal",arg:fn.call(obj,arg)}}catch(err){return{type:"throw",arg:err}}}function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}function defineIteratorMethods(prototype){["next","throw","return"].forEach(function(method){prototype[method]=function(arg){return this._invoke(method,
arg)}})}function AsyncIterator(generator){function invoke(method,arg,resolve,reject){method=tryCatch(generator[method],generator,arg);if("throw"===method.type)reject(method.arg);else{var result=method.arg;return(method=result.value)&&"object"===_typeof(method)&&hasOwn.call(method,"__await")?Promise.resolve(method.__await).then(function(value){invoke("next",value,resolve,reject)},function(err){invoke("throw",err,resolve,reject)}):Promise.resolve(method).then(function(unwrapped){result.value=unwrapped;
resolve(result)},function(error){return invoke("throw",error,resolve,reject)})}}var previousPromise;this._invoke=function(method,arg){function callInvokeWithMethodAndArg(){return new Promise(function(resolve,reject){invoke(method,arg,resolve,reject)})}return previousPromise=previousPromise?previousPromise.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function makeInvokeMethod(innerFn,self,context){var state=GenStateSuspendedStart;return function(method,
arg){if(state===GenStateExecuting)throw Error("Generator is already running");if(state===GenStateCompleted){if("throw"===method)throw arg;return doneResult()}context.method=method;for(context.arg=arg;;){if(method=context.delegate)if(method=maybeInvokeDelegate(method,context)){if(method===ContinueSentinel)continue;return method}if("next"===context.method)context.sent=context._sent=context.arg;else if("throw"===context.method){if(state===GenStateSuspendedStart)throw state=GenStateCompleted,context.arg;
context.dispatchException(context.arg)}else"return"===context.method&&context.abrupt("return",context.arg);state=GenStateExecuting;method=tryCatch(innerFn,self,context);if("normal"===method.type){state=context.done?GenStateCompleted:GenStateSuspendedYield;if(method.arg===ContinueSentinel)continue;return{value:method.arg,done:context.done}}"throw"===method.type&&(state=GenStateCompleted,context.method="throw",context.arg=method.arg)}}}function maybeInvokeDelegate(delegate,context){var method=delegate.iterator[context.method];
if(undefined===method){context.delegate=null;if("throw"===context.method){if(delegate.iterator["return"]&&(context.method="return",context.arg=undefined,maybeInvokeDelegate(delegate,context),"throw"===context.method))return ContinueSentinel;context.method="throw";context.arg=new TypeError("The iterator does not provide a 'throw' method")}return ContinueSentinel}method=tryCatch(method,delegate.iterator,context.arg);if("throw"===method.type)return context.method="throw",context.arg=method.arg,context.delegate=
null,ContinueSentinel;method=method.arg;if(!method)return context.method="throw",context.arg=new TypeError("iterator result is not an object"),context.delegate=null,ContinueSentinel;if(method.done)context[delegate.resultName]=method.value,context.next=delegate.nextLoc,"return"!==context.method&&(context.method="next",context.arg=undefined);else return method;context.delegate=null;return ContinueSentinel}function pushTryEntry(locs){var entry={tryLoc:locs[0]};1 in locs&&(entry.catchLoc=locs[1]);2 in
locs&&(entry.finallyLoc=locs[2],entry.afterLoc=locs[3]);this.tryEntries.push(entry)}function resetTryEntry(entry){var record=entry.completion||{};record.type="normal";delete record.arg;entry.completion=record}function Context(tryLocsList){this.tryEntries=[{tryLoc:"root"}];tryLocsList.forEach(pushTryEntry,this);this.reset(!0)}function values(iterable){if(iterable){var iteratorMethod=iterable[iteratorSymbol];if(iteratorMethod)return iteratorMethod.call(iterable);if("function"===typeof iterable.next)return iterable;
if(!isNaN(iterable.length)){var i=-1;iteratorMethod=function next(){for(;++i<iterable.length;)if(hasOwn.call(iterable,i))return next.value=iterable[i],next.done=!1,next;next.value=undefined;next.done=!0;return next};return iteratorMethod.next=iteratorMethod}}return{next:doneResult}}function doneResult(){return{value:undefined,done:!0}}var Op=Object.prototype,hasOwn=Op.hasOwnProperty,undefined,$Symbol="function"===typeof Symbol?Symbol:{},iteratorSymbol=$Symbol.iterator||"@@iterator",asyncIteratorSymbol=
$Symbol.asyncIterator||"@@asyncIterator",toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";exports.wrap=wrap;var GenStateSuspendedStart="suspendedStart",GenStateSuspendedYield="suspendedYield",GenStateExecuting="executing",GenStateCompleted="completed",ContinueSentinel={};$Symbol={};$Symbol[iteratorSymbol]=function(){return this};var getProto=Object.getPrototypeOf;(getProto=getProto&&getProto(getProto(values([]))))&&getProto!==Op&&hasOwn.call(getProto,iteratorSymbol)&&($Symbol=getProto);var Gp=
GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create($Symbol);GeneratorFunction.prototype=Gp.constructor=GeneratorFunctionPrototype;GeneratorFunctionPrototype.constructor=GeneratorFunction;GeneratorFunctionPrototype[toStringTagSymbol]=GeneratorFunction.displayName="GeneratorFunction";exports.isGeneratorFunction=function(genFun){return(genFun="function"===typeof genFun&&genFun.constructor)?genFun===GeneratorFunction||"GeneratorFunction"===(genFun.displayName||genFun.name):!1};exports.mark=
function(genFun){Object.setPrototypeOf?Object.setPrototypeOf(genFun,GeneratorFunctionPrototype):(genFun.__proto__=GeneratorFunctionPrototype,toStringTagSymbol in genFun||(genFun[toStringTagSymbol]="GeneratorFunction"));genFun.prototype=Object.create(Gp);return genFun};exports.awrap=function(arg){return{__await:arg}};defineIteratorMethods(AsyncIterator.prototype);AsyncIterator.prototype[asyncIteratorSymbol]=function(){return this};exports.AsyncIterator=AsyncIterator;exports.async=function(innerFn,
outerFn,self,tryLocsList){var iter=new AsyncIterator(wrap(innerFn,outerFn,self,tryLocsList));return exports.isGeneratorFunction(outerFn)?iter:iter.next().then(function(result){return result.done?result.value:iter.next()})};defineIteratorMethods(Gp);Gp[toStringTagSymbol]="Generator";Gp[iteratorSymbol]=function(){return this};Gp.toString=function(){return"[object Generator]"};exports.keys=function(object){var keys=[],key$jscomp$0;for(key$jscomp$0 in object)keys.push(key$jscomp$0);keys.reverse();return function next(){for(;keys.length;){var key=
keys.pop();if(key in object)return next.value=key,next.done=!1,next}next.done=!0;return next}};exports.values=values;Context.prototype={constructor:Context,reset:function(skipTempReset){this.next=this.prev=0;this.sent=this._sent=undefined;this.done=!1;this.delegate=null;this.method="next";this.arg=undefined;this.tryEntries.forEach(resetTryEntry);if(!skipTempReset)for(var name in this)"t"===name.charAt(0)&&hasOwn.call(this,name)&&!isNaN(+name.slice(1))&&(this[name]=undefined)},stop:function(){this.done=
!0;var rootRecord=this.tryEntries[0].completion;if("throw"===rootRecord.type)throw rootRecord.arg;return this.rval},dispatchException:function(exception){function handle(loc,caught){record.type="throw";record.arg=exception;context.next=loc;caught&&(context.method="next",context.arg=undefined);return!!caught}if(this.done)throw exception;for(var context=this,i=this.tryEntries.length-1;0<=i;--i){var entry=this.tryEntries[i],record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=
this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0);if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}else if(hasCatch){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0)}else if(hasFinally){if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}else throw Error("try statement without catch or finally");}}},abrupt:function(type,arg){for(var i=
this.tryEntries.length-1;0<=i;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev<entry.finallyLoc){var finallyEntry=entry;break}}finallyEntry&&("break"===type||"continue"===type)&&finallyEntry.tryLoc<=arg&&arg<=finallyEntry.finallyLoc&&(finallyEntry=null);i=finallyEntry?finallyEntry.completion:{};i.type=type;i.arg=arg;return finallyEntry?(this.method="next",this.next=finallyEntry.finallyLoc,ContinueSentinel):this.complete(i)},complete:function(record,
afterLoc){if("throw"===record.type)throw record.arg;"break"===record.type||"continue"===record.type?this.next=record.arg:"return"===record.type?(this.rval=this.arg=record.arg,this.method="return",this.next="end"):"normal"===record.type&&afterLoc&&(this.next=afterLoc);return ContinueSentinel},finish:function(finallyLoc){for(var i=this.tryEntries.length-1;0<=i;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),
ContinueSentinel}},"catch":function(tryLoc){for(var i=this.tryEntries.length-1;0<=i;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){tryLoc=entry.completion;if("throw"===tryLoc.type){var thrown=tryLoc.arg;resetTryEntry(entry)}return thrown}}throw Error("illegal catch attempt");},delegateYield:function(iterable,resultName,nextLoc){this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc};"next"===this.method&&(this.arg=undefined);return ContinueSentinel}};return exports}("object"===
_typeof(module)?module.exports:{});try{regeneratorRuntime=module}catch(accidentalStrictMode){Function("r","regeneratorRuntime = r")(module)}}).call(this,__w_pdfjs_require__(4)(module$jscomp$0))},function(module$jscomp$0,exports,__w_pdfjs_require__){module$jscomp$0.exports=function(module){module.webpackPolyfill||(module.deprecate=function(){},module.paths=[],module.children||(module.children=[]),Object.defineProperty(module,"loaded",{enumerable:!0,get:function(){return module.l}}),Object.defineProperty(module,
"id",{enumerable:!0,get:function(){return module.i}}),module.webpackPolyfill=1);return module}},function(module,exports,__w_pdfjs_require__){function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,
protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");
}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");
subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p){_setPrototypeOf=Object.setPrototypeOf||function(o,p){o.__proto__=p;return o};return _setPrototypeOf(o$jscomp$0,p)}function warn(msg){verbosity>=VerbosityLevel.WARNINGS&&console.log("Warning: ".concat(msg))}function unreachable(msg){throw Error(msg);}function assert(cond,msg){cond||unreachable(msg)}
function stringToBytes(str){assert("string"===typeof str,"Invalid argument for stringToBytes");for(var length=str.length,bytes=new Uint8Array(length),i=0;i<length;++i)bytes[i]=str.charCodeAt(i)&255;return bytes}function arrayByteLength(arr){if(void 0!==arr.length)return arr.length;assert(void 0!==arr.byteLength);return arr.byteLength}Object.defineProperty(exports,"__esModule",{value:!0});exports.arrayByteLength=arrayByteLength;exports.arraysToBytes=function(arr){var length=arr.length;if(1===length&&
arr[0]instanceof Uint8Array)return arr[0];for(var resultLength=0,i=0;i<length;i++)resultLength+=arrayByteLength(arr[i]);i=0;resultLength=new Uint8Array(resultLength);for(var _i=0;_i<length;_i++){var item=arr[_i];item instanceof Uint8Array||(item="string"===typeof item?stringToBytes(item):new Uint8Array(item));var itemLength=item.byteLength;resultLength.set(item,i);i+=itemLength}return resultLength};exports.assert=assert;exports.bytesToString=function(bytes){assert(null!==bytes&&"object"===_typeof(bytes)&&
void 0!==bytes.length,"Invalid argument for bytesToString");var length=bytes.length;if(8192>length)return String.fromCharCode.apply(null,bytes);for(var strBuf=[],i=0;i<length;i+=8192){var chunk=bytes.subarray(i,Math.min(i+8192,length));strBuf.push(String.fromCharCode.apply(null,chunk))}return strBuf.join("")};exports.createPromiseCapability=function(){var capability=Object.create(null),isSettled=!1;Object.defineProperty(capability,"settled",{get:function(){return isSettled}});capability.promise=new Promise(function(resolve,
reject){capability.resolve=function(data){isSettled=!0;resolve(data)};capability.reject=function(reason){isSettled=!0;reject(reason)}});return capability};exports.getVerbosityLevel=function(){return verbosity};exports.info=function(msg){verbosity>=VerbosityLevel.INFOS&&console.log("Info: ".concat(msg))};exports.isArrayBuffer=function(v){return"object"===_typeof(v)&&null!==v&&void 0!==v.byteLength};exports.isArrayEqual=function(arr1,arr2){return arr1.length!==arr2.length?!1:arr1.every(function(element,
index){return element===arr2[index]})};exports.isBool=function(v){return"boolean"===typeof v};exports.isEmptyObj=function(obj){for(var key in obj)return!1;return!0};exports.isNum=function(v){return"number"===typeof v};exports.isString=function(v){return"string"===typeof v};exports.isSpace=function(ch){return 32===ch||9===ch||13===ch||10===ch};exports.isSameOrigin=function(baseUrl,otherUrl){try{var base=new URL(baseUrl);if(!base.origin||"null"===base.origin)return!1}catch(e){return!1}baseUrl=new URL(otherUrl,
base);return base.origin===baseUrl.origin};exports.createValidAbsoluteUrl=function(url,baseUrl){if(!url)return null;try{var absoluteUrl=baseUrl?new URL(url,baseUrl):new URL(url);a:if(absoluteUrl)switch(absoluteUrl.protocol){case "http:":case "https:":case "ftp:":case "mailto:":case "tel:":var JSCompiler_inline_result=!0;break a;default:JSCompiler_inline_result=!1}else JSCompiler_inline_result=!1;if(JSCompiler_inline_result)return absoluteUrl}catch(ex){}return null};exports.isLittleEndian=function(){var buffer8=
new Uint8Array(4);buffer8[0]=1;return 1===(new Uint32Array(buffer8.buffer,0,1))[0]};exports.isEvalSupported=function(){try{return new Function(""),!0}catch(e){return!1}};exports.log2=function(x){return 0>=x?0:Math.ceil(Math.log2(x))};exports.readInt8=function(data,start){return data[start]<<24>>24};exports.readUint16=function(data,offset){return data[offset]<<8|data[offset+1]};exports.readUint32=function(data,offset){return(data[offset]<<24|data[offset+1]<<16|data[offset+2]<<8|data[offset+3])>>>0};
exports.removeNullCharacters=function(str){return"string"!==typeof str?(warn("The argument for removeNullCharacters must be a string."),str):str.replace(NullCharactersRegExp,"")};exports.setVerbosityLevel=function(level){Number.isInteger(level)&&(verbosity=level)};exports.shadow=function(obj,prop,value){Object.defineProperty(obj,prop,{value:value,enumerable:!0,configurable:!0,writable:!1});return value};exports.string32=function(value){return String.fromCharCode(value>>24&255,value>>16&255,value>>
8&255,value&255)};exports.stringToBytes=stringToBytes;exports.stringToPDFString=function(str){var length=str.length,strBuf=[];if("\u00fe"===str[0]&&"\u00ff"===str[1])for(var i=2;i<length;i+=2)strBuf.push(String.fromCharCode(str.charCodeAt(i)<<8|str.charCodeAt(i+1)));else if("\u00ff"===str[0]&&"\u00fe"===str[1])for(i=2;i<length;i+=2)strBuf.push(String.fromCharCode(str.charCodeAt(i+1)<<8|str.charCodeAt(i)));else for(i=0;i<length;++i){var code=PDFStringTranslateTable[str.charCodeAt(i)];strBuf.push(code?
String.fromCharCode(code):str.charAt(i))}return strBuf.join("")};exports.stringToUTF8String=function(str){return decodeURIComponent(escape(str))};exports.utf8StringToString=function(str){return unescape(encodeURIComponent(str))};exports.warn=warn;exports.unreachable=unreachable;exports.createObjectURL=exports.FormatError=exports.Util=exports.UnknownErrorException=exports.UnexpectedResponseException=exports.TextRenderingMode=exports.StreamType=exports.PermissionFlag=exports.PasswordResponses=exports.PasswordException=
exports.NativeImageDecoding=exports.MissingPDFException=exports.InvalidPDFException=exports.AbortException=exports.CMapCompressionType=exports.ImageKind=exports.FontType=exports.AnnotationType=exports.AnnotationStateModelType=exports.AnnotationReviewState=exports.AnnotationReplyType=exports.AnnotationMarkedState=exports.AnnotationFlag=exports.AnnotationFieldFlag=exports.AnnotationBorderStyleType=exports.UNSUPPORTED_FEATURES=exports.VerbosityLevel=exports.OPS=exports.IDENTITY_MATRIX=exports.FONT_IDENTITY_MATRIX=
exports.BaseException=void 0;__w_pdfjs_require__(6);exports.IDENTITY_MATRIX=[1,0,0,1,0,0];exports.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0];exports.NativeImageDecoding={NONE:"none",DECODE:"decode",DISPLAY:"display"};exports.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};exports.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,
ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};exports.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};exports.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};exports.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"};exports.AnnotationMarkedState=
{MARKED:"Marked",UNMARKED:"Unmarked"};exports.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};exports.AnnotationReplyType={GROUP:"Group",REPLY:"R"};exports.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};exports.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,
COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};exports.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};exports.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};exports.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",
CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var VerbosityLevel={ERRORS:0,WARNINGS:1,INFOS:5};exports.VerbosityLevel=VerbosityLevel;exports.CMapCompressionType={NONE:0,BINARY:1,STREAM:2};exports.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,
curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,
setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,
endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};exports.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"};exports.PasswordResponses=
{NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var verbosity=VerbosityLevel.WARNINGS;module=function(){function BaseException(message){this.constructor===BaseException&&unreachable("Cannot initialize BaseException.");this.message=message;this.name=this.constructor.name}BaseException.prototype=Error();return BaseException.constructor=BaseException}();exports.BaseException=module;__w_pdfjs_require__=function(_BaseException){function PasswordException(msg,code){_classCallCheck(this,PasswordException);msg=_possibleConstructorReturn(this,
_getPrototypeOf(PasswordException).call(this,msg));msg.code=code;return msg}_inherits(PasswordException,_BaseException);return PasswordException}(module);exports.PasswordException=__w_pdfjs_require__;__w_pdfjs_require__=function(_BaseException2){function UnknownErrorException(msg,details){_classCallCheck(this,UnknownErrorException);msg=_possibleConstructorReturn(this,_getPrototypeOf(UnknownErrorException).call(this,msg));msg.details=details;return msg}_inherits(UnknownErrorException,_BaseException2);
return UnknownErrorException}(module);exports.UnknownErrorException=__w_pdfjs_require__;__w_pdfjs_require__=function(_BaseException3){function InvalidPDFException(){_classCallCheck(this,InvalidPDFException);return _possibleConstructorReturn(this,_getPrototypeOf(InvalidPDFException).apply(this,arguments))}_inherits(InvalidPDFException,_BaseException3);return InvalidPDFException}(module);exports.InvalidPDFException=__w_pdfjs_require__;__w_pdfjs_require__=function(_BaseException4){function MissingPDFException(){_classCallCheck(this,
MissingPDFException);return _possibleConstructorReturn(this,_getPrototypeOf(MissingPDFException).apply(this,arguments))}_inherits(MissingPDFException,_BaseException4);return MissingPDFException}(module);exports.MissingPDFException=__w_pdfjs_require__;__w_pdfjs_require__=function(_BaseException5){function UnexpectedResponseException(msg,status){_classCallCheck(this,UnexpectedResponseException);msg=_possibleConstructorReturn(this,_getPrototypeOf(UnexpectedResponseException).call(this,msg));msg.status=
status;return msg}_inherits(UnexpectedResponseException,_BaseException5);return UnexpectedResponseException}(module);exports.UnexpectedResponseException=__w_pdfjs_require__;__w_pdfjs_require__=function(_BaseException6){function FormatError(){_classCallCheck(this,FormatError);return _possibleConstructorReturn(this,_getPrototypeOf(FormatError).apply(this,arguments))}_inherits(FormatError,_BaseException6);return FormatError}(module);exports.FormatError=__w_pdfjs_require__;module=function(_BaseException7){function AbortException(){_classCallCheck(this,
AbortException);return _possibleConstructorReturn(this,_getPrototypeOf(AbortException).apply(this,arguments))}_inherits(AbortException,_BaseException7);return AbortException}(module);exports.AbortException=module;var NullCharactersRegExp=/\x00/g,rgbBuf=["rgb(",0,",",0,",",0,")"];module=function(){function Util(){_classCallCheck(this,Util)}_createClass(Util,null,[{key:"makeCssRgb",value:function(r,g,b){rgbBuf[1]=r;rgbBuf[3]=g;rgbBuf[5]=b;return rgbBuf.join("")}},{key:"transform",value:function(m1,
m2){return[m1[0]*m2[0]+m1[2]*m2[1],m1[1]*m2[0]+m1[3]*m2[1],m1[0]*m2[2]+m1[2]*m2[3],m1[1]*m2[2]+m1[3]*m2[3],m1[0]*m2[4]+m1[2]*m2[5]+m1[4],m1[1]*m2[4]+m1[3]*m2[5]+m1[5]]}},{key:"applyTransform",value:function(p,m){return[p[0]*m[0]+p[1]*m[2]+m[4],p[0]*m[1]+p[1]*m[3]+m[5]]}},{key:"applyInverseTransform",value:function(p,m){var d=m[0]*m[3]-m[1]*m[2];return[(p[0]*m[3]-p[1]*m[2]+m[2]*m[5]-m[4]*m[3])/d,(-p[0]*m[1]+p[1]*m[0]+m[4]*m[1]-m[5]*m[0])/d]}},{key:"getAxialAlignedBoundingBox",value:function(r,m){var p1=
Util.applyTransform(r,m),p2=Util.applyTransform(r.slice(2,4),m),p3=Util.applyTransform([r[0],r[3]],m);r=Util.applyTransform([r[2],r[1]],m);return[Math.min(p1[0],p2[0],p3[0],r[0]),Math.min(p1[1],p2[1],p3[1],r[1]),Math.max(p1[0],p2[0],p3[0],r[0]),Math.max(p1[1],p2[1],p3[1],r[1])]}},{key:"inverseTransform",value:function(m){var d=m[0]*m[3]-m[1]*m[2];return[m[3]/d,-m[1]/d,-m[2]/d,m[0]/d,(m[2]*m[5]-m[4]*m[3])/d,(m[4]*m[1]-m[5]*m[0])/d]}},{key:"apply3dTransform",value:function(m,v){return[m[0]*v[0]+m[1]*
v[1]+m[2]*v[2],m[3]*v[0]+m[4]*v[1]+m[5]*v[2],m[6]*v[0]+m[7]*v[1]+m[8]*v[2]]}},{key:"singularValueDecompose2dScale",value:function(m){var transpose=[m[0],m[2],m[1],m[3]],a=m[0]*transpose[0]+m[1]*transpose[2],d=m[2]*transpose[1]+m[3]*transpose[3],first=(a+d)/2;m=Math.sqrt((a+d)*(a+d)-4*(a*d-(m[2]*transpose[0]+m[3]*transpose[2])*(m[0]*transpose[1]+m[1]*transpose[3])))/2;return[Math.sqrt(first+m||1),Math.sqrt(first-m||1)]}},{key:"normalizeRect",value:function(rect){var r=rect.slice(0);rect[0]>rect[2]&&
(r[0]=rect[2],r[2]=rect[0]);rect[1]>rect[3]&&(r[1]=rect[3],r[3]=rect[1]);return r}},{key:"intersect",value:function(rect1,rect2){function compare(a,b){return a-b}var orderedX=[rect1[0],rect1[2],rect2[0],rect2[2]].sort(compare),orderedY=[rect1[1],rect1[3],rect2[1],rect2[3]].sort(compare),result=[];rect1=Util.normalizeRect(rect1);rect2=Util.normalizeRect(rect2);if(orderedX[0]===rect1[0]&&orderedX[1]===rect2[0]||orderedX[0]===rect2[0]&&orderedX[1]===rect1[0])result[0]=orderedX[1],result[2]=orderedX[2];
else return null;if(orderedY[0]===rect1[1]&&orderedY[1]===rect2[1]||orderedY[0]===rect2[1]&&orderedY[1]===rect1[1])result[1]=orderedY[1],result[3]=orderedY[2];else return null;return result}}]);return Util}();exports.Util=module;var PDFStringTranslateTable=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];module=function(){return function(data,contentType){if(!(2<arguments.length&&void 0!==arguments[2]&&arguments[2])&&URL.createObjectURL){var blob=new Blob([data],{type:contentType});return URL.createObjectURL(blob)}blob="data:".concat(contentType,";base64,");for(var i=0,ii=data.length;i<ii;i+=3){var b1=data[i]&255,b2=data[i+
1]&255,b3=data[i+2]&255;blob+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[b1>>2]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[(b1&3)<<4|b2>>4]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[i+1<ii?(b2&15)<<2|b3>>6:64]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[i+2<ii?b3&63:64]}return blob}}();exports.createObjectURL=module},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof=
"function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}if("undefined"===typeof globalThis||!globalThis._pdfjsCompatibilityChecked){if("undefined"===typeof globalThis||globalThis.Math!==Math)globalThis=__w_pdfjs_require__(7);globalThis._pdfjsCompatibilityChecked=!0;var isNodeJS=__w_pdfjs_require__(52).isNodeJS,
hasDOM="object"===("undefined"===typeof window?"undefined":_typeof(window))&&"object"===("undefined"===typeof document?"undefined":_typeof(document)),isIE=/Trident/.test("undefined"!==typeof navigator&&navigator.userAgent||"");(function(){!globalThis.btoa&&isNodeJS&&(globalThis.btoa=function(chars){return Buffer.from(chars,"binary").toString("base64")})})();(function(){!globalThis.atob&&isNodeJS&&(globalThis.atob=function(input){return Buffer.from(input,"base64").toString("binary")})})();(function(){hasDOM&&
"undefined"===typeof Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})})();(function(){if(hasDOM&&!isNodeJS){var div=document.createElement("div");div.classList.add("testOne","testTwo");if(!0!==div.classList.contains("testOne")||!0!==div.classList.contains("testTwo")){var OriginalDOMTokenListAdd=DOMTokenList.prototype.add,OriginalDOMTokenListRemove=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){for(var _len=arguments.length,
tokens=Array(_len),_key=0;_key<_len;_key++)tokens[_key]=arguments[_key];for(_len=0;_len<tokens.length;_len++)OriginalDOMTokenListAdd.call(this,tokens[_len])};DOMTokenList.prototype.remove=function(){for(var _len2=arguments.length,tokens=Array(_len2),_key2=0;_key2<_len2;_key2++)tokens[_key2]=arguments[_key2];for(_len2=0;_len2<tokens.length;_len2++)OriginalDOMTokenListRemove.call(this,tokens[_len2])}}}})();(function(){hasDOM&&!isNodeJS&&!1!==document.createElement("div").classList.toggle("test",0)&&
(DOMTokenList.prototype.toggle=function(token){var force=1<arguments.length?!!arguments[1]:!this.contains(token);return this[force?"add":"remove"](token),force})})();(function(){if(hasDOM&&isIE){var OriginalPushState=window.history.pushState,OriginalReplaceState=window.history.replaceState;window.history.pushState=function(state,title,url){OriginalPushState.apply(this,void 0===url?[state,title]:[state,title,url])};window.history.replaceState=function(state,title,url){OriginalReplaceState.apply(this,
void 0===url?[state,title]:[state,title,url])}}})();String.prototype.startsWith||__w_pdfjs_require__(53);String.prototype.endsWith||__w_pdfjs_require__(64);String.prototype.includes||__w_pdfjs_require__(66);Array.prototype.includes||__w_pdfjs_require__(68);Array.from||__w_pdfjs_require__(75);Object.assign||__w_pdfjs_require__(97);Math.log2||(Math.log2=__w_pdfjs_require__(100));Number.isNaN||(Number.isNaN=__w_pdfjs_require__(102));Number.isInteger||(Number.isInteger=__w_pdfjs_require__(104));globalThis.Promise&&
globalThis.Promise.prototype&&globalThis.Promise.prototype["finally"]||(globalThis.Promise=__w_pdfjs_require__(107));globalThis.URL=__w_pdfjs_require__(131);(function(){var isReadableStreamSupported=!1;if("undefined"!==typeof ReadableStream)try{new ReadableStream({start:function(controller){controller.close()}}),isReadableStreamSupported=!0}catch(e){}isReadableStreamSupported||(globalThis.ReadableStream=__w_pdfjs_require__(138).ReadableStream)})();globalThis.WeakMap||(globalThis.WeakMap=__w_pdfjs_require__(139));
globalThis.WeakSet||(globalThis.WeakSet=__w_pdfjs_require__(149));String.prototype.codePointAt||__w_pdfjs_require__(151);String.fromCodePoint||(String.fromCodePoint=__w_pdfjs_require__(153));globalThis.Symbol||__w_pdfjs_require__(155);String.prototype.padStart||__w_pdfjs_require__(178);String.prototype.padEnd||__w_pdfjs_require__(183);Object.values||(Object.values=__w_pdfjs_require__(185))}},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(8);module.exports=__w_pdfjs_require__(10)},
function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);__w_pdfjs_require__=__w_pdfjs_require__(10);module({global:!0},{globalThis:__w_pdfjs_require__})},function(module,exports,__w_pdfjs_require__){var global=__w_pdfjs_require__(10),getOwnPropertyDescriptor=__w_pdfjs_require__(11).f,createNonEnumerableProperty=__w_pdfjs_require__(25),redefine=__w_pdfjs_require__(28),setGlobal=__w_pdfjs_require__(29),copyConstructorProperties=__w_pdfjs_require__(39),isForced=__w_pdfjs_require__(51);
module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key;if(target=GLOBAL?global:STATIC?global[TARGET]||setGlobal(TARGET,{}):(global[TARGET]||{}).prototype)for(key in source){var sourceProperty=source[key];var targetProperty=options.noTargetGet?(FORCED=getOwnPropertyDescriptor(target,key))&&FORCED.value:target[key];FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced);if(!FORCED&&void 0!==targetProperty){if(_typeof2(sourceProperty)===
_typeof2(targetProperty))continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0);redefine(target,key,sourceProperty,options)}}},function(module,exports){exports=function(it){return it&&it.Math==Math&&it};module.exports=exports("object"==("undefined"===typeof globalThis?"undefined":_typeof2(globalThis))&&globalThis)||exports("object"==("undefined"===typeof window?"undefined":_typeof2(window))&&
window)||exports("object"==("undefined"===typeof self?"undefined":_typeof2(self))&&self)||exports("object"==("undefined"===typeof global$jscomp$0?"undefined":_typeof2(global$jscomp$0))&&global$jscomp$0)||Function("return this")()},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(12);var propertyIsEnumerableModule=__w_pdfjs_require__(14),createPropertyDescriptor=__w_pdfjs_require__(15),toIndexedObject=__w_pdfjs_require__(16),toPrimitive=__w_pdfjs_require__(20),has=__w_pdfjs_require__(22),
IE8_DOM_DEFINE=__w_pdfjs_require__(23),nativeGetOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=module?nativeGetOwnPropertyDescriptor:function(O,P){O=toIndexedObject(O);P=toPrimitive(P,!0);if(IE8_DOM_DEFINE)try{return nativeGetOwnPropertyDescriptor(O,P)}catch(error){}if(has(O,P))return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O,P),O[P])}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(13);module.exports=!exports(function(){return 7!=Object.defineProperty({},
"a",{get:function(){return 7}}).a})},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(error){return!0}}},function(module,exports,__w_pdfjs_require__){module={}.propertyIsEnumerable;var getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;__w_pdfjs_require__=getOwnPropertyDescriptor&&!module.call({1:2},1);exports.f=__w_pdfjs_require__?function(V){V=getOwnPropertyDescriptor(this,V);return!!V&&V.enumerable}:module},function(module,exports){module.exports=function(bitmap,
value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value:value}}},function(module,exports,__w_pdfjs_require__){var IndexedObject=__w_pdfjs_require__(17),requireObjectCoercible=__w_pdfjs_require__(19);module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(13);var classof=__w_pdfjs_require__(18),split="".split;module.exports=exports(function(){return!Object("z").propertyIsEnumerable(0)})?
function(it){return"String"==classof(it)?split.call(it,""):Object(it)}:Object},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports){module.exports=function(it){if(void 0==it)throw TypeError("Can't call method on "+it);return it}},function(module,exports,__w_pdfjs_require__){var isObject=__w_pdfjs_require__(21);module.exports=function(input,PREFERRED_STRING){if(!isObject(input))return input;var fn,val;if(PREFERRED_STRING&&
"function"==typeof(fn=input.toString)&&!isObject(val=fn.call(input))||"function"==typeof(fn=input.valueOf)&&!isObject(val=fn.call(input))||!PREFERRED_STRING&&"function"==typeof(fn=input.toString)&&!isObject(val=fn.call(input)))return val;throw TypeError("Can't convert object to primitive value");}},function(module,exports){module.exports=function(it){return"object"===_typeof2(it)?null!==it:"function"===typeof it}},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,
key){return hasOwnProperty.call(it,key)}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(12);var fails=__w_pdfjs_require__(13),createElement=__w_pdfjs_require__(24);module.exports=!exports&&!fails(function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a})},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(10);__w_pdfjs_require__=__w_pdfjs_require__(21);var document=exports.document,EXISTS=__w_pdfjs_require__(document)&&
__w_pdfjs_require__(document.createElement);module.exports=function(it){return EXISTS?document.createElement(it):{}}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(12);var definePropertyModule=__w_pdfjs_require__(26),createPropertyDescriptor=__w_pdfjs_require__(15);module.exports=exports?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){object[key]=value;return object}},function(module,exports,
__w_pdfjs_require__){module=__w_pdfjs_require__(12);var IE8_DOM_DEFINE=__w_pdfjs_require__(23),anObject=__w_pdfjs_require__(27),toPrimitive=__w_pdfjs_require__(20),nativeDefineProperty=Object.defineProperty;exports.f=module?nativeDefineProperty:function(O,P,Attributes){anObject(O);P=toPrimitive(P,!0);anObject(Attributes);if(IE8_DOM_DEFINE)try{return nativeDefineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported");"value"in Attributes&&
(O[P]=Attributes.value);return O}},function(module,exports,__w_pdfjs_require__){var isObject=__w_pdfjs_require__(21);module.exports=function(it){if(!isObject(it))throw TypeError(String(it)+" is not an object");return it}},function(module,exports,__w_pdfjs_require__){var global=__w_pdfjs_require__(10),createNonEnumerableProperty=__w_pdfjs_require__(25),has=__w_pdfjs_require__(22),setGlobal=__w_pdfjs_require__(29),inspectSource=__w_pdfjs_require__(30);exports=__w_pdfjs_require__(32);var getInternalState=
exports.get,enforceInternalState=exports.enforce,TEMPLATE=String(String).split("String");(module.exports=function(O,key,value,options){var unsafe=options?!!options.unsafe:!1,simple=options?!!options.enumerable:!1;options=options?!!options.noTargetGet:!1;"function"==typeof value&&("string"!=typeof key||has(value,"name")||createNonEnumerableProperty(value,"name",key),enforceInternalState(value).source=TEMPLATE.join("string"==typeof key?key:""));O===global?simple?O[key]=value:setGlobal(key,value):(unsafe?
!options&&O[key]&&(simple=!0):delete O[key],simple?O[key]=value:createNonEnumerableProperty(O,key,value))})(Function.prototype,"toString",function(){return"function"==typeof this&&getInternalState(this).source||inspectSource(this)})},function(module,exports,__w_pdfjs_require__){var global=__w_pdfjs_require__(10),createNonEnumerableProperty=__w_pdfjs_require__(25);module.exports=function(key,value){try{createNonEnumerableProperty(global,key,value)}catch(error){global[key]=value}return value}},function(module,
exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(31);var functionToString=Function.toString;"function"!=typeof exports.inspectSource&&(exports.inspectSource=function(it){return functionToString.call(it)});module.exports=exports.inspectSource},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(10);__w_pdfjs_require__=__w_pdfjs_require__(29);__w_pdfjs_require__=exports["__core-js_shared__"]||__w_pdfjs_require__("__core-js_shared__",{});module.exports=__w_pdfjs_require__},
function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(33);var global=__w_pdfjs_require__(10),isObject=__w_pdfjs_require__(21),createNonEnumerableProperty=__w_pdfjs_require__(25),objectHas=__w_pdfjs_require__(22),sharedKey=__w_pdfjs_require__(34);__w_pdfjs_require__=__w_pdfjs_require__(38);global=global.WeakMap;if(exports){var store=new global,wmget=store.get,wmhas=store.has,wmset=store.set;var set=function(it,metadata){wmset.call(store,it,metadata);return metadata};var get=function(it){return wmget.call(store,
it)||{}};var has=function(it){return wmhas.call(store,it)}}else{var STATE=sharedKey("state");__w_pdfjs_require__[STATE]=!0;set=function(it,metadata){createNonEnumerableProperty(it,STATE,metadata);return metadata};get=function(it){return objectHas(it,STATE)?it[STATE]:{}};has=function(it){return objectHas(it,STATE)}}module.exports={set:set,get:get,has:has,enforce:function(it){return has(it)?get(it):set(it,{})},getterFor:function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==
TYPE)throw TypeError("Incompatible receiver, "+TYPE+" required");return state}}}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(10);__w_pdfjs_require__=__w_pdfjs_require__(30);exports=exports.WeakMap;module.exports="function"===typeof exports&&/native code/.test(__w_pdfjs_require__(exports))},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(35);var uid=__w_pdfjs_require__(37),keys=exports("keys");module.exports=function(key){return keys[key]||(keys[key]=
uid(key))}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(36);var store=__w_pdfjs_require__(31);(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:"3.6.1",mode:exports?"pure":"global",copyright:"\u00a9 2019 Denis Pushkarev (zloirock.ru)"})},function(module,exports){module.exports=!1},function(module,exports){var id=0,postfix=Math.random();module.exports=function(key){return"Symbol("+String(void 0===
key?"":key)+")_"+(++id+postfix).toString(36)}},function(module,exports){module.exports={}},function(module,exports,__w_pdfjs_require__){var has=__w_pdfjs_require__(22),ownKeys=__w_pdfjs_require__(40),getOwnPropertyDescriptorModule=__w_pdfjs_require__(11),definePropertyModule=__w_pdfjs_require__(26);module.exports=function(target,source){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];
has(target,key)||defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(41);var getOwnPropertyNamesModule=__w_pdfjs_require__(43),getOwnPropertySymbolsModule=__w_pdfjs_require__(50),anObject=__w_pdfjs_require__(27);module.exports=exports("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?keys.concat(getOwnPropertySymbols(it)):
keys}},function(module,exports,__w_pdfjs_require__){var path=__w_pdfjs_require__(42),global=__w_pdfjs_require__(10),aFunction=function(variable){return"function"==typeof variable?variable:void 0};module.exports=function(namespace,method){return 2>arguments.length?aFunction(path[namespace])||aFunction(global[namespace]):path[namespace]&&path[namespace][method]||global[namespace]&&global[namespace][method]}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(10);module.exports=
exports},function(module,exports,__w_pdfjs_require__){var internalObjectKeys=__w_pdfjs_require__(44),hiddenKeys=__w_pdfjs_require__(49).concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}},function(module,exports,__w_pdfjs_require__){var has=__w_pdfjs_require__(22),toIndexedObject=__w_pdfjs_require__(16),indexOf=__w_pdfjs_require__(45).indexOf,hiddenKeys=__w_pdfjs_require__(38);module.exports=function(object,names){object=toIndexedObject(object);
var i=0,result=[],key;for(key in object)!has(hiddenKeys,key)&&has(object,key)&&result.push(key);for(;names.length>i;)has(object,key=names[i++])&&(~indexOf(result,key)||result.push(key));return result}},function(module,exports,__w_pdfjs_require__){var toIndexedObject=__w_pdfjs_require__(16),toLength=__w_pdfjs_require__(46),toAbsoluteIndex=__w_pdfjs_require__(48);exports=function(IS_INCLUDES){return function($this,el,fromIndex){$this=toIndexedObject($this);var length=toLength($this.length);fromIndex=
toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el)for(;length>fromIndex;){if(el=$this[fromIndex++],el!=el)return!0}else for(;length>fromIndex;fromIndex++)if((IS_INCLUDES||fromIndex in $this)&&$this[fromIndex]===el)return IS_INCLUDES||fromIndex||0;return!IS_INCLUDES&&-1}};module.exports={includes:exports(!0),indexOf:exports(!1)}},function(module,exports,__w_pdfjs_require__){var toInteger=__w_pdfjs_require__(47),min=Math.min;module.exports=function(argument){return 0<argument?min(toInteger(argument),
9007199254740991):0}},function(module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(argument){return isNaN(argument=+argument)?0:(0<argument?floor:ceil)(argument)}},function(module,exports,__w_pdfjs_require__){var toInteger=__w_pdfjs_require__(47),max=Math.max,min=Math.min;module.exports=function(index,length){index=toInteger(index);return 0>index?max(index+length,0):min(index,length)}},function(module,exports){module.exports="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ")},
function(module,exports){exports.f=Object.getOwnPropertySymbols},function(module,exports,__w_pdfjs_require__){var fails=__w_pdfjs_require__(13),replacement=/#|\.prototype\./;exports=function(feature,detection){feature=data[normalize(feature)];return feature==POLYFILL?!0:feature==NATIVE?!1:"function"==typeof detection?fails(detection):!!detection};var normalize=exports.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=exports.data={},NATIVE=exports.NATIVE=
"N",POLYFILL=exports.POLYFILL="P";module.exports=exports},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}Object.defineProperty(exports,"__esModule",{value:!0});exports.isNodeJS=void 0;module="object"===("undefined"===
typeof process?"undefined":_typeof(process))&&"[object process]"===process+""&&!process.versions.nw&&!process.versions.electron;exports.isNodeJS=module},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(54);exports=__w_pdfjs_require__(61);module.exports=exports("String","startsWith")},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var getOwnPropertyDescriptor=__w_pdfjs_require__(11).f,toLength=__w_pdfjs_require__(46),notARegExp=__w_pdfjs_require__(55),requireObjectCoercible=
__w_pdfjs_require__(19);exports=__w_pdfjs_require__(60);__w_pdfjs_require__=__w_pdfjs_require__(36);var nativeStartsWith="".startsWith,min=Math.min;exports=exports("startsWith");__w_pdfjs_require__=!__w_pdfjs_require__&&!exports&&!!function(){var descriptor=getOwnPropertyDescriptor(String.prototype,"startsWith");return descriptor&&!descriptor.writable}();module({target:"String",proto:!0,forced:!__w_pdfjs_require__&&!exports},{startsWith:function(searchString){var that=String(requireObjectCoercible(this));
notARegExp(searchString);var index=toLength(min(1<arguments.length?arguments[1]:void 0,that.length)),search=String(searchString);return nativeStartsWith?nativeStartsWith.call(that,search,index):that.slice(index,index+search.length)===search}})},function(module,exports,__w_pdfjs_require__){var isRegExp=__w_pdfjs_require__(56);module.exports=function(it){if(isRegExp(it))throw TypeError("The method doesn't accept regular expressions");return it}},function(module,exports,__w_pdfjs_require__){var isObject=
__w_pdfjs_require__(21),classof=__w_pdfjs_require__(18),MATCH=__w_pdfjs_require__(57)("match");module.exports=function(it){var isRegExp;return isObject(it)&&(void 0!==(isRegExp=it[MATCH])?!!isRegExp:"RegExp"==classof(it))}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(10);var shared=__w_pdfjs_require__(35),has=__w_pdfjs_require__(22),uid=__w_pdfjs_require__(37),NATIVE_SYMBOL=__w_pdfjs_require__(58);__w_pdfjs_require__=__w_pdfjs_require__(59);var WellKnownSymbolsStore=shared("wks"),
_Symbol=exports.Symbol,createWellKnownSymbol=__w_pdfjs_require__?_Symbol:_Symbol&&_Symbol.withoutSetter||uid;module.exports=function(name){has(WellKnownSymbolsStore,name)||(NATIVE_SYMBOL&&has(_Symbol,name)?WellKnownSymbolsStore[name]=_Symbol[name]:WellKnownSymbolsStore[name]=createWellKnownSymbol("Symbol."+name));return WellKnownSymbolsStore[name]}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(13);module.exports=!!Object.getOwnPropertySymbols&&!exports(function(){return!String(Symbol())})},
function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(58);module.exports=exports&&!Symbol.sham&&"symbol"==_typeof2(Symbol.iterator)},function(module,exports,__w_pdfjs_require__){var MATCH=__w_pdfjs_require__(57)("match");module.exports=function(METHOD_NAME){var regexp=/./;try{"/./"[METHOD_NAME](regexp)}catch(e){try{return regexp[MATCH]=!1,"/./"[METHOD_NAME](regexp)}catch(f){}}return!1}},function(module,exports,__w_pdfjs_require__){var global=__w_pdfjs_require__(10),bind=__w_pdfjs_require__(62),
call=Function.call;module.exports=function(CONSTRUCTOR,METHOD,length){return bind(call,global[CONSTRUCTOR].prototype[METHOD],length)}},function(module,exports,__w_pdfjs_require__){var aFunction=__w_pdfjs_require__(63);module.exports=function(fn,that,length){aFunction(fn);if(void 0===that)return fn;switch(length){case 0:return function(){return fn.call(that)};case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,
a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(String(it)+" is not a function");return it}},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(65);exports=__w_pdfjs_require__(61);module.exports=exports("String","endsWith")},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var getOwnPropertyDescriptor=__w_pdfjs_require__(11).f,toLength=__w_pdfjs_require__(46),
notARegExp=__w_pdfjs_require__(55),requireObjectCoercible=__w_pdfjs_require__(19);exports=__w_pdfjs_require__(60);__w_pdfjs_require__=__w_pdfjs_require__(36);var nativeEndsWith="".endsWith,min=Math.min;exports=exports("endsWith");__w_pdfjs_require__=!__w_pdfjs_require__&&!exports&&!!function(){var descriptor=getOwnPropertyDescriptor(String.prototype,"endsWith");return descriptor&&!descriptor.writable}();module({target:"String",proto:!0,forced:!__w_pdfjs_require__&&!exports},{endsWith:function(searchString){var that=
String(requireObjectCoercible(this));notARegExp(searchString);var endPosition=1<arguments.length?arguments[1]:void 0,len=toLength(that.length);endPosition=void 0===endPosition?len:min(toLength(endPosition),len);len=String(searchString);return nativeEndsWith?nativeEndsWith.call(that,len,endPosition):that.slice(endPosition-len.length,endPosition)===len}})},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(67);exports=__w_pdfjs_require__(61);module.exports=exports("String","includes")},
function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var notARegExp=__w_pdfjs_require__(55),requireObjectCoercible=__w_pdfjs_require__(19);__w_pdfjs_require__=__w_pdfjs_require__(60);module({target:"String",proto:!0,forced:!__w_pdfjs_require__("includes")},{includes:function(searchString){return!!~String(requireObjectCoercible(this)).indexOf(notARegExp(searchString),1<arguments.length?arguments[1]:void 0)}})},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(69);
exports=__w_pdfjs_require__(61);module.exports=exports("Array","includes")},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var $includes=__w_pdfjs_require__(45).includes;__w_pdfjs_require__=__w_pdfjs_require__(70);module({target:"Array",proto:!0},{includes:function(el){return $includes(this,el,1<arguments.length?arguments[1]:void 0)}});__w_pdfjs_require__("includes")},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(57);var create=__w_pdfjs_require__(71);
__w_pdfjs_require__=__w_pdfjs_require__(26);var UNSCOPABLES=exports("unscopables"),ArrayPrototype=Array.prototype;void 0==ArrayPrototype[UNSCOPABLES]&&__w_pdfjs_require__.f(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create(null)});module.exports=function(key){ArrayPrototype[UNSCOPABLES][key]=!0}},function(module,exports,__w_pdfjs_require__){var anObject=__w_pdfjs_require__(27),defineProperties=__w_pdfjs_require__(72),enumBugKeys=__w_pdfjs_require__(49);exports=__w_pdfjs_require__(38);var html=
__w_pdfjs_require__(74),documentCreateElement=__w_pdfjs_require__(24),IE_PROTO=__w_pdfjs_require__(34)("IE_PROTO"),EmptyConstructor=function(){},activeXDocument,_NullProtoObject=function(){try{activeXDocument=document.domain&&new ActiveXObject("htmlfile")}catch(error){}if(activeXDocument){var JSCompiler_temp=activeXDocument;JSCompiler_temp.write("<script>\x3c/script>");JSCompiler_temp.close();JSCompiler_temp=JSCompiler_temp.parentWindow.Object}else JSCompiler_temp=documentCreateElement("iframe"),
JSCompiler_temp.style.display="none",html.appendChild(JSCompiler_temp),JSCompiler_temp.src="javascript:",JSCompiler_temp=JSCompiler_temp.contentWindow.document,JSCompiler_temp.open(),JSCompiler_temp.write("<script>document.F=Object\x3c/script>"),JSCompiler_temp.close(),JSCompiler_temp=JSCompiler_temp.F;_NullProtoObject=JSCompiler_temp;for(JSCompiler_temp=enumBugKeys.length;JSCompiler_temp--;)delete _NullProtoObject.prototype[enumBugKeys[JSCompiler_temp]];return _NullProtoObject()};exports[IE_PROTO]=
!0;module.exports=Object.create||function(O,Properties){if(null!==O){EmptyConstructor.prototype=anObject(O);var result=new EmptyConstructor;EmptyConstructor.prototype=null;result[IE_PROTO]=O}else result=_NullProtoObject();return void 0===Properties?result:defineProperties(result,Properties)}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(12);var definePropertyModule=__w_pdfjs_require__(26),anObject=__w_pdfjs_require__(27),objectKeys=__w_pdfjs_require__(73);module.exports=
exports?Object.defineProperties:function(O,Properties){anObject(O);for(var keys=objectKeys(Properties),length=keys.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys[index++],Properties[key]);return O}},function(module,exports,__w_pdfjs_require__){var internalObjectKeys=__w_pdfjs_require__(44),enumBugKeys=__w_pdfjs_require__(49);module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(41);
module.exports=exports("document","documentElement")},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(76);__w_pdfjs_require__(88);exports=__w_pdfjs_require__(42);module.exports=exports.Array.from},function(module,exports,__w_pdfjs_require__){var charAt=__w_pdfjs_require__(77).charAt;module=__w_pdfjs_require__(32);__w_pdfjs_require__=__w_pdfjs_require__(78);var setInternalState=module.set,getInternalState=module.getterFor("String Iterator");__w_pdfjs_require__(String,"String",function(iterated){setInternalState(this,
{type:"String Iterator",string:String(iterated),index:0})},function(){var state=getInternalState(this),string=state.string,index=state.index;if(index>=string.length)return{value:void 0,done:!0};string=charAt(string,index);state.index+=string.length;return{value:string,done:!1}})},function(module,exports,__w_pdfjs_require__){var toInteger=__w_pdfjs_require__(47),requireObjectCoercible=__w_pdfjs_require__(19);exports=function(CONVERT_TO_STRING){return function($this,pos){$this=String(requireObjectCoercible($this));
pos=toInteger(pos);var size=$this.length,second;if(0>pos||pos>=size)return CONVERT_TO_STRING?"":void 0;var first=$this.charCodeAt(pos);return 55296>first||56319<first||pos+1===size||56320>(second=$this.charCodeAt(pos+1))||57343<second?CONVERT_TO_STRING?$this.charAt(pos):first:CONVERT_TO_STRING?$this.slice(pos,pos+2):(first-55296<<10)+(second-56320)+65536}};module.exports={codeAt:exports(!1),charAt:exports(!0)}},function(module,exports,__w_pdfjs_require__){var $=__w_pdfjs_require__(9),createIteratorConstructor=
__w_pdfjs_require__(79),getPrototypeOf=__w_pdfjs_require__(81),setPrototypeOf=__w_pdfjs_require__(86),setToStringTag=__w_pdfjs_require__(84),createNonEnumerableProperty=__w_pdfjs_require__(25),redefine=__w_pdfjs_require__(28);exports=__w_pdfjs_require__(57);var IS_PURE=__w_pdfjs_require__(36),Iterators=__w_pdfjs_require__(85);__w_pdfjs_require__=__w_pdfjs_require__(80);var IteratorPrototype=__w_pdfjs_require__.IteratorPrototype,BUGGY_SAFARI_ITERATORS=__w_pdfjs_require__.BUGGY_SAFARI_ITERATORS,ITERATOR=
exports("iterator"),returnThis=function(){return this};module.exports=function(Iterable,NAME,IteratorConstructor,next,DEFAULT,IS_SET,FORCED){createIteratorConstructor(IteratorConstructor,NAME,next);next=function(KIND){if(KIND===DEFAULT&&defaultIterator)return defaultIterator;if(!BUGGY_SAFARI_ITERATORS&&KIND in IterablePrototype)return IterablePrototype[KIND];switch(KIND){case "keys":return function(){return new IteratorConstructor(this,KIND)};case "values":return function(){return new IteratorConstructor(this,
KIND)};case "entries":return function(){return new IteratorConstructor(this,KIND)}}return function(){return new IteratorConstructor(this)}};var TO_STRING_TAG=NAME+" Iterator",INCORRECT_VALUES_NAME=!1,IterablePrototype=Iterable.prototype,nativeIterator=IterablePrototype[ITERATOR]||IterablePrototype["@@iterator"]||DEFAULT&&IterablePrototype[DEFAULT],defaultIterator=!BUGGY_SAFARI_ITERATORS&&nativeIterator||next(DEFAULT),anyNativeIterator="Array"==NAME?IterablePrototype.entries||nativeIterator:nativeIterator,
KEY;anyNativeIterator&&(Iterable=getPrototypeOf(anyNativeIterator.call(new Iterable)),IteratorPrototype!==Object.prototype&&Iterable.next&&(IS_PURE||getPrototypeOf(Iterable)===IteratorPrototype||(setPrototypeOf?setPrototypeOf(Iterable,IteratorPrototype):"function"!=typeof Iterable[ITERATOR]&&createNonEnumerableProperty(Iterable,ITERATOR,returnThis)),setToStringTag(Iterable,TO_STRING_TAG,!0,!0),IS_PURE&&(Iterators[TO_STRING_TAG]=returnThis)));"values"==DEFAULT&&nativeIterator&&"values"!==nativeIterator.name&&
(INCORRECT_VALUES_NAME=!0,defaultIterator=function(){return nativeIterator.call(this)});IS_PURE&&!FORCED||IterablePrototype[ITERATOR]===defaultIterator||createNonEnumerableProperty(IterablePrototype,ITERATOR,defaultIterator);Iterators[NAME]=defaultIterator;if(DEFAULT){var methods={values:next("values"),keys:IS_SET?defaultIterator:next("keys"),entries:next("entries")};if(FORCED)for(KEY in methods)!BUGGY_SAFARI_ITERATORS&&!INCORRECT_VALUES_NAME&&KEY in IterablePrototype||redefine(IterablePrototype,
KEY,methods[KEY]);else $({target:NAME,proto:!0,forced:BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME},methods)}return methods}},function(module,exports,__w_pdfjs_require__){var IteratorPrototype=__w_pdfjs_require__(80).IteratorPrototype,create=__w_pdfjs_require__(71),createPropertyDescriptor=__w_pdfjs_require__(15),setToStringTag=__w_pdfjs_require__(84),Iterators=__w_pdfjs_require__(85),returnThis=function(){return this};module.exports=function(IteratorConstructor,NAME,next){NAME+=" Iterator";IteratorConstructor.prototype=
create(IteratorPrototype,{next:createPropertyDescriptor(1,next)});setToStringTag(IteratorConstructor,NAME,!1,!0);Iterators[NAME]=returnThis;return IteratorConstructor}},function(module,exports,__w_pdfjs_require__){var getPrototypeOf=__w_pdfjs_require__(81);exports=__w_pdfjs_require__(25);var has=__w_pdfjs_require__(22),wellKnownSymbol=__w_pdfjs_require__(57);__w_pdfjs_require__=__w_pdfjs_require__(36);wellKnownSymbol=wellKnownSymbol("iterator");var BUGGY_SAFARI_ITERATORS=!1,returnThis=function(){return this},
IteratorPrototype;if([].keys){var arrayIterator=[].keys();"next"in arrayIterator?(getPrototypeOf=getPrototypeOf(getPrototypeOf(arrayIterator)),getPrototypeOf!==Object.prototype&&(IteratorPrototype=getPrototypeOf)):BUGGY_SAFARI_ITERATORS=!0}void 0==IteratorPrototype&&(IteratorPrototype={});__w_pdfjs_require__||has(IteratorPrototype,wellKnownSymbol)||exports(IteratorPrototype,wellKnownSymbol,returnThis);module.exports={IteratorPrototype:IteratorPrototype,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS}},
function(module,exports,__w_pdfjs_require__){var has=__w_pdfjs_require__(22),toObject=__w_pdfjs_require__(82);exports=__w_pdfjs_require__(34);__w_pdfjs_require__=__w_pdfjs_require__(83);var IE_PROTO=exports("IE_PROTO"),ObjectPrototype=Object.prototype;module.exports=__w_pdfjs_require__?Object.getPrototypeOf:function(O){O=toObject(O);return has(O,IE_PROTO)?O[IE_PROTO]:"function"==typeof O.constructor&&O instanceof O.constructor?O.constructor.prototype:O instanceof Object?ObjectPrototype:null}},function(module,
exports,__w_pdfjs_require__){var requireObjectCoercible=__w_pdfjs_require__(19);module.exports=function(argument){return Object(requireObjectCoercible(argument))}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(13);module.exports=!exports(function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype})},function(module,exports,__w_pdfjs_require__){var defineProperty=__w_pdfjs_require__(26).f,has=__w_pdfjs_require__(22),TO_STRING_TAG=
__w_pdfjs_require__(57)("toStringTag");module.exports=function(it,TAG,STATIC){it&&!has(it=STATIC?it:it.prototype,TO_STRING_TAG)&&defineProperty(it,TO_STRING_TAG,{configurable:!0,value:TAG})}},function(module,exports){module.exports={}},function(module,exports,__w_pdfjs_require__){var anObject=__w_pdfjs_require__(27),aPossiblePrototype=__w_pdfjs_require__(87);module.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var CORRECT_SETTER=!1,test={};try{var setter=Object.getOwnPropertyDescriptor(Object.prototype,
"__proto__").set;setter.call(test,[]);CORRECT_SETTER=test instanceof Array}catch(error){}return function(O,proto){anObject(O);aPossiblePrototype(proto);CORRECT_SETTER?setter.call(O,proto):O.__proto__=proto;return O}}():void 0)},function(module,exports,__w_pdfjs_require__){var isObject=__w_pdfjs_require__(21);module.exports=function(it){if(!isObject(it)&&null!==it)throw TypeError("Can't set "+String(it)+" as a prototype");return it}},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);
exports=__w_pdfjs_require__(89);__w_pdfjs_require__=!__w_pdfjs_require__(96)(function(iterable){Array.from(iterable)});module({target:"Array",stat:!0,forced:__w_pdfjs_require__},{from:exports})},function(module,exports,__w_pdfjs_require__){var bind=__w_pdfjs_require__(62),toObject=__w_pdfjs_require__(82),callWithSafeIterationClosing=__w_pdfjs_require__(90),isArrayIteratorMethod=__w_pdfjs_require__(91),toLength=__w_pdfjs_require__(46),createProperty=__w_pdfjs_require__(92),getIteratorMethod=__w_pdfjs_require__(93);
module.exports=function(arrayLike){var O=toObject(arrayLike),C="function"==typeof this?this:Array,argumentsLength=arguments.length,mapfn=1<argumentsLength?arguments[1]:void 0,mapping=void 0!==mapfn,index=0,iteratorMethod=getIteratorMethod(O);mapping&&(mapfn=bind(mapfn,2<argumentsLength?arguments[2]:void 0,2));if(void 0==iteratorMethod||C==Array&&isArrayIteratorMethod(iteratorMethod))for(argumentsLength=toLength(O.length),C=new C(argumentsLength);argumentsLength>index;index++)createProperty(C,index,
mapping?mapfn(O[index],index):O[index]);else for(O=iteratorMethod.call(O),argumentsLength=O.next,C=new C;!(iteratorMethod=argumentsLength.call(O)).done;index++)createProperty(C,index,mapping?callWithSafeIterationClosing(O,mapfn,[iteratorMethod.value,index],!0):iteratorMethod.value);C.length=index;return C}},function(module,exports,__w_pdfjs_require__){var anObject=__w_pdfjs_require__(27);module.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){throw fn=
iterator["return"],void 0!==fn&&anObject(fn.call(iterator)),error;}}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(57);var Iterators=__w_pdfjs_require__(85),ITERATOR=exports("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},function(module,exports,__w_pdfjs_require__){var toPrimitive=__w_pdfjs_require__(20),definePropertyModule=__w_pdfjs_require__(26),createPropertyDescriptor=
__w_pdfjs_require__(15);module.exports=function(object,key,value){key=toPrimitive(key);key in object?definePropertyModule.f(object,key,createPropertyDescriptor(0,value)):object[key]=value}},function(module,exports,__w_pdfjs_require__){var classof=__w_pdfjs_require__(94),Iterators=__w_pdfjs_require__(85),ITERATOR=__w_pdfjs_require__(57)("iterator");module.exports=function(it){if(void 0!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},function(module,exports,__w_pdfjs_require__){exports=
__w_pdfjs_require__(95);var classofRaw=__w_pdfjs_require__(18),TO_STRING_TAG=__w_pdfjs_require__(57)("toStringTag"),CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}());module.exports=exports?classofRaw:function(it$jscomp$0){var result;if(void 0===it$jscomp$0)var tag="Undefined";else{if(null===it$jscomp$0)var JSCompiler_temp="Null";else{a:{var it=it$jscomp$0=Object(it$jscomp$0);try{JSCompiler_temp=it[TO_STRING_TAG];break a}catch(error){}JSCompiler_temp=void 0}JSCompiler_temp=
"string"==typeof(tag=JSCompiler_temp)?tag:CORRECT_ARGUMENTS?classofRaw(it$jscomp$0):"Object"==(result=classofRaw(it$jscomp$0))&&"function"==typeof it$jscomp$0.callee?"Arguments":result}tag=JSCompiler_temp}return tag}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(57)("toStringTag");__w_pdfjs_require__={};__w_pdfjs_require__[exports]="z";module.exports="[object z]"===String(__w_pdfjs_require__)},function(module,exports,__w_pdfjs_require__){var ITERATOR=__w_pdfjs_require__(57)("iterator"),
SAFE_CLOSING=!1;try{var called=0;exports={next:function(){return{done:!!called++}},"return":function(){SAFE_CLOSING=!0}};exports[ITERATOR]=function(){return this};Array.from(exports,function(){throw 2;})}catch(error){}module.exports=function(exec,SKIP_CLOSING){if(!SKIP_CLOSING&&!SAFE_CLOSING)return!1;var ITERATION_SUPPORT=!1;try{SKIP_CLOSING={},SKIP_CLOSING[ITERATOR]=function(){return{next:function(){return{done:ITERATION_SUPPORT=!0}}}},exec(SKIP_CLOSING)}catch(error$2){}return ITERATION_SUPPORT}},
function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(98);exports=__w_pdfjs_require__(42);module.exports=exports.Object.assign},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);__w_pdfjs_require__=__w_pdfjs_require__(99);module({target:"Object",stat:!0,forced:Object.assign!==__w_pdfjs_require__},{assign:__w_pdfjs_require__})},function(module,exports,__w_pdfjs_require__){var DESCRIPTORS=__w_pdfjs_require__(12);exports=__w_pdfjs_require__(13);var objectKeys=__w_pdfjs_require__(73),
getOwnPropertySymbolsModule=__w_pdfjs_require__(50),propertyIsEnumerableModule=__w_pdfjs_require__(14),toObject=__w_pdfjs_require__(82),IndexedObject=__w_pdfjs_require__(17),nativeAssign=Object.assign,defineProperty=Object.defineProperty;module.exports=!nativeAssign||exports(function(){if(DESCRIPTORS&&1!==nativeAssign({b:1},nativeAssign(defineProperty({},"a",{enumerable:!0,get:function(){defineProperty(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var A={},B={},symbol=Symbol();A[symbol]=
7;"abcdefghijklmnopqrst".split("").forEach(function(chr){B[chr]=chr});return 7!=nativeAssign({},A)[symbol]||"abcdefghijklmnopqrst"!=objectKeys(nativeAssign({},B)).join("")})?function(target,source){for(var T=toObject(target),argumentsLength=arguments.length,index=1,getOwnPropertySymbols=getOwnPropertySymbolsModule.f,propertyIsEnumerable=propertyIsEnumerableModule.f;argumentsLength>index;)for(var S=IndexedObject(arguments[index++]),keys=getOwnPropertySymbols?objectKeys(S).concat(getOwnPropertySymbols(S)):
objectKeys(S),length=keys.length,j=0,key;length>j;)if(key=keys[j++],!DESCRIPTORS||propertyIsEnumerable.call(S,key))T[key]=S[key];return T}:nativeAssign},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(101);exports=__w_pdfjs_require__(42);module.exports=exports.Math.log2},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var log=Math.log,LN2=Math.LN2;module({target:"Math",stat:!0},{log2:function(x){return log(x)/LN2}})},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(103);
exports=__w_pdfjs_require__(42);module.exports=exports.Number.isNaN},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(9)({target:"Number",stat:!0},{isNaN:function(number){return number!=number}})},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(105);exports=__w_pdfjs_require__(42);module.exports=exports.Number.isInteger},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);__w_pdfjs_require__=__w_pdfjs_require__(106);module({target:"Number",stat:!0},
{isInteger:__w_pdfjs_require__})},function(module,exports,__w_pdfjs_require__){var isObject=__w_pdfjs_require__(21),floor=Math.floor;module.exports=function(it){return!isObject(it)&&isFinite(it)&&floor(it)===it}},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(108);__w_pdfjs_require__(76);__w_pdfjs_require__(110);__w_pdfjs_require__(113);__w_pdfjs_require__(129);__w_pdfjs_require__(130);exports=__w_pdfjs_require__(42);module.exports=exports.Promise},function(module,exports,__w_pdfjs_require__){module=
__w_pdfjs_require__(95);exports=__w_pdfjs_require__(28);__w_pdfjs_require__=__w_pdfjs_require__(109);module||exports(Object.prototype,"toString",__w_pdfjs_require__,{unsafe:!0})},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(95);var classof=__w_pdfjs_require__(94);module.exports=exports?{}.toString:function(){return"[object "+classof(this)+"]"}},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(10);exports=__w_pdfjs_require__(111);var ArrayIteratorMethods=
__w_pdfjs_require__(112),createNonEnumerableProperty=__w_pdfjs_require__(25),wellKnownSymbol=__w_pdfjs_require__(57);__w_pdfjs_require__=wellKnownSymbol("iterator");wellKnownSymbol=wellKnownSymbol("toStringTag");var ArrayValues=ArrayIteratorMethods.values,COLLECTION_NAME;for(COLLECTION_NAME in exports){var Collection=module[COLLECTION_NAME];if(Collection=Collection&&Collection.prototype){if(Collection[__w_pdfjs_require__]!==ArrayValues)try{createNonEnumerableProperty(Collection,__w_pdfjs_require__,
ArrayValues)}catch(error){Collection[__w_pdfjs_require__]=ArrayValues}Collection[wellKnownSymbol]||createNonEnumerableProperty(Collection,wellKnownSymbol,COLLECTION_NAME);if(exports[COLLECTION_NAME])for(var METHOD_NAME in ArrayIteratorMethods)if(Collection[METHOD_NAME]!==ArrayIteratorMethods[METHOD_NAME])try{createNonEnumerableProperty(Collection,METHOD_NAME,ArrayIteratorMethods[METHOD_NAME])}catch(error$3){Collection[METHOD_NAME]=ArrayIteratorMethods[METHOD_NAME]}}}},function(module,exports){module.exports=
{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},
function(module,exports,__w_pdfjs_require__){var toIndexedObject=__w_pdfjs_require__(16);exports=__w_pdfjs_require__(70);var Iterators=__w_pdfjs_require__(85),InternalStateModule=__w_pdfjs_require__(32);__w_pdfjs_require__=__w_pdfjs_require__(78);var setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Array Iterator");module.exports=__w_pdfjs_require__(Array,"Array",function(iterated,kind){setInternalState(this,{type:"Array Iterator",target:toIndexedObject(iterated),
index:0,kind:kind})},function(){var state=getInternalState(this),target=state.target,kind=state.kind,index=state.index++;return!target||index>=target.length?(state.target=void 0,{value:void 0,done:!0}):"keys"==kind?{value:index,done:!1}:"values"==kind?{value:target[index],done:!1}:{value:[index,target[index]],done:!1}},"values");Iterators.Arguments=Iterators.Array;exports("keys");exports("values");exports("entries")},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var IS_PURE=
__w_pdfjs_require__(36),global=__w_pdfjs_require__(10);exports=__w_pdfjs_require__(41);var NativePromise=__w_pdfjs_require__(114),redefine=__w_pdfjs_require__(28),redefineAll=__w_pdfjs_require__(115),setToStringTag=__w_pdfjs_require__(84),setSpecies=__w_pdfjs_require__(116),isObject=__w_pdfjs_require__(21),aFunction=__w_pdfjs_require__(63),anInstance=__w_pdfjs_require__(117),classof=__w_pdfjs_require__(18),inspectSource=__w_pdfjs_require__(30),iterate=__w_pdfjs_require__(118),checkCorrectnessOfIteration=
__w_pdfjs_require__(96),speciesConstructor=__w_pdfjs_require__(119),task=__w_pdfjs_require__(120).set,microtask=__w_pdfjs_require__(123),promiseResolve=__w_pdfjs_require__(124),hostReportErrors=__w_pdfjs_require__(126),newPromiseCapabilityModule=__w_pdfjs_require__(125),perform=__w_pdfjs_require__(127),InternalStateModule=__w_pdfjs_require__(32),isForced=__w_pdfjs_require__(51),wellKnownSymbol=__w_pdfjs_require__(57),V8_VERSION=__w_pdfjs_require__(128),SPECIES=wellKnownSymbol("species"),getInternalState=
InternalStateModule.get,setInternalState=InternalStateModule.set,getInternalPromiseState=InternalStateModule.getterFor("Promise"),PromiseConstructor=NativePromise,TypeError=global.TypeError,document=global.document,process=global.process,$fetch=exports("fetch"),newPromiseCapability=newPromiseCapabilityModule.f,newGenericPromiseCapability=newPromiseCapability,IS_NODE="process"==classof(process),DISPATCH_EVENT=!!(document&&document.createEvent&&global.dispatchEvent);checkCorrectnessOfIteration=(__w_pdfjs_require__=
isForced("Promise",function(){if(inspectSource(PromiseConstructor)===String(PromiseConstructor)&&(66===V8_VERSION||!IS_NODE&&"function"!=typeof PromiseRejectionEvent)||IS_PURE&&!PromiseConstructor.prototype["finally"])return!0;if(51<=V8_VERSION&&/native code/.test(PromiseConstructor))return!1;var promise=PromiseConstructor.resolve(1),FakePromise=function(exec){exec(function(){},function(){})};(promise.constructor={})[SPECIES]=FakePromise;return!(promise.then(function(){})instanceof FakePromise)}))||
!checkCorrectnessOfIteration(function(iterable){PromiseConstructor.all(iterable)["catch"](function(){})});var isThenable=function(it){var then;return isObject(it)&&"function"==typeof(then=it.then)?then:!1},notify=function(promise,state,isReject){if(!state.notified){state.notified=!0;var chain=state.reactions;microtask(function(){for(var value=state.value,ok=1==state.state,index=0;chain.length>index;){var reaction=chain[index++],handler=ok?reaction.ok:reaction.fail,resolve=reaction.resolve,reject=
reaction.reject,domain=reaction.domain,then;try{if(handler){ok||(2===state.rejection&&onHandleUnhandled(promise,state),state.rejection=1);if(!0===handler)var result=value;else if(domain&&domain.enter(),result=handler(value),domain){domain.exit();var exited=!0}result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?then.call(result,resolve,reject):resolve(result)}else reject(value)}catch(error){domain&&!exited&&domain.exit(),reject(error)}}state.reactions=[];state.notified=
!1;isReject&&!state.rejection&&onUnhandled(promise,state)})}},dispatchEvent=function(name,promise,reason){var handler;if(DISPATCH_EVENT){var event=document.createEvent("Event");event.promise=promise;event.reason=reason;event.initEvent(name,!1,!0);global.dispatchEvent(event)}else event={promise:promise,reason:reason};(handler=global["on"+name])?handler(event):"unhandledrejection"===name&&hostReportErrors("Unhandled promise rejection",reason)},onUnhandled=function(promise,state){task.call(global,function(){var value=
state.value;if(1!==state.rejection&&!state.parent){var result=perform(function(){IS_NODE?process.emit("unhandledRejection",value,promise):dispatchEvent("unhandledrejection",promise,value)});state.rejection=IS_NODE||1!==state.rejection&&!state.parent?2:1;if(result.error)throw result.value;}})},onHandleUnhandled=function(promise,state){task.call(global,function(){IS_NODE?process.emit("rejectionHandled",promise):dispatchEvent("rejectionhandled",promise,state.value)})},bind=function(fn,promise,state,
unwrap){return function(value){fn(promise,state,value,unwrap)}},internalReject=function(promise,state,value,unwrap){state.done||(state.done=!0,unwrap&&(state=unwrap),state.value=value,state.state=2,notify(promise,state,!0))},internalResolve=function internalResolve(promise,state,value,unwrap){if(!state.done){state.done=!0;unwrap&&(state=unwrap);try{if(promise===value)throw TypeError("Promise can't be resolved itself");var then=isThenable(value);then?microtask(function(){var wrapper={done:!1};try{then.call(value,
bind(internalResolve,promise,wrapper,state),bind(internalReject,promise,wrapper,state))}catch(error){internalReject(promise,wrapper,error,state)}}):(state.value=value,state.state=1,notify(promise,state,!1))}catch(error){internalReject(promise,{done:!1},error,state)}}};if(__w_pdfjs_require__){PromiseConstructor=function(executor){anInstance(this,PromiseConstructor,"Promise");aFunction(executor);Internal.call(this);var state=getInternalState(this);try{executor(bind(internalResolve,this,state),bind(internalReject,
this,state))}catch(error){internalReject(this,state,error)}};var Internal=function(executor){setInternalState(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})};Internal.prototype=redefineAll(PromiseConstructor.prototype,{then:function(onFulfilled,onRejected){var state=getInternalPromiseState(this),reaction=newPromiseCapability(speciesConstructor(this,PromiseConstructor));reaction.ok="function"==typeof onFulfilled?onFulfilled:!0;reaction.fail="function"==
typeof onRejected&&onRejected;reaction.domain=IS_NODE?process.domain:void 0;state.parent=!0;state.reactions.push(reaction);0!=state.state&&notify(this,state,!1);return reaction.promise},"catch":function(onRejected){return this.then(void 0,onRejected)}});var OwnPromiseCapability=function(){var promise=new Internal,state=getInternalState(promise);this.promise=promise;this.resolve=bind(internalResolve,promise,state);this.reject=bind(internalReject,promise,state)};newPromiseCapabilityModule.f=newPromiseCapability=
function(C){return C===PromiseConstructor||C===PromiseWrapper?new OwnPromiseCapability(C):newGenericPromiseCapability(C)};if(!IS_PURE&&"function"==typeof NativePromise){var nativeThen=NativePromise.prototype.then;redefine(NativePromise.prototype,"then",function(onFulfilled,onRejected){var that=this;return(new PromiseConstructor(function(resolve,reject){nativeThen.call(that,resolve,reject)})).then(onFulfilled,onRejected)},{unsafe:!0});"function"==typeof $fetch&&module({global:!0,enumerable:!0,forced:!0},
{fetch:function(input){return promiseResolve(PromiseConstructor,$fetch.apply(global,arguments))}})}}module({global:!0,wrap:!0,forced:__w_pdfjs_require__},{Promise:PromiseConstructor});setToStringTag(PromiseConstructor,"Promise",!1,!0);setSpecies("Promise");var PromiseWrapper=exports("Promise");module({target:"Promise",stat:!0,forced:__w_pdfjs_require__},{reject:function(r){var capability=newPromiseCapability(this);capability.reject.call(void 0,r);return capability.promise}});module({target:"Promise",
stat:!0,forced:IS_PURE||__w_pdfjs_require__},{resolve:function(x){return promiseResolve(IS_PURE&&this===PromiseWrapper?PromiseConstructor:this,x)}});module({target:"Promise",stat:!0,forced:checkCorrectnessOfIteration},{all:function(iterable){var C=this,capability=newPromiseCapability(C),resolve=capability.resolve,reject=capability.reject,result=perform(function(){var $promiseResolve=aFunction(C.resolve),values=[],counter=0,remaining=1;iterate(iterable,function(promise){var index=counter++,alreadyCalled=
!1;values.push(void 0);remaining++;$promiseResolve.call(C,promise).then(function(value){alreadyCalled||(alreadyCalled=!0,values[index]=value,--remaining||resolve(values))},reject)});--remaining||resolve(values)});result.error&&reject(result.value);return capability.promise},race:function(iterable){var C=this,capability=newPromiseCapability(C),reject=capability.reject,result=perform(function(){var $promiseResolve=aFunction(C.resolve);iterate(iterable,function(promise){$promiseResolve.call(C,promise).then(capability.resolve,
reject)})});result.error&&reject(result.value);return capability.promise}})},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(10);module.exports=exports.Promise},function(module,exports,__w_pdfjs_require__){var redefine=__w_pdfjs_require__(28);module.exports=function(target,src,options){for(var key in src)redefine(target,key,src[key],options);return target}},function(module,exports,__w_pdfjs_require__){var getBuiltIn=__w_pdfjs_require__(41),definePropertyModule=__w_pdfjs_require__(26);
exports=__w_pdfjs_require__(57);var DESCRIPTORS=__w_pdfjs_require__(12),SPECIES=exports("species");module.exports=function(CONSTRUCTOR_NAME){CONSTRUCTOR_NAME=getBuiltIn(CONSTRUCTOR_NAME);var defineProperty=definePropertyModule.f;DESCRIPTORS&&CONSTRUCTOR_NAME&&!CONSTRUCTOR_NAME[SPECIES]&&defineProperty(CONSTRUCTOR_NAME,SPECIES,{configurable:!0,get:function(){return this}})}},function(module,exports){module.exports=function(it,Constructor,name){if(!(it instanceof Constructor))throw TypeError("Incorrect "+
(name?name+" ":"")+"invocation");return it}},function(module,exports,__w_pdfjs_require__){var anObject=__w_pdfjs_require__(27),isArrayIteratorMethod=__w_pdfjs_require__(91),toLength=__w_pdfjs_require__(46),bind=__w_pdfjs_require__(62),getIteratorMethod=__w_pdfjs_require__(93),callWithSafeIterationClosing=__w_pdfjs_require__(90),Result=function(stopped,result){this.stopped=stopped;this.result=result};(module.exports=function(iterable,fn,that,AS_ENTRIES,IS_ITERATOR){fn=bind(fn,that,AS_ENTRIES?2:1);
var length,step;if(!IS_ITERATOR){IS_ITERATOR=getIteratorMethod(iterable);if("function"!=typeof IS_ITERATOR)throw TypeError("Target is not iterable");if(isArrayIteratorMethod(IS_ITERATOR)){that=0;for(length=toLength(iterable.length);length>that;that++)if((IS_ITERATOR=AS_ENTRIES?fn(anObject(step=iterable[that])[0],step[1]):fn(iterable[that]))&&IS_ITERATOR instanceof Result)return IS_ITERATOR;return new Result(!1)}iterable=IS_ITERATOR.call(iterable)}for(that=iterable.next;!(step=that.call(iterable)).done;)if(IS_ITERATOR=
callWithSafeIterationClosing(iterable,fn,step.value,AS_ENTRIES),"object"==_typeof2(IS_ITERATOR)&&IS_ITERATOR&&IS_ITERATOR instanceof Result)return IS_ITERATOR;return new Result(!1)}).stop=function(result){return new Result(!0,result)}},function(module,exports,__w_pdfjs_require__){var anObject=__w_pdfjs_require__(27),aFunction=__w_pdfjs_require__(63),SPECIES=__w_pdfjs_require__(57)("species");module.exports=function(O,defaultConstructor){O=anObject(O).constructor;var S;return void 0===O||void 0==(S=
anObject(O)[SPECIES])?defaultConstructor:aFunction(S)}},function(module,exports,__w_pdfjs_require__){var global=__w_pdfjs_require__(10),fails=__w_pdfjs_require__(13),classof=__w_pdfjs_require__(18);exports=__w_pdfjs_require__(62);var html=__w_pdfjs_require__(74),createElement=__w_pdfjs_require__(24),IS_IOS=__w_pdfjs_require__(121),location=global.location;__w_pdfjs_require__=global.setImmediate;var clear=global.clearImmediate,process=global.process,MessageChannel=global.MessageChannel,Dispatch=global.Dispatch,
counter=0,queue={},run=function(id){if(queue.hasOwnProperty(id)){var fn=queue[id];delete queue[id];fn()}},runner=function(id){return function(){run(id)}},listener=function(event){run(event.data)},post=function(id){global.postMessage(id+"",location.protocol+"//"+location.host)};if(!__w_pdfjs_require__||!clear)if(__w_pdfjs_require__=function(fn){for(var args=[],i=1;arguments.length>i;)args.push(arguments[i++]);queue[++counter]=function(){("function"==typeof fn?fn:Function(fn)).apply(void 0,args)};defer(counter);
return counter},clear=function(id){delete queue[id]},"process"==classof(process))var defer=function(id){process.nextTick(runner(id))};else Dispatch&&Dispatch.now?defer=function(id){Dispatch.now(runner(id))}:MessageChannel&&!IS_IOS?(fails=new MessageChannel,classof=fails.port2,fails.port1.onmessage=listener,defer=exports(classof.postMessage,classof,1)):!global.addEventListener||"function"!=typeof postMessage||global.importScripts||fails(post)?defer="onreadystatechange"in createElement("script")?function(id){html.appendChild(createElement("script")).onreadystatechange=
function(){html.removeChild(this);run(id)}}:function(id){setTimeout(runner(id),0)}:(defer=post,global.addEventListener("message",listener,!1));module.exports={set:__w_pdfjs_require__,clear:clear}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(122);module.exports=/(iphone|ipod|ipad).*applewebkit/i.test(exports)},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(41);module.exports=exports("navigator","userAgent")||""},function(module,exports,__w_pdfjs_require__){var global=
__w_pdfjs_require__(10),getOwnPropertyDescriptor=__w_pdfjs_require__(11).f,classof=__w_pdfjs_require__(18),macrotask=__w_pdfjs_require__(120).set;__w_pdfjs_require__=__w_pdfjs_require__(121);exports=global.MutationObserver||global.WebKitMutationObserver;var process=global.process,Promise=global.Promise,IS_NODE="process"==classof(process);getOwnPropertyDescriptor=(getOwnPropertyDescriptor=getOwnPropertyDescriptor(global,"queueMicrotask"))&&getOwnPropertyDescriptor.value;var head,last;if(!getOwnPropertyDescriptor){var flush=
function(){var parent;for(IS_NODE&&(parent=process.domain)&&parent.exit();head;){var fn=head.fn;head=head.next;try{fn()}catch(error){throw head?notify():last=void 0,error;}}last=void 0;parent&&parent.enter()};if(IS_NODE)var notify=function(){process.nextTick(flush)};else if(exports&&!__w_pdfjs_require__){var toggle=!0;var node=document.createTextNode("");(new exports(flush)).observe(node,{characterData:!0});notify=function(){node.data=toggle=!toggle}}else if(Promise&&Promise.resolve){var promise=
Promise.resolve(void 0);var then=promise.then;notify=function(){then.call(promise,flush)}}else notify=function(){macrotask.call(global,flush)}}module.exports=getOwnPropertyDescriptor||function(fn){fn={fn:fn,next:void 0};last&&(last.next=fn);head||(head=fn,notify());last=fn}},function(module,exports,__w_pdfjs_require__){var anObject=__w_pdfjs_require__(27),isObject=__w_pdfjs_require__(21),newPromiseCapability=__w_pdfjs_require__(125);module.exports=function(C,x){anObject(C);if(isObject(x)&&x.constructor===
C)return x;C=newPromiseCapability.f(C);var resolve=C.resolve;resolve(x);return C.promise}},function(module,exports,__w_pdfjs_require__){var aFunction=__w_pdfjs_require__(63),PromiseCapability=function(C){var resolve,reject;this.promise=new C(function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve;reject=$$reject});this.resolve=aFunction(resolve);this.reject=aFunction(reject)};module.exports.f=function(C){return new PromiseCapability(C)}},
function(module,exports,__w_pdfjs_require__){var global=__w_pdfjs_require__(10);module.exports=function(a,b){var console=global.console;console&&console.error&&(1===arguments.length?console.error(a):console.error(a,b))}},function(module,exports){module.exports=function(exec){try{return{error:!1,value:exec()}}catch(error){return{error:!0,value:error}}}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(10);__w_pdfjs_require__=__w_pdfjs_require__(122);exports=(exports=(exports=
exports.process)&&exports.versions)&&exports.v8;if(exports){exports=exports.split(".");var version=exports[0]+exports[1]}else __w_pdfjs_require__&&(exports=__w_pdfjs_require__.match(/Edge\/(\d+)/),(!exports||74<=exports[1])&&(exports=__w_pdfjs_require__.match(/Chrome\/(\d+)/))&&(version=exports[1]));module.exports=version&&+version},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var aFunction=__w_pdfjs_require__(63),newPromiseCapabilityModule=__w_pdfjs_require__(125),perform=
__w_pdfjs_require__(127),iterate=__w_pdfjs_require__(118);module({target:"Promise",stat:!0},{allSettled:function(iterable){var C=this,capability=newPromiseCapabilityModule.f(C),resolve=capability.resolve,reject=capability.reject,result=perform(function(){var promiseResolve=aFunction(C.resolve),values=[],counter=0,remaining=1;iterate(iterable,function(promise){var index=counter++,alreadyCalled=!1;values.push(void 0);remaining++;promiseResolve.call(C,promise).then(function(value){alreadyCalled||(alreadyCalled=
!0,values[index]={status:"fulfilled",value:value},--remaining||resolve(values))},function(e){alreadyCalled||(alreadyCalled=!0,values[index]={status:"rejected",reason:e},--remaining||resolve(values))})});--remaining||resolve(values)});result.error&&reject(result.value);return capability.promise}})},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);exports=__w_pdfjs_require__(36);var NativePromise=__w_pdfjs_require__(114),fails=__w_pdfjs_require__(13),getBuiltIn=__w_pdfjs_require__(41),
speciesConstructor=__w_pdfjs_require__(119),promiseResolve=__w_pdfjs_require__(124);__w_pdfjs_require__=__w_pdfjs_require__(28);fails=!!NativePromise&&fails(function(){NativePromise.prototype["finally"].call({then:function(){}},function(){})});module({target:"Promise",proto:!0,real:!0,forced:fails},{"finally":function(onFinally){var C=speciesConstructor(this,getBuiltIn("Promise")),isFunction="function"==typeof onFinally;return this.then(isFunction?function(x){return promiseResolve(C,onFinally()).then(function(){return x})}:
onFinally,isFunction?function(e){return promiseResolve(C,onFinally()).then(function(){throw e;})}:onFinally)}});exports||"function"!=typeof NativePromise||NativePromise.prototype["finally"]||__w_pdfjs_require__(NativePromise.prototype,"finally",getBuiltIn("Promise").prototype["finally"])},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(132);__w_pdfjs_require__(137);__w_pdfjs_require__(135);exports=__w_pdfjs_require__(42);module.exports=exports.URL},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(76);
module=__w_pdfjs_require__(9);var DESCRIPTORS=__w_pdfjs_require__(12);exports=__w_pdfjs_require__(133);var global=__w_pdfjs_require__(10),defineProperties=__w_pdfjs_require__(72),redefine=__w_pdfjs_require__(28),anInstance=__w_pdfjs_require__(117),has=__w_pdfjs_require__(22),assign=__w_pdfjs_require__(99),arrayFrom=__w_pdfjs_require__(89),codeAt=__w_pdfjs_require__(77).codeAt,toASCII=__w_pdfjs_require__(134),setToStringTag=__w_pdfjs_require__(84),URLSearchParamsModule=__w_pdfjs_require__(135);__w_pdfjs_require__=
__w_pdfjs_require__(32);var NativeURL=global.URL,URLSearchParams=URLSearchParamsModule.URLSearchParams,getInternalSearchParamsState=URLSearchParamsModule.getState,setInternalState=__w_pdfjs_require__.set,getInternalURLState=__w_pdfjs_require__.getterFor("URL"),floor=Math.floor,pow=Math.pow,ALPHA=/[A-Za-z]/,ALPHANUMERIC=/[\d+\-.A-Za-z]/,DIGIT=/\d/,HEX_START=/^(0x|0X)/,OCT=/^[0-7]+$/,DEC=/^\d+$/,HEX=/^[\dA-Fa-f]+$/,FORBIDDEN_HOST_CODE_POINT=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT=
/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,TAB_AND_NEW_LINE=/[\u0009\u000A\u000D]/g,parseHost=function(url,input){var index;if("["==input.charAt(0)){if("]"!=input.charAt(input.length-1))return"Invalid host";var result=parseIPv6(input.slice(1,-1));if(!result)return"Invalid host"}else if(isSpecial(url)){input=toASCII(input);if(FORBIDDEN_HOST_CODE_POINT.test(input))return"Invalid host";result=parseIPv4(input);if(null===result)return"Invalid host"}else{if(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT.test(input))return"Invalid host";
result="";input=arrayFrom(input);for(index=0;index<input.length;index++)result+=percentEncode(input[index],C0ControlPercentEncodeSet)}url.host=result},parseIPv4=function(input){var parts=input.split("."),index;parts.length&&""==parts[parts.length-1]&&parts.pop();var partsLength=parts.length;if(4<partsLength)return input;var numbers=[];for(index=0;index<partsLength;index++){var part=parts[index];if(""==part)return input;var radix=10;1<part.length&&"0"==part.charAt(0)&&(radix=HEX_START.test(part)?16:
8,part=part.slice(8==radix?1:2));if(""===part)part=0;else{if(!(10==radix?DEC:8==radix?OCT:HEX).test(part))return input;part=parseInt(part,radix)}numbers.push(part)}for(index=0;index<partsLength;index++)if(part=numbers[index],index==partsLength-1){if(part>=pow(256,5-partsLength))return null}else if(255<part)return null;input=numbers.pop();for(index=0;index<numbers.length;index++)input+=numbers[index]*pow(256,3-index);return input},parseIPv6=function(input){var address=[0,0,0,0,0,0,0,0],pieceIndex=
0,compress=null,pointer=0,value,length;var swaps=function(){return input.charAt(pointer)};if(":"==swaps()){if(":"!=input.charAt(1))return;pointer+=2;pieceIndex++;compress=pieceIndex}for(;swaps();){if(8==pieceIndex)return;if(":"==swaps()){if(null!==compress)return;pointer++;pieceIndex++;compress=pieceIndex}else{for(value=length=0;4>length&&HEX.test(swaps());)value=16*value+parseInt(swaps(),16),pointer++,length++;if("."==swaps()){if(0==length)return;pointer-=length;if(6<pieceIndex)return;for(value=
0;swaps();){length=null;if(0<value)if("."==swaps()&&4>value)pointer++;else return;if(!DIGIT.test(swaps()))return;for(;DIGIT.test(swaps());){var number=parseInt(swaps(),10);if(null===length)length=number;else{if(0==length)return;length=10*length+number}if(255<length)return;pointer++}address[pieceIndex]=256*address[pieceIndex]+length;value++;2!=value&&4!=value||pieceIndex++}if(4!=value)return;break}else if(":"==swaps()){if(pointer++,!swaps())return}else if(swaps())return;address[pieceIndex++]=value}}if(null!==
compress)for(swaps=pieceIndex-compress,pieceIndex=7;0!=pieceIndex&&0<swaps;)value=address[pieceIndex],address[pieceIndex--]=address[compress+swaps-1],address[compress+--swaps]=value;else if(8!=pieceIndex)return;return address},serializeHost=function(host){var index,ignore0;if("number"==typeof host){var result=[];for(index=0;4>index;index++)result.unshift(host%256),host=floor(host/256);return result.join(".")}if("object"==_typeof2(host)){result="";index=null;var compress=1;for(var currStart=null,currLength=
0,index$jscomp$0=0;8>index$jscomp$0;index$jscomp$0++)0!==host[index$jscomp$0]?(currLength>compress&&(index=currStart,compress=currLength),currStart=null,currLength=0):(null===currStart&&(currStart=index$jscomp$0),++currLength);currLength>compress&&(index=currStart);compress=index;for(index=0;8>index;index++)ignore0&&0===host[index]||(ignore0&&(ignore0=!1),compress===index?(result+=index?":":"::",ignore0=!0):(result+=host[index].toString(16),7>index&&(result+=":")));return"["+result+"]"}return host},
C0ControlPercentEncodeSet={},fragmentPercentEncodeSet=assign({},C0ControlPercentEncodeSet,{" ":1,'"':1,"<":1,">":1,"`":1}),pathPercentEncodeSet=assign({},fragmentPercentEncodeSet,{"#":1,"?":1,"{":1,"}":1}),userinfoPercentEncodeSet=assign({},pathPercentEncodeSet,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(_char2,set){var code=codeAt(_char2,0);return 32<code&&127>code&&!has(set,_char2)?_char2:encodeURIComponent(_char2)},specialSchemes={ftp:21,file:null,http:80,
https:443,ws:80,wss:443},isSpecial=function(url){return has(specialSchemes,url.scheme)},cannotHaveUsernamePasswordPort=function(url){return!url.host||url.cannotBeABaseURL||"file"==url.scheme},isWindowsDriveLetter=function(string,normalized){var second;return 2==string.length&&ALPHA.test(string.charAt(0))&&(":"==(second=string.charAt(1))||!normalized&&"|"==second)},startsWithWindowsDriveLetter=function(string){var third;return 1<string.length&&isWindowsDriveLetter(string.slice(0,2))&&(2==string.length||
"/"===(third=string.charAt(2))||"\\"===third||"?"===third||"#"===third)},shortenURLsPath=function(url){var path=url.path,pathSize=path.length;!pathSize||"file"==url.scheme&&1==pathSize&&isWindowsDriveLetter(path[0],!0)||path.pop()},SCHEME_START={},SCHEME={},NO_SCHEME={},SPECIAL_RELATIVE_OR_AUTHORITY={},PATH_OR_AUTHORITY={},RELATIVE={},RELATIVE_SLASH={},SPECIAL_AUTHORITY_SLASHES={},SPECIAL_AUTHORITY_IGNORE_SLASHES={},AUTHORITY={},HOST={},HOSTNAME={},PORT={},FILE={},FILE_SLASH={},FILE_HOST={},PATH_START=
{},PATH={},CANNOT_BE_A_BASE_URL_PATH={},QUERY={},FRAGMENT={},parseURL=function(url,input,stateOverride,base){var state=stateOverride||SCHEME_START,pointer=0,buffer="",seenAt=!1,seenBracket=!1,seenPasswordToken=!1;stateOverride||(url.scheme="",url.username="",url.password="",url.host=null,url.port=null,url.path=[],url.query=null,url.fragment=null,url.cannotBeABaseURL=!1,input=input.replace(LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE,""));input=input.replace(TAB_AND_NEW_LINE,"");for(input=arrayFrom(input);pointer<=
input.length;){var _char3=input[pointer];switch(state){case SCHEME_START:if(_char3&&ALPHA.test(_char3))buffer+=_char3.toLowerCase(),state=SCHEME;else{if(stateOverride)return"Invalid scheme";state=NO_SCHEME;continue}break;case SCHEME:if(_char3&&(ALPHANUMERIC.test(_char3)||"+"==_char3||"-"==_char3||"."==_char3))buffer+=_char3.toLowerCase();else if(":"==_char3){if(stateOverride&&(isSpecial(url)!=has(specialSchemes,buffer)||"file"==buffer&&(""!=url.username||""!=url.password||null!==url.port)||"file"==
url.scheme&&!url.host))return;url.scheme=buffer;if(stateOverride){isSpecial(url)&&specialSchemes[url.scheme]==url.port&&(url.port=null);return}buffer="";"file"==url.scheme?state=FILE:isSpecial(url)&&base&&base.scheme==url.scheme?state=SPECIAL_RELATIVE_OR_AUTHORITY:isSpecial(url)?state=SPECIAL_AUTHORITY_SLASHES:"/"==input[pointer+1]?(state=PATH_OR_AUTHORITY,pointer++):(url.cannotBeABaseURL=!0,url.path.push(""),state=CANNOT_BE_A_BASE_URL_PATH)}else{if(stateOverride)return"Invalid scheme";buffer="";
state=NO_SCHEME;pointer=0;continue}break;case NO_SCHEME:if(!base||base.cannotBeABaseURL&&"#"!=_char3)return"Invalid scheme";if(base.cannotBeABaseURL&&"#"==_char3){url.scheme=base.scheme;url.path=base.path.slice();url.query=base.query;url.fragment="";url.cannotBeABaseURL=!0;state=FRAGMENT;break}state="file"==base.scheme?FILE:RELATIVE;continue;case SPECIAL_RELATIVE_OR_AUTHORITY:if("/"==_char3&&"/"==input[pointer+1])state=SPECIAL_AUTHORITY_IGNORE_SLASHES,pointer++;else{state=RELATIVE;continue}break;
case PATH_OR_AUTHORITY:if("/"==_char3){state=AUTHORITY;break}else{state=PATH;continue}case RELATIVE:url.scheme=base.scheme;if(void 0==_char3)url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,url.path=base.path.slice(),url.query=base.query;else if("/"==_char3||"\\"==_char3&&isSpecial(url))state=RELATIVE_SLASH;else if("?"==_char3)url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,url.path=base.path.slice(),url.query=
"",state=QUERY;else if("#"==_char3)url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,url.path=base.path.slice(),url.query=base.query,url.fragment="",state=FRAGMENT;else{url.username=base.username;url.password=base.password;url.host=base.host;url.port=base.port;url.path=base.path.slice();url.path.pop();state=PATH;continue}break;case RELATIVE_SLASH:if(!isSpecial(url)||"/"!=_char3&&"\\"!=_char3)if("/"==_char3)state=AUTHORITY;else{url.username=base.username;url.password=
base.password;url.host=base.host;url.port=base.port;state=PATH;continue}else state=SPECIAL_AUTHORITY_IGNORE_SLASHES;break;case SPECIAL_AUTHORITY_SLASHES:state=SPECIAL_AUTHORITY_IGNORE_SLASHES;if("/"!=_char3||"/"!=buffer.charAt(pointer+1))continue;pointer++;break;case SPECIAL_AUTHORITY_IGNORE_SLASHES:if("/"!=_char3&&"\\"!=_char3){state=AUTHORITY;continue}break;case AUTHORITY:if("@"==_char3){seenAt&&(buffer="%40"+buffer);seenAt=!0;buffer=arrayFrom(buffer);for(_char3=0;_char3<buffer.length;_char3++){var codePoint=
buffer[_char3];":"!=codePoint||seenPasswordToken?(codePoint=percentEncode(codePoint,userinfoPercentEncodeSet),seenPasswordToken?url.password+=codePoint:url.username+=codePoint):seenPasswordToken=!0}buffer=""}else if(void 0==_char3||"/"==_char3||"?"==_char3||"#"==_char3||"\\"==_char3&&isSpecial(url)){if(seenAt&&""==buffer)return"Invalid authority";pointer-=arrayFrom(buffer).length+1;buffer="";state=HOST}else buffer+=_char3;break;case HOST:case HOSTNAME:if(stateOverride&&"file"==url.scheme){state=FILE_HOST;
continue}else if(":"!=_char3||seenBracket)if(void 0==_char3||"/"==_char3||"?"==_char3||"#"==_char3||"\\"==_char3&&isSpecial(url)){if(isSpecial(url)&&""==buffer)return"Invalid host";if(stateOverride&&""==buffer&&(""!=url.username||""!=url.password||null!==url.port))return;if(state=parseHost(url,buffer))return state;buffer="";state=PATH_START;if(stateOverride)return;continue}else"["==_char3?seenBracket=!0:"]"==_char3&&(seenBracket=!1),buffer+=_char3;else{if(""==buffer)return"Invalid host";if(state=
parseHost(url,buffer))return state;buffer="";state=PORT;if(stateOverride==HOSTNAME)return}break;case PORT:if(DIGIT.test(_char3))buffer+=_char3;else if(void 0==_char3||"/"==_char3||"?"==_char3||"#"==_char3||"\\"==_char3&&isSpecial(url)||stateOverride){if(""!=buffer){state=parseInt(buffer,10);if(65535<state)return"Invalid port";url.port=isSpecial(url)&&state===specialSchemes[url.scheme]?null:state;buffer=""}if(stateOverride)return;state=PATH_START;continue}else return"Invalid port";break;case FILE:url.scheme=
"file";if("/"==_char3||"\\"==_char3)state=FILE_SLASH;else if(base&&"file"==base.scheme)if(void 0==_char3)url.host=base.host,url.path=base.path.slice(),url.query=base.query;else if("?"==_char3)url.host=base.host,url.path=base.path.slice(),url.query="",state=QUERY;else if("#"==_char3)url.host=base.host,url.path=base.path.slice(),url.query=base.query,url.fragment="",state=FRAGMENT;else{startsWithWindowsDriveLetter(input.slice(pointer).join(""))||(url.host=base.host,url.path=base.path.slice(),shortenURLsPath(url));
state=PATH;continue}else{state=PATH;continue}break;case FILE_SLASH:if("/"==_char3||"\\"==_char3){state=FILE_HOST;break}base&&"file"==base.scheme&&!startsWithWindowsDriveLetter(input.slice(pointer).join(""))&&(isWindowsDriveLetter(base.path[0],!0)?url.path.push(base.path[0]):url.host=base.host);state=PATH;continue;case FILE_HOST:if(void 0==_char3||"/"==_char3||"\\"==_char3||"?"==_char3||"#"==_char3){if(!stateOverride&&isWindowsDriveLetter(buffer))state=PATH;else{if(""==buffer){if(url.host="",stateOverride)return}else{if(state=
parseHost(url,buffer))return state;"localhost"==url.host&&(url.host="");if(stateOverride)return;buffer=""}state=PATH_START}continue}else buffer+=_char3;break;case PATH_START:if(isSpecial(url)){if(state=PATH,"/"!=_char3&&"\\"!=_char3)continue}else if(!stateOverride&&"?"==_char3)url.query="",state=QUERY;else if(!stateOverride&&"#"==_char3)url.fragment="",state=FRAGMENT;else if(void 0!=_char3&&(state=PATH,"/"!=_char3))continue;break;case PATH:if(void 0==_char3||"/"==_char3||"\\"==_char3&&isSpecial(url)||
!stateOverride&&("?"==_char3||"#"==_char3)){codePoint=buffer;codePoint=codePoint.toLowerCase();".."===codePoint||"%2e."===codePoint||".%2e"===codePoint||"%2e%2e"===codePoint?(shortenURLsPath(url),"/"==_char3||"\\"==_char3&&isSpecial(url)||url.path.push("")):"."===buffer||"%2e"===buffer.toLowerCase()?"/"==_char3||"\\"==_char3&&isSpecial(url)||url.path.push(""):("file"==url.scheme&&!url.path.length&&isWindowsDriveLetter(buffer)&&(url.host&&(url.host=""),buffer=buffer.charAt(0)+":"),url.path.push(buffer));
buffer="";if("file"==url.scheme&&(void 0==_char3||"?"==_char3||"#"==_char3))for(;1<url.path.length&&""===url.path[0];)url.path.shift();"?"==_char3?(url.query="",state=QUERY):"#"==_char3&&(url.fragment="",state=FRAGMENT)}else buffer+=percentEncode(_char3,pathPercentEncodeSet);break;case CANNOT_BE_A_BASE_URL_PATH:"?"==_char3?(url.query="",state=QUERY):"#"==_char3?(url.fragment="",state=FRAGMENT):void 0!=_char3&&(url.path[0]+=percentEncode(_char3,C0ControlPercentEncodeSet));break;case QUERY:stateOverride||
"#"!=_char3?void 0!=_char3&&("'"==_char3&&isSpecial(url)?url.query+="%27":url.query="#"==_char3?url.query+"%23":url.query+percentEncode(_char3,C0ControlPercentEncodeSet)):(url.fragment="",state=FRAGMENT);break;case FRAGMENT:void 0!=_char3&&(url.fragment+=percentEncode(_char3,fragmentPercentEncodeSet))}pointer++}},URLConstructor=function(url){var that=anInstance(this,URLConstructor,"URL"),base=1<arguments.length?arguments[1]:void 0,urlString=String(url),state=setInternalState(that,{type:"URL"}),failure;
if(void 0!==base)if(base instanceof URLConstructor)var baseState=getInternalURLState(base);else if(failure=parseURL(baseState={},String(base)))throw TypeError(failure);if(failure=parseURL(state,urlString,null,baseState))throw TypeError(failure);var searchParams=state.searchParams=new URLSearchParams;base=getInternalSearchParamsState(searchParams);base.updateSearchParams(state.query);base.updateURL=function(){state.query=String(searchParams)||null};DESCRIPTORS||(that.href=serializeURL.call(that),that.origin=
getOrigin.call(that),that.protocol=getProtocol.call(that),that.username=getUsername.call(that),that.password=getPassword.call(that),that.host=getHost.call(that),that.hostname=getHostname.call(that),that.port=getPort.call(that),that.pathname=getPathname.call(that),that.search=getSearch.call(that),that.searchParams=getSearchParams.call(that),that.hash=getHash.call(that))};__w_pdfjs_require__=URLConstructor.prototype;var serializeURL=function(){var url=getInternalURLState(this),scheme=url.scheme,username=
url.username,password=url.password,host=url.host,port=url.port,path=url.path,query=url.query,fragment=url.fragment,output=scheme+":";if(null!==host){output+="//";if(""!=url.username||""!=url.password)output+=username+(password?":"+password:"")+"@";output+=serializeHost(host);null!==port&&(output+=":"+port)}else"file"==scheme&&(output+="//");output+=url.cannotBeABaseURL?path[0]:path.length?"/"+path.join("/"):"";null!==query&&(output+="?"+query);null!==fragment&&(output+="#"+fragment);return output},
getOrigin=function(){var url=getInternalURLState(this),scheme=url.scheme,port=url.port;if("blob"==scheme)try{return(new URL(scheme.path[0])).origin}catch(error){return"null"}return"file"!=scheme&&isSpecial(url)?scheme+"://"+serializeHost(url.host)+(null!==port?":"+port:""):"null"},getProtocol=function(){return getInternalURLState(this).scheme+":"},getUsername=function(){return getInternalURLState(this).username},getPassword=function(){return getInternalURLState(this).password},getHost=function(){var url=
getInternalURLState(this),host=url.host;url=url.port;return null===host?"":null===url?serializeHost(host):serializeHost(host)+":"+url},getHostname=function(){var host=getInternalURLState(this).host;return null===host?"":serializeHost(host)},getPort=function(){var port=getInternalURLState(this).port;return null===port?"":String(port)},getPathname=function(){var url=getInternalURLState(this),path=url.path;return url.cannotBeABaseURL?path[0]:path.length?"/"+path.join("/"):""},getSearch=function(){var query=
getInternalURLState(this).query;return query?"?"+query:""},getSearchParams=function(){return getInternalURLState(this).searchParams},getHash=function(){var fragment=getInternalURLState(this).fragment;return fragment?"#"+fragment:""};global=function(getter,setter){return{get:getter,set:setter,configurable:!0,enumerable:!0}};DESCRIPTORS&&defineProperties(__w_pdfjs_require__,{href:global(serializeURL,function(href){var url=getInternalURLState(this);if(href=parseURL(url,String(href)))throw TypeError(href);
getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query)}),origin:global(getOrigin),protocol:global(getProtocol,function(protocol){var url=getInternalURLState(this);parseURL(url,String(protocol)+":",SCHEME_START)}),username:global(getUsername,function(username){var url=getInternalURLState(this);username=arrayFrom(String(username));if(!cannotHaveUsernamePasswordPort(url)){url.username="";for(var i=0;i<username.length;i++)url.username+=percentEncode(username[i],userinfoPercentEncodeSet)}}),
password:global(getPassword,function(password){var url=getInternalURLState(this);password=arrayFrom(String(password));if(!cannotHaveUsernamePasswordPort(url)){url.password="";for(var i=0;i<password.length;i++)url.password+=percentEncode(password[i],userinfoPercentEncodeSet)}}),host:global(getHost,function(host){var url=getInternalURLState(this);url.cannotBeABaseURL||parseURL(url,String(host),HOST)}),hostname:global(getHostname,function(hostname){var url=getInternalURLState(this);url.cannotBeABaseURL||
parseURL(url,String(hostname),HOSTNAME)}),port:global(getPort,function(port){var url=getInternalURLState(this);cannotHaveUsernamePasswordPort(url)||(port=String(port),""==port?url.port=null:parseURL(url,port,PORT))}),pathname:global(getPathname,function(pathname){var url=getInternalURLState(this);url.cannotBeABaseURL||(url.path=[],parseURL(url,pathname+"",PATH_START))}),search:global(getSearch,function(search){var url=getInternalURLState(this);search=String(search);""==search?url.query=null:("?"==
search.charAt(0)&&(search=search.slice(1)),url.query="",parseURL(url,search,QUERY));getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query)}),searchParams:global(getSearchParams),hash:global(getHash,function(hash){var url=getInternalURLState(this);hash=String(hash);""==hash?url.fragment=null:("#"==hash.charAt(0)&&(hash=hash.slice(1)),url.fragment="",parseURL(url,hash,FRAGMENT))})});redefine(__w_pdfjs_require__,"toJSON",function(){return serializeURL.call(this)},{enumerable:!0});
redefine(__w_pdfjs_require__,"toString",function(){return serializeURL.call(this)},{enumerable:!0});if(NativeURL){var nativeCreateObjectURL=NativeURL.createObjectURL,nativeRevokeObjectURL=NativeURL.revokeObjectURL;nativeCreateObjectURL&&redefine(URLConstructor,"createObjectURL",function(blob){return nativeCreateObjectURL.apply(NativeURL,arguments)});nativeRevokeObjectURL&&redefine(URLConstructor,"revokeObjectURL",function(url){return nativeRevokeObjectURL.apply(NativeURL,arguments)})}setToStringTag(URLConstructor,
"URL");module({global:!0,forced:!exports,sham:!DESCRIPTORS},{URL:URLConstructor})},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(13);var wellKnownSymbol=__w_pdfjs_require__(57),IS_PURE=__w_pdfjs_require__(36),ITERATOR=wellKnownSymbol("iterator");module.exports=!exports(function(){var url=new URL("b?a=1&b=2&c=3","http://a"),searchParams=url.searchParams,result="";url.pathname="c%20d";searchParams.forEach(function(value,key){searchParams["delete"]("b");result+=key+value});
return IS_PURE&&!url.toJSON||!searchParams.sort||"http://a/c%20d?a=1&c=3"!==url.href||"3"!==searchParams.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!searchParams[ITERATOR]||"a"!==(new URL("https://a@b")).username||"b"!==(new URLSearchParams(new URLSearchParams("a=b"))).get("a")||"xn--e1aybc"!==(new URL("http://\u0442\u0435\u0441\u0442")).host||"#%D0%B1"!==(new URL("http://a#\u0431")).hash||"a1c3"!==result||"x"!==(new URL("http://x",void 0)).host})},function(module,exports,__w_pdfjs_require__){var regexNonASCII=
/[^\0-\u007E]/,regexSeparators=/[.\u3002\uFF0E\uFF61]/g,floor=Math.floor,stringFromCharCode=String.fromCharCode;module.exports=function(input$jscomp$0){var encoded=[];input$jscomp$0=input$jscomp$0.toLowerCase().replace(regexSeparators,".").split(".");var i;for(i=0;i<input$jscomp$0.length;i++){var label=input$jscomp$0[i];var JSCompiler_temp_const=encoded,JSCompiler_temp_const$jscomp$0=JSCompiler_temp_const.push;if(regexNonASCII.test(label)){var input=label;label=[];var i$jscomp$0=input;input=[];for(var counter=
0,length=i$jscomp$0.length;counter<length;){var value=i$jscomp$0.charCodeAt(counter++);if(55296<=value&&56319>=value&&counter<length){var extra=i$jscomp$0.charCodeAt(counter++);56320==(extra&64512)?input.push(((value&1023)<<10)+(extra&1023)+65536):(input.push(value),counter--)}else input.push(value)}counter=input.length;length=128;var delta=0,bias=72;for(i$jscomp$0=0;i$jscomp$0<input.length;i$jscomp$0++){var currentValue=input[i$jscomp$0];128>currentValue&&label.push(stringFromCharCode(currentValue))}for((extra=
value=label.length)&&label.push("-");extra<counter;){var m=2147483647;for(i$jscomp$0=0;i$jscomp$0<input.length;i$jscomp$0++)currentValue=input[i$jscomp$0],currentValue>=length&&currentValue<m&&(m=currentValue);var handledCPCountPlusOne=extra+1;if(m-length>floor((2147483647-delta)/handledCPCountPlusOne))throw RangeError("Overflow: input needs wider integers to process");delta+=(m-length)*handledCPCountPlusOne;length=m;for(i$jscomp$0=0;i$jscomp$0<input.length;i$jscomp$0++){currentValue=input[i$jscomp$0];
if(currentValue<length&&2147483647<++delta)throw RangeError("Overflow: input needs wider integers to process");if(currentValue==length){var q=delta;for(currentValue=36;;currentValue+=36){m=currentValue<=bias?1:currentValue>=bias+26?26:currentValue-bias;if(q<m)break;q-=m;var baseMinusT=36-m,JSCompiler_temp_const$jscomp$1=label;m+=q%baseMinusT;JSCompiler_temp_const$jscomp$1.push.call(JSCompiler_temp_const$jscomp$1,stringFromCharCode(m+22+75*(26>m)));q=floor(q/baseMinusT)}label.push(stringFromCharCode(q+
22+75*(26>q)));bias=handledCPCountPlusOne;currentValue=0;delta=extra==value?floor(delta/700):delta>>1;for(delta+=floor(delta/bias);455<delta;currentValue+=36)delta=floor(delta/35);bias=floor(currentValue+36*delta/(delta+38));delta=0;++extra}}++delta;++length}label="xn--"+label.join("")}JSCompiler_temp_const$jscomp$0.call(JSCompiler_temp_const,label)}return encoded.join(".")}},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(112);exports=__w_pdfjs_require__(9);var getBuiltIn=__w_pdfjs_require__(41),
USE_NATIVE_URL=__w_pdfjs_require__(133),redefine=__w_pdfjs_require__(28),redefineAll=__w_pdfjs_require__(115),setToStringTag=__w_pdfjs_require__(84),createIteratorConstructor=__w_pdfjs_require__(79),InternalStateModule=__w_pdfjs_require__(32),anInstance=__w_pdfjs_require__(117),hasOwn=__w_pdfjs_require__(22),bind=__w_pdfjs_require__(62),classof=__w_pdfjs_require__(94),anObject=__w_pdfjs_require__(27),isObject=__w_pdfjs_require__(21),create=__w_pdfjs_require__(71),createPropertyDescriptor=__w_pdfjs_require__(15),
getIterator=__w_pdfjs_require__(136),getIteratorMethod=__w_pdfjs_require__(93);__w_pdfjs_require__=__w_pdfjs_require__(57);var $fetch=getBuiltIn("fetch"),Headers=getBuiltIn("Headers");__w_pdfjs_require__=__w_pdfjs_require__("iterator");var setInternalState=InternalStateModule.set,getInternalParamsState=InternalStateModule.getterFor("URLSearchParams"),getInternalIteratorState=InternalStateModule.getterFor("URLSearchParamsIterator"),plus=/\+/g,sequences=Array(4),percentDecode=function(sequence){try{return decodeURIComponent(sequence)}catch(error){return sequence}},
deserialize=function(it){var result=it.replace(plus," ");it=4;try{return decodeURIComponent(result)}catch(error){for(;it;){var JSCompiler_temp_const=result.replace;var JSCompiler_inline_result=it--;JSCompiler_inline_result=sequences[JSCompiler_inline_result-1]||(sequences[JSCompiler_inline_result-1]=RegExp("((?:%[\\da-f]{2}){"+JSCompiler_inline_result+"})","gi"));result=JSCompiler_temp_const.call(result,JSCompiler_inline_result,percentDecode)}return result}},find=/[!'()~]|%20/g,replace={"!":"%21",
"'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},replacer=function(match){return replace[match]},parseSearchParams=function(result,query){if(query){query=query.split("&");for(var index=0,attribute;index<query.length;)attribute=query[index++],attribute.length&&(attribute=attribute.split("="),result.push({key:deserialize(attribute.shift()),value:deserialize(attribute.join("="))}))}},updateSearchParams=function(query){this.entries.length=0;parseSearchParams(this.entries,query)},validateArgumentsLength=
function(passed,required){if(passed<required)throw TypeError("Not enough arguments");},URLSearchParamsIterator=createIteratorConstructor(function(params,kind){setInternalState(this,{type:"URLSearchParamsIterator",iterator:getIterator(getInternalParamsState(params).entries),kind:kind})},"Iterator",function(){var state=getInternalIteratorState(this),kind=state.kind;state=state.iterator.next();var entry=state.value;state.done||(state.value="keys"===kind?entry.key:"values"===kind?entry.value:[entry.key,
entry.value]);return state}),URLSearchParamsConstructor=function(){anInstance(this,URLSearchParamsConstructor,"URLSearchParams");var init=0<arguments.length?arguments[0]:void 0,entries=[],step,first,second;setInternalState(this,{type:"URLSearchParams",entries:entries,updateURL:function(){},updateSearchParams:updateSearchParams});if(void 0!==init)if(isObject(init)){var iteratorMethod=getIteratorMethod(init);if("function"===typeof iteratorMethod)for(init=iteratorMethod.call(init),iteratorMethod=init.next;!(step=
iteratorMethod.call(init)).done;){step=getIterator(anObject(step.value));var entryNext=step.next;if((first=entryNext.call(step)).done||(second=entryNext.call(step)).done||!entryNext.call(step).done)throw TypeError("Expected sequence with length 2");entries.push({key:first.value+"",value:second.value+""})}else for(step in init)hasOwn(init,step)&&entries.push({key:step,value:init[step]+""})}else parseSearchParams(entries,"string"===typeof init?"?"===init.charAt(0)?init.slice(1):init:init+"")};createIteratorConstructor=
URLSearchParamsConstructor.prototype;redefineAll(createIteratorConstructor,{append:function(name,value){validateArgumentsLength(arguments.length,2);var state=getInternalParamsState(this);state.entries.push({key:name+"",value:value+""});state.updateURL()},"delete":function(name){validateArgumentsLength(arguments.length,1);for(var state=getInternalParamsState(this),entries=state.entries,key=name+"",index=0;index<entries.length;)entries[index].key===key?entries.splice(index,1):index++;state.updateURL()},
get:function(name){validateArgumentsLength(arguments.length,1);for(var entries=getInternalParamsState(this).entries,key=name+"",index=0;index<entries.length;index++)if(entries[index].key===key)return entries[index].value;return null},getAll:function(name){validateArgumentsLength(arguments.length,1);for(var entries=getInternalParamsState(this).entries,key=name+"",result=[],index=0;index<entries.length;index++)entries[index].key===key&&result.push(entries[index].value);return result},has:function(name){validateArgumentsLength(arguments.length,
1);for(var entries=getInternalParamsState(this).entries,key=name+"",index=0;index<entries.length;)if(entries[index++].key===key)return!0;return!1},set:function(name,value){validateArgumentsLength(arguments.length,1);for(var state=getInternalParamsState(this),entries=state.entries,found=!1,key=name+"",val=value+"",index=0,entry;index<entries.length;index++)entry=entries[index],entry.key===key&&(found?entries.splice(index--,1):(found=!0,entry.value=val));found||entries.push({key:key,value:val});state.updateURL()},
sort:function(){var state=getInternalParamsState(this),entries=state.entries,slice=entries.slice(),entriesIndex,sliceIndex;for(sliceIndex=entries.length=0;sliceIndex<slice.length;sliceIndex++){var entry=slice[sliceIndex];for(entriesIndex=0;entriesIndex<sliceIndex;entriesIndex++)if(entries[entriesIndex].key>entry.key){entries.splice(entriesIndex,0,entry);break}entriesIndex===sliceIndex&&entries.push(entry)}state.updateURL()},forEach:function(callback){for(var entries=getInternalParamsState(this).entries,
boundFunction=bind(callback,1<arguments.length?arguments[1]:void 0,3),index=0,entry;index<entries.length;)entry=entries[index++],boundFunction(entry.value,entry.key,this)},keys:function(){return new URLSearchParamsIterator(this,"keys")},values:function(){return new URLSearchParamsIterator(this,"values")},entries:function(){return new URLSearchParamsIterator(this,"entries")}},{enumerable:!0});redefine(createIteratorConstructor,__w_pdfjs_require__,createIteratorConstructor.entries);redefine(createIteratorConstructor,
"toString",function(){for(var entries=getInternalParamsState(this).entries,result=[],index=0,entry;index<entries.length;)entry=entries[index++],result.push(encodeURIComponent(entry.key).replace(find,replacer)+"="+encodeURIComponent(entry.value).replace(find,replacer));return result.join("&")},{enumerable:!0});setToStringTag(URLSearchParamsConstructor,"URLSearchParams");exports({global:!0,forced:!USE_NATIVE_URL},{URLSearchParams:URLSearchParamsConstructor});USE_NATIVE_URL||"function"!=typeof $fetch||
"function"!=typeof Headers||exports({global:!0,enumerable:!0,forced:!0},{fetch:function(input){var args=[input];if(1<arguments.length){var init=arguments[1];if(isObject(init)){var body=init.body;if("URLSearchParams"===classof(body)){var headers=init.headers?new Headers(init.headers):new Headers;headers.has("content-type")||headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8");init=create(init,{body:createPropertyDescriptor(0,String(body)),headers:createPropertyDescriptor(0,
headers)})}}args.push(init)}return $fetch.apply(this,args)}});module.exports={URLSearchParams:URLSearchParamsConstructor,getState:getInternalParamsState}},function(module,exports,__w_pdfjs_require__){var anObject=__w_pdfjs_require__(27),getIteratorMethod=__w_pdfjs_require__(93);module.exports=function(it){var iteratorMethod=getIteratorMethod(it);if("function"!=typeof iteratorMethod)throw TypeError(String(it)+" is not iterable");return anObject(iteratorMethod.call(it))}},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(9)({target:"URL",
proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(__webpack_module__,__webpack_exports__,__w_pdfjs_require__){function noop(){}function typeIsObject(x){return"object"===_typeof2(x)&&null!==x||"function"===typeof x}function IsFiniteNonNegativeNumber(v){return!1===("number"!==typeof v||NumberIsNaN(v)||0>v?!1:!0)||Infinity===v?!1:!0}function Call(F,V,args){if("function"!==typeof F)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(F,
V,args)}function CreateAlgorithmFromUnderlyingMethod(underlyingObject,methodName,algoArgCount,extraArgs){var method=underlyingObject[methodName];if(void 0!==method){if("function"!==typeof method)throw new TypeError(method+" is not a method");switch(algoArgCount){case 0:return function(){return PromiseCall(method,underlyingObject,extraArgs)};case 1:return function(arg){arg=[arg].concat(extraArgs);return PromiseCall(method,underlyingObject,arg)}}}return function(){return originalPromiseResolve(void 0)}}
function InvokeOrNoop(O,P,args){P=O[P];if(void 0!==P)return Call(P,O,args)}function PromiseCall(F,V,args){try{return originalPromiseResolve(Call(F,V,args))}catch(value){return originalPromiseReject(value)}}function ValidateAndNormalizeHighWaterMark(highWaterMark){highWaterMark=Number(highWaterMark);if(NumberIsNaN(highWaterMark)||0>highWaterMark)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return highWaterMark}function MakeSizeAlgorithmFromSizeFunction(size){if(void 0===
size)return function(){return 1};if("function"!==typeof size)throw new TypeError("size property of a queuing strategy must be a function");return function(chunk){return size(chunk)}}function newPromise(executor){return new originalPromise(executor)}function PerformPromiseThen(promise,onFulfilled,onRejected){return originalPromiseThen.call(promise,onFulfilled,onRejected)}function uponPromise(promise,onFulfilled,onRejected){PerformPromiseThen(PerformPromiseThen(promise,onFulfilled,onRejected),void 0,
rethrowAssertionErrorRejection)}function uponFulfillment(promise,onFulfilled){uponPromise(promise,onFulfilled)}function uponRejection(promise,onRejected){uponPromise(promise,void 0,onRejected)}function transformPromiseWith(promise,fulfillmentHandler,rejectionHandler){return PerformPromiseThen(promise,fulfillmentHandler,rejectionHandler)}function setPromiseIsHandledToTrue(promise){PerformPromiseThen(promise,void 0,rethrowAssertionErrorRejection)}function ReadableStreamCreateReadResult(value,done,forAuthorCode){var prototype=
null;!0===forAuthorCode&&(prototype=Object.prototype);forAuthorCode=Object.create(prototype);forAuthorCode.value=value;forAuthorCode.done=done;return forAuthorCode}function ReadableStreamReaderGenericInitialize(reader,stream){reader._forAuthorCode=!0;reader._ownerReadableStream=stream;stream._reader=reader;"readable"===stream._state?defaultReaderClosedPromiseInitialize(reader):"closed"===stream._state?(defaultReaderClosedPromiseInitialize(reader),defaultReaderClosedPromiseResolve(reader)):(stream=
stream._storedError,defaultReaderClosedPromiseInitialize(reader),defaultReaderClosedPromiseReject(reader,stream))}function ReadableStreamReaderGenericRelease(reader){if("readable"===reader._ownerReadableStream._state)defaultReaderClosedPromiseReject(reader,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness"));else{var reason=new TypeError("Reader was released and can no longer be used to monitor the stream's closedness");defaultReaderClosedPromiseInitialize(reader);
defaultReaderClosedPromiseReject(reader,reason)}reader._ownerReadableStream._reader=void 0;reader._ownerReadableStream=void 0}function readerLockException(name){return new TypeError("Cannot "+name+" a stream using a released reader")}function defaultReaderClosedPromiseInitialize(reader){reader._closedPromise=newPromise(function(resolve,reject){reader._closedPromise_resolve=resolve;reader._closedPromise_reject=reject})}function defaultReaderClosedPromiseReject(reader,reason){setPromiseIsHandledToTrue(reader._closedPromise);
reader._closedPromise_reject(reason);reader._closedPromise_resolve=void 0;reader._closedPromise_reject=void 0}function defaultReaderClosedPromiseResolve(reader){reader._closedPromise_resolve(void 0);reader._closedPromise_resolve=void 0;reader._closedPromise_reject=void 0}function AcquireReadableStreamDefaultReader(stream,forAuthorCode){void 0===forAuthorCode&&(forAuthorCode=!1);stream=new ReadableStreamDefaultReader$jscomp$0(stream);stream._forAuthorCode=forAuthorCode;return stream}function ReadableStreamAddReadRequest(stream){return newPromise(function(resolve,
reject){stream._reader._readRequests.push({_resolve:resolve,_reject:reject})})}function ReadableStreamFulfillReadRequest(stream,chunk,done){stream=stream._reader;stream._readRequests.shift()._resolve(ReadableStreamCreateReadResult(chunk,done,stream._forAuthorCode))}function ReadableStreamHasDefaultReader(stream){stream=stream._reader;return void 0!==stream&&IsReadableStreamDefaultReader(stream)?!0:!1}function IsReadableStreamDefaultReader(x){return typeIsObject(x)&&Object.prototype.hasOwnProperty.call(x,
"_readRequests")?!0:!1}function ReadableStreamDefaultReaderRead(reader){var stream=reader._ownerReadableStream;stream._disturbed=!0;return"closed"===stream._state?originalPromiseResolve(ReadableStreamCreateReadResult(void 0,!0,reader._forAuthorCode)):"errored"===stream._state?originalPromiseReject(stream._storedError):stream._readableStreamController[PullSteps]()}function defaultReaderBrandCheckException(name){return new TypeError("ReadableStreamDefaultReader.prototype."+name+" can only be used on a ReadableStreamDefaultReader")}
function IsReadableStreamAsyncIterator(x){return typeIsObject(x)&&Object.prototype.hasOwnProperty.call(x,"_asyncIteratorReader")?!0:!1}function streamAsyncIteratorBrandCheckException(name){return new TypeError("ReadableStreamAsyncIterator."+name+" can only be used on a ReadableSteamAsyncIterator")}function DequeueValue(container){var pair=container._queue.shift();container._queueTotalSize-=pair.size;0>container._queueTotalSize&&(container._queueTotalSize=0);return pair.value}function EnqueueValueWithSize(container,
value,size){size=Number(size);if(!IsFiniteNonNegativeNumber(size))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");container._queue.push({value:value,size:size});container._queueTotalSize+=size}function ResetQueue(container){container._queue=new SimpleQueue;container._queueTotalSize=0}function CreateWritableStream(startAlgorithm,writeAlgorithm,closeAlgorithm,abortAlgorithm,highWaterMark,sizeAlgorithm){void 0===highWaterMark&&(highWaterMark=1);void 0===sizeAlgorithm&&(sizeAlgorithm=
function(){return 1});var stream=Object.create(WritableStream$jscomp$0.prototype);InitializeWritableStream(stream);var controller=Object.create(WritableStreamDefaultController$jscomp$0.prototype);SetUpWritableStreamDefaultController(stream,controller,startAlgorithm,writeAlgorithm,closeAlgorithm,abortAlgorithm,highWaterMark,sizeAlgorithm);return stream}function InitializeWritableStream(stream){stream._state="writable";stream._storedError=void 0;stream._writer=void 0;stream._writableStreamController=
void 0;stream._writeRequests=new SimpleQueue;stream._inFlightWriteRequest=void 0;stream._closeRequest=void 0;stream._inFlightCloseRequest=void 0;stream._pendingAbortRequest=void 0;stream._backpressure=!1}function IsWritableStream(x){return typeIsObject(x)&&Object.prototype.hasOwnProperty.call(x,"_writableStreamController")?!0:!1}function IsWritableStreamLocked(stream){return void 0===stream._writer?!1:!0}function WritableStreamAbort(stream,reason){var state=stream._state;if("closed"===state||"errored"===
state)return originalPromiseResolve(void 0);if(void 0!==stream._pendingAbortRequest)return stream._pendingAbortRequest._promise;var wasAlreadyErroring=!1;"erroring"===state&&(wasAlreadyErroring=!0,reason=void 0);state=newPromise(function(resolve,reject){stream._pendingAbortRequest={_promise:void 0,_resolve:resolve,_reject:reject,_reason:reason,_wasAlreadyErroring:wasAlreadyErroring}});stream._pendingAbortRequest._promise=state;!1===wasAlreadyErroring&&WritableStreamStartErroring(stream,reason);return state}
function WritableStreamAddWriteRequest(stream){return newPromise(function(resolve,reject){stream._writeRequests.push({_resolve:resolve,_reject:reject})})}function WritableStreamDealWithRejection(stream,error){"writable"===stream._state?WritableStreamStartErroring(stream,error):WritableStreamFinishErroring(stream)}function WritableStreamStartErroring(stream,reason){var controller=stream._writableStreamController;stream._state="erroring";stream._storedError=reason;var writer=stream._writer;void 0!==
writer&&("pending"!==writer._readyPromiseState&&defaultWriterReadyPromiseInitialize(writer),defaultWriterReadyPromiseReject(writer,reason));reason=void 0===stream._inFlightWriteRequest&&void 0===stream._inFlightCloseRequest?!1:!0;!1===reason&&!0===controller._started&&WritableStreamFinishErroring(stream)}function WritableStreamFinishErroring(stream){stream._state="errored";stream._writableStreamController[ErrorSteps]();var storedError=stream._storedError;stream._writeRequests.forEach(function(writeRequest){writeRequest._reject(storedError)});
stream._writeRequests=new SimpleQueue;if(void 0===stream._pendingAbortRequest)WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);else{var abortRequest=stream._pendingAbortRequest;stream._pendingAbortRequest=void 0;if(!0===abortRequest._wasAlreadyErroring)abortRequest._reject(storedError),WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);else{var promise=stream._writableStreamController[AbortSteps](abortRequest._reason);uponPromise(promise,function(){abortRequest._resolve();WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream)},
function(reason){abortRequest._reject(reason);WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream)})}}}function WritableStreamCloseQueuedOrInFlight(stream){return void 0===stream._closeRequest&&void 0===stream._inFlightCloseRequest?!1:!0}function WritableStreamMarkCloseRequestInFlight(stream){stream._inFlightCloseRequest=stream._closeRequest;stream._closeRequest=void 0}function WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream){void 0!==stream._closeRequest&&(stream._closeRequest._reject(stream._storedError),
stream._closeRequest=void 0);var writer=stream._writer;void 0!==writer&&defaultWriterClosedPromiseReject(writer,stream._storedError)}function WritableStreamUpdateBackpressure(stream,backpressure){var writer=stream._writer;void 0!==writer&&backpressure!==stream._backpressure&&(!0===backpressure?defaultWriterReadyPromiseInitialize(writer):defaultWriterReadyPromiseResolve(writer));stream._backpressure=backpressure}function IsWritableStreamDefaultWriter(x){return typeIsObject(x)&&Object.prototype.hasOwnProperty.call(x,
"_ownerWritableStream")?!0:!1}function WritableStreamDefaultWriterClose(writer){var stream=writer._ownerWritableStream,state=stream._state;if("closed"===state||"errored"===state)return originalPromiseReject(new TypeError("The stream (in "+state+" state) is not in the writable state and cannot be closed"));var promise=newPromise(function(resolve,reject){stream._closeRequest={_resolve:resolve,_reject:reject}});!0===stream._backpressure&&"writable"===state&&defaultWriterReadyPromiseResolve(writer);WritableStreamDefaultControllerClose(stream._writableStreamController);
return promise}function WritableStreamDefaultWriterRelease(writer){var stream=writer._ownerWritableStream,releasedError=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");"pending"!==writer._readyPromiseState&&defaultWriterReadyPromiseInitialize(writer);defaultWriterReadyPromiseReject(writer,releasedError);"pending"!==writer._closedPromiseState&&defaultWriterClosedPromiseInitialize(writer);defaultWriterClosedPromiseReject(writer,releasedError);stream._writer=
void 0;writer._ownerWritableStream=void 0}function WritableStreamDefaultWriterWrite(writer,chunk){var stream=writer._ownerWritableStream,controller=stream._writableStreamController;try{var chunkSize=controller._strategySizeAlgorithm(chunk)}catch(chunkSizeE){WritableStreamDefaultControllerErrorIfNeeded(controller,chunkSizeE),chunkSize=1}if(stream!==writer._ownerWritableStream)return originalPromiseReject(defaultWriterLockException("write to"));writer=stream._state;if("errored"===writer)return originalPromiseReject(stream._storedError);
if(!0===WritableStreamCloseQueuedOrInFlight(stream)||"closed"===writer)return originalPromiseReject(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===writer)return originalPromiseReject(stream._storedError);stream=WritableStreamAddWriteRequest(stream);a:{chunk={chunk:chunk};try{EnqueueValueWithSize(controller,chunk,chunkSize)}catch(enqueueE){WritableStreamDefaultControllerErrorIfNeeded(controller,enqueueE);break a}chunkSize=controller._controlledWritableStream;
!1===WritableStreamCloseQueuedOrInFlight(chunkSize)&&"writable"===chunkSize._state&&WritableStreamUpdateBackpressure(chunkSize,0>=controller._strategyHWM-controller._queueTotalSize);WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller)}return stream}function SetUpWritableStreamDefaultController(stream,controller,startAlgorithm,writeAlgorithm,closeAlgorithm,abortAlgorithm,highWaterMark,sizeAlgorithm){controller._controlledWritableStream=stream;stream._writableStreamController=controller;
controller._queue=void 0;controller._queueTotalSize=void 0;ResetQueue(controller);controller._started=!1;controller._strategySizeAlgorithm=sizeAlgorithm;controller._strategyHWM=highWaterMark;controller._writeAlgorithm=writeAlgorithm;controller._closeAlgorithm=closeAlgorithm;controller._abortAlgorithm=abortAlgorithm;WritableStreamUpdateBackpressure(stream,0>=controller._strategyHWM-controller._queueTotalSize);startAlgorithm=startAlgorithm();startAlgorithm=originalPromiseResolve(startAlgorithm);uponPromise(startAlgorithm,
function(){controller._started=!0;WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller)},function(r){controller._started=!0;WritableStreamDealWithRejection(stream,r)})}function SetUpWritableStreamDefaultControllerFromUnderlyingSink(stream,underlyingSink,highWaterMark,sizeAlgorithm){var controller=Object.create(WritableStreamDefaultController$jscomp$0.prototype),writeAlgorithm=CreateAlgorithmFromUnderlyingMethod(underlyingSink,"write",1,[controller]),closeAlgorithm=CreateAlgorithmFromUnderlyingMethod(underlyingSink,
"close",0,[]),abortAlgorithm=CreateAlgorithmFromUnderlyingMethod(underlyingSink,"abort",1,[]);SetUpWritableStreamDefaultController(stream,controller,function(){return InvokeOrNoop(underlyingSink,"start",[controller])},writeAlgorithm,closeAlgorithm,abortAlgorithm,highWaterMark,sizeAlgorithm)}function WritableStreamDefaultControllerClearAlgorithms(controller){controller._writeAlgorithm=void 0;controller._closeAlgorithm=void 0;controller._abortAlgorithm=void 0;controller._strategySizeAlgorithm=void 0}
function WritableStreamDefaultControllerClose(controller){EnqueueValueWithSize(controller,"close",0);WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller)}function WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller){var stream=controller._controlledWritableStream;!1!==controller._started&&void 0===stream._inFlightWriteRequest&&("erroring"===stream._state?WritableStreamFinishErroring(stream):0!==controller._queue.length&&(stream=controller._queue.peek().value,"close"===stream?
WritableStreamDefaultControllerProcessClose(controller):WritableStreamDefaultControllerProcessWrite(controller,stream.chunk)))}function WritableStreamDefaultControllerErrorIfNeeded(controller,error){if("writable"===controller._controlledWritableStream._state){var stream=controller._controlledWritableStream;WritableStreamDefaultControllerClearAlgorithms(controller);WritableStreamStartErroring(stream,error)}}function WritableStreamDefaultControllerProcessClose(controller){var stream=controller._controlledWritableStream;
WritableStreamMarkCloseRequestInFlight(stream);DequeueValue(controller);var sinkClosePromise=controller._closeAlgorithm();WritableStreamDefaultControllerClearAlgorithms(controller);uponPromise(sinkClosePromise,function(){stream._inFlightCloseRequest._resolve(void 0);stream._inFlightCloseRequest=void 0;"erroring"===stream._state&&(stream._storedError=void 0,void 0!==stream._pendingAbortRequest&&(stream._pendingAbortRequest._resolve(),stream._pendingAbortRequest=void 0));stream._state="closed";var writer=
stream._writer;void 0!==writer&&defaultWriterClosedPromiseResolve(writer)},function(reason){stream._inFlightCloseRequest._reject(reason);stream._inFlightCloseRequest=void 0;void 0!==stream._pendingAbortRequest&&(stream._pendingAbortRequest._reject(reason),stream._pendingAbortRequest=void 0);WritableStreamDealWithRejection(stream,reason)})}function WritableStreamDefaultControllerProcessWrite(controller,chunk){var stream=controller._controlledWritableStream;stream._inFlightWriteRequest=stream._writeRequests.shift();
chunk=controller._writeAlgorithm(chunk);uponPromise(chunk,function(){stream._inFlightWriteRequest._resolve(void 0);stream._inFlightWriteRequest=void 0;var state=stream._state;DequeueValue(controller);!1===WritableStreamCloseQueuedOrInFlight(stream)&&"writable"===state&&WritableStreamUpdateBackpressure(stream,0>=controller._strategyHWM-controller._queueTotalSize);WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller)},function(reason){"writable"===stream._state&&WritableStreamDefaultControllerClearAlgorithms(controller);
stream._inFlightWriteRequest._reject(reason);stream._inFlightWriteRequest=void 0;WritableStreamDealWithRejection(stream,reason)})}function streamBrandCheckException(name){return new TypeError("WritableStream.prototype."+name+" can only be used on a WritableStream")}function defaultWriterBrandCheckException(name){return new TypeError("WritableStreamDefaultWriter.prototype."+name+" can only be used on a WritableStreamDefaultWriter")}function defaultWriterLockException(name){return new TypeError("Cannot "+
name+" a stream using a released writer")}function defaultWriterClosedPromiseInitialize(writer){writer._closedPromise=newPromise(function(resolve,reject){writer._closedPromise_resolve=resolve;writer._closedPromise_reject=reject;writer._closedPromiseState="pending"})}function defaultWriterClosedPromiseReject(writer,reason){setPromiseIsHandledToTrue(writer._closedPromise);writer._closedPromise_reject(reason);writer._closedPromise_resolve=void 0;writer._closedPromise_reject=void 0;writer._closedPromiseState=
"rejected"}function defaultWriterClosedPromiseResolve(writer){writer._closedPromise_resolve(void 0);writer._closedPromise_resolve=void 0;writer._closedPromise_reject=void 0;writer._closedPromiseState="resolved"}function defaultWriterReadyPromiseInitialize(writer){writer._readyPromise=newPromise(function(resolve,reject){writer._readyPromise_resolve=resolve;writer._readyPromise_reject=reject});writer._readyPromiseState="pending"}function defaultWriterReadyPromiseReject(writer,reason){setPromiseIsHandledToTrue(writer._readyPromise);
writer._readyPromise_reject(reason);writer._readyPromise_resolve=void 0;writer._readyPromise_reject=void 0;writer._readyPromiseState="rejected"}function defaultWriterReadyPromiseResolve(writer){writer._readyPromise_resolve(void 0);writer._readyPromise_resolve=void 0;writer._readyPromise_reject=void 0;writer._readyPromiseState="fulfilled"}function isAbortSignal(value){if("object"!==_typeof2(value)||null===value)return!1;try{return"boolean"===typeof value.aborted}catch(_a$4){return!1}}function createDOMExceptionPolyfill(){var ctor=
function(message,name){this.message=message||"";this.name=name||"Error";Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};ctor.prototype=Object.create(Error.prototype);Object.defineProperty(ctor.prototype,"constructor",{value:ctor,writable:!0,configurable:!0});return ctor}function ReadableStreamPipeTo(source,dest,preventClose,preventAbort,preventCancel,signal){var reader=AcquireReadableStreamDefaultReader(source),writer=new WritableStreamDefaultWriter$jscomp$0(dest),shuttingDown=
!1,currentWrite=originalPromiseResolve(void 0);return newPromise(function(resolve,reject){function pipeStep(){return!0===shuttingDown?originalPromiseResolve(!0):PerformPromiseThen(writer._readyPromise,function(){return PerformPromiseThen(ReadableStreamDefaultReaderRead(reader),function(_a){if(!0===_a.done)return!0;currentWrite=PerformPromiseThen(WritableStreamDefaultWriterWrite(writer,_a.value),void 0,noop);return!1})})}function waitForWritesToFinish(){var oldCurrentWrite=currentWrite;return PerformPromiseThen(currentWrite,
function(){return oldCurrentWrite!==currentWrite?waitForWritesToFinish():void 0})}function isOrBecomesErrored(stream,promise,action){"errored"===stream._state?action(stream._storedError):uponRejection(promise,action)}function shutdownWithAction(action,originalIsError,originalError){function doTheRest(){uponPromise(action(),function(){return finalize(originalIsError,originalError)},function(newError){return finalize(!0,newError)})}!0!==shuttingDown&&(shuttingDown=!0,"writable"===dest._state&&!1===
WritableStreamCloseQueuedOrInFlight(dest)?uponFulfillment(waitForWritesToFinish(),doTheRest):doTheRest())}function shutdown(isError,error){!0!==shuttingDown&&(shuttingDown=!0,"writable"===dest._state&&!1===WritableStreamCloseQueuedOrInFlight(dest)?uponFulfillment(waitForWritesToFinish(),function(){return finalize(isError,error)}):finalize(isError,error))}function finalize(isError,error){WritableStreamDefaultWriterRelease(writer);ReadableStreamReaderGenericRelease(reader);void 0!==signal&&signal.removeEventListener("abort",
abortAlgorithm);isError?reject(error):resolve(void 0)}if(void 0!==signal){var abortAlgorithm=function(){var error=new DOMException$1("Aborted","AbortError"),actions=[];!1===preventAbort&&actions.push(function(){return"writable"===dest._state?WritableStreamAbort(dest,error):originalPromiseResolve(void 0)});!1===preventCancel&&actions.push(function(){return"readable"===source._state?ReadableStreamCancel(source,error):originalPromiseResolve(void 0)});shutdownWithAction(function(){return Promise.all(actions.map(function(action){return action()}))},
!0,error)};if(!0===signal.aborted){abortAlgorithm();return}signal.addEventListener("abort",abortAlgorithm)}isOrBecomesErrored(source,reader._closedPromise,function(storedError){!1===preventAbort?shutdownWithAction(function(){return WritableStreamAbort(dest,storedError)},!0,storedError):shutdown(!0,storedError)});isOrBecomesErrored(dest,writer._closedPromise,function(storedError){!1===preventCancel?shutdownWithAction(function(){return ReadableStreamCancel(source,storedError)},!0,storedError):shutdown(!0,
storedError)});(function(stream,promise,action){"closed"===stream._state?action():uponPromise(promise,action)})(source,reader._closedPromise,function(){!1===preventClose?shutdownWithAction(function(){var JSCompiler_inline_result=writer._ownerWritableStream;var state=JSCompiler_inline_result._state;JSCompiler_inline_result=!0===WritableStreamCloseQueuedOrInFlight(JSCompiler_inline_result)||"closed"===state?originalPromiseResolve(void 0):"errored"===state?originalPromiseReject(JSCompiler_inline_result._storedError):
WritableStreamDefaultWriterClose(writer);return JSCompiler_inline_result}):shutdown()});if(!0===WritableStreamCloseQueuedOrInFlight(dest)||"closed"===dest._state){var destClosed_1=new TypeError("the destination writable stream closed before all data could be piped to it");!1===preventCancel?shutdownWithAction(function(){return ReadableStreamCancel(source,destClosed_1)},!0,destClosed_1):shutdown(!0,destClosed_1)}setPromiseIsHandledToTrue(function(){return newPromise(function(resolveLoop,rejectLoop){function next(done){done?
resolveLoop():PerformPromiseThen(pipeStep(),next,rejectLoop)}next(!1)})}())})}function IsReadableStreamDefaultController(x){return typeIsObject(x)&&Object.prototype.hasOwnProperty.call(x,"_controlledReadableStream")?!0:!1}function ReadableStreamDefaultControllerCallPullIfNeeded(controller){if(!1!==ReadableStreamDefaultControllerShouldCallPull(controller))if(!0===controller._pulling)controller._pullAgain=!0;else{controller._pulling=!0;var pullPromise=controller._pullAlgorithm();uponPromise(pullPromise,
function(){controller._pulling=!1;!0===controller._pullAgain&&(controller._pullAgain=!1,ReadableStreamDefaultControllerCallPullIfNeeded(controller))},function(e){ReadableStreamDefaultControllerError(controller,e)})}}function ReadableStreamDefaultControllerShouldCallPull(controller){var stream=controller._controlledReadableStream;return!1===ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)||!1===controller._started?!1:!0===IsReadableStreamLocked(stream)&&0<stream._reader._readRequests.length||
0<ReadableStreamDefaultControllerGetDesiredSize(controller)?!0:!1}function ReadableStreamDefaultControllerClearAlgorithms(controller){controller._pullAlgorithm=void 0;controller._cancelAlgorithm=void 0;controller._strategySizeAlgorithm=void 0}function ReadableStreamDefaultControllerClose(controller){var stream=controller._controlledReadableStream;controller._closeRequested=!0;0===controller._queue.length&&(ReadableStreamDefaultControllerClearAlgorithms(controller),ReadableStreamClose(stream))}function ReadableStreamDefaultControllerEnqueue(controller,
chunk){var stream=controller._controlledReadableStream;if(!0===IsReadableStreamLocked(stream)&&0<stream._reader._readRequests.length)ReadableStreamFulfillReadRequest(stream,chunk,!1);else{stream=void 0;try{stream=controller._strategySizeAlgorithm(chunk)}catch(chunkSizeE){throw ReadableStreamDefaultControllerError(controller,chunkSizeE),chunkSizeE;}try{EnqueueValueWithSize(controller,chunk,stream)}catch(enqueueE){throw ReadableStreamDefaultControllerError(controller,enqueueE),enqueueE;}}ReadableStreamDefaultControllerCallPullIfNeeded(controller)}
function ReadableStreamDefaultControllerError(controller,e){var stream=controller._controlledReadableStream;"readable"===stream._state&&(ResetQueue(controller),ReadableStreamDefaultControllerClearAlgorithms(controller),ReadableStreamError(stream,e))}function ReadableStreamDefaultControllerGetDesiredSize(controller){var state=controller._controlledReadableStream._state;return"errored"===state?null:"closed"===state?0:controller._strategyHWM-controller._queueTotalSize}function ReadableStreamDefaultControllerCanCloseOrEnqueue(controller){var state=
controller._controlledReadableStream._state;return!1===controller._closeRequested&&"readable"===state?!0:!1}function SetUpReadableStreamDefaultController(stream,controller,startAlgorithm,pullAlgorithm,cancelAlgorithm,highWaterMark,sizeAlgorithm){controller._controlledReadableStream=stream;controller._queue=void 0;controller._queueTotalSize=void 0;ResetQueue(controller);controller._started=!1;controller._closeRequested=!1;controller._pullAgain=!1;controller._pulling=!1;controller._strategySizeAlgorithm=
sizeAlgorithm;controller._strategyHWM=highWaterMark;controller._pullAlgorithm=pullAlgorithm;controller._cancelAlgorithm=cancelAlgorithm;stream._readableStreamController=controller;stream=startAlgorithm();uponPromise(originalPromiseResolve(stream),function(){controller._started=!0;ReadableStreamDefaultControllerCallPullIfNeeded(controller)},function(r){ReadableStreamDefaultControllerError(controller,r)})}function SetUpReadableStreamDefaultControllerFromUnderlyingSource(stream,underlyingSource,highWaterMark,
sizeAlgorithm){var controller=Object.create(ReadableStreamDefaultController$jscomp$0.prototype),pullAlgorithm=CreateAlgorithmFromUnderlyingMethod(underlyingSource,"pull",0,[controller]),cancelAlgorithm=CreateAlgorithmFromUnderlyingMethod(underlyingSource,"cancel",1,[]);SetUpReadableStreamDefaultController(stream,controller,function(){return InvokeOrNoop(underlyingSource,"start",[controller])},pullAlgorithm,cancelAlgorithm,highWaterMark,sizeAlgorithm)}function defaultControllerBrandCheckException(name){return new TypeError("ReadableStreamDefaultController.prototype."+
name+" can only be used on a ReadableStreamDefaultController")}function ReadableStreamTee(stream,cloneForBranch2){function pullAlgorithm(){if(!0===reading)return originalPromiseResolve(void 0);reading=!0;var readPromise=transformPromiseWith(ReadableStreamDefaultReaderRead(reader),function(result){reading=!1;!0===result.done?(!1===canceled1&&ReadableStreamDefaultControllerClose(branch1._readableStreamController),!1===canceled2&&ReadableStreamDefaultControllerClose(branch2._readableStreamController)):
(result=result.value,!1===canceled1&&ReadableStreamDefaultControllerEnqueue(branch1._readableStreamController,result),!1===canceled2&&ReadableStreamDefaultControllerEnqueue(branch2._readableStreamController,result))});setPromiseIsHandledToTrue(readPromise);return originalPromiseResolve(void 0)}function startAlgorithm(){}var reader=AcquireReadableStreamDefaultReader(stream),reading=!1,canceled1=!1,canceled2=!1,reason1,reason2,resolveCancelPromise,cancelPromise=newPromise(function(resolve){resolveCancelPromise=
resolve});var branch1=CreateReadableStream(startAlgorithm,pullAlgorithm,function(reason){canceled1=!0;reason1=reason;!0===canceled2&&(reason=[reason1,reason2].slice(),reason=ReadableStreamCancel(stream,reason),resolveCancelPromise(reason));return cancelPromise});var branch2=CreateReadableStream(startAlgorithm,pullAlgorithm,function(reason){canceled2=!0;reason2=reason;!0===canceled1&&(reason=[reason1,reason2].slice(),reason=ReadableStreamCancel(stream,reason),resolveCancelPromise(reason));return cancelPromise});
uponRejection(reader._closedPromise,function(r){ReadableStreamDefaultControllerError(branch1._readableStreamController,r);ReadableStreamDefaultControllerError(branch2._readableStreamController,r)});return[branch1,branch2]}function IsReadableByteStreamController(x){return typeIsObject(x)&&Object.prototype.hasOwnProperty.call(x,"_controlledReadableByteStream")?!0:!1}function IsReadableStreamBYOBRequest(x){return typeIsObject(x)&&Object.prototype.hasOwnProperty.call(x,"_associatedReadableByteStreamController")?
!0:!1}function ReadableByteStreamControllerCallPullIfNeeded(controller){if(!1!==ReadableByteStreamControllerShouldCallPull(controller))if(!0===controller._pulling)controller._pullAgain=!0;else{controller._pulling=!0;var pullPromise=controller._pullAlgorithm();uponPromise(pullPromise,function(){controller._pulling=!1;!0===controller._pullAgain&&(controller._pullAgain=!1,ReadableByteStreamControllerCallPullIfNeeded(controller))},function(e){ReadableByteStreamControllerError(controller,e)})}}function ReadableByteStreamControllerCommitPullIntoDescriptor(stream,
pullIntoDescriptor){var done=!1;"closed"===stream._state&&(done=!0);var filledView=new pullIntoDescriptor.ctor(pullIntoDescriptor.buffer,pullIntoDescriptor.byteOffset,pullIntoDescriptor.bytesFilled/pullIntoDescriptor.elementSize);"default"===pullIntoDescriptor.readerType?ReadableStreamFulfillReadRequest(stream,filledView,done):(pullIntoDescriptor=done,stream=stream._reader,stream._readIntoRequests.shift()._resolve(ReadableStreamCreateReadResult(filledView,pullIntoDescriptor,stream._forAuthorCode)))}
function ReadableByteStreamControllerEnqueueChunkToQueue(controller,buffer,byteOffset,byteLength){controller._queue.push({buffer:buffer,byteOffset:byteOffset,byteLength:byteLength});controller._queueTotalSize+=byteLength}function ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller,pullIntoDescriptor){var elementSize=pullIntoDescriptor.elementSize,maxBytesToCopy=Math.min(controller._queueTotalSize,pullIntoDescriptor.byteLength-pullIntoDescriptor.bytesFilled),maxBytesFilled=pullIntoDescriptor.bytesFilled+
maxBytesToCopy,maxAlignedBytes=maxBytesFilled-maxBytesFilled%elementSize;maxBytesFilled=!1;maxAlignedBytes>pullIntoDescriptor.bytesFilled-pullIntoDescriptor.bytesFilled%elementSize&&(maxBytesToCopy=maxAlignedBytes-pullIntoDescriptor.bytesFilled,maxBytesFilled=!0);for(elementSize=controller._queue;0<maxBytesToCopy;){var headOfQueue=elementSize.peek();maxAlignedBytes=Math.min(maxBytesToCopy,headOfQueue.byteLength);var destOffset=pullIntoDescriptor.byteOffset+pullIntoDescriptor.bytesFilled,src=headOfQueue.buffer,
srcOffset=headOfQueue.byteOffset,n=maxAlignedBytes;(new Uint8Array(pullIntoDescriptor.buffer)).set(new Uint8Array(src,srcOffset,n),destOffset);headOfQueue.byteLength===maxAlignedBytes?elementSize.shift():(headOfQueue.byteOffset+=maxAlignedBytes,headOfQueue.byteLength-=maxAlignedBytes);controller._queueTotalSize-=maxAlignedBytes;headOfQueue=maxAlignedBytes;destOffset=pullIntoDescriptor;ReadableByteStreamControllerInvalidateBYOBRequest(controller);destOffset.bytesFilled+=headOfQueue;maxBytesToCopy-=
maxAlignedBytes}return maxBytesFilled}function ReadableByteStreamControllerHandleQueueDrain(controller){0===controller._queueTotalSize&&!0===controller._closeRequested?(ReadableByteStreamControllerClearAlgorithms(controller),ReadableStreamClose(controller._controlledReadableByteStream)):ReadableByteStreamControllerCallPullIfNeeded(controller)}function ReadableByteStreamControllerInvalidateBYOBRequest(controller){void 0!==controller._byobRequest&&(controller._byobRequest._associatedReadableByteStreamController=
void 0,controller._byobRequest._view=void 0,controller._byobRequest=void 0)}function ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller){for(;0<controller._pendingPullIntos.length&&0!==controller._queueTotalSize;){var pullIntoDescriptor=controller._pendingPullIntos.peek();!0===ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller,pullIntoDescriptor)&&(ReadableByteStreamControllerShiftPendingPullInto(controller),ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream,
pullIntoDescriptor))}}function ReadableByteStreamControllerPullInto(controller,view){var stream=controller._controlledReadableByteStream,elementSize=1;view.constructor!==DataView&&(elementSize=view.constructor.BYTES_PER_ELEMENT);var ctor=view.constructor;view={buffer:view.buffer,byteOffset:view.byteOffset,byteLength:view.byteLength,bytesFilled:0,elementSize:elementSize,ctor:ctor,readerType:"byob"};if(0<controller._pendingPullIntos.length)return controller._pendingPullIntos.push(view),ReadableStreamAddReadIntoRequest(stream);
if("closed"===stream._state)return controller=new ctor(view.buffer,view.byteOffset,0),originalPromiseResolve(ReadableStreamCreateReadResult(controller,!0,stream._reader._forAuthorCode));if(0<controller._queueTotalSize){if(!0===ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller,view))return ctor=new view.ctor(view.buffer,view.byteOffset,view.bytesFilled/view.elementSize),ReadableByteStreamControllerHandleQueueDrain(controller),originalPromiseResolve(ReadableStreamCreateReadResult(ctor,
!1,stream._reader._forAuthorCode));if(!0===controller._closeRequested)return stream=new TypeError("Insufficient bytes to fill elements in the given buffer"),ReadableByteStreamControllerError(controller,stream),originalPromiseReject(stream)}controller._pendingPullIntos.push(view);stream=ReadableStreamAddReadIntoRequest(stream);ReadableByteStreamControllerCallPullIfNeeded(controller);return stream}function ReadableByteStreamControllerRespondInternal(controller,bytesWritten){var firstDescriptor=controller._pendingPullIntos.peek();
if("closed"===controller._controlledReadableByteStream._state){if(0!==bytesWritten)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");firstDescriptor.buffer=firstDescriptor.buffer;firstDescriptor=controller._controlledReadableByteStream;if(!0===ReadableStreamHasBYOBReader(firstDescriptor))for(;0<firstDescriptor._reader._readIntoRequests.length;)bytesWritten=ReadableByteStreamControllerShiftPendingPullInto(controller),ReadableByteStreamControllerCommitPullIntoDescriptor(firstDescriptor,
bytesWritten)}else{if(firstDescriptor.bytesFilled+bytesWritten>firstDescriptor.byteLength)throw new RangeError("bytesWritten out of range");ReadableByteStreamControllerInvalidateBYOBRequest(controller);firstDescriptor.bytesFilled+=bytesWritten;if(!(firstDescriptor.bytesFilled<firstDescriptor.elementSize)){ReadableByteStreamControllerShiftPendingPullInto(controller);bytesWritten=firstDescriptor.bytesFilled%firstDescriptor.elementSize;if(0<bytesWritten){var end=firstDescriptor.byteOffset+firstDescriptor.bytesFilled;
end=firstDescriptor.buffer.slice(end-bytesWritten,end);ReadableByteStreamControllerEnqueueChunkToQueue(controller,end,0,end.byteLength)}firstDescriptor.buffer=firstDescriptor.buffer;firstDescriptor.bytesFilled-=bytesWritten;ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream,firstDescriptor);ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller)}}ReadableByteStreamControllerCallPullIfNeeded(controller)}function ReadableByteStreamControllerShiftPendingPullInto(controller){var descriptor=
controller._pendingPullIntos.shift();ReadableByteStreamControllerInvalidateBYOBRequest(controller);return descriptor}function ReadableByteStreamControllerShouldCallPull(controller){var stream=controller._controlledReadableByteStream;return"readable"!==stream._state||!0===controller._closeRequested||!1===controller._started?!1:!0===ReadableStreamHasDefaultReader(stream)&&0<stream._reader._readRequests.length||!0===ReadableStreamHasBYOBReader(stream)&&0<stream._reader._readIntoRequests.length||0<ReadableByteStreamControllerGetDesiredSize(controller)?
!0:!1}function ReadableByteStreamControllerClearAlgorithms(controller){controller._pullAlgorithm=void 0;controller._cancelAlgorithm=void 0}function ReadableByteStreamControllerError(controller,e){var stream=controller._controlledReadableByteStream;"readable"===stream._state&&(ReadableByteStreamControllerInvalidateBYOBRequest(controller),controller._pendingPullIntos=new SimpleQueue,ResetQueue(controller),ReadableByteStreamControllerClearAlgorithms(controller),ReadableStreamError(stream,e))}function ReadableByteStreamControllerGetDesiredSize(controller){var state=
controller._controlledReadableByteStream._state;return"errored"===state?null:"closed"===state?0:controller._strategyHWM-controller._queueTotalSize}function SetUpReadableByteStreamController(stream,controller,startAlgorithm,pullAlgorithm,cancelAlgorithm,highWaterMark,autoAllocateChunkSize){controller._controlledReadableByteStream=stream;controller._pullAgain=!1;controller._pulling=!1;controller._byobRequest=void 0;controller._queue=controller._queueTotalSize=void 0;ResetQueue(controller);controller._closeRequested=
!1;controller._started=!1;controller._strategyHWM=ValidateAndNormalizeHighWaterMark(highWaterMark);controller._pullAlgorithm=pullAlgorithm;controller._cancelAlgorithm=cancelAlgorithm;controller._autoAllocateChunkSize=autoAllocateChunkSize;controller._pendingPullIntos=new SimpleQueue;stream._readableStreamController=controller;stream=startAlgorithm();uponPromise(originalPromiseResolve(stream),function(){controller._started=!0;ReadableByteStreamControllerCallPullIfNeeded(controller)},function(r){ReadableByteStreamControllerError(controller,
r)})}function SetUpReadableByteStreamControllerFromUnderlyingSource(stream,underlyingByteSource,highWaterMark){var controller=Object.create(ReadableByteStreamController$jscomp$0.prototype),pullAlgorithm=CreateAlgorithmFromUnderlyingMethod(underlyingByteSource,"pull",0,[controller]),cancelAlgorithm=CreateAlgorithmFromUnderlyingMethod(underlyingByteSource,"cancel",1,[]),autoAllocateChunkSize=underlyingByteSource.autoAllocateChunkSize;if(void 0!==autoAllocateChunkSize&&(autoAllocateChunkSize=Number(autoAllocateChunkSize),
!1===NumberIsInteger(autoAllocateChunkSize)||0>=autoAllocateChunkSize))throw new RangeError("autoAllocateChunkSize must be a positive integer");SetUpReadableByteStreamController(stream,controller,function(){return InvokeOrNoop(underlyingByteSource,"start",[controller])},pullAlgorithm,cancelAlgorithm,highWaterMark,autoAllocateChunkSize)}function byobRequestBrandCheckException(name){return new TypeError("ReadableStreamBYOBRequest.prototype."+name+" can only be used on a ReadableStreamBYOBRequest")}
function byteStreamControllerBrandCheckException(name){return new TypeError("ReadableByteStreamController.prototype."+name+" can only be used on a ReadableByteStreamController")}function ReadableStreamAddReadIntoRequest(stream){return newPromise(function(resolve,reject){stream._reader._readIntoRequests.push({_resolve:resolve,_reject:reject})})}function ReadableStreamHasBYOBReader(stream){stream=stream._reader;return void 0!==stream&&IsReadableStreamBYOBReader(stream)?!0:!1}function IsReadableStreamBYOBReader(x){return typeIsObject(x)&&
Object.prototype.hasOwnProperty.call(x,"_readIntoRequests")?!0:!1}function byobReaderBrandCheckException(name){return new TypeError("ReadableStreamBYOBReader.prototype."+name+" can only be used on a ReadableStreamBYOBReader")}function CreateReadableStream(startAlgorithm,pullAlgorithm,cancelAlgorithm,highWaterMark,sizeAlgorithm){void 0===highWaterMark&&(highWaterMark=1);void 0===sizeAlgorithm&&(sizeAlgorithm=function(){return 1});var stream=Object.create(ReadableStream$jscomp$0.prototype);InitializeReadableStream(stream);
var controller=Object.create(ReadableStreamDefaultController$jscomp$0.prototype);SetUpReadableStreamDefaultController(stream,controller,startAlgorithm,pullAlgorithm,cancelAlgorithm,highWaterMark,sizeAlgorithm);return stream}function InitializeReadableStream(stream){stream._state="readable";stream._reader=void 0;stream._storedError=void 0;stream._disturbed=!1}function IsReadableStream(x){return typeIsObject(x)&&Object.prototype.hasOwnProperty.call(x,"_readableStreamController")?!0:!1}function IsReadableStreamLocked(stream){return void 0===
stream._reader?!1:!0}function ReadableStreamCancel(stream,reason){stream._disturbed=!0;if("closed"===stream._state)return originalPromiseResolve(void 0);if("errored"===stream._state)return originalPromiseReject(stream._storedError);ReadableStreamClose(stream);stream=stream._readableStreamController[CancelSteps](reason);return PerformPromiseThen(stream,noop,void 0)}function ReadableStreamClose(stream){stream._state="closed";var reader=stream._reader;void 0!==reader&&(IsReadableStreamDefaultReader(reader)&&
(reader._readRequests.forEach(function(readRequest){readRequest._resolve(ReadableStreamCreateReadResult(void 0,!0,reader._forAuthorCode))}),reader._readRequests=new SimpleQueue),defaultReaderClosedPromiseResolve(reader))}function ReadableStreamError(stream,e){stream._state="errored";stream._storedError=e;stream=stream._reader;void 0!==stream&&(IsReadableStreamDefaultReader(stream)?(stream._readRequests.forEach(function(readRequest){readRequest._reject(e)}),stream._readRequests=new SimpleQueue):(stream._readIntoRequests.forEach(function(readIntoRequest){readIntoRequest._reject(e)}),
stream._readIntoRequests=new SimpleQueue),defaultReaderClosedPromiseReject(stream,e))}function streamBrandCheckException$1(name){return new TypeError("ReadableStream.prototype."+name+" can only be used on a ReadableStream")}function InitializeTransformStream(stream,startPromise,writableHighWaterMark,writableSizeAlgorithm,readableHighWaterMark,readableSizeAlgorithm){function startAlgorithm(){return startPromise}stream._writable=CreateWritableStream(startAlgorithm,function(chunk){return TransformStreamDefaultSinkWriteAlgorithm(stream,
chunk)},function(){return TransformStreamDefaultSinkCloseAlgorithm(stream)},function(reason){TransformStreamError(stream,reason);return originalPromiseResolve(void 0)},writableHighWaterMark,writableSizeAlgorithm);stream._readable=CreateReadableStream(startAlgorithm,function(){TransformStreamSetBackpressure(stream,!1);return stream._backpressureChangePromise},function(reason){TransformStreamErrorWritableAndUnblockWrite(stream,reason);return originalPromiseResolve(void 0)},readableHighWaterMark,readableSizeAlgorithm);
stream._backpressure=void 0;stream._backpressureChangePromise=void 0;stream._backpressureChangePromise_resolve=void 0;TransformStreamSetBackpressure(stream,!0);stream._transformStreamController=void 0}function IsTransformStream(x){return typeIsObject(x)&&Object.prototype.hasOwnProperty.call(x,"_transformStreamController")?!0:!1}function TransformStreamError(stream,e){ReadableStreamDefaultControllerError(stream._readable._readableStreamController,e);TransformStreamErrorWritableAndUnblockWrite(stream,
e)}function TransformStreamErrorWritableAndUnblockWrite(stream,e){TransformStreamDefaultControllerClearAlgorithms(stream._transformStreamController);WritableStreamDefaultControllerErrorIfNeeded(stream._writable._writableStreamController,e);!0===stream._backpressure&&TransformStreamSetBackpressure(stream,!1)}function TransformStreamSetBackpressure(stream,backpressure){void 0!==stream._backpressureChangePromise&&stream._backpressureChangePromise_resolve();stream._backpressureChangePromise=newPromise(function(resolve){stream._backpressureChangePromise_resolve=
resolve});stream._backpressure=backpressure}function IsTransformStreamDefaultController(x){return typeIsObject(x)&&Object.prototype.hasOwnProperty.call(x,"_controlledTransformStream")?!0:!1}function SetUpTransformStreamDefaultController(stream,controller,transformAlgorithm,flushAlgorithm){controller._controlledTransformStream=stream;stream._transformStreamController=controller;controller._transformAlgorithm=transformAlgorithm;controller._flushAlgorithm=flushAlgorithm}function SetUpTransformStreamDefaultControllerFromTransformer(stream,
transformer){var controller=Object.create(TransformStreamDefaultController$jscomp$0.prototype),transformAlgorithm=function(chunk){try{return TransformStreamDefaultControllerEnqueue(controller,chunk),originalPromiseResolve(void 0)}catch(transformResultE){return originalPromiseReject(transformResultE)}},transformMethod=transformer.transform;if(void 0!==transformMethod){if("function"!==typeof transformMethod)throw new TypeError("transform is not a method");transformAlgorithm=function(chunk){return PromiseCall(transformMethod,
transformer,[chunk,controller])}}var flushAlgorithm=CreateAlgorithmFromUnderlyingMethod(transformer,"flush",0,[controller]);SetUpTransformStreamDefaultController(stream,controller,transformAlgorithm,flushAlgorithm)}function TransformStreamDefaultControllerClearAlgorithms(controller){controller._transformAlgorithm=void 0;controller._flushAlgorithm=void 0}function TransformStreamDefaultControllerEnqueue(controller,chunk){controller=controller._controlledTransformStream;var readableController=controller._readable._readableStreamController;
if(!1===ReadableStreamDefaultControllerCanCloseOrEnqueue(readableController))throw new TypeError("Readable side is not in a state that permits enqueue");try{ReadableStreamDefaultControllerEnqueue(readableController,chunk)}catch(e){throw TransformStreamErrorWritableAndUnblockWrite(controller,e),controller._readable._storedError;}chunk=!0===ReadableStreamDefaultControllerShouldCallPull(readableController)?!1:!0;chunk!==controller._backpressure&&TransformStreamSetBackpressure(controller,!0)}function TransformStreamDefaultControllerPerformTransform(controller,
chunk){chunk=controller._transformAlgorithm(chunk);return transformPromiseWith(chunk,void 0,function(r){TransformStreamError(controller._controlledTransformStream,r);throw r;})}function TransformStreamDefaultSinkWriteAlgorithm(stream,chunk){var controller=stream._transformStreamController;return!0===stream._backpressure?transformPromiseWith(stream._backpressureChangePromise,function(){var writable=stream._writable;if("erroring"===writable._state)throw writable._storedError;return TransformStreamDefaultControllerPerformTransform(controller,
chunk)}):TransformStreamDefaultControllerPerformTransform(controller,chunk)}function TransformStreamDefaultSinkCloseAlgorithm(stream){var readable=stream._readable,controller=stream._transformStreamController,flushPromise=controller._flushAlgorithm();TransformStreamDefaultControllerClearAlgorithms(controller);return transformPromiseWith(flushPromise,function(){if("errored"===readable._state)throw readable._storedError;var readableController=readable._readableStreamController;!0===ReadableStreamDefaultControllerCanCloseOrEnqueue(readableController)&&
ReadableStreamDefaultControllerClose(readableController)},function(r){TransformStreamError(stream,r);throw readable._storedError;})}function defaultControllerBrandCheckException$1(name){return new TypeError("TransformStreamDefaultController.prototype."+name+" can only be used on a TransformStreamDefaultController")}function streamBrandCheckException$2(name){return new TypeError("TransformStream.prototype."+name+" can only be used on a TransformStream")}__w_pdfjs_require__.r(__webpack_exports__);__w_pdfjs_require__.d(__webpack_exports__,
"ByteLengthQueuingStrategy",function(){return ByteLengthQueuingStrategy$jscomp$0});__w_pdfjs_require__.d(__webpack_exports__,"CountQueuingStrategy",function(){return CountQueuingStrategy$jscomp$0});__w_pdfjs_require__.d(__webpack_exports__,"ReadableStream",function(){return ReadableStream$jscomp$0});__w_pdfjs_require__.d(__webpack_exports__,"TransformStream",function(){return TransformStream$jscomp$0});__w_pdfjs_require__.d(__webpack_exports__,"WritableStream",function(){return WritableStream$jscomp$0});
var SymbolPolyfill="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?Symbol:function(description){return"Symbol("+description+")"},NumberIsNaN=Number.isNaN||function(x){return x!==x},rethrowAssertionErrorRejection=noop,originalPromise=Promise,originalPromiseThen=Promise.prototype.then,originalPromiseResolve=Promise.resolve.bind(originalPromise),originalPromiseReject=Promise.reject.bind(originalPromise),SimpleQueue=function(){function SimpleQueue(){this._back=this._front={_elements:[],
_next:void 0};this._size=this._cursor=0}Object.defineProperty(SimpleQueue.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0});SimpleQueue.prototype.push=function(element){var oldBack=this._back,newBack=oldBack;16383===oldBack._elements.length&&(newBack={_elements:[],_next:void 0});oldBack._elements.push(element);newBack!==oldBack&&(this._back=newBack,oldBack._next=newBack);++this._size};SimpleQueue.prototype.shift=function(){var oldFront=this._front,newFront=oldFront,
oldCursor=this._cursor,newCursor=oldCursor+1,elements=oldFront._elements,element=elements[oldCursor];16384===newCursor&&(newFront=oldFront._next,newCursor=0);--this._size;this._cursor=newCursor;oldFront!==newFront&&(this._front=newFront);elements[oldCursor]=void 0;return element};SimpleQueue.prototype.forEach=function(callback){for(var i=this._cursor,node=this._front,elements=node._elements;!(i===elements.length&&void 0===node._next||i===elements.length&&(node=node._next,elements=node._elements,i=
0,0===elements.length));)callback(elements[i]),++i};SimpleQueue.prototype.peek=function(){return this._front._elements[this._cursor]};return SimpleQueue}(),CancelSteps=SymbolPolyfill("[[CancelSteps]]"),PullSteps=SymbolPolyfill("[[PullSteps]]"),ReadableStreamDefaultReader$jscomp$0=function(){function ReadableStreamDefaultReader(stream){if(!1===IsReadableStream(stream))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===IsReadableStreamLocked(stream))throw new TypeError("This stream has already been locked for exclusive reading by another reader");
ReadableStreamReaderGenericInitialize(this,stream);this._readRequests=new SimpleQueue}Object.defineProperty(ReadableStreamDefaultReader.prototype,"closed",{get:function(){return IsReadableStreamDefaultReader(this)?this._closedPromise:originalPromiseReject(defaultReaderBrandCheckException("closed"))},enumerable:!0,configurable:!0});ReadableStreamDefaultReader.prototype.cancel=function(reason){return IsReadableStreamDefaultReader(this)?void 0===this._ownerReadableStream?originalPromiseReject(readerLockException("cancel")):
ReadableStreamCancel(this._ownerReadableStream,reason):originalPromiseReject(defaultReaderBrandCheckException("cancel"))};ReadableStreamDefaultReader.prototype.read=function(){return IsReadableStreamDefaultReader(this)?void 0===this._ownerReadableStream?originalPromiseReject(readerLockException("read from")):ReadableStreamDefaultReaderRead(this):originalPromiseReject(defaultReaderBrandCheckException("read"))};ReadableStreamDefaultReader.prototype.releaseLock=function(){if(!IsReadableStreamDefaultReader(this))throw defaultReaderBrandCheckException("releaseLock");
if(void 0!==this._ownerReadableStream){if(0<this._readRequests.length)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");ReadableStreamReaderGenericRelease(this)}};return ReadableStreamDefaultReader}(),_a;if("symbol"===_typeof2(SymbolPolyfill.asyncIterator)){var AsyncIteratorPrototype=(_a={},_a[SymbolPolyfill.asyncIterator]=function(){return this},_a);Object.defineProperty(AsyncIteratorPrototype,SymbolPolyfill.asyncIterator,{enumerable:!1})}var ReadableStreamAsyncIteratorPrototype=
{next:function(){if(!1===IsReadableStreamAsyncIterator(this))return originalPromiseReject(streamAsyncIteratorBrandCheckException("next"));var reader=this._asyncIteratorReader;return void 0===reader._ownerReadableStream?originalPromiseReject(readerLockException("iterate")):transformPromiseWith(ReadableStreamDefaultReaderRead(reader),function(result){var done=result.done;done&&ReadableStreamReaderGenericRelease(reader);return ReadableStreamCreateReadResult(result.value,done,!0)})},"return":function(value){if(!1===
IsReadableStreamAsyncIterator(this))return originalPromiseReject(streamAsyncIteratorBrandCheckException("next"));var reader=this._asyncIteratorReader;if(void 0===reader._ownerReadableStream)return originalPromiseReject(readerLockException("finish iterating"));if(0<reader._readRequests.length)return originalPromiseReject(new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled"));if(!1===this._preventCancel){var result=ReadableStreamCancel(reader._ownerReadableStream,
value);ReadableStreamReaderGenericRelease(reader);return transformPromiseWith(result,function(){return ReadableStreamCreateReadResult(value,!0,!0)})}ReadableStreamReaderGenericRelease(reader);return originalPromiseResolve(ReadableStreamCreateReadResult(value,!0,!0))}};void 0!==AsyncIteratorPrototype&&Object.setPrototypeOf(ReadableStreamAsyncIteratorPrototype,AsyncIteratorPrototype);Object.defineProperty(ReadableStreamAsyncIteratorPrototype,"next",{enumerable:!1});Object.defineProperty(ReadableStreamAsyncIteratorPrototype,
"return",{enumerable:!1});var AbortSteps=SymbolPolyfill("[[AbortSteps]]"),ErrorSteps=SymbolPolyfill("[[ErrorSteps]]"),WritableStream$jscomp$0=function(){function WritableStream(underlyingSink,strategy){void 0===underlyingSink&&(underlyingSink={});void 0===strategy&&(strategy={});InitializeWritableStream(this);var size=strategy.size;strategy=strategy.highWaterMark;if(void 0!==underlyingSink.type)throw new RangeError("Invalid type is specified");size=MakeSizeAlgorithmFromSizeFunction(size);void 0===
strategy&&(strategy=1);strategy=ValidateAndNormalizeHighWaterMark(strategy);SetUpWritableStreamDefaultControllerFromUnderlyingSink(this,underlyingSink,strategy,size)}Object.defineProperty(WritableStream.prototype,"locked",{get:function(){if(!1===IsWritableStream(this))throw streamBrandCheckException("locked");return IsWritableStreamLocked(this)},enumerable:!0,configurable:!0});WritableStream.prototype.abort=function(reason){return!1===IsWritableStream(this)?originalPromiseReject(streamBrandCheckException("abort")):
!0===IsWritableStreamLocked(this)?originalPromiseReject(new TypeError("Cannot abort a stream that already has a writer")):WritableStreamAbort(this,reason)};WritableStream.prototype.getWriter=function(){if(!1===IsWritableStream(this))throw streamBrandCheckException("getWriter");return new WritableStreamDefaultWriter$jscomp$0(this)};return WritableStream}(),WritableStreamDefaultWriter$jscomp$0=function(){function WritableStreamDefaultWriter(stream){if(!1===IsWritableStream(stream))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");
if(!0===IsWritableStreamLocked(stream))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=stream;stream._writer=this;var state=stream._state;"writable"===state?(!1===WritableStreamCloseQueuedOrInFlight(stream)&&!0===stream._backpressure?defaultWriterReadyPromiseInitialize(this):(defaultWriterReadyPromiseInitialize(this),defaultWriterReadyPromiseResolve(this)),defaultWriterClosedPromiseInitialize(this)):"erroring"===state?(stream=
stream._storedError,defaultWriterReadyPromiseInitialize(this),defaultWriterReadyPromiseReject(this,stream),defaultWriterClosedPromiseInitialize(this)):"closed"===state?(defaultWriterReadyPromiseInitialize(this),defaultWriterReadyPromiseResolve(this),defaultWriterClosedPromiseInitialize(this),defaultWriterClosedPromiseResolve(this)):(stream=stream._storedError,defaultWriterReadyPromiseInitialize(this),defaultWriterReadyPromiseReject(this,stream),defaultWriterClosedPromiseInitialize(this),defaultWriterClosedPromiseReject(this,
stream))}Object.defineProperty(WritableStreamDefaultWriter.prototype,"closed",{get:function(){return!1===IsWritableStreamDefaultWriter(this)?originalPromiseReject(defaultWriterBrandCheckException("closed")):this._closedPromise},enumerable:!0,configurable:!0});Object.defineProperty(WritableStreamDefaultWriter.prototype,"desiredSize",{get:function(){if(!1===IsWritableStreamDefaultWriter(this))throw defaultWriterBrandCheckException("desiredSize");if(void 0===this._ownerWritableStream)throw defaultWriterLockException("desiredSize");
var stream=this._ownerWritableStream,state=stream._state;"errored"===state||"erroring"===state?stream=null:"closed"===state?stream=0:(stream=stream._writableStreamController,stream=stream._strategyHWM-stream._queueTotalSize);return stream},enumerable:!0,configurable:!0});Object.defineProperty(WritableStreamDefaultWriter.prototype,"ready",{get:function(){return!1===IsWritableStreamDefaultWriter(this)?originalPromiseReject(defaultWriterBrandCheckException("ready")):this._readyPromise},enumerable:!0,
configurable:!0});WritableStreamDefaultWriter.prototype.abort=function(reason){return!1===IsWritableStreamDefaultWriter(this)?originalPromiseReject(defaultWriterBrandCheckException("abort")):void 0===this._ownerWritableStream?originalPromiseReject(defaultWriterLockException("abort")):WritableStreamAbort(this._ownerWritableStream,reason)};WritableStreamDefaultWriter.prototype.close=function(){if(!1===IsWritableStreamDefaultWriter(this))return originalPromiseReject(defaultWriterBrandCheckException("close"));
var stream=this._ownerWritableStream;return void 0===stream?originalPromiseReject(defaultWriterLockException("close")):!0===WritableStreamCloseQueuedOrInFlight(stream)?originalPromiseReject(new TypeError("cannot close an already-closing stream")):WritableStreamDefaultWriterClose(this)};WritableStreamDefaultWriter.prototype.releaseLock=function(){if(!1===IsWritableStreamDefaultWriter(this))throw defaultWriterBrandCheckException("releaseLock");void 0!==this._ownerWritableStream&&WritableStreamDefaultWriterRelease(this)};
WritableStreamDefaultWriter.prototype.write=function(chunk){return!1===IsWritableStreamDefaultWriter(this)?originalPromiseReject(defaultWriterBrandCheckException("write")):void 0===this._ownerWritableStream?originalPromiseReject(defaultWriterLockException("write to")):WritableStreamDefaultWriterWrite(this,chunk)};return WritableStreamDefaultWriter}(),WritableStreamDefaultController$jscomp$0=function(){function WritableStreamDefaultController(){throw new TypeError("WritableStreamDefaultController cannot be constructed explicitly");
}WritableStreamDefaultController.prototype.error=function(e){var JSCompiler_inline_result=typeIsObject(this)?Object.prototype.hasOwnProperty.call(this,"_controlledWritableStream")?!0:!1:!1;if(!1===JSCompiler_inline_result)throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&(JSCompiler_inline_result=this._controlledWritableStream,WritableStreamDefaultControllerClearAlgorithms(this),
WritableStreamStartErroring(JSCompiler_inline_result,e))};WritableStreamDefaultController.prototype[AbortSteps]=function(reason){reason=this._abortAlgorithm(reason);WritableStreamDefaultControllerClearAlgorithms(this);return reason};WritableStreamDefaultController.prototype[ErrorSteps]=function(){ResetQueue(this)};return WritableStreamDefaultController}(),NativeDOMException="undefined"!==typeof DOMException?DOMException:void 0,DOMException$1=function(ctor){if("function"!==typeof ctor&&"object"!==
_typeof2(ctor))return!1;try{return new ctor,!0}catch(_a$5){return!1}}(NativeDOMException)?NativeDOMException:createDOMExceptionPolyfill(),ReadableStreamDefaultController$jscomp$0=function(){function ReadableStreamDefaultController(){throw new TypeError;}Object.defineProperty(ReadableStreamDefaultController.prototype,"desiredSize",{get:function(){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("desiredSize");return ReadableStreamDefaultControllerGetDesiredSize(this)},
enumerable:!0,configurable:!0});ReadableStreamDefaultController.prototype.close=function(){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("close");if(!1===ReadableStreamDefaultControllerCanCloseOrEnqueue(this))throw new TypeError("The stream is not in a state that permits close");ReadableStreamDefaultControllerClose(this)};ReadableStreamDefaultController.prototype.enqueue=function(chunk){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("enqueue");
if(!1===ReadableStreamDefaultControllerCanCloseOrEnqueue(this))throw new TypeError("The stream is not in a state that permits enqueue");return ReadableStreamDefaultControllerEnqueue(this,chunk)};ReadableStreamDefaultController.prototype.error=function(e){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("error");ReadableStreamDefaultControllerError(this,e)};ReadableStreamDefaultController.prototype[CancelSteps]=function(reason){ResetQueue(this);reason=this._cancelAlgorithm(reason);
ReadableStreamDefaultControllerClearAlgorithms(this);return reason};ReadableStreamDefaultController.prototype[PullSteps]=function(){var stream=this._controlledReadableStream;if(0<this._queue.length){var chunk=DequeueValue(this);!0===this._closeRequested&&0===this._queue.length?(ReadableStreamDefaultControllerClearAlgorithms(this),ReadableStreamClose(stream)):ReadableStreamDefaultControllerCallPullIfNeeded(this);return originalPromiseResolve(ReadableStreamCreateReadResult(chunk,!1,stream._reader._forAuthorCode))}stream=
ReadableStreamAddReadRequest(stream);ReadableStreamDefaultControllerCallPullIfNeeded(this);return stream};return ReadableStreamDefaultController}(),NumberIsInteger=Number.isInteger||function(value){return"number"===typeof value&&isFinite(value)&&Math.floor(value)===value},ReadableStreamBYOBRequest$jscomp$0=function(){function ReadableStreamBYOBRequest(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly");}Object.defineProperty(ReadableStreamBYOBRequest.prototype,"view",{get:function(){if(!1===
IsReadableStreamBYOBRequest(this))throw byobRequestBrandCheckException("view");return this._view},enumerable:!0,configurable:!0});ReadableStreamBYOBRequest.prototype.respond=function(bytesWritten){if(!1===IsReadableStreamBYOBRequest(this))throw byobRequestBrandCheckException("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");var controller=this._associatedReadableByteStreamController;bytesWritten=Number(bytesWritten);if(!1===
IsFiniteNonNegativeNumber(bytesWritten))throw new RangeError("bytesWritten must be a finite");ReadableByteStreamControllerRespondInternal(controller,bytesWritten)};ReadableStreamBYOBRequest.prototype.respondWithNewView=function(view){if(!1===IsReadableStreamBYOBRequest(this))throw byobRequestBrandCheckException("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(view))throw new TypeError("You can only respond with array buffer views");
var controller=this._associatedReadableByteStreamController,firstDescriptor=controller._pendingPullIntos.peek();if(firstDescriptor.byteOffset+firstDescriptor.bytesFilled!==view.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(firstDescriptor.byteLength!==view.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");firstDescriptor.buffer=view.buffer;ReadableByteStreamControllerRespondInternal(controller,view.byteLength)};
return ReadableStreamBYOBRequest}(),ReadableByteStreamController$jscomp$0=function(){function ReadableByteStreamController(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly");}Object.defineProperty(ReadableByteStreamController.prototype,"byobRequest",{get:function(){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("byobRequest");if(void 0===this._byobRequest&&0<this._pendingPullIntos.length){var firstDescriptor=this._pendingPullIntos.peek();
firstDescriptor=new Uint8Array(firstDescriptor.buffer,firstDescriptor.byteOffset+firstDescriptor.bytesFilled,firstDescriptor.byteLength-firstDescriptor.bytesFilled);var byobRequest=Object.create(ReadableStreamBYOBRequest$jscomp$0.prototype);byobRequest._associatedReadableByteStreamController=this;byobRequest._view=firstDescriptor;this._byobRequest=byobRequest}return this._byobRequest},enumerable:!0,configurable:!0});Object.defineProperty(ReadableByteStreamController.prototype,"desiredSize",{get:function(){if(!1===
IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("desiredSize");return ReadableByteStreamControllerGetDesiredSize(this)},enumerable:!0,configurable:!0});ReadableByteStreamController.prototype.close=function(){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var state=this._controlledReadableByteStream._state;
if("readable"!==state)throw new TypeError("The stream (in "+state+" state) is not in the readable state and cannot be closed");state=this._controlledReadableByteStream;if(0<this._queueTotalSize)this._closeRequested=!0;else{if(0<this._pendingPullIntos.length&&0<this._pendingPullIntos.peek().bytesFilled)throw state=new TypeError("Insufficient bytes to fill elements in the given buffer"),ReadableByteStreamControllerError(this,state),state;ReadableByteStreamControllerClearAlgorithms(this);ReadableStreamClose(state)}};
ReadableByteStreamController.prototype.enqueue=function(chunk){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var state=this._controlledReadableByteStream._state;if("readable"!==state)throw new TypeError("The stream (in "+state+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(chunk))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");
state=this._controlledReadableByteStream;var byteOffset=chunk.byteOffset,byteLength=chunk.byteLength;chunk=chunk.buffer;!0===ReadableStreamHasDefaultReader(state)?0===state._reader._readRequests.length?ReadableByteStreamControllerEnqueueChunkToQueue(this,chunk,byteOffset,byteLength):(chunk=new Uint8Array(chunk,byteOffset,byteLength),ReadableStreamFulfillReadRequest(state,chunk,!1)):!0===ReadableStreamHasBYOBReader(state)?(ReadableByteStreamControllerEnqueueChunkToQueue(this,chunk,byteOffset,byteLength),
ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(this)):ReadableByteStreamControllerEnqueueChunkToQueue(this,chunk,byteOffset,byteLength);ReadableByteStreamControllerCallPullIfNeeded(this)};ReadableByteStreamController.prototype.error=function(e){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("error");ReadableByteStreamControllerError(this,e)};ReadableByteStreamController.prototype[CancelSteps]=function(reason){0<this._pendingPullIntos.length&&
(this._pendingPullIntos.peek().bytesFilled=0);ResetQueue(this);reason=this._cancelAlgorithm(reason);ReadableByteStreamControllerClearAlgorithms(this);return reason};ReadableByteStreamController.prototype[PullSteps]=function(){var stream=this._controlledReadableByteStream;if(0<this._queueTotalSize){var entry=this._queue.shift();this._queueTotalSize-=entry.byteLength;ReadableByteStreamControllerHandleQueueDrain(this);var view=void 0;try{view=new Uint8Array(entry.buffer,entry.byteOffset,entry.byteLength)}catch(viewE){return originalPromiseReject(viewE)}return originalPromiseResolve(ReadableStreamCreateReadResult(view,
!1,stream._reader._forAuthorCode))}entry=this._autoAllocateChunkSize;if(void 0!==entry){view=void 0;try{view=new ArrayBuffer(entry)}catch(bufferE){return originalPromiseReject(bufferE)}this._pendingPullIntos.push({buffer:view,byteOffset:0,byteLength:entry,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"})}stream=ReadableStreamAddReadRequest(stream);ReadableByteStreamControllerCallPullIfNeeded(this);return stream};return ReadableByteStreamController}(),ReadableStreamBYOBReader$jscomp$0=
function(){function ReadableStreamBYOBReader(stream){if(!IsReadableStream(stream))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===IsReadableByteStreamController(stream._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(IsReadableStreamLocked(stream))throw new TypeError("This stream has already been locked for exclusive reading by another reader");
ReadableStreamReaderGenericInitialize(this,stream);this._readIntoRequests=new SimpleQueue}Object.defineProperty(ReadableStreamBYOBReader.prototype,"closed",{get:function(){return IsReadableStreamBYOBReader(this)?this._closedPromise:originalPromiseReject(byobReaderBrandCheckException("closed"))},enumerable:!0,configurable:!0});ReadableStreamBYOBReader.prototype.cancel=function(reason){return IsReadableStreamBYOBReader(this)?void 0===this._ownerReadableStream?originalPromiseReject(readerLockException("cancel")):
ReadableStreamCancel(this._ownerReadableStream,reason):originalPromiseReject(byobReaderBrandCheckException("cancel"))};ReadableStreamBYOBReader.prototype.read=function(view){if(!IsReadableStreamBYOBReader(this))return originalPromiseReject(byobReaderBrandCheckException("read"));if(void 0===this._ownerReadableStream)return originalPromiseReject(readerLockException("read from"));if(!ArrayBuffer.isView(view))return originalPromiseReject(new TypeError("view must be an array buffer view"));if(0===view.byteLength)return originalPromiseReject(new TypeError("view must have non-zero byteLength"));
var stream=this._ownerReadableStream;stream._disturbed=!0;view="errored"===stream._state?originalPromiseReject(stream._storedError):ReadableByteStreamControllerPullInto(stream._readableStreamController,view);return view};ReadableStreamBYOBReader.prototype.releaseLock=function(){if(!IsReadableStreamBYOBReader(this))throw byobReaderBrandCheckException("releaseLock");if(void 0!==this._ownerReadableStream){if(0<this._readIntoRequests.length)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");
ReadableStreamReaderGenericRelease(this)}};return ReadableStreamBYOBReader}(),ReadableStream$jscomp$0=function(){function ReadableStream(underlyingSource,strategy){void 0===underlyingSource&&(underlyingSource={});void 0===strategy&&(strategy={});InitializeReadableStream(this);var size=strategy.size;strategy=strategy.highWaterMark;var type=underlyingSource.type;if("bytes"===String(type)){if(void 0!==size)throw new RangeError("The strategy for a byte stream cannot have a size function");void 0===strategy&&
(strategy=0);strategy=ValidateAndNormalizeHighWaterMark(strategy);SetUpReadableByteStreamControllerFromUnderlyingSource(this,underlyingSource,strategy)}else if(void 0===type)size=MakeSizeAlgorithmFromSizeFunction(size),void 0===strategy&&(strategy=1),strategy=ValidateAndNormalizeHighWaterMark(strategy),SetUpReadableStreamDefaultControllerFromUnderlyingSource(this,underlyingSource,strategy,size);else throw new RangeError("Invalid type is specified");}Object.defineProperty(ReadableStream.prototype,
"locked",{get:function(){if(!1===IsReadableStream(this))throw streamBrandCheckException$1("locked");return IsReadableStreamLocked(this)},enumerable:!0,configurable:!0});ReadableStream.prototype.cancel=function(reason){return!1===IsReadableStream(this)?originalPromiseReject(streamBrandCheckException$1("cancel")):!0===IsReadableStreamLocked(this)?originalPromiseReject(new TypeError("Cannot cancel a stream that already has a reader")):ReadableStreamCancel(this,reason)};ReadableStream.prototype.getReader=
function(_a){_a=(void 0===_a?{}:_a).mode;if(!1===IsReadableStream(this))throw streamBrandCheckException$1("getReader");if(void 0===_a)return AcquireReadableStreamDefaultReader(this,!0);_a=String(_a);if("byob"===_a){_a=!0;void 0===_a&&(_a=!1);var reader=new ReadableStreamBYOBReader$jscomp$0(this);reader._forAuthorCode=_a;return reader}throw new RangeError("Invalid mode is specified");};ReadableStream.prototype.pipeThrough=function(_a,_b){var writable=_a.writable;_a=_a.readable;var _c=void 0===_b?{}:
_b;_b=_c.preventClose;var preventAbort=_c.preventAbort,preventCancel=_c.preventCancel;_c=_c.signal;if(!1===IsReadableStream(this))throw streamBrandCheckException$1("pipeThrough");if(!1===IsWritableStream(writable))throw new TypeError("writable argument to pipeThrough must be a WritableStream");if(!1===IsReadableStream(_a))throw new TypeError("readable argument to pipeThrough must be a ReadableStream");_b=!!_b;preventAbort=!!preventAbort;preventCancel=!!preventCancel;if(void 0!==_c&&!isAbortSignal(_c))throw new TypeError("ReadableStream.prototype.pipeThrough's signal option must be an AbortSignal");
if(!0===IsReadableStreamLocked(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(!0===IsWritableStreamLocked(writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");writable=ReadableStreamPipeTo(this,writable,_b,preventAbort,preventCancel,_c);setPromiseIsHandledToTrue(writable);return _a};ReadableStream.prototype.pipeTo=function(dest,_a){var _b=void 0===_a?{}:_a;_a=_b.preventClose;
var preventAbort=_b.preventAbort,preventCancel=_b.preventCancel;_b=_b.signal;if(!1===IsReadableStream(this))return originalPromiseReject(streamBrandCheckException$1("pipeTo"));if(!1===IsWritableStream(dest))return originalPromiseReject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));_a=!!_a;preventAbort=!!preventAbort;preventCancel=!!preventCancel;return void 0===_b||isAbortSignal(_b)?!0===IsReadableStreamLocked(this)?originalPromiseReject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):
!0===IsWritableStreamLocked(dest)?originalPromiseReject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):ReadableStreamPipeTo(this,dest,_a,preventAbort,preventCancel,_b):originalPromiseReject(new TypeError("ReadableStream.prototype.pipeTo's signal option must be an AbortSignal"))};ReadableStream.prototype.tee=function(){if(!1===IsReadableStream(this))throw streamBrandCheckException$1("tee");return ReadableStreamTee(this).slice()};ReadableStream.prototype.getIterator=
function(_a){_a=(void 0===_a?{}:_a).preventCancel;_a=void 0===_a?!1:_a;if(!1===IsReadableStream(this))throw streamBrandCheckException$1("getIterator");void 0===_a&&(_a=!1);var reader=AcquireReadableStreamDefaultReader(this),iterator=Object.create(ReadableStreamAsyncIteratorPrototype);iterator._asyncIteratorReader=reader;iterator._preventCancel=!!_a;return iterator};return ReadableStream}();"symbol"===_typeof2(SymbolPolyfill.asyncIterator)&&Object.defineProperty(ReadableStream$jscomp$0.prototype,SymbolPolyfill.asyncIterator,
{value:ReadableStream$jscomp$0.prototype.getIterator,enumerable:!1,writable:!0,configurable:!0});var ByteLengthQueuingStrategy$jscomp$0=function(){function ByteLengthQueuingStrategy(_a){this.highWaterMark=_a.highWaterMark}ByteLengthQueuingStrategy.prototype.size=function(chunk){return chunk.byteLength};return ByteLengthQueuingStrategy}(),CountQueuingStrategy$jscomp$0=function(){function CountQueuingStrategy(_a){this.highWaterMark=_a.highWaterMark}CountQueuingStrategy.prototype.size=function(){return 1};
return CountQueuingStrategy}(),TransformStream$jscomp$0=function(){function TransformStream(transformer,writableStrategy,readableStrategy){void 0===transformer&&(transformer={});void 0===writableStrategy&&(writableStrategy={});void 0===readableStrategy&&(readableStrategy={});var writableSizeFunction=writableStrategy.size;writableStrategy=writableStrategy.highWaterMark;var readableSizeFunction=readableStrategy.size;readableStrategy=readableStrategy.highWaterMark;if(void 0!==transformer.writableType)throw new RangeError("Invalid writable type specified");
writableSizeFunction=MakeSizeAlgorithmFromSizeFunction(writableSizeFunction);void 0===writableStrategy&&(writableStrategy=1);writableStrategy=ValidateAndNormalizeHighWaterMark(writableStrategy);if(void 0!==transformer.readableType)throw new RangeError("Invalid readable type specified");readableSizeFunction=MakeSizeAlgorithmFromSizeFunction(readableSizeFunction);void 0===readableStrategy&&(readableStrategy=0);readableStrategy=ValidateAndNormalizeHighWaterMark(readableStrategy);var startPromise_resolve,
startPromise=newPromise(function(resolve){startPromise_resolve=resolve});InitializeTransformStream(this,startPromise,writableStrategy,writableSizeFunction,readableStrategy,readableSizeFunction);SetUpTransformStreamDefaultControllerFromTransformer(this,transformer);transformer=InvokeOrNoop(transformer,"start",[this._transformStreamController]);startPromise_resolve(transformer)}Object.defineProperty(TransformStream.prototype,"readable",{get:function(){if(!1===IsTransformStream(this))throw streamBrandCheckException$2("readable");
return this._readable},enumerable:!0,configurable:!0});Object.defineProperty(TransformStream.prototype,"writable",{get:function(){if(!1===IsTransformStream(this))throw streamBrandCheckException$2("writable");return this._writable},enumerable:!0,configurable:!0});return TransformStream}(),TransformStreamDefaultController$jscomp$0=function(){function TransformStreamDefaultController(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly");}Object.defineProperty(TransformStreamDefaultController.prototype,
"desiredSize",{get:function(){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException$1("desiredSize");return ReadableStreamDefaultControllerGetDesiredSize(this._controlledTransformStream._readable._readableStreamController)},enumerable:!0,configurable:!0});TransformStreamDefaultController.prototype.enqueue=function(chunk){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException$1("enqueue");TransformStreamDefaultControllerEnqueue(this,
chunk)};TransformStreamDefaultController.prototype.error=function(reason){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException$1("error");TransformStreamError(this._controlledTransformStream,reason)};TransformStreamDefaultController.prototype.terminate=function(){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException$1("terminate");var stream=this._controlledTransformStream,readableController=stream._readable._readableStreamController;
!0===ReadableStreamDefaultControllerCanCloseOrEnqueue(readableController)&&ReadableStreamDefaultControllerClose(readableController);readableController=new TypeError("TransformStream terminated");TransformStreamErrorWritableAndUnblockWrite(stream,readableController)};return TransformStreamDefaultController}()},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(108);__w_pdfjs_require__(140);__w_pdfjs_require__(110);exports=__w_pdfjs_require__(42);module.exports=exports.WeakMap},function(module,
exports,__w_pdfjs_require__){var global=__w_pdfjs_require__(10);exports=__w_pdfjs_require__(115);var InternalMetadataModule=__w_pdfjs_require__(141),collection=__w_pdfjs_require__(143),collectionWeak=__w_pdfjs_require__(145),isObject=__w_pdfjs_require__(21),enforceIternalState=__w_pdfjs_require__(32).enforce;__w_pdfjs_require__=__w_pdfjs_require__(33);global=!global.ActiveXObject&&"ActiveXObject"in global;var isExtensible=Object.isExtensible,wrapper=function(init){return function(){return init(this,
arguments.length?arguments[0]:void 0)}};module=module.exports=collection("WeakMap",wrapper,collectionWeak);if(__w_pdfjs_require__&&global){var InternalWeakMap=collectionWeak.getConstructor(wrapper,"WeakMap",!0);InternalMetadataModule.REQUIRED=!0;module=module.prototype;var nativeDelete=module["delete"],nativeHas=module.has,nativeGet=module.get,nativeSet=module.set;exports(module,{"delete":function(key){if(isObject(key)&&!isExtensible(key)){var state=enforceIternalState(this);state.frozen||(state.frozen=
new InternalWeakMap);return nativeDelete.call(this,key)||state.frozen["delete"](key)}return nativeDelete.call(this,key)},has:function(key){if(isObject(key)&&!isExtensible(key)){var state=enforceIternalState(this);state.frozen||(state.frozen=new InternalWeakMap);return nativeHas.call(this,key)||state.frozen.has(key)}return nativeHas.call(this,key)},get:function(key){if(isObject(key)&&!isExtensible(key)){var state=enforceIternalState(this);state.frozen||(state.frozen=new InternalWeakMap);return nativeHas.call(this,
key)?nativeGet.call(this,key):state.frozen.get(key)}return nativeGet.call(this,key)},set:function(key,value){if(isObject(key)&&!isExtensible(key)){var state=enforceIternalState(this);state.frozen||(state.frozen=new InternalWeakMap);nativeHas.call(this,key)?nativeSet.call(this,key,value):state.frozen.set(key,value)}else nativeSet.call(this,key,value);return this}})}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(38);var isObject=__w_pdfjs_require__(21),has=__w_pdfjs_require__(22),
defineProperty=__w_pdfjs_require__(26).f,uid=__w_pdfjs_require__(37),FREEZING=__w_pdfjs_require__(142),METADATA=uid("meta"),id=0,isExtensible=Object.isExtensible||function(){return!0},setMetadata=function(it){defineProperty(it,METADATA,{value:{objectID:"O"+ ++id,weakData:{}}})},meta=module.exports={REQUIRED:!1,fastKey:function(it,create){if(!isObject(it))return"symbol"==_typeof2(it)?it:("string"==typeof it?"S":"P")+it;if(!has(it,METADATA)){if(!isExtensible(it))return"F";if(!create)return"E";setMetadata(it)}return it[METADATA].objectID},
getWeakData:function(it,create){if(!has(it,METADATA)){if(!isExtensible(it))return!0;if(!create)return!1;setMetadata(it)}return it[METADATA].weakData},onFreeze:function(it){FREEZING&&meta.REQUIRED&&isExtensible(it)&&!has(it,METADATA)&&setMetadata(it);return it}};exports[METADATA]=!0},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(13);module.exports=!exports(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(module,exports,__w_pdfjs_require__){var $=
__w_pdfjs_require__(9),global=__w_pdfjs_require__(10),isForced=__w_pdfjs_require__(51),redefine=__w_pdfjs_require__(28),InternalMetadataModule=__w_pdfjs_require__(141),iterate=__w_pdfjs_require__(118),anInstance=__w_pdfjs_require__(117),isObject=__w_pdfjs_require__(21),fails=__w_pdfjs_require__(13),checkCorrectnessOfIteration=__w_pdfjs_require__(96),setToStringTag=__w_pdfjs_require__(84),inheritIfRequired=__w_pdfjs_require__(144);module.exports=function(CONSTRUCTOR_NAME,wrapper,common){var IS_MAP=
-1!==CONSTRUCTOR_NAME.indexOf("Map"),IS_WEAK=-1!==CONSTRUCTOR_NAME.indexOf("Weak"),ADDER=IS_MAP?"set":"add",NativeConstructor=global[CONSTRUCTOR_NAME],NativePrototype=NativeConstructor&&NativeConstructor.prototype,Constructor=NativeConstructor,exported={},fixMethod=function(KEY){var nativeMethod=NativePrototype[KEY];redefine(NativePrototype,KEY,"add"==KEY?function(value){nativeMethod.call(this,0===value?0:value);return this}:"delete"==KEY?function(key){return IS_WEAK&&!isObject(key)?!1:nativeMethod.call(this,
0===key?0:key)}:"get"==KEY?function(key){return IS_WEAK&&!isObject(key)?void 0:nativeMethod.call(this,0===key?0:key)}:"has"==KEY?function(key){return IS_WEAK&&!isObject(key)?!1:nativeMethod.call(this,0===key?0:key)}:function(key,value){nativeMethod.call(this,0===key?0:key,value);return this})};if(isForced(CONSTRUCTOR_NAME,"function"!=typeof NativeConstructor||!(IS_WEAK||NativePrototype.forEach&&!fails(function(){(new NativeConstructor).entries().next()}))))Constructor=common.getConstructor(wrapper,
CONSTRUCTOR_NAME,IS_MAP,ADDER),InternalMetadataModule.REQUIRED=!0;else if(isForced(CONSTRUCTOR_NAME,!0)){var instance=new Constructor,HASNT_CHAINING=instance[ADDER](IS_WEAK?{}:-0,1)!=instance,THROWS_ON_PRIMITIVES=fails(function(){instance.has(1)}),ACCEPT_ITERABLES=checkCorrectnessOfIteration(function(iterable){new NativeConstructor(iterable)}),BUGGY_ZERO=!IS_WEAK&&fails(function(){for(var $instance=new NativeConstructor,index=5;index--;)$instance[ADDER](index,index);return!$instance.has(-0)});ACCEPT_ITERABLES||
(Constructor=wrapper(function(dummy,iterable){anInstance(dummy,Constructor,CONSTRUCTOR_NAME);dummy=inheritIfRequired(new NativeConstructor,dummy,Constructor);void 0!=iterable&&iterate(iterable,dummy[ADDER],dummy,IS_MAP);return dummy}),Constructor.prototype=NativePrototype,NativePrototype.constructor=Constructor);if(THROWS_ON_PRIMITIVES||BUGGY_ZERO)fixMethod("delete"),fixMethod("has"),IS_MAP&&fixMethod("get");(BUGGY_ZERO||HASNT_CHAINING)&&fixMethod(ADDER);IS_WEAK&&NativePrototype.clear&&delete NativePrototype.clear}exported[CONSTRUCTOR_NAME]=
Constructor;$({global:!0,forced:Constructor!=NativeConstructor},exported);setToStringTag(Constructor,CONSTRUCTOR_NAME);IS_WEAK||common.setStrong(Constructor,CONSTRUCTOR_NAME,IS_MAP);return Constructor}},function(module,exports,__w_pdfjs_require__){var isObject=__w_pdfjs_require__(21),setPrototypeOf=__w_pdfjs_require__(86);module.exports=function($this,dummy,Wrapper){var NewTarget,NewTargetPrototype;setPrototypeOf&&"function"==typeof(NewTarget=dummy.constructor)&&NewTarget!==Wrapper&&isObject(NewTargetPrototype=
NewTarget.prototype)&&NewTargetPrototype!==Wrapper.prototype&&setPrototypeOf($this,NewTargetPrototype);return $this}},function(module,exports,__w_pdfjs_require__){var redefineAll=__w_pdfjs_require__(115),getWeakData=__w_pdfjs_require__(141).getWeakData,anObject=__w_pdfjs_require__(27),isObject=__w_pdfjs_require__(21),anInstance=__w_pdfjs_require__(117),iterate=__w_pdfjs_require__(118);exports=__w_pdfjs_require__(146);var $has=__w_pdfjs_require__(22);__w_pdfjs_require__=__w_pdfjs_require__(32);var setInternalState=
__w_pdfjs_require__.set,internalStateGetterFor=__w_pdfjs_require__.getterFor,find=exports.find,findIndex=exports.findIndex,id=0,uncaughtFrozenStore=function(store){return store.frozen||(store.frozen=new UncaughtFrozenStore)},UncaughtFrozenStore=function(){this.entries=[]},findUncaughtFrozen=function(store,key){return find(store.entries,function(it){return it[0]===key})};UncaughtFrozenStore.prototype={get:function(key){if(key=findUncaughtFrozen(this,key))return key[1]},has:function(key){return!!findUncaughtFrozen(this,
key)},set:function(key,value){var entry=findUncaughtFrozen(this,key);entry?entry[1]=value:this.entries.push([key,value])},"delete":function(key){var index=findIndex(this.entries,function(it){return it[0]===key});~index&&this.entries.splice(index,1);return!!~index}};module.exports={getConstructor:function(wrapper,CONSTRUCTOR_NAME,IS_MAP,ADDER){var C=wrapper(function(that,iterable){anInstance(that,C,CONSTRUCTOR_NAME);setInternalState(that,{type:CONSTRUCTOR_NAME,id:id++,frozen:void 0});void 0!=iterable&&
iterate(iterable,that[ADDER],that,IS_MAP)}),getInternalState=internalStateGetterFor(CONSTRUCTOR_NAME),define=function(that,key,value){var state=getInternalState(that),data=getWeakData(anObject(key),!0);!0===data?uncaughtFrozenStore(state).set(key,value):data[state.id]=value;return that};redefineAll(C.prototype,{"delete":function(key){var state=getInternalState(this);if(!isObject(key))return!1;var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state)["delete"](key):data&&$has(data,state.id)&&
delete data[state.id]},has:function(key){var state=getInternalState(this);if(!isObject(key))return!1;var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state).has(key):data&&$has(data,state.id)}});redefineAll(C.prototype,IS_MAP?{get:function(key){var state=getInternalState(this);if(isObject(key)){var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state).get(key):data?data[state.id]:void 0}},set:function(key,value){return define(this,key,value)}}:{add:function(value){return define(this,
value,!0)}});return C}}},function(module,exports,__w_pdfjs_require__){var bind=__w_pdfjs_require__(62),IndexedObject=__w_pdfjs_require__(17),toObject=__w_pdfjs_require__(82),toLength=__w_pdfjs_require__(46),arraySpeciesCreate=__w_pdfjs_require__(147),push=[].push;exports=function(TYPE){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX;return function($this,callbackfn,that,specificCreate){var O=toObject($this),self=IndexedObject(O);
callbackfn=bind(callbackfn,that,3);that=toLength(self.length);var index=0;specificCreate=specificCreate||arraySpeciesCreate;$this=IS_MAP?specificCreate($this,that):IS_FILTER?specificCreate($this,0):void 0;for(var result;that>index;index++)if(NO_HOLES||index in self)if(specificCreate=self[index],result=callbackfn(specificCreate,index,O),TYPE)if(IS_MAP)$this[index]=result;else if(result)switch(TYPE){case 3:return!0;case 5:return specificCreate;case 6:return index;case 2:push.call($this,specificCreate)}else if(IS_EVERY)return!1;
return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:$this}};module.exports={forEach:exports(0),map:exports(1),filter:exports(2),some:exports(3),every:exports(4),find:exports(5),findIndex:exports(6)}},function(module,exports,__w_pdfjs_require__){var isObject=__w_pdfjs_require__(21),isArray=__w_pdfjs_require__(148),SPECIES=__w_pdfjs_require__(57)("species");module.exports=function(originalArray,length){if(isArray(originalArray)){var C=originalArray.constructor;"function"!=typeof C||C!==Array&&!isArray(C.prototype)?
isObject(C)&&(C=C[SPECIES],null===C&&(C=void 0)):C=void 0}return new (void 0===C?Array:C)(0===length?0:length)}},function(module,exports,__w_pdfjs_require__){var classof=__w_pdfjs_require__(18);module.exports=Array.isArray||function(arg){return"Array"==classof(arg)}},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(108);__w_pdfjs_require__(150);__w_pdfjs_require__(110);exports=__w_pdfjs_require__(42);module.exports=exports.WeakSet},function(module,exports,__w_pdfjs_require__){module=
__w_pdfjs_require__(143);__w_pdfjs_require__=__w_pdfjs_require__(145);module("WeakSet",function(init){return function(){return init(this,arguments.length?arguments[0]:void 0)}},__w_pdfjs_require__)},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(152);exports=__w_pdfjs_require__(61);module.exports=exports("String","codePointAt")},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var codeAt=__w_pdfjs_require__(77).codeAt;module({target:"String",proto:!0},{codePointAt:function(pos){return codeAt(this,
pos)}})},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(154);exports=__w_pdfjs_require__(42);module.exports=exports.String.fromCodePoint},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var toAbsoluteIndex=__w_pdfjs_require__(48),fromCharCode=String.fromCharCode;__w_pdfjs_require__=String.fromCodePoint;module({target:"String",stat:!0,forced:!!__w_pdfjs_require__&&1!=__w_pdfjs_require__.length},{fromCodePoint:function(x){for(var elements=[],length=arguments.length,
i=0,code;length>i;){code=+arguments[i++];if(toAbsoluteIndex(code,1114111)!==code)throw RangeError(code+" is not a valid code point");elements.push(65536>code?fromCharCode(code):fromCharCode(((code-=65536)>>10)+55296,code%1024+56320))}return elements.join("")}})},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(156);__w_pdfjs_require__(108);__w_pdfjs_require__(158);__w_pdfjs_require__(162);__w_pdfjs_require__(163);__w_pdfjs_require__(164);__w_pdfjs_require__(165);__w_pdfjs_require__(166);
__w_pdfjs_require__(167);__w_pdfjs_require__(168);__w_pdfjs_require__(169);__w_pdfjs_require__(170);__w_pdfjs_require__(171);__w_pdfjs_require__(172);__w_pdfjs_require__(173);__w_pdfjs_require__(174);__w_pdfjs_require__(175);__w_pdfjs_require__(176);__w_pdfjs_require__(177);exports=__w_pdfjs_require__(42);module.exports=exports.Symbol},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var fails=__w_pdfjs_require__(13),isArray=__w_pdfjs_require__(148),isObject=__w_pdfjs_require__(21),
toObject=__w_pdfjs_require__(82),toLength=__w_pdfjs_require__(46),createProperty=__w_pdfjs_require__(92),arraySpeciesCreate=__w_pdfjs_require__(147);exports=__w_pdfjs_require__(157);var wellKnownSymbol=__w_pdfjs_require__(57);__w_pdfjs_require__=__w_pdfjs_require__(128);var IS_CONCAT_SPREADABLE=wellKnownSymbol("isConcatSpreadable");__w_pdfjs_require__=51<=__w_pdfjs_require__||!fails(function(){var array=[];array[IS_CONCAT_SPREADABLE]=!1;return array.concat()[0]!==array});exports=exports("concat");
module({target:"Array",proto:!0,forced:!__w_pdfjs_require__||!exports},{concat:function(arg){var O=toObject(this),A=arraySpeciesCreate(O,0),n=0,length;var i=-1;for(length=arguments.length;i<length;i++){var E=-1===i?O:arguments[i];var k=E;if(isObject(k)){var len=k[IS_CONCAT_SPREADABLE];k=void 0!==len?!!len:isArray(k)}else k=!1;if(k){len=toLength(E.length);if(9007199254740991<n+len)throw TypeError("Maximum allowed index exceeded");for(k=0;k<len;k++,n++)k in E&&createProperty(A,n,E[k])}else{if(9007199254740991<=
n)throw TypeError("Maximum allowed index exceeded");createProperty(A,n++,E)}}A.length=n;return A}})},function(module,exports,__w_pdfjs_require__){var fails=__w_pdfjs_require__(13);exports=__w_pdfjs_require__(57);var V8_VERSION=__w_pdfjs_require__(128),SPECIES=exports("species");module.exports=function(METHOD_NAME){return 51<=V8_VERSION||!fails(function(){var array=[];(array.constructor={})[SPECIES]=function(){return{foo:1}};return 1!==array[METHOD_NAME](Boolean).foo})}},function(module,exports,__w_pdfjs_require__){module=
__w_pdfjs_require__(9);var global=__w_pdfjs_require__(10),getBuiltIn=__w_pdfjs_require__(41),IS_PURE=__w_pdfjs_require__(36),DESCRIPTORS=__w_pdfjs_require__(12),NATIVE_SYMBOL=__w_pdfjs_require__(58),USE_SYMBOL_AS_UID=__w_pdfjs_require__(59),fails=__w_pdfjs_require__(13),has=__w_pdfjs_require__(22),isArray=__w_pdfjs_require__(148),isObject=__w_pdfjs_require__(21),anObject=__w_pdfjs_require__(27),toObject=__w_pdfjs_require__(82),toIndexedObject=__w_pdfjs_require__(16),toPrimitive=__w_pdfjs_require__(20),
createPropertyDescriptor=__w_pdfjs_require__(15),nativeObjectCreate=__w_pdfjs_require__(71),objectKeys=__w_pdfjs_require__(73),getOwnPropertyNamesModule=__w_pdfjs_require__(43),getOwnPropertyNamesExternal=__w_pdfjs_require__(159),getOwnPropertySymbolsModule=__w_pdfjs_require__(50),getOwnPropertyDescriptorModule=__w_pdfjs_require__(11),definePropertyModule=__w_pdfjs_require__(26),propertyIsEnumerableModule=__w_pdfjs_require__(14);exports=__w_pdfjs_require__(25);var redefine=__w_pdfjs_require__(28),
shared=__w_pdfjs_require__(35),sharedKey=__w_pdfjs_require__(34),hiddenKeys=__w_pdfjs_require__(38),uid=__w_pdfjs_require__(37),wellKnownSymbol=__w_pdfjs_require__(57),wrappedWellKnownSymbolModule=__w_pdfjs_require__(160),defineWellKnownSymbol=__w_pdfjs_require__(161),setToStringTag=__w_pdfjs_require__(84),InternalStateModule=__w_pdfjs_require__(32),$forEach=__w_pdfjs_require__(146).forEach,HIDDEN=sharedKey("hidden");__w_pdfjs_require__=wellKnownSymbol("toPrimitive");var setInternalState=InternalStateModule.set,
getInternalState=InternalStateModule.getterFor("Symbol"),ObjectPrototype=Object.prototype,$Symbol=global.Symbol,$stringify=getBuiltIn("JSON","stringify"),nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyNames=getOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=propertyIsEnumerableModule.f,AllSymbols=shared("symbols"),ObjectPrototypeSymbols=shared("op-symbols"),StringToSymbolRegistry=shared("string-to-symbol-registry"),
SymbolToStringRegistry=shared("symbol-to-string-registry");getBuiltIn=shared("wks");global=global.QObject;var USE_SETTER=!global||!global.prototype||!global.prototype.findChild,setSymbolDescriptor=DESCRIPTORS&&fails(function(){return 7!=nativeObjectCreate(nativeDefineProperty({},"a",{get:function(){return nativeDefineProperty(this,"a",{value:7}).a}})).a})?function(O,P,Attributes){var ObjectPrototypeDescriptor=nativeGetOwnPropertyDescriptor(ObjectPrototype,P);ObjectPrototypeDescriptor&&delete ObjectPrototype[P];
nativeDefineProperty(O,P,Attributes);ObjectPrototypeDescriptor&&O!==ObjectPrototype&&nativeDefineProperty(ObjectPrototype,P,ObjectPrototypeDescriptor)}:nativeDefineProperty,wrap=function(tag,description){var symbol=AllSymbols[tag]=nativeObjectCreate($Symbol.prototype);setInternalState(symbol,{type:"Symbol",tag:tag,description:description});DESCRIPTORS||(symbol.description=description);return symbol},isSymbol=USE_SYMBOL_AS_UID?function(it){return"symbol"==_typeof2(it)}:function(it){return Object(it)instanceof
$Symbol},$defineProperty=function(O,P,Attributes){O===ObjectPrototype&&$defineProperty(ObjectPrototypeSymbols,P,Attributes);anObject(O);P=toPrimitive(P,!0);anObject(Attributes);return has(AllSymbols,P)?(Attributes.enumerable?(has(O,HIDDEN)&&O[HIDDEN][P]&&(O[HIDDEN][P]=!1),Attributes=nativeObjectCreate(Attributes,{enumerable:createPropertyDescriptor(0,!1)})):(has(O,HIDDEN)||nativeDefineProperty(O,HIDDEN,createPropertyDescriptor(1,{})),O[HIDDEN][P]=!0),setSymbolDescriptor(O,P,Attributes)):nativeDefineProperty(O,
P,Attributes)},$defineProperties=function(O,Properties){anObject(O);var properties=toIndexedObject(Properties);Properties=objectKeys(properties).concat($getOwnPropertySymbols(properties));$forEach(Properties,function(key){DESCRIPTORS&&!$propertyIsEnumerable.call(properties,key)||$defineProperty(O,key,properties[key])});return O},$propertyIsEnumerable=function(V){V=toPrimitive(V,!0);var enumerable=nativePropertyIsEnumerable.call(this,V);return this===ObjectPrototype&&has(AllSymbols,V)&&!has(ObjectPrototypeSymbols,
V)?!1:enumerable||!has(this,V)||!has(AllSymbols,V)||has(this,HIDDEN)&&this[HIDDEN][V]?enumerable:!0};USE_SYMBOL_AS_UID=function(O,P){O=toIndexedObject(O);P=toPrimitive(P,!0);if(O!==ObjectPrototype||!has(AllSymbols,P)||has(ObjectPrototypeSymbols,P)){var descriptor=nativeGetOwnPropertyDescriptor(O,P);!descriptor||!has(AllSymbols,P)||has(O,HIDDEN)&&O[HIDDEN][P]||(descriptor.enumerable=!0);return descriptor}};global=function(O){O=nativeGetOwnPropertyNames(toIndexedObject(O));var result=[];$forEach(O,
function(key){has(AllSymbols,key)||has(hiddenKeys,key)||result.push(key)});return result};var $getOwnPropertySymbols=function(O){var IS_OBJECT_PROTOTYPE=O===ObjectPrototype;O=nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE?ObjectPrototypeSymbols:toIndexedObject(O));var result=[];$forEach(O,function(key){!has(AllSymbols,key)||IS_OBJECT_PROTOTYPE&&!has(ObjectPrototype,key)||result.push(AllSymbols[key])});return result};NATIVE_SYMBOL||($Symbol=function(){if(this instanceof $Symbol)throw TypeError("Symbol is not a constructor");
var description=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,tag=uid(description),setter$jscomp$0=function setter(value){this===ObjectPrototype&&setter.call(ObjectPrototypeSymbols,value);has(this,HIDDEN)&&has(this[HIDDEN],tag)&&(this[HIDDEN][tag]=!1);setSymbolDescriptor(this,tag,createPropertyDescriptor(1,value))};DESCRIPTORS&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype,tag,{configurable:!0,set:setter$jscomp$0});return wrap(tag,description)},redefine($Symbol.prototype,"toString",
function(){return getInternalState(this).tag}),redefine($Symbol,"withoutSetter",function(description){return wrap(uid(description),description)}),propertyIsEnumerableModule.f=$propertyIsEnumerable,definePropertyModule.f=$defineProperty,getOwnPropertyDescriptorModule.f=USE_SYMBOL_AS_UID,getOwnPropertyNamesModule.f=getOwnPropertyNamesExternal.f=global,getOwnPropertySymbolsModule.f=$getOwnPropertySymbols,wrappedWellKnownSymbolModule.f=function(name){return wrap(wellKnownSymbol(name),name)},DESCRIPTORS&&
(nativeDefineProperty($Symbol.prototype,"description",{configurable:!0,get:function(){return getInternalState(this).description}}),IS_PURE||redefine(ObjectPrototype,"propertyIsEnumerable",$propertyIsEnumerable,{unsafe:!0})));module({global:!0,wrap:!0,forced:!NATIVE_SYMBOL,sham:!NATIVE_SYMBOL},{Symbol:$Symbol});$forEach(objectKeys(getBuiltIn),function(name){defineWellKnownSymbol(name)});module({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL},{"for":function(key){key=String(key);if(has(StringToSymbolRegistry,
key))return StringToSymbolRegistry[key];var symbol=$Symbol(key);StringToSymbolRegistry[key]=symbol;SymbolToStringRegistry[symbol]=key;return symbol},keyFor:function(sym){if(!isSymbol(sym))throw TypeError(sym+" is not a symbol");if(has(SymbolToStringRegistry,sym))return SymbolToStringRegistry[sym]},useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}});module({target:"Object",stat:!0,forced:!NATIVE_SYMBOL,sham:!DESCRIPTORS},{create:function(O,Properties){return void 0===Properties?
nativeObjectCreate(O):$defineProperties(nativeObjectCreate(O),Properties)},defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:USE_SYMBOL_AS_UID});module({target:"Object",stat:!0,forced:!NATIVE_SYMBOL},{getOwnPropertyNames:global,getOwnPropertySymbols:$getOwnPropertySymbols});module({target:"Object",stat:!0,forced:fails(function(){getOwnPropertySymbolsModule.f(1)})},{getOwnPropertySymbols:function(it){return getOwnPropertySymbolsModule.f(toObject(it))}});$stringify&&
(IS_PURE=!NATIVE_SYMBOL||fails(function(){var symbol=$Symbol();return"[null]"!=$stringify([symbol])||"{}"!=$stringify({a:symbol})||"{}"!=$stringify(Object(symbol))}),module({target:"JSON",stat:!0,forced:IS_PURE},{stringify:function(it,replacer,space){for(var args=[it],index=1,$replacer;arguments.length>index;)args.push(arguments[index++]);$replacer=replacer;if((isObject(replacer)||void 0!==it)&&!isSymbol(it))return isArray(replacer)||(replacer=function(key,value){"function"==typeof $replacer&&(value=
$replacer.call(this,key,value));if(!isSymbol(value))return value}),args[1]=replacer,$stringify.apply(null,args)}}));$Symbol.prototype[__w_pdfjs_require__]||exports($Symbol.prototype,__w_pdfjs_require__,$Symbol.prototype.valueOf);setToStringTag($Symbol,"Symbol");hiddenKeys[HIDDEN]=!0},function(module,exports,__w_pdfjs_require__){var toIndexedObject=__w_pdfjs_require__(16),nativeGetOwnPropertyNames=__w_pdfjs_require__(43).f,toString={}.toString,windowNames="object"==("undefined"===typeof window?"undefined":
_typeof2(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];module.exports.f=function(it){if(windowNames&&"[object Window]"==toString.call(it))try{var JSCompiler_temp=nativeGetOwnPropertyNames(it)}catch(error){JSCompiler_temp=windowNames.slice()}else JSCompiler_temp=nativeGetOwnPropertyNames(toIndexedObject(it));return JSCompiler_temp}},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(57);exports.f=module},function(module,exports,__w_pdfjs_require__){var path=
__w_pdfjs_require__(42),has=__w_pdfjs_require__(22),wrappedWellKnownSymbolModule=__w_pdfjs_require__(160),defineProperty=__w_pdfjs_require__(26).f;module.exports=function(NAME){var _Symbol3=path.Symbol||(path.Symbol={});has(_Symbol3,NAME)||defineProperty(_Symbol3,NAME,{value:wrappedWellKnownSymbolModule.f(NAME)})}},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("asyncIterator")},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var DESCRIPTORS=__w_pdfjs_require__(12),
global=__w_pdfjs_require__(10),has=__w_pdfjs_require__(22),isObject=__w_pdfjs_require__(21);exports=__w_pdfjs_require__(26).f;__w_pdfjs_require__=__w_pdfjs_require__(39);var NativeSymbol=global.Symbol;if(DESCRIPTORS&&"function"==typeof NativeSymbol&&!("description"in NativeSymbol.prototype&&void 0===NativeSymbol().description)){var EmptyStringDescriptionStore={},SymbolWrapper=function(){var description=1>arguments.length||void 0===arguments[0]?void 0:String(arguments[0]),result=this instanceof SymbolWrapper?
new NativeSymbol(description):void 0===description?NativeSymbol():NativeSymbol(description);""===description&&(EmptyStringDescriptionStore[result]=!0);return result};__w_pdfjs_require__(SymbolWrapper,NativeSymbol);__w_pdfjs_require__=SymbolWrapper.prototype=NativeSymbol.prototype;__w_pdfjs_require__.constructor=SymbolWrapper;var symbolToString=__w_pdfjs_require__.toString,_native="Symbol(test)"==String(NativeSymbol("test")),regexp=/^Symbol\((.*)\)[^)]+$/;exports(__w_pdfjs_require__,"description",
{configurable:!0,get:function(){var symbol=isObject(this)?this.valueOf():this,string=symbolToString.call(symbol);if(has(EmptyStringDescriptionStore,symbol))return"";symbol=_native?string.slice(7,-1):string.replace(regexp,"$1");return""===symbol?void 0:symbol}});module({global:!0,forced:!0},{Symbol:SymbolWrapper})}},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("hasInstance")},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("isConcatSpreadable")},function(module,
exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("iterator")},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("match")},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("matchAll")},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("replace")},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("search")},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("species")},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("split")},
function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("toPrimitive")},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("toStringTag")},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(161)("unscopables")},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(84)(Math,"Math",!0)},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(10);__w_pdfjs_require__(84)(module.JSON,"JSON",!0)},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(179);
exports=__w_pdfjs_require__(61);module.exports=exports("String","padStart")},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var $padStart=__w_pdfjs_require__(180).start;__w_pdfjs_require__=__w_pdfjs_require__(182);module({target:"String",proto:!0,forced:__w_pdfjs_require__},{padStart:function(maxLength){return $padStart(this,maxLength,1<arguments.length?arguments[1]:void 0)}})},function(module,exports,__w_pdfjs_require__){var toLength=__w_pdfjs_require__(46),repeat=__w_pdfjs_require__(181),
requireObjectCoercible=__w_pdfjs_require__(19),ceil=Math.ceil;exports=function(IS_END){return function($this,maxLength,fillString){$this=String(requireObjectCoercible($this));var stringLength=$this.length;fillString=void 0===fillString?" ":String(fillString);maxLength=toLength(maxLength);if(maxLength<=stringLength||""==fillString)return $this;maxLength-=stringLength;stringLength=repeat.call(fillString,ceil(maxLength/fillString.length));stringLength.length>maxLength&&(stringLength=stringLength.slice(0,
maxLength));return IS_END?$this+stringLength:stringLength+$this}};module.exports={start:exports(!1),end:exports(!0)}},function(module,exports,__w_pdfjs_require__){var toInteger=__w_pdfjs_require__(47),requireObjectCoercible=__w_pdfjs_require__(19);module.exports="".repeat||function(count){var str=String(requireObjectCoercible(this)),result="";count=toInteger(count);if(0>count||Infinity==count)throw RangeError("Wrong number of repetitions");for(;0<count;(count>>>=1)&&(str+=str))count&1&&(result+=str);
return result}},function(module,exports,__w_pdfjs_require__){exports=__w_pdfjs_require__(122);module.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(exports)},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(184);exports=__w_pdfjs_require__(61);module.exports=exports("String","padEnd")},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var $padEnd=__w_pdfjs_require__(180).end;__w_pdfjs_require__=__w_pdfjs_require__(182);module({target:"String",
proto:!0,forced:__w_pdfjs_require__},{padEnd:function(maxLength){return $padEnd(this,maxLength,1<arguments.length?arguments[1]:void 0)}})},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__(186);exports=__w_pdfjs_require__(42);module.exports=exports.Object.values},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(9);var $values=__w_pdfjs_require__(187).values;module({target:"Object",stat:!0},{values:function(O){return $values(O)}})},function(module,exports,__w_pdfjs_require__){var DESCRIPTORS=
__w_pdfjs_require__(12),objectKeys=__w_pdfjs_require__(73),toIndexedObject=__w_pdfjs_require__(16),propertyIsEnumerable=__w_pdfjs_require__(14).f;exports=function(TO_ENTRIES){return function(it){it=toIndexedObject(it);for(var keys=objectKeys(it),length=keys.length,i=0,result=[],key;length>i;)key=keys[i++],DESCRIPTORS&&!propertyIsEnumerable.call(it,key)||result.push(TO_ENTRIES?[key,it[key]]:it[key]);return result}};module.exports={entries:exports(!0),values:exports(!1)}},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof=
"function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){reject(error);return}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=
this,args=arguments;return new Promise(function(resolve,reject){function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}var gen=fn.apply(self,args);_next(void 0)})}}function isName(v,name){return v instanceof Name&&(void 0===name||v.name===name)}function isDict(v,type){return v instanceof Dict&&(void 0===type||isName(v.get("Type"),type))}Object.defineProperty(exports,"__esModule",{value:!0});
exports.clearPrimitiveCaches=function(){Cmd._clearCache();Name._clearCache();Ref._clearCache()};exports.isEOF=function(v){return v===EOF};exports.isCmd=function(v,cmd){return v instanceof Cmd&&(void 0===cmd||v.cmd===cmd)};exports.isDict=isDict;exports.isName=isName;exports.isRef=function(v){return v instanceof Ref};exports.isRefsEqual=function(v1,v2){return v1.num===v2.num&&v1.gen===v2.gen};exports.isStream=function(v){return"object"===_typeof(v)&&null!==v&&void 0!==v.getBytes};exports.RefSetCache=
exports.RefSet=exports.Ref=exports.Name=exports.Dict=exports.Cmd=exports.EOF=void 0;var _regenerator=function(obj){return obj&&obj.__esModule?obj:{"default":obj}}(__w_pdfjs_require__(2));__w_pdfjs_require__(5);var EOF={};exports.EOF=EOF;var Name=function(){function Name(name){this.name=name}var nameCache=Object.create(null);Name.prototype={};Name.get=function(name){var nameValue=nameCache[name];return nameValue?nameValue:nameCache[name]=new Name(name)};Name._clearCache=function(){nameCache=Object.create(null)};
return Name}();exports.Name=Name;var Cmd=function(){function Cmd(cmd){this.cmd=cmd}var cmdCache=Object.create(null);Cmd.prototype={};Cmd.get=function(cmd){var cmdValue=cmdCache[cmd];return cmdValue?cmdValue:cmdCache[cmd]=new Cmd(cmd)};Cmd._clearCache=function(){cmdCache=Object.create(null)};return Cmd}();exports.Cmd=Cmd;var Dict=function(){function Dict(xref){this._map=Object.create(null);this.xref=xref;this.objId=null;this.suppressEncryption=!1;this.__nonSerializable__=nonSerializable}var nonSerializable=
function(){return nonSerializable};Dict.prototype={assignXref:function(newXref){this.xref=newXref},get:function(key1,key2,key3){var value=this._map[key1];void 0!==value||key1 in this._map||void 0===key2||(value=this._map[key2],void 0!==value||key2 in this._map||void 0===key3||(value=this._map[key3]));return value instanceof Ref&&this.xref?this.xref.fetch(value,this.suppressEncryption):value},getAsync:function(){var _getAsync=_asyncToGenerator(_regenerator["default"].mark(function _callee(key1,key2,
key3){var value;return _regenerator["default"].wrap(function(_context){for(;;)switch(_context.prev=_context.next){case 0:value=this._map[key1];void 0!==value||key1 in this._map||void 0===key2||(value=this._map[key2],void 0!==value||key2 in this._map||void 0===key3||(value=this._map[key3]));if(!(value instanceof Ref&&this.xref)){_context.next=4;break}return _context.abrupt("return",this.xref.fetchAsync(value,this.suppressEncryption));case 4:return _context.abrupt("return",value);case 5:case "end":return _context.stop()}},
_callee,this)}));return function(_x,_x2,_x3){return _getAsync.apply(this,arguments)}}(),getArray:function(key1,key2,key3){key1=this.get(key1,key2,key3);if(!Array.isArray(key1)||!this.xref)return key1;key1=key1.slice();key2=0;for(key3=key1.length;key2<key3;key2++)key1[key2]instanceof Ref&&(key1[key2]=this.xref.fetch(key1[key2],this.suppressEncryption));return key1},getRaw:function(key){return this._map[key]},getKeys:function(){return Object.keys(this._map)},set:function(key,value){this._map[key]=value},
has:function(key){return key in this._map},forEach:function(callback){for(var key in this._map)callback(key,this.get(key))}};Dict.empty=new Dict(null);Dict.merge=function(xref,dictArray){xref=new Dict(xref);for(var i=0,ii=dictArray.length;i<ii;i++){var dict=dictArray[i];if(isDict(dict))for(var keyName in dict._map)void 0===xref._map[keyName]&&(xref._map[keyName]=dict._map[keyName])}return xref};return Dict}();exports.Dict=Dict;var Ref=function(){function Ref(num,gen){this.num=num;this.gen=gen}var refCache=
Object.create(null);Ref.prototype={toString:function(){return 0===this.gen?"".concat(this.num,"R"):"".concat(this.num,"R").concat(this.gen)}};Ref.get=function(num,gen){var key=0===gen?"".concat(num,"R"):"".concat(num,"R").concat(gen),refValue=refCache[key];return refValue?refValue:refCache[key]=new Ref(num,gen)};Ref._clearCache=function(){refCache=Object.create(null)};return Ref}();exports.Ref=Ref;module=function(){function RefSet(){this.dict=Object.create(null)}RefSet.prototype={has:function(ref){return ref.toString()in
this.dict},put:function(ref){this.dict[ref.toString()]=!0},remove:function(ref){delete this.dict[ref.toString()]}};return RefSet}();exports.RefSet=module;module=function(){function RefSetCache(){this.dict=Object.create(null)}RefSetCache.prototype={get:function(ref){return this.dict[ref.toString()]},has:function(ref){return ref.toString()in this.dict},put:function(ref,obj){this.dict[ref.toString()]=obj},putAlias:function(ref,aliasRef){this.dict[ref.toString()]=this.get(aliasRef)},forEach:function(fn,
thisArg){for(var i in this.dict)fn.call(thisArg,this.dict[i])},clear:function(){this.dict=Object.create(null)}};return RefSetCache}();exports.RefSetCache=module},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}
function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!==typeof call?_assertThisInitialized(self):call}function _getPrototypeOf(o$jscomp$0){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o$jscomp$0)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _inherits(subClass,
superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p$jscomp$0){_setPrototypeOf=Object.setPrototypeOf||function(o,p){o.__proto__=p;return o};return _setPrototypeOf(o$jscomp$0,p$jscomp$0)}function asyncGeneratorStep(gen,
resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){reject(error);return}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}var gen=fn.apply(self,args);
_next(void 0)})}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&
_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}Object.defineProperty(exports,"__esModule",{value:!0});exports.NetworkPdfManager=exports.LocalPdfManager=void 0;var _regenerator=function(obj){return obj&&obj.__esModule?obj:{"default":obj}}(__w_pdfjs_require__(2)),_util=__w_pdfjs_require__(5),_chunked_stream=__w_pdfjs_require__(190),_core_utils=__w_pdfjs_require__(191),_document=__w_pdfjs_require__(192),_stream=__w_pdfjs_require__(195);
module=function(){function BasePdfManager(){_classCallCheck(this,BasePdfManager);this.constructor===BasePdfManager&&(0,_util.unreachable)("Cannot initialize BasePdfManager.")}_createClass(BasePdfManager,[{key:"onLoadedStream",value:function(){(0,_util.unreachable)("Abstract method `onLoadedStream` called")}},{key:"ensureDoc",value:function(prop,args){return this.ensure(this.pdfDocument,prop,args)}},{key:"ensureXRef",value:function(prop,args){return this.ensure(this.pdfDocument.xref,prop,args)}},{key:"ensureCatalog",
value:function(prop,args){return this.ensure(this.pdfDocument.catalog,prop,args)}},{key:"getPage",value:function(pageIndex){return this.pdfDocument.getPage(pageIndex)}},{key:"fontFallback",value:function(id,handler){return this.pdfDocument.fontFallback(id,handler)}},{key:"cleanup",value:function(){return this.pdfDocument.cleanup()}},{key:"ensure",value:function(){var _ensure=_asyncToGenerator(_regenerator["default"].mark(function _callee(obj,prop,args){return _regenerator["default"].wrap(function(_context){for(;;)switch(_context.prev=
_context.next){case 0:(0,_util.unreachable)("Abstract method `ensure` called");case 1:case "end":return _context.stop()}},_callee)}));return function(_x,_x2,_x3){return _ensure.apply(this,arguments)}}()},{key:"requestRange",value:function(begin,end){(0,_util.unreachable)("Abstract method `requestRange` called")}},{key:"requestLoadedStream",value:function(){(0,_util.unreachable)("Abstract method `requestLoadedStream` called")}},{key:"sendProgressiveData",value:function(chunk){(0,_util.unreachable)("Abstract method `sendProgressiveData` called")}},
{key:"updatePassword",value:function(password){this._password=password}},{key:"terminate",value:function(reason){(0,_util.unreachable)("Abstract method `terminate` called")}},{key:"docId",get:function(){return this._docId}},{key:"password",get:function(){return this._password}},{key:"docBaseUrl",get:function(){var docBaseUrl=null;if(this._docBaseUrl){var absoluteUrl=(0,_util.createValidAbsoluteUrl)(this._docBaseUrl);absoluteUrl?docBaseUrl=absoluteUrl.href:(0,_util.warn)('Invalid absolute docBaseUrl: "'.concat(this._docBaseUrl,
'".'))}return(0,_util.shadow)(this,"docBaseUrl",docBaseUrl)}}]);return BasePdfManager}();__w_pdfjs_require__=function(_BasePdfManager){function LocalPdfManager(docId,data,password,evaluatorOptions,docBaseUrl){_classCallCheck(this,LocalPdfManager);var _this=_possibleConstructorReturn(this,_getPrototypeOf(LocalPdfManager).call(this));_this._docId=docId;_this._password=password;_this._docBaseUrl=docBaseUrl;_this.evaluatorOptions=evaluatorOptions;docId=new _stream.Stream(data);_this.pdfDocument=new _document.PDFDocument(_assertThisInitialized(_this),
docId);_this._loadedStreamPromise=Promise.resolve(docId);return _this}_inherits(LocalPdfManager,_BasePdfManager);_createClass(LocalPdfManager,[{key:"ensure",value:function(){var _ensure2=_asyncToGenerator(_regenerator["default"].mark(function _callee2(obj,prop,args){var value;return _regenerator["default"].wrap(function(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:value=obj[prop];if("function"!==typeof value){_context2.next=3;break}return _context2.abrupt("return",value.apply(obj,
args));case 3:return _context2.abrupt("return",value);case 4:case "end":return _context2.stop()}},_callee2)}));return function(_x4,_x5,_x6){return _ensure2.apply(this,arguments)}}()},{key:"requestRange",value:function(begin,end){return Promise.resolve()}},{key:"requestLoadedStream",value:function(){}},{key:"onLoadedStream",value:function(){return this._loadedStreamPromise}},{key:"terminate",value:function(reason){}}]);return LocalPdfManager}(module);exports.LocalPdfManager=__w_pdfjs_require__;module=
function(_BasePdfManager2){function NetworkPdfManager(docId,pdfNetworkStream,args,evaluatorOptions,docBaseUrl){_classCallCheck(this,NetworkPdfManager);var _this2=_possibleConstructorReturn(this,_getPrototypeOf(NetworkPdfManager).call(this));_this2._docId=docId;_this2._password=args.password;_this2._docBaseUrl=docBaseUrl;_this2.msgHandler=args.msgHandler;_this2.evaluatorOptions=evaluatorOptions;_this2.streamManager=new _chunked_stream.ChunkedStreamManager(pdfNetworkStream,{msgHandler:args.msgHandler,
length:args.length,disableAutoFetch:args.disableAutoFetch,rangeChunkSize:args.rangeChunkSize});_this2.pdfDocument=new _document.PDFDocument(_assertThisInitialized(_this2),_this2.streamManager.getStream());return _this2}_inherits(NetworkPdfManager,_BasePdfManager2);_createClass(NetworkPdfManager,[{key:"ensure",value:function(){var _ensure3=_asyncToGenerator(_regenerator["default"].mark(function _callee3(obj,prop,args){var value;return _regenerator["default"].wrap(function(_context3){for(;;)switch(_context3.prev=
_context3.next){case 0:_context3.prev=0;value=obj[prop];if("function"!==typeof value){_context3.next=4;break}return _context3.abrupt("return",value.apply(obj,args));case 4:return _context3.abrupt("return",value);case 7:_context3.prev=7;_context3.t0=_context3["catch"](0);if(_context3.t0 instanceof _core_utils.MissingDataException){_context3.next=11;break}throw _context3.t0;case 11:return _context3.next=13,this.requestRange(_context3.t0.begin,_context3.t0.end);case 13:return _context3.abrupt("return",
this.ensure(obj,prop,args));case 14:case "end":return _context3.stop()}},_callee3,this,[[0,7]])}));return function(_x7,_x8,_x9){return _ensure3.apply(this,arguments)}}()},{key:"requestRange",value:function(begin,end){return this.streamManager.requestRange(begin,end)}},{key:"requestLoadedStream",value:function(){this.streamManager.requestAllChunks()}},{key:"sendProgressiveData",value:function(chunk){this.streamManager.onReceiveData({chunk:chunk})}},{key:"onLoadedStream",value:function(){return this.streamManager.onLoadedStream()}},
{key:"terminate",value:function(reason){this.streamManager.abort(reason)}}]);return NetworkPdfManager}(module);exports.NetworkPdfManager=module},function(module,exports,__w_pdfjs_require__){function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=
!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}Object.defineProperty(exports,"__esModule",{value:!0});exports.ChunkedStreamManager=exports.ChunkedStream=void 0;var _util=__w_pdfjs_require__(5),_core_utils=__w_pdfjs_require__(191),ChunkedStream=
function(){function ChunkedStream(length,chunkSize,manager){_classCallCheck(this,ChunkedStream);this.bytes=new Uint8Array(length);this.pos=this.start=0;this.end=length;this.chunkSize=chunkSize;this.loadedChunks=[];this.numChunksLoaded=0;this.numChunks=Math.ceil(length/chunkSize);this.manager=manager;this.progressiveDataLength=0;this.lastSuccessfulEnsureByteChunk=-1}_createClass(ChunkedStream,[{key:"getMissingChunks",value:function(){for(var chunks=[],chunk=0,n=this.numChunks;chunk<n;++chunk)this.loadedChunks[chunk]||
chunks.push(chunk);return chunks}},{key:"getBaseStreams",value:function(){return[this]}},{key:"allChunksLoaded",value:function(){return this.numChunksLoaded===this.numChunks}},{key:"onReceiveData",value:function(begin,chunk){var chunkSize=this.chunkSize;if(0!==begin%chunkSize)throw Error("Bad begin offset: ".concat(begin));var end=begin+chunk.byteLength;if(0!==end%chunkSize&&end!==this.bytes.length)throw Error("Bad end offset: ".concat(end));this.bytes.set(new Uint8Array(chunk),begin);chunk=Math.floor((end-
1)/chunkSize)+1;for(begin=Math.floor(begin/chunkSize);begin<chunk;++begin)this.loadedChunks[begin]||(this.loadedChunks[begin]=!0,++this.numChunksLoaded)}},{key:"onReceiveProgressiveData",value:function(data){var position=this.progressiveDataLength,beginChunk=Math.floor(position/this.chunkSize);this.bytes.set(new Uint8Array(data),position);this.progressiveDataLength=position+=data.byteLength;for(data=position>=this.end?this.numChunks:Math.floor(position/this.chunkSize);beginChunk<data;++beginChunk)this.loadedChunks[beginChunk]||
(this.loadedChunks[beginChunk]=!0,++this.numChunksLoaded)}},{key:"ensureByte",value:function(pos){if(!(pos<this.progressiveDataLength)){var chunk=Math.floor(pos/this.chunkSize);if(chunk!==this.lastSuccessfulEnsureByteChunk){if(!this.loadedChunks[chunk])throw new _core_utils.MissingDataException(pos,pos+1);this.lastSuccessfulEnsureByteChunk=chunk}}}},{key:"ensureRange",value:function(begin,end){if(!(begin>=end||end<=this.progressiveDataLength)){var chunkSize=this.chunkSize,endChunk=Math.floor((end-
1)/chunkSize)+1;for(chunkSize=Math.floor(begin/chunkSize);chunkSize<endChunk;++chunkSize)if(!this.loadedChunks[chunkSize])throw new _core_utils.MissingDataException(begin,end);}}},{key:"nextEmptyChunk",value:function(beginChunk){for(var numChunks=this.numChunks,i=0;i<numChunks;++i){var chunk=(beginChunk+i)%numChunks;if(!this.loadedChunks[chunk])return chunk}return null}},{key:"hasChunk",value:function(chunk){return!!this.loadedChunks[chunk]}},{key:"getByte",value:function(){var pos=this.pos;if(pos>=
this.end)return-1;pos>=this.progressiveDataLength&&this.ensureByte(pos);return this.bytes[this.pos++]}},{key:"getUint16",value:function(){var b0=this.getByte(),b1=this.getByte();return-1===b0||-1===b1?-1:(b0<<8)+b1}},{key:"getInt32",value:function(){var b0=this.getByte(),b1=this.getByte(),b2=this.getByte(),b3=this.getByte();return(b0<<24)+(b1<<16)+(b2<<8)+b3}},{key:"getBytes",value:function(length){var forceClamped=1<arguments.length&&void 0!==arguments[1]?arguments[1]:!1,bytes=this.bytes,pos=this.pos,
strEnd=this.end;if(!length)return strEnd>this.progressiveDataLength&&this.ensureRange(pos,strEnd),bytes=bytes.subarray(pos,strEnd),forceClamped?new Uint8ClampedArray(bytes):bytes;var end=pos+length;end>strEnd&&(end=strEnd);end>this.progressiveDataLength&&this.ensureRange(pos,end);this.pos=end;bytes=bytes.subarray(pos,end);return forceClamped?new Uint8ClampedArray(bytes):bytes}},{key:"peekByte",value:function(){var peekedByte=this.getByte();-1!==peekedByte&&this.pos--;return peekedByte}},{key:"peekBytes",
value:function(length){var bytes=this.getBytes(length,1<arguments.length&&void 0!==arguments[1]?arguments[1]:!1);this.pos-=bytes.length;return bytes}},{key:"getByteRange",value:function(begin,end){0>begin&&(begin=0);end>this.end&&(end=this.end);end>this.progressiveDataLength&&this.ensureRange(begin,end);return this.bytes.subarray(begin,end)}},{key:"skip",value:function(n){n||(n=1);this.pos+=n}},{key:"reset",value:function(){this.pos=this.start}},{key:"moveStart",value:function(){this.start=this.pos}},
{key:"makeSubStream",value:function(start,length,dict){function ChunkedStreamSubstream(){}length?start+length>this.progressiveDataLength&&this.ensureRange(start,start+length):start>=this.progressiveDataLength&&this.ensureByte(start);ChunkedStreamSubstream.prototype=Object.create(this);ChunkedStreamSubstream.prototype.getMissingChunks=function(){var chunkSize=this.chunkSize,endChunk=Math.floor((this.end-1)/chunkSize)+1,missingChunks=[];for(chunkSize=Math.floor(this.start/chunkSize);chunkSize<endChunk;++chunkSize)this.loadedChunks[chunkSize]||
missingChunks.push(chunkSize);return missingChunks};ChunkedStreamSubstream.prototype.allChunksLoaded=function(){return this.numChunksLoaded===this.numChunks?!0:0===this.getMissingChunks().length};var subStream=new ChunkedStreamSubstream;subStream.pos=subStream.start=start;subStream.end=start+length||this.end;subStream.dict=dict;return subStream}},{key:"length",get:function(){return this.end-this.start}},{key:"isEmpty",get:function(){return 0===this.length}}]);return ChunkedStream}();exports.ChunkedStream=
ChunkedStream;module=function(){function ChunkedStreamManager(pdfNetworkStream,args){_classCallCheck(this,ChunkedStreamManager);this.length=args.length;this.chunkSize=args.rangeChunkSize;this.stream=new ChunkedStream(this.length,this.chunkSize,this);this.pdfNetworkStream=pdfNetworkStream;this.disableAutoFetch=args.disableAutoFetch;this.msgHandler=args.msgHandler;this.currRequestId=0;this.chunksNeededByRequest=Object.create(null);this.requestsByChunk=Object.create(null);this.promisesByRequest=Object.create(null);
this.progressiveDataLength=0;this.aborted=!1;this._loadedStreamCapability=(0,_util.createPromiseCapability)()}_createClass(ChunkedStreamManager,[{key:"onLoadedStream",value:function(){return this._loadedStreamCapability.promise}},{key:"sendRequest",value:function(begin,end){var _this=this,rangeReader=this.pdfNetworkStream.getRangeReader(begin,end);rangeReader.isStreamingSupported||(rangeReader.onProgress=this.onProgress.bind(this));var chunks=[],loaded=0;(new Promise(function(resolve,reject){rangeReader.read().then(function readChunk(chunk){try{if(chunk.done){var chunkData=
(0,_util.arraysToBytes)(chunks);chunks=null;resolve(chunkData)}else{var data=chunk.value;chunks.push(data);loaded+=(0,_util.arrayByteLength)(data);if(rangeReader.isStreamingSupported)_this.onProgress({loaded:loaded});rangeReader.read().then(readChunk,reject)}}catch(e){reject(e)}},reject)})).then(function(data){if(!_this.aborted)_this.onReceiveData({chunk:data,begin:begin})})}},{key:"requestAllChunks",value:function(){var missingChunks=this.stream.getMissingChunks();this._requestChunks(missingChunks);
return this._loadedStreamCapability.promise}},{key:"_requestChunks",value:function(chunks){var requestId=this.currRequestId++,chunksNeeded=Object.create(null);this.chunksNeededByRequest[requestId]=chunksNeeded;var _iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _iterator=chunks[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var _chunk=_step.value;this.stream.hasChunk(_chunk)||(chunksNeeded[_chunk]=
!0)}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&null!=_iterator["return"])_iterator["return"]()}finally{if(_didIteratorError)throw _iteratorError;}}if((0,_util.isEmptyObj)(chunksNeeded))return Promise.resolve();chunks=(0,_util.createPromiseCapability)();this.promisesByRequest[requestId]=chunks;_iteratorNormalCompletion=[];for(var chunk in chunksNeeded)chunk|=0,chunk in this.requestsByChunk||(this.requestsByChunk[chunk]=[],_iteratorNormalCompletion.push(chunk)),
this.requestsByChunk[chunk].push(requestId);if(!_iteratorNormalCompletion.length)return chunks.promise;requestId=this.groupChunks(_iteratorNormalCompletion);chunksNeeded=!0;chunk=!1;_iteratorNormalCompletion=void 0;try{for(var _iterator2=requestId[Symbol.iterator](),_step2;!(chunksNeeded=(_step2=_iterator2.next()).done);chunksNeeded=!0){var groupedChunk=_step2.value;this.sendRequest(groupedChunk.beginChunk*this.chunkSize,Math.min(groupedChunk.endChunk*this.chunkSize,this.length))}}catch(err$6){chunk=
!0,_iteratorNormalCompletion=err$6}finally{try{if(!chunksNeeded&&null!=_iterator2["return"])_iterator2["return"]()}finally{if(chunk)throw _iteratorNormalCompletion;}}return chunks.promise}},{key:"getStream",value:function(){return this.stream}},{key:"requestRange",value:function(begin,end){end=Math.min(end,this.length);begin=this.getBeginChunk(begin);end=this.getEndChunk(end);for(var chunks=[];begin<end;++begin)chunks.push(begin);return this._requestChunks(chunks)}},{key:"requestRanges",value:function(){var ranges=
0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],chunksToRequest=[],_iteratorNormalCompletion3=!0,_didIteratorError3=!1,_iteratorError3=void 0;try{for(var _iterator3=ranges[Symbol.iterator](),_step3;!(_iteratorNormalCompletion3=(_step3=_iterator3.next()).done);_iteratorNormalCompletion3=!0){var range=_step3.value,beginChunk=this.getBeginChunk(range.begin),endChunk=this.getEndChunk(range.end);for(ranges=beginChunk;ranges<endChunk;++ranges)chunksToRequest.includes(ranges)||chunksToRequest.push(ranges)}}catch(err){_didIteratorError3=
!0,_iteratorError3=err}finally{try{if(!_iteratorNormalCompletion3&&null!=_iterator3["return"])_iterator3["return"]()}finally{if(_didIteratorError3)throw _iteratorError3;}}chunksToRequest.sort(function(a,b){return a-b});return this._requestChunks(chunksToRequest)}},{key:"groupChunks",value:function(chunks){for(var groupedChunks=[],beginChunk=-1,prevChunk=-1,i=0,ii=chunks.length;i<ii;++i){var chunk=chunks[i];0>beginChunk&&(beginChunk=chunk);0<=prevChunk&&prevChunk+1!==chunk&&(groupedChunks.push({beginChunk:beginChunk,
endChunk:prevChunk+1}),beginChunk=chunk);i+1===chunks.length&&groupedChunks.push({beginChunk:beginChunk,endChunk:chunk+1});prevChunk=chunk}return groupedChunks}},{key:"onProgress",value:function(args){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+args.loaded,total:this.length})}},{key:"onReceiveData",value:function(args){var chunk=args.chunk,isProgressive=void 0===args.begin,begin=isProgressive?this.progressiveDataLength:args.begin,end=begin+chunk.byteLength,
beginChunk=Math.floor(begin/this.chunkSize);args=end<this.length?Math.floor(end/this.chunkSize):Math.ceil(end/this.chunkSize);if(isProgressive)this.stream.onReceiveProgressiveData(chunk),this.progressiveDataLength=end;else this.stream.onReceiveData(begin,chunk);this.stream.allChunksLoaded()&&this._loadedStreamCapability.resolve(this.stream);chunk=[];for(isProgressive=beginChunk;isProgressive<args;++isProgressive){beginChunk=this.requestsByChunk[isProgressive]||[];delete this.requestsByChunk[isProgressive];
begin=!0;end=!1;var _iteratorError4=void 0;try{for(var _iterator4=beginChunk[Symbol.iterator](),_step4;!(begin=(_step4=_iterator4.next()).done);begin=!0){var requestId=_step4.value,chunksNeeded=this.chunksNeededByRequest[requestId];isProgressive in chunksNeeded&&delete chunksNeeded[isProgressive];(0,_util.isEmptyObj)(chunksNeeded)&&chunk.push(requestId)}}catch(err){end=!0,_iteratorError4=err}finally{try{if(!begin&&null!=_iterator4["return"])_iterator4["return"]()}finally{if(end)throw _iteratorError4;
}}}if(!this.disableAutoFetch&&(0,_util.isEmptyObj)(this.requestsByChunk)){var nextEmptyChunk;1===this.stream.numChunksLoaded?(_iterator4=this.stream.numChunks-1,this.stream.hasChunk(_iterator4)||(nextEmptyChunk=_iterator4)):nextEmptyChunk=this.stream.nextEmptyChunk(args);Number.isInteger(nextEmptyChunk)&&this._requestChunks([nextEmptyChunk])}for(nextEmptyChunk=0;nextEmptyChunk<chunk.length;nextEmptyChunk++)_iterator4=chunk[nextEmptyChunk],_step4=this.promisesByRequest[_iterator4],delete this.promisesByRequest[_iterator4],
_step4.resolve();this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}},{key:"onError",value:function(err){this._loadedStreamCapability.reject(err)}},{key:"getBeginChunk",value:function(begin){return Math.floor(begin/this.chunkSize)}},{key:"getEndChunk",value:function(end){return Math.floor((end-1)/this.chunkSize)+1}},{key:"abort",value:function(reason){this.aborted=!0;this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests(reason);for(var requestId in this.promisesByRequest)this.promisesByRequest[requestId].reject(reason)}}]);
return ChunkedStreamManager}();exports.ChunkedStreamManager=module},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");
}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o$jscomp$0){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o$jscomp$0)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&
null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p$jscomp$0){_setPrototypeOf=Object.setPrototypeOf||function(o,p){o.__proto__=p;return o};return _setPrototypeOf(o$jscomp$0,p$jscomp$0)}Object.defineProperty(exports,"__esModule",{value:!0});exports.getLookupTableFactory=
function(initializer){var lookup;return function(){initializer&&(lookup=Object.create(null),initializer(lookup),initializer=null);return lookup}};exports.getInheritableProperty=function(_ref){var dict=_ref.dict,key=_ref.key,_ref$getArray=_ref.getArray;_ref$getArray=void 0===_ref$getArray?!1:_ref$getArray;_ref=_ref.stopWhenFound;_ref=void 0===_ref?!0:_ref;for(var loopCount=0,values;dict;){var value=_ref$getArray?dict.getArray(key):dict.get(key);if(void 0!==value){if(_ref)return value;values||(values=
[]);values.push(value)}if(100<++loopCount){(0,_util.warn)('getInheritableProperty: maximum loop count exceeded for "'.concat(key,'"'));break}dict=dict.get("Parent")}return values};exports.toRomanNumerals=function(number){var lowerCase=1<arguments.length&&void 0!==arguments[1]?arguments[1]:!1;(0,_util.assert)(Number.isInteger(number)&&0<number,"The number should be a positive integer.");for(var pos,romanBuf=[];1E3<=number;)number-=1E3,romanBuf.push("M");pos=number/100|0;number%=100;romanBuf.push(ROMAN_NUMBER_MAP[pos]);
pos=number/10|0;number%=10;romanBuf.push(ROMAN_NUMBER_MAP[10+pos]);romanBuf.push(ROMAN_NUMBER_MAP[20+number]);pos=romanBuf.join("");return lowerCase?pos.toLowerCase():pos};exports.XRefParseException=exports.XRefEntryException=exports.MissingDataException=void 0;var _util=__w_pdfjs_require__(5);module=function(_BaseException){function MissingDataException(begin,end){_classCallCheck(this,MissingDataException);var _this=_possibleConstructorReturn(this,_getPrototypeOf(MissingDataException).call(this,
"Missing data [".concat(begin,", ").concat(end,")")));_this.begin=begin;_this.end=end;return _this}_inherits(MissingDataException,_BaseException);return MissingDataException}(_util.BaseException);exports.MissingDataException=module;module=function(_BaseException2){function XRefEntryException(){_classCallCheck(this,XRefEntryException);return _possibleConstructorReturn(this,_getPrototypeOf(XRefEntryException).apply(this,arguments))}_inherits(XRefEntryException,_BaseException2);return XRefEntryException}(_util.BaseException);
exports.XRefEntryException=module;module=function(_BaseException3){function XRefParseException(){_classCallCheck(this,XRefParseException);return _possibleConstructorReturn(this,_getPrototypeOf(XRefParseException).apply(this,arguments))}_inherits(XRefParseException,_BaseException3);return XRefParseException}(_util.BaseException);exports.XRefParseException=module;var ROMAN_NUMBER_MAP=" C CC CCC CD D DC DCC DCCC CM  X XX XXX XL L LX LXX LXXX XC  I II III IV V VI VII VIII IX".split(" ")},function(module,
exports,__w_pdfjs_require__){function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){reject(error);return}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,
reject,_next,_throw,"throw",err)}var gen=fn.apply(self,args);_next(void 0)})}}function _slicedToArray(arr,i){var JSCompiler_temp=Array.isArray(arr)?arr:void 0;if(!JSCompiler_temp)if(Symbol.iterator in Object(arr)||"[object Arguments]"===Object.prototype.toString.call(arr)){JSCompiler_temp=[];var _n=!0,_d=!1,_e=void 0;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done)&&(JSCompiler_temp.push(_s.value),!i||JSCompiler_temp.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&
null!=_i["return"])_i["return"]()}finally{if(_d)throw _e;}}}else JSCompiler_temp=void 0;if(!(arr=JSCompiler_temp))throw new TypeError("Invalid attempt to destructure non-iterable instance");return arr}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=
!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function isAnnotationRenderable(annotation,intent){return self.disableFlattenedAnnotations?!1:"Sig"===annotation.data.fieldType&&4!==annotation.data.annotationFlags?annotation.data.forceRender=!0:"display"===
intent&&annotation.viewable||"print"===intent&&annotation.printable}function find(stream,signature){var backwards=3<arguments.length&&void 0!==arguments[3]?arguments[3]:!1,signatureLength=signature.length,scanBytes=stream.peekBytes(2<arguments.length&&void 0!==arguments[2]?arguments[2]:1024),scanLength=scanBytes.length-signatureLength;if(0>=scanLength)return!1;if(backwards)for(scanLength=signatureLength-1,backwards=scanBytes.length-1;backwards>=scanLength;){for(var j=0;j<signatureLength&&scanBytes[backwards-
j]===signature[scanLength-j];)j++;if(j>=signatureLength)return stream.pos+=backwards-scanLength,!0;backwards--}else for(backwards=0;backwards<=scanLength;){for(j=0;j<signatureLength&&scanBytes[backwards+j]===signature[j];)j++;if(j>=signatureLength)return stream.pos+=backwards,!0;backwards++}return!1}Object.defineProperty(exports,"__esModule",{value:!0});exports.PDFDocument=exports.Page=void 0;var _regenerator=function(obj){return obj&&obj.__esModule?obj:{"default":obj}}(__w_pdfjs_require__(2)),_util=
__w_pdfjs_require__(5),_obj=__w_pdfjs_require__(193),_primitives=__w_pdfjs_require__(188),_core_utils=__w_pdfjs_require__(191),_stream2=__w_pdfjs_require__(195),_annotation=__w_pdfjs_require__(207),_crypto=__w_pdfjs_require__(205),_parser=__w_pdfjs_require__(194),_operator_list=__w_pdfjs_require__(208),_evaluator=__w_pdfjs_require__(209),_function=__w_pdfjs_require__(223),LETTER_SIZE_MEDIABOX=[0,0,612,792],Page=function(){function Page(_ref){var pdfManager=_ref.pdfManager,xref=_ref.xref,pageIndex=
_ref.pageIndex,pageDict=_ref.pageDict,ref=_ref.ref,fontCache=_ref.fontCache,builtInCMapCache=_ref.builtInCMapCache;_ref=_ref.pdfFunctionFactory;_classCallCheck(this,Page);this.pdfManager=pdfManager;this.pageIndex=pageIndex;this.pageDict=pageDict;this.xref=xref;this.ref=ref;this.fontCache=fontCache;this.builtInCMapCache=builtInCMapCache;this.pdfFunctionFactory=_ref;this.evaluatorOptions=pdfManager.evaluatorOptions;this.resourcesPromise=null;var JSCompiler_object_inline_obj_1327=0;this.idFactory={createObjId:function(){return"p".concat(pageIndex,
"_").concat(++JSCompiler_object_inline_obj_1327)},getDocId:function(){return"g_".concat(pdfManager.docId)}}}_createClass(Page,[{key:"_getInheritableProperty",value:function(key){var value=(0,_core_utils.getInheritableProperty)({dict:this.pageDict,key:key,getArray:1<arguments.length&&void 0!==arguments[1]?arguments[1]:!1,stopWhenFound:!1});return Array.isArray(value)?1!==value.length&&(0,_primitives.isDict)(value[0])?_primitives.Dict.merge(this.xref,value):value[0]:value}},{key:"_getBoundingBox",value:function(name){var box=
this._getInheritableProperty(name,!0);if(Array.isArray(box)&&4===box.length){if(0!==box[2]-box[0]&&0!==box[3]-box[1])return box;(0,_util.warn)("Empty /".concat(name," entry."))}return null}},{key:"getContentStream",value:function(){var content=this.content;if(Array.isArray(content)){var xref=this.xref,streams=[],_iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _iterator=content[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=
!0)streams.push(xref.fetchIfRef(_step.value))}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&null!=_iterator["return"])_iterator["return"]()}finally{if(_didIteratorError)throw _iteratorError;}}content=new _stream2.StreamsSequenceStream(streams)}else content=(0,_primitives.isStream)(content)?content:new _stream2.NullStream;return content}},{key:"loadResources",value:function(keys){var _this=this;this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,
"resources"));return this.resourcesPromise.then(function(){return(new _obj.ObjectLoader(_this.resources,keys,_this.xref)).load()})}},{key:"getOperatorList",value:function(_ref2){var _this2=this,handler=_ref2.handler,sink=_ref2.sink,task=_ref2.task,intent=_ref2.intent,renderInteractiveForms=_ref2.renderInteractiveForms;_ref2=this.pdfManager.ensure(this,"getContentStream");var resourcesPromise=this.loadResources("ExtGState ColorSpace Pattern Shading XObject Font".split(" ")),partialEvaluator=new _evaluator.PartialEvaluator({xref:this.xref,
handler:handler,pageIndex:this.pageIndex,idFactory:this.idFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,options:this.evaluatorOptions,pdfFunctionFactory:this.pdfFunctionFactory});_ref2=Promise.all([_ref2,resourcesPromise]).then(function(_ref3){_ref3=_slicedToArray(_ref3,1)[0];var opList=new _operator_list.OperatorList(intent,sink,_this2.pageIndex);handler.send("StartRenderPage",{transparency:partialEvaluator.hasBlendModes(_this2.resources),pageIndex:_this2.pageIndex,intent:intent});
return partialEvaluator.getOperatorList({stream:_ref3,task:task,resources:_this2.resources,operatorList:opList}).then(function(){return opList})});return Promise.all([_ref2,this._parsedAnnotations]).then(function(_ref5){_ref5=_slicedToArray(_ref5,2);var pageOpList=_ref5[0];_ref5=_ref5[1];if(0===_ref5.length)return pageOpList.flush(!0),{length:pageOpList.totalLength};var opListPromises=[],_iteratorNormalCompletion2=!0,_didIteratorError2=!1,_iteratorError2=void 0;try{for(var _iterator2=_ref5[Symbol.iterator](),
_step2;!(_iteratorNormalCompletion2=(_step2=_iterator2.next()).done);_iteratorNormalCompletion2=!0){var annotation=_step2.value;isAnnotationRenderable(annotation,intent)&&opListPromises.push(annotation.getOperatorList(partialEvaluator,task,renderInteractiveForms))}}catch(err){_didIteratorError2=!0,_iteratorError2=err}finally{try{if(!_iteratorNormalCompletion2&&null!=_iterator2["return"])_iterator2["return"]()}finally{if(_didIteratorError2)throw _iteratorError2;}}return Promise.all(opListPromises).then(function(opLists){pageOpList.addOp(_util.OPS.beginAnnotations,
[]);var _iteratorNormalCompletion3=!0,_didIteratorError3=!1,_iteratorError3=void 0;try{for(var _iterator3=opLists[Symbol.iterator](),_step3;!(_iteratorNormalCompletion3=(_step3=_iterator3.next()).done);_iteratorNormalCompletion3=!0)pageOpList.addOpList(_step3.value)}catch(err$7){_didIteratorError3=!0,_iteratorError3=err$7}finally{try{if(!_iteratorNormalCompletion3&&null!=_iterator3["return"])_iterator3["return"]()}finally{if(_didIteratorError3)throw _iteratorError3;}}pageOpList.addOp(_util.OPS.endAnnotations,
[]);pageOpList.flush(!0);return{length:pageOpList.totalLength}})})}},{key:"extractTextContent",value:function(_ref7){var _this3=this,handler=_ref7.handler,task=_ref7.task,normalizeWhitespace=_ref7.normalizeWhitespace,sink=_ref7.sink,combineTextItems=_ref7.combineTextItems;_ref7=this.pdfManager.ensure(this,"getContentStream");var resourcesPromise=this.loadResources(["ExtGState","XObject","Font"]);return Promise.all([_ref7,resourcesPromise]).then(function(_ref8){_ref8=_slicedToArray(_ref8,1)[0];return(new _evaluator.PartialEvaluator({xref:_this3.xref,
handler:handler,pageIndex:_this3.pageIndex,idFactory:_this3.idFactory,fontCache:_this3.fontCache,builtInCMapCache:_this3.builtInCMapCache,options:_this3.evaluatorOptions,pdfFunctionFactory:_this3.pdfFunctionFactory})).getTextContent({stream:_ref8,task:task,resources:_this3.resources,normalizeWhitespace:normalizeWhitespace,combineTextItems:combineTextItems,sink:sink})})}},{key:"getAnnotationsData",value:function(intent){return this._parsedAnnotations.then(function(annotations){for(var annotationsData=
[],i=0,ii=annotations.length;i<ii;i++)intent&&!isAnnotationRenderable(annotations[i],intent)||annotationsData.push(annotations[i].data);return annotationsData})}},{key:"content",get:function(){return this.pageDict.get("Contents")}},{key:"resources",get:function(){return(0,_util.shadow)(this,"resources",this._getInheritableProperty("Resources")||_primitives.Dict.empty)}},{key:"mediaBox",get:function(){return(0,_util.shadow)(this,"mediaBox",this._getBoundingBox("MediaBox")||LETTER_SIZE_MEDIABOX)}},
{key:"cropBox",get:function(){return(0,_util.shadow)(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}},{key:"userUnit",get:function(){var obj=this.pageDict.get("UserUnit");if(!(0,_util.isNum)(obj)||0>=obj)obj=1;return(0,_util.shadow)(this,"userUnit",obj)}},{key:"view",get:function(){var cropBox=this.cropBox,mediaBox=this.mediaBox;if(cropBox===mediaBox||(0,_util.isArrayEqual)(cropBox,mediaBox))var view=mediaBox;else(cropBox=_util.Util.intersect(cropBox,mediaBox))&&0!==cropBox[2]-cropBox[0]&&
0!==cropBox[3]-cropBox[1]?view=cropBox:(0,_util.warn)("Empty /CropBox and /MediaBox intersection.");return(0,_util.shadow)(this,"view",view||mediaBox)}},{key:"rotate",get:function(){var rotate=this._getInheritableProperty("Rotate")||0;0!==rotate%90?rotate=0:360<=rotate?rotate%=360:0>rotate&&(rotate=(rotate%360+360)%360);return(0,_util.shadow)(this,"rotate",rotate)}},{key:"annotations",get:function(){return(0,_util.shadow)(this,"annotations",this._getInheritableProperty("Annots")||[])}},{key:"_parsedAnnotations",
get:function(){var _this4=this,parsedAnnotations=this.pdfManager.ensure(this,"annotations").then(function(){function isInkOverlapping(inkAnnotation,widgetAnnotation){widgetAnnotation=widgetAnnotation.rectangle;inkAnnotation=inkAnnotation.rectangle;return!(widgetAnnotation[0]>inkAnnotation[2]||inkAnnotation[0]>widgetAnnotation[2]||widgetAnnotation[1]>inkAnnotation[3]||inkAnnotation[1]>widgetAnnotation[3])}for(var annotationRefs=_this4.annotations,annotationPromises=[],i=0,ii=annotationRefs.length;i<
ii;i++)annotationPromises.push(_annotation.AnnotationFactory.create(_this4.xref,annotationRefs[i],_this4.pdfManager,_this4.idFactory,annotationRefs));return Promise.all(annotationPromises).then(function(annotations){var _annotations$reduce=annotations.reduce(function(acc,annot){"InkAnnotation"===annot.type&&acc[1].push(annot);"Sig"===annot.data.fieldType&&acc[0].push(annot);return acc},[[],[]]),_annotations$reduce2=_slicedToArray(_annotations$reduce,2);_annotations$reduce=_annotations$reduce2[0];
var inks=_annotations$reduce2[1];_annotations$reduce2=!0;var _didIteratorError4=!1,_iteratorError4=void 0;try{for(var _iterator4=inks[Symbol.iterator](),_step4;!(_annotations$reduce2=(_step4=_iterator4.next()).done);_annotations$reduce2=!0){var ink=_step4.value;inks=!0;var _didIteratorError5=!1,_iteratorError5=void 0;try{for(var _iterator5=_annotations$reduce[Symbol.iterator](),_step5;!(inks=(_step5=_iterator5.next()).done);inks=!0){var widget=_step5.value;isInkOverlapping(ink,widget)&&(widget.data.blockRender=
!0)}}catch(err){_didIteratorError5=!0,_iteratorError5=err}finally{try{if(!inks&&null!=_iterator5["return"])_iterator5["return"]()}finally{if(_didIteratorError5)throw _iteratorError5;}}}}catch(err$8){_didIteratorError4=!0,_iteratorError4=err$8}finally{try{if(!_annotations$reduce2&&null!=_iterator4["return"])_iterator4["return"]()}finally{if(_didIteratorError4)throw _iteratorError4;}}return annotations.filter(function(annotation){return!!annotation})},function(reason){(0,_util.warn)('_parsedAnnotations: "'.concat(reason,
'".'));return[]})});return(0,_util.shadow)(this,"_parsedAnnotations",parsedAnnotations)}}]);return Page}();exports.Page=Page;var PDF_HEADER_SIGNATURE=new Uint8Array([37,80,68,70,45]),STARTXREF_SIGNATURE=new Uint8Array([115,116,97,114,116,120,114,101,102]),ENDOBJ_SIGNATURE=new Uint8Array([101,110,100,111,98,106]);module=function(){function PDFDocument(pdfManager,arg){_classCallCheck(this,PDFDocument);if(!(0,_primitives.isStream)(arg))if((0,_util.isArrayBuffer)(arg))arg=new _stream2.Stream(arg);else throw Error("PDFDocument: Unknown argument type");
if(0>=arg.length)throw new _util.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=pdfManager;this.stream=arg;this.xref=new _obj.XRef(arg,pdfManager);this.pdfFunctionFactory=new _function.PDFFunctionFactory({xref:this.xref,isEvalSupported:pdfManager.evaluatorOptions.isEvalSupported});this._pagePromises=[]}_createClass(PDFDocument,[{key:"parse",value:function(recoveryMode){this.setup(recoveryMode);recoveryMode=this.catalog.catDict.get("Version");(0,_primitives.isName)(recoveryMode)&&
(this.pdfFormatVersion=recoveryMode.name);try{if(this.acroForm=this.catalog.catDict.get("AcroForm")){this.xfa=this.acroForm.get("XFA");var fields=this.acroForm.get("Fields");Array.isArray(fields)&&0!==fields.length||this.xfa||(this.acroForm=null)}}catch(ex){if(ex instanceof _core_utils.MissingDataException)throw ex;(0,_util.info)("Cannot fetch AcroForm entry; assuming no AcroForms are present");this.acroForm=null}try{var collection=this.catalog.catDict.get("Collection");(0,_primitives.isDict)(collection)&&
0<collection.getKeys().length&&(this.collection=collection)}catch(ex$9){if(ex$9 instanceof _core_utils.MissingDataException)throw ex$9;(0,_util.info)("Cannot fetch Collection dictionary.")}}},{key:"checkHeader",value:function(){var stream=this.stream;stream.reset();if(find(stream,PDF_HEADER_SIGNATURE)){stream.moveStart();for(var version="",ch;32<(ch=stream.getByte())&&!(12<=version.length);)version+=String.fromCharCode(ch);this.pdfFormatVersion||(this.pdfFormatVersion=version.substring(5))}}},{key:"parseStartXRef",
value:function(){this.xref.setStartXRef(this.startXRef)}},{key:"setup",value:function(recoveryMode){this.xref.parse(recoveryMode);this.catalog=new _obj.Catalog(this.pdfManager,this.xref)}},{key:"_getLinearizationPage",value:function(pageIndex){var catalog=this.catalog,linearization=this.linearization;(0,_util.assert)(linearization&&linearization.pageFirst===pageIndex);var ref=_primitives.Ref.get(linearization.objectNumberFirst,0);return this.xref.fetchAsync(ref).then(function(obj){if((0,_primitives.isDict)(obj,
"Page")||(0,_primitives.isDict)(obj)&&!obj.has("Type")&&obj.has("Contents"))return ref&&!catalog.pageKidsCountCache.has(ref)&&catalog.pageKidsCountCache.put(ref,1),[obj,ref];throw new _util.FormatError("The Linearization dictionary doesn't point to a valid Page dictionary.");})["catch"](function(reason){(0,_util.info)(reason);return catalog.getPageDict(pageIndex)})}},{key:"getPage",value:function(pageIndex){var _this5=this;if(void 0!==this._pagePromises[pageIndex])return this._pagePromises[pageIndex];
var catalog=this.catalog,linearization=this.linearization;linearization=linearization&&linearization.pageFirst===pageIndex?this._getLinearizationPage(pageIndex):catalog.getPageDict(pageIndex);return this._pagePromises[pageIndex]=linearization.then(function(_ref10){_ref10=_slicedToArray(_ref10,2);return new Page({pdfManager:_this5.pdfManager,xref:_this5.xref,pageIndex:pageIndex,pageDict:_ref10[0],ref:_ref10[1],fontCache:catalog.fontCache,builtInCMapCache:catalog.builtInCMapCache,pdfFunctionFactory:_this5.pdfFunctionFactory})})}},
{key:"checkFirstPage",value:function(){var _this6=this;return this.getPage(0)["catch"](function(){var _ref12=_asyncToGenerator(_regenerator["default"].mark(function _callee(reason){return _regenerator["default"].wrap(function(_context){for(;;)switch(_context.prev=_context.next){case 0:if(!(reason instanceof _core_utils.XRefEntryException)){_context.next=5;break}_this6._pagePromises.length=0;_context.next=4;return _this6.cleanup();case 4:throw new _core_utils.XRefParseException;case 5:case "end":return _context.stop()}},
_callee)}));return function(_x){return _ref12.apply(this,arguments)}}())}},{key:"fontFallback",value:function(id,handler){return this.catalog.fontFallback(id,handler)}},{key:"cleanup",value:function(){return this.catalog.cleanup()}},{key:"linearization",get:function(){var linearization=null;try{linearization=_parser.Linearization.create(this.stream)}catch(err){if(err instanceof _core_utils.MissingDataException)throw err;(0,_util.info)(err)}return(0,_util.shadow)(this,"linearization",linearization)}},
{key:"startXRef",get:function(){var stream=this.stream,startXRef=0;if(this.linearization)stream.reset(),find(stream,ENDOBJ_SIGNATURE)&&(startXRef=stream.pos+6-stream.start);else{for(var startXRefLength=STARTXREF_SIGNATURE.length,found=!1,pos=stream.end;!found&&0<pos;)pos-=1024-startXRefLength,0>pos&&(pos=0),stream.pos=pos,found=find(stream,STARTXREF_SIGNATURE,1024,!0);if(found){stream.skip(9);do startXRef=stream.getByte();while((0,_util.isSpace)(startXRef));for(startXRefLength="";32<=startXRef&&57>=
startXRef;)startXRefLength+=String.fromCharCode(startXRef),startXRef=stream.getByte();startXRef=parseInt(startXRefLength,10);isNaN(startXRef)&&(startXRef=0)}}return(0,_util.shadow)(this,"startXRef",startXRef)}},{key:"numPages",get:function(){var linearization=this.linearization;return(0,_util.shadow)(this,"numPages",linearization?linearization.numPages:this.catalog.numPages)}},{key:"documentInfo",get:function(){var DocumentInfoValidators={Title:_util.isString,Author:_util.isString,Subject:_util.isString,
Keywords:_util.isString,Creator:_util.isString,Producer:_util.isString,CreationDate:_util.isString,ModDate:_util.isString,Trapped:_primitives.isName},docInfo={PDFFormatVersion:this.pdfFormatVersion,IsLinearized:!!this.linearization,IsAcroFormPresent:!!this.acroForm,IsXFAPresent:!!this.xfa,IsCollectionPresent:!!this.collection};try{var infoDict=this.xref.trailer.get("Info")}catch(err){if(err instanceof _core_utils.MissingDataException)throw err;(0,_util.info)("The document information dictionary is invalid.")}if((0,_primitives.isDict)(infoDict)){var _iteratorNormalCompletion6=
!0,_didIteratorError6=!1,_iteratorError6=void 0;try{for(var _iterator6=infoDict.getKeys()[Symbol.iterator](),_step6;!(_iteratorNormalCompletion6=(_step6=_iterator6.next()).done);_iteratorNormalCompletion6=!0){var key=_step6.value,value=infoDict.get(key);if(DocumentInfoValidators[key])DocumentInfoValidators[key](value)?docInfo[key]="string"!==typeof value?value:(0,_util.stringToPDFString)(value):(0,_util.info)('Bad value in document info for "'.concat(key,'".'));else if("string"===typeof key){var customValue=
void 0;if((0,_util.isString)(value))customValue=(0,_util.stringToPDFString)(value);else if((0,_primitives.isName)(value)||(0,_util.isNum)(value)||(0,_util.isBool)(value))customValue=value;else{(0,_util.info)('Unsupported value in document info for (custom) "'.concat(key,'".'));continue}docInfo.Custom||(docInfo.Custom=Object.create(null));docInfo.Custom[key]=customValue}}}catch(err$10){_didIteratorError6=!0,_iteratorError6=err$10}finally{try{if(!_iteratorNormalCompletion6&&null!=_iterator6["return"])_iterator6["return"]()}finally{if(_didIteratorError6)throw _iteratorError6;
}}}return(0,_util.shadow)(this,"documentInfo",docInfo)}},{key:"fingerprint",get:function(){var hash=this.xref.trailer.get("ID");hash=Array.isArray(hash)&&hash[0]&&(0,_util.isString)(hash[0])&&"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"!==hash[0]?(0,_util.stringToBytes)(hash[0]):(0,_crypto.calculateMD5)(this.stream.getByteRange(0,1024),0,1024);for(var fingerprintBuf=[],i=0,ii=hash.length;i<ii;i++){var hex=hash[i].toString(16);fingerprintBuf.push(hex.padStart(2,"0"))}return(0,_util.shadow)(this,
"fingerprint",fingerprintBuf.join(""))}}]);return PDFDocument}();exports.PDFDocument=module},function(module,exports,__w_pdfjs_require__){function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o$jscomp$0){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||
Object.getPrototypeOf(o)};return _getPrototypeOf(o$jscomp$0)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p$jscomp$0){_setPrototypeOf=Object.setPrototypeOf||function(o,
p){o.__proto__=p;return o};return _setPrototypeOf(o$jscomp$0,p$jscomp$0)}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){reject(error);return}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,
resolve,reject,_next,_throw,"throw",err)}var gen=fn.apply(self,args);_next(void 0)})}}function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");
}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function fetchDestination(dest){return(0,_primitives.isDict)(dest)?
dest.get("D"):dest}Object.defineProperty(exports,"__esModule",{value:!0});exports.FileSpec=exports.XRef=exports.ObjectLoader=exports.Catalog=void 0;var _regenerator=function(obj){return obj&&obj.__esModule?obj:{"default":obj}}(__w_pdfjs_require__(2)),_util=__w_pdfjs_require__(5),_primitives=__w_pdfjs_require__(188),_parser=__w_pdfjs_require__(194),_core_utils=__w_pdfjs_require__(191),_crypto=__w_pdfjs_require__(205),_colorspace=__w_pdfjs_require__(206);module=function(){function Catalog(pdfManager,
xref){_classCallCheck(this,Catalog);this.pdfManager=pdfManager;this.xref=xref;this.catDict=xref.getCatalogObj();if(!(0,_primitives.isDict)(this.catDict))throw new _util.FormatError("Catalog object is not a dictionary.");this.fontCache=new _primitives.RefSetCache;this.builtInCMapCache=new Map;this.pageKidsCountCache=new _primitives.RefSetCache}_createClass(Catalog,[{key:"_readDocumentOutline",value:function(){var obj=this.catDict.get("Outlines");if(!(0,_primitives.isDict)(obj))return null;obj=obj.getRaw("First");
if(!(0,_primitives.isRef)(obj))return null;var root={items:[]},queue=[{obj:obj,parent:root}],processed=new _primitives.RefSet;processed.put(obj);for(var xref=this.xref,blackColor=new Uint8ClampedArray(3);0<queue.length;){var i=queue.shift(),outlineDict=xref.fetchIfRef(i.obj);if(null!==outlineDict){if(!outlineDict.has("Title"))throw new _util.FormatError("Invalid outline item encountered.");obj={url:null,dest:null};Catalog.parseDestDictionary({destDict:outlineDict,resultObj:obj,docBaseUrl:this.pdfManager.docBaseUrl});
var title=outlineDict.get("Title"),flags=outlineDict.get("F")||0,color=outlineDict.getArray("C"),count=outlineDict.get("Count"),rgbColor=blackColor;!Array.isArray(color)||3!==color.length||0===color[0]&&0===color[1]&&0===color[2]||(rgbColor=_colorspace.ColorSpace.singletons.rgb.getRgb(color,0));title={dest:obj.dest,url:obj.url,unsafeUrl:obj.unsafeUrl,newWindow:obj.newWindow,title:(0,_util.stringToPDFString)(title),color:rgbColor,count:Number.isInteger(count)?count:void 0,bold:!!(flags&2),italic:!!(flags&
1),items:[]};i.parent.items.push(title);obj=outlineDict.getRaw("First");(0,_primitives.isRef)(obj)&&!processed.has(obj)&&(queue.push({obj:obj,parent:title}),processed.put(obj));obj=outlineDict.getRaw("Next");(0,_primitives.isRef)(obj)&&!processed.has(obj)&&(queue.push({obj:obj,parent:i.parent}),processed.put(obj))}}return 0<root.items.length?root.items:null}},{key:"_readPermissions",value:function(){var encrypt=this.xref.trailer.get("Encrypt");if(!(0,_primitives.isDict)(encrypt))return null;encrypt=
encrypt.get("P");if(!(0,_util.isNum)(encrypt))return null;encrypt+=Math.pow(2,32);var permissions=[],key;for(key in _util.PermissionFlag){var value=_util.PermissionFlag[key];encrypt&value&&permissions.push(value)}return permissions}},{key:"getDestination",value:function(destinationId){var obj=this._readDests();return obj instanceof NameTree||obj instanceof _primitives.Dict?fetchDestination(obj.get(destinationId)||null):null}},{key:"_readDests",value:function(){var obj=this.catDict.get("Names");if(obj&&
obj.has("Dests"))return new NameTree(obj.getRaw("Dests"),this.xref);if(this.catDict.has("Dests"))return this.catDict.get("Dests")}},{key:"_readPageLabels",value:function(){var obj=this.catDict.getRaw("PageLabels");if(!obj)return null;var pageLabels=Array(this.numPages),style=null,prefix="";obj=(new NumberTree(obj,this.xref)).getAll();for(var currentLabel,currentIndex=1,i=0,ii=this.numPages;i<ii;i++){if(i in obj){currentIndex=obj[i];if(!(0,_primitives.isDict)(currentIndex))throw new _util.FormatError("PageLabel is not a dictionary.");
if(currentIndex.has("Type")&&!(0,_primitives.isName)(currentIndex.get("Type"),"PageLabel"))throw new _util.FormatError("Invalid type in PageLabel dictionary.");if(currentIndex.has("S")){style=currentIndex.get("S");if(!(0,_primitives.isName)(style))throw new _util.FormatError("Invalid style in PageLabel dictionary.");style=style.name}else style=null;if(currentIndex.has("P")){prefix=currentIndex.get("P");if(!(0,_util.isString)(prefix))throw new _util.FormatError("Invalid prefix in PageLabel dictionary.");
prefix=(0,_util.stringToPDFString)(prefix)}else prefix="";if(currentIndex.has("St")){if(currentIndex=currentIndex.get("St"),!(Number.isInteger(currentIndex)&&1<=currentIndex))throw new _util.FormatError("Invalid start in PageLabel dictionary.");}else currentIndex=1}switch(style){case "D":currentLabel=currentIndex;break;case "R":case "r":currentLabel=(0,_core_utils.toRomanNumerals)(currentIndex,"r"===style);break;case "A":case "a":var letterIndex=currentIndex-1;currentLabel=String.fromCharCode(("a"===
style?97:65)+letterIndex%26);var charBuf=[],j=0;for(letterIndex=letterIndex/26|0;j<=letterIndex;j++)charBuf.push(currentLabel);currentLabel=charBuf.join("");break;default:if(style)throw new _util.FormatError('Invalid style "'.concat(style,'" in PageLabel dictionary.'));currentLabel=""}pageLabels[i]=prefix+currentLabel;currentIndex++}return pageLabels}},{key:"fontFallback",value:function(id,handler){var promises=[];this.fontCache.forEach(function(promise){promises.push(promise)});return Promise.all(promises).then(function(translatedFonts){var _iteratorNormalCompletion=
!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _iterator=translatedFonts[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var translatedFont=_step.value;if(translatedFont.loadedName===id){translatedFont.fallback(handler);break}}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&null!=_iterator["return"])_iterator["return"]()}finally{if(_didIteratorError)throw _iteratorError;}}})}},
{key:"cleanup",value:function(){var _this=this;(0,_primitives.clearPrimitiveCaches)();this.pageKidsCountCache.clear();var promises=[];this.fontCache.forEach(function(promise){promises.push(promise)});return Promise.all(promises).then(function(translatedFonts){var _iteratorNormalCompletion2=!0,_didIteratorError2=!1,_iteratorError2=void 0;try{for(var _iterator2=translatedFonts[Symbol.iterator](),_step2;!(_iteratorNormalCompletion2=(_step2=_iterator2.next()).done);_iteratorNormalCompletion2=!0)delete _step2.value.dict.translated}catch(err){_didIteratorError2=
!0,_iteratorError2=err}finally{try{if(!_iteratorNormalCompletion2&&null!=_iterator2["return"])_iterator2["return"]()}finally{if(_didIteratorError2)throw _iteratorError2;}}_this.fontCache.clear();_this.builtInCMapCache.clear()})}},{key:"getPageDict",value:function(pageIndex){function next(){for(var _loop=function(){var currentNode=nodesToVisit.pop();if((0,_primitives.isRef)(currentNode)){count=pageKidsCountCache.get(currentNode);if(0<count&&currentPageIndex+count<pageIndex)return currentPageIndex+=
count,"continue";xref.fetchAsync(currentNode).then(function(obj){(0,_primitives.isDict)(obj,"Page")||(0,_primitives.isDict)(obj)&&!obj.has("Kids")?pageIndex===currentPageIndex?(currentNode&&!pageKidsCountCache.has(currentNode)&&pageKidsCountCache.put(currentNode,1),capability.resolve([obj,currentNode])):(currentPageIndex++,next()):(nodesToVisit.push(obj),next())},capability.reject);return{v:void 0}}if(!(0,_primitives.isDict)(currentNode))return capability.reject(new _util.FormatError("Page dictionary kid reference points to wrong type of object.")),
{v:void 0};count=currentNode.get("Count");if(Number.isInteger(count)&&0<=count){var objId=currentNode.objId;objId&&!pageKidsCountCache.has(objId)&&pageKidsCountCache.put(objId,count);if(currentPageIndex+count<=pageIndex)return currentPageIndex+=count,"continue"}objId=currentNode.get("Kids");if(!Array.isArray(objId)){if((0,_primitives.isName)(currentNode.get("Type"),"Page")||!currentNode.has("Type")&&currentNode.has("Contents")){if(currentPageIndex===pageIndex)return capability.resolve([currentNode,
null]),{v:void 0};currentPageIndex++;return"continue"}capability.reject(new _util.FormatError("Page dictionary kids object is not an array."));return{v:void 0}}for(var last=objId.length-1;0<=last;last--)nodesToVisit.push(objId[last])};nodesToVisit.length;){var _ret=_loop();switch(_ret){case "continue":continue;default:if("object"===_typeof(_ret))return _ret.v}}capability.reject(Error("Page index ".concat(pageIndex," not found.")))}var capability=(0,_util.createPromiseCapability)(),nodesToVisit=[this.catDict.getRaw("Pages")],
xref=this.xref,pageKidsCountCache=this.pageKidsCountCache,count,currentPageIndex=0;next();return capability.promise}},{key:"getPageIndex",value:function(pageRef){function pagesBeforeRef(kidRef){var total=0,parentRef;return xref.fetchAsync(kidRef).then(function(node){if((0,_primitives.isRefsEqual)(kidRef,pageRef)&&!(0,_primitives.isDict)(node,"Page")&&(!(0,_primitives.isDict)(node)||node.has("Type")||!node.has("Contents")))throw new _util.FormatError("The reference does not point to a /Page dictionary.");
if(!node)return null;if(!(0,_primitives.isDict)(node))throw new _util.FormatError("Node must be a dictionary.");parentRef=node.getRaw("Parent");return node.getAsync("Parent")}).then(function(parent){if(!parent)return null;if(!(0,_primitives.isDict)(parent))throw new _util.FormatError("Parent must be a dictionary.");return parent.getAsync("Kids")}).then(function(kids){if(!kids)return null;for(var kidPromises=[],found=!1,i=0,ii=kids.length;i<ii;i++){var kid=kids[i];if(!(0,_primitives.isRef)(kid))throw new _util.FormatError("Kid must be a reference.");
if((0,_primitives.isRefsEqual)(kid,kidRef)){found=!0;break}kidPromises.push(xref.fetchAsync(kid).then(function(kid){if(!(0,_primitives.isDict)(kid))throw new _util.FormatError("Kid node must be a dictionary.");kid.has("Count")?total+=kid.get("Count"):total++}))}if(!found)throw new _util.FormatError("Kid reference not found in parent's kids.");return Promise.all(kidPromises).then(function(){return[total,parentRef]})})}function next(ref){return pagesBeforeRef(ref).then(function(args){if(!args)return total;
var JSCompiler_temp=Array.isArray(args)?args:void 0;if(!JSCompiler_temp)if(Symbol.iterator in Object(args)||"[object Arguments]"===Object.prototype.toString.call(args)){JSCompiler_temp=[];var _n=!0,_d=!1,_e=void 0;try{for(var _i=args[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done)&&(JSCompiler_temp.push(_s.value),2!==JSCompiler_temp.length);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i["return"])_i["return"]()}finally{if(_d)throw _e;}}}else JSCompiler_temp=void 0;if(!(args=JSCompiler_temp))throw new TypeError("Invalid attempt to destructure non-iterable instance");
_i=args[1];total+=args[0];return next(_i)})}var xref=this.xref,total=0;return next(pageRef)}},{key:"metadata",get:function(){var streamRef=this.catDict.getRaw("Metadata");if(!(0,_primitives.isRef)(streamRef))return(0,_util.shadow)(this,"metadata",null);streamRef=this.xref.fetch(streamRef,!(this.xref.encrypt&&this.xref.encrypt.encryptMetadata));if(streamRef&&(0,_primitives.isDict)(streamRef.dict)){var type=streamRef.dict.get("Type"),subtype=streamRef.dict.get("Subtype");if((0,_primitives.isName)(type,
"Metadata")&&(0,_primitives.isName)(subtype,"XML"))try{var metadata=(0,_util.stringToUTF8String)((0,_util.bytesToString)(streamRef.getBytes()))}catch(e){if(e instanceof _core_utils.MissingDataException)throw e;(0,_util.info)("Skipping invalid metadata.")}}return(0,_util.shadow)(this,"metadata",metadata)}},{key:"toplevelPagesDict",get:function(){var pagesObj=this.catDict.get("Pages");if(!(0,_primitives.isDict)(pagesObj))throw new _util.FormatError("Invalid top-level pages dictionary.");return(0,_util.shadow)(this,
"toplevelPagesDict",pagesObj)}},{key:"documentOutline",get:function(){var obj=null;try{obj=this._readDocumentOutline()}catch(ex){if(ex instanceof _core_utils.MissingDataException)throw ex;(0,_util.warn)("Unable to read document outline.")}return(0,_util.shadow)(this,"documentOutline",obj)}},{key:"permissions",get:function(){var permissions=null;try{permissions=this._readPermissions()}catch(ex){if(ex instanceof _core_utils.MissingDataException)throw ex;(0,_util.warn)("Unable to read permissions.")}return(0,_util.shadow)(this,
"permissions",permissions)}},{key:"numPages",get:function(){var obj=this.toplevelPagesDict.get("Count");if(!Number.isInteger(obj))throw new _util.FormatError("Page count in top-level pages dictionary is not an integer.");return(0,_util.shadow)(this,"numPages",obj)}},{key:"destinations",get:function(){var obj=this._readDests(),dests=Object.create(null);if(obj instanceof NameTree){obj=obj.getAll();for(var name in obj)dests[name]=fetchDestination(obj[name])}else obj instanceof _primitives.Dict&&obj.forEach(function(key,
value){value&&(dests[key]=fetchDestination(value))});return(0,_util.shadow)(this,"destinations",dests)}},{key:"pageLabels",get:function(){var obj=null;try{obj=this._readPageLabels()}catch(ex){if(ex instanceof _core_utils.MissingDataException)throw ex;(0,_util.warn)("Unable to read page labels.")}return(0,_util.shadow)(this,"pageLabels",obj)}},{key:"pageLayout",get:function(){var obj=this.catDict.get("PageLayout"),pageLayout="";if((0,_primitives.isName)(obj))switch(obj.name){case "SinglePage":case "OneColumn":case "TwoColumnLeft":case "TwoColumnRight":case "TwoPageLeft":case "TwoPageRight":pageLayout=
obj.name}return(0,_util.shadow)(this,"pageLayout",pageLayout)}},{key:"pageMode",get:function(){var obj=this.catDict.get("PageMode"),pageMode="UseNone";if((0,_primitives.isName)(obj))switch(obj.name){case "UseNone":case "UseOutlines":case "UseThumbs":case "FullScreen":case "UseOC":case "UseAttachments":pageMode=obj.name}return(0,_util.shadow)(this,"pageMode",pageMode)}},{key:"viewerPreferences",get:function(){var _this2=this,ViewerPreferencesValidators={HideToolbar:_util.isBool,HideMenubar:_util.isBool,
HideWindowUI:_util.isBool,FitWindow:_util.isBool,CenterWindow:_util.isBool,DisplayDocTitle:_util.isBool,NonFullScreenPageMode:_primitives.isName,Direction:_primitives.isName,ViewArea:_primitives.isName,ViewClip:_primitives.isName,PrintArea:_primitives.isName,PrintClip:_primitives.isName,PrintScaling:_primitives.isName,Duplex:_primitives.isName,PickTrayByPDFSize:_util.isBool,PrintPageRange:Array.isArray,NumCopies:Number.isInteger},obj=this.catDict.get("ViewerPreferences"),prefs=Object.create(null);
if((0,_primitives.isDict)(obj))for(var key in ViewerPreferencesValidators)if(obj.has(key)){var value=obj.get(key);if(ViewerPreferencesValidators[key](value)){var prefValue=void 0;switch(key){case "NonFullScreenPageMode":switch(value.name){case "UseNone":case "UseOutlines":case "UseThumbs":case "UseOC":prefValue=value.name;break;default:prefValue="UseNone"}break;case "Direction":switch(value.name){case "L2R":case "R2L":prefValue=value.name;break;default:prefValue="L2R"}break;case "ViewArea":case "ViewClip":case "PrintArea":case "PrintClip":switch(value.name){case "MediaBox":case "CropBox":case "BleedBox":case "TrimBox":case "ArtBox":prefValue=
value.name;break;default:prefValue="CropBox"}break;case "PrintScaling":switch(value.name){case "None":case "AppDefault":prefValue=value.name;break;default:prefValue="AppDefault"}break;case "Duplex":switch(value.name){case "Simplex":case "DuplexFlipShortEdge":case "DuplexFlipLongEdge":prefValue=value.name;break;default:prefValue="None"}break;case "PrintPageRange":if(0!==value.length%2)break;value.every(function(page,i,arr){return Number.isInteger(page)&&0<page&&(0===i||page>=arr[i-1])&&page<=_this2.numPages})&&
(prefValue=value);break;case "NumCopies":0<value&&(prefValue=value);break;default:(0,_util.assert)("boolean"===typeof value),prefValue=value}void 0!==prefValue?prefs[key]=prefValue:(0,_util.info)('Bad value in ViewerPreferences for "'.concat(key,'".'))}else(0,_util.info)('Bad value in ViewerPreferences for "'.concat(key,'".'))}return(0,_util.shadow)(this,"viewerPreferences",prefs)}},{key:"openActionDestination",get:function(){var obj=this.catDict.get("OpenAction"),openActionDest=null;if((0,_primitives.isDict)(obj)){var destDict=
new _primitives.Dict(this.xref);destDict.set("A",obj);obj={url:null,dest:null};Catalog.parseDestDictionary({destDict:destDict,resultObj:obj});Array.isArray(obj.dest)&&(openActionDest=obj.dest)}else Array.isArray(obj)&&(openActionDest=obj);return(0,_util.shadow)(this,"openActionDestination",openActionDest)}},{key:"attachments",get:function(){var obj=this.catDict.get("Names"),attachments=null;if(obj&&obj.has("EmbeddedFiles")){obj=(new NameTree(obj.getRaw("EmbeddedFiles"),this.xref)).getAll();for(var name in obj){var fs=
new FileSpec(obj[name],this.xref);attachments||(attachments=Object.create(null));attachments[(0,_util.stringToPDFString)(name)]=fs.serializable}}return(0,_util.shadow)(this,"attachments",attachments)}},{key:"javaScript",get:function(){function appendIfJavaScriptDict(jsDict){var type=jsDict.get("S");if((0,_primitives.isName)(type,"JavaScript")){jsDict=jsDict.get("JS");if((0,_primitives.isStream)(jsDict))jsDict=(0,_util.bytesToString)(jsDict.getBytes());else if(!(0,_util.isString)(jsDict))return;javaScript||
(javaScript=[]);javaScript.push((0,_util.stringToPDFString)(jsDict))}}var obj=this.catDict.get("Names"),javaScript=null;if(obj&&obj.has("JavaScript")){obj=(new NameTree(obj.getRaw("JavaScript"),this.xref)).getAll();for(var name in obj){var jsDict=obj[name];(0,_primitives.isDict)(jsDict)&&appendIfJavaScriptDict(jsDict)}}name=this.catDict.get("OpenAction");!(0,_primitives.isDict)(name)||!(0,_primitives.isName)(name.get("Type"),"Action")&&name.has("Type")||(obj=name.get("S"),(0,_primitives.isName)(obj,
"Named")?(name=name.get("N"),(0,_primitives.isName)(name,"Print")&&(javaScript||(javaScript=[]),javaScript.push("print({});"))):appendIfJavaScriptDict(name));return(0,_util.shadow)(this,"javaScript",javaScript)}}],[{key:"parseDestDictionary",value:function(params){function addDefaultProtocolToUrl(url){return url.startsWith("www.")?"http://".concat(url):url}function tryConvertUrlEncoding(url){try{return(0,_util.stringToUTF8String)(url)}catch(e){return url}}var destDict=params.destDict;if((0,_primitives.isDict)(destDict)){var resultObj=
params.resultObj;if("object"!==_typeof(resultObj))(0,_util.warn)("parseDestDictionary: `resultObj` must be an object.");else{params=params.docBaseUrl||null;var action$jscomp$0=destDict.get("A");!(0,_primitives.isDict)(action$jscomp$0)&&destDict.has("Dest")&&(action$jscomp$0=destDict.get("Dest"));if((0,_primitives.isDict)(action$jscomp$0)){var actionType$jscomp$0=action$jscomp$0.get("S");if(!(0,_primitives.isName)(actionType$jscomp$0)){(0,_util.warn)("parseDestDictionary: Invalid type in Action dictionary.");
return}resultObj.extraActions={};actionType$jscomp$0=actionType$jscomp$0.name;switch(actionType$jscomp$0){case "Hide":resultObj.extraActions.hide={H:action$jscomp$0.get("H"),T:action$jscomp$0.get("T")};break;case "ResetForm":resultObj.extraActions.reset={Fields:action$jscomp$0.get("Fields"),Flags:action$jscomp$0.get("Flags")};break;case "URI":var url$jscomp$0=action$jscomp$0.get("URI");(0,_primitives.isName)(url$jscomp$0)?url$jscomp$0="/"+url$jscomp$0.name:(0,_util.isString)(url$jscomp$0)&&(url$jscomp$0=
addDefaultProtocolToUrl(url$jscomp$0));break;case "GoTo":var dest=action$jscomp$0.get("D");break;case "Launch":case "GoToR":var urlDict=action$jscomp$0.get("F");(0,_primitives.isDict)(urlDict)?url$jscomp$0=urlDict.get("F")||null:(0,_util.isString)(urlDict)&&(url$jscomp$0=urlDict);if(urlDict=action$jscomp$0.get("D"))(0,_primitives.isName)(urlDict)&&(urlDict=urlDict.name),(0,_util.isString)(url$jscomp$0)&&(actionType$jscomp$0=url$jscomp$0.split("#")[0],(0,_util.isString)(urlDict)?url$jscomp$0=actionType$jscomp$0+
"#"+urlDict:Array.isArray(urlDict)&&(url$jscomp$0=actionType$jscomp$0+"#"+JSON.stringify(urlDict)));action$jscomp$0=action$jscomp$0.get("NewWindow");(0,_util.isBool)(action$jscomp$0)&&(resultObj.newWindow=action$jscomp$0);break;case "Named":action$jscomp$0=action$jscomp$0.get("N");(0,_primitives.isName)(action$jscomp$0)&&(resultObj.action=action$jscomp$0.name);break;case "JavaScript":action$jscomp$0=action$jscomp$0.get("JS");(0,_primitives.isStream)(action$jscomp$0)?urlDict=(0,_util.bytesToString)(action$jscomp$0.getBytes()):
(0,_util.isString)(action$jscomp$0)&&(urlDict=action$jscomp$0);urlDict&&(resultObj.extraActions.javascript={js:urlDict},(action$jscomp$0=RegExp("^\\s*(app\\.launchURL|window\\.open)\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i").exec((0,_util.stringToPDFString)(urlDict)))&&action$jscomp$0[2]&&(url$jscomp$0=action$jscomp$0[2],"true"===action$jscomp$0[3]&&"app.launchURL"===action$jscomp$0[1]&&(resultObj.newWindow=!0)));break;default:(0,_util.warn)('parseDestDictionary: unsupported action type "'.concat(actionType$jscomp$0,
'".'))}}else destDict.has("Dest")&&(dest=destDict.get("Dest"));if((0,_util.isString)(url$jscomp$0)){url$jscomp$0=tryConvertUrlEncoding(url$jscomp$0);if(params=(0,_util.createValidAbsoluteUrl)(url$jscomp$0,params))resultObj.url=params.href;resultObj.unsafeUrl=url$jscomp$0}dest&&((0,_primitives.isName)(dest)&&(dest=dest.name),(0,_util.isString)(dest)||Array.isArray(dest))&&(resultObj.dest=dest);url$jscomp$0=function(action,actionType){if(action&&(action=action.get("JS"))){var _js;(0,_primitives.isStream)(action)?
_js=(0,_util.bytesToString)(action.getBytes()):(0,_util.isString)(action)&&(_js=action);resultObj.additionalActions=resultObj.additionalActions||{};resultObj.additionalActions[actionType]={js:_js,actionType:actionType};"C"===actionType&&(_js=destDict.xref.topDict.get("Root").get("AcroForm").get("CO"),resultObj.additionalActions[actionType].calculationOrder=_js.reduce(function(acc,element){element=destDict.xref.fetchIfRef(element).get("T");acc.push(element);return acc},[]))}};dest=destDict.get("AA");
(0,_primitives.isDict)(dest)&&(url$jscomp$0(dest.get("K"),"K"),url$jscomp$0(dest.get("F"),"F"),url$jscomp$0(dest.get("V"),"V"),url$jscomp$0(dest.get("C"),"C"))}}else(0,_util.warn)("parseDestDictionary: `destDict` must be a dictionary.")}}]);return Catalog}();exports.Catalog=module;module=function(){function XRef(stream,pdfManager){this.stream=stream;this.pdfManager=pdfManager;this.entries=[];this.xrefstms=Object.create(null);this._cacheMap=new Map;this.stats={streamTypes:Object.create(null),fontTypes:Object.create(null)}}
XRef.prototype={setStartXRef:function(startXRef){this.startXRefQueue=[startXRef]},parse:function(recoveryMode){if(recoveryMode){(0,_util.warn)("Indexing all PDF objects");var trailerDict=this.indexObjects()}else trailerDict=this.readXRef();trailerDict.assignXref(this);this.trailer=trailerDict;try{var encrypt=trailerDict.get("Encrypt")}catch(ex){if(ex instanceof _core_utils.MissingDataException)throw ex;(0,_util.warn)('XRef.parse - Invalid "Encrypt" reference: "'.concat(ex,'".'))}if((0,_primitives.isDict)(encrypt)){var ids=
trailerDict.get("ID");ids=ids&&ids.length?ids[0]:"";encrypt.suppressEncryption=!0;this.encrypt=new _crypto.CipherTransformFactory(encrypt,ids,this.pdfManager.password)}try{var root=trailerDict.get("Root")}catch(ex$11){if(ex$11 instanceof _core_utils.MissingDataException)throw ex$11;(0,_util.warn)('XRef.parse - Invalid "Root" reference: "'.concat(ex$11,'".'))}if((0,_primitives.isDict)(root)&&root.has("Pages"))this.root=root;else{if(!recoveryMode)throw new _core_utils.XRefParseException;throw new _util.FormatError("Invalid root reference");
}},processXRefTable:function(parser){"tableState"in this||(this.tableState={entryNum:0,streamPos:parser.lexer.stream.pos,parserBuf1:parser.buf1,parserBuf2:parser.buf2});var obj=this.readXRefTable(parser);if(!(0,_primitives.isCmd)(obj,"trailer"))throw new _util.FormatError("Invalid XRef table: could not find trailer dictionary");parser=parser.getObj();!(0,_primitives.isDict)(parser)&&parser.dict&&(parser=parser.dict);if(!(0,_primitives.isDict)(parser))throw new _util.FormatError("Invalid XRef table: could not parse trailer dictionary");
delete this.tableState;return parser},readXRefTable:function(parser){var stream=parser.lexer.stream,tableState=this.tableState;stream.pos=tableState.streamPos;parser.buf1=tableState.parserBuf1;parser.buf2=tableState.parserBuf2;for(var obj;;){if(!("firstEntryNum"in tableState&&"entryCount"in tableState)){if((0,_primitives.isCmd)(obj=parser.getObj(),"trailer"))break;tableState.firstEntryNum=obj;tableState.entryCount=parser.getObj()}obj=tableState.firstEntryNum;var count=tableState.entryCount;if(!Number.isInteger(obj)||
!Number.isInteger(count))throw new _util.FormatError("Invalid XRef table: wrong types in subsection header");for(var i=tableState.entryNum;i<count;i++){tableState.streamPos=stream.pos;tableState.entryNum=i;tableState.parserBuf1=parser.buf1;tableState.parserBuf2=parser.buf2;var entry={};entry.offset=parser.getObj();entry.gen=parser.getObj();var type=parser.getObj();if(type instanceof _primitives.Cmd)switch(type.cmd){case "f":entry.free=!0;break;case "n":entry.uncompressed=!0}if(!Number.isInteger(entry.offset)||
!Number.isInteger(entry.gen)||!entry.free&&!entry.uncompressed)throw new _util.FormatError("Invalid entry in XRef subsection: ".concat(obj,", ").concat(count));0===i&&entry.free&&1===obj&&(obj=0);this.entries[i+obj]||(this.entries[i+obj]=entry)}tableState.entryNum=0;tableState.streamPos=stream.pos;tableState.parserBuf1=parser.buf1;tableState.parserBuf2=parser.buf2;delete tableState.firstEntryNum;delete tableState.entryCount}if(this.entries[0]&&!this.entries[0].free)throw new _util.FormatError("Invalid XRef table: unexpected first object");
return obj},processXRefStream:function(stream){if(!("streamState"in this)){var streamParameters=stream.dict,byteWidths=streamParameters.get("W"),range=streamParameters.get("Index");range||(range=[0,streamParameters.get("Size")]);this.streamState={entryRanges:range,byteWidths:byteWidths,entryNum:0,streamPos:stream.pos}}this.readXRefStream(stream);delete this.streamState;return stream.dict},readXRefStream:function(stream){var j,streamState=this.streamState;stream.pos=streamState.streamPos;var i=streamState.byteWidths;
for(var typeFieldWidth=i[0],offsetFieldWidth=i[1],generationFieldWidth=i[2],entryRanges=streamState.entryRanges;0<entryRanges.length;){var first=entryRanges[0],n=entryRanges[1];if(!Number.isInteger(first)||!Number.isInteger(n))throw new _util.FormatError("Invalid XRef range fields: ".concat(first,", ").concat(n));if(!Number.isInteger(typeFieldWidth)||!Number.isInteger(offsetFieldWidth)||!Number.isInteger(generationFieldWidth))throw new _util.FormatError("Invalid XRef entry fields length: ".concat(first,
", ").concat(n));for(i=streamState.entryNum;i<n;++i){streamState.entryNum=i;streamState.streamPos=stream.pos;var type=0,offset=0,generation=0;for(j=0;j<typeFieldWidth;++j)type=type<<8|stream.getByte();0===typeFieldWidth&&(type=1);for(j=0;j<offsetFieldWidth;++j)offset=offset<<8|stream.getByte();for(j=0;j<generationFieldWidth;++j)generation=generation<<8|stream.getByte();j={};j.offset=offset;j.gen=generation;switch(type){case 0:j.free=!0;break;case 1:j.uncompressed=!0;break;case 2:break;default:throw new _util.FormatError("Invalid XRef entry type: ".concat(type));
}this.entries[first+i]||(this.entries[first+i]=j)}streamState.entryNum=0;streamState.streamPos=stream.pos;entryRanges.splice(0,2)}},indexObjects:function(){function readToken(data,offset){for(var token="",ch=data[offset];10!==ch&&13!==ch&&60!==ch&&!(++offset>=data.length);)token+=String.fromCharCode(ch),ch=data[offset];return token}function skipUntil(data,offset,what){for(var length=what.length,dataLength=data.length,skipped=0;offset<dataLength;){for(var i=0;i<length&&data[offset+i]===what[i];)++i;
if(i>=length)break;offset++;skipped++}return skipped}var objRegExp=/^(\d+)\s+(\d+)\s+obj\b/,endobjRegExp=/\bendobj[\b\s]$/,nestedObjRegExp=/\s+(\d+\s+\d+\s+obj[\b\s<])$/,trailerBytes=new Uint8Array([116,114,97,105,108,101,114]),startxrefBytes=new Uint8Array([115,116,97,114,116,120,114,101,102]),objBytes=new Uint8Array([111,98,106]),xrefBytes=new Uint8Array([47,88,82,101,102]);this.entries.length=0;var stream=this.stream;stream.pos=0;for(var buffer=stream.getBytes(),position=stream.start,length$jscomp$0=
buffer.length,trailers=[],xrefStms=[];position<length$jscomp$0;){var ch$jscomp$0=buffer[position];if(9===ch$jscomp$0||10===ch$jscomp$0||13===ch$jscomp$0||32===ch$jscomp$0)++position;else if(37===ch$jscomp$0){do{++position;if(position>=length$jscomp$0)break;ch$jscomp$0=buffer[position]}while(10!==ch$jscomp$0&&13!==ch$jscomp$0)}else{var token$jscomp$0=readToken(buffer,position),m;if(token$jscomp$0.startsWith("xref")&&(4===token$jscomp$0.length||/\s/.test(token$jscomp$0[4])))position+=skipUntil(buffer,
position,trailerBytes),trailers.push(position),position+=skipUntil(buffer,position,startxrefBytes);else if(m=objRegExp.exec(token$jscomp$0)){ch$jscomp$0=m[1]|0;m=m[2]|0;this.entries[ch$jscomp$0]&&this.entries[ch$jscomp$0].gen!==m||(this.entries[ch$jscomp$0]={offset:position-stream.start,gen:m,uncompressed:!0});ch$jscomp$0=void 0;for(m=position+token$jscomp$0.length;m<buffer.length;){token$jscomp$0=m+skipUntil(buffer,m,objBytes)+4;ch$jscomp$0=token$jscomp$0-position;m=(0,_util.bytesToString)(buffer.subarray(Math.max(token$jscomp$0-
25,m),token$jscomp$0));if(endobjRegExp.test(m))break;else if((m=nestedObjRegExp.exec(m))&&m[1]){(0,_util.warn)('indexObjects: Found new "obj" inside of another "obj", caused by missing "endobj" -- trying to recover.');ch$jscomp$0-=m[1].length;break}m=token$jscomp$0}token$jscomp$0=buffer.subarray(position,position+ch$jscomp$0);m=skipUntil(token$jscomp$0,0,xrefBytes);m<ch$jscomp$0&&64>token$jscomp$0[m+5]&&(xrefStms.push(position-stream.start),this.xrefstms[position-stream.start]=1);position+=ch$jscomp$0}else token$jscomp$0.startsWith("trailer")&&
(7===token$jscomp$0.length||/\s/.test(token$jscomp$0[7]))?(trailers.push(position),position+=skipUntil(buffer,position,startxrefBytes)):position+=token$jscomp$0.length+1}}objRegExp=0;for(endobjRegExp=xrefStms.length;objRegExp<endobjRegExp;++objRegExp)this.startXRefQueue.push(xrefStms[objRegExp]),this.readXRef(!0);objRegExp=0;for(endobjRegExp=trailers.length;objRegExp<endobjRegExp;++objRegExp)if(stream.pos=trailers[objRegExp],xrefStms=new _parser.Parser({lexer:new _parser.Lexer(stream),xref:this,allowStreams:!0,
recoveryMode:!0}),nestedObjRegExp=xrefStms.getObj(),(0,_primitives.isCmd)(nestedObjRegExp,"trailer")&&(xrefStms=xrefStms.getObj(),(0,_primitives.isDict)(xrefStms))){nestedObjRegExp=void 0;try{nestedObjRegExp=xrefStms.get("Root")}catch(ex){if(ex instanceof _core_utils.MissingDataException)throw ex;continue}if((0,_primitives.isDict)(nestedObjRegExp)&&nestedObjRegExp.has("Pages")){if(xrefStms.has("ID"))return xrefStms;var trailerDict=xrefStms}}if(trailerDict)return trailerDict;throw new _util.InvalidPDFException("Invalid PDF structure.");
},readXRef:function(recoveryMode){var stream=this.stream,startXRefParsedCache=Object.create(null);try{for(;this.startXRefQueue.length;){var startXRef=this.startXRefQueue[0];if(startXRefParsedCache[startXRef])(0,_util.warn)("readXRef - skipping XRef table since it was already parsed.");else{startXRefParsedCache[startXRef]=!0;stream.pos=startXRef+stream.start;var parser=new _parser.Parser({lexer:new _parser.Lexer(stream),xref:this,allowStreams:!0}),obj=parser.getObj();if((0,_primitives.isCmd)(obj,"xref")){var dict=
this.processXRefTable(parser);this.topDict||(this.topDict=dict);obj=dict.get("XRefStm");if(Number.isInteger(obj)){var pos=obj;pos in this.xrefstms||(this.xrefstms[pos]=1,this.startXRefQueue.push(pos))}}else if(Number.isInteger(obj)){if(!Number.isInteger(parser.getObj())||!(0,_primitives.isCmd)(parser.getObj(),"obj")||!(0,_primitives.isStream)(obj=parser.getObj()))throw new _util.FormatError("Invalid XRef stream");dict=this.processXRefStream(obj);this.topDict||(this.topDict=dict);if(!dict)throw new _util.FormatError("Failed to read XRef stream");
}else throw new _util.FormatError("Invalid XRef stream header");obj=dict.get("Prev");Number.isInteger(obj)?this.startXRefQueue.push(obj):(0,_primitives.isRef)(obj)&&this.startXRefQueue.push(obj.num)}this.startXRefQueue.shift()}return this.topDict}catch(e){if(e instanceof _core_utils.MissingDataException)throw e;(0,_util.info)("(while reading XRef): "+e)}if(!recoveryMode)throw new _core_utils.XRefParseException;},getEntry:function(i){return(i=this.entries[i])&&!i.free&&i.offset?i:null},fetchIfRef:function(obj,
suppressEncryption){return obj instanceof _primitives.Ref?this.fetch(obj,suppressEncryption):obj},fetch:function(ref,suppressEncryption){if(!(ref instanceof _primitives.Ref))throw Error("ref object is not a reference");var num=ref.num,cacheEntry=this._cacheMap.get(num);if(void 0!==cacheEntry)return cacheEntry instanceof _primitives.Dict&&!cacheEntry.objId&&(cacheEntry.objId=ref.toString()),cacheEntry;cacheEntry=this.getEntry(num);if(null===cacheEntry)return this._cacheMap.set(num,cacheEntry),cacheEntry;
cacheEntry=cacheEntry.uncompressed?this.fetchUncompressed(ref,cacheEntry,suppressEncryption):this.fetchCompressed(ref,cacheEntry,suppressEncryption);(0,_primitives.isDict)(cacheEntry)?cacheEntry.objId=ref.toString():(0,_primitives.isStream)(cacheEntry)&&(cacheEntry.dict.objId=ref.toString());return cacheEntry},fetchUncompressed:function(ref,xrefEntry){var suppressEncryption=2<arguments.length&&void 0!==arguments[2]?arguments[2]:!1,gen=ref.gen,num=ref.num;if(xrefEntry.gen!==gen)throw new _core_utils.XRefEntryException("Inconsistent generation in XRef: ".concat(ref));
var stream=this.stream.makeSubStream(xrefEntry.offset+this.stream.start);stream=new _parser.Parser({lexer:new _parser.Lexer(stream),xref:this,allowStreams:!0});var obj1=stream.getObj(),obj2=stream.getObj(),obj3=stream.getObj();if(obj1!==num||obj2!==gen||!(obj3 instanceof _primitives.Cmd))throw new _core_utils.XRefEntryException("Bad (uncompressed) XRef entry: ".concat(ref));if("obj"!==obj3.cmd){if(obj3.cmd.startsWith("obj")&&(num=parseInt(obj3.cmd.substring(3),10),!Number.isNaN(num)))return num;throw new _core_utils.XRefEntryException("Bad (uncompressed) XRef entry: ".concat(ref));
}xrefEntry=this.encrypt&&!suppressEncryption?stream.getObj(this.encrypt.createCipherTransform(num,gen)):stream.getObj();(0,_primitives.isStream)(xrefEntry)||this._cacheMap.set(num,xrefEntry);return xrefEntry},fetchCompressed:function(ref,xrefEntry){var tableOffset=xrefEntry.offset,stream=this.fetch(_primitives.Ref.get(tableOffset,0));if(!(0,_primitives.isStream)(stream))throw new _util.FormatError("bad ObjStm stream");var first=stream.dict.get("First"),n=stream.dict.get("N");if(!Number.isInteger(first)||
!Number.isInteger(n))throw new _util.FormatError("invalid first and n parameters for ObjStm stream");stream=new _parser.Parser({lexer:new _parser.Lexer(stream),xref:this,allowStreams:!0});first=Array(n);for(var i=0;i<n;++i){var num=stream.getObj();if(!Number.isInteger(num))throw new _util.FormatError("invalid object number in the ObjStm stream: ".concat(num));var offset=stream.getObj();if(!Number.isInteger(offset))throw new _util.FormatError("invalid object offset in the ObjStm stream: ".concat(offset));
first[i]=num}i=Array(n);for(num=0;num<n;++num)if(offset=stream.getObj(),i[num]=offset,stream.buf1 instanceof _primitives.Cmd&&"endobj"===stream.buf1.cmd&&stream.shift(),!(0,_primitives.isStream)(offset)){var _num=first[num],entry=this.entries[_num];entry&&entry.offset===tableOffset&&entry.gen===num&&this._cacheMap.set(_num,offset)}xrefEntry=i[xrefEntry.gen];if(void 0===xrefEntry)throw new _core_utils.XRefEntryException("Bad (compressed) XRef entry: ".concat(ref));return xrefEntry},fetchIfRefAsync:function(){var _fetchIfRefAsync=
_asyncToGenerator(_regenerator["default"].mark(function _callee(obj,suppressEncryption){return _regenerator["default"].wrap(function(_context){for(;;)switch(_context.prev=_context.next){case 0:if(!(obj instanceof _primitives.Ref)){_context.next=2;break}return _context.abrupt("return",this.fetchAsync(obj,suppressEncryption));case 2:return _context.abrupt("return",obj);case 3:case "end":return _context.stop()}},_callee,this)}));return function(_x,_x2){return _fetchIfRefAsync.apply(this,arguments)}}(),
fetchAsync:function(){var _fetchAsync=_asyncToGenerator(_regenerator["default"].mark(function _callee2(ref,suppressEncryption){return _regenerator["default"].wrap(function(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _context2.prev=0,_context2.abrupt("return",this.fetch(ref,suppressEncryption));case 4:_context2.prev=4;_context2.t0=_context2["catch"](0);if(_context2.t0 instanceof _core_utils.MissingDataException){_context2.next=8;break}throw _context2.t0;case 8:return _context2.next=
10,this.pdfManager.requestRange(_context2.t0.begin,_context2.t0.end);case 10:return _context2.abrupt("return",this.fetchAsync(ref,suppressEncryption));case 11:case "end":return _context2.stop()}},_callee2,this,[[0,4]])}));return function(_x3,_x4){return _fetchAsync.apply(this,arguments)}}(),getCatalogObj:function(){return this.root}};return XRef}();exports.XRef=module;module=function(){function NameOrNumberTree(root,xref,type){_classCallCheck(this,NameOrNumberTree);this.constructor===NameOrNumberTree&&
(0,_util.unreachable)("Cannot initialize NameOrNumberTree.");this.root=root;this.xref=xref;this._type=type}_createClass(NameOrNumberTree,[{key:"getAll",value:function(){var dict=Object.create(null);if(!this.root)return dict;var xref=this.xref,processed=new _primitives.RefSet;processed.put(this.root);for(var queue=[this.root];0<queue.length;){var obj=xref.fetchIfRef(queue.shift());if((0,_primitives.isDict)(obj))if(obj.has("Kids")){obj=obj.get("Kids");for(var i=0,ii=obj.length;i<ii;i++){var kid=obj[i];
if(processed.has(kid))throw new _util.FormatError('Duplicate entry in "'.concat(this._type,'" tree.'));queue.push(kid);processed.put(kid)}}else if(obj=obj.get(this._type),Array.isArray(obj))for(i=0,ii=obj.length;i<ii;i+=2)dict[xref.fetchIfRef(obj[i])]=xref.fetchIfRef(obj[i+1])}return dict}},{key:"get",value:function(key){if(!this.root)return null;for(var xref=this.xref,kidsOrEntries=xref.fetchIfRef(this.root),loopCount=0;kidsOrEntries.has("Kids");){if(10<++loopCount)return(0,_util.warn)('Search depth limit reached for "'.concat(this._type,
'" tree.')),null;var kids=kidsOrEntries.get("Kids");if(!Array.isArray(kids))return null;for(var l=0,r=kids.length-1;l<=r;){var m=l+r>>1,limits=xref.fetchIfRef(kids[m]).get("Limits");if(key<xref.fetchIfRef(limits[0]))r=m-1;else if(key>xref.fetchIfRef(limits[1]))l=m+1;else{kidsOrEntries=xref.fetchIfRef(kids[m]);break}}if(l>r)return null}kidsOrEntries=kidsOrEntries.get(this._type);if(Array.isArray(kidsOrEntries)){loopCount=0;for(kids=kidsOrEntries.length-2;loopCount<=kids;)if(l=loopCount+kids>>1,l+=
l&1,r=xref.fetchIfRef(kidsOrEntries[l]),key<r)kids=l-2;else if(key>r)loopCount=l+2;else return xref.fetchIfRef(kidsOrEntries[l+1]);(0,_util.info)('Falling back to an exhaustive search, for key "'.concat(key,'", ')+'in "'.concat(this._type,'" tree.'));loopCount=0;for(kids=kidsOrEntries.length;loopCount<kids;loopCount+=2)if(xref.fetchIfRef(kidsOrEntries[loopCount])===key)return(0,_util.warn)('The "'.concat(key,'" key was found at an incorrect, ')+'i.e. out-of-order, position in "'.concat(this._type,
'" tree.')),xref.fetchIfRef(kidsOrEntries[loopCount+1])}return null}}]);return NameOrNumberTree}();var NameTree=function(_NameOrNumberTree){function NameTree(root,xref){_classCallCheck(this,NameTree);return _possibleConstructorReturn(this,_getPrototypeOf(NameTree).call(this,root,xref,"Names"))}_inherits(NameTree,_NameOrNumberTree);return NameTree}(module),NumberTree=function(_NameOrNumberTree2){function NumberTree(root,xref){_classCallCheck(this,NumberTree);return _possibleConstructorReturn(this,
_getPrototypeOf(NumberTree).call(this,root,xref,"Nums"))}_inherits(NumberTree,_NameOrNumberTree2);return NumberTree}(module),FileSpec=function(){function FileSpec(root,xref){root&&(0,_primitives.isDict)(root)&&(this.xref=xref,this.root=root,root.has("FS")&&(this.fs=root.get("FS")),this.description=root.has("Desc")?(0,_util.stringToPDFString)(root.get("Desc")):"",root.has("RF")&&(0,_util.warn)("Related file specifications are not supported"),this.contentAvailable=!0,root.has("EF")||(this.contentAvailable=
!1,(0,_util.warn)("Non-embedded file specifications are not supported")))}function pickPlatformItem(dict){return dict.has("UF")?dict.get("UF"):dict.has("F")?dict.get("F"):dict.has("Unix")?dict.get("Unix"):dict.has("Mac")?dict.get("Mac"):dict.has("DOS")?dict.get("DOS"):null}FileSpec.prototype={get filename(){if(!this._filename&&this.root){var filename=pickPlatformItem(this.root)||"unnamed";this._filename=(0,_util.stringToPDFString)(filename).replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\/g,
"/")}return this._filename},get content(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=pickPlatformItem(this.root.get("EF")));var content=null;if(this.contentRef){var fileObj=this.xref.fetchIfRef(this.contentRef);fileObj&&(0,_primitives.isStream)(fileObj)?content=fileObj.getBytes():(0,_util.warn)("Embedded file specification points to non-existing/invalid content")}else(0,_util.warn)("Embedded file specification does not have a content");return content},get serializable(){return{filename:this.filename,
content:this.content}}};return FileSpec}();exports.FileSpec=FileSpec;module=function(){function mayHaveChildren(value){return value instanceof _primitives.Ref||value instanceof _primitives.Dict||Array.isArray(value)||(0,_primitives.isStream)(value)}function ObjectLoader(dict,keys,xref){this.dict=dict;this.keys=keys;this.xref=xref;this.refSet=null}ObjectLoader.prototype={load:function(){var _load=_asyncToGenerator(_regenerator["default"].mark(function _callee3(){var keys,dict,nodesToVisit,i,ii,rawValue;
return _regenerator["default"].wrap(function(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:if(this.xref.stream.allChunksLoaded&&!this.xref.stream.allChunksLoaded()){_context3.next=2;break}return _context3.abrupt("return",void 0);case 2:keys=this.keys;dict=this.dict;this.refSet=new _primitives.RefSet;nodesToVisit=[];i=0;for(ii=keys.length;i<ii;i++)rawValue=dict.getRaw(keys[i]),void 0!==rawValue&&nodesToVisit.push(rawValue);return _context3.abrupt("return",this._walk(nodesToVisit));
case 7:case "end":return _context3.stop()}},_callee3,this)}));return function(){return _load.apply(this,arguments)}}(),_walk:function(){var _walk2=_asyncToGenerator(_regenerator["default"].mark(function _callee4(nodesToVisit$jscomp$0){var nodesToRevisit,pendingRequests,currentNode,baseStreams,foundMissingData,i$jscomp$0,ii$jscomp$0,stream,_i5,_ii3,node$jscomp$0;return _regenerator["default"].wrap(function(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:nodesToRevisit=[],pendingRequests=
[];case 2:if(!nodesToVisit$jscomp$0.length){_context4.next=22;break}currentNode=nodesToVisit$jscomp$0.pop();if(!(currentNode instanceof _primitives.Ref)){_context4.next=18;break}if(!this.refSet.has(currentNode)){_context4.next=7;break}return _context4.abrupt("continue",2);case 7:_context4.prev=7;this.refSet.put(currentNode);currentNode=this.xref.fetch(currentNode);_context4.next=18;break;case 12:_context4.prev=12;_context4.t0=_context4["catch"](7);if(_context4.t0 instanceof _core_utils.MissingDataException){_context4.next=
16;break}throw _context4.t0;case 16:nodesToRevisit.push(currentNode),pendingRequests.push({begin:_context4.t0.begin,end:_context4.t0.end});case 18:if(currentNode&&currentNode.getBaseStreams){baseStreams=currentNode.getBaseStreams();foundMissingData=!1;i$jscomp$0=0;for(ii$jscomp$0=baseStreams.length;i$jscomp$0<ii$jscomp$0;i$jscomp$0++)stream=baseStreams[i$jscomp$0],stream.allChunksLoaded&&!stream.allChunksLoaded()&&(foundMissingData=!0,pendingRequests.push({begin:stream.start,end:stream.end}));foundMissingData&&
nodesToRevisit.push(currentNode)}var node=currentNode,nodesToVisit=nodesToVisit$jscomp$0;if(node instanceof _primitives.Dict||(0,_primitives.isStream)(node)){node=node instanceof _primitives.Dict?node:node.dict;for(var dictKeys=node.getKeys(),i=0,ii=dictKeys.length;i<ii;i++){var rawValue=node.getRaw(dictKeys[i]);mayHaveChildren(rawValue)&&nodesToVisit.push(rawValue)}}else if(Array.isArray(node))for(dictKeys=0,i=node.length;dictKeys<i;dictKeys++)ii=node[dictKeys],mayHaveChildren(ii)&&nodesToVisit.push(ii);
_context4.next=2;break;case 22:if(!pendingRequests.length){_context4.next=27;break}_context4.next=25;return this.xref.stream.manager.requestRanges(pendingRequests);case 25:_i5=0;for(_ii3=nodesToRevisit.length;_i5<_ii3;_i5++)node$jscomp$0=nodesToRevisit[_i5],node$jscomp$0 instanceof _primitives.Ref&&this.refSet.remove(node$jscomp$0);return _context4.abrupt("return",this._walk(nodesToRevisit));case 27:return this.refSet=null,_context4.abrupt("return",void 0);case 29:case "end":return _context4.stop()}},
_callee4,this,[[7,12]])}));return function(_x5){return _walk2.apply(this,arguments)}}()};return ObjectLoader}();exports.ObjectLoader=module},function(module,exports,__w_pdfjs_require__){function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;
"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function computeAdler32(bytes){for(var bytesLength=bytes.length,a=1,b=0,i=0;i<bytesLength;++i)a+=bytes[i]&255,b+=a;return b%65521<<16|a%65521}function toHexDigit(ch){return 48<=ch&&57>=ch?ch&15:65<=ch&&
70>=ch||97<=ch&&102>=ch?(ch&15)+9:-1}Object.defineProperty(exports,"__esModule",{value:!0});exports.Parser=exports.Linearization=exports.Lexer=void 0;var _stream=__w_pdfjs_require__(195),_util=__w_pdfjs_require__(5),_primitives=__w_pdfjs_require__(188),_ccitt_stream=__w_pdfjs_require__(196),_jbig2_stream=__w_pdfjs_require__(198),_jpeg_stream=__w_pdfjs_require__(201),_jpx_stream=__w_pdfjs_require__(203),_core_utils=__w_pdfjs_require__(191),Parser=function(){function Parser(_ref){var lexer=_ref.lexer,
xref=_ref.xref,_ref$allowStreams=_ref.allowStreams;_ref$allowStreams=void 0===_ref$allowStreams?!1:_ref$allowStreams;_ref=_ref.recoveryMode;_ref=void 0===_ref?!1:_ref;_classCallCheck(this,Parser);this.lexer=lexer;this.xref=xref;this.allowStreams=_ref$allowStreams;this.recoveryMode=_ref;this.imageCache=Object.create(null);this.refill()}_createClass(Parser,[{key:"refill",value:function(){this.buf1=this.lexer.getObj();this.buf2=this.lexer.getObj()}},{key:"shift",value:function(){this.buf2 instanceof
_primitives.Cmd&&"ID"===this.buf2.cmd?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())}},{key:"tryShift",value:function(){try{return this.shift(),!0}catch(e){if(e instanceof _core_utils.MissingDataException)throw e;return!1}}},{key:"getObj",value:function(){var cipherTransform=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,buf1=this.buf1;this.shift();if(buf1 instanceof _primitives.Cmd)switch(buf1.cmd){case "BI":return this.makeInlineImage(cipherTransform);
case "[":for(buf1=[];!(0,_primitives.isCmd)(this.buf1,"]")&&!(0,_primitives.isEOF)(this.buf1);)buf1.push(this.getObj(cipherTransform));if((0,_primitives.isEOF)(this.buf1)){if(!this.recoveryMode)throw new _util.FormatError("End of file inside array");return buf1}this.shift();return buf1;case "<<":for(buf1=new _primitives.Dict(this.xref);!(0,_primitives.isCmd)(this.buf1,">>")&&!(0,_primitives.isEOF)(this.buf1);)if((0,_primitives.isName)(this.buf1)){var key=this.buf1.name;this.shift();if((0,_primitives.isEOF)(this.buf1))break;
buf1.set(key,this.getObj(cipherTransform))}else(0,_util.info)("Malformed dictionary: key must be a name object"),this.shift();if((0,_primitives.isEOF)(this.buf1)){if(!this.recoveryMode)throw new _util.FormatError("End of file inside dictionary");return buf1}if((0,_primitives.isCmd)(this.buf2,"stream"))return this.allowStreams?this.makeStream(buf1,cipherTransform):buf1;this.shift();return buf1;default:return buf1}return Number.isInteger(buf1)?Number.isInteger(this.buf1)&&(0,_primitives.isCmd)(this.buf2,
"R")?(cipherTransform=_primitives.Ref.get(buf1,this.buf1),this.shift(),this.shift(),cipherTransform):buf1:"string"===typeof buf1&&cipherTransform?cipherTransform.decryptString(buf1):buf1}},{key:"findDefaultInlineStreamEnd",value:function(stream){for(var startPos=stream.pos,state=0,ch,maybeEIPos;-1!==(ch=stream.getByte());)if(0===state)state=69===ch?1:0;else if(1===state)state=73===ch?2:0;else if((0,_util.assert)(2===state),32===ch||10===ch||13===ch){maybeEIPos=stream.pos;for(var followingBytes=stream.peekBytes(10),
i=0,ii=followingBytes.length;i<ii;i++)if(ch=followingBytes[i],(0!==ch||0===followingBytes[i+1])&&10!==ch&&13!==ch&&(32>ch||127<ch)){state=0;break}if(2===state)break}else state=0;-1===ch&&((0,_util.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),maybeEIPos&&((0,_util.warn)('... trying to recover by using the last "EI" occurrence.'),stream.skip(-(stream.pos-maybeEIPos))));state=4;stream.skip(-state);ch=stream.peekByte();stream.skip(state);(0,_util.isSpace)(ch)||
state--;return stream.pos-state-startPos}},{key:"findDCTDecodeInlineStreamEnd",value:function(stream){for(var startPos=stream.pos,foundEOI=!1,b,markerLength;-1!==(b=stream.getByte());)if(255===b){switch(stream.getByte()){case 255:stream.skip(-1);break;case 217:foundEOI=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:markerLength=
stream.getUint16(),2<markerLength?stream.skip(markerLength-2):stream.skip(-2)}if(foundEOI)break}startPos=stream.pos-startPos;if(-1===b)return(0,_util.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),stream.skip(-startPos),this.findDefaultInlineStreamEnd(stream);this.inlineStreamSkipEI(stream);return startPos}},{key:"findASCII85DecodeInlineStreamEnd",value:function(stream){for(var startPos=stream.pos,ch;-1!==(ch=stream.getByte());)if(126===ch){var tildePos=
stream.pos;for(ch=stream.peekByte();(0,_util.isSpace)(ch);)stream.skip(),ch=stream.peekByte();if(62===ch){stream.skip();break}if(stream.pos>tildePos&&(tildePos=stream.peekBytes(2),69===tildePos[0]&&73===tildePos[1]))break}startPos=stream.pos-startPos;if(-1===ch)return(0,_util.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),stream.skip(-startPos),this.findDefaultInlineStreamEnd(stream);this.inlineStreamSkipEI(stream);return startPos}},{key:"findASCIIHexDecodeInlineStreamEnd",
value:function(stream){for(var startPos=stream.pos,ch;-1!==(ch=stream.getByte())&&62!==ch;);startPos=stream.pos-startPos;if(-1===ch)return(0,_util.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),stream.skip(-startPos),this.findDefaultInlineStreamEnd(stream);this.inlineStreamSkipEI(stream);return startPos}},{key:"inlineStreamSkipEI",value:function(stream){for(var state=0,ch;-1!==(ch=stream.getByte());)if(0===state)state=69===ch?1:0;else if(1===state)state=
73===ch?2:0;else if(2===state)break}},{key:"makeInlineImage",value:function(cipherTransform){for(var lexer=this.lexer,stream=lexer.stream,dict=new _primitives.Dict(this.xref),dictLength;!(0,_primitives.isCmd)(this.buf1,"ID")&&!(0,_primitives.isEOF)(this.buf1);){if(!(0,_primitives.isName)(this.buf1))throw new _util.FormatError("Dictionary key must be a name object");var key=this.buf1.name;this.shift();if((0,_primitives.isEOF)(this.buf1))break;dict.set(key,this.getObj(cipherTransform))}-1!==lexer.beginInlineImagePos&&
(dictLength=stream.pos-lexer.beginInlineImagePos);key=dict.get("Filter","F");if((0,_primitives.isName)(key))var filterName=key.name;else Array.isArray(key)&&(key=this.xref.fetchIfRef(key[0]),(0,_primitives.isName)(key)&&(filterName=key.name));key=stream.pos;filterName="DCTDecode"===filterName||"DCT"===filterName?this.findDCTDecodeInlineStreamEnd(stream):"ASCII85Decode"===filterName||"A85"===filterName?this.findASCII85DecodeInlineStreamEnd(stream):"ASCIIHexDecode"===filterName||"AHx"===filterName?
this.findASCIIHexDecodeInlineStreamEnd(stream):this.findDefaultInlineStreamEnd(stream);key=stream.makeSubStream(key,filterName,dict);if(1E3>filterName&&5552>dictLength){var cacheKey=key.getBytes();key.reset();var initialStreamPos=stream.pos;stream.pos=lexer.beginInlineImagePos;lexer=stream.getBytes(dictLength);stream.pos=initialStreamPos;cacheKey=computeAdler32(cacheKey)+"_"+computeAdler32(lexer);stream=this.imageCache[cacheKey];if(void 0!==stream)return this.buf2=_primitives.Cmd.get("EI"),this.shift(),
stream.reset(),stream}cipherTransform&&(key=cipherTransform.createStream(key,filterName));key=this.filter(key,dict,filterName);key.dict=dict;void 0!==cacheKey&&(key.cacheKey="inline_".concat(filterName,"_").concat(cacheKey),this.imageCache[cacheKey]=key);this.buf2=_primitives.Cmd.get("EI");this.shift();return key}},{key:"_findStreamLength",value:function(startPos,signature){var stream=this.lexer.stream;stream.pos=startPos;for(var signatureLength=signature.length;stream.pos<stream.end;){var scanBytes=
stream.peekBytes(2048),scanLength=scanBytes.length-signatureLength;if(0>=scanLength)break;for(var pos=0;pos<scanLength;){for(var j=0;j<signatureLength&&scanBytes[pos+j]===signature[j];)j++;if(j>=signatureLength)return stream.pos+=pos,stream.pos-startPos;pos++}stream.pos+=scanLength}return-1}},{key:"makeStream",value:function(dict,cipherTransform){var lexer=this.lexer,stream=lexer.stream;lexer.skipToNextLine();var startPos=stream.pos-1,length=dict.get("Length");Number.isInteger(length)||((0,_util.info)('Bad length "'.concat(length,
'" in stream')),length=0);stream.pos=startPos+length;lexer.nextChar();if(!this.tryShift()||!(0,_primitives.isCmd)(this.buf2,"endstream")){var ENDSTREAM_SIGNATURE=new Uint8Array([101,110,100,115,116,114,101,97,109]);length=this._findStreamLength(startPos,ENDSTREAM_SIGNATURE);if(0>length){for(var i=1;1>=i;i++){var end=ENDSTREAM_SIGNATURE.length-i,TRUNCATED_SIGNATURE=ENDSTREAM_SIGNATURE.slice(0,end),maybeLength=this._findStreamLength(startPos,TRUNCATED_SIGNATURE);if(0<=maybeLength){ENDSTREAM_SIGNATURE=
stream.peekBytes(end+1)[end];if(!(0,_util.isSpace)(ENDSTREAM_SIGNATURE))break;(0,_util.info)('Found "'.concat((0,_util.bytesToString)(TRUNCATED_SIGNATURE),'" when ')+"searching for endstream command.");length=maybeLength;break}}if(0>length)throw new _util.FormatError("Missing endstream command.");}lexer.nextChar();this.shift()}this.shift();this.shift();stream=stream.makeSubStream(startPos,length,dict);cipherTransform&&(stream=cipherTransform.createStream(stream,length));stream=this.filter(stream,
dict,length);stream.dict=dict;return stream}},{key:"filter",value:function(stream,dict,length){var filter=dict.get("Filter","F");dict=dict.get("DecodeParms","DP");if((0,_primitives.isName)(filter))return Array.isArray(dict)&&(0,_util.warn)("/DecodeParms should not contain an Array, when /Filter contains a Name."),this.makeFilter(stream,filter.name,length,dict);if(Array.isArray(filter))for(var filterArray=filter,paramsArray=dict,i=0,ii=filterArray.length;i<ii;++i){filter=this.xref.fetchIfRef(filterArray[i]);
if(!(0,_primitives.isName)(filter))throw new _util.FormatError('Bad filter name "'.concat(filter,'"'));dict=null;Array.isArray(paramsArray)&&i in paramsArray&&(dict=this.xref.fetchIfRef(paramsArray[i]));stream=this.makeFilter(stream,filter.name,length,dict);length=null}return stream}},{key:"makeFilter",value:function(stream,name,maybeLength,params){if(0===maybeLength)return(0,_util.warn)('Empty "'.concat(name,'" stream.')),new _stream.NullStream;try{var xrefStreamStats=this.xref.stats.streamTypes;
if("FlateDecode"===name||"Fl"===name)return xrefStreamStats[_util.StreamType.FLATE]=!0,params?new _stream.PredictorStream(new _stream.FlateStream(stream,maybeLength),maybeLength,params):new _stream.FlateStream(stream,maybeLength);if("LZWDecode"===name||"LZW"===name)return xrefStreamStats[_util.StreamType.LZW]=!0,name=1,params?(params.has("EarlyChange")&&(name=params.get("EarlyChange")),new _stream.PredictorStream(new _stream.LZWStream(stream,maybeLength,name),maybeLength,params)):new _stream.LZWStream(stream,
maybeLength,name);if("DCTDecode"===name||"DCT"===name)return xrefStreamStats[_util.StreamType.DCT]=!0,new _jpeg_stream.JpegStream(stream,maybeLength,stream.dict,params);if("JPXDecode"===name||"JPX"===name)return xrefStreamStats[_util.StreamType.JPX]=!0,new _jpx_stream.JpxStream(stream,maybeLength,stream.dict,params);if("ASCII85Decode"===name||"A85"===name)return xrefStreamStats[_util.StreamType.A85]=!0,new _stream.Ascii85Stream(stream,maybeLength);if("ASCIIHexDecode"===name||"AHx"===name)return xrefStreamStats[_util.StreamType.AHX]=
!0,new _stream.AsciiHexStream(stream,maybeLength);if("CCITTFaxDecode"===name||"CCF"===name)return xrefStreamStats[_util.StreamType.CCF]=!0,new _ccitt_stream.CCITTFaxStream(stream,maybeLength,params);if("RunLengthDecode"===name||"RL"===name)return xrefStreamStats[_util.StreamType.RLX]=!0,new _stream.RunLengthStream(stream,maybeLength);if("JBIG2Decode"===name)return xrefStreamStats[_util.StreamType.JBIG]=!0,new _jbig2_stream.Jbig2Stream(stream,maybeLength,stream.dict,params);(0,_util.warn)('Filter "'.concat(name,
'" is not supported.'));return stream}catch(ex){if(ex instanceof _core_utils.MissingDataException)throw ex;(0,_util.warn)('Invalid stream: "'.concat(ex,'"'));return new _stream.NullStream}}}]);return Parser}();exports.Parser=Parser;var specialChars=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Lexer=function(){function Lexer(stream){var knownCommands=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;_classCallCheck(this,Lexer);this.stream=stream;this.nextChar();this.strBuf=[];this.knownCommands=knownCommands;this.beginInlineImagePos=
-1}_createClass(Lexer,[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"peekChar",value:function(){return this.stream.peekByte()}},{key:"getNumber",value:function(){var ch=this.currentChar,eNotation=!1,divideBy=0,sign=0;45===ch?(sign=-1,ch=this.nextChar(),45===ch&&(ch=this.nextChar())):43===ch&&(sign=1,ch=this.nextChar());if(10===ch||13===ch){do ch=this.nextChar();while(10===ch||13===ch)}46===ch&&(divideBy=10,ch=this.nextChar());if(48>ch||57<ch){if(10===divideBy&&
0===sign&&((0,_util.isSpace)(ch)||-1===ch))return(0,_util.warn)("Lexer.getNumber - treating a single decimal point as zero."),0;throw new _util.FormatError("Invalid number: ".concat(String.fromCharCode(ch)," (charCode ").concat(ch,")"));}sign=sign||1;for(var baseValue=ch-48,powerValue=0,powerValueSign=1;0<=(ch=this.nextChar());)if(48<=ch&&57>=ch)ch-=48,eNotation?powerValue=10*powerValue+ch:(0!==divideBy&&(divideBy*=10),baseValue=10*baseValue+ch);else if(46===ch)if(0===divideBy)divideBy=1;else break;
else if(45===ch)(0,_util.warn)("Badly formatted number: minus sign in the middle");else if(69===ch||101===ch){ch=this.peekChar();if(43===ch||45===ch)powerValueSign=45===ch?-1:1,this.nextChar();else if(48>ch||57<ch)break;eNotation=!0}else break;0!==divideBy&&(baseValue/=divideBy);eNotation&&(baseValue*=Math.pow(10,powerValueSign*powerValue));return sign*baseValue}},{key:"getString",value:function(){var numParen=1,done=!1,strBuf=this.strBuf;strBuf.length=0;for(var ch=this.nextChar();;){var charBuffered=
!1;switch(ch|0){case -1:(0,_util.warn)("Unterminated string");done=!0;break;case 40:++numParen;strBuf.push("(");break;case 41:0===--numParen?(this.nextChar(),done=!0):strBuf.push(")");break;case 92:ch=this.nextChar();switch(ch){case -1:(0,_util.warn)("Unterminated string");done=!0;break;case 110:strBuf.push("\n");break;case 114:strBuf.push("\r");break;case 116:strBuf.push("\t");break;case 98:strBuf.push("\b");break;case 102:strBuf.push("\f");break;case 92:case 40:case 41:strBuf.push(String.fromCharCode(ch));
break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var x=ch&15;ch=this.nextChar();charBuffered=!0;48<=ch&&55>=ch&&(x=(x<<3)+(ch&15),ch=this.nextChar(),48<=ch&&55>=ch&&(charBuffered=!1,x=(x<<3)+(ch&15)));strBuf.push(String.fromCharCode(x));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:strBuf.push(String.fromCharCode(ch))}break;default:strBuf.push(String.fromCharCode(ch))}if(done)break;charBuffered||(ch=this.nextChar())}return strBuf.join("")}},{key:"getName",
value:function(){var ch,strBuf=this.strBuf;for(strBuf.length=0;0<=(ch=this.nextChar())&&!specialChars[ch];)if(35===ch){ch=this.nextChar();if(specialChars[ch]){(0,_util.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number.");strBuf.push("#");break}var x=toHexDigit(ch);if(-1!==x){var previousCh=ch;ch=this.nextChar();var x2=toHexDigit(ch);if(-1===x2){(0,_util.warn)("Lexer_getName: Illegal digit (".concat(String.fromCharCode(ch),") ")+"in hexadecimal number.");strBuf.push("#",
String.fromCharCode(previousCh));if(specialChars[ch])break;strBuf.push(String.fromCharCode(ch))}else strBuf.push(String.fromCharCode(x<<4|x2))}else strBuf.push("#",String.fromCharCode(ch))}else strBuf.push(String.fromCharCode(ch));127<strBuf.length&&(0,_util.warn)("Name token is longer than allowed by the spec: ".concat(strBuf.length));return _primitives.Name.get(strBuf.join(""))}},{key:"getHexString",value:function(){var strBuf=this.strBuf;strBuf.length=0;for(var ch=this.currentChar,isFirstHex=!0,
firstDigit,secondDigit;;)if(0>ch){(0,_util.warn)("Unterminated hex string");break}else if(62===ch){this.nextChar();break}else{if(1!==specialChars[ch]){if(isFirstHex){if(firstDigit=toHexDigit(ch),-1===firstDigit){(0,_util.warn)('Ignoring invalid character "'.concat(ch,'" in hex string'));ch=this.nextChar();continue}}else{secondDigit=toHexDigit(ch);if(-1===secondDigit){(0,_util.warn)('Ignoring invalid character "'.concat(ch,'" in hex string'));ch=this.nextChar();continue}strBuf.push(String.fromCharCode(firstDigit<<
4|secondDigit))}isFirstHex=!isFirstHex}ch=this.nextChar()}return strBuf.join("")}},{key:"getObj",value:function(){for(var comment=!1,ch=this.currentChar;;){if(0>ch)return _primitives.EOF;if(comment){if(10===ch||13===ch)comment=!1}else if(37===ch)comment=!0;else if(1!==specialChars[ch])break;ch=this.nextChar()}switch(ch|0){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:return this.nextChar(),_primitives.Cmd.get("[");case 93:return this.nextChar(),_primitives.Cmd.get("]");case 60:return ch=this.nextChar(),60===ch?(this.nextChar(),_primitives.Cmd.get("<<")):this.getHexString();case 62:return ch=this.nextChar(),62===ch?(this.nextChar(),_primitives.Cmd.get(">>")):_primitives.Cmd.get(">");case 123:return this.nextChar(),_primitives.Cmd.get("{");case 125:return this.nextChar(),_primitives.Cmd.get("}");case 41:throw this.nextChar(),new _util.FormatError("Illegal character: ".concat(ch));
}comment=String.fromCharCode(ch);for(var knownCommands=this.knownCommands,knownCommandFound=knownCommands&&void 0!==knownCommands[comment];0<=(ch=this.nextChar())&&!specialChars[ch];){var possibleCommand=comment+String.fromCharCode(ch);if(knownCommandFound&&void 0===knownCommands[possibleCommand])break;if(128===comment.length)throw new _util.FormatError("Command token too long: ".concat(comment.length));comment=possibleCommand;knownCommandFound=knownCommands&&void 0!==knownCommands[comment]}if("true"===
comment)return!0;if("false"===comment)return!1;if("null"===comment)return null;"BI"===comment&&(this.beginInlineImagePos=this.stream.pos);return _primitives.Cmd.get(comment)}},{key:"skipToNextLine",value:function(){for(var ch=this.currentChar;0<=ch;){if(13===ch){ch=this.nextChar();10===ch&&this.nextChar();break}else if(10===ch){this.nextChar();break}ch=this.nextChar()}}}]);return Lexer}();exports.Lexer=Lexer;module=function(){function Linearization(){_classCallCheck(this,Linearization)}_createClass(Linearization,
null,[{key:"create",value:function(stream){function getInt(linDict,name){var allowZeroValue=2<arguments.length&&void 0!==arguments[2]?arguments[2]:!1,obj=linDict.get(name);if(Number.isInteger(obj)&&(allowZeroValue?0<=obj:0<obj))return obj;throw Error('The "'.concat(name,'" parameter in the linearization ')+"dictionary is invalid.");}var parser=new Parser({lexer:new Lexer(stream),xref:null}),obj1=parser.getObj(),obj2=parser.getObj(),obj3=parser.getObj();parser=parser.getObj();var obj$jscomp$0;if(!(Number.isInteger(obj1)&&
Number.isInteger(obj2)&&(0,_primitives.isCmd)(obj3,"obj")&&(0,_primitives.isDict)(parser)&&(0,_util.isNum)(obj$jscomp$0=parser.get("Linearized"))&&0<obj$jscomp$0))return null;if((obj1=getInt(parser,"L"))!==stream.length)throw Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:obj1,hints:function(linDict){linDict=linDict.get("H");var hintsLength;if(Array.isArray(linDict)&&(2===(hintsLength=linDict.length)||4===hintsLength)){for(var index=0;index<
hintsLength;index++){var hint=linDict[index];if(!(Number.isInteger(hint)&&0<hint))throw Error("Hint (".concat(index,") in the linearization dictionary is invalid."));}return linDict}throw Error("Hint array in the linearization dictionary is invalid.");}(parser),objectNumberFirst:getInt(parser,"O"),endFirst:getInt(parser,"E"),numPages:getInt(parser,"N"),mainXRefEntriesOffset:getInt(parser,"T"),pageFirst:parser.has("P")?getInt(parser,"P",!0):0}}}]);return Linearization}();exports.Linearization=module},
function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});exports.LZWStream=exports.StringStream=exports.StreamsSequenceStream=exports.Stream=exports.RunLengthStream=exports.PredictorStream=exports.NullStream=exports.FlateStream=exports.DecodeStream=exports.DecryptStream=exports.AsciiHexStream=exports.Ascii85Stream=void 0;var _util=__w_pdfjs_require__(5),_primitives=__w_pdfjs_require__(188),Stream=function(){function Stream(arrayBuffer,start,length,dict){this.bytes=
arrayBuffer instanceof Uint8Array?arrayBuffer:new Uint8Array(arrayBuffer);this.pos=this.start=start||0;this.end=start+length||this.bytes.length;this.dict=dict}Stream.prototype={get length(){return this.end-this.start},get isEmpty(){return 0===this.length},getByte:function(){return this.pos>=this.end?-1:this.bytes[this.pos++]},getUint16:function(){var b0=this.getByte(),b1=this.getByte();return-1===b0||-1===b1?-1:(b0<<8)+b1},getInt32:function(){var b0=this.getByte(),b1=this.getByte(),b2=this.getByte(),
b3=this.getByte();return(b0<<24)+(b1<<16)+(b2<<8)+b3},getBytes:function(length){var forceClamped=1<arguments.length&&void 0!==arguments[1]?arguments[1]:!1,bytes=this.bytes,pos=this.pos,strEnd=this.end;if(!length)return bytes=bytes.subarray(pos,strEnd),forceClamped?new Uint8ClampedArray(bytes):bytes;var end=pos+length;end>strEnd&&(end=strEnd);this.pos=end;bytes=bytes.subarray(pos,end);return forceClamped?new Uint8ClampedArray(bytes):bytes},peekByte:function(){var peekedByte=this.getByte();-1!==peekedByte&&
this.pos--;return peekedByte},peekBytes:function(length){var bytes=this.getBytes(length,1<arguments.length&&void 0!==arguments[1]?arguments[1]:!1);this.pos-=bytes.length;return bytes},getByteRange:function(begin,end){0>begin&&(begin=0);end>this.end&&(end=this.end);return this.bytes.subarray(begin,end)},skip:function(n){n||(n=1);this.pos+=n},reset:function(){this.pos=this.start},moveStart:function(){this.start=this.pos},makeSubStream:function(start,length,dict){return new Stream(this.bytes.buffer,
start,length,dict)}};return Stream}();exports.Stream=Stream;module=function(){function StringStream(str){str=(0,_util.stringToBytes)(str);Stream.call(this,str)}StringStream.prototype=Stream.prototype;return StringStream}();exports.StringStream=module;var DecodeStream=function(){function DecodeStream(maybeMinBufferLength){this._rawMinBufferLength=maybeMinBufferLength||0;this.bufferLength=this.pos=0;this.eof=!1;this.buffer=emptyBuffer;this.minBufferLength=512;if(maybeMinBufferLength)for(;this.minBufferLength<
maybeMinBufferLength;)this.minBufferLength*=2}var emptyBuffer=new Uint8Array(0);DecodeStream.prototype={get isEmpty(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength},ensureBuffer:function(requested){var buffer=this.buffer;if(requested<=buffer.byteLength)return buffer;for(var size=this.minBufferLength;size<requested;)size*=2;requested=new Uint8Array(size);requested.set(buffer);return this.buffer=requested},getByte:function(){for(var pos=this.pos;this.bufferLength<=
pos;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]},getUint16:function(){var b0=this.getByte(),b1=this.getByte();return-1===b0||-1===b1?-1:(b0<<8)+b1},getInt32:function(){var b0=this.getByte(),b1=this.getByte(),b2=this.getByte(),b3=this.getByte();return(b0<<24)+(b1<<16)+(b2<<8)+b3},getBytes:function(length){var forceClamped=1<arguments.length&&void 0!==arguments[1]?arguments[1]:!1,end,pos=this.pos;if(length){this.ensureBuffer(pos+length);for(end=pos+length;!this.eof&&this.bufferLength<
end;)this.readBlock();var bufEnd=this.bufferLength;end>bufEnd&&(end=bufEnd)}else{for(;!this.eof;)this.readBlock();end=this.bufferLength}this.pos=end;end=this.buffer.subarray(pos,end);return!forceClamped||end instanceof Uint8ClampedArray?end:new Uint8ClampedArray(end)},peekByte:function(){var peekedByte=this.getByte();-1!==peekedByte&&this.pos--;return peekedByte},peekBytes:function(length){var bytes=this.getBytes(length,1<arguments.length&&void 0!==arguments[1]?arguments[1]:!1);this.pos-=bytes.length;
return bytes},makeSubStream:function(start,length,dict){for(var end=start+length;this.bufferLength<=end&&!this.eof;)this.readBlock();return new Stream(this.buffer,start,length,dict)},getByteRange:function(begin,end){(0,_util.unreachable)("Should not call DecodeStream.getByteRange")},skip:function(n){n||(n=1);this.pos+=n},reset:function(){this.pos=0},getBaseStreams:function(){return this.str&&this.str.getBaseStreams?this.str.getBaseStreams():[]}};return DecodeStream}();exports.DecodeStream=DecodeStream;
module=function(){function StreamsSequenceStream(streams){this.streams=streams;for(var maybeLength=0,i=0,ii=streams.length;i<ii;i++){var stream=streams[i];maybeLength=stream instanceof DecodeStream?maybeLength+stream._rawMinBufferLength:maybeLength+stream.length}DecodeStream.call(this,maybeLength)}StreamsSequenceStream.prototype=Object.create(DecodeStream.prototype);StreamsSequenceStream.prototype.readBlock=function(){var streams=this.streams;if(0===streams.length)this.eof=!0;else{streams=streams.shift().getBytes();
var bufferLength=this.bufferLength,newLength=bufferLength+streams.length;this.ensureBuffer(newLength).set(streams,bufferLength);this.bufferLength=newLength}};StreamsSequenceStream.prototype.getBaseStreams=function(){for(var baseStreams=[],i=0,ii=this.streams.length;i<ii;i++){var stream=this.streams[i];if(stream.getBaseStreams){var JSCompiler_temp_const=baseStreams.push,JSCompiler_temp_const$jscomp$0=JSCompiler_temp_const.apply;stream=stream.getBaseStreams();var JSCompiler_temp=stream;if(Array.isArray(JSCompiler_temp)){for(var i$jscomp$0=
0,arr2=Array(JSCompiler_temp.length);i$jscomp$0<JSCompiler_temp.length;i$jscomp$0++)arr2[i$jscomp$0]=JSCompiler_temp[i$jscomp$0];JSCompiler_temp=arr2}else JSCompiler_temp=void 0;JSCompiler_temp||(JSCompiler_temp=Symbol.iterator in Object(stream)||"[object Arguments]"===Object.prototype.toString.call(stream)?Array.from(stream):void 0);if(!(stream=JSCompiler_temp))throw new TypeError("Invalid attempt to spread non-iterable instance");JSCompiler_temp_const$jscomp$0.call(JSCompiler_temp_const,baseStreams,
stream)}}return baseStreams};return StreamsSequenceStream}();exports.StreamsSequenceStream=module;module=function(){function FlateStream(str,maybeLength){this.str=str;this.dict=str.dict;var cmf=str.getByte();str=str.getByte();if(-1===cmf||-1===str)throw new _util.FormatError("Invalid header in flate stream: ".concat(cmf,", ").concat(str));if(8!==(cmf&15))throw new _util.FormatError("Unknown compression method in flate stream: ".concat(cmf,", ").concat(str));if(0!==((cmf<<8)+str)%31)throw new _util.FormatError("Bad FCHECK in flate stream: ".concat(cmf,
", ").concat(str));if(str&32)throw new _util.FormatError("FDICT bit set in flate stream: ".concat(cmf,", ").concat(str));this.codeBuf=this.codeSize=0;DecodeStream.call(this,maybeLength)}var codeLenCodeMap=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),lengthDecode=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),distDecode=new Int32Array([1,2,3,4,
65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),fixedLitCodeTab=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59E4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,
524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,
524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,
524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,
524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,
524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,
524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,
524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],fixedDistCodeTab=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,
327703,327695,0]),5];FlateStream.prototype=Object.create(DecodeStream.prototype);FlateStream.prototype.getBits=function(bits){for(var str=this.str,codeSize=this.codeSize,codeBuf=this.codeBuf,b;codeSize<bits;){if(-1===(b=str.getByte()))throw new _util.FormatError("Bad encoding in flate stream");codeBuf|=b<<codeSize;codeSize+=8}this.codeBuf=codeBuf>>bits;this.codeSize=codeSize-bits;return codeBuf&(1<<bits)-1};FlateStream.prototype.getCode=function(table){var str=this.str,codes=table[0],maxLen=table[1];
table=this.codeSize;for(var codeBuf=this.codeBuf,b;table<maxLen&&-1!==(b=str.getByte());)codeBuf|=b<<table,table+=8;codes=codes[codeBuf&(1<<maxLen)-1];str=codes>>16;codes&=65535;if(1>str||table<str)throw new _util.FormatError("Bad encoding in flate stream");this.codeBuf=codeBuf>>str;this.codeSize=table-str;return codes};FlateStream.prototype.generateHuffmanTable=function(lengths){var n=lengths.length,maxLen=0,i;for(i=0;i<n;++i)lengths[i]>maxLen&&(maxLen=lengths[i]);for(var size=1<<maxLen,codes=new Int32Array(size),
len=1,code=0,skip=2;len<=maxLen;++len,code<<=1,skip<<=1)for(var val=0;val<n;++val)if(lengths[val]===len){var code2=0,t=code;for(i=0;i<len;++i)code2=code2<<1|t&1,t>>=1;for(i=code2;i<size;i+=skip)codes[i]=len<<16|val;++code}return[codes,maxLen]};FlateStream.prototype.readBlock=function(){var len=this.str;var buffer=this.getBits(3);buffer&1&&(this.eof=!0);buffer>>=1;if(0===buffer){if(-1===(buffer=len.getByte()))throw new _util.FormatError("Bad block header in flate stream");var blockLen=buffer;if(-1===
(buffer=len.getByte()))throw new _util.FormatError("Bad block header in flate stream");blockLen|=buffer<<8;if(-1===(buffer=len.getByte()))throw new _util.FormatError("Bad block header in flate stream");var check=buffer;if(-1===(buffer=len.getByte()))throw new _util.FormatError("Bad block header in flate stream");check|=buffer<<8;if(check!==(~blockLen&65535)&&(0!==blockLen||0!==check))throw new _util.FormatError("Bad uncompressed block length in flate stream");this.codeSize=this.codeBuf=0;check=this.bufferLength;
var end=check+blockLen;buffer=this.ensureBuffer(end);this.bufferLength=end;0===blockLen?-1===len.peekByte()&&(this.eof=!0):(len=len.getBytes(blockLen),buffer.set(len,check),len.length<blockLen&&(this.eof=!0))}else{if(1===buffer)blockLen=fixedLitCodeTab,check=fixedDistCodeTab;else if(2===buffer){buffer=this.getBits(5)+257;end=this.getBits(5)+1;len=this.getBits(4)+4;check=new Uint8Array(codeLenCodeMap.length);for(blockLen=0;blockLen<len;++blockLen)check[codeLenCodeMap[blockLen]]=this.getBits(3);check=
this.generateHuffmanTable(check);blockLen=len=0;end=buffer+end;for(var codeLengths=new Uint8Array(end),bitsLength,bitsOffset,what;blockLen<end;){what=this.getCode(check);if(16===what)bitsLength=2,bitsOffset=3,what=len;else if(17===what)bitsOffset=bitsLength=3,what=len=0;else if(18===what)bitsLength=7,bitsOffset=11,what=len=0;else{codeLengths[blockLen++]=len=what;continue}for(bitsLength=this.getBits(bitsLength)+bitsOffset;0<bitsLength--;)codeLengths[blockLen++]=what}blockLen=this.generateHuffmanTable(codeLengths.subarray(0,
buffer));check=this.generateHuffmanTable(codeLengths.subarray(buffer,end))}else throw new _util.FormatError("Unknown block type in flate stream");end=(buffer=this.buffer)?buffer.length:0;for(codeLengths=this.bufferLength;;)if(what=this.getCode(blockLen),256>what)codeLengths+1>=end&&(buffer=this.ensureBuffer(codeLengths+1),end=buffer.length),buffer[codeLengths++]=what;else{if(256===what){this.bufferLength=codeLengths;break}what-=257;what=lengthDecode[what];bitsLength=what>>16;0<bitsLength&&(bitsLength=
this.getBits(bitsLength));len=(what&65535)+bitsLength;what=this.getCode(check);what=distDecode[what];bitsLength=what>>16;0<bitsLength&&(bitsLength=this.getBits(bitsLength));what=(what&65535)+bitsLength;codeLengths+len>=end&&(buffer=this.ensureBuffer(codeLengths+len),end=buffer.length);for(bitsLength=0;bitsLength<len;++bitsLength,++codeLengths)buffer[codeLengths]=buffer[codeLengths-what]}}};return FlateStream}();exports.FlateStream=module;module=function(){function PredictorStream(str,maybeLength,
params){if(!(0,_primitives.isDict)(params))return str;var predictor=this.predictor=params.get("Predictor")||1;if(1>=predictor)return str;if(2!==predictor&&(10>predictor||15<predictor))throw new _util.FormatError("Unsupported predictor: ".concat(predictor));this.readBlock=2===predictor?this.readBlockTiff:this.readBlockPng;this.str=str;this.dict=str.dict;str=this.colors=params.get("Colors")||1;predictor=this.bits=params.get("BitsPerComponent")||8;params=this.columns=params.get("Columns")||1;this.pixBytes=
str*predictor+7>>3;this.rowBytes=params*str*predictor+7>>3;DecodeStream.call(this,maybeLength);return this}PredictorStream.prototype=Object.create(DecodeStream.prototype);PredictorStream.prototype.readBlockTiff=function(){var rowBytes=this.rowBytes,bufferLength=this.bufferLength,buffer=this.ensureBuffer(bufferLength+rowBytes),bits=this.bits,colors=this.colors,rawBytes=this.str.getBytes(rowBytes);this.eof=!rawBytes.length;if(!this.eof){var inbuf=0,outbuf=0,inbits=0,outbits=0,pos=bufferLength;if(1===
bits&&1===colors)for(bufferLength=0;bufferLength<rowBytes;++bufferLength)bits=rawBytes[bufferLength]^inbuf,bits^=bits>>1,bits^=bits>>2,bits^=bits>>4,inbuf=(bits&1)<<7,buffer[pos++]=bits;else if(8===bits){for(bufferLength=0;bufferLength<colors;++bufferLength)buffer[pos++]=rawBytes[bufferLength];for(;bufferLength<rowBytes;++bufferLength)buffer[pos]=buffer[pos-colors]+rawBytes[bufferLength],pos++}else if(16===bits){inbuf=2*colors;for(bufferLength=0;bufferLength<inbuf;++bufferLength)buffer[pos++]=rawBytes[bufferLength];
for(;bufferLength<rowBytes;bufferLength+=2)bits=((rawBytes[bufferLength]&255)<<8)+(rawBytes[bufferLength+1]&255)+((buffer[pos-inbuf]&255)<<8)+(buffer[pos-inbuf+1]&255),buffer[pos++]=bits>>8&255,buffer[pos++]=bits&255}else{pos=new Uint8Array(colors+1);var bitMask=(1<<bits)-1,j=0,k=bufferLength,columns=this.columns;for(bufferLength=0;bufferLength<columns;++bufferLength)for(var kk=0;kk<colors;++kk)inbits<bits&&(inbuf=inbuf<<8|rawBytes[j++]&255,inbits+=8),pos[kk]=pos[kk]+(inbuf>>inbits-bits)&bitMask,
inbits-=bits,outbuf=outbuf<<bits|pos[kk],outbits+=bits,8<=outbits&&(buffer[k++]=outbuf>>outbits-8&255,outbits-=8);0<outbits&&(buffer[k++]=(outbuf<<8-outbits)+(inbuf&(1<<8-outbits)-1))}this.bufferLength+=rowBytes}};PredictorStream.prototype.readBlockPng=function(){var rowBytes=this.rowBytes,pixBytes=this.pixBytes,predictor=this.str.getByte(),rawBytes=this.str.getBytes(rowBytes);this.eof=!rawBytes.length;if(!this.eof){var bufferLength=this.bufferLength,buffer=this.ensureBuffer(bufferLength+rowBytes),
prevRow=buffer.subarray(bufferLength-rowBytes,bufferLength);0===prevRow.length&&(prevRow=new Uint8Array(rowBytes));switch(predictor){case 0:for(predictor=0;predictor<rowBytes;++predictor)buffer[bufferLength++]=rawBytes[predictor];break;case 1:for(predictor=0;predictor<pixBytes;++predictor)buffer[bufferLength++]=rawBytes[predictor];for(;predictor<rowBytes;++predictor)buffer[bufferLength]=buffer[bufferLength-pixBytes]+rawBytes[predictor]&255,bufferLength++;break;case 2:for(predictor=0;predictor<rowBytes;++predictor)buffer[bufferLength++]=
prevRow[predictor]+rawBytes[predictor]&255;break;case 3:for(predictor=0;predictor<pixBytes;++predictor)buffer[bufferLength++]=(prevRow[predictor]>>1)+rawBytes[predictor];for(;predictor<rowBytes;++predictor)buffer[bufferLength]=(prevRow[predictor]+buffer[bufferLength-pixBytes]>>1)+rawBytes[predictor]&255,bufferLength++;break;case 4:for(predictor=0;predictor<pixBytes;++predictor){var up=prevRow[predictor];var c=rawBytes[predictor];buffer[bufferLength++]=up+c}for(;predictor<rowBytes;++predictor){up=
prevRow[predictor];var upLeft=prevRow[predictor-pixBytes],left=buffer[bufferLength-pixBytes];c=left+up-upLeft;var pa=c-left;0>pa&&(pa=-pa);var pb=c-up;0>pb&&(pb=-pb);var pc=c-upLeft;0>pc&&(pc=-pc);c=rawBytes[predictor];pa<=pb&&pa<=pc?buffer[bufferLength++]=left+c:pb<=pc?buffer[bufferLength++]=up+c:buffer[bufferLength++]=upLeft+c}break;default:throw new _util.FormatError("Unsupported predictor: ".concat(predictor));}this.bufferLength+=rowBytes}};return PredictorStream}();exports.PredictorStream=module;
module=function(){function DecryptStream(str,maybeLength,decrypt){this.str=str;this.dict=str.dict;this.decrypt=decrypt;this.nextChunk=null;this.initialized=!1;DecodeStream.call(this,maybeLength)}DecryptStream.prototype=Object.create(DecodeStream.prototype);DecryptStream.prototype.readBlock=function(){if(this.initialized)var chunk=this.nextChunk;else chunk=this.str.getBytes(512),this.initialized=!0;if(chunk&&0!==chunk.length){this.nextChunk=this.str.getBytes(512);var decrypt=this.decrypt;chunk=decrypt(chunk,
!(this.nextChunk&&0<this.nextChunk.length));decrypt=this.bufferLength;var i,n=chunk.length,buffer=this.ensureBuffer(decrypt+n);for(i=0;i<n;i++)buffer[decrypt++]=chunk[i];this.bufferLength=decrypt}else this.eof=!0};return DecryptStream}();exports.DecryptStream=module;module=function(){function Ascii85Stream(str,maybeLength){this.str=str;this.dict=str.dict;this.input=new Uint8Array(5);maybeLength&&(maybeLength*=.8);DecodeStream.call(this,maybeLength)}Ascii85Stream.prototype=Object.create(DecodeStream.prototype);
Ascii85Stream.prototype.readBlock=function(){for(var str=this.str,c=str.getByte();(0,_util.isSpace)(c);)c=str.getByte();if(-1===c||126===c)this.eof=!0;else{var bufferLength=this.bufferLength,i;if(122===c){str=this.ensureBuffer(bufferLength+4);for(i=0;4>i;++i)str[bufferLength+i]=0;this.bufferLength+=4}else{var input=this.input;input[0]=c;for(i=1;5>i;++i){for(c=str.getByte();(0,_util.isSpace)(c);)c=str.getByte();input[i]=c;if(-1===c||126===c)break}str=this.ensureBuffer(bufferLength+i-1);this.bufferLength+=
i-1;if(5>i){for(;5>i;++i)input[i]=117;this.eof=!0}for(i=c=0;5>i;++i)c=85*c+(input[i]-33);for(i=3;0<=i;--i)str[bufferLength+i]=c&255,c>>=8}}};return Ascii85Stream}();exports.Ascii85Stream=module;module=function(){function AsciiHexStream(str,maybeLength){this.str=str;this.dict=str.dict;this.firstDigit=-1;maybeLength&&(maybeLength*=.5);DecodeStream.call(this,maybeLength)}AsciiHexStream.prototype=Object.create(DecodeStream.prototype);AsciiHexStream.prototype.readBlock=function(){var bytes=this.str.getBytes(8E3);
if(bytes.length){for(var buffer=this.ensureBuffer(this.bufferLength+(bytes.length+1>>1)),bufferLength=this.bufferLength,firstDigit=this.firstDigit,i=0,ii=bytes.length;i<ii;i++){var ch=bytes[i];if(48<=ch&&57>=ch)ch&=15;else if(65<=ch&&70>=ch||97<=ch&&102>=ch)ch=(ch&15)+9;else if(62===ch){this.eof=!0;break}else continue;0>firstDigit?firstDigit=ch:(buffer[bufferLength++]=firstDigit<<4|ch,firstDigit=-1)}0<=firstDigit&&this.eof&&(buffer[bufferLength++]=firstDigit<<4,firstDigit=-1);this.firstDigit=firstDigit;
this.bufferLength=bufferLength}else this.eof=!0};return AsciiHexStream}();exports.AsciiHexStream=module;module=function(){function RunLengthStream(str,maybeLength){this.str=str;this.dict=str.dict;DecodeStream.call(this,maybeLength)}RunLengthStream.prototype=Object.create(DecodeStream.prototype);RunLengthStream.prototype.readBlock=function(){var repeatHeader=this.str.getBytes(2);if(!repeatHeader||2>repeatHeader.length||128===repeatHeader[0])this.eof=!0;else{var bufferLength=this.bufferLength,n=repeatHeader[0];
if(128>n){var buffer=this.ensureBuffer(bufferLength+n+1);buffer[bufferLength++]=repeatHeader[1];0<n&&(repeatHeader=this.str.getBytes(n),buffer.set(repeatHeader,bufferLength),bufferLength+=n)}else{n=257-n;repeatHeader=repeatHeader[1];buffer=this.ensureBuffer(bufferLength+n+1);for(var i=0;i<n;i++)buffer[bufferLength++]=repeatHeader}this.bufferLength=bufferLength}};return RunLengthStream}();exports.RunLengthStream=module;module=function(){function LZWStream(str,maybeLength,earlyChange){this.str=str;
this.dict=str.dict;this.bitsCached=this.cachedData=0;str={earlyChange:earlyChange,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(4096),dictionaryLengths:new Uint16Array(4096),dictionaryPrevCodes:new Uint16Array(4096),currentSequence:new Uint8Array(4096),currentSequenceLength:0};for(earlyChange=0;256>earlyChange;++earlyChange)str.dictionaryValues[earlyChange]=earlyChange,str.dictionaryLengths[earlyChange]=1;this.lzwState=str;DecodeStream.call(this,maybeLength)}LZWStream.prototype=Object.create(DecodeStream.prototype);
LZWStream.prototype.readBits=function(n){for(var bitsCached=this.bitsCached,cachedData=this.cachedData;bitsCached<n;){var c=this.str.getByte();if(-1===c)return this.eof=!0,null;cachedData=cachedData<<8|c;bitsCached+=8}this.bitsCached=bitsCached-=n;this.cachedData=cachedData;this.lastCode=null;return cachedData>>>bitsCached&(1<<n)-1};LZWStream.prototype.readBlock=function(){var estimatedDecodedSize=1024,i,q,lzwState=this.lzwState;if(lzwState){var earlyChange=lzwState.earlyChange,nextCode=lzwState.nextCode,
dictionaryValues=lzwState.dictionaryValues,dictionaryLengths=lzwState.dictionaryLengths,dictionaryPrevCodes=lzwState.dictionaryPrevCodes,codeLength=lzwState.codeLength,prevCode=lzwState.prevCode,currentSequence=lzwState.currentSequence,currentSequenceLength=lzwState.currentSequenceLength,decodedLength=0,currentBufferLength=this.bufferLength,buffer=this.ensureBuffer(this.bufferLength+estimatedDecodedSize);for(i=0;512>i;i++){var code=this.readBits(codeLength),hasPrev=0<currentSequenceLength;if(256>
code)currentSequence[0]=code,currentSequenceLength=1;else if(258<=code)if(code<nextCode){currentSequenceLength=dictionaryLengths[code];var j=currentSequenceLength-1;for(q=code;0<=j;j--)currentSequence[j]=dictionaryValues[q],q=dictionaryPrevCodes[q]}else currentSequence[currentSequenceLength++]=currentSequence[0];else if(256===code){codeLength=9;nextCode=258;currentSequenceLength=0;continue}else{this.eof=!0;delete this.lzwState;break}hasPrev&&(dictionaryPrevCodes[nextCode]=prevCode,dictionaryLengths[nextCode]=
dictionaryLengths[prevCode]+1,dictionaryValues[nextCode]=currentSequence[0],nextCode++,codeLength=nextCode+earlyChange&nextCode+earlyChange-1?codeLength:Math.min(Math.log(nextCode+earlyChange)/.6931471805599453+1,12)|0);prevCode=code;decodedLength+=currentSequenceLength;if(estimatedDecodedSize<decodedLength){do estimatedDecodedSize+=512;while(estimatedDecodedSize<decodedLength);buffer=this.ensureBuffer(this.bufferLength+estimatedDecodedSize)}for(j=0;j<currentSequenceLength;j++)buffer[currentBufferLength++]=
currentSequence[j]}lzwState.nextCode=nextCode;lzwState.codeLength=codeLength;lzwState.prevCode=prevCode;lzwState.currentSequenceLength=currentSequenceLength;this.bufferLength=currentBufferLength}};return LZWStream}();exports.LZWStream=module;module=function(){function NullStream(){Stream.call(this,new Uint8Array(0))}NullStream.prototype=Stream.prototype;return NullStream}();exports.NullStream=module},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});
exports.CCITTFaxStream=void 0;var _primitives=__w_pdfjs_require__(188),_ccitt=__w_pdfjs_require__(197),_stream=__w_pdfjs_require__(195);module=function(){function CCITTFaxStream(str,maybeLength,params){this.str=str;this.dict=str.dict;(0,_primitives.isDict)(params)||(params=_primitives.Dict.empty);this.ccittFaxDecoder=new _ccitt.CCITTFaxDecoder({next:function(){return str.getByte()}},{K:params.get("K"),EndOfLine:params.get("EndOfLine"),EncodedByteAlign:params.get("EncodedByteAlign"),Columns:params.get("Columns"),
Rows:params.get("Rows"),EndOfBlock:params.get("EndOfBlock"),BlackIs1:params.get("BlackIs1")});_stream.DecodeStream.call(this,maybeLength)}CCITTFaxStream.prototype=Object.create(_stream.DecodeStream.prototype);CCITTFaxStream.prototype.readBlock=function(){for(;!this.eof;){var c=this.ccittFaxDecoder.readNextChar();if(-1===c){this.eof=!0;break}this.ensureBuffer(this.bufferLength+1);this.buffer[this.bufferLength++]=c}};return CCITTFaxStream}();exports.CCITTFaxStream=module},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,
"__esModule",{value:!0});exports.CCITTFaxDecoder=void 0;var _util=__w_pdfjs_require__(5);module=function(){function CCITTFaxDecoder(source){var options=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!source||"function"!==typeof source.next)throw Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=source;this.eof=!1;this.encoding=options.K||0;this.eoline=options.EndOfLine||!1;this.byteAlign=options.EncodedByteAlign||!1;this.columns=options.Columns||1728;this.rows=options.Rows||
0;var eoblock=options.EndOfBlock;if(null===eoblock||void 0===eoblock)eoblock=!0;this.eoblock=eoblock;this.black=options.BlackIs1||!1;this.codingLine=new Uint32Array(this.columns+1);this.refLine=new Uint32Array(this.columns+2);this.codingLine[0]=this.columns;this.row=this.codingPos=0;this.nextLine2D=0>this.encoding;this.outputBits=this.inputBuf=this.inputBits=0;for(this.rowsDone=!1;0===(options=this._lookBits(12));)this._eatBits(1);1===options&&this._eatBits(12);0<this.encoding&&(this.nextLine2D=!this._lookBits(1),
this._eatBits(1))}var twoDimTable=[[-1,-1],[-1,-1],[7,8],[7,7],[6,6],[6,6],[6,5],[6,5],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],
[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2]],whiteTable1=[[-1,-1],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,
2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],whiteTable2=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],
[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,
10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],
[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],
[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],
[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],
[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],
[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],blackTable1=[[-1,-1],[-1,-1],[12,-2],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],
[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,
448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],blackTable2=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],
[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],
[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,
12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],blackTable3=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];CCITTFaxDecoder.prototype=
{readNextChar:function(){if(this.eof)return-1;var refLine=this.refLine,codingLine=this.codingLine,columns=this.columns,refPos,blackPixels;if(0===this.outputBits){this.rowsDone&&(this.eof=!0);if(this.eof)return-1;this.err=!1;var code2,code3;if(this.nextLine2D){for(refPos=0;codingLine[refPos]<columns;++refPos)refLine[refPos]=codingLine[refPos];refLine[refPos++]=columns;refLine[refPos]=columns;for(blackPixels=refPos=this.codingPos=codingLine[0]=0;codingLine[this.codingPos]<columns;){var bits=this._getTwoDimCode();
switch(bits){case 0:this._addPixels(refLine[refPos+1],blackPixels);refLine[refPos+1]<columns&&(refPos+=2);break;case 1:bits=code2=0;if(blackPixels){do bits+=code3=this._getBlackCode();while(64<=code3);do code2+=code3=this._getWhiteCode();while(64<=code3)}else{do bits+=code3=this._getWhiteCode();while(64<=code3);do code2+=code3=this._getBlackCode();while(64<=code3)}this._addPixels(codingLine[this.codingPos]+bits,blackPixels);for(codingLine[this.codingPos]<columns&&this._addPixels(codingLine[this.codingPos]+
code2,blackPixels^1);refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 7:this._addPixels(refLine[refPos]+3,blackPixels);blackPixels^=1;if(codingLine[this.codingPos]<columns)for(++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 5:this._addPixels(refLine[refPos]+2,blackPixels);blackPixels^=1;if(codingLine[this.codingPos]<columns)for(++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=
2;break;case 3:this._addPixels(refLine[refPos]+1,blackPixels);blackPixels^=1;if(codingLine[this.codingPos]<columns)for(++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 2:this._addPixels(refLine[refPos],blackPixels);blackPixels^=1;if(codingLine[this.codingPos]<columns)for(++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 8:this._addPixelsNeg(refLine[refPos]-3,blackPixels);blackPixels^=1;if(codingLine[this.codingPos]<
columns)for(0<refPos?--refPos:++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 6:this._addPixelsNeg(refLine[refPos]-2,blackPixels);blackPixels^=1;if(codingLine[this.codingPos]<columns)for(0<refPos?--refPos:++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 4:this._addPixelsNeg(refLine[refPos]-1,blackPixels);blackPixels^=1;if(codingLine[this.codingPos]<columns)for(0<refPos?--refPos:++refPos;refLine[refPos]<=
codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case -1:this._addPixels(columns,0);this.eof=!0;break;default:(0,_util.info)("bad 2d code"),this._addPixels(columns,0),this.err=!0}}}else for(blackPixels=this.codingPos=codingLine[0]=0;codingLine[this.codingPos]<columns;){bits=0;if(blackPixels){do bits+=code3=this._getBlackCode();while(64<=code3)}else{do bits+=code3=this._getWhiteCode();while(64<=code3)}this._addPixels(codingLine[this.codingPos]+bits,blackPixels);blackPixels^=1}refLine=
!1;this.byteAlign&&(this.inputBits&=-8);if(this.eoblock||this.row!==this.rows-1){bits=this._lookBits(12);if(this.eoline)for(;-1!==bits&&1!==bits;)this._eatBits(1),bits=this._lookBits(12);else for(;0===bits;)this._eatBits(1),bits=this._lookBits(12);1===bits?(this._eatBits(12),refLine=!0):-1===bits&&(this.eof=!0)}else this.rowsDone=!0;!this.eof&&0<this.encoding&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1));if(this.eoblock&&refLine&&this.byteAlign){if(bits=this._lookBits(12),
1===bits){this._eatBits(12);0<this.encoding&&(this._lookBits(1),this._eatBits(1));if(0<=this.encoding)for(refPos=0;4>refPos;++refPos)bits=this._lookBits(12),1!==bits&&(0,_util.info)("bad rtc code: "+bits),this._eatBits(12),0<this.encoding&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){bits=this._lookBits(13);if(-1===bits)return this.eof=!0,-1;if(1===bits>>1)break;this._eatBits(1)}this._eatBits(12);0<this.encoding&&(this._eatBits(1),this.nextLine2D=!(bits&
1))}this.outputBits=0<codingLine[0]?codingLine[this.codingPos=0]:codingLine[this.codingPos=1];this.row++}if(8<=this.outputBits)refLine=this.codingPos&1?0:255,this.outputBits-=8,0===this.outputBits&&codingLine[this.codingPos]<columns&&(this.codingPos++,this.outputBits=codingLine[this.codingPos]-codingLine[this.codingPos-1]);else{bits=8;refLine=0;do this.outputBits>bits?(refLine<<=bits,this.codingPos&1||(refLine|=255>>8-bits),this.outputBits-=bits,bits=0):(refLine<<=this.outputBits,this.codingPos&1||
(refLine|=255>>8-this.outputBits),bits-=this.outputBits,this.outputBits=0,codingLine[this.codingPos]<columns?(this.codingPos++,this.outputBits=codingLine[this.codingPos]-codingLine[this.codingPos-1]):0<bits&&(refLine<<=bits,bits=0));while(bits)}this.black&&(refLine^=255);return refLine},_addPixels:function(a1,blackPixels){var codingLine=this.codingLine,codingPos=this.codingPos;a1>codingLine[codingPos]&&(a1>this.columns&&((0,_util.info)("row is wrong length"),this.err=!0,a1=this.columns),codingPos&
1^blackPixels&&++codingPos,codingLine[codingPos]=a1);this.codingPos=codingPos},_addPixelsNeg:function(a1,blackPixels){var codingLine=this.codingLine,codingPos=this.codingPos;if(a1>codingLine[codingPos])a1>this.columns&&((0,_util.info)("row is wrong length"),this.err=!0,a1=this.columns),codingPos&1^blackPixels&&++codingPos,codingLine[codingPos]=a1;else if(a1<codingLine[codingPos]){0>a1&&((0,_util.info)("invalid code"),this.err=!0,a1=0);for(;0<codingPos&&a1<codingLine[codingPos-1];)--codingPos;codingLine[codingPos]=
a1}this.codingPos=codingPos},_findTableCode:function(start,end,table,limit){for(limit=limit||0;start<=end;++start){var code=this._lookBits(start);if(-1===code)return[!0,1,!1];start<end&&(code<<=end-start);if(!limit||code>=limit)if(code=table[code-limit],code[0]===start)return this._eatBits(start),[!0,code[1],!0]}return[!1,0,!1]},_getTwoDimCode:function(){if(this.eoblock){var code=this._lookBits(7);if((code=twoDimTable[code])&&0<code[0])return this._eatBits(code[0]),code[1]}else if(code=this._findTableCode(1,
7,twoDimTable),code[0]&&code[2])return code[1];(0,_util.info)("Bad two dim code");return-1},_getWhiteCode:function(){if(this.eoblock){var code=this._lookBits(12);if(-1===code)return 1;code=0===code>>5?whiteTable1[code]:whiteTable2[code>>3];if(0<code[0])return this._eatBits(code[0]),code[1]}else{code=this._findTableCode(1,9,whiteTable2);if(code[0])return code[1];code=this._findTableCode(11,12,whiteTable1);if(code[0])return code[1]}(0,_util.info)("bad white code");this._eatBits(1);return 1},_getBlackCode:function(){if(this.eoblock){var code=
this._lookBits(13);if(-1===code)return 1;code=0===code>>7?blackTable1[code]:0===code>>9&&0!==code>>7?blackTable2[(code>>1)-64]:blackTable3[code>>7];if(0<code[0])return this._eatBits(code[0]),code[1]}else{code=this._findTableCode(2,6,blackTable3);if(code[0])return code[1];code=this._findTableCode(7,12,blackTable2,64);if(code[0])return code[1];code=this._findTableCode(10,13,blackTable1);if(code[0])return code[1]}(0,_util.info)("bad black code");this._eatBits(1);return 1},_lookBits:function(n){for(var c;this.inputBits<
n;){if(-1===(c=this.source.next()))return 0===this.inputBits?-1:this.inputBuf<<n-this.inputBits&65535>>16-n;this.inputBuf=this.inputBuf<<8|c;this.inputBits+=8}return this.inputBuf>>this.inputBits-n&65535>>16-n},_eatBits:function(n){0>(this.inputBits-=n)&&(this.inputBits=0)}};return CCITTFaxDecoder}();exports.CCITTFaxDecoder=module},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});exports.Jbig2Stream=void 0;var _primitives=__w_pdfjs_require__(188),
_stream=__w_pdfjs_require__(195),_jbig=__w_pdfjs_require__(199),_util=__w_pdfjs_require__(5);module=function(){function Jbig2Stream(stream,maybeLength,dict,params){this.stream=stream;this.maybeLength=maybeLength;this.dict=dict;this.params=params;_stream.DecodeStream.call(this,maybeLength)}Jbig2Stream.prototype=Object.create(_stream.DecodeStream.prototype);Object.defineProperty(Jbig2Stream.prototype,"bytes",{get:function(){return(0,_util.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))},
configurable:!0});Jbig2Stream.prototype.ensureBuffer=function(requested){};Jbig2Stream.prototype.readBlock=function(){if(!this.eof){var jbig2Image=new _jbig.Jbig2Image,chunks=[];if((0,_primitives.isDict)(this.params)){var globalsStream=this.params.get("JBIG2Globals");(0,_primitives.isStream)(globalsStream)&&(globalsStream=globalsStream.getBytes(),chunks.push({data:globalsStream,start:0,end:globalsStream.length}))}chunks.push({data:this.bytes,start:0,end:this.bytes.length});jbig2Image=jbig2Image.parseChunks(chunks);
chunks=jbig2Image.length;for(globalsStream=0;globalsStream<chunks;globalsStream++)jbig2Image[globalsStream]^=255;this.buffer=jbig2Image;this.bufferLength=chunks;this.eof=!0}};return Jbig2Stream}();exports.Jbig2Stream=module},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?
"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _getPrototypeOf(o$jscomp$0){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o$jscomp$0)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,
writable:!0,configurable:!0}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p$jscomp$0){_setPrototypeOf=Object.setPrototypeOf||function(o,p){o.__proto__=p;return o};return _setPrototypeOf(o$jscomp$0,p$jscomp$0)}Object.defineProperty(exports,"__esModule",{value:!0});exports.Jbig2Image=void 0;var _util=__w_pdfjs_require__(5),_arithmetic_decoder=__w_pdfjs_require__(200),_ccitt=__w_pdfjs_require__(197),Jbig2Error=function(_BaseException){function Jbig2Error(msg){if(!(this instanceof
Jbig2Error))throw new TypeError("Cannot call a class as a function");msg=_getPrototypeOf(Jbig2Error).call(this,"JBIG2 error: ".concat(msg));if(!msg||"object"!==_typeof(msg)&&"function"!==typeof msg){if(void 0===this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");msg=this}return msg}_inherits(Jbig2Error,_BaseException);return Jbig2Error}(_util.BaseException);module=function(){function ContextCache(){}function DecodingContext(data,start,end){this.data=data;this.start=
start;this.end=end}function decodeInteger(contextCache,procedure,decoder){function readBits(length){for(var v=0,i=0;i<length;i++){var bit=decoder.readBit(contexts,prev);prev=256>prev?prev<<1|bit:(prev<<1|bit)&511|256;v=v<<1|bit}return v>>>0}var contexts=contextCache.getContexts(procedure),prev=1;contextCache=readBits(1);procedure=readBits(1)?readBits(1)?readBits(1)?readBits(1)?readBits(1)?readBits(32)+4436:readBits(12)+340:readBits(8)+84:readBits(6)+20:readBits(4)+4:readBits(2);return 0===contextCache?
procedure:0<procedure?-procedure:null}function decodeIAID(contextCache,decoder,codeLength){contextCache=contextCache.getContexts("IAID");for(var prev=1,i=0;i<codeLength;i++){var bit=decoder.readBit(contextCache,prev);prev=prev<<1|bit}return 31>codeLength?prev&(1<<codeLength)-1:prev&2147483647}function decodeBitmapTemplate0(width,height,decodingContext){var decoder=decodingContext.decoder;decodingContext=decodingContext.contextCache.getContexts("GB");var i,j,pixel,bitmap=[];for(i=0;i<height;i++){var row=
bitmap[i]=new Uint8Array(width);var row1=1>i?row:bitmap[i-1];var row2=2>i?row:bitmap[i-2];var contextLabel=row2[0]<<13|row2[1]<<12|row2[2]<<11|row1[0]<<7|row1[1]<<6|row1[2]<<5|row1[3]<<4;for(j=0;j<width;j++)row[j]=pixel=decoder.readBit(decodingContext,contextLabel),contextLabel=(contextLabel&31735)<<1|(j+3<width?row2[j+3]<<11:0)|(j+4<width?row1[j+4]<<4:0)|pixel}return bitmap}function decodeBitmap(mmr,width,height,templateIndex,prediction,skip,at,decodingContext){if(mmr)return prediction=new Reader(decodingContext.data,
decodingContext.start,decodingContext.end),decodeMMRBitmap(prediction,width,height,!1);if(0===templateIndex&&!skip&&!prediction&&4===at.length&&3===at[0].x&&-1===at[0].y&&-3===at[1].x&&-1===at[1].y&&2===at[2].x&&-2===at[2].y&&-2===at[3].x&&-2===at[3].y)return decodeBitmapTemplate0(width,height,decodingContext);mmr=!!skip;var template=CodingTemplates[templateIndex].concat(at);template.sort(function(a,b){return a.y-b.y||a.x-b.x});at=template.length;var templateX=new Int8Array(at),templateY=new Int8Array(at),
changingTemplateEntries=[],reuseMask=0,minX=0,maxX=0,minY=0,c,k;for(k=0;k<at;k++)templateX[k]=template[k].x,templateY[k]=template[k].y,minX=Math.min(minX,template[k].x),maxX=Math.max(maxX,template[k].x),minY=Math.min(minY,template[k].y),k<at-1&&template[k].y===template[k+1].y&&template[k].x===template[k+1].x-1?reuseMask|=1<<at-1-k:changingTemplateEntries.push(k);var changingEntriesLength=changingTemplateEntries.length,changingTemplateX=new Int8Array(changingEntriesLength),changingTemplateY=new Int8Array(changingEntriesLength),
changingTemplateBit=new Uint16Array(changingEntriesLength);for(c=0;c<changingEntriesLength;c++)k=changingTemplateEntries[c],changingTemplateX[c]=template[k].x,changingTemplateY[c]=template[k].y,changingTemplateBit[c]=1<<at-1-k;template=-minX;minY=-minY;maxX=width-maxX;templateIndex=ReusedContexts[templateIndex];changingTemplateEntries=new Uint8Array(width);minX=[];c=decodingContext.decoder;decodingContext=decodingContext.contextCache.getContexts("GB");for(var ltp=0,j,i0,j0,contextLabel=0,shift,i=
0;i<height;i++){if(prediction&&(k=c.readBit(decodingContext,templateIndex),ltp^=k)){minX.push(changingTemplateEntries);continue}changingTemplateEntries=new Uint8Array(changingTemplateEntries);minX.push(changingTemplateEntries);for(j=0;j<width;j++)if(mmr&&skip[i][j])changingTemplateEntries[j]=0;else{if(j>=template&&j<maxX&&i>=minY)for(contextLabel=contextLabel<<1&reuseMask,k=0;k<changingEntriesLength;k++){if(i0=i+changingTemplateY[k],j0=j+changingTemplateX[k],i0=minX[i0][j0])i0=changingTemplateBit[k],
contextLabel|=i0}else for(contextLabel=0,shift=at-1,k=0;k<at;k++,shift--)j0=j+templateX[k],0<=j0&&j0<width&&(i0=i+templateY[k],0<=i0&&(i0=minX[i0][j0])&&(contextLabel|=i0<<shift));k=c.readBit(decodingContext,contextLabel);changingTemplateEntries[j]=k}}return minX}function decodeRefinement(width,height,templateIndex,referenceBitmap,offsetX,offsetY,prediction,at,decodingContext){var codingTemplate=RefinementTemplates[templateIndex].coding;0===templateIndex&&(codingTemplate=codingTemplate.concat([at[0]]));
var codingTemplateLength=codingTemplate.length,codingTemplateX=new Int32Array(codingTemplateLength),codingTemplateY=new Int32Array(codingTemplateLength),k;for(k=0;k<codingTemplateLength;k++)codingTemplateX[k]=codingTemplate[k].x,codingTemplateY[k]=codingTemplate[k].y;var referenceTemplate=RefinementTemplates[templateIndex].reference;0===templateIndex&&(referenceTemplate=referenceTemplate.concat([at[1]]));at=referenceTemplate.length;codingTemplate=new Int32Array(at);var referenceTemplateY=new Int32Array(at);
for(k=0;k<at;k++)codingTemplate[k]=referenceTemplate[k].x,referenceTemplateY[k]=referenceTemplate[k].y;referenceTemplate=referenceBitmap[0].length;var referenceHeight=referenceBitmap.length;templateIndex=RefinementReusedContexts[templateIndex];var bitmap=[],decoder=decodingContext.decoder;decodingContext=decodingContext.contextCache.getContexts("GR");for(var ltp=0,i=0;i<height;i++){if(prediction&&(k=decoder.readBit(decodingContext,templateIndex),ltp^=k))throw new Jbig2Error("prediction is not supported");
var row=new Uint8Array(width);bitmap.push(row);for(var j=0;j<width;j++){var contextLabel=0;for(k=0;k<codingTemplateLength;k++){var i0=i+codingTemplateY[k];var j0=j+codingTemplateX[k];contextLabel=0>i0||0>j0||j0>=width?contextLabel<<1:contextLabel<<1|bitmap[i0][j0]}for(k=0;k<at;k++)i0=i+referenceTemplateY[k]-offsetY,j0=j+codingTemplate[k]-offsetX,contextLabel=0>i0||i0>=referenceHeight||0>j0||j0>=referenceTemplate?contextLabel<<1:contextLabel<<1|referenceBitmap[i0][j0];k=decoder.readBit(decodingContext,
contextLabel);row[j]=k}}return bitmap}function decodeTextRegion(huffman,refinement,width,height,defaultPixelValue,numberOfSymbolInstances,stripSize,inputSymbols,symbolCodeLength,transposed,dsOffset,referenceCorner,combinationOperator,huffmanTables,refinementTemplateIndex,refinementAt,decodingContext,logStripSize,huffmanInput){if(huffman&&refinement)throw new Jbig2Error("refinement with Huffman is not supported");var bitmap=[],i;for(i=0;i<height;i++){var row=new Uint8Array(width);if(defaultPixelValue)for(var j=
0;j<width;j++)row[j]=defaultPixelValue;bitmap.push(row)}height=decodingContext.decoder;defaultPixelValue=decodingContext.contextCache;j=huffman?-huffmanTables.tableDeltaT.decode(huffmanInput):-decodeInteger(defaultPixelValue,"IADT",height);var firstS=0;for(i=0;i<numberOfSymbolInstances;){var deltaT=huffman?huffmanTables.tableDeltaT.decode(huffmanInput):decodeInteger(defaultPixelValue,"IADT",height);j+=deltaT;deltaT=huffman?huffmanTables.tableFirstS.decode(huffmanInput):decodeInteger(defaultPixelValue,
"IAFS",height);deltaT=firstS+=deltaT;do{var currentT=0;1<stripSize&&(currentT=huffman?huffmanInput.readBits(logStripSize):decodeInteger(defaultPixelValue,"IAIT",height));row=stripSize*j+currentT;currentT=huffman?huffmanTables.symbolIDTable.decode(huffmanInput):decodeIAID(defaultPixelValue,height,symbolCodeLength);var applyRefinement=refinement&&(huffman?huffmanInput.readBit():decodeInteger(defaultPixelValue,"IARI",height));currentT=inputSymbols[currentT];var symbolWidth=currentT[0].length,symbolHeight=
currentT.length;if(applyRefinement){applyRefinement=decodeInteger(defaultPixelValue,"IARDW",height);var rdh=decodeInteger(defaultPixelValue,"IARDH",height),rdx=decodeInteger(defaultPixelValue,"IARDX",height),rdy=decodeInteger(defaultPixelValue,"IARDY",height);symbolWidth+=applyRefinement;symbolHeight+=rdh;currentT=decodeRefinement(symbolWidth,symbolHeight,refinementTemplateIndex,currentT,(applyRefinement>>1)+rdx,(rdh>>1)+rdy,!1,refinementAt,decodingContext)}applyRefinement=row-(referenceCorner&1?
0:symbolHeight-1);rdh=deltaT-(referenceCorner&2?symbolWidth-1:0);if(transposed){for(rdx=0;rdx<symbolHeight;rdx++)if(row=bitmap[rdh+rdx]){var symbolRow=currentT[rdx];var maxWidth=Math.min(width-applyRefinement,symbolWidth);switch(combinationOperator){case 0:for(rdy=0;rdy<maxWidth;rdy++)row[applyRefinement+rdy]|=symbolRow[rdy];break;case 2:for(rdy=0;rdy<maxWidth;rdy++)row[applyRefinement+rdy]^=symbolRow[rdy];break;default:throw new Jbig2Error("operator ".concat(combinationOperator," is not supported"));
}}deltaT+=symbolHeight-1}else{for(rdy=0;rdy<symbolHeight;rdy++)if(row=bitmap[applyRefinement+rdy])switch(symbolRow=currentT[rdy],combinationOperator){case 0:for(rdx=0;rdx<symbolWidth;rdx++)row[rdh+rdx]|=symbolRow[rdx];break;case 2:for(rdx=0;rdx<symbolWidth;rdx++)row[rdh+rdx]^=symbolRow[rdx];break;default:throw new Jbig2Error("operator ".concat(combinationOperator," is not supported"));}deltaT+=symbolWidth-1}i++;currentT=huffman?huffmanTables.tableDeltaS.decode(huffmanInput):decodeInteger(defaultPixelValue,
"IADS",height);if(null===currentT)break;deltaT+=currentT+dsOffset}while(1)}return bitmap}function readSegments(header,data,start$jscomp$0,end){for(var segments=[],position=start$jscomp$0;position<end;){start$jscomp$0=data;var start=position;position={};position.number=(0,_util.readUint32)(start$jscomp$0,start);var ii=start$jscomp$0[start+4];var segmentType=ii&63;if(!SegmentTypes[segmentType])throw new Jbig2Error("invalid segment type: "+segmentType);position.type=segmentType;position.typeName=SegmentTypes[segmentType];
position.deferredNonRetain=!!(ii&128);ii=!!(ii&64);var referredFlags=start$jscomp$0[start+5],referredToCount=referredFlags>>5&7;var i=[referredFlags&31];start+=6;if(7===referredFlags)for(referredToCount=(0,_util.readUint32)(start$jscomp$0,start-1)&536870911,start+=3,referredFlags=referredToCount+7>>3,i[0]=start$jscomp$0[start++];0<--referredFlags;)i.push(start$jscomp$0[start++]);else if(5===referredFlags||6===referredFlags)throw new Jbig2Error("invalid referred-to flags");position.retainBits=i;referredFlags=
256>=position.number?1:65536>=position.number?2:4;var referredTo=[];for(i=0;i<referredToCount;i++){var number=1===referredFlags?start$jscomp$0[start]:2===referredFlags?(0,_util.readUint16)(start$jscomp$0,start):(0,_util.readUint32)(start$jscomp$0,start);referredTo.push(number);start+=referredFlags}position.referredTo=referredTo;ii?(position.pageAssociation=(0,_util.readUint32)(start$jscomp$0,start),start+=4):position.pageAssociation=start$jscomp$0[start++];position.length=(0,_util.readUint32)(start$jscomp$0,
start);start+=4;if(4294967295===position.length)if(38===segmentType){ii=readRegionSegmentInformation(start$jscomp$0,start);referredToCount=!!(start$jscomp$0[start+RegionSegmentInformationFieldLength]&1);segmentType=new Uint8Array(6);referredToCount||(segmentType[0]=255,segmentType[1]=172);segmentType[2]=ii.height>>>24&255;segmentType[3]=ii.height>>16&255;segmentType[4]=ii.height>>8&255;segmentType[5]=ii.height&255;i=start;for(ii=start$jscomp$0.length;i<ii;i++){for(referredToCount=0;6>referredToCount&&
segmentType[referredToCount]===start$jscomp$0[i+referredToCount];)referredToCount++;if(6===referredToCount){position.length=i+6;break}}if(4294967295===position.length)throw new Jbig2Error("segment end was not found");}else throw new Jbig2Error("invalid unknown segment length");position.headerEnd=start;start$jscomp$0=position;position=start$jscomp$0.headerEnd;start={header:start$jscomp$0,data:data};header.randomAccess||(start.start=position,position+=start$jscomp$0.length,start.end=position);segments.push(start);
if(51===start$jscomp$0.type)break}if(header.randomAccess)for(header=0,data=segments.length;header<data;header++)segments[header].start=position,position+=segments[header].header.length,segments[header].end=position;return segments}function readRegionSegmentInformation(data,start){return{width:(0,_util.readUint32)(data,start),height:(0,_util.readUint32)(data,start+4),x:(0,_util.readUint32)(data,start+8),y:(0,_util.readUint32)(data,start+12),combinationOperator:data[start+16]&7}}function processSegments(segments,
visitor$jscomp$0){for(var i=0,ii=segments.length;i<ii;i++){var i$jscomp$0=void 0;var segment=segments[i],visitor=visitor$jscomp$0,header=segment.header,data=segment.data,position=segment.start;segment=segment.end;switch(header.type){case 0:var dictionary={};i$jscomp$0=(0,_util.readUint16)(data,position);dictionary.huffman=!!(i$jscomp$0&1);dictionary.refinement=!!(i$jscomp$0&2);dictionary.huffmanDHSelector=i$jscomp$0>>2&3;dictionary.huffmanDWSelector=i$jscomp$0>>4&3;dictionary.bitmapSizeSelector=i$jscomp$0>>
6&1;dictionary.aggregationInstancesSelector=i$jscomp$0>>7&1;dictionary.bitmapCodingContextUsed=!!(i$jscomp$0&256);dictionary.bitmapCodingContextRetained=!!(i$jscomp$0&512);dictionary.template=i$jscomp$0>>10&3;dictionary.refinementTemplate=i$jscomp$0>>12&1;position+=2;if(!dictionary.huffman){var atLength=0===dictionary.template?4:1;var at=[];for(i$jscomp$0=0;i$jscomp$0<atLength;i$jscomp$0++)at.push({x:(0,_util.readInt8)(data,position),y:(0,_util.readInt8)(data,position+1)}),position+=2;dictionary.at=
at}if(dictionary.refinement&&!dictionary.refinementTemplate){at=[];for(i$jscomp$0=0;2>i$jscomp$0;i$jscomp$0++)at.push({x:(0,_util.readInt8)(data,position),y:(0,_util.readInt8)(data,position+1)}),position+=2;dictionary.refinementAt=at}dictionary.numberOfExportedSymbols=(0,_util.readUint32)(data,position);position+=4;dictionary.numberOfNewSymbols=(0,_util.readUint32)(data,position);i$jscomp$0=[dictionary,header.number,header.referredTo,data,position+4,segment];break;case 6:case 7:atLength={};atLength.info=
readRegionSegmentInformation(data,position);position+=RegionSegmentInformationFieldLength;i$jscomp$0=(0,_util.readUint16)(data,position);position+=2;atLength.huffman=!!(i$jscomp$0&1);atLength.refinement=!!(i$jscomp$0&2);atLength.logStripSize=i$jscomp$0>>2&3;atLength.stripSize=1<<atLength.logStripSize;atLength.referenceCorner=i$jscomp$0>>4&3;atLength.transposed=!!(i$jscomp$0&64);atLength.combinationOperator=i$jscomp$0>>7&3;atLength.defaultPixelValue=i$jscomp$0>>9&1;atLength.dsOffset=i$jscomp$0<<17>>
27;atLength.refinementTemplate=i$jscomp$0>>15&1;atLength.huffman&&(i$jscomp$0=(0,_util.readUint16)(data,position),position+=2,atLength.huffmanFS=i$jscomp$0&3,atLength.huffmanDS=i$jscomp$0>>2&3,atLength.huffmanDT=i$jscomp$0>>4&3,atLength.huffmanRefinementDW=i$jscomp$0>>6&3,atLength.huffmanRefinementDH=i$jscomp$0>>8&3,atLength.huffmanRefinementDX=i$jscomp$0>>10&3,atLength.huffmanRefinementDY=i$jscomp$0>>12&3,atLength.huffmanRefinementSizeSelector=!!(i$jscomp$0&16384));if(atLength.refinement&&!atLength.refinementTemplate){at=
[];for(i$jscomp$0=0;2>i$jscomp$0;i$jscomp$0++)at.push({x:(0,_util.readInt8)(data,position),y:(0,_util.readInt8)(data,position+1)}),position+=2;atLength.refinementAt=at}atLength.numberOfSymbolInstances=(0,_util.readUint32)(data,position);i$jscomp$0=[atLength,header.referredTo,data,position+4,segment];break;case 16:i$jscomp$0={};at=data[position++];i$jscomp$0.mmr=!!(at&1);i$jscomp$0.template=at>>1&3;i$jscomp$0.patternWidth=data[position++];i$jscomp$0.patternHeight=data[position++];i$jscomp$0.maxPatternIndex=
(0,_util.readUint32)(data,position);i$jscomp$0=[i$jscomp$0,header.number,data,position+4,segment];break;case 22:case 23:i$jscomp$0={};i$jscomp$0.info=readRegionSegmentInformation(data,position);position+=RegionSegmentInformationFieldLength;at=data[position++];i$jscomp$0.mmr=!!(at&1);i$jscomp$0.template=at>>1&3;i$jscomp$0.enableSkip=!!(at&8);i$jscomp$0.combinationOperator=at>>4&7;i$jscomp$0.defaultPixelValue=at>>7&1;i$jscomp$0.gridWidth=(0,_util.readUint32)(data,position);position+=4;i$jscomp$0.gridHeight=
(0,_util.readUint32)(data,position);position+=4;i$jscomp$0.gridOffsetX=(0,_util.readUint32)(data,position)&4294967295;position+=4;i$jscomp$0.gridOffsetY=(0,_util.readUint32)(data,position)&4294967295;position+=4;i$jscomp$0.gridVectorX=(0,_util.readUint16)(data,position);position+=2;i$jscomp$0.gridVectorY=(0,_util.readUint16)(data,position);i$jscomp$0=[i$jscomp$0,header.referredTo,data,position+2,segment];break;case 38:case 39:dictionary={};dictionary.info=readRegionSegmentInformation(data,position);
position+=RegionSegmentInformationFieldLength;i$jscomp$0=data[position++];dictionary.mmr=!!(i$jscomp$0&1);dictionary.template=i$jscomp$0>>1&3;dictionary.prediction=!!(i$jscomp$0&8);if(!dictionary.mmr){atLength=0===dictionary.template?4:1;at=[];for(i$jscomp$0=0;i$jscomp$0<atLength;i$jscomp$0++)at.push({x:(0,_util.readInt8)(data,position),y:(0,_util.readInt8)(data,position+1)}),position+=2;dictionary.at=at}i$jscomp$0=[dictionary,data,position,segment];break;case 48:segment={width:(0,_util.readUint32)(data,
position),height:(0,_util.readUint32)(data,position+4),resolutionX:(0,_util.readUint32)(data,position+8),resolutionY:(0,_util.readUint32)(data,position+12)};4294967295===segment.height&&delete segment.height;i$jscomp$0=data[position+16];(0,_util.readUint16)(data,position+17);segment.lossless=!!(i$jscomp$0&1);segment.refinement=!!(i$jscomp$0&2);segment.defaultPixelValue=i$jscomp$0>>2&1;segment.combinationOperator=i$jscomp$0>>3&3;segment.requiresBuffer=!!(i$jscomp$0&32);segment.combinationOperatorOverride=
!!(i$jscomp$0&64);i$jscomp$0=[segment];break;case 49:break;case 50:break;case 51:break;case 53:i$jscomp$0=[header.number,data,position,segment];break;case 62:break;default:throw new Jbig2Error("segment type ".concat(header.typeName,"(").concat(header.type,")")+" is not implemented");}header="on"+header.typeName;header in visitor&&visitor[header].apply(visitor,i$jscomp$0)}}function SimpleSegmentVisitor(){}function HuffmanLine(lineData){2===lineData.length?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=
lineData[0],this.rangeLength=0,this.prefixCode=lineData[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=lineData[0],this.prefixLength=lineData[1],this.rangeLength=lineData[2],this.prefixCode=lineData[3],this.isLowerRange="lower"===lineData[4])}function HuffmanTreeNode(line){this.children=[];line?(this.isLeaf=!0,this.rangeLength=line.rangeLength,this.rangeLow=line.rangeLow,this.isLowerRange=line.isLowerRange,this.isOOB=line.isOOB):this.isLeaf=!1}function HuffmanTable(lines,prefixCodesDone){prefixCodesDone||
this.assignPrefixCodes(lines);this.rootNode=new HuffmanTreeNode(null);var ii=lines.length;for(prefixCodesDone=0;prefixCodesDone<ii;prefixCodesDone++){var line=lines[prefixCodesDone];0<line.prefixLength&&this.rootNode.buildTree(line,line.prefixLength-1)}}function getStandardTable(number){var table=standardTablesCache[number];if(table)return table;switch(number){case 1:table=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:table=[[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[75,
6,32,62],[6,63]];break;case 3:table=[[-256,8,8,254],[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[-257,8,32,255,"lower"],[75,7,32,126],[6,62]];break;case 4:table=[[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[76,5,32,31]];break;case 5:table=[[-255,7,8,126],[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[-256,7,32,127,"lower"],[76,6,32,62]];break;case 6:table=[[-2048,5,10,28],[-1024,4,9,8],[-512,4,8,9],[-256,4,7,10],[-128,5,6,29],[-64,5,5,30],[-32,4,5,11],[0,2,7,0],[128,3,7,2],
[256,3,8,3],[512,4,9,12],[1024,4,10,13],[-2049,6,32,62,"lower"],[2048,6,32,63]];break;case 7:table=[[-1024,4,9,8],[-512,3,8,0],[-256,4,7,9],[-128,5,6,26],[-64,5,5,27],[-32,4,5,10],[0,4,5,11],[32,5,5,28],[64,5,6,29],[128,4,7,12],[256,3,8,1],[512,3,9,2],[1024,3,10,3],[-1025,5,32,30,"lower"],[2048,5,32,31]];break;case 8:table=[[-15,8,3,252],[-7,9,1,508],[-5,8,1,253],[-3,9,0,509],[-2,7,0,124],[-1,4,0,10],[0,2,1,0],[2,5,0,26],[3,6,0,58],[4,3,4,4],[20,6,1,59],[22,4,4,11],[38,4,5,12],[70,5,6,27],[134,5,
7,28],[262,6,7,60],[390,7,8,125],[646,6,10,61],[-16,9,32,510,"lower"],[1670,9,32,511],[2,1]];break;case 9:table=[[-31,8,4,252],[-15,9,2,508],[-11,8,2,253],[-7,9,1,509],[-5,7,1,124],[-3,4,1,10],[-1,3,1,2],[1,3,1,3],[3,5,1,26],[5,6,1,58],[7,3,5,4],[39,6,2,59],[43,4,5,11],[75,4,6,12],[139,5,7,27],[267,5,8,28],[523,6,8,60],[779,7,9,125],[1291,6,11,61],[-32,9,32,510,"lower"],[3339,9,32,511],[2,0]];break;case 10:table=[[-21,7,4,122],[-5,8,0,252],[-4,7,0,123],[-3,5,0,24],[-2,2,2,0],[2,5,0,25],[3,6,0,54],
[4,7,0,124],[5,8,0,253],[6,2,6,1],[70,5,5,26],[102,6,5,55],[134,6,6,56],[198,6,7,57],[326,6,8,58],[582,6,9,59],[1094,6,10,60],[2118,7,11,125],[-22,8,32,254,"lower"],[4166,8,32,255],[2,2]];break;case 11:table=[[1,1,0,0],[2,2,1,2],[4,4,0,12],[5,4,1,13],[7,5,1,28],[9,5,2,29],[13,6,2,60],[17,7,2,122],[21,7,3,123],[29,7,4,124],[45,7,5,125],[77,7,6,126],[141,7,32,127]];break;case 12:table=[[1,1,0,0],[2,2,0,2],[3,3,1,6],[5,5,0,28],[6,5,1,29],[8,6,1,60],[10,7,0,122],[11,7,1,123],[13,7,2,124],[17,7,3,125],
[25,7,4,126],[41,8,5,254],[73,8,32,255]];break;case 13:table=[[1,1,0,0],[2,3,0,4],[3,4,0,12],[4,5,0,28],[5,4,1,13],[7,3,3,5],[15,6,1,58],[17,6,2,59],[21,6,3,60],[29,6,4,61],[45,6,5,62],[77,7,6,126],[141,7,32,127]];break;case 14:table=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:table=[[-24,7,4,124],[-8,6,2,60],[-4,5,1,28],[-2,4,0,12],[-1,3,0,4],[0,1,0,0],[1,3,0,5],[2,4,0,13],[3,5,1,29],[5,6,2,61],[9,7,4,125],[-25,7,32,126,"lower"],[25,7,32,127]];break;default:throw new Jbig2Error("standard table B.".concat(number,
" does not exist"));}var length=table.length,i;for(i=0;i<length;i++)table[i]=new HuffmanLine(table[i]);table=new HuffmanTable(table,!0);return standardTablesCache[number]=table}function Reader(data,start,end){this.data=data;this.start=start;this.end=end;this.position=start;this.shift=-1;this.currentByte=0}function getCustomHuffmanTable(index,referredTo,customTables){var currentIndex=0,i,ii=referredTo.length,table;for(i=0;i<ii;i++)if(table=customTables[referredTo[i]]){if(index===currentIndex)return table;
currentIndex++}throw new Jbig2Error("can't find custom Huffman table");}function decodeMMRBitmap(input,width,height,endOfBlock){input=new _ccitt.CCITTFaxDecoder(input,{K:-1,Columns:width,Rows:height,BlackIs1:!0,EndOfBlock:endOfBlock});var bitmap=[],x,y,eof=!1;for(y=0;y<height;y++){var row=new Uint8Array(width);bitmap.push(row);var shift=-1;for(x=0;x<width;x++){if(0>shift){var currentByte=input.readNextChar();-1===currentByte&&(currentByte=0,eof=!0);shift=7}row[x]=currentByte>>shift&1;shift--}}if(endOfBlock&&
!eof)for(width=0;5>width&&-1!==input.readNextChar();width++);return bitmap}function Jbig2Image(){}ContextCache.prototype={getContexts:function(id){return id in this?this[id]:this[id]=new Int8Array(65536)}};DecodingContext.prototype={get decoder(){var decoder=new _arithmetic_decoder.ArithmeticDecoder(this.data,this.start,this.end);return(0,_util.shadow)(this,"decoder",decoder)},get contextCache(){var cache=new ContextCache;return(0,_util.shadow)(this,"contextCache",cache)}};var SegmentTypes=["SymbolDictionary",
null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"PatternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",
null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],CodingTemplates=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,
y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],RefinementTemplates=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],ReusedContexts=[39717,1941,229,405],RefinementReusedContexts=[32,
8],RegionSegmentInformationFieldLength=17;SimpleSegmentVisitor.prototype={onPageInformation:function(info){this.currentPageInfo=info;var buffer=new Uint8ClampedArray((info.width+7>>3)*info.height);if(info.defaultPixelValue){info=0;for(var ii=buffer.length;info<ii;info++)buffer[info]=255}this.buffer=buffer},drawBitmap:function(regionInfo,bitmap){var pageInfo=this.currentPageInfo,width=regionInfo.width,height=regionInfo.height,rowSize=pageInfo.width+7>>3,combinationOperator=pageInfo.combinationOperatorOverride?
regionInfo.combinationOperator:pageInfo.combinationOperator;pageInfo=this.buffer;var mask0=128>>(regionInfo.x&7);regionInfo=regionInfo.y*rowSize+(regionInfo.x>>3);var j;switch(combinationOperator){case 0:for(combinationOperator=0;combinationOperator<height;combinationOperator++){var mask=mask0;var offset=regionInfo;for(j=0;j<width;j++)bitmap[combinationOperator][j]&&(pageInfo[offset]|=mask),mask>>=1,mask||(mask=128,offset++);regionInfo+=rowSize}break;case 2:for(combinationOperator=0;combinationOperator<
height;combinationOperator++){mask=mask0;offset=regionInfo;for(j=0;j<width;j++)bitmap[combinationOperator][j]&&(pageInfo[offset]^=mask),mask>>=1,mask||(mask=128,offset++);regionInfo+=rowSize}break;default:throw new Jbig2Error("operator ".concat(combinationOperator," is not supported"));}},onImmediateGenericRegion:function(region,data,start,end){var regionInfo=region.info;data=new DecodingContext(data,start,end);region=decodeBitmap(region.mmr,regionInfo.width,regionInfo.height,region.template,region.prediction,
null,region.at,data);this.drawBitmap(regionInfo,region)},onImmediateLosslessGenericRegion:function(){this.onImmediateGenericRegion.apply(this,arguments)},onSymbolDictionary:function(dictionary,currentSegment,referredSegments,data,start,end){if(dictionary.huffman){var customTables=this.customTables,customIndex=0;switch(dictionary.huffmanDHSelector){case 0:case 1:var tableDeltaHeight=getStandardTable(dictionary.huffmanDHSelector+4);break;case 3:tableDeltaHeight=getCustomHuffmanTable(customIndex,referredSegments,
customTables);customIndex++;break;default:throw new Jbig2Error("invalid Huffman DH selector");}switch(dictionary.huffmanDWSelector){case 0:case 1:var huffmanInput=getStandardTable(dictionary.huffmanDWSelector+2);break;case 3:huffmanInput=getCustomHuffmanTable(customIndex,referredSegments,customTables);customIndex++;break;default:throw new Jbig2Error("invalid Huffman DW selector");}if(dictionary.bitmapSizeSelector){var huffmanTables=getCustomHuffmanTable(customIndex,referredSegments,customTables);
customIndex++}else huffmanTables=getStandardTable(1);customTables=dictionary.aggregationInstancesSelector?getCustomHuffmanTable(customIndex,referredSegments,customTables):getStandardTable(1);huffmanTables={tableDeltaHeight:tableDeltaHeight,tableDeltaWidth:huffmanInput,tableBitmapSize:huffmanTables,tableAggregateInstances:customTables};huffmanInput=new Reader(data,start,end)}customIndex=this.symbols;customIndex||(this.symbols=customIndex={});customTables=[];tableDeltaHeight=0;for(var ii=referredSegments.length;tableDeltaHeight<
ii;tableDeltaHeight++){var referredSymbols=customIndex[referredSegments[tableDeltaHeight]];referredSymbols&&(customTables=customTables.concat(referredSymbols))}tableDeltaHeight=new DecodingContext(data,start,end);referredSegments=customIndex;end=dictionary.huffman;customIndex=dictionary.refinement;start=customTables;data=dictionary.numberOfNewSymbols;ii=huffmanTables;referredSymbols=dictionary.template;var at=dictionary.at,refinementTemplateIndex=dictionary.refinementTemplate,refinementAt=dictionary.refinementAt;
if(end&&customIndex)throw new Jbig2Error("symbol refinement with Huffman is not supported");dictionary=[];var currentHeight=0,symbolCodeLength=(0,_util.log2)(start.length+data);huffmanTables=tableDeltaHeight.decoder;customTables=tableDeltaHeight.contextCache;if(end){var tableB1=getStandardTable(1);var symbolWidths=[];symbolCodeLength=Math.max(symbolCodeLength,1)}for(;dictionary.length<data;){var deltaHeight=end?ii.tableDeltaHeight.decode(huffmanInput):decodeInteger(customTables,"IADH",huffmanTables);
currentHeight+=deltaHeight;var currentWidth=0,totalWidth=0;for(deltaHeight=end?symbolWidths.length:0;;){var deltaWidth=end?ii.tableDeltaWidth.decode(huffmanInput):decodeInteger(customTables,"IADW",huffmanTables);if(null===deltaWidth)break;currentWidth+=deltaWidth;totalWidth+=currentWidth;if(customIndex){deltaWidth=decodeInteger(customTables,"IAAI",huffmanTables);if(1<deltaWidth)deltaWidth=decodeTextRegion(end,customIndex,currentWidth,currentHeight,0,deltaWidth,1,start.concat(dictionary),symbolCodeLength,
0,0,1,0,ii,refinementTemplateIndex,refinementAt,tableDeltaHeight,0,huffmanInput);else{deltaWidth=decodeIAID(customTables,huffmanTables,symbolCodeLength);var rdx=decodeInteger(customTables,"IARDX",huffmanTables),rdy=decodeInteger(customTables,"IARDY",huffmanTables);deltaWidth=decodeRefinement(currentWidth,currentHeight,refinementTemplateIndex,deltaWidth<start.length?start[deltaWidth]:dictionary[deltaWidth-start.length],rdx,rdy,!1,refinementAt,tableDeltaHeight)}dictionary.push(deltaWidth)}else end?
symbolWidths.push(currentWidth):(deltaWidth=decodeBitmap(!1,currentWidth,currentHeight,referredSymbols,!1,null,at,tableDeltaHeight),dictionary.push(deltaWidth))}if(end&&!customIndex){deltaWidth=ii.tableBitmapSize.decode(huffmanInput);huffmanInput.byteAlign();if(0===deltaWidth){currentWidth=huffmanInput;rdy=totalWidth;var height=currentHeight,bitmap=[];for(deltaWidth=0;deltaWidth<height;deltaWidth++){totalWidth=new Uint8Array(rdy);bitmap.push(totalWidth);for(rdx=0;rdx<rdy;rdx++)totalWidth[rdx]=currentWidth.readBit();
currentWidth.byteAlign()}totalWidth=bitmap}else currentWidth=huffmanInput.end,deltaWidth=huffmanInput.position+deltaWidth,huffmanInput.end=deltaWidth,totalWidth=decodeMMRBitmap(huffmanInput,totalWidth,currentHeight,!1),huffmanInput.end=currentWidth,huffmanInput.position=deltaWidth;currentWidth=symbolWidths.length;if(deltaHeight===currentWidth-1)dictionary.push(totalWidth);else for(deltaWidth=0;deltaHeight<currentWidth;deltaHeight++){rdx=symbolWidths[deltaHeight];rdy=deltaWidth+rdx;height=[];for(rdx=
0;rdx<currentHeight;rdx++)height.push(totalWidth[rdx].subarray(deltaWidth,rdy));dictionary.push(height);deltaWidth=rdy}}}symbolWidths=[];tableDeltaHeight=[];customIndex=!1;for(ii=start.length+data;tableDeltaHeight.length<ii;){for(referredSymbols=end?tableB1.decode(huffmanInput):decodeInteger(customTables,"IAEX",huffmanTables);referredSymbols--;)tableDeltaHeight.push(customIndex);customIndex=!customIndex}tableB1=0;for(end=start.length;tableB1<end;tableB1++)tableDeltaHeight[tableB1]&&symbolWidths.push(start[tableB1]);
for(start=0;start<data;tableB1++,start++)tableDeltaHeight[tableB1]&&symbolWidths.push(dictionary[start]);referredSegments[currentSegment]=symbolWidths},onImmediateTextRegion:function(region,referredSegments,data,start,end){for(var regionInfo=region.info,huffmanTables,huffmanInput,symbols=this.symbols,inputSymbols=[],i=0,ii=referredSegments.length;i<ii;i++){var referredSymbols=symbols[referredSegments[i]];referredSymbols&&(inputSymbols=inputSymbols.concat(referredSymbols))}symbols=(0,_util.log2)(inputSymbols.length);
if(region.huffman){huffmanInput=new Reader(data,start,end);huffmanTables=this.customTables;i=inputSymbols.length;ii=huffmanInput;referredSymbols=[];var i$jscomp$0;for(i$jscomp$0=0;34>=i$jscomp$0;i$jscomp$0++){var codeLength=ii.readBits(4);referredSymbols.push(new HuffmanLine([i$jscomp$0,codeLength,0,0]))}var runCodesTable=new HuffmanTable(referredSymbols,!1);for(i$jscomp$0=referredSymbols.length=0;i$jscomp$0<i;)if(codeLength=runCodesTable.decode(ii),32<=codeLength){var j;switch(codeLength){case 32:if(0===
i$jscomp$0)throw new Jbig2Error("no previous value in symbol ID table");var numberOfRepeats=ii.readBits(2)+3;codeLength=referredSymbols[i$jscomp$0-1].prefixLength;break;case 33:numberOfRepeats=ii.readBits(3)+3;codeLength=0;break;case 34:numberOfRepeats=ii.readBits(7)+11;codeLength=0;break;default:throw new Jbig2Error("invalid code length in symbol ID table");}for(j=0;j<numberOfRepeats;j++)referredSymbols.push(new HuffmanLine([i$jscomp$0,codeLength,0,0])),i$jscomp$0++}else referredSymbols.push(new HuffmanLine([i$jscomp$0,
codeLength,0,0])),i$jscomp$0++;ii.byteAlign();i=new HuffmanTable(referredSymbols,!1);i$jscomp$0=0;switch(region.huffmanFS){case 0:case 1:ii=getStandardTable(region.huffmanFS+6);break;case 3:ii=getCustomHuffmanTable(i$jscomp$0,referredSegments,huffmanTables);i$jscomp$0++;break;default:throw new Jbig2Error("invalid Huffman FS selector");}switch(region.huffmanDS){case 0:case 1:case 2:referredSymbols=getStandardTable(region.huffmanDS+8);break;case 3:referredSymbols=getCustomHuffmanTable(i$jscomp$0,referredSegments,
huffmanTables);i$jscomp$0++;break;default:throw new Jbig2Error("invalid Huffman DS selector");}switch(region.huffmanDT){case 0:case 1:case 2:referredSegments=getStandardTable(region.huffmanDT+11);break;case 3:referredSegments=getCustomHuffmanTable(i$jscomp$0,referredSegments,huffmanTables);break;default:throw new Jbig2Error("invalid Huffman DT selector");}if(region.refinement)throw new Jbig2Error("refinement with Huffman is not supported");huffmanTables={symbolIDTable:i,tableFirstS:ii,tableDeltaS:referredSymbols,
tableDeltaT:referredSegments}}data=new DecodingContext(data,start,end);region=decodeTextRegion(region.huffman,region.refinement,regionInfo.width,regionInfo.height,region.defaultPixelValue,region.numberOfSymbolInstances,region.stripSize,inputSymbols,symbols,region.transposed,region.dsOffset,region.referenceCorner,region.combinationOperator,huffmanTables,region.refinementTemplate,region.refinementAt,data,region.logStripSize,huffmanInput);this.drawBitmap(regionInfo,region)},onImmediateLosslessTextRegion:function(){this.onImmediateTextRegion.apply(this,
arguments)},onPatternDictionary:function(dictionary,currentSegment,data,start,end){var patterns=this.patterns;patterns||(this.patterns=patterns={});var decodingContext=new DecodingContext(data,start,end),mmr=dictionary.mmr;data=dictionary.patternWidth;start=dictionary.patternHeight;end=dictionary.maxPatternIndex;dictionary=dictionary.template;var at=[];mmr||(at.push({x:-data,y:0}),0===dictionary&&(at.push({x:-3,y:-1}),at.push({x:2,y:-2}),at.push({x:-2,y:-2})));dictionary=decodeBitmap(mmr,(end+1)*
data,start,dictionary,!1,null,at,decodingContext);decodingContext=[];mmr=0;for(var xMin,xMax,y;mmr<=end;){at=[];xMin=data*mmr;xMax=xMin+data;for(y=0;y<start;y++)at.push(dictionary[y].subarray(xMin,xMax));decodingContext.push(at);mmr++}patterns[currentSegment]=decodingContext},onImmediateHalftoneRegion:function(region,referredSegments,data,start,end){referredSegments=this.patterns[referredSegments[0]];var regionInfo=region.info,decodingContext=new DecodingContext(data,start,end),mmr=region.mmr,template=
region.template;data=regionInfo.width;start=regionInfo.height;var defaultPixelValue=region.defaultPixelValue,combinationOperator=region.combinationOperator;end=region.gridWidth;var gridHeight=region.gridHeight,gridOffsetX=region.gridOffsetX,gridOffsetY=region.gridOffsetY,gridVectorX=region.gridVectorX,gridVectorY=region.gridVectorY;if(region.enableSkip)throw new Jbig2Error("skip is not supported");if(0!==combinationOperator)throw new Jbig2Error("operator "+combinationOperator+" is not supported in halftone region");
region=[];var j;for(combinationOperator=0;combinationOperator<start;combinationOperator++){var row=new Uint8Array(data);if(defaultPixelValue)for(j=0;j<data;j++)row[j]=defaultPixelValue;region.push(row)}combinationOperator=referredSegments[0];defaultPixelValue=combinationOperator[0].length;row=combinationOperator.length;var bitsPerValue=(0,_util.log2)(referredSegments.length);j=[];mmr||(j.push({x:1>=template?3:2,y:-1}),0===template&&(j.push({x:-3,y:-1}),j.push({x:2,y:-2}),j.push({x:-2,y:-2})));var grayScaleBitPlanes=
[],mmrInput;mmr&&(mmrInput=new Reader(decodingContext.data,decodingContext.start,decodingContext.end));for(combinationOperator=bitsPerValue-1;0<=combinationOperator;combinationOperator--){var bitmap=mmr?decodeMMRBitmap(mmrInput,end,gridHeight,!0):decodeBitmap(!1,end,gridHeight,template,!1,null,j,decodingContext);grayScaleBitPlanes[combinationOperator]=bitmap}for(mmrInput=0;mmrInput<gridHeight;mmrInput++)for(decodingContext=0;decodingContext<end;decodingContext++){mmr=combinationOperator=0;for(j=bitsPerValue-
1;0<=j;j--)combinationOperator^=grayScaleBitPlanes[j][mmrInput][decodingContext],mmr|=combinationOperator<<j;mmr=referredSegments[mmr];template=gridOffsetX+mmrInput*gridVectorY+decodingContext*gridVectorX>>8;bitmap=gridOffsetY+mmrInput*gridVectorX-decodingContext*gridVectorY>>8;if(0<=template&&template+defaultPixelValue<=data&&0<=bitmap&&bitmap+row<=start)for(combinationOperator=0;combinationOperator<row;combinationOperator++){var regionRow=region[bitmap+combinationOperator];var patternRow=mmr[combinationOperator];
for(j=0;j<defaultPixelValue;j++)regionRow[template+j]|=patternRow[j]}else for(combinationOperator=0;combinationOperator<row;combinationOperator++)if(j=bitmap+combinationOperator,!(0>j||j>=start))for(regionRow=region[j],patternRow=mmr[combinationOperator],j=0;j<defaultPixelValue;j++){var regionX=template+j;0<=regionX&&regionX<data&&(regionRow[regionX]|=patternRow[j])}}this.drawBitmap(regionInfo,region)},onImmediateLosslessHalftoneRegion:function(){this.onImmediateHalftoneRegion.apply(this,arguments)},
onTables:function(currentSegment,data,start,end){var customTables=this.customTables;customTables||(this.customTables=customTables={});var JSCompiler_inline_result=data[start];var lowestValue=(0,_util.readUint32)(data,start+1)&4294967295,highestValue=(0,_util.readUint32)(data,start+5)&4294967295;data=new Reader(data,start+9,end);start=(JSCompiler_inline_result>>1&7)+1;end=(JSCompiler_inline_result>>4&7)+1;var lines=[],currentRangeLow=lowestValue;do{var prefixLength=data.readBits(start);var rangeLength=
data.readBits(end);lines.push(new HuffmanLine([currentRangeLow,prefixLength,rangeLength,0]));currentRangeLow+=1<<rangeLength}while(currentRangeLow<highestValue);prefixLength=data.readBits(start);lines.push(new HuffmanLine([lowestValue-1,prefixLength,32,0,"lower"]));prefixLength=data.readBits(start);lines.push(new HuffmanLine([highestValue,prefixLength,32,0]));JSCompiler_inline_result&1&&(prefixLength=data.readBits(start),lines.push(new HuffmanLine([prefixLength,0])));JSCompiler_inline_result=new HuffmanTable(lines,
!1);customTables[currentSegment]=JSCompiler_inline_result}};HuffmanTreeNode.prototype={buildTree:function(line,shift){var bit=line.prefixCode>>shift&1;if(0>=shift)this.children[bit]=new HuffmanTreeNode(line);else{var node=this.children[bit];node||(this.children[bit]=node=new HuffmanTreeNode(null));node.buildTree(line,shift-1)}},decodeNode:function(reader){if(this.isLeaf){if(this.isOOB)return null;reader=reader.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-reader:reader)}var node=
this.children[reader.readBit()];if(!node)throw new Jbig2Error("invalid Huffman data");return node.decodeNode(reader)}};HuffmanTable.prototype={decode:function(reader){return this.rootNode.decodeNode(reader)},assignPrefixCodes:function(lines){var linesLength=lines.length,prefixLengthMax=0,i;for(i=0;i<linesLength;i++)prefixLengthMax=Math.max(prefixLengthMax,lines[i].prefixLength);var histogram=new Uint32Array(prefixLengthMax+1);for(i=0;i<linesLength;i++)histogram[lines[i].prefixLength]++;i=1;var firstCode=
0,currentTemp;for(histogram[0]=0;i<=prefixLengthMax;){var currentCode=firstCode=firstCode+histogram[i-1]<<1;for(currentTemp=0;currentTemp<linesLength;){var line=lines[currentTemp];line.prefixLength===i&&(line.prefixCode=currentCode,currentCode++);currentTemp++}i++}}};var standardTablesCache={};Reader.prototype={readBit:function(){if(0>this.shift){if(this.position>=this.end)throw new Jbig2Error("end of data while reading bit");this.currentByte=this.data[this.position++];this.shift=7}var bit=this.currentByte>>
this.shift&1;this.shift--;return bit},readBits:function(numBits){var result=0;for(--numBits;0<=numBits;numBits--)result|=this.readBit()<<numBits;return result},byteAlign:function(){this.shift=-1},next:function(){return this.position>=this.end?-1:this.data[this.position++]}};Jbig2Image.prototype={parseChunks:function(chunks){for(var visitor=new SimpleSegmentVisitor,i=0,ii=chunks.length;i<ii;i++){var chunk=chunks[i];chunk=readSegments({},chunk.data,chunk.start,chunk.end);processSegments(chunk,visitor)}return visitor.buffer},
parse:function(data){var position=0,end=data.length;if(151!==data[position]||74!==data[position+1]||66!==data[position+2]||50!==data[position+3]||13!==data[position+4]||10!==data[position+5]||26!==data[position+6]||10!==data[position+7])throw new Jbig2Error("parseJbig2 - invalid header.");var header=Object.create(null);position+=8;var flags=data[position++];header.randomAccess=!(flags&1);flags&2||(header.numberOfPages=(0,_util.readUint32)(data,position),position+=4);data=readSegments(header,data,
position,end);end=new SimpleSegmentVisitor;processSegments(data,end);position=end.currentPageInfo;data=position.width;position=position.height;end=end.buffer;header=new Uint8ClampedArray(data*position);for(var k=flags=0,i=0;i<position;i++)for(var mask=0,buffer=void 0,j=0;j<data;j++)mask||(mask=128,buffer=end[k++]),header[flags++]=buffer&mask?0:255,mask>>=1;this.width=data;this.height=position;return header}};return Jbig2Image}();exports.Jbig2Image=module},function(module,exports,__w_pdfjs_require__){function _defineProperties(target,
props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}Object.defineProperty(exports,"__esModule",{value:!0});exports.ArithmeticDecoder=
void 0;var QeTable=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,
switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,
nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,
nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}];module=function(){function ArithmeticDecoder(data,start,end){if(!(this instanceof ArithmeticDecoder))throw new TypeError("Cannot call a class as a function");this.data=data;this.bp=
start;this.dataEnd=end;this.chigh=data[start];this.clow=0;this.byteIn();this.chigh=this.chigh<<7&65535|this.clow>>9&127;this.clow=this.clow<<7&65535;this.ct-=7;this.a=32768}_createClass(ArithmeticDecoder,[{key:"byteIn",value:function(){var data=this.data,bp=this.bp;255===data[bp]?143<data[bp+1]?(this.clow+=65280,this.ct=8):(bp++,this.clow+=data[bp]<<9,this.ct=7,this.bp=bp):(bp++,this.clow+=bp<this.dataEnd?data[bp]<<8:65280,this.ct=8,this.bp=bp);65535<this.clow&&(this.chigh+=this.clow>>16,this.clow&=
65535)}},{key:"readBit",value:function(contexts,pos){var cx_index=contexts[pos]>>1,cx_mps=contexts[pos]&1;cx_index=QeTable[cx_index];var qeIcx=cx_index.qe,a=this.a-qeIcx;if(this.chigh<qeIcx)a<qeIcx?(a=qeIcx,qeIcx=cx_mps,cx_index=cx_index.nmps):(a=qeIcx,qeIcx=1^cx_mps,1===cx_index.switchFlag&&(cx_mps=qeIcx),cx_index=cx_index.nlps);else{this.chigh-=qeIcx;if(0!==(a&32768))return this.a=a,cx_mps;a<qeIcx?(qeIcx=1^cx_mps,1===cx_index.switchFlag&&(cx_mps=qeIcx),cx_index=cx_index.nlps):(qeIcx=cx_mps,cx_index=
cx_index.nmps)}do 0===this.ct&&this.byteIn(),a<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--;while(0===(a&32768));this.a=a;contexts[pos]=cx_index<<1|cx_mps;return qeIcx}}]);return ArithmeticDecoder}();exports.ArithmeticDecoder=module},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});exports.JpegStream=void 0;var _util=__w_pdfjs_require__(5),_stream=__w_pdfjs_require__(195),_primitives=__w_pdfjs_require__(188),
_jpg=__w_pdfjs_require__(202);module=function(){function JpegStream(stream,maybeLength,dict,params){for(var ch;-1!==(ch=stream.getByte());)if(255===ch){stream.skip(-1);break}this.stream=stream;this.maybeLength=maybeLength;this.dict=dict;this.params=params;_stream.DecodeStream.call(this,maybeLength)}JpegStream.prototype=Object.create(_stream.DecodeStream.prototype);Object.defineProperty(JpegStream.prototype,"bytes",{get:function(){return(0,_util.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))},
configurable:!0});JpegStream.prototype.ensureBuffer=function(requested){};JpegStream.prototype.readBlock=function(){if(!this.eof){var jpegOptions={decodeTransform:void 0,colorTransform:void 0},decodeArr=this.dict.getArray("Decode","D");if(this.forceRGB&&Array.isArray(decodeArr)){var bitsPerComponent=this.dict.get("BitsPerComponent")||8,decodeArrLength=decodeArr.length,transform=new Int32Array(decodeArrLength),transformNeeded=!1;bitsPerComponent=(1<<bitsPerComponent)-1;for(var i=0;i<decodeArrLength;i+=
2)if(transform[i]=256*(decodeArr[i+1]-decodeArr[i])|0,transform[i+1]=decodeArr[i]*bitsPerComponent|0,256!==transform[i]||0!==transform[i+1])transformNeeded=!0;transformNeeded&&(jpegOptions.decodeTransform=transform)}(0,_primitives.isDict)(this.params)&&(decodeArr=this.params.get("ColorTransform"),Number.isInteger(decodeArr)&&(jpegOptions.colorTransform=decodeArr));jpegOptions=new _jpg.JpegImage(jpegOptions);jpegOptions.parse(this.bytes);this.buffer=jpegOptions=jpegOptions.getData({width:this.drawWidth,
height:this.drawHeight,forceRGB:this.forceRGB,isSourcePDF:!0});this.bufferLength=jpegOptions.length;this.eof=!0}};JpegStream.prototype.getIR=function(){return(0,_util.createObjectURL)(this.bytes,"image/jpeg",0<arguments.length&&void 0!==arguments[0]?arguments[0]:!1)};return JpegStream}();exports.JpegStream=module},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:
function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return self}function _getPrototypeOf(o$jscomp$0){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o$jscomp$0)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}});superClass&&
_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p$jscomp$0){_setPrototypeOf=Object.setPrototypeOf||function(o,p){o.__proto__=p;return o};return _setPrototypeOf(o$jscomp$0,p$jscomp$0)}Object.defineProperty(exports,"__esModule",{value:!0});exports.JpegImage=void 0;var _util=__w_pdfjs_require__(5),JpegError=function(_BaseException){function JpegError(msg){_classCallCheck(this,JpegError);return _possibleConstructorReturn(this,_getPrototypeOf(JpegError).call(this,"JPEG error: ".concat(msg)))}
_inherits(JpegError,_BaseException);return JpegError}(_util.BaseException),DNLMarkerError=function(_BaseException2){function DNLMarkerError(message,scanLines){_classCallCheck(this,DNLMarkerError);message=_possibleConstructorReturn(this,_getPrototypeOf(DNLMarkerError).call(this,message));message.scanLines=scanLines;return message}_inherits(DNLMarkerError,_BaseException2);return DNLMarkerError}(_util.BaseException),EOIMarkerError=function(_BaseException3){function EOIMarkerError(){_classCallCheck(this,
EOIMarkerError);return _possibleConstructorReturn(this,_getPrototypeOf(EOIMarkerError).apply(this,arguments))}_inherits(EOIMarkerError,_BaseException3);return EOIMarkerError}(_util.BaseException);module=function(){function JpegImage(){var _ref=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},_ref$decodeTransform=_ref.decodeTransform;_ref=_ref.colorTransform;this._decodeTransform=void 0===_ref$decodeTransform?null:_ref$decodeTransform;this._colorTransform=void 0===_ref?-1:_ref}function buildHuffmanTable(codeLengths,
values){for(var k=0,code=[],i,j,length=16;0<length&&!codeLengths[length-1];)length--;code.push({children:[],index:0});var p=code[0],q;for(i=0;i<length;i++){for(j=0;j<codeLengths[i];j++){p=code.pop();for(p.children[p.index]=values[k];0<p.index;)p=code.pop();p.index++;for(code.push(p);code.length<=i;)code.push(q={children:[],index:0}),p.children[p.index]=q.children,p=q;k++}i+1<length&&(code.push(q={children:[],index:0}),p.children[p.index]=q.children,p=q)}return code[0].children}function decodeScan(data,
offset$jscomp$0,frame,components,resetInterval,spectralStart,spectralEnd,successivePrev,successive){function readBit(){if(0<bitsCount)return bitsCount--,bitsData>>bitsCount&1;bitsData=data[offset$jscomp$0++];if(255===bitsData){var nextByte=data[offset$jscomp$0++];if(nextByte){if(220===nextByte&&parseDNLMarker){offset$jscomp$0+=2;var scanLines=data[offset$jscomp$0++]<<8|data[offset$jscomp$0++];if(0<scanLines&&scanLines!==frame.scanLines)throw new DNLMarkerError("Found DNL marker (0xFFDC) while parsing scan data",
scanLines);}else if(217===nextByte)throw new EOIMarkerError("Found EOI marker (0xFFD9) while parsing scan data");throw new JpegError("unexpected marker ".concat((bitsData<<8|nextByte).toString(16)));}}bitsCount=7;return bitsData>>>7}function decodeHuffman(tree){for(;;){tree=tree[readBit()];if("number"===typeof tree)return tree;if("object"!==_typeof(tree))throw new JpegError("invalid huffman sequence");}}function receive(length){for(var n=0;0<length;)n=n<<1|readBit(),length--;return n}function receiveAndExtend(length){if(1===
length)return 1===readBit()?1:-1;var n=receive(length);return n>=1<<length-1?n:n+(-1<<length)+1}function decodeBaseline(component,offset){var t=decodeHuffman(component.huffmanTableDC);t=0===t?0:receiveAndExtend(t);component.blockData[offset]=component.pred+=t;for(t=1;64>t;){var rs=decodeHuffman(component.huffmanTableAC),s=rs&15;rs>>=4;if(0===s){if(15>rs)break;t+=16}else t+=rs,component.blockData[offset+dctZigZag[t]]=receiveAndExtend(s),t++}}function decodeDCFirst(component,offset){var t=decodeHuffman(component.huffmanTableDC);
t=0===t?0:receiveAndExtend(t)<<successive;component.blockData[offset]=component.pred+=t}function decodeDCSuccessive(component,offset){component.blockData[offset]|=readBit()<<successive}function decodeACFirst(component,offset){if(0<eobrun)eobrun--;else for(var k=spectralStart;k<=spectralEnd;){var rs=decodeHuffman(component.huffmanTableAC),s=rs&15;rs>>=4;if(0===s){if(15>rs){eobrun=receive(rs)+(1<<rs)-1;break}k+=16}else k+=rs,component.blockData[offset+dctZigZag[k]]=receiveAndExtend(s)*(1<<successive),
k++}}function decodeACSuccessive(component,offset){for(var k=spectralStart,r=0,s;k<=spectralEnd;){s=offset+dctZigZag[k];var sign=0>component.blockData[s]?-1:1;switch(successiveACState){case 0:r=decodeHuffman(component.huffmanTableAC);s=r&15;r>>=4;if(0===s)15>r?(eobrun=receive(r)+(1<<r),successiveACState=4):(r=16,successiveACState=1);else{if(1!==s)throw new JpegError("invalid ACn encoding");successiveACNextValue=receiveAndExtend(s);successiveACState=r?2:3}continue;case 1:case 2:component.blockData[s]?
component.blockData[s]+=sign*(readBit()<<successive):(r--,0===r&&(successiveACState=2===successiveACState?3:0));break;case 3:component.blockData[s]?component.blockData[s]+=sign*(readBit()<<successive):(component.blockData[s]=successiveACNextValue<<successive,successiveACState=0);break;case 4:component.blockData[s]&&(component.blockData[s]+=sign*(readBit()<<successive))}k++}4===successiveACState&&(eobrun--,0===eobrun&&(successiveACState=0))}var parseDNLMarker=9<arguments.length&&void 0!==arguments[9]?
arguments[9]:!1,mcusPerLine=frame.mcusPerLine,startOffset=offset$jscomp$0,bitsData=0,bitsCount=0,eobrun=0,successiveACState=0,successiveACNextValue,componentsLength=components.length,i,j,k$jscomp$0,n$jscomp$0;var decodeFn=frame.progressive?0===spectralStart?0===successivePrev?decodeDCFirst:decodeDCSuccessive:0===successivePrev?decodeACFirst:decodeACSuccessive:decodeBaseline;var mcu=0;var mcuExpected=1===componentsLength?components[0].blocksPerLine*components[0].blocksPerColumn:mcusPerLine*frame.mcusPerColumn;
for(var h,v;mcu<mcuExpected;){var mcuToRead=resetInterval?Math.min(mcuExpected-mcu,resetInterval):mcuExpected;for(i=0;i<componentsLength;i++)components[i].pred=0;eobrun=0;if(1===componentsLength){var component$jscomp$0=components[0];for(n$jscomp$0=0;n$jscomp$0<mcuToRead;n$jscomp$0++)decodeFn(component$jscomp$0,64*((component$jscomp$0.blocksPerLine+1)*(mcu/component$jscomp$0.blocksPerLine|0)+mcu%component$jscomp$0.blocksPerLine)),mcu++}else for(n$jscomp$0=0;n$jscomp$0<mcuToRead;n$jscomp$0++){for(i=
0;i<componentsLength;i++)for(component$jscomp$0=components[i],h=component$jscomp$0.h,v=component$jscomp$0.v,j=0;j<v;j++)for(k$jscomp$0=0;k$jscomp$0<h;k$jscomp$0++)decodeFn(component$jscomp$0,64*((component$jscomp$0.blocksPerLine+1)*((mcu/mcusPerLine|0)*component$jscomp$0.v+j)+(mcu%mcusPerLine*component$jscomp$0.h+k$jscomp$0)));mcu++}bitsCount=0;component$jscomp$0=findNextFileMarker(data,offset$jscomp$0);if(component$jscomp$0)component$jscomp$0.invalid&&((0,_util.warn)("decodeScan - unexpected MCU data, current marker is: "+
component$jscomp$0.invalid),offset$jscomp$0=component$jscomp$0.offset);else break;component$jscomp$0=component$jscomp$0&&component$jscomp$0.marker;if(!component$jscomp$0||65280>=component$jscomp$0)throw new JpegError("decodeScan - a valid marker was not found.");if(65488<=component$jscomp$0&&65495>=component$jscomp$0)offset$jscomp$0+=2;else break}(component$jscomp$0=findNextFileMarker(data,offset$jscomp$0))&&component$jscomp$0.invalid&&((0,_util.warn)("decodeScan - unexpected Scan data, current marker is: "+
component$jscomp$0.invalid),offset$jscomp$0=component$jscomp$0.offset);return offset$jscomp$0-startOffset}function buildComponentData(frame,component){frame=component.blocksPerLine;for(var blocksPerColumn=component.blocksPerColumn,computationBuffer=new Int16Array(64),blockRow=0;blockRow<blocksPerColumn;blockRow++)for(var blockCol=0;blockCol<frame;blockCol++){var blockBufferOffset=64*((component.blocksPerLine+1)*blockRow+blockCol),p=computationBuffer,qt=component.quantizationTable,blockData=component.blockData;
if(!qt)throw new JpegError("missing required Quantization Table.");for(var row=0;64>row;row+=8){var t=blockData[blockBufferOffset+row];var p1=blockData[blockBufferOffset+row+1];var p2=blockData[blockBufferOffset+row+2];var p3=blockData[blockBufferOffset+row+3];var p4=blockData[blockBufferOffset+row+4];var p5=blockData[blockBufferOffset+row+5];var p6=blockData[blockBufferOffset+row+6];var p7=blockData[blockBufferOffset+row+7];t*=qt[row];if(0===(p1|p2|p3|p4|p5|p6|p7))t=5793*t+512>>10,p[row]=t,p[row+
1]=t,p[row+2]=t,p[row+3]=t,p[row+4]=t,p[row+5]=t,p[row+6]=t,p[row+7]=t;else{p1*=qt[row+1];p2*=qt[row+2];p3*=qt[row+3];p4*=qt[row+4];p5*=qt[row+5];p6*=qt[row+6];p7*=qt[row+7];var v0=5793*t+128>>8;var v1=5793*p4+128>>8;var v2=p2;var v3=p6;p4=2896*(p1-p7)+128>>8;p7=2896*(p1+p7)+128>>8;p3<<=4;p5<<=4;v0=v0+v1+1>>1;v1=v0-v1;t=3784*v2+1567*v3+128>>8;v2=1567*v2-3784*v3+128>>8;v3=t;p4=p4+p5+1>>1;p5=p4-p5;p7=p7+p3+1>>1;p3=p7-p3;v0=v0+v3+1>>1;v3=v0-v3;v1=v1+v2+1>>1;v2=v1-v2;t=2276*p4+3406*p7+2048>>12;p4=3406*
p4-2276*p7+2048>>12;p7=t;t=799*p3+4017*p5+2048>>12;p3=4017*p3-799*p5+2048>>12;p5=t;p[row]=v0+p7;p[row+7]=v0-p7;p[row+1]=v1+p5;p[row+6]=v1-p5;p[row+2]=v2+p3;p[row+5]=v2-p3;p[row+3]=v3+p4;p[row+4]=v3-p4}}for(qt=0;8>qt;++qt)t=p[qt],p1=p[qt+8],p2=p[qt+16],p3=p[qt+24],p4=p[qt+32],p5=p[qt+40],p6=p[qt+48],p7=p[qt+56],0===(p1|p2|p3|p4|p5|p6|p7)?(t=5793*t+8192>>14,t=-2040>t?0:2024<=t?255:t+2056>>4,blockData[blockBufferOffset+qt]=t,blockData[blockBufferOffset+qt+8]=t,blockData[blockBufferOffset+qt+16]=t,blockData[blockBufferOffset+
qt+24]=t,blockData[blockBufferOffset+qt+32]=t,blockData[blockBufferOffset+qt+40]=t,blockData[blockBufferOffset+qt+48]=t,blockData[blockBufferOffset+qt+56]=t):(v0=5793*t+2048>>12,v1=5793*p4+2048>>12,v2=p2,v3=p6,p4=2896*(p1-p7)+2048>>12,p7=2896*(p1+p7)+2048>>12,v0=(v0+v1+1>>1)+4112,v1=v0-v1,t=3784*v2+1567*v3+2048>>12,v2=1567*v2-3784*v3+2048>>12,v3=t,p4=p4+p5+1>>1,p5=p4-p5,p7=p7+p3+1>>1,p3=p7-p3,v0=v0+v3+1>>1,v3=v0-v3,v1=v1+v2+1>>1,v2=v1-v2,t=2276*p4+3406*p7+2048>>12,p4=3406*p4-2276*p7+2048>>12,p7=t,
t=799*p3+4017*p5+2048>>12,p3=4017*p3-799*p5+2048>>12,p5=t,t=v0+p7,p7=v0-p7,p1=v1+p5,p6=v1-p5,p2=v2+p3,p5=v2-p3,p3=v3+p4,p4=v3-p4,t=16>t?0:4080<=t?255:t>>4,p1=16>p1?0:4080<=p1?255:p1>>4,p2=16>p2?0:4080<=p2?255:p2>>4,p3=16>p3?0:4080<=p3?255:p3>>4,p4=16>p4?0:4080<=p4?255:p4>>4,p5=16>p5?0:4080<=p5?255:p5>>4,p6=16>p6?0:4080<=p6?255:p6>>4,p7=16>p7?0:4080<=p7?255:p7>>4,blockData[blockBufferOffset+qt]=t,blockData[blockBufferOffset+qt+8]=p1,blockData[blockBufferOffset+qt+16]=p2,blockData[blockBufferOffset+
qt+24]=p3,blockData[blockBufferOffset+qt+32]=p4,blockData[blockBufferOffset+qt+40]=p5,blockData[blockBufferOffset+qt+48]=p6,blockData[blockBufferOffset+qt+56]=p7)}return component.blockData}function findNextFileMarker(data,currentPos){var startPos=2<arguments.length&&void 0!==arguments[2]?arguments[2]:currentPos,maxPos=data.length-1;startPos=startPos<currentPos?startPos:currentPos;if(currentPos>=maxPos)return null;var currentMarker=data[currentPos]<<8|data[currentPos+1];if(65472<=currentMarker&&65534>=
currentMarker)return{invalid:null,marker:currentMarker,offset:currentPos};for(var newMarker=data[startPos]<<8|data[startPos+1];!(65472<=newMarker&&65534>=newMarker);){if(++startPos>=maxPos)return null;newMarker=data[startPos]<<8|data[startPos+1]}return{invalid:currentMarker.toString(16),marker:newMarker,offset:startPos}}var dctZigZag=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,
31,39,46,53,60,61,54,47,55,62,63]);JpegImage.prototype={parse:function(data){function readUint16(){var value=data[offset]<<8|data[offset+1];offset+=2;return value}function readDataBlock(){var length=readUint16();length=offset+length-2;var fileMarker=findNextFileMarker(data,length,offset);fileMarker&&fileMarker.invalid&&((0,_util.warn)("readDataBlock - incorrect length, current marker is: "+fileMarker.invalid),length=fileMarker.offset);length=data.subarray(offset,length);offset+=length.length;return length}
function prepareComponents(frame){for(var mcusPerLine=Math.ceil(frame.samplesPerLine/8/frame.maxH),mcusPerColumn=Math.ceil(frame.scanLines/8/frame.maxV),i=0;i<frame.components.length;i++){component=frame.components[i];var blocksPerLine=Math.ceil(Math.ceil(frame.samplesPerLine/8)*component.h/frame.maxH),blocksPerColumn=Math.ceil(Math.ceil(frame.scanLines/8)*component.v/frame.maxV);component.blockData=new Int16Array(64*mcusPerColumn*component.v*(mcusPerLine*component.h+1));component.blocksPerLine=blocksPerLine;
component.blocksPerColumn=blocksPerColumn}frame.mcusPerLine=mcusPerLine;frame.mcusPerColumn=mcusPerColumn}var _ref2$dnlScanLines=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).dnlScanLines,dnlScanLines=void 0===_ref2$dnlScanLines?null:_ref2$dnlScanLines,offset=0,jfif=null,adobe=null,numSOSMarkers=0;_ref2$dnlScanLines=[];var huffmanTablesAC=[],huffmanTablesDC=[],fileMarker$jscomp$0=readUint16();if(65496!==fileMarker$jscomp$0)throw new JpegError("SOI not found");fileMarker$jscomp$0=readUint16();
a:for(;65497!==fileMarker$jscomp$0;){switch(fileMarker$jscomp$0){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var j=readDataBlock();65504===fileMarker$jscomp$0&&74===j[0]&&70===j[1]&&73===j[2]&&70===j[3]&&0===j[4]&&(jfif={version:{major:j[5],minor:j[6]},densityUnits:j[7],xDensity:j[8]<<8|j[9],yDensity:j[10]<<8|j[11],thumbWidth:j[12],thumbHeight:j[13],thumbData:j.subarray(14,
14+3*j[12]*j[13])});65518===fileMarker$jscomp$0&&65===j[0]&&100===j[1]&&111===j[2]&&98===j[3]&&101===j[4]&&(adobe={version:j[5]<<8|j[6],flags0:j[7]<<8|j[8],flags1:j[9]<<8|j[10],transformCode:j[11]});break;case 65499:fileMarker$jscomp$0=readUint16()+offset-2;for(var z;offset<fileMarker$jscomp$0;){var quantizationTableSpec=data[offset++],tableData=new Uint16Array(64);if(0===quantizationTableSpec>>4)for(j=0;64>j;j++)z=dctZigZag[j],tableData[z]=data[offset++];else if(1===quantizationTableSpec>>4)for(j=
0;64>j;j++)z=dctZigZag[j],tableData[z]=readUint16();else throw new JpegError("DQT - invalid table spec");_ref2$dnlScanLines[quantizationTableSpec&15]=tableData}break;case 65472:case 65473:case 65474:if(frame$jscomp$0)throw new JpegError("Only single frame JPEGs supported");readUint16();var frame$jscomp$0={};frame$jscomp$0.extended=65473===fileMarker$jscomp$0;frame$jscomp$0.progressive=65474===fileMarker$jscomp$0;frame$jscomp$0.precision=data[offset++];fileMarker$jscomp$0=readUint16();frame$jscomp$0.scanLines=
dnlScanLines||fileMarker$jscomp$0;frame$jscomp$0.samplesPerLine=readUint16();frame$jscomp$0.components=[];frame$jscomp$0.componentIds={};j=data[offset++];for(fileMarker$jscomp$0=tableData=quantizationTableSpec=0;fileMarker$jscomp$0<j;fileMarker$jscomp$0++){z=data[offset];var l=data[offset+1]>>4;var v=data[offset+1]&15;quantizationTableSpec<l&&(quantizationTableSpec=l);tableData<v&&(tableData=v);l=frame$jscomp$0.components.push({h:l,v:v,quantizationId:data[offset+2],quantizationTable:null});frame$jscomp$0.componentIds[z]=
l-1;offset+=3}frame$jscomp$0.maxH=quantizationTableSpec;frame$jscomp$0.maxV=tableData;prepareComponents(frame$jscomp$0);break;case 65476:z=readUint16();for(fileMarker$jscomp$0=2;fileMarker$jscomp$0<z;){quantizationTableSpec=data[offset++];tableData=new Uint8Array(16);for(j=l=0;16>j;j++,offset++)l+=tableData[j]=data[offset];v=new Uint8Array(l);for(j=0;j<l;j++,offset++)v[j]=data[offset];fileMarker$jscomp$0+=17+l;(0===quantizationTableSpec>>4?huffmanTablesDC:huffmanTablesAC)[quantizationTableSpec&15]=
buildHuffmanTable(tableData,v)}break;case 65501:readUint16();var resetInterval=readUint16();break;case 65498:j=1===++numSOSMarkers&&!dnlScanLines;readUint16();quantizationTableSpec=data[offset++];z=[];for(fileMarker$jscomp$0=0;fileMarker$jscomp$0<quantizationTableSpec;fileMarker$jscomp$0++){tableData=frame$jscomp$0.componentIds[data[offset++]];var component=frame$jscomp$0.components[tableData];tableData=data[offset++];component.huffmanTableDC=huffmanTablesDC[tableData>>4];component.huffmanTableAC=
huffmanTablesAC[tableData&15];z.push(component)}fileMarker$jscomp$0=data[offset++];quantizationTableSpec=data[offset++];tableData=data[offset++];try{var processed=decodeScan(data,offset,frame$jscomp$0,z,resetInterval,fileMarker$jscomp$0,quantizationTableSpec,tableData>>4,tableData&15,j);offset+=processed}catch(ex){if(ex instanceof DNLMarkerError)return(0,_util.warn)("".concat(ex.message," -- attempting to re-parse the JPEG image.")),this.parse(data,{dnlScanLines:ex.scanLines});if(ex instanceof EOIMarkerError){(0,_util.warn)("".concat(ex.message,
" -- ignoring the rest of the image data."));break a}throw ex;}break;case 65500:offset+=4;break;case 65535:255!==data[offset]&&offset--;break;default:if(255===data[offset-3]&&192<=data[offset-2]&&254>=data[offset-2])offset-=3;else if((j=findNextFileMarker(data,offset-2))&&j.invalid)(0,_util.warn)("JpegImage.parse - unexpected data, current marker is: "+j.invalid),offset=j.offset;else{if(offset>data.length-2){(0,_util.warn)("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");
break a}throw new JpegError("JpegImage.parse - unknown marker: "+fileMarker$jscomp$0.toString(16));}}fileMarker$jscomp$0=readUint16()}this.width=frame$jscomp$0.samplesPerLine;this.height=frame$jscomp$0.scanLines;this.jfif=jfif;this.adobe=adobe;this.components=[];for(fileMarker$jscomp$0=0;fileMarker$jscomp$0<frame$jscomp$0.components.length;fileMarker$jscomp$0++){component=frame$jscomp$0.components[fileMarker$jscomp$0];if(resetInterval=_ref2$dnlScanLines[component.quantizationId])component.quantizationTable=
resetInterval;this.components.push({output:buildComponentData(frame$jscomp$0,component),scaleX:component.h/frame$jscomp$0.maxH,scaleY:component.v/frame$jscomp$0.maxV,blocksPerLine:component.blocksPerLine,blocksPerColumn:component.blocksPerColumn})}this.numComponents=this.components.length},_getLinearizedBlockData:function(width,height){var isSourcePDF=2<arguments.length&&void 0!==arguments[2]?arguments[2]:!1,scaleX=this.width/width,scaleY=this.height/height,x,i,numComponents=this.components.length,
dataLength=width*height*numComponents,data=new Uint8ClampedArray(dataLength),xScaleBlockOffset=new Uint32Array(width);for(i=0;i<numComponents;i++){var component=this.components[i];var componentScaleX=component.scaleX*scaleX;var componentScaleY=component.scaleY*scaleY;var offset=i;var output=component.output;var blocksPerScanline=component.blocksPerLine+1<<3;for(x=0;x<width;x++)component=0|x*componentScaleX,xScaleBlockOffset[x]=(component&4294967288)<<3|component&7;for(componentScaleX=0;componentScaleX<
height;componentScaleX++)for(component=0|componentScaleX*componentScaleY,component=blocksPerScanline*(component&4294967288)|(component&7)<<3,x=0;x<width;x++)data[offset]=output[component+xScaleBlockOffset[x]],offset+=numComponents}scaleX=this._decodeTransform;isSourcePDF||4!==numComponents||scaleX||(scaleX=new Int32Array([-256,255,-256,255,-256,255,-256,255]));if(scaleX)for(i=0;i<dataLength;)for(isSourcePDF=component=0;component<numComponents;component++,i++,isSourcePDF+=2)data[i]=(data[i]*scaleX[isSourcePDF]>>
8)+scaleX[isSourcePDF+1];return data},get _isColorConversionNeeded(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0===this._colorTransform?!1:!0:1===this._colorTransform?!0:!1},_convertYccToRgb:function(data){for(var Y,Cb,Cr,i=0,length=data.length;i<length;i+=3)Y=data[i],Cb=data[i+1],Cr=data[i+2],data[i]=Y-179.456+1.402*Cr,data[i+1]=Y+135.459-.344*Cb-.714*Cr,data[i+2]=Y-226.816+1.772*Cb;return data},_convertYcckToRgb:function(data){for(var Y,Cb,Cr,k,offset=0,i=0,length=data.length;i<
length;i+=4)Y=data[i],Cb=data[i+1],Cr=data[i+2],k=data[i+3],data[offset++]=-122.67195406894+Cb*(-6.60635669420364E-5*Cb+4.37130475926232E-4*Cr-5.4080610064599E-5*Y+4.8449797120281E-4*k-.154362151871126)+Cr*(-9.57964378445773E-4*Cr+8.17076911346625E-4*Y-.00477271405408747*k+1.53380253221734)+Y*(9.61250184130688E-4*Y-.00266257332283933*k+.48357088451265)+k*(-3.36197177618394E-4*k+.484791561490776),data[offset++]=107.268039397724+Cb*(2.19927104525741E-5*Cb-6.40992018297945E-4*Cr+6.59397001245577E-4*
Y+4.26105652938837E-4*k-.176491792462875)+Cr*(-7.78269941513683E-4*Cr+.00130872261408275*Y+7.70482631801132E-4*k-.151051492775562)+Y*(.00126935368114843*Y-.00265090189010898*k+.25802910206845)+k*(-3.18913117588328E-4*k-.213742400323665),data[offset++]=-20.810012546947+Cb*(-5.70115196973677E-4*Cb-2.63409051004589E-5*Cr+.0020741088115012*Y-.00288260236853442*k+.814272968359295)+Cr*(-1.53496057440975E-5*Cr-1.32689043961446E-4*Y+5.60833691242812E-4*k-.195152027534049)+Y*(.00174418132927582*Y-.00255243321439347*
k+.116935020465145)+k*(-3.43531996510555E-4*k+.24165260232407);return data.subarray(0,offset)},_convertYcckToCmyk:function(data){for(var Y,Cb,Cr,i=0,length=data.length;i<length;i+=4)Y=data[i],Cb=data[i+1],Cr=data[i+2],data[i]=434.456-Y-1.402*Cr,data[i+1]=119.541-Y+.344*Cb+.714*Cr,data[i+2]=481.816-Y-1.772*Cb;return data},_convertCmykToRgb:function(data){for(var c,m,y,k,offset=0,scale=1/255,i=0,length=data.length;i<length;i+=4)c=data[i]*scale,m=data[i+1]*scale,y=data[i+2]*scale,k=data[i+3]*scale,data[offset++]=
255+c*(-4.387332384609988*c+54.48615194189176*m+18.82290502165302*y+212.25662451639585*k-285.2331026137004)+m*(1.7149763477362134*m-5.6096736904047315*y-17.873870861415444*k-5.497006427196366)+y*(-2.5217340131683033*y-21.248923337353073*k+17.5119270841813)-k*(21.86122147463605*k+189.48180835922747),data[offset++]=255+c*(8.841041422036149*c+60.118027045597366*m+6.871425592049007*y+31.159100130055922*k-79.2970844816548)+m*(-15.310361306967817*m+17.575251261109482*y+131.35250912493976*k-190.9453302588951)+
y*(4.444339102852739*y+9.8632861493405*k-24.86741582555878)-k*(20.737325471181034*k+187.80453709719578),data[offset++]=255+c*(.8842522430003296*c+8.078677503112928*m+30.89978309703729*y-.23883238689178934*k-14.183576799673286)+m*(10.49593273432072*m+63.02378494754052*y+50.606957656360734*k-112.23884253719248)+y*(.03296041114873217*y+115.60384449646641*k-193.58209356861505)-k*(22.33816807309886*k+180.12613974708367);return data.subarray(0,offset)},getData:function(_ref3){var width=_ref3.width,height=
_ref3.height,_ref3$forceRGB=_ref3.forceRGB;_ref3$forceRGB=void 0===_ref3$forceRGB?!1:_ref3$forceRGB;_ref3=_ref3.isSourcePDF;_ref3=void 0===_ref3?!1:_ref3;if(4<this.numComponents)throw new JpegError("Unsupported color mode");width=this._getLinearizedBlockData(width,height,_ref3);if(1===this.numComponents&&_ref3$forceRGB){height=width.length;_ref3$forceRGB=new Uint8ClampedArray(3*height);for(var i=_ref3=0;i<height;i++){var grayColor=width[i];_ref3$forceRGB[_ref3++]=grayColor;_ref3$forceRGB[_ref3++]=
grayColor;_ref3$forceRGB[_ref3++]=grayColor}return _ref3$forceRGB}if(3===this.numComponents&&this._isColorConversionNeeded)return this._convertYccToRgb(width);if(4===this.numComponents){if(this._isColorConversionNeeded)return _ref3$forceRGB?this._convertYcckToRgb(width):this._convertYcckToCmyk(width);if(_ref3$forceRGB)return this._convertCmykToRgb(width)}return width}};return JpegImage}();exports.JpegImage=module},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",
{value:!0});exports.JpxStream=void 0;var _stream=__w_pdfjs_require__(195),_jpx=__w_pdfjs_require__(204),_util=__w_pdfjs_require__(5);module=function(){function JpxStream(stream,maybeLength,dict,params){this.stream=stream;this.maybeLength=maybeLength;this.dict=dict;this.params=params;_stream.DecodeStream.call(this,maybeLength)}JpxStream.prototype=Object.create(_stream.DecodeStream.prototype);Object.defineProperty(JpxStream.prototype,"bytes",{get:function(){return(0,_util.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))},
configurable:!0});JpxStream.prototype.ensureBuffer=function(requested){};JpxStream.prototype.readBlock=function(){if(!this.eof){var jpxImage=new _jpx.JpxImage;jpxImage.parse(this.bytes);var width=jpxImage.width,height=jpxImage.height,componentsCount=jpxImage.componentsCount,tileCount=jpxImage.tiles.length;if(1===tileCount)this.buffer=jpxImage.tiles[0].items;else{height=new Uint8ClampedArray(width*height*componentsCount);for(var k=0;k<tileCount;k++){var tileComponents=jpxImage.tiles[k],tileHeight=
tileComponents.height,src=tileComponents.items,srcPosition=0,dataPosition=(width*tileComponents.top+tileComponents.left)*componentsCount,imgRowSize=width*componentsCount;tileComponents=tileComponents.width*componentsCount;for(var j=0;j<tileHeight;j++){var rowBytes=src.subarray(srcPosition,srcPosition+tileComponents);height.set(rowBytes,dataPosition);srcPosition+=tileComponents;dataPosition+=imgRowSize}}this.buffer=height}this.bufferLength=this.buffer.length;this.eof=!0}};return JpxStream}();exports.JpxStream=
module},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _getPrototypeOf(o$jscomp$0){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)};
return _getPrototypeOf(o$jscomp$0)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p$jscomp$0){_setPrototypeOf=Object.setPrototypeOf||function(o,p){o.__proto__=p;return o};
return _setPrototypeOf(o$jscomp$0,p$jscomp$0)}Object.defineProperty(exports,"__esModule",{value:!0});exports.JpxImage=void 0;var _util=__w_pdfjs_require__(5),_arithmetic_decoder=__w_pdfjs_require__(200),JpxError=function(_BaseException){function JpxError(msg){if(!(this instanceof JpxError))throw new TypeError("Cannot call a class as a function");msg=_getPrototypeOf(JpxError).call(this,"JPX error: ".concat(msg));if(!msg||"object"!==_typeof(msg)&&"function"!==typeof msg){if(void 0===this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
msg=this}return msg}_inherits(JpxError,_BaseException);return JpxError}(_util.BaseException);module=function(){function JpxImage(){this.failOnCorruptedImage=!1}function buildCodeblocks(context,subband,dimensions){context=dimensions.xcb_;dimensions=dimensions.ycb_;var codeblockWidth=1<<context,codeblockHeight=1<<dimensions,cbx0=subband.tbx0>>context,cby0=subband.tby0>>dimensions,cbx1=subband.tbx1+codeblockWidth-1>>context,cby1=subband.tby1+codeblockHeight-1>>dimensions,precinctParameters=subband.resolution.precinctParameters,
codeblocks=[],precincts=[],i,j;for(j=cby0;j<cby1;j++)for(i=cbx0;i<cbx1;i++){var codeblock={cbx:i,cby:j,tbx0:codeblockWidth*i,tby0:codeblockHeight*j,tbx1:codeblockWidth*(i+1),tby1:codeblockHeight*(j+1)};codeblock.tbx0_=Math.max(subband.tbx0,codeblock.tbx0);codeblock.tby0_=Math.max(subband.tby0,codeblock.tby0);codeblock.tbx1_=Math.min(subband.tbx1,codeblock.tbx1);codeblock.tby1_=Math.min(subband.tby1,codeblock.tby1);var precinctNumber=Math.floor((codeblock.tbx0_-subband.tbx0)/precinctParameters.precinctWidthInSubband)+
Math.floor((codeblock.tby0_-subband.tby0)/precinctParameters.precinctHeightInSubband)*precinctParameters.numprecinctswide;codeblock.precinctNumber=precinctNumber;codeblock.subbandType=subband.type;codeblock.Lblock=3;if(!(codeblock.tbx1_<=codeblock.tbx0_||codeblock.tby1_<=codeblock.tby0_)){codeblocks.push(codeblock);var precinct=precincts[precinctNumber];void 0!==precinct?(i<precinct.cbxMin?precinct.cbxMin=i:i>precinct.cbxMax&&(precinct.cbxMax=i),j<precinct.cbyMin?precinct.cbxMin=j:j>precinct.cbyMax&&
(precinct.cbyMax=j)):precincts[precinctNumber]=precinct={cbxMin:i,cbyMin:j,cbxMax:i,cbyMax:j};codeblock.precinct=precinct}}subband.codeblockParameters={codeblockWidth:context,codeblockHeight:dimensions,numcodeblockwide:cbx1-cbx0+1,numcodeblockhigh:cby1-cby0+1};subband.codeblocks=codeblocks;subband.precincts=precincts}function createPacket(resolution,precinctNumber,layerNumber){var precinctCodeblocks=[];resolution=resolution.subbands;for(var i=0,ii=resolution.length;i<ii;i++)for(var codeblocks=resolution[i].codeblocks,
j=0,jj=codeblocks.length;j<jj;j++){var codeblock=codeblocks[j];codeblock.precinctNumber===precinctNumber&&precinctCodeblocks.push(codeblock)}return{layerNumber:layerNumber,codeblocks:precinctCodeblocks}}function LayerResolutionComponentPositionIterator(context){var tile=context.tiles[context.currentTile.index],layersCount=tile.codingStyleDefaultParameters.layersCount,componentsCount=context.SIZ.Csiz,maxDecompositionLevelsCount=0;for(context=0;context<componentsCount;context++)maxDecompositionLevelsCount=
Math.max(maxDecompositionLevelsCount,tile.components[context].codingStyleParameters.decompositionLevelsCount);var l=0,r=0,i=0,k=0;this.nextPacket=function(){for(;l<layersCount;l++){for(;r<=maxDecompositionLevelsCount;r++){for(;i<componentsCount;i++){var component=tile.components[i];if(!(r>component.codingStyleParameters.decompositionLevelsCount)){component=component.resolutions[r];for(var numprecincts=component.precinctParameters.numprecincts;k<numprecincts;)return component=createPacket(component,
k,l),k++,component;k=0}}i=0}r=0}throw new JpxError("Out of packets");}}function ResolutionLayerComponentPositionIterator(context){var tile=context.tiles[context.currentTile.index],layersCount=tile.codingStyleDefaultParameters.layersCount,componentsCount=context.SIZ.Csiz,maxDecompositionLevelsCount=0;for(context=0;context<componentsCount;context++)maxDecompositionLevelsCount=Math.max(maxDecompositionLevelsCount,tile.components[context].codingStyleParameters.decompositionLevelsCount);var r=0,l=0,i=
0,k=0;this.nextPacket=function(){for(;r<=maxDecompositionLevelsCount;r++){for(;l<layersCount;l++){for(;i<componentsCount;i++){var component=tile.components[i];if(!(r>component.codingStyleParameters.decompositionLevelsCount)){component=component.resolutions[r];for(var numprecincts=component.precinctParameters.numprecincts;k<numprecincts;)return component=createPacket(component,k,l),k++,component;k=0}}i=0}l=0}throw new JpxError("Out of packets");}}function ResolutionPositionComponentLayerIterator(context){var tile=
context.tiles[context.currentTile.index],layersCount=tile.codingStyleDefaultParameters.layersCount,componentsCount=context.SIZ.Csiz,l,r,c,maxDecompositionLevelsCount=0;for(c=0;c<componentsCount;c++)maxDecompositionLevelsCount=Math.max(maxDecompositionLevelsCount,tile.components[c].codingStyleParameters.decompositionLevelsCount);var maxNumPrecinctsInLevel=new Int32Array(maxDecompositionLevelsCount+1);for(r=0;r<=maxDecompositionLevelsCount;++r){for(c=context=0;c<componentsCount;++c){var resolutions=
tile.components[c].resolutions;r<resolutions.length&&(context=Math.max(context,resolutions[r].precinctParameters.numprecincts))}maxNumPrecinctsInLevel[r]=context}var p=c=r=l=0;this.nextPacket=function(){for(;r<=maxDecompositionLevelsCount;r++){for(;p<maxNumPrecinctsInLevel[r];p++){for(;c<componentsCount;c++){var component=tile.components[c];if(!(r>component.codingStyleParameters.decompositionLevelsCount||(component=component.resolutions[r],p>=component.precinctParameters.numprecincts))){for(;l<layersCount;)return component=
createPacket(component,p,l),l++,component;l=0}}c=0}p=0}throw new JpxError("Out of packets");}}function PositionComponentResolutionLayerIterator(context){var tile=context.tiles[context.currentTile.index],layersCount=tile.codingStyleDefaultParameters.layersCount,componentsCount=context.SIZ.Csiz,precinctsSizes=getPrecinctSizesInImageScale(tile),l=0,r=0,c=0,px=0,py=0;this.nextPacket=function(){for(;py<precinctsSizes.maxNumHigh;py++){for(;px<precinctsSizes.maxNumWide;px++){for(;c<componentsCount;c++){for(var component=
tile.components[c],decompositionLevelsCount=component.codingStyleParameters.decompositionLevelsCount;r<=decompositionLevelsCount;r++){var resolution=component.resolutions[r],k=getPrecinctIndexIfExist(px,py,precinctsSizes.components[c].resolutions[r],precinctsSizes,resolution);if(null!==k){for(;l<layersCount;)return component=createPacket(resolution,k,l),l++,component;l=0}}r=0}c=0}px=0}throw new JpxError("Out of packets");}}function ComponentPositionResolutionLayerIterator(context){var tile=context.tiles[context.currentTile.index],
layersCount=tile.codingStyleDefaultParameters.layersCount,componentsCount=context.SIZ.Csiz,precinctsSizes=getPrecinctSizesInImageScale(tile),l=0,r=0,c=0,px=0,py=0;this.nextPacket=function(){for(;c<componentsCount;++c){for(var component=tile.components[c],precinctsIterationSizes=precinctsSizes.components[c],decompositionLevelsCount=component.codingStyleParameters.decompositionLevelsCount;py<precinctsIterationSizes.maxNumHigh;py++){for(;px<precinctsIterationSizes.maxNumWide;px++){for(;r<=decompositionLevelsCount;r++){var resolution=
component.resolutions[r],k=getPrecinctIndexIfExist(px,py,precinctsIterationSizes.resolutions[r],precinctsIterationSizes,resolution);if(null!==k){for(;l<layersCount;)return component=createPacket(resolution,k,l),l++,component;l=0}}r=0}px=0}py=0}throw new JpxError("Out of packets");}}function getPrecinctIndexIfExist(pxIndex,pyIndex,sizeInImageScale,precinctIterationSizes,resolution){pxIndex*=precinctIterationSizes.minWidth;pyIndex*=precinctIterationSizes.minHeight;return 0!==pxIndex%sizeInImageScale.width||
0!==pyIndex%sizeInImageScale.height?null:pxIndex/sizeInImageScale.height+pyIndex/sizeInImageScale.width*resolution.precinctParameters.numprecinctswide}function getPrecinctSizesInImageScale(tile){for(var componentsCount=tile.components.length,minWidth=Number.MAX_VALUE,minHeight=Number.MAX_VALUE,maxNumWide=0,maxNumHigh=0,sizePerComponent=Array(componentsCount),c=0;c<componentsCount;c++){for(var component=tile.components[c],decompositionLevelsCount=component.codingStyleParameters.decompositionLevelsCount,
sizePerResolution=Array(decompositionLevelsCount+1),minWidthCurrentComponent=Number.MAX_VALUE,minHeightCurrentComponent=Number.MAX_VALUE,maxNumWideCurrentComponent=0,maxNumHighCurrentComponent=0,scale=1;0<=decompositionLevelsCount;--decompositionLevelsCount){var resolution=component.resolutions[decompositionLevelsCount],widthCurrentResolution=scale*resolution.precinctParameters.precinctWidth,heightCurrentResolution=scale*resolution.precinctParameters.precinctHeight;minWidthCurrentComponent=Math.min(minWidthCurrentComponent,
widthCurrentResolution);minHeightCurrentComponent=Math.min(minHeightCurrentComponent,heightCurrentResolution);maxNumWideCurrentComponent=Math.max(maxNumWideCurrentComponent,resolution.precinctParameters.numprecinctswide);maxNumHighCurrentComponent=Math.max(maxNumHighCurrentComponent,resolution.precinctParameters.numprecinctshigh);sizePerResolution[decompositionLevelsCount]={width:widthCurrentResolution,height:heightCurrentResolution};scale<<=1}minWidth=Math.min(minWidth,minWidthCurrentComponent);
minHeight=Math.min(minHeight,minHeightCurrentComponent);maxNumWide=Math.max(maxNumWide,maxNumWideCurrentComponent);maxNumHigh=Math.max(maxNumHigh,maxNumHighCurrentComponent);sizePerComponent[c]={resolutions:sizePerResolution,minWidth:minWidthCurrentComponent,minHeight:minHeightCurrentComponent,maxNumWide:maxNumWideCurrentComponent,maxNumHigh:maxNumHighCurrentComponent}}return{components:sizePerComponent,minWidth:minWidth,minHeight:minHeight,maxNumWide:maxNumWide,maxNumHigh:maxNumHigh}}function parseTilePackets(context,
data,offset,dataLength){function readBits(count){for(;bufferSize<count;){var b=data[offset+position];position++;skipNextBit?(buffer=buffer<<7|b,bufferSize+=7,skipNextBit=!1):(buffer=buffer<<8|b,bufferSize+=8);255===b&&(skipNextBit=!0)}bufferSize-=count;return buffer>>>bufferSize&(1<<count)-1}function skipMarkerIfEqual(value){return 255===data[offset+position-1]&&data[offset+position]===value?(position+=1,!0):255===data[offset+position]&&data[offset+position+1]===value?(position+=2,!0):!1}function readCodingpasses(){if(0===
readBits(1))return 1;if(0===readBits(1))return 2;var value=readBits(2);if(3>value)return value+3;value=readBits(5);if(31>value)return value+6;value=readBits(7);return value+37}var position=0,buffer,bufferSize=0,skipNextBit=!1,sopMarkerUsed=context.COD.sopMarkerUsed,ephMarkerUsed=context.COD.ephMarkerUsed;for(context=context.tiles[context.currentTile.index].packetsIterator;position<dataLength;){bufferSize=0;skipNextBit&&(position++,skipNextBit=!1);sopMarkerUsed&&skipMarkerIfEqual(145)&&(position+=
4);var packet=context.nextPacket();if(readBits(1)){for(var layerNumber=packet.layerNumber,queue=[],codeblock,i=0,ii=packet.codeblocks.length;i<ii;i++){codeblock=packet.codeblocks[i];var precinct=codeblock.precinct,codeblockColumn=codeblock.cbx-precinct.cbxMin,codeblockRow=codeblock.cby-precinct.cbyMin,codeblockIncluded=!1,firstTimeInclusion=!1;if(void 0!==codeblock.included)codeblockIncluded=!!readBits(1);else{precinct=codeblock.precinct;if(void 0!==precinct.inclusionTree)var inclusionTree=precinct.inclusionTree;
else{var valueReady=precinct.cbxMax-precinct.cbxMin+1;var zeroBitPlanesTree=precinct.cbyMax-precinct.cbyMin+1;inclusionTree=new InclusionTree(valueReady,zeroBitPlanesTree,layerNumber);zeroBitPlanesTree=new TagTree(valueReady,zeroBitPlanesTree);precinct.inclusionTree=inclusionTree;precinct.zeroBitPlanesTree=zeroBitPlanesTree}if(inclusionTree.reset(codeblockColumn,codeblockRow,layerNumber))for(;;)if(readBits(1)){if(valueReady=!inclusionTree.nextLevel()){codeblockIncluded=firstTimeInclusion=codeblock.included=
!0;break}}else{inclusionTree.incrementValue(layerNumber);break}}if(codeblockIncluded){if(firstTimeInclusion){zeroBitPlanesTree=precinct.zeroBitPlanesTree;for(zeroBitPlanesTree.reset(codeblockColumn,codeblockRow);;)if(readBits(1)){if(valueReady=!zeroBitPlanesTree.nextLevel())break}else zeroBitPlanesTree.incrementValue();codeblock.zeroBitPlanes=zeroBitPlanesTree.value}for(precinct=readCodingpasses();readBits(1);)codeblock.Lblock++;codeblockColumn=(0,_util.log2)(precinct);codeblockColumn=readBits((precinct<
1<<codeblockColumn?codeblockColumn-1:codeblockColumn)+codeblock.Lblock);queue.push({codeblock:codeblock,codingpasses:precinct,dataLength:codeblockColumn})}}bufferSize=0;skipNextBit&&(position++,skipNextBit=!1);for(ephMarkerUsed&&skipMarkerIfEqual(146);0<queue.length;)packet=queue.shift(),codeblock=packet.codeblock,void 0===codeblock.data&&(codeblock.data=[]),codeblock.data.push({data:data,start:offset+position,end:offset+position+packet.dataLength,codingpasses:packet.codingpasses}),position+=packet.dataLength}}return position}
var SubbandsGainLog2={LL:0,LH:1,HL:1,HH:2};JpxImage.prototype={parse:function(data){if(65359===(0,_util.readUint16)(data,0))this.parseCodestream(data,0,data.length);else for(var position=0,length=data.length;position<length;){var headerSize=8,lbox=(0,_util.readUint32)(data,position),tbox=(0,_util.readUint32)(data,position+4);position+=headerSize;1===lbox&&(lbox=4294967296*(0,_util.readUint32)(data,position)+(0,_util.readUint32)(data,position+4),position+=8,headerSize+=8);0===lbox&&(lbox=length-position+
headerSize);if(lbox<headerSize)throw new JpxError("Invalid box field size");headerSize=lbox-headerSize;lbox=!0;switch(tbox){case 1785737832:lbox=!1;break;case 1668246642:tbox=data[position];if(1===tbox)switch(tbox=(0,_util.readUint32)(data,position+3),tbox){case 16:case 17:case 18:break;default:(0,_util.warn)("Unknown colorspace "+tbox)}else 2===tbox&&(0,_util.info)("ICC profile not supported");break;case 1785737827:this.parseCodestream(data,position,position+headerSize);break;case 1783636E3:218793738!==
(0,_util.readUint32)(data,position)&&(0,_util.warn)("Invalid JP2 signature");break;case 1783634458:case 1718909296:case 1920099697:case 1919251232:case 1768449138:break;default:var headerType=String.fromCharCode(tbox>>24&255,tbox>>16&255,tbox>>8&255,tbox&255);(0,_util.warn)("Unsupported header type "+tbox+" ("+headerType+")")}lbox&&(position+=headerSize)}},parseImageProperties:function(stream){for(var newByte=stream.getByte();0<=newByte;){var oldByte=newByte;newByte=stream.getByte();if(65361===(oldByte<<
8|newByte)){stream.skip(4);newByte=stream.getInt32()>>>0;oldByte=stream.getInt32()>>>0;var XOsiz=stream.getInt32()>>>0,YOsiz=stream.getInt32()>>>0;stream.skip(16);stream=stream.getUint16();this.width=newByte-XOsiz;this.height=oldByte-YOsiz;this.componentsCount=stream;this.bitsPerComponent=8;return}}throw new JpxError("No size marker found in JPX stream");},parseCodestream:function(data$jscomp$0,start,end){var context={},doNotRecover=!1;try{for(var position=start;position+1<end;){var code=(0,_util.readUint16)(data$jscomp$0,
position);position+=2;var length=0,spqcds;switch(code){case 65359:context.mainHeader=!0;break;case 65497:break;case 65361:length=(0,_util.readUint16)(data$jscomp$0,position);var siz={};siz.Xsiz=(0,_util.readUint32)(data$jscomp$0,position+4);siz.Ysiz=(0,_util.readUint32)(data$jscomp$0,position+8);siz.XOsiz=(0,_util.readUint32)(data$jscomp$0,position+12);siz.YOsiz=(0,_util.readUint32)(data$jscomp$0,position+16);siz.XTsiz=(0,_util.readUint32)(data$jscomp$0,position+20);siz.YTsiz=(0,_util.readUint32)(data$jscomp$0,
position+24);siz.XTOsiz=(0,_util.readUint32)(data$jscomp$0,position+28);siz.YTOsiz=(0,_util.readUint32)(data$jscomp$0,position+32);var componentsCount=(0,_util.readUint16)(data$jscomp$0,position+36);siz.Csiz=componentsCount;var components=[];var j=position+38;for(var i=0;i<componentsCount;i++){var component={precision:(data$jscomp$0[j]&127)+1,isSigned:!!(data$jscomp$0[j]&128),XRsiz:data$jscomp$0[j+1],YRsiz:data$jscomp$0[j+2]};j+=3;var component$jscomp$0=component,siz$jscomp$0=siz;component$jscomp$0.x0=
Math.ceil(siz$jscomp$0.XOsiz/component$jscomp$0.XRsiz);component$jscomp$0.x1=Math.ceil(siz$jscomp$0.Xsiz/component$jscomp$0.XRsiz);component$jscomp$0.y0=Math.ceil(siz$jscomp$0.YOsiz/component$jscomp$0.YRsiz);component$jscomp$0.y1=Math.ceil(siz$jscomp$0.Ysiz/component$jscomp$0.YRsiz);component$jscomp$0.width=component$jscomp$0.x1-component$jscomp$0.x0;component$jscomp$0.height=component$jscomp$0.y1-component$jscomp$0.y0;components.push(component)}context.SIZ=siz;context.components=components;for(var tile$jscomp$0=
void 0,context$jscomp$0=context,components$jscomp$0=components,siz$jscomp$1=context$jscomp$0.SIZ,tiles=[],numXtiles=Math.ceil((siz$jscomp$1.Xsiz-siz$jscomp$1.XTOsiz)/siz$jscomp$1.XTsiz),numYtiles=Math.ceil((siz$jscomp$1.Ysiz-siz$jscomp$1.YTOsiz)/siz$jscomp$1.YTsiz),q=0;q<numYtiles;q++)for(var p=0;p<numXtiles;p++)tile$jscomp$0={},tile$jscomp$0.tx0=Math.max(siz$jscomp$1.XTOsiz+p*siz$jscomp$1.XTsiz,siz$jscomp$1.XOsiz),tile$jscomp$0.ty0=Math.max(siz$jscomp$1.YTOsiz+q*siz$jscomp$1.YTsiz,siz$jscomp$1.YOsiz),
tile$jscomp$0.tx1=Math.min(siz$jscomp$1.XTOsiz+(p+1)*siz$jscomp$1.XTsiz,siz$jscomp$1.Xsiz),tile$jscomp$0.ty1=Math.min(siz$jscomp$1.YTOsiz+(q+1)*siz$jscomp$1.YTsiz,siz$jscomp$1.Ysiz),tile$jscomp$0.width=tile$jscomp$0.tx1-tile$jscomp$0.tx0,tile$jscomp$0.height=tile$jscomp$0.ty1-tile$jscomp$0.ty0,tile$jscomp$0.components=[],tiles.push(tile$jscomp$0);context$jscomp$0.tiles=tiles;for(var i$jscomp$0=0,ii=siz$jscomp$1.Csiz;i$jscomp$0<ii;i$jscomp$0++)for(var component$jscomp$1=components$jscomp$0[i$jscomp$0],
j$jscomp$0=0,jj=tiles.length;j$jscomp$0<jj;j$jscomp$0++){var tileComponent={};tile$jscomp$0=tiles[j$jscomp$0];tileComponent.tcx0=Math.ceil(tile$jscomp$0.tx0/component$jscomp$1.XRsiz);tileComponent.tcy0=Math.ceil(tile$jscomp$0.ty0/component$jscomp$1.YRsiz);tileComponent.tcx1=Math.ceil(tile$jscomp$0.tx1/component$jscomp$1.XRsiz);tileComponent.tcy1=Math.ceil(tile$jscomp$0.ty1/component$jscomp$1.YRsiz);tileComponent.width=tileComponent.tcx1-tileComponent.tcx0;tileComponent.height=tileComponent.tcy1-tileComponent.tcy0;
tile$jscomp$0.components[i$jscomp$0]=tileComponent}context.QCC=[];context.COC=[];break;case 65372:length=(0,_util.readUint16)(data$jscomp$0,position);var qcd={};j=position+2;var sqcd=data$jscomp$0[j++];switch(sqcd&31){case 0:var spqcdSize=8;var scalarExpounded=!0;break;case 1:spqcdSize=16;scalarExpounded=!1;break;case 2:spqcdSize=16;scalarExpounded=!0;break;default:throw Error("Invalid SQcd value "+sqcd);}qcd.noQuantization=8===spqcdSize;qcd.scalarExpounded=scalarExpounded;qcd.guardBits=sqcd>>5;for(spqcds=
[];j<length+position;){var spqcd={};8===spqcdSize?(spqcd.epsilon=data$jscomp$0[j++]>>3,spqcd.mu=0):(spqcd.epsilon=data$jscomp$0[j]>>3,spqcd.mu=(data$jscomp$0[j]&7)<<8|data$jscomp$0[j+1],j+=2);spqcds.push(spqcd)}qcd.SPqcds=spqcds;context.mainHeader?context.QCD=qcd:(context.currentTile.QCD=qcd,context.currentTile.QCC=[]);break;case 65373:length=(0,_util.readUint16)(data$jscomp$0,position);var qcc={};j=position+2;if(257>context.SIZ.Csiz)var cqcc=data$jscomp$0[j++];else cqcc=(0,_util.readUint16)(data$jscomp$0,
j),j+=2;sqcd=data$jscomp$0[j++];switch(sqcd&31){case 0:spqcdSize=8;scalarExpounded=!0;break;case 1:spqcdSize=16;scalarExpounded=!1;break;case 2:spqcdSize=16;scalarExpounded=!0;break;default:throw Error("Invalid SQcd value "+sqcd);}qcc.noQuantization=8===spqcdSize;qcc.scalarExpounded=scalarExpounded;qcc.guardBits=sqcd>>5;for(spqcds=[];j<length+position;)spqcd={},8===spqcdSize?(spqcd.epsilon=data$jscomp$0[j++]>>3,spqcd.mu=0):(spqcd.epsilon=data$jscomp$0[j]>>3,spqcd.mu=(data$jscomp$0[j]&7)<<8|data$jscomp$0[j+
1],j+=2),spqcds.push(spqcd);qcc.SPqcds=spqcds;context.mainHeader?context.QCC[cqcc]=qcc:context.currentTile.QCC[cqcc]=qcc;break;case 65362:length=(0,_util.readUint16)(data$jscomp$0,position);var cod={};j=position+2;var scod=data$jscomp$0[j++];cod.entropyCoderWithCustomPrecincts=!!(scod&1);cod.sopMarkerUsed=!!(scod&2);cod.ephMarkerUsed=!!(scod&4);cod.progressionOrder=data$jscomp$0[j++];cod.layersCount=(0,_util.readUint16)(data$jscomp$0,j);j+=2;cod.multipleComponentTransform=data$jscomp$0[j++];cod.decompositionLevelsCount=
data$jscomp$0[j++];cod.xcb=(data$jscomp$0[j++]&15)+2;cod.ycb=(data$jscomp$0[j++]&15)+2;var blockStyle=data$jscomp$0[j++];cod.selectiveArithmeticCodingBypass=!!(blockStyle&1);cod.resetContextProbabilities=!!(blockStyle&2);cod.terminationOnEachCodingPass=!!(blockStyle&4);cod.verticallyStripe=!!(blockStyle&8);cod.predictableTermination=!!(blockStyle&16);cod.segmentationSymbolUsed=!!(blockStyle&32);cod.reversibleTransformation=data$jscomp$0[j++];if(cod.entropyCoderWithCustomPrecincts){for(var precinctsSizes=
[];j<length+position;){var precinctsSize=data$jscomp$0[j++];precinctsSizes.push({PPx:precinctsSize&15,PPy:precinctsSize>>4})}cod.precinctsSizes=precinctsSizes}var unsupported=[];cod.selectiveArithmeticCodingBypass&&unsupported.push("selectiveArithmeticCodingBypass");cod.resetContextProbabilities&&unsupported.push("resetContextProbabilities");cod.terminationOnEachCodingPass&&unsupported.push("terminationOnEachCodingPass");cod.verticallyStripe&&unsupported.push("verticallyStripe");cod.predictableTermination&&
unsupported.push("predictableTermination");if(0<unsupported.length)throw doNotRecover=!0,Error("Unsupported COD options ("+unsupported.join(", ")+")");context.mainHeader?context.COD=cod:(context.currentTile.COD=cod,context.currentTile.COC=[]);break;case 65424:length=(0,_util.readUint16)(data$jscomp$0,position);var tile={};tile.index=(0,_util.readUint16)(data$jscomp$0,position+2);tile.length=(0,_util.readUint32)(data$jscomp$0,position+4);tile.dataEnd=tile.length+position-2;tile.partIndex=data$jscomp$0[position+
8];tile.partsCount=data$jscomp$0[position+9];context.mainHeader=!1;0===tile.partIndex&&(tile.COD=context.COD,tile.COC=context.COC.slice(0),tile.QCD=context.QCD,tile.QCC=context.QCC.slice(0));context.currentTile=tile;break;case 65427:tile=context.currentTile;if(0===tile.partIndex){for(var context$jscomp$1=context,componentsCount$jscomp$0=context$jscomp$1.SIZ.Csiz,tile$jscomp$1=context$jscomp$1.tiles[tile.index],c=0;c<componentsCount$jscomp$0;c++){var component$jscomp$2=tile$jscomp$1.components[c];
component$jscomp$2.quantizationParameters=void 0!==context$jscomp$1.currentTile.QCC[c]?context$jscomp$1.currentTile.QCC[c]:context$jscomp$1.currentTile.QCD;component$jscomp$2.codingStyleParameters=void 0!==context$jscomp$1.currentTile.COC[c]?context$jscomp$1.currentTile.COC[c]:context$jscomp$1.currentTile.COD}tile$jscomp$1.codingStyleDefaultParameters=context$jscomp$1.currentTile.COD;for(var context$jscomp$2=context,tile$jscomp$2=context$jscomp$2.tiles[context$jscomp$2.currentTile.index],componentsCount$jscomp$1=
context$jscomp$2.SIZ.Csiz,c$jscomp$0=0;c$jscomp$0<componentsCount$jscomp$1;c$jscomp$0++){for(var component$jscomp$3=tile$jscomp$2.components[c$jscomp$0],decompositionLevelsCount=component$jscomp$3.codingStyleParameters.decompositionLevelsCount,resolutions=[],subbands=[],r=0;r<=decompositionLevelsCount;r++){var r$jscomp$0=r,codOrCoc=component$jscomp$3.codingStyleParameters,result={};codOrCoc.entropyCoderWithCustomPrecincts?(result.PPx=codOrCoc.precinctsSizes[r$jscomp$0].PPx,result.PPy=codOrCoc.precinctsSizes[r$jscomp$0].PPy):
(result.PPx=15,result.PPy=15);result.xcb_=0<r$jscomp$0?Math.min(codOrCoc.xcb,result.PPx-1):Math.min(codOrCoc.xcb,result.PPx);result.ycb_=0<r$jscomp$0?Math.min(codOrCoc.ycb,result.PPy-1):Math.min(codOrCoc.ycb,result.PPy);var blocksDimensions=result;var resolution={},scale=1<<decompositionLevelsCount-r;resolution.trx0=Math.ceil(component$jscomp$3.tcx0/scale);resolution.try0=Math.ceil(component$jscomp$3.tcy0/scale);resolution.trx1=Math.ceil(component$jscomp$3.tcx1/scale);resolution.try1=Math.ceil(component$jscomp$3.tcy1/
scale);resolution.resLevel=r;var precinctWidth=1<<blocksDimensions.PPx,precinctHeight=1<<blocksDimensions.PPy,isZeroRes=0===resolution.resLevel,numprecinctswide=resolution.trx1>resolution.trx0?Math.ceil(resolution.trx1/precinctWidth)-Math.floor(resolution.trx0/precinctWidth):0,numprecinctshigh=resolution.try1>resolution.try0?Math.ceil(resolution.try1/precinctHeight)-Math.floor(resolution.try0/precinctHeight):0;resolution.precinctParameters={precinctWidth:precinctWidth,precinctHeight:precinctHeight,
numprecinctswide:numprecinctswide,numprecinctshigh:numprecinctshigh,numprecincts:numprecinctswide*numprecinctshigh,precinctWidthInSubband:1<<blocksDimensions.PPx+(isZeroRes?0:-1),precinctHeightInSubband:1<<blocksDimensions.PPy+(isZeroRes?0:-1)};resolutions.push(resolution);if(0===r){var subband={type:"LL"};subband.tbx0=Math.ceil(component$jscomp$3.tcx0/scale);subband.tby0=Math.ceil(component$jscomp$3.tcy0/scale);subband.tbx1=Math.ceil(component$jscomp$3.tcx1/scale);subband.tby1=Math.ceil(component$jscomp$3.tcy1/
scale);subband.resolution=resolution;buildCodeblocks(context$jscomp$2,subband,blocksDimensions);subbands.push(subband);resolution.subbands=[subband]}else{var bscale=1<<decompositionLevelsCount-r+1,resolutionSubbands=[];subband={type:"HL"};subband.tbx0=Math.ceil(component$jscomp$3.tcx0/bscale-.5);subband.tby0=Math.ceil(component$jscomp$3.tcy0/bscale);subband.tbx1=Math.ceil(component$jscomp$3.tcx1/bscale-.5);subband.tby1=Math.ceil(component$jscomp$3.tcy1/bscale);subband.resolution=resolution;buildCodeblocks(context$jscomp$2,
subband,blocksDimensions);subbands.push(subband);resolutionSubbands.push(subband);subband={type:"LH"};subband.tbx0=Math.ceil(component$jscomp$3.tcx0/bscale);subband.tby0=Math.ceil(component$jscomp$3.tcy0/bscale-.5);subband.tbx1=Math.ceil(component$jscomp$3.tcx1/bscale);subband.tby1=Math.ceil(component$jscomp$3.tcy1/bscale-.5);subband.resolution=resolution;buildCodeblocks(context$jscomp$2,subband,blocksDimensions);subbands.push(subband);resolutionSubbands.push(subband);subband={type:"HH"};subband.tbx0=
Math.ceil(component$jscomp$3.tcx0/bscale-.5);subband.tby0=Math.ceil(component$jscomp$3.tcy0/bscale-.5);subband.tbx1=Math.ceil(component$jscomp$3.tcx1/bscale-.5);subband.tby1=Math.ceil(component$jscomp$3.tcy1/bscale-.5);subband.resolution=resolution;buildCodeblocks(context$jscomp$2,subband,blocksDimensions);subbands.push(subband);resolutionSubbands.push(subband);resolution.subbands=resolutionSubbands}}component$jscomp$3.resolutions=resolutions;component$jscomp$3.subbands=subbands}var progressionOrder=
tile$jscomp$2.codingStyleDefaultParameters.progressionOrder;switch(progressionOrder){case 0:tile$jscomp$2.packetsIterator=new LayerResolutionComponentPositionIterator(context$jscomp$2);break;case 1:tile$jscomp$2.packetsIterator=new ResolutionLayerComponentPositionIterator(context$jscomp$2);break;case 2:tile$jscomp$2.packetsIterator=new ResolutionPositionComponentLayerIterator(context$jscomp$2);break;case 3:tile$jscomp$2.packetsIterator=new PositionComponentResolutionLayerIterator(context$jscomp$2);
break;case 4:tile$jscomp$2.packetsIterator=new ComponentPositionResolutionLayerIterator(context$jscomp$2);break;default:throw new JpxError("Unsupported progression order ".concat(progressionOrder));}}length=tile.dataEnd-position;parseTilePackets(context,data$jscomp$0,position,length);break;case 65365:case 65367:case 65368:case 65380:length=(0,_util.readUint16)(data$jscomp$0,position);break;case 65363:throw Error("Codestream code 0xFF53 (COC) is not implemented");default:throw Error("Unknown codestream code: "+
code.toString(16));}position+=length}}catch(e){if(doNotRecover||this.failOnCorruptedImage)throw new JpxError(e.message);(0,_util.warn)("JPX: Trying to recover from: "+e.message)}for(var components$jscomp$1=context.components,componentsCount$jscomp$2=context.SIZ.Csiz,resultImages=[],i$jscomp$1=0,ii$jscomp$0=context.tiles.length;i$jscomp$1<ii$jscomp$0;i$jscomp$1++){var tile$jscomp$3=context.tiles[i$jscomp$1],transformedTiles=[],c$jscomp$1;for(c$jscomp$1=0;c$jscomp$1<componentsCount$jscomp$2;c$jscomp$1++){for(var JSCompiler_temp_const=
transformedTiles,JSCompiler_temp_const$jscomp$0=c$jscomp$1,component$jscomp$4=tile$jscomp$3.components[c$jscomp$1],codingStyleParameters=component$jscomp$4.codingStyleParameters,quantizationParameters=component$jscomp$4.quantizationParameters,decompositionLevelsCount$jscomp$0=codingStyleParameters.decompositionLevelsCount,spqcds$jscomp$0=quantizationParameters.SPqcds,scalarExpounded$jscomp$0=quantizationParameters.scalarExpounded,guardBits=quantizationParameters.guardBits,segmentationSymbolUsed=codingStyleParameters.segmentationSymbolUsed,
precision=context.components[c$jscomp$1].precision,reversible=codingStyleParameters.reversibleTransformation,transform=reversible?new ReversibleTransform:new IrreversibleTransform,subbandCoefficients=[],b=0,i$jscomp$2=0;i$jscomp$2<=decompositionLevelsCount$jscomp$0;i$jscomp$2++){for(var resolution$jscomp$0=component$jscomp$4.resolutions[i$jscomp$2],width=resolution$jscomp$0.trx1-resolution$jscomp$0.trx0,height=resolution$jscomp$0.try1-resolution$jscomp$0.try0,coefficients=new Float32Array(width*height),
j$jscomp$1=0,jj$jscomp$0=resolution$jscomp$0.subbands.length;j$jscomp$1<jj$jscomp$0;j$jscomp$1++){if(scalarExpounded$jscomp$0){var mu=spqcds$jscomp$0[b].mu;var epsilon=spqcds$jscomp$0[b].epsilon;b++}else mu=spqcds$jscomp$0[0].mu,epsilon=spqcds$jscomp$0[0].epsilon+(0<i$jscomp$2?1-i$jscomp$2:0);for(var subband$jscomp$0=resolution$jscomp$0.subbands[j$jscomp$1],gainLog2=SubbandsGainLog2[subband$jscomp$0.type],coefficients$jscomp$0=coefficients,levelWidth=width,subband$jscomp$1=subband$jscomp$0,delta=
reversible?1:Math.pow(2,precision+gainLog2-epsilon)*(1+mu/2048),mb=guardBits+epsilon-1,reversible$jscomp$0=reversible,segmentationSymbolUsed$jscomp$0=segmentationSymbolUsed,x0=subband$jscomp$1.tbx0,y0=subband$jscomp$1.tby0,width$jscomp$0=subband$jscomp$1.tbx1-subband$jscomp$1.tbx0,codeblocks=subband$jscomp$1.codeblocks,right="H"===subband$jscomp$1.type.charAt(0)?1:0,bottom="H"===subband$jscomp$1.type.charAt(1)?levelWidth:0,i$jscomp$3=0,ii$jscomp$1=codeblocks.length;i$jscomp$3<ii$jscomp$1;++i$jscomp$3){var codeblock=
codeblocks[i$jscomp$3],blockWidth=codeblock.tbx1_-codeblock.tbx0_,blockHeight=codeblock.tby1_-codeblock.tby0_;if(0!==blockWidth&&0!==blockHeight&&void 0!==codeblock.data){var bitModel=new BitModel(blockWidth,blockHeight,codeblock.subbandType,codeblock.zeroBitPlanes,mb);var currentCodingpassType=2;var data=codeblock.data,totalLength=0,codingpasses=0,jj$jscomp$1;var j$jscomp$2=0;for(jj$jscomp$1=data.length;j$jscomp$2<jj$jscomp$1;j$jscomp$2++){var dataItem=data[j$jscomp$2];totalLength+=dataItem.end-
dataItem.start;codingpasses+=dataItem.codingpasses}var encodedData=new Uint8Array(totalLength),position$jscomp$0=0;j$jscomp$2=0;for(jj$jscomp$1=data.length;j$jscomp$2<jj$jscomp$1;j$jscomp$2++){dataItem=data[j$jscomp$2];var chunk=dataItem.data.subarray(dataItem.start,dataItem.end);encodedData.set(chunk,position$jscomp$0);position$jscomp$0+=chunk.length}var decoder=new _arithmetic_decoder.ArithmeticDecoder(encodedData,0,totalLength);bitModel.setDecoder(decoder);for(j$jscomp$2=0;j$jscomp$2<codingpasses;j$jscomp$2++){switch(currentCodingpassType){case 0:bitModel.runSignificancePropagationPass();
break;case 1:bitModel.runMagnitudeRefinementPass();break;case 2:bitModel.runCleanupPass(),segmentationSymbolUsed$jscomp$0&&bitModel.checkSegmentationSymbol()}currentCodingpassType=(currentCodingpassType+1)%3}var offset=codeblock.tbx0_-x0+(codeblock.tby0_-y0)*width$jscomp$0,sign=bitModel.coefficentsSign,magnitude=bitModel.coefficentsMagnitude,bitsDecoded=bitModel.bitsDecoded,magnitudeCorrection=reversible$jscomp$0?0:.5,k;position$jscomp$0=0;var interleave="LL"!==subband$jscomp$1.type;for(j$jscomp$2=
0;j$jscomp$2<blockHeight;j$jscomp$2++){var levelOffset=2*(offset/width$jscomp$0|0)*(levelWidth-width$jscomp$0)+right+bottom;for(k=0;k<blockWidth;k++){var n=magnitude[position$jscomp$0];if(0!==n){n=(n+magnitudeCorrection)*delta;0!==sign[position$jscomp$0]&&(n=-n);var nb=bitsDecoded[position$jscomp$0];coefficients$jscomp$0[interleave?levelOffset+(offset<<1):offset]=reversible$jscomp$0&&nb>=mb?n:n*(1<<mb-nb)}offset++;position$jscomp$0++}offset+=width$jscomp$0-blockWidth}}}}subbandCoefficients.push({width:width,
height:height,items:coefficients})}var result$jscomp$0=transform.calculate(subbandCoefficients,component$jscomp$4.tcx0,component$jscomp$4.tcy0);JSCompiler_temp_const[JSCompiler_temp_const$jscomp$0]={left:component$jscomp$4.tcx0,top:component$jscomp$4.tcy0,width:result$jscomp$0.width,height:result$jscomp$0.height,items:result$jscomp$0.items}}var tile0=transformedTiles[0],out=new Uint8ClampedArray(tile0.items.length*componentsCount$jscomp$2),result$jscomp$1={left:tile0.left,top:tile0.top,width:tile0.width,
height:tile0.height,items:out},pos=0,j$jscomp$3;if(tile$jscomp$3.codingStyleDefaultParameters.multipleComponentTransform){var fourComponents=4===componentsCount$jscomp$2,y0items=transformedTiles[0].items,y1items=transformedTiles[1].items,y2items=transformedTiles[2].items,y3items=fourComponents?transformedTiles[3].items:null;var shift=components$jscomp$1[0].precision-8;var offset$jscomp$0=(128<<shift)+.5;var component0=tile$jscomp$3.components[0],alpha01=componentsCount$jscomp$2-3;var jj$jscomp$2=
y0items.length;if(component0.codingStyleParameters.reversibleTransformation)for(j$jscomp$3=0;j$jscomp$3<jj$jscomp$2;j$jscomp$3++,pos+=alpha01){var y0$jscomp$0=y0items[j$jscomp$3]+offset$jscomp$0;var y1=y1items[j$jscomp$3];var y2=y2items[j$jscomp$3];var g=y0$jscomp$0-(y2+y1>>2);out[pos++]=g+y2>>shift;out[pos++]=g>>shift;out[pos++]=g+y1>>shift}else for(j$jscomp$3=0;j$jscomp$3<jj$jscomp$2;j$jscomp$3++,pos+=alpha01)y0$jscomp$0=y0items[j$jscomp$3]+offset$jscomp$0,y1=y1items[j$jscomp$3],y2=y2items[j$jscomp$3],
out[pos++]=y0$jscomp$0+1.402*y2>>shift,out[pos++]=y0$jscomp$0-.34413*y1-.71414*y2>>shift,out[pos++]=y0$jscomp$0+1.772*y1>>shift;if(fourComponents)for(j$jscomp$3=0,pos=3;j$jscomp$3<jj$jscomp$2;j$jscomp$3++,pos+=4)out[pos]=y3items[j$jscomp$3]+offset$jscomp$0>>shift}else for(c$jscomp$1=0;c$jscomp$1<componentsCount$jscomp$2;c$jscomp$1++){var items=transformedTiles[c$jscomp$1].items;shift=components$jscomp$1[c$jscomp$1].precision-8;offset$jscomp$0=(128<<shift)+.5;pos=c$jscomp$1;j$jscomp$3=0;for(jj$jscomp$2=
items.length;j$jscomp$3<jj$jscomp$2;j$jscomp$3++)out[pos]=items[j$jscomp$3]+offset$jscomp$0>>shift,pos+=componentsCount$jscomp$2}resultImages.push(result$jscomp$1)}this.tiles=resultImages;this.width=context.SIZ.Xsiz-context.SIZ.XOsiz;this.height=context.SIZ.Ysiz-context.SIZ.YOsiz;this.componentsCount=context.SIZ.Csiz}};var TagTree=function(){function TagTree(width,height){var levelsLength=(0,_util.log2)(Math.max(width,height))+1;this.levels=[];for(var i=0;i<levelsLength;i++)this.levels.push({width:width,
height:height,items:[]}),width=Math.ceil(width/2),height=Math.ceil(height/2)}TagTree.prototype={reset:function(i,j){for(var currentLevel=0,value=0,level;currentLevel<this.levels.length;){level=this.levels[currentLevel];var index=i+j*level.width;if(void 0!==level.items[index]){value=level.items[index];break}level.index=index;i>>=1;j>>=1;currentLevel++}currentLevel--;level=this.levels[currentLevel];level.items[level.index]=value;this.currentLevel=currentLevel;delete this.value},incrementValue:function(){var level=
this.levels[this.currentLevel];level.items[level.index]++},nextLevel:function(){var currentLevel=this.currentLevel,level=this.levels[currentLevel],value=level.items[level.index];currentLevel--;if(0>currentLevel)return this.value=value,!1;this.currentLevel=currentLevel;level=this.levels[currentLevel];level.items[level.index]=value;return!0}};return TagTree}(),InclusionTree=function(){function InclusionTree(width,height,defaultValue){var levelsLength=(0,_util.log2)(Math.max(width,height))+1;this.levels=
[];for(var i=0;i<levelsLength;i++){for(var items=new Uint8Array(width*height),j=0,jj=items.length;j<jj;j++)items[j]=defaultValue;this.levels.push({width:width,height:height,items:items});width=Math.ceil(width/2);height=Math.ceil(height/2)}}InclusionTree.prototype={reset:function(i,j,stopValue){for(var currentLevel=0;currentLevel<this.levels.length;){var level=this.levels[currentLevel],index=i+j*level.width;level.index=index;level=level.items[index];if(255===level)break;if(level>stopValue)return this.currentLevel=
currentLevel,this.propagateValues(),!1;i>>=1;j>>=1;currentLevel++}this.currentLevel=currentLevel-1;return!0},incrementValue:function(stopValue){var level=this.levels[this.currentLevel];level.items[level.index]=stopValue+1;this.propagateValues()},propagateValues:function(){for(var levelIndex=this.currentLevel,level=this.levels[levelIndex],currentValue=level.items[level.index];0<=--levelIndex;)level=this.levels[levelIndex],level.items[level.index]=currentValue},nextLevel:function(){var currentLevel=
this.currentLevel,level=this.levels[currentLevel],value=level.items[level.index];level.items[level.index]=255;currentLevel--;if(0>currentLevel)return!1;this.currentLevel=currentLevel;level=this.levels[currentLevel];level.items[level.index]=value;return!0}};return InclusionTree}(),BitModel=function(){function BitModel(width,height,subband,zeroBitPlanes,mb){this.width=width;this.height=height;this.contextLabelTable="HH"===subband?HHContextLabel:"HL"===subband?HLContextLabel:LLAndLHContextsLabel;width*=
height;this.neighborsSignificance=new Uint8Array(width);this.coefficentsSign=new Uint8Array(width);this.coefficentsMagnitude=14<mb?new Uint32Array(width):6<mb?new Uint16Array(width):new Uint8Array(width);this.processingFlags=new Uint8Array(width);mb=new Uint8Array(width);if(0!==zeroBitPlanes)for(height=0;height<width;height++)mb[height]=zeroBitPlanes;this.bitsDecoded=mb;this.reset()}var LLAndLHContextsLabel=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,
7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]),HLContextLabel=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]),HHContextLabel=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]);BitModel.prototype={setDecoder:function(decoder){this.decoder=
decoder},reset:function(){this.contexts=new Int8Array(19);this.contexts[0]=8;this.contexts[17]=92;this.contexts[18]=6},setNeighborsSignificance:function(row,column,index){var neighborsSignificance=this.neighborsSignificance,width=this.width,height=this.height,left=0<column;column=column+1<width;if(0<row){var i=index-width;left&&(neighborsSignificance[i-1]+=16);column&&(neighborsSignificance[i+1]+=16);neighborsSignificance[i]+=4}row+1<height&&(i=index+width,left&&(neighborsSignificance[i-1]+=16),column&&
(neighborsSignificance[i+1]+=16),neighborsSignificance[i]+=4);left&&(neighborsSignificance[index-1]+=1);column&&(neighborsSignificance[index+1]+=1);neighborsSignificance[index]|=128},runSignificancePropagationPass:function(){for(var decoder=this.decoder,width=this.width,height=this.height,coefficentsMagnitude=this.coefficentsMagnitude,coefficentsSign=this.coefficentsSign,neighborsSignificance=this.neighborsSignificance,processingFlags=this.processingFlags,contexts=this.contexts,labels=this.contextLabelTable,
bitsDecoded=this.bitsDecoded,i0=0;i0<height;i0+=4)for(var j=0;j<width;j++)for(var index=i0*width+j,i1=0;4>i1;i1++,index+=width){var i=i0+i1;if(i>=height)break;processingFlags[index]&=-2;if(!coefficentsMagnitude[index]&&neighborsSignificance[index]){if(decoder.readBit(contexts,labels[neighborsSignificance[index]])){var sign=this.decodeSignBit(i,j,index);coefficentsSign[index]=sign;coefficentsMagnitude[index]=1;this.setNeighborsSignificance(i,j,index);processingFlags[index]|=2}bitsDecoded[index]++;
processingFlags[index]|=1}}},decodeSignBit:function(row,column,index){var width=this.width,height=this.height,coefficentsMagnitude=this.coefficentsMagnitude,coefficentsSign=this.coefficentsSign;var sign0=0<column&&0!==coefficentsMagnitude[index-1];column+1<width&&0!==coefficentsMagnitude[index+1]?(column=coefficentsSign[index+1],sign0?(sign0=coefficentsSign[index-1],column=1-column-sign0):column=1-column-column):sign0?(sign0=coefficentsSign[index-1],column=1-sign0-sign0):column=0;var horizontalContribution=
3*column;sign0=0<row&&0!==coefficentsMagnitude[index-width];row+1<height&&0!==coefficentsMagnitude[index+width]?(column=coefficentsSign[index+width],sign0?(sign0=coefficentsSign[index-width],column=1-column-sign0+horizontalContribution):column=1-column-column+horizontalContribution):sign0?(sign0=coefficentsSign[index-width],column=1-sign0-sign0+horizontalContribution):column=horizontalContribution;return 0<=column?this.decoder.readBit(this.contexts,9+column):this.decoder.readBit(this.contexts,9-column)^
1},runMagnitudeRefinementPass:function(){for(var decoder=this.decoder,width=this.width,coefficentsMagnitude=this.coefficentsMagnitude,neighborsSignificance=this.neighborsSignificance,contexts=this.contexts,bitsDecoded=this.bitsDecoded,processingFlags=this.processingFlags,length=width*this.height,width4=4*width,index0=0,indexNext;index0<length;index0=indexNext){indexNext=Math.min(length,index0+width4);for(var j=0;j<width;j++)for(var index=index0+j;index<indexNext;index+=width)if(coefficentsMagnitude[index]&&
0===(processingFlags[index]&1)){var contextLabel=16;0!==(processingFlags[index]&2)&&(processingFlags[index]^=2,contextLabel=0===(neighborsSignificance[index]&127)?15:14);contextLabel=decoder.readBit(contexts,contextLabel);coefficentsMagnitude[index]=coefficentsMagnitude[index]<<1|contextLabel;bitsDecoded[index]++;processingFlags[index]|=1}}},runCleanupPass:function(){for(var decoder=this.decoder,width=this.width,height=this.height,neighborsSignificance=this.neighborsSignificance,coefficentsMagnitude=
this.coefficentsMagnitude,coefficentsSign=this.coefficentsSign,contexts=this.contexts,labels=this.contextLabelTable,bitsDecoded=this.bitsDecoded,processingFlags=this.processingFlags,twoRowsDown=2*width,threeRowsDown=3*width,iNext,i0=0;i0<height;i0=iNext){iNext=Math.min(i0+4,height);for(var indexBase=i0*width,checkAllEmpty=i0+3<height,j=0;j<width;j++){var index0=indexBase+j,i1=0,index=index0,i=i0;if(checkAllEmpty&&0===processingFlags[index0]&&0===processingFlags[index0+width]&&0===processingFlags[index0+
twoRowsDown]&&0===processingFlags[index0+threeRowsDown]&&0===neighborsSignificance[index0]&&0===neighborsSignificance[index0+width]&&0===neighborsSignificance[index0+twoRowsDown]&&0===neighborsSignificance[index0+threeRowsDown]){if(!decoder.readBit(contexts,18)){bitsDecoded[index0]++;bitsDecoded[index0+width]++;bitsDecoded[index0+twoRowsDown]++;bitsDecoded[index0+threeRowsDown]++;continue}i1=decoder.readBit(contexts,17)<<1|decoder.readBit(contexts,17);0!==i1&&(i=i0+i1,index+=i1*width);var sign=this.decodeSignBit(i,
j,index);coefficentsSign[index]=sign;coefficentsMagnitude[index]=1;this.setNeighborsSignificance(i,j,index);processingFlags[index]|=2;index=index0;for(index0=i0;index0<=i;index0++,index+=width)bitsDecoded[index]++;i1++}for(i=i0+i1;i<iNext;i++,index+=width)coefficentsMagnitude[index]||0!==(processingFlags[index]&1)||(1===decoder.readBit(contexts,labels[neighborsSignificance[index]])&&(sign=this.decodeSignBit(i,j,index),coefficentsSign[index]=sign,coefficentsMagnitude[index]=1,this.setNeighborsSignificance(i,
j,index),processingFlags[index]|=2),bitsDecoded[index]++)}}},checkSegmentationSymbol:function(){var decoder=this.decoder,contexts=this.contexts;if(10!==(decoder.readBit(contexts,17)<<3|decoder.readBit(contexts,17)<<2|decoder.readBit(contexts,17)<<1|decoder.readBit(contexts,17)))throw new JpxError("Invalid segmentation symbol");}};return BitModel}(),Transform=function(){function Transform(){}Transform.prototype.calculate=function(subbands,u0,v0){for(var ll=subbands[0],i=1,ii=subbands.length;i<ii;i++)ll=
this.iterate(ll,subbands[i],u0,v0);return ll};Transform.prototype.extend=function(buffer,offset,size){var i1=offset-1,j1=offset+1,i2=offset+size-2;offset+=size;buffer[i1--]=buffer[j1++];buffer[offset++]=buffer[i2--];buffer[i1--]=buffer[j1++];buffer[offset++]=buffer[i2--];buffer[i1--]=buffer[j1++];buffer[offset++]=buffer[i2--];buffer[i1]=buffer[j1];buffer[offset]=buffer[i2]};Transform.prototype.iterate=function(ll,hl_lh_hh,u0,v0){var llWidth=ll.width,llHeight=ll.height,llItems=ll.items,width=hl_lh_hh.width,
height=hl_lh_hh.height;hl_lh_hh=hl_lh_hh.items;var i,j,k;for(i=k=0;i<llHeight;i++){var l=2*i*width;for(j=0;j<llWidth;j++,k++,l+=2)hl_lh_hh[l]=llItems[k]}ll.items=null;ll=new Float32Array(width+8);if(1===width){if(0!==(u0&1))for(k=l=0;l<height;l++,k+=width)hl_lh_hh[k]*=.5}else for(k=l=0;l<height;l++,k+=width)ll.set(hl_lh_hh.subarray(k,k+width),4),this.extend(ll,4,width),this.filter(ll,4,width),hl_lh_hh.set(ll.subarray(4,4+width),k);u0=16;llWidth=[];for(i=0;i<u0;i++)llWidth.push(new Float32Array(height+
8));i=0;ll=4+height;if(1===height){if(0!==(v0&1))for(v0=0;v0<width;v0++)hl_lh_hh[v0]*=.5}else for(v0=0;v0<width;v0++){if(0===i){u0=Math.min(width-v0,u0);k=v0;for(l=4;l<ll;k+=width,l++)for(llHeight=0;llHeight<u0;llHeight++)llWidth[llHeight][l]=hl_lh_hh[k+llHeight];i=u0}i--;k=llWidth[i];this.extend(k,4,height);this.filter(k,4,height);if(0===i)for(k=v0-u0+1,l=4;l<ll;k+=width,l++)for(llHeight=0;llHeight<u0;llHeight++)hl_lh_hh[k+llHeight]=llWidth[llHeight][l]}return{width:width,height:height,items:hl_lh_hh}};
return Transform}(),IrreversibleTransform=function(){function IrreversibleTransform(){Transform.call(this)}IrreversibleTransform.prototype=Object.create(Transform.prototype);IrreversibleTransform.prototype.filter=function(x,offset,length){length>>=1;offset|=0;var n;var j=offset-3;for(n=length+4;n--;j+=2)x[j]*=.8128930661159609;j=offset-2;var current=.443506852043971*x[j-1];for(n=length+3;n--;j+=2){var next=.443506852043971*x[j+1];x[j]=1.230174104914001*x[j]-current-next;if(n--)j+=2,current=.443506852043971*
x[j+1],x[j]=1.230174104914001*x[j]-current-next;else break}j=offset-1;current=.882911075530934*x[j-1];for(n=length+2;n--;j+=2)if(next=.882911075530934*x[j+1],x[j]-=current+next,n--)j+=2,current=.882911075530934*x[j+1],x[j]-=current+next;else break;j=offset;current=-.052980118572961*x[j-1];for(n=length+1;n--;j+=2)if(next=-.052980118572961*x[j+1],x[j]-=current+next,n--)j+=2,current=-.052980118572961*x[j+1],x[j]-=current+next;else break;if(0!==length)for(j=offset+1,current=-1.586134342059924*x[j-1],
n=length;n--;j+=2)if(next=-1.586134342059924*x[j+1],x[j]-=current+next,n--)j+=2,current=-1.586134342059924*x[j+1],x[j]-=current+next;else break};return IrreversibleTransform}(),ReversibleTransform=function(){function ReversibleTransform(){Transform.call(this)}ReversibleTransform.prototype=Object.create(Transform.prototype);ReversibleTransform.prototype.filter=function(x,offset,length){length>>=1;offset|=0;var n;var j=offset;for(n=length+1;n--;j+=2)x[j]-=x[j-1]+x[j+1]+2>>2;j=offset+1;for(n=length;n--;j+=
2)x[j]+=x[j-1]+x[j+1]>>1};return ReversibleTransform}();return JpxImage}();exports.JpxImage=module},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _possibleConstructorReturn(self,call){if(call&&("object"===
_typeof(call)||"function"===typeof call))return call;if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o$jscomp$0){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o$jscomp$0)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");
subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p$jscomp$0){_setPrototypeOf=Object.setPrototypeOf||function(o,p){o.__proto__=p;return o};return _setPrototypeOf(o$jscomp$0,p$jscomp$0)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _defineProperties(target,
props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}Object.defineProperty(exports,"__esModule",{value:!0});exports.calculateSHA512=
exports.calculateSHA384=exports.calculateSHA256=exports.calculateMD5=exports.PDF20=exports.PDF17=exports.CipherTransformFactory=exports.ARCFourCipher=exports.AES256Cipher=exports.AES128Cipher=void 0;var _util=__w_pdfjs_require__(5),_primitives=__w_pdfjs_require__(188),_stream=__w_pdfjs_require__(195),ARCFourCipher=function(){function ARCFourCipher(key){this.b=this.a=0;var s=new Uint8Array(256),i,j=0,keyLength=key.length;for(i=0;256>i;++i)s[i]=i;for(i=0;256>i;++i){var tmp=s[i];j=j+tmp+key[i%keyLength]&
255;s[i]=s[j];s[j]=tmp}this.s=s}ARCFourCipher.prototype={encryptBlock:function(data){var i,n=data.length,a=this.a,b=this.b,s=this.s,output=new Uint8Array(n);for(i=0;i<n;++i){a=a+1&255;var tmp=s[a];b=b+tmp&255;var tmp2=s[b];s[a]=tmp2;s[b]=tmp;output[i]=data[i]^s[tmp+tmp2&255]}this.a=a;this.b=b;return output}};ARCFourCipher.prototype.decryptBlock=ARCFourCipher.prototype.encryptBlock;return ARCFourCipher}();exports.ARCFourCipher=ARCFourCipher;var calculateMD5=function(){var r=new Uint8Array([7,12,17,
22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]),k=new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,
1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]);return function(data,offset,length){var h0=1732584193,h1=-271733879,h2=-1732584194,h3=271733878,paddedLength=length+72&-64,padded=
new Uint8Array(paddedLength),i;for(i=0;i<length;++i)padded[i]=data[offset++];padded[i++]=128;for(data=paddedLength-8;i<data;)padded[i++]=0;padded[i++]=length<<3&255;padded[i++]=length>>5&255;padded[i++]=length>>13&255;padded[i++]=length>>21&255;padded[i++]=length>>>29&255;padded[i++]=0;padded[i++]=0;padded[i++]=0;data=new Int32Array(16);for(i=0;i<paddedLength;){for(length=0;16>length;++length,i+=4)data[length]=padded[i]|padded[i+1]<<8|padded[i+2]<<16|padded[i+3]<<24;var a=h0;offset=h1;var c=h2,d=
h3;for(length=0;64>length;++length){if(16>length){var f=offset&c|~offset&d;var g=length}else 32>length?(f=d&offset|~d&c,g=5*length+1&15):48>length?(f=offset^c^d,g=3*length+5&15):(f=c^(offset|~d),g=7*length&15);var tmp=d;a=a+f+k[length]+data[g]|0;f=r[length];d=c;c=offset;offset=offset+(a<<f|a>>>32-f)|0;a=tmp}h0=h0+a|0;h1=h1+offset|0;h2=h2+c|0;h3=h3+d|0}return new Uint8Array([h0&255,h0>>8&255,h0>>16&255,h0>>>24&255,h1&255,h1>>8&255,h1>>16&255,h1>>>24&255,h2&255,h2>>8&255,h2>>16&255,h2>>>24&255,h3&255,
h3>>8&255,h3>>16&255,h3>>>24&255])}}();exports.calculateMD5=calculateMD5;var Word64=function(){function Word64(highInteger,lowInteger){this.high=highInteger|0;this.low=lowInteger|0}Word64.prototype={and:function(word){this.high&=word.high;this.low&=word.low},xor:function(word){this.high^=word.high;this.low^=word.low},or:function(word){this.high|=word.high;this.low|=word.low},shiftRight:function(places){32<=places?(this.low=this.high>>>places-32|0,this.high=0):(this.low=this.low>>>places|this.high<<
32-places,this.high=this.high>>>places|0)},shiftLeft:function(places){32<=places?(this.high=this.low<<places-32,this.low=0):(this.high=this.high<<places|this.low>>>32-places,this.low<<=places)},rotateRight:function(places){if(places&32){var high=this.low;var low=this.high}else low=this.low,high=this.high;places&=31;this.low=low>>>places|high<<32-places;this.high=high>>>places|low<<32-places},not:function(){this.high=~this.high;this.low=~this.low},add:function(word){var lowAdd=(this.low>>>0)+(word.low>>>
0);word=(this.high>>>0)+(word.high>>>0);4294967295<lowAdd&&(word+=1);this.low=lowAdd|0;this.high=word|0},copyTo:function(bytes,offset){bytes[offset]=this.high>>>24&255;bytes[offset+1]=this.high>>16&255;bytes[offset+2]=this.high>>8&255;bytes[offset+3]=this.high&255;bytes[offset+4]=this.low>>>24&255;bytes[offset+5]=this.low>>16&255;bytes[offset+6]=this.low>>8&255;bytes[offset+7]=this.low&255},assign:function(word){this.high=word.high;this.low=word.low}};return Word64}(),calculateSHA256=function(){function rotr(x,
n){return x>>>n|x<<32-n}var k=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,
3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];return function(data,offset,length){var h0=1779033703,h1=3144134277,h2=1013904242,h3=2773480762,h4=1359893119,h5=2600822924,h6=528734635,h7=1541459225,paddedLength=64*Math.ceil((length+9)/64),padded=new Uint8Array(paddedLength),i;for(i=0;i<length;++i)padded[i]=data[offset++];padded[i++]=
128;for(data=paddedLength-8;i<data;)padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=length>>>29&255;padded[i++]=length>>21&255;padded[i++]=length>>13&255;padded[i++]=length>>5&255;padded[i++]=length<<3&255;data=new Uint32Array(64);for(i=0;i<paddedLength;){for(length=0;16>length;++length)data[length]=padded[i]<<24|padded[i+1]<<16|padded[i+2]<<8|padded[i+3],i+=4;for(length=16;64>length;++length){offset=length;var x=data[length-2];x=(rotr(x,17)^rotr(x,19)^x>>>10)+data[length-7];var JSCompiler_inline_result=
data[length-15];JSCompiler_inline_result=rotr(JSCompiler_inline_result,7)^rotr(JSCompiler_inline_result,18)^JSCompiler_inline_result>>>3;data[offset]=x+JSCompiler_inline_result+data[length-16]|0}offset=h0;x=h1;JSCompiler_inline_result=h2;var d=h3,e=h4,f=h5,g=h6,h=h7;for(length=0;64>length;++length){var t1=h;h=e;h=rotr(h,6)^rotr(h,11)^rotr(h,25);t1=t1+h+(e&f^~e&g)+k[length]+data[length];h=offset;var t2=(rotr(h,2)^rotr(h,13)^rotr(h,22))+(offset&x^offset&JSCompiler_inline_result^x&JSCompiler_inline_result);
h=g;g=f;f=e;e=d+t1|0;d=JSCompiler_inline_result;JSCompiler_inline_result=x;x=offset;offset=t1+t2|0}h0=h0+offset|0;h1=h1+x|0;h2=h2+JSCompiler_inline_result|0;h3=h3+d|0;h4=h4+e|0;h5=h5+f|0;h6=h6+g|0;h7=h7+h|0}return new Uint8Array([h0>>24&255,h0>>16&255,h0>>8&255,h0&255,h1>>24&255,h1>>16&255,h1>>8&255,h1&255,h2>>24&255,h2>>16&255,h2>>8&255,h2&255,h3>>24&255,h3>>16&255,h3>>8&255,h3&255,h4>>24&255,h4>>16&255,h4>>8&255,h4&255,h5>>24&255,h5>>16&255,h5>>8&255,h5&255,h6>>24&255,h6>>16&255,h6>>8&255,h6&255,
h7>>24&255,h7>>16&255,h7>>8&255,h7&255])}}();exports.calculateSHA256=calculateSHA256;var calculateSHA512=function(){var k=[new Word64(1116352408,3609767458),new Word64(1899447441,602891725),new Word64(3049323471,3964484399),new Word64(3921009573,2173295548),new Word64(961987163,4081628472),new Word64(1508970993,3053834265),new Word64(2453635748,2937671579),new Word64(2870763221,3664609560),new Word64(3624381080,2734883394),new Word64(310598401,1164996542),new Word64(607225278,1323610764),new Word64(1426881987,
3590304994),new Word64(1925078388,4068182383),new Word64(2162078206,991336113),new Word64(2614888103,633803317),new Word64(3248222580,3479774868),new Word64(3835390401,2666613458),new Word64(4022224774,944711139),new Word64(264347078,2341262773),new Word64(604807628,2007800933),new Word64(770255983,1495990901),new Word64(1249150122,1856431235),new Word64(1555081692,3175218132),new Word64(1996064986,2198950837),new Word64(2554220882,3999719339),new Word64(2821834349,766784016),new Word64(2952996808,
2566594879),new Word64(3210313671,3203337956),new Word64(3336571891,1034457026),new Word64(3584528711,2466948901),new Word64(113926993,3758326383),new Word64(338241895,168717936),new Word64(666307205,1188179964),new Word64(773529912,1546045734),new Word64(1294757372,1522805485),new Word64(1396182291,2643833823),new Word64(1695183700,2343527390),new Word64(1986661051,1014477480),new Word64(2177026350,1206759142),new Word64(2456956037,344077627),new Word64(2730485921,1290863460),new Word64(2820302411,
3158454273),new Word64(3259730800,3505952657),new Word64(3345764771,106217008),new Word64(3516065817,3606008344),new Word64(3600352804,1432725776),new Word64(4094571909,1467031594),new Word64(275423344,851169720),new Word64(430227734,3100823752),new Word64(506948616,1363258195),new Word64(659060556,3750685593),new Word64(883997877,3785050280),new Word64(958139571,3318307427),new Word64(1322822218,3812723403),new Word64(1537002063,2003034995),new Word64(1747873779,3602036899),new Word64(1955562222,
1575990012),new Word64(2024104815,1125592928),new Word64(2227730452,2716904306),new Word64(2361852424,442776044),new Word64(2428436474,593698344),new Word64(2756734187,3733110249),new Word64(3204031479,2999351573),new Word64(3329325298,3815920427),new Word64(3391569614,3928383900),new Word64(3515267271,566280711),new Word64(3940187606,3454069534),new Word64(4118630271,4000239992),new Word64(116418474,1914138554),new Word64(174292421,2731055270),new Word64(289380356,3203993006),new Word64(460393269,
320620315),new Word64(685471733,587496836),new Word64(852142971,1086792851),new Word64(1017036298,365543100),new Word64(1126000580,2618297676),new Word64(1288033470,3409855158),new Word64(1501505948,4234509866),new Word64(1607167915,987167468),new Word64(1816402316,1246189591)];return function(data,offset,length,mode384){mode384=!!mode384;if(mode384){var h0=new Word64(3418070365,3238371032);var h1=new Word64(1654270250,914150663);var h2=new Word64(2438529370,812702999);var h3=new Word64(355462360,
4144912697);var h4=new Word64(1731405415,4290775857);var h5=new Word64(2394180231,1750603025);var h6=new Word64(3675008525,1694076839);var h7=new Word64(1203062813,3204075428)}else h0=new Word64(1779033703,4089235720),h1=new Word64(3144134277,2227873595),h2=new Word64(1013904242,4271175723),h3=new Word64(2773480762,1595750129),h4=new Word64(1359893119,2917565137),h5=new Word64(2600822924,725511199),h6=new Word64(528734635,4215389547),h7=new Word64(1541459225,327033209);var paddedLength=128*Math.ceil((length+
17)/128),padded=new Uint8Array(paddedLength),i;for(i=0;i<length;++i)padded[i]=data[offset++];padded[i++]=128;for(data=paddedLength-16;i<data;)padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=0;padded[i++]=length>>>29&255;padded[i++]=length>>21&255;padded[i++]=length>>13&255;padded[i++]=length>>5&255;padded[i++]=length<<3&255;data=Array(80);for(i=0;80>i;i++)data[i]=new Word64(0,0);offset=
new Word64(0,0);var b=new Word64(0,0),c=new Word64(0,0),d=new Word64(0,0),e=new Word64(0,0),f=new Word64(0,0),g=new Word64(0,0),h=new Word64(0,0),t1=new Word64(0,0),t2=new Word64(0,0),tmp1=new Word64(0,0),tmp2=new Word64(0,0),tmp3;for(i=0;i<paddedLength;){for(length=0;16>length;++length)data[length].high=padded[i]<<24|padded[i+1]<<16|padded[i+2]<<8|padded[i+3],data[length].low=padded[i+4]<<24|padded[i+5]<<16|padded[i+6]<<8|padded[i+7],i+=8;for(length=16;80>length;++length){var result=tmp3=data[length],
x=data[length-2],tmp=tmp2;result.assign(x);result.rotateRight(19);tmp.assign(x);tmp.rotateRight(61);result.xor(tmp);tmp.assign(x);tmp.shiftRight(6);result.xor(tmp);tmp3.add(data[length-7]);result=tmp1;x=data[length-15];tmp=tmp2;result.assign(x);result.rotateRight(1);tmp.assign(x);tmp.rotateRight(8);result.xor(tmp);tmp.assign(x);tmp.shiftRight(7);result.xor(tmp);tmp3.add(tmp1);tmp3.add(data[length-16])}offset.assign(h0);b.assign(h1);c.assign(h2);d.assign(h3);e.assign(h4);f.assign(h5);g.assign(h6);
h.assign(h7);for(length=0;80>length;++length){t1.assign(h);tmp3=tmp1;result=e;x=tmp2;tmp3.assign(result);tmp3.rotateRight(14);x.assign(result);x.rotateRight(18);tmp3.xor(x);x.assign(result);x.rotateRight(41);tmp3.xor(x);t1.add(tmp1);tmp3=tmp1;result=e;x=f;tmp=g;var tmp$jscomp$0=tmp2;tmp3.assign(result);tmp3.and(x);tmp$jscomp$0.assign(result);tmp$jscomp$0.not();tmp$jscomp$0.and(tmp);tmp3.xor(tmp$jscomp$0);t1.add(tmp1);t1.add(k[length]);t1.add(data[length]);tmp3=t2;result=offset;x=tmp2;tmp3.assign(result);
tmp3.rotateRight(28);x.assign(result);x.rotateRight(34);tmp3.xor(x);x.assign(result);x.rotateRight(39);tmp3.xor(x);tmp3=tmp1;result=offset;x=b;tmp=c;tmp$jscomp$0=tmp2;tmp3.assign(result);tmp3.and(x);tmp$jscomp$0.assign(result);tmp$jscomp$0.and(tmp);tmp3.xor(tmp$jscomp$0);tmp$jscomp$0.assign(x);tmp$jscomp$0.and(tmp);tmp3.xor(tmp$jscomp$0);t2.add(tmp1);tmp3=h;h=g;g=f;f=e;d.add(t1);e=d;d=c;c=b;b=offset;tmp3.assign(t1);tmp3.add(t2);offset=tmp3}h0.add(offset);h1.add(b);h2.add(c);h3.add(d);h4.add(e);h5.add(f);
h6.add(g);h7.add(h)}mode384?(mode384=new Uint8Array(48),h0.copyTo(mode384,0),h1.copyTo(mode384,8),h2.copyTo(mode384,16),h3.copyTo(mode384,24),h4.copyTo(mode384,32),h5.copyTo(mode384,40)):(mode384=new Uint8Array(64),h0.copyTo(mode384,0),h1.copyTo(mode384,8),h2.copyTo(mode384,16),h3.copyTo(mode384,24),h4.copyTo(mode384,32),h5.copyTo(mode384,40),h6.copyTo(mode384,48),h7.copyTo(mode384,56));return mode384}}();exports.calculateSHA512=calculateSHA512;var calculateSHA384=function(){return function(data,
offset,length){return calculateSHA512(data,offset,length,!0)}}();exports.calculateSHA384=calculateSHA384;var NullCipher=function(){function NullCipher(){}NullCipher.prototype={decryptBlock:function(data){return data}};return NullCipher}();module=function(){function AESBaseCipher(){_classCallCheck(this,AESBaseCipher);this.constructor===AESBaseCipher&&(0,_util.unreachable)("Cannot initialize AESBaseCipher.");this._s=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,
201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,
224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]);this._inv_s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,
50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,
27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]);this._mix=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,
4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,
2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,
2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,
2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,
3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,
2370213795]);this._mixCol=new Uint8Array(256);for(var i=0;256>i;i++)this._mixCol[i]=128>i?i<<1:i<<1^27;this.buffer=new Uint8Array(16);this.bufferPosition=0}_createClass(AESBaseCipher,[{key:"_expandKey",value:function(cipherKey){(0,_util.unreachable)("Cannot call `_expandKey` on the base class")}},{key:"_decrypt",value:function(input,key){var u,state=new Uint8Array(16);state.set(input);input=0;for(u=this._keySize;16>input;++input,++u)state[input]^=key[u];for(input=this._cyclesOfRepetition-1;1<=input;--input){var t=
state[13];state[13]=state[9];state[9]=state[5];state[5]=state[1];state[1]=t;t=state[14];u=state[10];state[14]=state[6];state[10]=state[2];state[6]=t;state[2]=u;t=state[15];u=state[11];var v=state[7];state[15]=state[3];state[11]=t;state[7]=u;state[3]=v;for(u=0;16>u;++u)state[u]=this._inv_s[state[u]];u=0;for(t=16*input;16>u;++u,++t)state[u]^=key[t];for(u=0;16>u;u+=4){t=this._mix[state[u+1]];v=this._mix[state[u+2]];var s3=this._mix[state[u+3]];t=this._mix[state[u]]^t>>>8^t<<24^v>>>16^v<<16^s3>>>24^s3<<
8;state[u]=t>>>24&255;state[u+1]=t>>16&255;state[u+2]=t>>8&255;state[u+3]=t&255}}t=state[13];state[13]=state[9];state[9]=state[5];state[5]=state[1];state[1]=t;t=state[14];u=state[10];state[14]=state[6];state[10]=state[2];state[6]=t;state[2]=u;t=state[15];u=state[11];v=state[7];state[15]=state[3];state[11]=t;state[7]=u;state[3]=v;for(input=0;16>input;++input)state[input]=this._inv_s[state[input]],state[input]^=key[input];return state}},{key:"_encrypt",value:function(input,key){var s=this._s,t,state=
new Uint8Array(16);state.set(input);for(input=0;16>input;++input)state[input]^=key[input];for(input=1;input<this._cyclesOfRepetition;input++){for(t=0;16>t;++t)state[t]=s[state[t]];var v=state[1];state[1]=state[5];state[5]=state[9];state[9]=state[13];state[13]=v;v=state[2];var u=state[6];state[2]=state[10];state[6]=state[14];state[10]=v;state[14]=u;v=state[3];u=state[7];t=state[11];state[3]=state[15];state[7]=v;state[11]=u;state[15]=t;for(u=0;16>u;u+=4){v=state[u+0];var s1=state[u+1],s2=state[u+2],
s3=state[u+3];t=v^s1^s2^s3;state[u+0]=state[u+0]^t^this._mixCol[v^s1];state[u+1]=state[u+1]^t^this._mixCol[s1^s2];state[u+2]=state[u+2]^t^this._mixCol[s2^s3];state[u+3]=state[u+3]^t^this._mixCol[s3^v]}t=0;for(u=16*input;16>t;++t,++u)state[t]^=key[u]}for(input=0;16>input;++input)state[input]=s[state[input]];v=state[1];state[1]=state[5];state[5]=state[9];state[9]=state[13];state[13]=v;v=state[2];u=state[6];state[2]=state[10];state[6]=state[14];state[10]=v;state[14]=u;v=state[3];u=state[7];t=state[11];
state[3]=state[15];state[7]=v;state[11]=u;state[15]=t;s=0;for(input=this._keySize;16>s;++s,++input)state[s]^=key[input];return state}},{key:"_decryptBlock2",value:function(data,finalize){for(var sourceLength=data.length,buffer=this.buffer,bufferLength=this.bufferPosition,result=[],iv=this.iv,i=0;i<sourceLength;++i)if(buffer[bufferLength]=data[i],++bufferLength,!(16>bufferLength)){bufferLength=this._decrypt(buffer,this._key);for(var j=0;16>j;++j)bufferLength[j]^=iv[j];iv=buffer;result.push(bufferLength);
buffer=new Uint8Array(16);bufferLength=0}this.buffer=buffer;this.bufferLength=bufferLength;this.iv=iv;if(0===result.length)return new Uint8Array(0);data=16*result.length;if(finalize&&(finalize=result[result.length-1],sourceLength=finalize[15],16>=sourceLength)){buffer=15;for(iv=16-sourceLength;buffer>=iv;--buffer)if(finalize[buffer]!==sourceLength){sourceLength=0;break}data-=sourceLength;result[result.length-1]=finalize.subarray(0,16-sourceLength)}finalize=new Uint8Array(data);sourceLength=data=0;
for(buffer=result.length;data<buffer;++data,sourceLength+=16)finalize.set(result[data],sourceLength);return finalize}},{key:"decryptBlock",value:function(data,finalize){var iv=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,sourceLength=data.length,buffer=this.buffer,bufferLength=this.bufferPosition;if(iv)this.iv=iv;else{for(iv=0;16>bufferLength&&iv<sourceLength;++iv,++bufferLength)buffer[bufferLength]=data[iv];if(16>bufferLength)return this.bufferLength=bufferLength,new Uint8Array(0);
this.iv=buffer;data=data.subarray(16)}this.buffer=new Uint8Array(16);this.bufferLength=0;this.decryptBlock=this._decryptBlock2;return this.decryptBlock(data,finalize)}},{key:"encrypt",value:function(data,iv){var sourceLength=data.length,buffer=this.buffer,bufferLength=this.bufferPosition,result=[];iv||(iv=new Uint8Array(16));for(var i=0;i<sourceLength;++i)if(buffer[bufferLength]=data[i],++bufferLength,!(16>bufferLength)){for(bufferLength=0;16>bufferLength;++bufferLength)buffer[bufferLength]^=iv[bufferLength];
iv=buffer=this._encrypt(buffer,this._key);result.push(buffer);buffer=new Uint8Array(16);bufferLength=0}this.buffer=buffer;this.bufferLength=bufferLength;this.iv=iv;if(0===result.length)return new Uint8Array(0);data=new Uint8Array(16*result.length);sourceLength=iv=0;for(i=result.length;iv<i;++iv,sourceLength+=16)data.set(result[iv],sourceLength);return data}}]);return AESBaseCipher}();var AES128Cipher=function(_AESBaseCipher){function AES128Cipher(key){_classCallCheck(this,AES128Cipher);var _this=
_possibleConstructorReturn(this,_getPrototypeOf(AES128Cipher).call(this));_this._cyclesOfRepetition=10;_this._keySize=160;_this._rcon=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,
203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,
74,148,51,102,204,131,29,58,116,232,203,141]);_this._key=_this._expandKey(key);return _this}_inherits(AES128Cipher,_AESBaseCipher);_createClass(AES128Cipher,[{key:"_expandKey",value:function(cipherKey){var s=this._s,rcon=this._rcon,result=new Uint8Array(176);result.set(cipherKey);cipherKey=16;for(var i=1;176>cipherKey;++i){var t1=result[cipherKey-3],t2=result[cipherKey-2],t3=result[cipherKey-1],t4=result[cipherKey-4];t1=s[t1];t2=s[t2];t3=s[t3];t4=s[t4];t1^=rcon[i];for(var n=0;4>n;++n)result[cipherKey]=
t1^=result[cipherKey-16],cipherKey++,result[cipherKey]=t2^=result[cipherKey-16],cipherKey++,result[cipherKey]=t3^=result[cipherKey-16],cipherKey++,result[cipherKey]=t4^=result[cipherKey-16],cipherKey++}return result}}]);return AES128Cipher}(module);exports.AES128Cipher=AES128Cipher;var AES256Cipher=function(_AESBaseCipher2){function AES256Cipher(key){_classCallCheck(this,AES256Cipher);var _this2=_possibleConstructorReturn(this,_getPrototypeOf(AES256Cipher).call(this));_this2._cyclesOfRepetition=14;
_this2._keySize=224;_this2._key=_this2._expandKey(key);return _this2}_inherits(AES256Cipher,_AESBaseCipher2);_createClass(AES256Cipher,[{key:"_expandKey",value:function(cipherKey){var s=this._s,result=new Uint8Array(240);result.set(cipherKey);cipherKey=1;for(var t1,t2,t3,t4,j=32,i=1;240>j;++i){16===j%32?(t1=s[t1],t2=s[t2],t3=s[t3],t4=s[t4]):0===j%32&&(t1=result[j-3],t2=result[j-2],t3=result[j-1],t4=result[j-4],t1=s[t1],t2=s[t2],t3=s[t3],t4=s[t4],t1^=cipherKey,256<=(cipherKey<<=1)&&(cipherKey=(cipherKey^
27)&255));for(var n=0;4>n;++n)result[j]=t1^=result[j-32],j++,result[j]=t2^=result[j-32],j++,result[j]=t3^=result[j-32],j++,result[j]=t4^=result[j-32],j++}return result}}]);return AES256Cipher}(module);exports.AES256Cipher=AES256Cipher;var PDF17=function(){function compareByteArrays(array1,array2){if(array1.length!==array2.length)return!1;for(var i=0;i<array1.length;i++)if(array1[i]!==array2[i])return!1;return!0}function PDF17(){}PDF17.prototype={checkOwnerPassword:function(password,ownerValidationSalt,
userBytes,ownerPassword){var hashData=new Uint8Array(password.length+56);hashData.set(password,0);hashData.set(ownerValidationSalt,password.length);hashData.set(userBytes,password.length+ownerValidationSalt.length);password=calculateSHA256(hashData,0,hashData.length);return compareByteArrays(password,ownerPassword)},checkUserPassword:function(password,userValidationSalt,userPassword){var hashData=new Uint8Array(password.length+8);hashData.set(password,0);hashData.set(userValidationSalt,password.length);
password=calculateSHA256(hashData,0,hashData.length);return compareByteArrays(password,userPassword)},getOwnerKey:function(password,ownerKeySalt,userBytes,ownerEncryption){var hashData=new Uint8Array(password.length+56);hashData.set(password,0);hashData.set(ownerKeySalt,password.length);hashData.set(userBytes,password.length+ownerKeySalt.length);password=calculateSHA256(hashData,0,hashData.length);return(new AES256Cipher(password)).decryptBlock(ownerEncryption,!1,new Uint8Array(16))},getUserKey:function(password,
userKeySalt,userEncryption){var hashData=new Uint8Array(password.length+8);hashData.set(password,0);hashData.set(userKeySalt,password.length);password=calculateSHA256(hashData,0,hashData.length);return(new AES256Cipher(password)).decryptBlock(userEncryption,!1,new Uint8Array(16))}};return PDF17}();exports.PDF17=PDF17;var PDF20=function(){function concatArrays(array1,array2){var t=new Uint8Array(array1.length+array2.length);t.set(array1,0);t.set(array2,array1.length);return t}function calculatePDF20Hash(password,
input,userBytes){input=calculateSHA256(input,0,input.length).subarray(0,32);for(var e=[0],i=0;64>i||e[e.length-1]>i-32;){e=password.length+input.length+userBytes.length;var k1=new Uint8Array(64*e),array=concatArrays(password,input);array=concatArrays(array,userBytes);for(var j=0,pos=0;64>j;j++,pos+=e)k1.set(array,pos);e=(new AES128Cipher(input.subarray(0,16))).encrypt(k1,input.subarray(16,32));for(array=k1=0;16>array;array++)k1*=1,k1%=3,k1+=(e[array]>>>0)%3,k1%=3;0===k1?input=calculateSHA256(e,0,
e.length):1===k1?input=calculateSHA384(e,0,e.length):2===k1&&(input=calculateSHA512(e,0,e.length));i++}return input.subarray(0,32)}function PDF20(){}function compareByteArrays(array1,array2){if(array1.length!==array2.length)return!1;for(var i=0;i<array1.length;i++)if(array1[i]!==array2[i])return!1;return!0}PDF20.prototype={hash:function(password,concatBytes,userBytes){return calculatePDF20Hash(password,concatBytes,userBytes)},checkOwnerPassword:function(password,ownerValidationSalt,userBytes,ownerPassword){var hashData=
new Uint8Array(password.length+56);hashData.set(password,0);hashData.set(ownerValidationSalt,password.length);hashData.set(userBytes,password.length+ownerValidationSalt.length);password=calculatePDF20Hash(password,hashData,userBytes);return compareByteArrays(password,ownerPassword)},checkUserPassword:function(password,userValidationSalt,userPassword){var hashData=new Uint8Array(password.length+8);hashData.set(password,0);hashData.set(userValidationSalt,password.length);password=calculatePDF20Hash(password,
hashData,[]);return compareByteArrays(password,userPassword)},getOwnerKey:function(password,ownerKeySalt,userBytes,ownerEncryption){var hashData=new Uint8Array(password.length+56);hashData.set(password,0);hashData.set(ownerKeySalt,password.length);hashData.set(userBytes,password.length+ownerKeySalt.length);password=calculatePDF20Hash(password,hashData,userBytes);return(new AES256Cipher(password)).decryptBlock(ownerEncryption,!1,new Uint8Array(16))},getUserKey:function(password,userKeySalt,userEncryption){var hashData=
new Uint8Array(password.length+8);hashData.set(password,0);hashData.set(userKeySalt,password.length);password=calculatePDF20Hash(password,hashData,[]);return(new AES256Cipher(password)).decryptBlock(userEncryption,!1,new Uint8Array(16))}};return PDF20}();exports.PDF20=PDF20;var CipherTransform=function(){function CipherTransform(stringCipherConstructor,streamCipherConstructor){this.StringCipherConstructor=stringCipherConstructor;this.StreamCipherConstructor=streamCipherConstructor}CipherTransform.prototype=
{createStream:function(stream,length){var cipher=new this.StreamCipherConstructor;return new _stream.DecryptStream(stream,length,function(data,finalize){return cipher.decryptBlock(data,finalize)})},decryptString:function(s){var cipher=new this.StringCipherConstructor;s=(0,_util.stringToBytes)(s);s=cipher.decryptBlock(s,!0);return(0,_util.bytesToString)(s)}};return CipherTransform}();module=function(){function prepareKeyData(fileId,password,ownerPassword,userPassword,flags,revision,keyLength,encryptMetadata){var hashData=
new Uint8Array(40+ownerPassword.length+fileId.length),i=0,n;if(password)for(n=Math.min(32,password.length);i<n;++i)hashData[i]=password[i];for(password=0;32>i;)hashData[i++]=defaultPasswordBytes[password++];password=0;for(n=ownerPassword.length;password<n;++password)hashData[i++]=ownerPassword[password];hashData[i++]=flags&255;hashData[i++]=flags>>8&255;hashData[i++]=flags>>16&255;hashData[i++]=flags>>>24&255;password=0;for(n=fileId.length;password<n;++password)hashData[i++]=fileId[password];4<=revision&&
!encryptMetadata&&(hashData[i++]=255,hashData[i++]=255,hashData[i++]=255,hashData[i++]=255);n=calculateMD5(hashData,0,i);i=keyLength>>3;if(3<=revision)for(password=0;50>password;++password)n=calculateMD5(n,0,i);keyLength=n.subarray(0,i);if(3<=revision){for(i=0;32>i;++i)hashData[i]=defaultPasswordBytes[i];password=0;for(n=fileId.length;password<n;++password)hashData[i++]=fileId[password];fileId=new ARCFourCipher(keyLength);hashData=fileId.encryptBlock(calculateMD5(hashData,0,i));n=keyLength.length;
revision=new Uint8Array(n);for(password=1;19>=password;++password){for(fileId=0;fileId<n;++fileId)revision[fileId]=keyLength[fileId]^password;fileId=new ARCFourCipher(revision);hashData=fileId.encryptBlock(hashData)}}else fileId=new ARCFourCipher(keyLength),hashData=fileId.encryptBlock(defaultPasswordBytes);password=0;for(n=hashData.length;password<n;++password)if(userPassword[password]!==hashData[password])return null;return keyLength}function CipherTransformFactory(dict,fileId,password$jscomp$0){var filter=
dict.get("Filter");if(!(0,_primitives.isName)(filter,"Standard"))throw new _util.FormatError("unknown encryption method");this.dict=dict;filter=dict.get("V");if(!Number.isInteger(filter)||1!==filter&&2!==filter&&4!==filter&&5!==filter)throw new _util.FormatError("unsupported encryption algorithm");this.algorithm=filter;var keyLength=dict.get("Length");if(!keyLength)if(3>=filter)keyLength=40;else{var cfDict=dict.get("CF"),streamCryptoName=dict.get("StmF");(0,_primitives.isDict)(cfDict)&&(0,_primitives.isName)(streamCryptoName)&&
(cfDict.suppressEncryption=!0,keyLength=(keyLength=cfDict.get(streamCryptoName.name))&&keyLength.get("Length")||128,40>keyLength&&(keyLength<<=3))}if(!Number.isInteger(keyLength)||40>keyLength||0!==keyLength%8)throw new _util.FormatError("invalid key length");cfDict=(0,_util.stringToBytes)(dict.get("O")).subarray(0,32);streamCryptoName=(0,_util.stringToBytes)(dict.get("U")).subarray(0,32);var flags=dict.get("P"),revision=dict.get("R"),encryptMetadata=(4===filter||5===filter)&&!1!==dict.get("EncryptMetadata");
this.encryptMetadata=encryptMetadata;fileId=(0,_util.stringToBytes)(fileId);if(password$jscomp$0){if(6===revision)try{password$jscomp$0=(0,_util.utf8StringToString)(password$jscomp$0)}catch(ex){(0,_util.warn)("CipherTransformFactory: Unable to convert UTF8 encoded password.")}var passwordBytes=(0,_util.stringToBytes)(password$jscomp$0)}if(5!==filter)var encryptionKey=prepareKeyData(fileId,passwordBytes,cfDict,streamCryptoName,flags,revision,keyLength,encryptMetadata);else{encryptionKey=(0,_util.stringToBytes)(dict.get("O")).subarray(32,
40);var ownerKeySalt=(0,_util.stringToBytes)(dict.get("O")).subarray(40,48),uBytes=(0,_util.stringToBytes)(dict.get("U")).subarray(0,48),userValidationSalt=(0,_util.stringToBytes)(dict.get("U")).subarray(32,40),userKeySalt=(0,_util.stringToBytes)(dict.get("U")).subarray(40,48),ownerEncryption=(0,_util.stringToBytes)(dict.get("OE")),userEncryption=(0,_util.stringToBytes)(dict.get("UE"));(0,_util.stringToBytes)(dict.get("Perms"));var password=passwordBytes;password=password?password.subarray(0,Math.min(127,
password.length)):[];var pdfAlgorithm=6===revision?new PDF20:new PDF17;encryptionKey=pdfAlgorithm.checkUserPassword(password,userValidationSalt,streamCryptoName)?pdfAlgorithm.getUserKey(password,userKeySalt,userEncryption):password.length&&pdfAlgorithm.checkOwnerPassword(password,encryptionKey,uBytes,cfDict)?pdfAlgorithm.getOwnerKey(password,ownerKeySalt,uBytes,ownerEncryption):null}if(!encryptionKey&&!password$jscomp$0)throw new _util.PasswordException("No password given",_util.PasswordResponses.NEED_PASSWORD);
if(!encryptionKey&&password$jscomp$0){password$jscomp$0=passwordBytes;encryptionKey=keyLength;passwordBytes=new Uint8Array(32);ownerKeySalt=0;for(uBytes=Math.min(32,password$jscomp$0.length);ownerKeySalt<uBytes;++ownerKeySalt)passwordBytes[ownerKeySalt]=password$jscomp$0[ownerKeySalt];for(password$jscomp$0=0;32>ownerKeySalt;)passwordBytes[ownerKeySalt++]=defaultPasswordBytes[password$jscomp$0++];passwordBytes=calculateMD5(passwordBytes,0,ownerKeySalt);encryptionKey>>=3;if(3<=revision)for(password$jscomp$0=
0;50>password$jscomp$0;++password$jscomp$0)passwordBytes=calculateMD5(passwordBytes,0,passwordBytes.length);if(3<=revision)for(ownerKeySalt=cfDict,uBytes=new Uint8Array(encryptionKey),password$jscomp$0=19;0<=password$jscomp$0;password$jscomp$0--){for(userValidationSalt=0;userValidationSalt<encryptionKey;++userValidationSalt)uBytes[userValidationSalt]=passwordBytes[userValidationSalt]^password$jscomp$0;userValidationSalt=new ARCFourCipher(uBytes);ownerKeySalt=userValidationSalt.encryptBlock(ownerKeySalt)}else userValidationSalt=
new ARCFourCipher(passwordBytes.subarray(0,encryptionKey)),ownerKeySalt=userValidationSalt.encryptBlock(cfDict);encryptionKey=prepareKeyData(fileId,ownerKeySalt,cfDict,streamCryptoName,flags,revision,keyLength,encryptMetadata)}if(!encryptionKey)throw new _util.PasswordException("Incorrect Password",_util.PasswordResponses.INCORRECT_PASSWORD);this.encryptionKey=encryptionKey;4<=filter&&(filter=dict.get("CF"),(0,_primitives.isDict)(filter)&&(filter.suppressEncryption=!0),this.cf=filter,this.stmf=dict.get("StmF")||
identityName,this.strf=dict.get("StrF")||identityName,this.eff=dict.get("EFF")||this.stmf)}function buildObjectKey(num,gen,encryptionKey,isAes){var key=new Uint8Array(encryptionKey.length+9),n;var i=0;for(n=encryptionKey.length;i<n;++i)key[i]=encryptionKey[i];key[i++]=num&255;key[i++]=num>>8&255;key[i++]=num>>16&255;key[i++]=gen&255;key[i++]=gen>>8&255;isAes&&(key[i++]=115,key[i++]=65,key[i++]=108,key[i++]=84);return calculateMD5(key,0,i).subarray(0,Math.min(encryptionKey.length+5,16))}function buildCipherConstructor(cf,
name,num,gen,key){if(!(0,_primitives.isName)(name))throw new _util.FormatError("Invalid crypt filter name.");cf=cf.get(name.name);var cfm;null!==cf&&void 0!==cf&&(cfm=cf.get("CFM"));if(!cfm||"None"===cfm.name)return function(){return new NullCipher};if("V2"===cfm.name)return function(){return new ARCFourCipher(buildObjectKey(num,gen,key,!1))};if("AESV2"===cfm.name)return function(){return new AES128Cipher(buildObjectKey(num,gen,key,!0))};if("AESV3"===cfm.name)return function(){return new AES256Cipher(key)};
throw new _util.FormatError("Unknown crypto method");}var defaultPasswordBytes=new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]),identityName=_primitives.Name.get("Identity");CipherTransformFactory.prototype={createCipherTransform:function(num,gen){if(4===this.algorithm||5===this.algorithm)return new CipherTransform(buildCipherConstructor(this.cf,this.stmf,num,gen,this.encryptionKey),buildCipherConstructor(this.cf,this.strf,
num,gen,this.encryptionKey));var key=buildObjectKey(num,gen,this.encryptionKey,!1);num=function(){return new ARCFourCipher(key)};return new CipherTransform(num,num)}};return CipherTransformFactory}();exports.CipherTransformFactory=module},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&
obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o$jscomp$0){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o$jscomp$0)}
function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p$jscomp$0){_setPrototypeOf=Object.setPrototypeOf||function(o,p){o.__proto__=p;return o};return _setPrototypeOf(o$jscomp$0,
p$jscomp$0)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&
_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}Object.defineProperty(exports,"__esModule",{value:!0});exports.ColorSpace=void 0;var _util=__w_pdfjs_require__(5),_primitives=__w_pdfjs_require__(188),ColorSpace=function(){function ColorSpace(name,numComps){_classCallCheck(this,ColorSpace);this.constructor===ColorSpace&&(0,_util.unreachable)("Cannot initialize ColorSpace.");this.name=name;this.numComps=numComps}_createClass(ColorSpace,
[{key:"getRgb",value:function(src,srcOffset){var rgb=new Uint8ClampedArray(3);this.getRgbItem(src,srcOffset,rgb,0);return rgb}},{key:"getRgbItem",value:function(src,srcOffset,dest,destOffset){(0,_util.unreachable)("Should not call ColorSpace.getRgbItem")}},{key:"getRgbBuffer",value:function(src,srcOffset,count,dest,destOffset,bits,alpha01){(0,_util.unreachable)("Should not call ColorSpace.getRgbBuffer")}},{key:"getOutputLength",value:function(inputLength,alpha01){(0,_util.unreachable)("Should not call ColorSpace.getOutputLength")}},
{key:"isPassthrough",value:function(bits){return!1}},{key:"isDefaultDecode",value:function(decodeMap,bpc){return ColorSpace.isDefaultDecode(decodeMap,this.numComps)}},{key:"fillRgb",value:function(dest,originalWidth,originalHeight,width,height,actualHeight,bpc,comps,alpha01){var count=originalWidth*originalHeight,rgbBuf=null,numComponentColors=1<<bpc,needsResizing=originalHeight!==height||originalWidth!==width;if(this.isPassthrough(bpc))rgbBuf=comps;else if(1===this.numComps&&count>numComponentColors&&
"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){for(var allColors=8>=bpc?new Uint8Array(numComponentColors):new Uint16Array(numComponentColors),i=0;i<numComponentColors;i++)allColors[i]=i;i=new Uint8ClampedArray(3*numComponentColors);this.getRgbBuffer(allColors,0,numComponentColors,i,0,bpc,0);if(needsResizing)for(rgbBuf=new Uint8Array(3*count),numComponentColors=bpc=0;numComponentColors<count;++numComponentColors)allColors=3*comps[numComponentColors],rgbBuf[bpc++]=i[allColors],rgbBuf[bpc++]=i[allColors+
1],rgbBuf[bpc++]=i[allColors+2];else for(numComponentColors=bpc=0;numComponentColors<count;++numComponentColors)allColors=3*comps[numComponentColors],dest[bpc++]=i[allColors],dest[bpc++]=i[allColors+1],dest[bpc++]=i[allColors+2],bpc+=alpha01}else needsResizing?(rgbBuf=new Uint8ClampedArray(3*count),this.getRgbBuffer(comps,0,count,rgbBuf,0,bpc,0)):this.getRgbBuffer(comps,0,width*actualHeight,dest,0,bpc,alpha01);if(rgbBuf)if(needsResizing){alpha01=1!==alpha01?0:alpha01;count=originalWidth/width;originalHeight/=
height;actualHeight=0;comps=new Uint16Array(width);originalWidth*=3;for(needsResizing=0;needsResizing<width;needsResizing++)comps[needsResizing]=3*Math.floor(needsResizing*count);for(needsResizing=0;needsResizing<height;needsResizing++)for(i=Math.floor(needsResizing*originalHeight)*originalWidth,bpc=0;bpc<width;bpc++)count=i+comps[bpc],dest[actualHeight++]=rgbBuf[count++],dest[actualHeight++]=rgbBuf[count++],dest[actualHeight++]=rgbBuf[count++],actualHeight+=alpha01}else for(originalHeight=originalWidth=
height=0,width*=actualHeight;originalHeight<width;originalHeight++)dest[height++]=rgbBuf[originalWidth++],dest[height++]=rgbBuf[originalWidth++],dest[height++]=rgbBuf[originalWidth++],height+=alpha01}},{key:"usesZeroToOneRange",get:function(){return(0,_util.shadow)(this,"usesZeroToOneRange",!0)}}],[{key:"parse",value:function(cs,xref,res,pdfFunctionFactory){cs=this.parseToIR(cs,xref,res,pdfFunctionFactory);return this.fromIR(cs)}},{key:"fromIR",value:function(IR){var name=Array.isArray(IR)?IR[0]:
IR;switch(name){case "DeviceGrayCS":return this.singletons.gray;case "DeviceRgbCS":return this.singletons.rgb;case "DeviceCmykCS":return this.singletons.cmyk;case "CalGrayCS":name=IR[1];var blackPoint=IR[2];var gamma=IR[3];return new CalGrayCS(name,blackPoint,gamma);case "CalRGBCS":return name=IR[1],blackPoint=IR[2],gamma=IR[3],new CalRGBCS(name,blackPoint,gamma,IR[4]);case "PatternCS":return(IR=IR[1])&&(IR=this.fromIR(IR)),new PatternCS(IR);case "IndexedCS":return name=IR[2],blackPoint=IR[3],new IndexedCS(this.fromIR(IR[1]),
name,blackPoint);case "AlternateCS":return name=IR[3],new AlternateCS(IR[1],this.fromIR(IR[2]),name);case "LabCS":return name=IR[1],blackPoint=IR[2],new LabCS(name,blackPoint,IR[3]);default:throw new _util.FormatError("Unknown colorspace name: ".concat(name));}}},{key:"parseToIR",value:function(cs,xref){var res=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,pdfFunctionFactory=3<arguments.length?arguments[3]:void 0;cs=xref.fetchIfRef(cs);if((0,_primitives.isName)(cs))switch(cs.name){case "DeviceGray":case "G":return"DeviceGrayCS";
case "DeviceRGB":case "RGB":return"DeviceRgbCS";case "DeviceCMYK":case "CMYK":return"DeviceCmykCS";case "Pattern":return["PatternCS",null];default:if((0,_primitives.isDict)(res)){var colorSpaces=res.get("ColorSpace");if((0,_primitives.isDict)(colorSpaces)&&(colorSpaces=colorSpaces.get(cs.name))){if((0,_primitives.isName)(colorSpaces))return this.parseToIR(colorSpaces,xref,res,pdfFunctionFactory);cs=colorSpaces;break}}throw new _util.FormatError("unrecognized colorspace ".concat(cs.name));}if(Array.isArray(cs))switch(colorSpaces=
xref.fetchIfRef(cs[0]).name,colorSpaces){case "DeviceGray":case "G":return"DeviceGrayCS";case "DeviceRGB":case "RGB":return"DeviceRgbCS";case "DeviceCMYK":case "CMYK":return"DeviceCmykCS";case "CalGray":var params=xref.fetchIfRef(cs[1]);pdfFunctionFactory=params.getArray("WhitePoint");res=params.getArray("BlackPoint");colorSpaces=params.get("Gamma");return["CalGrayCS",pdfFunctionFactory,res,colorSpaces];case "CalRGB":return params=xref.fetchIfRef(cs[1]),pdfFunctionFactory=params.getArray("WhitePoint"),
res=params.getArray("BlackPoint"),colorSpaces=params.getArray("Gamma"),params=params.getArray("Matrix"),["CalRGBCS",pdfFunctionFactory,res,colorSpaces,params];case "ICCBased":params=xref.fetchIfRef(cs[1]).dict;colorSpaces=params.get("N");if(params=params.get("Alternate")){res=this.parseToIR(params,xref,res,pdfFunctionFactory);if(this.fromIR(res,pdfFunctionFactory).numComps===colorSpaces)return res;(0,_util.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===colorSpaces)return"DeviceGrayCS";
if(3===colorSpaces)return"DeviceRgbCS";if(4===colorSpaces)return"DeviceCmykCS";break;case "Pattern":return(colorSpaces=cs[1]||null)&&(colorSpaces=this.parseToIR(colorSpaces,xref,res,pdfFunctionFactory)),["PatternCS",colorSpaces];case "Indexed":case "I":return pdfFunctionFactory=this.parseToIR(cs[1],xref,res,pdfFunctionFactory),res=xref.fetchIfRef(cs[2])+1,colorSpaces=xref.fetchIfRef(cs[3]),(0,_primitives.isStream)(colorSpaces)&&(colorSpaces=colorSpaces.getBytes()),["IndexedCS",pdfFunctionFactory,
res,colorSpaces];case "Separation":case "DeviceN":return colorSpaces=xref.fetchIfRef(cs[1]),colorSpaces=Array.isArray(colorSpaces)?colorSpaces.length:1,params=this.parseToIR(cs[2],xref,res,pdfFunctionFactory),pdfFunctionFactory=pdfFunctionFactory.create(xref.fetchIfRef(cs[3])),["AlternateCS",colorSpaces,params,pdfFunctionFactory];case "Lab":return params=xref.fetchIfRef(cs[1]),pdfFunctionFactory=params.getArray("WhitePoint"),res=params.getArray("BlackPoint"),colorSpaces=params.getArray("Range"),["LabCS",
pdfFunctionFactory,res,colorSpaces];default:throw new _util.FormatError('unimplemented color space object "'.concat(colorSpaces,'"'));}throw new _util.FormatError('unrecognized color space object: "'.concat(cs,'"'));}},{key:"isDefaultDecode",value:function(decode,numComps){if(!Array.isArray(decode))return!0;if(2*numComps!==decode.length)return(0,_util.warn)("The decode map is not the correct length"),!0;numComps=0;for(var ii=decode.length;numComps<ii;numComps+=2)if(0!==decode[numComps]||1!==decode[numComps+
1])return!1;return!0}},{key:"singletons",get:function(){return(0,_util.shadow)(this,"singletons",{get gray(){return(0,_util.shadow)(this,"gray",new DeviceGrayCS)},get rgb(){return(0,_util.shadow)(this,"rgb",new DeviceRgbCS)},get cmyk(){return(0,_util.shadow)(this,"cmyk",new DeviceCmykCS)}})}}]);return ColorSpace}();exports.ColorSpace=ColorSpace;var AlternateCS=function(_ColorSpace){function AlternateCS(numComps,base,tintFn){_classCallCheck(this,AlternateCS);numComps=_possibleConstructorReturn(this,
_getPrototypeOf(AlternateCS).call(this,"Alternate",numComps));numComps.base=base;numComps.tintFn=tintFn;numComps.tmpBuf=new Float32Array(base.numComps);return numComps}_inherits(AlternateCS,_ColorSpace);_createClass(AlternateCS,[{key:"getRgbItem",value:function(src,srcOffset,dest,destOffset){var tmpBuf=this.tmpBuf;this.tintFn(src,srcOffset,tmpBuf,0);this.base.getRgbItem(tmpBuf,0,dest,destOffset)}},{key:"getRgbBuffer",value:function(src,srcOffset,count,dest,destOffset,bits,alpha01){var tintFn=this.tintFn,
base=this.base;bits=1/((1<<bits)-1);var baseNumComps=base.numComps,usesZeroToOneRange=base.usesZeroToOneRange,isPassthrough=(base.isPassthrough(8)||!usesZeroToOneRange)&&0===alpha01,pos=isPassthrough?destOffset:0,baseBuf=isPassthrough?dest:new Uint8ClampedArray(baseNumComps*count),numComps=this.numComps,scaled=new Float32Array(numComps),tinted=new Float32Array(baseNumComps),i,j;for(i=0;i<count;i++){for(j=0;j<numComps;j++)scaled[j]=src[srcOffset++]*bits;tintFn(scaled,0,tinted,0);if(usesZeroToOneRange)for(j=
0;j<baseNumComps;j++)baseBuf[pos++]=255*tinted[j];else base.getRgbItem(tinted,0,baseBuf,pos),pos+=baseNumComps}isPassthrough||base.getRgbBuffer(baseBuf,0,count,dest,destOffset,8,alpha01)}},{key:"getOutputLength",value:function(inputLength,alpha01){return this.base.getOutputLength(inputLength*this.base.numComps/this.numComps,alpha01)}}]);return AlternateCS}(ColorSpace),PatternCS=function(_ColorSpace2){function PatternCS(baseCS){_classCallCheck(this,PatternCS);var _this2=_possibleConstructorReturn(this,
_getPrototypeOf(PatternCS).call(this,"Pattern",null));_this2.base=baseCS;return _this2}_inherits(PatternCS,_ColorSpace2);_createClass(PatternCS,[{key:"isDefaultDecode",value:function(decodeMap,bpc){(0,_util.unreachable)("Should not call PatternCS.isDefaultDecode")}}]);return PatternCS}(ColorSpace),IndexedCS=function(_ColorSpace3){function IndexedCS(base,highVal,lookup){_classCallCheck(this,IndexedCS);var _this3=_possibleConstructorReturn(this,_getPrototypeOf(IndexedCS).call(this,"Indexed",1));_this3.base=
base;_this3.highVal=highVal;base=base.numComps*highVal;if((0,_primitives.isStream)(lookup))_this3.lookup=new Uint8Array(base),lookup=lookup.getBytes(base),_this3.lookup.set(lookup);else if((0,_util.isString)(lookup))for(_this3.lookup=new Uint8Array(base),highVal=0;highVal<base;++highVal)_this3.lookup[highVal]=lookup.charCodeAt(highVal);else if(lookup instanceof Uint8Array)_this3.lookup=lookup;else throw new _util.FormatError("Unrecognized lookup table: ".concat(lookup));return _this3}_inherits(IndexedCS,
_ColorSpace3);_createClass(IndexedCS,[{key:"getRgbItem",value:function(src,srcOffset,dest,destOffset){this.base.getRgbBuffer(this.lookup,src[srcOffset]*this.base.numComps,1,dest,destOffset,8,0)}},{key:"getRgbBuffer",value:function(src,srcOffset,count,dest,destOffset,bits,alpha01){bits=this.base;for(var numComps=bits.numComps,outputDelta=bits.getOutputLength(numComps,alpha01),lookup=this.lookup,i=0;i<count;++i){var lookupPos=src[srcOffset++]*numComps;bits.getRgbBuffer(lookup,lookupPos,1,dest,destOffset,
8,alpha01);destOffset+=outputDelta}}},{key:"getOutputLength",value:function(inputLength,alpha01){return this.base.getOutputLength(inputLength*this.base.numComps,alpha01)}},{key:"isDefaultDecode",value:function(decodeMap,bpc){return Array.isArray(decodeMap)?2!==decodeMap.length?((0,_util.warn)("Decode map length is not correct"),!0):!Number.isInteger(bpc)||1>bpc?((0,_util.warn)("Bits per component is not correct"),!0):0===decodeMap[0]&&decodeMap[1]===(1<<bpc)-1:!0}}]);return IndexedCS}(ColorSpace),
DeviceGrayCS=function(_ColorSpace4){function DeviceGrayCS(){_classCallCheck(this,DeviceGrayCS);return _possibleConstructorReturn(this,_getPrototypeOf(DeviceGrayCS).call(this,"DeviceGray",1))}_inherits(DeviceGrayCS,_ColorSpace4);_createClass(DeviceGrayCS,[{key:"getRgbItem",value:function(src,srcOffset,dest,destOffset){dest[destOffset]=dest[destOffset+1]=dest[destOffset+2]=255*src[srcOffset]}},{key:"getRgbBuffer",value:function(src,srcOffset,count,dest,destOffset,bits,alpha01){bits=255/((1<<bits)-1);
for(var i=0;i<count;++i){var c=bits*src[srcOffset++];dest[destOffset++]=c;dest[destOffset++]=c;dest[destOffset++]=c;destOffset+=alpha01}}},{key:"getOutputLength",value:function(inputLength,alpha01){return inputLength*(3+alpha01)}}]);return DeviceGrayCS}(ColorSpace),DeviceRgbCS=function(_ColorSpace5){function DeviceRgbCS(){_classCallCheck(this,DeviceRgbCS);return _possibleConstructorReturn(this,_getPrototypeOf(DeviceRgbCS).call(this,"DeviceRGB",3))}_inherits(DeviceRgbCS,_ColorSpace5);_createClass(DeviceRgbCS,
[{key:"getRgbItem",value:function(src,srcOffset,dest,destOffset){dest[destOffset]=255*src[srcOffset];dest[destOffset+1]=255*src[srcOffset+1];dest[destOffset+2]=255*src[srcOffset+2]}},{key:"getRgbBuffer",value:function(src,srcOffset,count,dest,destOffset,bits,alpha01){if(8===bits&&0===alpha01)dest.set(src.subarray(srcOffset,srcOffset+3*count),destOffset);else{bits=255/((1<<bits)-1);for(var i=0;i<count;++i)dest[destOffset++]=bits*src[srcOffset++],dest[destOffset++]=bits*src[srcOffset++],dest[destOffset++]=
bits*src[srcOffset++],destOffset+=alpha01}}},{key:"getOutputLength",value:function(inputLength,alpha01){return inputLength*(3+alpha01)/3|0}},{key:"isPassthrough",value:function(bits){return 8===bits}}]);return DeviceRgbCS}(ColorSpace),DeviceCmykCS=function(){function convertToRgb(src,srcOffset,srcScale,dest,destOffset){var c=src[srcOffset]*srcScale,m=src[srcOffset+1]*srcScale,y=src[srcOffset+2]*srcScale;src=src[srcOffset+3]*srcScale;dest[destOffset]=255+c*(-4.387332384609988*c+54.48615194189176*m+
18.82290502165302*y+212.25662451639585*src+-285.2331026137004)+m*(1.7149763477362134*m-5.6096736904047315*y+-17.873870861415444*src-5.497006427196366)+y*(-2.5217340131683033*y-21.248923337353073*src+17.5119270841813)+src*(-21.86122147463605*src-189.48180835922747);dest[destOffset+1]=255+c*(8.841041422036149*c+60.118027045597366*m+6.871425592049007*y+31.159100130055922*src+-79.2970844816548)+m*(-15.310361306967817*m+17.575251261109482*y+131.35250912493976*src-190.9453302588951)+y*(4.444339102852739*
y+9.8632861493405*src-24.86741582555878)+src*(-20.737325471181034*src-187.80453709719578);dest[destOffset+2]=255+c*(.8842522430003296*c+8.078677503112928*m+30.89978309703729*y-.23883238689178934*src+-14.183576799673286)+m*(10.49593273432072*m+63.02378494754052*y+50.606957656360734*src-112.23884253719248)+y*(.03296041114873217*y+115.60384449646641*src+-193.58209356861505)+src*(-22.33816807309886*src-180.12613974708367)}return function(_ColorSpace6){function DeviceCmykCS(){_classCallCheck(this,DeviceCmykCS);
return _possibleConstructorReturn(this,_getPrototypeOf(DeviceCmykCS).call(this,"DeviceCMYK",4))}_inherits(DeviceCmykCS,_ColorSpace6);_createClass(DeviceCmykCS,[{key:"getRgbItem",value:function(src,srcOffset,dest,destOffset){convertToRgb(src,srcOffset,1,dest,destOffset)}},{key:"getRgbBuffer",value:function(src,srcOffset,count,dest,destOffset,bits,alpha01){bits=1/((1<<bits)-1);for(var i=0;i<count;i++)convertToRgb(src,srcOffset,bits,dest,destOffset),srcOffset+=4,destOffset+=3+alpha01}},{key:"getOutputLength",
value:function(inputLength,alpha01){return inputLength/4*(3+alpha01)|0}}]);return DeviceCmykCS}(ColorSpace)}(),CalGrayCS=function(){function convertToRgb(cs,src,srcOffset,dest,destOffset,scale){cs=Math.max(295.8*Math.pow(cs.YW*Math.pow(src[srcOffset]*scale,cs.G),.3333333333333333)-40.8,0);dest[destOffset]=cs;dest[destOffset+1]=cs;dest[destOffset+2]=cs}return function(_ColorSpace7){function CalGrayCS(whitePoint,blackPoint,gamma){_classCallCheck(this,CalGrayCS);var _this4=_possibleConstructorReturn(this,
_getPrototypeOf(CalGrayCS).call(this,"CalGray",1));if(!whitePoint)throw new _util.FormatError("WhitePoint missing - required for color space CalGray");blackPoint=blackPoint||[0,0,0];_this4.XW=whitePoint[0];_this4.YW=whitePoint[1];_this4.ZW=whitePoint[2];_this4.XB=blackPoint[0];_this4.YB=blackPoint[1];_this4.ZB=blackPoint[2];_this4.G=gamma||1;if(0>_this4.XW||0>_this4.ZW||1!==_this4.YW)throw new _util.FormatError("Invalid WhitePoint components for ".concat(_this4.name)+", no fallback available");if(0>
_this4.XB||0>_this4.YB||0>_this4.ZB)(0,_util.info)("Invalid BlackPoint for ".concat(_this4.name,", falling back to default.")),_this4.XB=_this4.YB=_this4.ZB=0;0===_this4.XB&&0===_this4.YB&&0===_this4.ZB||(0,_util.warn)("".concat(_this4.name,", BlackPoint: XB: ").concat(_this4.XB,", YB: ").concat(_this4.YB,", ")+"ZB: ".concat(_this4.ZB,", only default values are supported."));1>_this4.G&&((0,_util.info)("Invalid Gamma: ".concat(_this4.G," for ").concat(_this4.name,", ")+"falling back to default."),
_this4.G=1);return _this4}_inherits(CalGrayCS,_ColorSpace7);_createClass(CalGrayCS,[{key:"getRgbItem",value:function(src,srcOffset,dest,destOffset){convertToRgb(this,src,srcOffset,dest,destOffset,1)}},{key:"getRgbBuffer",value:function(src,srcOffset,count,dest,destOffset,bits,alpha01){bits=1/((1<<bits)-1);for(var i=0;i<count;++i)convertToRgb(this,src,srcOffset,dest,destOffset,bits),srcOffset+=1,destOffset+=3+alpha01}},{key:"getOutputLength",value:function(inputLength,alpha01){return inputLength*(3+
alpha01)}}]);return CalGrayCS}(ColorSpace)}(),CalRGBCS=function(){function matrixProduct(a,b,result){result[0]=a[0]*b[0]+a[1]*b[1]+a[2]*b[2];result[1]=a[3]*b[0]+a[4]*b[1]+a[5]*b[2];result[2]=a[6]*b[0]+a[7]*b[1]+a[8]*b[2]}function sRGBTransferFunction(color){return.0031308>=color?Math.max(0,Math.min(1,12.92*color)):Math.max(0,Math.min(1,1.055*Math.pow(color,1/2.4)-.055))}function decodeL(L){return 0>L?-decodeL(-L):8<L?Math.pow((L+16)/116,3):L*DECODE_L_CONSTANT}function convertToRgb(cs,src,srcOffset,
dest,destOffset,scale){var AGR=Math.pow(Math.max(0,Math.min(1,src[srcOffset]*scale)),cs.GR),BGG=Math.pow(Math.max(0,Math.min(1,src[srcOffset+1]*scale)),cs.GG);srcOffset=Math.pow(Math.max(0,Math.min(1,src[srcOffset+2]*scale)),cs.GB);scale=cs.MYA*AGR+cs.MYB*BGG+cs.MYC*srcOffset;var Z=cs.MZA*AGR+cs.MZB*BGG+cs.MZC*srcOffset;src=tempConvertMatrix1;src[0]=cs.MXA*AGR+cs.MXB*BGG+cs.MXC*srcOffset;src[1]=scale;src[2]=Z;AGR=tempConvertMatrix2;BGG=cs.whitePoint;1===BGG[0]&&1===BGG[2]?(AGR[0]=src[0],AGR[1]=src[1],
AGR[2]=src[2]):(matrixProduct(BRADFORD_SCALE_MATRIX,src,AGR),src=tempNormalizeMatrix,src[0]=1*AGR[0]/BGG[0],src[1]=1*AGR[1]/BGG[1],src[2]=1*AGR[2]/BGG[2],matrixProduct(BRADFORD_SCALE_INVERSE_MATRIX,src,AGR));BGG=tempConvertMatrix1;srcOffset=cs.blackPoint;0===srcOffset[0]&&0===srcOffset[1]&&0===srcOffset[2]?(BGG[0]=AGR[0],BGG[1]=AGR[1],BGG[2]=AGR[2]):(cs=decodeL(0),scale=decodeL(srcOffset[0]),src=decodeL(srcOffset[1]),srcOffset=decodeL(srcOffset[2]),scale=(1-cs)/(1-scale),src=(1-cs)/(1-src),cs=(1-
cs)/(1-srcOffset),BGG[0]=AGR[0]*scale+(1-scale),BGG[1]=AGR[1]*src+(1-src),BGG[2]=AGR[2]*cs+(1-cs));cs=tempConvertMatrix2;AGR=FLAT_WHITEPOINT_MATRIX;matrixProduct(BRADFORD_SCALE_MATRIX,BGG,cs);BGG=tempNormalizeMatrix;BGG[0]=.95047*cs[0]/AGR[0];BGG[1]=1*cs[1]/AGR[1];BGG[2]=1.08883*cs[2]/AGR[2];matrixProduct(BRADFORD_SCALE_INVERSE_MATRIX,BGG,cs);AGR=tempConvertMatrix1;matrixProduct(SRGB_D65_XYZ_TO_RGB_MATRIX,cs,AGR);dest[destOffset]=255*sRGBTransferFunction(AGR[0]);dest[destOffset+1]=255*sRGBTransferFunction(AGR[1]);
dest[destOffset+2]=255*sRGBTransferFunction(AGR[2])}var BRADFORD_SCALE_MATRIX=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]),BRADFORD_SCALE_INVERSE_MATRIX=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]),SRGB_D65_XYZ_TO_RGB_MATRIX=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]),FLAT_WHITEPOINT_MATRIX=new Float32Array([1,1,1]),tempNormalizeMatrix=new Float32Array(3),
tempConvertMatrix1=new Float32Array(3),tempConvertMatrix2=new Float32Array(3),DECODE_L_CONSTANT=Math.pow(24/116,3)/8;return function(_ColorSpace8){function CalRGBCS(whitePoint,blackPoint,gamma,matrix){_classCallCheck(this,CalRGBCS);var _this5=_possibleConstructorReturn(this,_getPrototypeOf(CalRGBCS).call(this,"CalRGB",3));if(!whitePoint)throw new _util.FormatError("WhitePoint missing - required for color space CalRGB");blackPoint=blackPoint||new Float32Array(3);gamma=gamma||new Float32Array([1,1,
1]);matrix=matrix||new Float32Array([1,0,0,0,1,0,0,0,1]);var XW=whitePoint[0],YW=whitePoint[1],ZW=whitePoint[2];_this5.whitePoint=whitePoint;whitePoint=blackPoint[0];var YB=blackPoint[1],ZB=blackPoint[2];_this5.blackPoint=blackPoint;_this5.GR=gamma[0];_this5.GG=gamma[1];_this5.GB=gamma[2];_this5.MXA=matrix[0];_this5.MYA=matrix[1];_this5.MZA=matrix[2];_this5.MXB=matrix[3];_this5.MYB=matrix[4];_this5.MZB=matrix[5];_this5.MXC=matrix[6];_this5.MYC=matrix[7];_this5.MZC=matrix[8];if(0>XW||0>ZW||1!==YW)throw new _util.FormatError("Invalid WhitePoint components for ".concat(_this5.name)+
", no fallback available");if(0>whitePoint||0>YB||0>ZB)(0,_util.info)("Invalid BlackPoint for ".concat(_this5.name," [").concat(whitePoint,", ").concat(YB,", ").concat(ZB,"], ")+"falling back to default."),_this5.blackPoint=new Float32Array(3);if(0>_this5.GR||0>_this5.GG||0>_this5.GB)(0,_util.info)("Invalid Gamma [".concat(_this5.GR,", ").concat(_this5.GG,", ").concat(_this5.GB,"] for ")+"".concat(_this5.name,", falling back to default.")),_this5.GR=_this5.GG=_this5.GB=1;return _this5}_inherits(CalRGBCS,
_ColorSpace8);_createClass(CalRGBCS,[{key:"getRgbItem",value:function(src,srcOffset,dest,destOffset){convertToRgb(this,src,srcOffset,dest,destOffset,1)}},{key:"getRgbBuffer",value:function(src,srcOffset,count,dest,destOffset,bits,alpha01){bits=1/((1<<bits)-1);for(var i=0;i<count;++i)convertToRgb(this,src,srcOffset,dest,destOffset,bits),srcOffset+=3,destOffset+=3+alpha01}},{key:"getOutputLength",value:function(inputLength,alpha01){return inputLength*(3+alpha01)/3|0}}]);return CalRGBCS}(ColorSpace)}(),
LabCS=function(){function fn_g(x){return x>=6/29?x*x*x:108/841*(x-4/29)}function convertToRgb(cs,src,srcOffset,maxVal,dest,destOffset){var Ls=src[srcOffset],as=src[srcOffset+1];src=src[srcOffset+2];!1!==maxVal&&(Ls=100*Ls/maxVal,srcOffset=cs.amin,as=srcOffset+as*(cs.amax-srcOffset)/maxVal,srcOffset=cs.bmin,src=srcOffset+src*(cs.bmax-srcOffset)/maxVal);as=as>cs.amax?cs.amax:as<cs.amin?cs.amin:as;src=src>cs.bmax?cs.bmax:src<cs.bmin?cs.bmin:src;maxVal=(Ls+16)/116;Ls=maxVal-src/200;as=cs.XW*fn_g(maxVal+
as/500);maxVal=cs.YW*fn_g(maxVal);Ls=cs.ZW*fn_g(Ls);1>cs.ZW?(cs=3.1339*as+-1.617*maxVal+-.4906*Ls,src=-.9785*as+1.916*maxVal+.0333*Ls,as=.072*as+-.229*maxVal+1.4057*Ls):(cs=3.2406*as+-1.5372*maxVal+-.4986*Ls,src=-.9689*as+1.8758*maxVal+.0415*Ls,as=.0557*as+-.204*maxVal+1.057*Ls);dest[destOffset]=255*Math.sqrt(cs);dest[destOffset+1]=255*Math.sqrt(src);dest[destOffset+2]=255*Math.sqrt(as)}return function(_ColorSpace9){function LabCS(whitePoint,blackPoint,range){_classCallCheck(this,LabCS);var _this6=
_possibleConstructorReturn(this,_getPrototypeOf(LabCS).call(this,"Lab",3));if(!whitePoint)throw new _util.FormatError("WhitePoint missing - required for color space Lab");blackPoint=blackPoint||[0,0,0];range=range||[-100,100,-100,100];_this6.XW=whitePoint[0];_this6.YW=whitePoint[1];_this6.ZW=whitePoint[2];_this6.amin=range[0];_this6.amax=range[1];_this6.bmin=range[2];_this6.bmax=range[3];_this6.XB=blackPoint[0];_this6.YB=blackPoint[1];_this6.ZB=blackPoint[2];if(0>_this6.XW||0>_this6.ZW||1!==_this6.YW)throw new _util.FormatError("Invalid WhitePoint components, no fallback available");
if(0>_this6.XB||0>_this6.YB||0>_this6.ZB)(0,_util.info)("Invalid BlackPoint, falling back to default"),_this6.XB=_this6.YB=_this6.ZB=0;if(_this6.amin>_this6.amax||_this6.bmin>_this6.bmax)(0,_util.info)("Invalid Range, falling back to defaults"),_this6.amin=-100,_this6.amax=100,_this6.bmin=-100,_this6.bmax=100;return _this6}_inherits(LabCS,_ColorSpace9);_createClass(LabCS,[{key:"getRgbItem",value:function(src,srcOffset,dest,destOffset){convertToRgb(this,src,srcOffset,!1,dest,destOffset)}},{key:"getRgbBuffer",
value:function(src,srcOffset,count,dest,destOffset,bits,alpha01){bits=(1<<bits)-1;for(var i=0;i<count;i++)convertToRgb(this,src,srcOffset,bits,dest,destOffset),srcOffset+=3,destOffset+=3+alpha01}},{key:"getOutputLength",value:function(inputLength,alpha01){return inputLength*(3+alpha01)/3|0}},{key:"isDefaultDecode",value:function(decodeMap,bpc){return!0}},{key:"usesZeroToOneRange",get:function(){return(0,_util.shadow)(this,"usesZeroToOneRange",!1)}}]);return LabCS}(ColorSpace)}()},function(module,
exports,__w_pdfjs_require__){function _get(target$jscomp$0,property$jscomp$0,receiver$jscomp$0){_get="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(target,property,receiver){for(;!Object.prototype.hasOwnProperty.call(target,property)&&(target=_getPrototypeOf(target),null!==target););if(target)return property=Object.getOwnPropertyDescriptor(target,property),property.get?property.get.call(receiver):property.value};return _get(target$jscomp$0,property$jscomp$0,receiver$jscomp$0||target$jscomp$0)}
function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return self}function _getPrototypeOf(o$jscomp$0){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o$jscomp$0)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}});superClass&&
_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p$jscomp$0){_setPrototypeOf=Object.setPrototypeOf||function(o,p){o.__proto__=p;return o};return _setPrototypeOf(o$jscomp$0,p$jscomp$0)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=
!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function getQuadPoints(dict,rect){if(!dict.has("QuadPoints"))return null;dict=dict.getArray("QuadPoints");if(!Array.isArray(dict)||0<dict.length%8)return null;for(var quadPointsLists=[],i=0,ii=dict.length/
8;i<ii;i++){quadPointsLists.push([]);for(var j=8*i,jj=8*i+8;j<jj;j+=2){var x=dict[j],y=dict[j+1];if(x<rect[0]||x>rect[2]||y<rect[1]||y>rect[3])return null;quadPointsLists[i].push({x:x,y:y})}}return quadPointsLists}function getTransformMatrix(rect,bbox,matrix){bbox=_util.Util.getAxialAlignedBoundingBox(bbox,matrix);matrix=Array.isArray(bbox)?bbox:void 0;if(!matrix)if(Symbol.iterator in Object(bbox)||"[object Arguments]"===Object.prototype.toString.call(bbox)){matrix=[];var _n=!0,_d=!1,_e=void 0;try{for(var _i=
bbox[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done)&&(matrix.push(_s.value),4!==matrix.length);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i["return"])_i["return"]()}finally{if(_d)throw _e;}}}else matrix=void 0;if(!matrix)throw new TypeError("Invalid attempt to destructure non-iterable instance");_i=matrix[0];_s=matrix[1];bbox=matrix[2];matrix=matrix[3];if(_i===bbox||_s===matrix)return[1,0,0,1,rect[0],rect[1]];bbox=(rect[2]-rect[0])/(bbox-_i);matrix=(rect[3]-rect[1])/(matrix-_s);return[bbox,
0,0,matrix,rect[0]-_i*bbox,rect[1]-_s*matrix]}Object.defineProperty(exports,"__esModule",{value:!0});exports.getQuadPoints=getQuadPoints;exports.MarkupAnnotation=exports.AnnotationFactory=exports.AnnotationBorderStyle=exports.Annotation=void 0;var _util=__w_pdfjs_require__(5),_obj=__w_pdfjs_require__(193),_primitives=__w_pdfjs_require__(188),_colorspace=__w_pdfjs_require__(206),_core_utils=__w_pdfjs_require__(191),_operator_list=__w_pdfjs_require__(208),_stream=__w_pdfjs_require__(195);module=function(){function AnnotationFactory(){_classCallCheck(this,
AnnotationFactory)}_createClass(AnnotationFactory,null,[{key:"create",value:function(xref,ref,pdfManager,idFactory){return pdfManager.ensure(this,"_create",[xref,ref,pdfManager,idFactory])}},{key:"_create",value:function(xref,ref,pdfManager,idFactory){var dict=xref.fetchIfRef(ref);if((0,_primitives.isDict)(dict))switch(idFactory=(0,_primitives.isRef)(ref)?ref.toString():"annot_".concat(idFactory.createObjId()),ref=dict.get("Subtype"),ref=(0,_primitives.isName)(ref)?ref.name:null,xref={xref:xref,dict:dict,
subtype:ref,id:idFactory,pdfManager:pdfManager},ref){case "Link":return new LinkAnnotation(xref);case "Text":return new TextAnnotation(xref);case "Widget":dict=(0,_core_utils.getInheritableProperty)({dict:dict,key:"FT"});dict=(0,_primitives.isName)(dict)?dict.name:null;switch(dict){case "Tx":return new TextWidgetAnnotation(xref);case "Btn":return new ButtonWidgetAnnotation(xref);case "Ch":return new ChoiceWidgetAnnotation(xref)}return new WidgetAnnotation(xref);case "Popup":return new PopupAnnotation(xref);
case "FreeText":return new FreeTextAnnotation(xref);case "Line":return new LineAnnotation(xref);case "Square":return new SquareAnnotation(xref);case "Circle":return new CircleAnnotation(xref);case "PolyLine":return new PolylineAnnotation(xref);case "Polygon":return new PolygonAnnotation(xref);case "Caret":return new CaretAnnotation(xref);case "Ink":return new InkAnnotation(xref);case "Highlight":return new HighlightAnnotation(xref);case "Underline":return new UnderlineAnnotation(xref);case "Squiggly":return new SquigglyAnnotation(xref);
case "StrikeOut":return new StrikeOutAnnotation(xref);case "Stamp":return new StampAnnotation(xref);case "FileAttachment":return new FileAttachmentAnnotation(xref);default:return ref?(0,_util.warn)('Unimplemented annotation type "'+ref+'", falling back to base annotation.'):(0,_util.warn)("Annotation is missing the required /Subtype."),new Annotation(xref)}}}]);return AnnotationFactory}();exports.AnnotationFactory=module;var Annotation=function(){function Annotation(params){_classCallCheck(this,Annotation);
var dict=params.dict;this.setContents(dict.get("Contents"));this.setModificationDate(dict.get("M"));this.setFlags(dict.get("F"));this.setRectangle(dict.getArray("Rect"));this.setColor(dict.getArray("C"));this.setBorderStyle(dict);this.setAppearance(dict);this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,contents:this.contents,hasAppearance:!!this.appearance,id:params.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:params.subtype}}_createClass(Annotation,
[{key:"_hasFlag",value:function(flags,flag){return!!(flags&flag)}},{key:"_isViewable",value:function(flags){return!this._hasFlag(flags,_util.AnnotationFlag.INVISIBLE)&&!this._hasFlag(flags,_util.AnnotationFlag.HIDDEN)&&!this._hasFlag(flags,_util.AnnotationFlag.NOVIEW)}},{key:"_isPrintable",value:function(flags){return this._hasFlag(flags,_util.AnnotationFlag.PRINT)&&!this._hasFlag(flags,_util.AnnotationFlag.INVISIBLE)&&!this._hasFlag(flags,_util.AnnotationFlag.HIDDEN)}},{key:"setContents",value:function(contents){this.contents=
(0,_util.stringToPDFString)(contents||"")}},{key:"setModificationDate",value:function(modificationDate){this.modificationDate=(0,_util.isString)(modificationDate)?modificationDate:null}},{key:"setFlags",value:function(flags){this.flags=Number.isInteger(flags)&&0<flags?flags:0}},{key:"hasFlag",value:function(flag){return this._hasFlag(this.flags,flag)}},{key:"setRectangle",value:function(rectangle){Array.isArray(rectangle)&&4===rectangle.length?this.rectangle=_util.Util.normalizeRect(rectangle):this.rectangle=
[0,0,0,0]}},{key:"setColor",value:function(color){var rgbColor=new Uint8ClampedArray(3);if(Array.isArray(color))switch(color.length){case 0:this.color=null;break;case 1:_colorspace.ColorSpace.singletons.gray.getRgbItem(color,0,rgbColor,0);this.color=rgbColor;break;case 3:_colorspace.ColorSpace.singletons.rgb.getRgbItem(color,0,rgbColor,0);this.color=rgbColor;break;case 4:_colorspace.ColorSpace.singletons.cmyk.getRgbItem(color,0,rgbColor,0);this.color=rgbColor;break;default:this.color=rgbColor}else this.color=
rgbColor}},{key:"setBorderStyle",value:function(borderStyle){this.borderStyle=new AnnotationBorderStyle;if((0,_primitives.isDict)(borderStyle))if(borderStyle.has("BS")){borderStyle=borderStyle.get("BS");var dictType=borderStyle.get("Type");if(!dictType||(0,_primitives.isName)(dictType,"Border"))this.borderStyle.setWidth(borderStyle.get("W"),this.rectangle),this.borderStyle.setStyle(borderStyle.get("S")),this.borderStyle.setDashArray(borderStyle.getArray("D"))}else borderStyle.has("Border")?(borderStyle=
borderStyle.getArray("Border"),Array.isArray(borderStyle)&&3<=borderStyle.length&&(this.borderStyle.setHorizontalCornerRadius(borderStyle[0]),this.borderStyle.setVerticalCornerRadius(borderStyle[1]),this.borderStyle.setWidth(borderStyle[2],this.rectangle),4===borderStyle.length&&this.borderStyle.setDashArray(borderStyle[3]))):this.borderStyle.setWidth(0)}},{key:"setAppearance",value:function(dict){this.appearance=null;var appearanceStates=dict.get("AP");(0,_primitives.isDict)(appearanceStates)&&(appearanceStates=
appearanceStates.get("N"),(0,_primitives.isStream)(appearanceStates)?this.appearance=appearanceStates:(0,_primitives.isDict)(appearanceStates)&&(dict=dict.get("AS"),(0,_primitives.isName)(dict)&&appearanceStates.has(dict.name)&&(this.appearance=appearanceStates.get(dict.name))))}},{key:"loadResources",value:function(keys){return this.appearance.dict.getAsync("Resources").then(function(resources){if(resources)return(new _obj.ObjectLoader(resources,keys,resources.xref)).load().then(function(){return resources})})}},
{key:"getOperatorList",value:function(evaluator,task,renderForms){var _this=this;if(!this.appearance)return Promise.resolve(new _operator_list.OperatorList);renderForms=this.data.pushButton;var forceRender=global$jscomp$0.renderFormFields;if(!(this.data.forceRender||forceRender||renderForms||"Widget"!==this.data.subtype&&"Link"!==this.data.subtype))return Promise.resolve(new _operator_list.OperatorList);this.data.forceRender&&(this.data.blockRender=!0);var data=this.data;renderForms=this.appearance.dict;
forceRender=this.loadResources("ExtGState ColorSpace Pattern Shading XObject Font".split(" "));var bbox=renderForms.getArray("BBox")||[0,0,1,1],matrix=renderForms.getArray("Matrix")||[1,0,0,1,0,0],transform=getTransformMatrix(data.rect,bbox,matrix);return forceRender.then(function(resources){var opList=new _operator_list.OperatorList;opList.addOp(_util.OPS.beginAnnotation,[data.rect,transform,matrix]);return evaluator.getOperatorList({stream:_this.appearance,task:task,resources:resources,operatorList:opList}).then(function(){opList.addOp(_util.OPS.endAnnotation,
[]);_this.appearance.reset();return opList})})}},{key:"viewable",get:function(){return 0===this.flags?!0:this._isViewable(this.flags)}},{key:"printable",get:function(){return 0===this.flags?!1:this._isPrintable(this.flags)}}]);return Annotation}();exports.Annotation=Annotation;var AnnotationBorderStyle=function(){function AnnotationBorderStyle(){_classCallCheck(this,AnnotationBorderStyle);this.width=1;this.style=_util.AnnotationBorderStyleType.SOLID;this.dashArray=[3];this.verticalCornerRadius=this.horizontalCornerRadius=
0}_createClass(AnnotationBorderStyle,[{key:"setWidth",value:function(width){var rect=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[0,0,0,0];if((0,_primitives.isName)(width))this.width=0;else if(Number.isInteger(width)){if(0<width){var maxWidth=(rect[2]-rect[0])/2;rect=(rect[3]-rect[1])/2;0<maxWidth&&0<rect&&(width>maxWidth||width>rect)&&((0,_util.warn)("AnnotationBorderStyle.setWidth - ignoring width: ".concat(width)),width=1)}this.width=width}}},{key:"setStyle",value:function(style){if((0,_primitives.isName)(style))switch(style.name){case "S":this.style=
_util.AnnotationBorderStyleType.SOLID;break;case "D":this.style=_util.AnnotationBorderStyleType.DASHED;break;case "B":this.style=_util.AnnotationBorderStyleType.BEVELED;break;case "I":this.style=_util.AnnotationBorderStyleType.INSET;break;case "U":this.style=_util.AnnotationBorderStyleType.UNDERLINE}}},{key:"setDashArray",value:function(dashArray){if(Array.isArray(dashArray)&&0<dashArray.length){var isValid=!0,allZeros=!0,_iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _iterator=
dashArray[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var element=_step.value;if(0<=+element)0<element&&(allZeros=!1);else{isValid=!1;break}}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&null!=_iterator["return"])_iterator["return"]()}finally{if(_didIteratorError)throw _iteratorError;}}isValid&&!allZeros?this.dashArray=dashArray:this.width=0}else dashArray&&(this.width=0)}},{key:"setHorizontalCornerRadius",
value:function(radius){Number.isInteger(radius)&&(this.horizontalCornerRadius=radius)}},{key:"setVerticalCornerRadius",value:function(radius){Number.isInteger(radius)&&(this.verticalCornerRadius=radius)}}]);return AnnotationBorderStyle}();exports.AnnotationBorderStyle=AnnotationBorderStyle;module=function(_Annotation){function MarkupAnnotation(parameters){_classCallCheck(this,MarkupAnnotation);var _this2=_possibleConstructorReturn(this,_getPrototypeOf(MarkupAnnotation).call(this,parameters));parameters=
parameters.dict;if(parameters.has("IRT")){var rawIRT=parameters.getRaw("IRT");_this2.data.inReplyTo=(0,_primitives.isRef)(rawIRT)?rawIRT.toString():null;rawIRT=parameters.get("RT");_this2.data.replyType=(0,_primitives.isName)(rawIRT)?rawIRT.name:_util.AnnotationReplyType.REPLY}_this2.data.replyType===_util.AnnotationReplyType.GROUP?(parameters=parameters.get("IRT"),_this2.data.title=(0,_util.stringToPDFString)(parameters.get("T")||""),_this2.setContents(parameters.get("Contents")),_this2.data.contents=
_this2.contents,parameters.has("CreationDate")?(_this2.setCreationDate(parameters.get("CreationDate")),_this2.data.creationDate=_this2.creationDate):_this2.data.creationDate=null,parameters.has("M")?(_this2.setModificationDate(parameters.get("M")),_this2.data.modificationDate=_this2.modificationDate):_this2.data.modificationDate=null,_this2.data.hasPopup=parameters.has("Popup"),parameters.has("C")?(_this2.setColor(parameters.getArray("C")),_this2.data.color=_this2.color):_this2.data.color=null):(_this2.data.title=
(0,_util.stringToPDFString)(parameters.get("T")||""),_this2.setCreationDate(parameters.get("CreationDate")),_this2.data.creationDate=_this2.creationDate,_this2.data.hasPopup=parameters.has("Popup"),parameters.has("C")||(_this2.data.color=null));return _this2}_inherits(MarkupAnnotation,_Annotation);_createClass(MarkupAnnotation,[{key:"setCreationDate",value:function(creationDate){this.creationDate=(0,_util.isString)(creationDate)?creationDate:null}}]);return MarkupAnnotation}(Annotation);exports.MarkupAnnotation=
module;var WidgetAnnotation=function(_Annotation2){function WidgetAnnotation(params){_classCallCheck(this,WidgetAnnotation);var _this3=_possibleConstructorReturn(this,_getPrototypeOf(WidgetAnnotation).call(this,params));var dict=params.dict,data=_this3.data;data.annotationType=_util.AnnotationType.WIDGET;data.fieldName=_this3._constructFieldName(dict);data.fieldValue=(0,_core_utils.getInheritableProperty)({dict:dict,key:"V",getArray:!0});data.alternativeText=(0,_util.stringToPDFString)(dict.get("TU")||
"");data.defaultAppearance=(0,_core_utils.getInheritableProperty)({dict:dict,key:"DA"})||"";var fieldType=(0,_core_utils.getInheritableProperty)({dict:dict,key:"FT"});data.fieldType=(0,_primitives.isName)(fieldType)?fieldType.name:null;_this3.fieldResources=(0,_core_utils.getInheritableProperty)({dict:dict,key:"DR"})||_primitives.Dict.empty;data.fieldFlags=(0,_core_utils.getInheritableProperty)({dict:dict,key:"Ff"});if(!Number.isInteger(data.fieldFlags)||0>data.fieldFlags)data.fieldFlags=0;data.readOnly=
_this3.hasFieldFlag(_util.AnnotationFieldFlag.READONLY);data.hidden=_this3._hasFlag(_this3.flags,_util.AnnotationFlag.HIDDEN);data.isRequired=_this3.hasFieldFlag(_util.AnnotationFieldFlag.REQUIRED);"Sig"===data.fieldType&&(data.fieldValue=null,_this3.setFlags(_util.AnnotationFlag.HIDDEN));_obj.Catalog.parseDestDictionary({destDict:params.dict,resultObj:_this3.data,docBaseUrl:params.pdfManager.docBaseUrl});return _this3}_inherits(WidgetAnnotation,_Annotation2);_createClass(WidgetAnnotation,[{key:"_constructFieldName",
value:function(dict){if(!dict.has("T")&&!dict.has("Parent"))return(0,_util.warn)("Unknown field name, falling back to empty field name."),"";if(!dict.has("Parent"))return(0,_util.stringToPDFString)(dict.get("T"));var fieldName=[];for(dict.has("T")&&fieldName.unshift((0,_util.stringToPDFString)(dict.get("T")));dict.has("Parent");){dict=dict.get("Parent");if(!(0,_primitives.isDict)(dict))break;dict.has("T")&&fieldName.unshift((0,_util.stringToPDFString)(dict.get("T")))}return fieldName.join(".")}},
{key:"hasFieldFlag",value:function(flag){return!!(this.data.fieldFlags&flag)}},{key:"getOperatorList",value:function(evaluator,task,renderForms){return renderForms?Promise.resolve(new _operator_list.OperatorList):_get(_getPrototypeOf(WidgetAnnotation.prototype),"getOperatorList",this).call(this,evaluator,task,renderForms)}}]);return WidgetAnnotation}(Annotation),TextWidgetAnnotation=function(_WidgetAnnotation){function TextWidgetAnnotation(params){_classCallCheck(this,TextWidgetAnnotation);var _this4=
_possibleConstructorReturn(this,_getPrototypeOf(TextWidgetAnnotation).call(this,params));params=params.dict;_this4.data.fieldValue=(0,_util.stringToPDFString)(_this4.data.fieldValue||"");var alignment=(0,_core_utils.getInheritableProperty)({dict:params,key:"Q"});if(!Number.isInteger(alignment)||0>alignment||2<alignment)alignment=null;_this4.data.textAlignment=alignment;params=(0,_core_utils.getInheritableProperty)({dict:params,key:"MaxLen"});if(!Number.isInteger(params)||0>params)params=null;_this4.data.maxLen=
params;_this4.data.multiLine=_this4.hasFieldFlag(_util.AnnotationFieldFlag.MULTILINE);_this4.data.comb=_this4.hasFieldFlag(_util.AnnotationFieldFlag.COMB)&&!_this4.hasFieldFlag(_util.AnnotationFieldFlag.MULTILINE)&&!_this4.hasFieldFlag(_util.AnnotationFieldFlag.PASSWORD)&&!_this4.hasFieldFlag(_util.AnnotationFieldFlag.FILESELECT)&&null!==_this4.data.maxLen;return _this4}_inherits(TextWidgetAnnotation,_WidgetAnnotation);_createClass(TextWidgetAnnotation,[{key:"getOperatorList",value:function(evaluator,
task,renderForms){if(renderForms||this.appearance)return _get(_getPrototypeOf(TextWidgetAnnotation.prototype),"getOperatorList",this).call(this,evaluator,task,renderForms);var operatorList=new _operator_list.OperatorList;if(!this.data.defaultAppearance)return Promise.resolve(operatorList);renderForms=new _stream.Stream((0,_util.stringToBytes)(this.data.defaultAppearance));return evaluator.getOperatorList({stream:renderForms,task:task,resources:this.fieldResources,operatorList:operatorList}).then(function(){return operatorList})}}]);
return TextWidgetAnnotation}(WidgetAnnotation),ButtonWidgetAnnotation=function(_WidgetAnnotation2){function ButtonWidgetAnnotation(params){_classCallCheck(this,ButtonWidgetAnnotation);var _this5=_possibleConstructorReturn(this,_getPrototypeOf(ButtonWidgetAnnotation).call(this,params));_this5.data.checkBox=!_this5.hasFieldFlag(_util.AnnotationFieldFlag.RADIO)&&!_this5.hasFieldFlag(_util.AnnotationFieldFlag.PUSHBUTTON);_this5.data.radioButton=_this5.hasFieldFlag(_util.AnnotationFieldFlag.RADIO)&&!_this5.hasFieldFlag(_util.AnnotationFieldFlag.PUSHBUTTON);
_this5.data.pushButton=_this5.hasFieldFlag(_util.AnnotationFieldFlag.PUSHBUTTON);_this5.data.checkBox?_this5._processCheckBox(params):_this5.data.radioButton?_this5._processRadioButton(params):_this5.data.pushButton?_this5._processPushButton(params):(0,_util.warn)("Invalid field flags for button widget annotation");return _this5}_inherits(ButtonWidgetAnnotation,_WidgetAnnotation2);_createClass(ButtonWidgetAnnotation,[{key:"_processCheckBox",value:function(params){(0,_primitives.isName)(this.data.fieldValue)&&
(this.data.fieldValue=this.data.fieldValue.name);params=params.dict.get("AP");if((0,_primitives.isDict)(params)){var NValuesDict=params.get("N");if((0,_primitives.isDict)(NValuesDict)&&(NValuesDict=NValuesDict.getKeys())&&NValuesDict.length)for(var i=0;i<NValuesDict.length;i++){var key=NValuesDict[i];if("Off"!==key){this.data.widgetAP=key;break}}params=params.get("D");(0,_primitives.isDict)(params)&&(params=params.getKeys(),2===params.length&&(this.data.exportValue="Off"===params[0]?params[1]:params[0]))}}},
{key:"_processRadioButton",value:function(params){this.data.fieldValue=this.data.buttonValue=null;var fieldParent=params.dict.get("Parent");(0,_primitives.isDict)(fieldParent)&&fieldParent.has("V")&&(fieldParent=fieldParent.get("V"),(0,_primitives.isName)(fieldParent)&&(this.data.fieldValue=fieldParent.name));params=params.dict.get("AP");if((0,_primitives.isDict)(params)&&(params=params.get("N"),(0,_primitives.isDict)(params))){fieldParent=!0;var _didIteratorError2=!1,_iteratorError2=void 0;try{for(var _iterator2=
params.getKeys()[Symbol.iterator](),_step2;!(fieldParent=(_step2=_iterator2.next()).done);fieldParent=!0){var key=_step2.value;if("Off"!==key){this.data.buttonValue=key;break}}}catch(err){_didIteratorError2=!0,_iteratorError2=err}finally{try{if(!fieldParent&&null!=_iterator2["return"])_iterator2["return"]()}finally{if(_didIteratorError2)throw _iteratorError2;}}}}},{key:"_processPushButton",value:function(params){params.dict.has("A")?_obj.Catalog.parseDestDictionary({destDict:params.dict,resultObj:this.data,
docBaseUrl:params.pdfManager.docBaseUrl}):(0,_util.warn)("Push buttons without action dictionaries are not supported")}}]);return ButtonWidgetAnnotation}(WidgetAnnotation),ChoiceWidgetAnnotation=function(_WidgetAnnotation3){function ChoiceWidgetAnnotation(params){_classCallCheck(this,ChoiceWidgetAnnotation);var _this6=_possibleConstructorReturn(this,_getPrototypeOf(ChoiceWidgetAnnotation).call(this,params));_this6.data.options=[];var options=(0,_core_utils.getInheritableProperty)({dict:params.dict,
key:"Opt"});if(Array.isArray(options)){params=params.xref;for(var i=0,ii=options.length;i<ii;i++){var option=params.fetchIfRef(options[i]),isOptionArray=Array.isArray(option);_this6.data.options[i]={exportValue:isOptionArray?params.fetchIfRef(option[0]):option,displayValue:(0,_util.stringToPDFString)(isOptionArray?params.fetchIfRef(option[1]):option)}}}Array.isArray(_this6.data.fieldValue)||(_this6.data.fieldValue=[_this6.data.fieldValue]);_this6.data.combo=_this6.hasFieldFlag(_util.AnnotationFieldFlag.COMBO);
_this6.data.multiSelect=_this6.hasFieldFlag(_util.AnnotationFieldFlag.MULTISELECT);return _this6}_inherits(ChoiceWidgetAnnotation,_WidgetAnnotation3);return ChoiceWidgetAnnotation}(WidgetAnnotation),TextAnnotation=function(_MarkupAnnotation){function TextAnnotation(parameters){_classCallCheck(this,TextAnnotation);var _this7=_possibleConstructorReturn(this,_getPrototypeOf(TextAnnotation).call(this,parameters));parameters=parameters.dict;_this7.data.annotationType=_util.AnnotationType.TEXT;_this7.data.hasAppearance?
_this7.data.name="NoIcon":(_this7.data.rect[1]=_this7.data.rect[3]-22,_this7.data.rect[2]=_this7.data.rect[0]+22,_this7.data.name=parameters.has("Name")?parameters.get("Name").name:"Note");parameters.has("State")?(_this7.data.state=parameters.get("State")||null,_this7.data.stateModel=parameters.get("StateModel")||null):(_this7.data.state=null,_this7.data.stateModel=null);return _this7}_inherits(TextAnnotation,_MarkupAnnotation);return TextAnnotation}(module),LinkAnnotation=function(_Annotation3){function LinkAnnotation(params){_classCallCheck(this,
LinkAnnotation);var _this8=_possibleConstructorReturn(this,_getPrototypeOf(LinkAnnotation).call(this,params));_this8.data.annotationType=_util.AnnotationType.LINK;var quadPoints=getQuadPoints(params.dict,_this8.rectangle);quadPoints&&(_this8.data.quadPoints=quadPoints);_obj.Catalog.parseDestDictionary({destDict:params.dict,resultObj:_this8.data,docBaseUrl:params.pdfManager.docBaseUrl});return _this8}_inherits(LinkAnnotation,_Annotation3);return LinkAnnotation}(Annotation),PopupAnnotation=function(_Annotation4){function PopupAnnotation(parameters){_classCallCheck(this,
PopupAnnotation);var _this9=_possibleConstructorReturn(this,_getPrototypeOf(PopupAnnotation).call(this,parameters));_this9.data.annotationType=_util.AnnotationType.POPUP;var parentItem=parameters.dict.get("Parent");if(!parentItem)return(0,_util.warn)("Popup annotation has a missing or invalid parent annotation."),_possibleConstructorReturn(_this9);var parentSubtype=parentItem.get("Subtype");_this9.data.parentType=(0,_primitives.isName)(parentSubtype)?parentSubtype.name:null;parameters=parameters.dict.getRaw("Parent");
_this9.data.parentId=(0,_primitives.isRef)(parameters)?parameters.toString():null;parameters=parentItem.get("RT");(0,_primitives.isName)(parameters,_util.AnnotationReplyType.GROUP)&&(parentItem=parentItem.get("IRT"));parentItem.has("M")?(_this9.setModificationDate(parentItem.get("M")),_this9.data.modificationDate=_this9.modificationDate):_this9.data.modificationDate=null;parentItem.has("C")?(_this9.setColor(parentItem.getArray("C")),_this9.data.color=_this9.color):_this9.data.color=null;_this9.viewable||
(parameters=parentItem.get("F"),_this9._isViewable(parameters)&&_this9.setFlags(parameters));_this9.data.title=(0,_util.stringToPDFString)(parentItem.get("T")||"");_this9.data.contents=(0,_util.stringToPDFString)(parentItem.get("Contents")||"");return _this9}_inherits(PopupAnnotation,_Annotation4);return PopupAnnotation}(Annotation),FreeTextAnnotation=function(_MarkupAnnotation2){function FreeTextAnnotation(parameters){_classCallCheck(this,FreeTextAnnotation);parameters=_possibleConstructorReturn(this,
_getPrototypeOf(FreeTextAnnotation).call(this,parameters));parameters.data.annotationType=_util.AnnotationType.FREETEXT;return parameters}_inherits(FreeTextAnnotation,_MarkupAnnotation2);return FreeTextAnnotation}(module),LineAnnotation=function(_MarkupAnnotation3){function LineAnnotation(parameters){_classCallCheck(this,LineAnnotation);var _this11=_possibleConstructorReturn(this,_getPrototypeOf(LineAnnotation).call(this,parameters));_this11.data.annotationType=_util.AnnotationType.LINE;_this11.data.lineCoordinates=
_util.Util.normalizeRect(parameters.dict.getArray("L"));return _this11}_inherits(LineAnnotation,_MarkupAnnotation3);return LineAnnotation}(module),SquareAnnotation=function(_MarkupAnnotation4){function SquareAnnotation(parameters){_classCallCheck(this,SquareAnnotation);parameters=_possibleConstructorReturn(this,_getPrototypeOf(SquareAnnotation).call(this,parameters));parameters.data.annotationType=_util.AnnotationType.SQUARE;return parameters}_inherits(SquareAnnotation,_MarkupAnnotation4);return SquareAnnotation}(module),
CircleAnnotation=function(_MarkupAnnotation5){function CircleAnnotation(parameters){_classCallCheck(this,CircleAnnotation);parameters=_possibleConstructorReturn(this,_getPrototypeOf(CircleAnnotation).call(this,parameters));parameters.data.annotationType=_util.AnnotationType.CIRCLE;return parameters}_inherits(CircleAnnotation,_MarkupAnnotation5);return CircleAnnotation}(module),PolylineAnnotation=function(_MarkupAnnotation6){function PolylineAnnotation(parameters){_classCallCheck(this,PolylineAnnotation);
var _this14=_possibleConstructorReturn(this,_getPrototypeOf(PolylineAnnotation).call(this,parameters));_this14.data.annotationType=_util.AnnotationType.POLYLINE;parameters=parameters.dict.getArray("Vertices");_this14.data.vertices=[];for(var i=0,ii=parameters.length;i<ii;i+=2)_this14.data.vertices.push({x:parameters[i],y:parameters[i+1]});return _this14}_inherits(PolylineAnnotation,_MarkupAnnotation6);return PolylineAnnotation}(module),PolygonAnnotation=function(_PolylineAnnotation){function PolygonAnnotation(parameters){_classCallCheck(this,
PolygonAnnotation);parameters=_possibleConstructorReturn(this,_getPrototypeOf(PolygonAnnotation).call(this,parameters));parameters.data.annotationType=_util.AnnotationType.POLYGON;return parameters}_inherits(PolygonAnnotation,_PolylineAnnotation);return PolygonAnnotation}(PolylineAnnotation),CaretAnnotation=function(_MarkupAnnotation7){function CaretAnnotation(parameters){_classCallCheck(this,CaretAnnotation);parameters=_possibleConstructorReturn(this,_getPrototypeOf(CaretAnnotation).call(this,parameters));
parameters.data.annotationType=_util.AnnotationType.CARET;return parameters}_inherits(CaretAnnotation,_MarkupAnnotation7);return CaretAnnotation}(module),InkAnnotation=function(_MarkupAnnotation8){function InkAnnotation(parameters){_classCallCheck(this,InkAnnotation);var _this17=_possibleConstructorReturn(this,_getPrototypeOf(InkAnnotation).call(this,parameters));_this17.data.annotationType=_util.AnnotationType.INK;_this17.type="InkAnnotation";var xref=parameters.xref;parameters=parameters.dict.getArray("InkList");
_this17.data.inkLists=[];for(var i=0,ii=parameters.length;i<ii;++i){_this17.data.inkLists.push([]);for(var j=0,jj=parameters[i].length;j<jj;j+=2)_this17.data.inkLists[i].push({x:xref.fetchIfRef(parameters[i][j]),y:xref.fetchIfRef(parameters[i][j+1])})}return _this17}_inherits(InkAnnotation,_MarkupAnnotation8);return InkAnnotation}(module),HighlightAnnotation=function(_MarkupAnnotation9){function HighlightAnnotation(parameters){_classCallCheck(this,HighlightAnnotation);var _this18=_possibleConstructorReturn(this,
_getPrototypeOf(HighlightAnnotation).call(this,parameters));_this18.data.annotationType=_util.AnnotationType.HIGHLIGHT;if(parameters=getQuadPoints(parameters.dict,_this18.rectangle))_this18.data.quadPoints=parameters;return _this18}_inherits(HighlightAnnotation,_MarkupAnnotation9);return HighlightAnnotation}(module),UnderlineAnnotation=function(_MarkupAnnotation10){function UnderlineAnnotation(parameters){_classCallCheck(this,UnderlineAnnotation);var _this19=_possibleConstructorReturn(this,_getPrototypeOf(UnderlineAnnotation).call(this,
parameters));_this19.data.annotationType=_util.AnnotationType.UNDERLINE;if(parameters=getQuadPoints(parameters.dict,_this19.rectangle))_this19.data.quadPoints=parameters;return _this19}_inherits(UnderlineAnnotation,_MarkupAnnotation10);return UnderlineAnnotation}(module),SquigglyAnnotation=function(_MarkupAnnotation11){function SquigglyAnnotation(parameters){_classCallCheck(this,SquigglyAnnotation);var _this20=_possibleConstructorReturn(this,_getPrototypeOf(SquigglyAnnotation).call(this,parameters));
_this20.data.annotationType=_util.AnnotationType.SQUIGGLY;if(parameters=getQuadPoints(parameters.dict,_this20.rectangle))_this20.data.quadPoints=parameters;return _this20}_inherits(SquigglyAnnotation,_MarkupAnnotation11);return SquigglyAnnotation}(module),StrikeOutAnnotation=function(_MarkupAnnotation12){function StrikeOutAnnotation(parameters){_classCallCheck(this,StrikeOutAnnotation);var _this21=_possibleConstructorReturn(this,_getPrototypeOf(StrikeOutAnnotation).call(this,parameters));_this21.data.annotationType=
_util.AnnotationType.STRIKEOUT;if(parameters=getQuadPoints(parameters.dict,_this21.rectangle))_this21.data.quadPoints=parameters;return _this21}_inherits(StrikeOutAnnotation,_MarkupAnnotation12);return StrikeOutAnnotation}(module),StampAnnotation=function(_MarkupAnnotation13){function StampAnnotation(parameters){_classCallCheck(this,StampAnnotation);parameters=_possibleConstructorReturn(this,_getPrototypeOf(StampAnnotation).call(this,parameters));parameters.data.annotationType=_util.AnnotationType.STAMP;
return parameters}_inherits(StampAnnotation,_MarkupAnnotation13);return StampAnnotation}(module),FileAttachmentAnnotation=function(_MarkupAnnotation14){function FileAttachmentAnnotation(parameters){_classCallCheck(this,FileAttachmentAnnotation);var _this23=_possibleConstructorReturn(this,_getPrototypeOf(FileAttachmentAnnotation).call(this,parameters));parameters=new _obj.FileSpec(parameters.dict.get("FS"),parameters.xref);_this23.data.annotationType=_util.AnnotationType.FILEATTACHMENT;_this23.data.file=
parameters.serializable;return _this23}_inherits(FileAttachmentAnnotation,_MarkupAnnotation14);return FileAttachmentAnnotation}(module)},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});exports.OperatorList=void 0;var _util=__w_pdfjs_require__(5),QueueOptimizer=function(){function addState(parentState,pattern,checkFn,iterateFn,processFn){for(var i=0,ii=pattern.length-1;i<ii;i++){var item=pattern[i];parentState=parentState[item]||(parentState[item]=
[])}parentState[pattern[pattern.length-1]]={checkFn:checkFn,iterateFn:iterateFn,processFn:processFn}}function QueueOptimizer(queue){this.queue=queue;this.state=null;this.context={iCurr:0,fnArray:queue.fnArray,argsArray:queue.argsArray};this.match=null;this.lastProcessed=0}var InitialState=[];addState(InitialState,[_util.OPS.save,_util.OPS.transform,_util.OPS.paintInlineImageXObject,_util.OPS.restore],null,function(context,i){var fnArray=context.fnArray;context=(i-(context.iCurr-3))%4;switch(context){case 0:return fnArray[i]===
_util.OPS.save;case 1:return fnArray[i]===_util.OPS.transform;case 2:return fnArray[i]===_util.OPS.paintInlineImageXObject;case 3:return fnArray[i]===_util.OPS.restore}throw Error("iterateInlineImageGroup - invalid pos: ".concat(context));},function(context,i){var fnArray=context.fnArray,argsArray=context.argsArray,curr=context.iCurr;context=curr-3;var iFirstTransform=curr-2;--curr;var count=Math.min(Math.floor((i-context)/4),200);if(10>count)return i-(i-context)%4;var maxX=0;i=[];var maxLineHeight=
0,currentX=1,currentY=1,q;for(q=0;q<count;q++){var transform=argsArray[iFirstTransform+(q<<2)],img=argsArray[curr+(q<<2)][0];1E3<currentX+img.width&&(maxX=Math.max(maxX,currentX),currentY+=maxLineHeight+2,maxLineHeight=currentX=0);i.push({transform:transform,x:currentX,y:currentY,w:img.width,h:img.height});currentX+=img.width+2;maxLineHeight=Math.max(maxLineHeight,img.height)}iFirstTransform=Math.max(maxX,currentX)+1;maxLineHeight=currentY+maxLineHeight+1;currentY=new Uint8ClampedArray(iFirstTransform*
maxLineHeight*4);maxX=iFirstTransform<<2;for(q=0;q<count;q++){currentX=argsArray[curr+(q<<2)][0].data;transform=i[q].w<<2;img=0;var offset=i[q].x+i[q].y*iFirstTransform<<2;currentY.set(currentX.subarray(0,transform),offset-maxX);for(var k=0,kk=i[q].h;k<kk;k++)currentY.set(currentX.subarray(img,img+transform),offset),img+=transform,offset+=maxX;for(currentY.set(currentX.subarray(img-transform,img),offset);0<=offset;)currentX[offset-4]=currentX[offset],currentX[offset-3]=currentX[offset+1],currentX[offset-
2]=currentX[offset+2],currentX[offset-1]=currentX[offset+3],currentX[offset+transform]=currentX[offset+transform-4],currentX[offset+transform+1]=currentX[offset+transform-3],currentX[offset+transform+2]=currentX[offset+transform-2],currentX[offset+transform+3]=currentX[offset+transform-1],offset-=maxX}fnArray.splice(context,4*count,_util.OPS.paintInlineImageXObjectGroup);argsArray.splice(context,4*count,[{width:iFirstTransform,height:maxLineHeight,kind:_util.ImageKind.RGBA_32BPP,data:currentY},i]);
return context+1});addState(InitialState,[_util.OPS.save,_util.OPS.transform,_util.OPS.paintImageMaskXObject,_util.OPS.restore],null,function(context,i){var fnArray=context.fnArray;context=(i-(context.iCurr-3))%4;switch(context){case 0:return fnArray[i]===_util.OPS.save;case 1:return fnArray[i]===_util.OPS.transform;case 2:return fnArray[i]===_util.OPS.paintImageMaskXObject;case 3:return fnArray[i]===_util.OPS.restore}throw Error("iterateImageMaskGroup - invalid pos: ".concat(context));},function(context,
i$jscomp$0){var fnArray=context.fnArray,argsArray=context.argsArray,curr=context.iCurr;context=curr-3;var iFirstTransform=curr-2;--curr;for(var count=Math.floor((i$jscomp$0-context)/4),iFirstPIMXO=context+2,i=0;i<count;i++){var arg=argsArray[iFirstPIMXO+4*i];if((arg=1===arg.length&&arg[0])&&1===arg.width&&1===arg.height&&(!arg.data.length||1===arg.data.length&&0===arg.data[0]))fnArray[iFirstPIMXO+4*i]=_util.OPS.paintSolidColorImageMask;else break}count-=i;if(10>count)return i$jscomp$0-(i$jscomp$0-
context)%4;var isSameImage=!1;arg=argsArray[curr][0];if(0===argsArray[iFirstTransform][1]&&0===argsArray[iFirstTransform][2]){isSameImage=!0;var firstTransformArg0=argsArray[iFirstTransform][0],firstTransformArg3=argsArray[iFirstTransform][3];i=iFirstTransform+4;var iPIMXO=curr+4;for(i$jscomp$0=1;i$jscomp$0<count;i$jscomp$0++,i+=4,iPIMXO+=4)if(iFirstPIMXO=argsArray[i],argsArray[iPIMXO][0]!==arg||iFirstPIMXO[0]!==firstTransformArg0||0!==iFirstPIMXO[1]||0!==iFirstPIMXO[2]||iFirstPIMXO[3]!==firstTransformArg3){10>
i$jscomp$0?isSameImage=!1:count=i$jscomp$0;break}}if(isSameImage){count=Math.min(count,1E3);curr=new Float32Array(2*count);i=iFirstTransform;for(i$jscomp$0=0;i$jscomp$0<count;i$jscomp$0++,i+=4)iFirstPIMXO=argsArray[i],curr[i$jscomp$0<<1]=iFirstPIMXO[4],curr[(i$jscomp$0<<1)+1]=iFirstPIMXO[5];fnArray.splice(context,4*count,_util.OPS.paintImageMaskXObjectRepeat);argsArray.splice(context,4*count,[arg,firstTransformArg0,firstTransformArg3,curr])}else{count=Math.min(count,100);firstTransformArg0=[];for(i$jscomp$0=
0;i$jscomp$0<count;i$jscomp$0++)iFirstPIMXO=argsArray[iFirstTransform+(i$jscomp$0<<2)],firstTransformArg3=argsArray[curr+(i$jscomp$0<<2)][0],firstTransformArg0.push({data:firstTransformArg3.data,width:firstTransformArg3.width,height:firstTransformArg3.height,transform:iFirstPIMXO});fnArray.splice(context,4*count,_util.OPS.paintImageMaskXObjectGroup);argsArray.splice(context,4*count,[firstTransformArg0])}return context+1});addState(InitialState,[_util.OPS.save,_util.OPS.transform,_util.OPS.paintImageXObject,
_util.OPS.restore],function(context){var argsArray=context.argsArray;context=context.iCurr-2;return 0===argsArray[context][1]&&0===argsArray[context][2]},function(context,i){var fnArray=context.fnArray,argsArray=context.argsArray,pos=(i-(context.iCurr-3))%4;switch(pos){case 0:return fnArray[i]===_util.OPS.save;case 1:if(fnArray[i]!==_util.OPS.transform)return!1;context=context.iCurr-2;fnArray=argsArray[context][3];return argsArray[i][0]!==argsArray[context][0]||0!==argsArray[i][1]||0!==argsArray[i][2]||
argsArray[i][3]!==fnArray?!1:!0;case 2:return fnArray[i]!==_util.OPS.paintImageXObject||argsArray[i][0]!==argsArray[context.iCurr-1][0]?!1:!0;case 3:return fnArray[i]===_util.OPS.restore}throw Error("iterateImageGroup - invalid pos: ".concat(pos));},function(context,i){var fnArray=context.fnArray,argsArray=context.argsArray,curr=context.iCurr;context=curr-3;var iFirstTransform=curr-2,firstPIXOArg0=argsArray[curr-1][0],firstTransformArg0=argsArray[iFirstTransform][0],firstTransformArg3=argsArray[iFirstTransform][3];
curr=Math.min(Math.floor((i-context)/4),1E3);if(3>curr)return i-(i-context)%4;i=new Float32Array(2*curr);for(var q=0;q<curr;q++,iFirstTransform+=4){var transformArgs=argsArray[iFirstTransform];i[q<<1]=transformArgs[4];i[(q<<1)+1]=transformArgs[5]}firstPIXOArg0=[firstPIXOArg0,firstTransformArg0,firstTransformArg3,i];fnArray.splice(context,4*curr,_util.OPS.paintImageXObjectRepeat);argsArray.splice(context,4*curr,firstPIXOArg0);return context+1});addState(InitialState,[_util.OPS.beginText,_util.OPS.setFont,
_util.OPS.setTextMatrix,_util.OPS.showText,_util.OPS.endText],null,function(context,i){var fnArray=context.fnArray,argsArray=context.argsArray,pos=(i-(context.iCurr-4))%5;switch(pos){case 0:return fnArray[i]===_util.OPS.beginText;case 1:return fnArray[i]===_util.OPS.setFont;case 2:return fnArray[i]===_util.OPS.setTextMatrix;case 3:if(fnArray[i]!==_util.OPS.showText)return!1;context=context.iCurr-3;fnArray=argsArray[context][1];return argsArray[i][0]!==argsArray[context][0]||argsArray[i][1]!==fnArray?
!1:!0;case 4:return fnArray[i]===_util.OPS.endText}throw Error("iterateShowTextGroup - invalid pos: ".concat(pos));},function(context,i){var fnArray=context.fnArray,argsArray=context.argsArray,curr=context.iCurr,iFirstBeginText=curr-4,iFirstSetFont=curr-3,firstSetFontArg0=argsArray[iFirstSetFont][0],firstSetFontArg1=argsArray[iFirstSetFont][1];context=Math.min(Math.floor((i-iFirstBeginText)/5),1E3);if(3>context)return i-(i-iFirstBeginText)%5;i=iFirstBeginText;4<=iFirstBeginText&&fnArray[iFirstBeginText-
4]===fnArray[iFirstSetFont]&&fnArray[iFirstBeginText-3]===fnArray[curr-2]&&fnArray[iFirstBeginText-2]===fnArray[curr-1]&&fnArray[iFirstBeginText-1]===fnArray[curr]&&argsArray[iFirstBeginText-4][0]===firstSetFontArg0&&argsArray[iFirstBeginText-4][1]===firstSetFontArg1&&(context++,i-=5);i+=4;for(curr=1;curr<context;curr++)fnArray.splice(i,3),argsArray.splice(i,3),i+=2;return i+1});QueueOptimizer.prototype={_optimize:function(){var fnArray=this.queue.fnArray,i=this.lastProcessed,ii=fnArray.length,state=
this.state,match=this.match;if(state||match||i+1!==ii||InitialState[fnArray[i]]){for(var context=this.context;i<ii;){if(match){if((0,match.iterateFn)(context,i)){i++;continue}i=(0,match.processFn)(context,i+1);ii=fnArray.length;state=match=null;if(i>=ii)break}state=(state||InitialState)[fnArray[i]];if(!state||Array.isArray(state))i++;else{context.iCurr=i;i++;if(!state.checkFn||(0,state.checkFn)(context))match=state;state=null}}this.state=state;this.match=match;this.lastProcessed=i}else this.lastProcessed=
ii},push:function(fn,args){this.queue.fnArray.push(fn);this.queue.argsArray.push(args);this._optimize()},flush:function(){for(;this.match;)this.lastProcessed=(0,this.match.processFn)(this.context,this.queue.fnArray.length),this.state=this.match=null,this._optimize()},reset:function(){this.match=this.state=null;this.lastProcessed=0}};return QueueOptimizer}(),NullOptimizer=function(){function NullOptimizer(queue){this.queue=queue}NullOptimizer.prototype={push:function(fn,args){this.queue.fnArray.push(fn);
this.queue.argsArray.push(args)},flush:function(){},reset:function(){}};return NullOptimizer}();module=function(){function OperatorList(intent,streamSink,pageIndex){this._streamSink=streamSink;this.fnArray=[];this.argsArray=[];this.optimizer=streamSink&&"oplist"!==intent?new QueueOptimizer(this):new NullOptimizer(this);this.dependencies=Object.create(null);this._totalLength=0;this.pageIndex=pageIndex;this.intent=intent;this.weight=0;this._resolved=streamSink?null:Promise.resolve()}OperatorList.prototype=
{get length(){return this.argsArray.length},get ready(){return this._resolved||this._streamSink.ready},get totalLength(){return this._totalLength+this.length},addOp:function(fn,args){this.optimizer.push(fn,args);this.weight++;this._streamSink&&(1E3<=this.weight?this.flush():995<=this.weight&&(fn===_util.OPS.restore||fn===_util.OPS.endText)&&this.flush())},addDependency:function(dependency){dependency in this.dependencies||(this.dependencies[dependency]=!0,this.addOp(_util.OPS.dependency,[dependency]))},
addDependencies:function(dependencies){for(var key in dependencies)this.addDependency(key)},addOpList:function(opList){Object.assign(this.dependencies,opList.dependencies);for(var i=0,ii=opList.length;i<ii;i++)this.addOp(opList.fnArray[i],opList.argsArray[i])},getIR:function(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}},get _transfers(){for(var transfers=[],fnArray=this.fnArray,argsArray=this.argsArray,length=this.length,i=0;i<length;i++)switch(fnArray[i]){case _util.OPS.paintInlineImageXObject:case _util.OPS.paintInlineImageXObjectGroup:case _util.OPS.paintImageMaskXObject:var arg=
argsArray[i][0];arg.cached||transfers.push(arg.data.buffer)}return transfers},flush:function(){var lastChunk=0<arguments.length&&void 0!==arguments[0]?arguments[0]:!1;this.optimizer.flush();var length=this.length;this._totalLength+=length;this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:lastChunk,length:length},1,this._transfers);this.dependencies=Object.create(null);this.fnArray.length=0;this.weight=this.argsArray.length=0;this.optimizer.reset()}};return OperatorList}();
exports.OperatorList=module},function(module,exports,__w_pdfjs_require__){function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){reject(error);return}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,
resolve,reject,_next,_throw,"throw",err)}var gen=fn.apply(self,args);_next(void 0)})}}Object.defineProperty(exports,"__esModule",{value:!0});exports.PartialEvaluator=void 0;var _regenerator=function(obj){return obj&&obj.__esModule?obj:{"default":obj}}(__w_pdfjs_require__(2)),_util=__w_pdfjs_require__(5),_cmap=__w_pdfjs_require__(210),_primitives=__w_pdfjs_require__(188),_fonts=__w_pdfjs_require__(211),_encodings=__w_pdfjs_require__(214),_unicode=__w_pdfjs_require__(217),_standard_fonts=__w_pdfjs_require__(216),
_pattern=__w_pdfjs_require__(220),_parser=__w_pdfjs_require__(194),_bidi=__w_pdfjs_require__(221),_colorspace=__w_pdfjs_require__(206),_stream=__w_pdfjs_require__(195),_glyphlist=__w_pdfjs_require__(215),_core_utils=__w_pdfjs_require__(191),_metrics=__w_pdfjs_require__(222),_function=__w_pdfjs_require__(223),_jpeg_stream=__w_pdfjs_require__(201),_murmurhash=__w_pdfjs_require__(225),_image_utils=__w_pdfjs_require__(226),_operator_list=__w_pdfjs_require__(208),_image=__w_pdfjs_require__(227),PartialEvaluator=
function(){function PartialEvaluator(_ref){var _this=this,handler=_ref.handler,pageIndex=_ref.pageIndex,idFactory=_ref.idFactory,fontCache=_ref.fontCache,builtInCMapCache=_ref.builtInCMapCache,_ref$options=_ref.options,pdfFunctionFactory=_ref.pdfFunctionFactory;this.xref=_ref.xref;this.handler=handler;this.pageIndex=pageIndex;this.idFactory=idFactory;this.fontCache=fontCache;this.builtInCMapCache=builtInCMapCache;this.options=(void 0===_ref$options?null:_ref$options)||DefaultPartialEvaluatorOptions;
this.pdfFunctionFactory=pdfFunctionFactory;this.parsingType3Font=!1;this.fetchBuiltInCMap=function(){var _ref2=_asyncToGenerator(_regenerator["default"].mark(function _callee(name){var readableStream,reader,data;return _regenerator["default"].wrap(function(_context){for(;;)switch(_context.prev=_context.next){case 0:if(!_this.builtInCMapCache.has(name)){_context.next=2;break}return _context.abrupt("return",_this.builtInCMapCache.get(name));case 2:return readableStream=_this.handler.sendWithStream("FetchBuiltInCMap",
{name:name}),reader=readableStream.getReader(),_context.next=6,new Promise(function(resolve,reject){function pump(){reader.read().then(function(_ref3){_ref3.done||(resolve(_ref3.value),pump())},reject)}pump()});case 6:return data=_context.sent,data.compressionType!==_util.CMapCompressionType.NONE&&_this.builtInCMapCache.set(name,data),_context.abrupt("return",data);case 9:case "end":return _context.stop()}},_callee)}));return function(_x){return _ref2.apply(this,arguments)}}()}function TimeSlotManager(){this.reset()}
function normalizeBlendMode(value){var parsingArray=1<arguments.length&&void 0!==arguments[1]?arguments[1]:!1;if(Array.isArray(value)){parsingArray=0;for(var ii=value.length;parsingArray<ii;parsingArray++){var maybeBM=normalizeBlendMode(value[parsingArray],!0);if(maybeBM)return maybeBM}(0,_util.warn)("Unsupported blend mode Array: ".concat(value));return"source-over"}if(!(0,_primitives.isName)(value))return parsingArray?null:"source-over";switch(value.name){case "Normal":case "Compatible":return"source-over";
case "Multiply":return"multiply";case "Screen":return"screen";case "Overlay":return"overlay";case "Darken":return"darken";case "Lighten":return"lighten";case "ColorDodge":return"color-dodge";case "ColorBurn":return"color-burn";case "HardLight":return"hard-light";case "SoftLight":return"soft-light";case "Difference":return"difference";case "Exclusion":return"exclusion";case "Hue":return"hue";case "Saturation":return"saturation";case "Color":return"color";case "Luminosity":return"luminosity"}if(parsingArray)return null;
(0,_util.warn)("Unsupported blend mode: ".concat(value.name));return"source-over"}var DefaultPartialEvaluatorOptions={forceDataSchema:!1,maxImageSize:-1,disableFontFace:!1,nativeImageDecoderSupport:_util.NativeImageDecoding.DECODE,ignoreErrors:!1,isEvalSupported:!0};TimeSlotManager.prototype={check:function(){if(100>++this.checked)return!1;this.checked=0;return this.endTime<=Date.now()},reset:function(){this.endTime=Date.now()+20;this.checked=0}};var deferred=Promise.resolve();PartialEvaluator.prototype=
{clone:function(){var newOptions=0<arguments.length&&void 0!==arguments[0]?arguments[0]:DefaultPartialEvaluatorOptions,newEvaluator=Object.create(this);newEvaluator.options=newOptions;return newEvaluator},hasBlendModes:function(resources){if(!(resources instanceof _primitives.Dict))return!1;var processed=Object.create(null);resources.objId&&(processed[resources.objId]=!0);resources=[resources];for(var xref=this.xref;resources.length;){var node=resources.shift(),graphicStates=node.get("ExtGState");
if(graphicStates instanceof _primitives.Dict)for(var graphicStatesKeys=graphicStates.getKeys(),i=0,ii=graphicStatesKeys.length;i<ii;i++){var graphicState=graphicStates.getRaw(graphicStatesKeys[i]);if(graphicState instanceof _primitives.Ref){if(processed[graphicState.toString()])continue;graphicState=xref.fetch(graphicState)}if(graphicState instanceof _primitives.Dict)if(graphicState.objId&&(processed[graphicState.objId]=!0),graphicState=graphicState.get("BM"),graphicState instanceof _primitives.Name){if("Normal"!==
graphicState.name)return!0}else if(void 0!==graphicState&&Array.isArray(graphicState))for(var j=0,jj=graphicState.length;j<jj;j++)if(graphicState[j]instanceof _primitives.Name&&"Normal"!==graphicState[j].name)return!0}node=node.get("XObject");if(node instanceof _primitives.Dict)for(graphicStates=node.getKeys(),graphicStatesKeys=0,i=graphicStates.length;graphicStatesKeys<i;graphicStatesKeys++){ii=node.getRaw(graphicStates[graphicStatesKeys]);if(ii instanceof _primitives.Ref){if(processed[ii.toString()])continue;
ii=xref.fetch(ii)}if((0,_primitives.isStream)(ii)){if(ii.dict.objId){if(processed[ii.dict.objId])continue;processed[ii.dict.objId]=!0}ii=ii.dict.get("Resources");!(ii instanceof _primitives.Dict)||ii.objId&&processed[ii.objId]||(resources.push(ii),ii.objId&&(processed[ii.objId]=!0))}}}return!1},buildFormXObject:function(){var _buildFormXObject=_asyncToGenerator(_regenerator["default"].mark(function _callee2(resources,xobj,smask,operatorList,task,initialState){var dict,matrix,bbox,group,groupOptions,
groupSubtype,colorSpace;return _regenerator["default"].wrap(function(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:dict=xobj.dict;matrix=dict.getArray("Matrix");bbox=dict.getArray("BBox");bbox=Array.isArray(bbox)&&4===bbox.length?_util.Util.normalizeRect(bbox):null;group=dict.get("Group");if(!group){_context2.next=18;break}groupOptions={matrix:matrix,bbox:bbox,smask:smask,isolated:!1,knockout:!1};groupSubtype=group.get("S");colorSpace=null;if(!(0,_primitives.isName)(groupSubtype,
"Transparency")){_context2.next=16;break}groupOptions.isolated=group.get("I")||!1;groupOptions.knockout=group.get("K")||!1;if(!group.has("CS")){_context2.next=16;break}_context2.next=15;return this.parseColorSpace({cs:group.get("CS"),resources:resources});case 15:colorSpace=_context2.sent;case 16:smask&&smask.backdrop&&(colorSpace=colorSpace||_colorspace.ColorSpace.singletons.rgb,smask.backdrop=colorSpace.getRgb(smask.backdrop,0)),operatorList.addOp(_util.OPS.beginGroup,[groupOptions]);case 18:return operatorList.addOp(_util.OPS.paintFormXObjectBegin,
[matrix,bbox]),_context2.abrupt("return",this.getOperatorList({stream:xobj,task:task,resources:dict.get("Resources")||resources,operatorList:operatorList,initialState:initialState}).then(function(){operatorList.addOp(_util.OPS.paintFormXObjectEnd,[]);group&&operatorList.addOp(_util.OPS.endGroup,[groupOptions])}));case 20:case "end":return _context2.stop()}},_callee2,this)}));return function(_x2,_x3,_x4,_x5,_x6,_x7){return _buildFormXObject.apply(this,arguments)}}(),buildPaintImageXObject:function(){var _buildPaintImageXObject=
_asyncToGenerator(_regenerator["default"].mark(function _callee3(_ref4){var _this2=this,resources,image,_ref4$isInline,isInline,operatorList,cacheKey,imageCache,_ref4$forceDisableNat,forceDisableNativeImageDecoder,dict,w,h,maxImageSize,imageMask,imgData,args,width,height,bitStrideLength,imgArray,decode,softMask,mask,imageObj,nativeImageDecoderSupport,objId,nativeImageDecoder,imgPromise;return _regenerator["default"].wrap(function(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:resources=
_ref4.resources;image=_ref4.image;_ref4$isInline=_ref4.isInline;isInline=void 0===_ref4$isInline?!1:_ref4$isInline;operatorList=_ref4.operatorList;cacheKey=_ref4.cacheKey;imageCache=_ref4.imageCache;_ref4$forceDisableNat=_ref4.forceDisableNativeImageDecoder;forceDisableNativeImageDecoder=void 0===_ref4$forceDisableNat?!1:_ref4$forceDisableNat;dict=image.dict;w=dict.get("Width","W");h=dict.get("Height","H");if(w&&(0,_util.isNum)(w)&&h&&(0,_util.isNum)(h)){_context3.next=7;break}(0,_util.warn)("Image dimensions are missing, or not numbers.");
return _context3.abrupt("return",void 0);case 7:maxImageSize=this.options.maxImageSize;if(!(-1!==maxImageSize&&w*h>maxImageSize)){_context3.next=11;break}(0,_util.warn)("Image exceeded maximum allowed size and was removed.");return _context3.abrupt("return",void 0);case 11:imageMask=dict.get("ImageMask","IM")||!1;if(!imageMask){_context3.next=24;break}width=dict.get("Width","W");height=dict.get("Height","H");bitStrideLength=width+7>>3;imgArray=image.getBytes(bitStrideLength*height,!0);decode=dict.getArray("Decode",
"D");imgData=_image.PDFImage.createMask({imgArray:imgArray,width:width,height:height,imageIsFromDecodeStream:image instanceof _stream.DecodeStream,inverseDecode:!!decode&&0<decode[0]});imgData.cached=!!cacheKey;args=[imgData];operatorList.addOp(_util.OPS.paintImageMaskXObject,args);cacheKey&&(imageCache[cacheKey]={fn:_util.OPS.paintImageMaskXObject,args:args});return _context3.abrupt("return",void 0);case 24:softMask=dict.get("SMask","SM")||!1;mask=dict.get("Mask")||!1;if(!isInline||softMask||mask||
image instanceof _jpeg_stream.JpegStream||!(200>w+h)){_context3.next=32;break}imageObj=new _image.PDFImage({xref:this.xref,res:resources,image:image,isInline:isInline,pdfFunctionFactory:this.pdfFunctionFactory});imgData=imageObj.createImageData(!0);operatorList.addOp(_util.OPS.paintInlineImageXObject,[imgData]);return _context3.abrupt("return",void 0);case 32:nativeImageDecoderSupport=forceDisableNativeImageDecoder?_util.NativeImageDecoding.NONE:this.options.nativeImageDecoderSupport;objId="img_".concat(this.idFactory.createObjId());
this.parsingType3Font&&((0,_util.assert)(nativeImageDecoderSupport===_util.NativeImageDecoding.NONE,"Type3 image resources should be completely decoded in the worker."),objId="".concat(this.idFactory.getDocId(),"_type3res_").concat(objId));if(nativeImageDecoderSupport===_util.NativeImageDecoding.NONE||softMask||mask||!(image instanceof _jpeg_stream.JpegStream)||!_image_utils.NativeImageDecoder.isSupported(image,this.xref,resources,this.pdfFunctionFactory)){_context3.next=37;break}return _context3.abrupt("return",
this.handler.sendWithPromise("obj",[objId,this.pageIndex,"JpegStream",image.getIR(this.options.forceDataSchema)]).then(function(){operatorList.addDependency(objId);args=[objId,w,h];operatorList.addOp(_util.OPS.paintJpegXObject,args);cacheKey&&(imageCache[cacheKey]={fn:_util.OPS.paintJpegXObject,args:args})},function(reason){(0,_util.warn)("Native JPEG decoding failed -- trying to recover: ".concat(reason&&reason.message));return _this2.buildPaintImageXObject({resources:resources,image:image,isInline:isInline,
operatorList:operatorList,cacheKey:cacheKey,imageCache:imageCache,forceDisableNativeImageDecoder:!0})}));case 37:nativeImageDecoder=null;nativeImageDecoderSupport===_util.NativeImageDecoding.DECODE&&(image instanceof _jpeg_stream.JpegStream||mask instanceof _jpeg_stream.JpegStream||softMask instanceof _jpeg_stream.JpegStream)&&(nativeImageDecoder=new _image_utils.NativeImageDecoder({xref:this.xref,resources:resources,handler:this.handler,forceDataSchema:this.options.forceDataSchema,pdfFunctionFactory:this.pdfFunctionFactory}));
operatorList.addDependency(objId);args=[objId,w,h];imgPromise=_image.PDFImage.buildImage({handler:this.handler,xref:this.xref,res:resources,image:image,isInline:isInline,nativeDecoder:nativeImageDecoder,pdfFunctionFactory:this.pdfFunctionFactory}).then(function(imageObj){imageObj=imageObj.createImageData(!1);if(_this2.parsingType3Font)return _this2.handler.sendWithPromise("commonobj",[objId,"FontType3Res",imageObj],[imageObj.data.buffer]);_this2.handler.send("obj",[objId,_this2.pageIndex,"Image",
imageObj],[imageObj.data.buffer])})["catch"](function(reason){(0,_util.warn)("Unable to decode image: ".concat(reason));if(_this2.parsingType3Font)return _this2.handler.sendWithPromise("commonobj",[objId,"FontType3Res",null]);_this2.handler.send("obj",[objId,_this2.pageIndex,"Image",null])});if(!this.parsingType3Font){_context3.next=45;break}_context3.next=45;return imgPromise;case 45:return operatorList.addOp(_util.OPS.paintImageXObject,args),cacheKey&&(imageCache[cacheKey]={fn:_util.OPS.paintImageXObject,
args:args}),_context3.abrupt("return",void 0);case 48:case "end":return _context3.stop()}},_callee3,this)}));return function(_x8){return _buildPaintImageXObject.apply(this,arguments)}}(),handleSMask:function(smask,resources,operatorList,task,stateManager){var smaskContent=smask.get("G"),smaskOptions={subtype:smask.get("S").name,backdrop:smask.get("BC")};smask=smask.get("TR");if((0,_function.isPDFFunction)(smask)){smask=this.pdfFunctionFactory.create(smask);for(var transferMap=new Uint8Array(256),
tmp=new Float32Array(1),i=0;256>i;i++)tmp[0]=i/255,smask(tmp,0,tmp,0),transferMap[i]=255*tmp[0]|0;smaskOptions.transferMap=transferMap}return this.buildFormXObject(resources,smaskContent,smaskOptions,operatorList,task,stateManager.state.clone())},handleTilingType:function(fn,args,resources,pattern,patternDict,operatorList,task){var _this3=this,tilingOpList=new _operator_list.OperatorList;resources=[patternDict.get("Resources"),resources];resources=_primitives.Dict.merge(this.xref,resources);return this.getOperatorList({stream:pattern,
task:task,resources:resources,operatorList:tilingOpList}).then(function(){return(0,_pattern.getTilingPatternIR)({fnArray:tilingOpList.fnArray,argsArray:tilingOpList.argsArray},patternDict,args)}).then(function(tilingPatternIR){operatorList.addDependencies(tilingOpList.dependencies);operatorList.addOp(fn,tilingPatternIR)},function(reason){if(!(reason instanceof _util.AbortException))if(_this3.options.ignoreErrors)_this3.handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.unknown}),
(0,_util.warn)('handleTilingType - ignoring pattern: "'.concat(reason,'".'));else throw reason;})},handleSetFont:function(resources,fontArgs,fontRef,operatorList,task,state){var _this4=this;if(fontArgs){fontArgs=fontArgs.slice();var fontName=fontArgs[0].name}return this.loadFont(fontName,fontRef,resources).then(function(translated){return translated.font.isType3Font?translated.loadType3Data(_this4,resources,operatorList,task).then(function(){return translated})["catch"](function(reason){_this4.handler.send("UnsupportedFeature",
{featureId:_util.UNSUPPORTED_FEATURES.font});return new TranslatedFont("g_font_error",new _fonts.ErrorFont("Type3 font load error: ".concat(reason)),translated.font)}):translated}).then(function(translated){state.font=translated.font;translated.send(_this4.handler);return translated.loadedName})},handleText:function(chars,state){var font=state.font;chars=font.charsToGlyphs(chars);font.data&&(state.textRenderingMode&_util.TextRenderingMode.ADD_TO_PATH_FLAG||"Pattern"===state.fillColorSpace.name||font.disableFontFace||
this.options.disableFontFace)&&PartialEvaluator.buildFontPaths(font,chars,this.handler);return chars},setGState:function(resources,gState,operatorList,task,stateManager){for(var _this5=this,gStateObj=[],gStateKeys=gState.getKeys(),promise=Promise.resolve(),_loop=function(){var key=gStateKeys[i],value=gState.get(key);switch(key){case "Type":break;case "LW":case "LC":case "LJ":case "ML":case "D":case "RI":case "FL":case "CA":case "ca":gStateObj.push([key,value]);break;case "Font":promise=promise.then(function(){return _this5.handleSetFont(resources,
null,value[0],operatorList,task,stateManager.state).then(function(loadedName){operatorList.addDependency(loadedName);gStateObj.push([key,[loadedName,value[1]]])})});break;case "BM":gStateObj.push([key,normalizeBlendMode(value)]);break;case "SMask":if((0,_primitives.isName)(value,"None")){gStateObj.push([key,!1]);break}(0,_primitives.isDict)(value)?(promise=promise.then(function(){return _this5.handleSMask(value,resources,operatorList,task,stateManager)}),gStateObj.push([key,!0])):(0,_util.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,_util.info)("graphic state operator ".concat(key));break;default:(0,_util.info)("Unknown graphic state operator ".concat(key))}},i=0,ii=gStateKeys.length;i<ii;i++)_loop();return promise.then(function(){0<gStateObj.length&&operatorList.addOp(_util.OPS.setGState,[gStateObj])})},loadFont:function(fontName,font,resources){function errorFont(){return Promise.resolve(new TranslatedFont("g_font_error",
new _fonts.ErrorFont("Font ".concat(fontName," is not available")),font))}var _this6=this,xref=this.xref;if(font){if(!(0,_primitives.isRef)(font))throw new _util.FormatError('The "font" object should be a reference.');var fontRef=font}else(resources=resources.get("Font"))&&(fontRef=resources.getRaw(fontName));if(!fontRef){fontRef='Font "'.concat(fontName||font&&font.toString(),'" is not available');if(!this.options.ignoreErrors&&!this.parsingType3Font)return(0,_util.warn)("".concat(fontRef,".")),
errorFont();this.handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.font});(0,_util.warn)("".concat(fontRef," -- attempting to fallback to a default font."));fontRef=new _primitives.Dict;fontRef.set("BaseFont",_primitives.Name.get("PDFJS-FallbackFont"));fontRef.set("Type",_primitives.Name.get("FallbackType"));fontRef.set("Subtype",_primitives.Name.get("FallbackType"));fontRef.set("Encoding",_primitives.Name.get("WinAnsiEncoding"))}if(this.fontCache.has(fontRef))return this.fontCache.get(fontRef);
font=xref.fetchIfRef(fontRef);if(!(0,_primitives.isDict)(font))return errorFont();if(font.translated)return font.translated;var fontCapability=(0,_util.createPromiseCapability)(),preEvaluatedFont=this.preEvaluateFont(font),descriptor=preEvaluatedFont.descriptor;resources=preEvaluatedFont.hash;var fontRefIsRef=(0,_primitives.isRef)(fontRef),fontID;fontRefIsRef&&(fontID=fontRef.toString());if(resources&&(0,_primitives.isDict)(descriptor)){descriptor.fontAliases||(descriptor.fontAliases=Object.create(null));
fontID=descriptor.fontAliases;if(fontID[resources]){var aliasFontRef=fontID[resources].aliasRef;if(fontRefIsRef&&aliasFontRef&&this.fontCache.has(aliasFontRef))return this.fontCache.putAlias(fontRef,aliasFontRef),this.fontCache.get(fontRef)}else fontID[resources]={fontID:_fonts.Font.getFontID()};fontRefIsRef&&(fontID[resources].aliasRef=fontRef);fontID=fontID[resources].fontID}fontRefIsRef?this.fontCache.put(fontRef,fontCapability.promise):(fontID||(fontID=this.idFactory.createObjId()),this.fontCache.put("id_".concat(fontID),
fontCapability.promise));(0,_util.assert)(fontID,'The "fontID" must be defined.');font.loadedName="".concat(this.idFactory.getDocId(),"_f").concat(fontID);font.translated=fontCapability.promise;try{var translatedPromise=this.translateFont(preEvaluatedFont)}catch(e){translatedPromise=Promise.reject(e)}translatedPromise.then(function(translatedFont){void 0!==translatedFont.fontType&&(xref.stats.fontTypes[translatedFont.fontType]=!0);fontCapability.resolve(new TranslatedFont(font.loadedName,translatedFont,
font))})["catch"](function(reason){_this6.handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.font});try{var fontFile3=descriptor&&descriptor.get("FontFile3"),subtype=fontFile3&&fontFile3.get("Subtype"),fontType=(0,_fonts.getFontType)(preEvaluatedFont.type,subtype&&subtype.name);xref.stats.fontTypes[fontType]=!0}catch(ex){}fontCapability.resolve(new TranslatedFont(font.loadedName,new _fonts.ErrorFont(reason instanceof Error?reason.message:reason),font))});return fontCapability.promise},
buildPath:function(operatorList,fn,args){var parsingText=3<arguments.length&&void 0!==arguments[3]?arguments[3]:!1,lastIndex=operatorList.length-1;args||(args=[]);0>lastIndex||operatorList.fnArray[lastIndex]!==_util.OPS.constructPath?(parsingText&&((0,_util.warn)('Encountered path operator "'.concat(fn,'" inside of a text object.')),operatorList.addOp(_util.OPS.save,null)),operatorList.addOp(_util.OPS.constructPath,[[fn],args]),parsingText&&operatorList.addOp(_util.OPS.restore,null)):(parsingText=
operatorList.argsArray[lastIndex],parsingText[0].push(fn),Array.prototype.push.apply(parsingText[1],args))},parseColorSpace:function(_ref5){var _this7=this,cs=_ref5.cs,resources=_ref5.resources;return(new Promise(function(resolve){resolve(_colorspace.ColorSpace.parse(cs,_this7.xref,resources,_this7.pdfFunctionFactory))}))["catch"](function(reason){if(reason instanceof _util.AbortException)return null;if(_this7.options.ignoreErrors)return _this7.handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.unknown}),
(0,_util.warn)('parseColorSpace - ignoring ColorSpace: "'.concat(reason,'".')),null;throw reason;})},handleColorN:function(){var _handleColorN=_asyncToGenerator(_regenerator["default"].mark(function _callee4(operatorList,fn,args,cs,patterns,resources,task){var patternName,pattern,dict,typeNum,color,shading,matrix;return _regenerator["default"].wrap(function(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:patternName=args[args.length-1];if(!(0,_primitives.isName)(patternName)||!(pattern=
patterns.get(patternName.name))){_context4.next=16;break}dict=(0,_primitives.isStream)(pattern)?pattern.dict:pattern;typeNum=dict.get("PatternType");if(1!==typeNum){_context4.next=9;break}color=cs.base?cs.base.getRgb(args,0):null;return _context4.abrupt("return",this.handleTilingType(fn,color,resources,pattern,dict,operatorList,task));case 9:if(2!==typeNum){_context4.next=15;break}shading=dict.get("Shading");matrix=dict.getArray("Matrix");pattern=_pattern.Pattern.parseShading(shading,matrix,this.xref,
resources,this.handler,this.pdfFunctionFactory);operatorList.addOp(fn,pattern.getIR());return _context4.abrupt("return",void 0);case 15:throw new _util.FormatError("Unknown PatternType: ".concat(typeNum));case 16:throw new _util.FormatError("Unknown PatternName: ".concat(patternName));case 17:case "end":return _context4.stop()}},_callee4,this)}));return function(_x9,_x10,_x11,_x12,_x13,_x14,_x15){return _handleColorN.apply(this,arguments)}}(),getOperatorList:function(_ref6){function closePendingRestoreOPS(argument){argument=
0;for(var ii=preprocessor.savedStatesDepth;argument<ii;argument++)operatorList.addOp(_util.OPS.restore,[])}var _this8=this,stream=_ref6.stream,task=_ref6.task,resources=_ref6.resources,operatorList=_ref6.operatorList;_ref6=_ref6.initialState;resources=resources||_primitives.Dict.empty;_ref6=(void 0===_ref6?null:_ref6)||new EvalState;if(!operatorList)throw Error('getOperatorList: missing "operatorList" parameter');var self=this,xref=this.xref,parsingText=!1,imageCache=Object.create(null),xobjs=resources.get("XObject")||
_primitives.Dict.empty,patterns=resources.get("Pattern")||_primitives.Dict.empty,stateManager=new StateManager(_ref6),preprocessor=new EvaluatorPreprocessor(stream,xref,stateManager),timeSlotManager=new TimeSlotManager;return(new Promise(function promiseBody(resolve,reject){var next=function(promise){Promise.all([promise,operatorList.ready]).then(function(){try{promiseBody(resolve,reject)}catch(ex){reject(ex)}},reject)};task.ensureNotTerminated();timeSlotManager.reset();for(var stop,operation={},
ii;!(stop=timeSlotManager.check());){operation.args=null;if(!preprocessor.read(operation))break;var args=operation.args,fn=operation.fn;switch(fn|0){case _util.OPS.paintXObject:var name=args[0].name;if(name&&void 0!==imageCache[name]){operatorList.addOp(imageCache[name].fn,imageCache[name].args);args=null;continue}next((new Promise(function(resolveXObject,rejectXObject){if(!name)throw new _util.FormatError("XObject must be referred to by name.");var xobj=xobjs.get(name);if(xobj){if(!(0,_primitives.isStream)(xobj))throw new _util.FormatError("XObject should be a stream");
var type=xobj.dict.get("Subtype");if(!(0,_primitives.isName)(type))throw new _util.FormatError("XObject should have a Name subtype");if("Form"===type.name)stateManager.save(),self.buildFormXObject(resources,xobj,null,operatorList,task,stateManager.state.clone()).then(function(){stateManager.restore();resolveXObject()},rejectXObject);else if("Image"===type.name)self.buildPaintImageXObject({resources:resources,image:xobj,operatorList:operatorList,cacheKey:name,imageCache:imageCache}).then(resolveXObject,
rejectXObject);else{if("PS"===type.name)(0,_util.info)("Ignored XObject subtype PS");else throw new _util.FormatError("Unhandled XObject subtype ".concat(type.name));resolveXObject()}}else operatorList.addOp(fn,args),resolveXObject()}))["catch"](function(reason){if(!(reason instanceof _util.AbortException))if(self.options.ignoreErrors)self.handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.unknown}),(0,_util.warn)('getOperatorList - ignoring XObject: "'.concat(reason,'".'));else throw reason;
}));return;case _util.OPS.setFont:var fontSize=args[1];next(self.handleSetFont(resources,args,null,operatorList,task,stateManager.state).then(function(loadedName){operatorList.addDependency(loadedName);operatorList.addOp(_util.OPS.setFont,[loadedName,fontSize])}));return;case _util.OPS.beginText:parsingText=!0;break;case _util.OPS.endText:parsingText=!1;break;case _util.OPS.endInlineImage:if(stop=args[0].cacheKey)if(ii=imageCache[stop],void 0!==ii){operatorList.addOp(ii.fn,ii.args);args=null;continue}next(self.buildPaintImageXObject({resources:resources,
image:args[0],isInline:!0,operatorList:operatorList,cacheKey:stop,imageCache:imageCache}));return;case _util.OPS.showText:args[0]=self.handleText(args[0],stateManager.state);break;case _util.OPS.showSpacedText:ii=args[0];var combinedGlyphs=[],arrLength=ii.length,state=stateManager.state;for(stop=0;stop<arrLength;++stop){var arrItem=ii[stop];(0,_util.isString)(arrItem)?Array.prototype.push.apply(combinedGlyphs,self.handleText(arrItem,state)):(0,_util.isNum)(arrItem)&&combinedGlyphs.push(arrItem)}args[0]=
combinedGlyphs;fn=_util.OPS.showText;break;case _util.OPS.nextLineShowText:operatorList.addOp(_util.OPS.nextLine);args[0]=self.handleText(args[0],stateManager.state);fn=_util.OPS.showText;break;case _util.OPS.nextLineSetSpacingShowText:operatorList.addOp(_util.OPS.nextLine);operatorList.addOp(_util.OPS.setWordSpacing,[args.shift()]);operatorList.addOp(_util.OPS.setCharSpacing,[args.shift()]);args[0]=self.handleText(args[0],stateManager.state);fn=_util.OPS.showText;break;case _util.OPS.setTextRenderingMode:stateManager.state.textRenderingMode=
args[0];break;case _util.OPS.setFillColorSpace:next(self.parseColorSpace({cs:args[0],resources:resources}).then(function(colorSpace){colorSpace&&(stateManager.state.fillColorSpace=colorSpace)}));return;case _util.OPS.setStrokeColorSpace:next(self.parseColorSpace({cs:args[0],resources:resources}).then(function(colorSpace){colorSpace&&(stateManager.state.strokeColorSpace=colorSpace)}));return;case _util.OPS.setFillColor:stop=stateManager.state.fillColorSpace;args=stop.getRgb(args,0);fn=_util.OPS.setFillRGBColor;
break;case _util.OPS.setStrokeColor:stop=stateManager.state.strokeColorSpace;args=stop.getRgb(args,0);fn=_util.OPS.setStrokeRGBColor;break;case _util.OPS.setFillGray:stateManager.state.fillColorSpace=_colorspace.ColorSpace.singletons.gray;args=_colorspace.ColorSpace.singletons.gray.getRgb(args,0);fn=_util.OPS.setFillRGBColor;break;case _util.OPS.setStrokeGray:stateManager.state.strokeColorSpace=_colorspace.ColorSpace.singletons.gray;args=_colorspace.ColorSpace.singletons.gray.getRgb(args,0);fn=_util.OPS.setStrokeRGBColor;
break;case _util.OPS.setFillCMYKColor:stateManager.state.fillColorSpace=_colorspace.ColorSpace.singletons.cmyk;args=_colorspace.ColorSpace.singletons.cmyk.getRgb(args,0);fn=_util.OPS.setFillRGBColor;break;case _util.OPS.setStrokeCMYKColor:stateManager.state.strokeColorSpace=_colorspace.ColorSpace.singletons.cmyk;args=_colorspace.ColorSpace.singletons.cmyk.getRgb(args,0);fn=_util.OPS.setStrokeRGBColor;break;case _util.OPS.setFillRGBColor:stateManager.state.fillColorSpace=_colorspace.ColorSpace.singletons.rgb;
args=_colorspace.ColorSpace.singletons.rgb.getRgb(args,0);break;case _util.OPS.setStrokeRGBColor:stateManager.state.strokeColorSpace=_colorspace.ColorSpace.singletons.rgb;args=_colorspace.ColorSpace.singletons.rgb.getRgb(args,0);break;case _util.OPS.setFillColorN:stop=stateManager.state.fillColorSpace;if("Pattern"===stop.name){next(self.handleColorN(operatorList,_util.OPS.setFillColorN,args,stop,patterns,resources,task));return}args=stop.getRgb(args,0);fn=_util.OPS.setFillRGBColor;break;case _util.OPS.setStrokeColorN:stop=
stateManager.state.strokeColorSpace;if("Pattern"===stop.name){next(self.handleColorN(operatorList,_util.OPS.setStrokeColorN,args,stop,patterns,resources,task));return}args=stop.getRgb(args,0);fn=_util.OPS.setStrokeRGBColor;break;case _util.OPS.shadingFill:stop=resources.get("Shading");if(!stop)throw new _util.FormatError("No shading resource found");stop=stop.get(args[0].name);if(!stop)throw new _util.FormatError("No shading object found");args=[_pattern.Pattern.parseShading(stop,null,xref,resources,
self.handler,self.pdfFunctionFactory).getIR()];fn=_util.OPS.shadingFill;break;case _util.OPS.setGState:stop=args[0];ii=resources.get("ExtGState");if(!(0,_primitives.isDict)(ii)||!ii.has(stop.name))break;operation=ii.get(stop.name);next(self.setGState(resources,operation,operatorList,task,stateManager));return;case _util.OPS.moveTo:case _util.OPS.lineTo:case _util.OPS.curveTo:case _util.OPS.curveTo2:case _util.OPS.curveTo3:case _util.OPS.closePath:case _util.OPS.rectangle:self.buildPath(operatorList,
fn,args,parsingText);continue;case _util.OPS.markPoint:case _util.OPS.markPointProps:case _util.OPS.beginMarkedContent:case _util.OPS.beginMarkedContentProps:case _util.OPS.endMarkedContent:case _util.OPS.beginCompat:case _util.OPS.endCompat:continue;default:if(null!==args){stop=0;for(ii=args.length;stop<ii&&!(args[stop]instanceof _primitives.Dict);stop++);if(stop<ii){(0,_util.warn)("getOperatorList - ignoring operator: ".concat(fn));continue}}}operatorList.addOp(fn,args)}stop?next(deferred):(closePendingRestoreOPS(),
resolve())}))["catch"](function(reason){if(!(reason instanceof _util.AbortException))if(_this8.options.ignoreErrors)_this8.handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.unknown}),(0,_util.warn)('getOperatorList - ignoring errors during "'.concat(task.name,'" ')+'task: "'.concat(reason,'".')),closePendingRestoreOPS();else throw reason;})},getTextContent:function(_ref7){function ensureTextContentItem(){if(textContentItem.initialized)return textContentItem;var font=textState.font;
font.loadedName in seenStyles||(seenStyles[font.loadedName]=!0,textContent.styles[font.loadedName]={fontFamily:font.fallbackName,ascent:font.ascent,descent:font.descent,vertical:!!font.vertical});textContentItem.fontName=font.loadedName;var tsm=[textState.fontSize*textState.textHScale,0,0,textState.fontSize,0,textState.textRise];if(font.isType3Font&&1>=textState.fontSize&&!(0,_util.isArrayEqual)(textState.fontMatrix,_util.FONT_IDENTITY_MATRIX)){var glyphHeight=font.bbox[3]-font.bbox[1];0<glyphHeight&&
(tsm[3]=tsm[3]*glyphHeight*textState.fontMatrix[3])}tsm=_util.Util.transform(textState.ctm,_util.Util.transform(textState.textMatrix,tsm));textContentItem.transform=tsm;font.vertical?(textContentItem.width=Math.sqrt(tsm[0]*tsm[0]+tsm[1]*tsm[1]),textContentItem.height=0,textContentItem.vertical=!0):(textContentItem.width=0,textContentItem.height=Math.sqrt(tsm[2]*tsm[2]+tsm[3]*tsm[3]),textContentItem.vertical=!1);tsm=textState.textLineMatrix[0];glyphHeight=textState.textLineMatrix[1];var scaleLineX=
Math.sqrt(tsm*tsm+glyphHeight*glyphHeight);tsm=textState.ctm[0];glyphHeight=textState.ctm[1];textContentItem.textAdvanceScale=Math.sqrt(tsm*tsm+glyphHeight*glyphHeight)*scaleLineX;textContentItem.lastAdvanceWidth=0;textContentItem.lastAdvanceHeight=0;Array.isArray(font.widths)||(font.widths=Object.keys(font.widths).reduce(function(acc,index){acc[index]=font.widths[index];return acc},[]));(tsm=Math.min.apply(null,font.widths.filter(function(w){return!!w}))/1E3*textState.fontSize)?(textContentItem.spaceWidth=
tsm,textContentItem.fakeSpaceMin=.3*tsm,textContentItem.fakeMultiSpaceMin=1.5*tsm,textContentItem.fakeMultiSpaceMax=4*tsm,textContentItem.textRunBreakAllowed=!font.isMonospace):(textContentItem.spaceWidth=0,textContentItem.fakeSpaceMin=Infinity,textContentItem.fakeMultiSpaceMin=Infinity,textContentItem.fakeMultiSpaceMax=0,textContentItem.textRunBreakAllowed=!1);textContentItem.initialized=!0;return textContentItem}function handleSetFont(fontName,fontRef){return self.loadFont(fontName,fontRef,resources).then(function(translated){textState.font=
translated.font;textState.fontMatrix=translated.font.fontMatrix||_util.FONT_IDENTITY_MATRIX})}function buildTextContentItem(chars){var font=textState.font,textChunk=ensureTextContentItem(),width=0,height=0;chars=font.charsToGlyphs(chars);for(var i=0;i<chars.length;i++){var glyph=chars[i];var glyphWidth=font.vertical&&glyph.vmetric?glyph.vmetric[0]:glyph.width;var glyphUnicode=glyph.unicode,NormalizedUnicodes=(0,_unicode.getNormalizedUnicodes)();void 0!==NormalizedUnicodes[glyphUnicode]&&(glyphUnicode=
NormalizedUnicodes[glyphUnicode]);glyphUnicode=(0,_unicode.reverseIfRtl)(glyphUnicode);NormalizedUnicodes=textState.charSpacing;glyph.isSpace&&(glyph=textState.wordSpacing,NormalizedUnicodes+=glyph,0<glyph&&addFakeSpaces(glyph,textChunk.str));var ty=glyph=0;font.vertical?(ty=glyphWidth*textState.fontMatrix[0]*textState.fontSize+NormalizedUnicodes,height+=ty):(glyph=(glyphWidth*textState.fontMatrix[0]*textState.fontSize+NormalizedUnicodes)*textState.textHScale,width+=glyph);textState.translateTextMatrix(glyph,
ty);textChunk.str.push(glyphUnicode)}font.vertical?(textChunk.lastAdvanceHeight=height,textChunk.height+=Math.abs(height)):(textChunk.lastAdvanceWidth=width,textChunk.width+=width);return textChunk}function addFakeSpaces(width,strBuf){if(!(width<textContentItem.fakeSpaceMin))if(width<textContentItem.fakeMultiSpaceMin)strBuf.push(" ");else for(width=Math.round(width/textContentItem.spaceWidth);0<width--;)strBuf.push(" ")}function flushTextContentItem(){if(textContentItem.initialized){textContentItem.vertical?
textContentItem.height*=textContentItem.textAdvanceScale:textContentItem.width*=textContentItem.textAdvanceScale;var JSCompiler_temp_const=textContent.items,JSCompiler_temp_const$jscomp$0=JSCompiler_temp_const.push,textChunk=textContentItem,str=textChunk.str.join("");str=(0,_bidi.bidi)(str,-1,textChunk.vertical);var JSCompiler_temp;if(normalizeWhitespace){for(var str$jscomp$0=str.str,i=0,ii=str$jscomp$0.length;i<ii&&32<=(JSCompiler_temp=str$jscomp$0.charCodeAt(i))&&127>=JSCompiler_temp;)i++;JSCompiler_temp=
i<ii?str$jscomp$0.replace(WhitespaceRegexp," "):str$jscomp$0}else JSCompiler_temp=str.str;JSCompiler_temp_const$jscomp$0.call(JSCompiler_temp_const,{str:JSCompiler_temp,dir:str.dir,width:textChunk.width,height:textChunk.height,transform:textChunk.transform,fontName:textChunk.fontName});textContentItem.initialized=!1;textContentItem.str.length=0}}function enqueueChunk(){var length=textContent.items.length;0<length&&(sink.enqueue(textContent,length),textContent.items=[],textContent.styles=Object.create(null))}
var _this9=this,stream=_ref7.stream,task=_ref7.task,resources=_ref7.resources,_ref7$stateManager=_ref7.stateManager,stateManager=void 0===_ref7$stateManager?null:_ref7$stateManager;_ref7$stateManager=_ref7.normalizeWhitespace;var normalizeWhitespace=void 0===_ref7$stateManager?!1:_ref7$stateManager;_ref7$stateManager=_ref7.combineTextItems;var combineTextItems=void 0===_ref7$stateManager?!1:_ref7$stateManager,sink=_ref7.sink;_ref7=_ref7.seenStyles;var seenStyles=void 0===_ref7?Object.create(null):
_ref7;resources=resources||_primitives.Dict.empty;stateManager=stateManager||new StateManager(new TextState);var WhitespaceRegexp=/\s/g,textContent={items:[],styles:Object.create(null)},textContentItem={initialized:!1,str:[],width:0,height:0,vertical:!1,lastAdvanceWidth:0,lastAdvanceHeight:0,textAdvanceScale:0,spaceWidth:0,fakeSpaceMin:Infinity,fakeMultiSpaceMin:Infinity,fakeMultiSpaceMax:-0,textRunBreakAllowed:!1,transform:null,fontName:null},self=this;_ref7=this.xref;var xobjs=null,skipEmptyXObjs=
Object.create(null),preprocessor=new EvaluatorPreprocessor(stream,_ref7,stateManager),textState,timeSlotManager=new TimeSlotManager;return(new Promise(function promiseBody(resolve,reject){var next=function(promise){enqueueChunk();Promise.all([promise,sink.ready]).then(function(){try{promiseBody(resolve,reject)}catch(ex){reject(ex)}},reject)};task.ensureNotTerminated();timeSlotManager.reset();for(var stop,operation={},args=[];!(stop=timeSlotManager.check());){args.length=0;operation.args=args;if(!preprocessor.read(operation))break;
textState=stateManager.state;stop=operation.fn;args=operation.args;switch(stop|0){case _util.OPS.setFont:stop=args[0].name;var fontSizeArg=args[1];if(textState.font&&stop===textState.fontName&&fontSizeArg===textState.fontSize)break;flushTextContentItem();textState.fontName=stop;textState.fontSize=fontSizeArg;next(handleSetFont(stop,null));return;case _util.OPS.setTextRise:flushTextContentItem();textState.textRise=args[0];break;case _util.OPS.setHScale:flushTextContentItem();textState.textHScale=args[0]/
100;break;case _util.OPS.setLeading:flushTextContentItem();textState.leading=args[0];break;case _util.OPS.moveText:fontSizeArg=textState.font?0===(textState.font.vertical?args[0]:args[1]):!1;stop=args[0]-args[1];if(combineTextItems&&fontSizeArg&&textContentItem.initialized&&0<stop&&stop<=textContentItem.fakeMultiSpaceMax){textState.translateTextLineMatrix(args[0],args[1]);textContentItem.width+=args[0]-textContentItem.lastAdvanceWidth;textContentItem.height+=args[1]-textContentItem.lastAdvanceHeight;
stop=args[0]-textContentItem.lastAdvanceWidth-(args[1]-textContentItem.lastAdvanceHeight);addFakeSpaces(stop,textContentItem.str);break}flushTextContentItem();textState.translateTextLineMatrix(args[0],args[1]);textState.textMatrix=textState.textLineMatrix.slice();break;case _util.OPS.setLeadingMoveText:flushTextContentItem();textState.leading=-args[1];textState.translateTextLineMatrix(args[0],args[1]);textState.textMatrix=textState.textLineMatrix.slice();break;case _util.OPS.nextLine:flushTextContentItem();
textState.carriageReturn();break;case _util.OPS.setTextMatrix:stop=textState.calcTextLineMatrixAdvance(args[0],args[1],args[2],args[3],args[4],args[5]);if(combineTextItems&&null!==stop&&textContentItem.initialized&&0<stop.value&&stop.value<=textContentItem.fakeMultiSpaceMax){textState.translateTextLineMatrix(stop.width,stop.height);textContentItem.width+=stop.width-textContentItem.lastAdvanceWidth;textContentItem.height+=stop.height-textContentItem.lastAdvanceHeight;stop=stop.width-textContentItem.lastAdvanceWidth-
(stop.height-textContentItem.lastAdvanceHeight);addFakeSpaces(stop,textContentItem.str);break}flushTextContentItem();textState.setTextMatrix(args[0],args[1],args[2],args[3],args[4],args[5]);textState.setTextLineMatrix(args[0],args[1],args[2],args[3],args[4],args[5]);break;case _util.OPS.setCharSpacing:textState.charSpacing=args[0];break;case _util.OPS.setWordSpacing:textState.wordSpacing=args[0];break;case _util.OPS.beginText:flushTextContentItem();textState.textMatrix=_util.IDENTITY_MATRIX.slice();
textState.textLineMatrix=_util.IDENTITY_MATRIX.slice();break;case _util.OPS.showSpacedText:fontSizeArg=args[0];for(var offset,j=0,jj=fontSizeArg.length;j<jj;j++)if("string"===typeof fontSizeArg[j])buildTextContentItem(fontSizeArg[j]);else if((0,_util.isNum)(fontSizeArg[j])){ensureTextContentItem();stop=fontSizeArg[j]*textState.fontSize/1E3;var breakTextRun=!1;textState.font.vertical?(offset=stop,textState.translateTextMatrix(0,offset),breakTextRun=textContentItem.textRunBreakAllowed&&stop>textContentItem.fakeMultiSpaceMax,
breakTextRun||(textContentItem.height+=offset)):(stop=-stop,offset=stop*textState.textHScale,textState.translateTextMatrix(offset,0),breakTextRun=textContentItem.textRunBreakAllowed&&stop>textContentItem.fakeMultiSpaceMax,breakTextRun||(textContentItem.width+=offset));breakTextRun?flushTextContentItem():0<stop&&addFakeSpaces(stop,textContentItem.str)}break;case _util.OPS.showText:buildTextContentItem(args[0]);break;case _util.OPS.nextLineShowText:flushTextContentItem();textState.carriageReturn();
buildTextContentItem(args[0]);break;case _util.OPS.nextLineSetSpacingShowText:flushTextContentItem();textState.wordSpacing=args[0];textState.charSpacing=args[1];textState.carriageReturn();buildTextContentItem(args[2]);break;case _util.OPS.paintXObject:flushTextContentItem();xobjs||(xobjs=resources.get("XObject")||_primitives.Dict.empty);var name=args[0].name;if(name&&void 0!==skipEmptyXObjs[name])break;next((new Promise(function(resolveXObject,rejectXObject){if(!name)throw new _util.FormatError("XObject must be referred to by name.");
var xobj=xobjs.get(name);if(xobj){if(!(0,_primitives.isStream)(xobj))throw new _util.FormatError("XObject should be a stream");var type=xobj.dict.get("Subtype");if(!(0,_primitives.isName)(type))throw new _util.FormatError("XObject should have a Name subtype");if("Form"!==type.name)skipEmptyXObjs[name]=!0,resolveXObject();else{type=stateManager.state.clone();type=new StateManager(type);var matrix=xobj.dict.getArray("Matrix");Array.isArray(matrix)&&6===matrix.length&&type.transform(matrix);enqueueChunk();
var sinkWrapper={enqueueInvoked:!1,enqueue:function(chunk,size){this.enqueueInvoked=!0;sink.enqueue(chunk,size)},get desiredSize(){return sink.desiredSize},get ready(){return sink.ready}};self.getTextContent({stream:xobj,task:task,resources:xobj.dict.get("Resources")||resources,stateManager:type,normalizeWhitespace:normalizeWhitespace,combineTextItems:combineTextItems,sink:sinkWrapper,seenStyles:seenStyles}).then(function(){sinkWrapper.enqueueInvoked||(skipEmptyXObjs[name]=!0);resolveXObject()},rejectXObject)}}else resolveXObject()}))["catch"](function(reason){if(!(reason instanceof
_util.AbortException))if(self.options.ignoreErrors)(0,_util.warn)('getTextContent - ignoring XObject: "'.concat(reason,'".'));else throw reason;}));return;case _util.OPS.setGState:if(flushTextContentItem(),stop=args[0],fontSizeArg=resources.get("ExtGState"),(0,_primitives.isDict)(fontSizeArg)&&(0,_primitives.isName)(stop)&&(stop=fontSizeArg.get(stop.name),(0,_primitives.isDict)(stop)&&(stop=stop.get("Font")))){textState.fontName=null;textState.fontSize=stop[1];next(handleSetFont(null,stop[0]));return}}if(textContent.items.length>=
sink.desiredSize){stop=!0;break}}stop?next(deferred):(flushTextContentItem(),enqueueChunk(),resolve())}))["catch"](function(reason){if(!(reason instanceof _util.AbortException))if(_this9.options.ignoreErrors)(0,_util.warn)('getTextContent - ignoring errors during "'.concat(task.name,'" ')+'task: "'.concat(reason,'".')),flushTextContentItem(),enqueueChunk();else throw reason;})},extractDataStructures:function(dict,baseDict,properties){var _this10=this,xref=this.xref,cidToGidBytes;baseDict=(baseDict=
dict.get("ToUnicode")||baseDict.get("ToUnicode"))?this.readToUnicode(baseDict):Promise.resolve(void 0);if(properties.composite){var cidSystemInfo=dict.get("CIDSystemInfo");(0,_primitives.isDict)(cidSystemInfo)&&(properties.cidSystemInfo={registry:(0,_util.stringToPDFString)(cidSystemInfo.get("Registry")),ordering:(0,_util.stringToPDFString)(cidSystemInfo.get("Ordering")),supplement:cidSystemInfo.get("Supplement")});cidSystemInfo=dict.get("CIDToGIDMap");(0,_primitives.isStream)(cidSystemInfo)&&(cidToGidBytes=
cidSystemInfo.getBytes())}cidSystemInfo=[];var baseEncodingName=null;if(dict.has("Encoding")){var encoding=dict.get("Encoding");if((0,_primitives.isDict)(encoding)){if(baseEncodingName=encoding.get("BaseEncoding"),baseEncodingName=(0,_primitives.isName)(baseEncodingName)?baseEncodingName.name:null,encoding.has("Differences")){encoding=encoding.get("Differences");for(var index=0,j=0,jj=encoding.length;j<jj;j++){var data=xref.fetchIfRef(encoding[j]);if((0,_util.isNum)(data))index=data;else if((0,_primitives.isName)(data))cidSystemInfo[index++]=
data.name;else throw new _util.FormatError("Invalid entry in 'Differences' array: ".concat(data));}}}else if((0,_primitives.isName)(encoding))baseEncodingName=encoding.name;else throw new _util.FormatError("Encoding is not a Name nor a Dict");"MacRomanEncoding"!==baseEncodingName&&"MacExpertEncoding"!==baseEncodingName&&"WinAnsiEncoding"!==baseEncodingName&&(baseEncodingName=null)}baseEncodingName?properties.defaultEncoding=(0,_encodings.getEncoding)(baseEncodingName).slice():(xref=!!(properties.flags&
_fonts.FontFlags.Symbolic),index=!!(properties.flags&_fonts.FontFlags.Nonsymbolic),encoding=_encodings.StandardEncoding,"TrueType"!==properties.type||index||(encoding=_encodings.WinAnsiEncoding),xref&&(encoding=_encodings.MacRomanEncoding,properties.file||(/Symbol/i.test(properties.name)?encoding=_encodings.SymbolSetEncoding:/Dingbats/i.test(properties.name)&&(encoding=_encodings.ZapfDingbatsEncoding))),properties.defaultEncoding=encoding);properties.differences=cidSystemInfo;properties.baseEncodingName=
baseEncodingName;properties.hasEncoding=!!baseEncodingName||0<cidSystemInfo.length;properties.dict=dict;return baseDict.then(function(toUnicode){properties.toUnicode=toUnicode;return _this10.buildToUnicode(properties)}).then(function(toUnicode){properties.toUnicode=toUnicode;cidToGidBytes&&(properties.cidToGidMap=_this10.readCidToGidMap(cidToGidBytes,toUnicode));return properties})},_buildSimpleFontToUnicode:function(properties){var forceGlyphs=1<arguments.length&&void 0!==arguments[1]?arguments[1]:
!1;(0,_util.assert)(!properties.composite,"Must be a simple font.");var toUnicode=[],charcode,encoding=properties.defaultEncoding.slice(),baseEncodingName=properties.baseEncodingName,differences=properties.differences;for(charcode in differences){var glyphName=differences[charcode];".notdef"!==glyphName&&(encoding[charcode]=glyphName)}differences=(0,_glyphlist.getGlyphsUnicode)();for(charcode in encoding)if(glyphName=encoding[charcode],""!==glyphName)if(void 0===differences[glyphName]){var code=0;
switch(glyphName[0]){case "G":3===glyphName.length&&(code=parseInt(glyphName.substring(1),16));break;case "g":5===glyphName.length&&(code=parseInt(glyphName.substring(1),16));break;case "C":case "c":if(3<=glyphName.length&&4>=glyphName.length){var codeStr=glyphName.substring(1);if(forceGlyphs)code=parseInt(codeStr,16);else if(code=+codeStr,Number.isNaN(code)&&Number.isInteger(parseInt(codeStr,16)))return this._buildSimpleFontToUnicode(properties,!0)}break;default:codeStr=(0,_unicode.getUnicodeForGlyph)(glyphName,
differences),-1!==codeStr&&(code=codeStr)}if(code){if(baseEncodingName&&code===+charcode&&(codeStr=(0,_encodings.getEncoding)(baseEncodingName))&&(glyphName=codeStr[charcode])){toUnicode[charcode]=String.fromCharCode(differences[glyphName]);continue}toUnicode[charcode]=String.fromCodePoint(code)}}else toUnicode[charcode]=String.fromCharCode(differences[glyphName]);return new _fonts.ToUnicodeMap(toUnicode)},buildToUnicode:function(properties){properties.hasIncludedToUnicodeMap=!!properties.toUnicode&&
0<properties.toUnicode.length;if(properties.hasIncludedToUnicodeMap)return!properties.composite&&properties.hasEncoding&&(properties.fallbackToUnicode=this._buildSimpleFontToUnicode(properties)),Promise.resolve(properties.toUnicode);if(!properties.composite)return Promise.resolve(this._buildSimpleFontToUnicode(properties));if(properties.composite&&(properties.cMap.builtInCMap&&!(properties.cMap instanceof _cmap.IdentityCMap)||"Adobe"===properties.cidSystemInfo.registry&&("GB1"===properties.cidSystemInfo.ordering||
"CNS1"===properties.cidSystemInfo.ordering||"Japan1"===properties.cidSystemInfo.ordering||"Korea1"===properties.cidSystemInfo.ordering))){var ordering=properties.cidSystemInfo.ordering;ordering=_primitives.Name.get("".concat(properties.cidSystemInfo.registry,"-").concat(ordering,"-UCS2"));return _cmap.CMapFactory.create({encoding:ordering,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then(function(ucs2CMap){var toUnicode=[];properties.cMap.forEach(function(charcode,cid){if(65535<cid)throw new _util.FormatError("Max size of CID is 65,535");
(cid=ucs2CMap.lookup(cid))&&(toUnicode[charcode]=String.fromCharCode((cid.charCodeAt(0)<<8)+cid.charCodeAt(1)))});return new _fonts.ToUnicodeMap(toUnicode)})}return Promise.resolve(new _fonts.IdentityToUnicodeMap(properties.firstChar,properties.lastChar))},readToUnicode:function(toUnicode){return(0,_primitives.isName)(toUnicode)?_cmap.CMapFactory.create({encoding:toUnicode,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then(function(cmap){return cmap instanceof _cmap.IdentityCMap?new _fonts.IdentityToUnicodeMap(0,
65535):new _fonts.ToUnicodeMap(cmap.getMap())}):(0,_primitives.isStream)(toUnicode)?_cmap.CMapFactory.create({encoding:toUnicode,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then(function(cmap){if(cmap instanceof _cmap.IdentityCMap)return new _fonts.IdentityToUnicodeMap(0,65535);var map=Array(cmap.length);cmap.forEach(function(charCode,token){if("number"===typeof token)map[charCode]=String.fromCodePoint(token);else{for(var str=[],k=0;k<token.length;k+=2){var w1=token.charCodeAt(k)<<8|token.charCodeAt(k+
1);if(55296!==(w1&63488))str.push(w1);else{k+=2;var w2=token.charCodeAt(k)<<8|token.charCodeAt(k+1);str.push(((w1&1023)<<10)+(w2&1023)+65536)}}map[charCode]=String.fromCodePoint.apply(String,str)}});return new _fonts.ToUnicodeMap(map)}):Promise.resolve(null)},readCidToGidMap:function(glyphsData,toUnicode){for(var result=[],j=0,jj=glyphsData.length;j<jj;j++){var glyphID=glyphsData[j++]<<8|glyphsData[j],code=j>>1;if(0!==glyphID||toUnicode.has(code))result[code]=glyphID}return result},extractWidths:function(dict,
descriptor,properties){var xref=this.xref,glyphsWidths=[],defaultWidth=0,glyphsVMetrics=[],ii,jj,widths;if(properties.composite){defaultWidth=dict.has("DW")?dict.get("DW"):1E3;if(widths=dict.get("W")){var i=0;for(ii=widths.length;i<ii;i++){descriptor=xref.fetchIfRef(widths[i++]);var code=xref.fetchIfRef(widths[i]);if(Array.isArray(code)){var j=0;for(jj=code.length;j<jj;j++)glyphsWidths[descriptor++]=xref.fetchIfRef(code[j])}else for(jj=xref.fetchIfRef(widths[++i]),j=descriptor;j<=code;j++)glyphsWidths[j]=
jj}}if(properties.vertical){widths=dict.getArray("DW2")||[880,-1E3];var defaultVMetrics=[widths[1],.5*defaultWidth,widths[0]];if(widths=dict.get("W2"))for(i=0,ii=widths.length;i<ii;i++)if(descriptor=xref.fetchIfRef(widths[i++]),code=xref.fetchIfRef(widths[i]),Array.isArray(code))for(j=0,jj=code.length;j<jj;j++)glyphsVMetrics[descriptor++]=[xref.fetchIfRef(code[j++]),xref.fetchIfRef(code[j++]),xref.fetchIfRef(code[j])];else for(dict=[xref.fetchIfRef(widths[++i]),xref.fetchIfRef(widths[++i]),xref.fetchIfRef(widths[++i])],
j=descriptor;j<=code;j++)glyphsVMetrics[j]=dict}}else if(i=properties.firstChar,widths=dict.get("Widths")){j=i;i=0;for(ii=widths.length;i<ii;i++)glyphsWidths[j++]=xref.fetchIfRef(widths[i]);defaultWidth=parseFloat(descriptor.get("MissingWidth"))||0}else xref=dict.get("BaseFont"),(0,_primitives.isName)(xref)&&(defaultWidth=this.getBaseFontMetrics(xref.name),glyphsWidths=this.buildCharCodeToWidth(defaultWidth.widths,properties),defaultWidth=defaultWidth.defaultWidth);xref=!0;dict=defaultWidth;for(var glyph in glyphsWidths)if(i=
glyphsWidths[glyph])if(!dict)dict=i;else if(dict!==i){xref=!1;break}xref&&(properties.flags|=_fonts.FontFlags.FixedPitch);properties.defaultWidth=defaultWidth;properties.widths=glyphsWidths;properties.defaultVMetrics=defaultVMetrics;properties.vmetrics=glyphsVMetrics},isSerifFont:function(baseFontName){baseFontName=baseFontName.split("-")[0];return baseFontName in(0,_standard_fonts.getSerifFonts)()||-1!==baseFontName.search(/serif/gi)},getBaseFontMetrics:function(name){var defaultWidth=0,widths=Object.create(null),
monospace=!1,lookupName=(0,_standard_fonts.getStdFontMap)()[name]||name,Metrics=(0,_metrics.getMetrics)();lookupName in Metrics||(lookupName=this.isSerifFont(name)?"Times-Roman":"Helvetica");name=Metrics[lookupName];(0,_util.isNum)(name)?(defaultWidth=name,monospace=!0):widths=name();return{defaultWidth:defaultWidth,monospace:monospace,widths:widths}},buildCharCodeToWidth:function(widthsByGlyphName,properties){var widths=Object.create(null),differences=properties.differences;properties=properties.defaultEncoding;
for(var charCode=0;256>charCode;charCode++)charCode in differences&&widthsByGlyphName[differences[charCode]]?widths[charCode]=widthsByGlyphName[differences[charCode]]:charCode in properties&&widthsByGlyphName[properties[charCode]]&&(widths[charCode]=widthsByGlyphName[properties[charCode]]);return widths},preEvaluateFont:function(dict){var baseDict=dict,type=dict.get("Subtype");if(!(0,_primitives.isName)(type))throw new _util.FormatError("invalid font Subtype");var composite=!1;if("Type0"===type.name){dict=
dict.get("DescendantFonts");if(!dict)throw new _util.FormatError("Descendant fonts are not specified");dict=Array.isArray(dict)?this.xref.fetchIfRef(dict[0]):dict;type=dict.get("Subtype");if(!(0,_primitives.isName)(type))throw new _util.FormatError("invalid font Subtype");composite=!0}var descriptor=dict.get("FontDescriptor");if(descriptor){var hash=new _murmurhash.MurmurHash3_64;var uint8array=baseDict.getRaw("Encoding");if((0,_primitives.isName)(uint8array))hash.update(uint8array.name);else if((0,_primitives.isRef)(uint8array))hash.update(uint8array.toString());
else if((0,_primitives.isDict)(uint8array))for(var keys=uint8array.getKeys(),i=0,ii=keys.length;i<ii;i++){var entry=uint8array.getRaw(keys[i]);if((0,_primitives.isName)(entry))hash.update(entry.name);else if((0,_primitives.isRef)(entry))hash.update(entry.toString());else if(Array.isArray(entry)){for(var diffLength=entry.length,diffBuf=Array(diffLength),j=0;j<diffLength;j++){var diffEntry=entry[j];if((0,_primitives.isName)(diffEntry))diffBuf[j]=diffEntry.name;else if((0,_util.isNum)(diffEntry)||(0,_primitives.isRef)(diffEntry))diffBuf[j]=
diffEntry.toString()}hash.update(diffBuf.join())}}uint8array=dict.get("FirstChar")||0;keys=dict.get("LastChar")||(composite?65535:255);hash.update("".concat(uint8array,"-").concat(keys));uint8array=dict.get("ToUnicode")||baseDict.get("ToUnicode");(0,_primitives.isStream)(uint8array)?(uint8array=uint8array.str||uint8array,uint8array=uint8array.buffer?new Uint8Array(uint8array.buffer.buffer,0,uint8array.bufferLength):new Uint8Array(uint8array.bytes.buffer,uint8array.start,uint8array.end-uint8array.start),
hash.update(uint8array)):(0,_primitives.isName)(uint8array)&&hash.update(uint8array.name);if(uint8array=dict.get("Widths")||baseDict.get("Widths"))uint8array=new Uint8Array((new Uint32Array(uint8array)).buffer),hash.update(uint8array)}return{descriptor:descriptor,dict:dict,baseDict:baseDict,composite:composite,type:type.name,hash:hash?hash.hexdigest():""}},translateFont:function(preEvaluatedFont){var _this11=this,baseDict=preEvaluatedFont.baseDict,dict=preEvaluatedFont.dict,composite=preEvaluatedFont.composite,
descriptor=preEvaluatedFont.descriptor,type=preEvaluatedFont.type;preEvaluatedFont=composite?65535:255;if(!descriptor)if("Type3"===type)descriptor=new _primitives.Dict(null),descriptor.set("FontName",_primitives.Name.get(type)),descriptor.set("FontBBox",dict.getArray("FontBBox"));else{var baseFontName=dict.get("BaseFont");if(!(0,_primitives.isName)(baseFontName))throw new _util.FormatError("Base font is not specified");baseFontName=baseFontName.name.replace(/[,_]/g,"-");var metrics=this.getBaseFontMetrics(baseFontName);
composite=baseFontName.split("-")[0];composite=(this.isSerifFont(composite)?_fonts.FontFlags.Serif:0)|(metrics.monospace?_fonts.FontFlags.FixedPitch:0)|((0,_standard_fonts.getSymbolsFonts)()[composite]?_fonts.FontFlags.Symbolic:_fonts.FontFlags.Nonsymbolic);var properties$jscomp$0={type:type,name:baseFontName,widths:metrics.widths,defaultWidth:metrics.defaultWidth,flags:composite,firstChar:0,lastChar:preEvaluatedFont};return this.extractDataStructures(dict,dict,properties$jscomp$0).then(function(properties){properties.widths=
_this11.buildCharCodeToWidth(metrics.widths,properties);return new _fonts.Font(baseFontName,null,properties)})}var firstChar=dict.get("FirstChar")||0,lastChar=dict.get("LastChar")||preEvaluatedFont,fontName=descriptor.get("FontName"),baseFont=dict.get("BaseFont");(0,_util.isString)(fontName)&&(fontName=_primitives.Name.get(fontName));(0,_util.isString)(baseFont)&&(baseFont=_primitives.Name.get(baseFont));if("Type3"!==type){var fontNameStr=fontName&&fontName.name,baseFontStr=baseFont&&baseFont.name;
fontNameStr!==baseFontStr&&((0,_util.info)("The FontDescriptor's FontName is \"".concat(fontNameStr,'" but ')+"should be the same as the Font's BaseFont \"".concat(baseFontStr,'".')),fontNameStr&&baseFontStr&&baseFontStr.startsWith(fontNameStr)&&(fontName=baseFont))}fontName=fontName||baseFont;if(!(0,_primitives.isName)(fontName))throw new _util.FormatError("invalid font name");var fontFile=descriptor.get("FontFile","FontFile2","FontFile3");if(fontFile&&fontFile.dict){var subtype=fontFile.dict.get("Subtype");
subtype&&(subtype=subtype.name);var length1=fontFile.dict.get("Length1"),length2=fontFile.dict.get("Length2"),length3=fontFile.dict.get("Length3")}properties$jscomp$0={type:type,name:fontName.name,subtype:subtype,file:fontFile,length1:length1,length2:length2,length3:length3,loadedName:baseDict.loadedName,composite:composite,wideChars:composite,fixedPitch:!1,fontMatrix:dict.getArray("FontMatrix")||_util.FONT_IDENTITY_MATRIX,firstChar:firstChar||0,lastChar:lastChar||preEvaluatedFont,bbox:descriptor.getArray("FontBBox"),
ascent:descriptor.get("Ascent"),descent:descriptor.get("Descent"),xHeight:descriptor.get("XHeight"),capHeight:descriptor.get("CapHeight"),flags:descriptor.get("Flags"),italicAngle:descriptor.get("ItalicAngle"),isType3Font:!1};composite?(preEvaluatedFont=baseDict.get("Encoding"),(0,_primitives.isName)(preEvaluatedFont)&&(properties$jscomp$0.cidEncoding=preEvaluatedFont.name),preEvaluatedFont=_cmap.CMapFactory.create({encoding:preEvaluatedFont,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then(function(cMap){properties$jscomp$0.cMap=
cMap;properties$jscomp$0.vertical=properties$jscomp$0.cMap.vertical})):preEvaluatedFont=Promise.resolve(void 0);return preEvaluatedFont.then(function(){return _this11.extractDataStructures(dict,baseDict,properties$jscomp$0)}).then(function(properties){_this11.extractWidths(dict,descriptor,properties);"Type3"===type&&(properties.isType3Font=!0);return new _fonts.Font(fontName.name,fontFile,properties)})}};PartialEvaluator.buildFontPaths=function(font,glyphs,handler){function buildPath(fontChar){font.renderer.hasBuiltPath(fontChar)||
handler.send("commonobj",["".concat(font.loadedName,"_path_").concat(fontChar),"FontPath",font.renderer.getPathJs(fontChar)])}var _iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _iterator=glyphs[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var glyph=_step.value;buildPath(glyph.fontChar);var accent=glyph.accent;accent&&accent.fontChar&&buildPath(accent.fontChar)}}catch(err){_didIteratorError=!0,
_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&null!=_iterator["return"])_iterator["return"]()}finally{if(_didIteratorError)throw _iteratorError;}}};return PartialEvaluator}();exports.PartialEvaluator=PartialEvaluator;var TranslatedFont=function(){function TranslatedFont(loadedName,font,dict){this.loadedName=loadedName;this.font=font;this.dict=dict;this.type3Loaded=null;this.sent=!1}TranslatedFont.prototype={send:function(handler){this.sent||(this.sent=!0,handler.send("commonobj",[this.loadedName,
"Font",this.font.exportData()]))},fallback:function(handler){this.font.data&&(this.font.disableFontFace=!0,PartialEvaluator.buildFontPaths(this.font,this.font.glyphCacheValues,handler))},loadType3Data:function(evaluator,resources,parentOperatorList,task){if(!this.font.isType3Font)throw Error("Must be a Type3 font.");if(this.type3Loaded)return this.type3Loaded;var type3Options=Object.create(evaluator.options);type3Options.ignoreErrors=!1;type3Options.nativeImageDecoderSupport=_util.NativeImageDecoding.NONE;
var type3Evaluator=evaluator.clone(type3Options);type3Evaluator.parsingType3Font=!0;var translatedFont=this.font,loadCharProcsPromise=Promise.resolve(),charProcs=this.dict.get("CharProcs"),fontResources=this.dict.get("Resources")||resources,charProcKeys=charProcs.getKeys(),charProcOperatorList=Object.create(null);evaluator=function(){var key=charProcKeys[i];loadCharProcsPromise=loadCharProcsPromise.then(function(){var glyphStream=charProcs.get(key),operatorList=new _operator_list.OperatorList;return type3Evaluator.getOperatorList({stream:glyphStream,
task:task,resources:fontResources,operatorList:operatorList}).then(function(){charProcOperatorList[key]=operatorList.getIR();parentOperatorList.addDependencies(operatorList.dependencies)})["catch"](function(reason){(0,_util.warn)('Type3 font resource "'.concat(key,'" is not available.'));reason=new _operator_list.OperatorList;charProcOperatorList[key]=reason.getIR()})})};var i=0;for(resources=charProcKeys.length;i<resources;++i)evaluator();return this.type3Loaded=loadCharProcsPromise.then(function(){translatedFont.charProcOperatorList=
charProcOperatorList})}};return TranslatedFont}(),StateManager=function(){function StateManager(initialState){this.state=initialState;this.stateStack=[]}StateManager.prototype={save:function(){var old=this.state;this.stateStack.push(this.state);this.state=old.clone()},restore:function(){var prev=this.stateStack.pop();prev&&(this.state=prev)},transform:function(args){this.state.ctm=_util.Util.transform(this.state.ctm,args)}};return StateManager}(),TextState=function(){function TextState(){this.ctm=
new Float32Array(_util.IDENTITY_MATRIX);this.fontName=null;this.fontSize=0;this.font=null;this.fontMatrix=_util.FONT_IDENTITY_MATRIX;this.textMatrix=_util.IDENTITY_MATRIX.slice();this.textLineMatrix=_util.IDENTITY_MATRIX.slice();this.leading=this.wordSpacing=this.charSpacing=0;this.textHScale=1;this.textRise=0}TextState.prototype={setTextMatrix:function(a,b,c,d,e,f){var m=this.textMatrix;m[0]=a;m[1]=b;m[2]=c;m[3]=d;m[4]=e;m[5]=f},setTextLineMatrix:function(a,b,c,d,e,f){var m=this.textLineMatrix;m[0]=
a;m[1]=b;m[2]=c;m[3]=d;m[4]=e;m[5]=f},translateTextMatrix:function(x,y){var m=this.textMatrix;m[4]=m[0]*x+m[2]*y+m[4];m[5]=m[1]*x+m[3]*y+m[5]},translateTextLineMatrix:function(x,y){var m=this.textLineMatrix;m[4]=m[0]*x+m[2]*y+m[4];m[5]=m[1]*x+m[3]*y+m[5]},calcTextLineMatrixAdvance:function(a,b,c,d,e,f){var font=this.font;if(!font)return null;var m=this.textLineMatrix;if(a!==m[0]||b!==m[1]||c!==m[2]||d!==m[3])return null;e-=m[4];f-=m[5];if(font.vertical&&0!==e||!font.vertical&&0!==f)return null;m=
a*d-b*c;font.vertical?(c=-f*c/m,a=f*a/m):(c=e*d/m,a=-e*b/m);return{width:c,height:a,value:font.vertical?a:c}},calcRenderMatrix:function(ctm){return _util.Util.transform(ctm,_util.Util.transform(this.textMatrix,[this.fontSize*this.textHScale,0,0,this.fontSize,0,this.textRise]))},carriageReturn:function(){this.translateTextLineMatrix(0,-this.leading);this.textMatrix=this.textLineMatrix.slice()},clone:function(){var clone=Object.create(this);clone.textMatrix=this.textMatrix.slice();clone.textLineMatrix=
this.textLineMatrix.slice();clone.fontMatrix=this.fontMatrix.slice();return clone}};return TextState}(),EvalState=function(){function EvalState(){this.ctm=new Float32Array(_util.IDENTITY_MATRIX);this.font=null;this.textRenderingMode=_util.TextRenderingMode.FILL;this.strokeColorSpace=this.fillColorSpace=_colorspace.ColorSpace.singletons.gray}EvalState.prototype={clone:function(){return Object.create(this)}};return EvalState}(),EvaluatorPreprocessor=function(){function EvaluatorPreprocessor(stream,
xref,stateManager){this.opMap=getOPMap();this.parser=new _parser.Parser({lexer:new _parser.Lexer(stream,this.opMap),xref:xref});this.stateManager=stateManager;this.nonProcessedArgs=[];this._numInvalidPathOPS=0}var getOPMap=(0,_core_utils.getLookupTableFactory)(function(t){t.w={id:_util.OPS.setLineWidth,numArgs:1,variableArgs:!1};t.J={id:_util.OPS.setLineCap,numArgs:1,variableArgs:!1};t.j={id:_util.OPS.setLineJoin,numArgs:1,variableArgs:!1};t.M={id:_util.OPS.setMiterLimit,numArgs:1,variableArgs:!1};
t.d={id:_util.OPS.setDash,numArgs:2,variableArgs:!1};t.ri={id:_util.OPS.setRenderingIntent,numArgs:1,variableArgs:!1};t.i={id:_util.OPS.setFlatness,numArgs:1,variableArgs:!1};t.gs={id:_util.OPS.setGState,numArgs:1,variableArgs:!1};t.q={id:_util.OPS.save,numArgs:0,variableArgs:!1};t.Q={id:_util.OPS.restore,numArgs:0,variableArgs:!1};t.cm={id:_util.OPS.transform,numArgs:6,variableArgs:!1};t.m={id:_util.OPS.moveTo,numArgs:2,variableArgs:!1};t.l={id:_util.OPS.lineTo,numArgs:2,variableArgs:!1};t.c={id:_util.OPS.curveTo,
numArgs:6,variableArgs:!1};t.v={id:_util.OPS.curveTo2,numArgs:4,variableArgs:!1};t.y={id:_util.OPS.curveTo3,numArgs:4,variableArgs:!1};t.h={id:_util.OPS.closePath,numArgs:0,variableArgs:!1};t.re={id:_util.OPS.rectangle,numArgs:4,variableArgs:!1};t.S={id:_util.OPS.stroke,numArgs:0,variableArgs:!1};t.s={id:_util.OPS.closeStroke,numArgs:0,variableArgs:!1};t.f={id:_util.OPS.fill,numArgs:0,variableArgs:!1};t.F={id:_util.OPS.fill,numArgs:0,variableArgs:!1};t["f*"]={id:_util.OPS.eoFill,numArgs:0,variableArgs:!1};
t.B={id:_util.OPS.fillStroke,numArgs:0,variableArgs:!1};t["B*"]={id:_util.OPS.eoFillStroke,numArgs:0,variableArgs:!1};t.b={id:_util.OPS.closeFillStroke,numArgs:0,variableArgs:!1};t["b*"]={id:_util.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1};t.n={id:_util.OPS.endPath,numArgs:0,variableArgs:!1};t.W={id:_util.OPS.clip,numArgs:0,variableArgs:!1};t["W*"]={id:_util.OPS.eoClip,numArgs:0,variableArgs:!1};t.BT={id:_util.OPS.beginText,numArgs:0,variableArgs:!1};t.ET={id:_util.OPS.endText,numArgs:0,variableArgs:!1};
t.Tc={id:_util.OPS.setCharSpacing,numArgs:1,variableArgs:!1};t.Tw={id:_util.OPS.setWordSpacing,numArgs:1,variableArgs:!1};t.Tz={id:_util.OPS.setHScale,numArgs:1,variableArgs:!1};t.TL={id:_util.OPS.setLeading,numArgs:1,variableArgs:!1};t.Tf={id:_util.OPS.setFont,numArgs:2,variableArgs:!1};t.Tr={id:_util.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1};t.Ts={id:_util.OPS.setTextRise,numArgs:1,variableArgs:!1};t.Td={id:_util.OPS.moveText,numArgs:2,variableArgs:!1};t.TD={id:_util.OPS.setLeadingMoveText,
numArgs:2,variableArgs:!1};t.Tm={id:_util.OPS.setTextMatrix,numArgs:6,variableArgs:!1};t["T*"]={id:_util.OPS.nextLine,numArgs:0,variableArgs:!1};t.Tj={id:_util.OPS.showText,numArgs:1,variableArgs:!1};t.TJ={id:_util.OPS.showSpacedText,numArgs:1,variableArgs:!1};t["'"]={id:_util.OPS.nextLineShowText,numArgs:1,variableArgs:!1};t['"']={id:_util.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1};t.d0={id:_util.OPS.setCharWidth,numArgs:2,variableArgs:!1};t.d1={id:_util.OPS.setCharWidthAndBounds,
numArgs:6,variableArgs:!1};t.CS={id:_util.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1};t.cs={id:_util.OPS.setFillColorSpace,numArgs:1,variableArgs:!1};t.SC={id:_util.OPS.setStrokeColor,numArgs:4,variableArgs:!0};t.SCN={id:_util.OPS.setStrokeColorN,numArgs:33,variableArgs:!0};t.sc={id:_util.OPS.setFillColor,numArgs:4,variableArgs:!0};t.scn={id:_util.OPS.setFillColorN,numArgs:33,variableArgs:!0};t.G={id:_util.OPS.setStrokeGray,numArgs:1,variableArgs:!1};t.g={id:_util.OPS.setFillGray,numArgs:1,
variableArgs:!1};t.RG={id:_util.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1};t.rg={id:_util.OPS.setFillRGBColor,numArgs:3,variableArgs:!1};t.K={id:_util.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1};t.k={id:_util.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1};t.sh={id:_util.OPS.shadingFill,numArgs:1,variableArgs:!1};t.BI={id:_util.OPS.beginInlineImage,numArgs:0,variableArgs:!1};t.ID={id:_util.OPS.beginImageData,numArgs:0,variableArgs:!1};t.EI={id:_util.OPS.endInlineImage,numArgs:1,variableArgs:!1};
t.Do={id:_util.OPS.paintXObject,numArgs:1,variableArgs:!1};t.MP={id:_util.OPS.markPoint,numArgs:1,variableArgs:!1};t.DP={id:_util.OPS.markPointProps,numArgs:2,variableArgs:!1};t.BMC={id:_util.OPS.beginMarkedContent,numArgs:1,variableArgs:!1};t.BDC={id:_util.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1};t.EMC={id:_util.OPS.endMarkedContent,numArgs:0,variableArgs:!1};t.BX={id:_util.OPS.beginCompat,numArgs:0,variableArgs:!1};t.EX={id:_util.OPS.endCompat,numArgs:0,variableArgs:!1};t.BM=null;
t.BD=null;t["true"]=null;t.fa=null;t.fal=null;t.fals=null;t["false"]=null;t.nu=null;t.nul=null;t["null"]=null});EvaluatorPreprocessor.prototype={get savedStatesDepth(){return this.stateManager.stateStack.length},read:function(operation){for(var args=operation.args;;){var obj=this.parser.getObj();if(obj instanceof _primitives.Cmd){var cmd=obj.cmd,opSpec=this.opMap[cmd];if(!opSpec){(0,_util.warn)('Unknown command "'.concat(cmd,'".'));continue}obj=opSpec.id;var numArgs=opSpec.numArgs,argsLength=null!==
args?args.length:0;if(opSpec.variableArgs)argsLength>numArgs&&(0,_util.info)("Command ".concat(cmd,": expected [0, ").concat(numArgs,"] args, ")+"but received ".concat(argsLength," args."));else{if(argsLength!==numArgs){for(opSpec=this.nonProcessedArgs;argsLength>numArgs;)opSpec.push(args.shift()),argsLength--;for(;argsLength<numArgs&&0!==opSpec.length;)null===args&&(args=[]),args.unshift(opSpec.pop()),argsLength++}if(argsLength<numArgs){cmd="command ".concat(cmd,": expected ").concat(numArgs," args, ")+
"but received ".concat(argsLength," args.");if(obj>=_util.OPS.moveTo&&obj<=_util.OPS.endPath&&20<++this._numInvalidPathOPS)throw new _util.FormatError("Invalid ".concat(cmd));(0,_util.warn)("Skipping ".concat(cmd));null!==args&&(args.length=0);continue}}this.preprocessCommand(obj,args);operation.fn=obj;operation.args=args;return!0}if(obj===_primitives.EOF)return!1;if(null!==obj&&(null===args&&(args=[]),args.push(obj),33<args.length))throw new _util.FormatError("Too many arguments");}},preprocessCommand:function(fn,
args){switch(fn|0){case _util.OPS.save:this.stateManager.save();break;case _util.OPS.restore:this.stateManager.restore();break;case _util.OPS.transform:this.stateManager.transform(args)}}};return EvaluatorPreprocessor}()},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?
"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _getPrototypeOf(o$jscomp$0){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o$jscomp$0)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,
writable:!0,configurable:!0}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p$jscomp$0){_setPrototypeOf=Object.setPrototypeOf||function(o,p){o.__proto__=p;return o};return _setPrototypeOf(o$jscomp$0,p$jscomp$0)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=
descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}Object.defineProperty(exports,"__esModule",{value:!0});exports.CMapFactory=exports.IdentityCMap=exports.CMap=void 0;var _util=__w_pdfjs_require__(5),
_primitives=__w_pdfjs_require__(188),_parser=__w_pdfjs_require__(194),_core_utils=__w_pdfjs_require__(191),_stream=__w_pdfjs_require__(195),BUILT_IN_CMAPS="Adobe-GB1-UCS2 Adobe-CNS1-UCS2 Adobe-Japan1-UCS2 Adobe-Korea1-UCS2 78-EUC-H 78-EUC-V 78-H 78-RKSJ-H 78-RKSJ-V 78-V 78ms-RKSJ-H 78ms-RKSJ-V 83pv-RKSJ-H 90ms-RKSJ-H 90ms-RKSJ-V 90msp-RKSJ-H 90msp-RKSJ-V 90pv-RKSJ-H 90pv-RKSJ-V Add-H Add-RKSJ-H Add-RKSJ-V Add-V Adobe-CNS1-0 Adobe-CNS1-1 Adobe-CNS1-2 Adobe-CNS1-3 Adobe-CNS1-4 Adobe-CNS1-5 Adobe-CNS1-6 Adobe-GB1-0 Adobe-GB1-1 Adobe-GB1-2 Adobe-GB1-3 Adobe-GB1-4 Adobe-GB1-5 Adobe-Japan1-0 Adobe-Japan1-1 Adobe-Japan1-2 Adobe-Japan1-3 Adobe-Japan1-4 Adobe-Japan1-5 Adobe-Japan1-6 Adobe-Korea1-0 Adobe-Korea1-1 Adobe-Korea1-2 B5-H B5-V B5pc-H B5pc-V CNS-EUC-H CNS-EUC-V CNS1-H CNS1-V CNS2-H CNS2-V ETHK-B5-H ETHK-B5-V ETen-B5-H ETen-B5-V ETenms-B5-H ETenms-B5-V EUC-H EUC-V Ext-H Ext-RKSJ-H Ext-RKSJ-V Ext-V GB-EUC-H GB-EUC-V GB-H GB-V GBK-EUC-H GBK-EUC-V GBK2K-H GBK2K-V GBKp-EUC-H GBKp-EUC-V GBT-EUC-H GBT-EUC-V GBT-H GBT-V GBTpc-EUC-H GBTpc-EUC-V GBpc-EUC-H GBpc-EUC-V H HKdla-B5-H HKdla-B5-V HKdlb-B5-H HKdlb-B5-V HKgccs-B5-H HKgccs-B5-V HKm314-B5-H HKm314-B5-V HKm471-B5-H HKm471-B5-V HKscs-B5-H HKscs-B5-V Hankaku Hiragana KSC-EUC-H KSC-EUC-V KSC-H KSC-Johab-H KSC-Johab-V KSC-V KSCms-UHC-H KSCms-UHC-HW-H KSCms-UHC-HW-V KSCms-UHC-V KSCpc-EUC-H KSCpc-EUC-V Katakana NWP-H NWP-V RKSJ-H RKSJ-V Roman UniCNS-UCS2-H UniCNS-UCS2-V UniCNS-UTF16-H UniCNS-UTF16-V UniCNS-UTF32-H UniCNS-UTF32-V UniCNS-UTF8-H UniCNS-UTF8-V UniGB-UCS2-H UniGB-UCS2-V UniGB-UTF16-H UniGB-UTF16-V UniGB-UTF32-H UniGB-UTF32-V UniGB-UTF8-H UniGB-UTF8-V UniJIS-UCS2-H UniJIS-UCS2-HW-H UniJIS-UCS2-HW-V UniJIS-UCS2-V UniJIS-UTF16-H UniJIS-UTF16-V UniJIS-UTF32-H UniJIS-UTF32-V UniJIS-UTF8-H UniJIS-UTF8-V UniJIS2004-UTF16-H UniJIS2004-UTF16-V UniJIS2004-UTF32-H UniJIS2004-UTF32-V UniJIS2004-UTF8-H UniJIS2004-UTF8-V UniJISPro-UCS2-HW-V UniJISPro-UCS2-V UniJISPro-UTF8-V UniJISX0213-UTF32-H UniJISX0213-UTF32-V UniJISX02132004-UTF32-H UniJISX02132004-UTF32-V UniKS-UCS2-H UniKS-UCS2-V UniKS-UTF16-H UniKS-UTF16-V UniKS-UTF32-H UniKS-UTF32-V UniKS-UTF8-H UniKS-UTF8-V V WP-Symbol".split(" "),
CMap=function(){function CMap(){var builtInCMap=0<arguments.length&&void 0!==arguments[0]?arguments[0]:!1;_classCallCheck(this,CMap);this.codespaceRanges=[[],[],[],[]];this.numCodespaceRanges=0;this._map=[];this.name="";this.vertical=!1;this.useCMap=null;this.builtInCMap=builtInCMap}_createClass(CMap,[{key:"addCodespaceRange",value:function(n,low,high){this.codespaceRanges[n-1].push(low,high);this.numCodespaceRanges++}},{key:"mapCidRange",value:function(low,high,dstLow){for(;low<=high;)this._map[low++]=
dstLow++}},{key:"mapBfRange",value:function(low,high,dstLow){for(var lastByte=dstLow.length-1;low<=high;)this._map[low++]=dstLow,dstLow=dstLow.substring(0,lastByte)+String.fromCharCode(dstLow.charCodeAt(lastByte)+1)}},{key:"mapBfRangeToArray",value:function(low,high,array){for(var i=0,ii=array.length;low<=high&&i<ii;)this._map[low]=array[i++],++low}},{key:"mapOne",value:function(src,dst){this._map[src]=dst}},{key:"lookup",value:function(code){return this._map[code]}},{key:"contains",value:function(code){return void 0!==
this._map[code]}},{key:"forEach",value:function(callback){var map=this._map,length=map.length;if(65536>=length)for(var i=0;i<length;i++)void 0!==map[i]&&callback(i,map[i]);else for(i in map)callback(i,map[i])}},{key:"charCodeOf",value:function(value){var map=this._map;if(65536>=map.length)return map.indexOf(value);for(var charCode in map)if(map[charCode]===value)return charCode|0;return-1}},{key:"getMap",value:function(){return this._map}},{key:"readCharCode",value:function(str,offset,out){for(var c=
0,codespaceRanges=this.codespaceRanges,n=0,nn=codespaceRanges.length;n<nn;n++){c=(c<<8|str.charCodeAt(offset+n))>>>0;for(var codespaceRange=codespaceRanges[n],k=0,kk=codespaceRange.length;k<kk;){var low=codespaceRange[k++],high=codespaceRange[k++];if(c>=low&&c<=high){out.charcode=c;out.length=n+1;return}}}out.charcode=0;out.length=1}},{key:"length",get:function(){return this._map.length}},{key:"isIdentityCMap",get:function(){if("Identity-H"!==this.name&&"Identity-V"!==this.name||65536!==this._map.length)return!1;
for(var i=0;65536>i;i++)if(this._map[i]!==i)return!1;return!0}}]);return CMap}();exports.CMap=CMap;var IdentityCMap=function(_CMap){function IdentityCMap(vertical,n){_classCallCheck(this,IdentityCMap);var _this=_getPrototypeOf(IdentityCMap).call(this);if(!_this||"object"!==_typeof(_this)&&"function"!==typeof _this){if(void 0===this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");_this=this}_this.vertical=vertical;_this.addCodespaceRange(n,0,65535);return _this}
_inherits(IdentityCMap,_CMap);_createClass(IdentityCMap,[{key:"mapCidRange",value:function(low,high,dstLow){(0,_util.unreachable)("should not call mapCidRange")}},{key:"mapBfRange",value:function(low,high,dstLow){(0,_util.unreachable)("should not call mapBfRange")}},{key:"mapBfRangeToArray",value:function(low,high,array){(0,_util.unreachable)("should not call mapBfRangeToArray")}},{key:"mapOne",value:function(src,dst){(0,_util.unreachable)("should not call mapCidOne")}},{key:"lookup",value:function(code){return Number.isInteger(code)&&
65535>=code?code:void 0}},{key:"contains",value:function(code){return Number.isInteger(code)&&65535>=code}},{key:"forEach",value:function(callback){for(var i=0;65535>=i;i++)callback(i,i)}},{key:"charCodeOf",value:function(value){return Number.isInteger(value)&&65535>=value?value:-1}},{key:"getMap",value:function(){for(var map=Array(65536),i=0;65535>=i;i++)map[i]=i;return map}},{key:"length",get:function(){return 65536}},{key:"isIdentityCMap",get:function(){(0,_util.unreachable)("should not access .isIdentityCMap")}}]);
return IdentityCMap}(CMap);exports.IdentityCMap=IdentityCMap;var BinaryCMapReader=function(){function hexToInt(a,size){for(var n=0,i=0;i<=size;i++)n=n<<8|a[i];return n>>>0}function hexToStr(a,size){return 1===size?String.fromCharCode(a[0],a[1]):3===size?String.fromCharCode(a[0],a[1],a[2],a[3]):String.fromCharCode.apply(null,a.subarray(0,size+1))}function addHex(a,b,size){for(var c=0;0<=size;size--)c+=a[size]+b[size],a[size]=c&255,c>>=8}function incHex(a,size){for(var c=1;0<=size&&0<c;size--)c+=a[size],
a[size]=c&255,c>>=8}function BinaryCMapStream(data){this.buffer=data;this.pos=0;this.end=data.length;this.tmpBuf=new Uint8Array(19)}function BinaryCMapReader(){}BinaryCMapStream.prototype={readByte:function(){return this.pos>=this.end?-1:this.buffer[this.pos++]},readNumber:function(){var n=0;do{var b=this.readByte();if(0>b)throw new _util.FormatError("unexpected EOF in bcmap");var last=!(b&128);n=n<<7|b&127}while(!last);return n},readSigned:function(){var n=this.readNumber();return n&1?~(n>>>1):n>>>
1},readHex:function(num,size){num.set(this.buffer.subarray(this.pos,this.pos+size+1));this.pos+=size+1},readHexNumber:function(num,size){var stack=this.tmpBuf,sp=0;do{var b=this.readByte();if(0>b)throw new _util.FormatError("unexpected EOF in bcmap");var last=!(b&128);stack[sp++]=b&127}while(!last);for(b=last=0;0<=size;){for(;8>b&&0<stack.length;)last|=stack[--sp]<<b,b+=7;num[size]=last&255;size--;last>>=8;b-=8}},readHexSigned:function(num,size){this.readHexNumber(num,size);for(var sign=num[size]&
1?255:0,c=0,i=0;i<=size;i++)c=(c&1)<<8|num[i],num[i]=c>>1^sign},readString:function(){for(var len=this.readNumber(),s="",i=0;i<len;i++)s+=String.fromCharCode(this.readNumber());return s}};BinaryCMapReader.prototype={process:function(data,cMap,extend){return new Promise(function(resolve,reject){var stream=new BinaryCMapStream(data),header=stream.readByte();cMap.vertical=!!(header&1);header=null;for(var start=new Uint8Array(16),end=new Uint8Array(16),_char4=new Uint8Array(16),charCode=new Uint8Array(16),
tmp=new Uint8Array(16),code,b;0<=(b=stream.readByte());)if(code=b>>5,7===code)switch(b&31){case 0:stream.readString();break;case 1:header=stream.readString()}else{var sequence=!!(b&16);b&=15;if(16<b+1)throw Error("processBinaryCMap: Invalid dataSize.");var subitemsCount=stream.readNumber(),i;switch(code){case 0:stream.readHex(start,b);stream.readHexNumber(end,b);addHex(end,start,b);cMap.addCodespaceRange(b+1,hexToInt(start,b),hexToInt(end,b));for(i=1;i<subitemsCount;i++)incHex(end,b),stream.readHexNumber(start,
b),addHex(start,end,b),stream.readHexNumber(end,b),addHex(end,start,b),cMap.addCodespaceRange(b+1,hexToInt(start,b),hexToInt(end,b));break;case 1:stream.readHex(start,b);stream.readHexNumber(end,b);addHex(end,start,b);stream.readNumber();for(i=1;i<subitemsCount;i++)incHex(end,b),stream.readHexNumber(start,b),addHex(start,end,b),stream.readHexNumber(end,b),addHex(end,start,b),stream.readNumber();break;case 2:stream.readHex(_char4,b);code=stream.readNumber();cMap.mapOne(hexToInt(_char4,b),code);for(i=
1;i<subitemsCount;i++)incHex(_char4,b),sequence||(stream.readHexNumber(tmp,b),addHex(_char4,tmp,b)),code=stream.readSigned()+(code+1),cMap.mapOne(hexToInt(_char4,b),code);break;case 3:stream.readHex(start,b);stream.readHexNumber(end,b);addHex(end,start,b);code=stream.readNumber();cMap.mapCidRange(hexToInt(start,b),hexToInt(end,b),code);for(i=1;i<subitemsCount;i++)incHex(end,b),sequence?start.set(end):(stream.readHexNumber(start,b),addHex(start,end,b)),stream.readHexNumber(end,b),addHex(end,start,
b),code=stream.readNumber(),cMap.mapCidRange(hexToInt(start,b),hexToInt(end,b),code);break;case 4:stream.readHex(_char4,1);stream.readHex(charCode,b);cMap.mapOne(hexToInt(_char4,1),hexToStr(charCode,b));for(i=1;i<subitemsCount;i++)incHex(_char4,1),sequence||(stream.readHexNumber(tmp,1),addHex(_char4,tmp,1)),incHex(charCode,b),stream.readHexSigned(tmp,b),addHex(charCode,tmp,b),cMap.mapOne(hexToInt(_char4,1),hexToStr(charCode,b));break;case 5:stream.readHex(start,1);stream.readHexNumber(end,1);addHex(end,
start,1);stream.readHex(charCode,b);cMap.mapBfRange(hexToInt(start,1),hexToInt(end,1),hexToStr(charCode,b));for(i=1;i<subitemsCount;i++)incHex(end,1),sequence?start.set(end):(stream.readHexNumber(start,1),addHex(start,end,1)),stream.readHexNumber(end,1),addHex(end,start,1),stream.readHex(charCode,b),cMap.mapBfRange(hexToInt(start,1),hexToInt(end,1),hexToStr(charCode,b));break;default:reject(Error("processBinaryCMap: Unknown type: "+code));return}}header?resolve(extend(header)):resolve(cMap)})}};return BinaryCMapReader}();
module=function(){function strToInt(str){for(var a=0,i=0;i<str.length;i++)a=a<<8|str.charCodeAt(i);return a>>>0}function expectString(obj){if(!(0,_util.isString)(obj))throw new _util.FormatError("Malformed CMap: expected string.");}function expectInt(obj){if(!Number.isInteger(obj))throw new _util.FormatError("Malformed CMap: expected int.");}function parseCMap(cMap$jscomp$0,lexer$jscomp$0,fetchBuiltInCMap,useCMap){a:for(;;)try{var obj=lexer$jscomp$0.getObj();if((0,_primitives.isEOF)(obj))break;else if((0,_primitives.isName)(obj)){if("WMode"===
obj.name){var cMap=cMap$jscomp$0,obj$jscomp$0=lexer$jscomp$0.getObj();Number.isInteger(obj$jscomp$0)&&(cMap.vertical=!!obj$jscomp$0)}else if("CMapName"===obj.name){cMap=cMap$jscomp$0;var obj$jscomp$1=lexer$jscomp$0.getObj();(0,_primitives.isName)(obj$jscomp$1)&&(0,_util.isString)(obj$jscomp$1.name)&&(cMap.name=obj$jscomp$1.name)}var previous=obj}else if((0,_primitives.isCmd)(obj))switch(obj.cmd){case "endcmap":break a;case "usecmap":if((0,_primitives.isName)(previous))var embeddedUseCMap=previous.name;
break;case "begincodespacerange":b:{cMap=cMap$jscomp$0;for(var lexer=lexer$jscomp$0;;){var obj$jscomp$2=lexer.getObj();if((0,_primitives.isEOF)(obj$jscomp$2))break;if((0,_primitives.isCmd)(obj$jscomp$2,"endcodespacerange"))break b;if(!(0,_util.isString)(obj$jscomp$2))break;var low=strToInt(obj$jscomp$2);obj$jscomp$2=lexer.getObj();if(!(0,_util.isString)(obj$jscomp$2))break;var high=strToInt(obj$jscomp$2);cMap.addCodespaceRange(obj$jscomp$2.length,low,high)}throw new _util.FormatError("Invalid codespace range.");
}break;case "beginbfchar":b:for(cMap=cMap$jscomp$0,lexer=lexer$jscomp$0;;){var obj$jscomp$3=lexer.getObj();if((0,_primitives.isEOF)(obj$jscomp$3))break;if((0,_primitives.isCmd)(obj$jscomp$3,"endbfchar"))break b;expectString(obj$jscomp$3);var src=strToInt(obj$jscomp$3);obj$jscomp$3=lexer.getObj();expectString(obj$jscomp$3);cMap.mapOne(src,obj$jscomp$3)}break;case "begincidchar":b:for(cMap=cMap$jscomp$0,lexer=lexer$jscomp$0;;){var obj$jscomp$4=lexer.getObj();if((0,_primitives.isEOF)(obj$jscomp$4))break;
if((0,_primitives.isCmd)(obj$jscomp$4,"endcidchar"))break b;expectString(obj$jscomp$4);var src$jscomp$0=strToInt(obj$jscomp$4);obj$jscomp$4=lexer.getObj();expectInt(obj$jscomp$4);cMap.mapOne(src$jscomp$0,obj$jscomp$4)}break;case "beginbfrange":b:{cMap=cMap$jscomp$0;for(lexer=lexer$jscomp$0;;){var obj$jscomp$5=lexer.getObj();if((0,_primitives.isEOF)(obj$jscomp$5))break;if((0,_primitives.isCmd)(obj$jscomp$5,"endbfrange"))break b;expectString(obj$jscomp$5);var low$jscomp$0=strToInt(obj$jscomp$5);obj$jscomp$5=
lexer.getObj();expectString(obj$jscomp$5);var high$jscomp$0=strToInt(obj$jscomp$5);obj$jscomp$5=lexer.getObj();if(Number.isInteger(obj$jscomp$5)||(0,_util.isString)(obj$jscomp$5)){var dstLow=Number.isInteger(obj$jscomp$5)?String.fromCharCode(obj$jscomp$5):obj$jscomp$5;cMap.mapBfRange(low$jscomp$0,high$jscomp$0,dstLow)}else if((0,_primitives.isCmd)(obj$jscomp$5,"[")){obj$jscomp$5=lexer.getObj();for(var array=[];!(0,_primitives.isCmd)(obj$jscomp$5,"]")&&!(0,_primitives.isEOF)(obj$jscomp$5);)array.push(obj$jscomp$5),
obj$jscomp$5=lexer.getObj();cMap.mapBfRangeToArray(low$jscomp$0,high$jscomp$0,array)}else break}throw new _util.FormatError("Invalid bf range.");}break;case "begincidrange":b:for(cMap=cMap$jscomp$0,lexer=lexer$jscomp$0;;){var obj$jscomp$6=lexer.getObj();if((0,_primitives.isEOF)(obj$jscomp$6))break;if((0,_primitives.isCmd)(obj$jscomp$6,"endcidrange"))break b;expectString(obj$jscomp$6);var low$jscomp$1=strToInt(obj$jscomp$6);obj$jscomp$6=lexer.getObj();expectString(obj$jscomp$6);var high$jscomp$1=strToInt(obj$jscomp$6);
obj$jscomp$6=lexer.getObj();expectInt(obj$jscomp$6);cMap.mapCidRange(low$jscomp$1,high$jscomp$1,obj$jscomp$6)}}}catch(ex){if(ex instanceof _core_utils.MissingDataException)throw ex;(0,_util.warn)("Invalid cMap data: "+ex)}!useCMap&&embeddedUseCMap&&(useCMap=embeddedUseCMap);return useCMap?extendCMap(cMap$jscomp$0,fetchBuiltInCMap,useCMap):Promise.resolve(cMap$jscomp$0)}function extendCMap(cMap,fetchBuiltInCMap,useCMap){return createBuiltInCMap(useCMap,fetchBuiltInCMap).then(function(newCMap){cMap.useCMap=
newCMap;if(0===cMap.numCodespaceRanges){newCMap=cMap.useCMap.codespaceRanges;for(var i=0;i<newCMap.length;i++)cMap.codespaceRanges[i]=newCMap[i].slice();cMap.numCodespaceRanges=cMap.useCMap.numCodespaceRanges}cMap.useCMap.forEach(function(key,value){cMap.contains(key)||cMap.mapOne(key,cMap.useCMap.lookup(key))});return cMap})}function createBuiltInCMap(name,fetchBuiltInCMap){return"Identity-H"===name?Promise.resolve(new IdentityCMap(!1,2)):"Identity-V"===name?Promise.resolve(new IdentityCMap(!0,2)):
BUILT_IN_CMAPS.includes(name)?fetchBuiltInCMap?fetchBuiltInCMap(name).then(function(data){var cMapData=data.cMapData;data=data.compressionType;var cMap=new CMap(!0);return data===_util.CMapCompressionType.BINARY?(new BinaryCMapReader).process(cMapData,cMap,function(useCMap){return extendCMap(cMap,fetchBuiltInCMap,useCMap)}):data===_util.CMapCompressionType.NONE?(cMapData=new _parser.Lexer(new _stream.Stream(cMapData)),parseCMap(cMap,cMapData,fetchBuiltInCMap,null)):Promise.reject(Error("TODO: Only BINARY/NONE CMap compression is currently supported."))}):
Promise.reject(Error("Built-in CMap parameters are not provided.")):Promise.reject(Error("Unknown CMap name: "+name))}return{create:function(params){var encoding=params.encoding,fetchBuiltInCMap=params.fetchBuiltInCMap;params=params.useCMap;if((0,_primitives.isName)(encoding))return createBuiltInCMap(encoding.name,fetchBuiltInCMap);if((0,_primitives.isStream)(encoding)){var cMap=new CMap;encoding=new _parser.Lexer(encoding);return parseCMap(cMap,encoding,fetchBuiltInCMap,params).then(function(parsedCMap){return parsedCMap.isIdentityCMap?
createBuiltInCMap(parsedCMap.name,fetchBuiltInCMap):parsedCMap})}return Promise.reject(Error("Encoding required."))}}}();exports.CMapFactory=module},function(module,exports,__w_pdfjs_require__){function adjustWidths(properties){if(properties.fontMatrix&&properties.fontMatrix[0]!==_util.FONT_IDENTITY_MATRIX[0]){var scale=.001/properties.fontMatrix[0],glyphsWidths=properties.widths,glyph;for(glyph in glyphsWidths)glyphsWidths[glyph]*=scale;properties.defaultWidth*=scale}}function adjustToUnicode(properties,
builtInEncoding){if(!(properties.hasIncludedToUnicodeMap||properties.hasEncoding||builtInEncoding===properties.defaultEncoding||properties.toUnicode instanceof IdentityToUnicodeMap)){var toUnicode=[],glyphsUnicodeMap=(0,_glyphlist.getGlyphsUnicode)(),charCode;for(charCode in builtInEncoding){var unicode=(0,_unicode.getUnicodeForGlyph)(builtInEncoding[charCode],glyphsUnicodeMap);-1!==unicode&&(toUnicode[charCode]=String.fromCharCode(unicode))}properties.toUnicode.amend(toUnicode)}}function getFontType(type,
subtype){switch(type){case "Type1":return"Type1C"===subtype?_util.FontType.TYPE1C:_util.FontType.TYPE1;case "CIDFontType0":return"CIDFontType0C"===subtype?_util.FontType.CIDFONTTYPE0C:_util.FontType.CIDFONTTYPE0;case "OpenType":return _util.FontType.OPENTYPE;case "TrueType":return _util.FontType.TRUETYPE;case "CIDFontType2":return _util.FontType.CIDFONTTYPE2;case "MMType1":return _util.FontType.MMTYPE1;case "Type0":return _util.FontType.TYPE0;default:return _util.FontType.UNKNOWN}}function recoverGlyphName(name,
glyphsUnicodeMap){if(void 0!==glyphsUnicodeMap[name])return name;var unicode=(0,_unicode.getUnicodeForGlyph)(name,glyphsUnicodeMap);if(-1!==unicode)for(var key in glyphsUnicodeMap)if(glyphsUnicodeMap[key]===unicode)return key;(0,_util.info)("Unable to recover a standard glyph name for: "+name);return name}function type1FontGlyphMapping(properties,builtInEncoding,glyphNames){var charCodeToGlyphId=Object.create(null),charCode;var baseEncoding=!!(properties.flags&FontFlags.Symbolic);if(properties.baseEncodingName)for(baseEncoding=
(0,_encodings.getEncoding)(properties.baseEncodingName),charCode=0;charCode<baseEncoding.length;charCode++)builtInEncoding=glyphNames.indexOf(baseEncoding[charCode]),charCodeToGlyphId[charCode]=0<=builtInEncoding?builtInEncoding:0;else if(baseEncoding)for(charCode in builtInEncoding)charCodeToGlyphId[charCode]=builtInEncoding[charCode];else for(baseEncoding=_encodings.StandardEncoding,charCode=0;charCode<baseEncoding.length;charCode++)builtInEncoding=glyphNames.indexOf(baseEncoding[charCode]),charCodeToGlyphId[charCode]=
0<=builtInEncoding?builtInEncoding:0;properties=properties.differences;var glyphsUnicodeMap;if(properties)for(charCode in properties){baseEncoding=properties[charCode];builtInEncoding=glyphNames.indexOf(baseEncoding);if(-1===builtInEncoding){glyphsUnicodeMap||(glyphsUnicodeMap=(0,_glyphlist.getGlyphsUnicode)());var standardGlyphName=recoverGlyphName(baseEncoding,glyphsUnicodeMap);standardGlyphName!==baseEncoding&&(builtInEncoding=glyphNames.indexOf(standardGlyphName))}charCodeToGlyphId[charCode]=
0<=builtInEncoding?builtInEncoding:0}return charCodeToGlyphId}Object.defineProperty(exports,"__esModule",{value:!0});exports.getFontType=getFontType;exports.IdentityToUnicodeMap=exports.ToUnicodeMap=exports.FontFlags=exports.Font=exports.ErrorFont=exports.SEAC_ANALYSIS_ENABLED=void 0;var _util=__w_pdfjs_require__(5),_cff_parser=__w_pdfjs_require__(212),_glyphlist=__w_pdfjs_require__(215),_encodings=__w_pdfjs_require__(214),_standard_fonts=__w_pdfjs_require__(216),_unicode=__w_pdfjs_require__(217),
_font_renderer=__w_pdfjs_require__(218),_cmap=__w_pdfjs_require__(210),_core_utils=__w_pdfjs_require__(191),_stream=__w_pdfjs_require__(195),_type1_parser=__w_pdfjs_require__(219),PRIVATE_USE_AREAS=[[57344,63743],[1048576,1114109]];exports.SEAC_ANALYSIS_ENABLED=!0;var FontFlags={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};exports.FontFlags=FontFlags;var MacStandardGlyphOrdering=".notdef .null nonmarkingreturn space exclam quotedbl numbersign dollar percent ampersand quotesingle parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore grave a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde Adieresis Aring Ccedilla Eacute Ntilde Odieresis Udieresis aacute agrave acircumflex adieresis atilde aring ccedilla eacute egrave ecircumflex edieresis iacute igrave icircumflex idieresis ntilde oacute ograve ocircumflex odieresis otilde uacute ugrave ucircumflex udieresis dagger degree cent sterling section bullet paragraph germandbls registered copyright trademark acute dieresis notequal AE Oslash infinity plusminus lessequal greaterequal yen mu partialdiff summation product pi integral ordfeminine ordmasculine Omega ae oslash questiondown exclamdown logicalnot radical florin approxequal Delta guillemotleft guillemotright ellipsis nonbreakingspace Agrave Atilde Otilde OE oe endash emdash quotedblleft quotedblright quoteleft quoteright divide lozenge ydieresis Ydieresis fraction currency guilsinglleft guilsinglright fi fl daggerdbl periodcentered quotesinglbase quotedblbase perthousand Acircumflex Ecircumflex Aacute Edieresis Egrave Iacute Icircumflex Idieresis Igrave Oacute Ocircumflex apple Ograve Uacute Ucircumflex Ugrave dotlessi circumflex tilde macron breve dotaccent ring cedilla hungarumlaut ogonek caron Lslash lslash Scaron scaron Zcaron zcaron brokenbar Eth eth Yacute yacute Thorn thorn minus multiply onesuperior twosuperior threesuperior onehalf onequarter threequarters franc Gbreve gbreve Idotaccent Scedilla scedilla Cacute cacute Ccaron ccaron dcroat".split(" "),
Glyph=function(){function Glyph(fontChar,unicode,accent,width,vmetric,operatorListId,isSpace,isInFont){this.fontChar=fontChar;this.unicode=unicode;this.accent=accent;this.width=width;this.vmetric=vmetric;this.operatorListId=operatorListId;this.isSpace=isSpace;this.isInFont=isInFont}Glyph.prototype.matchesForCache=function(fontChar,unicode,accent,width,vmetric,operatorListId,isSpace,isInFont){return this.fontChar===fontChar&&this.unicode===unicode&&this.accent===accent&&this.width===width&&this.vmetric===
vmetric&&this.operatorListId===operatorListId&&this.isSpace===isSpace&&this.isInFont===isInFont};return Glyph}(),ToUnicodeMap=function(){function ToUnicodeMap(){this._map=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]}ToUnicodeMap.prototype={get length(){return this._map.length},forEach:function(callback){for(var charCode in this._map)callback(charCode,this._map[charCode].charCodeAt(0))},has:function(i){return void 0!==this._map[i]},get:function(i){return this._map[i]},charCodeOf:function(value){var map=
this._map;if(65536>=map.length)return map.indexOf(value);for(var charCode in map)if(map[charCode]===value)return charCode|0;return-1},amend:function(map){for(var charCode in map)this._map[charCode]=map[charCode]}};return ToUnicodeMap}();exports.ToUnicodeMap=ToUnicodeMap;var IdentityToUnicodeMap=function(){function IdentityToUnicodeMap(firstChar,lastChar){this.firstChar=firstChar;this.lastChar=lastChar}IdentityToUnicodeMap.prototype={get length(){return this.lastChar+1-this.firstChar},forEach:function(callback){for(var i=
this.firstChar,ii=this.lastChar;i<=ii;i++)callback(i,i)},has:function(i){return this.firstChar<=i&&i<=this.lastChar},get:function(i){if(this.firstChar<=i&&i<=this.lastChar)return String.fromCharCode(i)},charCodeOf:function(v){return Number.isInteger(v)&&v>=this.firstChar&&v<=this.lastChar?v:-1},amend:function(map){(0,_util.unreachable)("Should not call amend()")}};return IdentityToUnicodeMap}();exports.IdentityToUnicodeMap=IdentityToUnicodeMap;var OpenTypeFileBuilder=function(){function writeInt16(dest,
offset,num){dest[offset]=num>>8&255;dest[offset+1]=num&255}function writeInt32(dest,offset,num){dest[offset]=num>>24&255;dest[offset+1]=num>>16&255;dest[offset+2]=num>>8&255;dest[offset+3]=num&255}function OpenTypeFileBuilder(sfnt){this.sfnt=sfnt;this.tables=Object.create(null)}OpenTypeFileBuilder.getSearchParams=function(entriesCount,entrySize){for(var maxPower2=1,log2=0;(maxPower2^entriesCount)>maxPower2;)maxPower2<<=1,log2++;maxPower2*=entrySize;return{range:maxPower2,entry:log2,rangeShift:entrySize*
entriesCount-maxPower2}};OpenTypeFileBuilder.prototype={toArray:function(){var sfnt=this.sfnt,tables=this.tables,tablesNames=Object.keys(tables);tablesNames.sort();var numTables=tablesNames.length,i,offset=12+16*numTables,tableOffsets=[offset];for(i=0;i<numTables;i++){var table=tables[tablesNames[i]];offset+=(table.length+3&-4)>>>0;tableOffsets.push(offset)}var file=new Uint8Array(offset);for(i=0;i<numTables;i++){table=tables[tablesNames[i]];offset=file;var jj=tableOffsets[i];var data=table;if(data instanceof
Uint8Array)offset.set(data,jj);else if("string"===typeof data){var i$jscomp$0=0;for(table=data.length;i$jscomp$0<table;i$jscomp$0++)offset[jj++]=data.charCodeAt(i$jscomp$0)&255}else for(i$jscomp$0=0,table=data.length;i$jscomp$0<table;i$jscomp$0++)offset[jj++]=data[i$jscomp$0]&255}"true"===sfnt&&(sfnt=(0,_util.string32)(65536));file[0]=sfnt.charCodeAt(0)&255;file[1]=sfnt.charCodeAt(1)&255;file[2]=sfnt.charCodeAt(2)&255;file[3]=sfnt.charCodeAt(3)&255;writeInt16(file,4,numTables);i=OpenTypeFileBuilder.getSearchParams(numTables,
16);writeInt16(file,6,i.range);writeInt16(file,8,i.entry);writeInt16(file,10,i.rangeShift);offset=12;for(i=0;i<numTables;i++){table=tablesNames[i];file[offset]=table.charCodeAt(0)&255;file[offset+1]=table.charCodeAt(1)&255;file[offset+2]=table.charCodeAt(2)&255;file[offset+3]=table.charCodeAt(3)&255;i$jscomp$0=0;sfnt=tableOffsets[i];for(jj=tableOffsets[i+1];sfnt<jj;sfnt+=4)data=(0,_util.readUint32)(file,sfnt),i$jscomp$0=i$jscomp$0+data>>>0;writeInt32(file,offset+4,i$jscomp$0);writeInt32(file,offset+
8,tableOffsets[i]);writeInt32(file,offset+12,tables[table].length);offset+=16}return file},addTable:function(tag,data){if(tag in this.tables)throw Error("Table "+tag+" already exists");this.tables[tag]=data}};return OpenTypeFileBuilder}();module=function(){function Font(name,file,properties){this.name=name;this.loadedName=properties.loadedName;this.isType3Font=properties.isType3Font;this.sizes=[];this.missingFile=!1;this.glyphCache=Object.create(null);this.isSerifFont=!!(properties.flags&FontFlags.Serif);
this.isSymbolicFont=!!(properties.flags&FontFlags.Symbolic);this.isMonospace=!!(properties.flags&FontFlags.FixedPitch);var type=properties.type,subtype=properties.subtype;this.type=type;this.subtype=subtype;this.fallbackName=this.isMonospace?"monospace":this.isSerifFont?"serif":"sans-serif";this.differences=properties.differences;this.widths=properties.widths;this.defaultWidth=properties.defaultWidth;this.composite=properties.composite;this.wideChars=properties.wideChars;this.cMap=properties.cMap;
this.ascent=properties.ascent/1E3;this.descent=properties.descent/1E3;this.fontMatrix=properties.fontMatrix;this.bbox=properties.bbox;this.defaultEncoding=properties.defaultEncoding;this.toUnicode=properties.toUnicode;this.fallbackToUnicode=properties.fallbackToUnicode||new ToUnicodeMap;this.toFontChar=[];if("Type3"===properties.type){for(name=0;256>name;name++)this.toFontChar[name]=this.differences[name]||properties.defaultEncoding[name];this.fontType=_util.FontType.TYPE3}else{this.cidEncoding=properties.cidEncoding;
if(this.vertical=properties.vertical)this.vmetrics=properties.vmetrics,this.defaultVMetrics=properties.defaultVMetrics;if(!file||file.isEmpty)file&&(0,_util.warn)('Font file is empty in "'+name+'" ('+this.loadedName+")"),this.fallbackToSystemFont(properties);else{subtype=properties.type;type=properties.subtype;var composite=properties.composite,header=file.peekBytes(4);if(65536===(0,_util.readUint32)(header,0)||"true"===(0,_util.bytesToString)(header)||isTrueTypeCollectionFile(file))subtype=composite?
"CIDFontType2":"TrueType";else if(header=file.peekBytes(4),"OTTO"===(0,_util.bytesToString)(header))subtype=composite?"CIDFontType2":"OpenType";else if(header=file.peekBytes(2),37===header[0]&&33===header[1]||128===header[0]&&1===header[1])subtype=composite?"CIDFontType0":"MMType1"===subtype?"MMType1":"Type1";else{var _getFontFileType=file.peekBytes(4);1<=_getFontFileType[0]&&1<=_getFontFileType[3]&&4>=_getFontFileType[3]?composite?(subtype="CIDFontType0",_getFontFileType="CIDFontType0C"):(subtype=
"MMType1"===subtype?"MMType1":"Type1",_getFontFileType="Type1C"):((0,_util.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."),_getFontFileType=type)}_getFontFileType=[subtype,_getFontFileType];type=Array.isArray(_getFontFileType)?_getFontFileType:void 0;if(!type)if(Symbol.iterator in Object(_getFontFileType)||"[object Arguments]"===Object.prototype.toString.call(_getFontFileType)){type=[];subtype=!0;composite=!1;header=void 0;try{var JSCompiler_temp=_getFontFileType[Symbol.iterator]();
for(var _s;!(subtype=(_s=JSCompiler_temp.next()).done)&&(type.push(_s.value),2!==type.length);subtype=!0);}catch(err){composite=!0,header=err}finally{try{if(!subtype&&null!=JSCompiler_temp["return"])JSCompiler_temp["return"]()}finally{if(composite)throw header;}}}else type=void 0;if(!(JSCompiler_temp=type))throw new TypeError("Invalid attempt to destructure non-iterable instance");type=JSCompiler_temp[0];subtype=JSCompiler_temp[1];type===this.type&&subtype===this.subtype||(0,_util.info)("Inconsistent font file Type/SubType, expected: "+
"".concat(this.type,"/").concat(this.subtype," but found: ").concat(type,"/").concat(subtype,"."));try{switch(type){case "MMType1":(0,_util.info)("MMType1 font ("+name+"), falling back to Type1.");case "Type1":case "CIDFontType0":this.mimetype="font/opentype";var cff="Type1C"===subtype||"CIDFontType0C"===subtype?new CFFFont(file,properties):new Type1Font(name,file,properties);adjustWidths(properties);var data=this.convert(name,cff,properties);break;case "OpenType":case "TrueType":case "CIDFontType2":this.mimetype=
"font/opentype";data=this.checkAndRepair(name,file,properties);this.isOpenType&&(adjustWidths(properties),type="OpenType");break;default:throw new _util.FormatError("Font ".concat(type," is not supported"));}}catch(e){(0,_util.warn)(e);this.fallbackToSystemFont(properties);return}this.data=data;this.fontType=getFontType(type,subtype);this.fontMatrix=properties.fontMatrix;this.widths=properties.widths;this.defaultWidth=properties.defaultWidth;this.toUnicode=properties.toUnicode;this.encoding=properties.baseEncoding;
this.seacMap=properties.seacMap}}}function signedInt16(b0,b1){b0=(b0<<8)+b1;return b0&32768?b0-65536:b0}function string16(value){return String.fromCharCode(value>>8&255,value&255)}function safeString16(value){value=32767<value?32767:-32768>value?-32768:value;return String.fromCharCode(value>>8&255,value&255)}function isTrueTypeCollectionFile(file){file=file.peekBytes(4);return"ttcf"===(0,_util.bytesToString)(file)}function applyStandardFontGlyphMap(map,glyphMap){for(var charCode in glyphMap)map[+charCode]=
glyphMap[charCode]}function buildToFontChar(encoding,glyphsUnicodeMap,differences){for(var toFontChar=[],unicode,i=0,ii=encoding.length;i<ii;i++)unicode=(0,_unicode.getUnicodeForGlyph)(encoding[i],glyphsUnicodeMap),-1!==unicode&&(toFontChar[i]=unicode);for(var charCode in differences)unicode=(0,_unicode.getUnicodeForGlyph)(differences[charCode],glyphsUnicodeMap),-1!==unicode&&(toFontChar[+charCode]=unicode);return toFontChar}function adjustMapping(charCodeToGlyphId,hasGlyph,newGlyphZeroId){var newMap=
Object.create(null),toFontChar=[],privateUseAreaIndex=0,nextAvailableFontCharCode=PRIVATE_USE_AREAS[privateUseAreaIndex][0],privateUseOffetEnd=PRIVATE_USE_AREAS[privateUseAreaIndex][1],originalCharCode;for(originalCharCode in charCodeToGlyphId){originalCharCode|=0;var glyphId=charCodeToGlyphId[originalCharCode];if(hasGlyph(glyphId)){if(nextAvailableFontCharCode>privateUseOffetEnd){privateUseAreaIndex++;if(privateUseAreaIndex>=PRIVATE_USE_AREAS.length){(0,_util.warn)("Ran out of space in font private use area.");
break}nextAvailableFontCharCode=PRIVATE_USE_AREAS[privateUseAreaIndex][0];privateUseOffetEnd=PRIVATE_USE_AREAS[privateUseAreaIndex][1]}var fontCharCode=nextAvailableFontCharCode++;0===glyphId&&(glyphId=newGlyphZeroId);newMap[fontCharCode]=glyphId;toFontChar[originalCharCode]=fontCharCode}}return{toFontChar:toFontChar,charCodeToGlyphId:newMap,nextAvailableFontCharCode:nextAvailableFontCharCode}}function getRanges(glyphs,numGlyphs){var codes=[],charCode;for(charCode in glyphs)glyphs[charCode]>=numGlyphs||
codes.push({fontCharCode:charCode|0,glyphId:glyphs[charCode]});0===codes.length&&codes.push({fontCharCode:0,glyphId:0});codes.sort(function(a,b){return a.fontCharCode-b.fontCharCode});glyphs=[];numGlyphs=codes.length;for(charCode=0;charCode<numGlyphs;){var start=codes[charCode].fontCharCode,codeIndices=[codes[charCode].glyphId];++charCode;for(var end=start;charCode<numGlyphs&&end+1===codes[charCode].fontCharCode&&(codeIndices.push(codes[charCode].glyphId),++end,++charCode,65535!==end););glyphs.push([start,
end,codeIndices])}return glyphs}function createCmapTable(glyphs,numGlyphs){glyphs=getRanges(glyphs,numGlyphs);var numTables=65535<glyphs[glyphs.length-1][1]?2:1;numGlyphs="\x00\x00"+string16(numTables)+"\x00\u0003\x00\u0001"+(0,_util.string32)(4+8*numTables);var i,jj;for(i=glyphs.length-1;0<=i&&!(65535>=glyphs[i][0]);--i);var ii=i+1;65535>glyphs[i][0]&&65535===glyphs[i][1]&&(glyphs[i][1]=65534);var trailingRangesCount=65535>glyphs[i][1]?1:0,segCount=ii+trailingRangesCount,searchParams=OpenTypeFileBuilder.getSearchParams(segCount,
2),startCount="",endCount="",idDeltas="",idRangeOffsets="",glyphsIds="",bias=0;for(i=0;i<ii;i++){var range=glyphs[i];var start=range[0];var end=range[1];startCount+=string16(start);endCount+=string16(end);var codes=range[2];range=!0;var j=1;for(jj=codes.length;j<jj;++j)if(codes[j]!==codes[j-1]+1){range=!1;break}if(range)idDeltas+=string16(codes[0]-start&65535),idRangeOffsets+=string16(0);else for(j=2*(segCount-i)+2*bias,bias+=end-start+1,idDeltas+=string16(0),idRangeOffsets+=string16(j),j=0,jj=codes.length;j<
jj;++j)glyphsIds+=string16(codes[j])}0<trailingRangesCount&&(endCount+="\u00ff\u00ff",startCount+="\u00ff\u00ff",idDeltas+="\x00\u0001",idRangeOffsets+="\x00\x00");trailingRangesCount="\x00\x00"+string16(2*segCount)+string16(searchParams.range)+string16(searchParams.entry)+string16(searchParams.rangeShift)+endCount+"\x00\x00"+startCount+idDeltas+idRangeOffsets+glyphsIds;i=segCount="";if(1<numTables){numGlyphs+="\x00\u0003\x00\n"+(0,_util.string32)(8*numTables+8+trailingRangesCount.length);segCount=
"";i=0;for(ii=glyphs.length;i<ii;i++){range=glyphs[i];start=range[0];codes=range[2];numTables=codes[0];j=1;for(jj=codes.length;j<jj;++j)codes[j]!==codes[j-1]+1&&(end=range[0]+j-1,segCount+=(0,_util.string32)(start)+(0,_util.string32)(end)+(0,_util.string32)(numTables),start=end+1,numTables=codes[j]);segCount+=(0,_util.string32)(start)+(0,_util.string32)(range[1])+(0,_util.string32)(numTables)}i="\x00\f\x00\x00"+(0,_util.string32)(segCount.length+16)+"\x00\x00\x00\x00"+(0,_util.string32)(segCount.length/
12)}return numGlyphs+"\x00\u0004"+string16(trailingRangesCount.length+4)+trailingRangesCount+i+segCount}function validateOS2Table(os2){var stream=new _stream.Stream(os2.data),version=stream.getUint16();stream.getBytes(60);var selection=stream.getUint16();if(4>version&&selection&768)return!1;version=stream.getUint16();selection=stream.getUint16();if(version>selection)return!1;stream.getBytes(6);if(0===stream.getUint16())return!1;os2.data[8]=os2.data[9]=0;return!0}function createOS2Table(properties,
charstrings,override){override=override||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};var ulUnicodeRange1=0,ulUnicodeRange2=0,ulUnicodeRange3=0,ulUnicodeRange4=0,firstCharIndex=null,lastCharIndex=0;if(charstrings){for(var code in charstrings){code|=0;if(firstCharIndex>code||!firstCharIndex)firstCharIndex=code;lastCharIndex<code&&(lastCharIndex=code);charstrings=(0,_unicode.getUnicodeRangeFor)(code);if(32>charstrings)ulUnicodeRange1|=1<<charstrings;else if(64>charstrings)ulUnicodeRange2|=1<<charstrings-
32;else if(96>charstrings)ulUnicodeRange3|=1<<charstrings-64;else if(123>charstrings)ulUnicodeRange4|=1<<charstrings-96;else throw new _util.FormatError("Unicode ranges Bits > 123 are reserved for internal usage");}65535<lastCharIndex&&(lastCharIndex=65535)}else firstCharIndex=0,lastCharIndex=255;charstrings=properties.bbox||[0,0,0,0];code=override.unitsPerEm||1/(properties.fontMatrix||_util.FONT_IDENTITY_MATRIX)[0];var scale=properties.ascentScaled?1:code/1E3;code=override.ascent||Math.round(scale*
(properties.ascent||charstrings[3]));scale=override.descent||Math.round(scale*(properties.descent||charstrings[1]));0<scale&&0<properties.descent&&0>charstrings[1]&&(scale=-scale);charstrings=override.yMax||code;override=-override.yMin||-scale;return"\x00\u0003\u0002$\u0001\u00f4\x00\u0005\x00\x00\u0002\u008a\u0002\u00bb\x00\x00\x00\u008c\u0002\u008a\u0002\u00bb\x00\x00\u0001\u00df\x001\u0001\u0002\x00\x00\x00\x00\u0006"+String.fromCharCode(properties.fixedPitch?9:0)+"\x00\x00\x00\x00\x00\x00"+(0,_util.string32)(ulUnicodeRange1)+
(0,_util.string32)(ulUnicodeRange2)+(0,_util.string32)(ulUnicodeRange3)+(0,_util.string32)(ulUnicodeRange4)+"*21*"+string16(properties.italicAngle?1:0)+string16(firstCharIndex||properties.firstChar)+string16(lastCharIndex||properties.lastChar)+string16(code)+string16(scale)+"\x00d"+string16(charstrings)+string16(override)+"\x00\x00\x00\x00\x00\x00\x00\x00"+string16(properties.xHeight)+string16(properties.capHeight)+string16(0)+string16(firstCharIndex||properties.firstChar)+"\x00\u0003"}function createPostTable(properties){return"\x00\u0003\x00\x00"+
(0,_util.string32)(Math.floor(properties.italicAngle*Math.pow(2,16)))+"\x00\x00\x00\x00"+(0,_util.string32)(properties.fixedPitch)+"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}function createNameTable(name,proto){proto||(proto=[[],[]]);name=[proto[0][0]||"Original licence",proto[0][1]||name,proto[0][2]||"Unknown",proto[0][3]||"uniqueID",proto[0][4]||name,proto[0][5]||"Version 0.11",proto[0][6]||"",proto[0][7]||"Unknown",proto[0][8]||"Unknown",proto[0][9]||"Unknown"];var stringsUnicode=
[],ii,jj;var i=0;for(ii=name.length;i<ii;i++){var str=proto[1][i]||name[i];var strBufUnicode=[];var j=0;for(jj=str.length;j<jj;j++)strBufUnicode.push(string16(str.charCodeAt(j)));stringsUnicode.push(strBufUnicode.join(""))}proto=[name,stringsUnicode];strBufUnicode=["\x00\u0001","\x00\u0003"];var encodings=["\x00\x00","\x00\u0001"],languages=["\x00\x00","\u0004\t"];i=name.length*strBufUnicode.length;var nameTable="\x00\x00"+string16(i)+string16(12*i+6),strOffset=0;i=0;for(ii=strBufUnicode.length;i<
ii;i++){var strs=proto[i];j=0;for(jj=strs.length;j<jj;j++){str=strs[j];var nameRecord=strBufUnicode[i]+encodings[i]+languages[i]+string16(j)+string16(str.length)+string16(strOffset);nameTable+=nameRecord;strOffset+=str.length}}return nameTable+=name.join("")+stringsUnicode.join("")}Font.getFontID=function(){var ID=1;return function(){return String(ID++)}}();Font.prototype={name:null,font:null,mimetype:null,encoding:null,disableFontFace:!1,get renderer(){var renderer=_font_renderer.FontRendererFactory.create(this,
!0);return(0,_util.shadow)(this,"renderer",renderer)},exportData:function(){var data={},i;for(i in this)this.hasOwnProperty(i)&&(data[i]=this[i]);return data},fallbackToSystemFont:function(properties){var _this=this;this.missingFile=!0;var unicode,name=this.name,type=this.type,subtype=this.subtype,fontName=name.replace(/[,_]/g,"-"),stdFontMap=(0,_standard_fonts.getStdFontMap)(),nonStdFontMap=(0,_standard_fonts.getNonStdFontMap)(),isStandardFont=!!stdFontMap[fontName]||!(!nonStdFontMap[fontName]||
!stdFontMap[nonStdFontMap[fontName]]);fontName=stdFontMap[fontName]||nonStdFontMap[fontName]||fontName;this.bold=-1!==fontName.search(/bold/gi);this.italic=-1!==fontName.search(/oblique/gi)||-1!==fontName.search(/italic/gi);this.black=-1!==name.search(/Black/g);this.remeasure=0<Object.keys(this.widths).length;if(isStandardFont&&"CIDFontType2"===type&&this.cidEncoding.startsWith("Identity-")){var cidToGidMap=properties.cidToGidMap,map=[];applyStandardFontGlyphMap(map,(0,_standard_fonts.getGlyphMapForStandardFonts)());
/Arial-?Black/i.test(name)?applyStandardFontGlyphMap(map,(0,_standard_fonts.getSupplementalGlyphMapForArialBlack)()):/Calibri/i.test(name)&&applyStandardFontGlyphMap(map,(0,_standard_fonts.getSupplementalGlyphMapForCalibri)());if(cidToGidMap){for(var _charCode in map)name=map[_charCode],void 0!==cidToGidMap[name]&&(map[+_charCode]=cidToGidMap[name]);cidToGidMap.length!==this.toUnicode.length&&properties.hasIncludedToUnicodeMap&&this.toUnicode instanceof IdentityToUnicodeMap&&this.toUnicode.forEach(function(charCode,
unicodeCharCode){void 0===cidToGidMap[map[charCode]]&&(map[+charCode]=unicodeCharCode)})}this.toUnicode instanceof IdentityToUnicodeMap||this.toUnicode.forEach(function(charCode,unicodeCharCode){map[+charCode]=unicodeCharCode});this.toFontChar=map;this.toUnicode=new ToUnicodeMap(map)}else if(/Symbol/i.test(fontName))this.toFontChar=buildToFontChar(_encodings.SymbolSetEncoding,(0,_glyphlist.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(fontName))/Wingdings/i.test(name)&&(0,_util.warn)("Non-embedded Wingdings font, falling back to ZapfDingbats."),
this.toFontChar=buildToFontChar(_encodings.ZapfDingbatsEncoding,(0,_glyphlist.getDingbatsGlyphsUnicode)(),this.differences);else if(isStandardFont)this.toFontChar=buildToFontChar(this.defaultEncoding,(0,_glyphlist.getGlyphsUnicode)(),this.differences);else{var glyphsUnicodeMap=(0,_glyphlist.getGlyphsUnicode)(),_map=[];this.toUnicode.forEach(function(charCode,unicodeCharCode){_this.composite||(unicode=(0,_unicode.getUnicodeForGlyph)(_this.differences[charCode]||_this.defaultEncoding[charCode],glyphsUnicodeMap),
-1!==unicode&&(unicodeCharCode=unicode));_map[+charCode]=unicodeCharCode});this.composite&&this.toUnicode instanceof IdentityToUnicodeMap&&/Verdana/i.test(name)&&applyStandardFontGlyphMap(_map,(0,_standard_fonts.getGlyphMapForStandardFonts)());this.toFontChar=_map}this.loadedName=fontName.split("-")[0];this.fontType=getFontType(type,subtype)},checkAndRepair:function(name,font$jscomp$0,properties$jscomp$0){function readTables(file,numTables){file=Object.create(null);file["OS/2"]=null;file.cmap=null;
file.head=null;file.hhea=null;file.hmtx=null;file.maxp=null;file.name=null;file.post=null;for(var i=0;i<numTables;i++){var table=font$jscomp$0;var tag=(0,_util.bytesToString)(table.getBytes(4)),checksum=table.getInt32()>>>0,offset=table.getInt32()>>>0,length=table.getInt32()>>>0,previousPosition=table.pos;table.pos=table.start?table.start:0;table.skip(offset);var data=table.getBytes(length);table.pos=previousPosition;"head"===tag&&(data[8]=data[9]=data[10]=data[11]=0,data[17]|=32);table={tag:tag,
checksum:checksum,length:length,offset:offset,data:data};VALID_TABLES.includes(table.tag)&&0!==table.length&&(file[table.tag]=table)}return file}function readOpenTypeHeader(ttf){return{version:(0,_util.bytesToString)(ttf.getBytes(4)),numTables:ttf.getUint16(),searchRange:ttf.getUint16(),entrySelector:ttf.getUint16(),rangeShift:ttf.getUint16()}}function readTrueTypeCollectionData(ttc,fontName){a:{var _readTrueTypeCollecti=(0,_util.bytesToString)(ttc.getBytes(4));(0,_util.assert)("ttcf"===_readTrueTypeCollecti,
"Must be a TrueType Collection font.");for(var majorVersion=ttc.getUint16(),minorVersion=ttc.getUint16(),numFonts=ttc.getInt32()>>>0,offsetTable=[],i=0;i<numFonts;i++)offsetTable.push(ttc.getInt32()>>>0);_readTrueTypeCollecti={ttcTag:_readTrueTypeCollecti,majorVersion:majorVersion,minorVersion:minorVersion,numFonts:numFonts,offsetTable:offsetTable};switch(majorVersion){case 1:break a;case 2:_readTrueTypeCollecti.dsigTag=ttc.getInt32()>>>0;_readTrueTypeCollecti.dsigLength=ttc.getInt32()>>>0;_readTrueTypeCollecti.dsigOffset=
ttc.getInt32()>>>0;break a}throw new _util.FormatError("Invalid TrueType Collection majorVersion: ".concat(majorVersion,"."));}majorVersion=_readTrueTypeCollecti.numFonts;_readTrueTypeCollecti=_readTrueTypeCollecti.offsetTable;for(minorVersion=0;minorVersion<majorVersion;minorVersion++){ttc.pos=(ttc.start||0)+_readTrueTypeCollecti[minorVersion];numFonts=readOpenTypeHeader(ttc);offsetTable=readTables(ttc,numFonts.numTables);if(!offsetTable.name)throw new _util.FormatError('TrueType Collection font must contain a "name" table.');
i=readNameTable(offsetTable.name);for(var j=0,jj=i.length;j<jj;j++)for(var k=0,kk=i[j].length;k<kk;k++){var nameEntry=i[j][k];if(nameEntry&&nameEntry.replace(/\s/g,"")===fontName)return{header:numFonts,tables:offsetTable}}}throw new _util.FormatError('TrueType Collection does not contain "'.concat(fontName,'" font.'));}function readCmapTable(cmap,font,isSymbolicFont,hasEncoding){if(!cmap)return(0,_util.warn)("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var segment;
cmap=(font.start?font.start:0)+cmap.offset;font.pos=cmap;font.getUint16();var numTables=font.getUint16(),potentialTable,canBreak=!1;for(segment=0;segment<numTables;segment++){var platformId=font.getUint16(),encodingId=font.getUint16(),offset=font.getInt32()>>>0,useTable=!1;if(!potentialTable||potentialTable.platformId!==platformId||potentialTable.encodingId!==encodingId)if(0===platformId&&0===encodingId?useTable=!0:1===platformId&&0===encodingId?useTable=!0:3!==platformId||1!==encodingId||!hasEncoding&&
potentialTable?isSymbolicFont&&3===platformId&&0===encodingId&&(canBreak=useTable=!0):(useTable=!0,isSymbolicFont||(canBreak=!0)),useTable&&(potentialTable={platformId:platformId,encodingId:encodingId,offset:offset}),canBreak)break}potentialTable&&(font.pos=cmap+potentialTable.offset);if(!potentialTable||-1===font.peekByte())return(0,_util.warn)("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};cmap=font.getUint16();font.getUint16();font.getUint16();
hasEncoding=!1;isSymbolicFont=[];if(0===cmap){for(segment=0;256>segment;segment++)(cmap=font.getByte())&&isSymbolicFont.push({charCode:segment,glyphId:cmap});hasEncoding=!0}else if(4===cmap){numTables=font.getUint16()>>1;font.getBytes(6);platformId=[];for(canBreak=0;canBreak<numTables;canBreak++)platformId.push({end:font.getUint16()});font.getUint16();for(canBreak=0;canBreak<numTables;canBreak++)platformId[canBreak].start=font.getUint16();for(canBreak=0;canBreak<numTables;canBreak++)platformId[canBreak].delta=
font.getUint16();for(canBreak=cmap=0;canBreak<numTables;canBreak++)segment=platformId[canBreak],(encodingId=font.getUint16())?(offset=(encodingId>>1)-(numTables-canBreak),segment.offsetIndex=offset,cmap=Math.max(cmap,offset+segment.end-segment.start+1)):segment.offsetIndex=-1;useTable=[];for(segment=0;segment<cmap;segment++)useTable.push(font.getUint16());for(canBreak=0;canBreak<numTables;canBreak++){segment=platformId[canBreak];cmap=segment.start;font=segment.end;var delta=segment.delta;offset=segment.offsetIndex;
for(segment=cmap;segment<=font;segment++)65535!==segment&&(encodingId=0>offset?segment:useTable[offset+segment-cmap],encodingId=encodingId+delta&65535,isSymbolicFont.push({charCode:segment,glyphId:encodingId}))}}else if(6===cmap)for(cmap=font.getUint16(),numTables=font.getUint16(),segment=0;segment<numTables;segment++)encodingId=font.getUint16(),isSymbolicFont.push({charCode:cmap+segment,glyphId:encodingId});else return(0,_util.warn)("cmap table has unsupported format: "+cmap),{platformId:-1,encodingId:-1,
mappings:[],hasShortCmap:!1};isSymbolicFont.sort(function(a,b){return a.charCode-b.charCode});for(segment=1;segment<isSymbolicFont.length;segment++)isSymbolicFont[segment-1].charCode===isSymbolicFont[segment].charCode&&(isSymbolicFont.splice(segment,1),segment--);return{platformId:potentialTable.platformId,encodingId:potentialTable.encodingId,mappings:isSymbolicFont,hasShortCmap:hasEncoding}}function sanitizeGlyph(source,sourceStart,sourceEnd,dest,destStart,hintsValid){var glyphProfile={length:0,
sizeOfInstructions:0};if(12>=sourceEnd-sourceStart)return glyphProfile;source=source.subarray(sourceStart,sourceEnd);var contoursCount=signedInt16(source[0],source[1]);if(0>contoursCount)return source[1]=-1,source[0]=16777215,dest.set(source,destStart),glyphProfile.length=source.length,glyphProfile;sourceEnd=10;var flagsCount=0;for(sourceStart=0;sourceStart<contoursCount;sourceStart++)flagsCount=(source[sourceEnd]<<8|source[sourceEnd+1])+1,sourceEnd+=2;contoursCount=sourceEnd;var instructionsLength=
source[sourceEnd]<<8|source[sourceEnd+1];glyphProfile.sizeOfInstructions=instructionsLength;var instructionsEnd=sourceEnd+=2+instructionsLength,coordinatesLength=0;for(sourceStart=0;sourceStart<flagsCount;sourceStart++){var flag=source[sourceEnd++];flag&192&&(source[sourceEnd-1]=flag&63);var xyLength=(flag&2?1:flag&16?0:2)+(flag&4?1:flag&32?0:2);coordinatesLength+=xyLength;flag&8&&(flag=source[sourceEnd++],sourceStart+=flag,coordinatesLength+=flag*xyLength)}if(0===coordinatesLength)return glyphProfile;
sourceStart=sourceEnd+coordinatesLength;if(sourceStart>source.length)return glyphProfile;if(!hintsValid&&0<instructionsLength)return dest.set(source.subarray(0,contoursCount),destStart),dest.set([0,0],destStart+contoursCount),dest.set(source.subarray(instructionsEnd,sourceStart),destStart+contoursCount+2),sourceStart-=instructionsLength,3<source.length-sourceStart&&(sourceStart=sourceStart+3&-4),glyphProfile.length=sourceStart,glyphProfile;if(3<source.length-sourceStart)return sourceStart=sourceStart+
3&-4,dest.set(source.subarray(0,sourceStart),destStart),glyphProfile.length=sourceStart,glyphProfile;dest.set(source,destStart);glyphProfile.length=source.length;return glyphProfile}function sanitizeGlyphLocations(loca,glyf,numGlyphs,isGlyphLocationsLong,hintsValid,dupFirstEntry,maxSizeOfInstructions){if(isGlyphLocationsLong){isGlyphLocationsLong=4;var itemDecode=function(data,offset){return data[offset]<<24|data[offset+1]<<16|data[offset+2]<<8|data[offset+3]};var itemEncode=function(data,offset,
value){data[offset]=value>>>24&255;data[offset+1]=value>>16&255;data[offset+2]=value>>8&255;data[offset+3]=value&255}}else isGlyphLocationsLong=2,itemDecode=function(data,offset){return data[offset]<<9|data[offset+1]<<1},itemEncode=function(data,offset,value){data[offset]=value>>9&255;data[offset+1]=value>>1&255};var numGlyphsOut=dupFirstEntry?numGlyphs+1:numGlyphs,locaDataSize=isGlyphLocationsLong*(1+numGlyphsOut),locaData=new Uint8Array(locaDataSize);locaData.set(loca.data.subarray(0,locaDataSize));
loca.data=locaData;var oldGlyfData=glyf.data,oldGlyfDataLength=oldGlyfData.length,newGlyfData=new Uint8Array(oldGlyfDataLength),startOffset=itemDecode(locaData,0),writeOffset=0;locaDataSize=Object.create(null);itemEncode(locaData,0,writeOffset);var j;var i=0;for(j=isGlyphLocationsLong;i<numGlyphs;i++,j+=isGlyphLocationsLong){var endOffset=itemDecode(locaData,j);0===endOffset&&(endOffset=startOffset);endOffset>oldGlyfDataLength&&(oldGlyfDataLength+3&-4)===endOffset&&(endOffset=oldGlyfDataLength);endOffset>
oldGlyfDataLength&&(startOffset=endOffset);startOffset=sanitizeGlyph(oldGlyfData,startOffset,endOffset,newGlyfData,writeOffset,hintsValid);var newLength=startOffset.length;0===newLength&&(locaDataSize[i]=!0);startOffset.sizeOfInstructions>maxSizeOfInstructions&&(maxSizeOfInstructions=startOffset.sizeOfInstructions);writeOffset+=newLength;itemEncode(locaData,j,writeOffset);startOffset=endOffset}if(0===writeOffset){loca=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);i=0;for(j=isGlyphLocationsLong;i<
numGlyphsOut;i++,j+=isGlyphLocationsLong)itemEncode(locaData,j,loca.length);glyf.data=loca}else dupFirstEntry?(numGlyphs=itemDecode(locaData,isGlyphLocationsLong),newGlyfData.length>numGlyphs+writeOffset?glyf.data=newGlyfData.subarray(0,numGlyphs+writeOffset):(glyf.data=new Uint8Array(numGlyphs+writeOffset),glyf.data.set(newGlyfData.subarray(0,writeOffset))),glyf.data.set(newGlyfData.subarray(0,numGlyphs),writeOffset),itemEncode(loca.data,locaData.length-isGlyphLocationsLong,writeOffset+numGlyphs)):
glyf.data=newGlyfData.subarray(0,writeOffset);return{missingGlyphs:locaDataSize,maxSizeOfInstructions:maxSizeOfInstructions}}function readPostScriptTable(post,properties,maxpNumGlyphs){var start=(font$jscomp$0.start?font$jscomp$0.start:0)+post.offset;font$jscomp$0.pos=start;start+=post.length;var version=font$jscomp$0.getInt32();font$jscomp$0.getBytes(28);post=!0;switch(version){case 65536:var glyphNames=MacStandardGlyphOrdering;break;case 131072:version=font$jscomp$0.getUint16();if(version!==maxpNumGlyphs){post=
!1;break}var glyphNameIndexes=[];for(maxpNumGlyphs=0;maxpNumGlyphs<version;++maxpNumGlyphs){var index=font$jscomp$0.getUint16();if(32768<=index){post=!1;break}glyphNameIndexes.push(index)}if(!post)break;index=[];for(glyphNames=[];font$jscomp$0.pos<start;){var stringLength=font$jscomp$0.getByte();glyphNames.length=stringLength;for(maxpNumGlyphs=0;maxpNumGlyphs<stringLength;++maxpNumGlyphs)glyphNames[maxpNumGlyphs]=String.fromCharCode(font$jscomp$0.getByte());index.push(glyphNames.join(""))}glyphNames=
[];for(maxpNumGlyphs=0;maxpNumGlyphs<version;++maxpNumGlyphs)start=glyphNameIndexes[maxpNumGlyphs],258>start?glyphNames.push(MacStandardGlyphOrdering[start]):glyphNames.push(index[start-258]);break;case 196608:break;default:(0,_util.warn)("Unknown/unsupported post table version "+version),post=!1,properties.defaultEncoding&&(glyphNames=properties.defaultEncoding)}properties.glyphNames=glyphNames;return post}function readNameTable(nameTable){var start=(font$jscomp$0.start?font$jscomp$0.start:0)+nameTable.offset;
font$jscomp$0.pos=start;var names=[[],[]],length=nameTable.length;nameTable=start+length;if(0!==font$jscomp$0.getUint16()||6>length)return names;var numRecords=font$jscomp$0.getUint16();length=font$jscomp$0.getUint16();var records=[],i;for(i=0;i<numRecords&&font$jscomp$0.pos+12<=nameTable;i++){var r={platform:font$jscomp$0.getUint16(),encoding:font$jscomp$0.getUint16(),language:font$jscomp$0.getUint16(),name:font$jscomp$0.getUint16(),length:font$jscomp$0.getUint16(),offset:font$jscomp$0.getUint16()};
(1===r.platform&&0===r.encoding&&0===r.language||3===r.platform&&1===r.encoding&&1033===r.language)&&records.push(r)}i=0;for(numRecords=records.length;i<numRecords;i++)if(r=records[i],!(0>=r.length)){var pos=start+length+r.offset;if(!(pos+r.length>nameTable))if(font$jscomp$0.pos=pos,pos=r.name,r.encoding){var str="",j=0;for(r=r.length;j<r;j+=2)str+=String.fromCharCode(font$jscomp$0.getUint16());names[1][pos]=str}else names[0][pos]=(0,_util.bytesToString)(font$jscomp$0.getBytes(r.length))}return names}
function sanitizeTTProgram(table,ttContext){for(var data=table.data,i=0,j,n,b,lastEndf=0,lastDeff=0,stack=[],callstack=[],functionsCalled=[],tooComplexToFollowFunctions=ttContext.tooComplexToFollowFunctions,inFDEF=!1,ifLevel=0,inELSE=0,ii=data.length;i<ii;){var op=data[i++];if(64===op)if(n=data[i++],inFDEF||inELSE)i+=n;else for(j=0;j<n;j++)stack.push(data[i++]);else if(65===op)if(n=data[i++],inFDEF||inELSE)i+=2*n;else for(j=0;j<n;j++)b=data[i++],stack.push(b<<8|data[i++]);else if(176===(op&248))if(n=
op-176+1,inFDEF||inELSE)i+=n;else for(j=0;j<n;j++)stack.push(data[i++]);else if(184===(op&248))if(n=op-184+1,inFDEF||inELSE)i+=2*n;else for(j=0;j<n;j++)b=data[i++],stack.push(b<<8|data[i++]);else if(43!==op||tooComplexToFollowFunctions)if(44!==op||tooComplexToFollowFunctions)if(45===op)if(inFDEF)inFDEF=!1,lastEndf=i;else{j=callstack.pop();if(!j){(0,_util.warn)("TT: ENDF bad stack");ttContext.hintsValid=!1;return}n=functionsCalled.pop();data=j.data;i=j.i;ttContext.functionsStackDeltas[n]=stack.length-
j.stackTop}else if(137===op){if(inFDEF||inELSE)(0,_util.warn)("TT: nested IDEFs not allowed"),tooComplexToFollowFunctions=!0;inFDEF=!0;lastDeff=i}else 88===op?++ifLevel:27===op?inELSE=ifLevel:89===op?(inELSE===ifLevel&&(inELSE=0),--ifLevel):28!==op||inFDEF||inELSE||(n=stack[stack.length-1],0<n&&(i+=n-1));else{if(inFDEF||inELSE)(0,_util.warn)("TT: nested FDEFs not allowed"),tooComplexToFollowFunctions=!0;inFDEF=!0;lastDeff=i;n=stack.pop();ttContext.functionsDefined[n]={data:data,i:i}}else if(!inFDEF&&
!inELSE)if(n=stack[stack.length-1],isNaN(n))(0,_util.info)("TT: CALL empty stack (or invalid entry).");else if(ttContext.functionsUsed[n]=!0,n in ttContext.functionsStackDeltas){n=stack.length+ttContext.functionsStackDeltas[n];if(0>n){(0,_util.warn)("TT: CALL invalid functions stack delta.");ttContext.hintsValid=!1;return}stack.length=n}else if(n in ttContext.functionsDefined&&!functionsCalled.includes(n)){callstack.push({data:data,i:i,stackTop:stack.length-1});functionsCalled.push(n);j=ttContext.functionsDefined[n];
if(!j){(0,_util.warn)("TT: CALL non-existent function");ttContext.hintsValid=!1;return}data=j.data;i=j.i}if(!inFDEF&&!inELSE){j=142>=op?TTOpsStackDeltas[op]:192<=op&&223>=op?-1:224<=op?-2:0;113<=op&&117>=op&&(n=stack.pop(),isNaN(n)||(j=2*-n));for(;0>j&&0<stack.length;)stack.pop(),j++;for(;0<j;)stack.push(NaN),j--}}ttContext.tooComplexToFollowFunctions=tooComplexToFollowFunctions;ttContext=[data];i>data.length&&ttContext.push(new Uint8Array(i-data.length));lastDeff>lastEndf&&((0,_util.warn)("TT: complementing a missing function tail"),
ttContext.push(new Uint8Array([34,45])));if(1<ttContext.length){i=data=0;for(lastEndf=ttContext.length;i<lastEndf;i++)data+=ttContext[i].length;data=data+3&-4;lastDeff=new Uint8Array(data);i=stack=0;for(lastEndf=ttContext.length;i<lastEndf;i++)lastDeff.set(ttContext[i],stack),stack+=ttContext[i].length;table.data=lastDeff;table.length=data}}var VALID_TABLES="OS/2;cmap;head;hhea;hmtx;maxp;name;post;loca;glyf;fpgm;prep;cvt ;CFF ".split(";"),TTOpsStackDeltas=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,
-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];font$jscomp$0=new _stream.Stream(new Uint8Array(font$jscomp$0.getBytes()));if(isTrueTypeCollectionFile(font$jscomp$0)){var tables=readTrueTypeCollectionData(font$jscomp$0,
this.name);var header$jscomp$0=tables.header;tables=tables.tables}else header$jscomp$0=readOpenTypeHeader(font$jscomp$0),tables=readTables(font$jscomp$0,header$jscomp$0.numTables);var isTrueType=!tables["CFF "];if(isTrueType){if(!tables.loca)throw new _util.FormatError('Required "loca" table is not found');tables.glyf||((0,_util.warn)('Required "glyf" table is not found -- trying to recover.'),tables.glyf={tag:"glyf",data:new Uint8Array(0)});this.isOpenType=!1}else{var isComposite=properties$jscomp$0.composite&&
(0<(properties$jscomp$0.cidToGidMap||[]).length||!(properties$jscomp$0.cMap instanceof _cmap.IdentityCMap));if("OTTO"===header$jscomp$0.version&&!isComposite||!tables.head||!tables.hhea||!tables.maxp||!tables.post){var cffFile=new _stream.Stream(tables["CFF "].data);var cff=new CFFFont(cffFile,properties$jscomp$0);adjustWidths(properties$jscomp$0);return this.convert(name,cff,properties$jscomp$0)}delete tables.glyf;delete tables.loca;delete tables.fpgm;delete tables.prep;delete tables["cvt "];this.isOpenType=
!0}if(!tables.maxp)throw new _util.FormatError('Required "maxp" table is not found');font$jscomp$0.pos=(font$jscomp$0.start||0)+tables.maxp.offset;var version$jscomp$0=font$jscomp$0.getInt32(),numGlyphs$jscomp$0=font$jscomp$0.getUint16();isComposite=numGlyphs$jscomp$0+1;var dupFirstEntry=!0;65535<isComposite&&(dupFirstEntry=!1,isComposite=numGlyphs$jscomp$0,(0,_util.warn)("Not enough space in glyfs to duplicate first glyph."));var maxFunctionDefs=0,maxSizeOfInstructions=0;65536<=version$jscomp$0&&
22<=tables.maxp.length&&(font$jscomp$0.pos+=8,2<font$jscomp$0.getUint16()&&(tables.maxp.data[14]=0,tables.maxp.data[15]=2),font$jscomp$0.pos+=4,maxFunctionDefs=font$jscomp$0.getUint16(),font$jscomp$0.pos+=4,maxSizeOfInstructions=font$jscomp$0.getUint16());tables.maxp.data[4]=isComposite>>8;tables.maxp.data[5]=isComposite&255;maxFunctionDefs=function(fpgm,prep,cvt,maxFunctionDefs){var ttContext={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};
fpgm&&sanitizeTTProgram(fpgm,ttContext);prep&&sanitizeTTProgram(prep,ttContext);if(fpgm&&!ttContext.tooComplexToFollowFunctions)if(ttContext.functionsDefined.length>maxFunctionDefs)(0,_util.warn)("TT: more functions defined than expected"),ttContext.hintsValid=!1;else for(fpgm=0,prep=ttContext.functionsUsed.length;fpgm<prep;fpgm++){if(fpgm>maxFunctionDefs){(0,_util.warn)("TT: invalid function id: "+fpgm);ttContext.hintsValid=!1;break}if(ttContext.functionsUsed[fpgm]&&!ttContext.functionsDefined[fpgm]){(0,_util.warn)("TT: undefined function: "+
fpgm);ttContext.hintsValid=!1;break}}cvt&&cvt.length&1&&(maxFunctionDefs=new Uint8Array(cvt.length+1),maxFunctionDefs.set(cvt.data),cvt.data=maxFunctionDefs);return ttContext.hintsValid}(tables.fpgm,tables.prep,tables["cvt "],maxFunctionDefs);maxFunctionDefs||(delete tables.fpgm,delete tables.prep,delete tables["cvt "]);(function(font,header,metrics,numGlyphs,dupFirstEntry){header?(font.pos=(font.start?font.start:0)+header.offset,font.pos+=4,font.pos+=2,font.pos+=2,font.pos+=2,font.pos+=2,font.pos+=
2,font.pos+=2,font.pos+=2,font.pos+=2,font.pos+=2,font.pos+=2,font.pos+=8,font.pos+=2,font=font.getUint16(),font>numGlyphs&&((0,_util.info)("The numOfMetrics ("+font+") should not be greater than the numGlyphs ("+numGlyphs+")"),font=numGlyphs,header.data[34]=(font&65280)>>8,header.data[35]=font&255),header=numGlyphs-font-(metrics.length-4*font>>1),0<header&&(header=new Uint8Array(metrics.length+2*header),header.set(metrics.data),dupFirstEntry&&(header[metrics.length]=metrics.data[2],header[metrics.length+
1]=metrics.data[3]),metrics.data=header)):metrics&&(metrics.data=null)})(font$jscomp$0,tables.hhea,tables.hmtx,isComposite,dupFirstEntry);if(!tables.head)throw new _util.FormatError('Required "head" table is not found');(function(head,numGlyphs,locaLength){head=head.data;var version=(head[0]<<24)+(head[1]<<16)+(head[2]<<8)+head[3];1!==version>>16&&((0,_util.info)("Attempting to fix invalid version in head table: "+version),head[0]=0,head[1]=1,head[2]=0,head[3]=0);version=(head[50]<<8)+head[51];if(0>
version||1<version)if((0,_util.info)("Attempting to fix invalid indexToLocFormat in head table: "+version),numGlyphs+=1,locaLength===numGlyphs<<1)head[50]=0,head[51]=0;else if(locaLength===numGlyphs<<2)head[50]=0,head[51]=1;else throw new _util.FormatError("Could not fix indexToLocFormat: "+version);})(tables.head,numGlyphs$jscomp$0,isTrueType?tables.loca.length:0);var missingGlyphs=Object.create(null);isTrueType&&(maxSizeOfInstructions=sanitizeGlyphLocations(tables.loca,tables.glyf,numGlyphs$jscomp$0,
(tables.head.data[50]<<8)+tables.head.data[51],maxFunctionDefs,dupFirstEntry,maxSizeOfInstructions),missingGlyphs=maxSizeOfInstructions.missingGlyphs,65536<=version$jscomp$0&&22<=tables.maxp.length&&(tables.maxp.data[26]=maxSizeOfInstructions.maxSizeOfInstructions>>8,tables.maxp.data[27]=maxSizeOfInstructions.maxSizeOfInstructions&255));if(!tables.hhea)throw new _util.FormatError('Required "hhea" table is not found');0===tables.hhea.data[10]&&0===tables.hhea.data[11]&&(tables.hhea.data[10]=255,tables.hhea.data[11]=
255);version$jscomp$0={unitsPerEm:(tables.head.data[18]<<8)+tables.head.data[19],yMax:(tables.head.data[42]<<8)+tables.head.data[43],yMin:signedInt16(tables.head.data[38],tables.head.data[39]),ascent:(tables.hhea.data[4]<<8)+tables.hhea.data[5],descent:signedInt16(tables.hhea.data[6],tables.hhea.data[7])};this.ascent=version$jscomp$0.ascent/version$jscomp$0.unitsPerEm;this.descent=version$jscomp$0.descent/version$jscomp$0.unitsPerEm;tables.post&&readPostScriptTable(tables.post,properties$jscomp$0,
numGlyphs$jscomp$0);tables.post={tag:"post",data:createPostTable(properties$jscomp$0)};var charCodeToGlyphId=[],charCode$jscomp$0;if(properties$jscomp$0.composite){var cidToGidMap=properties$jscomp$0.cidToGidMap||[],isCidToGidMapEmpty=0===cidToGidMap.length;properties$jscomp$0.cMap.forEach(function(charCode,cid){if(65535<cid)throw new _util.FormatError("Max size of CID is 65,535");var glyphId=-1;isCidToGidMapEmpty?glyphId=cid:void 0!==cidToGidMap[cid]&&(glyphId=cidToGidMap[cid]);0<=glyphId&&glyphId<
numGlyphs$jscomp$0&&!missingGlyphs[glyphId]&&(charCodeToGlyphId[charCode]=glyphId)})}else{maxFunctionDefs=readCmapTable(tables.cmap,font$jscomp$0,this.isSymbolicFont,properties$jscomp$0.hasEncoding);maxSizeOfInstructions=maxFunctionDefs.platformId;var cmapEncodingId=maxFunctionDefs.encodingId;maxFunctionDefs=maxFunctionDefs.mappings;var cmapMappingsLength=maxFunctionDefs.length;if(properties$jscomp$0.hasEncoding&&(3===maxSizeOfInstructions&&1===cmapEncodingId||1===maxSizeOfInstructions&&0===cmapEncodingId)||
-1===maxSizeOfInstructions&&-1===cmapEncodingId&&(0,_encodings.getEncoding)(properties$jscomp$0.baseEncodingName)){var baseEncoding=[];if("MacRomanEncoding"===properties$jscomp$0.baseEncodingName||"WinAnsiEncoding"===properties$jscomp$0.baseEncodingName)baseEncoding=(0,_encodings.getEncoding)(properties$jscomp$0.baseEncodingName);var glyphsUnicodeMap=(0,_glyphlist.getGlyphsUnicode)();for(charCode$jscomp$0=0;256>charCode$jscomp$0;charCode$jscomp$0++){var glyphName;if(glyphName=this.differences&&charCode$jscomp$0 in
this.differences?this.differences[charCode$jscomp$0]:charCode$jscomp$0 in baseEncoding&&""!==baseEncoding[charCode$jscomp$0]?baseEncoding[charCode$jscomp$0]:_encodings.StandardEncoding[charCode$jscomp$0]){var standardGlyphName=recoverGlyphName(glyphName,glyphsUnicodeMap);var unicodeOrCharCode;3===maxSizeOfInstructions&&1===cmapEncodingId?unicodeOrCharCode=glyphsUnicodeMap[standardGlyphName]:1===maxSizeOfInstructions&&0===cmapEncodingId&&(unicodeOrCharCode=_encodings.MacRomanEncoding.indexOf(standardGlyphName));
for(var found=!1,i$jscomp$0=0;i$jscomp$0<cmapMappingsLength;++i$jscomp$0)if(maxFunctionDefs[i$jscomp$0].charCode===unicodeOrCharCode){charCodeToGlyphId[charCode$jscomp$0]=maxFunctionDefs[i$jscomp$0].glyphId;found=!0;break}!found&&properties$jscomp$0.glyphNames&&(found=properties$jscomp$0.glyphNames.indexOf(glyphName),-1===found&&standardGlyphName!==glyphName&&(found=properties$jscomp$0.glyphNames.indexOf(standardGlyphName)),0<found&&!missingGlyphs[found]&&(charCodeToGlyphId[charCode$jscomp$0]=found))}}}else if(0===
maxSizeOfInstructions&&0===cmapEncodingId)for(unicodeOrCharCode=0;unicodeOrCharCode<cmapMappingsLength;++unicodeOrCharCode)charCodeToGlyphId[maxFunctionDefs[unicodeOrCharCode].charCode]=maxFunctionDefs[unicodeOrCharCode].glyphId;else for(unicodeOrCharCode=0;unicodeOrCharCode<cmapMappingsLength;++unicodeOrCharCode)charCode$jscomp$0=maxFunctionDefs[unicodeOrCharCode].charCode,3===maxSizeOfInstructions&&61440<=charCode$jscomp$0&&61695>=charCode$jscomp$0&&(charCode$jscomp$0&=255),charCodeToGlyphId[charCode$jscomp$0]=
maxFunctionDefs[unicodeOrCharCode].glyphId}0===charCodeToGlyphId.length&&(charCodeToGlyphId[0]=0);unicodeOrCharCode=isComposite-1;dupFirstEntry||(unicodeOrCharCode=0);dupFirstEntry=adjustMapping(charCodeToGlyphId,function(glyphId){return!missingGlyphs[glyphId]},unicodeOrCharCode);this.toFontChar=dupFirstEntry.toFontChar;tables.cmap={tag:"cmap",data:createCmapTable(dupFirstEntry.charCodeToGlyphId,isComposite)};tables["OS/2"]&&validateOS2Table(tables["OS/2"])||(tables["OS/2"]={tag:"OS/2",data:createOS2Table(properties$jscomp$0,
dupFirstEntry.charCodeToGlyphId,version$jscomp$0)});if(!isTrueType)try{cffFile=new _stream.Stream(tables["CFF "].data);cff=(new _cff_parser.CFFParser(cffFile,properties$jscomp$0,!0)).parse();cff.duplicateFirstGlyph();var compiler=new _cff_parser.CFFCompiler(cff);tables["CFF "].data=compiler.compile()}catch(e){(0,_util.warn)("Failed to compile font "+properties$jscomp$0.loadedName)}tables.name?(properties$jscomp$0=readNameTable(tables.name),tables.name.data=createNameTable(name,properties$jscomp$0)):
tables.name={tag:"name",data:createNameTable(this.name)};name=new OpenTypeFileBuilder(header$jscomp$0.version);for(var tableTag in tables)name.addTable(tableTag,tables[tableTag].data);return name.toArray()},convert:function(fontName,font,properties){function getCharCodes(charCodeToGlyphId,glyphId){var charCodes=null,charCode;for(charCode in charCodeToGlyphId)glyphId===charCodeToGlyphId[charCode]&&(charCodes||(charCodes=[]),charCodes.push(charCode|0));return charCodes}function createCharCode(charCodeToGlyphId,
glyphId){for(var charCode in charCodeToGlyphId)if(glyphId===charCodeToGlyphId[charCode])return charCode|0;newMapping.charCodeToGlyphId[newMapping.nextAvailableFontCharCode]=glyphId;return newMapping.nextAvailableFontCharCode++}properties.fixedPitch=!1;properties.builtInEncoding&&adjustToUnicode(properties,properties.builtInEncoding);var glyphZeroId=1;font instanceof CFFFont&&(glyphZeroId=font.numGlyphs-1);var mapping=font.getGlyphMapping(properties),newMapping=adjustMapping(mapping,font.hasGlyphId.bind(font),
glyphZeroId);this.toFontChar=newMapping.toFontChar;var numGlyphs=font.numGlyphs;if((glyphZeroId=font.seacs)&&glyphZeroId.length){var matrix=properties.fontMatrix||_util.FONT_IDENTITY_MATRIX,charset=font.getCharset(),seacMap=Object.create(null);for(glyphId$jscomp$0 in glyphZeroId){glyphId$jscomp$0|=0;var seac=glyphZeroId[glyphId$jscomp$0],accentGlyphName=_encodings.StandardEncoding[seac[3]],baseGlyphId=charset.indexOf(_encodings.StandardEncoding[seac[2]]);accentGlyphName=charset.indexOf(accentGlyphName);
if(!(0>baseGlyphId||0>accentGlyphName)){seac={x:seac[0]*matrix[0]+seac[1]*matrix[2]+matrix[4],y:seac[0]*matrix[1]+seac[1]*matrix[3]+matrix[5]};var charCodes=getCharCodes(mapping,glyphId$jscomp$0);if(charCodes)for(var i$jscomp$0=0,ii=charCodes.length;i$jscomp$0<ii;i$jscomp$0++){var charCode$jscomp$0=charCodes[i$jscomp$0],charCodeToGlyphId$jscomp$0=newMapping.charCodeToGlyphId,baseFontCharCode=createCharCode(charCodeToGlyphId$jscomp$0,baseGlyphId);charCodeToGlyphId$jscomp$0=createCharCode(charCodeToGlyphId$jscomp$0,
accentGlyphName);seacMap[charCode$jscomp$0]={baseFontCharCode:baseFontCharCode,accentFontCharCode:charCodeToGlyphId$jscomp$0,accentOffset:seac}}}}properties.seacMap=seacMap}mapping=1/(properties.fontMatrix||_util.FONT_IDENTITY_MATRIX)[0];var glyphId$jscomp$0=new OpenTypeFileBuilder("OTTO");glyphId$jscomp$0.addTable("CFF ",font.data);glyphId$jscomp$0.addTable("OS/2",createOS2Table(properties,newMapping.charCodeToGlyphId));glyphId$jscomp$0.addTable("cmap",createCmapTable(newMapping.charCodeToGlyphId,
numGlyphs));glyphId$jscomp$0.addTable("head","\x00\u0001\x00\x00\x00\x00\u0010\x00\x00\x00\x00\x00_\u000f<\u00f5\x00\x00"+safeString16(mapping)+"\x00\x00\x00\x00\u009e\v~'\x00\x00\x00\x00\u009e\v~'\x00\x00"+safeString16(properties.descent)+"\u000f\u00ff"+safeString16(properties.ascent)+string16(properties.italicAngle?2:0)+"\x00\u0011\x00\x00\x00\x00\x00\x00");glyphId$jscomp$0.addTable("hhea","\x00\u0001\x00\x00"+safeString16(properties.ascent)+safeString16(properties.descent)+"\x00\x00\u00ff\u00ff\x00\x00\x00\x00\x00\x00"+
safeString16(properties.capHeight)+safeString16(Math.tan(properties.italicAngle)*properties.xHeight)+"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"+string16(numGlyphs));glyphId$jscomp$0.addTable("hmtx",function(){for(var charstrings=font.charstrings,cffWidths=font.cff?font.cff.widths:null,hmtx="\x00\x00\x00\x00",i=1;i<numGlyphs;i++){var width=0;charstrings?(width=charstrings[i-1],width="width"in width?width.width:0):cffWidths&&(width=Math.ceil(cffWidths[i]||0));hmtx+=string16(width)+string16(0)}return hmtx}());
glyphId$jscomp$0.addTable("maxp","\x00\x00P\x00"+string16(numGlyphs));glyphId$jscomp$0.addTable("name",createNameTable(fontName));glyphId$jscomp$0.addTable("post",createPostTable(properties));return glyphId$jscomp$0.toArray()},get spaceWidth(){if("_shadowWidth"in this)return this._shadowWidth;for(var possibleSpaceReplacements=["space","minus","one","i","I"],width,i=0,ii=possibleSpaceReplacements.length;i<ii;i++){width=possibleSpaceReplacements[i];if(width in this.widths){width=this.widths[width];
break}width=(0,_glyphlist.getGlyphsUnicode)()[width];var charcode=0;this.composite&&this.cMap.contains(width)&&(charcode=this.cMap.lookup(width));!charcode&&this.toUnicode&&(charcode=this.toUnicode.charCodeOf(width));0>=charcode&&(charcode=width);if(width=this.widths[charcode])break}return this._shadowWidth=width=width||this.defaultWidth},charToGlyph:function(charcode,isSpace){var operatorListId,widthCode=charcode;this.cMap&&this.cMap.contains(charcode)&&(widthCode=this.cMap.lookup(charcode));var width=
this.widths[widthCode];width=(0,_util.isNum)(width)?width:this.defaultWidth;widthCode=this.vmetrics&&this.vmetrics[widthCode];var unicode=this.toUnicode.get(charcode)||this.fallbackToUnicode.get(charcode)||charcode;"number"===typeof unicode&&(unicode=String.fromCharCode(unicode));var isInFont=charcode in this.toFontChar;var fontCharCode=this.toFontChar[charcode]||charcode;this.missingFile&&(fontCharCode=(0,_unicode.mapSpecialUnicodeValues)(fontCharCode));this.isType3Font&&(operatorListId=fontCharCode);
var accent=null;this.seacMap&&this.seacMap[charcode]&&(isInFont=!0,accent=this.seacMap[charcode],fontCharCode=accent.baseFontCharCode,accent={fontChar:String.fromCodePoint(accent.accentFontCharCode),offset:accent.accentOffset});fontCharCode="number"===typeof fontCharCode?String.fromCodePoint(fontCharCode):"";var glyph=this.glyphCache[charcode];glyph&&glyph.matchesForCache(fontCharCode,unicode,accent,width,widthCode,operatorListId,isSpace,isInFont)||(glyph=new Glyph(fontCharCode,unicode,accent,width,
widthCode,operatorListId,isSpace,isInFont),this.glyphCache[charcode]=glyph);return glyph},charsToGlyphs:function(chars){var charsCache=this.charsCache,glyphs;if(charsCache&&(glyphs=charsCache[chars]))return glyphs;charsCache||(charsCache=this.charsCache=Object.create(null));glyphs=[];var i=0,ii;if(this.cMap)for(ii=Object.create(null);i<chars.length;){this.cMap.readCharCode(chars,i,ii);var glyph=ii.charcode;var length=ii.length;i+=length;length=1===length&&32===chars.charCodeAt(i-1);glyph=this.charToGlyph(glyph,
length);glyphs.push(glyph)}else for(i=0,ii=chars.length;i<ii;++i)glyph=chars.charCodeAt(i),glyph=this.charToGlyph(glyph,32===glyph),glyphs.push(glyph);return charsCache[chars]=glyphs},get glyphCacheValues(){return Object.values(this.glyphCache)}};return Font}();exports.Font=module;module=function(){function ErrorFont(error){this.error=error;this.loadedName="g_font_error";this.missingFile=!0}ErrorFont.prototype={charsToGlyphs:function(){return[]},exportData:function(){return{error:this.error}}};return ErrorFont}();
exports.ErrorFont=module;var Type1Font=function(){function findBlock(streamBytes,signature,startIndex){for(var streamBytesLength=streamBytes.length,signatureLength=signature.length,scanLength=streamBytesLength-signatureLength,j,found=!1;startIndex<scanLength;){for(j=0;j<signatureLength&&streamBytes[startIndex+j]===signature[j];)j++;if(j>=signatureLength){for(startIndex+=j;startIndex<streamBytesLength&&(0,_util.isSpace)(streamBytes[startIndex]);)startIndex++;found=!0;break}startIndex++}return{found:found,
length:startIndex}}function Type1Font(name,file,properties){var headerBlockLength=properties.length1,pfbHeader=file.peekBytes(6),pfbHeaderPresent=128===pfbHeader[0]&&1===pfbHeader[1];pfbHeaderPresent&&(file.skip(6),headerBlockLength=pfbHeader[5]<<24|pfbHeader[4]<<16|pfbHeader[3]<<8|pfbHeader[2]);a:{pfbHeader=[101,101,120,101,99];var streamStartPos=file.pos;try{var headerBytes=file.getBytes(headerBlockLength);var headerBytesLength=headerBytes.length}catch(ex){if(ex instanceof _core_utils.MissingDataException)throw ex;
}if(headerBytesLength===headerBlockLength&&(headerBytesLength=findBlock(headerBytes,pfbHeader,headerBlockLength-2*pfbHeader.length),headerBytesLength.found&&headerBytesLength.length===headerBlockLength)){var JSCompiler_object_inline_stream_1331=new _stream.Stream(headerBytes);break a}(0,_util.warn)('Invalid "Length1" property in Type1 font -- trying to recover.');for(file.pos=streamStartPos;;){headerBytes=file.peekBytes(2048);headerBytesLength=findBlock(headerBytes,pfbHeader,0);if(0===headerBytesLength.length)break;
file.pos+=headerBytesLength.length;if(headerBytesLength.found){JSCompiler_object_inline_stream_1331=file.pos-streamStartPos;break}}file.pos=streamStartPos;JSCompiler_object_inline_stream_1331?JSCompiler_object_inline_stream_1331=new _stream.Stream(file.getBytes(JSCompiler_object_inline_stream_1331)):((0,_util.warn)('Unable to recover "Length1" property in Type1 font -- using as is.'),JSCompiler_object_inline_stream_1331=new _stream.Stream(file.getBytes(headerBlockLength)))}(new _type1_parser.Type1Parser(JSCompiler_object_inline_stream_1331,
!1,!0)).extractFontHeader(properties);pfbHeaderPresent&&file.getBytes(6);file=file.getBytes();file=new _stream.Stream(file);file=(new _type1_parser.Type1Parser(file,!0,!0)).extractFontProgram(properties);for(var info in file.properties)properties[info]=file.properties[info];info=file.charstrings;pfbHeaderPresent=this.getType2Charstrings(info);JSCompiler_object_inline_stream_1331=this.getType2Subrs(file.subrs);this.charstrings=info;this.data=this.wrap(name,pfbHeaderPresent,this.charstrings,JSCompiler_object_inline_stream_1331,
properties);this.seacs=this.getSeacs(file.charstrings)}Type1Font.prototype={get numGlyphs(){return this.charstrings.length+1},getCharset:function(){for(var charset=[".notdef"],charstrings=this.charstrings,glyphId=0;glyphId<charstrings.length;glyphId++)charset.push(charstrings[glyphId].glyphName);return charset},getGlyphMapping:function(properties){var charstrings=this.charstrings,glyphNames=[".notdef"],glyphId;for(glyphId=0;glyphId<charstrings.length;glyphId++)glyphNames.push(charstrings[glyphId].glyphName);
if(charstrings=properties.builtInEncoding){var builtInEncoding=Object.create(null),charCode;for(charCode in charstrings)glyphId=glyphNames.indexOf(charstrings[charCode]),0<=glyphId&&(builtInEncoding[charCode]=glyphId)}return type1FontGlyphMapping(properties,builtInEncoding,glyphNames)},hasGlyphId:function(id){return 0>id||id>=this.numGlyphs?!1:0===id?!0:0<this.charstrings[id-1].charstring.length},getSeacs:function(charstrings){var ii,seacMap=[];var i=0;for(ii=charstrings.length;i<ii;i++){var charstring=
charstrings[i];charstring.seac&&(seacMap[i+1]=charstring.seac)}return seacMap},getType2Charstrings:function(type1Charstrings){for(var type2Charstrings=[],i=0,ii=type1Charstrings.length;i<ii;i++)type2Charstrings.push(type1Charstrings[i].charstring);return type2Charstrings},getType2Subrs:function(type1Subrs){var count=type1Subrs.length;var bias=1133>count?107:33769>count?1131:32768;var type2Subrs=[],i;for(i=0;i<bias;i++)type2Subrs.push([11]);for(i=0;i<count;i++)type2Subrs.push(type1Subrs[i]);return type2Subrs},
wrap:function(name,glyphs,charstrings,subrs,properties){var cff=new _cff_parser.CFF;cff.header=new _cff_parser.CFFHeader(1,0,4,4);cff.names=[name];var topDict=new _cff_parser.CFFTopDict;topDict.setByName("version",391);topDict.setByName("Notice",392);topDict.setByName("FullName",393);topDict.setByName("FamilyName",394);topDict.setByName("Weight",395);topDict.setByName("Encoding",null);topDict.setByName("FontMatrix",properties.fontMatrix);topDict.setByName("FontBBox",properties.bbox);topDict.setByName("charset",
null);topDict.setByName("CharStrings",null);topDict.setByName("Private",null);cff.topDict=topDict;topDict=new _cff_parser.CFFStrings;topDict.add("Version 0.11");topDict.add("See original notice");topDict.add(name);topDict.add(name);topDict.add("Medium");cff.strings=topDict;cff.globalSubrIndex=new _cff_parser.CFFIndex;var count=glyphs.length,charsetArray=[".notdef"];for(name=0;name<count;name++){var glyphName=charstrings[name].glyphName;-1===_cff_parser.CFFStandardStrings.indexOf(glyphName)&&topDict.add(glyphName);
charsetArray.push(glyphName)}cff.charset=new _cff_parser.CFFCharset(!1,0,charsetArray);charstrings=new _cff_parser.CFFIndex;charstrings.add([139,14]);for(name=0;name<count;name++)charstrings.add(glyphs[name]);cff.charStrings=charstrings;charstrings=new _cff_parser.CFFPrivateDict;charstrings.setByName("Subrs",null);topDict="BlueValues OtherBlues FamilyBlues FamilyOtherBlues StemSnapH StemSnapV BlueShift BlueFuzz BlueScale LanguageGroup ExpansionFactor ForceBold StdHW StdVW".split(" ");name=0;for(glyphs=
topDict.length;name<glyphs;name++)if(count=topDict[name],count in properties.privateData){charsetArray=properties.privateData[count];if(Array.isArray(charsetArray))for(glyphName=charsetArray.length-1;0<glyphName;glyphName--)charsetArray[glyphName]-=charsetArray[glyphName-1];charstrings.setByName(count,charsetArray)}cff.topDict.privateDict=charstrings;properties=new _cff_parser.CFFIndex;name=0;for(glyphs=subrs.length;name<glyphs;name++)properties.add(subrs[name]);charstrings.subrsIndex=properties;
return(new _cff_parser.CFFCompiler(cff)).compile()}};return Type1Font}(),CFFFont=function(){function CFFFont(file,properties){this.properties=properties;this.cff=(new _cff_parser.CFFParser(file,properties,!0)).parse();this.cff.duplicateFirstGlyph();var compiler=new _cff_parser.CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=compiler.compile()}catch(e){(0,_util.warn)("Failed to compile font "+properties.loadedName),this.data=file}}CFFFont.prototype={get numGlyphs(){return this.cff.charStrings.count},
getCharset:function(){return this.cff.charset.charset},getGlyphMapping:function(){var cff=this.cff,properties=this.properties,charsets=cff.charset.charset,glyphId;if(properties.composite){var charCodeToGlyphId=Object.create(null);if(cff.isCIDFont)for(glyphId=0;glyphId<charsets.length;glyphId++){var charCode=properties.cMap.charCodeOf(charsets[glyphId]);charCodeToGlyphId[charCode]=glyphId}else for(glyphId=0;glyphId<cff.charStrings.count;glyphId++)charCode=properties.cMap.charCodeOf(glyphId),charCodeToGlyphId[charCode]=
glyphId;return charCodeToGlyphId}return charCodeToGlyphId=type1FontGlyphMapping(properties,cff.encoding?cff.encoding.encoding:null,charsets)},hasGlyphId:function(id){return this.cff.hasGlyphId(id)}};return CFFFont}()},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});exports.CFFFDSelect=exports.CFFCompiler=exports.CFFPrivateDict=exports.CFFTopDict=exports.CFFCharset=exports.CFFIndex=exports.CFFStrings=exports.CFFHeader=exports.CFF=exports.CFFParser=
exports.CFFStandardStrings=void 0;var _util=__w_pdfjs_require__(5),_charsets=__w_pdfjs_require__(213),_encodings=__w_pdfjs_require__(214),CFFStandardStrings=".notdef space exclam quotedbl numbersign dollar percent ampersand quoteright parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore quoteleft a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde exclamdown cent sterling fraction yen florin section currency quotesingle quotedblleft guillemotleft guilsinglleft guilsinglright fi fl endash dagger daggerdbl periodcentered paragraph bullet quotesinglbase quotedblbase quotedblright guillemotright ellipsis perthousand questiondown grave acute circumflex tilde macron breve dotaccent dieresis ring cedilla hungarumlaut ogonek caron emdash AE ordfeminine Lslash Oslash OE ordmasculine ae dotlessi lslash oslash oe germandbls onesuperior logicalnot mu trademark Eth onehalf plusminus Thorn onequarter divide brokenbar degree thorn threequarters twosuperior registered minus eth multiply threesuperior copyright Aacute Acircumflex Adieresis Agrave Aring Atilde Ccedilla Eacute Ecircumflex Edieresis Egrave Iacute Icircumflex Idieresis Igrave Ntilde Oacute Ocircumflex Odieresis Ograve Otilde Scaron Uacute Ucircumflex Udieresis Ugrave Yacute Ydieresis Zcaron aacute acircumflex adieresis agrave aring atilde ccedilla eacute ecircumflex edieresis egrave iacute icircumflex idieresis igrave ntilde oacute ocircumflex odieresis ograve otilde scaron uacute ucircumflex udieresis ugrave yacute ydieresis zcaron exclamsmall Hungarumlautsmall dollaroldstyle dollarsuperior ampersandsmall Acutesmall parenleftsuperior parenrightsuperior twodotenleader onedotenleader zerooldstyle oneoldstyle twooldstyle threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle eightoldstyle nineoldstyle commasuperior threequartersemdash periodsuperior questionsmall asuperior bsuperior centsuperior dsuperior esuperior isuperior lsuperior msuperior nsuperior osuperior rsuperior ssuperior tsuperior ff ffi ffl parenleftinferior parenrightinferior Circumflexsmall hyphensuperior Gravesmall Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall colonmonetary onefitted rupiah Tildesmall exclamdownsmall centoldstyle Lslashsmall Scaronsmall Zcaronsmall Dieresissmall Brevesmall Caronsmall Dotaccentsmall Macronsmall figuredash hypheninferior Ogoneksmall Ringsmall Cedillasmall questiondownsmall oneeighth threeeighths fiveeighths seveneighths onethird twothirds zerosuperior foursuperior fivesuperior sixsuperior sevensuperior eightsuperior ninesuperior zeroinferior oneinferior twoinferior threeinferior fourinferior fiveinferior sixinferior seveninferior eightinferior nineinferior centinferior dollarinferior periodinferior commainferior Agravesmall Aacutesmall Acircumflexsmall Atildesmall Adieresissmall Aringsmall AEsmall Ccedillasmall Egravesmall Eacutesmall Ecircumflexsmall Edieresissmall Igravesmall Iacutesmall Icircumflexsmall Idieresissmall Ethsmall Ntildesmall Ogravesmall Oacutesmall Ocircumflexsmall Otildesmall Odieresissmall OEsmall Oslashsmall Ugravesmall Uacutesmall Ucircumflexsmall Udieresissmall Yacutesmall Thornsmall Ydieresissmall 001.000 001.001 001.002 001.003 Black Bold Book Light Medium Regular Roman Semibold".split(" ");
exports.CFFStandardStrings=CFFStandardStrings;module=function(){function CFFParser(file,properties,seacAnalysisEnabled){this.bytes=file.getBytes();this.properties=properties;this.seacAnalysisEnabled=!!seacAnalysisEnabled}var CharstringValidationData=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",
min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,
resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],CharstringValidationData12=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn:function(stack,index){stack[index-2]+=stack[index-1]}},{id:"sub",min:2,stackDelta:-1,stackFn:function(stack,index){stack[index-
2]-=stack[index-1]}},{id:"div",min:2,stackDelta:-1,stackFn:function(stack,index){stack[index-2]/=stack[index-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn:function(stack,index){stack[index-1]=-stack[index-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn:function(stack,index){stack[index-2]*=stack[index-
1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];CFFParser.prototype={parse:function(){var properties=this.properties,cff=new CFF;this.cff=cff;var header=this.parseHeader(),nameIndex=this.parseIndex(header.endPos),topDictIndex=this.parseIndex(nameIndex.endPos),
stringIndex=this.parseIndex(topDictIndex.endPos),globalSubrIndex=this.parseIndex(stringIndex.endPos);topDictIndex=this.parseDict(topDictIndex.obj.get(0));topDictIndex=this.createDict(CFFTopDict,topDictIndex,cff.strings);cff.header=header.obj;cff.names=this.parseNameIndex(nameIndex.obj);cff.strings=this.parseStringIndex(stringIndex.obj);cff.topDict=topDictIndex;cff.globalSubrIndex=globalSubrIndex.obj;this.parsePrivateDict(cff.topDict);cff.isCIDFont=topDictIndex.hasName("ROS");header=topDictIndex.getByName("CharStrings");
header=this.parseIndex(header).obj;if(nameIndex=topDictIndex.getByName("FontMatrix"))properties.fontMatrix=nameIndex;if(nameIndex=topDictIndex.getByName("FontBBox"))properties.ascent=Math.max(nameIndex[3],nameIndex[1]),properties.descent=Math.min(nameIndex[1],nameIndex[3]),properties.ascentScaled=!0;if(cff.isCIDFont){properties=this.parseIndex(topDictIndex.getByName("FDArray")).obj;nameIndex=0;for(stringIndex=properties.count;nameIndex<stringIndex;++nameIndex){var dictRaw=properties.get(nameIndex);
dictRaw=this.createDict(CFFTopDict,this.parseDict(dictRaw),cff.strings);this.parsePrivateDict(dictRaw);cff.fdArray.push(dictRaw)}properties=null;nameIndex=this.parseCharsets(topDictIndex.getByName("charset"),header.count,cff.strings,!0);cff.fdSelect=this.parseFDSelect(topDictIndex.getByName("FDSelect"),header.count)}else nameIndex=this.parseCharsets(topDictIndex.getByName("charset"),header.count,cff.strings,!1),properties=this.parseEncoding(topDictIndex.getByName("Encoding"),properties,cff.strings,
nameIndex.charset);cff.charset=nameIndex;cff.encoding=properties;globalSubrIndex=this.parseCharStrings({charStrings:header,localSubrIndex:topDictIndex.privateDict.subrsIndex,globalSubrIndex:globalSubrIndex.obj,fdSelect:cff.fdSelect,fdArray:cff.fdArray,privateDict:topDictIndex.privateDict});cff.charStrings=globalSubrIndex.charStrings;cff.seacs=globalSubrIndex.seacs;cff.widths=globalSubrIndex.widths;return cff},parseHeader:function(){for(var bytes=this.bytes,bytesLength=bytes.length,offset=0;offset<
bytesLength&&1!==bytes[offset];)++offset;if(offset>=bytesLength)throw new _util.FormatError("Invalid CFF header");0!==offset&&((0,_util.info)("cff data is shifted"),this.bytes=bytes=bytes.subarray(offset));bytesLength=bytes[2];return{obj:new CFFHeader(bytes[0],bytes[1],bytesLength,bytes[3]),endPos:bytesLength}},parseDict:function(dict){function parseOperand(){var value=dict[pos++];if(30===value){value="";for(var lookup=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],length=dict.length;pos<
length;){var b=dict[pos++],b1=b>>4;b&=15;if(15===b1)break;value+=lookup[b1];if(15===b)break;value+=lookup[b]}return parseFloat(value)}if(28===value)return value=dict[pos++],value=(value<<24|dict[pos++]<<16)>>16;if(29===value)return value=dict[pos++],value=value<<8|dict[pos++],value=value<<8|dict[pos++],value=value<<8|dict[pos++];if(32<=value&&246>=value)return value-139;if(247<=value&&250>=value)return 256*(value-247)+dict[pos++]+108;if(251<=value&&254>=value)return-(256*(value-251))-dict[pos++]-
108;(0,_util.warn)('CFFParser_parseDict: "'+value+'" is a reserved command.');return NaN}var pos=0,operands=[],entries=[];pos=0;for(var end=dict.length;pos<end;){var b$jscomp$0=dict[pos];21>=b$jscomp$0?(12===b$jscomp$0&&(b$jscomp$0=b$jscomp$0<<8|dict[++pos]),entries.push([b$jscomp$0,operands]),operands=[],++pos):operands.push(parseOperand())}return entries},parseIndex:function(pos){var cffIndex=new CFFIndex,bytes=this.bytes,count=bytes[pos++]<<8|bytes[pos++],offsets=[],end=pos,ii;if(0!==count){end=
bytes[pos++];var startPos=pos+(count+1)*end-1;var i=0;for(ii=count+1;i<ii;++i){for(var offset=0,j=0;j<end;++j)offset<<=8,offset+=bytes[pos++];offsets.push(startPos+offset)}end=offsets[count]}i=0;for(ii=offsets.length-1;i<ii;++i)cffIndex.add(bytes.subarray(offsets[i],offsets[i+1]));return{obj:cffIndex,endPos:end}},parseNameIndex:function(index){for(var names=[],i=0,ii=index.count;i<ii;++i){var name=index.get(i);names.push((0,_util.bytesToString)(name))}return names},parseStringIndex:function(index){for(var strings=
new CFFStrings,i=0,ii=index.count;i<ii;++i){var data=index.get(i);strings.add((0,_util.bytesToString)(data))}return strings},createDict:function(Type,dict,strings){Type=new Type(strings);strings=0;for(var ii=dict.length;strings<ii;++strings){var pair=dict[strings];Type.setByKey(pair[0],pair[1])}return Type},parseCharString:function(state,data,localSubrIndex,globalSubrIndex){if(!data||10<state.callDepth)return!1;for(var stackSize=state.stackSize,stack=state.stack,length=data.length,j=0;j<length;){var value=
data[j++],validationCommand=null;if(12===value){var q=data[j++];0===q?(data[j-2]=139,data[j-1]=22,stackSize=0):validationCommand=CharstringValidationData12[q]}else if(28===value)stack[stackSize]=(data[j]<<24|data[j+1]<<16)>>16,j+=2,stackSize++;else if(14===value){if(4<=stackSize&&(stackSize-=4,this.seacAnalysisEnabled))return state.seac=stack.slice(stackSize,stackSize+4),!1;validationCommand=CharstringValidationData[value]}else if(32<=value&&246>=value)stack[stackSize]=value-139,stackSize++;else if(247<=
value&&254>=value)stack[stackSize]=251>value?(value-247<<8)+data[j]+108:-(value-251<<8)-data[j]-108,j++,stackSize++;else if(255===value)stack[stackSize]=(data[j]<<24|data[j+1]<<16|data[j+2]<<8|data[j+3])/65536,j+=4,stackSize++;else if(19===value||20===value)state.hints+=stackSize>>1,j+=state.hints+7>>3,stackSize%=2,validationCommand=CharstringValidationData[value];else if(10===value||29===value){validationCommand=10===value?localSubrIndex:globalSubrIndex;if(!validationCommand)return validationCommand=
CharstringValidationData[value],(0,_util.warn)("Missing subrsIndex for "+validationCommand.id),!1;q=32768;1240>validationCommand.count?q=107:33900>validationCommand.count&&(q=1131);q=stack[--stackSize]+q;if(0>q||q>=validationCommand.count||isNaN(q))return validationCommand=CharstringValidationData[value],(0,_util.warn)("Out of bounds subrIndex for "+validationCommand.id),!1;state.stackSize=stackSize;state.callDepth++;if(!this.parseCharString(state,validationCommand.get(q),localSubrIndex,globalSubrIndex))return!1;
state.callDepth--;stackSize=state.stackSize;continue}else{if(11===value)return state.stackSize=stackSize,!0;validationCommand=CharstringValidationData[value]}if(validationCommand){validationCommand.stem&&(state.hints+=stackSize>>1,3===value||23===value?state.hasVStems=!0:!state.hasVStems||1!==value&&18!==value||((0,_util.warn)("CFF stem hints are in wrong order"),data[j-1]=1===value?3:23));if("min"in validationCommand&&!state.undefStack&&stackSize<validationCommand.min)return(0,_util.warn)("Not enough parameters for "+
validationCommand.id+"; actual: "+stackSize+", expected: "+validationCommand.min),!1;state.firstStackClearing&&validationCommand.stackClearing&&(state.firstStackClearing=!1,stackSize-=validationCommand.min,2<=stackSize&&validationCommand.stem?stackSize%=2:1<stackSize&&(0,_util.warn)("Found too many parameters for stack-clearing command"),0<stackSize&&0<=stack[stackSize-1]&&(state.width=stack[stackSize-1]));"stackDelta"in validationCommand?("stackFn"in validationCommand&&validationCommand.stackFn(stack,
stackSize),stackSize+=validationCommand.stackDelta):validationCommand.stackClearing?stackSize=0:validationCommand.resetStack?(stackSize=0,state.undefStack=!1):validationCommand.undefStack&&(stackSize=0,state.undefStack=!0,state.firstStackClearing=!1)}}state.stackSize=stackSize;return!0},parseCharStrings:function(_ref){var charStrings=_ref.charStrings,localSubrIndex=_ref.localSubrIndex,globalSubrIndex=_ref.globalSubrIndex,fdSelect=_ref.fdSelect,fdArray=_ref.fdArray;_ref=_ref.privateDict;for(var seacs=
[],widths=[],count=charStrings.count,i=0;i<count;i++){var charstring=charStrings.get(i),state={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1},valid=!0,localSubrToUse=null,privateDictToUse=_ref;if(fdSelect&&fdArray.length){var fdIndex=fdSelect.getFDIndex(i);-1===fdIndex&&((0,_util.warn)("Glyph index is not in fd select."),valid=!1);fdIndex>=fdArray.length&&((0,_util.warn)("Invalid fd index for glyph index."),valid=!1);valid&&(privateDictToUse=
fdArray[fdIndex].privateDict,localSubrToUse=privateDictToUse.subrsIndex)}else localSubrIndex&&(localSubrToUse=localSubrIndex);valid&&(valid=this.parseCharString(state,charstring,localSubrToUse,globalSubrIndex));null!==state.width?(charstring=privateDictToUse.getByName("nominalWidthX"),widths[i]=charstring+state.width):(charstring=privateDictToUse.getByName("defaultWidthX"),widths[i]=charstring);null!==state.seac&&(seacs[i]=state.seac);valid||charStrings.set(i,new Uint8Array([14]))}return{charStrings:charStrings,
seacs:seacs,widths:widths}},emptyPrivateDictionary:function(parentDict){var privateDict=this.createDict(CFFPrivateDict,[],parentDict.strings);parentDict.setByKey(18,[0,0]);parentDict.privateDict=privateDict},parsePrivateDict:function(parentDict){if(parentDict.hasName("Private")){var privateOffset=parentDict.getByName("Private");if(Array.isArray(privateOffset)&&2===privateOffset.length){var size=privateOffset[0];privateOffset=privateOffset[1];if(0===size||privateOffset>=this.bytes.length)this.emptyPrivateDictionary(parentDict);
else if(size=this.bytes.subarray(privateOffset,privateOffset+size),size=this.parseDict(size),size=this.createDict(CFFPrivateDict,size,parentDict.strings),parentDict.privateDict=size,size.getByName("Subrs")){var subrsOffset=size.getByName("Subrs");privateOffset+=subrsOffset;0===subrsOffset||privateOffset>=this.bytes.length?this.emptyPrivateDictionary(parentDict):(parentDict=this.parseIndex(privateOffset),size.subrsIndex=parentDict.obj)}}else parentDict.removeByName("Private")}else this.emptyPrivateDictionary(parentDict)},
parseCharsets:function(pos,length,strings,cid){if(0===pos)return new CFFCharset(!0,CFFCharsetPredefinedTypes.ISO_ADOBE,_charsets.ISOAdobeCharset);if(1===pos)return new CFFCharset(!0,CFFCharsetPredefinedTypes.EXPERT,_charsets.ExpertCharset);if(2===pos)return new CFFCharset(!0,CFFCharsetPredefinedTypes.EXPERT_SUBSET,_charsets.ExpertSubsetCharset);var bytes=this.bytes,start=pos,format=bytes[pos++],charset=[".notdef"],i;--length;switch(format){case 0:for(i=0;i<length;i++){var id=bytes[pos++]<<8|bytes[pos++];
charset.push(cid?id:strings.get(id))}break;case 1:for(;charset.length<=length;){id=bytes[pos++]<<8|bytes[pos++];var count=bytes[pos++];for(i=0;i<=count;i++)charset.push(cid?id++:strings.get(id++))}break;case 2:for(;charset.length<=length;)for(id=bytes[pos++]<<8|bytes[pos++],count=bytes[pos++]<<8|bytes[pos++],i=0;i<=count;i++)charset.push(cid?id++:strings.get(id++));break;default:throw new _util.FormatError("Unknown charset format");}pos=bytes.subarray(start,pos);return new CFFCharset(!1,format,charset,
pos)},parseEncoding:function(pos,properties,strings,charset){properties=Object.create(null);var bytes=this.bytes,predefined=!1,format,raw=null;if(0===pos||1===pos){predefined=!0;strings=(format=pos)?_encodings.ExpertEncoding:_encodings.StandardEncoding;var i=0;for(pos=charset.length;i<pos;i++)bytes=strings.indexOf(charset[i]),-1!==bytes&&(properties[bytes]=i)}else{raw=pos;format=bytes[pos++];switch(format&127){case 0:var glyphsCount=bytes[pos++];for(i=1;i<=glyphsCount;i++)properties[bytes[pos++]]=
i;break;case 1:glyphsCount=bytes[pos++];var gid=1;for(i=0;i<glyphsCount;i++)for(var start=bytes[pos++],left=bytes[pos++],j=start;j<=start+left;j++)properties[j]=gid++;break;default:throw new _util.FormatError("Unknown encoding format: ".concat(format," in CFF"));}glyphsCount=pos;if(format&128)for(bytes[raw]&=127,gid=bytes[pos++],i=0;i<gid;i++)start=bytes[pos++],left=(bytes[pos++]<<8)+(bytes[pos++]&255),properties[start]=charset.indexOf(strings.get(left));raw=bytes.subarray(raw,glyphsCount)}return new CFFEncoding(predefined,
format&127,properties,raw)},parseFDSelect:function(pos,length){var bytes=this.bytes,format=bytes[pos++],fdSelect=[],i;switch(format){case 0:for(i=0;i<length;++i){var id=bytes[pos++];fdSelect.push(id)}break;case 3:id=bytes[pos++]<<8|bytes[pos++];for(i=0;i<id;++i){var first=bytes[pos++]<<8|bytes[pos++];0===i&&0!==first&&((0,_util.warn)("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),first=0);for(var fdIndex=bytes[pos++],next=bytes[pos]<<8|bytes[pos+1];first<next;++first)fdSelect.push(fdIndex)}break;
default:throw new _util.FormatError('parseFDSelect: Unknown format "'.concat(format,'".'));}if(fdSelect.length!==length)throw new _util.FormatError("parseFDSelect: Invalid font data.");return new CFFFDSelect(format,fdSelect)}};return CFFParser}();exports.CFFParser=module;var CFF=function(){function CFF(){this.header=null;this.names=[];this.topDict=null;this.strings=new CFFStrings;this.charStrings=this.charset=this.encoding=this.globalSubrIndex=null;this.fdArray=[];this.fdSelect=null;this.isCIDFont=
!1}CFF.prototype={duplicateFirstGlyph:function(){if(65535<=this.charStrings.count)(0,_util.warn)("Not enough space in charstrings to duplicate first glyph.");else{var glyphZero=this.charStrings.get(0);this.charStrings.add(glyphZero);this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}},hasGlyphId:function(id){return 0>id||id>=this.charStrings.count?!1:0<this.charStrings.get(id).length}};return CFF}();exports.CFF=CFF;var CFFHeader=function(){return function(major,minor,hdrSize,offSize){this.major=
major;this.minor=minor;this.hdrSize=hdrSize;this.offSize=offSize}}();exports.CFFHeader=CFFHeader;var CFFStrings=function(){function CFFStrings(){this.strings=[]}CFFStrings.prototype={get:function(index){return 0<=index&&390>=index?CFFStandardStrings[index]:index-391<=this.strings.length?this.strings[index-391]:CFFStandardStrings[0]},getSID:function(str){var index=CFFStandardStrings.indexOf(str);if(-1!==index)return index;index=this.strings.indexOf(str);return-1!==index?index+391:-1},add:function(value){this.strings.push(value)},
get count(){return this.strings.length}};return CFFStrings}();exports.CFFStrings=CFFStrings;var CFFIndex=function(){function CFFIndex(){this.objects=[];this.length=0}CFFIndex.prototype={add:function(data){this.length+=data.length;this.objects.push(data)},set:function(index,data){this.length+=data.length-this.objects[index].length;this.objects[index]=data},get:function(index){return this.objects[index]},get count(){return this.objects.length}};return CFFIndex}();exports.CFFIndex=CFFIndex;var CFFDict=
function(){function CFFDict(tables,strings){this.keyToNameMap=tables.keyToNameMap;this.nameToKeyMap=tables.nameToKeyMap;this.defaults=tables.defaults;this.types=tables.types;this.opcodes=tables.opcodes;this.order=tables.order;this.strings=strings;this.values=Object.create(null)}CFFDict.prototype={setByKey:function(key,value){if(!(key in this.keyToNameMap))return!1;var valueLength=value.length;if(0===valueLength)return!0;for(var i=0;i<valueLength;i++)if(isNaN(value[i]))return(0,_util.warn)('Invalid CFFDict value: "'+
value+'" for key "'+key+'".'),!0;valueLength=this.types[key];if("num"===valueLength||"sid"===valueLength||"offset"===valueLength)value=value[0];this.values[key]=value;return!0},setByName:function(name,value){if(!(name in this.nameToKeyMap))throw new _util.FormatError('Invalid dictionary name "'.concat(name,'"'));this.values[this.nameToKeyMap[name]]=value},hasName:function(name){return this.nameToKeyMap[name]in this.values},getByName:function(name){if(!(name in this.nameToKeyMap))throw new _util.FormatError("Invalid dictionary name ".concat(name,
'"'));name=this.nameToKeyMap[name];return name in this.values?this.values[name]:this.defaults[name]},removeByName:function(name){delete this.values[this.nameToKeyMap[name]]}};CFFDict.createTables=function(layout){for(var tables={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},i=0,ii=layout.length;i<ii;++i){var entry=layout[i],key=Array.isArray(entry[0])?(entry[0][0]<<8)+entry[0][1]:entry[0];tables.keyToNameMap[key]=entry[1];tables.nameToKeyMap[entry[1]]=key;tables.types[key]=
entry[2];tables.defaults[key]=entry[3];tables.opcodes[key]=Array.isArray(entry[0])?entry[0]:[entry[0]];tables.order.push(key)}return tables};return CFFDict}(),CFFTopDict=function(){function CFFTopDict(strings){null===tables&&(tables=CFFDict.createTables(layout));CFFDict.call(this,tables,strings);this.privateDict=null}var layout=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName",
"sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix","num num num num num num".split(" "),[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",
0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]],tables=null;CFFTopDict.prototype=
Object.create(CFFDict.prototype);return CFFTopDict}();exports.CFFTopDict=CFFTopDict;var CFFPrivateDict=function(){function CFFPrivateDict(strings){null===tables&&(tables=CFFDict.createTables(layout));CFFDict.call(this,tables,strings);this.subrsIndex=null}var layout=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",
null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]],tables=null;CFFPrivateDict.prototype=Object.create(CFFDict.prototype);return CFFPrivateDict}();exports.CFFPrivateDict=CFFPrivateDict;var CFFCharsetPredefinedTypes={ISO_ADOBE:0,
EXPERT:1,EXPERT_SUBSET:2},CFFCharset=function(){return function(predefined,format,charset,raw){this.predefined=predefined;this.format=format;this.charset=charset;this.raw=raw}}();exports.CFFCharset=CFFCharset;var CFFEncoding=function(){return function(predefined,format,encoding,raw){this.predefined=predefined;this.format=format;this.encoding=encoding;this.raw=raw}}(),CFFFDSelect=function(){function CFFFDSelect(format,fdSelect){this.format=format;this.fdSelect=fdSelect}CFFFDSelect.prototype={getFDIndex:function(glyphIndex){return 0>
glyphIndex||glyphIndex>=this.fdSelect.length?-1:this.fdSelect[glyphIndex]}};return CFFFDSelect}();exports.CFFFDSelect=CFFFDSelect;var CFFOffsetTracker=function(){function CFFOffsetTracker(){this.offsets=Object.create(null)}CFFOffsetTracker.prototype={isTracking:function(key){return key in this.offsets},track:function(key,location){if(key in this.offsets)throw new _util.FormatError("Already tracking location of ".concat(key));this.offsets[key]=location},offset:function(value){for(var key in this.offsets)this.offsets[key]+=
value},setEntryLocation:function(key,values,output){if(!(key in this.offsets))throw new _util.FormatError("Not tracking location of ".concat(key));output=output.data;key=this.offsets[key];for(var i=0,ii=values.length;i<ii;++i){var offset0=5*i+key,offset1=offset0+1,offset2=offset0+2,offset3=offset0+3,offset4=offset0+4;if(29!==output[offset0]||0!==output[offset1]||0!==output[offset2]||0!==output[offset3]||0!==output[offset4])throw new _util.FormatError("writing to an offset that is not empty");var value=
values[i];output[offset0]=29;output[offset1]=value>>24&255;output[offset2]=value>>16&255;output[offset3]=value>>8&255;output[offset4]=value&255}}};return CFFOffsetTracker}();module=function(){function CFFCompiler(cff){this.cff=cff}CFFCompiler.prototype={compile:function(){var cff=this.cff,output={data:[],length:0,add:function(data){this.data=this.data.concat(data);this.length=this.data.length}},header=this.compileHeader(cff.header);output.add(header);header=this.compileNameIndex(cff.names);output.add(header);
if(cff.isCIDFont&&cff.topDict.hasName("FontMatrix")){header=cff.topDict.getByName("FontMatrix");cff.topDict.removeByName("FontMatrix");for(var i=0,ii=cff.fdArray.length;i<ii;i++){var subDict=cff.fdArray[i],matrix=header.slice(0);subDict.hasName("FontMatrix")&&(matrix=_util.Util.transform(matrix,subDict.getByName("FontMatrix")));subDict.setByName("FontMatrix",matrix)}}cff.topDict.setByName("charset",0);i=this.compileTopDicts([cff.topDict],output.length,cff.isCIDFont);output.add(i.output);header=i.trackers[0];
i=this.compileStringIndex(cff.strings.strings);output.add(i);i=this.compileIndex(cff.globalSubrIndex);output.add(i);cff.encoding&&cff.topDict.hasName("Encoding")&&(cff.encoding.predefined?header.setEntryLocation("Encoding",[cff.encoding.format],output):(i=this.compileEncoding(cff.encoding),header.setEntryLocation("Encoding",[output.length],output),output.add(i)));i=this.compileCharset(cff.charset,cff.charStrings.count,cff.strings,cff.isCIDFont);header.setEntryLocation("charset",[output.length],output);
output.add(i);i=this.compileCharStrings(cff.charStrings);header.setEntryLocation("CharStrings",[output.length],output);output.add(i);cff.isCIDFont&&(header.setEntryLocation("FDSelect",[output.length],output),i=this.compileFDSelect(cff.fdSelect),output.add(i),i=this.compileTopDicts(cff.fdArray,output.length,!0),header.setEntryLocation("FDArray",[output.length],output),output.add(i.output),this.compilePrivateDicts(cff.fdArray,i.trackers,output));this.compilePrivateDicts([cff.topDict],[header],output);
output.add([0]);return output.data},encodeNumber:function(value){return parseFloat(value)!==parseInt(value,10)||isNaN(value)?this.encodeFloat(value):this.encodeInteger(value)},encodeFloat:function(num){var value=num.toString(),m=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(value);m&&(value=parseFloat("1e"+((m[2]?+m[2]:0)+m[1].length)),value=(Math.round(num*value)/value).toString());num="";var ii;m=0;for(ii=value.length;m<ii;++m){var a=value[m];num="e"===a?num+("-"===value[++m]?"c":"b"):"."===
a?num+"a":"-"===a?num+"e":num+a}num+=num.length&1?"f":"ff";value=[30];m=0;for(ii=num.length;m<ii;m+=2)value.push(parseInt(num.substring(m,m+2),16));return value},encodeInteger:function(value){-107<=value&&107>=value?value=[value+139]:108<=value&&1131>=value?(value-=108,value=[(value>>8)+247,value&255]):-1131<=value&&-108>=value?(value=-value-108,value=[(value>>8)+251,value&255]):value=-32768<=value&&32767>=value?[28,value>>8&255,value&255]:[29,value>>24&255,value>>16&255,value>>8&255,value&255];return value},
compileHeader:function(header){return[header.major,header.minor,header.hdrSize,header.offSize]},compileNameIndex:function(names){for(var nameIndex=new CFFIndex,i=0,ii=names.length;i<ii;++i){for(var name=names[i],length=Math.min(name.length,127),sanitizedName=Array(length),j=0;j<length;j++){var _char5=name[j];if("!">_char5||"~"<_char5||"["===_char5||"]"===_char5||"("===_char5||")"===_char5||"{"===_char5||"}"===_char5||"<"===_char5||">"===_char5||"/"===_char5||"%"===_char5)_char5="_";sanitizedName[j]=
_char5}sanitizedName=sanitizedName.join("");""===sanitizedName&&(sanitizedName="Bad_Font_Name");nameIndex.add((0,_util.stringToBytes)(sanitizedName))}return this.compileIndex(nameIndex)},compileTopDicts:function(dicts,length,removeCidKeys){for(var fontDictTrackers=[],fdArrayIndex=new CFFIndex,i=0,ii=dicts.length;i<ii;++i){var fontDict=dicts[i];removeCidKeys&&(fontDict.removeByName("CIDFontVersion"),fontDict.removeByName("CIDFontRevision"),fontDict.removeByName("CIDFontType"),fontDict.removeByName("CIDCount"),
fontDict.removeByName("UIDBase"));var fontDictTracker=new CFFOffsetTracker;fontDict=this.compileDict(fontDict,fontDictTracker);fontDictTrackers.push(fontDictTracker);fdArrayIndex.add(fontDict);fontDictTracker.offset(length)}fdArrayIndex=this.compileIndex(fdArrayIndex,fontDictTrackers);return{trackers:fontDictTrackers,output:fdArrayIndex}},compilePrivateDicts:function(dicts,trackers,output){for(var i=0,ii=dicts.length;i<ii;++i){var fontDict=dicts[i],privateDict=fontDict.privateDict;if(!privateDict||
!fontDict.hasName("Private"))throw new _util.FormatError("There must be a private dictionary.");fontDict=new CFFOffsetTracker;var privateDictData=this.compileDict(privateDict,fontDict),outputLength=output.length;fontDict.offset(outputLength);privateDictData.length||(outputLength=0);trackers[i].setEntryLocation("Private",[privateDictData.length,outputLength],output);output.add(privateDictData);privateDict.subrsIndex&&privateDict.hasName("Subrs")&&(privateDict=this.compileIndex(privateDict.subrsIndex),
fontDict.setEntryLocation("Subrs",[privateDictData.length],output),output.add(privateDict))}},compileDict:function(dict,offsetTracker){for(var out=[],order=dict.order,i=0;i<order.length;++i){var key=order[i];if(key in dict.values){var values=dict.values[key],types=dict.types[key];Array.isArray(types)||(types=[types]);Array.isArray(values)||(values=[values]);if(0!==values.length){for(var j=0,jj=types.length;j<jj;++j){var type=types[j],value=values[j];switch(type){case "num":case "sid":out=out.concat(this.encodeNumber(value));
break;case "offset":type=dict.keyToNameMap[key];offsetTracker.isTracking(type)||offsetTracker.track(type,out.length);out=out.concat([29,0,0,0,0]);break;case "array":case "delta":out=out.concat(this.encodeNumber(value));type=1;for(value=values.length;type<value;++type)out=out.concat(this.encodeNumber(values[type]));break;default:throw new _util.FormatError("Unknown data type of ".concat(type));}}out=out.concat(dict.opcodes[key])}}}return out},compileStringIndex:function(strings){for(var stringIndex=
new CFFIndex,i=0,ii=strings.length;i<ii;++i)stringIndex.add((0,_util.stringToBytes)(strings[i]));return this.compileIndex(stringIndex)},compileGlobalSubrIndex:function(){this.out.writeByteArray(this.compileIndex(this.cff.globalSubrIndex))},compileCharStrings:function(charStrings){for(var charStringsIndex=new CFFIndex,i=0;i<charStrings.count;i++){var glyph=charStrings.get(i);0===glyph.length?charStringsIndex.add(new Uint8Array([139,14])):charStringsIndex.add(glyph)}return this.compileIndex(charStringsIndex)},
compileCharset:function(charset,numGlyphs,strings,isCIDFont){--numGlyphs;if(isCIDFont)isCIDFont=new Uint8Array([2,0,0,numGlyphs>>8&255,numGlyphs&255]);else{isCIDFont=new Uint8Array(1+2*numGlyphs);numGlyphs=isCIDFont[0]=0;for(var numCharsets=charset.charset.length,warned=!1,i=1;i<isCIDFont.length;i+=2){var sid=0;if(numGlyphs<numCharsets){var name=charset.charset[numGlyphs++];sid=strings.getSID(name);-1===sid&&(sid=0,warned||(warned=!0,(0,_util.warn)("Couldn't find ".concat(name," in CFF strings"))))}isCIDFont[i]=
sid>>8&255;isCIDFont[i+1]=sid&255}}return this.compileTypedArray(isCIDFont)},compileEncoding:function(encoding){return this.compileTypedArray(encoding.raw)},compileFDSelect:function(fdSelect){var format=fdSelect.format;switch(format){case 0:var out=new Uint8Array(1+fdSelect.fdSelect.length);out[0]=format;for(format=0;format<fdSelect.fdSelect.length;format++)out[format+1]=fdSelect.fdSelect[format];break;case 3:out=fdSelect.fdSelect[0];var ranges=[format,0,0,0,0,out];for(format=1;format<fdSelect.fdSelect.length;format++){var currentFD=
fdSelect.fdSelect[format];currentFD!==out&&(ranges.push(format>>8&255,format&255,currentFD),out=currentFD)}fdSelect=(ranges.length-3)/3;ranges[1]=fdSelect>>8&255;ranges[2]=fdSelect&255;ranges.push(format>>8&255,format&255);out=new Uint8Array(ranges)}return this.compileTypedArray(out)},compileTypedArray:function(data){for(var out=[],i=0,ii=data.length;i<ii;++i)out[i]=data[i];return out},compileIndex:function(index,trackers){trackers=trackers||[];index=index.objects;var count=index.length;if(0===count)return[0,
0,0];var data=[count>>8&255,count&255],lastOffset=1,i;for(i=0;i<count;++i)lastOffset+=index[i].length;lastOffset=256>lastOffset?1:65536>lastOffset?2:16777216>lastOffset?3:4;data.push(lastOffset);var relativeOffset=1;for(i=0;i<count+1;i++)1===lastOffset?data.push(relativeOffset&255):2===lastOffset?data.push(relativeOffset>>8&255,relativeOffset&255):3===lastOffset?data.push(relativeOffset>>16&255,relativeOffset>>8&255,relativeOffset&255):data.push(relativeOffset>>>24&255,relativeOffset>>16&255,relativeOffset>>
8&255,relativeOffset&255),index[i]&&(relativeOffset+=index[i].length);for(i=0;i<count;i++)for(trackers[i]&&trackers[i].offset(data.length),lastOffset=0,relativeOffset=index[i].length;lastOffset<relativeOffset;lastOffset++)data.push(index[i][lastOffset]);return data}};return CFFCompiler}();exports.CFFCompiler=module},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});exports.ISOAdobeCharset=".notdef space exclam quotedbl numbersign dollar percent ampersand quoteright parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore quoteleft a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde exclamdown cent sterling fraction yen florin section currency quotesingle quotedblleft guillemotleft guilsinglleft guilsinglright fi fl endash dagger daggerdbl periodcentered paragraph bullet quotesinglbase quotedblbase quotedblright guillemotright ellipsis perthousand questiondown grave acute circumflex tilde macron breve dotaccent dieresis ring cedilla hungarumlaut ogonek caron emdash AE ordfeminine Lslash Oslash OE ordmasculine ae dotlessi lslash oslash oe germandbls onesuperior logicalnot mu trademark Eth onehalf plusminus Thorn onequarter divide brokenbar degree thorn threequarters twosuperior registered minus eth multiply threesuperior copyright Aacute Acircumflex Adieresis Agrave Aring Atilde Ccedilla Eacute Ecircumflex Edieresis Egrave Iacute Icircumflex Idieresis Igrave Ntilde Oacute Ocircumflex Odieresis Ograve Otilde Scaron Uacute Ucircumflex Udieresis Ugrave Yacute Ydieresis Zcaron aacute acircumflex adieresis agrave aring atilde ccedilla eacute ecircumflex edieresis egrave iacute icircumflex idieresis igrave ntilde oacute ocircumflex odieresis ograve otilde scaron uacute ucircumflex udieresis ugrave yacute ydieresis zcaron".split(" ");
exports.ExpertCharset=".notdef space exclamsmall Hungarumlautsmall dollaroldstyle dollarsuperior ampersandsmall Acutesmall parenleftsuperior parenrightsuperior twodotenleader onedotenleader comma hyphen period fraction zerooldstyle oneoldstyle twooldstyle threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle eightoldstyle nineoldstyle colon semicolon commasuperior threequartersemdash periodsuperior questionsmall asuperior bsuperior centsuperior dsuperior esuperior isuperior lsuperior msuperior nsuperior osuperior rsuperior ssuperior tsuperior ff fi fl ffi ffl parenleftinferior parenrightinferior Circumflexsmall hyphensuperior Gravesmall Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall colonmonetary onefitted rupiah Tildesmall exclamdownsmall centoldstyle Lslashsmall Scaronsmall Zcaronsmall Dieresissmall Brevesmall Caronsmall Dotaccentsmall Macronsmall figuredash hypheninferior Ogoneksmall Ringsmall Cedillasmall onequarter onehalf threequarters questiondownsmall oneeighth threeeighths fiveeighths seveneighths onethird twothirds zerosuperior onesuperior twosuperior threesuperior foursuperior fivesuperior sixsuperior sevensuperior eightsuperior ninesuperior zeroinferior oneinferior twoinferior threeinferior fourinferior fiveinferior sixinferior seveninferior eightinferior nineinferior centinferior dollarinferior periodinferior commainferior Agravesmall Aacutesmall Acircumflexsmall Atildesmall Adieresissmall Aringsmall AEsmall Ccedillasmall Egravesmall Eacutesmall Ecircumflexsmall Edieresissmall Igravesmall Iacutesmall Icircumflexsmall Idieresissmall Ethsmall Ntildesmall Ogravesmall Oacutesmall Ocircumflexsmall Otildesmall Odieresissmall OEsmall Oslashsmall Ugravesmall Uacutesmall Ucircumflexsmall Udieresissmall Yacutesmall Thornsmall Ydieresissmall".split(" ");
exports.ExpertSubsetCharset=".notdef space dollaroldstyle dollarsuperior parenleftsuperior parenrightsuperior twodotenleader onedotenleader comma hyphen period fraction zerooldstyle oneoldstyle twooldstyle threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle eightoldstyle nineoldstyle colon semicolon commasuperior threequartersemdash periodsuperior asuperior bsuperior centsuperior dsuperior esuperior isuperior lsuperior msuperior nsuperior osuperior rsuperior ssuperior tsuperior ff fi fl ffi ffl parenleftinferior parenrightinferior hyphensuperior colonmonetary onefitted rupiah centoldstyle figuredash hypheninferior onequarter onehalf threequarters oneeighth threeeighths fiveeighths seveneighths onethird twothirds zerosuperior onesuperior twosuperior threesuperior foursuperior fivesuperior sixsuperior sevensuperior eightsuperior ninesuperior zeroinferior oneinferior twoinferior threeinferior fourinferior fiveinferior sixinferior seveninferior eightinferior nineinferior centinferior dollarinferior periodinferior commainferior".split(" ")},
function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});exports.getEncoding=function(encodingName){switch(encodingName){case "WinAnsiEncoding":return WinAnsiEncoding;case "StandardEncoding":return StandardEncoding;case "MacRomanEncoding":return MacRomanEncoding;case "SymbolSetEncoding":return SymbolSetEncoding;case "ZapfDingbatsEncoding":return ZapfDingbatsEncoding;case "ExpertEncoding":return ExpertEncoding;case "MacExpertEncoding":return MacExpertEncoding;
default:return null}};exports.ExpertEncoding=exports.ZapfDingbatsEncoding=exports.SymbolSetEncoding=exports.MacRomanEncoding=exports.StandardEncoding=exports.WinAnsiEncoding=void 0;var ExpertEncoding="                                space exclamsmall Hungarumlautsmall  dollaroldstyle dollarsuperior ampersandsmall Acutesmall parenleftsuperior parenrightsuperior twodotenleader onedotenleader comma hyphen period fraction zerooldstyle oneoldstyle twooldstyle threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle eightoldstyle nineoldstyle colon semicolon commasuperior threequartersemdash periodsuperior questionsmall  asuperior bsuperior centsuperior dsuperior esuperior    isuperior   lsuperior msuperior nsuperior osuperior   rsuperior ssuperior tsuperior  ff fi fl ffi ffl parenleftinferior  parenrightinferior Circumflexsmall hyphensuperior Gravesmall Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall colonmonetary onefitted rupiah Tildesmall                                   exclamdownsmall centoldstyle Lslashsmall   Scaronsmall Zcaronsmall Dieresissmall Brevesmall Caronsmall  Dotaccentsmall   Macronsmall   figuredash hypheninferior   Ogoneksmall Ringsmall Cedillasmall    onequarter onehalf threequarters questiondownsmall oneeighth threeeighths fiveeighths seveneighths onethird twothirds   zerosuperior onesuperior twosuperior threesuperior foursuperior fivesuperior sixsuperior sevensuperior eightsuperior ninesuperior zeroinferior oneinferior twoinferior threeinferior fourinferior fiveinferior sixinferior seveninferior eightinferior nineinferior centinferior dollarinferior periodinferior commainferior Agravesmall Aacutesmall Acircumflexsmall Atildesmall Adieresissmall Aringsmall AEsmall Ccedillasmall Egravesmall Eacutesmall Ecircumflexsmall Edieresissmall Igravesmall Iacutesmall Icircumflexsmall Idieresissmall Ethsmall Ntildesmall Ogravesmall Oacutesmall Ocircumflexsmall Otildesmall Odieresissmall OEsmall Oslashsmall Ugravesmall Uacutesmall Ucircumflexsmall Udieresissmall Yacutesmall Thornsmall Ydieresissmall".split(" ");
exports.ExpertEncoding=ExpertEncoding;var MacExpertEncoding="                                space exclamsmall Hungarumlautsmall centoldstyle dollaroldstyle dollarsuperior ampersandsmall Acutesmall parenleftsuperior parenrightsuperior twodotenleader onedotenleader comma hyphen period fraction zerooldstyle oneoldstyle twooldstyle threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle eightoldstyle nineoldstyle colon semicolon  threequartersemdash  questionsmall     Ethsmall   onequarter onehalf threequarters oneeighth threeeighths fiveeighths seveneighths onethird twothirds       ff fi fl ffi ffl parenleftinferior  parenrightinferior Circumflexsmall hypheninferior Gravesmall Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall colonmonetary onefitted rupiah Tildesmall   asuperior centsuperior     Aacutesmall Agravesmall Acircumflexsmall Adieresissmall Atildesmall Aringsmall Ccedillasmall Eacutesmall Egravesmall Ecircumflexsmall Edieresissmall Iacutesmall Igravesmall Icircumflexsmall Idieresissmall Ntildesmall Oacutesmall Ogravesmall Ocircumflexsmall Odieresissmall Otildesmall Uacutesmall Ugravesmall Ucircumflexsmall Udieresissmall  eightsuperior fourinferior threeinferior sixinferior eightinferior seveninferior Scaronsmall  centinferior twoinferior  Dieresissmall  Caronsmall osuperior fiveinferior  commainferior periodinferior Yacutesmall  dollarinferior   Thornsmall  nineinferior zeroinferior Zcaronsmall AEsmall Oslashsmall questiondownsmall oneinferior Lslashsmall       Cedillasmall      OEsmall figuredash hyphensuperior     exclamdownsmall  Ydieresissmall  onesuperior twosuperior threesuperior foursuperior fivesuperior sixsuperior sevensuperior ninesuperior zerosuperior  esuperior rsuperior tsuperior   isuperior ssuperior dsuperior      lsuperior Ogoneksmall Brevesmall Macronsmall bsuperior nsuperior msuperior commasuperior periodsuperior Dotaccentsmall Ringsmall    ".split(" "),
MacRomanEncoding="                                space exclam quotedbl numbersign dollar percent ampersand quotesingle parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore grave a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde  Adieresis Aring Ccedilla Eacute Ntilde Odieresis Udieresis aacute agrave acircumflex adieresis atilde aring ccedilla eacute egrave ecircumflex edieresis iacute igrave icircumflex idieresis ntilde oacute ograve ocircumflex odieresis otilde uacute ugrave ucircumflex udieresis dagger degree cent sterling section bullet paragraph germandbls registered copyright trademark acute dieresis notequal AE Oslash infinity plusminus lessequal greaterequal yen mu partialdiff summation product pi integral ordfeminine ordmasculine Omega ae oslash questiondown exclamdown logicalnot radical florin approxequal Delta guillemotleft guillemotright ellipsis space Agrave Atilde Otilde OE oe endash emdash quotedblleft quotedblright quoteleft quoteright divide lozenge ydieresis Ydieresis fraction currency guilsinglleft guilsinglright fi fl daggerdbl periodcentered quotesinglbase quotedblbase perthousand Acircumflex Ecircumflex Aacute Edieresis Egrave Iacute Icircumflex Idieresis Igrave Oacute Ocircumflex apple Ograve Uacute Ucircumflex Ugrave dotlessi circumflex tilde macron breve dotaccent ring cedilla hungarumlaut ogonek caron".split(" ");
exports.MacRomanEncoding=MacRomanEncoding;var StandardEncoding="                                space exclam quotedbl numbersign dollar percent ampersand quoteright parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore quoteleft a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde                                   exclamdown cent sterling fraction yen florin section currency quotesingle quotedblleft guillemotleft guilsinglleft guilsinglright fi fl  endash dagger daggerdbl periodcentered  paragraph bullet quotesinglbase quotedblbase quotedblright guillemotright ellipsis perthousand  questiondown  grave acute circumflex tilde macron breve dotaccent dieresis  ring cedilla  hungarumlaut ogonek caron emdash                 AE  ordfeminine     Lslash Oslash OE ordmasculine      ae    dotlessi   lslash oslash oe germandbls    ".split(" ");
exports.StandardEncoding=StandardEncoding;var WinAnsiEncoding="                                space exclam quotedbl numbersign dollar percent ampersand quotesingle parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore grave a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde bullet Euro bullet quotesinglbase florin quotedblbase ellipsis dagger daggerdbl circumflex perthousand Scaron guilsinglleft OE bullet Zcaron bullet bullet quoteleft quoteright quotedblleft quotedblright bullet endash emdash tilde trademark scaron guilsinglright oe bullet zcaron Ydieresis space exclamdown cent sterling currency yen brokenbar section dieresis copyright ordfeminine guillemotleft logicalnot hyphen registered macron degree plusminus twosuperior threesuperior acute mu paragraph periodcentered cedilla onesuperior ordmasculine guillemotright onequarter onehalf threequarters questiondown Agrave Aacute Acircumflex Atilde Adieresis Aring AE Ccedilla Egrave Eacute Ecircumflex Edieresis Igrave Iacute Icircumflex Idieresis Eth Ntilde Ograve Oacute Ocircumflex Otilde Odieresis multiply Oslash Ugrave Uacute Ucircumflex Udieresis Yacute Thorn germandbls agrave aacute acircumflex atilde adieresis aring ae ccedilla egrave eacute ecircumflex edieresis igrave iacute icircumflex idieresis eth ntilde ograve oacute ocircumflex otilde odieresis divide oslash ugrave uacute ucircumflex udieresis yacute thorn ydieresis".split(" ");
exports.WinAnsiEncoding=WinAnsiEncoding;var SymbolSetEncoding="                                space exclam universal numbersign existential percent ampersand suchthat parenleft parenright asteriskmath plus comma minus period slash zero one two three four five six seven eight nine colon semicolon less equal greater question congruent Alpha Beta Chi Delta Epsilon Phi Gamma Eta Iota theta1 Kappa Lambda Mu Nu Omicron Pi Theta Rho Sigma Tau Upsilon sigma1 Omega Xi Psi Zeta bracketleft therefore bracketright perpendicular underscore radicalex alpha beta chi delta epsilon phi gamma eta iota phi1 kappa lambda mu nu omicron pi theta rho sigma tau upsilon omega1 omega xi psi zeta braceleft bar braceright similar                                  Euro Upsilon1 minute lessequal fraction infinity florin club diamond heart spade arrowboth arrowleft arrowup arrowright arrowdown degree plusminus second greaterequal multiply proportional partialdiff bullet divide notequal equivalence approxequal ellipsis arrowvertex arrowhorizex carriagereturn aleph Ifraktur Rfraktur weierstrass circlemultiply circleplus emptyset intersection union propersuperset reflexsuperset notsubset propersubset reflexsubset element notelement angle gradient registerserif copyrightserif trademarkserif product radical dotmath logicalnot logicaland logicalor arrowdblboth arrowdblleft arrowdblup arrowdblright arrowdbldown lozenge angleleft registersans copyrightsans trademarksans summation parenlefttp parenleftex parenleftbt bracketlefttp bracketleftex bracketleftbt bracelefttp braceleftmid braceleftbt braceex  angleright integral integraltp integralex integralbt parenrighttp parenrightex parenrightbt bracketrighttp bracketrightex bracketrightbt bracerighttp bracerightmid bracerightbt ".split(" ");
exports.SymbolSetEncoding=SymbolSetEncoding;var ZapfDingbatsEncoding="                                space a1 a2 a202 a3 a4 a5 a119 a118 a117 a11 a12 a13 a14 a15 a16 a105 a17 a18 a19 a20 a21 a22 a23 a24 a25 a26 a27 a28 a6 a7 a8 a9 a10 a29 a30 a31 a32 a33 a34 a35 a36 a37 a38 a39 a40 a41 a42 a43 a44 a45 a46 a47 a48 a49 a50 a51 a52 a53 a54 a55 a56 a57 a58 a59 a60 a61 a62 a63 a64 a65 a66 a67 a68 a69 a70 a71 a72 a73 a74 a203 a75 a204 a76 a77 a78 a79 a81 a82 a83 a84 a97 a98 a99 a100  a89 a90 a93 a94 a91 a92 a205 a85 a206 a86 a87 a88 a95 a96                    a101 a102 a103 a104 a106 a107 a108 a112 a111 a110 a109 a120 a121 a122 a123 a124 a125 a126 a127 a128 a129 a130 a131 a132 a133 a134 a135 a136 a137 a138 a139 a140 a141 a142 a143 a144 a145 a146 a147 a148 a149 a150 a151 a152 a153 a154 a155 a156 a157 a158 a159 a160 a161 a163 a164 a196 a165 a192 a166 a167 a168 a169 a170 a171 a172 a173 a162 a174 a175 a176 a177 a178 a179 a193 a180 a199 a181 a200 a182  a201 a183 a184 a197 a185 a194 a198 a186 a195 a187 a188 a189 a190 a191 ".split(" ");
exports.ZapfDingbatsEncoding=ZapfDingbatsEncoding},function(module,exports,__w_pdfjs_require__){__w_pdfjs_require__=__w_pdfjs_require__(191).getLookupTableFactory;module=__w_pdfjs_require__(function(t){t.A=65;t.AE=198;t.AEacute=508;t.AEmacron=482;t.AEsmall=63462;t.Aacute=193;t.Aacutesmall=63457;t.Abreve=258;t.Abreveacute=7854;t.Abrevecyrillic=1232;t.Abrevedotbelow=7862;t.Abrevegrave=7856;t.Abrevehookabove=7858;t.Abrevetilde=7860;t.Acaron=461;t.Acircle=9398;t.Acircumflex=194;t.Acircumflexacute=7844;
t.Acircumflexdotbelow=7852;t.Acircumflexgrave=7846;t.Acircumflexhookabove=7848;t.Acircumflexsmall=63458;t.Acircumflextilde=7850;t.Acute=63177;t.Acutesmall=63412;t.Acyrillic=1040;t.Adblgrave=512;t.Adieresis=196;t.Adieresiscyrillic=1234;t.Adieresismacron=478;t.Adieresissmall=63460;t.Adotbelow=7840;t.Adotmacron=480;t.Agrave=192;t.Agravesmall=63456;t.Ahookabove=7842;t.Aiecyrillic=1236;t.Ainvertedbreve=514;t.Alpha=913;t.Alphatonos=902;t.Amacron=256;t.Amonospace=65313;t.Aogonek=260;t.Aring=197;t.Aringacute=
506;t.Aringbelow=7680;t.Aringsmall=63461;t.Asmall=63329;t.Atilde=195;t.Atildesmall=63459;t.Aybarmenian=1329;t.B=66;t.Bcircle=9399;t.Bdotaccent=7682;t.Bdotbelow=7684;t.Becyrillic=1041;t.Benarmenian=1330;t.Beta=914;t.Bhook=385;t.Blinebelow=7686;t.Bmonospace=65314;t.Brevesmall=63220;t.Bsmall=63330;t.Btopbar=386;t.C=67;t.Caarmenian=1342;t.Cacute=262;t.Caron=63178;t.Caronsmall=63221;t.Ccaron=268;t.Ccedilla=199;t.Ccedillaacute=7688;t.Ccedillasmall=63463;t.Ccircle=9400;t.Ccircumflex=264;t.Cdot=266;t.Cdotaccent=
266;t.Cedillasmall=63416;t.Chaarmenian=1353;t.Cheabkhasiancyrillic=1212;t.Checyrillic=1063;t.Chedescenderabkhasiancyrillic=1214;t.Chedescendercyrillic=1206;t.Chedieresiscyrillic=1268;t.Cheharmenian=1347;t.Chekhakassiancyrillic=1227;t.Cheverticalstrokecyrillic=1208;t.Chi=935;t.Chook=391;t.Circumflexsmall=63222;t.Cmonospace=65315;t.Coarmenian=1361;t.Csmall=63331;t.D=68;t.DZ=497;t.DZcaron=452;t.Daarmenian=1332;t.Dafrican=393;t.Dcaron=270;t.Dcedilla=7696;t.Dcircle=9401;t.Dcircumflexbelow=7698;t.Dcroat=
272;t.Ddotaccent=7690;t.Ddotbelow=7692;t.Decyrillic=1044;t.Deicoptic=1006;t.Delta=8710;t.Deltagreek=916;t.Dhook=394;t.Dieresis=63179;t.DieresisAcute=63180;t.DieresisGrave=63181;t.Dieresissmall=63400;t.Digammagreek=988;t.Djecyrillic=1026;t.Dlinebelow=7694;t.Dmonospace=65316;t.Dotaccentsmall=63223;t.Dslash=272;t.Dsmall=63332;t.Dtopbar=395;t.Dz=498;t.Dzcaron=453;t.Dzeabkhasiancyrillic=1248;t.Dzecyrillic=1029;t.Dzhecyrillic=1039;t.E=69;t.Eacute=201;t.Eacutesmall=63465;t.Ebreve=276;t.Ecaron=282;t.Ecedillabreve=
7708;t.Echarmenian=1333;t.Ecircle=9402;t.Ecircumflex=202;t.Ecircumflexacute=7870;t.Ecircumflexbelow=7704;t.Ecircumflexdotbelow=7878;t.Ecircumflexgrave=7872;t.Ecircumflexhookabove=7874;t.Ecircumflexsmall=63466;t.Ecircumflextilde=7876;t.Ecyrillic=1028;t.Edblgrave=516;t.Edieresis=203;t.Edieresissmall=63467;t.Edot=278;t.Edotaccent=278;t.Edotbelow=7864;t.Efcyrillic=1060;t.Egrave=200;t.Egravesmall=63464;t.Eharmenian=1335;t.Ehookabove=7866;t.Eightroman=8551;t.Einvertedbreve=518;t.Eiotifiedcyrillic=1124;
t.Elcyrillic=1051;t.Elevenroman=8554;t.Emacron=274;t.Emacronacute=7702;t.Emacrongrave=7700;t.Emcyrillic=1052;t.Emonospace=65317;t.Encyrillic=1053;t.Endescendercyrillic=1186;t.Eng=330;t.Enghecyrillic=1188;t.Enhookcyrillic=1223;t.Eogonek=280;t.Eopen=400;t.Epsilon=917;t.Epsilontonos=904;t.Ercyrillic=1056;t.Ereversed=398;t.Ereversedcyrillic=1069;t.Escyrillic=1057;t.Esdescendercyrillic=1194;t.Esh=425;t.Esmall=63333;t.Eta=919;t.Etarmenian=1336;t.Etatonos=905;t.Eth=208;t.Ethsmall=63472;t.Etilde=7868;t.Etildebelow=
7706;t.Euro=8364;t.Ezh=439;t.Ezhcaron=494;t.Ezhreversed=440;t.F=70;t.Fcircle=9403;t.Fdotaccent=7710;t.Feharmenian=1366;t.Feicoptic=996;t.Fhook=401;t.Fitacyrillic=1138;t.Fiveroman=8548;t.Fmonospace=65318;t.Fourroman=8547;t.Fsmall=63334;t.G=71;t.GBsquare=13191;t.Gacute=500;t.Gamma=915;t.Gammaafrican=404;t.Gangiacoptic=1002;t.Gbreve=286;t.Gcaron=486;t.Gcedilla=290;t.Gcircle=9404;t.Gcircumflex=284;t.Gcommaaccent=290;t.Gdot=288;t.Gdotaccent=288;t.Gecyrillic=1043;t.Ghadarmenian=1346;t.Ghemiddlehookcyrillic=
1172;t.Ghestrokecyrillic=1170;t.Gheupturncyrillic=1168;t.Ghook=403;t.Gimarmenian=1331;t.Gjecyrillic=1027;t.Gmacron=7712;t.Gmonospace=65319;t.Grave=63182;t.Gravesmall=63328;t.Gsmall=63335;t.Gsmallhook=667;t.Gstroke=484;t.H=72;t.H18533=9679;t.H18543=9642;t.H18551=9643;t.H22073=9633;t.HPsquare=13259;t.Haabkhasiancyrillic=1192;t.Hadescendercyrillic=1202;t.Hardsigncyrillic=1066;t.Hbar=294;t.Hbrevebelow=7722;t.Hcedilla=7720;t.Hcircle=9405;t.Hcircumflex=292;t.Hdieresis=7718;t.Hdotaccent=7714;t.Hdotbelow=
7716;t.Hmonospace=65320;t.Hoarmenian=1344;t.Horicoptic=1E3;t.Hsmall=63336;t.Hungarumlaut=63183;t.Hungarumlautsmall=63224;t.Hzsquare=13200;t.I=73;t.IAcyrillic=1071;t.IJ=306;t.IUcyrillic=1070;t.Iacute=205;t.Iacutesmall=63469;t.Ibreve=300;t.Icaron=463;t.Icircle=9406;t.Icircumflex=206;t.Icircumflexsmall=63470;t.Icyrillic=1030;t.Idblgrave=520;t.Idieresis=207;t.Idieresisacute=7726;t.Idieresiscyrillic=1252;t.Idieresissmall=63471;t.Idot=304;t.Idotaccent=304;t.Idotbelow=7882;t.Iebrevecyrillic=1238;t.Iecyrillic=
1045;t.Ifraktur=8465;t.Igrave=204;t.Igravesmall=63468;t.Ihookabove=7880;t.Iicyrillic=1048;t.Iinvertedbreve=522;t.Iishortcyrillic=1049;t.Imacron=298;t.Imacroncyrillic=1250;t.Imonospace=65321;t.Iniarmenian=1339;t.Iocyrillic=1025;t.Iogonek=302;t.Iota=921;t.Iotaafrican=406;t.Iotadieresis=938;t.Iotatonos=906;t.Ismall=63337;t.Istroke=407;t.Itilde=296;t.Itildebelow=7724;t.Izhitsacyrillic=1140;t.Izhitsadblgravecyrillic=1142;t.J=74;t.Jaarmenian=1345;t.Jcircle=9407;t.Jcircumflex=308;t.Jecyrillic=1032;t.Jheharmenian=
1355;t.Jmonospace=65322;t.Jsmall=63338;t.K=75;t.KBsquare=13189;t.KKsquare=13261;t.Kabashkircyrillic=1184;t.Kacute=7728;t.Kacyrillic=1050;t.Kadescendercyrillic=1178;t.Kahookcyrillic=1219;t.Kappa=922;t.Kastrokecyrillic=1182;t.Kaverticalstrokecyrillic=1180;t.Kcaron=488;t.Kcedilla=310;t.Kcircle=9408;t.Kcommaaccent=310;t.Kdotbelow=7730;t.Keharmenian=1364;t.Kenarmenian=1343;t.Khacyrillic=1061;t.Kheicoptic=998;t.Khook=408;t.Kjecyrillic=1036;t.Klinebelow=7732;t.Kmonospace=65323;t.Koppacyrillic=1152;t.Koppagreek=
990;t.Ksicyrillic=1134;t.Ksmall=63339;t.L=76;t.LJ=455;t.LL=63167;t.Lacute=313;t.Lambda=923;t.Lcaron=317;t.Lcedilla=315;t.Lcircle=9409;t.Lcircumflexbelow=7740;t.Lcommaaccent=315;t.Ldot=319;t.Ldotaccent=319;t.Ldotbelow=7734;t.Ldotbelowmacron=7736;t.Liwnarmenian=1340;t.Lj=456;t.Ljecyrillic=1033;t.Llinebelow=7738;t.Lmonospace=65324;t.Lslash=321;t.Lslashsmall=63225;t.Lsmall=63340;t.M=77;t.MBsquare=13190;t.Macron=63184;t.Macronsmall=63407;t.Macute=7742;t.Mcircle=9410;t.Mdotaccent=7744;t.Mdotbelow=7746;
t.Menarmenian=1348;t.Mmonospace=65325;t.Msmall=63341;t.Mturned=412;t.Mu=924;t.N=78;t.NJ=458;t.Nacute=323;t.Ncaron=327;t.Ncedilla=325;t.Ncircle=9411;t.Ncircumflexbelow=7754;t.Ncommaaccent=325;t.Ndotaccent=7748;t.Ndotbelow=7750;t.Nhookleft=413;t.Nineroman=8552;t.Nj=459;t.Njecyrillic=1034;t.Nlinebelow=7752;t.Nmonospace=65326;t.Nowarmenian=1350;t.Nsmall=63342;t.Ntilde=209;t.Ntildesmall=63473;t.Nu=925;t.O=79;t.OE=338;t.OEsmall=63226;t.Oacute=211;t.Oacutesmall=63475;t.Obarredcyrillic=1256;t.Obarreddieresiscyrillic=
1258;t.Obreve=334;t.Ocaron=465;t.Ocenteredtilde=415;t.Ocircle=9412;t.Ocircumflex=212;t.Ocircumflexacute=7888;t.Ocircumflexdotbelow=7896;t.Ocircumflexgrave=7890;t.Ocircumflexhookabove=7892;t.Ocircumflexsmall=63476;t.Ocircumflextilde=7894;t.Ocyrillic=1054;t.Odblacute=336;t.Odblgrave=524;t.Odieresis=214;t.Odieresiscyrillic=1254;t.Odieresissmall=63478;t.Odotbelow=7884;t.Ogoneksmall=63227;t.Ograve=210;t.Ogravesmall=63474;t.Oharmenian=1365;t.Ohm=8486;t.Ohookabove=7886;t.Ohorn=416;t.Ohornacute=7898;t.Ohorndotbelow=
7906;t.Ohorngrave=7900;t.Ohornhookabove=7902;t.Ohorntilde=7904;t.Ohungarumlaut=336;t.Oi=418;t.Oinvertedbreve=526;t.Omacron=332;t.Omacronacute=7762;t.Omacrongrave=7760;t.Omega=8486;t.Omegacyrillic=1120;t.Omegagreek=937;t.Omegaroundcyrillic=1146;t.Omegatitlocyrillic=1148;t.Omegatonos=911;t.Omicron=927;t.Omicrontonos=908;t.Omonospace=65327;t.Oneroman=8544;t.Oogonek=490;t.Oogonekmacron=492;t.Oopen=390;t.Oslash=216;t.Oslashacute=510;t.Oslashsmall=63480;t.Osmall=63343;t.Ostrokeacute=510;t.Otcyrillic=1150;
t.Otilde=213;t.Otildeacute=7756;t.Otildedieresis=7758;t.Otildesmall=63477;t.P=80;t.Pacute=7764;t.Pcircle=9413;t.Pdotaccent=7766;t.Pecyrillic=1055;t.Peharmenian=1354;t.Pemiddlehookcyrillic=1190;t.Phi=934;t.Phook=420;t.Pi=928;t.Piwrarmenian=1363;t.Pmonospace=65328;t.Psi=936;t.Psicyrillic=1136;t.Psmall=63344;t.Q=81;t.Qcircle=9414;t.Qmonospace=65329;t.Qsmall=63345;t.R=82;t.Raarmenian=1356;t.Racute=340;t.Rcaron=344;t.Rcedilla=342;t.Rcircle=9415;t.Rcommaaccent=342;t.Rdblgrave=528;t.Rdotaccent=7768;t.Rdotbelow=
7770;t.Rdotbelowmacron=7772;t.Reharmenian=1360;t.Rfraktur=8476;t.Rho=929;t.Ringsmall=63228;t.Rinvertedbreve=530;t.Rlinebelow=7774;t.Rmonospace=65330;t.Rsmall=63346;t.Rsmallinverted=641;t.Rsmallinvertedsuperior=694;t.S=83;t.SF010000=9484;t.SF020000=9492;t.SF030000=9488;t.SF040000=9496;t.SF050000=9532;t.SF060000=9516;t.SF070000=9524;t.SF080000=9500;t.SF090000=9508;t.SF100000=9472;t.SF110000=9474;t.SF190000=9569;t.SF200000=9570;t.SF210000=9558;t.SF220000=9557;t.SF230000=9571;t.SF240000=9553;t.SF250000=
9559;t.SF260000=9565;t.SF270000=9564;t.SF280000=9563;t.SF360000=9566;t.SF370000=9567;t.SF380000=9562;t.SF390000=9556;t.SF400000=9577;t.SF410000=9574;t.SF420000=9568;t.SF430000=9552;t.SF440000=9580;t.SF450000=9575;t.SF460000=9576;t.SF470000=9572;t.SF480000=9573;t.SF490000=9561;t.SF500000=9560;t.SF510000=9554;t.SF520000=9555;t.SF530000=9579;t.SF540000=9578;t.Sacute=346;t.Sacutedotaccent=7780;t.Sampigreek=992;t.Scaron=352;t.Scarondotaccent=7782;t.Scaronsmall=63229;t.Scedilla=350;t.Schwa=399;t.Schwacyrillic=
1240;t.Schwadieresiscyrillic=1242;t.Scircle=9416;t.Scircumflex=348;t.Scommaaccent=536;t.Sdotaccent=7776;t.Sdotbelow=7778;t.Sdotbelowdotaccent=7784;t.Seharmenian=1357;t.Sevenroman=8550;t.Shaarmenian=1351;t.Shacyrillic=1064;t.Shchacyrillic=1065;t.Sheicoptic=994;t.Shhacyrillic=1210;t.Shimacoptic=1004;t.Sigma=931;t.Sixroman=8549;t.Smonospace=65331;t.Softsigncyrillic=1068;t.Ssmall=63347;t.Stigmagreek=986;t.T=84;t.Tau=932;t.Tbar=358;t.Tcaron=356;t.Tcedilla=354;t.Tcircle=9417;t.Tcircumflexbelow=7792;t.Tcommaaccent=
354;t.Tdotaccent=7786;t.Tdotbelow=7788;t.Tecyrillic=1058;t.Tedescendercyrillic=1196;t.Tenroman=8553;t.Tetsecyrillic=1204;t.Theta=920;t.Thook=428;t.Thorn=222;t.Thornsmall=63486;t.Threeroman=8546;t.Tildesmall=63230;t.Tiwnarmenian=1359;t.Tlinebelow=7790;t.Tmonospace=65332;t.Toarmenian=1337;t.Tonefive=444;t.Tonesix=388;t.Tonetwo=423;t.Tretroflexhook=430;t.Tsecyrillic=1062;t.Tshecyrillic=1035;t.Tsmall=63348;t.Twelveroman=8555;t.Tworoman=8545;t.U=85;t.Uacute=218;t.Uacutesmall=63482;t.Ubreve=364;t.Ucaron=
467;t.Ucircle=9418;t.Ucircumflex=219;t.Ucircumflexbelow=7798;t.Ucircumflexsmall=63483;t.Ucyrillic=1059;t.Udblacute=368;t.Udblgrave=532;t.Udieresis=220;t.Udieresisacute=471;t.Udieresisbelow=7794;t.Udieresiscaron=473;t.Udieresiscyrillic=1264;t.Udieresisgrave=475;t.Udieresismacron=469;t.Udieresissmall=63484;t.Udotbelow=7908;t.Ugrave=217;t.Ugravesmall=63481;t.Uhookabove=7910;t.Uhorn=431;t.Uhornacute=7912;t.Uhorndotbelow=7920;t.Uhorngrave=7914;t.Uhornhookabove=7916;t.Uhorntilde=7918;t.Uhungarumlaut=368;
t.Uhungarumlautcyrillic=1266;t.Uinvertedbreve=534;t.Ukcyrillic=1144;t.Umacron=362;t.Umacroncyrillic=1262;t.Umacrondieresis=7802;t.Umonospace=65333;t.Uogonek=370;t.Upsilon=933;t.Upsilon1=978;t.Upsilonacutehooksymbolgreek=979;t.Upsilonafrican=433;t.Upsilondieresis=939;t.Upsilondieresishooksymbolgreek=980;t.Upsilonhooksymbol=978;t.Upsilontonos=910;t.Uring=366;t.Ushortcyrillic=1038;t.Usmall=63349;t.Ustraightcyrillic=1198;t.Ustraightstrokecyrillic=1200;t.Utilde=360;t.Utildeacute=7800;t.Utildebelow=7796;
t.V=86;t.Vcircle=9419;t.Vdotbelow=7806;t.Vecyrillic=1042;t.Vewarmenian=1358;t.Vhook=434;t.Vmonospace=65334;t.Voarmenian=1352;t.Vsmall=63350;t.Vtilde=7804;t.W=87;t.Wacute=7810;t.Wcircle=9420;t.Wcircumflex=372;t.Wdieresis=7812;t.Wdotaccent=7814;t.Wdotbelow=7816;t.Wgrave=7808;t.Wmonospace=65335;t.Wsmall=63351;t.X=88;t.Xcircle=9421;t.Xdieresis=7820;t.Xdotaccent=7818;t.Xeharmenian=1341;t.Xi=926;t.Xmonospace=65336;t.Xsmall=63352;t.Y=89;t.Yacute=221;t.Yacutesmall=63485;t.Yatcyrillic=1122;t.Ycircle=9422;
t.Ycircumflex=374;t.Ydieresis=376;t.Ydieresissmall=63487;t.Ydotaccent=7822;t.Ydotbelow=7924;t.Yericyrillic=1067;t.Yerudieresiscyrillic=1272;t.Ygrave=7922;t.Yhook=435;t.Yhookabove=7926;t.Yiarmenian=1349;t.Yicyrillic=1031;t.Yiwnarmenian=1362;t.Ymonospace=65337;t.Ysmall=63353;t.Ytilde=7928;t.Yusbigcyrillic=1130;t.Yusbigiotifiedcyrillic=1132;t.Yuslittlecyrillic=1126;t.Yuslittleiotifiedcyrillic=1128;t.Z=90;t.Zaarmenian=1334;t.Zacute=377;t.Zcaron=381;t.Zcaronsmall=63231;t.Zcircle=9423;t.Zcircumflex=7824;
t.Zdot=379;t.Zdotaccent=379;t.Zdotbelow=7826;t.Zecyrillic=1047;t.Zedescendercyrillic=1176;t.Zedieresiscyrillic=1246;t.Zeta=918;t.Zhearmenian=1338;t.Zhebrevecyrillic=1217;t.Zhecyrillic=1046;t.Zhedescendercyrillic=1174;t.Zhedieresiscyrillic=1244;t.Zlinebelow=7828;t.Zmonospace=65338;t.Zsmall=63354;t.Zstroke=437;t.a=97;t.aabengali=2438;t.aacute=225;t.aadeva=2310;t.aagujarati=2694;t.aagurmukhi=2566;t.aamatragurmukhi=2622;t.aarusquare=13059;t.aavowelsignbengali=2494;t.aavowelsigndeva=2366;t.aavowelsigngujarati=
2750;t.abbreviationmarkarmenian=1375;t.abbreviationsigndeva=2416;t.abengali=2437;t.abopomofo=12570;t.abreve=259;t.abreveacute=7855;t.abrevecyrillic=1233;t.abrevedotbelow=7863;t.abrevegrave=7857;t.abrevehookabove=7859;t.abrevetilde=7861;t.acaron=462;t.acircle=9424;t.acircumflex=226;t.acircumflexacute=7845;t.acircumflexdotbelow=7853;t.acircumflexgrave=7847;t.acircumflexhookabove=7849;t.acircumflextilde=7851;t.acute=180;t.acutebelowcmb=791;t.acutecmb=769;t.acutecomb=769;t.acutedeva=2388;t.acutelowmod=
719;t.acutetonecmb=833;t.acyrillic=1072;t.adblgrave=513;t.addakgurmukhi=2673;t.adeva=2309;t.adieresis=228;t.adieresiscyrillic=1235;t.adieresismacron=479;t.adotbelow=7841;t.adotmacron=481;t.ae=230;t.aeacute=509;t.aekorean=12624;t.aemacron=483;t.afii00208=8213;t.afii08941=8356;t.afii10017=1040;t.afii10018=1041;t.afii10019=1042;t.afii10020=1043;t.afii10021=1044;t.afii10022=1045;t.afii10023=1025;t.afii10024=1046;t.afii10025=1047;t.afii10026=1048;t.afii10027=1049;t.afii10028=1050;t.afii10029=1051;t.afii10030=
1052;t.afii10031=1053;t.afii10032=1054;t.afii10033=1055;t.afii10034=1056;t.afii10035=1057;t.afii10036=1058;t.afii10037=1059;t.afii10038=1060;t.afii10039=1061;t.afii10040=1062;t.afii10041=1063;t.afii10042=1064;t.afii10043=1065;t.afii10044=1066;t.afii10045=1067;t.afii10046=1068;t.afii10047=1069;t.afii10048=1070;t.afii10049=1071;t.afii10050=1168;t.afii10051=1026;t.afii10052=1027;t.afii10053=1028;t.afii10054=1029;t.afii10055=1030;t.afii10056=1031;t.afii10057=1032;t.afii10058=1033;t.afii10059=1034;t.afii10060=
1035;t.afii10061=1036;t.afii10062=1038;t.afii10063=63172;t.afii10064=63173;t.afii10065=1072;t.afii10066=1073;t.afii10067=1074;t.afii10068=1075;t.afii10069=1076;t.afii10070=1077;t.afii10071=1105;t.afii10072=1078;t.afii10073=1079;t.afii10074=1080;t.afii10075=1081;t.afii10076=1082;t.afii10077=1083;t.afii10078=1084;t.afii10079=1085;t.afii10080=1086;t.afii10081=1087;t.afii10082=1088;t.afii10083=1089;t.afii10084=1090;t.afii10085=1091;t.afii10086=1092;t.afii10087=1093;t.afii10088=1094;t.afii10089=1095;t.afii10090=
1096;t.afii10091=1097;t.afii10092=1098;t.afii10093=1099;t.afii10094=1100;t.afii10095=1101;t.afii10096=1102;t.afii10097=1103;t.afii10098=1169;t.afii10099=1106;t.afii10100=1107;t.afii10101=1108;t.afii10102=1109;t.afii10103=1110;t.afii10104=1111;t.afii10105=1112;t.afii10106=1113;t.afii10107=1114;t.afii10108=1115;t.afii10109=1116;t.afii10110=1118;t.afii10145=1039;t.afii10146=1122;t.afii10147=1138;t.afii10148=1140;t.afii10192=63174;t.afii10193=1119;t.afii10194=1123;t.afii10195=1139;t.afii10196=1141;t.afii10831=
63175;t.afii10832=63176;t.afii10846=1241;t.afii299=8206;t.afii300=8207;t.afii301=8205;t.afii57381=1642;t.afii57388=1548;t.afii57392=1632;t.afii57393=1633;t.afii57394=1634;t.afii57395=1635;t.afii57396=1636;t.afii57397=1637;t.afii57398=1638;t.afii57399=1639;t.afii57400=1640;t.afii57401=1641;t.afii57403=1563;t.afii57407=1567;t.afii57409=1569;t.afii57410=1570;t.afii57411=1571;t.afii57412=1572;t.afii57413=1573;t.afii57414=1574;t.afii57415=1575;t.afii57416=1576;t.afii57417=1577;t.afii57418=1578;t.afii57419=
1579;t.afii57420=1580;t.afii57421=1581;t.afii57422=1582;t.afii57423=1583;t.afii57424=1584;t.afii57425=1585;t.afii57426=1586;t.afii57427=1587;t.afii57428=1588;t.afii57429=1589;t.afii57430=1590;t.afii57431=1591;t.afii57432=1592;t.afii57433=1593;t.afii57434=1594;t.afii57440=1600;t.afii57441=1601;t.afii57442=1602;t.afii57443=1603;t.afii57444=1604;t.afii57445=1605;t.afii57446=1606;t.afii57448=1608;t.afii57449=1609;t.afii57450=1610;t.afii57451=1611;t.afii57452=1612;t.afii57453=1613;t.afii57454=1614;t.afii57455=
1615;t.afii57456=1616;t.afii57457=1617;t.afii57458=1618;t.afii57470=1607;t.afii57505=1700;t.afii57506=1662;t.afii57507=1670;t.afii57508=1688;t.afii57509=1711;t.afii57511=1657;t.afii57512=1672;t.afii57513=1681;t.afii57514=1722;t.afii57519=1746;t.afii57534=1749;t.afii57636=8362;t.afii57645=1470;t.afii57658=1475;t.afii57664=1488;t.afii57665=1489;t.afii57666=1490;t.afii57667=1491;t.afii57668=1492;t.afii57669=1493;t.afii57670=1494;t.afii57671=1495;t.afii57672=1496;t.afii57673=1497;t.afii57674=1498;t.afii57675=
1499;t.afii57676=1500;t.afii57677=1501;t.afii57678=1502;t.afii57679=1503;t.afii57680=1504;t.afii57681=1505;t.afii57682=1506;t.afii57683=1507;t.afii57684=1508;t.afii57685=1509;t.afii57686=1510;t.afii57687=1511;t.afii57688=1512;t.afii57689=1513;t.afii57690=1514;t.afii57694=64298;t.afii57695=64299;t.afii57700=64331;t.afii57705=64287;t.afii57716=1520;t.afii57717=1521;t.afii57718=1522;t.afii57723=64309;t.afii57793=1460;t.afii57794=1461;t.afii57795=1462;t.afii57796=1467;t.afii57797=1464;t.afii57798=1463;
t.afii57799=1456;t.afii57800=1458;t.afii57801=1457;t.afii57802=1459;t.afii57803=1474;t.afii57804=1473;t.afii57806=1465;t.afii57807=1468;t.afii57839=1469;t.afii57841=1471;t.afii57842=1472;t.afii57929=700;t.afii61248=8453;t.afii61289=8467;t.afii61352=8470;t.afii61573=8236;t.afii61574=8237;t.afii61575=8238;t.afii61664=8204;t.afii63167=1645;t.afii64937=701;t.agrave=224;t.agujarati=2693;t.agurmukhi=2565;t.ahiragana=12354;t.ahookabove=7843;t.aibengali=2448;t.aibopomofo=12574;t.aideva=2320;t.aiecyrillic=
1237;t.aigujarati=2704;t.aigurmukhi=2576;t.aimatragurmukhi=2632;t.ainarabic=1593;t.ainfinalarabic=65226;t.aininitialarabic=65227;t.ainmedialarabic=65228;t.ainvertedbreve=515;t.aivowelsignbengali=2504;t.aivowelsigndeva=2376;t.aivowelsigngujarati=2760;t.akatakana=12450;t.akatakanahalfwidth=65393;t.akorean=12623;t.alef=1488;t.alefarabic=1575;t.alefdageshhebrew=64304;t.aleffinalarabic=65166;t.alefhamzaabovearabic=1571;t.alefhamzaabovefinalarabic=65156;t.alefhamzabelowarabic=1573;t.alefhamzabelowfinalarabic=
65160;t.alefhebrew=1488;t.aleflamedhebrew=64335;t.alefmaddaabovearabic=1570;t.alefmaddaabovefinalarabic=65154;t.alefmaksuraarabic=1609;t.alefmaksurafinalarabic=65264;t.alefmaksurainitialarabic=65267;t.alefmaksuramedialarabic=65268;t.alefpatahhebrew=64302;t.alefqamatshebrew=64303;t.aleph=8501;t.allequal=8780;t.alpha=945;t.alphatonos=940;t.amacron=257;t.amonospace=65345;t.ampersand=38;t.ampersandmonospace=65286;t.ampersandsmall=63270;t.amsquare=13250;t.anbopomofo=12578;t.angbopomofo=12580;t.angbracketleft=
12296;t.angbracketright=12297;t.angkhankhuthai=3674;t.angle=8736;t.anglebracketleft=12296;t.anglebracketleftvertical=65087;t.anglebracketright=12297;t.anglebracketrightvertical=65088;t.angleleft=9001;t.angleright=9002;t.angstrom=8491;t.anoteleia=903;t.anudattadeva=2386;t.anusvarabengali=2434;t.anusvaradeva=2306;t.anusvaragujarati=2690;t.aogonek=261;t.apaatosquare=13056;t.aparen=9372;t.apostrophearmenian=1370;t.apostrophemod=700;t.apple=63743;t.approaches=8784;t.approxequal=8776;t.approxequalorimage=
8786;t.approximatelyequal=8773;t.araeaekorean=12686;t.araeakorean=12685;t.arc=8978;t.arighthalfring=7834;t.aring=229;t.aringacute=507;t.aringbelow=7681;t.arrowboth=8596;t.arrowdashdown=8675;t.arrowdashleft=8672;t.arrowdashright=8674;t.arrowdashup=8673;t.arrowdblboth=8660;t.arrowdbldown=8659;t.arrowdblleft=8656;t.arrowdblright=8658;t.arrowdblup=8657;t.arrowdown=8595;t.arrowdownleft=8601;t.arrowdownright=8600;t.arrowdownwhite=8681;t.arrowheaddownmod=709;t.arrowheadleftmod=706;t.arrowheadrightmod=707;
t.arrowheadupmod=708;t.arrowhorizex=63719;t.arrowleft=8592;t.arrowleftdbl=8656;t.arrowleftdblstroke=8653;t.arrowleftoverright=8646;t.arrowleftwhite=8678;t.arrowright=8594;t.arrowrightdblstroke=8655;t.arrowrightheavy=10142;t.arrowrightoverleft=8644;t.arrowrightwhite=8680;t.arrowtableft=8676;t.arrowtabright=8677;t.arrowup=8593;t.arrowupdn=8597;t.arrowupdnbse=8616;t.arrowupdownbase=8616;t.arrowupleft=8598;t.arrowupleftofdown=8645;t.arrowupright=8599;t.arrowupwhite=8679;t.arrowvertex=63718;t.asciicircum=
94;t.asciicircummonospace=65342;t.asciitilde=126;t.asciitildemonospace=65374;t.ascript=593;t.ascriptturned=594;t.asmallhiragana=12353;t.asmallkatakana=12449;t.asmallkatakanahalfwidth=65383;t.asterisk=42;t.asteriskaltonearabic=1645;t.asteriskarabic=1645;t.asteriskmath=8727;t.asteriskmonospace=65290;t.asterisksmall=65121;t.asterism=8258;t.asuperior=63209;t.asymptoticallyequal=8771;t.at=64;t.atilde=227;t.atmonospace=65312;t.atsmall=65131;t.aturned=592;t.aubengali=2452;t.aubopomofo=12576;t.audeva=2324;
t.augujarati=2708;t.augurmukhi=2580;t.aulengthmarkbengali=2519;t.aumatragurmukhi=2636;t.auvowelsignbengali=2508;t.auvowelsigndeva=2380;t.auvowelsigngujarati=2764;t.avagrahadeva=2365;t.aybarmenian=1377;t.ayin=1506;t.ayinaltonehebrew=64288;t.ayinhebrew=1506;t.b=98;t.babengali=2476;t.backslash=92;t.backslashmonospace=65340;t.badeva=2348;t.bagujarati=2732;t.bagurmukhi=2604;t.bahiragana=12400;t.bahtthai=3647;t.bakatakana=12496;t.bar=124;t.barmonospace=65372;t.bbopomofo=12549;t.bcircle=9425;t.bdotaccent=
7683;t.bdotbelow=7685;t.beamedsixteenthnotes=9836;t.because=8757;t.becyrillic=1073;t.beharabic=1576;t.behfinalarabic=65168;t.behinitialarabic=65169;t.behiragana=12409;t.behmedialarabic=65170;t.behmeeminitialarabic=64671;t.behmeemisolatedarabic=64520;t.behnoonfinalarabic=64621;t.bekatakana=12505;t.benarmenian=1378;t.bet=1489;t.beta=946;t.betasymbolgreek=976;t.betdagesh=64305;t.betdageshhebrew=64305;t.bethebrew=1489;t.betrafehebrew=64332;t.bhabengali=2477;t.bhadeva=2349;t.bhagujarati=2733;t.bhagurmukhi=
2605;t.bhook=595;t.bihiragana=12403;t.bikatakana=12499;t.bilabialclick=664;t.bindigurmukhi=2562;t.birusquare=13105;t.blackcircle=9679;t.blackdiamond=9670;t.blackdownpointingtriangle=9660;t.blackleftpointingpointer=9668;t.blackleftpointingtriangle=9664;t.blacklenticularbracketleft=12304;t.blacklenticularbracketleftvertical=65083;t.blacklenticularbracketright=12305;t.blacklenticularbracketrightvertical=65084;t.blacklowerlefttriangle=9699;t.blacklowerrighttriangle=9698;t.blackrectangle=9644;t.blackrightpointingpointer=
9658;t.blackrightpointingtriangle=9654;t.blacksmallsquare=9642;t.blacksmilingface=9787;t.blacksquare=9632;t.blackstar=9733;t.blackupperlefttriangle=9700;t.blackupperrighttriangle=9701;t.blackuppointingsmalltriangle=9652;t.blackuppointingtriangle=9650;t.blank=9251;t.blinebelow=7687;t.block=9608;t.bmonospace=65346;t.bobaimaithai=3610;t.bohiragana=12412;t.bokatakana=12508;t.bparen=9373;t.bqsquare=13251;t.braceex=63732;t.braceleft=123;t.braceleftbt=63731;t.braceleftmid=63730;t.braceleftmonospace=65371;
t.braceleftsmall=65115;t.bracelefttp=63729;t.braceleftvertical=65079;t.braceright=125;t.bracerightbt=63742;t.bracerightmid=63741;t.bracerightmonospace=65373;t.bracerightsmall=65116;t.bracerighttp=63740;t.bracerightvertical=65080;t.bracketleft=91;t.bracketleftbt=63728;t.bracketleftex=63727;t.bracketleftmonospace=65339;t.bracketlefttp=63726;t.bracketright=93;t.bracketrightbt=63739;t.bracketrightex=63738;t.bracketrightmonospace=65341;t.bracketrighttp=63737;t.breve=728;t.brevebelowcmb=814;t.brevecmb=
774;t.breveinvertedbelowcmb=815;t.breveinvertedcmb=785;t.breveinverteddoublecmb=865;t.bridgebelowcmb=810;t.bridgeinvertedbelowcmb=826;t.brokenbar=166;t.bstroke=384;t.bsuperior=63210;t.btopbar=387;t.buhiragana=12406;t.bukatakana=12502;t.bullet=8226;t.bulletinverse=9688;t.bulletoperator=8729;t.bullseye=9678;t.c=99;t.caarmenian=1390;t.cabengali=2458;t.cacute=263;t.cadeva=2330;t.cagujarati=2714;t.cagurmukhi=2586;t.calsquare=13192;t.candrabindubengali=2433;t.candrabinducmb=784;t.candrabindudeva=2305;t.candrabindugujarati=
2689;t.capslock=8682;t.careof=8453;t.caron=711;t.caronbelowcmb=812;t.caroncmb=780;t.carriagereturn=8629;t.cbopomofo=12568;t.ccaron=269;t.ccedilla=231;t.ccedillaacute=7689;t.ccircle=9426;t.ccircumflex=265;t.ccurl=597;t.cdot=267;t.cdotaccent=267;t.cdsquare=13253;t.cedilla=184;t.cedillacmb=807;t.cent=162;t.centigrade=8451;t.centinferior=63199;t.centmonospace=65504;t.centoldstyle=63394;t.centsuperior=63200;t.chaarmenian=1401;t.chabengali=2459;t.chadeva=2331;t.chagujarati=2715;t.chagurmukhi=2587;t.chbopomofo=
12564;t.cheabkhasiancyrillic=1213;t.checkmark=10003;t.checyrillic=1095;t.chedescenderabkhasiancyrillic=1215;t.chedescendercyrillic=1207;t.chedieresiscyrillic=1269;t.cheharmenian=1395;t.chekhakassiancyrillic=1228;t.cheverticalstrokecyrillic=1209;t.chi=967;t.chieuchacirclekorean=12919;t.chieuchaparenkorean=12823;t.chieuchcirclekorean=12905;t.chieuchkorean=12618;t.chieuchparenkorean=12809;t.chochangthai=3594;t.chochanthai=3592;t.chochingthai=3593;t.chochoethai=3596;t.chook=392;t.cieucacirclekorean=12918;
t.cieucaparenkorean=12822;t.cieuccirclekorean=12904;t.cieuckorean=12616;t.cieucparenkorean=12808;t.cieucuparenkorean=12828;t.circle=9675;t.circlecopyrt=169;t.circlemultiply=8855;t.circleot=8857;t.circleplus=8853;t.circlepostalmark=12342;t.circlewithlefthalfblack=9680;t.circlewithrighthalfblack=9681;t.circumflex=710;t.circumflexbelowcmb=813;t.circumflexcmb=770;t.clear=8999;t.clickalveolar=450;t.clickdental=448;t.clicklateral=449;t.clickretroflex=451;t.club=9827;t.clubsuitblack=9827;t.clubsuitwhite=
9831;t.cmcubedsquare=13220;t.cmonospace=65347;t.cmsquaredsquare=13216;t.coarmenian=1409;t.colon=58;t.colonmonetary=8353;t.colonmonospace=65306;t.colonsign=8353;t.colonsmall=65109;t.colontriangularhalfmod=721;t.colontriangularmod=720;t.comma=44;t.commaabovecmb=787;t.commaaboverightcmb=789;t.commaaccent=63171;t.commaarabic=1548;t.commaarmenian=1373;t.commainferior=63201;t.commamonospace=65292;t.commareversedabovecmb=788;t.commareversedmod=701;t.commasmall=65104;t.commasuperior=63202;t.commaturnedabovecmb=
786;t.commaturnedmod=699;t.compass=9788;t.congruent=8773;t.contourintegral=8750;t.control=8963;t.controlACK=6;t.controlBEL=7;t.controlBS=8;t.controlCAN=24;t.controlCR=13;t.controlDC1=17;t.controlDC2=18;t.controlDC3=19;t.controlDC4=20;t.controlDEL=127;t.controlDLE=16;t.controlEM=25;t.controlENQ=5;t.controlEOT=4;t.controlESC=27;t.controlETB=23;t.controlETX=3;t.controlFF=12;t.controlFS=28;t.controlGS=29;t.controlHT=9;t.controlLF=10;t.controlNAK=21;t.controlNULL=0;t.controlRS=30;t.controlSI=15;t.controlSO=
14;t.controlSOT=2;t.controlSTX=1;t.controlSUB=26;t.controlSYN=22;t.controlUS=31;t.controlVT=11;t.copyright=169;t.copyrightsans=63721;t.copyrightserif=63193;t.cornerbracketleft=12300;t.cornerbracketlefthalfwidth=65378;t.cornerbracketleftvertical=65089;t.cornerbracketright=12301;t.cornerbracketrighthalfwidth=65379;t.cornerbracketrightvertical=65090;t.corporationsquare=13183;t.cosquare=13255;t.coverkgsquare=13254;t.cparen=9374;t.cruzeiro=8354;t.cstretched=663;t.curlyand=8911;t.curlyor=8910;t.currency=
164;t.cyrBreve=63185;t.cyrFlex=63186;t.cyrbreve=63188;t.cyrflex=63189;t.d=100;t.daarmenian=1380;t.dabengali=2470;t.dadarabic=1590;t.dadeva=2342;t.dadfinalarabic=65214;t.dadinitialarabic=65215;t.dadmedialarabic=65216;t.dagesh=1468;t.dageshhebrew=1468;t.dagger=8224;t.daggerdbl=8225;t.dagujarati=2726;t.dagurmukhi=2598;t.dahiragana=12384;t.dakatakana=12480;t.dalarabic=1583;t.dalet=1491;t.daletdagesh=64307;t.daletdageshhebrew=64307;t.dalethebrew=1491;t.dalfinalarabic=65194;t.dammaarabic=1615;t.dammalowarabic=
1615;t.dammatanaltonearabic=1612;t.dammatanarabic=1612;t.danda=2404;t.dargahebrew=1447;t.dargalefthebrew=1447;t.dasiapneumatacyrilliccmb=1157;t.dblGrave=63187;t.dblanglebracketleft=12298;t.dblanglebracketleftvertical=65085;t.dblanglebracketright=12299;t.dblanglebracketrightvertical=65086;t.dblarchinvertedbelowcmb=811;t.dblarrowleft=8660;t.dblarrowright=8658;t.dbldanda=2405;t.dblgrave=63190;t.dblgravecmb=783;t.dblintegral=8748;t.dbllowline=8215;t.dbllowlinecmb=819;t.dbloverlinecmb=831;t.dblprimemod=
698;t.dblverticalbar=8214;t.dblverticallineabovecmb=782;t.dbopomofo=12553;t.dbsquare=13256;t.dcaron=271;t.dcedilla=7697;t.dcircle=9427;t.dcircumflexbelow=7699;t.dcroat=273;t.ddabengali=2465;t.ddadeva=2337;t.ddagujarati=2721;t.ddagurmukhi=2593;t.ddalarabic=1672;t.ddalfinalarabic=64393;t.dddhadeva=2396;t.ddhabengali=2466;t.ddhadeva=2338;t.ddhagujarati=2722;t.ddhagurmukhi=2594;t.ddotaccent=7691;t.ddotbelow=7693;t.decimalseparatorarabic=1643;t.decimalseparatorpersian=1643;t.decyrillic=1076;t.degree=176;
t.dehihebrew=1453;t.dehiragana=12391;t.deicoptic=1007;t.dekatakana=12487;t.deleteleft=9003;t.deleteright=8998;t.delta=948;t.deltaturned=397;t.denominatorminusonenumeratorbengali=2552;t.dezh=676;t.dhabengali=2471;t.dhadeva=2343;t.dhagujarati=2727;t.dhagurmukhi=2599;t.dhook=599;t.dialytikatonos=901;t.dialytikatonoscmb=836;t.diamond=9830;t.diamondsuitwhite=9826;t.dieresis=168;t.dieresisacute=63191;t.dieresisbelowcmb=804;t.dieresiscmb=776;t.dieresisgrave=63192;t.dieresistonos=901;t.dihiragana=12386;t.dikatakana=
12482;t.dittomark=12291;t.divide=247;t.divides=8739;t.divisionslash=8725;t.djecyrillic=1106;t.dkshade=9619;t.dlinebelow=7695;t.dlsquare=13207;t.dmacron=273;t.dmonospace=65348;t.dnblock=9604;t.dochadathai=3598;t.dodekthai=3604;t.dohiragana=12393;t.dokatakana=12489;t.dollar=36;t.dollarinferior=63203;t.dollarmonospace=65284;t.dollaroldstyle=63268;t.dollarsmall=65129;t.dollarsuperior=63204;t.dong=8363;t.dorusquare=13094;t.dotaccent=729;t.dotaccentcmb=775;t.dotbelowcmb=803;t.dotbelowcomb=803;t.dotkatakana=
12539;t.dotlessi=305;t.dotlessj=63166;t.dotlessjstrokehook=644;t.dotmath=8901;t.dottedcircle=9676;t.doubleyodpatah=64287;t.doubleyodpatahhebrew=64287;t.downtackbelowcmb=798;t.downtackmod=725;t.dparen=9375;t.dsuperior=63211;t.dtail=598;t.dtopbar=396;t.duhiragana=12389;t.dukatakana=12485;t.dz=499;t.dzaltone=675;t.dzcaron=454;t.dzcurl=677;t.dzeabkhasiancyrillic=1249;t.dzecyrillic=1109;t.dzhecyrillic=1119;t.e=101;t.eacute=233;t.earth=9793;t.ebengali=2447;t.ebopomofo=12572;t.ebreve=277;t.ecandradeva=2317;
t.ecandragujarati=2701;t.ecandravowelsigndeva=2373;t.ecandravowelsigngujarati=2757;t.ecaron=283;t.ecedillabreve=7709;t.echarmenian=1381;t.echyiwnarmenian=1415;t.ecircle=9428;t.ecircumflex=234;t.ecircumflexacute=7871;t.ecircumflexbelow=7705;t.ecircumflexdotbelow=7879;t.ecircumflexgrave=7873;t.ecircumflexhookabove=7875;t.ecircumflextilde=7877;t.ecyrillic=1108;t.edblgrave=517;t.edeva=2319;t.edieresis=235;t.edot=279;t.edotaccent=279;t.edotbelow=7865;t.eegurmukhi=2575;t.eematragurmukhi=2631;t.efcyrillic=
1092;t.egrave=232;t.egujarati=2703;t.eharmenian=1383;t.ehbopomofo=12573;t.ehiragana=12360;t.ehookabove=7867;t.eibopomofo=12575;t.eight=56;t.eightarabic=1640;t.eightbengali=2542;t.eightcircle=9319;t.eightcircleinversesansserif=10129;t.eightdeva=2414;t.eighteencircle=9329;t.eighteenparen=9349;t.eighteenperiod=9369;t.eightgujarati=2798;t.eightgurmukhi=2670;t.eighthackarabic=1640;t.eighthangzhou=12328;t.eighthnotebeamed=9835;t.eightideographicparen=12839;t.eightinferior=8328;t.eightmonospace=65304;t.eightoldstyle=
63288;t.eightparen=9339;t.eightperiod=9359;t.eightpersian=1784;t.eightroman=8567;t.eightsuperior=8312;t.eightthai=3672;t.einvertedbreve=519;t.eiotifiedcyrillic=1125;t.ekatakana=12456;t.ekatakanahalfwidth=65396;t.ekonkargurmukhi=2676;t.ekorean=12628;t.elcyrillic=1083;t.element=8712;t.elevencircle=9322;t.elevenparen=9342;t.elevenperiod=9362;t.elevenroman=8570;t.ellipsis=8230;t.ellipsisvertical=8942;t.emacron=275;t.emacronacute=7703;t.emacrongrave=7701;t.emcyrillic=1084;t.emdash=8212;t.emdashvertical=
65073;t.emonospace=65349;t.emphasismarkarmenian=1371;t.emptyset=8709;t.enbopomofo=12579;t.encyrillic=1085;t.endash=8211;t.endashvertical=65074;t.endescendercyrillic=1187;t.eng=331;t.engbopomofo=12581;t.enghecyrillic=1189;t.enhookcyrillic=1224;t.enspace=8194;t.eogonek=281;t.eokorean=12627;t.eopen=603;t.eopenclosed=666;t.eopenreversed=604;t.eopenreversedclosed=606;t.eopenreversedhook=605;t.eparen=9376;t.epsilon=949;t.epsilontonos=941;t.equal=61;t.equalmonospace=65309;t.equalsmall=65126;t.equalsuperior=
8316;t.equivalence=8801;t.erbopomofo=12582;t.ercyrillic=1088;t.ereversed=600;t.ereversedcyrillic=1101;t.escyrillic=1089;t.esdescendercyrillic=1195;t.esh=643;t.eshcurl=646;t.eshortdeva=2318;t.eshortvowelsigndeva=2374;t.eshreversedloop=426;t.eshsquatreversed=645;t.esmallhiragana=12359;t.esmallkatakana=12455;t.esmallkatakanahalfwidth=65386;t.estimated=8494;t.esuperior=63212;t.eta=951;t.etarmenian=1384;t.etatonos=942;t.eth=240;t.etilde=7869;t.etildebelow=7707;t.etnahtafoukhhebrew=1425;t.etnahtafoukhlefthebrew=
1425;t.etnahtahebrew=1425;t.etnahtalefthebrew=1425;t.eturned=477;t.eukorean=12641;t.euro=8364;t.evowelsignbengali=2503;t.evowelsigndeva=2375;t.evowelsigngujarati=2759;t.exclam=33;t.exclamarmenian=1372;t.exclamdbl=8252;t.exclamdown=161;t.exclamdownsmall=63393;t.exclammonospace=65281;t.exclamsmall=63265;t.existential=8707;t.ezh=658;t.ezhcaron=495;t.ezhcurl=659;t.ezhreversed=441;t.ezhtail=442;t.f=102;t.fadeva=2398;t.fagurmukhi=2654;t.fahrenheit=8457;t.fathaarabic=1614;t.fathalowarabic=1614;t.fathatanarabic=
1611;t.fbopomofo=12552;t.fcircle=9429;t.fdotaccent=7711;t.feharabic=1601;t.feharmenian=1414;t.fehfinalarabic=65234;t.fehinitialarabic=65235;t.fehmedialarabic=65236;t.feicoptic=997;t.female=9792;t.ff=64256;t.f_f=64256;t.ffi=64259;t.ffl=64260;t.fi=64257;t.fifteencircle=9326;t.fifteenparen=9346;t.fifteenperiod=9366;t.figuredash=8210;t.filledbox=9632;t.filledrect=9644;t.finalkaf=1498;t.finalkafdagesh=64314;t.finalkafdageshhebrew=64314;t.finalkafhebrew=1498;t.finalmem=1501;t.finalmemhebrew=1501;t.finalnun=
1503;t.finalnunhebrew=1503;t.finalpe=1507;t.finalpehebrew=1507;t.finaltsadi=1509;t.finaltsadihebrew=1509;t.firsttonechinese=713;t.fisheye=9673;t.fitacyrillic=1139;t.five=53;t.fivearabic=1637;t.fivebengali=2539;t.fivecircle=9316;t.fivecircleinversesansserif=10126;t.fivedeva=2411;t.fiveeighths=8541;t.fivegujarati=2795;t.fivegurmukhi=2667;t.fivehackarabic=1637;t.fivehangzhou=12325;t.fiveideographicparen=12836;t.fiveinferior=8325;t.fivemonospace=65301;t.fiveoldstyle=63285;t.fiveparen=9336;t.fiveperiod=
9356;t.fivepersian=1781;t.fiveroman=8564;t.fivesuperior=8309;t.fivethai=3669;t.fl=64258;t.florin=402;t.fmonospace=65350;t.fmsquare=13209;t.fofanthai=3615;t.fofathai=3613;t.fongmanthai=3663;t.forall=8704;t.four=52;t.fourarabic=1636;t.fourbengali=2538;t.fourcircle=9315;t.fourcircleinversesansserif=10125;t.fourdeva=2410;t.fourgujarati=2794;t.fourgurmukhi=2666;t.fourhackarabic=1636;t.fourhangzhou=12324;t.fourideographicparen=12835;t.fourinferior=8324;t.fourmonospace=65300;t.fournumeratorbengali=2551;
t.fouroldstyle=63284;t.fourparen=9335;t.fourperiod=9355;t.fourpersian=1780;t.fourroman=8563;t.foursuperior=8308;t.fourteencircle=9325;t.fourteenparen=9345;t.fourteenperiod=9365;t.fourthai=3668;t.fourthtonechinese=715;t.fparen=9377;t.fraction=8260;t.franc=8355;t.g=103;t.gabengali=2455;t.gacute=501;t.gadeva=2327;t.gafarabic=1711;t.gaffinalarabic=64403;t.gafinitialarabic=64404;t.gafmedialarabic=64405;t.gagujarati=2711;t.gagurmukhi=2583;t.gahiragana=12364;t.gakatakana=12460;t.gamma=947;t.gammalatinsmall=
611;t.gammasuperior=736;t.gangiacoptic=1003;t.gbopomofo=12557;t.gbreve=287;t.gcaron=487;t.gcedilla=291;t.gcircle=9430;t.gcircumflex=285;t.gcommaaccent=291;t.gdot=289;t.gdotaccent=289;t.gecyrillic=1075;t.gehiragana=12370;t.gekatakana=12466;t.geometricallyequal=8785;t.gereshaccenthebrew=1436;t.gereshhebrew=1523;t.gereshmuqdamhebrew=1437;t.germandbls=223;t.gershayimaccenthebrew=1438;t.gershayimhebrew=1524;t.getamark=12307;t.ghabengali=2456;t.ghadarmenian=1394;t.ghadeva=2328;t.ghagujarati=2712;t.ghagurmukhi=
2584;t.ghainarabic=1594;t.ghainfinalarabic=65230;t.ghaininitialarabic=65231;t.ghainmedialarabic=65232;t.ghemiddlehookcyrillic=1173;t.ghestrokecyrillic=1171;t.gheupturncyrillic=1169;t.ghhadeva=2394;t.ghhagurmukhi=2650;t.ghook=608;t.ghzsquare=13203;t.gihiragana=12366;t.gikatakana=12462;t.gimarmenian=1379;t.gimel=1490;t.gimeldagesh=64306;t.gimeldageshhebrew=64306;t.gimelhebrew=1490;t.gjecyrillic=1107;t.glottalinvertedstroke=446;t.glottalstop=660;t.glottalstopinverted=662;t.glottalstopmod=704;t.glottalstopreversed=
661;t.glottalstopreversedmod=705;t.glottalstopreversedsuperior=740;t.glottalstopstroke=673;t.glottalstopstrokereversed=674;t.gmacron=7713;t.gmonospace=65351;t.gohiragana=12372;t.gokatakana=12468;t.gparen=9378;t.gpasquare=13228;t.gradient=8711;t.grave=96;t.gravebelowcmb=790;t.gravecmb=768;t.gravecomb=768;t.gravedeva=2387;t.gravelowmod=718;t.gravemonospace=65344;t.gravetonecmb=832;t.greater=62;t.greaterequal=8805;t.greaterequalorless=8923;t.greatermonospace=65310;t.greaterorequivalent=8819;t.greaterorless=
8823;t.greateroverequal=8807;t.greatersmall=65125;t.gscript=609;t.gstroke=485;t.guhiragana=12368;t.guillemotleft=171;t.guillemotright=187;t.guilsinglleft=8249;t.guilsinglright=8250;t.gukatakana=12464;t.guramusquare=13080;t.gysquare=13257;t.h=104;t.haabkhasiancyrillic=1193;t.haaltonearabic=1729;t.habengali=2489;t.hadescendercyrillic=1203;t.hadeva=2361;t.hagujarati=2745;t.hagurmukhi=2617;t.haharabic=1581;t.hahfinalarabic=65186;t.hahinitialarabic=65187;t.hahiragana=12399;t.hahmedialarabic=65188;t.haitusquare=
13098;t.hakatakana=12495;t.hakatakanahalfwidth=65418;t.halantgurmukhi=2637;t.hamzaarabic=1569;t.hamzalowarabic=1569;t.hangulfiller=12644;t.hardsigncyrillic=1098;t.harpoonleftbarbup=8636;t.harpoonrightbarbup=8640;t.hasquare=13258;t.hatafpatah=1458;t.hatafpatah16=1458;t.hatafpatah23=1458;t.hatafpatah2f=1458;t.hatafpatahhebrew=1458;t.hatafpatahnarrowhebrew=1458;t.hatafpatahquarterhebrew=1458;t.hatafpatahwidehebrew=1458;t.hatafqamats=1459;t.hatafqamats1b=1459;t.hatafqamats28=1459;t.hatafqamats34=1459;
t.hatafqamatshebrew=1459;t.hatafqamatsnarrowhebrew=1459;t.hatafqamatsquarterhebrew=1459;t.hatafqamatswidehebrew=1459;t.hatafsegol=1457;t.hatafsegol17=1457;t.hatafsegol24=1457;t.hatafsegol30=1457;t.hatafsegolhebrew=1457;t.hatafsegolnarrowhebrew=1457;t.hatafsegolquarterhebrew=1457;t.hatafsegolwidehebrew=1457;t.hbar=295;t.hbopomofo=12559;t.hbrevebelow=7723;t.hcedilla=7721;t.hcircle=9431;t.hcircumflex=293;t.hdieresis=7719;t.hdotaccent=7715;t.hdotbelow=7717;t.he=1492;t.heart=9829;t.heartsuitblack=9829;
t.heartsuitwhite=9825;t.hedagesh=64308;t.hedageshhebrew=64308;t.hehaltonearabic=1729;t.heharabic=1607;t.hehebrew=1492;t.hehfinalaltonearabic=64423;t.hehfinalalttwoarabic=65258;t.hehfinalarabic=65258;t.hehhamzaabovefinalarabic=64421;t.hehhamzaaboveisolatedarabic=64420;t.hehinitialaltonearabic=64424;t.hehinitialarabic=65259;t.hehiragana=12408;t.hehmedialaltonearabic=64425;t.hehmedialarabic=65260;t.heiseierasquare=13179;t.hekatakana=12504;t.hekatakanahalfwidth=65421;t.hekutaarusquare=13110;t.henghook=
615;t.herutusquare=13113;t.het=1495;t.hethebrew=1495;t.hhook=614;t.hhooksuperior=689;t.hieuhacirclekorean=12923;t.hieuhaparenkorean=12827;t.hieuhcirclekorean=12909;t.hieuhkorean=12622;t.hieuhparenkorean=12813;t.hihiragana=12402;t.hikatakana=12498;t.hikatakanahalfwidth=65419;t.hiriq=1460;t.hiriq14=1460;t.hiriq21=1460;t.hiriq2d=1460;t.hiriqhebrew=1460;t.hiriqnarrowhebrew=1460;t.hiriqquarterhebrew=1460;t.hiriqwidehebrew=1460;t.hlinebelow=7830;t.hmonospace=65352;t.hoarmenian=1392;t.hohipthai=3627;t.hohiragana=
12411;t.hokatakana=12507;t.hokatakanahalfwidth=65422;t.holam=1465;t.holam19=1465;t.holam26=1465;t.holam32=1465;t.holamhebrew=1465;t.holamnarrowhebrew=1465;t.holamquarterhebrew=1465;t.holamwidehebrew=1465;t.honokhukthai=3630;t.hookabovecomb=777;t.hookcmb=777;t.hookpalatalizedbelowcmb=801;t.hookretroflexbelowcmb=802;t.hoonsquare=13122;t.horicoptic=1001;t.horizontalbar=8213;t.horncmb=795;t.hotsprings=9832;t.house=8962;t.hparen=9379;t.hsuperior=688;t.hturned=613;t.huhiragana=12405;t.huiitosquare=13107;
t.hukatakana=12501;t.hukatakanahalfwidth=65420;t.hungarumlaut=733;t.hungarumlautcmb=779;t.hv=405;t.hyphen=45;t.hypheninferior=63205;t.hyphenmonospace=65293;t.hyphensmall=65123;t.hyphensuperior=63206;t.hyphentwo=8208;t.i=105;t.iacute=237;t.iacyrillic=1103;t.ibengali=2439;t.ibopomofo=12583;t.ibreve=301;t.icaron=464;t.icircle=9432;t.icircumflex=238;t.icyrillic=1110;t.idblgrave=521;t.ideographearthcircle=12943;t.ideographfirecircle=12939;t.ideographicallianceparen=12863;t.ideographiccallparen=12858;t.ideographiccentrecircle=
12965;t.ideographicclose=12294;t.ideographiccomma=12289;t.ideographiccommaleft=65380;t.ideographiccongratulationparen=12855;t.ideographiccorrectcircle=12963;t.ideographicearthparen=12847;t.ideographicenterpriseparen=12861;t.ideographicexcellentcircle=12957;t.ideographicfestivalparen=12864;t.ideographicfinancialcircle=12950;t.ideographicfinancialparen=12854;t.ideographicfireparen=12843;t.ideographichaveparen=12850;t.ideographichighcircle=12964;t.ideographiciterationmark=12293;t.ideographiclaborcircle=
12952;t.ideographiclaborparen=12856;t.ideographicleftcircle=12967;t.ideographiclowcircle=12966;t.ideographicmedicinecircle=12969;t.ideographicmetalparen=12846;t.ideographicmoonparen=12842;t.ideographicnameparen=12852;t.ideographicperiod=12290;t.ideographicprintcircle=12958;t.ideographicreachparen=12867;t.ideographicrepresentparen=12857;t.ideographicresourceparen=12862;t.ideographicrightcircle=12968;t.ideographicsecretcircle=12953;t.ideographicselfparen=12866;t.ideographicsocietyparen=12851;t.ideographicspace=
12288;t.ideographicspecialparen=12853;t.ideographicstockparen=12849;t.ideographicstudyparen=12859;t.ideographicsunparen=12848;t.ideographicsuperviseparen=12860;t.ideographicwaterparen=12844;t.ideographicwoodparen=12845;t.ideographiczero=12295;t.ideographmetalcircle=12942;t.ideographmooncircle=12938;t.ideographnamecircle=12948;t.ideographsuncircle=12944;t.ideographwatercircle=12940;t.ideographwoodcircle=12941;t.ideva=2311;t.idieresis=239;t.idieresisacute=7727;t.idieresiscyrillic=1253;t.idotbelow=7883;
t.iebrevecyrillic=1239;t.iecyrillic=1077;t.ieungacirclekorean=12917;t.ieungaparenkorean=12821;t.ieungcirclekorean=12903;t.ieungkorean=12615;t.ieungparenkorean=12807;t.igrave=236;t.igujarati=2695;t.igurmukhi=2567;t.ihiragana=12356;t.ihookabove=7881;t.iibengali=2440;t.iicyrillic=1080;t.iideva=2312;t.iigujarati=2696;t.iigurmukhi=2568;t.iimatragurmukhi=2624;t.iinvertedbreve=523;t.iishortcyrillic=1081;t.iivowelsignbengali=2496;t.iivowelsigndeva=2368;t.iivowelsigngujarati=2752;t.ij=307;t.ikatakana=12452;
t.ikatakanahalfwidth=65394;t.ikorean=12643;t.ilde=732;t.iluyhebrew=1452;t.imacron=299;t.imacroncyrillic=1251;t.imageorapproximatelyequal=8787;t.imatragurmukhi=2623;t.imonospace=65353;t.increment=8710;t.infinity=8734;t.iniarmenian=1387;t.integral=8747;t.integralbottom=8993;t.integralbt=8993;t.integralex=63733;t.integraltop=8992;t.integraltp=8992;t.intersection=8745;t.intisquare=13061;t.invbullet=9688;t.invcircle=9689;t.invsmileface=9787;t.iocyrillic=1105;t.iogonek=303;t.iota=953;t.iotadieresis=970;
t.iotadieresistonos=912;t.iotalatin=617;t.iotatonos=943;t.iparen=9380;t.irigurmukhi=2674;t.ismallhiragana=12355;t.ismallkatakana=12451;t.ismallkatakanahalfwidth=65384;t.issharbengali=2554;t.istroke=616;t.isuperior=63213;t.iterationhiragana=12445;t.iterationkatakana=12541;t.itilde=297;t.itildebelow=7725;t.iubopomofo=12585;t.iucyrillic=1102;t.ivowelsignbengali=2495;t.ivowelsigndeva=2367;t.ivowelsigngujarati=2751;t.izhitsacyrillic=1141;t.izhitsadblgravecyrillic=1143;t.j=106;t.jaarmenian=1393;t.jabengali=
2460;t.jadeva=2332;t.jagujarati=2716;t.jagurmukhi=2588;t.jbopomofo=12560;t.jcaron=496;t.jcircle=9433;t.jcircumflex=309;t.jcrossedtail=669;t.jdotlessstroke=607;t.jecyrillic=1112;t.jeemarabic=1580;t.jeemfinalarabic=65182;t.jeeminitialarabic=65183;t.jeemmedialarabic=65184;t.jeharabic=1688;t.jehfinalarabic=64395;t.jhabengali=2461;t.jhadeva=2333;t.jhagujarati=2717;t.jhagurmukhi=2589;t.jheharmenian=1403;t.jis=12292;t.jmonospace=65354;t.jparen=9381;t.jsuperior=690;t.k=107;t.kabashkircyrillic=1185;t.kabengali=
2453;t.kacute=7729;t.kacyrillic=1082;t.kadescendercyrillic=1179;t.kadeva=2325;t.kaf=1499;t.kafarabic=1603;t.kafdagesh=64315;t.kafdageshhebrew=64315;t.kaffinalarabic=65242;t.kafhebrew=1499;t.kafinitialarabic=65243;t.kafmedialarabic=65244;t.kafrafehebrew=64333;t.kagujarati=2709;t.kagurmukhi=2581;t.kahiragana=12363;t.kahookcyrillic=1220;t.kakatakana=12459;t.kakatakanahalfwidth=65398;t.kappa=954;t.kappasymbolgreek=1008;t.kapyeounmieumkorean=12657;t.kapyeounphieuphkorean=12676;t.kapyeounpieupkorean=12664;
t.kapyeounssangpieupkorean=12665;t.karoriisquare=13069;t.kashidaautoarabic=1600;t.kashidaautonosidebearingarabic=1600;t.kasmallkatakana=12533;t.kasquare=13188;t.kasraarabic=1616;t.kasratanarabic=1613;t.kastrokecyrillic=1183;t.katahiraprolongmarkhalfwidth=65392;t.kaverticalstrokecyrillic=1181;t.kbopomofo=12558;t.kcalsquare=13193;t.kcaron=489;t.kcedilla=311;t.kcircle=9434;t.kcommaaccent=311;t.kdotbelow=7731;t.keharmenian=1412;t.kehiragana=12369;t.kekatakana=12465;t.kekatakanahalfwidth=65401;t.kenarmenian=
1391;t.kesmallkatakana=12534;t.kgreenlandic=312;t.khabengali=2454;t.khacyrillic=1093;t.khadeva=2326;t.khagujarati=2710;t.khagurmukhi=2582;t.khaharabic=1582;t.khahfinalarabic=65190;t.khahinitialarabic=65191;t.khahmedialarabic=65192;t.kheicoptic=999;t.khhadeva=2393;t.khhagurmukhi=2649;t.khieukhacirclekorean=12920;t.khieukhaparenkorean=12824;t.khieukhcirclekorean=12906;t.khieukhkorean=12619;t.khieukhparenkorean=12810;t.khokhaithai=3586;t.khokhonthai=3589;t.khokhuatthai=3587;t.khokhwaithai=3588;t.khomutthai=
3675;t.khook=409;t.khorakhangthai=3590;t.khzsquare=13201;t.kihiragana=12365;t.kikatakana=12461;t.kikatakanahalfwidth=65399;t.kiroguramusquare=13077;t.kiromeetorusquare=13078;t.kirosquare=13076;t.kiyeokacirclekorean=12910;t.kiyeokaparenkorean=12814;t.kiyeokcirclekorean=12896;t.kiyeokkorean=12593;t.kiyeokparenkorean=12800;t.kiyeoksioskorean=12595;t.kjecyrillic=1116;t.klinebelow=7733;t.klsquare=13208;t.kmcubedsquare=13222;t.kmonospace=65355;t.kmsquaredsquare=13218;t.kohiragana=12371;t.kohmsquare=13248;
t.kokaithai=3585;t.kokatakana=12467;t.kokatakanahalfwidth=65402;t.kooposquare=13086;t.koppacyrillic=1153;t.koreanstandardsymbol=12927;t.koroniscmb=835;t.kparen=9382;t.kpasquare=13226;t.ksicyrillic=1135;t.ktsquare=13263;t.kturned=670;t.kuhiragana=12367;t.kukatakana=12463;t.kukatakanahalfwidth=65400;t.kvsquare=13240;t.kwsquare=13246;t.l=108;t.labengali=2482;t.lacute=314;t.ladeva=2354;t.lagujarati=2738;t.lagurmukhi=2610;t.lakkhangyaothai=3653;t.lamaleffinalarabic=65276;t.lamalefhamzaabovefinalarabic=
65272;t.lamalefhamzaaboveisolatedarabic=65271;t.lamalefhamzabelowfinalarabic=65274;t.lamalefhamzabelowisolatedarabic=65273;t.lamalefisolatedarabic=65275;t.lamalefmaddaabovefinalarabic=65270;t.lamalefmaddaaboveisolatedarabic=65269;t.lamarabic=1604;t.lambda=955;t.lambdastroke=411;t.lamed=1500;t.lameddagesh=64316;t.lameddageshhebrew=64316;t.lamedhebrew=1500;t.lamfinalarabic=65246;t.lamhahinitialarabic=64714;t.laminitialarabic=65247;t.lamjeeminitialarabic=64713;t.lamkhahinitialarabic=64715;t.lamlamhehisolatedarabic=
65010;t.lammedialarabic=65248;t.lammeemhahinitialarabic=64904;t.lammeeminitialarabic=64716;t.largecircle=9711;t.lbar=410;t.lbelt=620;t.lbopomofo=12556;t.lcaron=318;t.lcedilla=316;t.lcircle=9435;t.lcircumflexbelow=7741;t.lcommaaccent=316;t.ldot=320;t.ldotaccent=320;t.ldotbelow=7735;t.ldotbelowmacron=7737;t.leftangleabovecmb=794;t.lefttackbelowcmb=792;t.less=60;t.lessequal=8804;t.lessequalorgreater=8922;t.lessmonospace=65308;t.lessorequivalent=8818;t.lessorgreater=8822;t.lessoverequal=8806;t.lesssmall=
65124;t.lezh=622;t.lfblock=9612;t.lhookretroflex=621;t.lira=8356;t.liwnarmenian=1388;t.lj=457;t.ljecyrillic=1113;t.ll=63168;t.lladeva=2355;t.llagujarati=2739;t.llinebelow=7739;t.llladeva=2356;t.llvocalicbengali=2529;t.llvocalicdeva=2401;t.llvocalicvowelsignbengali=2531;t.llvocalicvowelsigndeva=2403;t.lmiddletilde=619;t.lmonospace=65356;t.lmsquare=13264;t.lochulathai=3628;t.logicaland=8743;t.logicalnot=172;t.logicalnotreversed=8976;t.logicalor=8744;t.lolingthai=3621;t.longs=383;t.lowlinecenterline=
65102;t.lowlinecmb=818;t.lowlinedashed=65101;t.lozenge=9674;t.lparen=9383;t.lslash=322;t.lsquare=8467;t.lsuperior=63214;t.ltshade=9617;t.luthai=3622;t.lvocalicbengali=2444;t.lvocalicdeva=2316;t.lvocalicvowelsignbengali=2530;t.lvocalicvowelsigndeva=2402;t.lxsquare=13267;t.m=109;t.mabengali=2478;t.macron=175;t.macronbelowcmb=817;t.macroncmb=772;t.macronlowmod=717;t.macronmonospace=65507;t.macute=7743;t.madeva=2350;t.magujarati=2734;t.magurmukhi=2606;t.mahapakhhebrew=1444;t.mahapakhlefthebrew=1444;t.mahiragana=
12414;t.maichattawalowleftthai=63637;t.maichattawalowrightthai=63636;t.maichattawathai=3659;t.maichattawaupperleftthai=63635;t.maieklowleftthai=63628;t.maieklowrightthai=63627;t.maiekthai=3656;t.maiekupperleftthai=63626;t.maihanakatleftthai=63620;t.maihanakatthai=3633;t.maitaikhuleftthai=63625;t.maitaikhuthai=3655;t.maitholowleftthai=63631;t.maitholowrightthai=63630;t.maithothai=3657;t.maithoupperleftthai=63629;t.maitrilowleftthai=63634;t.maitrilowrightthai=63633;t.maitrithai=3658;t.maitriupperleftthai=
63632;t.maiyamokthai=3654;t.makatakana=12510;t.makatakanahalfwidth=65423;t.male=9794;t.mansyonsquare=13127;t.maqafhebrew=1470;t.mars=9794;t.masoracirclehebrew=1455;t.masquare=13187;t.mbopomofo=12551;t.mbsquare=13268;t.mcircle=9436;t.mcubedsquare=13221;t.mdotaccent=7745;t.mdotbelow=7747;t.meemarabic=1605;t.meemfinalarabic=65250;t.meeminitialarabic=65251;t.meemmedialarabic=65252;t.meemmeeminitialarabic=64721;t.meemmeemisolatedarabic=64584;t.meetorusquare=13133;t.mehiragana=12417;t.meizierasquare=13182;
t.mekatakana=12513;t.mekatakanahalfwidth=65426;t.mem=1502;t.memdagesh=64318;t.memdageshhebrew=64318;t.memhebrew=1502;t.menarmenian=1396;t.merkhahebrew=1445;t.merkhakefulahebrew=1446;t.merkhakefulalefthebrew=1446;t.merkhalefthebrew=1445;t.mhook=625;t.mhzsquare=13202;t.middledotkatakanahalfwidth=65381;t.middot=183;t.mieumacirclekorean=12914;t.mieumaparenkorean=12818;t.mieumcirclekorean=12900;t.mieumkorean=12609;t.mieumpansioskorean=12656;t.mieumparenkorean=12804;t.mieumpieupkorean=12654;t.mieumsioskorean=
12655;t.mihiragana=12415;t.mikatakana=12511;t.mikatakanahalfwidth=65424;t.minus=8722;t.minusbelowcmb=800;t.minuscircle=8854;t.minusmod=727;t.minusplus=8723;t.minute=8242;t.miribaarusquare=13130;t.mirisquare=13129;t.mlonglegturned=624;t.mlsquare=13206;t.mmcubedsquare=13219;t.mmonospace=65357;t.mmsquaredsquare=13215;t.mohiragana=12418;t.mohmsquare=13249;t.mokatakana=12514;t.mokatakanahalfwidth=65427;t.molsquare=13270;t.momathai=3617;t.moverssquare=13223;t.moverssquaredsquare=13224;t.mparen=9384;t.mpasquare=
13227;t.mssquare=13235;t.msuperior=63215;t.mturned=623;t.mu=181;t.mu1=181;t.muasquare=13186;t.muchgreater=8811;t.muchless=8810;t.mufsquare=13196;t.mugreek=956;t.mugsquare=13197;t.muhiragana=12416;t.mukatakana=12512;t.mukatakanahalfwidth=65425;t.mulsquare=13205;t.multiply=215;t.mumsquare=13211;t.munahhebrew=1443;t.munahlefthebrew=1443;t.musicalnote=9834;t.musicalnotedbl=9835;t.musicflatsign=9837;t.musicsharpsign=9839;t.mussquare=13234;t.muvsquare=13238;t.muwsquare=13244;t.mvmegasquare=13241;t.mvsquare=
13239;t.mwmegasquare=13247;t.mwsquare=13245;t.n=110;t.nabengali=2472;t.nabla=8711;t.nacute=324;t.nadeva=2344;t.nagujarati=2728;t.nagurmukhi=2600;t.nahiragana=12394;t.nakatakana=12490;t.nakatakanahalfwidth=65413;t.napostrophe=329;t.nasquare=13185;t.nbopomofo=12555;t.nbspace=160;t.ncaron=328;t.ncedilla=326;t.ncircle=9437;t.ncircumflexbelow=7755;t.ncommaaccent=326;t.ndotaccent=7749;t.ndotbelow=7751;t.nehiragana=12397;t.nekatakana=12493;t.nekatakanahalfwidth=65416;t.newsheqelsign=8362;t.nfsquare=13195;
t.ngabengali=2457;t.ngadeva=2329;t.ngagujarati=2713;t.ngagurmukhi=2585;t.ngonguthai=3591;t.nhiragana=12435;t.nhookleft=626;t.nhookretroflex=627;t.nieunacirclekorean=12911;t.nieunaparenkorean=12815;t.nieuncieuckorean=12597;t.nieuncirclekorean=12897;t.nieunhieuhkorean=12598;t.nieunkorean=12596;t.nieunpansioskorean=12648;t.nieunparenkorean=12801;t.nieunsioskorean=12647;t.nieuntikeutkorean=12646;t.nihiragana=12395;t.nikatakana=12491;t.nikatakanahalfwidth=65414;t.nikhahitleftthai=63641;t.nikhahitthai=
3661;t.nine=57;t.ninearabic=1641;t.ninebengali=2543;t.ninecircle=9320;t.ninecircleinversesansserif=10130;t.ninedeva=2415;t.ninegujarati=2799;t.ninegurmukhi=2671;t.ninehackarabic=1641;t.ninehangzhou=12329;t.nineideographicparen=12840;t.nineinferior=8329;t.ninemonospace=65305;t.nineoldstyle=63289;t.nineparen=9340;t.nineperiod=9360;t.ninepersian=1785;t.nineroman=8568;t.ninesuperior=8313;t.nineteencircle=9330;t.nineteenparen=9350;t.nineteenperiod=9370;t.ninethai=3673;t.nj=460;t.njecyrillic=1114;t.nkatakana=
12531;t.nkatakanahalfwidth=65437;t.nlegrightlong=414;t.nlinebelow=7753;t.nmonospace=65358;t.nmsquare=13210;t.nnabengali=2467;t.nnadeva=2339;t.nnagujarati=2723;t.nnagurmukhi=2595;t.nnnadeva=2345;t.nohiragana=12398;t.nokatakana=12494;t.nokatakanahalfwidth=65417;t.nonbreakingspace=160;t.nonenthai=3603;t.nonuthai=3609;t.noonarabic=1606;t.noonfinalarabic=65254;t.noonghunnaarabic=1722;t.noonghunnafinalarabic=64415;t.nooninitialarabic=65255;t.noonjeeminitialarabic=64722;t.noonjeemisolatedarabic=64587;t.noonmedialarabic=
65256;t.noonmeeminitialarabic=64725;t.noonmeemisolatedarabic=64590;t.noonnoonfinalarabic=64653;t.notcontains=8716;t.notelement=8713;t.notelementof=8713;t.notequal=8800;t.notgreater=8815;t.notgreaternorequal=8817;t.notgreaternorless=8825;t.notidentical=8802;t.notless=8814;t.notlessnorequal=8816;t.notparallel=8742;t.notprecedes=8832;t.notsubset=8836;t.notsucceeds=8833;t.notsuperset=8837;t.nowarmenian=1398;t.nparen=9385;t.nssquare=13233;t.nsuperior=8319;t.ntilde=241;t.nu=957;t.nuhiragana=12396;t.nukatakana=
12492;t.nukatakanahalfwidth=65415;t.nuktabengali=2492;t.nuktadeva=2364;t.nuktagujarati=2748;t.nuktagurmukhi=2620;t.numbersign=35;t.numbersignmonospace=65283;t.numbersignsmall=65119;t.numeralsigngreek=884;t.numeralsignlowergreek=885;t.numero=8470;t.nun=1504;t.nundagesh=64320;t.nundageshhebrew=64320;t.nunhebrew=1504;t.nvsquare=13237;t.nwsquare=13243;t.nyabengali=2462;t.nyadeva=2334;t.nyagujarati=2718;t.nyagurmukhi=2590;t.o=111;t.oacute=243;t.oangthai=3629;t.obarred=629;t.obarredcyrillic=1257;t.obarreddieresiscyrillic=
1259;t.obengali=2451;t.obopomofo=12571;t.obreve=335;t.ocandradeva=2321;t.ocandragujarati=2705;t.ocandravowelsigndeva=2377;t.ocandravowelsigngujarati=2761;t.ocaron=466;t.ocircle=9438;t.ocircumflex=244;t.ocircumflexacute=7889;t.ocircumflexdotbelow=7897;t.ocircumflexgrave=7891;t.ocircumflexhookabove=7893;t.ocircumflextilde=7895;t.ocyrillic=1086;t.odblacute=337;t.odblgrave=525;t.odeva=2323;t.odieresis=246;t.odieresiscyrillic=1255;t.odotbelow=7885;t.oe=339;t.oekorean=12634;t.ogonek=731;t.ogonekcmb=808;
t.ograve=242;t.ogujarati=2707;t.oharmenian=1413;t.ohiragana=12362;t.ohookabove=7887;t.ohorn=417;t.ohornacute=7899;t.ohorndotbelow=7907;t.ohorngrave=7901;t.ohornhookabove=7903;t.ohorntilde=7905;t.ohungarumlaut=337;t.oi=419;t.oinvertedbreve=527;t.okatakana=12458;t.okatakanahalfwidth=65397;t.okorean=12631;t.olehebrew=1451;t.omacron=333;t.omacronacute=7763;t.omacrongrave=7761;t.omdeva=2384;t.omega=969;t.omega1=982;t.omegacyrillic=1121;t.omegalatinclosed=631;t.omegaroundcyrillic=1147;t.omegatitlocyrillic=
1149;t.omegatonos=974;t.omgujarati=2768;t.omicron=959;t.omicrontonos=972;t.omonospace=65359;t.one=49;t.onearabic=1633;t.onebengali=2535;t.onecircle=9312;t.onecircleinversesansserif=10122;t.onedeva=2407;t.onedotenleader=8228;t.oneeighth=8539;t.onefitted=63196;t.onegujarati=2791;t.onegurmukhi=2663;t.onehackarabic=1633;t.onehalf=189;t.onehangzhou=12321;t.oneideographicparen=12832;t.oneinferior=8321;t.onemonospace=65297;t.onenumeratorbengali=2548;t.oneoldstyle=63281;t.oneparen=9332;t.oneperiod=9352;t.onepersian=
1777;t.onequarter=188;t.oneroman=8560;t.onesuperior=185;t.onethai=3665;t.onethird=8531;t.oogonek=491;t.oogonekmacron=493;t.oogurmukhi=2579;t.oomatragurmukhi=2635;t.oopen=596;t.oparen=9386;t.openbullet=9702;t.option=8997;t.ordfeminine=170;t.ordmasculine=186;t.orthogonal=8735;t.oshortdeva=2322;t.oshortvowelsigndeva=2378;t.oslash=248;t.oslashacute=511;t.osmallhiragana=12361;t.osmallkatakana=12457;t.osmallkatakanahalfwidth=65387;t.ostrokeacute=511;t.osuperior=63216;t.otcyrillic=1151;t.otilde=245;t.otildeacute=
7757;t.otildedieresis=7759;t.oubopomofo=12577;t.overline=8254;t.overlinecenterline=65098;t.overlinecmb=773;t.overlinedashed=65097;t.overlinedblwavy=65100;t.overlinewavy=65099;t.overscore=175;t.ovowelsignbengali=2507;t.ovowelsigndeva=2379;t.ovowelsigngujarati=2763;t.p=112;t.paampssquare=13184;t.paasentosquare=13099;t.pabengali=2474;t.pacute=7765;t.padeva=2346;t.pagedown=8671;t.pageup=8670;t.pagujarati=2730;t.pagurmukhi=2602;t.pahiragana=12401;t.paiyannoithai=3631;t.pakatakana=12497;t.palatalizationcyrilliccmb=
1156;t.palochkacyrillic=1216;t.pansioskorean=12671;t.paragraph=182;t.parallel=8741;t.parenleft=40;t.parenleftaltonearabic=64830;t.parenleftbt=63725;t.parenleftex=63724;t.parenleftinferior=8333;t.parenleftmonospace=65288;t.parenleftsmall=65113;t.parenleftsuperior=8317;t.parenlefttp=63723;t.parenleftvertical=65077;t.parenright=41;t.parenrightaltonearabic=64831;t.parenrightbt=63736;t.parenrightex=63735;t.parenrightinferior=8334;t.parenrightmonospace=65289;t.parenrightsmall=65114;t.parenrightsuperior=
8318;t.parenrighttp=63734;t.parenrightvertical=65078;t.partialdiff=8706;t.paseqhebrew=1472;t.pashtahebrew=1433;t.pasquare=13225;t.patah=1463;t.patah11=1463;t.patah1d=1463;t.patah2a=1463;t.patahhebrew=1463;t.patahnarrowhebrew=1463;t.patahquarterhebrew=1463;t.patahwidehebrew=1463;t.pazerhebrew=1441;t.pbopomofo=12550;t.pcircle=9439;t.pdotaccent=7767;t.pe=1508;t.pecyrillic=1087;t.pedagesh=64324;t.pedageshhebrew=64324;t.peezisquare=13115;t.pefinaldageshhebrew=64323;t.peharabic=1662;t.peharmenian=1402;
t.pehebrew=1508;t.pehfinalarabic=64343;t.pehinitialarabic=64344;t.pehiragana=12410;t.pehmedialarabic=64345;t.pekatakana=12506;t.pemiddlehookcyrillic=1191;t.perafehebrew=64334;t.percent=37;t.percentarabic=1642;t.percentmonospace=65285;t.percentsmall=65130;t.period=46;t.periodarmenian=1417;t.periodcentered=183;t.periodhalfwidth=65377;t.periodinferior=63207;t.periodmonospace=65294;t.periodsmall=65106;t.periodsuperior=63208;t.perispomenigreekcmb=834;t.perpendicular=8869;t.perthousand=8240;t.peseta=8359;
t.pfsquare=13194;t.phabengali=2475;t.phadeva=2347;t.phagujarati=2731;t.phagurmukhi=2603;t.phi=966;t.phi1=981;t.phieuphacirclekorean=12922;t.phieuphaparenkorean=12826;t.phieuphcirclekorean=12908;t.phieuphkorean=12621;t.phieuphparenkorean=12812;t.philatin=632;t.phinthuthai=3642;t.phisymbolgreek=981;t.phook=421;t.phophanthai=3614;t.phophungthai=3612;t.phosamphaothai=3616;t.pi=960;t.pieupacirclekorean=12915;t.pieupaparenkorean=12819;t.pieupcieuckorean=12662;t.pieupcirclekorean=12901;t.pieupkiyeokkorean=
12658;t.pieupkorean=12610;t.pieupparenkorean=12805;t.pieupsioskiyeokkorean=12660;t.pieupsioskorean=12612;t.pieupsiostikeutkorean=12661;t.pieupthieuthkorean=12663;t.pieuptikeutkorean=12659;t.pihiragana=12404;t.pikatakana=12500;t.pisymbolgreek=982;t.piwrarmenian=1411;t.plus=43;t.plusbelowcmb=799;t.pluscircle=8853;t.plusminus=177;t.plusmod=726;t.plusmonospace=65291;t.plussmall=65122;t.plussuperior=8314;t.pmonospace=65360;t.pmsquare=13272;t.pohiragana=12413;t.pointingindexdownwhite=9759;t.pointingindexleftwhite=
9756;t.pointingindexrightwhite=9758;t.pointingindexupwhite=9757;t.pokatakana=12509;t.poplathai=3611;t.postalmark=12306;t.postalmarkface=12320;t.pparen=9387;t.precedes=8826;t.prescription=8478;t.primemod=697;t.primereversed=8245;t.product=8719;t.projective=8965;t.prolongedkana=12540;t.propellor=8984;t.propersubset=8834;t.propersuperset=8835;t.proportion=8759;t.proportional=8733;t.psi=968;t.psicyrillic=1137;t.psilipneumatacyrilliccmb=1158;t.pssquare=13232;t.puhiragana=12407;t.pukatakana=12503;t.pvsquare=
13236;t.pwsquare=13242;t.q=113;t.qadeva=2392;t.qadmahebrew=1448;t.qafarabic=1602;t.qaffinalarabic=65238;t.qafinitialarabic=65239;t.qafmedialarabic=65240;t.qamats=1464;t.qamats10=1464;t.qamats1a=1464;t.qamats1c=1464;t.qamats27=1464;t.qamats29=1464;t.qamats33=1464;t.qamatsde=1464;t.qamatshebrew=1464;t.qamatsnarrowhebrew=1464;t.qamatsqatanhebrew=1464;t.qamatsqatannarrowhebrew=1464;t.qamatsqatanquarterhebrew=1464;t.qamatsqatanwidehebrew=1464;t.qamatsquarterhebrew=1464;t.qamatswidehebrew=1464;t.qarneyparahebrew=
1439;t.qbopomofo=12561;t.qcircle=9440;t.qhook=672;t.qmonospace=65361;t.qof=1511;t.qofdagesh=64327;t.qofdageshhebrew=64327;t.qofhebrew=1511;t.qparen=9388;t.quarternote=9833;t.qubuts=1467;t.qubuts18=1467;t.qubuts25=1467;t.qubuts31=1467;t.qubutshebrew=1467;t.qubutsnarrowhebrew=1467;t.qubutsquarterhebrew=1467;t.qubutswidehebrew=1467;t.question=63;t.questionarabic=1567;t.questionarmenian=1374;t.questiondown=191;t.questiondownsmall=63423;t.questiongreek=894;t.questionmonospace=65311;t.questionsmall=63295;
t.quotedbl=34;t.quotedblbase=8222;t.quotedblleft=8220;t.quotedblmonospace=65282;t.quotedblprime=12318;t.quotedblprimereversed=12317;t.quotedblright=8221;t.quoteleft=8216;t.quoteleftreversed=8219;t.quotereversed=8219;t.quoteright=8217;t.quoterightn=329;t.quotesinglbase=8218;t.quotesingle=39;t.quotesinglemonospace=65287;t.r=114;t.raarmenian=1404;t.rabengali=2480;t.racute=341;t.radeva=2352;t.radical=8730;t.radicalex=63717;t.radoverssquare=13230;t.radoverssquaredsquare=13231;t.radsquare=13229;t.rafe=
1471;t.rafehebrew=1471;t.ragujarati=2736;t.ragurmukhi=2608;t.rahiragana=12425;t.rakatakana=12521;t.rakatakanahalfwidth=65431;t.ralowerdiagonalbengali=2545;t.ramiddlediagonalbengali=2544;t.ramshorn=612;t.ratio=8758;t.rbopomofo=12566;t.rcaron=345;t.rcedilla=343;t.rcircle=9441;t.rcommaaccent=343;t.rdblgrave=529;t.rdotaccent=7769;t.rdotbelow=7771;t.rdotbelowmacron=7773;t.referencemark=8251;t.reflexsubset=8838;t.reflexsuperset=8839;t.registered=174;t.registersans=63720;t.registerserif=63194;t.reharabic=
1585;t.reharmenian=1408;t.rehfinalarabic=65198;t.rehiragana=12428;t.rekatakana=12524;t.rekatakanahalfwidth=65434;t.resh=1512;t.reshdageshhebrew=64328;t.reshhebrew=1512;t.reversedtilde=8765;t.reviahebrew=1431;t.reviamugrashhebrew=1431;t.revlogicalnot=8976;t.rfishhook=638;t.rfishhookreversed=639;t.rhabengali=2525;t.rhadeva=2397;t.rho=961;t.rhook=637;t.rhookturned=635;t.rhookturnedsuperior=693;t.rhosymbolgreek=1009;t.rhotichookmod=734;t.rieulacirclekorean=12913;t.rieulaparenkorean=12817;t.rieulcirclekorean=
12899;t.rieulhieuhkorean=12608;t.rieulkiyeokkorean=12602;t.rieulkiyeoksioskorean=12649;t.rieulkorean=12601;t.rieulmieumkorean=12603;t.rieulpansioskorean=12652;t.rieulparenkorean=12803;t.rieulphieuphkorean=12607;t.rieulpieupkorean=12604;t.rieulpieupsioskorean=12651;t.rieulsioskorean=12605;t.rieulthieuthkorean=12606;t.rieultikeutkorean=12650;t.rieulyeorinhieuhkorean=12653;t.rightangle=8735;t.righttackbelowcmb=793;t.righttriangle=8895;t.rihiragana=12426;t.rikatakana=12522;t.rikatakanahalfwidth=65432;
t.ring=730;t.ringbelowcmb=805;t.ringcmb=778;t.ringhalfleft=703;t.ringhalfleftarmenian=1369;t.ringhalfleftbelowcmb=796;t.ringhalfleftcentered=723;t.ringhalfright=702;t.ringhalfrightbelowcmb=825;t.ringhalfrightcentered=722;t.rinvertedbreve=531;t.rittorusquare=13137;t.rlinebelow=7775;t.rlongleg=636;t.rlonglegturned=634;t.rmonospace=65362;t.rohiragana=12429;t.rokatakana=12525;t.rokatakanahalfwidth=65435;t.roruathai=3619;t.rparen=9389;t.rrabengali=2524;t.rradeva=2353;t.rragurmukhi=2652;t.rreharabic=1681;
t.rrehfinalarabic=64397;t.rrvocalicbengali=2528;t.rrvocalicdeva=2400;t.rrvocalicgujarati=2784;t.rrvocalicvowelsignbengali=2500;t.rrvocalicvowelsigndeva=2372;t.rrvocalicvowelsigngujarati=2756;t.rsuperior=63217;t.rtblock=9616;t.rturned=633;t.rturnedsuperior=692;t.ruhiragana=12427;t.rukatakana=12523;t.rukatakanahalfwidth=65433;t.rupeemarkbengali=2546;t.rupeesignbengali=2547;t.rupiah=63197;t.ruthai=3620;t.rvocalicbengali=2443;t.rvocalicdeva=2315;t.rvocalicgujarati=2699;t.rvocalicvowelsignbengali=2499;
t.rvocalicvowelsigndeva=2371;t.rvocalicvowelsigngujarati=2755;t.s=115;t.sabengali=2488;t.sacute=347;t.sacutedotaccent=7781;t.sadarabic=1589;t.sadeva=2360;t.sadfinalarabic=65210;t.sadinitialarabic=65211;t.sadmedialarabic=65212;t.sagujarati=2744;t.sagurmukhi=2616;t.sahiragana=12373;t.sakatakana=12469;t.sakatakanahalfwidth=65403;t.sallallahoualayhewasallamarabic=65018;t.samekh=1505;t.samekhdagesh=64321;t.samekhdageshhebrew=64321;t.samekhhebrew=1505;t.saraaathai=3634;t.saraaethai=3649;t.saraaimaimalaithai=
3652;t.saraaimaimuanthai=3651;t.saraamthai=3635;t.saraathai=3632;t.saraethai=3648;t.saraiileftthai=63622;t.saraiithai=3637;t.saraileftthai=63621;t.saraithai=3636;t.saraothai=3650;t.saraueeleftthai=63624;t.saraueethai=3639;t.saraueleftthai=63623;t.sarauethai=3638;t.sarauthai=3640;t.sarauuthai=3641;t.sbopomofo=12569;t.scaron=353;t.scarondotaccent=7783;t.scedilla=351;t.schwa=601;t.schwacyrillic=1241;t.schwadieresiscyrillic=1243;t.schwahook=602;t.scircle=9442;t.scircumflex=349;t.scommaaccent=537;t.sdotaccent=
7777;t.sdotbelow=7779;t.sdotbelowdotaccent=7785;t.seagullbelowcmb=828;t.second=8243;t.secondtonechinese=714;t.section=167;t.seenarabic=1587;t.seenfinalarabic=65202;t.seeninitialarabic=65203;t.seenmedialarabic=65204;t.segol=1462;t.segol13=1462;t.segol1f=1462;t.segol2c=1462;t.segolhebrew=1462;t.segolnarrowhebrew=1462;t.segolquarterhebrew=1462;t.segoltahebrew=1426;t.segolwidehebrew=1462;t.seharmenian=1405;t.sehiragana=12379;t.sekatakana=12475;t.sekatakanahalfwidth=65406;t.semicolon=59;t.semicolonarabic=
1563;t.semicolonmonospace=65307;t.semicolonsmall=65108;t.semivoicedmarkkana=12444;t.semivoicedmarkkanahalfwidth=65439;t.sentisquare=13090;t.sentosquare=13091;t.seven=55;t.sevenarabic=1639;t.sevenbengali=2541;t.sevencircle=9318;t.sevencircleinversesansserif=10128;t.sevendeva=2413;t.seveneighths=8542;t.sevengujarati=2797;t.sevengurmukhi=2669;t.sevenhackarabic=1639;t.sevenhangzhou=12327;t.sevenideographicparen=12838;t.seveninferior=8327;t.sevenmonospace=65303;t.sevenoldstyle=63287;t.sevenparen=9338;
t.sevenperiod=9358;t.sevenpersian=1783;t.sevenroman=8566;t.sevensuperior=8311;t.seventeencircle=9328;t.seventeenparen=9348;t.seventeenperiod=9368;t.seventhai=3671;t.sfthyphen=173;t.shaarmenian=1399;t.shabengali=2486;t.shacyrillic=1096;t.shaddaarabic=1617;t.shaddadammaarabic=64609;t.shaddadammatanarabic=64606;t.shaddafathaarabic=64608;t.shaddakasraarabic=64610;t.shaddakasratanarabic=64607;t.shade=9618;t.shadedark=9619;t.shadelight=9617;t.shademedium=9618;t.shadeva=2358;t.shagujarati=2742;t.shagurmukhi=
2614;t.shalshelethebrew=1427;t.shbopomofo=12565;t.shchacyrillic=1097;t.sheenarabic=1588;t.sheenfinalarabic=65206;t.sheeninitialarabic=65207;t.sheenmedialarabic=65208;t.sheicoptic=995;t.sheqel=8362;t.sheqelhebrew=8362;t.sheva=1456;t.sheva115=1456;t.sheva15=1456;t.sheva22=1456;t.sheva2e=1456;t.shevahebrew=1456;t.shevanarrowhebrew=1456;t.shevaquarterhebrew=1456;t.shevawidehebrew=1456;t.shhacyrillic=1211;t.shimacoptic=1005;t.shin=1513;t.shindagesh=64329;t.shindageshhebrew=64329;t.shindageshshindot=64300;
t.shindageshshindothebrew=64300;t.shindageshsindot=64301;t.shindageshsindothebrew=64301;t.shindothebrew=1473;t.shinhebrew=1513;t.shinshindot=64298;t.shinshindothebrew=64298;t.shinsindot=64299;t.shinsindothebrew=64299;t.shook=642;t.sigma=963;t.sigma1=962;t.sigmafinal=962;t.sigmalunatesymbolgreek=1010;t.sihiragana=12375;t.sikatakana=12471;t.sikatakanahalfwidth=65404;t.siluqhebrew=1469;t.siluqlefthebrew=1469;t.similar=8764;t.sindothebrew=1474;t.siosacirclekorean=12916;t.siosaparenkorean=12820;t.sioscieuckorean=
12670;t.sioscirclekorean=12902;t.sioskiyeokkorean=12666;t.sioskorean=12613;t.siosnieunkorean=12667;t.siosparenkorean=12806;t.siospieupkorean=12669;t.siostikeutkorean=12668;t.six=54;t.sixarabic=1638;t.sixbengali=2540;t.sixcircle=9317;t.sixcircleinversesansserif=10127;t.sixdeva=2412;t.sixgujarati=2796;t.sixgurmukhi=2668;t.sixhackarabic=1638;t.sixhangzhou=12326;t.sixideographicparen=12837;t.sixinferior=8326;t.sixmonospace=65302;t.sixoldstyle=63286;t.sixparen=9337;t.sixperiod=9357;t.sixpersian=1782;t.sixroman=
8565;t.sixsuperior=8310;t.sixteencircle=9327;t.sixteencurrencydenominatorbengali=2553;t.sixteenparen=9347;t.sixteenperiod=9367;t.sixthai=3670;t.slash=47;t.slashmonospace=65295;t.slong=383;t.slongdotaccent=7835;t.smileface=9786;t.smonospace=65363;t.sofpasuqhebrew=1475;t.softhyphen=173;t.softsigncyrillic=1100;t.sohiragana=12381;t.sokatakana=12477;t.sokatakanahalfwidth=65407;t.soliduslongoverlaycmb=824;t.solidusshortoverlaycmb=823;t.sorusithai=3625;t.sosalathai=3624;t.sosothai=3595;t.sosuathai=3626;
t.space=32;t.spacehackarabic=32;t.spade=9824;t.spadesuitblack=9824;t.spadesuitwhite=9828;t.sparen=9390;t.squarebelowcmb=827;t.squarecc=13252;t.squarecm=13213;t.squarediagonalcrosshatchfill=9641;t.squarehorizontalfill=9636;t.squarekg=13199;t.squarekm=13214;t.squarekmcapital=13262;t.squareln=13265;t.squarelog=13266;t.squaremg=13198;t.squaremil=13269;t.squaremm=13212;t.squaremsquared=13217;t.squareorthogonalcrosshatchfill=9638;t.squareupperlefttolowerrightfill=9639;t.squareupperrighttolowerleftfill=
9640;t.squareverticalfill=9637;t.squarewhitewithsmallblack=9635;t.srsquare=13275;t.ssabengali=2487;t.ssadeva=2359;t.ssagujarati=2743;t.ssangcieuckorean=12617;t.ssanghieuhkorean=12677;t.ssangieungkorean=12672;t.ssangkiyeokkorean=12594;t.ssangnieunkorean=12645;t.ssangpieupkorean=12611;t.ssangsioskorean=12614;t.ssangtikeutkorean=12600;t.ssuperior=63218;t.sterling=163;t.sterlingmonospace=65505;t.strokelongoverlaycmb=822;t.strokeshortoverlaycmb=821;t.subset=8834;t.subsetnotequal=8842;t.subsetorequal=8838;
t.succeeds=8827;t.suchthat=8715;t.suhiragana=12377;t.sukatakana=12473;t.sukatakanahalfwidth=65405;t.sukunarabic=1618;t.summation=8721;t.sun=9788;t.superset=8835;t.supersetnotequal=8843;t.supersetorequal=8839;t.svsquare=13276;t.syouwaerasquare=13180;t.t=116;t.tabengali=2468;t.tackdown=8868;t.tackleft=8867;t.tadeva=2340;t.tagujarati=2724;t.tagurmukhi=2596;t.taharabic=1591;t.tahfinalarabic=65218;t.tahinitialarabic=65219;t.tahiragana=12383;t.tahmedialarabic=65220;t.taisyouerasquare=13181;t.takatakana=
12479;t.takatakanahalfwidth=65408;t.tatweelarabic=1600;t.tau=964;t.tav=1514;t.tavdages=64330;t.tavdagesh=64330;t.tavdageshhebrew=64330;t.tavhebrew=1514;t.tbar=359;t.tbopomofo=12554;t.tcaron=357;t.tccurl=680;t.tcedilla=355;t.tcheharabic=1670;t.tchehfinalarabic=64379;t.tchehinitialarabic=64380;t.tchehmedialarabic=64381;t.tcircle=9443;t.tcircumflexbelow=7793;t.tcommaaccent=355;t.tdieresis=7831;t.tdotaccent=7787;t.tdotbelow=7789;t.tecyrillic=1090;t.tedescendercyrillic=1197;t.teharabic=1578;t.tehfinalarabic=
65174;t.tehhahinitialarabic=64674;t.tehhahisolatedarabic=64524;t.tehinitialarabic=65175;t.tehiragana=12390;t.tehjeeminitialarabic=64673;t.tehjeemisolatedarabic=64523;t.tehmarbutaarabic=1577;t.tehmarbutafinalarabic=65172;t.tehmedialarabic=65176;t.tehmeeminitialarabic=64676;t.tehmeemisolatedarabic=64526;t.tehnoonfinalarabic=64627;t.tekatakana=12486;t.tekatakanahalfwidth=65411;t.telephone=8481;t.telephoneblack=9742;t.telishagedolahebrew=1440;t.telishaqetanahebrew=1449;t.tencircle=9321;t.tenideographicparen=
12841;t.tenparen=9341;t.tenperiod=9361;t.tenroman=8569;t.tesh=679;t.tet=1496;t.tetdagesh=64312;t.tetdageshhebrew=64312;t.tethebrew=1496;t.tetsecyrillic=1205;t.tevirhebrew=1435;t.tevirlefthebrew=1435;t.thabengali=2469;t.thadeva=2341;t.thagujarati=2725;t.thagurmukhi=2597;t.thalarabic=1584;t.thalfinalarabic=65196;t.thanthakhatlowleftthai=63640;t.thanthakhatlowrightthai=63639;t.thanthakhatthai=3660;t.thanthakhatupperleftthai=63638;t.theharabic=1579;t.thehfinalarabic=65178;t.thehinitialarabic=65179;t.thehmedialarabic=
65180;t.thereexists=8707;t.therefore=8756;t.theta=952;t.theta1=977;t.thetasymbolgreek=977;t.thieuthacirclekorean=12921;t.thieuthaparenkorean=12825;t.thieuthcirclekorean=12907;t.thieuthkorean=12620;t.thieuthparenkorean=12811;t.thirteencircle=9324;t.thirteenparen=9344;t.thirteenperiod=9364;t.thonangmonthothai=3601;t.thook=429;t.thophuthaothai=3602;t.thorn=254;t.thothahanthai=3607;t.thothanthai=3600;t.thothongthai=3608;t.thothungthai=3606;t.thousandcyrillic=1154;t.thousandsseparatorarabic=1644;t.thousandsseparatorpersian=
1644;t.three=51;t.threearabic=1635;t.threebengali=2537;t.threecircle=9314;t.threecircleinversesansserif=10124;t.threedeva=2409;t.threeeighths=8540;t.threegujarati=2793;t.threegurmukhi=2665;t.threehackarabic=1635;t.threehangzhou=12323;t.threeideographicparen=12834;t.threeinferior=8323;t.threemonospace=65299;t.threenumeratorbengali=2550;t.threeoldstyle=63283;t.threeparen=9334;t.threeperiod=9354;t.threepersian=1779;t.threequarters=190;t.threequartersemdash=63198;t.threeroman=8562;t.threesuperior=179;
t.threethai=3667;t.thzsquare=13204;t.tihiragana=12385;t.tikatakana=12481;t.tikatakanahalfwidth=65409;t.tikeutacirclekorean=12912;t.tikeutaparenkorean=12816;t.tikeutcirclekorean=12898;t.tikeutkorean=12599;t.tikeutparenkorean=12802;t.tilde=732;t.tildebelowcmb=816;t.tildecmb=771;t.tildecomb=771;t.tildedoublecmb=864;t.tildeoperator=8764;t.tildeoverlaycmb=820;t.tildeverticalcmb=830;t.timescircle=8855;t.tipehahebrew=1430;t.tipehalefthebrew=1430;t.tippigurmukhi=2672;t.titlocyrilliccmb=1155;t.tiwnarmenian=
1407;t.tlinebelow=7791;t.tmonospace=65364;t.toarmenian=1385;t.tohiragana=12392;t.tokatakana=12488;t.tokatakanahalfwidth=65412;t.tonebarextrahighmod=741;t.tonebarextralowmod=745;t.tonebarhighmod=742;t.tonebarlowmod=744;t.tonebarmidmod=743;t.tonefive=445;t.tonesix=389;t.tonetwo=424;t.tonos=900;t.tonsquare=13095;t.topatakthai=3599;t.tortoiseshellbracketleft=12308;t.tortoiseshellbracketleftsmall=65117;t.tortoiseshellbracketleftvertical=65081;t.tortoiseshellbracketright=12309;t.tortoiseshellbracketrightsmall=
65118;t.tortoiseshellbracketrightvertical=65082;t.totaothai=3605;t.tpalatalhook=427;t.tparen=9391;t.trademark=8482;t.trademarksans=63722;t.trademarkserif=63195;t.tretroflexhook=648;t.triagdn=9660;t.triaglf=9668;t.triagrt=9658;t.triagup=9650;t.ts=678;t.tsadi=1510;t.tsadidagesh=64326;t.tsadidageshhebrew=64326;t.tsadihebrew=1510;t.tsecyrillic=1094;t.tsere=1461;t.tsere12=1461;t.tsere1e=1461;t.tsere2b=1461;t.tserehebrew=1461;t.tserenarrowhebrew=1461;t.tserequarterhebrew=1461;t.tserewidehebrew=1461;t.tshecyrillic=
1115;t.tsuperior=63219;t.ttabengali=2463;t.ttadeva=2335;t.ttagujarati=2719;t.ttagurmukhi=2591;t.tteharabic=1657;t.ttehfinalarabic=64359;t.ttehinitialarabic=64360;t.ttehmedialarabic=64361;t.tthabengali=2464;t.tthadeva=2336;t.tthagujarati=2720;t.tthagurmukhi=2592;t.tturned=647;t.tuhiragana=12388;t.tukatakana=12484;t.tukatakanahalfwidth=65410;t.tusmallhiragana=12387;t.tusmallkatakana=12483;t.tusmallkatakanahalfwidth=65391;t.twelvecircle=9323;t.twelveparen=9343;t.twelveperiod=9363;t.twelveroman=8571;
t.twentycircle=9331;t.twentyhangzhou=21316;t.twentyparen=9351;t.twentyperiod=9371;t.two=50;t.twoarabic=1634;t.twobengali=2536;t.twocircle=9313;t.twocircleinversesansserif=10123;t.twodeva=2408;t.twodotenleader=8229;t.twodotleader=8229;t.twodotleadervertical=65072;t.twogujarati=2792;t.twogurmukhi=2664;t.twohackarabic=1634;t.twohangzhou=12322;t.twoideographicparen=12833;t.twoinferior=8322;t.twomonospace=65298;t.twonumeratorbengali=2549;t.twooldstyle=63282;t.twoparen=9333;t.twoperiod=9353;t.twopersian=
1778;t.tworoman=8561;t.twostroke=443;t.twosuperior=178;t.twothai=3666;t.twothirds=8532;t.u=117;t.uacute=250;t.ubar=649;t.ubengali=2441;t.ubopomofo=12584;t.ubreve=365;t.ucaron=468;t.ucircle=9444;t.ucircumflex=251;t.ucircumflexbelow=7799;t.ucyrillic=1091;t.udattadeva=2385;t.udblacute=369;t.udblgrave=533;t.udeva=2313;t.udieresis=252;t.udieresisacute=472;t.udieresisbelow=7795;t.udieresiscaron=474;t.udieresiscyrillic=1265;t.udieresisgrave=476;t.udieresismacron=470;t.udotbelow=7909;t.ugrave=249;t.ugujarati=
2697;t.ugurmukhi=2569;t.uhiragana=12358;t.uhookabove=7911;t.uhorn=432;t.uhornacute=7913;t.uhorndotbelow=7921;t.uhorngrave=7915;t.uhornhookabove=7917;t.uhorntilde=7919;t.uhungarumlaut=369;t.uhungarumlautcyrillic=1267;t.uinvertedbreve=535;t.ukatakana=12454;t.ukatakanahalfwidth=65395;t.ukcyrillic=1145;t.ukorean=12636;t.umacron=363;t.umacroncyrillic=1263;t.umacrondieresis=7803;t.umatragurmukhi=2625;t.umonospace=65365;t.underscore=95;t.underscoredbl=8215;t.underscoremonospace=65343;t.underscorevertical=
65075;t.underscorewavy=65103;t.union=8746;t.universal=8704;t.uogonek=371;t.uparen=9392;t.upblock=9600;t.upperdothebrew=1476;t.upsilon=965;t.upsilondieresis=971;t.upsilondieresistonos=944;t.upsilonlatin=650;t.upsilontonos=973;t.uptackbelowcmb=797;t.uptackmod=724;t.uragurmukhi=2675;t.uring=367;t.ushortcyrillic=1118;t.usmallhiragana=12357;t.usmallkatakana=12453;t.usmallkatakanahalfwidth=65385;t.ustraightcyrillic=1199;t.ustraightstrokecyrillic=1201;t.utilde=361;t.utildeacute=7801;t.utildebelow=7797;t.uubengali=
2442;t.uudeva=2314;t.uugujarati=2698;t.uugurmukhi=2570;t.uumatragurmukhi=2626;t.uuvowelsignbengali=2498;t.uuvowelsigndeva=2370;t.uuvowelsigngujarati=2754;t.uvowelsignbengali=2497;t.uvowelsigndeva=2369;t.uvowelsigngujarati=2753;t.v=118;t.vadeva=2357;t.vagujarati=2741;t.vagurmukhi=2613;t.vakatakana=12535;t.vav=1493;t.vavdagesh=64309;t.vavdagesh65=64309;t.vavdageshhebrew=64309;t.vavhebrew=1493;t.vavholam=64331;t.vavholamhebrew=64331;t.vavvavhebrew=1520;t.vavyodhebrew=1521;t.vcircle=9445;t.vdotbelow=
7807;t.vecyrillic=1074;t.veharabic=1700;t.vehfinalarabic=64363;t.vehinitialarabic=64364;t.vehmedialarabic=64365;t.vekatakana=12537;t.venus=9792;t.verticalbar=124;t.verticallineabovecmb=781;t.verticallinebelowcmb=809;t.verticallinelowmod=716;t.verticallinemod=712;t.vewarmenian=1406;t.vhook=651;t.vikatakana=12536;t.viramabengali=2509;t.viramadeva=2381;t.viramagujarati=2765;t.visargabengali=2435;t.visargadeva=2307;t.visargagujarati=2691;t.vmonospace=65366;t.voarmenian=1400;t.voicediterationhiragana=
12446;t.voicediterationkatakana=12542;t.voicedmarkkana=12443;t.voicedmarkkanahalfwidth=65438;t.vokatakana=12538;t.vparen=9393;t.vtilde=7805;t.vturned=652;t.vuhiragana=12436;t.vukatakana=12532;t.w=119;t.wacute=7811;t.waekorean=12633;t.wahiragana=12431;t.wakatakana=12527;t.wakatakanahalfwidth=65436;t.wakorean=12632;t.wasmallhiragana=12430;t.wasmallkatakana=12526;t.wattosquare=13143;t.wavedash=12316;t.wavyunderscorevertical=65076;t.wawarabic=1608;t.wawfinalarabic=65262;t.wawhamzaabovearabic=1572;t.wawhamzaabovefinalarabic=
65158;t.wbsquare=13277;t.wcircle=9446;t.wcircumflex=373;t.wdieresis=7813;t.wdotaccent=7815;t.wdotbelow=7817;t.wehiragana=12433;t.weierstrass=8472;t.wekatakana=12529;t.wekorean=12638;t.weokorean=12637;t.wgrave=7809;t.whitebullet=9702;t.whitecircle=9675;t.whitecircleinverse=9689;t.whitecornerbracketleft=12302;t.whitecornerbracketleftvertical=65091;t.whitecornerbracketright=12303;t.whitecornerbracketrightvertical=65092;t.whitediamond=9671;t.whitediamondcontainingblacksmalldiamond=9672;t.whitedownpointingsmalltriangle=
9663;t.whitedownpointingtriangle=9661;t.whiteleftpointingsmalltriangle=9667;t.whiteleftpointingtriangle=9665;t.whitelenticularbracketleft=12310;t.whitelenticularbracketright=12311;t.whiterightpointingsmalltriangle=9657;t.whiterightpointingtriangle=9655;t.whitesmallsquare=9643;t.whitesmilingface=9786;t.whitesquare=9633;t.whitestar=9734;t.whitetelephone=9743;t.whitetortoiseshellbracketleft=12312;t.whitetortoiseshellbracketright=12313;t.whiteuppointingsmalltriangle=9653;t.whiteuppointingtriangle=9651;
t.wihiragana=12432;t.wikatakana=12528;t.wikorean=12639;t.wmonospace=65367;t.wohiragana=12434;t.wokatakana=12530;t.wokatakanahalfwidth=65382;t.won=8361;t.wonmonospace=65510;t.wowaenthai=3623;t.wparen=9394;t.wring=7832;t.wsuperior=695;t.wturned=653;t.wynn=447;t.x=120;t.xabovecmb=829;t.xbopomofo=12562;t.xcircle=9447;t.xdieresis=7821;t.xdotaccent=7819;t.xeharmenian=1389;t.xi=958;t.xmonospace=65368;t.xparen=9395;t.xsuperior=739;t.y=121;t.yaadosquare=13134;t.yabengali=2479;t.yacute=253;t.yadeva=2351;t.yaekorean=
12626;t.yagujarati=2735;t.yagurmukhi=2607;t.yahiragana=12420;t.yakatakana=12516;t.yakatakanahalfwidth=65428;t.yakorean=12625;t.yamakkanthai=3662;t.yasmallhiragana=12419;t.yasmallkatakana=12515;t.yasmallkatakanahalfwidth=65388;t.yatcyrillic=1123;t.ycircle=9448;t.ycircumflex=375;t.ydieresis=255;t.ydotaccent=7823;t.ydotbelow=7925;t.yeharabic=1610;t.yehbarreearabic=1746;t.yehbarreefinalarabic=64431;t.yehfinalarabic=65266;t.yehhamzaabovearabic=1574;t.yehhamzaabovefinalarabic=65162;t.yehhamzaaboveinitialarabic=
65163;t.yehhamzaabovemedialarabic=65164;t.yehinitialarabic=65267;t.yehmedialarabic=65268;t.yehmeeminitialarabic=64733;t.yehmeemisolatedarabic=64600;t.yehnoonfinalarabic=64660;t.yehthreedotsbelowarabic=1745;t.yekorean=12630;t.yen=165;t.yenmonospace=65509;t.yeokorean=12629;t.yeorinhieuhkorean=12678;t.yerahbenyomohebrew=1450;t.yerahbenyomolefthebrew=1450;t.yericyrillic=1099;t.yerudieresiscyrillic=1273;t.yesieungkorean=12673;t.yesieungpansioskorean=12675;t.yesieungsioskorean=12674;t.yetivhebrew=1434;
t.ygrave=7923;t.yhook=436;t.yhookabove=7927;t.yiarmenian=1397;t.yicyrillic=1111;t.yikorean=12642;t.yinyang=9775;t.yiwnarmenian=1410;t.ymonospace=65369;t.yod=1497;t.yoddagesh=64313;t.yoddageshhebrew=64313;t.yodhebrew=1497;t.yodyodhebrew=1522;t.yodyodpatahhebrew=64287;t.yohiragana=12424;t.yoikorean=12681;t.yokatakana=12520;t.yokatakanahalfwidth=65430;t.yokorean=12635;t.yosmallhiragana=12423;t.yosmallkatakana=12519;t.yosmallkatakanahalfwidth=65390;t.yotgreek=1011;t.yoyaekorean=12680;t.yoyakorean=12679;
t.yoyakthai=3618;t.yoyingthai=3597;t.yparen=9396;t.ypogegrammeni=890;t.ypogegrammenigreekcmb=837;t.yr=422;t.yring=7833;t.ysuperior=696;t.ytilde=7929;t.yturned=654;t.yuhiragana=12422;t.yuikorean=12684;t.yukatakana=12518;t.yukatakanahalfwidth=65429;t.yukorean=12640;t.yusbigcyrillic=1131;t.yusbigiotifiedcyrillic=1133;t.yuslittlecyrillic=1127;t.yuslittleiotifiedcyrillic=1129;t.yusmallhiragana=12421;t.yusmallkatakana=12517;t.yusmallkatakanahalfwidth=65389;t.yuyekorean=12683;t.yuyeokorean=12682;t.yyabengali=
2527;t.yyadeva=2399;t.z=122;t.zaarmenian=1382;t.zacute=378;t.zadeva=2395;t.zagurmukhi=2651;t.zaharabic=1592;t.zahfinalarabic=65222;t.zahinitialarabic=65223;t.zahiragana=12374;t.zahmedialarabic=65224;t.zainarabic=1586;t.zainfinalarabic=65200;t.zakatakana=12470;t.zaqefgadolhebrew=1429;t.zaqefqatanhebrew=1428;t.zarqahebrew=1432;t.zayin=1494;t.zayindagesh=64310;t.zayindageshhebrew=64310;t.zayinhebrew=1494;t.zbopomofo=12567;t.zcaron=382;t.zcircle=9449;t.zcircumflex=7825;t.zcurl=657;t.zdot=380;t.zdotaccent=
380;t.zdotbelow=7827;t.zecyrillic=1079;t.zedescendercyrillic=1177;t.zedieresiscyrillic=1247;t.zehiragana=12380;t.zekatakana=12476;t.zero=48;t.zeroarabic=1632;t.zerobengali=2534;t.zerodeva=2406;t.zerogujarati=2790;t.zerogurmukhi=2662;t.zerohackarabic=1632;t.zeroinferior=8320;t.zeromonospace=65296;t.zerooldstyle=63280;t.zeropersian=1776;t.zerosuperior=8304;t.zerothai=3664;t.zerowidthjoiner=65279;t.zerowidthnonjoiner=8204;t.zerowidthspace=8203;t.zeta=950;t.zhbopomofo=12563;t.zhearmenian=1386;t.zhebrevecyrillic=
1218;t.zhecyrillic=1078;t.zhedescendercyrillic=1175;t.zhedieresiscyrillic=1245;t.zihiragana=12376;t.zikatakana=12472;t.zinorhebrew=1454;t.zlinebelow=7829;t.zmonospace=65370;t.zohiragana=12382;t.zokatakana=12478;t.zparen=9397;t.zretroflexhook=656;t.zstroke=438;t.zuhiragana=12378;t.zukatakana=12474;t[".notdef"]=0;t.angbracketleftbig=9001;t.angbracketleftBig=9001;t.angbracketleftbigg=9001;t.angbracketleftBigg=9001;t.angbracketrightBig=9002;t.angbracketrightbig=9002;t.angbracketrightBigg=9002;t.angbracketrightbigg=
9002;t.arrowhookleft=8618;t.arrowhookright=8617;t.arrowlefttophalf=8636;t.arrowleftbothalf=8637;t.arrownortheast=8599;t.arrownorthwest=8598;t.arrowrighttophalf=8640;t.arrowrightbothalf=8641;t.arrowsoutheast=8600;t.arrowsouthwest=8601;t.backslashbig=8726;t.backslashBig=8726;t.backslashBigg=8726;t.backslashbigg=8726;t.bardbl=8214;t.bracehtipdownleft=65079;t.bracehtipdownright=65079;t.bracehtipupleft=65080;t.bracehtipupright=65080;t.braceleftBig=123;t.braceleftbig=123;t.braceleftbigg=123;t.braceleftBigg=
123;t.bracerightBig=125;t.bracerightbig=125;t.bracerightbigg=125;t.bracerightBigg=125;t.bracketleftbig=91;t.bracketleftBig=91;t.bracketleftbigg=91;t.bracketleftBigg=91;t.bracketrightBig=93;t.bracketrightbig=93;t.bracketrightbigg=93;t.bracketrightBigg=93;t.ceilingleftbig=8968;t.ceilingleftBig=8968;t.ceilingleftBigg=8968;t.ceilingleftbigg=8968;t.ceilingrightbig=8969;t.ceilingrightBig=8969;t.ceilingrightbigg=8969;t.ceilingrightBigg=8969;t.circledotdisplay=8857;t.circledottext=8857;t.circlemultiplydisplay=
8855;t.circlemultiplytext=8855;t.circleplusdisplay=8853;t.circleplustext=8853;t.contintegraldisplay=8750;t.contintegraltext=8750;t.coproductdisplay=8720;t.coproducttext=8720;t.floorleftBig=8970;t.floorleftbig=8970;t.floorleftbigg=8970;t.floorleftBigg=8970;t.floorrightbig=8971;t.floorrightBig=8971;t.floorrightBigg=8971;t.floorrightbigg=8971;t.hatwide=770;t.hatwider=770;t.hatwidest=770;t.intercal=7488;t.integraldisplay=8747;t.integraltext=8747;t.intersectiondisplay=8898;t.intersectiontext=8898;t.logicalanddisplay=
8743;t.logicalandtext=8743;t.logicalordisplay=8744;t.logicalortext=8744;t.parenleftBig=40;t.parenleftbig=40;t.parenleftBigg=40;t.parenleftbigg=40;t.parenrightBig=41;t.parenrightbig=41;t.parenrightBigg=41;t.parenrightbigg=41;t.prime=8242;t.productdisplay=8719;t.producttext=8719;t.radicalbig=8730;t.radicalBig=8730;t.radicalBigg=8730;t.radicalbigg=8730;t.radicalbt=8730;t.radicaltp=8730;t.radicalvertex=8730;t.slashbig=47;t.slashBig=47;t.slashBigg=47;t.slashbigg=47;t.summationdisplay=8721;t.summationtext=
8721;t.tildewide=732;t.tildewider=732;t.tildewidest=732;t.uniondisplay=8899;t.unionmultidisplay=8846;t.unionmultitext=8846;t.unionsqdisplay=8852;t.unionsqtext=8852;t.uniontext=8899;t.vextenddouble=8741;t.vextendsingle=8739});__w_pdfjs_require__=__w_pdfjs_require__(function(t){t.space=32;t.a1=9985;t.a2=9986;t.a202=9987;t.a3=9988;t.a4=9742;t.a5=9990;t.a119=9991;t.a118=9992;t.a117=9993;t.a11=9755;t.a12=9758;t.a13=9996;t.a14=9997;t.a15=9998;t.a16=9999;t.a105=1E4;t.a17=10001;t.a18=10002;t.a19=10003;t.a20=
10004;t.a21=10005;t.a22=10006;t.a23=10007;t.a24=10008;t.a25=10009;t.a26=10010;t.a27=10011;t.a28=10012;t.a6=10013;t.a7=10014;t.a8=10015;t.a9=10016;t.a10=10017;t.a29=10018;t.a30=10019;t.a31=10020;t.a32=10021;t.a33=10022;t.a34=10023;t.a35=9733;t.a36=10025;t.a37=10026;t.a38=10027;t.a39=10028;t.a40=10029;t.a41=10030;t.a42=10031;t.a43=10032;t.a44=10033;t.a45=10034;t.a46=10035;t.a47=10036;t.a48=10037;t.a49=10038;t.a50=10039;t.a51=10040;t.a52=10041;t.a53=10042;t.a54=10043;t.a55=10044;t.a56=10045;t.a57=10046;
t.a58=10047;t.a59=10048;t.a60=10049;t.a61=10050;t.a62=10051;t.a63=10052;t.a64=10053;t.a65=10054;t.a66=10055;t.a67=10056;t.a68=10057;t.a69=10058;t.a70=10059;t.a71=9679;t.a72=10061;t.a73=9632;t.a74=10063;t.a203=10064;t.a75=10065;t.a204=10066;t.a76=9650;t.a77=9660;t.a78=9670;t.a79=10070;t.a81=9687;t.a82=10072;t.a83=10073;t.a84=10074;t.a97=10075;t.a98=10076;t.a99=10077;t.a100=10078;t.a101=10081;t.a102=10082;t.a103=10083;t.a104=10084;t.a106=10085;t.a107=10086;t.a108=10087;t.a112=9827;t.a111=9830;t.a110=
9829;t.a109=9824;t.a120=9312;t.a121=9313;t.a122=9314;t.a123=9315;t.a124=9316;t.a125=9317;t.a126=9318;t.a127=9319;t.a128=9320;t.a129=9321;t.a130=10102;t.a131=10103;t.a132=10104;t.a133=10105;t.a134=10106;t.a135=10107;t.a136=10108;t.a137=10109;t.a138=10110;t.a139=10111;t.a140=10112;t.a141=10113;t.a142=10114;t.a143=10115;t.a144=10116;t.a145=10117;t.a146=10118;t.a147=10119;t.a148=10120;t.a149=10121;t.a150=10122;t.a151=10123;t.a152=10124;t.a153=10125;t.a154=10126;t.a155=10127;t.a156=10128;t.a157=10129;
t.a158=10130;t.a159=10131;t.a160=10132;t.a161=8594;t.a163=8596;t.a164=8597;t.a196=10136;t.a165=10137;t.a192=10138;t.a166=10139;t.a167=10140;t.a168=10141;t.a169=10142;t.a170=10143;t.a171=10144;t.a172=10145;t.a173=10146;t.a162=10147;t.a174=10148;t.a175=10149;t.a176=10150;t.a177=10151;t.a178=10152;t.a179=10153;t.a193=10154;t.a180=10155;t.a199=10156;t.a181=10157;t.a200=10158;t.a182=10159;t.a201=10161;t.a183=10162;t.a184=10163;t.a197=10164;t.a185=10165;t.a194=10166;t.a198=10167;t.a186=10168;t.a195=10169;
t.a187=10170;t.a188=10171;t.a189=10172;t.a190=10173;t.a191=10174;t.a89=10088;t.a90=10089;t.a93=10090;t.a94=10091;t.a91=10092;t.a92=10093;t.a205=10094;t.a85=10095;t.a206=10096;t.a86=10097;t.a87=10098;t.a88=10099;t.a95=10100;t.a96=10101;t[".notdef"]=0});exports.getGlyphsUnicode=module;exports.getDingbatsGlyphsUnicode=__w_pdfjs_require__},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});exports.getSupplementalGlyphMapForCalibri=exports.getSupplementalGlyphMapForArialBlack=
exports.getGlyphMapForStandardFonts=exports.getSymbolsFonts=exports.getSerifFonts=exports.getNonStdFontMap=exports.getStdFontMap=void 0;module=__w_pdfjs_require__(191);__w_pdfjs_require__=(0,module.getLookupTableFactory)(function(t){t.ArialNarrow="Helvetica";t["ArialNarrow-Bold"]="Helvetica-Bold";t["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique";t["ArialNarrow-Italic"]="Helvetica-Oblique";t.ArialBlack="Helvetica";t["ArialBlack-Bold"]="Helvetica-Bold";t["ArialBlack-BoldItalic"]="Helvetica-BoldOblique";
t["ArialBlack-Italic"]="Helvetica-Oblique";t["Arial-Black"]="Helvetica";t["Arial-Black-Bold"]="Helvetica-Bold";t["Arial-Black-BoldItalic"]="Helvetica-BoldOblique";t["Arial-Black-Italic"]="Helvetica-Oblique";t.Arial="Helvetica";t["Arial-Bold"]="Helvetica-Bold";t["Arial-BoldItalic"]="Helvetica-BoldOblique";t["Arial-Italic"]="Helvetica-Oblique";t["Arial-BoldItalicMT"]="Helvetica-BoldOblique";t["Arial-BoldMT"]="Helvetica-Bold";t["Arial-ItalicMT"]="Helvetica-Oblique";t.ArialMT="Helvetica";t["Courier-Bold"]=
"Courier-Bold";t["Courier-BoldItalic"]="Courier-BoldOblique";t["Courier-Italic"]="Courier-Oblique";t.CourierNew="Courier";t["CourierNew-Bold"]="Courier-Bold";t["CourierNew-BoldItalic"]="Courier-BoldOblique";t["CourierNew-Italic"]="Courier-Oblique";t["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique";t["CourierNewPS-BoldMT"]="Courier-Bold";t["CourierNewPS-ItalicMT"]="Courier-Oblique";t.CourierNewPSMT="Courier";t.Helvetica="Helvetica";t["Helvetica-Bold"]="Helvetica-Bold";t["Helvetica-BoldItalic"]="Helvetica-BoldOblique";
t["Helvetica-BoldOblique"]="Helvetica-BoldOblique";t["Helvetica-Italic"]="Helvetica-Oblique";t["Helvetica-Oblique"]="Helvetica-Oblique";t["Symbol-Bold"]="Symbol";t["Symbol-BoldItalic"]="Symbol";t["Symbol-Italic"]="Symbol";t.TimesNewRoman="Times-Roman";t["TimesNewRoman-Bold"]="Times-Bold";t["TimesNewRoman-BoldItalic"]="Times-BoldItalic";t["TimesNewRoman-Italic"]="Times-Italic";t.TimesNewRomanPS="Times-Roman";t["TimesNewRomanPS-Bold"]="Times-Bold";t["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic";
t["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic";t["TimesNewRomanPS-BoldMT"]="Times-Bold";t["TimesNewRomanPS-Italic"]="Times-Italic";t["TimesNewRomanPS-ItalicMT"]="Times-Italic";t.TimesNewRomanPSMT="Times-Roman";t["TimesNewRomanPSMT-Bold"]="Times-Bold";t["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic";t["TimesNewRomanPSMT-Italic"]="Times-Italic"});exports.getStdFontMap=__w_pdfjs_require__;__w_pdfjs_require__=(0,module.getLookupTableFactory)(function(t){t.Calibri="Helvetica";t["Calibri-Bold"]=
"Helvetica-Bold";t["Calibri-BoldItalic"]="Helvetica-BoldOblique";t["Calibri-Italic"]="Helvetica-Oblique";t.CenturyGothic="Helvetica";t["CenturyGothic-Bold"]="Helvetica-Bold";t["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique";t["CenturyGothic-Italic"]="Helvetica-Oblique";t.ComicSansMS="Comic Sans MS";t["ComicSansMS-Bold"]="Comic Sans MS-Bold";t["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic";t["ComicSansMS-Italic"]="Comic Sans MS-Italic";t.LucidaConsole="Courier";t["LucidaConsole-Bold"]="Courier-Bold";
t["LucidaConsole-BoldItalic"]="Courier-BoldOblique";t["LucidaConsole-Italic"]="Courier-Oblique";t["LucidaSans-Demi"]="Helvetica-Bold";t["MS-Gothic"]="MS Gothic";t["MS-Gothic-Bold"]="MS Gothic-Bold";t["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic";t["MS-Gothic-Italic"]="MS Gothic-Italic";t["MS-Mincho"]="MS Mincho";t["MS-Mincho-Bold"]="MS Mincho-Bold";t["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic";t["MS-Mincho-Italic"]="MS Mincho-Italic";t["MS-PGothic"]="MS PGothic";t["MS-PGothic-Bold"]="MS PGothic-Bold";
t["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic";t["MS-PGothic-Italic"]="MS PGothic-Italic";t["MS-PMincho"]="MS PMincho";t["MS-PMincho-Bold"]="MS PMincho-Bold";t["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic";t["MS-PMincho-Italic"]="MS PMincho-Italic";t.NuptialScript="Times-Italic";t.SegoeUISymbol="Helvetica";t.Wingdings="ZapfDingbats"});exports.getNonStdFontMap=__w_pdfjs_require__;__w_pdfjs_require__=(0,module.getLookupTableFactory)(function(t){t["Adobe Jenson"]=!0;t["Adobe Text"]=!0;t.Albertus=
!0;t.Aldus=!0;t.Alexandria=!0;t.Algerian=!0;t["American Typewriter"]=!0;t.Antiqua=!0;t.Apex=!0;t.Arno=!0;t.Aster=!0;t.Aurora=!0;t.Baskerville=!0;t.Bell=!0;t.Bembo=!0;t["Bembo Schoolbook"]=!0;t.Benguiat=!0;t["Berkeley Old Style"]=!0;t["Bernhard Modern"]=!0;t["Berthold City"]=!0;t.Bodoni=!0;t["Bauer Bodoni"]=!0;t["Book Antiqua"]=!0;t.Bookman=!0;t["Bordeaux Roman"]=!0;t["Californian FB"]=!0;t.Calisto=!0;t.Calvert=!0;t.Capitals=!0;t.Cambria=!0;t.Cartier=!0;t.Caslon=!0;t.Catull=!0;t.Centaur=!0;t["Century Old Style"]=
!0;t["Century Schoolbook"]=!0;t.Chaparral=!0;t["Charis SIL"]=!0;t.Cheltenham=!0;t["Cholla Slab"]=!0;t.Clarendon=!0;t.Clearface=!0;t.Cochin=!0;t.Colonna=!0;t["Computer Modern"]=!0;t["Concrete Roman"]=!0;t.Constantia=!0;t["Cooper Black"]=!0;t.Corona=!0;t.Ecotype=!0;t.Egyptienne=!0;t.Elephant=!0;t.Excelsior=!0;t.Fairfield=!0;t["FF Scala"]=!0;t.Folkard=!0;t.Footlight=!0;t.FreeSerif=!0;t["Friz Quadrata"]=!0;t.Garamond=!0;t.Gentium=!0;t.Georgia=!0;t.Gloucester=!0;t["Goudy Old Style"]=!0;t["Goudy Schoolbook"]=
!0;t["Goudy Pro Font"]=!0;t.Granjon=!0;t["Guardian Egyptian"]=!0;t.Heather=!0;t.Hercules=!0;t["High Tower Text"]=!0;t.Hiroshige=!0;t["Hoefler Text"]=!0;t["Humana Serif"]=!0;t.Imprint=!0;t["Ionic No. 5"]=!0;t.Janson=!0;t.Joanna=!0;t.Korinna=!0;t.Lexicon=!0;t["Liberation Serif"]=!0;t["Linux Libertine"]=!0;t.Literaturnaya=!0;t.Lucida=!0;t["Lucida Bright"]=!0;t.Melior=!0;t.Memphis=!0;t.Miller=!0;t.Minion=!0;t.Modern=!0;t["Mona Lisa"]=!0;t["Mrs Eaves"]=!0;t["MS Serif"]=!0;t["Museo Slab"]=!0;t["New York"]=
!0;t["Nimbus Roman"]=!0;t["NPS Rawlinson Roadway"]=!0;t.NuptialScript=!0;t.Palatino=!0;t.Perpetua=!0;t.Plantin=!0;t["Plantin Schoolbook"]=!0;t.Playbill=!0;t["Poor Richard"]=!0;t["Rawlinson Roadway"]=!0;t.Renault=!0;t.Requiem=!0;t.Rockwell=!0;t.Roman=!0;t["Rotis Serif"]=!0;t.Sabon=!0;t.Scala=!0;t.Seagull=!0;t.Sistina=!0;t.Souvenir=!0;t.STIX=!0;t["Stone Informal"]=!0;t["Stone Serif"]=!0;t.Sylfaen=!0;t.Times=!0;t.Trajan=!0;t["Trinit\u00e9"]=!0;t["Trump Mediaeval"]=!0;t.Utopia=!0;t["Vale Type"]=!0;t["Bitstream Vera"]=
!0;t["Vera Serif"]=!0;t.Versailles=!0;t.Wanted=!0;t.Weiss=!0;t["Wide Latin"]=!0;t.Windsor=!0;t.XITS=!0});exports.getSerifFonts=__w_pdfjs_require__;__w_pdfjs_require__=(0,module.getLookupTableFactory)(function(t){t.Dingbats=!0;t.Symbol=!0;t.ZapfDingbats=!0});exports.getSymbolsFonts=__w_pdfjs_require__;__w_pdfjs_require__=(0,module.getLookupTableFactory)(function(t){t[2]=10;t[3]=32;t[4]=33;t[5]=34;t[6]=35;t[7]=36;t[8]=37;t[9]=38;t[10]=39;t[11]=40;t[12]=41;t[13]=42;t[14]=43;t[15]=44;t[16]=45;t[17]=46;
t[18]=47;t[19]=48;t[20]=49;t[21]=50;t[22]=51;t[23]=52;t[24]=53;t[25]=54;t[26]=55;t[27]=56;t[28]=57;t[29]=58;t[30]=894;t[31]=60;t[32]=61;t[33]=62;t[34]=63;t[35]=64;t[36]=65;t[37]=66;t[38]=67;t[39]=68;t[40]=69;t[41]=70;t[42]=71;t[43]=72;t[44]=73;t[45]=74;t[46]=75;t[47]=76;t[48]=77;t[49]=78;t[50]=79;t[51]=80;t[52]=81;t[53]=82;t[54]=83;t[55]=84;t[56]=85;t[57]=86;t[58]=87;t[59]=88;t[60]=89;t[61]=90;t[62]=91;t[63]=92;t[64]=93;t[65]=94;t[66]=95;t[67]=96;t[68]=97;t[69]=98;t[70]=99;t[71]=100;t[72]=101;t[73]=
102;t[74]=103;t[75]=104;t[76]=105;t[77]=106;t[78]=107;t[79]=108;t[80]=109;t[81]=110;t[82]=111;t[83]=112;t[84]=113;t[85]=114;t[86]=115;t[87]=116;t[88]=117;t[89]=118;t[90]=119;t[91]=120;t[92]=121;t[93]=122;t[94]=123;t[95]=124;t[96]=125;t[97]=126;t[98]=196;t[99]=197;t[100]=199;t[101]=201;t[102]=209;t[103]=214;t[104]=220;t[105]=225;t[106]=224;t[107]=226;t[108]=228;t[109]=227;t[110]=229;t[111]=231;t[112]=233;t[113]=232;t[114]=234;t[115]=235;t[116]=237;t[117]=236;t[118]=238;t[119]=239;t[120]=241;t[121]=
243;t[122]=242;t[123]=244;t[124]=246;t[125]=245;t[126]=250;t[127]=249;t[128]=251;t[129]=252;t[130]=8224;t[131]=176;t[132]=162;t[133]=163;t[134]=167;t[135]=8226;t[136]=182;t[137]=223;t[138]=174;t[139]=169;t[140]=8482;t[141]=180;t[142]=168;t[143]=8800;t[144]=198;t[145]=216;t[146]=8734;t[147]=177;t[148]=8804;t[149]=8805;t[150]=165;t[151]=181;t[152]=8706;t[153]=8721;t[154]=8719;t[156]=8747;t[157]=170;t[158]=186;t[159]=8486;t[160]=230;t[161]=248;t[162]=191;t[163]=161;t[164]=172;t[165]=8730;t[166]=402;
t[167]=8776;t[168]=8710;t[169]=171;t[170]=187;t[171]=8230;t[210]=218;t[223]=711;t[224]=321;t[225]=322;t[227]=353;t[229]=382;t[234]=253;t[252]=263;t[253]=268;t[254]=269;t[258]=258;t[260]=260;t[261]=261;t[265]=280;t[266]=281;t[268]=283;t[269]=313;t[275]=323;t[276]=324;t[278]=328;t[284]=345;t[285]=346;t[286]=347;t[292]=367;t[295]=377;t[296]=378;t[298]=380;t[305]=963;t[306]=964;t[307]=966;t[308]=8215;t[309]=8252;t[310]=8319;t[311]=8359;t[312]=8592;t[313]=8593;t[337]=9552;t[493]=1039;t[494]=1040;t[705]=
1524;t[706]=8362;t[710]=64288;t[711]=64298;t[759]=1617;t[761]=1776;t[763]=1778;t[775]=1652;t[777]=1764;t[778]=1780;t[779]=1781;t[780]=1782;t[782]=771;t[783]=64726;t[786]=8363;t[788]=8532;t[790]=768;t[791]=769;t[792]=768;t[795]=803;t[797]=64336;t[798]=64337;t[799]=64342;t[800]=64343;t[801]=64344;t[802]=64345;t[803]=64362;t[804]=64363;t[805]=64364;t[2424]=7821;t[2425]=7822;t[2426]=7823;t[2427]=7824;t[2428]=7825;t[2429]=7826;t[2430]=7827;t[2433]=7682;t[2678]=8045;t[2679]=8046;t[2830]=1552;t[2838]=686;
t[2840]=751;t[2842]=753;t[2843]=754;t[2844]=755;t[2846]=757;t[2856]=767;t[2857]=848;t[2858]=849;t[2862]=853;t[2863]=854;t[2864]=855;t[2865]=861;t[2866]=862;t[2906]=7460;t[2908]=7462;t[2909]=7463;t[2910]=7464;t[2912]=7466;t[2913]=7467;t[2914]=7468;t[2916]=7470;t[2917]=7471;t[2918]=7472;t[2920]=7474;t[2921]=7475;t[2922]=7476;t[2924]=7478;t[2925]=7479;t[2926]=7480;t[2928]=7482;t[2929]=7483;t[2930]=7484;t[2932]=7486;t[2933]=7487;t[2934]=7488;t[2936]=7490;t[2937]=7491;t[2938]=7492;t[2940]=7494;t[2941]=
7495;t[2942]=7496;t[2944]=7498;t[2946]=7500;t[2948]=7502;t[2950]=7504;t[2951]=7505;t[2952]=7506;t[2954]=7508;t[2955]=7509;t[2956]=7510;t[2958]=7512;t[2959]=7513;t[2960]=7514;t[2962]=7516;t[2963]=7517;t[2964]=7518;t[2966]=7520;t[2967]=7521;t[2968]=7522;t[2970]=7524;t[2971]=7525;t[2972]=7526;t[2974]=7528;t[2975]=7529;t[2976]=7530;t[2978]=1537;t[2979]=1538;t[2980]=1539;t[2982]=1549;t[2983]=1551;t[2984]=1552;t[2986]=1554;t[2987]=1555;t[2988]=1556;t[2990]=1623;t[2991]=1624;t[2995]=1775;t[2999]=1791;t[3002]=
64290;t[3003]=64291;t[3004]=64292;t[3006]=64294;t[3007]=64295;t[3008]=64296;t[3011]=1900;t[3014]=8223;t[3015]=8244;t[3017]=7532;t[3018]=7533;t[3019]=7534;t[3075]=7590;t[3076]=7591;t[3079]=7594;t[3080]=7595;t[3083]=7598;t[3084]=7599;t[3087]=7602;t[3088]=7603;t[3091]=7606;t[3092]=7607;t[3095]=7610;t[3096]=7611;t[3099]=7614;t[3100]=7615;t[3103]=7618;t[3104]=7619;t[3107]=8337;t[3108]=8338;t[3116]=1884;t[3119]=1885;t[3120]=1885;t[3123]=1886;t[3124]=1886;t[3127]=1887;t[3128]=1887;t[3131]=1888;t[3132]=1888;
t[3135]=1889;t[3136]=1889;t[3139]=1890;t[3140]=1890;t[3143]=1891;t[3144]=1891;t[3147]=1892;t[3148]=1892;t[3153]=580;t[3154]=581;t[3157]=584;t[3158]=585;t[3161]=588;t[3162]=589;t[3165]=891;t[3166]=892;t[3169]=1274;t[3170]=1275;t[3173]=1278;t[3174]=1279;t[3181]=7622;t[3182]=7623;t[3282]=11799;t[3316]=578;t[3379]=42785;t[3393]=1159;t[3416]=8377});exports.getGlyphMapForStandardFonts=__w_pdfjs_require__;__w_pdfjs_require__=(0,module.getLookupTableFactory)(function(t){t[227]=322;t[264]=261;t[291]=346});
exports.getSupplementalGlyphMapForArialBlack=__w_pdfjs_require__;module=(0,module.getLookupTableFactory)(function(t){t[1]=32;t[4]=65;t[17]=66;t[18]=67;t[24]=68;t[28]=69;t[38]=70;t[39]=71;t[44]=72;t[47]=73;t[58]=74;t[60]=75;t[62]=76;t[68]=77;t[69]=78;t[75]=79;t[87]=80;t[89]=81;t[90]=82;t[94]=83;t[100]=84;t[104]=85;t[115]=86;t[116]=87;t[121]=88;t[122]=89;t[127]=90;t[258]=97;t[268]=261;t[271]=98;t[272]=99;t[273]=263;t[282]=100;t[286]=101;t[295]=281;t[296]=102;t[336]=103;t[346]=104;t[349]=105;t[361]=
106;t[364]=107;t[367]=108;t[371]=322;t[373]=109;t[374]=110;t[381]=111;t[383]=243;t[393]=112;t[395]=113;t[396]=114;t[400]=115;t[401]=347;t[410]=116;t[437]=117;t[448]=118;t[449]=119;t[454]=120;t[455]=121;t[460]=122;t[463]=380;t[853]=44;t[855]=58;t[856]=46;t[876]=47;t[878]=45;t[882]=45;t[894]=40;t[895]=41;t[896]=91;t[897]=93;t[923]=64;t[1004]=48;t[1005]=49;t[1006]=50;t[1007]=51;t[1008]=52;t[1009]=53;t[1010]=54;t[1011]=55;t[1012]=56;t[1013]=57;t[1081]=37;t[1085]=43;t[1086]=45});exports.getSupplementalGlyphMapForCalibri=
module},function(module,exports,__w_pdfjs_require__){module=__w_pdfjs_require__(191).getLookupTableFactory;var getSpecialPUASymbols=module(function(t){t[63721]=169;t[63193]=169;t[63720]=174;t[63194]=174;t[63722]=8482;t[63195]=8482;t[63729]=9127;t[63730]=9128;t[63731]=9129;t[63740]=9131;t[63741]=9132;t[63742]=9133;t[63726]=9121;t[63727]=9122;t[63728]=9123;t[63737]=9124;t[63738]=9125;t[63739]=9126;t[63723]=9115;t[63724]=9116;t[63725]=9117;t[63734]=9118;t[63735]=9119;t[63736]=9120}),UnicodeRanges=[{begin:0,
end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},
{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},
{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},
{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},
{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},
{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66E3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];module=module(function(t){t["\u00a8"]=" \u0308";t["\u00af"]=" \u0304";t["\u00b4"]=" \u0301";t["\u00b5"]="\u03bc";t["\u00b8"]=" \u0327";t["\u0132"]="IJ";t["\u0133"]="ij";t["\u013f"]="L\u00b7";t["\u0140"]="l\u00b7";t["\u0149"]=
"\u02bcn";t["\u017f"]="s";t["\u01c4"]="D\u017d";t["\u01c5"]="D\u017e";t["\u01c6"]="d\u017e";t["\u01c7"]="LJ";t["\u01c8"]="Lj";t["\u01c9"]="lj";t["\u01ca"]="NJ";t["\u01cb"]="Nj";t["\u01cc"]="nj";t["\u01f1"]="DZ";t["\u01f2"]="Dz";t["\u01f3"]="dz";t["\u02d8"]=" \u0306";t["\u02d9"]=" \u0307";t["\u02da"]=" \u030a";t["\u02db"]=" \u0328";t["\u02dc"]=" \u0303";t["\u02dd"]=" \u030b";t["\u037a"]=" \u0345";t["\u0384"]=" \u0301";t["\u03d0"]="\u03b2";t["\u03d1"]="\u03b8";t["\u03d2"]="\u03a5";t["\u03d5"]="\u03c6";
t["\u03d6"]="\u03c0";t["\u03f0"]="\u03ba";t["\u03f1"]="\u03c1";t["\u03f2"]="\u03c2";t["\u03f4"]="\u0398";t["\u03f5"]="\u03b5";t["\u03f9"]="\u03a3";t["\u0587"]="\u0565\u0582";t["\u0675"]="\u0627\u0674";t["\u0676"]="\u0648\u0674";t["\u0677"]="\u06c7\u0674";t["\u0678"]="\u064a\u0674";t["\u0e33"]="\u0e4d\u0e32";t["\u0eb3"]="\u0ecd\u0eb2";t["\u0edc"]="\u0eab\u0e99";t["\u0edd"]="\u0eab\u0ea1";t["\u0f77"]="\u0fb2\u0f81";t["\u0f79"]="\u0fb3\u0f81";t["\u1e9a"]="a\u02be";t["\u1fbd"]=" \u0313";t["\u1fbf"]=" \u0313";
t["\u1fc0"]=" \u0342";t["\u1ffe"]=" \u0314";t["\u2002"]=" ";t["\u2003"]=" ";t["\u2004"]=" ";t["\u2005"]=" ";t["\u2006"]=" ";t["\u2008"]=" ";t["\u2009"]=" ";t["\u200a"]=" ";t["\u2017"]=" \u0333";t["\u2024"]=".";t["\u2025"]="..";t["\u2026"]="...";t["\u2033"]="\u2032\u2032";t["\u2034"]="\u2032\u2032\u2032";t["\u2036"]="\u2035\u2035";t["\u2037"]="\u2035\u2035\u2035";t["\u203c"]="!!";t["\u203e"]=" \u0305";t["\u2047"]="??";t["\u2048"]="?!";t["\u2049"]="!?";t["\u2057"]="\u2032\u2032\u2032\u2032";t["\u205f"]=
" ";t["\u20a8"]="Rs";t["\u2100"]="a/c";t["\u2101"]="a/s";t["\u2103"]="\u00b0C";t["\u2105"]="c/o";t["\u2106"]="c/u";t["\u2107"]="\u0190";t["\u2109"]="\u00b0F";t["\u2116"]="No";t["\u2121"]="TEL";t["\u2135"]="\u05d0";t["\u2136"]="\u05d1";t["\u2137"]="\u05d2";t["\u2138"]="\u05d3";t["\u213b"]="FAX";t["\u2160"]="I";t["\u2161"]="II";t["\u2162"]="III";t["\u2163"]="IV";t["\u2164"]="V";t["\u2165"]="VI";t["\u2166"]="VII";t["\u2167"]="VIII";t["\u2168"]="IX";t["\u2169"]="X";t["\u216a"]="XI";t["\u216b"]="XII";
t["\u216c"]="L";t["\u216d"]="C";t["\u216e"]="D";t["\u216f"]="M";t["\u2170"]="i";t["\u2171"]="ii";t["\u2172"]="iii";t["\u2173"]="iv";t["\u2174"]="v";t["\u2175"]="vi";t["\u2176"]="vii";t["\u2177"]="viii";t["\u2178"]="ix";t["\u2179"]="x";t["\u217a"]="xi";t["\u217b"]="xii";t["\u217c"]="l";t["\u217d"]="c";t["\u217e"]="d";t["\u217f"]="m";t["\u222c"]="\u222b\u222b";t["\u222d"]="\u222b\u222b\u222b";t["\u222f"]="\u222e\u222e";t["\u2230"]="\u222e\u222e\u222e";t["\u2474"]="(1)";t["\u2475"]="(2)";t["\u2476"]=
"(3)";t["\u2477"]="(4)";t["\u2478"]="(5)";t["\u2479"]="(6)";t["\u247a"]="(7)";t["\u247b"]="(8)";t["\u247c"]="(9)";t["\u247d"]="(10)";t["\u247e"]="(11)";t["\u247f"]="(12)";t["\u2480"]="(13)";t["\u2481"]="(14)";t["\u2482"]="(15)";t["\u2483"]="(16)";t["\u2484"]="(17)";t["\u2485"]="(18)";t["\u2486"]="(19)";t["\u2487"]="(20)";t["\u2488"]="1.";t["\u2489"]="2.";t["\u248a"]="3.";t["\u248b"]="4.";t["\u248c"]="5.";t["\u248d"]="6.";t["\u248e"]="7.";t["\u248f"]="8.";t["\u2490"]="9.";t["\u2491"]="10.";t["\u2492"]=
"11.";t["\u2493"]="12.";t["\u2494"]="13.";t["\u2495"]="14.";t["\u2496"]="15.";t["\u2497"]="16.";t["\u2498"]="17.";t["\u2499"]="18.";t["\u249a"]="19.";t["\u249b"]="20.";t["\u249c"]="(a)";t["\u249d"]="(b)";t["\u249e"]="(c)";t["\u249f"]="(d)";t["\u24a0"]="(e)";t["\u24a1"]="(f)";t["\u24a2"]="(g)";t["\u24a3"]="(h)";t["\u24a4"]="(i)";t["\u24a5"]="(j)";t["\u24a6"]="(k)";t["\u24a7"]="(l)";t["\u24a8"]="(m)";t["\u24a9"]="(n)";t["\u24aa"]="(o)";t["\u24ab"]="(p)";t["\u24ac"]="(q)";t["\u24ad"]="(r)";t["\u24ae"]=
"(s)";t["\u24af"]="(t)";t["\u24b0"]="(u)";t["\u24b1"]="(v)";t["\u24b2"]="(w)";t["\u24b3"]="(x)";t["\u24b4"]="(y)";t["\u24b5"]="(z)";t["\u2a0c"]="\u222b\u222b\u222b\u222b";t["\u2a74"]="::=";t["\u2a75"]="==";t["\u2a76"]="===";t["\u2e9f"]="\u6bcd";t["\u2ef3"]="\u9f9f";t["\u2f00"]="\u4e00";t["\u2f01"]="\u4e28";t["\u2f02"]="\u4e36";t["\u2f03"]="\u4e3f";t["\u2f04"]="\u4e59";t["\u2f05"]="\u4e85";t["\u2f06"]="\u4e8c";t["\u2f07"]="\u4ea0";t["\u2f08"]="\u4eba";t["\u2f09"]="\u513f";t["\u2f0a"]="\u5165";t["\u2f0b"]=
"\u516b";t["\u2f0c"]="\u5182";t["\u2f0d"]="\u5196";t["\u2f0e"]="\u51ab";t["\u2f0f"]="\u51e0";t["\u2f10"]="\u51f5";t["\u2f11"]="\u5200";t["\u2f12"]="\u529b";t["\u2f13"]="\u52f9";t["\u2f14"]="\u5315";t["\u2f15"]="\u531a";t["\u2f16"]="\u5338";t["\u2f17"]="\u5341";t["\u2f18"]="\u535c";t["\u2f19"]="\u5369";t["\u2f1a"]="\u5382";t["\u2f1b"]="\u53b6";t["\u2f1c"]="\u53c8";t["\u2f1d"]="\u53e3";t["\u2f1e"]="\u56d7";t["\u2f1f"]="\u571f";t["\u2f20"]="\u58eb";t["\u2f21"]="\u5902";t["\u2f22"]="\u590a";t["\u2f23"]=
"\u5915";t["\u2f24"]="\u5927";t["\u2f25"]="\u5973";t["\u2f26"]="\u5b50";t["\u2f27"]="\u5b80";t["\u2f28"]="\u5bf8";t["\u2f29"]="\u5c0f";t["\u2f2a"]="\u5c22";t["\u2f2b"]="\u5c38";t["\u2f2c"]="\u5c6e";t["\u2f2d"]="\u5c71";t["\u2f2e"]="\u5ddb";t["\u2f2f"]="\u5de5";t["\u2f30"]="\u5df1";t["\u2f31"]="\u5dfe";t["\u2f32"]="\u5e72";t["\u2f33"]="\u5e7a";t["\u2f34"]="\u5e7f";t["\u2f35"]="\u5ef4";t["\u2f36"]="\u5efe";t["\u2f37"]="\u5f0b";t["\u2f38"]="\u5f13";t["\u2f39"]="\u5f50";t["\u2f3a"]="\u5f61";t["\u2f3b"]=
"\u5f73";t["\u2f3c"]="\u5fc3";t["\u2f3d"]="\u6208";t["\u2f3e"]="\u6236";t["\u2f3f"]="\u624b";t["\u2f40"]="\u652f";t["\u2f41"]="\u6534";t["\u2f42"]="\u6587";t["\u2f43"]="\u6597";t["\u2f44"]="\u65a4";t["\u2f45"]="\u65b9";t["\u2f46"]="\u65e0";t["\u2f47"]="\u65e5";t["\u2f48"]="\u66f0";t["\u2f49"]="\u6708";t["\u2f4a"]="\u6728";t["\u2f4b"]="\u6b20";t["\u2f4c"]="\u6b62";t["\u2f4d"]="\u6b79";t["\u2f4e"]="\u6bb3";t["\u2f4f"]="\u6bcb";t["\u2f50"]="\u6bd4";t["\u2f51"]="\u6bdb";t["\u2f52"]="\u6c0f";t["\u2f53"]=
"\u6c14";t["\u2f54"]="\u6c34";t["\u2f55"]="\u706b";t["\u2f56"]="\u722a";t["\u2f57"]="\u7236";t["\u2f58"]="\u723b";t["\u2f59"]="\u723f";t["\u2f5a"]="\u7247";t["\u2f5b"]="\u7259";t["\u2f5c"]="\u725b";t["\u2f5d"]="\u72ac";t["\u2f5e"]="\u7384";t["\u2f5f"]="\u7389";t["\u2f60"]="\u74dc";t["\u2f61"]="\u74e6";t["\u2f62"]="\u7518";t["\u2f63"]="\u751f";t["\u2f64"]="\u7528";t["\u2f65"]="\u7530";t["\u2f66"]="\u758b";t["\u2f67"]="\u7592";t["\u2f68"]="\u7676";t["\u2f69"]="\u767d";t["\u2f6a"]="\u76ae";t["\u2f6b"]=
"\u76bf";t["\u2f6c"]="\u76ee";t["\u2f6d"]="\u77db";t["\u2f6e"]="\u77e2";t["\u2f6f"]="\u77f3";t["\u2f70"]="\u793a";t["\u2f71"]="\u79b8";t["\u2f72"]="\u79be";t["\u2f73"]="\u7a74";t["\u2f74"]="\u7acb";t["\u2f75"]="\u7af9";t["\u2f76"]="\u7c73";t["\u2f77"]="\u7cf8";t["\u2f78"]="\u7f36";t["\u2f79"]="\u7f51";t["\u2f7a"]="\u7f8a";t["\u2f7b"]="\u7fbd";t["\u2f7c"]="\u8001";t["\u2f7d"]="\u800c";t["\u2f7e"]="\u8012";t["\u2f7f"]="\u8033";t["\u2f80"]="\u807f";t["\u2f81"]="\u8089";t["\u2f82"]="\u81e3";t["\u2f83"]=
"\u81ea";t["\u2f84"]="\u81f3";t["\u2f85"]="\u81fc";t["\u2f86"]="\u820c";t["\u2f87"]="\u821b";t["\u2f88"]="\u821f";t["\u2f89"]="\u826e";t["\u2f8a"]="\u8272";t["\u2f8b"]="\u8278";t["\u2f8c"]="\u864d";t["\u2f8d"]="\u866b";t["\u2f8e"]="\u8840";t["\u2f8f"]="\u884c";t["\u2f90"]="\u8863";t["\u2f91"]="\u897e";t["\u2f92"]="\u898b";t["\u2f93"]="\u89d2";t["\u2f94"]="\u8a00";t["\u2f95"]="\u8c37";t["\u2f96"]="\u8c46";t["\u2f97"]="\u8c55";t["\u2f98"]="\u8c78";t["\u2f99"]="\u8c9d";t["\u2f9a"]="\u8d64";t["\u2f9b"]=
"\u8d70";t["\u2f9c"]="\u8db3";t["\u2f9d"]="\u8eab";t["\u2f9e"]="\u8eca";t["\u2f9f"]="\u8f9b";t["\u2fa0"]="\u8fb0";t["\u2fa1"]="\u8fb5";t["\u2fa2"]="\u9091";t["\u2fa3"]="\u9149";t["\u2fa4"]="\u91c6";t["\u2fa5"]="\u91cc";t["\u2fa6"]="\u91d1";t["\u2fa7"]="\u9577";t["\u2fa8"]="\u9580";t["\u2fa9"]="\u961c";t["\u2faa"]="\u96b6";t["\u2fab"]="\u96b9";t["\u2fac"]="\u96e8";t["\u2fad"]="\u9751";t["\u2fae"]="\u975e";t["\u2faf"]="\u9762";t["\u2fb0"]="\u9769";t["\u2fb1"]="\u97cb";t["\u2fb2"]="\u97ed";t["\u2fb3"]=
"\u97f3";t["\u2fb4"]="\u9801";t["\u2fb5"]="\u98a8";t["\u2fb6"]="\u98db";t["\u2fb7"]="\u98df";t["\u2fb8"]="\u9996";t["\u2fb9"]="\u9999";t["\u2fba"]="\u99ac";t["\u2fbb"]="\u9aa8";t["\u2fbc"]="\u9ad8";t["\u2fbd"]="\u9adf";t["\u2fbe"]="\u9b25";t["\u2fbf"]="\u9b2f";t["\u2fc0"]="\u9b32";t["\u2fc1"]="\u9b3c";t["\u2fc2"]="\u9b5a";t["\u2fc3"]="\u9ce5";t["\u2fc4"]="\u9e75";t["\u2fc5"]="\u9e7f";t["\u2fc6"]="\u9ea5";t["\u2fc7"]="\u9ebb";t["\u2fc8"]="\u9ec3";t["\u2fc9"]="\u9ecd";t["\u2fca"]="\u9ed1";t["\u2fcb"]=
"\u9ef9";t["\u2fcc"]="\u9efd";t["\u2fcd"]="\u9f0e";t["\u2fce"]="\u9f13";t["\u2fcf"]="\u9f20";t["\u2fd0"]="\u9f3b";t["\u2fd1"]="\u9f4a";t["\u2fd2"]="\u9f52";t["\u2fd3"]="\u9f8d";t["\u2fd4"]="\u9f9c";t["\u2fd5"]="\u9fa0";t["\u3036"]="\u3012";t["\u3038"]="\u5341";t["\u3039"]="\u5344";t["\u303a"]="\u5345";t["\u309b"]=" \u3099";t["\u309c"]=" \u309a";t["\u3131"]="\u1100";t["\u3132"]="\u1101";t["\u3133"]="\u11aa";t["\u3134"]="\u1102";t["\u3135"]="\u11ac";t["\u3136"]="\u11ad";t["\u3137"]="\u1103";t["\u3138"]=
"\u1104";t["\u3139"]="\u1105";t["\u313a"]="\u11b0";t["\u313b"]="\u11b1";t["\u313c"]="\u11b2";t["\u313d"]="\u11b3";t["\u313e"]="\u11b4";t["\u313f"]="\u11b5";t["\u3140"]="\u111a";t["\u3141"]="\u1106";t["\u3142"]="\u1107";t["\u3143"]="\u1108";t["\u3144"]="\u1121";t["\u3145"]="\u1109";t["\u3146"]="\u110a";t["\u3147"]="\u110b";t["\u3148"]="\u110c";t["\u3149"]="\u110d";t["\u314a"]="\u110e";t["\u314b"]="\u110f";t["\u314c"]="\u1110";t["\u314d"]="\u1111";t["\u314e"]="\u1112";t["\u314f"]="\u1161";t["\u3150"]=
"\u1162";t["\u3151"]="\u1163";t["\u3152"]="\u1164";t["\u3153"]="\u1165";t["\u3154"]="\u1166";t["\u3155"]="\u1167";t["\u3156"]="\u1168";t["\u3157"]="\u1169";t["\u3158"]="\u116a";t["\u3159"]="\u116b";t["\u315a"]="\u116c";t["\u315b"]="\u116d";t["\u315c"]="\u116e";t["\u315d"]="\u116f";t["\u315e"]="\u1170";t["\u315f"]="\u1171";t["\u3160"]="\u1172";t["\u3161"]="\u1173";t["\u3162"]="\u1174";t["\u3163"]="\u1175";t["\u3164"]="\u1160";t["\u3165"]="\u1114";t["\u3166"]="\u1115";t["\u3167"]="\u11c7";t["\u3168"]=
"\u11c8";t["\u3169"]="\u11cc";t["\u316a"]="\u11ce";t["\u316b"]="\u11d3";t["\u316c"]="\u11d7";t["\u316d"]="\u11d9";t["\u316e"]="\u111c";t["\u316f"]="\u11dd";t["\u3170"]="\u11df";t["\u3171"]="\u111d";t["\u3172"]="\u111e";t["\u3173"]="\u1120";t["\u3174"]="\u1122";t["\u3175"]="\u1123";t["\u3176"]="\u1127";t["\u3177"]="\u1129";t["\u3178"]="\u112b";t["\u3179"]="\u112c";t["\u317a"]="\u112d";t["\u317b"]="\u112e";t["\u317c"]="\u112f";t["\u317d"]="\u1132";t["\u317e"]="\u1136";t["\u317f"]="\u1140";t["\u3180"]=
"\u1147";t["\u3181"]="\u114c";t["\u3182"]="\u11f1";t["\u3183"]="\u11f2";t["\u3184"]="\u1157";t["\u3185"]="\u1158";t["\u3186"]="\u1159";t["\u3187"]="\u1184";t["\u3188"]="\u1185";t["\u3189"]="\u1188";t["\u318a"]="\u1191";t["\u318b"]="\u1192";t["\u318c"]="\u1194";t["\u318d"]="\u119e";t["\u318e"]="\u11a1";t["\u3200"]="(\u1100)";t["\u3201"]="(\u1102)";t["\u3202"]="(\u1103)";t["\u3203"]="(\u1105)";t["\u3204"]="(\u1106)";t["\u3205"]="(\u1107)";t["\u3206"]="(\u1109)";t["\u3207"]="(\u110b)";t["\u3208"]="(\u110c)";
t["\u3209"]="(\u110e)";t["\u320a"]="(\u110f)";t["\u320b"]="(\u1110)";t["\u320c"]="(\u1111)";t["\u320d"]="(\u1112)";t["\u320e"]="(\u1100\u1161)";t["\u320f"]="(\u1102\u1161)";t["\u3210"]="(\u1103\u1161)";t["\u3211"]="(\u1105\u1161)";t["\u3212"]="(\u1106\u1161)";t["\u3213"]="(\u1107\u1161)";t["\u3214"]="(\u1109\u1161)";t["\u3215"]="(\u110b\u1161)";t["\u3216"]="(\u110c\u1161)";t["\u3217"]="(\u110e\u1161)";t["\u3218"]="(\u110f\u1161)";t["\u3219"]="(\u1110\u1161)";t["\u321a"]="(\u1111\u1161)";t["\u321b"]=
"(\u1112\u1161)";t["\u321c"]="(\u110c\u116e)";t["\u321d"]="(\u110b\u1169\u110c\u1165\u11ab)";t["\u321e"]="(\u110b\u1169\u1112\u116e)";t["\u3220"]="(\u4e00)";t["\u3221"]="(\u4e8c)";t["\u3222"]="(\u4e09)";t["\u3223"]="(\u56db)";t["\u3224"]="(\u4e94)";t["\u3225"]="(\u516d)";t["\u3226"]="(\u4e03)";t["\u3227"]="(\u516b)";t["\u3228"]="(\u4e5d)";t["\u3229"]="(\u5341)";t["\u322a"]="(\u6708)";t["\u322b"]="(\u706b)";t["\u322c"]="(\u6c34)";t["\u322d"]="(\u6728)";t["\u322e"]="(\u91d1)";t["\u322f"]="(\u571f)";
t["\u3230"]="(\u65e5)";t["\u3231"]="(\u682a)";t["\u3232"]="(\u6709)";t["\u3233"]="(\u793e)";t["\u3234"]="(\u540d)";t["\u3235"]="(\u7279)";t["\u3236"]="(\u8ca1)";t["\u3237"]="(\u795d)";t["\u3238"]="(\u52b4)";t["\u3239"]="(\u4ee3)";t["\u323a"]="(\u547c)";t["\u323b"]="(\u5b66)";t["\u323c"]="(\u76e3)";t["\u323d"]="(\u4f01)";t["\u323e"]="(\u8cc7)";t["\u323f"]="(\u5354)";t["\u3240"]="(\u796d)";t["\u3241"]="(\u4f11)";t["\u3242"]="(\u81ea)";t["\u3243"]="(\u81f3)";t["\u32c0"]="1\u6708";t["\u32c1"]="2\u6708";
t["\u32c2"]="3\u6708";t["\u32c3"]="4\u6708";t["\u32c4"]="5\u6708";t["\u32c5"]="6\u6708";t["\u32c6"]="7\u6708";t["\u32c7"]="8\u6708";t["\u32c8"]="9\u6708";t["\u32c9"]="10\u6708";t["\u32ca"]="11\u6708";t["\u32cb"]="12\u6708";t["\u3358"]="0\u70b9";t["\u3359"]="1\u70b9";t["\u335a"]="2\u70b9";t["\u335b"]="3\u70b9";t["\u335c"]="4\u70b9";t["\u335d"]="5\u70b9";t["\u335e"]="6\u70b9";t["\u335f"]="7\u70b9";t["\u3360"]="8\u70b9";t["\u3361"]="9\u70b9";t["\u3362"]="10\u70b9";t["\u3363"]="11\u70b9";t["\u3364"]=
"12\u70b9";t["\u3365"]="13\u70b9";t["\u3366"]="14\u70b9";t["\u3367"]="15\u70b9";t["\u3368"]="16\u70b9";t["\u3369"]="17\u70b9";t["\u336a"]="18\u70b9";t["\u336b"]="19\u70b9";t["\u336c"]="20\u70b9";t["\u336d"]="21\u70b9";t["\u336e"]="22\u70b9";t["\u336f"]="23\u70b9";t["\u3370"]="24\u70b9";t["\u33e0"]="1\u65e5";t["\u33e1"]="2\u65e5";t["\u33e2"]="3\u65e5";t["\u33e3"]="4\u65e5";t["\u33e4"]="5\u65e5";t["\u33e5"]="6\u65e5";t["\u33e6"]="7\u65e5";t["\u33e7"]="8\u65e5";t["\u33e8"]="9\u65e5";t["\u33e9"]="10\u65e5";
t["\u33ea"]="11\u65e5";t["\u33eb"]="12\u65e5";t["\u33ec"]="13\u65e5";t["\u33ed"]="14\u65e5";t["\u33ee"]="15\u65e5";t["\u33ef"]="16\u65e5";t["\u33f0"]="17\u65e5";t["\u33f1"]="18\u65e5";t["\u33f2"]="19\u65e5";t["\u33f3"]="20\u65e5";t["\u33f4"]="21\u65e5";t["\u33f5"]="22\u65e5";t["\u33f6"]="23\u65e5";t["\u33f7"]="24\u65e5";t["\u33f8"]="25\u65e5";t["\u33f9"]="26\u65e5";t["\u33fa"]="27\u65e5";t["\u33fb"]="28\u65e5";t["\u33fc"]="29\u65e5";t["\u33fd"]="30\u65e5";t["\u33fe"]="31\u65e5";t["\ufb00"]="ff";t["\ufb01"]=
"fi";t["\ufb02"]="fl";t["\ufb03"]="ffi";t["\ufb04"]="ffl";t["\ufb05"]="\u017ft";t["\ufb06"]="st";t["\ufb13"]="\u0574\u0576";t["\ufb14"]="\u0574\u0565";t["\ufb15"]="\u0574\u056b";t["\ufb16"]="\u057e\u0576";t["\ufb17"]="\u0574\u056d";t["\ufb4f"]="\u05d0\u05dc";t["\ufb50"]="\u0671";t["\ufb51"]="\u0671";t["\ufb52"]="\u067b";t["\ufb53"]="\u067b";t["\ufb54"]="\u067b";t["\ufb55"]="\u067b";t["\ufb56"]="\u067e";t["\ufb57"]="\u067e";t["\ufb58"]="\u067e";t["\ufb59"]="\u067e";t["\ufb5a"]="\u0680";t["\ufb5b"]=
"\u0680";t["\ufb5c"]="\u0680";t["\ufb5d"]="\u0680";t["\ufb5e"]="\u067a";t["\ufb5f"]="\u067a";t["\ufb60"]="\u067a";t["\ufb61"]="\u067a";t["\ufb62"]="\u067f";t["\ufb63"]="\u067f";t["\ufb64"]="\u067f";t["\ufb65"]="\u067f";t["\ufb66"]="\u0679";t["\ufb67"]="\u0679";t["\ufb68"]="\u0679";t["\ufb69"]="\u0679";t["\ufb6a"]="\u06a4";t["\ufb6b"]="\u06a4";t["\ufb6c"]="\u06a4";t["\ufb6d"]="\u06a4";t["\ufb6e"]="\u06a6";t["\ufb6f"]="\u06a6";t["\ufb70"]="\u06a6";t["\ufb71"]="\u06a6";t["\ufb72"]="\u0684";t["\ufb73"]=
"\u0684";t["\ufb74"]="\u0684";t["\ufb75"]="\u0684";t["\ufb76"]="\u0683";t["\ufb77"]="\u0683";t["\ufb78"]="\u0683";t["\ufb79"]="\u0683";t["\ufb7a"]="\u0686";t["\ufb7b"]="\u0686";t["\ufb7c"]="\u0686";t["\ufb7d"]="\u0686";t["\ufb7e"]="\u0687";t["\ufb7f"]="\u0687";t["\ufb80"]="\u0687";t["\ufb81"]="\u0687";t["\ufb82"]="\u068d";t["\ufb83"]="\u068d";t["\ufb84"]="\u068c";t["\ufb85"]="\u068c";t["\ufb86"]="\u068e";t["\ufb87"]="\u068e";t["\ufb88"]="\u0688";t["\ufb89"]="\u0688";t["\ufb8a"]="\u0698";t["\ufb8b"]=
"\u0698";t["\ufb8c"]="\u0691";t["\ufb8d"]="\u0691";t["\ufb8e"]="\u06a9";t["\ufb8f"]="\u06a9";t["\ufb90"]="\u06a9";t["\ufb91"]="\u06a9";t["\ufb92"]="\u06af";t["\ufb93"]="\u06af";t["\ufb94"]="\u06af";t["\ufb95"]="\u06af";t["\ufb96"]="\u06b3";t["\ufb97"]="\u06b3";t["\ufb98"]="\u06b3";t["\ufb99"]="\u06b3";t["\ufb9a"]="\u06b1";t["\ufb9b"]="\u06b1";t["\ufb9c"]="\u06b1";t["\ufb9d"]="\u06b1";t["\ufb9e"]="\u06ba";t["\ufb9f"]="\u06ba";t["\ufba0"]="\u06bb";t["\ufba1"]="\u06bb";t["\ufba2"]="\u06bb";t["\ufba3"]=
"\u06bb";t["\ufba4"]="\u06c0";t["\ufba5"]="\u06c0";t["\ufba6"]="\u06c1";t["\ufba7"]="\u06c1";t["\ufba8"]="\u06c1";t["\ufba9"]="\u06c1";t["\ufbaa"]="\u06be";t["\ufbab"]="\u06be";t["\ufbac"]="\u06be";t["\ufbad"]="\u06be";t["\ufbae"]="\u06d2";t["\ufbaf"]="\u06d2";t["\ufbb0"]="\u06d3";t["\ufbb1"]="\u06d3";t["\ufbd3"]="\u06ad";t["\ufbd4"]="\u06ad";t["\ufbd5"]="\u06ad";t["\ufbd6"]="\u06ad";t["\ufbd7"]="\u06c7";t["\ufbd8"]="\u06c7";t["\ufbd9"]="\u06c6";t["\ufbda"]="\u06c6";t["\ufbdb"]="\u06c8";t["\ufbdc"]=
"\u06c8";t["\ufbdd"]="\u0677";t["\ufbde"]="\u06cb";t["\ufbdf"]="\u06cb";t["\ufbe0"]="\u06c5";t["\ufbe1"]="\u06c5";t["\ufbe2"]="\u06c9";t["\ufbe3"]="\u06c9";t["\ufbe4"]="\u06d0";t["\ufbe5"]="\u06d0";t["\ufbe6"]="\u06d0";t["\ufbe7"]="\u06d0";t["\ufbe8"]="\u0649";t["\ufbe9"]="\u0649";t["\ufbea"]="\u0626\u0627";t["\ufbeb"]="\u0626\u0627";t["\ufbec"]="\u0626\u06d5";t["\ufbed"]="\u0626\u06d5";t["\ufbee"]="\u0626\u0648";t["\ufbef"]="\u0626\u0648";t["\ufbf0"]="\u0626\u06c7";t["\ufbf1"]="\u0626\u06c7";t["\ufbf2"]=
"\u0626\u06c6";t["\ufbf3"]="\u0626\u06c6";t["\ufbf4"]="\u0626\u06c8";t["\ufbf5"]="\u0626\u06c8";t["\ufbf6"]="\u0626\u06d0";t["\ufbf7"]="\u0626\u06d0";t["\ufbf8"]="\u0626\u06d0";t["\ufbf9"]="\u0626\u0649";t["\ufbfa"]="\u0626\u0649";t["\ufbfb"]="\u0626\u0649";t["\ufbfc"]="\u06cc";t["\ufbfd"]="\u06cc";t["\ufbfe"]="\u06cc";t["\ufbff"]="\u06cc";t["\ufc00"]="\u0626\u062c";t["\ufc01"]="\u0626\u062d";t["\ufc02"]="\u0626\u0645";t["\ufc03"]="\u0626\u0649";t["\ufc04"]="\u0626\u064a";t["\ufc05"]="\u0628\u062c";
t["\ufc06"]="\u0628\u062d";t["\ufc07"]="\u0628\u062e";t["\ufc08"]="\u0628\u0645";t["\ufc09"]="\u0628\u0649";t["\ufc0a"]="\u0628\u064a";t["\ufc0b"]="\u062a\u062c";t["\ufc0c"]="\u062a\u062d";t["\ufc0d"]="\u062a\u062e";t["\ufc0e"]="\u062a\u0645";t["\ufc0f"]="\u062a\u0649";t["\ufc10"]="\u062a\u064a";t["\ufc11"]="\u062b\u062c";t["\ufc12"]="\u062b\u0645";t["\ufc13"]="\u062b\u0649";t["\ufc14"]="\u062b\u064a";t["\ufc15"]="\u062c\u062d";t["\ufc16"]="\u062c\u0645";t["\ufc17"]="\u062d\u062c";t["\ufc18"]="\u062d\u0645";
t["\ufc19"]="\u062e\u062c";t["\ufc1a"]="\u062e\u062d";t["\ufc1b"]="\u062e\u0645";t["\ufc1c"]="\u0633\u062c";t["\ufc1d"]="\u0633\u062d";t["\ufc1e"]="\u0633\u062e";t["\ufc1f"]="\u0633\u0645";t["\ufc20"]="\u0635\u062d";t["\ufc21"]="\u0635\u0645";t["\ufc22"]="\u0636\u062c";t["\ufc23"]="\u0636\u062d";t["\ufc24"]="\u0636\u062e";t["\ufc25"]="\u0636\u0645";t["\ufc26"]="\u0637\u062d";t["\ufc27"]="\u0637\u0645";t["\ufc28"]="\u0638\u0645";t["\ufc29"]="\u0639\u062c";t["\ufc2a"]="\u0639\u0645";t["\ufc2b"]="\u063a\u062c";
t["\ufc2c"]="\u063a\u0645";t["\ufc2d"]="\u0641\u062c";t["\ufc2e"]="\u0641\u062d";t["\ufc2f"]="\u0641\u062e";t["\ufc30"]="\u0641\u0645";t["\ufc31"]="\u0641\u0649";t["\ufc32"]="\u0641\u064a";t["\ufc33"]="\u0642\u062d";t["\ufc34"]="\u0642\u0645";t["\ufc35"]="\u0642\u0649";t["\ufc36"]="\u0642\u064a";t["\ufc37"]="\u0643\u0627";t["\ufc38"]="\u0643\u062c";t["\ufc39"]="\u0643\u062d";t["\ufc3a"]="\u0643\u062e";t["\ufc3b"]="\u0643\u0644";t["\ufc3c"]="\u0643\u0645";t["\ufc3d"]="\u0643\u0649";t["\ufc3e"]="\u0643\u064a";
t["\ufc3f"]="\u0644\u062c";t["\ufc40"]="\u0644\u062d";t["\ufc41"]="\u0644\u062e";t["\ufc42"]="\u0644\u0645";t["\ufc43"]="\u0644\u0649";t["\ufc44"]="\u0644\u064a";t["\ufc45"]="\u0645\u062c";t["\ufc46"]="\u0645\u062d";t["\ufc47"]="\u0645\u062e";t["\ufc48"]="\u0645\u0645";t["\ufc49"]="\u0645\u0649";t["\ufc4a"]="\u0645\u064a";t["\ufc4b"]="\u0646\u062c";t["\ufc4c"]="\u0646\u062d";t["\ufc4d"]="\u0646\u062e";t["\ufc4e"]="\u0646\u0645";t["\ufc4f"]="\u0646\u0649";t["\ufc50"]="\u0646\u064a";t["\ufc51"]="\u0647\u062c";
t["\ufc52"]="\u0647\u0645";t["\ufc53"]="\u0647\u0649";t["\ufc54"]="\u0647\u064a";t["\ufc55"]="\u064a\u062c";t["\ufc56"]="\u064a\u062d";t["\ufc57"]="\u064a\u062e";t["\ufc58"]="\u064a\u0645";t["\ufc59"]="\u064a\u0649";t["\ufc5a"]="\u064a\u064a";t["\ufc5b"]="\u0630\u0670";t["\ufc5c"]="\u0631\u0670";t["\ufc5d"]="\u0649\u0670";t["\ufc5e"]=" \u064c\u0651";t["\ufc5f"]=" \u064d\u0651";t["\ufc60"]=" \u064e\u0651";t["\ufc61"]=" \u064f\u0651";t["\ufc62"]=" \u0650\u0651";t["\ufc63"]=" \u0651\u0670";t["\ufc64"]=
"\u0626\u0631";t["\ufc65"]="\u0626\u0632";t["\ufc66"]="\u0626\u0645";t["\ufc67"]="\u0626\u0646";t["\ufc68"]="\u0626\u0649";t["\ufc69"]="\u0626\u064a";t["\ufc6a"]="\u0628\u0631";t["\ufc6b"]="\u0628\u0632";t["\ufc6c"]="\u0628\u0645";t["\ufc6d"]="\u0628\u0646";t["\ufc6e"]="\u0628\u0649";t["\ufc6f"]="\u0628\u064a";t["\ufc70"]="\u062a\u0631";t["\ufc71"]="\u062a\u0632";t["\ufc72"]="\u062a\u0645";t["\ufc73"]="\u062a\u0646";t["\ufc74"]="\u062a\u0649";t["\ufc75"]="\u062a\u064a";t["\ufc76"]="\u062b\u0631";
t["\ufc77"]="\u062b\u0632";t["\ufc78"]="\u062b\u0645";t["\ufc79"]="\u062b\u0646";t["\ufc7a"]="\u062b\u0649";t["\ufc7b"]="\u062b\u064a";t["\ufc7c"]="\u0641\u0649";t["\ufc7d"]="\u0641\u064a";t["\ufc7e"]="\u0642\u0649";t["\ufc7f"]="\u0642\u064a";t["\ufc80"]="\u0643\u0627";t["\ufc81"]="\u0643\u0644";t["\ufc82"]="\u0643\u0645";t["\ufc83"]="\u0643\u0649";t["\ufc84"]="\u0643\u064a";t["\ufc85"]="\u0644\u0645";t["\ufc86"]="\u0644\u0649";t["\ufc87"]="\u0644\u064a";t["\ufc88"]="\u0645\u0627";t["\ufc89"]="\u0645\u0645";
t["\ufc8a"]="\u0646\u0631";t["\ufc8b"]="\u0646\u0632";t["\ufc8c"]="\u0646\u0645";t["\ufc8d"]="\u0646\u0646";t["\ufc8e"]="\u0646\u0649";t["\ufc8f"]="\u0646\u064a";t["\ufc90"]="\u0649\u0670";t["\ufc91"]="\u064a\u0631";t["\ufc92"]="\u064a\u0632";t["\ufc93"]="\u064a\u0645";t["\ufc94"]="\u064a\u0646";t["\ufc95"]="\u064a\u0649";t["\ufc96"]="\u064a\u064a";t["\ufc97"]="\u0626\u062c";t["\ufc98"]="\u0626\u062d";t["\ufc99"]="\u0626\u062e";t["\ufc9a"]="\u0626\u0645";t["\ufc9b"]="\u0626\u0647";t["\ufc9c"]="\u0628\u062c";
t["\ufc9d"]="\u0628\u062d";t["\ufc9e"]="\u0628\u062e";t["\ufc9f"]="\u0628\u0645";t["\ufca0"]="\u0628\u0647";t["\ufca1"]="\u062a\u062c";t["\ufca2"]="\u062a\u062d";t["\ufca3"]="\u062a\u062e";t["\ufca4"]="\u062a\u0645";t["\ufca5"]="\u062a\u0647";t["\ufca6"]="\u062b\u0645";t["\ufca7"]="\u062c\u062d";t["\ufca8"]="\u062c\u0645";t["\ufca9"]="\u062d\u062c";t["\ufcaa"]="\u062d\u0645";t["\ufcab"]="\u062e\u062c";t["\ufcac"]="\u062e\u0645";t["\ufcad"]="\u0633\u062c";t["\ufcae"]="\u0633\u062d";t["\ufcaf"]="\u0633\u062e";
t["\ufcb0"]="\u0633\u0645";t["\ufcb1"]="\u0635\u062d";t["\ufcb2"]="\u0635\u062e";t["\ufcb3"]="\u0635\u0645";t["\ufcb4"]="\u0636\u062c";t["\ufcb5"]="\u0636\u062d";t["\ufcb6"]="\u0636\u062e";t["\ufcb7"]="\u0636\u0645";t["\ufcb8"]="\u0637\u062d";t["\ufcb9"]="\u0638\u0645";t["\ufcba"]="\u0639\u062c";t["\ufcbb"]="\u0639\u0645";t["\ufcbc"]="\u063a\u062c";t["\ufcbd"]="\u063a\u0645";t["\ufcbe"]="\u0641\u062c";t["\ufcbf"]="\u0641\u062d";t["\ufcc0"]="\u0641\u062e";t["\ufcc1"]="\u0641\u0645";t["\ufcc2"]="\u0642\u062d";
t["\ufcc3"]="\u0642\u0645";t["\ufcc4"]="\u0643\u062c";t["\ufcc5"]="\u0643\u062d";t["\ufcc6"]="\u0643\u062e";t["\ufcc7"]="\u0643\u0644";t["\ufcc8"]="\u0643\u0645";t["\ufcc9"]="\u0644\u062c";t["\ufcca"]="\u0644\u062d";t["\ufccb"]="\u0644\u062e";t["\ufccc"]="\u0644\u0645";t["\ufccd"]="\u0644\u0647";t["\ufcce"]="\u0645\u062c";t["\ufccf"]="\u0645\u062d";t["\ufcd0"]="\u0645\u062e";t["\ufcd1"]="\u0645\u0645";t["\ufcd2"]="\u0646\u062c";t["\ufcd3"]="\u0646\u062d";t["\ufcd4"]="\u0646\u062e";t["\ufcd5"]="\u0646\u0645";
t["\ufcd6"]="\u0646\u0647";t["\ufcd7"]="\u0647\u062c";t["\ufcd8"]="\u0647\u0645";t["\ufcd9"]="\u0647\u0670";t["\ufcda"]="\u064a\u062c";t["\ufcdb"]="\u064a\u062d";t["\ufcdc"]="\u064a\u062e";t["\ufcdd"]="\u064a\u0645";t["\ufcde"]="\u064a\u0647";t["\ufcdf"]="\u0626\u0645";t["\ufce0"]="\u0626\u0647";t["\ufce1"]="\u0628\u0645";t["\ufce2"]="\u0628\u0647";t["\ufce3"]="\u062a\u0645";t["\ufce4"]="\u062a\u0647";t["\ufce5"]="\u062b\u0645";t["\ufce6"]="\u062b\u0647";t["\ufce7"]="\u0633\u0645";t["\ufce8"]="\u0633\u0647";
t["\ufce9"]="\u0634\u0645";t["\ufcea"]="\u0634\u0647";t["\ufceb"]="\u0643\u0644";t["\ufcec"]="\u0643\u0645";t["\ufced"]="\u0644\u0645";t["\ufcee"]="\u0646\u0645";t["\ufcef"]="\u0646\u0647";t["\ufcf0"]="\u064a\u0645";t["\ufcf1"]="\u064a\u0647";t["\ufcf2"]="\u0640\u064e\u0651";t["\ufcf3"]="\u0640\u064f\u0651";t["\ufcf4"]="\u0640\u0650\u0651";t["\ufcf5"]="\u0637\u0649";t["\ufcf6"]="\u0637\u064a";t["\ufcf7"]="\u0639\u0649";t["\ufcf8"]="\u0639\u064a";t["\ufcf9"]="\u063a\u0649";t["\ufcfa"]="\u063a\u064a";
t["\ufcfb"]="\u0633\u0649";t["\ufcfc"]="\u0633\u064a";t["\ufcfd"]="\u0634\u0649";t["\ufcfe"]="\u0634\u064a";t["\ufcff"]="\u062d\u0649";t["\ufd00"]="\u062d\u064a";t["\ufd01"]="\u062c\u0649";t["\ufd02"]="\u062c\u064a";t["\ufd03"]="\u062e\u0649";t["\ufd04"]="\u062e\u064a";t["\ufd05"]="\u0635\u0649";t["\ufd06"]="\u0635\u064a";t["\ufd07"]="\u0636\u0649";t["\ufd08"]="\u0636\u064a";t["\ufd09"]="\u0634\u062c";t["\ufd0a"]="\u0634\u062d";t["\ufd0b"]="\u0634\u062e";t["\ufd0c"]="\u0634\u0645";t["\ufd0d"]="\u0634\u0631";
t["\ufd0e"]="\u0633\u0631";t["\ufd0f"]="\u0635\u0631";t["\ufd10"]="\u0636\u0631";t["\ufd11"]="\u0637\u0649";t["\ufd12"]="\u0637\u064a";t["\ufd13"]="\u0639\u0649";t["\ufd14"]="\u0639\u064a";t["\ufd15"]="\u063a\u0649";t["\ufd16"]="\u063a\u064a";t["\ufd17"]="\u0633\u0649";t["\ufd18"]="\u0633\u064a";t["\ufd19"]="\u0634\u0649";t["\ufd1a"]="\u0634\u064a";t["\ufd1b"]="\u062d\u0649";t["\ufd1c"]="\u062d\u064a";t["\ufd1d"]="\u062c\u0649";t["\ufd1e"]="\u062c\u064a";t["\ufd1f"]="\u062e\u0649";t["\ufd20"]="\u062e\u064a";
t["\ufd21"]="\u0635\u0649";t["\ufd22"]="\u0635\u064a";t["\ufd23"]="\u0636\u0649";t["\ufd24"]="\u0636\u064a";t["\ufd25"]="\u0634\u062c";t["\ufd26"]="\u0634\u062d";t["\ufd27"]="\u0634\u062e";t["\ufd28"]="\u0634\u0645";t["\ufd29"]="\u0634\u0631";t["\ufd2a"]="\u0633\u0631";t["\ufd2b"]="\u0635\u0631";t["\ufd2c"]="\u0636\u0631";t["\ufd2d"]="\u0634\u062c";t["\ufd2e"]="\u0634\u062d";t["\ufd2f"]="\u0634\u062e";t["\ufd30"]="\u0634\u0645";t["\ufd31"]="\u0633\u0647";t["\ufd32"]="\u0634\u0647";t["\ufd33"]="\u0637\u0645";
t["\ufd34"]="\u0633\u062c";t["\ufd35"]="\u0633\u062d";t["\ufd36"]="\u0633\u062e";t["\ufd37"]="\u0634\u062c";t["\ufd38"]="\u0634\u062d";t["\ufd39"]="\u0634\u062e";t["\ufd3a"]="\u0637\u0645";t["\ufd3b"]="\u0638\u0645";t["\ufd3c"]="\u0627\u064b";t["\ufd3d"]="\u0627\u064b";t["\ufd50"]="\u062a\u062c\u0645";t["\ufd51"]="\u062a\u062d\u062c";t["\ufd52"]="\u062a\u062d\u062c";t["\ufd53"]="\u062a\u062d\u0645";t["\ufd54"]="\u062a\u062e\u0645";t["\ufd55"]="\u062a\u0645\u062c";t["\ufd56"]="\u062a\u0645\u062d";
t["\ufd57"]="\u062a\u0645\u062e";t["\ufd58"]="\u062c\u0645\u062d";t["\ufd59"]="\u062c\u0645\u062d";t["\ufd5a"]="\u062d\u0645\u064a";t["\ufd5b"]="\u062d\u0645\u0649";t["\ufd5c"]="\u0633\u062d\u062c";t["\ufd5d"]="\u0633\u062c\u062d";t["\ufd5e"]="\u0633\u062c\u0649";t["\ufd5f"]="\u0633\u0645\u062d";t["\ufd60"]="\u0633\u0645\u062d";t["\ufd61"]="\u0633\u0645\u062c";t["\ufd62"]="\u0633\u0645\u0645";t["\ufd63"]="\u0633\u0645\u0645";t["\ufd64"]="\u0635\u062d\u062d";t["\ufd65"]="\u0635\u062d\u062d";t["\ufd66"]=
"\u0635\u0645\u0645";t["\ufd67"]="\u0634\u062d\u0645";t["\ufd68"]="\u0634\u062d\u0645";t["\ufd69"]="\u0634\u062c\u064a";t["\ufd6a"]="\u0634\u0645\u062e";t["\ufd6b"]="\u0634\u0645\u062e";t["\ufd6c"]="\u0634\u0645\u0645";t["\ufd6d"]="\u0634\u0645\u0645";t["\ufd6e"]="\u0636\u062d\u0649";t["\ufd6f"]="\u0636\u062e\u0645";t["\ufd70"]="\u0636\u062e\u0645";t["\ufd71"]="\u0637\u0645\u062d";t["\ufd72"]="\u0637\u0645\u062d";t["\ufd73"]="\u0637\u0645\u0645";t["\ufd74"]="\u0637\u0645\u064a";t["\ufd75"]="\u0639\u062c\u0645";
t["\ufd76"]="\u0639\u0645\u0645";t["\ufd77"]="\u0639\u0645\u0645";t["\ufd78"]="\u0639\u0645\u0649";t["\ufd79"]="\u063a\u0645\u0645";t["\ufd7a"]="\u063a\u0645\u064a";t["\ufd7b"]="\u063a\u0645\u0649";t["\ufd7c"]="\u0641\u062e\u0645";t["\ufd7d"]="\u0641\u062e\u0645";t["\ufd7e"]="\u0642\u0645\u062d";t["\ufd7f"]="\u0642\u0645\u0645";t["\ufd80"]="\u0644\u062d\u0645";t["\ufd81"]="\u0644\u062d\u064a";t["\ufd82"]="\u0644\u062d\u0649";t["\ufd83"]="\u0644\u062c\u062c";t["\ufd84"]="\u0644\u062c\u062c";t["\ufd85"]=
"\u0644\u062e\u0645";t["\ufd86"]="\u0644\u062e\u0645";t["\ufd87"]="\u0644\u0645\u062d";t["\ufd88"]="\u0644\u0645\u062d";t["\ufd89"]="\u0645\u062d\u062c";t["\ufd8a"]="\u0645\u062d\u0645";t["\ufd8b"]="\u0645\u062d\u064a";t["\ufd8c"]="\u0645\u062c\u062d";t["\ufd8d"]="\u0645\u062c\u0645";t["\ufd8e"]="\u0645\u062e\u062c";t["\ufd8f"]="\u0645\u062e\u0645";t["\ufd92"]="\u0645\u062c\u062e";t["\ufd93"]="\u0647\u0645\u062c";t["\ufd94"]="\u0647\u0645\u0645";t["\ufd95"]="\u0646\u062d\u0645";t["\ufd96"]="\u0646\u062d\u0649";
t["\ufd97"]="\u0646\u062c\u0645";t["\ufd98"]="\u0646\u062c\u0645";t["\ufd99"]="\u0646\u062c\u0649";t["\ufd9a"]="\u0646\u0645\u064a";t["\ufd9b"]="\u0646\u0645\u0649";t["\ufd9c"]="\u064a\u0645\u0645";t["\ufd9d"]="\u064a\u0645\u0645";t["\ufd9e"]="\u0628\u062e\u064a";t["\ufd9f"]="\u062a\u062c\u064a";t["\ufda0"]="\u062a\u062c\u0649";t["\ufda1"]="\u062a\u062e\u064a";t["\ufda2"]="\u062a\u062e\u0649";t["\ufda3"]="\u062a\u0645\u064a";t["\ufda4"]="\u062a\u0645\u0649";t["\ufda5"]="\u062c\u0645\u064a";t["\ufda6"]=
"\u062c\u062d\u0649";t["\ufda7"]="\u062c\u0645\u0649";t["\ufda8"]="\u0633\u062e\u0649";t["\ufda9"]="\u0635\u062d\u064a";t["\ufdaa"]="\u0634\u062d\u064a";t["\ufdab"]="\u0636\u062d\u064a";t["\ufdac"]="\u0644\u062c\u064a";t["\ufdad"]="\u0644\u0645\u064a";t["\ufdae"]="\u064a\u062d\u064a";t["\ufdaf"]="\u064a\u062c\u064a";t["\ufdb0"]="\u064a\u0645\u064a";t["\ufdb1"]="\u0645\u0645\u064a";t["\ufdb2"]="\u0642\u0645\u064a";t["\ufdb3"]="\u0646\u062d\u064a";t["\ufdb4"]="\u0642\u0645\u062d";t["\ufdb5"]="\u0644\u062d\u0645";
t["\ufdb6"]="\u0639\u0645\u064a";t["\ufdb7"]="\u0643\u0645\u064a";t["\ufdb8"]="\u0646\u062c\u062d";t["\ufdb9"]="\u0645\u062e\u064a";t["\ufdba"]="\u0644\u062c\u0645";t["\ufdbb"]="\u0643\u0645\u0645";t["\ufdbc"]="\u0644\u062c\u0645";t["\ufdbd"]="\u0646\u062c\u062d";t["\ufdbe"]="\u062c\u062d\u064a";t["\ufdbf"]="\u062d\u062c\u064a";t["\ufdc0"]="\u0645\u062c\u064a";t["\ufdc1"]="\u0641\u0645\u064a";t["\ufdc2"]="\u0628\u062d\u064a";t["\ufdc3"]="\u0643\u0645\u0645";t["\ufdc4"]="\u0639\u062c\u0645";t["\ufdc5"]=
"\u0635\u0645\u0645";t["\ufdc6"]="\u0633\u062e\u064a";t["\ufdc7"]="\u0646\u062c\u064a";t["\ufe49"]="\u203e";t["\ufe4a"]="\u203e";t["\ufe4b"]="\u203e";t["\ufe4c"]="\u203e";t["\ufe4d"]="_";t["\ufe4e"]="_";t["\ufe4f"]="_";t["\ufe80"]="\u0621";t["\ufe81"]="\u0622";t["\ufe82"]="\u0622";t["\ufe83"]="\u0623";t["\ufe84"]="\u0623";t["\ufe85"]="\u0624";t["\ufe86"]="\u0624";t["\ufe87"]="\u0625";t["\ufe88"]="\u0625";t["\ufe89"]="\u0626";t["\ufe8a"]="\u0626";t["\ufe8b"]="\u0626";t["\ufe8c"]="\u0626";t["\ufe8d"]=
"\u0627";t["\ufe8e"]="\u0627";t["\ufe8f"]="\u0628";t["\ufe90"]="\u0628";t["\ufe91"]="\u0628";t["\ufe92"]="\u0628";t["\ufe93"]="\u0629";t["\ufe94"]="\u0629";t["\ufe95"]="\u062a";t["\ufe96"]="\u062a";t["\ufe97"]="\u062a";t["\ufe98"]="\u062a";t["\ufe99"]="\u062b";t["\ufe9a"]="\u062b";t["\ufe9b"]="\u062b";t["\ufe9c"]="\u062b";t["\ufe9d"]="\u062c";t["\ufe9e"]="\u062c";t["\ufe9f"]="\u062c";t["\ufea0"]="\u062c";t["\ufea1"]="\u062d";t["\ufea2"]="\u062d";t["\ufea3"]="\u062d";t["\ufea4"]="\u062d";t["\ufea5"]=
"\u062e";t["\ufea6"]="\u062e";t["\ufea7"]="\u062e";t["\ufea8"]="\u062e";t["\ufea9"]="\u062f";t["\ufeaa"]="\u062f";t["\ufeab"]="\u0630";t["\ufeac"]="\u0630";t["\ufead"]="\u0631";t["\ufeae"]="\u0631";t["\ufeaf"]="\u0632";t["\ufeb0"]="\u0632";t["\ufeb1"]="\u0633";t["\ufeb2"]="\u0633";t["\ufeb3"]="\u0633";t["\ufeb4"]="\u0633";t["\ufeb5"]="\u0634";t["\ufeb6"]="\u0634";t["\ufeb7"]="\u0634";t["\ufeb8"]="\u0634";t["\ufeb9"]="\u0635";t["\ufeba"]="\u0635";t["\ufebb"]="\u0635";t["\ufebc"]="\u0635";t["\ufebd"]=
"\u0636";t["\ufebe"]="\u0636";t["\ufebf"]="\u0636";t["\ufec0"]="\u0636";t["\ufec1"]="\u0637";t["\ufec2"]="\u0637";t["\ufec3"]="\u0637";t["\ufec4"]="\u0637";t["\ufec5"]="\u0638";t["\ufec6"]="\u0638";t["\ufec7"]="\u0638";t["\ufec8"]="\u0638";t["\ufec9"]="\u0639";t["\ufeca"]="\u0639";t["\ufecb"]="\u0639";t["\ufecc"]="\u0639";t["\ufecd"]="\u063a";t["\ufece"]="\u063a";t["\ufecf"]="\u063a";t["\ufed0"]="\u063a";t["\ufed1"]="\u0641";t["\ufed2"]="\u0641";t["\ufed3"]="\u0641";t["\ufed4"]="\u0641";t["\ufed5"]=
"\u0642";t["\ufed6"]="\u0642";t["\ufed7"]="\u0642";t["\ufed8"]="\u0642";t["\ufed9"]="\u0643";t["\ufeda"]="\u0643";t["\ufedb"]="\u0643";t["\ufedc"]="\u0643";t["\ufedd"]="\u0644";t["\ufede"]="\u0644";t["\ufedf"]="\u0644";t["\ufee0"]="\u0644";t["\ufee1"]="\u0645";t["\ufee2"]="\u0645";t["\ufee3"]="\u0645";t["\ufee4"]="\u0645";t["\ufee5"]="\u0646";t["\ufee6"]="\u0646";t["\ufee7"]="\u0646";t["\ufee8"]="\u0646";t["\ufee9"]="\u0647";t["\ufeea"]="\u0647";t["\ufeeb"]="\u0647";t["\ufeec"]="\u0647";t["\ufeed"]=
"\u0648";t["\ufeee"]="\u0648";t["\ufeef"]="\u0649";t["\ufef0"]="\u0649";t["\ufef1"]="\u064a";t["\ufef2"]="\u064a";t["\ufef3"]="\u064a";t["\ufef4"]="\u064a";t["\ufef5"]="\u0644\u0622";t["\ufef6"]="\u0644\u0622";t["\ufef7"]="\u0644\u0623";t["\ufef8"]="\u0644\u0623";t["\ufef9"]="\u0644\u0625";t["\ufefa"]="\u0644\u0625";t["\ufefb"]="\u0644\u0627";t["\ufefc"]="\u0644\u0627"});exports.mapSpecialUnicodeValues=function(code){return 65520<=code&&65535>=code?0:62976<=code&&63743>=code?getSpecialPUASymbols()[code]||
code:173===code?45:code};exports.reverseIfRtl=function(chars){var charsLength=chars.length,JSCompiler_temp;if(!(JSCompiler_temp=1>=charsLength)){JSCompiler_temp=chars.charCodeAt(0);var range=UnicodeRanges[13];JSCompiler_temp>=range.begin&&JSCompiler_temp<range.end?JSCompiler_temp=!0:(range=UnicodeRanges[11],JSCompiler_temp=JSCompiler_temp>=range.begin&&JSCompiler_temp<range.end?!0:!1);JSCompiler_temp=!JSCompiler_temp}if(JSCompiler_temp)return chars;JSCompiler_temp="";for(--charsLength;0<=charsLength;charsLength--)JSCompiler_temp+=
chars[charsLength];return JSCompiler_temp};exports.getUnicodeRangeFor=function(value){for(var i=0,ii=UnicodeRanges.length;i<ii;i++){var range=UnicodeRanges[i];if(value>=range.begin&&value<range.end)return i}return-1};exports.getNormalizedUnicodes=module;exports.getUnicodeForGlyph=function(name,glyphsUnicodeMap){glyphsUnicodeMap=glyphsUnicodeMap[name];if(void 0!==glyphsUnicodeMap)return glyphsUnicodeMap;if(!name)return-1;if("u"===name[0]){glyphsUnicodeMap=name.length;if(7===glyphsUnicodeMap&&"n"===
name[1]&&"i"===name[2])name=name.substring(3);else if(5<=glyphsUnicodeMap&&7>=glyphsUnicodeMap)name=name.substring(1);else return-1;if(name===name.toUpperCase()&&(glyphsUnicodeMap=parseInt(name,16),0<=glyphsUnicodeMap))return glyphsUnicodeMap}return-1}},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===
Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o$jscomp$0){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o$jscomp$0)}
function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o$jscomp$0,p$jscomp$0){_setPrototypeOf=Object.setPrototypeOf||function(o,p){o.__proto__=p;return o};return _setPrototypeOf(o$jscomp$0,
p$jscomp$0)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&
_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}Object.defineProperty(exports,"__esModule",{value:!0});exports.FontRendererFactory=void 0;var _util=__w_pdfjs_require__(5),_cff_parser=__w_pdfjs_require__(212),_glyphlist=__w_pdfjs_require__(215),_encodings=__w_pdfjs_require__(214),_stream=__w_pdfjs_require__(195);module=function(){function getLong(data,offset){return data[offset]<<24|data[offset+1]<<16|data[offset+2]<<8|
data[offset+3]}function getUshort(data,offset){return data[offset]<<8|data[offset+1]}function parseGlyfTable(glyf,loca,isGlyphLocationsLong){if(isGlyphLocationsLong){isGlyphLocationsLong=4;var itemDecode=function(data,offset){return data[offset]<<24|data[offset+1]<<16|data[offset+2]<<8|data[offset+3]}}else isGlyphLocationsLong=2,itemDecode=function(data,offset){return data[offset]<<9|data[offset+1]<<1};for(var glyphs=[],startOffset=itemDecode(loca,0),j=isGlyphLocationsLong;j<loca.length;j+=isGlyphLocationsLong){var endOffset=
itemDecode(loca,j);glyphs.push(glyf.subarray(startOffset,endOffset));startOffset=endOffset}return glyphs}function lookupCmap(ranges,unicode){unicode=unicode.codePointAt(0);for(var gid=0,l=0,r=ranges.length-1;l<r;){var c=l+r+1>>1;unicode<ranges[c].start?r=c-1:l=c}ranges[l].start<=unicode&&unicode<=ranges[l].end&&(gid=ranges[l].idDelta+(ranges[l].ids?ranges[l].ids[unicode-ranges[l].start]:unicode)&65535);return{charCode:unicode,glyphId:gid}}function compileGlyf(code,cmds,font){var i=0,numberOfContours=
(code[i]<<24|code[i+1]<<16)>>16,x=0,y=0;i+=10;if(0>numberOfContours){do{var flags=code[i]<<8|code[i+1];numberOfContours=code[i+2]<<8|code[i+3];i+=4;flags&1?(x=(code[i]<<24|code[i+1]<<16)>>16,y=(code[i+2]<<24|code[i+3]<<16)>>16,i+=4):(x=code[i++],y=code[i++]);flags&2||(y=x=0);var scaleX=1,scaleY=1,scale01=0,scale10=0;flags&8?(scaleX=scaleY=(code[i]<<24|code[i+1]<<16)/1073741824,i+=2):flags&64?(scaleX=(code[i]<<24|code[i+1]<<16)/1073741824,scaleY=(code[i+2]<<24|code[i+3]<<16)/1073741824,i+=4):flags&
128&&(scaleX=(code[i]<<24|code[i+1]<<16)/1073741824,scale01=(code[i+2]<<24|code[i+3]<<16)/1073741824,scale10=(code[i+4]<<24|code[i+5]<<16)/1073741824,scaleY=(code[i+6]<<24|code[i+7]<<16)/1073741824,i+=8);if(numberOfContours=font.glyphs[numberOfContours])cmds.push({cmd:"save"}),cmds.push({cmd:"transform",args:[scaleX,scale01,scale10,scaleY,x,y]}),compileGlyf(numberOfContours,cmds,font),cmds.push({cmd:"restore"})}while(flags&32)}else{font=[];for(flags=0;flags<numberOfContours;flags++)font.push(code[i]<<
8|code[i+1]),i+=2;i+=2+(code[i]<<8|code[i+1]);scaleY=font[font.length-1]+1;for(scaleX=[];scaleX.length<scaleY;)for(flags=code[i++],scale01=1,flags&8&&(scale01+=code[i++]);0<scale01--;)scaleX.push({flags:flags});for(flags=0;flags<scaleY;flags++){switch(scaleX[flags].flags&18){case 0:x+=(code[i]<<24|code[i+1]<<16)>>16;i+=2;break;case 2:x-=code[i++];break;case 18:x+=code[i++]}scaleX[flags].x=x}for(flags=0;flags<scaleY;flags++){switch(scaleX[flags].flags&36){case 0:y+=(code[i]<<24|code[i+1]<<16)>>16;
i+=2;break;case 4:y-=code[i++];break;case 36:y+=code[i++]}scaleX[flags].y=y}for(i=flags=0;i<numberOfContours;i++){code=font[i];x=scaleX.slice(flags,code+1);x[0].flags&1?x.push(x[0]):x[x.length-1].flags&1?x.unshift(x[x.length-1]):(flags={flags:1,x:(x[0].x+x[x.length-1].x)/2,y:(x[0].y+x[x.length-1].y)/2},x.unshift(flags),x.push(flags));cmds.push({cmd:"moveTo",args:[x[0].x,x[0].y]});flags=1;for(y=x.length;flags<y;flags++)x[flags].flags&1?cmds.push({cmd:"lineTo",args:[x[flags].x,x[flags].y]}):x[flags+
1].flags&1?(cmds.push({cmd:"quadraticCurveTo",args:[x[flags].x,x[flags].y,x[flags+1].x,x[flags+1].y]}),flags++):cmds.push({cmd:"quadraticCurveTo",args:[x[flags].x,x[flags].y,(x[flags].x+x[flags+1].x)/2,(x[flags].y+x[flags+1].y)/2]});flags=code+1}}}function compileCharString(code$jscomp$0,cmds,font,glyphId){function moveTo(x,y){cmds.push({cmd:"moveTo",args:[x,y]})}function lineTo(x,y){cmds.push({cmd:"lineTo",args:[x,y]})}function bezierCurveTo(x1,y1,x2,y2,x,y){cmds.push({cmd:"bezierCurveTo",args:[x1,
y1,x2,y2,x,y]})}function parse(code){for(var i=0;i<code.length;){var stackClean=!1,v=code[i++];switch(v){case 1:stems+=stack.length>>1;stackClean=!0;break;case 3:stems+=stack.length>>1;stackClean=!0;break;case 4:y$jscomp$0+=stack.pop();moveTo(x$jscomp$0,y$jscomp$0);stackClean=!0;break;case 5:for(;0<stack.length;)x$jscomp$0+=stack.shift(),y$jscomp$0+=stack.shift(),lineTo(x$jscomp$0,y$jscomp$0);break;case 6:for(;0<stack.length;){x$jscomp$0+=stack.shift();lineTo(x$jscomp$0,y$jscomp$0);if(0===stack.length)break;
y$jscomp$0+=stack.shift();lineTo(x$jscomp$0,y$jscomp$0)}break;case 7:for(;0<stack.length;){y$jscomp$0+=stack.shift();lineTo(x$jscomp$0,y$jscomp$0);if(0===stack.length)break;x$jscomp$0+=stack.shift();lineTo(x$jscomp$0,y$jscomp$0)}break;case 8:for(;0<stack.length;){v=x$jscomp$0+stack.shift();var ya=y$jscomp$0+stack.shift();var xb=v+stack.shift();var yb=ya+stack.shift();x$jscomp$0=xb+stack.shift();y$jscomp$0=yb+stack.shift();bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0)}break;case 10:v=stack.pop();
xb=null;font.isCFFCIDFont?(ya=font.fdSelect.getFDIndex(glyphId),0<=ya&&ya<font.fdArray.length?(yb=font.fdArray[ya],ya=void 0,yb.privateDict&&yb.privateDict.subrsIndex&&(ya=yb.privateDict.subrsIndex.objects),ya&&(xb=ya.length,v+=1240>xb?107:33900>xb?1131:32768,xb=ya[v])):(0,_util.warn)("Invalid fd index for glyph index.")):xb=font.subrs[v+font.subrsBias];xb&&parse(xb);break;case 11:return;case 12:v=code[i++];switch(v){case 34:v=x$jscomp$0+stack.shift();xb=v+stack.shift();yb=y$jscomp$0+stack.shift();
x$jscomp$0=xb+stack.shift();bezierCurveTo(v,y$jscomp$0,xb,yb,x$jscomp$0,yb);v=x$jscomp$0+stack.shift();xb=v+stack.shift();x$jscomp$0=xb+stack.shift();bezierCurveTo(v,yb,xb,y$jscomp$0,x$jscomp$0,y$jscomp$0);break;case 35:v=x$jscomp$0+stack.shift();ya=y$jscomp$0+stack.shift();xb=v+stack.shift();yb=ya+stack.shift();x$jscomp$0=xb+stack.shift();y$jscomp$0=yb+stack.shift();bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0);v=x$jscomp$0+stack.shift();ya=y$jscomp$0+stack.shift();xb=v+stack.shift();yb=ya+stack.shift();
x$jscomp$0=xb+stack.shift();y$jscomp$0=yb+stack.shift();bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0);stack.pop();break;case 36:v=x$jscomp$0+stack.shift();yb=y$jscomp$0+stack.shift();xb=v+stack.shift();ya=yb+stack.shift();x$jscomp$0=xb+stack.shift();bezierCurveTo(v,yb,xb,ya,x$jscomp$0,ya);v=x$jscomp$0+stack.shift();xb=v+stack.shift();yb=ya+stack.shift();x$jscomp$0=xb+stack.shift();bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0);break;case 37:var x0=x$jscomp$0,y0=y$jscomp$0;v=x$jscomp$0+stack.shift();
ya=y$jscomp$0+stack.shift();xb=v+stack.shift();yb=ya+stack.shift();x$jscomp$0=xb+stack.shift();y$jscomp$0=yb+stack.shift();bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0);v=x$jscomp$0+stack.shift();ya=y$jscomp$0+stack.shift();xb=v+stack.shift();yb=ya+stack.shift();x$jscomp$0=xb;y$jscomp$0=yb;Math.abs(x$jscomp$0-x0)>Math.abs(y$jscomp$0-y0)?x$jscomp$0+=stack.shift():y$jscomp$0+=stack.shift();bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0);break;default:throw new _util.FormatError("unknown operator: 12 ".concat(v));
}break;case 14:4<=stack.length&&(i=stack.pop(),code=stack.pop(),y$jscomp$0=stack.pop(),x$jscomp$0=stack.pop(),cmds.push({cmd:"save"}),cmds.push({cmd:"translate",args:[x$jscomp$0,y$jscomp$0]}),i=lookupCmap(font.cmap,String.fromCharCode(font.glyphNameMap[_encodings.StandardEncoding[i]])),compileCharString(font.glyphs[i.glyphId],cmds,font,i.glyphId),cmds.push({cmd:"restore"}),i=lookupCmap(font.cmap,String.fromCharCode(font.glyphNameMap[_encodings.StandardEncoding[code]])),compileCharString(font.glyphs[i.glyphId],
cmds,font,i.glyphId));return;case 18:stems+=stack.length>>1;stackClean=!0;break;case 19:stems+=stack.length>>1;i+=stems+7>>3;stackClean=!0;break;case 20:stems+=stack.length>>1;i+=stems+7>>3;stackClean=!0;break;case 21:y$jscomp$0+=stack.pop();x$jscomp$0+=stack.pop();moveTo(x$jscomp$0,y$jscomp$0);stackClean=!0;break;case 22:x$jscomp$0+=stack.pop();moveTo(x$jscomp$0,y$jscomp$0);stackClean=!0;break;case 23:stems+=stack.length>>1;stackClean=!0;break;case 24:for(;2<stack.length;)v=x$jscomp$0+stack.shift(),
ya=y$jscomp$0+stack.shift(),xb=v+stack.shift(),yb=ya+stack.shift(),x$jscomp$0=xb+stack.shift(),y$jscomp$0=yb+stack.shift(),bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0);x$jscomp$0+=stack.shift();y$jscomp$0+=stack.shift();lineTo(x$jscomp$0,y$jscomp$0);break;case 25:for(;6<stack.length;)x$jscomp$0+=stack.shift(),y$jscomp$0+=stack.shift(),lineTo(x$jscomp$0,y$jscomp$0);v=x$jscomp$0+stack.shift();ya=y$jscomp$0+stack.shift();xb=v+stack.shift();yb=ya+stack.shift();x$jscomp$0=xb+stack.shift();y$jscomp$0=
yb+stack.shift();bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0);break;case 26:for(stack.length%2&&(x$jscomp$0+=stack.shift());0<stack.length;)v=x$jscomp$0,ya=y$jscomp$0+stack.shift(),xb=v+stack.shift(),yb=ya+stack.shift(),x$jscomp$0=xb,y$jscomp$0=yb+stack.shift(),bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0);break;case 27:for(stack.length%2&&(y$jscomp$0+=stack.shift());0<stack.length;)v=x$jscomp$0+stack.shift(),ya=y$jscomp$0,xb=v+stack.shift(),yb=ya+stack.shift(),x$jscomp$0=xb+stack.shift(),y$jscomp$0=
yb,bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0);break;case 28:stack.push((code[i]<<24|code[i+1]<<16)>>16);i+=2;break;case 29:v=stack.pop()+font.gsubrsBias;(xb=font.gsubrs[v])&&parse(xb);break;case 30:for(;0<stack.length;){v=x$jscomp$0;ya=y$jscomp$0+stack.shift();xb=v+stack.shift();yb=ya+stack.shift();x$jscomp$0=xb+stack.shift();y$jscomp$0=yb+(1===stack.length?stack.shift():0);bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0);if(0===stack.length)break;v=x$jscomp$0+stack.shift();ya=y$jscomp$0;xb=v+
stack.shift();yb=ya+stack.shift();y$jscomp$0=yb+stack.shift();x$jscomp$0=xb+(1===stack.length?stack.shift():0);bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0)}break;case 31:for(;0<stack.length;){v=x$jscomp$0+stack.shift();ya=y$jscomp$0;xb=v+stack.shift();yb=ya+stack.shift();y$jscomp$0=yb+stack.shift();x$jscomp$0=xb+(1===stack.length?stack.shift():0);bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0);if(0===stack.length)break;v=x$jscomp$0;ya=y$jscomp$0+stack.shift();xb=v+stack.shift();yb=ya+stack.shift();
x$jscomp$0=xb+stack.shift();y$jscomp$0=yb+(1===stack.length?stack.shift():0);bezierCurveTo(v,ya,xb,yb,x$jscomp$0,y$jscomp$0)}break;default:if(32>v)throw new _util.FormatError("unknown operator: ".concat(v));247>v?stack.push(v-139):251>v?stack.push(256*(v-247)+code[i++]+108):255>v?stack.push(256*-(v-251)-code[i++]-108):(stack.push((code[i]<<24|code[i+1]<<16|code[i+2]<<8|code[i+3])/65536),i+=4)}stackClean&&(stack.length=0)}}var stack=[],x$jscomp$0=0,y$jscomp$0=0,stems=0;parse(code$jscomp$0)}var NOOP=
[],CompiledFont=function(){function CompiledFont(fontMatrix){_classCallCheck(this,CompiledFont);this.constructor===CompiledFont&&(0,_util.unreachable)("Cannot initialize CompiledFont.");this.fontMatrix=fontMatrix;this.compiledGlyphs=Object.create(null);this.compiledCharCodeToGlyphId=Object.create(null)}_createClass(CompiledFont,[{key:"getPathJs",value:function(unicode){unicode=lookupCmap(this.cmap,unicode);var fn=this.compiledGlyphs[unicode.glyphId];fn||(fn=this.compileGlyph(this.glyphs[unicode.glyphId],
unicode.glyphId),this.compiledGlyphs[unicode.glyphId]=fn);void 0===this.compiledCharCodeToGlyphId[unicode.charCode]&&(this.compiledCharCodeToGlyphId[unicode.charCode]=unicode.glyphId);return fn}},{key:"compileGlyph",value:function(code,glyphId){if(!code||0===code.length||14===code[0])return NOOP;var fontMatrix=this.fontMatrix;if(this.isCFFCIDFont){var fdIndex=this.fdSelect.getFDIndex(glyphId);0<=fdIndex&&fdIndex<this.fdArray.length?fontMatrix=this.fdArray[fdIndex].getByName("FontMatrix")||_util.FONT_IDENTITY_MATRIX:
(0,_util.warn)("Invalid fd index for glyph index.")}fdIndex=[];fdIndex.push({cmd:"save"});fdIndex.push({cmd:"transform",args:fontMatrix.slice()});fdIndex.push({cmd:"scale",args:["size","-size"]});this.compileGlyphImpl(code,fdIndex,glyphId);fdIndex.push({cmd:"restore"});return fdIndex}},{key:"compileGlyphImpl",value:function(){(0,_util.unreachable)("Children classes should implement this.")}},{key:"hasBuiltPath",value:function(unicode){unicode=lookupCmap(this.cmap,unicode);return void 0!==this.compiledGlyphs[unicode.glyphId]&&
void 0!==this.compiledCharCodeToGlyphId[unicode.charCode]}}]);return CompiledFont}(),TrueTypeCompiled=function(_CompiledFont){function TrueTypeCompiled(glyphs,cmap,fontMatrix){_classCallCheck(this,TrueTypeCompiled);fontMatrix=_possibleConstructorReturn(this,_getPrototypeOf(TrueTypeCompiled).call(this,fontMatrix||[4.88E-4,0,0,4.88E-4,0,0]));fontMatrix.glyphs=glyphs;fontMatrix.cmap=cmap;return fontMatrix}_inherits(TrueTypeCompiled,_CompiledFont);_createClass(TrueTypeCompiled,[{key:"compileGlyphImpl",
value:function(code,cmds){compileGlyf(code,cmds,this)}}]);return TrueTypeCompiled}(CompiledFont),Type2Compiled=function(_CompiledFont2){function Type2Compiled(cffInfo,cmap,fontMatrix,glyphNameMap){_classCallCheck(this,Type2Compiled);fontMatrix=_possibleConstructorReturn(this,_getPrototypeOf(Type2Compiled).call(this,fontMatrix||[.001,0,0,.001,0,0]));fontMatrix.glyphs=cffInfo.glyphs;fontMatrix.gsubrs=cffInfo.gsubrs||[];fontMatrix.subrs=cffInfo.subrs||[];fontMatrix.cmap=cmap;fontMatrix.glyphNameMap=
glyphNameMap||(0,_glyphlist.getGlyphsUnicode)();fontMatrix.gsubrsBias=1240>fontMatrix.gsubrs.length?107:33900>fontMatrix.gsubrs.length?1131:32768;fontMatrix.subrsBias=1240>fontMatrix.subrs.length?107:33900>fontMatrix.subrs.length?1131:32768;fontMatrix.isCFFCIDFont=cffInfo.isCFFCIDFont;fontMatrix.fdSelect=cffInfo.fdSelect;fontMatrix.fdArray=cffInfo.fdArray;return fontMatrix}_inherits(Type2Compiled,_CompiledFont2);_createClass(Type2Compiled,[{key:"compileGlyphImpl",value:function(code,cmds,glyphId){compileCharString(code,
cmds,this,glyphId)}}]);return Type2Compiled}(CompiledFont);return{create:function(font,seacAnalysisEnabled){for(var data=new Uint8Array(font.data),cmap,glyf,loca,cff,indexToLocFormat,unitsPerEm,numTables=getUshort(data,4),i=0,p=12;i<numTables;i++,p+=16){var tag=(0,_util.bytesToString)(data.subarray(p,p+4)),offset=getLong(data,p+8),length=getLong(data,p+12);switch(tag){case "cmap":cmap=data;length=offset;tag=1===getUshort(cmap,length+2)?getLong(cmap,length+8):getLong(cmap,length+16);offset=getUshort(cmap,
length+tag);if(4===offset){getUshort(cmap,length+tag+2);offset=getUshort(cmap,length+tag+6)>>1;tag=length+tag+14;var ranges=[];for(length=0;length<offset;length++,tag+=2)ranges[length]={end:getUshort(cmap,tag)};tag+=2;for(length=0;length<offset;length++,tag+=2)ranges[length].start=getUshort(cmap,tag);for(length=0;length<offset;length++,tag+=2)ranges[length].idDelta=getUshort(cmap,tag);for(length=0;length<offset;length++,tag+=2){var idOffset=getUshort(cmap,tag);if(0!==idOffset){ranges[length].ids=
[];for(var j=0,jj=ranges[length].end-ranges[length].start+1;j<jj;j++)ranges[length].ids[j]=getUshort(cmap,tag+idOffset),idOffset+=2}}cmap=ranges}else if(12===offset){getLong(cmap,length+tag+4);offset=getLong(cmap,length+tag+12);tag=length+tag+16;ranges=[];for(length=0;length<offset;length++)ranges.push({start:getLong(cmap,tag),end:getLong(cmap,tag+4),idDelta:getLong(cmap,tag+8)-getLong(cmap,tag)}),tag+=12;cmap=ranges}else throw new _util.FormatError("unsupported cmap: ".concat(offset));break;case "glyf":glyf=
data.subarray(offset,offset+length);break;case "loca":loca=data.subarray(offset,offset+length);break;case "head":unitsPerEm=getUshort(data,offset+18);indexToLocFormat=getUshort(data,offset+50);break;case "CFF ":cff=seacAnalysisEnabled,cff=(new _cff_parser.CFFParser(new _stream.Stream(data,offset,offset+length-offset),{},cff)).parse(),cff={glyphs:cff.charStrings.objects,subrs:cff.topDict.privateDict&&cff.topDict.privateDict.subrsIndex&&cff.topDict.privateDict.subrsIndex.objects,gsubrs:cff.globalSubrIndex&&
cff.globalSubrIndex.objects,isCFFCIDFont:cff.isCIDFont,fdSelect:cff.fdSelect,fdArray:cff.fdArray}}}return glyf?(font=unitsPerEm?[1/unitsPerEm,0,0,1/unitsPerEm,0,0]:font.fontMatrix,new TrueTypeCompiled(parseGlyfTable(glyf,loca,indexToLocFormat),cmap,font)):new Type2Compiled(cff,cmap,font.fontMatrix,font.glyphNameMap)}}}();exports.FontRendererFactory=module},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});exports.Type1Parser=void 0;var _util=__w_pdfjs_require__(5),
_encodings=__w_pdfjs_require__(214),_stream=__w_pdfjs_require__(195),Type1CharString=function(){function Type1CharString(){this.lsb=this.width=0;this.flexing=!1;this.output=[];this.stack=[]}var JSCompiler_object_inline_vmoveto_1337=[4],JSCompiler_object_inline_rlineto_1338=[5],JSCompiler_object_inline_hlineto_1339=[6],JSCompiler_object_inline_vlineto_1340=[7],JSCompiler_object_inline_rrcurveto_1341=[8],JSCompiler_object_inline_flex_1343=[12,35],JSCompiler_object_inline_endchar_1345=[14],JSCompiler_object_inline_rmoveto_1346=
[21],JSCompiler_object_inline_hmoveto_1347=[22],JSCompiler_object_inline_vhcurveto_1348=[30],JSCompiler_object_inline_hvcurveto_1349=[31];Type1CharString.prototype={convert:function(encoded,subrs,seacAnalysisEnabled){for(var count=encoded.length,error=!1,sbx,i=0;i<count;i++)if(sbx=encoded[i],32>sbx){12===sbx&&(sbx=(sbx<<8)+encoded[++i]);switch(sbx){case 1:this.stack=[];break;case 3:this.stack=[];break;case 4:if(this.flexing){if(1>this.stack.length){error=!0;break}sbx=this.stack.pop();this.stack.push(0,
sbx);break}error=this.executeCommand(1,JSCompiler_object_inline_vmoveto_1337);break;case 5:error=this.executeCommand(2,JSCompiler_object_inline_rlineto_1338);break;case 6:error=this.executeCommand(1,JSCompiler_object_inline_hlineto_1339);break;case 7:error=this.executeCommand(1,JSCompiler_object_inline_vlineto_1340);break;case 8:error=this.executeCommand(6,JSCompiler_object_inline_rrcurveto_1341);break;case 9:this.stack=[];break;case 10:if(1>this.stack.length){error=!0;break}sbx=this.stack.pop();
if(!subrs[sbx]){error=!0;break}error=this.convert(subrs[sbx],subrs,seacAnalysisEnabled);break;case 11:return error;case 13:if(2>this.stack.length){error=!0;break}error=this.stack.pop();this.lsb=sbx=this.stack.pop();this.width=error;this.stack.push(error,sbx);error=this.executeCommand(2,JSCompiler_object_inline_hmoveto_1347);break;case 14:this.output.push(JSCompiler_object_inline_endchar_1345[0]);break;case 21:if(this.flexing)break;error=this.executeCommand(2,JSCompiler_object_inline_rmoveto_1346);
break;case 22:if(this.flexing){this.stack.push(0);break}error=this.executeCommand(1,JSCompiler_object_inline_hmoveto_1347);break;case 30:error=this.executeCommand(4,JSCompiler_object_inline_vhcurveto_1348);break;case 31:error=this.executeCommand(4,JSCompiler_object_inline_hvcurveto_1349);break;case 3072:this.stack=[];break;case 3073:this.stack=[];break;case 3074:this.stack=[];break;case 3078:seacAnalysisEnabled?(this.seac=this.stack.splice(-4,4),error=this.executeCommand(0,JSCompiler_object_inline_endchar_1345)):
error=this.executeCommand(4,JSCompiler_object_inline_endchar_1345);break;case 3079:if(4>this.stack.length){error=!0;break}this.stack.pop();error=this.stack.pop();var sby=this.stack.pop();this.lsb=sbx=this.stack.pop();this.width=error;this.stack.push(error,sbx,sby);error=this.executeCommand(3,JSCompiler_object_inline_rmoveto_1346);break;case 3084:if(2>this.stack.length){error=!0;break}sbx=this.stack.pop();sby=this.stack.pop();this.stack.push(sby/sbx);break;case 3088:if(2>this.stack.length){error=!0;
break}sbx=this.stack.pop();sby=this.stack.pop();0===sbx&&3===sby?(sbx=this.stack.splice(this.stack.length-17,17),this.stack.push(sbx[2]+sbx[0],sbx[3]+sbx[1],sbx[4],sbx[5],sbx[6],sbx[7],sbx[8],sbx[9],sbx[10],sbx[11],sbx[12],sbx[13],sbx[14]),error=this.executeCommand(13,JSCompiler_object_inline_flex_1343,!0),this.flexing=!1,this.stack.push(sbx[15],sbx[16])):1===sbx&&0===sby&&(this.flexing=!0);break;case 3089:break;case 3105:this.stack=[];break;default:(0,_util.warn)('Unknown type 1 charstring command of "'+
sbx+'"')}if(error)break}else sbx=246>=sbx?sbx-139:250>=sbx?256*(sbx-247)+encoded[++i]+108:254>=sbx?-(256*(sbx-251))-encoded[++i]-108:(encoded[++i]&255)<<24|(encoded[++i]&255)<<16|(encoded[++i]&255)<<8|(encoded[++i]&255)<<0,this.stack.push(sbx);return error},executeCommand:function(howManyArgs,command,keepStack){var stackLength=this.stack.length;if(howManyArgs>stackLength)return!0;for(var start=stackLength-howManyArgs,i=start;i<stackLength;i++){var value=this.stack[i];Number.isInteger(value)?this.output.push(28,
value>>8&255,value&255):(value=65536*value|0,this.output.push(255,value>>24&255,value>>16&255,value>>8&255,value&255))}this.output.push.apply(this.output,command);keepStack?this.stack.splice(start,howManyArgs):this.stack.length=0;return!1}};return Type1CharString}();module=function(){function isHexDigit(code){return 48<=code&&57>=code||65<=code&&70>=code||97<=code&&102>=code}function decrypt(data,key,discardNumber){if(discardNumber>=data.length)return new Uint8Array(0);key|=0;var i;for(i=0;i<discardNumber;i++)key=
52845*(data[i]+key)+22719&65535;var count=data.length-discardNumber,decrypted=new Uint8Array(count);i=discardNumber;for(discardNumber=0;discardNumber<count;i++,discardNumber++){var value=data[i];decrypted[discardNumber]=value^key>>8;key=52845*(value+key)+22719&65535}return decrypted}function isSpecial(c){return 47===c||91===c||93===c||123===c||125===c||40===c||41===c}function Type1Parser(stream,encrypted,seacAnalysisEnabled){if(encrypted){encrypted=stream.getBytes();var isBinary=!(isHexDigit(encrypted[0])&&
isHexDigit(encrypted[1])&&isHexDigit(encrypted[2])&&isHexDigit(encrypted[3]));stream=_stream.Stream;if(isBinary)var JSCompiler_temp=decrypt(encrypted,55665,4);else{isBinary=55665;var count=encrypted.length,decrypted=new Uint8Array(count>>>1),i,j;for(j=i=0;i<count;i++){var digit1=encrypted[i];if(isHexDigit(digit1)){for(i++;i<count&&!isHexDigit(JSCompiler_temp=encrypted[i]);)i++;i<count&&(digit1=parseInt(String.fromCharCode(digit1,JSCompiler_temp),16),decrypted[j++]=digit1^isBinary>>8,isBinary=52845*
(digit1+isBinary)+22719&65535)}}JSCompiler_temp=Array.prototype.slice.call(decrypted,4,j)}stream=new stream(JSCompiler_temp)}this.seacAnalysisEnabled=!!seacAnalysisEnabled;this.stream=stream;this.nextChar()}Type1Parser.prototype={readNumberArray:function(){this.getToken();for(var array=[];;){var token=this.getToken();if(null===token||"]"===token||"}"===token)break;array.push(parseFloat(token||0))}return array},readNumber:function(){var token=this.getToken();return parseFloat(token||0)},readInt:function(){var token=
this.getToken();return parseInt(token||0,10)|0},readBoolean:function(){return"true"===this.getToken()?1:0},nextChar:function(){return this.currentChar=this.stream.getByte()},getToken:function(){for(var comment=!1,ch=this.currentChar;;){if(-1===ch)return null;if(comment){if(10===ch||13===ch)comment=!1}else if(37===ch)comment=!0;else if(!(0,_util.isSpace)(ch))break;ch=this.nextChar()}if(isSpecial(ch))return this.nextChar(),String.fromCharCode(ch);comment="";do comment+=String.fromCharCode(ch),ch=this.nextChar();
while(0<=ch&&!(0,_util.isSpace)(ch)&&!isSpecial(ch));return comment},readCharStrings:function(bytes,lenIV){return-1===lenIV?bytes:decrypt(bytes,4330,lenIV)},extractFontProgram:function(properties){var stream=this.stream,subrs=[],charstrings=[],privateData=Object.create(null);privateData.lenIV=4;privateData={subrs:[],charstrings:[],properties:{privateData:privateData}};for(var token,length;null!==(token=this.getToken());)if("/"===token)switch(token=this.getToken(),token){case "CharStrings":this.getToken();
this.getToken();this.getToken();for(this.getToken();;){token=this.getToken();if(null===token||"end"===token)break;if("/"===token){var glyph=this.getToken();length=this.readInt();this.getToken();length=0<length?stream.getBytes(length):new Uint8Array(0);token=privateData.properties.privateData.lenIV;length=this.readCharStrings(length,token);this.nextChar();token=this.getToken();"noaccess"===token&&this.getToken();charstrings.push({glyph:glyph,encoded:length})}}break;case "Subrs":this.readInt();for(this.getToken();"dup"===
this.getToken();)glyph=this.readInt(),length=this.readInt(),this.getToken(),length=0<length?stream.getBytes(length):new Uint8Array(0),token=privateData.properties.privateData.lenIV,length=this.readCharStrings(length,token),this.nextChar(),token=this.getToken(),"noaccess"===token&&this.getToken(),subrs[glyph]=length;break;case "BlueValues":case "OtherBlues":case "FamilyBlues":case "FamilyOtherBlues":this.readNumberArray();break;case "StemSnapH":case "StemSnapV":privateData.properties.privateData[token]=
this.readNumberArray();break;case "StdHW":case "StdVW":privateData.properties.privateData[token]=this.readNumberArray()[0];break;case "BlueShift":case "lenIV":case "BlueFuzz":case "BlueScale":case "LanguageGroup":case "ExpansionFactor":privateData.properties.privateData[token]=this.readNumber();break;case "ForceBold":privateData.properties.privateData[token]=this.readBoolean()}for(stream=0;stream<charstrings.length;stream++){glyph=charstrings[stream].glyph;length=charstrings[stream].encoded;token=
new Type1CharString;length=token.convert(length,subrs,this.seacAnalysisEnabled);var output=token.output;length&&(output=[14]);privateData.charstrings.push({glyphName:glyph,charstring:output,width:token.width,lsb:token.lsb,seac:token.seac});properties.builtInEncoding&&(glyph=properties.builtInEncoding.indexOf(glyph),-1<glyph&&void 0===properties.widths[glyph]&&glyph>=properties.firstChar&&glyph<=properties.lastChar&&(properties.widths[glyph]=token.width))}return privateData},extractFontHeader:function(properties){for(var token;null!==
(token=this.getToken());)if("/"===token)switch(token=this.getToken(),token){case "FontMatrix":var matrix=this.readNumberArray();properties.fontMatrix=matrix;break;case "Encoding":var encodingArg=this.getToken();if(/^\d+$/.test(encodingArg)){matrix=[];encodingArg=parseInt(encodingArg,10)|0;this.getToken();for(var j=0;j<encodingArg;j++){for(token=this.getToken();"dup"!==token&&"def"!==token;)if(token=this.getToken(),null===token)return;if("def"===token)break;token=this.readInt();this.getToken();var glyph=
this.getToken();matrix[token]=glyph;this.getToken()}}else matrix=(0,_encodings.getEncoding)(encodingArg);properties.builtInEncoding=matrix;break;case "FontBBox":matrix=this.readNumberArray(),properties.ascent=Math.max(matrix[3],matrix[1]),properties.descent=Math.min(matrix[1],matrix[3]),properties.ascentScaled=!0}}};return Type1Parser}();exports.Type1Parser=module},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});exports.getTilingPatternIR=function(operatorList,
dict,args){var matrix=dict.getArray("Matrix"),bbox=_util.Util.normalizeRect(dict.getArray("BBox")),xstep=dict.get("XStep"),ystep=dict.get("YStep"),paintType=dict.get("PaintType");dict=dict.get("TilingType");if(0===bbox[2]-bbox[0]||0===bbox[3]-bbox[1])throw new _util.FormatError("Invalid getTilingPatternIR /BBox array: [".concat(bbox,"]."));return["TilingPattern",args,operatorList,matrix,bbox,xstep,ystep,paintType,dict]};exports.Pattern=void 0;var _util=__w_pdfjs_require__(5),_colorspace=__w_pdfjs_require__(206),
_primitives=__w_pdfjs_require__(188),_core_utils=__w_pdfjs_require__(191);module=function(){function Pattern(){(0,_util.unreachable)("should not call Pattern constructor")}Pattern.prototype={getPattern:function(ctx){(0,_util.unreachable)("Should not call Pattern.getStyle: ".concat(ctx))}};Pattern.parseShading=function(shading,matrix,xref,res,handler,pdfFunctionFactory){var dict=(0,_primitives.isStream)(shading)?shading.dict:shading,type=dict.get("ShadingType");try{switch(type){case 2:case 3:return new Shadings.RadialAxial(dict,
matrix,xref,res,pdfFunctionFactory);case 4:case 5:case 6:case 7:return new Shadings.Mesh(shading,matrix,xref,res,pdfFunctionFactory);default:throw new _util.FormatError("Unsupported ShadingType: "+type);}}catch(ex){if(ex instanceof _core_utils.MissingDataException)throw ex;handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.shadingPattern});(0,_util.warn)(ex);return new Shadings.Dummy}};return Pattern}();exports.Pattern=module;var Shadings={SMALL_NUMBER:1E-6};Shadings.RadialAxial=
function(){function RadialAxial(dict,matrix,xref,res,pdfFunctionFactory){this.matrix=matrix;this.coordsArr=dict.getArray("Coords");this.shadingType=dict.get("ShadingType");this.type="Pattern";matrix=dict.get("ColorSpace","CS");this.cs=matrix=_colorspace.ColorSpace.parse(matrix,xref,res,pdfFunctionFactory);xref=dict.getArray("BBox");Array.isArray(xref)&&4===xref.length?this.bbox=_util.Util.normalizeRect(xref):this.bbox=null;xref=0;var t1=1;dict.has("Domain")&&(res=dict.getArray("Domain"),xref=res[0],
t1=res[1]);var extendEnd=res=!1;dict.has("Extend")&&(extendEnd=dict.getArray("Extend"),res=extendEnd[0],extendEnd=extendEnd[1]);if(!(3!==this.shadingType||res&&extendEnd)){var x1=this.coordsArr[0],y1=this.coordsArr[1],r1=this.coordsArr[2],x2=this.coordsArr[3],y2=this.coordsArr[4],r2=this.coordsArr[5];x1=Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));r1<=r2+x1&&r2<=r1+x1&&(0,_util.warn)("Unsupported radial gradient.")}this.extendStart=res;this.extendEnd=extendEnd;r1=dict.get("Function");r1=pdfFunctionFactory.createFromArray(r1);
r2=(t1-xref)/10;pdfFunctionFactory=this.colorStops=[];if(xref>=t1||0>=r2)(0,_util.info)("Bad shading domain.");else{t1=new Float32Array(matrix.numComps);x1=new Float32Array(1);for(y1=0;10>=y1;y1++)x1[0]=xref+y1*r2,r1(x1,0,t1,0),x2=matrix.getRgb(t1,0),x2=_util.Util.makeCssRgb(x2[0],x2[1],x2[2]),pdfFunctionFactory.push([y1/10,x2]);xref="transparent";dict.has("Background")&&(x2=matrix.getRgb(dict.get("Background"),0),xref=_util.Util.makeCssRgb(x2[0],x2[1],x2[2]));res||(pdfFunctionFactory.unshift([0,
xref]),pdfFunctionFactory[1][0]+=Shadings.SMALL_NUMBER);extendEnd||(pdfFunctionFactory[pdfFunctionFactory.length-1][0]-=Shadings.SMALL_NUMBER,pdfFunctionFactory.push([1,xref]));this.colorStops=pdfFunctionFactory}}RadialAxial.prototype={getIR:function(){var coordsArr=this.coordsArr,shadingType=this.shadingType,r0;if(2===shadingType){var p0=[coordsArr[0],coordsArr[1]];var p1=[coordsArr[2],coordsArr[3]];var r1=r0=null;var type="axial"}else 3===shadingType?(p0=[coordsArr[0],coordsArr[1]],p1=[coordsArr[3],
coordsArr[4]],r0=coordsArr[2],r1=coordsArr[5],type="radial"):(0,_util.unreachable)("getPattern type unknown: ".concat(shadingType));if(coordsArr=this.matrix)p0=_util.Util.applyTransform(p0,coordsArr),p1=_util.Util.applyTransform(p1,coordsArr),3===shadingType&&(shadingType=_util.Util.singularValueDecompose2dScale(coordsArr),r0*=shadingType[0],r1*=shadingType[1]);return["RadialAxial",type,this.bbox,this.colorStops,p0,p1,r0,r1]}};return RadialAxial}();Shadings.Mesh=function(){function MeshStreamReader(stream,
context){this.stream=stream;this.context=context;this.bufferLength=this.buffer=0;this.tmpCompsBuf=new Float32Array(context.numComps);stream=context.colorSpace.numComps;this.tmpCsCompsBuf=context.colorFn?new Float32Array(stream):this.tmpCompsBuf}function updateBounds(mesh){for(var minX=mesh.coords[0][0],minY=mesh.coords[0][1],maxX=minX,maxY=minY,i=1,ii=mesh.coords.length;i<ii;i++){var x=mesh.coords[i][0],y=mesh.coords[i][1];minX=minX>x?x:minX;minY=minY>y?y:minY;maxX=maxX<x?x:maxX;maxY=maxY<y?y:maxY}mesh.bounds=
[minX,minY,maxX,maxY]}function Mesh(stream,matrix,xref,res,pdfFunctionFactory){if(!(0,_primitives.isStream)(stream))throw new _util.FormatError("Mesh data is not a stream");var dict=stream.dict;this.matrix=matrix;this.shadingType=dict.get("ShadingType");this.type="Pattern";var bbox=dict.getArray("BBox");Array.isArray(bbox)&&4===bbox.length?this.bbox=_util.Util.normalizeRect(bbox):this.bbox=null;var cs=dict.get("ColorSpace","CS");this.cs=cs=_colorspace.ColorSpace.parse(cs,xref,res,pdfFunctionFactory);
this.background=dict.has("Background")?cs.getRgb(dict.get("Background"),0):null;var fnObj=dict.get("Function"),fn=fnObj?pdfFunctionFactory.createFromArray(fnObj):null;this.coords=[];this.colors=[];this.figures=[];var decodeContext={bitsPerCoordinate:dict.get("BitsPerCoordinate"),bitsPerComponent:dict.get("BitsPerComponent"),bitsPerFlag:dict.get("BitsPerFlag"),decode:dict.getArray("Decode"),colorFn:fn,colorSpace:cs,numComps:fn?1:cs.numComps},reader=new MeshStreamReader(stream,decodeContext),patchMesh=
!1;switch(this.shadingType){case 4:for(var coords=this.coords,colors=this.colors,operators=[],ps=[],verticesLeft=0;reader.hasData;){var f=reader.readFlag(),coord=reader.readCoordinate(),color=reader.readComponents();if(0===verticesLeft){if(!(0<=f&&2>=f))throw new _util.FormatError("Unknown type4 flag");switch(f){case 0:verticesLeft=3;break;case 1:ps.push(ps[ps.length-2],ps[ps.length-1]);verticesLeft=1;break;case 2:ps.push(ps[ps.length-3],ps[ps.length-1]),verticesLeft=1}operators.push(f)}ps.push(coords.length);
coords.push(coord);colors.push(color);verticesLeft--;reader.align()}this.figures.push({type:"triangles",coords:new Int32Array(ps),colors:new Int32Array(ps)});break;case 5:var verticesPerRow=dict.get("VerticesPerRow")|0;if(2>verticesPerRow)throw new _util.FormatError("Invalid VerticesPerRow");for(var coords$jscomp$0=this.coords,colors$jscomp$0=this.colors,ps$jscomp$0=[];reader.hasData;){var coord$jscomp$0=reader.readCoordinate(),color$jscomp$0=reader.readComponents();ps$jscomp$0.push(coords$jscomp$0.length);
coords$jscomp$0.push(coord$jscomp$0);colors$jscomp$0.push(color$jscomp$0)}this.figures.push({type:"lattice",coords:new Int32Array(ps$jscomp$0),colors:new Int32Array(ps$jscomp$0),verticesPerRow:verticesPerRow});break;case 6:for(var coords$jscomp$1=this.coords,colors$jscomp$1=this.colors,ps$jscomp$1=new Int32Array(16),cs$jscomp$0=new Int32Array(4);reader.hasData;){var f$jscomp$0=reader.readFlag();if(!(0<=f$jscomp$0&&3>=f$jscomp$0))throw new _util.FormatError("Unknown type6 flag");var ii,pi=coords$jscomp$1.length;
var i=0;for(ii=0!==f$jscomp$0?8:12;i<ii;i++)coords$jscomp$1.push(reader.readCoordinate());var ci=colors$jscomp$1.length;i=0;for(ii=0!==f$jscomp$0?2:4;i<ii;i++)colors$jscomp$1.push(reader.readComponents());switch(f$jscomp$0){case 0:ps$jscomp$1[12]=pi+3;ps$jscomp$1[13]=pi+4;ps$jscomp$1[14]=pi+5;ps$jscomp$1[15]=pi+6;ps$jscomp$1[8]=pi+2;ps$jscomp$1[11]=pi+7;ps$jscomp$1[4]=pi+1;ps$jscomp$1[7]=pi+8;ps$jscomp$1[0]=pi;ps$jscomp$1[1]=pi+11;ps$jscomp$1[2]=pi+10;ps$jscomp$1[3]=pi+9;cs$jscomp$0[2]=ci+1;cs$jscomp$0[3]=
ci+2;cs$jscomp$0[0]=ci;cs$jscomp$0[1]=ci+3;break;case 1:var tmp1=ps$jscomp$1[12];var tmp2=ps$jscomp$1[13];var tmp3=ps$jscomp$1[14];var tmp4=ps$jscomp$1[15];ps$jscomp$1[12]=tmp4;ps$jscomp$1[13]=pi+0;ps$jscomp$1[14]=pi+1;ps$jscomp$1[15]=pi+2;ps$jscomp$1[8]=tmp3;ps$jscomp$1[11]=pi+3;ps$jscomp$1[4]=tmp2;ps$jscomp$1[7]=pi+4;ps$jscomp$1[0]=tmp1;ps$jscomp$1[1]=pi+7;ps$jscomp$1[2]=pi+6;ps$jscomp$1[3]=pi+5;tmp1=cs$jscomp$0[2];tmp2=cs$jscomp$0[3];cs$jscomp$0[2]=tmp2;cs$jscomp$0[3]=ci;cs$jscomp$0[0]=tmp1;cs$jscomp$0[1]=
ci+1;break;case 2:tmp1=ps$jscomp$1[15];tmp2=ps$jscomp$1[11];ps$jscomp$1[12]=ps$jscomp$1[3];ps$jscomp$1[13]=pi+0;ps$jscomp$1[14]=pi+1;ps$jscomp$1[15]=pi+2;ps$jscomp$1[8]=ps$jscomp$1[7];ps$jscomp$1[11]=pi+3;ps$jscomp$1[4]=tmp2;ps$jscomp$1[7]=pi+4;ps$jscomp$1[0]=tmp1;ps$jscomp$1[1]=pi+7;ps$jscomp$1[2]=pi+6;ps$jscomp$1[3]=pi+5;tmp1=cs$jscomp$0[3];cs$jscomp$0[2]=cs$jscomp$0[1];cs$jscomp$0[3]=ci;cs$jscomp$0[0]=tmp1;cs$jscomp$0[1]=ci+1;break;case 3:ps$jscomp$1[12]=ps$jscomp$1[0],ps$jscomp$1[13]=pi+0,ps$jscomp$1[14]=
pi+1,ps$jscomp$1[15]=pi+2,ps$jscomp$1[8]=ps$jscomp$1[1],ps$jscomp$1[11]=pi+3,ps$jscomp$1[4]=ps$jscomp$1[2],ps$jscomp$1[7]=pi+4,ps$jscomp$1[0]=ps$jscomp$1[3],ps$jscomp$1[1]=pi+7,ps$jscomp$1[2]=pi+6,ps$jscomp$1[3]=pi+5,cs$jscomp$0[2]=cs$jscomp$0[0],cs$jscomp$0[3]=ci,cs$jscomp$0[0]=cs$jscomp$0[1],cs$jscomp$0[1]=ci+1}ps$jscomp$1[5]=coords$jscomp$1.length;coords$jscomp$1.push([(-4*coords$jscomp$1[ps$jscomp$1[0]][0]-coords$jscomp$1[ps$jscomp$1[15]][0]+6*(coords$jscomp$1[ps$jscomp$1[4]][0]+coords$jscomp$1[ps$jscomp$1[1]][0])-
2*(coords$jscomp$1[ps$jscomp$1[12]][0]+coords$jscomp$1[ps$jscomp$1[3]][0])+3*(coords$jscomp$1[ps$jscomp$1[13]][0]+coords$jscomp$1[ps$jscomp$1[7]][0]))/9,(-4*coords$jscomp$1[ps$jscomp$1[0]][1]-coords$jscomp$1[ps$jscomp$1[15]][1]+6*(coords$jscomp$1[ps$jscomp$1[4]][1]+coords$jscomp$1[ps$jscomp$1[1]][1])-2*(coords$jscomp$1[ps$jscomp$1[12]][1]+coords$jscomp$1[ps$jscomp$1[3]][1])+3*(coords$jscomp$1[ps$jscomp$1[13]][1]+coords$jscomp$1[ps$jscomp$1[7]][1]))/9]);ps$jscomp$1[6]=coords$jscomp$1.length;coords$jscomp$1.push([(-4*
coords$jscomp$1[ps$jscomp$1[3]][0]-coords$jscomp$1[ps$jscomp$1[12]][0]+6*(coords$jscomp$1[ps$jscomp$1[2]][0]+coords$jscomp$1[ps$jscomp$1[7]][0])-2*(coords$jscomp$1[ps$jscomp$1[0]][0]+coords$jscomp$1[ps$jscomp$1[15]][0])+3*(coords$jscomp$1[ps$jscomp$1[4]][0]+coords$jscomp$1[ps$jscomp$1[14]][0]))/9,(-4*coords$jscomp$1[ps$jscomp$1[3]][1]-coords$jscomp$1[ps$jscomp$1[12]][1]+6*(coords$jscomp$1[ps$jscomp$1[2]][1]+coords$jscomp$1[ps$jscomp$1[7]][1])-2*(coords$jscomp$1[ps$jscomp$1[0]][1]+coords$jscomp$1[ps$jscomp$1[15]][1])+
3*(coords$jscomp$1[ps$jscomp$1[4]][1]+coords$jscomp$1[ps$jscomp$1[14]][1]))/9]);ps$jscomp$1[9]=coords$jscomp$1.length;coords$jscomp$1.push([(-4*coords$jscomp$1[ps$jscomp$1[12]][0]-coords$jscomp$1[ps$jscomp$1[3]][0]+6*(coords$jscomp$1[ps$jscomp$1[8]][0]+coords$jscomp$1[ps$jscomp$1[13]][0])-2*(coords$jscomp$1[ps$jscomp$1[0]][0]+coords$jscomp$1[ps$jscomp$1[15]][0])+3*(coords$jscomp$1[ps$jscomp$1[11]][0]+coords$jscomp$1[ps$jscomp$1[1]][0]))/9,(-4*coords$jscomp$1[ps$jscomp$1[12]][1]-coords$jscomp$1[ps$jscomp$1[3]][1]+
6*(coords$jscomp$1[ps$jscomp$1[8]][1]+coords$jscomp$1[ps$jscomp$1[13]][1])-2*(coords$jscomp$1[ps$jscomp$1[0]][1]+coords$jscomp$1[ps$jscomp$1[15]][1])+3*(coords$jscomp$1[ps$jscomp$1[11]][1]+coords$jscomp$1[ps$jscomp$1[1]][1]))/9]);ps$jscomp$1[10]=coords$jscomp$1.length;coords$jscomp$1.push([(-4*coords$jscomp$1[ps$jscomp$1[15]][0]-coords$jscomp$1[ps$jscomp$1[0]][0]+6*(coords$jscomp$1[ps$jscomp$1[11]][0]+coords$jscomp$1[ps$jscomp$1[14]][0])-2*(coords$jscomp$1[ps$jscomp$1[12]][0]+coords$jscomp$1[ps$jscomp$1[3]][0])+
3*(coords$jscomp$1[ps$jscomp$1[2]][0]+coords$jscomp$1[ps$jscomp$1[8]][0]))/9,(-4*coords$jscomp$1[ps$jscomp$1[15]][1]-coords$jscomp$1[ps$jscomp$1[0]][1]+6*(coords$jscomp$1[ps$jscomp$1[11]][1]+coords$jscomp$1[ps$jscomp$1[14]][1])-2*(coords$jscomp$1[ps$jscomp$1[12]][1]+coords$jscomp$1[ps$jscomp$1[3]][1])+3*(coords$jscomp$1[ps$jscomp$1[2]][1]+coords$jscomp$1[ps$jscomp$1[8]][1]))/9]);this.figures.push({type:"patch",coords:new Int32Array(ps$jscomp$1),colors:new Int32Array(cs$jscomp$0)})}patchMesh=!0;break;
case 7:for(var coords$jscomp$2=this.coords,colors$jscomp$2=this.colors,ps$jscomp$2=new Int32Array(16),cs$jscomp$1=new Int32Array(4);reader.hasData;){var f$jscomp$1=reader.readFlag();if(!(0<=f$jscomp$1&&3>=f$jscomp$1))throw new _util.FormatError("Unknown type7 flag");var ii$jscomp$0,pi$jscomp$0=coords$jscomp$2.length;var i$jscomp$0=0;for(ii$jscomp$0=0!==f$jscomp$1?12:16;i$jscomp$0<ii$jscomp$0;i$jscomp$0++)coords$jscomp$2.push(reader.readCoordinate());var ci$jscomp$0=colors$jscomp$2.length;i$jscomp$0=
0;for(ii$jscomp$0=0!==f$jscomp$1?2:4;i$jscomp$0<ii$jscomp$0;i$jscomp$0++)colors$jscomp$2.push(reader.readComponents());switch(f$jscomp$1){case 0:ps$jscomp$2[12]=pi$jscomp$0+3;ps$jscomp$2[13]=pi$jscomp$0+4;ps$jscomp$2[14]=pi$jscomp$0+5;ps$jscomp$2[15]=pi$jscomp$0+6;ps$jscomp$2[8]=pi$jscomp$0+2;ps$jscomp$2[9]=pi$jscomp$0+13;ps$jscomp$2[10]=pi$jscomp$0+14;ps$jscomp$2[11]=pi$jscomp$0+7;ps$jscomp$2[4]=pi$jscomp$0+1;ps$jscomp$2[5]=pi$jscomp$0+12;ps$jscomp$2[6]=pi$jscomp$0+15;ps$jscomp$2[7]=pi$jscomp$0+
8;ps$jscomp$2[0]=pi$jscomp$0;ps$jscomp$2[1]=pi$jscomp$0+11;ps$jscomp$2[2]=pi$jscomp$0+10;ps$jscomp$2[3]=pi$jscomp$0+9;cs$jscomp$1[2]=ci$jscomp$0+1;cs$jscomp$1[3]=ci$jscomp$0+2;cs$jscomp$1[0]=ci$jscomp$0;cs$jscomp$1[1]=ci$jscomp$0+3;break;case 1:var tmp1$jscomp$0=ps$jscomp$2[12];var tmp2$jscomp$0=ps$jscomp$2[13];var tmp3$jscomp$0=ps$jscomp$2[14];var tmp4$jscomp$0=ps$jscomp$2[15];ps$jscomp$2[12]=tmp4$jscomp$0;ps$jscomp$2[13]=pi$jscomp$0+0;ps$jscomp$2[14]=pi$jscomp$0+1;ps$jscomp$2[15]=pi$jscomp$0+2;
ps$jscomp$2[8]=tmp3$jscomp$0;ps$jscomp$2[9]=pi$jscomp$0+9;ps$jscomp$2[10]=pi$jscomp$0+10;ps$jscomp$2[11]=pi$jscomp$0+3;ps$jscomp$2[4]=tmp2$jscomp$0;ps$jscomp$2[5]=pi$jscomp$0+8;ps$jscomp$2[6]=pi$jscomp$0+11;ps$jscomp$2[7]=pi$jscomp$0+4;ps$jscomp$2[0]=tmp1$jscomp$0;ps$jscomp$2[1]=pi$jscomp$0+7;ps$jscomp$2[2]=pi$jscomp$0+6;ps$jscomp$2[3]=pi$jscomp$0+5;tmp1$jscomp$0=cs$jscomp$1[2];tmp2$jscomp$0=cs$jscomp$1[3];cs$jscomp$1[2]=tmp2$jscomp$0;cs$jscomp$1[3]=ci$jscomp$0;cs$jscomp$1[0]=tmp1$jscomp$0;cs$jscomp$1[1]=
ci$jscomp$0+1;break;case 2:tmp1$jscomp$0=ps$jscomp$2[15];tmp2$jscomp$0=ps$jscomp$2[11];ps$jscomp$2[12]=ps$jscomp$2[3];ps$jscomp$2[13]=pi$jscomp$0+0;ps$jscomp$2[14]=pi$jscomp$0+1;ps$jscomp$2[15]=pi$jscomp$0+2;ps$jscomp$2[8]=ps$jscomp$2[7];ps$jscomp$2[9]=pi$jscomp$0+9;ps$jscomp$2[10]=pi$jscomp$0+10;ps$jscomp$2[11]=pi$jscomp$0+3;ps$jscomp$2[4]=tmp2$jscomp$0;ps$jscomp$2[5]=pi$jscomp$0+8;ps$jscomp$2[6]=pi$jscomp$0+11;ps$jscomp$2[7]=pi$jscomp$0+4;ps$jscomp$2[0]=tmp1$jscomp$0;ps$jscomp$2[1]=pi$jscomp$0+
7;ps$jscomp$2[2]=pi$jscomp$0+6;ps$jscomp$2[3]=pi$jscomp$0+5;tmp1$jscomp$0=cs$jscomp$1[3];cs$jscomp$1[2]=cs$jscomp$1[1];cs$jscomp$1[3]=ci$jscomp$0;cs$jscomp$1[0]=tmp1$jscomp$0;cs$jscomp$1[1]=ci$jscomp$0+1;break;case 3:ps$jscomp$2[12]=ps$jscomp$2[0],ps$jscomp$2[13]=pi$jscomp$0+0,ps$jscomp$2[14]=pi$jscomp$0+1,ps$jscomp$2[15]=pi$jscomp$0+2,ps$jscomp$2[8]=ps$jscomp$2[1],ps$jscomp$2[9]=pi$jscomp$0+9,ps$jscomp$2[10]=pi$jscomp$0+10,ps$jscomp$2[11]=pi$jscomp$0+3,ps$jscomp$2[4]=ps$jscomp$2[2],ps$jscomp$2[5]=
pi$jscomp$0+8,ps$jscomp$2[6]=pi$jscomp$0+11,ps$jscomp$2[7]=pi$jscomp$0+4,ps$jscomp$2[0]=ps$jscomp$2[3],ps$jscomp$2[1]=pi$jscomp$0+7,ps$jscomp$2[2]=pi$jscomp$0+6,ps$jscomp$2[3]=pi$jscomp$0+5,cs$jscomp$1[2]=cs$jscomp$1[0],cs$jscomp$1[3]=ci$jscomp$0,cs$jscomp$1[0]=cs$jscomp$1[1],cs$jscomp$1[1]=ci$jscomp$0+1}this.figures.push({type:"patch",coords:new Int32Array(ps$jscomp$2),colors:new Int32Array(cs$jscomp$1)})}patchMesh=!0;break;default:(0,_util.unreachable)("Unsupported mesh type.")}if(patchMesh){updateBounds(this);
for(var i$jscomp$1=0,ii$jscomp$1=this.figures.length;i$jscomp$1<ii$jscomp$1;i$jscomp$1++){var index=i$jscomp$1,figure=this.figures[index];(0,_util.assert)("patch"===figure.type,"Unexpected patch mesh figure");var coords$jscomp$3=this.coords,colors$jscomp$3=this.colors,pi$jscomp$1=figure.coords,ci$jscomp$1=figure.colors,figureMinY=Math.min(coords$jscomp$3[pi$jscomp$1[0]][1],coords$jscomp$3[pi$jscomp$1[3]][1],coords$jscomp$3[pi$jscomp$1[12]][1],coords$jscomp$3[pi$jscomp$1[15]][1]),figureMaxY=Math.max(coords$jscomp$3[pi$jscomp$1[0]][1],
coords$jscomp$3[pi$jscomp$1[3]][1],coords$jscomp$3[pi$jscomp$1[12]][1],coords$jscomp$3[pi$jscomp$1[15]][1]),splitXBy=Math.ceil(20*(Math.max(coords$jscomp$3[pi$jscomp$1[0]][0],coords$jscomp$3[pi$jscomp$1[3]][0],coords$jscomp$3[pi$jscomp$1[12]][0],coords$jscomp$3[pi$jscomp$1[15]][0])-Math.min(coords$jscomp$3[pi$jscomp$1[0]][0],coords$jscomp$3[pi$jscomp$1[3]][0],coords$jscomp$3[pi$jscomp$1[12]][0],coords$jscomp$3[pi$jscomp$1[15]][0]))/(this.bounds[2]-this.bounds[0]));splitXBy=Math.max(3,Math.min(20,
splitXBy));var splitYBy=Math.ceil(20*(figureMaxY-figureMinY)/(this.bounds[3]-this.bounds[1]));splitYBy=Math.max(3,Math.min(20,splitYBy));for(var verticesPerRow$jscomp$0=splitXBy+1,figureCoords=new Int32Array((splitYBy+1)*verticesPerRow$jscomp$0),figureColors=new Int32Array((splitYBy+1)*verticesPerRow$jscomp$0),k=0,cl=new Uint8Array(3),cr=new Uint8Array(3),c0=colors$jscomp$3[ci$jscomp$1[0]],c1=colors$jscomp$3[ci$jscomp$1[1]],c2=colors$jscomp$3[ci$jscomp$1[2]],c3=colors$jscomp$3[ci$jscomp$1[3]],bRow=
getB(splitYBy),bCol=getB(splitXBy),row=0;row<=splitYBy;row++){cl[0]=(c0[0]*(splitYBy-row)+c2[0]*row)/splitYBy|0;cl[1]=(c0[1]*(splitYBy-row)+c2[1]*row)/splitYBy|0;cl[2]=(c0[2]*(splitYBy-row)+c2[2]*row)/splitYBy|0;cr[0]=(c1[0]*(splitYBy-row)+c3[0]*row)/splitYBy|0;cr[1]=(c1[1]*(splitYBy-row)+c3[1]*row)/splitYBy|0;cr[2]=(c1[2]*(splitYBy-row)+c3[2]*row)/splitYBy|0;for(var col=0;col<=splitXBy;col++,k++)if(0!==row&&row!==splitYBy||0!==col&&col!==splitXBy){for(var x=0,y=0,q=0,i$jscomp$2=0;3>=i$jscomp$2;i$jscomp$2++)for(var j=
0;3>=j;j++,q++){var m=bRow[row][i$jscomp$2]*bCol[col][j];x+=coords$jscomp$3[pi$jscomp$1[q]][0]*m;y+=coords$jscomp$3[pi$jscomp$1[q]][1]*m}figureCoords[k]=coords$jscomp$3.length;coords$jscomp$3.push([x,y]);figureColors[k]=colors$jscomp$3.length;var newColor=new Uint8Array(3);newColor[0]=(cl[0]*(splitXBy-col)+cr[0]*col)/splitXBy|0;newColor[1]=(cl[1]*(splitXBy-col)+cr[1]*col)/splitXBy|0;newColor[2]=(cl[2]*(splitXBy-col)+cr[2]*col)/splitXBy|0;colors$jscomp$3.push(newColor)}}figureCoords[0]=pi$jscomp$1[0];
figureColors[0]=ci$jscomp$1[0];figureCoords[splitXBy]=pi$jscomp$1[3];figureColors[splitXBy]=ci$jscomp$1[1];figureCoords[verticesPerRow$jscomp$0*splitYBy]=pi$jscomp$1[12];figureColors[verticesPerRow$jscomp$0*splitYBy]=ci$jscomp$1[2];figureCoords[verticesPerRow$jscomp$0*splitYBy+splitXBy]=pi$jscomp$1[15];figureColors[verticesPerRow$jscomp$0*splitYBy+splitXBy]=ci$jscomp$1[3];this.figures[index]={type:"lattice",coords:figureCoords,colors:figureColors,verticesPerRow:verticesPerRow$jscomp$0}}}updateBounds(this);
var i$jscomp$3,ii$jscomp$2,jj,coords$jscomp$4=this.coords,coordsPacked=new Float32Array(2*coords$jscomp$4.length);var j$jscomp$0=i$jscomp$3=0;for(ii$jscomp$2=coords$jscomp$4.length;i$jscomp$3<ii$jscomp$2;i$jscomp$3++){var xy=coords$jscomp$4[i$jscomp$3];coordsPacked[j$jscomp$0++]=xy[0];coordsPacked[j$jscomp$0++]=xy[1]}this.coords=coordsPacked;var colors$jscomp$4=this.colors,colorsPacked=new Uint8Array(3*colors$jscomp$4.length);j$jscomp$0=i$jscomp$3=0;for(ii$jscomp$2=colors$jscomp$4.length;i$jscomp$3<
ii$jscomp$2;i$jscomp$3++){var c=colors$jscomp$4[i$jscomp$3];colorsPacked[j$jscomp$0++]=c[0];colorsPacked[j$jscomp$0++]=c[1];colorsPacked[j$jscomp$0++]=c[2]}this.colors=colorsPacked;var figures=this.figures;i$jscomp$3=0;for(ii$jscomp$2=figures.length;i$jscomp$3<ii$jscomp$2;i$jscomp$3++){var figure$jscomp$0=figures[i$jscomp$3],ps$jscomp$3=figure$jscomp$0.coords,cs$jscomp$2=figure$jscomp$0.colors;j$jscomp$0=0;for(jj=ps$jscomp$3.length;j$jscomp$0<jj;j$jscomp$0++)ps$jscomp$3[j$jscomp$0]*=2,cs$jscomp$2[j$jscomp$0]*=
3}}MeshStreamReader.prototype={get hasData(){if(this.stream.end)return this.stream.pos<this.stream.end;if(0<this.bufferLength)return!0;var nextByte=this.stream.getByte();if(0>nextByte)return!1;this.buffer=nextByte;this.bufferLength=8;return!0},readBits:function(n){var buffer=this.buffer,bufferLength=this.bufferLength;if(32===n){if(0===bufferLength)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;buffer=buffer<<24|this.stream.getByte()<<
16|this.stream.getByte()<<8|this.stream.getByte();n=this.stream.getByte();this.buffer=n&(1<<bufferLength)-1;return(buffer<<8-bufferLength|(n&255)>>bufferLength)>>>0}if(8===n&&0===bufferLength)return this.stream.getByte();for(;bufferLength<n;)buffer=buffer<<8|this.stream.getByte(),bufferLength+=8;this.bufferLength=bufferLength-=n;this.buffer=buffer&(1<<bufferLength)-1;return buffer>>bufferLength},align:function(){this.bufferLength=this.buffer=0},readFlag:function(){return this.readBits(this.context.bitsPerFlag)},
readCoordinate:function(){var bitsPerCoordinate=this.context.bitsPerCoordinate,xi=this.readBits(bitsPerCoordinate),yi=this.readBits(bitsPerCoordinate),decode=this.context.decode;bitsPerCoordinate=32>bitsPerCoordinate?1/((1<<bitsPerCoordinate)-1):2.3283064365386963E-10;return[xi*bitsPerCoordinate*(decode[1]-decode[0])+decode[0],yi*bitsPerCoordinate*(decode[3]-decode[2])+decode[2]]},readComponents:function(){for(var numComps=this.context.numComps,bitsPerComponent=this.context.bitsPerComponent,scale=
32>bitsPerComponent?1/((1<<bitsPerComponent)-1):2.3283064365386963E-10,decode=this.context.decode,components=this.tmpCompsBuf,i=0,j=4;i<numComps;i++,j+=2){var ci=this.readBits(bitsPerComponent);components[i]=ci*scale*(decode[j+1]-decode[j])+decode[j]}numComps=this.tmpCsCompsBuf;this.context.colorFn&&this.context.colorFn(components,0,numComps,0);return this.context.colorSpace.getRgb(numComps,0)}};var getB=function(){var cache=[];return function(count){if(!cache[count]){for(var lut=[],i=0;i<=count;i++){var t=
i/count,t_=1-t;lut.push(new Float32Array([t_*t_*t_,3*t*t_*t_,3*t*t*t_,t*t*t]))}cache[count]=lut}return cache[count]}}();Mesh.prototype={getIR:function(){return["Mesh",this.shadingType,this.coords,this.colors,this.figures,this.bounds,this.matrix,this.bbox,this.background]}};return Mesh}();Shadings.Dummy=function(){function Dummy(){this.type="Pattern"}Dummy.prototype={getIR:function(){return["Dummy"]}};return Dummy}()},function(module,exports,__w_pdfjs_require__){function reverseValues(arr,start,end){for(--end;start<
end;++start,--end){var temp=arr[start];arr[start]=arr[end];arr[end]=temp}}function createBidiText(str,isLTR,vertical){return{str:str,dir:vertical?"ttb":isLTR?"ltr":"rtl"}}Object.defineProperty(exports,"__esModule",{value:!0});exports.bidi=function(str,startLevel,vertical){var isLTR=!0,strLength=str.length;if(0===strLength||vertical)return createBidiText(str,isLTR,vertical);chars.length=strLength;types.length=strLength;var numBidi=0;for(vertical=0;vertical<strLength;++vertical){chars[vertical]=str.charAt(vertical);
var charCode=str.charCodeAt(vertical),charType="L";255>=charCode?charType=baseTypes[charCode]:1424<=charCode&&1524>=charCode?charType="R":1536<=charCode&&1791>=charCode?(charType=arabicTypes[charCode&255])||(0,_util.warn)("Bidi: invalid Unicode character "+charCode.toString(16)):1792<=charCode&&2220>=charCode&&(charType="AL");"R"!==charType&&"AL"!==charType&&"AN"!==charType||numBidi++;types[vertical]=charType}if(0===numBidi)return createBidiText(str,!0);-1===startLevel&&(.3>numBidi/strLength?(isLTR=
!0,startLevel=0):(isLTR=!1,startLevel=1));str=[];for(vertical=0;vertical<strLength;++vertical)str[vertical]=startLevel;numBidi=startLevel=0!==(startLevel&1)?"R":"L";for(vertical=0;vertical<strLength;++vertical)"NSM"===types[vertical]?types[vertical]=numBidi:numBidi=types[vertical];numBidi=startLevel;for(vertical=0;vertical<strLength;++vertical)if(charCode=types[vertical],"EN"===charCode)types[vertical]="AL"===numBidi?"AN":"EN";else if("R"===charCode||"L"===charCode||"AL"===charCode)numBidi=charCode;
for(vertical=0;vertical<strLength;++vertical)charCode=types[vertical],"AL"===charCode&&(types[vertical]="R");for(vertical=1;vertical<strLength-1;++vertical)"ES"===types[vertical]&&"EN"===types[vertical-1]&&"EN"===types[vertical+1]&&(types[vertical]="EN"),"CS"!==types[vertical]||"EN"!==types[vertical-1]&&"AN"!==types[vertical-1]||types[vertical+1]!==types[vertical-1]||(types[vertical]=types[vertical-1]);for(vertical=0;vertical<strLength;++vertical)if("EN"===types[vertical]){for(numBidi=vertical-1;0<=
numBidi&&"ET"===types[numBidi];--numBidi)types[numBidi]="EN";for(numBidi=vertical+1;numBidi<strLength&&"ET"===types[numBidi];++numBidi)types[numBidi]="EN"}for(vertical=0;vertical<strLength;++vertical)if(charCode=types[vertical],"WS"===charCode||"ES"===charCode||"ET"===charCode||"CS"===charCode)types[vertical]="ON";numBidi=startLevel;for(vertical=0;vertical<strLength;++vertical)if(charCode=types[vertical],"EN"===charCode)types[vertical]="L"===numBidi?"L":"EN";else if("R"===charCode||"L"===charCode)numBidi=
charCode;for(vertical=0;vertical<strLength;++vertical)if("ON"===types[vertical]){a:for(numBidi=vertical+1,charCode=types.length;numBidi<charCode;++numBidi)if("ON"!==types[numBidi])break a;var before=startLevel;0<vertical&&(before=types[vertical-1]);charCode=startLevel;numBidi+1<strLength&&(charCode=types[numBidi+1]);"L"!==before&&(before="R");"L"!==charCode&&(charCode="R");if(before===charCode)for(charCode=types,charType=numBidi;vertical<charType;++vertical)charCode[vertical]=before;vertical=numBidi-
1}for(vertical=0;vertical<strLength;++vertical)"ON"===types[vertical]&&(types[vertical]=startLevel);for(vertical=0;vertical<strLength;++vertical)if(charCode=types[vertical],0===(str[vertical]&1))if("R"===charCode)str[vertical]+=1;else{if("AN"===charCode||"EN"===charCode)str[vertical]+=2}else if("L"===charCode||"AN"===charCode||"EN"===charCode)str[vertical]+=1;charCode=-1;startLevel=99;vertical=0;for(strLength=str.length;vertical<strLength;++vertical)numBidi=str[vertical],charCode<numBidi&&(charCode=
numBidi),startLevel>numBidi&&0!==(numBidi&1)&&(startLevel=numBidi);for(numBidi=charCode;numBidi>=startLevel;--numBidi){charCode=-1;vertical=0;for(strLength=str.length;vertical<strLength;++vertical)str[vertical]<numBidi?0<=charCode&&(reverseValues(chars,charCode,vertical),charCode=-1):0>charCode&&(charCode=vertical);0<=charCode&&reverseValues(chars,charCode,str.length)}vertical=0;for(strLength=chars.length;vertical<strLength;++vertical)if(str=chars[vertical],"<"===str||">"===str)chars[vertical]="";
return createBidiText(chars.join(""),isLTR)};var _util=__w_pdfjs_require__(5),baseTypes="BN BN BN BN BN BN BN BN BN S B S WS B BN BN BN BN BN BN BN BN BN BN BN BN BN BN B B B S WS ON ON ET ET ET ON ON ON ON ON ES CS ES CS CS EN EN EN EN EN EN EN EN EN EN CS ON ON ON ON ON ON L L L L L L L L L L L L L L L L L L L L L L L L L L ON ON ON ON ON ON L L L L L L L L L L L L L L L L L L L L L L L L L L ON ON ON ON BN BN BN BN BN BN B BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN CS ON ET ET ET ET ON ON ON ON L ON ON BN ON ON ET ET EN EN ON L ON ON ON EN L ON ON ON ON ON L L L L L L L L L L L L L L L L L L L L L L L ON L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L ON L L L L L L L L".split(" "),
arabicTypes="AN AN AN AN AN AN ON ON AL ET ET AL CS AL ON ON NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM AL AL  AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM AN AN AN AN AN AN AN AN AN AN ET AN AN AL AL AL NSM AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL NSM NSM NSM NSM NSM NSM NSM AN ON NSM NSM NSM NSM NSM NSM AL AL NSM NSM ON NSM NSM NSM NSM AL AL EN EN EN EN EN EN EN EN EN EN AL AL AL AL AL AL".split(" "),
chars=[],types=[]},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",{value:!0});exports.getMetrics=void 0;var _core_utils=__w_pdfjs_require__(191);module=(0,_core_utils.getLookupTableFactory)(function(t$jscomp$0){t$jscomp$0.Courier=600;t$jscomp$0["Courier-Bold"]=600;t$jscomp$0["Courier-BoldOblique"]=600;t$jscomp$0["Courier-Oblique"]=600;t$jscomp$0.Helvetica=(0,_core_utils.getLookupTableFactory)(function(t){t.space=278;t.exclam=278;t.quotedbl=355;t.numbersign=
556;t.dollar=556;t.percent=889;t.ampersand=667;t.quoteright=222;t.parenleft=333;t.parenright=333;t.asterisk=389;t.plus=584;t.comma=278;t.hyphen=333;t.period=278;t.slash=278;t.zero=556;t.one=556;t.two=556;t.three=556;t.four=556;t.five=556;t.six=556;t.seven=556;t.eight=556;t.nine=556;t.colon=278;t.semicolon=278;t.less=584;t.equal=584;t.greater=584;t.question=556;t.at=1015;t.A=667;t.B=667;t.C=722;t.D=722;t.E=667;t.F=611;t.G=778;t.H=722;t.I=278;t.J=500;t.K=667;t.L=556;t.M=833;t.N=722;t.O=778;t.P=667;
t.Q=778;t.R=722;t.S=667;t.T=611;t.U=722;t.V=667;t.W=944;t.X=667;t.Y=667;t.Z=611;t.bracketleft=278;t.backslash=278;t.bracketright=278;t.asciicircum=469;t.underscore=556;t.quoteleft=222;t.a=556;t.b=556;t.c=500;t.d=556;t.e=556;t.f=278;t.g=556;t.h=556;t.i=222;t.j=222;t.k=500;t.l=222;t.m=833;t.n=556;t.o=556;t.p=556;t.q=556;t.r=333;t.s=500;t.t=278;t.u=556;t.v=500;t.w=722;t.x=500;t.y=500;t.z=500;t.braceleft=334;t.bar=260;t.braceright=334;t.asciitilde=584;t.exclamdown=333;t.cent=556;t.sterling=556;t.fraction=
167;t.yen=556;t.florin=556;t.section=556;t.currency=556;t.quotesingle=191;t.quotedblleft=333;t.guillemotleft=556;t.guilsinglleft=333;t.guilsinglright=333;t.fi=500;t.fl=500;t.endash=556;t.dagger=556;t.daggerdbl=556;t.periodcentered=278;t.paragraph=537;t.bullet=350;t.quotesinglbase=222;t.quotedblbase=333;t.quotedblright=333;t.guillemotright=556;t.ellipsis=1E3;t.perthousand=1E3;t.questiondown=611;t.grave=333;t.acute=333;t.circumflex=333;t.tilde=333;t.macron=333;t.breve=333;t.dotaccent=333;t.dieresis=
333;t.ring=333;t.cedilla=333;t.hungarumlaut=333;t.ogonek=333;t.caron=333;t.emdash=1E3;t.AE=1E3;t.ordfeminine=370;t.Lslash=556;t.Oslash=778;t.OE=1E3;t.ordmasculine=365;t.ae=889;t.dotlessi=278;t.lslash=222;t.oslash=611;t.oe=944;t.germandbls=611;t.Idieresis=278;t.eacute=556;t.abreve=556;t.uhungarumlaut=556;t.ecaron=556;t.Ydieresis=667;t.divide=584;t.Yacute=667;t.Acircumflex=667;t.aacute=556;t.Ucircumflex=722;t.yacute=500;t.scommaaccent=500;t.ecircumflex=556;t.Uring=722;t.Udieresis=722;t.aogonek=556;
t.Uacute=722;t.uogonek=556;t.Edieresis=667;t.Dcroat=722;t.commaaccent=250;t.copyright=737;t.Emacron=667;t.ccaron=500;t.aring=556;t.Ncommaaccent=722;t.lacute=222;t.agrave=556;t.Tcommaaccent=611;t.Cacute=722;t.atilde=556;t.Edotaccent=667;t.scaron=500;t.scedilla=500;t.iacute=278;t.lozenge=471;t.Rcaron=722;t.Gcommaaccent=778;t.ucircumflex=556;t.acircumflex=556;t.Amacron=667;t.rcaron=333;t.ccedilla=500;t.Zdotaccent=611;t.Thorn=667;t.Omacron=778;t.Racute=722;t.Sacute=667;t.dcaron=643;t.Umacron=722;t.uring=
556;t.threesuperior=333;t.Ograve=778;t.Agrave=667;t.Abreve=667;t.multiply=584;t.uacute=556;t.Tcaron=611;t.partialdiff=476;t.ydieresis=500;t.Nacute=722;t.icircumflex=278;t.Ecircumflex=667;t.adieresis=556;t.edieresis=556;t.cacute=500;t.nacute=556;t.umacron=556;t.Ncaron=722;t.Iacute=278;t.plusminus=584;t.brokenbar=260;t.registered=737;t.Gbreve=778;t.Idotaccent=278;t.summation=600;t.Egrave=667;t.racute=333;t.omacron=556;t.Zacute=611;t.Zcaron=611;t.greaterequal=549;t.Eth=722;t.Ccedilla=722;t.lcommaaccent=
222;t.tcaron=317;t.eogonek=556;t.Uogonek=722;t.Aacute=667;t.Adieresis=667;t.egrave=556;t.zacute=500;t.iogonek=222;t.Oacute=778;t.oacute=556;t.amacron=556;t.sacute=500;t.idieresis=278;t.Ocircumflex=778;t.Ugrave=722;t.Delta=612;t.thorn=556;t.twosuperior=333;t.Odieresis=778;t.mu=556;t.igrave=278;t.ohungarumlaut=556;t.Eogonek=667;t.dcroat=556;t.threequarters=834;t.Scedilla=667;t.lcaron=299;t.Kcommaaccent=667;t.Lacute=556;t.trademark=1E3;t.edotaccent=556;t.Igrave=278;t.Imacron=278;t.Lcaron=556;t.onehalf=
834;t.lessequal=549;t.ocircumflex=556;t.ntilde=556;t.Uhungarumlaut=722;t.Eacute=667;t.emacron=556;t.gbreve=556;t.onequarter=834;t.Scaron=667;t.Scommaaccent=667;t.Ohungarumlaut=778;t.degree=400;t.ograve=556;t.Ccaron=722;t.ugrave=556;t.radical=453;t.Dcaron=722;t.rcommaaccent=333;t.Ntilde=722;t.otilde=556;t.Rcommaaccent=722;t.Lcommaaccent=556;t.Atilde=667;t.Aogonek=667;t.Aring=667;t.Otilde=778;t.zdotaccent=500;t.Ecaron=667;t.Iogonek=278;t.kcommaaccent=500;t.minus=584;t.Icircumflex=278;t.ncaron=556;t.tcommaaccent=
278;t.logicalnot=584;t.odieresis=556;t.udieresis=556;t.notequal=549;t.gcommaaccent=556;t.eth=556;t.zcaron=500;t.ncommaaccent=556;t.onesuperior=333;t.imacron=278;t.Euro=556});t$jscomp$0["Helvetica-Bold"]=(0,_core_utils.getLookupTableFactory)(function(t){t.space=278;t.exclam=333;t.quotedbl=474;t.numbersign=556;t.dollar=556;t.percent=889;t.ampersand=722;t.quoteright=278;t.parenleft=333;t.parenright=333;t.asterisk=389;t.plus=584;t.comma=278;t.hyphen=333;t.period=278;t.slash=278;t.zero=556;t.one=556;t.two=
556;t.three=556;t.four=556;t.five=556;t.six=556;t.seven=556;t.eight=556;t.nine=556;t.colon=333;t.semicolon=333;t.less=584;t.equal=584;t.greater=584;t.question=611;t.at=975;t.A=722;t.B=722;t.C=722;t.D=722;t.E=667;t.F=611;t.G=778;t.H=722;t.I=278;t.J=556;t.K=722;t.L=611;t.M=833;t.N=722;t.O=778;t.P=667;t.Q=778;t.R=722;t.S=667;t.T=611;t.U=722;t.V=667;t.W=944;t.X=667;t.Y=667;t.Z=611;t.bracketleft=333;t.backslash=278;t.bracketright=333;t.asciicircum=584;t.underscore=556;t.quoteleft=278;t.a=556;t.b=611;t.c=
556;t.d=611;t.e=556;t.f=333;t.g=611;t.h=611;t.i=278;t.j=278;t.k=556;t.l=278;t.m=889;t.n=611;t.o=611;t.p=611;t.q=611;t.r=389;t.s=556;t.t=333;t.u=611;t.v=556;t.w=778;t.x=556;t.y=556;t.z=500;t.braceleft=389;t.bar=280;t.braceright=389;t.asciitilde=584;t.exclamdown=333;t.cent=556;t.sterling=556;t.fraction=167;t.yen=556;t.florin=556;t.section=556;t.currency=556;t.quotesingle=238;t.quotedblleft=500;t.guillemotleft=556;t.guilsinglleft=333;t.guilsinglright=333;t.fi=611;t.fl=611;t.endash=556;t.dagger=556;t.daggerdbl=
556;t.periodcentered=278;t.paragraph=556;t.bullet=350;t.quotesinglbase=278;t.quotedblbase=500;t.quotedblright=500;t.guillemotright=556;t.ellipsis=1E3;t.perthousand=1E3;t.questiondown=611;t.grave=333;t.acute=333;t.circumflex=333;t.tilde=333;t.macron=333;t.breve=333;t.dotaccent=333;t.dieresis=333;t.ring=333;t.cedilla=333;t.hungarumlaut=333;t.ogonek=333;t.caron=333;t.emdash=1E3;t.AE=1E3;t.ordfeminine=370;t.Lslash=611;t.Oslash=778;t.OE=1E3;t.ordmasculine=365;t.ae=889;t.dotlessi=278;t.lslash=278;t.oslash=
611;t.oe=944;t.germandbls=611;t.Idieresis=278;t.eacute=556;t.abreve=556;t.uhungarumlaut=611;t.ecaron=556;t.Ydieresis=667;t.divide=584;t.Yacute=667;t.Acircumflex=722;t.aacute=556;t.Ucircumflex=722;t.yacute=556;t.scommaaccent=556;t.ecircumflex=556;t.Uring=722;t.Udieresis=722;t.aogonek=556;t.Uacute=722;t.uogonek=611;t.Edieresis=667;t.Dcroat=722;t.commaaccent=250;t.copyright=737;t.Emacron=667;t.ccaron=556;t.aring=556;t.Ncommaaccent=722;t.lacute=278;t.agrave=556;t.Tcommaaccent=611;t.Cacute=722;t.atilde=
556;t.Edotaccent=667;t.scaron=556;t.scedilla=556;t.iacute=278;t.lozenge=494;t.Rcaron=722;t.Gcommaaccent=778;t.ucircumflex=611;t.acircumflex=556;t.Amacron=722;t.rcaron=389;t.ccedilla=556;t.Zdotaccent=611;t.Thorn=667;t.Omacron=778;t.Racute=722;t.Sacute=667;t.dcaron=743;t.Umacron=722;t.uring=611;t.threesuperior=333;t.Ograve=778;t.Agrave=722;t.Abreve=722;t.multiply=584;t.uacute=611;t.Tcaron=611;t.partialdiff=494;t.ydieresis=556;t.Nacute=722;t.icircumflex=278;t.Ecircumflex=667;t.adieresis=556;t.edieresis=
556;t.cacute=556;t.nacute=611;t.umacron=611;t.Ncaron=722;t.Iacute=278;t.plusminus=584;t.brokenbar=280;t.registered=737;t.Gbreve=778;t.Idotaccent=278;t.summation=600;t.Egrave=667;t.racute=389;t.omacron=611;t.Zacute=611;t.Zcaron=611;t.greaterequal=549;t.Eth=722;t.Ccedilla=722;t.lcommaaccent=278;t.tcaron=389;t.eogonek=556;t.Uogonek=722;t.Aacute=722;t.Adieresis=722;t.egrave=556;t.zacute=500;t.iogonek=278;t.Oacute=778;t.oacute=611;t.amacron=556;t.sacute=556;t.idieresis=278;t.Ocircumflex=778;t.Ugrave=722;
t.Delta=612;t.thorn=611;t.twosuperior=333;t.Odieresis=778;t.mu=611;t.igrave=278;t.ohungarumlaut=611;t.Eogonek=667;t.dcroat=611;t.threequarters=834;t.Scedilla=667;t.lcaron=400;t.Kcommaaccent=722;t.Lacute=611;t.trademark=1E3;t.edotaccent=556;t.Igrave=278;t.Imacron=278;t.Lcaron=611;t.onehalf=834;t.lessequal=549;t.ocircumflex=611;t.ntilde=611;t.Uhungarumlaut=722;t.Eacute=667;t.emacron=556;t.gbreve=611;t.onequarter=834;t.Scaron=667;t.Scommaaccent=667;t.Ohungarumlaut=778;t.degree=400;t.ograve=611;t.Ccaron=
722;t.ugrave=611;t.radical=549;t.Dcaron=722;t.rcommaaccent=389;t.Ntilde=722;t.otilde=611;t.Rcommaaccent=722;t.Lcommaaccent=611;t.Atilde=722;t.Aogonek=722;t.Aring=722;t.Otilde=778;t.zdotaccent=500;t.Ecaron=667;t.Iogonek=278;t.kcommaaccent=556;t.minus=584;t.Icircumflex=278;t.ncaron=611;t.tcommaaccent=333;t.logicalnot=584;t.odieresis=611;t.udieresis=611;t.notequal=549;t.gcommaaccent=611;t.eth=611;t.zcaron=500;t.ncommaaccent=611;t.onesuperior=333;t.imacron=278;t.Euro=556});t$jscomp$0["Helvetica-BoldOblique"]=
(0,_core_utils.getLookupTableFactory)(function(t){t.space=278;t.exclam=333;t.quotedbl=474;t.numbersign=556;t.dollar=556;t.percent=889;t.ampersand=722;t.quoteright=278;t.parenleft=333;t.parenright=333;t.asterisk=389;t.plus=584;t.comma=278;t.hyphen=333;t.period=278;t.slash=278;t.zero=556;t.one=556;t.two=556;t.three=556;t.four=556;t.five=556;t.six=556;t.seven=556;t.eight=556;t.nine=556;t.colon=333;t.semicolon=333;t.less=584;t.equal=584;t.greater=584;t.question=611;t.at=975;t.A=722;t.B=722;t.C=722;t.D=
722;t.E=667;t.F=611;t.G=778;t.H=722;t.I=278;t.J=556;t.K=722;t.L=611;t.M=833;t.N=722;t.O=778;t.P=667;t.Q=778;t.R=722;t.S=667;t.T=611;t.U=722;t.V=667;t.W=944;t.X=667;t.Y=667;t.Z=611;t.bracketleft=333;t.backslash=278;t.bracketright=333;t.asciicircum=584;t.underscore=556;t.quoteleft=278;t.a=556;t.b=611;t.c=556;t.d=611;t.e=556;t.f=333;t.g=611;t.h=611;t.i=278;t.j=278;t.k=556;t.l=278;t.m=889;t.n=611;t.o=611;t.p=611;t.q=611;t.r=389;t.s=556;t.t=333;t.u=611;t.v=556;t.w=778;t.x=556;t.y=556;t.z=500;t.braceleft=
389;t.bar=280;t.braceright=389;t.asciitilde=584;t.exclamdown=333;t.cent=556;t.sterling=556;t.fraction=167;t.yen=556;t.florin=556;t.section=556;t.currency=556;t.quotesingle=238;t.quotedblleft=500;t.guillemotleft=556;t.guilsinglleft=333;t.guilsinglright=333;t.fi=611;t.fl=611;t.endash=556;t.dagger=556;t.daggerdbl=556;t.periodcentered=278;t.paragraph=556;t.bullet=350;t.quotesinglbase=278;t.quotedblbase=500;t.quotedblright=500;t.guillemotright=556;t.ellipsis=1E3;t.perthousand=1E3;t.questiondown=611;t.grave=
333;t.acute=333;t.circumflex=333;t.tilde=333;t.macron=333;t.breve=333;t.dotaccent=333;t.dieresis=333;t.ring=333;t.cedilla=333;t.hungarumlaut=333;t.ogonek=333;t.caron=333;t.emdash=1E3;t.AE=1E3;t.ordfeminine=370;t.Lslash=611;t.Oslash=778;t.OE=1E3;t.ordmasculine=365;t.ae=889;t.dotlessi=278;t.lslash=278;t.oslash=611;t.oe=944;t.germandbls=611;t.Idieresis=278;t.eacute=556;t.abreve=556;t.uhungarumlaut=611;t.ecaron=556;t.Ydieresis=667;t.divide=584;t.Yacute=667;t.Acircumflex=722;t.aacute=556;t.Ucircumflex=
722;t.yacute=556;t.scommaaccent=556;t.ecircumflex=556;t.Uring=722;t.Udieresis=722;t.aogonek=556;t.Uacute=722;t.uogonek=611;t.Edieresis=667;t.Dcroat=722;t.commaaccent=250;t.copyright=737;t.Emacron=667;t.ccaron=556;t.aring=556;t.Ncommaaccent=722;t.lacute=278;t.agrave=556;t.Tcommaaccent=611;t.Cacute=722;t.atilde=556;t.Edotaccent=667;t.scaron=556;t.scedilla=556;t.iacute=278;t.lozenge=494;t.Rcaron=722;t.Gcommaaccent=778;t.ucircumflex=611;t.acircumflex=556;t.Amacron=722;t.rcaron=389;t.ccedilla=556;t.Zdotaccent=
611;t.Thorn=667;t.Omacron=778;t.Racute=722;t.Sacute=667;t.dcaron=743;t.Umacron=722;t.uring=611;t.threesuperior=333;t.Ograve=778;t.Agrave=722;t.Abreve=722;t.multiply=584;t.uacute=611;t.Tcaron=611;t.partialdiff=494;t.ydieresis=556;t.Nacute=722;t.icircumflex=278;t.Ecircumflex=667;t.adieresis=556;t.edieresis=556;t.cacute=556;t.nacute=611;t.umacron=611;t.Ncaron=722;t.Iacute=278;t.plusminus=584;t.brokenbar=280;t.registered=737;t.Gbreve=778;t.Idotaccent=278;t.summation=600;t.Egrave=667;t.racute=389;t.omacron=
611;t.Zacute=611;t.Zcaron=611;t.greaterequal=549;t.Eth=722;t.Ccedilla=722;t.lcommaaccent=278;t.tcaron=389;t.eogonek=556;t.Uogonek=722;t.Aacute=722;t.Adieresis=722;t.egrave=556;t.zacute=500;t.iogonek=278;t.Oacute=778;t.oacute=611;t.amacron=556;t.sacute=556;t.idieresis=278;t.Ocircumflex=778;t.Ugrave=722;t.Delta=612;t.thorn=611;t.twosuperior=333;t.Odieresis=778;t.mu=611;t.igrave=278;t.ohungarumlaut=611;t.Eogonek=667;t.dcroat=611;t.threequarters=834;t.Scedilla=667;t.lcaron=400;t.Kcommaaccent=722;t.Lacute=
611;t.trademark=1E3;t.edotaccent=556;t.Igrave=278;t.Imacron=278;t.Lcaron=611;t.onehalf=834;t.lessequal=549;t.ocircumflex=611;t.ntilde=611;t.Uhungarumlaut=722;t.Eacute=667;t.emacron=556;t.gbreve=611;t.onequarter=834;t.Scaron=667;t.Scommaaccent=667;t.Ohungarumlaut=778;t.degree=400;t.ograve=611;t.Ccaron=722;t.ugrave=611;t.radical=549;t.Dcaron=722;t.rcommaaccent=389;t.Ntilde=722;t.otilde=611;t.Rcommaaccent=722;t.Lcommaaccent=611;t.Atilde=722;t.Aogonek=722;t.Aring=722;t.Otilde=778;t.zdotaccent=500;t.Ecaron=
667;t.Iogonek=278;t.kcommaaccent=556;t.minus=584;t.Icircumflex=278;t.ncaron=611;t.tcommaaccent=333;t.logicalnot=584;t.odieresis=611;t.udieresis=611;t.notequal=549;t.gcommaaccent=611;t.eth=611;t.zcaron=500;t.ncommaaccent=611;t.onesuperior=333;t.imacron=278;t.Euro=556});t$jscomp$0["Helvetica-Oblique"]=(0,_core_utils.getLookupTableFactory)(function(t){t.space=278;t.exclam=278;t.quotedbl=355;t.numbersign=556;t.dollar=556;t.percent=889;t.ampersand=667;t.quoteright=222;t.parenleft=333;t.parenright=333;
t.asterisk=389;t.plus=584;t.comma=278;t.hyphen=333;t.period=278;t.slash=278;t.zero=556;t.one=556;t.two=556;t.three=556;t.four=556;t.five=556;t.six=556;t.seven=556;t.eight=556;t.nine=556;t.colon=278;t.semicolon=278;t.less=584;t.equal=584;t.greater=584;t.question=556;t.at=1015;t.A=667;t.B=667;t.C=722;t.D=722;t.E=667;t.F=611;t.G=778;t.H=722;t.I=278;t.J=500;t.K=667;t.L=556;t.M=833;t.N=722;t.O=778;t.P=667;t.Q=778;t.R=722;t.S=667;t.T=611;t.U=722;t.V=667;t.W=944;t.X=667;t.Y=667;t.Z=611;t.bracketleft=278;
t.backslash=278;t.bracketright=278;t.asciicircum=469;t.underscore=556;t.quoteleft=222;t.a=556;t.b=556;t.c=500;t.d=556;t.e=556;t.f=278;t.g=556;t.h=556;t.i=222;t.j=222;t.k=500;t.l=222;t.m=833;t.n=556;t.o=556;t.p=556;t.q=556;t.r=333;t.s=500;t.t=278;t.u=556;t.v=500;t.w=722;t.x=500;t.y=500;t.z=500;t.braceleft=334;t.bar=260;t.braceright=334;t.asciitilde=584;t.exclamdown=333;t.cent=556;t.sterling=556;t.fraction=167;t.yen=556;t.florin=556;t.section=556;t.currency=556;t.quotesingle=191;t.quotedblleft=333;
t.guillemotleft=556;t.guilsinglleft=333;t.guilsinglright=333;t.fi=500;t.fl=500;t.endash=556;t.dagger=556;t.daggerdbl=556;t.periodcentered=278;t.paragraph=537;t.bullet=350;t.quotesinglbase=222;t.quotedblbase=333;t.quotedblright=333;t.guillemotright=556;t.ellipsis=1E3;t.perthousand=1E3;t.questiondown=611;t.grave=333;t.acute=333;t.circumflex=333;t.tilde=333;t.macron=333;t.breve=333;t.dotaccent=333;t.dieresis=333;t.ring=333;t.cedilla=333;t.hungarumlaut=333;t.ogonek=333;t.caron=333;t.emdash=1E3;t.AE=1E3;
t.ordfeminine=370;t.Lslash=556;t.Oslash=778;t.OE=1E3;t.ordmasculine=365;t.ae=889;t.dotlessi=278;t.lslash=222;t.oslash=611;t.oe=944;t.germandbls=611;t.Idieresis=278;t.eacute=556;t.abreve=556;t.uhungarumlaut=556;t.ecaron=556;t.Ydieresis=667;t.divide=584;t.Yacute=667;t.Acircumflex=667;t.aacute=556;t.Ucircumflex=722;t.yacute=500;t.scommaaccent=500;t.ecircumflex=556;t.Uring=722;t.Udieresis=722;t.aogonek=556;t.Uacute=722;t.uogonek=556;t.Edieresis=667;t.Dcroat=722;t.commaaccent=250;t.copyright=737;t.Emacron=
667;t.ccaron=500;t.aring=556;t.Ncommaaccent=722;t.lacute=222;t.agrave=556;t.Tcommaaccent=611;t.Cacute=722;t.atilde=556;t.Edotaccent=667;t.scaron=500;t.scedilla=500;t.iacute=278;t.lozenge=471;t.Rcaron=722;t.Gcommaaccent=778;t.ucircumflex=556;t.acircumflex=556;t.Amacron=667;t.rcaron=333;t.ccedilla=500;t.Zdotaccent=611;t.Thorn=667;t.Omacron=778;t.Racute=722;t.Sacute=667;t.dcaron=643;t.Umacron=722;t.uring=556;t.threesuperior=333;t.Ograve=778;t.Agrave=667;t.Abreve=667;t.multiply=584;t.uacute=556;t.Tcaron=
611;t.partialdiff=476;t.ydieresis=500;t.Nacute=722;t.icircumflex=278;t.Ecircumflex=667;t.adieresis=556;t.edieresis=556;t.cacute=500;t.nacute=556;t.umacron=556;t.Ncaron=722;t.Iacute=278;t.plusminus=584;t.brokenbar=260;t.registered=737;t.Gbreve=778;t.Idotaccent=278;t.summation=600;t.Egrave=667;t.racute=333;t.omacron=556;t.Zacute=611;t.Zcaron=611;t.greaterequal=549;t.Eth=722;t.Ccedilla=722;t.lcommaaccent=222;t.tcaron=317;t.eogonek=556;t.Uogonek=722;t.Aacute=667;t.Adieresis=667;t.egrave=556;t.zacute=
500;t.iogonek=222;t.Oacute=778;t.oacute=556;t.amacron=556;t.sacute=500;t.idieresis=278;t.Ocircumflex=778;t.Ugrave=722;t.Delta=612;t.thorn=556;t.twosuperior=333;t.Odieresis=778;t.mu=556;t.igrave=278;t.ohungarumlaut=556;t.Eogonek=667;t.dcroat=556;t.threequarters=834;t.Scedilla=667;t.lcaron=299;t.Kcommaaccent=667;t.Lacute=556;t.trademark=1E3;t.edotaccent=556;t.Igrave=278;t.Imacron=278;t.Lcaron=556;t.onehalf=834;t.lessequal=549;t.ocircumflex=556;t.ntilde=556;t.Uhungarumlaut=722;t.Eacute=667;t.emacron=
556;t.gbreve=556;t.onequarter=834;t.Scaron=667;t.Scommaaccent=667;t.Ohungarumlaut=778;t.degree=400;t.ograve=556;t.Ccaron=722;t.ugrave=556;t.radical=453;t.Dcaron=722;t.rcommaaccent=333;t.Ntilde=722;t.otilde=556;t.Rcommaaccent=722;t.Lcommaaccent=556;t.Atilde=667;t.Aogonek=667;t.Aring=667;t.Otilde=778;t.zdotaccent=500;t.Ecaron=667;t.Iogonek=278;t.kcommaaccent=500;t.minus=584;t.Icircumflex=278;t.ncaron=556;t.tcommaaccent=278;t.logicalnot=584;t.odieresis=556;t.udieresis=556;t.notequal=549;t.gcommaaccent=
556;t.eth=556;t.zcaron=500;t.ncommaaccent=556;t.onesuperior=333;t.imacron=278;t.Euro=556});t$jscomp$0.Symbol=(0,_core_utils.getLookupTableFactory)(function(t){t.space=250;t.exclam=333;t.universal=713;t.numbersign=500;t.existential=549;t.percent=833;t.ampersand=778;t.suchthat=439;t.parenleft=333;t.parenright=333;t.asteriskmath=500;t.plus=549;t.comma=250;t.minus=549;t.period=250;t.slash=278;t.zero=500;t.one=500;t.two=500;t.three=500;t.four=500;t.five=500;t.six=500;t.seven=500;t.eight=500;t.nine=500;
t.colon=278;t.semicolon=278;t.less=549;t.equal=549;t.greater=549;t.question=444;t.congruent=549;t.Alpha=722;t.Beta=667;t.Chi=722;t.Delta=612;t.Epsilon=611;t.Phi=763;t.Gamma=603;t.Eta=722;t.Iota=333;t.theta1=631;t.Kappa=722;t.Lambda=686;t.Mu=889;t.Nu=722;t.Omicron=722;t.Pi=768;t.Theta=741;t.Rho=556;t.Sigma=592;t.Tau=611;t.Upsilon=690;t.sigma1=439;t.Omega=768;t.Xi=645;t.Psi=795;t.Zeta=611;t.bracketleft=333;t.therefore=863;t.bracketright=333;t.perpendicular=658;t.underscore=500;t.radicalex=500;t.alpha=
631;t.beta=549;t.chi=549;t.delta=494;t.epsilon=439;t.phi=521;t.gamma=411;t.eta=603;t.iota=329;t.phi1=603;t.kappa=549;t.lambda=549;t.mu=576;t.nu=521;t.omicron=549;t.pi=549;t.theta=521;t.rho=549;t.sigma=603;t.tau=439;t.upsilon=576;t.omega1=713;t.omega=686;t.xi=493;t.psi=686;t.zeta=494;t.braceleft=480;t.bar=200;t.braceright=480;t.similar=549;t.Euro=750;t.Upsilon1=620;t.minute=247;t.lessequal=549;t.fraction=167;t.infinity=713;t.florin=500;t.club=753;t.diamond=753;t.heart=753;t.spade=753;t.arrowboth=1042;
t.arrowleft=987;t.arrowup=603;t.arrowright=987;t.arrowdown=603;t.degree=400;t.plusminus=549;t.second=411;t.greaterequal=549;t.multiply=549;t.proportional=713;t.partialdiff=494;t.bullet=460;t.divide=549;t.notequal=549;t.equivalence=549;t.approxequal=549;t.ellipsis=1E3;t.arrowvertex=603;t.arrowhorizex=1E3;t.carriagereturn=658;t.aleph=823;t.Ifraktur=686;t.Rfraktur=795;t.weierstrass=987;t.circlemultiply=768;t.circleplus=768;t.emptyset=823;t.intersection=768;t.union=768;t.propersuperset=713;t.reflexsuperset=
713;t.notsubset=713;t.propersubset=713;t.reflexsubset=713;t.element=713;t.notelement=713;t.angle=768;t.gradient=713;t.registerserif=790;t.copyrightserif=790;t.trademarkserif=890;t.product=823;t.radical=549;t.dotmath=250;t.logicalnot=713;t.logicaland=603;t.logicalor=603;t.arrowdblboth=1042;t.arrowdblleft=987;t.arrowdblup=603;t.arrowdblright=987;t.arrowdbldown=603;t.lozenge=494;t.angleleft=329;t.registersans=790;t.copyrightsans=790;t.trademarksans=786;t.summation=713;t.parenlefttp=384;t.parenleftex=
384;t.parenleftbt=384;t.bracketlefttp=384;t.bracketleftex=384;t.bracketleftbt=384;t.bracelefttp=494;t.braceleftmid=494;t.braceleftbt=494;t.braceex=494;t.angleright=329;t.integral=274;t.integraltp=686;t.integralex=686;t.integralbt=686;t.parenrighttp=384;t.parenrightex=384;t.parenrightbt=384;t.bracketrighttp=384;t.bracketrightex=384;t.bracketrightbt=384;t.bracerighttp=494;t.bracerightmid=494;t.bracerightbt=494;t.apple=790});t$jscomp$0["Times-Roman"]=(0,_core_utils.getLookupTableFactory)(function(t){t.space=
250;t.exclam=333;t.quotedbl=408;t.numbersign=500;t.dollar=500;t.percent=833;t.ampersand=778;t.quoteright=333;t.parenleft=333;t.parenright=333;t.asterisk=500;t.plus=564;t.comma=250;t.hyphen=333;t.period=250;t.slash=278;t.zero=500;t.one=500;t.two=500;t.three=500;t.four=500;t.five=500;t.six=500;t.seven=500;t.eight=500;t.nine=500;t.colon=278;t.semicolon=278;t.less=564;t.equal=564;t.greater=564;t.question=444;t.at=921;t.A=722;t.B=667;t.C=667;t.D=722;t.E=611;t.F=556;t.G=722;t.H=722;t.I=333;t.J=389;t.K=
722;t.L=611;t.M=889;t.N=722;t.O=722;t.P=556;t.Q=722;t.R=667;t.S=556;t.T=611;t.U=722;t.V=722;t.W=944;t.X=722;t.Y=722;t.Z=611;t.bracketleft=333;t.backslash=278;t.bracketright=333;t.asciicircum=469;t.underscore=500;t.quoteleft=333;t.a=444;t.b=500;t.c=444;t.d=500;t.e=444;t.f=333;t.g=500;t.h=500;t.i=278;t.j=278;t.k=500;t.l=278;t.m=778;t.n=500;t.o=500;t.p=500;t.q=500;t.r=333;t.s=389;t.t=278;t.u=500;t.v=500;t.w=722;t.x=500;t.y=500;t.z=444;t.braceleft=480;t.bar=200;t.braceright=480;t.asciitilde=541;t.exclamdown=
333;t.cent=500;t.sterling=500;t.fraction=167;t.yen=500;t.florin=500;t.section=500;t.currency=500;t.quotesingle=180;t.quotedblleft=444;t.guillemotleft=500;t.guilsinglleft=333;t.guilsinglright=333;t.fi=556;t.fl=556;t.endash=500;t.dagger=500;t.daggerdbl=500;t.periodcentered=250;t.paragraph=453;t.bullet=350;t.quotesinglbase=333;t.quotedblbase=444;t.quotedblright=444;t.guillemotright=500;t.ellipsis=1E3;t.perthousand=1E3;t.questiondown=444;t.grave=333;t.acute=333;t.circumflex=333;t.tilde=333;t.macron=333;
t.breve=333;t.dotaccent=333;t.dieresis=333;t.ring=333;t.cedilla=333;t.hungarumlaut=333;t.ogonek=333;t.caron=333;t.emdash=1E3;t.AE=889;t.ordfeminine=276;t.Lslash=611;t.Oslash=722;t.OE=889;t.ordmasculine=310;t.ae=667;t.dotlessi=278;t.lslash=278;t.oslash=500;t.oe=722;t.germandbls=500;t.Idieresis=333;t.eacute=444;t.abreve=444;t.uhungarumlaut=500;t.ecaron=444;t.Ydieresis=722;t.divide=564;t.Yacute=722;t.Acircumflex=722;t.aacute=444;t.Ucircumflex=722;t.yacute=500;t.scommaaccent=389;t.ecircumflex=444;t.Uring=
722;t.Udieresis=722;t.aogonek=444;t.Uacute=722;t.uogonek=500;t.Edieresis=611;t.Dcroat=722;t.commaaccent=250;t.copyright=760;t.Emacron=611;t.ccaron=444;t.aring=444;t.Ncommaaccent=722;t.lacute=278;t.agrave=444;t.Tcommaaccent=611;t.Cacute=667;t.atilde=444;t.Edotaccent=611;t.scaron=389;t.scedilla=389;t.iacute=278;t.lozenge=471;t.Rcaron=667;t.Gcommaaccent=722;t.ucircumflex=500;t.acircumflex=444;t.Amacron=722;t.rcaron=333;t.ccedilla=444;t.Zdotaccent=611;t.Thorn=556;t.Omacron=722;t.Racute=667;t.Sacute=556;
t.dcaron=588;t.Umacron=722;t.uring=500;t.threesuperior=300;t.Ograve=722;t.Agrave=722;t.Abreve=722;t.multiply=564;t.uacute=500;t.Tcaron=611;t.partialdiff=476;t.ydieresis=500;t.Nacute=722;t.icircumflex=278;t.Ecircumflex=611;t.adieresis=444;t.edieresis=444;t.cacute=444;t.nacute=500;t.umacron=500;t.Ncaron=722;t.Iacute=333;t.plusminus=564;t.brokenbar=200;t.registered=760;t.Gbreve=722;t.Idotaccent=333;t.summation=600;t.Egrave=611;t.racute=333;t.omacron=500;t.Zacute=611;t.Zcaron=611;t.greaterequal=549;t.Eth=
722;t.Ccedilla=667;t.lcommaaccent=278;t.tcaron=326;t.eogonek=444;t.Uogonek=722;t.Aacute=722;t.Adieresis=722;t.egrave=444;t.zacute=444;t.iogonek=278;t.Oacute=722;t.oacute=500;t.amacron=444;t.sacute=389;t.idieresis=278;t.Ocircumflex=722;t.Ugrave=722;t.Delta=612;t.thorn=500;t.twosuperior=300;t.Odieresis=722;t.mu=500;t.igrave=278;t.ohungarumlaut=500;t.Eogonek=611;t.dcroat=500;t.threequarters=750;t.Scedilla=556;t.lcaron=344;t.Kcommaaccent=722;t.Lacute=611;t.trademark=980;t.edotaccent=444;t.Igrave=333;
t.Imacron=333;t.Lcaron=611;t.onehalf=750;t.lessequal=549;t.ocircumflex=500;t.ntilde=500;t.Uhungarumlaut=722;t.Eacute=611;t.emacron=444;t.gbreve=500;t.onequarter=750;t.Scaron=556;t.Scommaaccent=556;t.Ohungarumlaut=722;t.degree=400;t.ograve=500;t.Ccaron=667;t.ugrave=500;t.radical=453;t.Dcaron=722;t.rcommaaccent=333;t.Ntilde=722;t.otilde=500;t.Rcommaaccent=667;t.Lcommaaccent=611;t.Atilde=722;t.Aogonek=722;t.Aring=722;t.Otilde=722;t.zdotaccent=444;t.Ecaron=611;t.Iogonek=333;t.kcommaaccent=500;t.minus=
564;t.Icircumflex=333;t.ncaron=500;t.tcommaaccent=278;t.logicalnot=564;t.odieresis=500;t.udieresis=500;t.notequal=549;t.gcommaaccent=500;t.eth=500;t.zcaron=444;t.ncommaaccent=500;t.onesuperior=300;t.imacron=278;t.Euro=500});t$jscomp$0["Times-Bold"]=(0,_core_utils.getLookupTableFactory)(function(t){t.space=250;t.exclam=333;t.quotedbl=555;t.numbersign=500;t.dollar=500;t.percent=1E3;t.ampersand=833;t.quoteright=333;t.parenleft=333;t.parenright=333;t.asterisk=500;t.plus=570;t.comma=250;t.hyphen=333;t.period=
250;t.slash=278;t.zero=500;t.one=500;t.two=500;t.three=500;t.four=500;t.five=500;t.six=500;t.seven=500;t.eight=500;t.nine=500;t.colon=333;t.semicolon=333;t.less=570;t.equal=570;t.greater=570;t.question=500;t.at=930;t.A=722;t.B=667;t.C=722;t.D=722;t.E=667;t.F=611;t.G=778;t.H=778;t.I=389;t.J=500;t.K=778;t.L=667;t.M=944;t.N=722;t.O=778;t.P=611;t.Q=778;t.R=722;t.S=556;t.T=667;t.U=722;t.V=722;t.W=1E3;t.X=722;t.Y=722;t.Z=667;t.bracketleft=333;t.backslash=278;t.bracketright=333;t.asciicircum=581;t.underscore=
500;t.quoteleft=333;t.a=500;t.b=556;t.c=444;t.d=556;t.e=444;t.f=333;t.g=500;t.h=556;t.i=278;t.j=333;t.k=556;t.l=278;t.m=833;t.n=556;t.o=500;t.p=556;t.q=556;t.r=444;t.s=389;t.t=333;t.u=556;t.v=500;t.w=722;t.x=500;t.y=500;t.z=444;t.braceleft=394;t.bar=220;t.braceright=394;t.asciitilde=520;t.exclamdown=333;t.cent=500;t.sterling=500;t.fraction=167;t.yen=500;t.florin=500;t.section=500;t.currency=500;t.quotesingle=278;t.quotedblleft=500;t.guillemotleft=500;t.guilsinglleft=333;t.guilsinglright=333;t.fi=
556;t.fl=556;t.endash=500;t.dagger=500;t.daggerdbl=500;t.periodcentered=250;t.paragraph=540;t.bullet=350;t.quotesinglbase=333;t.quotedblbase=500;t.quotedblright=500;t.guillemotright=500;t.ellipsis=1E3;t.perthousand=1E3;t.questiondown=500;t.grave=333;t.acute=333;t.circumflex=333;t.tilde=333;t.macron=333;t.breve=333;t.dotaccent=333;t.dieresis=333;t.ring=333;t.cedilla=333;t.hungarumlaut=333;t.ogonek=333;t.caron=333;t.emdash=1E3;t.AE=1E3;t.ordfeminine=300;t.Lslash=667;t.Oslash=778;t.OE=1E3;t.ordmasculine=
330;t.ae=722;t.dotlessi=278;t.lslash=278;t.oslash=500;t.oe=722;t.germandbls=556;t.Idieresis=389;t.eacute=444;t.abreve=500;t.uhungarumlaut=556;t.ecaron=444;t.Ydieresis=722;t.divide=570;t.Yacute=722;t.Acircumflex=722;t.aacute=500;t.Ucircumflex=722;t.yacute=500;t.scommaaccent=389;t.ecircumflex=444;t.Uring=722;t.Udieresis=722;t.aogonek=500;t.Uacute=722;t.uogonek=556;t.Edieresis=667;t.Dcroat=722;t.commaaccent=250;t.copyright=747;t.Emacron=667;t.ccaron=444;t.aring=500;t.Ncommaaccent=722;t.lacute=278;t.agrave=
500;t.Tcommaaccent=667;t.Cacute=722;t.atilde=500;t.Edotaccent=667;t.scaron=389;t.scedilla=389;t.iacute=278;t.lozenge=494;t.Rcaron=722;t.Gcommaaccent=778;t.ucircumflex=556;t.acircumflex=500;t.Amacron=722;t.rcaron=444;t.ccedilla=444;t.Zdotaccent=667;t.Thorn=611;t.Omacron=778;t.Racute=722;t.Sacute=556;t.dcaron=672;t.Umacron=722;t.uring=556;t.threesuperior=300;t.Ograve=778;t.Agrave=722;t.Abreve=722;t.multiply=570;t.uacute=556;t.Tcaron=667;t.partialdiff=494;t.ydieresis=500;t.Nacute=722;t.icircumflex=278;
t.Ecircumflex=667;t.adieresis=500;t.edieresis=444;t.cacute=444;t.nacute=556;t.umacron=556;t.Ncaron=722;t.Iacute=389;t.plusminus=570;t.brokenbar=220;t.registered=747;t.Gbreve=778;t.Idotaccent=389;t.summation=600;t.Egrave=667;t.racute=444;t.omacron=500;t.Zacute=667;t.Zcaron=667;t.greaterequal=549;t.Eth=722;t.Ccedilla=722;t.lcommaaccent=278;t.tcaron=416;t.eogonek=444;t.Uogonek=722;t.Aacute=722;t.Adieresis=722;t.egrave=444;t.zacute=444;t.iogonek=278;t.Oacute=778;t.oacute=500;t.amacron=500;t.sacute=389;
t.idieresis=278;t.Ocircumflex=778;t.Ugrave=722;t.Delta=612;t.thorn=556;t.twosuperior=300;t.Odieresis=778;t.mu=556;t.igrave=278;t.ohungarumlaut=500;t.Eogonek=667;t.dcroat=556;t.threequarters=750;t.Scedilla=556;t.lcaron=394;t.Kcommaaccent=778;t.Lacute=667;t.trademark=1E3;t.edotaccent=444;t.Igrave=389;t.Imacron=389;t.Lcaron=667;t.onehalf=750;t.lessequal=549;t.ocircumflex=500;t.ntilde=556;t.Uhungarumlaut=722;t.Eacute=667;t.emacron=444;t.gbreve=500;t.onequarter=750;t.Scaron=556;t.Scommaaccent=556;t.Ohungarumlaut=
778;t.degree=400;t.ograve=500;t.Ccaron=722;t.ugrave=556;t.radical=549;t.Dcaron=722;t.rcommaaccent=444;t.Ntilde=722;t.otilde=500;t.Rcommaaccent=722;t.Lcommaaccent=667;t.Atilde=722;t.Aogonek=722;t.Aring=722;t.Otilde=778;t.zdotaccent=444;t.Ecaron=667;t.Iogonek=389;t.kcommaaccent=556;t.minus=570;t.Icircumflex=389;t.ncaron=556;t.tcommaaccent=333;t.logicalnot=570;t.odieresis=500;t.udieresis=556;t.notequal=549;t.gcommaaccent=500;t.eth=500;t.zcaron=444;t.ncommaaccent=556;t.onesuperior=300;t.imacron=278;t.Euro=
500});t$jscomp$0["Times-BoldItalic"]=(0,_core_utils.getLookupTableFactory)(function(t){t.space=250;t.exclam=389;t.quotedbl=555;t.numbersign=500;t.dollar=500;t.percent=833;t.ampersand=778;t.quoteright=333;t.parenleft=333;t.parenright=333;t.asterisk=500;t.plus=570;t.comma=250;t.hyphen=333;t.period=250;t.slash=278;t.zero=500;t.one=500;t.two=500;t.three=500;t.four=500;t.five=500;t.six=500;t.seven=500;t.eight=500;t.nine=500;t.colon=333;t.semicolon=333;t.less=570;t.equal=570;t.greater=570;t.question=500;
t.at=832;t.A=667;t.B=667;t.C=667;t.D=722;t.E=667;t.F=667;t.G=722;t.H=778;t.I=389;t.J=500;t.K=667;t.L=611;t.M=889;t.N=722;t.O=722;t.P=611;t.Q=722;t.R=667;t.S=556;t.T=611;t.U=722;t.V=667;t.W=889;t.X=667;t.Y=611;t.Z=611;t.bracketleft=333;t.backslash=278;t.bracketright=333;t.asciicircum=570;t.underscore=500;t.quoteleft=333;t.a=500;t.b=500;t.c=444;t.d=500;t.e=444;t.f=333;t.g=500;t.h=556;t.i=278;t.j=278;t.k=500;t.l=278;t.m=778;t.n=556;t.o=500;t.p=500;t.q=500;t.r=389;t.s=389;t.t=278;t.u=556;t.v=444;t.w=
667;t.x=500;t.y=444;t.z=389;t.braceleft=348;t.bar=220;t.braceright=348;t.asciitilde=570;t.exclamdown=389;t.cent=500;t.sterling=500;t.fraction=167;t.yen=500;t.florin=500;t.section=500;t.currency=500;t.quotesingle=278;t.quotedblleft=500;t.guillemotleft=500;t.guilsinglleft=333;t.guilsinglright=333;t.fi=556;t.fl=556;t.endash=500;t.dagger=500;t.daggerdbl=500;t.periodcentered=250;t.paragraph=500;t.bullet=350;t.quotesinglbase=333;t.quotedblbase=500;t.quotedblright=500;t.guillemotright=500;t.ellipsis=1E3;
t.perthousand=1E3;t.questiondown=500;t.grave=333;t.acute=333;t.circumflex=333;t.tilde=333;t.macron=333;t.breve=333;t.dotaccent=333;t.dieresis=333;t.ring=333;t.cedilla=333;t.hungarumlaut=333;t.ogonek=333;t.caron=333;t.emdash=1E3;t.AE=944;t.ordfeminine=266;t.Lslash=611;t.Oslash=722;t.OE=944;t.ordmasculine=300;t.ae=722;t.dotlessi=278;t.lslash=278;t.oslash=500;t.oe=722;t.germandbls=500;t.Idieresis=389;t.eacute=444;t.abreve=500;t.uhungarumlaut=556;t.ecaron=444;t.Ydieresis=611;t.divide=570;t.Yacute=611;
t.Acircumflex=667;t.aacute=500;t.Ucircumflex=722;t.yacute=444;t.scommaaccent=389;t.ecircumflex=444;t.Uring=722;t.Udieresis=722;t.aogonek=500;t.Uacute=722;t.uogonek=556;t.Edieresis=667;t.Dcroat=722;t.commaaccent=250;t.copyright=747;t.Emacron=667;t.ccaron=444;t.aring=500;t.Ncommaaccent=722;t.lacute=278;t.agrave=500;t.Tcommaaccent=611;t.Cacute=667;t.atilde=500;t.Edotaccent=667;t.scaron=389;t.scedilla=389;t.iacute=278;t.lozenge=494;t.Rcaron=667;t.Gcommaaccent=722;t.ucircumflex=556;t.acircumflex=500;t.Amacron=
667;t.rcaron=389;t.ccedilla=444;t.Zdotaccent=611;t.Thorn=611;t.Omacron=722;t.Racute=667;t.Sacute=556;t.dcaron=608;t.Umacron=722;t.uring=556;t.threesuperior=300;t.Ograve=722;t.Agrave=667;t.Abreve=667;t.multiply=570;t.uacute=556;t.Tcaron=611;t.partialdiff=494;t.ydieresis=444;t.Nacute=722;t.icircumflex=278;t.Ecircumflex=667;t.adieresis=500;t.edieresis=444;t.cacute=444;t.nacute=556;t.umacron=556;t.Ncaron=722;t.Iacute=389;t.plusminus=570;t.brokenbar=220;t.registered=747;t.Gbreve=722;t.Idotaccent=389;t.summation=
600;t.Egrave=667;t.racute=389;t.omacron=500;t.Zacute=611;t.Zcaron=611;t.greaterequal=549;t.Eth=722;t.Ccedilla=667;t.lcommaaccent=278;t.tcaron=366;t.eogonek=444;t.Uogonek=722;t.Aacute=667;t.Adieresis=667;t.egrave=444;t.zacute=389;t.iogonek=278;t.Oacute=722;t.oacute=500;t.amacron=500;t.sacute=389;t.idieresis=278;t.Ocircumflex=722;t.Ugrave=722;t.Delta=612;t.thorn=500;t.twosuperior=300;t.Odieresis=722;t.mu=576;t.igrave=278;t.ohungarumlaut=500;t.Eogonek=667;t.dcroat=500;t.threequarters=750;t.Scedilla=
556;t.lcaron=382;t.Kcommaaccent=667;t.Lacute=611;t.trademark=1E3;t.edotaccent=444;t.Igrave=389;t.Imacron=389;t.Lcaron=611;t.onehalf=750;t.lessequal=549;t.ocircumflex=500;t.ntilde=556;t.Uhungarumlaut=722;t.Eacute=667;t.emacron=444;t.gbreve=500;t.onequarter=750;t.Scaron=556;t.Scommaaccent=556;t.Ohungarumlaut=722;t.degree=400;t.ograve=500;t.Ccaron=667;t.ugrave=556;t.radical=549;t.Dcaron=722;t.rcommaaccent=389;t.Ntilde=722;t.otilde=500;t.Rcommaaccent=667;t.Lcommaaccent=611;t.Atilde=667;t.Aogonek=667;
t.Aring=667;t.Otilde=722;t.zdotaccent=389;t.Ecaron=667;t.Iogonek=389;t.kcommaaccent=500;t.minus=606;t.Icircumflex=389;t.ncaron=556;t.tcommaaccent=278;t.logicalnot=606;t.odieresis=500;t.udieresis=556;t.notequal=549;t.gcommaaccent=500;t.eth=500;t.zcaron=389;t.ncommaaccent=556;t.onesuperior=300;t.imacron=278;t.Euro=500});t$jscomp$0["Times-Italic"]=(0,_core_utils.getLookupTableFactory)(function(t){t.space=250;t.exclam=333;t.quotedbl=420;t.numbersign=500;t.dollar=500;t.percent=833;t.ampersand=778;t.quoteright=
333;t.parenleft=333;t.parenright=333;t.asterisk=500;t.plus=675;t.comma=250;t.hyphen=333;t.period=250;t.slash=278;t.zero=500;t.one=500;t.two=500;t.three=500;t.four=500;t.five=500;t.six=500;t.seven=500;t.eight=500;t.nine=500;t.colon=333;t.semicolon=333;t.less=675;t.equal=675;t.greater=675;t.question=500;t.at=920;t.A=611;t.B=611;t.C=667;t.D=722;t.E=611;t.F=611;t.G=722;t.H=722;t.I=333;t.J=444;t.K=667;t.L=556;t.M=833;t.N=667;t.O=722;t.P=611;t.Q=722;t.R=611;t.S=500;t.T=556;t.U=722;t.V=611;t.W=833;t.X=611;
t.Y=556;t.Z=556;t.bracketleft=389;t.backslash=278;t.bracketright=389;t.asciicircum=422;t.underscore=500;t.quoteleft=333;t.a=500;t.b=500;t.c=444;t.d=500;t.e=444;t.f=278;t.g=500;t.h=500;t.i=278;t.j=278;t.k=444;t.l=278;t.m=722;t.n=500;t.o=500;t.p=500;t.q=500;t.r=389;t.s=389;t.t=278;t.u=500;t.v=444;t.w=667;t.x=444;t.y=444;t.z=389;t.braceleft=400;t.bar=275;t.braceright=400;t.asciitilde=541;t.exclamdown=389;t.cent=500;t.sterling=500;t.fraction=167;t.yen=500;t.florin=500;t.section=500;t.currency=500;t.quotesingle=
214;t.quotedblleft=556;t.guillemotleft=500;t.guilsinglleft=333;t.guilsinglright=333;t.fi=500;t.fl=500;t.endash=500;t.dagger=500;t.daggerdbl=500;t.periodcentered=250;t.paragraph=523;t.bullet=350;t.quotesinglbase=333;t.quotedblbase=556;t.quotedblright=556;t.guillemotright=500;t.ellipsis=889;t.perthousand=1E3;t.questiondown=500;t.grave=333;t.acute=333;t.circumflex=333;t.tilde=333;t.macron=333;t.breve=333;t.dotaccent=333;t.dieresis=333;t.ring=333;t.cedilla=333;t.hungarumlaut=333;t.ogonek=333;t.caron=
333;t.emdash=889;t.AE=889;t.ordfeminine=276;t.Lslash=556;t.Oslash=722;t.OE=944;t.ordmasculine=310;t.ae=667;t.dotlessi=278;t.lslash=278;t.oslash=500;t.oe=667;t.germandbls=500;t.Idieresis=333;t.eacute=444;t.abreve=500;t.uhungarumlaut=500;t.ecaron=444;t.Ydieresis=556;t.divide=675;t.Yacute=556;t.Acircumflex=611;t.aacute=500;t.Ucircumflex=722;t.yacute=444;t.scommaaccent=389;t.ecircumflex=444;t.Uring=722;t.Udieresis=722;t.aogonek=500;t.Uacute=722;t.uogonek=500;t.Edieresis=611;t.Dcroat=722;t.commaaccent=
250;t.copyright=760;t.Emacron=611;t.ccaron=444;t.aring=500;t.Ncommaaccent=667;t.lacute=278;t.agrave=500;t.Tcommaaccent=556;t.Cacute=667;t.atilde=500;t.Edotaccent=611;t.scaron=389;t.scedilla=389;t.iacute=278;t.lozenge=471;t.Rcaron=611;t.Gcommaaccent=722;t.ucircumflex=500;t.acircumflex=500;t.Amacron=611;t.rcaron=389;t.ccedilla=444;t.Zdotaccent=556;t.Thorn=611;t.Omacron=722;t.Racute=611;t.Sacute=500;t.dcaron=544;t.Umacron=722;t.uring=500;t.threesuperior=300;t.Ograve=722;t.Agrave=611;t.Abreve=611;t.multiply=
675;t.uacute=500;t.Tcaron=556;t.partialdiff=476;t.ydieresis=444;t.Nacute=667;t.icircumflex=278;t.Ecircumflex=611;t.adieresis=500;t.edieresis=444;t.cacute=444;t.nacute=500;t.umacron=500;t.Ncaron=667;t.Iacute=333;t.plusminus=675;t.brokenbar=275;t.registered=760;t.Gbreve=722;t.Idotaccent=333;t.summation=600;t.Egrave=611;t.racute=389;t.omacron=500;t.Zacute=556;t.Zcaron=556;t.greaterequal=549;t.Eth=722;t.Ccedilla=667;t.lcommaaccent=278;t.tcaron=300;t.eogonek=444;t.Uogonek=722;t.Aacute=611;t.Adieresis=
611;t.egrave=444;t.zacute=389;t.iogonek=278;t.Oacute=722;t.oacute=500;t.amacron=500;t.sacute=389;t.idieresis=278;t.Ocircumflex=722;t.Ugrave=722;t.Delta=612;t.thorn=500;t.twosuperior=300;t.Odieresis=722;t.mu=500;t.igrave=278;t.ohungarumlaut=500;t.Eogonek=611;t.dcroat=500;t.threequarters=750;t.Scedilla=500;t.lcaron=300;t.Kcommaaccent=667;t.Lacute=556;t.trademark=980;t.edotaccent=444;t.Igrave=333;t.Imacron=333;t.Lcaron=611;t.onehalf=750;t.lessequal=549;t.ocircumflex=500;t.ntilde=500;t.Uhungarumlaut=
722;t.Eacute=611;t.emacron=444;t.gbreve=500;t.onequarter=750;t.Scaron=500;t.Scommaaccent=500;t.Ohungarumlaut=722;t.degree=400;t.ograve=500;t.Ccaron=667;t.ugrave=500;t.radical=453;t.Dcaron=722;t.rcommaaccent=389;t.Ntilde=667;t.otilde=500;t.Rcommaaccent=611;t.Lcommaaccent=556;t.Atilde=611;t.Aogonek=611;t.Aring=611;t.Otilde=722;t.zdotaccent=389;t.Ecaron=611;t.Iogonek=333;t.kcommaaccent=444;t.minus=675;t.Icircumflex=333;t.ncaron=500;t.tcommaaccent=278;t.logicalnot=675;t.odieresis=500;t.udieresis=500;
t.notequal=549;t.gcommaaccent=500;t.eth=500;t.zcaron=389;t.ncommaaccent=500;t.onesuperior=300;t.imacron=278;t.Euro=500});t$jscomp$0.ZapfDingbats=(0,_core_utils.getLookupTableFactory)(function(t){t.space=278;t.a1=974;t.a2=961;t.a202=974;t.a3=980;t.a4=719;t.a5=789;t.a119=790;t.a118=791;t.a117=690;t.a11=960;t.a12=939;t.a13=549;t.a14=855;t.a15=911;t.a16=933;t.a105=911;t.a17=945;t.a18=974;t.a19=755;t.a20=846;t.a21=762;t.a22=761;t.a23=571;t.a24=677;t.a25=763;t.a26=760;t.a27=759;t.a28=754;t.a6=494;t.a7=
552;t.a8=537;t.a9=577;t.a10=692;t.a29=786;t.a30=788;t.a31=788;t.a32=790;t.a33=793;t.a34=794;t.a35=816;t.a36=823;t.a37=789;t.a38=841;t.a39=823;t.a40=833;t.a41=816;t.a42=831;t.a43=923;t.a44=744;t.a45=723;t.a46=749;t.a47=790;t.a48=792;t.a49=695;t.a50=776;t.a51=768;t.a52=792;t.a53=759;t.a54=707;t.a55=708;t.a56=682;t.a57=701;t.a58=826;t.a59=815;t.a60=789;t.a61=789;t.a62=707;t.a63=687;t.a64=696;t.a65=689;t.a66=786;t.a67=787;t.a68=713;t.a69=791;t.a70=785;t.a71=791;t.a72=873;t.a73=761;t.a74=762;t.a203=762;
t.a75=759;t.a204=759;t.a76=892;t.a77=892;t.a78=788;t.a79=784;t.a81=438;t.a82=138;t.a83=277;t.a84=415;t.a97=392;t.a98=392;t.a99=668;t.a100=668;t.a89=390;t.a90=390;t.a93=317;t.a94=317;t.a91=276;t.a92=276;t.a205=509;t.a85=509;t.a206=410;t.a86=410;t.a87=234;t.a88=234;t.a95=334;t.a96=334;t.a101=732;t.a102=544;t.a103=544;t.a104=910;t.a106=667;t.a107=760;t.a108=760;t.a112=776;t.a111=595;t.a110=694;t.a109=626;t.a120=788;t.a121=788;t.a122=788;t.a123=788;t.a124=788;t.a125=788;t.a126=788;t.a127=788;t.a128=788;
t.a129=788;t.a130=788;t.a131=788;t.a132=788;t.a133=788;t.a134=788;t.a135=788;t.a136=788;t.a137=788;t.a138=788;t.a139=788;t.a140=788;t.a141=788;t.a142=788;t.a143=788;t.a144=788;t.a145=788;t.a146=788;t.a147=788;t.a148=788;t.a149=788;t.a150=788;t.a151=788;t.a152=788;t.a153=788;t.a154=788;t.a155=788;t.a156=788;t.a157=788;t.a158=788;t.a159=788;t.a160=894;t.a161=838;t.a163=1016;t.a164=458;t.a196=748;t.a165=924;t.a192=748;t.a166=918;t.a167=927;t.a168=928;t.a169=928;t.a170=834;t.a171=873;t.a172=828;t.a173=
924;t.a162=924;t.a174=917;t.a175=930;t.a176=931;t.a177=463;t.a178=883;t.a179=836;t.a193=836;t.a180=867;t.a199=867;t.a181=696;t.a200=696;t.a182=874;t.a201=874;t.a183=760;t.a184=946;t.a197=771;t.a185=865;t.a194=771;t.a198=888;t.a186=967;t.a195=888;t.a187=831;t.a188=873;t.a189=927;t.a190=970;t.a191=918})});exports.getMetrics=module},function(module,exports,__w_pdfjs_require__){function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:
function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&
_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function toNumberArray(arr){if(!Array.isArray(arr))return null;for(var length=arr.length,i=0;i<length;i++)if("number"!==typeof arr[i]){i=Array(length);for(var _i=0;_i<length;_i++)i[_i]=+arr[_i];return i}return arr}Object.defineProperty(exports,"__esModule",{value:!0});exports.isPDFFunction=function(v){if("object"!==_typeof(v))return!1;if(!(0,_primitives.isDict)(v))if((0,_primitives.isStream)(v))v=
v.dict;else return!1;return v.has("FunctionType")};exports.PostScriptCompiler=exports.PostScriptEvaluator=exports.PDFFunctionFactory=void 0;var _util=__w_pdfjs_require__(5),_primitives=__w_pdfjs_require__(188),_ps_parser=__w_pdfjs_require__(224),IsEvalSupportedCached={get value(){return(0,_util.shadow)(this,"value",(0,_util.isEvalSupported)())}};module=function(){function PDFFunctionFactory(_ref){var xref=_ref.xref;_ref=_ref.isEvalSupported;_ref=void 0===_ref?!0:_ref;if(!(this instanceof PDFFunctionFactory))throw new TypeError("Cannot call a class as a function");
this.xref=xref;this.isEvalSupported=!1!==_ref}_createClass(PDFFunctionFactory,[{key:"create",value:function(fn){return PDFFunction.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:fn})}},{key:"createFromArray",value:function(fnObj){return PDFFunction.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:fnObj})}}]);return PDFFunctionFactory}();exports.PDFFunctionFactory=module;var PDFFunction=function(){return{getSampleArray:function(size,outputSize,bps,stream){var ii,
length=1;var i=0;for(ii=size.length;i<ii;i++)length*=size[i];length*=outputSize;size=Array(length);ii=outputSize=0;var sampleMul=1/(Math.pow(2,bps)-1);stream=stream.getBytes((length*bps+7)/8);var strIdx=0;for(i=0;i<length;i++){for(;outputSize<bps;)ii<<=8,ii|=stream[strIdx++],outputSize+=8;outputSize-=bps;size[i]=(ii>>outputSize)*sampleMul;ii&=(1<<outputSize)-1}return size},getIR:function(_ref2){var xref=_ref2.xref,isEvalSupported=_ref2.isEvalSupported;_ref2=_ref2.fn;var dict=_ref2.dict;dict||(dict=
_ref2);var types=[this.constructSampled,null,this.constructInterpolated,this.constructStiched,this.constructPostScript],typeNum=dict.get("FunctionType");types=types[typeNum];if(!types)throw new _util.FormatError("Unknown type of function");return types.call(this,{xref:xref,isEvalSupported:isEvalSupported,fn:_ref2,dict:dict})},fromIR:function(_ref3){var xref=_ref3.xref,isEvalSupported=_ref3.isEvalSupported;_ref3=_ref3.IR;switch(_ref3[0]){case 0:return this.constructSampledFromIR({xref:xref,isEvalSupported:isEvalSupported,
IR:_ref3});case 2:return this.constructInterpolatedFromIR({xref:xref,isEvalSupported:isEvalSupported,IR:_ref3});case 3:return this.constructStichedFromIR({xref:xref,isEvalSupported:isEvalSupported,IR:_ref3});default:return this.constructPostScriptFromIR({xref:xref,isEvalSupported:isEvalSupported,IR:_ref3})}},parse:function(_ref4){var xref=_ref4.xref,isEvalSupported=_ref4.isEvalSupported;_ref4=this.getIR({xref:xref,isEvalSupported:isEvalSupported,fn:_ref4.fn});return this.fromIR({xref:xref,isEvalSupported:isEvalSupported,
IR:_ref4})},parseArray:function(_ref5){var xref=_ref5.xref,isEvalSupported=_ref5.isEvalSupported;_ref5=_ref5.fnObj;if(!Array.isArray(_ref5))return this.parse({xref:xref,isEvalSupported:isEvalSupported,fn:_ref5});for(var fnArray=[],j=0,jj=_ref5.length;j<jj;j++)fnArray.push(this.parse({xref:xref,isEvalSupported:isEvalSupported,fn:xref.fetchIfRef(_ref5[j])}));return function(src,srcOffset,dest,destOffset){for(var i=0,ii=fnArray.length;i<ii;i++)fnArray[i](src,srcOffset,dest,destOffset+i)}},constructSampled:function(_ref6){function toMultiArray(arr){for(var inputLength=
arr.length,out=[],index=0,i=0;i<inputLength;i+=2)out[index]=[arr[i],arr[i+1]],++index;return out}var fn=_ref6.fn,dict=_ref6.dict;_ref6=toNumberArray(dict.getArray("Domain"));var range=toNumberArray(dict.getArray("Range"));if(!_ref6||!range)throw new _util.FormatError("No domain or range");var inputSize=_ref6.length/2,outputSize=range.length/2;_ref6=toMultiArray(_ref6);range=toMultiArray(range);var size=toNumberArray(dict.getArray("Size")),bps=dict.get("BitsPerSample"),order=dict.get("Order")||1;1!==
order&&(0,_util.info)("No support for cubic spline interpolation: "+order);if(order=toNumberArray(dict.getArray("Encode")))order=toMultiArray(order);else{order=[];for(var i$jscomp$0=0;i$jscomp$0<inputSize;++i$jscomp$0)order.push([0,size[i$jscomp$0]-1])}dict=(dict=toNumberArray(dict.getArray("Decode")))?toMultiArray(dict):range;fn=this.getSampleArray(size,outputSize,bps,fn);return[0,inputSize,_ref6,order,dict,fn,size,outputSize,Math.pow(2,bps)-1,range]},constructSampledFromIR:function(_ref7){var IR=
_ref7.IR;return function(src,srcOffset,dest,destOffset){var m=IR[1],domain=IR[2],encode=IR[3],decode=IR[4],samples=IR[5],size=IR[6],n=IR[7],range=IR[9],cubeVertices=1<<m,cubeN=new Float64Array(cubeVertices),cubeVertex=new Uint32Array(cubeVertices),i,j;for(j=0;j<cubeVertices;j++)cubeN[j]=1;var k=n,pos=1;for(i=0;i<m;++i){j=domain[i][0];var domain_2i_1=domain[i][1],ymin=encode[i][0];var e=ymin+(encode[i][1]-ymin)/(domain_2i_1-j)*(Math.min(Math.max(src[srcOffset+i],j),domain_2i_1)-j);domain_2i_1=size[i];
e=Math.min(Math.max(e,0),domain_2i_1-1);j=e<domain_2i_1-1?Math.floor(e):e-1;ymin=j+1-e;e-=j;var offset0=j*k,offset1=offset0+k;for(j=0;j<cubeVertices;j++)j&pos?(cubeN[j]*=e,cubeVertex[j]+=offset1):(cubeN[j]*=ymin,cubeVertex[j]+=offset0);k*=domain_2i_1;pos<<=1}for(j=0;j<n;++j){for(i=src=0;i<cubeVertices;i++)src+=samples[cubeVertex[i]+j]*cubeN[i];i=decode[j][0];src=i+(src-0)*(decode[j][1]-i);dest[destOffset+j]=Math.min(Math.max(src,range[j][0]),range[j][1])}}},constructInterpolated:function(_ref8){var dict=
_ref8.dict;_ref8=toNumberArray(dict.getArray("C0"))||[0];var c1=toNumberArray(dict.getArray("C1"))||[1];dict=dict.get("N");for(var length=_ref8.length,diff=[],i=0;i<length;++i)diff.push(c1[i]-_ref8[i]);return[2,_ref8,diff,dict]},constructInterpolatedFromIR:function(_ref9){_ref9=_ref9.IR;var c0=_ref9[1],diff=_ref9[2],n=_ref9[3],length=diff.length;return function(src,srcOffset,dest,destOffset){src=1===n?src[srcOffset]:Math.pow(src[srcOffset],n);for(srcOffset=0;srcOffset<length;++srcOffset)dest[destOffset+
srcOffset]=c0[srcOffset]+src*diff[srcOffset]}},constructStiched:function(_ref10){var xref=_ref10.xref,isEvalSupported=_ref10.isEvalSupported,dict=_ref10.dict;_ref10=toNumberArray(dict.getArray("Domain"));if(!_ref10)throw new _util.FormatError("No domain");if(1!==_ref10.length/2)throw new _util.FormatError("Bad domain for stiched function");for(var fnRefs=dict.get("Functions"),fns=[],i=0,ii=fnRefs.length;i<ii;++i)fns.push(this.parse({xref:xref,isEvalSupported:isEvalSupported,fn:xref.fetchIfRef(fnRefs[i])}));
xref=toNumberArray(dict.getArray("Bounds"));isEvalSupported=toNumberArray(dict.getArray("Encode"));return[3,_ref10,xref,isEvalSupported,fns]},constructStichedFromIR:function(_ref11){_ref11=_ref11.IR;var domain=_ref11[1],bounds=_ref11[2],encode=_ref11[3],fns=_ref11[4],tmpBuf=new Float32Array(1);return function(src,srcOffset,dest,destOffset){src=src[srcOffset];srcOffset=domain[0];var max=domain[1];src>max?src=max:src<srcOffset&&(src=srcOffset);srcOffset=0;for(max=bounds.length;srcOffset<max&&!(src<
bounds[srcOffset]);++srcOffset);max=domain[0];0<srcOffset&&(max=bounds[srcOffset-1]);var dmax=domain[1];srcOffset<bounds.length&&(dmax=bounds[srcOffset]);var rmin=encode[2*srcOffset],rmax=encode[2*srcOffset+1];tmpBuf[0]=max===dmax?rmin:rmin+(src-max)*(rmax-rmin)/(dmax-max);fns[srcOffset](tmpBuf,0,dest,destOffset)}},constructPostScript:function(_ref12){var fn=_ref12.fn,dict=_ref12.dict;_ref12=toNumberArray(dict.getArray("Domain"));dict=toNumberArray(dict.getArray("Range"));if(!_ref12)throw new _util.FormatError("No domain.");
if(!dict)throw new _util.FormatError("No range.");fn=new _ps_parser.PostScriptLexer(fn);fn=(new _ps_parser.PostScriptParser(fn)).parse();return[4,_ref12,dict,fn]},constructPostScriptFromIR:function(_ref13){var IR=_ref13.IR,domain=IR[1],range=IR[2];IR=IR[3];if(_ref13.isEvalSupported&&IsEvalSupportedCached.value&&(_ref13=(new PostScriptCompiler).compile(IR,domain,range)))return new Function("src","srcOffset","dest","destOffset",_ref13);(0,_util.info)("Unable to compile PS function");var numOutputs=
range.length>>1,numInputs=domain.length>>1,evaluator=new PostScriptEvaluator(IR),cache=Object.create(null),cache_available=8192,tmpBuf=new Float32Array(numInputs);return function(src,srcOffset,dest,destOffset){var i,key="";for(i=0;i<numInputs;i++){var value=src[srcOffset+i];tmpBuf[i]=value;key+=value+"_"}i=cache[key];if(void 0!==i)dest.set(i,destOffset);else{src=new Float32Array(numOutputs);srcOffset=evaluator.execute(tmpBuf);var stackIndex=srcOffset.length-numOutputs;for(i=0;i<numOutputs;i++){value=
srcOffset[stackIndex+i];var bound=range[2*i];value<bound?value=bound:(bound=range[2*i+1],value>bound&&(value=bound));src[i]=value}0<cache_available&&(cache_available--,cache[key]=src);dest.set(src,destOffset)}}}}}(),PostScriptStack=function(){function PostScriptStack(initialStack){this.stack=initialStack?Array.prototype.slice.call(initialStack,0):[]}PostScriptStack.prototype={push:function(value){if(100<=this.stack.length)throw Error("PostScript function stack overflow.");this.stack.push(value)},
pop:function(){if(0>=this.stack.length)throw Error("PostScript function stack underflow.");return this.stack.pop()},copy:function(n){if(100<=this.stack.length+n)throw Error("PostScript function stack overflow.");var stack=this.stack,i=stack.length-n;for(--n;0<=n;n--,i++)stack.push(stack[i])},index:function(n){this.push(this.stack[this.stack.length-n-1])},roll:function(n,p){var stack=this.stack,l=stack.length-n,r=stack.length-1;n=l+(p-Math.floor(p/n)*n);var j;p=l;for(j=r;p<j;p++,j--){var t=stack[p];
stack[p]=stack[j];stack[j]=t}p=l;for(j=n-1;p<j;p++,j--)t=stack[p],stack[p]=stack[j],stack[j]=t;p=n;for(j=r;p<j;p++,j--)t=stack[p],stack[p]=stack[j],stack[j]=t}};return PostScriptStack}(),PostScriptEvaluator=function(){function PostScriptEvaluator(operators){this.operators=operators}PostScriptEvaluator.prototype={execute:function(initialStack){initialStack=new PostScriptStack(initialStack);for(var counter=0,operators=this.operators,length=operators.length,operator,b;counter<length;)if(operator=operators[counter++],
"number"===typeof operator)initialStack.push(operator);else switch(operator){case "jz":b=initialStack.pop();(operator=initialStack.pop())||(counter=b);break;case "j":counter=operator=initialStack.pop();break;case "abs":operator=initialStack.pop();initialStack.push(Math.abs(operator));break;case "add":b=initialStack.pop();operator=initialStack.pop();initialStack.push(operator+b);break;case "and":b=initialStack.pop();operator=initialStack.pop();(0,_util.isBool)(operator)&&(0,_util.isBool)(b)?initialStack.push(operator&&
b):initialStack.push(operator&b);break;case "atan":operator=initialStack.pop();initialStack.push(Math.atan(operator));break;case "bitshift":b=initialStack.pop();operator=initialStack.pop();0<operator?initialStack.push(operator<<b):initialStack.push(operator>>b);break;case "ceiling":operator=initialStack.pop();initialStack.push(Math.ceil(operator));break;case "copy":operator=initialStack.pop();initialStack.copy(operator);break;case "cos":operator=initialStack.pop();initialStack.push(Math.cos(operator));
break;case "cvi":operator=initialStack.pop()|0;initialStack.push(operator);break;case "cvr":break;case "div":b=initialStack.pop();operator=initialStack.pop();initialStack.push(operator/b);break;case "dup":initialStack.copy(1);break;case "eq":b=initialStack.pop();operator=initialStack.pop();initialStack.push(operator===b);break;case "exch":initialStack.roll(2,1);break;case "exp":b=initialStack.pop();operator=initialStack.pop();initialStack.push(Math.pow(operator,b));break;case "false":initialStack.push(!1);
break;case "floor":operator=initialStack.pop();initialStack.push(Math.floor(operator));break;case "ge":b=initialStack.pop();operator=initialStack.pop();initialStack.push(operator>=b);break;case "gt":b=initialStack.pop();operator=initialStack.pop();initialStack.push(operator>b);break;case "idiv":b=initialStack.pop();operator=initialStack.pop();initialStack.push(operator/b|0);break;case "index":operator=initialStack.pop();initialStack.index(operator);break;case "le":b=initialStack.pop();operator=initialStack.pop();
initialStack.push(operator<=b);break;case "ln":operator=initialStack.pop();initialStack.push(Math.log(operator));break;case "log":operator=initialStack.pop();initialStack.push(Math.log(operator)/Math.LN10);break;case "lt":b=initialStack.pop();operator=initialStack.pop();initialStack.push(operator<b);break;case "mod":b=initialStack.pop();operator=initialStack.pop();initialStack.push(operator%b);break;case "mul":b=initialStack.pop();operator=initialStack.pop();initialStack.push(operator*b);break;case "ne":b=
initialStack.pop();operator=initialStack.pop();initialStack.push(operator!==b);break;case "neg":operator=initialStack.pop();initialStack.push(-operator);break;case "not":operator=initialStack.pop();(0,_util.isBool)(operator)?initialStack.push(!operator):initialStack.push(~operator);break;case "or":b=initialStack.pop();operator=initialStack.pop();(0,_util.isBool)(operator)&&(0,_util.isBool)(b)?initialStack.push(operator||b):initialStack.push(operator|b);break;case "pop":initialStack.pop();break;case "roll":b=
initialStack.pop();operator=initialStack.pop();initialStack.roll(operator,b);break;case "round":operator=initialStack.pop();initialStack.push(Math.round(operator));break;case "sin":operator=initialStack.pop();initialStack.push(Math.sin(operator));break;case "sqrt":operator=initialStack.pop();initialStack.push(Math.sqrt(operator));break;case "sub":b=initialStack.pop();operator=initialStack.pop();initialStack.push(operator-b);break;case "true":initialStack.push(!0);break;case "truncate":operator=initialStack.pop();
operator=0>operator?Math.ceil(operator):Math.floor(operator);initialStack.push(operator);break;case "xor":b=initialStack.pop();operator=initialStack.pop();(0,_util.isBool)(operator)&&(0,_util.isBool)(b)?initialStack.push(operator!==b):initialStack.push(operator^b);break;default:throw new _util.FormatError("Unknown operator ".concat(operator));}return initialStack.stack}};return PostScriptEvaluator}();exports.PostScriptEvaluator=PostScriptEvaluator;var PostScriptCompiler=function(){function AstNode(type){this.type=
type}function AstArgument(index,min,max){this.type="args";this.index=index;this.min=min;this.max=max}function AstLiteral(number){this.type="literal";this.max=this.min=this.number=number}function AstBinaryOperation(op,arg1,arg2,min,max){this.type="binary";this.op=op;this.arg1=arg1;this.arg2=arg2;this.min=min;this.max=max}function AstMin(arg,max){this.type="max";this.arg=arg;this.min=arg.min;this.max=max}function AstVariable(index,min,max){this.type="var";this.index=index;this.min=min;this.max=max}
function AstVariableDefinition(variable,arg){this.type="definition";this.variable=variable;this.arg=arg}function ExpressionBuilderVisitor(){this.parts=[]}function buildAddOperation(num1,num2){return"literal"===num2.type&&0===num2.number?num1:"literal"===num1.type&&0===num1.number?num2:"literal"===num2.type&&"literal"===num1.type?new AstLiteral(num1.number+num2.number):new AstBinaryOperation("+",num1,num2,num1.min+num2.min,num1.max+num2.max)}function buildMulOperation(num1,num2){if("literal"===num2.type){if(0===
num2.number)return new AstLiteral(0);if(1===num2.number)return num1;if("literal"===num1.type)return new AstLiteral(num1.number*num2.number)}if("literal"===num1.type){if(0===num1.number)return new AstLiteral(0);if(1===num1.number)return num2}return new AstBinaryOperation("*",num1,num2,Math.min(num1.min*num2.min,num1.min*num2.max,num1.max*num2.min,num1.max*num2.max),Math.max(num1.min*num2.min,num1.min*num2.max,num1.max*num2.min,num1.max*num2.max))}function buildSubOperation(num1,num2){if("literal"===
num2.type){if(0===num2.number)return num1;if("literal"===num1.type)return new AstLiteral(num1.number-num2.number)}return"binary"===num2.type&&"-"===num2.op&&"literal"===num1.type&&1===num1.number&&"literal"===num2.arg1.type&&1===num2.arg1.number?num2.arg2:new AstBinaryOperation("-",num1,num2,num1.min-num2.max,num1.max-num2.min)}function buildMinOperation(num1,max){return num1.min>=max?new AstLiteral(max):num1.max<=max?num1:new AstMin(num1,max)}function PostScriptCompiler(){}AstNode.prototype.visit=
function(visitor){(0,_util.unreachable)("abstract method")};AstArgument.prototype=Object.create(AstNode.prototype);AstArgument.prototype.visit=function(visitor){visitor.visitArgument(this)};AstLiteral.prototype=Object.create(AstNode.prototype);AstLiteral.prototype.visit=function(visitor){visitor.visitLiteral(this)};AstBinaryOperation.prototype=Object.create(AstNode.prototype);AstBinaryOperation.prototype.visit=function(visitor){visitor.visitBinaryOperation(this)};AstMin.prototype=Object.create(AstNode.prototype);
AstMin.prototype.visit=function(visitor){visitor.visitMin(this)};AstVariable.prototype=Object.create(AstNode.prototype);AstVariable.prototype.visit=function(visitor){visitor.visitVariable(this)};AstVariableDefinition.prototype=Object.create(AstNode.prototype);AstVariableDefinition.prototype.visit=function(visitor){visitor.visitVariableDefinition(this)};ExpressionBuilderVisitor.prototype={visitArgument:function(arg){this.parts.push("Math.max(",arg.min,", Math.min(",arg.max,", src[srcOffset + ",arg.index,
"]))")},visitVariable:function(variable){this.parts.push("v",variable.index)},visitLiteral:function(literal){this.parts.push(literal.number)},visitBinaryOperation:function(operation){this.parts.push("(");operation.arg1.visit(this);this.parts.push(" ",operation.op," ");operation.arg2.visit(this);this.parts.push(")")},visitVariableDefinition:function(definition){this.parts.push("var ");definition.variable.visit(this);this.parts.push(" = ");definition.arg.visit(this);this.parts.push(";")},visitMin:function(max){this.parts.push("Math.min(");
max.arg.visit(this);this.parts.push(", ",max.max,")")},toString:function(){return this.parts.join("")}};PostScriptCompiler.prototype={compile:function(code,domain,range){var stack=[],i$jscomp$0,instructions=[],inputSize=domain.length>>1,outputSize=range.length>>1,lastRegister=0;for(i$jscomp$0=0;i$jscomp$0<inputSize;i$jscomp$0++)stack.push(new AstArgument(i$jscomp$0,domain[2*i$jscomp$0],domain[2*i$jscomp$0+1]));i$jscomp$0=0;for(domain=code.length;i$jscomp$0<domain;i$jscomp$0++)if(inputSize=code[i$jscomp$0],
"number"===typeof inputSize)stack.push(new AstLiteral(inputSize));else switch(inputSize){case "add":if(2>stack.length)return null;var j=stack.pop();inputSize=stack.pop();stack.push(buildAddOperation(inputSize,j));break;case "cvr":if(1>stack.length)return null;break;case "mul":if(2>stack.length)return null;j=stack.pop();inputSize=stack.pop();stack.push(buildMulOperation(inputSize,j));break;case "sub":if(2>stack.length)return null;j=stack.pop();inputSize=stack.pop();stack.push(buildSubOperation(inputSize,
j));break;case "exch":if(2>stack.length)return null;j=stack.pop();inputSize=stack.pop();stack.push(j,inputSize);break;case "pop":if(1>stack.length)return null;stack.pop();break;case "index":if(1>stack.length)return null;inputSize=stack.pop();if("literal"!==inputSize.type)return null;inputSize=inputSize.number;if(0>inputSize||!Number.isInteger(inputSize)||stack.length<inputSize)return null;j=stack[stack.length-inputSize-1];if("literal"===j.type||"var"===j.type){stack.push(j);break}var tmpVar=new AstVariable(lastRegister++,
j.min,j.max);stack[stack.length-inputSize-1]=tmpVar;stack.push(tmpVar);instructions.push(new AstVariableDefinition(tmpVar,j));break;case "dup":if(1>stack.length)return null;if("number"===typeof code[i$jscomp$0+1]&&"gt"===code[i$jscomp$0+2]&&code[i$jscomp$0+3]===i$jscomp$0+7&&"jz"===code[i$jscomp$0+4]&&"pop"===code[i$jscomp$0+5]&&code[i$jscomp$0+6]===code[i$jscomp$0+1]){inputSize=stack.pop();stack.push(buildMinOperation(inputSize,code[i$jscomp$0+1]));i$jscomp$0+=6;break}j=stack[stack.length-1];if("literal"===
j.type||"var"===j.type){stack.push(j);break}tmpVar=new AstVariable(lastRegister++,j.min,j.max);stack[stack.length-1]=tmpVar;stack.push(tmpVar);instructions.push(new AstVariableDefinition(tmpVar,j));break;case "roll":if(2>stack.length)return null;j=stack.pop();inputSize=stack.pop();if("literal"!==j.type||"literal"!==inputSize.type)return null;j=j.number;inputSize=inputSize.number;if(0>=inputSize||!Number.isInteger(inputSize)||!Number.isInteger(j)||stack.length<inputSize)return null;j=(j%inputSize+
inputSize)%inputSize;if(0===j)break;Array.prototype.push.apply(stack,stack.splice(stack.length-inputSize,inputSize-j));break;default:return null}if(stack.length!==outputSize)return null;var result=[];instructions.forEach(function(instruction){var statementBuilder=new ExpressionBuilderVisitor;instruction.visit(statementBuilder);result.push(statementBuilder.toString())});stack.forEach(function(expr,i){var statementBuilder=new ExpressionBuilderVisitor;expr.visit(statementBuilder);var min=range[2*i],
max=range[2*i+1];statementBuilder=[statementBuilder.toString()];min>expr.min&&(statementBuilder.unshift("Math.max(",min,", "),statementBuilder.push(")"));max<expr.max&&(statementBuilder.unshift("Math.min(",max,", "),statementBuilder.push(")"));statementBuilder.unshift("dest[destOffset + ",i,"] = ");statementBuilder.push(";");result.push(statementBuilder.join(""))});return result.join("\n")}};return PostScriptCompiler}();exports.PostScriptCompiler=PostScriptCompiler},function(module,exports,__w_pdfjs_require__){function _classCallCheck(instance,
Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);
staticProps&&_defineProperties(Constructor,staticProps);return Constructor}Object.defineProperty(exports,"__esModule",{value:!0});exports.PostScriptParser=exports.PostScriptLexer=void 0;var _util=__w_pdfjs_require__(5),_primitives=__w_pdfjs_require__(188);module=function(){function PostScriptParser(lexer){_classCallCheck(this,PostScriptParser);this.lexer=lexer;this.operators=[];this.prev=this.token=null}_createClass(PostScriptParser,[{key:"nextToken",value:function(){this.prev=this.token;this.token=
this.lexer.getToken()}},{key:"accept",value:function(type){return this.token.type===type?(this.nextToken(),!0):!1}},{key:"expect",value:function(type){if(this.accept(type))return!0;throw new _util.FormatError("Unexpected symbol: found ".concat(this.token.type," expected ").concat(type,"."));}},{key:"parse",value:function(){this.nextToken();this.expect(PostScriptTokenTypes.LBRACE);this.parseBlock();this.expect(PostScriptTokenTypes.RBRACE);return this.operators}},{key:"parseBlock",value:function(){for(;;)if(this.accept(PostScriptTokenTypes.NUMBER))this.operators.push(this.prev.value);
else if(this.accept(PostScriptTokenTypes.OPERATOR))this.operators.push(this.prev.value);else if(this.accept(PostScriptTokenTypes.LBRACE))this.parseCondition();else break}},{key:"parseCondition",value:function(){var conditionLocation=this.operators.length;this.operators.push(null,null);this.parseBlock();this.expect(PostScriptTokenTypes.RBRACE);if(this.accept(PostScriptTokenTypes.IF))this.operators[conditionLocation]=this.operators.length,this.operators[conditionLocation+1]="jz";else if(this.accept(PostScriptTokenTypes.LBRACE)){var jumpLocation=
this.operators.length;this.operators.push(null,null);var endOfTrue=this.operators.length;this.parseBlock();this.expect(PostScriptTokenTypes.RBRACE);this.expect(PostScriptTokenTypes.IFELSE);this.operators[jumpLocation]=this.operators.length;this.operators[jumpLocation+1]="j";this.operators[conditionLocation]=endOfTrue;this.operators[conditionLocation+1]="jz"}else throw new _util.FormatError("PS Function: error parsing conditional.");}}]);return PostScriptParser}();exports.PostScriptParser=module;var PostScriptTokenTypes=
{LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},PostScriptToken=function(){var opCache=Object.create(null);return function(){function PostScriptToken(type,value){_classCallCheck(this,PostScriptToken);this.type=type;this.value=value}_createClass(PostScriptToken,null,[{key:"getOperator",value:function(op){var opValue=opCache[op];return opValue?opValue:opCache[op]=new PostScriptToken(PostScriptTokenTypes.OPERATOR,op)}},{key:"LBRACE",get:function(){return(0,_util.shadow)(this,"LBRACE",new PostScriptToken(PostScriptTokenTypes.LBRACE,
"{"))}},{key:"RBRACE",get:function(){return(0,_util.shadow)(this,"RBRACE",new PostScriptToken(PostScriptTokenTypes.RBRACE,"}"))}},{key:"IF",get:function(){return(0,_util.shadow)(this,"IF",new PostScriptToken(PostScriptTokenTypes.IF,"IF"))}},{key:"IFELSE",get:function(){return(0,_util.shadow)(this,"IFELSE",new PostScriptToken(PostScriptTokenTypes.IFELSE,"IFELSE"))}}]);return PostScriptToken}()}();module=function(){function PostScriptLexer(stream){_classCallCheck(this,PostScriptLexer);this.stream=stream;
this.nextChar();this.strBuf=[]}_createClass(PostScriptLexer,[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var comment=!1,ch=this.currentChar;;){if(0>ch)return _primitives.EOF;if(comment){if(10===ch||13===ch)comment=!1}else if(37===ch)comment=!0;else if(!(0,_util.isSpace)(ch))break;ch=this.nextChar()}switch(ch|0){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 new PostScriptToken(PostScriptTokenTypes.NUMBER,
this.getNumber());case 123:return this.nextChar(),PostScriptToken.LBRACE;case 125:return this.nextChar(),PostScriptToken.RBRACE}comment=this.strBuf;comment.length=0;for(comment[0]=String.fromCharCode(ch);0<=(ch=this.nextChar())&&(65<=ch&&90>=ch||97<=ch&&122>=ch);)comment.push(String.fromCharCode(ch));ch=comment.join("");switch(ch.toLowerCase()){case "if":return PostScriptToken.IF;case "ifelse":return PostScriptToken.IFELSE;default:return PostScriptToken.getOperator(ch)}}},{key:"getNumber",value:function(){var ch=
this.currentChar,strBuf=this.strBuf;strBuf.length=0;for(strBuf[0]=String.fromCharCode(ch);0<=(ch=this.nextChar());)if(48<=ch&&57>=ch||45===ch||46===ch)strBuf.push(String.fromCharCode(ch));else break;ch=parseFloat(strBuf.join(""));if(isNaN(ch))throw new _util.FormatError("Invalid floating point number: ".concat(ch));return ch}}]);return PostScriptLexer}();exports.PostScriptLexer=module},function(module,exports,__w_pdfjs_require__){function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=
props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}Object.defineProperty(exports,"__esModule",{value:!0});exports.MurmurHash3_64=void 0;var _util=__w_pdfjs_require__(5);
module=function(){function MurmurHash3_64(seed){if(!(this instanceof MurmurHash3_64))throw new TypeError("Cannot call a class as a function");this.h1=seed?seed&4294967295:3285377520;this.h2=seed?seed&4294967295:3285377520}_createClass(MurmurHash3_64,[{key:"update",value:function(input){var length;if((0,_util.isString)(input)){var data=new Uint8Array(2*input.length);for(var i=length=0,ii=input.length;i<ii;i++){var code=input.charCodeAt(i);255>=code?data[length++]=code:(data[length++]=code>>>8,data[length++]=
code&255)}}else if((0,_util.isArrayBuffer)(input))data=input,length=data.byteLength;else throw Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");input=length>>2;length-=4*input;i=new Uint32Array(data.buffer,0,input);ii=this.h1;code=this.h2;for(var _i=0;_i<input;_i++)if(_i&1){var k1=i[_i];k1=3432918353*k1&4294901760|11601*k1&65535;k1=k1<<15|k1>>>17;k1=461845907*k1&4294901760|13715*k1&65535;ii^=k1;ii=ii<<13|ii>>>19;ii=5*ii+3864292196}else k1=i[_i],k1=3432918353*k1&
4294901760|11601*k1&65535,k1=k1<<15|k1>>>17,k1=461845907*k1&4294901760|13715*k1&65535,code^=k1,code=code<<13|code>>>19,code=5*code+3864292196;k1=0;switch(length){case 3:k1^=data[4*input+2]<<16;case 2:k1^=data[4*input+1]<<8;case 1:k1^=data[4*input],k1=3432918353*k1&4294901760|11601*k1&65535,k1=k1<<15|k1>>>17,k1=461845907*k1&4294901760|13715*k1&65535,input&1?ii^=k1:code^=k1}this.h1=ii;this.h2=code}},{key:"hexdigest",value:function(){var h1=this.h1,h2=this.h2;h1^=h2>>>1;h1=3981806797*h1&4294901760|36045*
h1&65535;h2=4283543511*h2&4294901760|(2950163797*(h2<<16|h1>>>16)&4294901760)>>>16;h1^=h2>>>1;h1=444984403*h1&4294901760|60499*h1&65535;h2=3301882366*h2&4294901760|(3120437893*(h2<<16|h1>>>16)&4294901760)>>>16;h1=((h1^h2>>>1)>>>0).toString(16);h2=(h2>>>0).toString(16);return h1.padStart(8,"0")+h2.padStart(8,"0")}}]);return MurmurHash3_64}();exports.MurmurHash3_64=module},function(module,exports,__w_pdfjs_require__){function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=
props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}Object.defineProperty(exports,"__esModule",{value:!0});exports.NativeImageDecoder=void 0;var _colorspace=__w_pdfjs_require__(206),
_jpeg_stream=__w_pdfjs_require__(201),_stream=__w_pdfjs_require__(195);module=function(){function NativeImageDecoder(_ref){var xref=_ref.xref,resources=_ref.resources,handler=_ref.handler,_ref$forceDataSchema=_ref.forceDataSchema;_ref$forceDataSchema=void 0===_ref$forceDataSchema?!1:_ref$forceDataSchema;_ref=_ref.pdfFunctionFactory;if(!(this instanceof NativeImageDecoder))throw new TypeError("Cannot call a class as a function");this.xref=xref;this.resources=resources;this.handler=handler;this.forceDataSchema=
_ref$forceDataSchema;this.pdfFunctionFactory=_ref}_createClass(NativeImageDecoder,[{key:"canDecode",value:function(image){return image instanceof _jpeg_stream.JpegStream&&NativeImageDecoder.isDecodable(image,this.xref,this.resources,this.pdfFunctionFactory)}},{key:"decode",value:function(image){var dict=image.dict,colorSpace=dict.get("ColorSpace","CS");colorSpace=_colorspace.ColorSpace.parse(colorSpace,this.xref,this.resources,this.pdfFunctionFactory);return this.handler.sendWithPromise("JpegDecode",
[image.getIR(this.forceDataSchema),colorSpace.numComps]).then(function(_ref2){_ref2=_ref2.data;return new _stream.Stream(_ref2,0,_ref2.length,dict)})}}],[{key:"isSupported",value:function(image,xref,res,pdfFunctionFactory){image=image.dict;if(image.has("DecodeParms")||image.has("DP"))return!1;xref=_colorspace.ColorSpace.parse(image.get("ColorSpace","CS"),xref,res,pdfFunctionFactory);return("DeviceGray"===xref.name||"DeviceRGB"===xref.name)&&xref.isDefaultDecode(image.getArray("Decode","D"))}},{key:"isDecodable",
value:function(image,xref,res,pdfFunctionFactory){image=image.dict;if(image.has("DecodeParms")||image.has("DP"))return!1;xref=_colorspace.ColorSpace.parse(image.get("ColorSpace","CS"),xref,res,pdfFunctionFactory);res=image.get("BitsPerComponent","BPC")||1;return(1===xref.numComps||3===xref.numComps)&&xref.isDefaultDecode(image.getArray("Decode","D"),res)}}]);return NativeImageDecoder}();exports.NativeImageDecoder=module},function(module,exports,__w_pdfjs_require__){Object.defineProperty(exports,"__esModule",
{value:!0});exports.PDFImage=void 0;var _util=__w_pdfjs_require__(5),_primitives=__w_pdfjs_require__(188),_colorspace=__w_pdfjs_require__(206),_stream=__w_pdfjs_require__(195),_jpeg_stream=__w_pdfjs_require__(201),_jpx=__w_pdfjs_require__(204);module=function(){function handleImageData(image,nativeDecoder){return nativeDecoder&&nativeDecoder.canDecode(image)?nativeDecoder.decode(image)["catch"](function(reason){(0,_util.warn)("Native image decoding failed -- trying to recover: "+(reason&&reason.message));
return image}):Promise.resolve(image)}function resizeImageMask(src,bpc,w1,h1,w2,h2){var length=w2*h2;bpc=8>=bpc?new Uint8Array(length):16>=bpc?new Uint16Array(length):new Uint32Array(length);var xRatio=w1/w2;h1/=h2;var newIndex=0,xScaled=new Uint16Array(w2);for(length=0;length<w2;length++)xScaled[length]=Math.floor(length*xRatio);for(length=0;length<h2;length++){var py=Math.floor(length*h1)*w1;for(xRatio=0;xRatio<w2;xRatio++){var oldIndex=py+xScaled[xRatio];bpc[newIndex++]=src[oldIndex]}}return bpc}
function PDFImage(_ref){var xref=_ref.xref,res=_ref.res,image=_ref.image,_ref$isInline=_ref.isInline;_ref$isInline=void 0===_ref$isInline?!1:_ref$isInline;var _ref$smask=_ref.smask;_ref$smask=void 0===_ref$smask?null:_ref$smask;var _ref$mask=_ref.mask;_ref$mask=void 0===_ref$mask?null:_ref$mask;var _ref$isMask=_ref.isMask;_ref$isMask=void 0===_ref$isMask?!1:_ref$isMask;_ref=_ref.pdfFunctionFactory;this.image=image;var dict=image.dict,filter=dict.get("Filter");if((0,_primitives.isName)(filter))switch(filter.name){case "JPXDecode":filter=
new _jpx.JpxImage;filter.parseImageProperties(image.stream);image.stream.reset();image.width=filter.width;image.height=filter.height;image.bitsPerComponent=filter.bitsPerComponent;image.numComps=filter.componentsCount;break;case "JBIG2Decode":image.bitsPerComponent=1,image.numComps=1}filter=dict.get("Width","W");var height=dict.get("Height","H");Number.isInteger(image.width)&&0<image.width&&Number.isInteger(image.height)&&0<image.height&&(image.width!==filter||image.height!==height)&&((0,_util.warn)("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),
filter=image.width,height=image.height);if(1>filter||1>height)throw new _util.FormatError("Invalid image width: ".concat(filter," or height: ").concat(height));this.width=filter;this.height=height;this.interpolate=dict.get("Interpolate","I")||!1;this.imageMask=dict.get("ImageMask","IM")||!1;this.matte=dict.get("Matte")||!1;filter=image.bitsPerComponent;if(!filter&&(filter=dict.get("BitsPerComponent","BPC"),!filter))if(this.imageMask)filter=1;else throw new _util.FormatError("Bits per component missing in image: ".concat(this.imageMask));
this.bpc=filter;if(!this.imageMask){height=dict.get("ColorSpace","CS");if(!height)switch((0,_util.info)("JPX images (which do not require color spaces)"),image.numComps){case 1:height=_primitives.Name.get("DeviceGray");break;case 3:height=_primitives.Name.get("DeviceRGB");break;case 4:height=_primitives.Name.get("DeviceCMYK");break;default:throw Error("JPX images with ".concat(image.numComps," ")+"color components not supported.");}this.colorSpace=_colorspace.ColorSpace.parse(height,xref,_ref$isInline?
res:null,_ref);this.numComps=this.colorSpace.numComps}this.decode=dict.getArray("Decode","D");this.needsDecode=!1;if(this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,filter)||_ref$isMask&&!_colorspace.ColorSpace.isDefaultDecode(this.decode,1)))for(this.needsDecode=!0,image=(1<<filter)-1,this.decodeCoefficients=[],this.decodeAddends=[],_ref$isMask=this.colorSpace&&"Indexed"===this.colorSpace.name,filter=dict=0;dict<this.decode.length;dict+=2,++filter){height=this.decode[dict];
var dmax=this.decode[dict+1];this.decodeCoefficients[filter]=_ref$isMask?(dmax-height)/image:dmax-height;this.decodeAddends[filter]=_ref$isMask?height:image*height}_ref$smask?this.smask=new PDFImage({xref:xref,res:res,image:_ref$smask,isInline:_ref$isInline,pdfFunctionFactory:_ref}):_ref$mask&&((0,_primitives.isStream)(_ref$mask)?_ref$mask.dict.get("ImageMask","IM")?this.mask=new PDFImage({xref:xref,res:res,image:_ref$mask,isInline:_ref$isInline,isMask:!0,pdfFunctionFactory:_ref}):(0,_util.warn)("Ignoring /Mask in image without /ImageMask."):
this.mask=_ref$mask)}PDFImage.buildImage=function(_ref2){var xref=_ref2.xref,res=_ref2.res,image=_ref2.image,_ref2$isInline=_ref2.isInline,isInline=void 0===_ref2$isInline?!1:_ref2$isInline;_ref2$isInline=_ref2.nativeDecoder;_ref2$isInline=void 0===_ref2$isInline?null:_ref2$isInline;var pdfFunctionFactory=_ref2.pdfFunctionFactory;_ref2=handleImageData(image,_ref2$isInline);var smask=image.dict.get("SMask"),mask=image.dict.get("Mask");smask?(image=handleImageData(smask,_ref2$isInline),_ref2$isInline=
Promise.resolve(null)):(image=Promise.resolve(null),mask?(0,_primitives.isStream)(mask)?_ref2$isInline=handleImageData(mask,_ref2$isInline):Array.isArray(mask)?_ref2$isInline=Promise.resolve(mask):((0,_util.warn)("Unsupported mask format."),_ref2$isInline=Promise.resolve(null)):_ref2$isInline=Promise.resolve(null));return Promise.all([_ref2,image,_ref2$isInline]).then(function(_ref3){var JSCompiler_temp=Array.isArray(_ref3)?_ref3:void 0;if(!JSCompiler_temp)if(Symbol.iterator in Object(_ref3)||"[object Arguments]"===
Object.prototype.toString.call(_ref3)){JSCompiler_temp=[];var _n=!0,_d=!1,_e=void 0;try{for(var _i=_ref3[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done)&&(JSCompiler_temp.push(_s.value),3!==JSCompiler_temp.length);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i["return"])_i["return"]()}finally{if(_d)throw _e;}}}else JSCompiler_temp=void 0;if(!(_ref3=JSCompiler_temp))throw new TypeError("Invalid attempt to destructure non-iterable instance");return new PDFImage({xref:xref,res:res,image:_ref3[0],
isInline:isInline,smask:_ref3[1],mask:_ref3[2],pdfFunctionFactory:pdfFunctionFactory})})};PDFImage.createMask=function(_ref5){var imgArray=_ref5.imgArray,width=_ref5.width,height=_ref5.height,inverseDecode=_ref5.inverseDecode,computedLength=(width+7>>3)*height,actualLength=imgArray.byteLength;if(!_ref5.imageIsFromDecodeStream||inverseDecode&&computedLength!==actualLength)if(inverseDecode)for(_ref5=new Uint8ClampedArray(computedLength),_ref5.set(imgArray),imgArray=actualLength;imgArray<computedLength;imgArray++)_ref5[imgArray]=
255;else _ref5=new Uint8ClampedArray(actualLength),_ref5.set(imgArray);else _ref5=imgArray;if(inverseDecode)for(imgArray=0;imgArray<actualLength;imgArray++)_ref5[imgArray]^=255;return{data:_ref5,width:width,height:height}};PDFImage.prototype={get drawWidth(){return Math.max(this.width,this.smask&&this.smask.width||0,this.mask&&this.mask.width||0)},get drawHeight(){return Math.max(this.height,this.smask&&this.smask.height||0,this.mask&&this.mask.height||0)},decodeBuffer:function(buffer){var bpc=this.bpc,
numComps=this.numComps,decodeAddends=this.decodeAddends,decodeCoefficients=this.decodeCoefficients,max=(1<<bpc)-1,ii;if(1===bpc)for(bpc=0,ii=buffer.length;bpc<ii;bpc++)buffer[bpc]=+!buffer[bpc];else{var index=0;bpc=0;for(ii=this.width*this.height;bpc<ii;bpc++)for(var j=0;j<numComps;j++){var JSCompiler_temp_const=index,value=buffer[index];value=decodeAddends[j]+value*decodeCoefficients[j];buffer[JSCompiler_temp_const]=0>value?0:value>max?max:value;index++}}},getComponents:function(buffer){var bpc=
this.bpc;if(8===bpc)return buffer;var width=this.width,height=this.height,numComps=this.numComps,length=width*height*numComps,bufferPos=0,output=8>=bpc?new Uint8Array(length):16>=bpc?new Uint16Array(length):new Uint32Array(length);width*=numComps;var max=(1<<bpc)-1;numComps=0;if(1===bpc)for(length=0;length<height;length++){max=numComps+(width&-8);for(bpc=numComps+width;numComps<max;){var buf=buffer[bufferPos++];output[numComps]=buf>>7&1;output[numComps+1]=buf>>6&1;output[numComps+2]=buf>>5&1;output[numComps+
3]=buf>>4&1;output[numComps+4]=buf>>3&1;output[numComps+5]=buf>>2&1;output[numComps+6]=buf>>1&1;output[numComps+7]=buf&1;numComps+=8}if(numComps<bpc)for(buf=buffer[bufferPos++],max=128;numComps<bpc;)output[numComps++]=+!!(buf&max),max>>=1}else for(numComps=buf=height=0;numComps<length;++numComps){0===numComps%width&&(height=buf=0);for(;height<bpc;)buf=buf<<8|buffer[bufferPos++],height+=8;height-=bpc;var value=buf>>height;output[numComps]=0>value?0:value>max?max:value;buf&=(1<<height)-1}return output},
fillOpacity:function(rgbaBuf,width,height,actualHeight,image){var smask=this.smask,mask=this.mask,ii;if(smask){image=smask.width;var sh=smask.height;var alphaBuf=new Uint8ClampedArray(image*sh);smask.fillGrayBuffer(alphaBuf);if(image!==width||sh!==height)alphaBuf=resizeImageMask(alphaBuf,smask.bpc,image,sh,width,height)}else if(mask)if(mask instanceof PDFImage){image=mask.width;sh=mask.height;alphaBuf=new Uint8ClampedArray(image*sh);mask.numComps=1;mask.fillGrayBuffer(alphaBuf);smask=0;for(ii=image*
sh;smask<ii;++smask)alphaBuf[smask]=255-alphaBuf[smask];if(image!==width||sh!==height)alphaBuf=resizeImageMask(alphaBuf,mask.bpc,image,sh,width,height)}else if(Array.isArray(mask))for(alphaBuf=new Uint8ClampedArray(width*height),sh=this.numComps,smask=0,ii=width*height;smask<ii;++smask){var opacity=0,imageOffset=smask*sh;for(height=0;height<sh;++height){var color=image[imageOffset+height],maskOffset=2*height;if(color<mask[maskOffset]||color>mask[maskOffset+1]){opacity=255;break}}alphaBuf[smask]=opacity}else throw new _util.FormatError("Unknown mask format.");
if(alphaBuf)for(smask=0,height=3,ii=width*actualHeight;smask<ii;++smask,height+=4)rgbaBuf[height]=alphaBuf[smask];else for(smask=0,height=3,ii=width*actualHeight;smask<ii;++smask,height+=4)rgbaBuf[height]=255},undoPreblend:function(buffer,width,height){var matte=this.smask&&this.smask.matte;if(matte){var matteRgb=this.colorSpace.getRgb(matte,0);matte=matteRgb[0];var matteG=matteRgb[1];matteRgb=matteRgb[2];width=width*height*4;for(height=0;height<width;height+=4){var alpha=buffer[height+3];0===alpha?
(buffer[height]=255,buffer[height+1]=255,buffer[height+2]=255):(alpha=255/alpha,buffer[height]=(buffer[height]-matte)*alpha+matte,buffer[height+1]=(buffer[height+1]-matteG)*alpha+matteG,buffer[height+2]=(buffer[height+2]-matteRgb)*alpha+matteRgb)}}},createImageData:function(){var forceRGBA=0<arguments.length&&void 0!==arguments[0]?arguments[0]:!1,drawWidth=this.drawWidth,drawHeight=this.drawHeight,imgData={width:drawWidth,height:drawHeight,kind:0,data:null},originalWidth=this.width,originalHeight=
this.height,bpc=this.bpc,rowBytes=originalWidth*this.numComps*bpc+7>>3;if(!forceRGBA){if("DeviceGray"===this.colorSpace.name&&1===bpc)var kind=_util.ImageKind.GRAYSCALE_1BPP;else"DeviceRGB"!==this.colorSpace.name||8!==bpc||this.needsDecode||(kind=_util.ImageKind.RGB_24BPP);if(kind&&!this.smask&&!this.mask&&drawWidth===originalWidth&&drawHeight===originalHeight){imgData.kind=kind;var imgArray=this.getImageBytes(originalHeight*rowBytes);this.image instanceof _stream.DecodeStream?imgData.data=imgArray:
(drawWidth=new Uint8ClampedArray(imgArray.length),drawWidth.set(imgArray),imgData.data=drawWidth);if(this.needsDecode)for((0,_util.assert)(kind===_util.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale."),drawWidth=imgData.data,drawHeight=0,originalWidth=drawWidth.length;drawHeight<originalWidth;drawHeight++)drawWidth[drawHeight]^=255;return imgData}if(this.image instanceof _jpeg_stream.JpegStream&&!this.smask&&!this.mask)switch(imgArray=originalHeight*rowBytes,this.colorSpace.name){case "DeviceGray":imgArray*=
3;case "DeviceRGB":case "DeviceCMYK":return imgData.kind=_util.ImageKind.RGB_24BPP,imgData.data=this.getImageBytes(imgArray,drawWidth,drawHeight,!0),imgData}}imgArray=this.getImageBytes(originalHeight*rowBytes);rowBytes=0|imgArray.length/rowBytes*drawHeight/originalHeight;imgArray=this.getComponents(imgArray);forceRGBA||this.smask||this.mask?(imgData.kind=_util.ImageKind.RGBA_32BPP,imgData.data=new Uint8ClampedArray(drawWidth*drawHeight*4),forceRGBA=1,kind=!0,this.fillOpacity(imgData.data,drawWidth,
drawHeight,rowBytes,imgArray)):(imgData.kind=_util.ImageKind.RGB_24BPP,imgData.data=new Uint8ClampedArray(drawWidth*drawHeight*3),forceRGBA=0,kind=!1);this.needsDecode&&this.decodeBuffer(imgArray);this.colorSpace.fillRgb(imgData.data,originalWidth,originalHeight,drawWidth,drawHeight,rowBytes,bpc,imgArray,forceRGBA);kind&&this.undoPreblend(imgData.data,drawWidth,rowBytes);return imgData},fillGrayBuffer:function(buffer){var numComps=this.numComps;if(1!==numComps)throw new _util.FormatError("Reading gray scale from a color image: ".concat(numComps));
var width=this.width,height=this.height,bpc=this.bpc;numComps=this.getImageBytes(height*(width*numComps*bpc+7>>3));numComps=this.getComponents(numComps);if(1===bpc)if(width*=height,this.needsDecode)for(bpc=0;bpc<width;++bpc)buffer[bpc]=numComps[bpc]-1&255;else for(bpc=0;bpc<width;++bpc)buffer[bpc]=-numComps[bpc]&255;else for(this.needsDecode&&this.decodeBuffer(numComps),width*=height,height=255/((1<<bpc)-1),bpc=0;bpc<width;++bpc)buffer[bpc]=height*numComps[bpc]},getImageBytes:function(length,drawWidth,
drawHeight){var forceRGB=3<arguments.length&&void 0!==arguments[3]?arguments[3]:!1;this.image.reset();this.image.drawWidth=drawWidth||this.width;this.image.drawHeight=drawHeight||this.height;this.image.forceRGB=!!forceRGB;return this.image.getBytes(length,!0)}};return PDFImage}();exports.PDFImage=module},function(module,exports,__w_pdfjs_require__){function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){reject(error);return}info.done?
resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}var gen=fn.apply(self,args);_next(void 0)})}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=
descriptor.enumerable||!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _typeof(obj$jscomp$0){_typeof="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return _typeof2(obj)}:function(obj){return obj&&
"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":_typeof2(obj)};return _typeof(obj$jscomp$0)}function wrapReason(reason){if("object"!==_typeof(reason)||null===reason)return reason;switch(reason.name){case "AbortException":return new _util.AbortException(reason.message);case "MissingPDFException":return new _util.MissingPDFException(reason.message);case "UnexpectedResponseException":return new _util.UnexpectedResponseException(reason.message,reason.status);case "UnknownErrorException":return new _util.UnknownErrorException(reason.message,
reason.details);default:return new _util.UnknownErrorException(reason.message,reason.toString())}}Object.defineProperty(exports,"__esModule",{value:!0});exports.MessageHandler=void 0;var _regenerator=function(obj){return obj&&obj.__esModule?obj:{"default":obj}}(__w_pdfjs_require__(2)),_util=__w_pdfjs_require__(5);module=function(){function MessageHandler(sourceName,targetName,comObj){var _this=this;if(!(this instanceof MessageHandler))throw new TypeError("Cannot call a class as a function");this.sourceName=
sourceName;this.targetName=targetName;this.comObj=comObj;this.streamId=this.callbackId=1;this.postMessageTransfers=!0;this.streamSinks=Object.create(null);this.streamControllers=Object.create(null);this.callbackCapabilities=Object.create(null);this.actionHandler=Object.create(null);this._onComObjOnMessage=function(event){var data=event.data;if(data.targetName===_this.sourceName)if(data.stream)_this._processStreamMessage(data);else if(data.callback){event=data.callbackId;var capability=_this.callbackCapabilities[event];
if(!capability)throw Error("Cannot resolve callback ".concat(event));delete _this.callbackCapabilities[event];if(1===data.callback)capability.resolve(data.data);else if(2===data.callback)capability.reject(wrapReason(data.reason));else throw Error("Unexpected callback case");}else{var action=_this.actionHandler[data.action];if(!action)throw Error("Unknown action from worker: ".concat(data.action));if(data.callbackId){var _sourceName=_this.sourceName,_targetName=data.sourceName;(new Promise(function(resolve){resolve(action(data.data))})).then(function(result){comObj.postMessage({sourceName:_sourceName,
targetName:_targetName,callback:1,callbackId:data.callbackId,data:result})},function(reason){comObj.postMessage({sourceName:_sourceName,targetName:_targetName,callback:2,callbackId:data.callbackId,reason:wrapReason(reason)})})}else data.streamId?_this._createStreamSink(data):action(data.data)}};comObj.addEventListener("message",this._onComObjOnMessage)}_createClass(MessageHandler,[{key:"on",value:function(actionName,handler){var ah=this.actionHandler;if(ah[actionName])throw Error('There is already an actionName called "'.concat(actionName,
'"'));ah[actionName]=handler}},{key:"send",value:function(actionName,data,transfers){this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:actionName,data:data},transfers)}},{key:"sendWithPromise",value:function(actionName,data,transfers){var callbackId=this.callbackId++,capability=(0,_util.createPromiseCapability)();this.callbackCapabilities[callbackId]=capability;try{this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:actionName,callbackId:callbackId,
data:data},transfers)}catch(ex){capability.reject(ex)}return capability.promise}},{key:"sendWithStream",value:function(actionName,data,queueingStrategy,transfers){var _this2=this,streamId=this.streamId++,sourceName=this.sourceName,targetName=this.targetName,comObj=this.comObj;return new ReadableStream({start:function(controller){var startCapability=(0,_util.createPromiseCapability)();_this2.streamControllers[streamId]={controller:controller,startCall:startCapability,pullCall:null,cancelCall:null,
isClosed:!1};_this2._postMessage({sourceName:sourceName,targetName:targetName,action:actionName,streamId:streamId,data:data,desiredSize:controller.desiredSize},transfers);return startCapability.promise},pull:function(controller){var pullCapability=(0,_util.createPromiseCapability)();_this2.streamControllers[streamId].pullCall=pullCapability;comObj.postMessage({sourceName:sourceName,targetName:targetName,stream:6,streamId:streamId,desiredSize:controller.desiredSize});return pullCapability.promise},
cancel:function(reason){(0,_util.assert)(reason instanceof Error,"cancel must have a valid reason");var cancelCapability=(0,_util.createPromiseCapability)();_this2.streamControllers[streamId].cancelCall=cancelCapability;_this2.streamControllers[streamId].isClosed=!0;comObj.postMessage({sourceName:sourceName,targetName:targetName,stream:1,streamId:streamId,reason:wrapReason(reason)});return cancelCapability.promise}},queueingStrategy)}},{key:"_createStreamSink",value:function(data){var self=this,action=
this.actionHandler[data.action],streamId=data.streamId,sourceName=this.sourceName,targetName=data.sourceName,comObj=this.comObj,streamSink={enqueue:function(chunk){var transfers=2<arguments.length?arguments[2]:void 0;if(!this.isCancelled){var lastDesiredSize=this.desiredSize;this.desiredSize-=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1;0<lastDesiredSize&&0>=this.desiredSize&&(this.sinkCapability=(0,_util.createPromiseCapability)(),this.ready=this.sinkCapability.promise);self._postMessage({sourceName:sourceName,
targetName:targetName,stream:4,streamId:streamId,chunk:chunk},transfers)}},close:function(){this.isCancelled||(this.isCancelled=!0,comObj.postMessage({sourceName:sourceName,targetName:targetName,stream:3,streamId:streamId}),delete self.streamSinks[streamId])},error:function(reason){(0,_util.assert)(reason instanceof Error,"error must have a valid reason");this.isCancelled||(this.isCancelled=!0,comObj.postMessage({sourceName:sourceName,targetName:targetName,stream:5,streamId:streamId,reason:wrapReason(reason)}))},
sinkCapability:(0,_util.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:data.desiredSize,ready:null};streamSink.sinkCapability.resolve();streamSink.ready=streamSink.sinkCapability.promise;this.streamSinks[streamId]=streamSink;(new Promise(function(resolve){resolve(action(data.data,streamSink))})).then(function(){comObj.postMessage({sourceName:sourceName,targetName:targetName,stream:8,streamId:streamId,success:!0})},function(reason){comObj.postMessage({sourceName:sourceName,
targetName:targetName,stream:8,streamId:streamId,reason:wrapReason(reason)})})}},{key:"_processStreamMessage",value:function(data){var streamId=data.streamId,sourceName=this.sourceName,targetName=data.sourceName,comObj=this.comObj;switch(data.stream){case 8:data.success?this.streamControllers[streamId].startCall.resolve():this.streamControllers[streamId].startCall.reject(wrapReason(data.reason));break;case 7:data.success?this.streamControllers[streamId].pullCall.resolve():this.streamControllers[streamId].pullCall.reject(wrapReason(data.reason));
break;case 6:if(!this.streamSinks[streamId]){comObj.postMessage({sourceName:sourceName,targetName:targetName,stream:7,streamId:streamId,success:!0});break}0>=this.streamSinks[streamId].desiredSize&&0<data.desiredSize&&this.streamSinks[streamId].sinkCapability.resolve();this.streamSinks[streamId].desiredSize=data.desiredSize;var onPull=this.streamSinks[data.streamId].onPull;(new Promise(function(resolve){resolve(onPull&&onPull())})).then(function(){comObj.postMessage({sourceName:sourceName,targetName:targetName,
stream:7,streamId:streamId,success:!0})},function(reason){comObj.postMessage({sourceName:sourceName,targetName:targetName,stream:7,streamId:streamId,reason:wrapReason(reason)})});break;case 4:(0,_util.assert)(this.streamControllers[streamId],"enqueue should have stream controller");if(this.streamControllers[streamId].isClosed)break;this.streamControllers[streamId].controller.enqueue(data.chunk);break;case 3:(0,_util.assert)(this.streamControllers[streamId],"close should have stream controller");if(this.streamControllers[streamId].isClosed)break;
this.streamControllers[streamId].isClosed=!0;this.streamControllers[streamId].controller.close();this._deleteStreamController(streamId);break;case 5:(0,_util.assert)(this.streamControllers[streamId],"error should have stream controller");this.streamControllers[streamId].controller.error(wrapReason(data.reason));this._deleteStreamController(streamId);break;case 2:data.success?this.streamControllers[streamId].cancelCall.resolve():this.streamControllers[streamId].cancelCall.reject(wrapReason(data.reason));
this._deleteStreamController(streamId);break;case 1:if(!this.streamSinks[streamId])break;var onCancel=this.streamSinks[data.streamId].onCancel;(new Promise(function(resolve){resolve(onCancel&&onCancel(wrapReason(data.reason)))})).then(function(){comObj.postMessage({sourceName:sourceName,targetName:targetName,stream:2,streamId:streamId,success:!0})},function(reason){comObj.postMessage({sourceName:sourceName,targetName:targetName,stream:2,streamId:streamId,reason:wrapReason(reason)})});this.streamSinks[streamId].sinkCapability.reject(wrapReason(data.reason));
this.streamSinks[streamId].isCancelled=!0;delete this.streamSinks[streamId];break;default:throw Error("Unexpected stream case");}}},{key:"_deleteStreamController",value:function(){var _deleteStreamController2=_asyncToGenerator(_regenerator["default"].mark(function _callee(streamId){return _regenerator["default"].wrap(function(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,Promise.all([this.streamControllers[streamId].startCall,this.streamControllers[streamId].pullCall,
this.streamControllers[streamId].cancelCall].map(function(capability){return capability&&capability.promise["catch"](function(){})}));case 2:delete this.streamControllers[streamId];case 3:case "end":return _context.stop()}},_callee,this)}));return function(_x){return _deleteStreamController2.apply(this,arguments)}}()},{key:"_postMessage",value:function(message,transfers){transfers&&this.postMessageTransfers?this.comObj.postMessage(message,transfers):this.comObj.postMessage(message)}},{key:"destroy",
value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}]);return MessageHandler}();exports.MessageHandler=module},function(module,exports,__w_pdfjs_require__){function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){reject(error);return}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,
reject){function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}var gen=fn.apply(self,args);_next(void 0)})}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||
!1;descriptor.configurable=!0;"value"in descriptor&&(descriptor.writable=!0);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}Object.defineProperty(exports,"__esModule",{value:!0});exports.PDFWorkerStream=void 0;var _regenerator=function(obj){return obj&&obj.__esModule?obj:{"default":obj}}(__w_pdfjs_require__(2)),
_util=__w_pdfjs_require__(5);module=function(){function PDFWorkerStream(msgHandler){_classCallCheck(this,PDFWorkerStream);this._msgHandler=msgHandler;this._fullRequestReader=this._contentLength=null;this._rangeRequestReaders=[]}_createClass(PDFWorkerStream,[{key:"getFullReader",value:function(){(0,_util.assert)(!this._fullRequestReader);return this._fullRequestReader=new PDFWorkerStreamReader(this._msgHandler)}},{key:"getRangeReader",value:function(begin,end){begin=new PDFWorkerStreamRangeReader(begin,
end,this._msgHandler);this._rangeRequestReaders.push(begin);return begin}},{key:"cancelAllRequests",value:function(reason){this._fullRequestReader&&this._fullRequestReader.cancel(reason);this._rangeRequestReaders.slice(0).forEach(function(reader){reader.cancel(reason)})}}]);return PDFWorkerStream}();exports.PDFWorkerStream=module;var PDFWorkerStreamReader=function(){function PDFWorkerStreamReader(msgHandler){var _this=this;_classCallCheck(this,PDFWorkerStreamReader);this._msgHandler=msgHandler;this._contentLength=
this.onProgress=null;this._isStreamingSupported=this._isRangeSupported=!1;this._reader=this._msgHandler.sendWithStream("GetReader").getReader();this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then(function(data){_this._isStreamingSupported=data.isStreamingSupported;_this._isRangeSupported=data.isRangeSupported;_this._contentLength=data.contentLength})}_createClass(PDFWorkerStreamReader,[{key:"read",value:function(){var _read=_asyncToGenerator(_regenerator["default"].mark(function _callee(){var _ref,
value,done;return _regenerator["default"].wrap(function(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,this._reader.read();case 2:_ref=_context.sent;value=_ref.value;done=_ref.done;if(!done){_context.next=7;break}return _context.abrupt("return",{value:void 0,done:!0});case 7:return _context.abrupt("return",{value:value.buffer,done:!1});case 8:case "end":return _context.stop()}},_callee,this)}));return function(){return _read.apply(this,arguments)}}()},{key:"cancel",
value:function(reason){this._reader.cancel(reason)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}}]);return PDFWorkerStreamReader}(),PDFWorkerStreamRangeReader=function(){function PDFWorkerStreamRangeReader(begin,end,msgHandler){_classCallCheck(this,PDFWorkerStreamRangeReader);
this._msgHandler=msgHandler;this.onProgress=null;this._reader=this._msgHandler.sendWithStream("GetRangeReader",{begin:begin,end:end}).getReader()}_createClass(PDFWorkerStreamRangeReader,[{key:"read",value:function(){var _read2=_asyncToGenerator(_regenerator["default"].mark(function _callee2(){var _ref2,value,done;return _regenerator["default"].wrap(function(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _context2.next=2,this._reader.read();case 2:_ref2=_context2.sent;value=
_ref2.value;done=_ref2.done;if(!done){_context2.next=7;break}return _context2.abrupt("return",{value:void 0,done:!0});case 7:return _context2.abrupt("return",{value:value.buffer,done:!1});case 8:case "end":return _context2.stop()}},_callee2,this)}));return function(){return _read2.apply(this,arguments)}}()},{key:"cancel",value:function(reason){this._reader.cancel(reason)}},{key:"isStreamingSupported",get:function(){return!1}}]);return PDFWorkerStreamRangeReader}()}])})}).call(this,__webpack_require__(3).Buffer,
__webpack_require__(0),__webpack_require__(7),__webpack_require__(8)(module$jscomp$2))},function(module,exports,__webpack_require__){(function(global){function typedArraySupport(){try{var arr=new Uint8Array(1);arr.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return 42===arr.foo()&&"function"===typeof arr.subarray&&0===arr.subarray(1,1).byteLength}catch(e){return!1}}function createBuffer(that,length){if((Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823)<length)throw new RangeError("Invalid typed array length");
Buffer.TYPED_ARRAY_SUPPORT?(that=new Uint8Array(length),that.__proto__=Buffer.prototype):(null===that&&(that=new Buffer(length)),that.length=length);return that}function Buffer(arg,encodingOrOffset,length){if(!(Buffer.TYPED_ARRAY_SUPPORT||this instanceof Buffer))return new Buffer(arg,encodingOrOffset,length);if("number"===typeof arg){if("string"===typeof encodingOrOffset)throw Error("If encoding is specified then the first argument must be a string");return allocUnsafe(this,arg)}return from(this,
arg,encodingOrOffset,length)}function from(that,value,encodingOrOffset,length){if("number"===typeof value)throw new TypeError('"value" argument must not be a number');if("undefined"!==typeof ArrayBuffer&&value instanceof ArrayBuffer){value.byteLength;if(0>encodingOrOffset||value.byteLength<encodingOrOffset)throw new RangeError("'offset' is out of bounds");if(value.byteLength<encodingOrOffset+(length||0))throw new RangeError("'length' is out of bounds");value=void 0===encodingOrOffset&&void 0===length?
new Uint8Array(value):void 0===length?new Uint8Array(value,encodingOrOffset):new Uint8Array(value,encodingOrOffset,length);Buffer.TYPED_ARRAY_SUPPORT?(that=value,that.__proto__=Buffer.prototype):that=fromArrayLike(that,value);return that}if("string"===typeof value){length=that;that=encodingOrOffset;if("string"!==typeof that||""===that)that="utf8";if(!Buffer.isEncoding(that))throw new TypeError('"encoding" must be a valid string encoding');encodingOrOffset=byteLength$jscomp$0(value,that)|0;length=
createBuffer(length,encodingOrOffset);value=length.write(value,that);value!==encodingOrOffset&&(length=length.slice(0,value));return length}return fromObject(that,value)}function assertSize(size){if("number"!==typeof size)throw new TypeError('"size" argument must be a number');if(0>size)throw new RangeError('"size" argument must not be negative');}function allocUnsafe(that,size){assertSize(size);that=createBuffer(that,0>size?0:checked(size)|0);if(!Buffer.TYPED_ARRAY_SUPPORT)for(var i=0;i<size;++i)that[i]=
0;return that}function fromArrayLike(that,array){var length=0>array.length?0:checked(array.length)|0;that=createBuffer(that,length);for(var i=0;i<length;i+=1)that[i]=array[i]&255;return that}function fromObject(that,obj){if(Buffer.isBuffer(obj)){var len=checked(obj.length)|0;that=createBuffer(that,len);if(0===that.length)return that;obj.copy(that,0,0,len);return that}if(obj){if("undefined"!==typeof ArrayBuffer&&obj.buffer instanceof ArrayBuffer||"length"in obj)return(len="number"!==typeof obj.length)||
(len=obj.length,len=len!==len),len?createBuffer(that,0):fromArrayLike(that,obj);if("Buffer"===obj.type&&isArray(obj.data))return fromArrayLike(that,obj.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");}function checked(length){if(length>=(Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823))throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+(Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823).toString(16)+" bytes");
return length|0}function byteLength$jscomp$0(string,encoding){if(Buffer.isBuffer(string))return string.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(string)||string instanceof ArrayBuffer))return string.byteLength;"string"!==typeof string&&(string=""+string);var len=string.length;if(0===len)return 0;for(var loweredCase=!1;;)switch(encoding){case "ascii":case "latin1":case "binary":return len;case "utf8":case "utf-8":case void 0:return utf8ToBytes(string).length;
case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*len;case "hex":return len>>>1;case "base64":return base64ToBytes(string).length;default:if(loweredCase)return utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase();loweredCase=!0}}function slowToString(encoding,start,end){var loweredCase=!1;if(void 0===start||0>start)start=0;if(start>this.length)return"";if(void 0===end||end>this.length)end=this.length;if(0>=end)return"";end>>>=0;start>>>=0;if(end<=start)return"";for(encoding||
(encoding="utf8");;)switch(encoding){case "hex":encoding=start;start=end;end=this.length;if(!encoding||0>encoding)encoding=0;if(!start||0>start||start>end)start=end;loweredCase="";for(end=encoding;end<start;++end)encoding=loweredCase,loweredCase=this[end],loweredCase=16>loweredCase?"0"+loweredCase.toString(16):loweredCase.toString(16),loweredCase=encoding+loweredCase;return loweredCase;case "utf8":case "utf-8":return utf8Slice(this,start,end);case "ascii":encoding="";for(end=Math.min(this.length,
end);start<end;++start)encoding+=String.fromCharCode(this[start]&127);return encoding;case "latin1":case "binary":encoding="";for(end=Math.min(this.length,end);start<end;++start)encoding+=String.fromCharCode(this[start]);return encoding;case "base64":return start=0===start&&end===this.length?base64.fromByteArray(this):base64.fromByteArray(this.slice(start,end)),start;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":start=this.slice(start,end);end="";for(encoding=0;encoding<start.length;encoding+=
2)end+=String.fromCharCode(start[encoding]+256*start[encoding+1]);return end;default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase();loweredCase=!0}}function swap(b,n,m){var i=b[n];b[n]=b[m];b[m]=i}function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(0===buffer.length)return-1;"string"===typeof byteOffset?(encoding=byteOffset,byteOffset=0):2147483647<byteOffset?byteOffset=2147483647:-2147483648>byteOffset&&(byteOffset=-2147483648);
byteOffset=+byteOffset;isNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1);0>byteOffset&&(byteOffset=buffer.length+byteOffset);if(byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(0>byteOffset)if(dir)byteOffset=0;else return-1;"string"===typeof val&&(val=Buffer.from(val,encoding));if(Buffer.isBuffer(val))return 0===val.length?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if("number"===typeof val)return val&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?
dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer");}function arrayIndexOf(arr,val,byteOffset,encoding,dir){function read(buf,i){return 1===indexSize?buf[i]:buf.readUInt16BE(i*indexSize)}var indexSize=1,arrLength=arr.length,valLength=val.length;if(void 0!==encoding&&(encoding=String(encoding).toLowerCase(),"ucs2"===encoding||
"ucs-2"===encoding||"utf16le"===encoding||"utf-16le"===encoding)){if(2>arr.length||2>val.length)return-1;indexSize=2;arrLength/=2;valLength/=2;byteOffset/=2}if(dir)for(encoding=-1;byteOffset<arrLength;byteOffset++)if(read(arr,byteOffset)===read(val,-1===encoding?0:byteOffset-encoding)){if(-1===encoding&&(encoding=byteOffset),byteOffset-encoding+1===valLength)return encoding*indexSize}else-1!==encoding&&(byteOffset-=byteOffset-encoding),encoding=-1;else for(byteOffset+valLength>arrLength&&(byteOffset=
arrLength-valLength);0<=byteOffset;byteOffset--){arrLength=!0;for(encoding=0;encoding<valLength;encoding++)if(read(arr,byteOffset+encoding)!==read(val,encoding)){arrLength=!1;break}if(arrLength)return byteOffset}return-1}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[];start<end;){var firstByte=buf[start],codePoint=null,bytesPerSequence=239<firstByte?4:223<firstByte?3:191<firstByte?2:1;if(start+bytesPerSequence<=end)switch(bytesPerSequence){case 1:128>firstByte&&(codePoint=
firstByte);break;case 2:var secondByte=buf[start+1];128===(secondByte&192)&&(firstByte=(firstByte&31)<<6|secondByte&63,127<firstByte&&(codePoint=firstByte));break;case 3:secondByte=buf[start+1];var thirdByte=buf[start+2];128===(secondByte&192)&&128===(thirdByte&192)&&(firstByte=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,2047<firstByte&&(55296>firstByte||57343<firstByte)&&(codePoint=firstByte));break;case 4:secondByte=buf[start+1];thirdByte=buf[start+2];var fourthByte=buf[start+3];128===(secondByte&
192)&&128===(thirdByte&192)&&128===(fourthByte&192)&&(firstByte=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,65535<firstByte&&1114112>firstByte&&(codePoint=firstByte))}null===codePoint?(codePoint=65533,bytesPerSequence=1):65535<codePoint&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023);res.push(codePoint);start+=bytesPerSequence}buf=res.length;if(buf<=MAX_ARGUMENTS_LENGTH)res=String.fromCharCode.apply(String,res);else{end="";for(start=
0;start<buf;)end+=String.fromCharCode.apply(String,res.slice(start,start+=MAX_ARGUMENTS_LENGTH));res=end}return res}function checkOffset(offset,ext,length){if(0!==offset%1||0>offset)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length");}function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');
if(offset+ext>buf.length)throw new RangeError("Index out of range");}function objectWriteUInt16(buf,value,offset,littleEndian){0>value&&(value=65535+value+1);for(var i=0,j=Math.min(buf.length-offset,2);i<j;++i)buf[offset+i]=(value&255<<8*(littleEndian?i:1-i))>>>8*(littleEndian?i:1-i)}function objectWriteUInt32(buf,value,offset,littleEndian){0>value&&(value=4294967295+value+1);for(var i=0,j=Math.min(buf.length-offset,4);i<j;++i)buf[offset+i]=value>>>8*(littleEndian?i:3-i)&255}function checkIEEE754(buf,
value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(0>offset)throw new RangeError("Index out of range");}function writeFloat(buf,value,offset,littleEndian,noAssert){noAssert||checkIEEE754(buf,value,offset,4,3.4028234663852886E38,-3.4028234663852886E38);ieee754.write(buf,value,offset,littleEndian,23,4);return offset+4}function writeDouble(buf,value,offset,littleEndian,noAssert){noAssert||checkIEEE754(buf,value,offset,8,1.7976931348623157E308,-1.7976931348623157E308);
ieee754.write(buf,value,offset,littleEndian,52,8);return offset+8}function utf8ToBytes(string,units){units=units||Infinity;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){codePoint=string.charCodeAt(i);if(55295<codePoint&&57344>codePoint){if(!leadSurrogate){if(56319<codePoint){-1<(units-=3)&&bytes.push(239,191,189);continue}else if(i+1===length){-1<(units-=3)&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(56320>codePoint){-1<(units-=3)&&
bytes.push(239,191,189);leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&-1<(units-=3)&&bytes.push(239,191,189);leadSurrogate=null;if(128>codePoint){if(0>--units)break;bytes.push(codePoint)}else if(2048>codePoint){if(0>(units-=2))break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(65536>codePoint){if(0>(units-=3))break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(1114112>codePoint){if(0>(units-=4))break;
bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw Error("Invalid code point");}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function base64ToBytes(str){var JSCompiler_temp_const=base64,JSCompiler_temp_const$jscomp$0=JSCompiler_temp_const.toByteArray;str=(str.trim?str.trim():str.replace(/^\s+|\s+$/g,"")).replace(INVALID_BASE64_RE,"");if(2>str.length)str="";else for(;0!==
str.length%4;)str+="=";return JSCompiler_temp_const$jscomp$0.call(JSCompiler_temp_const,str)}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}var base64=__webpack_require__(4),ieee754=__webpack_require__(5),isArray=__webpack_require__(6);exports.Buffer=Buffer;exports.SlowBuffer=function(length){+length!=length&&(length=0);return Buffer.alloc(+length)};exports.INSPECT_MAX_BYTES=50;Buffer.TYPED_ARRAY_SUPPORT=void 0!==
global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:typedArraySupport();exports.kMaxLength=Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823;Buffer.poolSize=8192;Buffer._augment=function(arr){arr.__proto__=Buffer.prototype;return arr};Buffer.from=function(value,encodingOrOffset,length){return from(null,value,encodingOrOffset,length)};Buffer.TYPED_ARRAY_SUPPORT&&(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===
Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0}));Buffer.alloc=function(size,fill,encoding){assertSize(size);size=0>=size?createBuffer(null,size):void 0!==fill?"string"===typeof encoding?createBuffer(null,size).fill(fill,encoding):createBuffer(null,size).fill(fill):createBuffer(null,size);return size};Buffer.allocUnsafe=function(size){return allocUnsafe(null,size)};Buffer.allocUnsafeSlow=function(size){return allocUnsafe(null,size)};Buffer.isBuffer=function(b){return!(null==
b||!b._isBuffer)};Buffer.compare=function(a,b){if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i];y=b[i];break}return x<y?-1:y<x?1:0};Buffer.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "latin1":case "binary":case "base64":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return!0;
default:return!1}};Buffer.concat=function(list,length){if(!isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(0===list.length)return Buffer.alloc(0);var i;if(void 0===length)for(i=length=0;i<list.length;++i)length+=list[i].length;length=Buffer.allocUnsafe(length);var pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(!Buffer.isBuffer(buf))throw new TypeError('"list" argument must be an Array of Buffers');buf.copy(length,pos);pos+=buf.length}return length};Buffer.byteLength=
byteLength$jscomp$0;Buffer.prototype._isBuffer=!0;Buffer.prototype.swap16=function(){var len=this.length;if(0!==len%2)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer.prototype.swap32=function(){var len=this.length;if(0!==len%4)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer.prototype.swap64=function(){var len=this.length;if(0!==
len%8)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer.prototype.toString=function(){var length=this.length|0;return 0===length?"":0===arguments.length?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer.prototype.equals=function(b){if(!Buffer.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:0===Buffer.compare(this,b)};
Buffer.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;0<this.length&&(str=this.toString("hex",0,max).match(/.{2}/g).join(" "),this.length>max&&(str+=" ... "));return"<Buffer "+str+">"};Buffer.prototype.compare=function(target,start,end,thisStart,thisEnd){if(!Buffer.isBuffer(target))throw new TypeError("Argument must be a Buffer");void 0===start&&(start=0);void 0===end&&(end=target?target.length:0);void 0===thisStart&&(thisStart=0);void 0===thisEnd&&(thisEnd=this.length);if(0>
start||end>target.length||0>thisStart||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;start>>>=0;end>>>=0;thisStart>>>=0;thisEnd>>>=0;if(this===target)return 0;var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y);thisStart=this.slice(thisStart,thisEnd);target=target.slice(start,end);for(start=0;start<len;++start)if(thisStart[start]!==target[start]){x=thisStart[start];y=target[start];break}return x<
y?-1:y<x?1:0};Buffer.prototype.includes=function(val,byteOffset,encoding){return-1!==this.indexOf(val,byteOffset,encoding)};Buffer.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};Buffer.prototype.write=function(string,offset,length,encoding){if(void 0===offset)encoding="utf8",length=this.length,offset=0;else if(void 0===
length&&"string"===typeof offset)encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset|=0,isFinite(length)?(length|=0,void 0===encoding&&(encoding="utf8")):(encoding=length,length=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if(void 0===length||length>remaining)length=remaining;if(0<string.length&&(0>length||0>offset)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");
encoding||(encoding="utf8");for(remaining=!1;;)switch(encoding){case "hex":a:{offset=Number(offset)||0;encoding=this.length-offset;length?(length=Number(length),length>encoding&&(length=encoding)):length=encoding;encoding=string.length;if(0!==encoding%2)throw new TypeError("Invalid hex string");length>encoding/2&&(length=encoding/2);for(encoding=0;encoding<length;++encoding){remaining=parseInt(string.substr(2*encoding,2),16);if(isNaN(remaining)){string=encoding;break a}this[offset+encoding]=remaining}string=
encoding}return string;case "utf8":case "utf-8":return blitBuffer(utf8ToBytes(string,this.length-offset),this,offset,length);case "ascii":return blitBuffer(asciiToBytes(string),this,offset,length);case "latin1":case "binary":return blitBuffer(asciiToBytes(string),this,offset,length);case "base64":return blitBuffer(base64ToBytes(string),this,offset,length);case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":encoding=string;remaining=this.length-offset;for(var byteArray=[],i=0;i<encoding.length&&
!(0>(remaining-=2));++i){var lo=encoding.charCodeAt(i);string=lo>>8;lo%=256;byteArray.push(lo);byteArray.push(string)}return blitBuffer(byteArray,this,offset,length);default:if(remaining)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase();remaining=!0}};Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var MAX_ARGUMENTS_LENGTH=4096;Buffer.prototype.slice=function(start,end){var len=this.length;start=~~start;
end=void 0===end?len:~~end;0>start?(start+=len,0>start&&(start=0)):start>len&&(start=len);0>end?(end+=len,0>end&&(end=0)):end>len&&(end=len);end<start&&(end=start);if(Buffer.TYPED_ARRAY_SUPPORT)end=this.subarray(start,end),end.__proto__=Buffer.prototype;else{len=end-start;end=new Buffer(len,void 0);for(var i=0;i<len;++i)end[i]=this[i+start]}return end};Buffer.prototype.readUIntLE=function(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||checkOffset(offset,byteLength,this.length);noAssert=
this[offset];for(var mul=1,i=0;++i<byteLength&&(mul*=256);)noAssert+=this[offset+i]*mul;return noAssert};Buffer.prototype.readUIntBE=function(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||checkOffset(offset,byteLength,this.length);noAssert=this[offset+--byteLength];for(var mul=1;0<byteLength&&(mul*=256);)noAssert+=this[offset+--byteLength]*mul;return noAssert};Buffer.prototype.readUInt8=function(offset,noAssert){noAssert||checkOffset(offset,1,this.length);return this[offset]};Buffer.prototype.readUInt16LE=
function(offset,noAssert){noAssert||checkOffset(offset,2,this.length);return this[offset]|this[offset+1]<<8};Buffer.prototype.readUInt16BE=function(offset,noAssert){noAssert||checkOffset(offset,2,this.length);return this[offset]<<8|this[offset+1]};Buffer.prototype.readUInt32LE=function(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+16777216*this[offset+3]};Buffer.prototype.readUInt32BE=function(offset,noAssert){noAssert||checkOffset(offset,
4,this.length);return 16777216*this[offset]+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer.prototype.readIntLE=function(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||checkOffset(offset,byteLength,this.length);noAssert=this[offset];for(var mul=1,i=0;++i<byteLength&&(mul*=256);)noAssert+=this[offset+i]*mul;noAssert>=128*mul&&(noAssert-=Math.pow(2,8*byteLength));return noAssert};Buffer.prototype.readIntBE=function(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||
checkOffset(offset,byteLength,this.length);noAssert=byteLength;for(var mul=1,val=this[offset+--noAssert];0<noAssert&&(mul*=256);)val+=this[offset+--noAssert]*mul;val>=128*mul&&(val-=Math.pow(2,8*byteLength));return val};Buffer.prototype.readInt8=function(offset,noAssert){noAssert||checkOffset(offset,1,this.length);return this[offset]&128?-1*(255-this[offset]+1):this[offset]};Buffer.prototype.readInt16LE=function(offset,noAssert){noAssert||checkOffset(offset,2,this.length);offset=this[offset]|this[offset+
1]<<8;return offset&32768?offset|4294901760:offset};Buffer.prototype.readInt16BE=function(offset,noAssert){noAssert||checkOffset(offset,2,this.length);offset=this[offset+1]|this[offset]<<8;return offset&32768?offset|4294901760:offset};Buffer.prototype.readInt32LE=function(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer.prototype.readInt32BE=function(offset,noAssert){noAssert||checkOffset(offset,4,this.length);
return this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer.prototype.readFloatLE=function(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return ieee754.read(this,offset,!0,23,4)};Buffer.prototype.readFloatBE=function(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return ieee754.read(this,offset,!1,23,4)};Buffer.prototype.readDoubleLE=function(offset,noAssert){noAssert||checkOffset(offset,8,this.length);return ieee754.read(this,offset,!0,52,8)};
Buffer.prototype.readDoubleBE=function(offset,noAssert){noAssert||checkOffset(offset,8,this.length);return ieee754.read(this,offset,!1,52,8)};Buffer.prototype.writeUIntLE=function(value,offset,byteLength,noAssert){value=+value;offset|=0;byteLength|=0;noAssert||checkInt(this,value,offset,byteLength,Math.pow(2,8*byteLength)-1,0);noAssert=1;var i=0;for(this[offset]=value&255;++i<byteLength&&(noAssert*=256);)this[offset+i]=value/noAssert&255;return offset+byteLength};Buffer.prototype.writeUIntBE=function(value,
offset,byteLength,noAssert){value=+value;offset|=0;byteLength|=0;noAssert||checkInt(this,value,offset,byteLength,Math.pow(2,8*byteLength)-1,0);noAssert=byteLength-1;var mul=1;for(this[offset+noAssert]=value&255;0<=--noAssert&&(mul*=256);)this[offset+noAssert]=value/mul&255;return offset+byteLength};Buffer.prototype.writeUInt8=function(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,1,255,0);Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value));this[offset]=value&
255;return offset+1};Buffer.prototype.writeUInt16LE=function(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,65535,0);Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value&255,this[offset+1]=value>>>8):objectWriteUInt16(this,value,offset,!0);return offset+2};Buffer.prototype.writeUInt16BE=function(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,65535,0);Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>8,this[offset+1]=value&255):objectWriteUInt16(this,
value,offset,!1);return offset+2};Buffer.prototype.writeUInt32LE=function(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,4294967295,0);Buffer.TYPED_ARRAY_SUPPORT?(this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255):objectWriteUInt32(this,value,offset,!0);return offset+4};Buffer.prototype.writeUInt32BE=function(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,4294967295,0);Buffer.TYPED_ARRAY_SUPPORT?
(this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255):objectWriteUInt32(this,value,offset,!1);return offset+4};Buffer.prototype.writeIntLE=function(value,offset,byteLength,noAssert){value=+value;offset|=0;noAssert||(noAssert=Math.pow(2,8*byteLength-1),checkInt(this,value,offset,byteLength,noAssert-1,-noAssert));noAssert=0;var mul=1,sub=0;for(this[offset]=value&255;++noAssert<byteLength&&(mul*=256);)0>value&&0===sub&&0!==this[offset+noAssert-1]&&(sub=
1),this[offset+noAssert]=(value/mul>>0)-sub&255;return offset+byteLength};Buffer.prototype.writeIntBE=function(value,offset,byteLength,noAssert){value=+value;offset|=0;noAssert||(noAssert=Math.pow(2,8*byteLength-1),checkInt(this,value,offset,byteLength,noAssert-1,-noAssert));noAssert=byteLength-1;var mul=1,sub=0;for(this[offset+noAssert]=value&255;0<=--noAssert&&(mul*=256);)0>value&&0===sub&&0!==this[offset+noAssert+1]&&(sub=1),this[offset+noAssert]=(value/mul>>0)-sub&255;return offset+byteLength};
Buffer.prototype.writeInt8=function(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,1,127,-128);Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value));0>value&&(value=255+value+1);this[offset]=value&255;return offset+1};Buffer.prototype.writeInt16LE=function(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,32767,-32768);Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value&255,this[offset+1]=value>>>8):objectWriteUInt16(this,value,offset,
!0);return offset+2};Buffer.prototype.writeInt16BE=function(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,32767,-32768);Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>8,this[offset+1]=value&255):objectWriteUInt16(this,value,offset,!1);return offset+2};Buffer.prototype.writeInt32LE=function(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,2147483647,-2147483648);Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value&255,this[offset+
1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24):objectWriteUInt32(this,value,offset,!0);return offset+4};Buffer.prototype.writeInt32BE=function(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,2147483647,-2147483648);0>value&&(value=4294967295+value+1);Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255):objectWriteUInt32(this,value,offset,!1);return offset+4};Buffer.prototype.writeFloatLE=
function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};Buffer.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer.prototype.copy=function(target,targetStart,start,end){start||(start=0);end||
0===end||(end=this.length);targetStart>=target.length&&(targetStart=target.length);targetStart||(targetStart=0);0<end&&end<start&&(end=start);if(end===start||0===target.length||0===this.length)return 0;if(0>targetStart)throw new RangeError("targetStart out of bounds");if(0>start||start>=this.length)throw new RangeError("sourceStart out of bounds");if(0>end)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length);target.length-targetStart<end-start&&(end=target.length-targetStart+
start);var len=end-start;if(this===target&&start<targetStart&&targetStart<end)for(end=len-1;0<=end;--end)target[end+targetStart]=this[end+start];else if(1E3>len||!Buffer.TYPED_ARRAY_SUPPORT)for(end=0;end<len;++end)target[end+targetStart]=this[end+start];else Uint8Array.prototype.set.call(target,this.subarray(start,start+len),targetStart);return len};Buffer.prototype.fill=function(val,start,end,encoding){if("string"===typeof val){"string"===typeof start?(encoding=start,start=0,end=this.length):"string"===
typeof end&&(encoding=end,end=this.length);if(1===val.length){var code=val.charCodeAt(0);256>code&&(val=code)}if(void 0!==encoding&&"string"!==typeof encoding)throw new TypeError("encoding must be a string");if("string"===typeof encoding&&!Buffer.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);}else"number"===typeof val&&(val&=255);if(0>start||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start>>>=0;end=void 0===end?
this.length:end>>>0;val||(val=0);if("number"===typeof val)for(encoding=start;encoding<end;++encoding)this[encoding]=val;else for(val=Buffer.isBuffer(val)?val:utf8ToBytes((new Buffer(val,encoding)).toString()),code=val.length,encoding=0;encoding<end-start;++encoding)this[encoding+start]=val[encoding%code];return this};var INVALID_BASE64_RE=/[^+\/0-9A-Za-z-_]/g}).call(this,__webpack_require__(0))},function(module,exports,__webpack_require__){function getLens(b64){var len=b64.length;if(0<len%4)throw Error("Invalid string. Length must be a multiple of 4");
b64=b64.indexOf("=");-1===b64&&(b64=len);return[b64,b64===len?0:4-b64%4]}exports.byteLength=function(b64){b64=getLens(b64);var placeHoldersLen=b64[1];return 3*(b64[0]+placeHoldersLen)/4-placeHoldersLen};exports.toByteArray=function(b64){var lens=getLens(b64);var tmp=lens[0];lens=lens[1];var arr=new Arr(3*(tmp+lens)/4-lens),curByte=0,len=0<lens?tmp-4:tmp,i;for(i=0;i<len;i+=4)tmp=revLookup[b64.charCodeAt(i)]<<18|revLookup[b64.charCodeAt(i+1)]<<12|revLookup[b64.charCodeAt(i+2)]<<6|revLookup[b64.charCodeAt(i+
3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;2===lens&&(tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4,arr[curByte++]=tmp&255);1===lens&&(tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255);return arr};exports.fromByteArray=function(uint8$jscomp$0){for(var len=uint8$jscomp$0.length,extraBytes=len%3,parts=[],i=0,len2=len-extraBytes;i<len2;i+=
16383){for(var JSCompiler_temp_const=parts,JSCompiler_temp_const$jscomp$0=JSCompiler_temp_const.push,JSCompiler_inline_result,uint8=uint8$jscomp$0,end=i+16383>len2?len2:i+16383,output=[],i$jscomp$0=i;i$jscomp$0<end;i$jscomp$0+=3)JSCompiler_inline_result=(uint8[i$jscomp$0]<<16&16711680)+(uint8[i$jscomp$0+1]<<8&65280)+(uint8[i$jscomp$0+2]&255),output.push(lookup[JSCompiler_inline_result>>18&63]+lookup[JSCompiler_inline_result>>12&63]+lookup[JSCompiler_inline_result>>6&63]+lookup[JSCompiler_inline_result&
63]);JSCompiler_inline_result=output.join("");JSCompiler_temp_const$jscomp$0.call(JSCompiler_temp_const,JSCompiler_inline_result)}1===extraBytes?(uint8$jscomp$0=uint8$jscomp$0[len-1],parts.push(lookup[uint8$jscomp$0>>2]+lookup[uint8$jscomp$0<<4&63]+"==")):2===extraBytes&&(uint8$jscomp$0=(uint8$jscomp$0[len-2]<<8)+uint8$jscomp$0[len-1],parts.push(lookup[uint8$jscomp$0>>10]+lookup[uint8$jscomp$0>>4&63]+lookup[uint8$jscomp$0<<2&63]+"="));return parts.join("")};var lookup=[],revLookup=[],Arr="undefined"!==
typeof Uint8Array?Uint8Array:Array;for(module=0;64>module;++module)lookup[module]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[module],revLookup["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(module)]=module;revLookup[45]=62;revLookup[95]=63},function(module,exports){exports.read=function(buffer,offset,isLE,mLen,nBytes){var m=8*nBytes-mLen-1;var eMax=(1<<m)-1,eBias=eMax>>1,nBits=-7;nBytes=isLE?nBytes-1:0;var d=isLE?-1:1,s=buffer[offset+nBytes];
nBytes+=d;isLE=s&(1<<-nBits)-1;s>>=-nBits;for(nBits+=m;0<nBits;isLE=256*isLE+buffer[offset+nBytes],nBytes+=d,nBits-=8);m=isLE&(1<<-nBits)-1;isLE>>=-nBits;for(nBits+=mLen;0<nBits;m=256*m+buffer[offset+nBytes],nBytes+=d,nBits-=8);if(0===isLE)isLE=1-eBias;else{if(isLE===eMax)return m?NaN:Infinity*(s?-1:1);m+=Math.pow(2,mLen);isLE-=eBias}return(s?-1:1)*m*Math.pow(2,isLE-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var c,eLen=8*nBytes-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=23===
mLen?Math.pow(2,-24)-Math.pow(2,-77):0;nBytes=isLE?0:nBytes-1;var d=isLE?1:-1,s=0>value||0===value&&0>1/value?1:0;value=Math.abs(value);isNaN(value)||Infinity===value?(value=isNaN(value)?1:0,isLE=eMax):(isLE=Math.floor(Math.log(value)/Math.LN2),1>value*(c=Math.pow(2,-isLE))&&(isLE--,c*=2),value=1<=isLE+eBias?value+rt/c:value+rt*Math.pow(2,1-eBias),2<=value*c&&(isLE++,c/=2),isLE+eBias>=eMax?(value=0,isLE=eMax):1<=isLE+eBias?(value=(value*c-1)*Math.pow(2,mLen),isLE+=eBias):(value=value*Math.pow(2,eBias-
1)*Math.pow(2,mLen),isLE=0));for(;8<=mLen;buffer[offset+nBytes]=value&255,nBytes+=d,value/=256,mLen-=8);isLE=isLE<<mLen|value;for(eLen+=mLen;0<eLen;buffer[offset+nBytes]=isLE&255,nBytes+=d,isLE/=256,eLen-=8);buffer[offset+nBytes-d]|=128*s}},function(module,exports){var toString={}.toString;module.exports=Array.isArray||function(arr){return"[object Array]"==toString.call(arr)}},function(module,exports){function defaultSetTimout(){throw Error("setTimeout has not been defined");}function defaultClearTimeout(){throw Error("clearTimeout has not been defined");
}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e$13){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&
clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e$14){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}function cleanUpNextTick(){draining&&currentQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){currentQueue=
queue;for(queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1;len=queue.length}currentQueue=null;draining=!1;runClearTimeout(timeout)}}function Item(fun,array){this.fun=fun;this.array=array}function noop(){}module=module.exports={};try{var cachedSetTimeout="function"===typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{var cachedClearTimeout="function"===typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e$12){cachedClearTimeout=
defaultClearTimeout}var queue=[],draining=!1,currentQueue,queueIndex=-1;module.nextTick=function(fun){var args=Array(arguments.length-1);if(1<arguments.length)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args));1!==queue.length||draining||runTimeout(drainQueue)};Item.prototype.run=function(){this.fun.apply(null,this.array)};module.title="browser";module.browser=!0;module.env={};module.argv=[];module.version="";module.versions={};module.on=noop;module.addListener=
noop;module.once=noop;module.off=noop;module.removeListener=noop;module.removeAllListeners=noop;module.emit=noop;module.prependListener=noop;module.prependOnceListener=noop;module.listeners=function(name){return[]};module.binding=function(name){throw Error("process.binding is not supported");};module.cwd=function(){return"/"};module.chdir=function(dir){throw Error("process.chdir is not supported");};module.umask=function(){return 0}},function(module$jscomp$0,exports){module$jscomp$0.exports=function(module){module.webpackPolyfill||
(module.deprecate=function(){},module.paths=[],module.children||(module.children=[]),Object.defineProperty(module,"loaded",{enumerable:!0,get:function(){return module.l}}),Object.defineProperty(module,"id",{enumerable:!0,get:function(){return module.i}}),module.webpackPolyfill=1);return module}}]);}).call(this || window)
