/**
 * @licstart The following is the entire license notice for the
 * JavaScript code in this page
 *
 * Copyright 2023 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * @licend The above is the entire license notice for the
 * JavaScript code in this page
 */

(()=>{"use strict";var A,e,t,a;function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(A,e,t){var a=function(A,e){for(;!{}.hasOwnProperty.call(A,e)&&null!==(A=G(A)););return A}(A,e);if(a){var i=Object.getOwnPropertyDescriptor(a,e);return i.get?i.get.call(arguments.length<3?A:t):i.value}},i.apply(null,arguments)}function n(A,e,t){return A.set(f(A,e),t),t}function r(A,e,t){h(A,e),e.set(A,t)}function g(A,e){return A.get(f(A,e))}function o(A,e,t){return t(f(A,e))}function s(A,e,t){return(e=D(e))in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function I(A){return function(A){if(Array.isArray(A))return v(A)}(A)||c(A)||k(A)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(A){if("undefined"!=typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}function l(A,e){h(A,e),e.add(A)}function h(A,e){if(e.has(A))throw new TypeError("Cannot initialize the same private elements twice on an object")}var u=B().mark(Ne),C=B().mark(gu);function B(){B=function(){return e};var A,e={},t=Object.prototype,a=t.hasOwnProperty,i=Object.defineProperty||function(A,e,t){A[e]=t.value},n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",g=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function s(A,e,t){return Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}),A[e]}try{s({},"")}catch(A){s=function(A,e,t){return A[e]=t}}function I(A,e,t,a){var n=e&&e.prototype instanceof E?e:E,r=Object.create(n.prototype),g=new R(a||[]);return i(r,"_invoke",{value:b(A,t,g)}),r}function c(A,e,t){try{return{type:"normal",arg:A.call(e,t)}}catch(A){return{type:"throw",arg:A}}}e.wrap=I;var l="suspendedStart",h="suspendedYield",u="executing",C="completed",Q={};function E(){}function f(){}function d(){}var y={};s(y,r,(function(){return this}));var p=Object.getPrototypeOf,m=p&&p(p(N([])));m&&m!==t&&a.call(m,r)&&(y=m);var k=d.prototype=E.prototype=Object.create(y);function v(A){["next","throw","return"].forEach((function(e){s(A,e,(function(A){return this._invoke(e,A)}))}))}function w(A,e){function t(i,n,r,g){var o=c(A[i],A,n);if("throw"!==o.type){var s=o.arg,I=s.value;return I&&"object"==M(I)&&a.call(I,"__await")?e.resolve(I.__await).then((function(A){t("next",A,r,g)}),(function(A){t("throw",A,r,g)})):e.resolve(I).then((function(A){s.value=A,r(s)}),(function(A){return t("throw",A,r,g)}))}g(o.arg)}var n;i(this,"_invoke",{value:function(A,a){function i(){return new e((function(e,i){t(A,a,e,i)}))}return n=n?n.then(i,i):i()}})}function b(e,t,a){var i=l;return function(n,r){if(i===u)throw Error("Generator is already running");if(i===C){if("throw"===n)throw r;return{value:A,done:!0}}for(a.method=n,a.arg=r;;){var g=a.delegate;if(g){var o=D(g,a);if(o){if(o===Q)continue;return o}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===l)throw i=C,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=u;var s=c(e,t,a);if("normal"===s.type){if(i=a.done?C:h,s.arg===Q)continue;return{value:s.arg,done:a.done}}"throw"===s.type&&(i=C,a.method="throw",a.arg=s.arg)}}}function D(e,t){var a=t.method,i=e.iterator[a];if(i===A)return t.delegate=null,"throw"===a&&e.iterator.return&&(t.method="return",t.arg=A,D(e,t),"throw"===t.method)||"return"!==a&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+a+"' method")),Q;var n=c(i,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,Q;var r=n.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=A),t.delegate=null,Q):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,Q)}function F(A){var e={tryLoc:A[0]};1 in A&&(e.catchLoc=A[1]),2 in A&&(e.finallyLoc=A[2],e.afterLoc=A[3]),this.tryEntries.push(e)}function S(A){var e=A.completion||{};e.type="normal",delete e.arg,A.completion=e}function R(A){this.tryEntries=[{tryLoc:"root"}],A.forEach(F,this),this.reset(!0)}function N(e){if(e||""===e){var t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function t(){for(;++i<e.length;)if(a.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=A,t.done=!0,t};return n.next=n}}throw new TypeError(M(e)+" is not iterable")}return f.prototype=d,i(k,"constructor",{value:d,configurable:!0}),i(d,"constructor",{value:f,configurable:!0}),f.displayName=s(d,o,"GeneratorFunction"),e.isGeneratorFunction=function(A){var e="function"==typeof A&&A.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(A){return Object.setPrototypeOf?Object.setPrototypeOf(A,d):(A.__proto__=d,s(A,o,"GeneratorFunction")),A.prototype=Object.create(k),A},e.awrap=function(A){return{__await:A}},v(w.prototype),s(w.prototype,g,(function(){return this})),e.AsyncIterator=w,e.async=function(A,t,a,i,n){void 0===n&&(n=Promise);var r=new w(I(A,t,a,i),n);return e.isGeneratorFunction(t)?r:r.next().then((function(A){return A.done?A.value:r.next()}))},v(k),s(k,o,"Generator"),s(k,r,(function(){return this})),s(k,"toString",(function(){return"[object Generator]"})),e.keys=function(A){var e=Object(A),t=[];for(var a in e)t.push(a);return t.reverse(),function A(){for(;t.length;){var a=t.pop();if(a in e)return A.value=a,A.done=!1,A}return A.done=!0,A}},e.values=N,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=A,this.done=!1,this.delegate=null,this.method="next",this.arg=A,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=A)},stop:function(){this.done=!0;var A=this.tryEntries[0].completion;if("throw"===A.type)throw A.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(a,i){return g.type="throw",g.arg=e,t.next=a,i&&(t.method="next",t.arg=A),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n],g=r.completion;if("root"===r.tryLoc)return i("end");if(r.tryLoc<=this.prev){var o=a.call(r,"catchLoc"),s=a.call(r,"finallyLoc");if(o&&s){if(this.prev<r.catchLoc)return i(r.catchLoc,!0);if(this.prev<r.finallyLoc)return i(r.finallyLoc)}else if(o){if(this.prev<r.catchLoc)return i(r.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return i(r.finallyLoc)}}}},abrupt:function(A,e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===A||"continue"===A)&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var r=n?n.completion:{};return r.type=A,r.arg=e,n?(this.method="next",this.next=n.finallyLoc,Q):this.complete(r)},complete:function(A,e){if("throw"===A.type)throw A.arg;return"break"===A.type||"continue"===A.type?this.next=A.arg:"return"===A.type?(this.rval=this.arg=A.arg,this.method="return",this.next="end"):"normal"===A.type&&e&&(this.next=e),Q},finish:function(A){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.finallyLoc===A)return this.complete(t.completion,t.afterLoc),S(t),Q}},catch:function(A){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.tryLoc===A){var a=t.completion;if("throw"===a.type){var i=a.arg;S(t)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,t,a){return this.delegate={iterator:N(e),resultName:t,nextLoc:a},"next"===this.method&&(this.arg=A),Q}},e}function Q(A,e,t,a,i,n,r){try{var g=A[n](r),o=g.value}catch(A){return void t(A)}g.done?e(o):Promise.resolve(o).then(a,i)}function E(A){return function(){var e=this,t=arguments;return new Promise((function(a,i){var n=A.apply(e,t);function r(A){Q(n,a,i,r,g,"next",A)}function g(A){Q(n,a,i,r,g,"throw",A)}r(void 0)}))}}function f(A,e,t){if("function"==typeof A?A===e:A.has(e))return arguments.length<3?e:t;throw new TypeError("Private element is not present on this object")}function d(A,e){return p(A)||function(A,e){var t=null==A?null:"undefined"!=typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var a,i,n,r,g=[],o=!0,s=!1;try{if(n=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;o=!1}else for(;!(o=(a=n.call(t)).done)&&(g.push(a.value),g.length!==e);o=!0);}catch(A){s=!0,i=A}finally{try{if(!o&&null!=t.return&&(r=t.return(),Object(r)!==r))return}finally{if(s)throw i}}return g}}(A,e)||k(A,e)||y()}function y(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(A){if(Array.isArray(A))return A}function m(A,e){var t="undefined"!=typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(!t){if(Array.isArray(A)||(t=k(A))||e&&A&&"number"==typeof A.length){t&&(A=t);var a=0,i=function(){};return{s:i,n:function(){return a>=A.length?{done:!0}:{done:!1,value:A[a++]}},e:function(A){throw A},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r=!0,g=!1;return{s:function(){t=t.call(A)},n:function(){var A=t.next();return r=A.done,A},e:function(A){g=!0,n=A},f:function(){try{r||null==t.return||t.return()}finally{if(g)throw n}}}}function k(A,e){if(A){if("string"==typeof A)return v(A,e);var t={}.toString.call(A).slice(8,-1);return"Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t?Array.from(A):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?v(A,e):void 0}}function v(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}function w(A,e){for(var t=0;t<e.length;t++){var a=e[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(A,D(a.key),a)}}function b(A,e,t){return e&&w(A.prototype,e),t&&w(A,t),Object.defineProperty(A,"prototype",{writable:!1}),A}function D(A){var e=function(A,e){if("object"!=M(A)||!A)return A;var t=A[Symbol.toPrimitive];if(void 0!==t){var a=t.call(A,"string");if("object"!=M(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"==M(e)?e:e+""}function F(A,e){if(!(A instanceof e))throw new TypeError("Cannot call a class as a function")}function S(A,e,t){return e=G(e),R(A,N()?Reflect.construct(e,t||[],G(A).constructor):e.apply(A,t))}function R(A,e){if(e&&("object"==M(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(void 0===A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(A)}function N(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(N=function(){return!!A})()}function G(A){return G=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(A){return A.__proto__||Object.getPrototypeOf(A)},G(A)}function x(A,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(e&&e.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),Object.defineProperty(A,"prototype",{writable:!1}),e&&U(A,e)}function U(A,e){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(A,e){return A.__proto__=e,A},U(A,e)}function M(A){return M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},M(A)}var J={d:function(A,e){for(var t in e)J.o(e,t)&&!J.o(A,t)&&Object.defineProperty(A,t,{enumerable:!0,get:e[t]})},o:function(A,e){return Object.prototype.hasOwnProperty.call(A,e)}},L=globalThis.pdfjsWorker={};J.d(L,{WorkerMessageHandler:function(){return Wy}});var H=!("object"!==("undefined"==typeof process?"undefined":M(process))||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),Y=[1,0,0,1,0,0],K=[.001,0,0,.001,0,0],q=1.35,T=.25925925925925924,P="pdfjs_internal_editor_",W={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},Z="Group",O=8192,X=65536,V={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},j={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},z={O:"PageOpen",C:"PageClose"},_={ERRORS:0,WARNINGS:1,INFOS:5},$={NONE:0,BINARY:1},AA=10,eA=11,tA=12,aA=37,iA=44,nA=58,rA=59,gA=70,oA=71,sA=83,IA=85,cA=_.WARNINGS;function lA(){return cA}function hA(A){cA>=_.INFOS&&console.log("Info: ".concat(A))}function uA(A){cA>=_.WARNINGS&&console.log("Warning: ".concat(A))}function CA(A){throw new Error(A)}function BA(A,e){A||CA(e)}function QA(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!A)return null;try{if(t&&"string"==typeof A){if(t.addDefaultProtocol&&A.startsWith("www.")){var a=A.match(/\./g);(null==a?void 0:a.length)>=2&&(A="http://".concat(A))}if(t.tryConvertEncoding)try{A=LA(A)}catch(A){}}var i=e?new URL(A,e):new URL(A);if(function(A){switch(null==A?void 0:A.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(i))return i}catch(A){}return null}function EA(A,e,t){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.defineProperty(A,e,{value:t,enumerable:!a,configurable:!0,writable:!1}),t}var fA=function(){function A(e,t){this.constructor===A&&CA("Cannot initialize BaseException."),this.message=e,this.name=t}return A.prototype=new Error,A.constructor=A,A}(),dA=function(A){function e(A,t){var a;return F(this,e),(a=S(this,e,[A,"PasswordException"])).code=t,a}return x(e,A),b(e)}(fA),yA=function(A){function e(A,t){var a;return F(this,e),(a=S(this,e,[A,"UnknownErrorException"])).details=t,a}return x(e,A),b(e)}(fA),pA=function(A){function e(A){return F(this,e),S(this,e,[A,"InvalidPDFException"])}return x(e,A),b(e)}(fA),mA=function(A){function e(A){return F(this,e),S(this,e,[A,"MissingPDFException"])}return x(e,A),b(e)}(fA),kA=function(A){function e(A,t){var a;return F(this,e),(a=S(this,e,[A,"UnexpectedResponseException"])).status=t,a}return x(e,A),b(e)}(fA),vA=function(A){function e(A){return F(this,e),S(this,e,[A,"FormatError"])}return x(e,A),b(e)}(fA),wA=function(A){function e(A){return F(this,e),S(this,e,[A,"AbortException"])}return x(e,A),b(e)}(fA);function bA(A){"object"===M(A)&&void 0!==(null==A?void 0:A.length)||CA("Invalid argument for bytesToString");var e=A.length,t=8192;if(e<t)return String.fromCharCode.apply(null,A);for(var a=[],i=0;i<e;i+=t){var n=Math.min(i+t,e),r=A.subarray(i,n);a.push(String.fromCharCode.apply(null,r))}return a.join("")}function DA(A){"string"!=typeof A&&CA("Invalid argument for stringToBytes");for(var e=A.length,t=new Uint8Array(e),a=0;a<e;++a)t[a]=255&A.charCodeAt(a);return t}function FA(A){return String.fromCharCode(A>>24&255,A>>16&255,A>>8&255,255&A)}function SA(A){return Object.keys(A).length}var RA=function(){return b((function A(){F(this,A)}),null,[{key:"isLittleEndian",get:function(){return EA(this,"isLittleEndian",((A=new Uint8Array(4))[0]=1,1===new Uint32Array(A.buffer,0,1)[0]));var A}},{key:"isEvalSupported",get:function(){return EA(this,"isEvalSupported",function(){try{return new Function(""),!0}catch(A){return!1}}())}},{key:"isOffscreenCanvasSupported",get:function(){return EA(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}},{key:"platform",get:function(){var A;return"undefined"!=typeof navigator&&"string"==typeof(null===(A=navigator)||void 0===A?void 0:A.platform)?EA(this,"platform",{isMac:navigator.platform.includes("Mac")}):EA(this,"platform",{isMac:!1})}},{key:"isCSSRoundSupported",get:function(){var A,e;return EA(this,"isCSSRoundSupported",null===(A=globalThis.CSS)||void 0===A||null===(e=A.supports)||void 0===e?void 0:e.call(A,"width: round(1.5px, 1px)"))}}])}(),NA=Array.from(Array(256).keys(),(function(A){return A.toString(16).padStart(2,"0")})),GA=function(){function A(){F(this,A)}return b(A,null,[{key:"makeHexColor",value:function(A,e,t){return"#".concat(NA[A]).concat(NA[e]).concat(NA[t])}},{key:"scaleMinMax",value:function(A,e){var t;A[0]?(A[0]<0&&(t=e[0],e[0]=e[2],e[2]=t),e[0]*=A[0],e[2]*=A[0],A[3]<0&&(t=e[1],e[1]=e[3],e[3]=t),e[1]*=A[3],e[3]*=A[3]):(t=e[0],e[0]=e[1],e[1]=t,t=e[2],e[2]=e[3],e[3]=t,A[1]<0&&(t=e[1],e[1]=e[3],e[3]=t),e[1]*=A[1],e[3]*=A[1],A[2]<0&&(t=e[0],e[0]=e[2],e[2]=t),e[0]*=A[2],e[2]*=A[2]),e[0]+=A[4],e[1]+=A[5],e[2]+=A[4],e[3]+=A[5]}},{key:"transform",value:function(A,e){return[A[0]*e[0]+A[2]*e[1],A[1]*e[0]+A[3]*e[1],A[0]*e[2]+A[2]*e[3],A[1]*e[2]+A[3]*e[3],A[0]*e[4]+A[2]*e[5]+A[4],A[1]*e[4]+A[3]*e[5]+A[5]]}},{key:"applyTransform",value:function(A,e){return[A[0]*e[0]+A[1]*e[2]+e[4],A[0]*e[1]+A[1]*e[3]+e[5]]}},{key:"applyInverseTransform",value:function(A,e){var t=e[0]*e[3]-e[1]*e[2];return[(A[0]*e[3]-A[1]*e[2]+e[2]*e[5]-e[4]*e[3])/t,(-A[0]*e[1]+A[1]*e[0]+e[4]*e[1]-e[5]*e[0])/t]}},{key:"getAxialAlignedBoundingBox",value:function(A,e){var t=this.applyTransform(A,e),a=this.applyTransform(A.slice(2,4),e),i=this.applyTransform([A[0],A[3]],e),n=this.applyTransform([A[2],A[1]],e);return[Math.min(t[0],a[0],i[0],n[0]),Math.min(t[1],a[1],i[1],n[1]),Math.max(t[0],a[0],i[0],n[0]),Math.max(t[1],a[1],i[1],n[1])]}},{key:"inverseTransform",value:function(A){var e=A[0]*A[3]-A[1]*A[2];return[A[3]/e,-A[1]/e,-A[2]/e,A[0]/e,(A[2]*A[5]-A[4]*A[3])/e,(A[4]*A[1]-A[5]*A[0])/e]}},{key:"singularValueDecompose2dScale",value:function(A){var e=[A[0],A[2],A[1],A[3]],t=A[0]*e[0]+A[1]*e[2],a=A[0]*e[1]+A[1]*e[3],i=A[2]*e[0]+A[3]*e[2],n=A[2]*e[1]+A[3]*e[3],r=(t+n)/2,g=Math.sqrt(Math.pow(t+n,2)-4*(t*n-i*a))/2,o=r+g||1,s=r-g||1;return[Math.sqrt(o),Math.sqrt(s)]}},{key:"normalizeRect",value:function(A){var e=A.slice(0);return A[0]>A[2]&&(e[0]=A[2],e[2]=A[0]),A[1]>A[3]&&(e[1]=A[3],e[3]=A[1]),e}},{key:"intersect",value:function(A,e){var t=Math.max(Math.min(A[0],A[2]),Math.min(e[0],e[2])),a=Math.min(Math.max(A[0],A[2]),Math.max(e[0],e[2]));if(t>a)return null;var i=Math.max(Math.min(A[1],A[3]),Math.min(e[1],e[3])),n=Math.min(Math.max(A[1],A[3]),Math.max(e[1],e[3]));return i>n?null:[t,i,a,n]}},{key:"bezierBoundingBox",value:function(e,t,a,i,n,r,g,o,s){return s?(s[0]=Math.min(s[0],e,g),s[1]=Math.min(s[1],t,o),s[2]=Math.max(s[2],e,g),s[3]=Math.max(s[3],t,o)):s=[Math.min(e,g),Math.min(t,o),Math.max(e,g),Math.max(t,o)],f(A,this,UA).call(this,e,a,n,g,t,i,r,o,3*(3*(a-n)-e+g),6*(e-2*a+n),3*(a-e),s),f(A,this,UA).call(this,e,a,n,g,t,i,r,o,3*(3*(i-r)-t+o),6*(t-2*i+r),3*(i-t),s),s}}])}();function xA(A,e,t,a,i,n,r,g,o,s){if(!(o<=0||o>=1)){var I=1-o,c=o*o,l=c*o,h=I*(I*(I*A+3*o*e)+3*c*t)+l*a,u=I*(I*(I*i+3*o*n)+3*c*r)+l*g;s[0]=Math.min(s[0],h),s[1]=Math.min(s[1],u),s[2]=Math.max(s[2],h),s[3]=Math.max(s[3],u)}}function UA(e,t,a,i,n,r,g,o,s,I,c,l){if(Math.abs(s)<1e-12)Math.abs(I)>=1e-12&&f(A,this,xA).call(this,e,t,a,i,n,r,g,o,-c/I,l);else{var h=Math.pow(I,2)-4*c*s;if(!(h<0)){var u=Math.sqrt(h),C=2*s;f(A,this,xA).call(this,e,t,a,i,n,r,g,o,(-I+u)/C,l),f(A,this,xA).call(this,e,t,a,i,n,r,g,o,(-I-u)/C,l)}}}A=GA;var MA=[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];function JA(A){var e;if(A[0]>="ï"&&("þ"===A[0]&&"ÿ"===A[1]?(e="utf-16be",A.length%2==1&&(A=A.slice(0,-1))):"ÿ"===A[0]&&"þ"===A[1]?(e="utf-16le",A.length%2==1&&(A=A.slice(0,-1))):"ï"===A[0]&&"»"===A[1]&&"¿"===A[2]&&(e="utf-8"),e))try{var t=new TextDecoder(e,{fatal:!0}),a=DA(A),i=t.decode(a);return i.includes("")?i.replaceAll(/\x1b[^\x1b]*(?:\x1b|$)/g,""):i}catch(A){uA('stringToPDFString: "'.concat(A,'".'))}for(var n=[],r=0,g=A.length;r<g;r++){var o=A.charCodeAt(r);if(27!==o){var s=MA[o];n.push(s?String.fromCharCode(s):A.charAt(r))}else for(;++r<g&&27!==A.charCodeAt(r););}return n.join("")}function LA(A){return decodeURIComponent(escape(A))}function HA(A){return unescape(encodeURIComponent(A))}function YA(A,e){if(A.length!==e.length)return!1;for(var t=0,a=A.length;t<a;t++)if(A[t]!==e[t])return!1;return!0}function KA(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return[A.getUTCFullYear().toString(),(A.getUTCMonth()+1).toString().padStart(2,"0"),A.getUTCDate().toString().padStart(2,"0"),A.getUTCHours().toString().padStart(2,"0"),A.getUTCMinutes().toString().padStart(2,"0"),A.getUTCSeconds().toString().padStart(2,"0")].join("")}var qA=null,TA=null,PA=Symbol("CIRCULAR_REF"),WA=Symbol("EOF"),ZA=Object.create(null),OA=Object.create(null),XA=Object.create(null),VA=function(){function A(e){F(this,A),this.name=e}return b(A,null,[{key:"get",value:function(e){var t;return(t=OA)[e]||(t[e]=new A(e))}}])}(),jA=function(){function A(e){F(this,A),this.cmd=e}return b(A,null,[{key:"get",value:function(e){var t;return(t=ZA)[e]||(t[e]=new A(e))}}])}(),zA=function(){return zA},_A=function(){function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;F(this,A),this._map=Object.create(null),this.xref=e,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=zA}return b(A,[{key:"assignXref",value:function(A){this.xref=A}},{key:"size",get:function(){return Object.keys(this._map).length}},{key:"get",value:function(A,e,t){var a=this._map[A];return void 0===a&&void 0!==e&&void 0===(a=this._map[e])&&void 0!==t&&(a=this._map[t]),a instanceof $A&&this.xref?this.xref.fetch(a,this.suppressEncryption):a}},{key:"getAsync",value:(e=E(B().mark((function A(e,t,a){var i;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(void 0===(i=this._map[e])&&void 0!==t&&void 0===(i=this._map[t])&&void 0!==a&&(i=this._map[a]),!(i instanceof $A&&this.xref)){A.next=4;break}return A.abrupt("return",this.xref.fetchAsync(i,this.suppressEncryption));case 4:return A.abrupt("return",i);case 5:case"end":return A.stop()}}),A,this)}))),function(A,t,a){return e.apply(this,arguments)})},{key:"getArray",value:function(A,e,t){var a=this._map[A];if(void 0===a&&void 0!==e&&void 0===(a=this._map[e])&&void 0!==t&&(a=this._map[t]),a instanceof $A&&this.xref&&(a=this.xref.fetch(a,this.suppressEncryption)),Array.isArray(a))for(var i=0,n=(a=a.slice()).length;i<n;i++)a[i]instanceof $A&&this.xref&&(a[i]=this.xref.fetch(a[i],this.suppressEncryption));return a}},{key:"getRaw",value:function(A){return this._map[A]}},{key:"getKeys",value:function(){return Object.keys(this._map)}},{key:"getRawValues",value:function(){return Object.values(this._map)}},{key:"set",value:function(A,e){this._map[A]=e}},{key:"has",value:function(A){return void 0!==this._map[A]}},{key:"forEach",value:function(A){for(var e in this._map)A(e,this.get(e))}},{key:"clone",value:function(){var e,t=new A(this.xref),a=m(this.getKeys());try{for(a.s();!(e=a.n()).done;){var i=e.value;t.set(i,this.getRaw(i))}}catch(A){a.e(A)}finally{a.f()}return t}}],[{key:"empty",get:function(){var e=new A(null);return e.set=function(A,e){CA("Should not call `set` on the empty dictionary.")},EA(this,"empty",e)}},{key:"merge",value:function(e){var t,a=e.xref,i=e.dictArray,n=e.mergeSubDicts,r=void 0!==n&&n,g=new A(a),o=new Map,s=m(i);try{for(s.s();!(t=s.n()).done;){var I=t.value;if(I instanceof A)for(var c=0,l=Object.entries(I._map);c<l.length;c++){var h=d(l[c],2),u=h[0],C=h[1],B=o.get(u);if(void 0===B)B=[],o.set(u,B);else if(!(r&&C instanceof A))continue;B.push(C)}}}catch(A){s.e(A)}finally{s.f()}var Q,E=m(o);try{for(E.s();!(Q=E.n()).done;){var f=d(Q.value,2),y=f[0],p=f[1];if(1!==p.length&&p[0]instanceof A){var k,v=new A(a),w=m(p);try{for(w.s();!(k=w.n()).done;)for(var b=k.value,D=0,F=Object.entries(b._map);D<F.length;D++){var S=d(F[D],2),R=S[0],N=S[1];void 0===v._map[R]&&(v._map[R]=N)}}catch(A){w.e(A)}finally{w.f()}v.size>0&&(g._map[y]=v)}else g._map[y]=p[0]}}catch(A){E.e(A)}finally{E.f()}return o.clear(),g.size>0?g:A.empty}}]);var e}(),$A=function(){function A(e,t){F(this,A),this.num=e,this.gen=t}return b(A,[{key:"toString",value:function(){return 0===this.gen?"".concat(this.num,"R"):"".concat(this.num,"R").concat(this.gen)}}],[{key:"fromString",value:function(e){var t=XA[e];if(t)return t;var a=/^(\d+)R(\d*)$/.exec(e);return a&&"0"!==a[1]?XA[e]=new A(parseInt(a[1]),a[2]?parseInt(a[2]):0):null}},{key:"get",value:function(e,t){var a,i=0===t?"".concat(e,"R"):"".concat(e,"R").concat(t);return(a=XA)[i]||(a[i]=new A(e,t))}}])}(),Ae=function(){return b((function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;F(this,A),this._set=new Set(null==e?void 0:e._set)}),[{key:"has",value:function(A){return this._set.has(A.toString())}},{key:"put",value:function(A){this._set.add(A.toString())}},{key:"remove",value:function(A){this._set.delete(A.toString())}},{key:Symbol.iterator,value:function(){return this._set.values()}},{key:"clear",value:function(){this._set.clear()}}])}(),ee=function(){return b((function A(){F(this,A),this._map=new Map}),[{key:"size",get:function(){return this._map.size}},{key:"get",value:function(A){return this._map.get(A.toString())}},{key:"has",value:function(A){return this._map.has(A.toString())}},{key:"put",value:function(A,e){this._map.set(A.toString(),e)}},{key:"putAlias",value:function(A,e){this._map.set(A.toString(),this.get(e))}},{key:Symbol.iterator,value:function(){return this._map.values()}},{key:"clear",value:function(){this._map.clear()}},{key:"items",value:B().mark((function A(){var e,t,a,i,n;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:e=m(this._map),A.prev=1,e.s();case 3:if((t=e.n()).done){A.next=9;break}return a=d(t.value,2),i=a[0],n=a[1],A.next=7,[$A.fromString(i),n];case 7:A.next=3;break;case 9:A.next=14;break;case 11:A.prev=11,A.t0=A.catch(1),e.e(A.t0);case 14:return A.prev=14,e.f(),A.finish(14);case 17:case"end":return A.stop()}}),A,this,[[1,11,14,17]])}))}])}();function te(A,e){return A instanceof VA&&(void 0===e||A.name===e)}function ae(A,e){return A instanceof jA&&(void 0===e||A.cmd===e)}function ie(A,e){return A instanceof _A&&(void 0===e||te(A.get("Type"),e))}function ne(A,e){return A.num===e.num&&A.gen===e.gen}var re=function(){return b((function A(){F(this,A),this.constructor===A&&CA("Cannot initialize BaseStream.")}),[{key:"length",get:function(){CA("Abstract getter `length` accessed")}},{key:"isEmpty",get:function(){CA("Abstract getter `isEmpty` accessed")}},{key:"isDataLoaded",get:function(){return EA(this,"isDataLoaded",!0)}},{key:"getByte",value:function(){CA("Abstract method `getByte` called")}},{key:"getBytes",value:function(A){CA("Abstract method `getBytes` called")}},{key:"peekByte",value:function(){var A=this.getByte();return-1!==A&&this.pos--,A}},{key:"peekBytes",value:function(A){var e=this.getBytes(A);return this.pos-=e.length,e}},{key:"getUint16",value:function(){var A=this.getByte(),e=this.getByte();return-1===A||-1===e?-1:(A<<8)+e}},{key:"getInt32",value:function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}},{key:"getByteRange",value:function(A,e){CA("Abstract method `getByteRange` called")}},{key:"getString",value:function(A){return bA(this.getBytes(A))}},{key:"skip",value:function(A){this.pos+=A||1}},{key:"reset",value:function(){CA("Abstract method `reset` called")}},{key:"moveStart",value:function(){CA("Abstract method `moveStart` called")}},{key:"makeSubStream",value:function(A,e){CA("Abstract method `makeSubStream` called")}},{key:"getBaseStreams",value:function(){return null}}])}(),ge=/^[1-9]\.\d$/;function oe(A){var e;return function(){return A&&(e=Object.create(null),A(e),A=null),e}}var se=function(A){function e(A,t){var a;return F(this,e),(a=S(this,e,["Missing data [".concat(A,", ").concat(t,")"),"MissingDataException"])).begin=A,a.end=t,a}return x(e,A),b(e)}(fA),Ie=function(A){function e(A){return F(this,e),S(this,e,[A,"ParserEOFException"])}return x(e,A),b(e)}(fA),ce=function(A){function e(A){return F(this,e),S(this,e,[A,"XRefEntryException"])}return x(e,A),b(e)}(fA),le=function(A){function e(A){return F(this,e),S(this,e,[A,"XRefParseException"])}return x(e,A),b(e)}(fA);function he(A){var e=A.length;if(0===e)return new Uint8Array(0);if(1===e)return new Uint8Array(A[0]);for(var t=0,a=0;a<e;a++)t+=A[a].byteLength;for(var i=new Uint8Array(t),n=0,r=0;r<e;r++){var g=new Uint8Array(A[r]);i.set(g,n),n+=g.byteLength}return i}function ue(A){for(var e,t=A.dict,a=A.key,i=A.getArray,n=void 0!==i&&i,r=A.stopWhenFound,g=void 0===r||r,o=new Ae;t instanceof _A&&(!t.objId||!o.has(t.objId));){t.objId&&o.put(t.objId);var s=n?t.getArray(a):t.get(a);if(void 0!==s){if(g)return s;(e||(e=[])).push(s)}t=t.get("Parent")}return e}var Ce=["","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"];function Be(A){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];BA(Number.isInteger(A)&&A>0,"The number should be a positive integer.");for(var t,a=[];A>=1e3;)A-=1e3,a.push("M");t=A/100|0,A%=100,a.push(Ce[t]),t=A/10|0,A%=10,a.push(Ce[10+t]),a.push(Ce[20+A]);var i=a.join("");return e?i.toLowerCase():i}function Qe(A){return A<=0?0:Math.ceil(Math.log2(A))}function Ee(A,e){return A[e]<<24>>24}function fe(A,e){return A[e]<<8|A[e+1]}function de(A,e){return(A[e]<<24|A[e+1]<<16|A[e+2]<<8|A[e+3])>>>0}function ye(A){return 32===A||9===A||13===A||10===A}function pe(A,e){return Array.isArray(A)&&(null===e||A.length===e)&&A.every((function(A){return"number"==typeof A}))}function me(A,e){return pe(A,6)?A:e}function ke(A,e){return pe(A,4)?A:e}function ve(A,e){return pe(A,4)?GA.normalizeRect(A):e}function we(A){var e=/(.+)\[(\d+)\]$/;return A.split(".").map((function(A){var t=A.match(e);return t?{name:t[1],pos:parseInt(t[2],10)}:{name:A,pos:0}}))}function be(A){for(var e=[],t=0,a=0,i=A.length;a<i;a++){var n=A.charCodeAt(a);(n<33||n>126||35===n||40===n||41===n||60===n||62===n||91===n||93===n||123===n||125===n||47===n||37===n)&&(t<a&&e.push(A.substring(t,a)),e.push("#".concat(n.toString(16))),t=a+1)}return 0===e.length?A:(t<A.length&&e.push(A.substring(t,A.length)),e.join(""))}function De(A){return A.replaceAll(/([()\\\n\r])/g,(function(A){return"\n"===A?"\\n":"\r"===A?"\\r":"\\".concat(A)}))}function Fe(A,e,t,a){if(A){var i=null;if(A instanceof $A){if(a.has(A))return;i=A,a.put(i),A=e.fetch(A)}if(Array.isArray(A)){var n,r=m(A);try{for(r.s();!(n=r.n()).done;)Fe(n.value,e,t,a)}catch(A){r.e(A)}finally{r.f()}}else if(A instanceof _A){if(te(A.get("S"),"JavaScript")){var g,o=A.get("JS");o instanceof re?g=o.getString():"string"==typeof o&&(g=o),g&&(g=JA(g).replaceAll("\0","")),g&&t.push(g)}Fe(A.getRaw("Next"),e,t,a)}i&&a.remove(i)}}function Se(A,e,t){var a=Object.create(null),i=ue({dict:e,key:"AA",stopWhenFound:!1});if(i)for(var n=i.length-1;n>=0;n--){var r=i[n];if(r instanceof _A){var g,o=m(r.getKeys());try{for(o.s();!(g=o.n()).done;){var s=g.value,I=t[s];if(I){var c=r.getRaw(s),l=new Ae,h=[];Fe(c,A,h,l),h.length>0&&(a[I]=h)}}}catch(A){o.e(A)}finally{o.f()}}}if(e.has("A")){var u=[];Fe(e.get("A"),A,u,new Ae),u.length>0&&(a.Action=u)}return SA(a)>0?a:null}var Re={60:"&lt;",62:"&gt;",38:"&amp;",34:"&quot;",39:"&apos;"};function Ne(A){var e,t,a;return B().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:e=0,t=A.length;case 1:if(!(e<t)){i.next=9;break}return(a=A.codePointAt(e))>55295&&(a<57344||a>65533)&&e++,i.next=6,a;case 6:e++,i.next=1;break;case 9:case"end":return i.stop()}}),u)}function Ge(A){for(var e=[],t=0,a=0,i=A.length;a<i;a++){var n=A.codePointAt(a);if(32<=n&&n<=126){var r=Re[n];r&&(t<a&&e.push(A.substring(t,a)),e.push(r),t=a+1)}else t<a&&e.push(A.substring(t,a)),e.push("&#x".concat(n.toString(16).toUpperCase(),";")),n>55295&&(n<57344||n>65533)&&a++,t=a+1}return 0===e.length?A:(t<A.length&&e.push(A.substring(t,A.length)),e.join(""))}function xe(A){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=/^("|').*("|')$/.exec(A);if(t&&t[1]===t[2]){if(new RegExp("[^\\\\]".concat(t[1])).test(A.slice(1,-1)))return e&&uA("FontFamily contains unescaped ".concat(t[1],": ").concat(A,".")),!1}else{var a,i=m(A.split(/[ \t]+/));try{for(i.s();!(a=i.n()).done;){var n=a.value;if(/^(\d|(-(\d|-)))/.test(n)||!/^[\w-\\]+$/.test(n))return e&&uA("FontFamily contains invalid <custom-ident>: ".concat(A,".")),!1}}catch(A){i.e(A)}finally{i.f()}}return!0}function Ue(A){var e=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),t=A.fontFamily,a=A.fontWeight,i=A.italicAngle;if(!xe(t,!0))return!1;var n=a?a.toString():"";A.fontWeight=e.has(n)?n:"400";var r=parseFloat(i);return A.italicAngle=isNaN(r)||r<-90||r>90?"14":i.toString(),!0}function Me(A){var e=new RegExp("^\\s*("+["app.launchURL","window.open","xfa.host.gotoURL"].join("|").replaceAll(".","\\.")+")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i").exec(A);if(null!=e&&e[2]){var t=e[2],a=!1;return"true"===e[3]&&"app.launchURL"===e[1]&&(a=!0),{url:t,newWindow:a}}return null}function Je(A){if(Number.isInteger(A))return A.toString();var e=Math.round(100*A);return e%100==0?(e/100).toString():e%10==0?A.toFixed(1):A.toFixed(2)}function Le(A){if(!A)return null;var e,t=new Map,a=m(A);try{for(a.s();!(e=a.n()).done;){var i=d(e.value,2),n=i[0],r=i[1];if(n.startsWith(P)){var g=t.get(r.pageIndex);g||(g=[],t.set(r.pageIndex,g)),g.push(r)}}}catch(A){a.e(A)}finally{a.f()}return t.size>0?t:null}function He(A){return/^[\x00-\x7F]*$/.test(A)}function Ye(A){for(var e=[],t=0,a=A.length;t<a;t++){var i=A.charCodeAt(t);e.push((i>>8&255).toString(16).padStart(2,"0"),(255&i).toString(16).padStart(2,"0"))}return e.join("")}function Ke(A){var e=[];arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&e.push("þÿ");for(var t=0,a=A.length;t<a;t++){var i=A.charCodeAt(t);e.push(String.fromCharCode(i>>8&255),String.fromCharCode(255&i))}return e.join("")}function qe(A,e,t){switch(A){case 90:return[0,1,-1,0,e,0];case 180:return[-1,0,0,-1,e,t];case 270:return[0,-1,1,0,0,t];default:throw new Error("Invalid rotation")}}function Te(A){return Math.ceil(Math.ceil(Math.log2(1+A))/8)}var Pe=function(A){function e(A,t,a,i){var n;return F(this,e),(n=S(this,e)).bytes=A instanceof Uint8Array?A:new Uint8Array(A),n.start=t||0,n.pos=n.start,n.end=t+a||n.bytes.length,n.dict=i,n}return x(e,A),b(e,[{key:"length",get:function(){return this.end-this.start}},{key:"isEmpty",get:function(){return 0===this.length}},{key:"getByte",value:function(){return this.pos>=this.end?-1:this.bytes[this.pos++]}},{key:"getBytes",value:function(A){var e=this.bytes,t=this.pos,a=this.end;if(!A)return e.subarray(t,a);var i=t+A;return i>a&&(i=a),this.pos=i,e.subarray(t,i)}},{key:"getByteRange",value:function(A,e){return A<0&&(A=0),e>this.end&&(e=this.end),this.bytes.subarray(A,e)}},{key:"reset",value:function(){this.pos=this.start}},{key:"moveStart",value:function(){this.start=this.pos}},{key:"makeSubStream",value:function(A,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new e(this.bytes.buffer,A,t,a)}}])}(re),We=function(A){function e(A){return F(this,e),S(this,e,[DA(A)])}return x(e,A),b(e)}(Pe),Ze=function(A){function e(){return F(this,e),S(this,e,[new Uint8Array(0)])}return x(e,A),b(e)}(Pe),Oe=function(A){function e(A,t,a){var i;return F(this,e),(i=S(this,e,[new Uint8Array(A),0,A,null])).chunkSize=t,i._loadedChunks=new Set,i.numChunks=Math.ceil(A/t),i.manager=a,i.progressiveDataLength=0,i.lastSuccessfulEnsureByteChunk=-1,i}return x(e,A),b(e,[{key:"getMissingChunks",value:function(){for(var A=[],e=0,t=this.numChunks;e<t;++e)this._loadedChunks.has(e)||A.push(e);return A}},{key:"numChunksLoaded",get:function(){return this._loadedChunks.size}},{key:"isDataLoaded",get:function(){return this.numChunksLoaded===this.numChunks}},{key:"onReceiveData",value:function(A,e){var t=this.chunkSize;if(A%t!=0)throw new Error("Bad begin offset: ".concat(A));var a=A+e.byteLength;if(a%t!=0&&a!==this.bytes.length)throw new Error("Bad end offset: ".concat(a));this.bytes.set(new Uint8Array(e),A);for(var i=Math.floor(A/t),n=Math.floor((a-1)/t)+1,r=i;r<n;++r)this._loadedChunks.add(r)}},{key:"onReceiveProgressiveData",value:function(A){var e=this.progressiveDataLength,t=Math.floor(e/this.chunkSize);this.bytes.set(new Uint8Array(A),e),e+=A.byteLength,this.progressiveDataLength=e;for(var a=e>=this.end?this.numChunks:Math.floor(e/this.chunkSize),i=t;i<a;++i)this._loadedChunks.add(i)}},{key:"ensureByte",value:function(A){if(!(A<this.progressiveDataLength)){var e=Math.floor(A/this.chunkSize);if(!(e>this.numChunks)&&e!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(e))throw new se(A,A+1);this.lastSuccessfulEnsureByteChunk=e}}}},{key:"ensureRange",value:function(A,e){if(!(A>=e||e<=this.progressiveDataLength)){var t=Math.floor(A/this.chunkSize);if(!(t>this.numChunks))for(var a=Math.min(Math.floor((e-1)/this.chunkSize)+1,this.numChunks),i=t;i<a;++i)if(!this._loadedChunks.has(i))throw new se(A,e)}}},{key:"nextEmptyChunk",value:function(A){for(var e=this.numChunks,t=0;t<e;++t){var a=(A+t)%e;if(!this._loadedChunks.has(a))return a}return null}},{key:"hasChunk",value:function(A){return this._loadedChunks.has(A)}},{key:"getByte",value:function(){var A=this.pos;return A>=this.end?-1:(A>=this.progressiveDataLength&&this.ensureByte(A),this.bytes[this.pos++])}},{key:"getBytes",value:function(A){var e=this.bytes,t=this.pos,a=this.end;if(!A)return a>this.progressiveDataLength&&this.ensureRange(t,a),e.subarray(t,a);var i=t+A;return i>a&&(i=a),i>this.progressiveDataLength&&this.ensureRange(t,i),this.pos=i,e.subarray(t,i)}},{key:"getByteRange",value:function(A,e){return A<0&&(A=0),e>this.end&&(e=this.end),e>this.progressiveDataLength&&this.ensureRange(A,e),this.bytes.subarray(A,e)}},{key:"makeSubStream",value:function(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;function a(){}e?A+e>this.progressiveDataLength&&this.ensureRange(A,A+e):A>=this.progressiveDataLength&&this.ensureByte(A),a.prototype=Object.create(this),a.prototype.getMissingChunks=function(){for(var A=this.chunkSize,e=Math.floor(this.start/A),t=Math.floor((this.end-1)/A)+1,a=[],i=e;i<t;++i)this._loadedChunks.has(i)||a.push(i);return a},Object.defineProperty(a.prototype,"isDataLoaded",{get:function(){return this.numChunksLoaded===this.numChunks||0===this.getMissingChunks().length},configurable:!0});var i=new a;return i.pos=i.start=A,i.end=A+e||this.end,i.dict=t,i}},{key:"getBaseStreams",value:function(){return[this]}}])}(Pe),Xe=function(){return b((function A(e,t){F(this,A),this.length=t.length,this.chunkSize=t.rangeChunkSize,this.stream=new Oe(this.length,this.chunkSize,this),this.pdfNetworkStream=e,this.disableAutoFetch=t.disableAutoFetch,this.msgHandler=t.msgHandler,this.currRequestId=0,this._chunksNeededByRequest=new Map,this._requestsByChunk=new Map,this._promisesByRequest=new Map,this.progressiveDataLength=0,this.aborted=!1,this._loadedStreamCapability=Promise.withResolvers()}),[{key:"sendRequest",value:function(A,e){var t=this,a=this.pdfNetworkStream.getRangeReader(A,e);a.isStreamingSupported||(a.onProgress=this.onProgress.bind(this));var i=[],n=0;return new Promise((function(A,e){a.read().then((function r(g){var o=g.value,s=g.done;try{if(s){var I=he(i);return i=null,void A(I)}n+=o.byteLength,a.isStreamingSupported&&t.onProgress({loaded:n}),i.push(o),a.read().then(r,e)}catch(A){e(A)}}),e)})).then((function(e){t.aborted||t.onReceiveData({chunk:e,begin:A})}))}},{key:"requestAllChunks",value:function(){if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])){var A=this.stream.getMissingChunks();this._requestChunks(A)}return this._loadedStreamCapability.promise}},{key:"_requestChunks",value:function(A){var e=this,t=this.currRequestId++,a=new Set;this._chunksNeededByRequest.set(t,a);var i,n=m(A);try{for(n.s();!(i=n.n()).done;){var r=i.value;this.stream.hasChunk(r)||a.add(r)}}catch(A){n.e(A)}finally{n.f()}if(0===a.size)return Promise.resolve();var g=Promise.withResolvers();this._promisesByRequest.set(t,g);var o,s=[],I=m(a);try{for(I.s();!(o=I.n()).done;){var c=o.value,l=this._requestsByChunk.get(c);l||(l=[],this._requestsByChunk.set(c,l),s.push(c)),l.push(t)}}catch(A){I.e(A)}finally{I.f()}if(s.length>0){var h,u=m(this.groupChunks(s));try{for(u.s();!(h=u.n()).done;){var C=h.value,B=C.beginChunk*this.chunkSize,Q=Math.min(C.endChunk*this.chunkSize,this.length);this.sendRequest(B,Q).catch(g.reject)}}catch(A){u.e(A)}finally{u.f()}}return g.promise.catch((function(A){if(!e.aborted)throw A}))}},{key:"getStream",value:function(){return this.stream}},{key:"requestRange",value:function(A,e){e=Math.min(e,this.length);for(var t=this.getBeginChunk(A),a=this.getEndChunk(e),i=[],n=t;n<a;++n)i.push(n);return this._requestChunks(i)}},{key:"requestRanges",value:function(){var A,e=[],t=m(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]);try{for(t.s();!(A=t.n()).done;)for(var a=A.value,i=this.getBeginChunk(a.begin),n=this.getEndChunk(a.end),r=i;r<n;++r)e.includes(r)||e.push(r)}catch(A){t.e(A)}finally{t.f()}return e.sort((function(A,e){return A-e})),this._requestChunks(e)}},{key:"groupChunks",value:function(A){for(var e=[],t=-1,a=-1,i=0,n=A.length;i<n;++i){var r=A[i];t<0&&(t=r),a>=0&&a+1!==r&&(e.push({beginChunk:t,endChunk:a+1}),t=r),i+1===A.length&&e.push({beginChunk:t,endChunk:r+1}),a=r}return e}},{key:"onProgress",value:function(A){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+A.loaded,total:this.length})}},{key:"onReceiveData",value:function(A){var e=A.chunk,t=void 0===A.begin,a=t?this.progressiveDataLength:A.begin,i=a+e.byteLength,n=Math.floor(a/this.chunkSize),r=i<this.length?Math.floor(i/this.chunkSize):Math.ceil(i/this.chunkSize);t?(this.stream.onReceiveProgressiveData(e),this.progressiveDataLength=i):this.stream.onReceiveData(a,e),this.stream.isDataLoaded&&this._loadedStreamCapability.resolve(this.stream);for(var g=[],o=n;o<r;++o){var s=this._requestsByChunk.get(o);if(s){this._requestsByChunk.delete(o);var I,c=m(s);try{for(c.s();!(I=c.n()).done;){var l=I.value,h=this._chunksNeededByRequest.get(l);h.has(o)&&h.delete(o),h.size>0||g.push(l)}}catch(A){c.e(A)}finally{c.f()}}}if(!this.disableAutoFetch&&0===this._requestsByChunk.size){var u;if(1===this.stream.numChunksLoaded){var C=this.stream.numChunks-1;this.stream.hasChunk(C)||(u=C)}else u=this.stream.nextEmptyChunk(r);Number.isInteger(u)&&this._requestChunks([u])}for(var B=0,Q=g;B<Q.length;B++){var E=Q[B],f=this._promisesByRequest.get(E);this._promisesByRequest.delete(E),f.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}},{key:"onError",value:function(A){this._loadedStreamCapability.reject(A)}},{key:"getBeginChunk",value:function(A){return Math.floor(A/this.chunkSize)}},{key:"getEndChunk",value:function(A){return Math.floor((A-1)/this.chunkSize)+1}},{key:"abort",value:function(A){var e;this.aborted=!0,null===(e=this.pdfNetworkStream)||void 0===e||e.cancelAllRequests(A);var t,a=m(this._promisesByRequest.values());try{for(a.s();!(t=a.n()).done;)t.value.reject(A)}catch(A){a.e(A)}finally{a.f()}}}])}(),Ve=function(){function A(e,t){F(this,A),this.constructor===A&&CA("Cannot initialize ColorSpace."),this.name=e,this.numComps=t}return b(A,[{key:"getRgb",value:function(A,e){var t=new Uint8ClampedArray(3);return this.getRgbItem(A,e,t,0),t}},{key:"getRgbItem",value:function(A,e,t,a){CA("Should not call ColorSpace.getRgbItem")}},{key:"getRgbBuffer",value:function(A,e,t,a,i,n,r){CA("Should not call ColorSpace.getRgbBuffer")}},{key:"getOutputLength",value:function(A,e){CA("Should not call ColorSpace.getOutputLength")}},{key:"isPassthrough",value:function(A){return!1}},{key:"isDefaultDecode",value:function(e,t){return A.isDefaultDecode(e,this.numComps)}},{key:"fillRgb",value:function(A,e,t,a,i,n,r,g,o){var s=e*t,I=null,c=1<<r,l=t!==i||e!==a;if(this.isPassthrough(r))I=g;else if(1===this.numComps&&s>c&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){for(var h=r<=8?new Uint8Array(c):new Uint16Array(c),u=0;u<c;u++)h[u]=u;var C=new Uint8ClampedArray(3*c);if(this.getRgbBuffer(h,0,c,C,0,r,0),l){I=new Uint8Array(3*s);for(var B=0,Q=0;Q<s;++Q){var E=3*g[Q];I[B++]=C[E],I[B++]=C[E+1],I[B++]=C[E+2]}}else for(var f=0,d=0;d<s;++d){var y=3*g[d];A[f++]=C[y],A[f++]=C[y+1],A[f++]=C[y+2],f+=o}}else l?(I=new Uint8ClampedArray(3*s),this.getRgbBuffer(g,0,s,I,0,r,0)):this.getRgbBuffer(g,0,a*n,A,0,r,o);if(I)if(l)!function(A,e,t,a,i,n,r){r=1!==r?0:r;for(var g,o=t/i,s=a/n,I=0,c=new Uint16Array(i),l=3*t,h=0;h<i;h++)c[h]=3*Math.floor(h*o);for(var u=0;u<n;u++)for(var C=Math.floor(u*s)*l,B=0;B<i;B++)g=C+c[B],e[I++]=A[g++],e[I++]=A[g++],e[I++]=A[g++],I+=r}(I,A,e,t,a,i,o);else for(var p=0,m=0,k=0,v=a*n;k<v;k++)A[p++]=I[m++],A[p++]=I[m++],A[p++]=I[m++],p+=o}},{key:"usesZeroToOneRange",get:function(){return EA(this,"usesZeroToOneRange",!0)}}],[{key:"_cache",value:function(A,e,t,a){if(!t)throw new Error('ColorSpace._cache - expected "localColorSpaceCache" argument.');if(!a)throw new Error('ColorSpace._cache - expected "parsedColorSpace" argument.');var i,n;A instanceof $A&&(n=A,A=e.fetch(A)),A instanceof VA&&(i=A.name),(i||n)&&t.set(i,n,a)}},{key:"getCached",value:function(A,e,t){if(!t)throw new Error('ColorSpace.getCached - expected "localColorSpaceCache" argument.');if(A instanceof $A){var a=t.getByRef(A);if(a)return a;try{A=e.fetch(A)}catch(A){if(A instanceof se)throw A}}if(A instanceof VA){var i=t.getByName(A.name);if(i)return i}return null}},{key:"parseAsync",value:(e=E(B().mark((function A(e){var t,a,i,n,r,g,o;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return t=e.cs,a=e.xref,i=e.resources,n=void 0===i?null:i,r=e.pdfFunctionFactory,g=e.localColorSpaceCache,o=this._parse(t,a,n,r),this._cache(t,a,g,o),A.abrupt("return",o);case 4:case"end":return A.stop()}}),A,this)}))),function(A){return e.apply(this,arguments)})},{key:"parse",value:function(A){var e=A.cs,t=A.xref,a=A.resources,i=void 0===a?null:a,n=A.pdfFunctionFactory,r=A.localColorSpaceCache,g=this.getCached(e,t,r);if(g)return g;var o=this._parse(e,t,i,n);return this._cache(e,t,r,o),o}},{key:"_parse",value:function(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3?arguments[3]:void 0;if((A=e.fetchIfRef(A))instanceof VA)switch(A.name){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"Pattern":return new ze(null);default:if(t instanceof _A){var i=t.get("ColorSpace");if(i instanceof _A){var n=i.get(A.name);if(n){if(n instanceof VA)return this._parse(n,e,t,a);A=n;break}}}throw new vA("Unrecognized ColorSpace: ".concat(A.name))}if(Array.isArray(A)){var r,g,o,s,I,c,l=e.fetchIfRef(A[0]).name;switch(l){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"CalGray":return s=(r=e.fetchIfRef(A[1])).getArray("WhitePoint"),I=r.getArray("BlackPoint"),c=r.get("Gamma"),new nt(s,I,c);case"CalRGB":s=(r=e.fetchIfRef(A[1])).getArray("WhitePoint"),I=r.getArray("BlackPoint"),c=r.getArray("Gamma");var h=r.getArray("Matrix");return new ot(s,I,c,h);case"ICCBased":var u=e.fetchIfRef(A[1]).dict;g=u.get("N");var C=u.get("Alternate");if(C){var B=this._parse(C,e,t,a);if(B.numComps===g)return B;uA("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===g)return this.singletons.gray;if(3===g)return this.singletons.rgb;if(4===g)return this.singletons.cmyk;break;case"Pattern":return(o=A[1]||null)&&(o=this._parse(o,e,t,a)),new ze(o);case"I":case"Indexed":o=this._parse(A[1],e,t,a);var Q=e.fetchIfRef(A[2])+1,E=e.fetchIfRef(A[3]);return new _e(o,Q,E);case"Separation":case"DeviceN":var f=e.fetchIfRef(A[1]);g=Array.isArray(f)?f.length:1,o=this._parse(A[2],e,t,a);var d=a.create(A[3]);return new je(g,o,d);case"Lab":s=(r=e.fetchIfRef(A[1])).getArray("WhitePoint"),I=r.getArray("BlackPoint");var y=r.getArray("Range");return new Dt(s,I,y);default:throw new vA("Unimplemented ColorSpace object: ".concat(l))}}throw new vA("Unrecognized ColorSpace object: ".concat(A))}},{key:"isDefaultDecode",value:function(A,e){if(!Array.isArray(A))return!0;if(2*e!==A.length)return uA("The decode map is not the correct length"),!0;for(var t=0,a=A.length;t<a;t+=2)if(0!==A[t]||1!==A[t+1])return!1;return!0}},{key:"singletons",get:function(){return EA(this,"singletons",{get gray(){return EA(this,"gray",new $e)},get rgb(){return EA(this,"rgb",new At)},get cmyk(){return EA(this,"cmyk",new tt)}})}}]);var e}(),je=function(A){function e(A,t,a){var i;return F(this,e),(i=S(this,e,["Alternate",A])).base=t,i.tintFn=a,i.tmpBuf=new Float32Array(t.numComps),i}return x(e,A),b(e,[{key:"getRgbItem",value:function(A,e,t,a){var i=this.tmpBuf;this.tintFn(A,e,i,0),this.base.getRgbItem(i,0,t,a)}},{key:"getRgbBuffer",value:function(A,e,t,a,i,n,r){var g,o,s=this.tintFn,I=this.base,c=1/((1<<n)-1),l=I.numComps,h=I.usesZeroToOneRange,u=(I.isPassthrough(8)||!h)&&0===r,C=u?i:0,B=u?a:new Uint8ClampedArray(l*t),Q=this.numComps,E=new Float32Array(Q),f=new Float32Array(l);for(g=0;g<t;g++){for(o=0;o<Q;o++)E[o]=A[e++]*c;if(s(E,0,f,0),h)for(o=0;o<l;o++)B[C++]=255*f[o];else I.getRgbItem(f,0,B,C),C+=l}u||I.getRgbBuffer(B,0,t,a,i,8,r)}},{key:"getOutputLength",value:function(A,e){return this.base.getOutputLength(A*this.base.numComps/this.numComps,e)}}])}(Ve),ze=function(A){function e(A){var t;return F(this,e),(t=S(this,e,["Pattern",null])).base=A,t}return x(e,A),b(e,[{key:"isDefaultDecode",value:function(A,e){CA("Should not call PatternCS.isDefaultDecode")}}])}(Ve),_e=function(A){function e(A,t,a){var i;F(this,e),(i=S(this,e,["Indexed",1])).base=A,i.highVal=t;var n=A.numComps*t;if(i.lookup=new Uint8Array(n),a instanceof re){var r=a.getBytes(n);i.lookup.set(r)}else{if("string"!=typeof a)throw new vA("IndexedCS - unrecognized lookup table: ".concat(a));for(var g=0;g<n;++g)i.lookup[g]=255&a.charCodeAt(g)}return i}return x(e,A),b(e,[{key:"getRgbItem",value:function(A,e,t,a){var i=this.base.numComps,n=A[e]*i;this.base.getRgbBuffer(this.lookup,n,1,t,a,8,0)}},{key:"getRgbBuffer",value:function(A,e,t,a,i,n,r){for(var g=this.base,o=g.numComps,s=g.getOutputLength(o,r),I=this.lookup,c=0;c<t;++c){var l=A[e++]*o;g.getRgbBuffer(I,l,1,a,i,8,r),i+=s}}},{key:"getOutputLength",value:function(A,e){return this.base.getOutputLength(A*this.base.numComps,e)}},{key:"isDefaultDecode",value:function(A,e){return!Array.isArray(A)||(2!==A.length?(uA("Decode map length is not correct"),!0):!Number.isInteger(e)||e<1?(uA("Bits per component is not correct"),!0):0===A[0]&&A[1]===(1<<e)-1)}}])}(Ve),$e=function(A){function e(){return F(this,e),S(this,e,["DeviceGray",1])}return x(e,A),b(e,[{key:"getRgbItem",value:function(A,e,t,a){var i=255*A[e];t[a]=t[a+1]=t[a+2]=i}},{key:"getRgbBuffer",value:function(A,e,t,a,i,n,r){for(var g=255/((1<<n)-1),o=e,s=i,I=0;I<t;++I){var c=g*A[o++];a[s++]=c,a[s++]=c,a[s++]=c,s+=r}}},{key:"getOutputLength",value:function(A,e){return A*(3+e)}}])}(Ve),At=function(A){function e(){return F(this,e),S(this,e,["DeviceRGB",3])}return x(e,A),b(e,[{key:"getRgbItem",value:function(A,e,t,a){t[a]=255*A[e],t[a+1]=255*A[e+1],t[a+2]=255*A[e+2]}},{key:"getRgbBuffer",value:function(A,e,t,a,i,n,r){if(8!==n||0!==r)for(var g=255/((1<<n)-1),o=e,s=i,I=0;I<t;++I)a[s++]=g*A[o++],a[s++]=g*A[o++],a[s++]=g*A[o++],s+=r;else a.set(A.subarray(e,e+3*t),i)}},{key:"getOutputLength",value:function(A,e){return A*(3+e)/3|0}},{key:"isPassthrough",value:function(A){return 8===A}}])}(Ve),et=new WeakSet,tt=function(A){function e(){var A;return F(this,e),l(A=S(this,e,["DeviceCMYK",4]),et),A}return x(e,A),b(e,[{key:"getRgbItem",value:function(A,e,t,a){f(et,this,at).call(this,A,e,1,t,a)}},{key:"getRgbBuffer",value:function(A,e,t,a,i,n,r){for(var g=1/((1<<n)-1),o=0;o<t;o++)f(et,this,at).call(this,A,e,g,a,i),e+=4,i+=3+r}},{key:"getOutputLength",value:function(A,e){return A/4*(3+e)|0}}])}(Ve);function at(A,e,t,a,i){var n=A[e]*t,r=A[e+1]*t,g=A[e+2]*t,o=A[e+3]*t;a[i]=255+n*(-4.387332384609988*n+54.48615194189176*r+18.82290502165302*g+212.25662451639585*o-285.2331026137004)+r*(1.7149763477362134*r-5.6096736904047315*g+-17.873870861415444*o-5.497006427196366)+g*(-2.5217340131683033*g-21.248923337353073*o+17.5119270841813)+o*(-21.86122147463605*o-189.48180835922747),a[i+1]=255+n*(8.841041422036149*n+60.118027045597366*r+6.871425592049007*g+31.159100130055922*o-79.2970844816548)+r*(-15.310361306967817*r+17.575251261109482*g+131.35250912493976*o-190.9453302588951)+g*(4.444339102852739*g+9.8632861493405*o-24.86741582555878)+o*(-20.737325471181034*o-187.80453709719578),a[i+2]=255+n*(.8842522430003296*n+8.078677503112928*r+30.89978309703729*g-.23883238689178934*o-14.183576799673286)+r*(10.49593273432072*r+63.02378494754052*g+50.606957656360734*o-112.23884253719248)+g*(.03296041114873217*g+115.60384449646641*o-193.58209356861505)+o*(-22.33816807309886*o-180.12613974708367)}var it=new WeakSet,nt=function(A){function e(A,t,a){var i;if(F(this,e),l(i=S(this,e,["CalGray",1]),it),!A)throw new vA("WhitePoint missing - required for color space CalGray");var n=d(A,3);i.XW=n[0],i.YW=n[1],i.ZW=n[2];var r=d(t||[0,0,0],3);if(i.XB=r[0],i.YB=r[1],i.ZB=r[2],i.G=a||1,i.XW<0||i.ZW<0||1!==i.YW)throw new vA("Invalid WhitePoint components for ".concat(i.name,", no fallback available"));return(i.XB<0||i.YB<0||i.ZB<0)&&(hA("Invalid BlackPoint for ".concat(i.name,", falling back to default.")),i.XB=i.YB=i.ZB=0),0===i.XB&&0===i.YB&&0===i.ZB||uA("".concat(i.name,", BlackPoint: XB: ").concat(i.XB,", YB: ").concat(i.YB,", ")+"ZB: ".concat(i.ZB,", only default values are supported.")),i.G<1&&(hA("Invalid Gamma: ".concat(i.G," for ").concat(i.name,", falling back to default.")),i.G=1),i}return x(e,A),b(e,[{key:"getRgbItem",value:function(A,e,t,a){f(it,this,rt).call(this,A,e,t,a,1)}},{key:"getRgbBuffer",value:function(A,e,t,a,i,n,r){for(var g=1/((1<<n)-1),o=0;o<t;++o)f(it,this,rt).call(this,A,e,a,i,g),e+=1,i+=3+r}},{key:"getOutputLength",value:function(A,e){return A*(3+e)}}])}(Ve);function rt(A,e,t,a,i){var n=A[e]*i,r=Math.pow(n,this.G),g=this.YW*r,o=Math.max(295.8*Math.pow(g,.3333333333333333)-40.8,0);t[a]=o,t[a+1]=o,t[a+2]=o}var gt=new WeakSet,ot=function(A){function e(A,t,a,i){var n;if(F(this,e),l(n=S(this,e,["CalRGB",3]),gt),!A)throw new vA("WhitePoint missing - required for color space CalRGB");var r=d(n.whitePoint=A,3),g=r[0],o=r[1],s=r[2],I=d(n.blackPoint=t||new Float32Array(3),3),c=I[0],h=I[1],u=I[2],C=d(a||new Float32Array([1,1,1]),3);n.GR=C[0],n.GG=C[1],n.GB=C[2];var B=d(i||new Float32Array([1,0,0,0,1,0,0,0,1]),9);if(n.MXA=B[0],n.MYA=B[1],n.MZA=B[2],n.MXB=B[3],n.MYB=B[4],n.MZB=B[5],n.MXC=B[6],n.MYC=B[7],n.MZC=B[8],g<0||s<0||1!==o)throw new vA("Invalid WhitePoint components for ".concat(n.name,", no fallback available"));return(c<0||h<0||u<0)&&(hA("Invalid BlackPoint for ".concat(n.name," [").concat(c,", ").concat(h,", ").concat(u,"], ")+"falling back to default."),n.blackPoint=new Float32Array(3)),(n.GR<0||n.GG<0||n.GB<0)&&(hA("Invalid Gamma [".concat(n.GR,", ").concat(n.GG,", ").concat(n.GB,"] for ")+"".concat(n.name,", falling back to default.")),n.GR=n.GG=n.GB=1),n}return x(e,A),b(e,[{key:"getRgbItem",value:function(A,e,t,a){f(gt,this,Et).call(this,A,e,t,a,1)}},{key:"getRgbBuffer",value:function(A,e,t,a,i,n,r){for(var g=1/((1<<n)-1),o=0;o<t;++o)f(gt,this,Et).call(this,A,e,a,i,g),e+=3,i+=3+r}},{key:"getOutputLength",value:function(A,e){return A*(3+e)/3|0}}])}(Ve);function st(A,e,t){t[0]=A[0]*e[0]+A[1]*e[1]+A[2]*e[2],t[1]=A[3]*e[0]+A[4]*e[1]+A[5]*e[2],t[2]=A[6]*e[0]+A[7]*e[1]+A[8]*e[2]}function It(A,e,t){t[0]=1*e[0]/A[0],t[1]=1*e[1]/A[1],t[2]=1*e[2]/A[2]}function ct(A,e,t){t[0]=.95047*e[0]/A[0],t[1]=1*e[1]/A[1],t[2]=1.08883*e[2]/A[2]}function lt(A){return A<=.0031308?f(gt,this,ht).call(this,0,1,12.92*A):A>=.99554525?1:f(gt,this,ht).call(this,0,1,1.055*Math.pow(A,1/2.4)-.055)}function ht(A,e,t){return Math.max(A,Math.min(e,t))}function ut(A){return A<0?-f(gt,this,ut).call(this,-A):A>8?Math.pow((A+16)/116,3):A*wt._}function Ct(A,e,t){if(0===A[0]&&0===A[1]&&0===A[2])return t[0]=e[0],t[1]=e[1],void(t[2]=e[2]);var a=f(gt,this,ut).call(this,0),i=(1-a)/(1-f(gt,this,ut).call(this,A[0])),n=1-i,r=(1-a)/(1-f(gt,this,ut).call(this,A[1])),g=1-r,o=(1-a)/(1-f(gt,this,ut).call(this,A[2])),s=1-o;t[0]=e[0]*i+n,t[1]=e[1]*r+g,t[2]=e[2]*o+s}function Bt(A,e,t){if(1===A[0]&&1===A[2])return t[0]=e[0],t[1]=e[1],void(t[2]=e[2]);var a=t;f(gt,this,st).call(this,ft._,e,a);var i=mt._;f(gt,this,It).call(this,A,a,i),f(gt,this,st).call(this,dt._,i,t)}function Qt(A,e,t){var a=t;f(gt,this,st).call(this,ft._,e,a);var i=mt._;f(gt,this,ct).call(this,A,a,i),f(gt,this,st).call(this,dt._,i,t)}function Et(A,e,t,a,i){var n=f(gt,this,ht).call(this,0,1,A[e]*i),r=f(gt,this,ht).call(this,0,1,A[e+1]*i),g=f(gt,this,ht).call(this,0,1,A[e+2]*i),o=1===n?1:Math.pow(n,this.GR),s=1===r?1:Math.pow(r,this.GG),I=1===g?1:Math.pow(g,this.GB),c=this.MXA*o+this.MXB*s+this.MXC*I,l=this.MYA*o+this.MYB*s+this.MYC*I,h=this.MZA*o+this.MZB*s+this.MZC*I,u=kt._;u[0]=c,u[1]=l,u[2]=h;var C=vt._;f(gt,this,Bt).call(this,this.whitePoint,u,C);var B=kt._;f(gt,this,Ct).call(this,this.blackPoint,C,B);var Q=vt._;f(gt,this,Qt).call(this,pt._,B,Q);var E=kt._;f(gt,this,st).call(this,yt._,Q,E),t[a]=255*f(gt,this,lt).call(this,E[0]),t[a+1]=255*f(gt,this,lt).call(this,E[1]),t[a+2]=255*f(gt,this,lt).call(this,E[2])}var ft={_:new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296])},dt={_:new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867])},yt={_:new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252])},pt={_:new Float32Array([1,1,1])},mt={_:new Float32Array(3)},kt={_:new Float32Array(3)},vt={_:new Float32Array(3)},wt={_:Math.pow(24/116,3)/8},bt=new WeakSet,Dt=function(A){function e(A,t,a){var i;if(F(this,e),l(i=S(this,e,["Lab",3]),bt),!A)throw new vA("WhitePoint missing - required for color space Lab");var n=d(A,3);i.XW=n[0],i.YW=n[1],i.ZW=n[2];var r=d(a||[-100,100,-100,100],4);i.amin=r[0],i.amax=r[1],i.bmin=r[2],i.bmax=r[3];var g=d(t||[0,0,0],3);if(i.XB=g[0],i.YB=g[1],i.ZB=g[2],i.XW<0||i.ZW<0||1!==i.YW)throw new vA("Invalid WhitePoint components, no fallback available");return(i.XB<0||i.YB<0||i.ZB<0)&&(hA("Invalid BlackPoint, falling back to default"),i.XB=i.YB=i.ZB=0),(i.amin>i.amax||i.bmin>i.bmax)&&(hA("Invalid Range, falling back to defaults"),i.amin=-100,i.amax=100,i.bmin=-100,i.bmax=100),i}return x(e,A),b(e,[{key:"getRgbItem",value:function(A,e,t,a){f(bt,this,Rt).call(this,A,e,!1,t,a)}},{key:"getRgbBuffer",value:function(A,e,t,a,i,n,r){for(var g=(1<<n)-1,o=0;o<t;o++)f(bt,this,Rt).call(this,A,e,g,a,i),e+=3,i+=3+r}},{key:"getOutputLength",value:function(A,e){return A*(3+e)/3|0}},{key:"isDefaultDecode",value:function(A,e){return!0}},{key:"usesZeroToOneRange",get:function(){return EA(this,"usesZeroToOneRange",!1)}}])}(Ve);function Ft(A){return A>=6/29?Math.pow(A,3):108/841*(A-4/29)}function St(A,e,t,a){return t+A*(a-t)/e}function Rt(A,e,t,a,i){var n=A[e],r=A[e+1],g=A[e+2];!1!==t&&(n=f(bt,this,St).call(this,n,t,0,100),r=f(bt,this,St).call(this,r,t,this.amin,this.amax),g=f(bt,this,St).call(this,g,t,this.bmin,this.bmax)),r>this.amax?r=this.amax:r<this.amin&&(r=this.amin),g>this.bmax?g=this.bmax:g<this.bmin&&(g=this.bmin);var o,s,I,c=(n+16)/116,l=c+r/500,h=c-g/200,u=this.XW*f(bt,this,Ft).call(this,l),C=this.YW*f(bt,this,Ft).call(this,c),B=this.ZW*f(bt,this,Ft).call(this,h);this.ZW<1?(o=3.1339*u+-1.617*C+-.4906*B,s=-.9785*u+1.916*C+.0333*B,I=.072*u+-.229*C+1.4057*B):(o=3.2406*u+-1.5372*C+-.4986*B,s=-.9689*u+1.8758*C+.0415*B,I=.0557*u+-.204*C+1.057*B),a[i]=255*Math.sqrt(o),a[i+1]=255*Math.sqrt(s),a[i+2]=255*Math.sqrt(I)}function Nt(A,e){for(var t=0,a=0;a<=e;a++)t=t<<8|A[a];return t>>>0}function Gt(A,e){return 1===e?String.fromCharCode(A[0],A[1]):3===e?String.fromCharCode(A[0],A[1],A[2],A[3]):String.fromCharCode.apply(String,I(A.subarray(0,e+1)))}function xt(A,e,t){for(var a=0,i=t;i>=0;i--)a+=A[i]+e[i],A[i]=255&a,a>>=8}function Ut(A,e){for(var t=1,a=e;a>=0&&t>0;a--)t+=A[a],A[a]=255&t,t>>=8}var Mt=16,Jt=function(){return b((function A(e){F(this,A),this.buffer=e,this.pos=0,this.end=e.length,this.tmpBuf=new Uint8Array(19)}),[{key:"readByte",value:function(){return this.pos>=this.end?-1:this.buffer[this.pos++]}},{key:"readNumber",value:function(){var A,e=0;do{var t=this.readByte();if(t<0)throw new vA("unexpected EOF in bcmap");A=!(128&t),e=e<<7|127&t}while(!A);return e}},{key:"readSigned",value:function(){var A=this.readNumber();return 1&A?~(A>>>1):A>>>1}},{key:"readHex",value:function(A,e){A.set(this.buffer.subarray(this.pos,this.pos+e+1)),this.pos+=e+1}},{key:"readHexNumber",value:function(A,e){var t,a=this.tmpBuf,i=0;do{var n=this.readByte();if(n<0)throw new vA("unexpected EOF in bcmap");t=!(128&n),a[i++]=127&n}while(!t);for(var r=e,g=0,o=0;r>=0;){for(;o<8&&a.length>0;)g|=a[--i]<<o,o+=7;A[r]=255&g,r--,g>>=8,o-=8}}},{key:"readHexSigned",value:function(A,e){this.readHexNumber(A,e);for(var t=1&A[e]?255:0,a=0,i=0;i<=e;i++)a=(1&a)<<8|A[i],A[i]=a>>1^t}},{key:"readString",value:function(){for(var A=this.readNumber(),e=new Array(A),t=0;t<A;t++)e[t]=this.readNumber();return String.fromCharCode.apply(String,e)}}])}(),Lt=function(){return b((function A(){F(this,A)}),[{key:"process",value:(A=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d,y,p,m,k,v;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:i=new Jt(e),n=i.readByte(),t.vertical=!!(1&n),r=null,g=new Uint8Array(Mt),o=new Uint8Array(Mt),s=new Uint8Array(Mt),I=new Uint8Array(Mt),c=new Uint8Array(Mt);case 9:if(!((h=i.readByte())>=0)){A.next=68;break}if(7!=(u=h>>5)){A.next=20;break}A.t0=31&h,A.next=0===A.t0?15:1===A.t0?17:19;break;case 15:return i.readString(),A.abrupt("break",19);case 17:return r=i.readString(),A.abrupt("break",19);case 19:return A.abrupt("continue",9);case 20:if(C=!!(16&h),!(1+(Q=15&h)>Mt)){A.next=24;break}throw new Error("BinaryCMapReader.process: Invalid dataSize.");case 24:E=1,f=i.readNumber(),A.t1=u,A.next=0===A.t1?29:1===A.t1?35:2===A.t1?41:3===A.t1?46:4===A.t1?53:5===A.t1?58:65;break;case 29:for(i.readHex(g,Q),i.readHexNumber(o,Q),xt(o,g,Q),t.addCodespaceRange(Q+1,Nt(g,Q),Nt(o,Q)),d=1;d<f;d++)Ut(o,Q),i.readHexNumber(g,Q),xt(g,o,Q),i.readHexNumber(o,Q),xt(o,g,Q),t.addCodespaceRange(Q+1,Nt(g,Q),Nt(o,Q));return A.abrupt("break",66);case 35:for(i.readHex(g,Q),i.readHexNumber(o,Q),xt(o,g,Q),i.readNumber(),y=1;y<f;y++)Ut(o,Q),i.readHexNumber(g,Q),xt(g,o,Q),i.readHexNumber(o,Q),xt(o,g,Q),i.readNumber();return A.abrupt("break",66);case 41:for(i.readHex(s,Q),l=i.readNumber(),t.mapOne(Nt(s,Q),l),p=1;p<f;p++)Ut(s,Q),C||(i.readHexNumber(c,Q),xt(s,c,Q)),l=i.readSigned()+(l+1),t.mapOne(Nt(s,Q),l);return A.abrupt("break",66);case 46:for(i.readHex(g,Q),i.readHexNumber(o,Q),xt(o,g,Q),l=i.readNumber(),t.mapCidRange(Nt(g,Q),Nt(o,Q),l),m=1;m<f;m++)Ut(o,Q),C?g.set(o):(i.readHexNumber(g,Q),xt(g,o,Q)),i.readHexNumber(o,Q),xt(o,g,Q),l=i.readNumber(),t.mapCidRange(Nt(g,Q),Nt(o,Q),l);return A.abrupt("break",66);case 53:for(i.readHex(s,E),i.readHex(I,Q),t.mapOne(Nt(s,E),Gt(I,Q)),k=1;k<f;k++)Ut(s,E),C||(i.readHexNumber(c,E),xt(s,c,E)),Ut(I,Q),i.readHexSigned(c,Q),xt(I,c,Q),t.mapOne(Nt(s,E),Gt(I,Q));return A.abrupt("break",66);case 58:for(i.readHex(g,E),i.readHexNumber(o,E),xt(o,g,E),i.readHex(I,Q),t.mapBfRange(Nt(g,E),Nt(o,E),Gt(I,Q)),v=1;v<f;v++)Ut(o,E),C?g.set(o):(i.readHexNumber(g,E),xt(g,o,E)),i.readHexNumber(o,E),xt(o,g,E),i.readHex(I,Q),t.mapBfRange(Nt(g,E),Nt(o,E),Gt(I,Q));return A.abrupt("break",66);case 65:throw new Error("BinaryCMapReader.process - unknown type: ".concat(u));case 66:A.next=9;break;case 68:if(!r){A.next=70;break}return A.abrupt("return",a(r));case 70:return A.abrupt("return",t);case 71:case"end":return A.stop()}}),A)}))),function(e,t,a){return A.apply(this,arguments)})}]);var A}(),Ht=new Uint8Array(0),Yt=function(A){function e(A){var t;if(F(this,e),(t=S(this,e))._rawMinBufferLength=A||0,t.pos=0,t.bufferLength=0,t.eof=!1,t.buffer=Ht,t.minBufferLength=512,A)for(;t.minBufferLength<A;)t.minBufferLength*=2;return t}return x(e,A),b(e,[{key:"isEmpty",get:function(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength}},{key:"ensureBuffer",value:function(A){var e=this.buffer;if(A<=e.byteLength)return e;for(var t=this.minBufferLength;t<A;)t*=2;var a=new Uint8Array(t);return a.set(e),this.buffer=a}},{key:"getByte",value:function(){for(var A=this.pos;this.bufferLength<=A;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]}},{key:"getBytes",value:function(A){var e,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=this.pos;if(A){for(this.ensureBuffer(a+A),e=a+A;!this.eof&&this.bufferLength<e;)this.readBlock(t);var i=this.bufferLength;e>i&&(e=i)}else{for(;!this.eof;)this.readBlock(t);e=this.bufferLength}return this.pos=e,this.buffer.subarray(a,e)}},{key:"reset",value:function(){this.pos=0}},{key:"makeSubStream",value:function(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(void 0===e)for(;!this.eof;)this.readBlock();else for(var a=A+e;this.bufferLength<=a&&!this.eof;)this.readBlock();return new Pe(this.buffer,A,e,t)}},{key:"getBaseStreams",value:function(){return this.str?this.str.getBaseStreams():null}}])}(re),Kt=function(A){function e(A){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;F(this,e);var i,n=0,r=m(A);try{for(r.s();!(i=r.n()).done;){var g=i.value;n+=g instanceof Yt?g._rawMinBufferLength:g.length}}catch(A){r.e(A)}finally{r.f()}return(t=S(this,e,[n])).streams=A,t._onError=a,t}return x(e,A),b(e,[{key:"readBlock",value:function(){var A=this.streams;if(0!==A.length){var e,t=A.shift();try{e=t.getBytes()}catch(A){var a;if(this._onError)return void this._onError(A,null===(a=t.dict)||void 0===a?void 0:a.objId);throw A}var i=this.bufferLength,n=i+e.length;this.ensureBuffer(n).set(e,i),this.bufferLength=n}else this.eof=!0}},{key:"getBaseStreams",value:function(){var A,e=[],t=m(this.streams);try{for(t.s();!(A=t.n()).done;){var a=A.value.getBaseStreams();a&&e.push.apply(e,I(a))}}catch(A){t.e(A)}finally{t.f()}return e.length>0?e:null}}])}(Yt),qt=function(A){function e(A,t){var a;return F(this,e),t&&(t*=.8),(a=S(this,e,[t])).str=A,a.dict=A.dict,a.input=new Uint8Array(5),a}return x(e,A),b(e,[{key:"readBlock",value:function(){for(var A=this.str,e=A.getByte();ye(e);)e=A.getByte();if(-1!==e&&126!==e){var t,a,i=this.bufferLength;if(122===e){for(t=this.ensureBuffer(i+4),a=0;a<4;++a)t[i+a]=0;this.bufferLength+=4}else{var n=this.input;for(n[0]=e,a=1;a<5;++a){for(e=A.getByte();ye(e);)e=A.getByte();if(n[a]=e,-1===e||126===e)break}if(t=this.ensureBuffer(i+a-1),this.bufferLength+=a-1,a<5){for(;a<5;++a)n[a]=117;this.eof=!0}var r=0;for(a=0;a<5;++a)r=85*r+(n[a]-33);for(a=3;a>=0;--a)t[i+a]=255&r,r>>=8}}else this.eof=!0}}])}(Yt),Tt=function(A){function e(A,t){var a;return F(this,e),t&&(t*=.5),(a=S(this,e,[t])).str=A,a.dict=A.dict,a.firstDigit=-1,a}return x(e,A),b(e,[{key:"readBlock",value:function(){var A=this.str.getBytes(8e3);if(A.length){var e,t=A.length+1>>1,a=this.ensureBuffer(this.bufferLength+t),i=this.bufferLength,n=this.firstDigit,r=m(A);try{for(r.s();!(e=r.n()).done;){var g=e.value,o=void 0;if(g>=48&&g<=57)o=15&g;else{if(!(g>=65&&g<=70||g>=97&&g<=102)){if(62===g){this.eof=!0;break}continue}o=9+(15&g)}n<0?n=o:(a[i++]=n<<4|o,n=-1)}}catch(A){r.e(A)}finally{r.f()}n>=0&&this.eof&&(a[i++]=n<<4,n=-1),this.firstDigit=n,this.bufferLength=i}else this.eof=!0}}])}(Yt),Pt=-1,Wt=[[-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]],Zt=[[-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]],Ot=[[-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]],Xt=[[-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]],Vt=[[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]],jt=[[-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]],zt=function(){return b((function A(e){var t,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(F(this,A),!e||"function"!=typeof e.next)throw new Error('CCITTFaxDecoder - invalid "source" parameter.');for(this.source=e,this.eof=!1,this.encoding=i.K||0,this.eoline=i.EndOfLine||!1,this.byteAlign=i.EncodedByteAlign||!1,this.columns=i.Columns||1728,this.rows=i.Rows||0,this.eoblock=null===(t=i.EndOfBlock)||void 0===t||t,this.black=i.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;0===(a=this._lookBits(12));)this._eatBits(1);1===a&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}),[{key:"readNextChar",value:function(){if(this.eof)return-1;var A,e,t,a,i,n=this.refLine,r=this.codingLine,g=this.columns;if(0===this.outputBits){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;var o,s,I;if(this.err=!1,this.nextLine2D){for(a=0;r[a]<g;++a)n[a]=r[a];for(n[a++]=g,n[a]=g,r[0]=0,this.codingPos=0,A=0,e=0;r[this.codingPos]<g;)switch(o=this._getTwoDimCode()){case 0:this._addPixels(n[A+1],e),n[A+1]<g&&(A+=2);break;case 1:if(o=s=0,e){do{o+=I=this._getBlackCode()}while(I>=64);do{s+=I=this._getWhiteCode()}while(I>=64)}else{do{o+=I=this._getWhiteCode()}while(I>=64);do{s+=I=this._getBlackCode()}while(I>=64)}for(this._addPixels(r[this.codingPos]+o,e),r[this.codingPos]<g&&this._addPixels(r[this.codingPos]+s,1^e);n[A]<=r[this.codingPos]&&n[A]<g;)A+=2;break;case 7:if(this._addPixels(n[A]+3,e),e^=1,r[this.codingPos]<g)for(++A;n[A]<=r[this.codingPos]&&n[A]<g;)A+=2;break;case 5:if(this._addPixels(n[A]+2,e),e^=1,r[this.codingPos]<g)for(++A;n[A]<=r[this.codingPos]&&n[A]<g;)A+=2;break;case 3:if(this._addPixels(n[A]+1,e),e^=1,r[this.codingPos]<g)for(++A;n[A]<=r[this.codingPos]&&n[A]<g;)A+=2;break;case 2:if(this._addPixels(n[A],e),e^=1,r[this.codingPos]<g)for(++A;n[A]<=r[this.codingPos]&&n[A]<g;)A+=2;break;case 8:if(this._addPixelsNeg(n[A]-3,e),e^=1,r[this.codingPos]<g)for(A>0?--A:++A;n[A]<=r[this.codingPos]&&n[A]<g;)A+=2;break;case 6:if(this._addPixelsNeg(n[A]-2,e),e^=1,r[this.codingPos]<g)for(A>0?--A:++A;n[A]<=r[this.codingPos]&&n[A]<g;)A+=2;break;case 4:if(this._addPixelsNeg(n[A]-1,e),e^=1,r[this.codingPos]<g)for(A>0?--A:++A;n[A]<=r[this.codingPos]&&n[A]<g;)A+=2;break;case Pt:this._addPixels(g,0),this.eof=!0;break;default:hA("bad 2d code"),this._addPixels(g,0),this.err=!0}}else for(r[0]=0,this.codingPos=0,e=0;r[this.codingPos]<g;){if(o=0,e)do{o+=I=this._getBlackCode()}while(I>=64);else do{o+=I=this._getWhiteCode()}while(I>=64);this._addPixels(r[this.codingPos]+o,e),e^=1}var c=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(o=this._lookBits(12),this.eoline)for(;o!==Pt&&1!==o;)this._eatBits(1),o=this._lookBits(12);else for(;0===o;)this._eatBits(1),o=this._lookBits(12);1===o?(this._eatBits(12),c=!0):o===Pt&&(this.eof=!0)}else this.rowsDone=!0;if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&c&&this.byteAlign){if(1===(o=this._lookBits(12))){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(a=0;a<4;++a)1!==(o=this._lookBits(12))&&hA("bad rtc code: "+o),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if((o=this._lookBits(13))===Pt)return this.eof=!0,-1;if(o>>1==1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(1&o))}this.outputBits=r[0]>0?r[this.codingPos=0]:r[this.codingPos=1],this.row++}if(this.outputBits>=8)i=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&r[this.codingPos]<g&&(this.codingPos++,this.outputBits=r[this.codingPos]-r[this.codingPos-1]);else{t=8,i=0;do{if("number"!=typeof this.outputBits)throw new vA('Invalid /CCITTFaxDecode data, "outputBits" must be a number.');this.outputBits>t?(i<<=t,1&this.codingPos||(i|=255>>8-t),this.outputBits-=t,t=0):(i<<=this.outputBits,1&this.codingPos||(i|=255>>8-this.outputBits),t-=this.outputBits,this.outputBits=0,r[this.codingPos]<g?(this.codingPos++,this.outputBits=r[this.codingPos]-r[this.codingPos-1]):t>0&&(i<<=t,t=0))}while(t)}return this.black&&(i^=255),i}},{key:"_addPixels",value:function(A,e){var t=this.codingLine,a=this.codingPos;A>t[a]&&(A>this.columns&&(hA("row is wrong length"),this.err=!0,A=this.columns),1&a^e&&++a,t[a]=A),this.codingPos=a}},{key:"_addPixelsNeg",value:function(A,e){var t=this.codingLine,a=this.codingPos;if(A>t[a])A>this.columns&&(hA("row is wrong length"),this.err=!0,A=this.columns),1&a^e&&++a,t[a]=A;else if(A<t[a]){for(A<0&&(hA("invalid code"),this.err=!0,A=0);a>0&&A<t[a-1];)--a;t[a]=A}this.codingPos=a}},{key:"_findTableCode",value:function(A,e,t,a){for(var i=a||0,n=A;n<=e;++n){var r=this._lookBits(n);if(r===Pt)return[!0,1,!1];if(n<e&&(r<<=e-n),!i||r>=i){var g=t[r-i];if(g[0]===n)return this._eatBits(n),[!0,g[1],!0]}}return[!1,0,!1]}},{key:"_getTwoDimCode",value:function(){var A,e=0;if(this.eoblock){var t;if(e=this._lookBits(7),(null===(t=A=Wt[e])||void 0===t?void 0:t[0])>0)return this._eatBits(A[0]),A[1]}else{var a=this._findTableCode(1,7,Wt);if(a[0]&&a[2])return a[1]}return hA("Bad two dim code"),Pt}},{key:"_getWhiteCode",value:function(){var A,e=0;if(this.eoblock){if((e=this._lookBits(12))===Pt)return 1;if((A=e>>5?Ot[e>>3]:Zt[e])[0]>0)return this._eatBits(A[0]),A[1]}else{var t=this._findTableCode(1,9,Ot);if(t[0])return t[1];if((t=this._findTableCode(11,12,Zt))[0])return t[1]}return hA("bad white code"),this._eatBits(1),1}},{key:"_getBlackCode",value:function(){var A,e;if(this.eoblock){if((A=this._lookBits(13))===Pt)return 1;if((e=A>>7?!(A>>9)&&A>>7?Vt[(A>>1)-64]:jt[A>>7]:Xt[A])[0]>0)return this._eatBits(e[0]),e[1]}else{var t=this._findTableCode(2,6,jt);if(t[0])return t[1];if((t=this._findTableCode(7,12,Vt,64))[0])return t[1];if((t=this._findTableCode(10,13,Xt))[0])return t[1]}return hA("bad black code"),this._eatBits(1),1}},{key:"_lookBits",value:function(A){for(var e;this.inputBits<A;){if(-1===(e=this.source.next()))return 0===this.inputBits?Pt:this.inputBuf<<A-this.inputBits&65535>>16-A;this.inputBuf=this.inputBuf<<8|e,this.inputBits+=8}return this.inputBuf>>this.inputBits-A&65535>>16-A}},{key:"_eatBits",value:function(A){(this.inputBits-=A)<0&&(this.inputBits=0)}}])}(),_t=function(A){function e(A,t,a){var i;F(this,e),(i=S(this,e,[t])).str=A,i.dict=A.dict,a instanceof _A||(a=_A.empty);var n={next:function(){return A.getByte()}};return i.ccittFaxDecoder=new zt(n,{K:a.get("K"),EndOfLine:a.get("EndOfLine"),EncodedByteAlign:a.get("EncodedByteAlign"),Columns:a.get("Columns"),Rows:a.get("Rows"),EndOfBlock:a.get("EndOfBlock"),BlackIs1:a.get("BlackIs1")}),i}return x(e,A),b(e,[{key:"readBlock",value:function(){for(;!this.eof;){var A=this.ccittFaxDecoder.readNextChar();if(-1===A)return void(this.eof=!0);this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=A}}}])}(Yt),$t=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Aa=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]),ea=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]),ta=[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],aa=[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],ia=new WeakSet,na=function(A){function e(A,t){var a;F(this,e),l(a=S(this,e,[t]),ia),a.str=A,a.dict=A.dict;var i=A.getByte(),n=A.getByte();if(-1===i||-1===n)throw new vA("Invalid header in flate stream: ".concat(i,", ").concat(n));if(8!=(15&i))throw new vA("Unknown compression method in flate stream: ".concat(i,", ").concat(n));if(((i<<8)+n)%31!=0)throw new vA("Bad FCHECK in flate stream: ".concat(i,", ").concat(n));if(32&n)throw new vA("FDICT bit set in flate stream: ".concat(i,", ").concat(n));return a.codeSize=0,a.codeBuf=0,a}return x(e,A),b(e,[{key:"getBits",value:function(A){for(var e,t=this.str,a=this.codeSize,i=this.codeBuf;a<A;){if(-1===(e=t.getByte()))throw new vA("Bad encoding in flate stream");i|=e<<a,a+=8}return e=i&(1<<A)-1,this.codeBuf=i>>A,this.codeSize=a-=A,e}},{key:"getCode",value:function(A){for(var e,t=this.str,a=A[0],i=A[1],n=this.codeSize,r=this.codeBuf;n<i&&-1!==(e=t.getByte());)r|=e<<n,n+=8;var g=a[r&(1<<i)-1],o=g>>16,s=65535&g;if(o<1||n<o)throw new vA("Bad encoding in flate stream");return this.codeBuf=r>>o,this.codeSize=n-o,s}},{key:"generateHuffmanTable",value:function(A){var e,t=A.length,a=0;for(e=0;e<t;++e)A[e]>a&&(a=A[e]);for(var i=1<<a,n=new Int32Array(i),r=1,g=0,o=2;r<=a;++r,g<<=1,o<<=1)for(var s=0;s<t;++s)if(A[s]===r){var I=0,c=g;for(e=0;e<r;++e)I=I<<1|1&c,c>>=1;for(e=I;e<i;e+=o)n[e]=r<<16|s;++g}return[n,a]}},{key:"readBlock",value:function(){var A,e,t=this.str,a=this.getBits(3);if(1&a&&(this.eof=!0),0!=(a>>=1)){var i,n;if(1===a)i=ta,n=aa;else{if(2!==a)throw new vA("Unknown block type in flate stream");var r,g=this.getBits(5)+257,o=this.getBits(5)+1,s=this.getBits(4)+4,I=new Uint8Array($t.length);for(r=0;r<s;++r)I[$t[r]]=this.getBits(3);var c=this.generateHuffmanTable(I);e=0,r=0;for(var l,h,u,C=g+o,B=new Uint8Array(C);r<C;){var Q=this.getCode(c);if(16===Q)l=2,h=3,u=e;else if(17===Q)l=3,h=3,u=e=0;else{if(18!==Q){B[r++]=e=Q;continue}l=7,h=11,u=e=0}for(var E=this.getBits(l)+h;E-- >0;)B[r++]=u}i=this.generateHuffmanTable(B.subarray(0,g)),n=this.generateHuffmanTable(B.subarray(g,C))}for(var d=(A=this.buffer)?A.length:0,y=this.bufferLength;;){var p=this.getCode(i);if(p<256)y+1>=d&&(d=(A=this.ensureBuffer(y+1)).length),A[y++]=p;else{if(256===p)return void(this.bufferLength=y);var m=(p=Aa[p-=257])>>16;m>0&&(m=this.getBits(m)),e=(65535&p)+m,p=this.getCode(n),(m=(p=ea[p])>>16)>0&&(m=this.getBits(m));var k=(65535&p)+m;y+e>=d&&(d=(A=this.ensureBuffer(y+e)).length);for(var v=0;v<e;++v,++y)A[y]=A[y-k]}}}else{var w;if(-1===(w=t.getByte()))return void f(ia,this,ra).call(this,"Bad block header in flate stream");var b=w;if(-1===(w=t.getByte()))return void f(ia,this,ra).call(this,"Bad block header in flate stream");if(b|=w<<8,-1===(w=t.getByte()))return void f(ia,this,ra).call(this,"Bad block header in flate stream");var D=w;if(-1===(w=t.getByte()))return void f(ia,this,ra).call(this,"Bad block header in flate stream");if((D|=w<<8)!=(65535&~b)&&(0!==b||0!==D))throw new vA("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var F=this.bufferLength,S=F+b;if(A=this.ensureBuffer(S),this.bufferLength=S,0===b)-1===t.peekByte()&&(this.eof=!0);else{var R=t.getBytes(b);A.set(R,F),R.length<b&&(this.eof=!0)}}}}])}(Yt);function ra(A){hA(A),this.eof=!0}var ga=[{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}],oa=function(){return b((function A(e,t,a){F(this,A),this.data=e,this.bp=t,this.dataEnd=a,this.chigh=e[t],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}),[{key:"byteIn",value:function(){var A=this.data,e=this.bp;255===A[e]?A[e+1]>143?(this.clow+=65280,this.ct=8):(e++,this.clow+=A[e]<<9,this.ct=7,this.bp=e):(e++,this.clow+=e<this.dataEnd?A[e]<<8:65280,this.ct=8,this.bp=e),this.clow>65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}},{key:"readBit",value:function(A,e){var t,a=A[e]>>1,i=1&A[e],n=ga[a],r=n.qe,g=this.a-r;if(this.chigh<r)g<r?(g=r,t=i,a=n.nmps):(g=r,t=1^i,1===n.switchFlag&&(i=t),a=n.nlps);else{if(this.chigh-=r,32768&g)return this.a=g,i;g<r?(t=1^i,1===n.switchFlag&&(i=t),a=n.nlps):(t=i,a=n.nmps)}do{0===this.ct&&this.byteIn(),g<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--}while(!(32768&g));return this.a=g,A[e]=a<<1|i,t}}])}(),sa=function(A){function e(A){return F(this,e),S(this,e,[A,"Jbig2Error"])}return x(e,A),b(e)}(fA),Ia=function(){return b((function A(){F(this,A)}),[{key:"getContexts",value:function(A){return A in this?this[A]:this[A]=new Int8Array(65536)}}])}(),ca=function(){return b((function A(e,t,a){F(this,A),this.data=e,this.start=t,this.end=a}),[{key:"decoder",get:function(){return EA(this,"decoder",new oa(this.data,this.start,this.end))}},{key:"contextCache",get:function(){return EA(this,"contextCache",new Ia)}}])}(),la=Math.pow(2,31)-1,ha=-Math.pow(2,31);function ua(A,e,t){var a=A.getContexts(e),i=1;function n(A){for(var e=0,n=0;n<A;n++){var r=t.readBit(a,i);i=i<256?i<<1|r:511&(i<<1|r)|256,e=e<<1|r}return e>>>0}var r,g=n(1),o=n(1)?n(1)?n(1)?n(1)?n(1)?n(32)+4436:n(12)+340:n(8)+84:n(6)+20:n(4)+4:n(2);return 0===g?r=o:o>0&&(r=-o),r>=ha&&r<=la?r:null}function Ca(A,e,t){for(var a=A.getContexts("IAID"),i=1,n=0;n<t;n++)i=i<<1|e.readBit(a,i);return t<31?i&(1<<t)-1:2147483647&i}var Ba=["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"],Qa=[[{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}]],Ea=[{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}]}],fa=[39717,1941,229,405],da=[32,8];function ya(A,e,t,a,i,n,r,g){if(A)return Ha(new Ma(g.data,g.start,g.end),e,t,!1);if(0===a&&!n&&!i&&4===r.length&&3===r[0].x&&-1===r[0].y&&-3===r[1].x&&-1===r[1].y&&2===r[2].x&&-2===r[2].y&&-2===r[3].x&&-2===r[3].y)return function(A,e,t){var a,i,n,r,g,o,s,I=t.decoder,c=t.contextCache.getContexts("GB"),l=[];for(i=0;i<e;i++)for(g=l[i]=new Uint8Array(A),o=i<1?g:l[i-1],a=(s=i<2?g:l[i-2])[0]<<13|s[1]<<12|s[2]<<11|o[0]<<7|o[1]<<6|o[2]<<5|o[3]<<4,n=0;n<A;n++)g[n]=r=I.readBit(c,a),a=(31735&a)<<1|(n+3<A?s[n+3]<<11:0)|(n+4<A?o[n+4]<<4:0)|r;return l}(e,t,g);var o=!!n,s=Qa[a].concat(r);s.sort((function(A,e){return A.y-e.y||A.x-e.x}));var I,c,l=s.length,h=new Int8Array(l),u=new Int8Array(l),C=[],B=0,Q=0,E=0,f=0;for(c=0;c<l;c++)h[c]=s[c].x,u[c]=s[c].y,Q=Math.min(Q,s[c].x),E=Math.max(E,s[c].x),f=Math.min(f,s[c].y),c<l-1&&s[c].y===s[c+1].y&&s[c].x===s[c+1].x-1?B|=1<<l-1-c:C.push(c);var d=C.length,y=new Int8Array(d),p=new Int8Array(d),m=new Uint16Array(d);for(I=0;I<d;I++)c=C[I],y[I]=s[c].x,p[I]=s[c].y,m[I]=1<<l-1-c;for(var k,v,w,b,D,F=-Q,S=-f,R=e-E,N=fa[a],G=new Uint8Array(e),x=[],U=g.decoder,M=g.contextCache.getContexts("GB"),J=0,L=0,H=0;H<t;H++)if(i&&(J^=U.readBit(M,N)))x.push(G);else for(G=new Uint8Array(G),x.push(G),k=0;k<e;k++)if(o&&n[H][k])G[k]=0;else{if(k>=F&&k<R&&H>=S)for(L=L<<1&B,c=0;c<d;c++)v=H+p[c],w=k+y[c],(b=x[v][w])&&(L|=b=m[c]);else for(L=0,D=l-1,c=0;c<l;c++,D--)(w=k+h[c])>=0&&w<e&&(v=H+u[c])>=0&&(b=x[v][w])&&(L|=b<<D);var Y=U.readBit(M,L);G[k]=Y}return x}function pa(A,e,t,a,i,n,r,g,o){var s=Ea[t].coding;0===t&&(s=s.concat([g[0]]));var I,c=s.length,l=new Int32Array(c),h=new Int32Array(c);for(I=0;I<c;I++)l[I]=s[I].x,h[I]=s[I].y;var u=Ea[t].reference;0===t&&(u=u.concat([g[1]]));var C=u.length,B=new Int32Array(C),Q=new Int32Array(C);for(I=0;I<C;I++)B[I]=u[I].x,Q[I]=u[I].y;for(var E=a[0].length,f=a.length,d=da[t],y=[],p=o.decoder,m=o.contextCache.getContexts("GR"),k=0,v=0;v<e;v++){if(r&&(k^=p.readBit(m,d)))throw new sa("prediction is not supported");var w=new Uint8Array(A);y.push(w);for(var b=0;b<A;b++){var D=void 0,F=void 0,S=0;for(I=0;I<c;I++)D=v+h[I],F=b+l[I],D<0||F<0||F>=A?S<<=1:S=S<<1|y[D][F];for(I=0;I<C;I++)D=v+Q[I]-n,F=b+B[I]-i,D<0||D>=f||F<0||F>=E?S<<=1:S=S<<1|a[D][F];var R=p.readBit(m,S);w[b]=R}}return y}function ma(A,e,t,a,i,n,r,g,o,s,I,c,l,h,u,C,B,Q,E){if(A&&e)throw new sa("refinement with Huffman is not supported");var f,d,y=[];for(f=0;f<a;f++){if(d=new Uint8Array(t),i)for(var p=0;p<t;p++)d[p]=i;y.push(d)}var m=B.decoder,k=B.contextCache,v=A?-h.tableDeltaT.decode(E):-ua(k,"IADT",m),w=0;for(f=0;f<n;){v+=A?h.tableDeltaT.decode(E):ua(k,"IADT",m);for(var b=w+=A?h.tableFirstS.decode(E):ua(k,"IAFS",m);;){var D=0;r>1&&(D=A?E.readBits(Q):ua(k,"IAIT",m));var F=r*v+D,S=A?h.symbolIDTable.decode(E):Ca(k,m,o),R=e&&(A?E.readBit():ua(k,"IARI",m)),N=g[S],G=N[0].length,x=N.length;if(R){var U=ua(k,"IARDW",m),M=ua(k,"IARDH",m);N=pa(G+=U,x+=M,u,N,(U>>1)+ua(k,"IARDX",m),(M>>1)+ua(k,"IARDY",m),!1,C,B)}var J=0;s?1&c?J=x-1:b+=x-1:c>1?b+=G-1:J=G-1;var L=F-(1&c?0:x-1),H=b-(2&c?G-1:0),Y=void 0,K=void 0,q=void 0;if(s){for(Y=0;Y<x;Y++)if(d=y[H+Y]){q=N[Y];var T=Math.min(t-L,G);switch(l){case 0:for(K=0;K<T;K++)d[L+K]|=q[K];break;case 2:for(K=0;K<T;K++)d[L+K]^=q[K];break;default:throw new sa("operator ".concat(l," is not supported"))}}}else for(K=0;K<x;K++)if(d=y[L+K])switch(q=N[K],l){case 0:for(Y=0;Y<G;Y++)d[H+Y]|=q[Y];break;case 2:for(Y=0;Y<G;Y++)d[H+Y]^=q[Y];break;default:throw new sa("operator ".concat(l," is not supported"))}f++;var P=A?h.tableDeltaS.decode(E):ua(k,"IADS",m);if(null===P)break;b+=J+P+I}}return y}function ka(A,e){var t={};t.number=de(A,e);var a=A[e+4],i=63&a;if(!Ba[i])throw new sa("invalid segment type: "+i);t.type=i,t.typeName=Ba[i],t.deferredNonRetain=!!(128&a);var n=!!(64&a),r=A[e+5],g=r>>5&7,o=[31&r],s=e+6;if(7===r){g=536870911&de(A,s-1),s+=3;var I=g+7>>3;for(o[0]=A[s++];--I>0;)o.push(A[s++])}else if(5===r||6===r)throw new sa("invalid referred-to flags");t.retainBits=o;var c=4;t.number<=256?c=1:t.number<=65536&&(c=2);var l,h,u=[];for(l=0;l<g;l++){var C;C=1===c?A[s]:2===c?fe(A,s):de(A,s),u.push(C),s+=c}if(t.referredTo=u,n?(t.pageAssociation=de(A,s),s+=4):t.pageAssociation=A[s++],t.length=de(A,s),s+=4,4294967295===t.length){if(38!==i)throw new sa("invalid unknown segment length");var B=wa(A,s),Q=!!(1&A[s+ba]),E=new Uint8Array(6);for(Q||(E[0]=255,E[1]=172),E[2]=B.height>>>24&255,E[3]=B.height>>16&255,E[4]=B.height>>8&255,E[5]=255&B.height,l=s,h=A.length;l<h;l++){for(var f=0;f<6&&E[f]===A[l+f];)f++;if(6===f){t.length=l+6;break}}if(4294967295===t.length)throw new sa("segment end was not found")}return t.headerEnd=s,t}function va(A,e,t,a){for(var i=[],n=t;n<a;){var r=ka(e,n);n=r.headerEnd;var g={header:r,data:e};if(A.randomAccess||(g.start=n,n+=r.length,g.end=n),i.push(g),51===r.type)break}if(A.randomAccess)for(var o=0,s=i.length;o<s;o++)i[o].start=n,n+=i[o].header.length,i[o].end=n;return i}function wa(A,e){return{width:de(A,e),height:de(A,e+4),x:de(A,e+8),y:de(A,e+12),combinationOperator:7&A[e+16]}}var ba=17;function Da(A,e){var t,a,i,n,r=A.header,g=A.data,o=A.end,s=A.start;switch(r.type){case 0:var I={},c=fe(g,s);if(I.huffman=!!(1&c),I.refinement=!!(2&c),I.huffmanDHSelector=c>>2&3,I.huffmanDWSelector=c>>4&3,I.bitmapSizeSelector=c>>6&1,I.aggregationInstancesSelector=c>>7&1,I.bitmapCodingContextUsed=!!(256&c),I.bitmapCodingContextRetained=!!(512&c),I.template=c>>10&3,I.refinementTemplate=c>>12&1,s+=2,!I.huffman){for(n=0===I.template?4:1,a=[],i=0;i<n;i++)a.push({x:Ee(g,s),y:Ee(g,s+1)}),s+=2;I.at=a}if(I.refinement&&!I.refinementTemplate){for(a=[],i=0;i<2;i++)a.push({x:Ee(g,s),y:Ee(g,s+1)}),s+=2;I.refinementAt=a}I.numberOfExportedSymbols=de(g,s),s+=4,I.numberOfNewSymbols=de(g,s),s+=4,t=[I,r.number,r.referredTo,g,s,o];break;case 6:case 7:var l={};l.info=wa(g,s);var h=fe(g,s+=ba);if(s+=2,l.huffman=!!(1&h),l.refinement=!!(2&h),l.logStripSize=h>>2&3,l.stripSize=1<<l.logStripSize,l.referenceCorner=h>>4&3,l.transposed=!!(64&h),l.combinationOperator=h>>7&3,l.defaultPixelValue=h>>9&1,l.dsOffset=h<<17>>27,l.refinementTemplate=h>>15&1,l.huffman){var u=fe(g,s);s+=2,l.huffmanFS=3&u,l.huffmanDS=u>>2&3,l.huffmanDT=u>>4&3,l.huffmanRefinementDW=u>>6&3,l.huffmanRefinementDH=u>>8&3,l.huffmanRefinementDX=u>>10&3,l.huffmanRefinementDY=u>>12&3,l.huffmanRefinementSizeSelector=!!(16384&u)}if(l.refinement&&!l.refinementTemplate){for(a=[],i=0;i<2;i++)a.push({x:Ee(g,s),y:Ee(g,s+1)}),s+=2;l.refinementAt=a}l.numberOfSymbolInstances=de(g,s),s+=4,t=[l,r.referredTo,g,s,o];break;case 16:var C={},B=g[s++];C.mmr=!!(1&B),C.template=B>>1&3,C.patternWidth=g[s++],C.patternHeight=g[s++],C.maxPatternIndex=de(g,s),s+=4,t=[C,r.number,g,s,o];break;case 22:case 23:var Q={};Q.info=wa(g,s),s+=ba;var E=g[s++];Q.mmr=!!(1&E),Q.template=E>>1&3,Q.enableSkip=!!(8&E),Q.combinationOperator=E>>4&7,Q.defaultPixelValue=E>>7&1,Q.gridWidth=de(g,s),s+=4,Q.gridHeight=de(g,s),s+=4,Q.gridOffsetX=4294967295&de(g,s),s+=4,Q.gridOffsetY=4294967295&de(g,s),s+=4,Q.gridVectorX=fe(g,s),s+=2,Q.gridVectorY=fe(g,s),s+=2,t=[Q,r.referredTo,g,s,o];break;case 38:case 39:var f={};f.info=wa(g,s),s+=ba;var d=g[s++];if(f.mmr=!!(1&d),f.template=d>>1&3,f.prediction=!!(8&d),!f.mmr){for(n=0===f.template?4:1,a=[],i=0;i<n;i++)a.push({x:Ee(g,s),y:Ee(g,s+1)}),s+=2;f.at=a}t=[f,g,s,o];break;case 48:var y={width:de(g,s),height:de(g,s+4),resolutionX:de(g,s+8),resolutionY:de(g,s+12)};4294967295===y.height&&delete y.height;var p=g[s+16];fe(g,s+17),y.lossless=!!(1&p),y.refinement=!!(2&p),y.defaultPixelValue=p>>2&1,y.combinationOperator=p>>3&3,y.requiresBuffer=!!(32&p),y.combinationOperatorOverride=!!(64&p),t=[y];break;case 49:case 50:case 51:case 62:break;case 53:t=[r.number,g,s,o];break;default:throw new sa("segment type ".concat(r.typeName,"(").concat(r.type,") is not implemented"))}var m="on"+r.typeName;m in e&&e[m].apply(e,t)}function Fa(A,e){for(var t=0,a=A.length;t<a;t++)Da(A[t],e)}var Sa=function(){return b((function A(){F(this,A)}),[{key:"onPageInformation",value:function(A){this.currentPageInfo=A;var e=A.width+7>>3,t=new Uint8ClampedArray(e*A.height);A.defaultPixelValue&&t.fill(255),this.buffer=t}},{key:"drawBitmap",value:function(A,e){var t,a,i,n,r=this.currentPageInfo,g=A.width,o=A.height,s=r.width+7>>3,I=r.combinationOperatorOverride?A.combinationOperator:r.combinationOperator,c=this.buffer,l=128>>(7&A.x),h=A.y*s+(A.x>>3);switch(I){case 0:for(t=0;t<o;t++){for(i=l,n=h,a=0;a<g;a++)e[t][a]&&(c[n]|=i),(i>>=1)||(i=128,n++);h+=s}break;case 2:for(t=0;t<o;t++){for(i=l,n=h,a=0;a<g;a++)e[t][a]&&(c[n]^=i),(i>>=1)||(i=128,n++);h+=s}break;default:throw new sa("operator ".concat(I," is not supported"))}}},{key:"onImmediateGenericRegion",value:function(A,e,t,a){var i=A.info,n=new ca(e,t,a),r=ya(A.mmr,i.width,i.height,A.template,A.prediction,null,A.at,n);this.drawBitmap(i,r)}},{key:"onImmediateLosslessGenericRegion",value:function(){this.onImmediateGenericRegion.apply(this,arguments)}},{key:"onSymbolDictionary",value:function(A,e,t,a,i,n){var r,g;A.huffman&&(r=function(A,e,t){var a,i,n,r=0;switch(A.huffmanDHSelector){case 0:case 1:a=Ua(A.huffmanDHSelector+4);break;case 3:a=Ja(r,e,t),r++;break;default:throw new sa("invalid Huffman DH selector")}switch(A.huffmanDWSelector){case 0:case 1:i=Ua(A.huffmanDWSelector+2);break;case 3:i=Ja(r,e,t),r++;break;default:throw new sa("invalid Huffman DW selector")}return A.bitmapSizeSelector?(n=Ja(r,e,t),r++):n=Ua(1),{tableDeltaHeight:a,tableDeltaWidth:i,tableBitmapSize:n,tableAggregateInstances:A.aggregationInstancesSelector?Ja(r,e,t):Ua(1)}}(A,t,this.customTables),g=new Ma(a,i,n));var o=this.symbols;o||(this.symbols=o={});var s,c=[],l=m(t);try{for(l.s();!(s=l.n()).done;){var h=o[s.value];h&&c.push.apply(c,I(h))}}catch(A){l.e(A)}finally{l.f()}var u=new ca(a,i,n);o[e]=function(A,e,t,a,i,n,r,g,o,s,I,c){if(A&&e)throw new sa("symbol refinement with Huffman is not supported");var l,h,u=[],C=0,B=Qe(t.length+a),Q=I.decoder,E=I.contextCache;for(A&&(l=Ua(1),h=[],B=Math.max(B,1));u.length<a;){C+=A?n.tableDeltaHeight.decode(c):ua(E,"IADH",Q);for(var f=0,d=0,y=A?h.length:0;;){var p=A?n.tableDeltaWidth.decode(c):ua(E,"IADW",Q);if(null===p)break;d+=f+=p;var m=void 0;if(e){var k=ua(E,"IAAI",Q);if(k>1)m=ma(A,e,f,C,0,k,1,t.concat(u),B,0,0,1,0,n,o,s,I,0,c);else{var v=Ca(E,Q,B),w=ua(E,"IARDX",Q),b=ua(E,"IARDY",Q);m=pa(f,C,o,v<t.length?t[v]:u[v-t.length],w,b,!1,s,I)}u.push(m)}else A?h.push(f):(m=ya(!1,f,C,r,!1,null,g,I),u.push(m))}if(A&&!e){var D=n.tableBitmapSize.decode(c);c.byteAlign();var F=void 0;if(0===D)F=La(c,d,C);else{var S=c.end,R=c.position+D;c.end=R,F=Ha(c,d,C,!1),c.end=S,c.position=R}var N=h.length;if(y===N-1)u.push(F);else{var G=void 0,x=void 0,U=0,M=void 0,J=void 0;for(G=y;G<N;G++){for(M=U+h[G],J=[],x=0;x<C;x++)J.push(F[x].subarray(U,M));u.push(J),U=M}}}}for(var L,H,Y=[],K=[],q=!1,T=t.length+a;K.length<T;){for(var P=A?l.decode(c):ua(E,"IAEX",Q);P--;)K.push(q);q=!q}for(L=0,H=t.length;L<H;L++)K[L]&&Y.push(t[L]);for(var W=0;W<a;L++,W++)K[L]&&Y.push(u[W]);return Y}(A.huffman,A.refinement,c,A.numberOfNewSymbols,A.numberOfExportedSymbols,r,A.template,A.at,A.refinementTemplate,A.refinementAt,u,g)}},{key:"onImmediateTextRegion",value:function(A,e,t,a,i){var n,r,g,o=A.info,s=this.symbols,c=[],l=m(e);try{for(l.s();!(g=l.n()).done;){var h=s[g.value];h&&c.push.apply(c,I(h))}}catch(A){l.e(A)}finally{l.f()}var u=Qe(c.length);A.huffman&&(r=new Ma(t,a,i),n=function(A,e,t,a,i){for(var n=[],r=0;r<=34;r++){var g=i.readBits(4);n.push(new Ra([r,g,0,0]))}var o=new Ga(n,!1);n.length=0;for(var s=0;s<a;){var I=o.decode(i);if(I>=32){var c=void 0,l=void 0,h=void 0;switch(I){case 32:if(0===s)throw new sa("no previous value in symbol ID table");l=i.readBits(2)+3,c=n[s-1].prefixLength;break;case 33:l=i.readBits(3)+3,c=0;break;case 34:l=i.readBits(7)+11,c=0;break;default:throw new sa("invalid code length in symbol ID table")}for(h=0;h<l;h++)n.push(new Ra([s,c,0,0])),s++}else n.push(new Ra([s,I,0,0])),s++}i.byteAlign();var u,C,B,Q=new Ga(n,!1),E=0;switch(A.huffmanFS){case 0:case 1:u=Ua(A.huffmanFS+6);break;case 3:u=Ja(E,e,t),E++;break;default:throw new sa("invalid Huffman FS selector")}switch(A.huffmanDS){case 0:case 1:case 2:C=Ua(A.huffmanDS+8);break;case 3:C=Ja(E,e,t),E++;break;default:throw new sa("invalid Huffman DS selector")}switch(A.huffmanDT){case 0:case 1:case 2:B=Ua(A.huffmanDT+11);break;case 3:B=Ja(E,e,t),E++;break;default:throw new sa("invalid Huffman DT selector")}if(A.refinement)throw new sa("refinement with Huffman is not supported");return{symbolIDTable:Q,tableFirstS:u,tableDeltaS:C,tableDeltaT:B}}(A,e,this.customTables,c.length,r));var C=new ca(t,a,i),B=ma(A.huffman,A.refinement,o.width,o.height,A.defaultPixelValue,A.numberOfSymbolInstances,A.stripSize,c,u,A.transposed,A.dsOffset,A.referenceCorner,A.combinationOperator,n,A.refinementTemplate,A.refinementAt,C,A.logStripSize,r);this.drawBitmap(o,B)}},{key:"onImmediateLosslessTextRegion",value:function(){this.onImmediateTextRegion.apply(this,arguments)}},{key:"onPatternDictionary",value:function(A,e,t,a,i){var n=this.patterns;n||(this.patterns=n={});var r=new ca(t,a,i);n[e]=function(A,e,t,a,i,n){var r=[];A||(r.push({x:-e,y:0}),0===i&&r.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));for(var g=ya(A,(a+1)*e,t,i,!1,null,r,n),o=[],s=0;s<=a;s++){for(var I=[],c=e*s,l=c+e,h=0;h<t;h++)I.push(g[h].subarray(c,l));o.push(I)}return o}(A.mmr,A.patternWidth,A.patternHeight,A.maxPatternIndex,A.template,r)}},{key:"onImmediateHalftoneRegion",value:function(A,e,t,a,i){var n=this.patterns[e[0]],r=A.info,g=new ca(t,a,i),o=function(A,e,t,a,i,n,r,g,o,s,I,c,l,h,u){if(r)throw new sa("skip is not supported");if(0!==g)throw new sa('operator "'.concat(g,'" is not supported in halftone region'));var C,B,Q,E=[];for(C=0;C<i;C++){if(Q=new Uint8Array(a),n)for(B=0;B<a;B++)Q[B]=n;E.push(Q)}var f=e.length,d=e[0],y=d[0].length,p=d.length,m=Qe(f),k=[];A||(k.push({x:t<=1?3:2,y:-1}),0===t&&k.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));var v,w,b,D,F,S,R,N,G,x,U,M=[];for(A&&(v=new Ma(u.data,u.start,u.end)),C=m-1;C>=0;C--)w=A?Ha(v,o,s,!0):ya(!1,o,s,t,!1,null,k,u),M[C]=w;for(b=0;b<s;b++)for(D=0;D<o;D++){for(F=0,S=0,B=m-1;B>=0;B--)S|=(F^=M[B][b][D])<<B;if(R=e[S],G=c+b*l-D*h>>8,(N=I+b*h+D*l>>8)>=0&&N+y<=a&&G>=0&&G+p<=i)for(C=0;C<p;C++)for(U=E[G+C],x=R[C],B=0;B<y;B++)U[N+B]|=x[B];else{var J=void 0,L=void 0;for(C=0;C<p;C++)if(!((L=G+C)<0||L>=i))for(U=E[L],x=R[C],B=0;B<y;B++)(J=N+B)>=0&&J<a&&(U[J]|=x[B])}}return E}(A.mmr,n,A.template,r.width,r.height,A.defaultPixelValue,A.enableSkip,A.combinationOperator,A.gridWidth,A.gridHeight,A.gridOffsetX,A.gridOffsetY,A.gridVectorX,A.gridVectorY,g);this.drawBitmap(r,o)}},{key:"onImmediateLosslessHalftoneRegion",value:function(){this.onImmediateHalftoneRegion.apply(this,arguments)}},{key:"onTables",value:function(A,e,t,a){var i=this.customTables;i||(this.customTables=i={}),i[A]=function(A,e,t){var a,i,n=A[e],r=4294967295&de(A,e+1),g=4294967295&de(A,e+5),o=new Ma(A,e+9,t),s=1+(n>>1&7),I=1+(n>>4&7),c=[],l=r;do{a=o.readBits(s),i=o.readBits(I),c.push(new Ra([l,a,i,0])),l+=1<<i}while(l<g);return a=o.readBits(s),c.push(new Ra([r-1,a,32,0,"lower"])),a=o.readBits(s),c.push(new Ra([g,a,32,0])),1&n&&(a=o.readBits(s),c.push(new Ra([a,0]))),new Ga(c,!1)}(e,t,a)}}])}(),Ra=b((function A(e){F(this,A),2===e.length?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=e[0],this.rangeLength=0,this.prefixCode=e[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=e[0],this.prefixLength=e[1],this.rangeLength=e[2],this.prefixCode=e[3],this.isLowerRange="lower"===e[4])})),Na=function(){function A(e){F(this,A),this.children=[],e?(this.isLeaf=!0,this.rangeLength=e.rangeLength,this.rangeLow=e.rangeLow,this.isLowerRange=e.isLowerRange,this.isOOB=e.isOOB):this.isLeaf=!1}return b(A,[{key:"buildTree",value:function(e,t){var a=e.prefixCode>>t&1;if(t<=0)this.children[a]=new A(e);else{var i=this.children[a];i||(this.children[a]=i=new A(null)),i.buildTree(e,t-1)}}},{key:"decodeNode",value:function(A){if(this.isLeaf){if(this.isOOB)return null;var e=A.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-e:e)}var t=this.children[A.readBit()];if(!t)throw new sa("invalid Huffman data");return t.decodeNode(A)}}])}(),Ga=function(){return b((function A(e,t){F(this,A),t||this.assignPrefixCodes(e),this.rootNode=new Na(null);for(var a=0,i=e.length;a<i;a++){var n=e[a];n.prefixLength>0&&this.rootNode.buildTree(n,n.prefixLength-1)}}),[{key:"decode",value:function(A){return this.rootNode.decodeNode(A)}},{key:"assignPrefixCodes",value:function(A){for(var e=A.length,t=0,a=0;a<e;a++)t=Math.max(t,A[a].prefixLength);for(var i=new Uint32Array(t+1),n=0;n<e;n++)i[A[n].prefixLength]++;var r,g,o,s=1,I=0;for(i[0]=0;s<=t;){for(r=I=I+i[s-1]<<1,g=0;g<e;)(o=A[g]).prefixLength===s&&(o.prefixCode=r,r++),g++;s++}}}])}(),xa={};function Ua(A){var e,t=xa[A];if(t)return t;switch(A){case 1:e=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:e=[[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:e=[[-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:e=[[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:e=[[-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:e=[[-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:e=[[-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:e=[[-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:e=[[-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:e=[[-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:e=[[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:e=[[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:e=[[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:e=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:e=[[-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 sa("standard table B.".concat(A," does not exist"))}for(var a=0,i=e.length;a<i;a++)e[a]=new Ra(e[a]);return t=new Ga(e,!0),xa[A]=t,t}var Ma=function(){return b((function A(e,t,a){F(this,A),this.data=e,this.start=t,this.end=a,this.position=t,this.shift=-1,this.currentByte=0}),[{key:"readBit",value:function(){if(this.shift<0){if(this.position>=this.end)throw new sa("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}var A=this.currentByte>>this.shift&1;return this.shift--,A}},{key:"readBits",value:function(A){var e,t=0;for(e=A-1;e>=0;e--)t|=this.readBit()<<e;return t}},{key:"byteAlign",value:function(){this.shift=-1}},{key:"next",value:function(){return this.position>=this.end?-1:this.data[this.position++]}}])}();function Ja(A,e,t){for(var a=0,i=0,n=e.length;i<n;i++){var r=t[e[i]];if(r){if(A===a)return r;a++}}throw new sa("can't find custom Huffman table")}function La(A,e,t){for(var a=[],i=0;i<t;i++){var n=new Uint8Array(e);a.push(n);for(var r=0;r<e;r++)n[r]=A.readBit();A.byteAlign()}return a}function Ha(A,e,t,a){for(var i,n=new zt(A,{K:-1,Columns:e,Rows:t,BlackIs1:!0,EndOfBlock:a}),r=[],g=!1,o=0;o<t;o++){var s=new Uint8Array(e);r.push(s);for(var I=-1,c=0;c<e;c++)I<0&&(-1===(i=n.readNextChar())&&(i=0,g=!0),I=7),s[c]=i>>I&1,I--}if(a&&!g)for(var l=0;l<5&&-1!==n.readNextChar();l++);return r}var Ya=function(){return b((function A(){F(this,A)}),[{key:"parseChunks",value:function(A){return function(A){for(var e=new Sa,t=0,a=A.length;t<a;t++){var i=A[t];Fa(va({},i.data,i.start,i.end),e)}return e.buffer}(A)}},{key:"parse",value:function(A){throw new Error("Not implemented: Jbig2Image.parse")}}])}(),Ka=function(A){function e(A,t,a){var i;return F(this,e),(i=S(this,e,[t])).stream=A,i.dict=A.dict,i.maybeLength=t,i.params=a,i}return x(e,A),b(e,[{key:"bytes",get:function(){return EA(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(A){}},{key:"readBlock",value:function(){if(!this.eof){var A=new Ya,e=[];if(this.params instanceof _A){var t=this.params.get("JBIG2Globals");if(t instanceof re){var a=t.getBytes();e.push({data:a,start:0,end:a.length})}}e.push({data:this.bytes,start:0,end:this.bytes.length});for(var i=A.parseChunks(e),n=i.length,r=0;r<n;r++)i[r]^=255;this.buffer=i,this.bufferLength=n,this.eof=!0}}}])}(Yt);function qa(A){var e=A.src,t=A.srcPos,a=void 0===t?0:t,i=A.dest,n=A.width,r=A.height,g=A.nonBlackColor,o=void 0===g?4294967295:g,s=A.inverseDecode,I=void 0!==s&&s,c=RA.isLittleEndian?4278190080:255,l=d(I?[o,c]:[c,o],2),h=l[0],u=l[1],C=n>>3,B=7&n,Q=e.length;i=new Uint32Array(i.buffer);for(var E=0,f=0;f<r;f++){for(var y=a+C;a<y;a++){var p=a<Q?e[a]:255;i[E++]=128&p?u:h,i[E++]=64&p?u:h,i[E++]=32&p?u:h,i[E++]=16&p?u:h,i[E++]=8&p?u:h,i[E++]=4&p?u:h,i[E++]=2&p?u:h,i[E++]=1&p?u:h}if(0!==B)for(var m=a<Q?e[a++]:255,k=0;k<B;k++)i[E++]=m&1<<7-k?u:h}return{srcPos:a,destPos:E}}var Ta=function(A){function e(A){return F(this,e),S(this,e,[A,"JpegError"])}return x(e,A),b(e)}(fA),Pa=function(A){function e(A,t){var a;return F(this,e),(a=S(this,e,[A,"DNLMarkerError"])).scanLines=t,a}return x(e,A),b(e)}(fA),Wa=function(A){function e(A){return F(this,e),S(this,e,[A,"EOIMarkerError"])}return x(e,A),b(e)}(fA),Za=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]),Oa=4017,Xa=799,Va=3406,ja=2276,za=1567,_a=3784,$a=5793,Ai=2896;function ei(A,e){for(var t,a,i=0,n=16;n>0&&!A[n-1];)n--;var r,g=[{children:[],index:0}],o=g[0];for(t=0;t<n;t++){for(a=0;a<A[t];a++){for((o=g.pop()).children[o.index]=e[i];o.index>0;)o=g.pop();for(o.index++,g.push(o);g.length<=t;)g.push(r={children:[],index:0}),o.children[o.index]=r.children,o=r;i++}t+1<n&&(g.push(r={children:[],index:0}),o.children[o.index]=r.children,o=r)}return g[0].children}function ti(A,e,t){return 64*((A.blocksPerLine+1)*e+t)}function ai(A,e,t,a,i,n,r,g,o){var s=arguments.length>9&&void 0!==arguments[9]&&arguments[9],I=t.mcusPerLine,c=t.progressive,l=e,h=0,u=0;function C(){if(u>0)return u--,h>>u&1;if(255===(h=A[e++])){var a=A[e++];if(a){if(220===a&&s){var i=fe(A,e+=2);if(e+=2,i>0&&i!==t.scanLines)throw new Pa("Found DNL marker (0xFFDC) while parsing scan data",i)}else if(217===a){if(s){var n=p*(8===t.precision?8:0);if(n>0&&Math.round(t.scanLines/n)>=5)throw new Pa("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",n)}throw new Wa("Found EOI marker (0xFFD9) while parsing scan data")}throw new Ta("unexpected marker ".concat((h<<8|a).toString(16)))}}return u=7,h>>>7}function B(A){for(var e=A;;){switch(M(e=e[C()])){case"number":return e;case"object":continue}throw new Ta("invalid huffman sequence")}}function Q(A){for(var e=0;A>0;)e=e<<1|C(),A--;return e}function E(A){if(1===A)return 1===C()?1:-1;var e=Q(A);return e>=1<<A-1?e:e+(-1<<A)+1}var f,d=0,y=0,p=0;function m(A,e,t,a,i){var n=t%I;p=(t/I|0)*A.v+a;var r=n*A.h+i;e(A,ti(A,p,r))}function k(A,e,t){p=t/A.blocksPerLine|0;var a=t%A.blocksPerLine;e(A,ti(A,p,a))}var v,w,b,D,F,S,R=a.length;S=c?0===n?0===g?function(A,e){var t=B(A.huffmanTableDC),a=0===t?0:E(t)<<o;A.blockData[e]=A.pred+=a}:function(A,e){A.blockData[e]|=C()<<o}:0===g?function(A,e){if(d>0)d--;else for(var t=n,a=r;t<=a;){var i=B(A.huffmanTableAC),g=15&i,s=i>>4;if(0!==g){var I=Za[t+=s];A.blockData[e+I]=E(g)*(1<<o),t++}else{if(s<15){d=Q(s)+(1<<s)-1;break}t+=16}}}:function(A,e){for(var t,a,i=n,g=r,s=0;i<=g;){var I=e+Za[i],c=A.blockData[I]<0?-1:1;switch(y){case 0:if(s=(a=B(A.huffmanTableAC))>>4,0==(t=15&a))s<15?(d=Q(s)+(1<<s),y=4):(s=16,y=1);else{if(1!==t)throw new Ta("invalid ACn encoding");f=E(t),y=s?2:3}continue;case 1:case 2:A.blockData[I]?A.blockData[I]+=c*(C()<<o):0==--s&&(y=2===y?3:0);break;case 3:A.blockData[I]?A.blockData[I]+=c*(C()<<o):(A.blockData[I]=f<<o,y=0);break;case 4:A.blockData[I]&&(A.blockData[I]+=c*(C()<<o))}i++}4===y&&0==--d&&(y=0)}:function(A,e){var t=B(A.huffmanTableDC),a=0===t?0:E(t);A.blockData[e]=A.pred+=a;for(var i=1;i<64;){var n=B(A.huffmanTableAC),r=15&n,g=n>>4;if(0!==r){var o=Za[i+=g];A.blockData[e+o]=E(r),i++}else{if(g<15)break;i+=16}}};for(var N,G,x,U=0,J=1===R?a[0].blocksPerLine*a[0].blocksPerColumn:I*t.mcusPerColumn;U<=J;){var L=i?Math.min(J-U,i):J;if(L>0){for(w=0;w<R;w++)a[w].pred=0;if(d=0,1===R)for(v=a[0],F=0;F<L;F++)k(v,S,U),U++;else for(F=0;F<L;F++){for(w=0;w<R;w++)for(G=(v=a[w]).h,x=v.v,b=0;b<x;b++)for(D=0;D<G;D++)m(v,S,U,b,D);U++}}if(u=0,!(N=ri(A,e)))break;if(N.invalid&&(uA("decodeScan - ".concat(L>0?"unexpected":"excessive"," MCU data, current marker is: ").concat(N.invalid)),e=N.offset),!(N.marker>=65488&&N.marker<=65495))break;e+=2}return e-l}function ii(A,e,t){var a,i,n,r,g,o,s,I,c,l,h,u,C,B,Q,E,f,d=A.quantizationTable,y=A.blockData;if(!d)throw new Ta("missing required Quantization Table.");for(var p=0;p<64;p+=8)c=y[e+p],l=y[e+p+1],h=y[e+p+2],u=y[e+p+3],C=y[e+p+4],B=y[e+p+5],Q=y[e+p+6],E=y[e+p+7],c*=d[p],l|h|u|C|B|Q|E?(l*=d[p+1],h*=d[p+2],u*=d[p+3],C*=d[p+4],B*=d[p+5],Q*=d[p+6],E*=d[p+7],i=(a=(a=$a*c+128>>8)+(i=$a*C+128>>8)+1>>1)-i,f=(n=h)*_a+(r=Q)*za+128>>8,n=n*za-r*_a+128>>8,s=(g=(g=Ai*(l-E)+128>>8)+(s=B<<4)+1>>1)-s,o=(I=(I=Ai*(l+E)+128>>8)+(o=u<<4)+1>>1)-o,r=(a=a+(r=f)+1>>1)-r,n=(i=i+n+1>>1)-n,f=g*ja+I*Va+2048>>12,g=g*Va-I*ja+2048>>12,I=f,f=o*Xa+s*Oa+2048>>12,o=o*Oa-s*Xa+2048>>12,s=f,t[p]=a+I,t[p+7]=a-I,t[p+1]=i+s,t[p+6]=i-s,t[p+2]=n+o,t[p+5]=n-o,t[p+3]=r+g,t[p+4]=r-g):(f=$a*c+512>>10,t[p]=f,t[p+1]=f,t[p+2]=f,t[p+3]=f,t[p+4]=f,t[p+5]=f,t[p+6]=f,t[p+7]=f);for(var m=0;m<8;++m)c=t[m],(l=t[m+8])|(h=t[m+16])|(u=t[m+24])|(C=t[m+32])|(B=t[m+40])|(Q=t[m+48])|(E=t[m+56])?(i=(a=4112+((a=$a*c+2048>>12)+(i=$a*C+2048>>12)+1>>1))-i,f=(n=h)*_a+(r=Q)*za+2048>>12,n=n*za-r*_a+2048>>12,r=f,s=(g=(g=Ai*(l-E)+2048>>12)+(s=B)+1>>1)-s,o=(I=(I=Ai*(l+E)+2048>>12)+(o=u)+1>>1)-o,f=g*ja+I*Va+2048>>12,g=g*Va-I*ja+2048>>12,I=f,f=o*Xa+s*Oa+2048>>12,o=o*Oa-s*Xa+2048>>12,(c=(a=a+r+1>>1)+I)<16?c=0:c>=4080?c=255:c>>=4,(l=(i=i+n+1>>1)+(s=f))<16?l=0:l>=4080?l=255:l>>=4,(h=(n=i-n)+o)<16?h=0:h>=4080?h=255:h>>=4,(u=(r=a-r)+g)<16?u=0:u>=4080?u=255:u>>=4,(C=r-g)<16?C=0:C>=4080?C=255:C>>=4,(B=n-o)<16?B=0:B>=4080?B=255:B>>=4,(Q=i-s)<16?Q=0:Q>=4080?Q=255:Q>>=4,(E=a-I)<16?E=0:E>=4080?E=255:E>>=4,y[e+m]=c,y[e+m+8]=l,y[e+m+16]=h,y[e+m+24]=u,y[e+m+32]=C,y[e+m+40]=B,y[e+m+48]=Q,y[e+m+56]=E):(f=(f=$a*c+8192>>14)<-2040?0:f>=2024?255:f+2056>>4,y[e+m]=f,y[e+m+8]=f,y[e+m+16]=f,y[e+m+24]=f,y[e+m+32]=f,y[e+m+40]=f,y[e+m+48]=f,y[e+m+56]=f)}function ni(A,e){for(var t=e.blocksPerLine,a=e.blocksPerColumn,i=new Int16Array(64),n=0;n<a;n++)for(var r=0;r<t;r++)ii(e,ti(e,n,r),i);return e.blockData}function ri(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=A.length-1,i=t<e?t:e;if(e>=a)return null;var n=fe(A,e);if(n>=65472&&n<=65534)return{invalid:null,marker:n,offset:e};for(var r=fe(A,i);!(r>=65472&&r<=65534);){if(++i>=a)return null;r=fe(A,i)}return{invalid:n.toString(16),marker:r,offset:i}}var gi,oi,si=function(){return b((function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.decodeTransform,a=void 0===t?null:t,i=e.colorTransform,n=void 0===i?-1:i;F(this,A),this._decodeTransform=a,this._colorTransform=n}),[{key:"parse",value:function(A){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).dnlScanLines,t=void 0===e?null:e;function a(){var e=fe(A,g),t=(g+=2)+e-2,a=ri(A,t,g);null!=a&&a.invalid&&(uA("readDataBlock - incorrect length, current marker is: "+a.invalid),t=a.offset);var i=A.subarray(g,t);return g+=i.length,i}function i(A){var e,t=Math.ceil(A.samplesPerLine/8/A.maxH),a=Math.ceil(A.scanLines/8/A.maxV),i=m(A.components);try{for(i.s();!(e=i.n()).done;){var n=e.value,r=Math.ceil(Math.ceil(A.samplesPerLine/8)*n.h/A.maxH),g=Math.ceil(Math.ceil(A.scanLines/8)*n.v/A.maxV),o=t*n.h,s=a*n.v*64*(o+1);n.blockData=new Int16Array(s),n.blocksPerLine=r,n.blocksPerColumn=g}}catch(A){i.e(A)}finally{i.f()}A.mcusPerLine=t,A.mcusPerColumn=a}var n,r,g=0,o=null,s=null,I=0,c=[],l=[],h=[],u=fe(A,g);if(g+=2,65496!==u)throw new Ta("SOI not found");u=fe(A,g),g+=2;A:for(;65497!==u;){var C=void 0,B=void 0,Q=void 0;switch(u){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 E=a();65504===u&&74===E[0]&&70===E[1]&&73===E[2]&&70===E[3]&&0===E[4]&&(o={version:{major:E[5],minor:E[6]},densityUnits:E[7],xDensity:E[8]<<8|E[9],yDensity:E[10]<<8|E[11],thumbWidth:E[12],thumbHeight:E[13],thumbData:E.subarray(14,14+3*E[12]*E[13])}),65518===u&&65===E[0]&&100===E[1]&&111===E[2]&&98===E[3]&&101===E[4]&&(s={version:E[5]<<8|E[6],flags0:E[7]<<8|E[8],flags1:E[9]<<8|E[10],transformCode:E[11]});break;case 65499:for(var f=fe(A,g)+(g+=2)-2;g<f;){var d=A[g++],y=new Uint16Array(64);if(d>>4){if(d>>4!=1)throw new Ta("DQT - invalid table spec");for(B=0;B<64;B++)y[Za[B]]=fe(A,g),g+=2}else for(B=0;B<64;B++)y[Za[B]]=A[g++];c[15&d]=y}break;case 65472:case 65473:case 65474:if(n)throw new Ta("Only single frame JPEGs supported");g+=2,(n={}).extended=65473===u,n.progressive=65474===u,n.precision=A[g++];var p=fe(A,g);g+=2,n.scanLines=t||p,n.samplesPerLine=fe(A,g),g+=2,n.components=[],n.componentIds={};var k=A[g++],v=0,w=0;for(C=0;C<k;C++){var b=A[g],D=A[g+1]>>4,F=15&A[g+1];v<D&&(v=D),w<F&&(w=F);var S=A[g+2];Q=n.components.push({h:D,v:F,quantizationId:S,quantizationTable:null}),n.componentIds[b]=Q-1,g+=3}n.maxH=v,n.maxV=w,i(n);break;case 65476:var R=fe(A,g);for(g+=2,C=2;C<R;){var N=A[g++],G=new Uint8Array(16),x=0;for(B=0;B<16;B++,g++)x+=G[B]=A[g];var U=new Uint8Array(x);for(B=0;B<x;B++,g++)U[B]=A[g];C+=17+x,(N>>4?l:h)[15&N]=ei(G,U)}break;case 65501:r=fe(A,g+=2),g+=2;break;case 65498:var M=1==++I&&!t;g+=2;var J=A[g++],L=[];for(C=0;C<J;C++){var H=A[g++],Y=n.componentIds[H],K=n.components[Y];K.index=H;var q=A[g++];K.huffmanTableDC=h[q>>4],K.huffmanTableAC=l[15&q],L.push(K)}var T=A[g++],P=A[g++],W=A[g++];try{var Z=ai(A,g,n,L,r,T,P,W>>4,15&W,M);g+=Z}catch(e){if(e instanceof Pa)return uA("".concat(e.message," -- attempting to re-parse the JPEG image.")),this.parse(A,{dnlScanLines:e.scanLines});if(e instanceof Wa){uA("".concat(e.message," -- ignoring the rest of the image data."));break A}throw e}break;case 65500:g+=4;break;case 65535:255!==A[g]&&g--;break;default:var O=ri(A,g-2,g-3);if(null!=O&&O.invalid){uA("JpegImage.parse - unexpected data, current marker is: "+O.invalid),g=O.offset;break}if(!O||g>=A.length-1){uA("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break A}throw new Ta("JpegImage.parse - unknown marker: "+u.toString(16))}u=fe(A,g),g+=2}if(!n)throw new Ta("JpegImage.parse - no frame data found.");this.width=n.samplesPerLine,this.height=n.scanLines,this.jfif=o,this.adobe=s,this.components=[];var X,V=m(n.components);try{for(V.s();!(X=V.n()).done;){var j=X.value,z=c[j.quantizationId];z&&(j.quantizationTable=z),this.components.push({index:j.index,output:ni(0,j),scaleX:j.h/n.maxH,scaleY:j.v/n.maxV,blocksPerLine:j.blocksPerLine,blocksPerColumn:j.blocksPerColumn})}}catch(A){V.e(A)}finally{V.f()}this.numComponents=this.components.length}},{key:"_getLinearizedBlockData",value:function(A,e){var t,a,i,n,r,g,o,s,I,c,l,h,u=arguments.length>2&&void 0!==arguments[2]&&arguments[2],C=this.width/A,B=this.height/e,Q=0,E=this.components.length,f=A*e*E,d=new Uint8ClampedArray(f),y=new Uint32Array(A),p=4294967288;for(o=0;o<E;o++){if(a=(t=this.components[o]).scaleX*C,i=t.scaleY*B,Q=o,l=t.output,n=t.blocksPerLine+1<<3,a!==h){for(r=0;r<A;r++)s=0|r*a,y[r]=(s&p)<<3|7&s;h=a}for(g=0;g<e;g++)for(c=n*((s=0|g*i)&p)|(7&s)<<3,r=0;r<A;r++)d[Q]=l[c+y[r]],Q+=E}var m=this._decodeTransform;if(u||4!==E||m||(m=new Int32Array([-256,255,-256,255,-256,255,-256,255])),m)for(o=0;o<f;)for(s=0,I=0;s<E;s++,o++,I+=2)d[o]=(d[o]*m[I]>>8)+m[I+1];return d}},{key:"_isColorConversionNeeded",get:function(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this._colorTransform&&(82!==this.components[0].index||71!==this.components[1].index||66!==this.components[2].index):1===this._colorTransform}},{key:"_convertYccToRgb",value:function(A){for(var e,t,a,i=0,n=A.length;i<n;i+=3)e=A[i],t=A[i+1],a=A[i+2],A[i]=e-179.456+1.402*a,A[i+1]=e+135.459-.344*t-.714*a,A[i+2]=e-226.816+1.772*t;return A}},{key:"_convertYccToRgba",value:function(A,e){for(var t=0,a=0,i=A.length;t<i;t+=3,a+=4){var n=A[t],r=A[t+1],g=A[t+2];e[a]=n-179.456+1.402*g,e[a+1]=n+135.459-.344*r-.714*g,e[a+2]=n-226.816+1.772*r,e[a+3]=255}return e}},{key:"_convertYcckToRgb",value:function(A){for(var e,t,a,i,n=0,r=0,g=A.length;r<g;r+=4)e=A[r],t=A[r+1],a=A[r+2],i=A[r+3],A[n++]=t*(-660635669420364e-19*t+.000437130475926232*a-54080610064599e-18*e+.00048449797120281*i-.154362151871126)-122.67195406894+a*(-.000957964378445773*a+.000817076911346625*e-.00477271405408747*i+1.53380253221734)+e*(.000961250184130688*e-.00266257332283933*i+.48357088451265)+i*(-.000336197177618394*i+.484791561490776),A[n++]=107.268039397724+t*(219927104525741e-19*t-.000640992018297945*a+.000659397001245577*e+.000426105652938837*i-.176491792462875)+a*(-.000778269941513683*a+.00130872261408275*e+.000770482631801132*i-.151051492775562)+e*(.00126935368114843*e-.00265090189010898*i+.25802910206845)+i*(-.000318913117588328*i-.213742400323665),A[n++]=t*(-.000570115196973677*t-263409051004589e-19*a+.0020741088115012*e-.00288260236853442*i+.814272968359295)-20.810012546947+a*(-153496057440975e-19*a-.000132689043961446*e+.000560833691242812*i-.195152027534049)+e*(.00174418132927582*e-.00255243321439347*i+.116935020465145)+i*(-.000343531996510555*i+.24165260232407);return A.subarray(0,n)}},{key:"_convertYcckToRgba",value:function(A){for(var e=0,t=A.length;e<t;e+=4){var a=A[e],i=A[e+1],n=A[e+2],r=A[e+3];A[e]=i*(-660635669420364e-19*i+.000437130475926232*n-54080610064599e-18*a+.00048449797120281*r-.154362151871126)-122.67195406894+n*(-.000957964378445773*n+.000817076911346625*a-.00477271405408747*r+1.53380253221734)+a*(.000961250184130688*a-.00266257332283933*r+.48357088451265)+r*(-.000336197177618394*r+.484791561490776),A[e+1]=107.268039397724+i*(219927104525741e-19*i-.000640992018297945*n+.000659397001245577*a+.000426105652938837*r-.176491792462875)+n*(-.000778269941513683*n+.00130872261408275*a+.000770482631801132*r-.151051492775562)+a*(.00126935368114843*a-.00265090189010898*r+.25802910206845)+r*(-.000318913117588328*r-.213742400323665),A[e+2]=i*(-.000570115196973677*i-263409051004589e-19*n+.0020741088115012*a-.00288260236853442*r+.814272968359295)-20.810012546947+n*(-153496057440975e-19*n-.000132689043961446*a+.000560833691242812*r-.195152027534049)+a*(.00174418132927582*a-.00255243321439347*r+.116935020465145)+r*(-.000343531996510555*r+.24165260232407),A[e+3]=255}return A}},{key:"_convertYcckToCmyk",value:function(A){for(var e,t,a,i=0,n=A.length;i<n;i+=4)e=A[i],t=A[i+1],a=A[i+2],A[i]=434.456-e-1.402*a,A[i+1]=119.541-e+.344*t+.714*a,A[i+2]=481.816-e-1.772*t;return A}},{key:"_convertCmykToRgb",value:function(A){for(var e,t,a,i,n=0,r=0,g=A.length;r<g;r+=4)e=A[r],t=A[r+1],a=A[r+2],i=A[r+3],A[n++]=255+e*(-6747147073602441e-20*e+.0008379262121013727*t+.0002894718188643294*a+.003264231057537806*i-1.1185611867203937)+t*(26374107616089405e-21*t-8626949158638572e-20*a-.0002748769067499491*i-.02155688794978967)+a*(-3878099212869363e-20*a-.0003267808279485286*i+.0686742238595345)-i*(.0003361971776183937*i+.7430659151342254),A[n++]=255+e*(.00013596372813588848*e+.000924537132573585*t+.00010567359618683593*a+.0004791864687436512*i-.3109689587515875)+t*(-.00023545346108370344*t+.0002702845253534714*a+.0020200308977307156*i-.7488052167015494)+a*(6834815998235662e-20*a+.00015168452363460973*i-.09751927774728933)-i*(.0003189131175883281*i+.7364883807733168),A[n++]=255+e*(13598650411385307e-21*e+.00012423956175490851*t+.0004751985097583589*a-36729317476630422e-22*i-.05562186980264034)+t*(.00016141380598724676*t+.0009692239130725186*a+.0007782692450036253*i-.44015232367526463)+a*(5.068882914068769e-7*a+.0017778369011375071*i-.7591454649749609)-i*(.0003435319965105553*i+.7063770186160144);return A.subarray(0,n)}},{key:"_convertCmykToRgba",value:function(A){for(var e=0,t=A.length;e<t;e+=4){var a=A[e],i=A[e+1],n=A[e+2],r=A[e+3];A[e]=255+a*(-6747147073602441e-20*a+.0008379262121013727*i+.0002894718188643294*n+.003264231057537806*r-1.1185611867203937)+i*(26374107616089405e-21*i-8626949158638572e-20*n-.0002748769067499491*r-.02155688794978967)+n*(-3878099212869363e-20*n-.0003267808279485286*r+.0686742238595345)-r*(.0003361971776183937*r+.7430659151342254),A[e+1]=255+a*(.00013596372813588848*a+.000924537132573585*i+.00010567359618683593*n+.0004791864687436512*r-.3109689587515875)+i*(-.00023545346108370344*i+.0002702845253534714*n+.0020200308977307156*r-.7488052167015494)+n*(6834815998235662e-20*n+.00015168452363460973*r-.09751927774728933)-r*(.0003189131175883281*r+.7364883807733168),A[e+2]=255+a*(13598650411385307e-21*a+.00012423956175490851*i+.0004751985097583589*n-36729317476630422e-22*r-.05562186980264034)+i*(.00016141380598724676*i+.0009692239130725186*n+.0007782692450036253*r-.44015232367526463)+n*(5.068882914068769e-7*n+.0017778369011375071*r-.7591454649749609)-r*(.0003435319965105553*r+.7063770186160144),A[e+3]=255}return A}},{key:"getData",value:function(A){var e=A.width,t=A.height,a=A.forceRGBA,i=void 0!==a&&a,n=A.forceRGB,r=void 0!==n&&n,g=A.isSourcePDF,o=void 0!==g&&g;if(this.numComponents>4)throw new Ta("Unsupported color mode");var s=this._getLinearizedBlockData(e,t,o);if(1===this.numComponents&&(i||r)){var I=s.length*(i?4:3),c=new Uint8ClampedArray(I),l=0;if(i)!function(A,e){if(RA.isLittleEndian)for(var t=0,a=A.length;t<a;t++)e[t]=65793*A[t]|4278190080;else for(var i=0,n=A.length;i<n;i++)e[i]=16843008*A[i]|255}(s,new Uint32Array(c.buffer));else{var h,u=m(s);try{for(u.s();!(h=u.n()).done;){var C=h.value;c[l++]=C,c[l++]=C,c[l++]=C}}catch(A){u.e(A)}finally{u.f()}}return c}if(3===this.numComponents&&this._isColorConversionNeeded){if(i){var B=new Uint8ClampedArray(s.length/3*4);return this._convertYccToRgba(s,B)}return this._convertYccToRgb(s)}if(4===this.numComponents){if(this._isColorConversionNeeded)return i?this._convertYcckToRgba(s):r?this._convertYcckToRgb(s):this._convertYcckToCmyk(s);if(i)return this._convertCmykToRgba(s);if(r)return this._convertCmykToRgb(s)}return s}}])}(),Ii=function(A){function e(A,t,a){var i,n;for(F(this,e);-1!==(n=A.getByte());)if(255===n){A.skip(-1);break}return(i=S(this,e,[t])).stream=A,i.dict=A.dict,i.maybeLength=t,i.params=a,i}return x(e,A),b(e,[{key:"bytes",get:function(){return EA(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(A){}},{key:"readBlock",value:function(){if(!this.eof){var A={decodeTransform:void 0,colorTransform:void 0},e=this.dict.getArray("D","Decode");if((this.forceRGBA||this.forceRGB)&&Array.isArray(e)){for(var t=this.dict.get("BPC","BitsPerComponent")||8,a=e.length,i=new Int32Array(a),n=!1,r=(1<<t)-1,g=0;g<a;g+=2)i[g]=256*(e[g+1]-e[g])|0,i[g+1]=e[g]*r|0,256===i[g]&&0===i[g+1]||(n=!0);n&&(A.decodeTransform=i)}if(this.params instanceof _A){var o=this.params.get("ColorTransform");Number.isInteger(o)&&(A.colorTransform=o)}var s=new si(A);s.parse(this.bytes);var I=s.getData({width:this.drawWidth,height:this.drawHeight,forceRGBA:this.forceRGBA,forceRGB:this.forceRGB,isSourcePDF:!0});this.buffer=I,this.bufferLength=I.length,this.eof=!0}}}])}(Yt),ci=(oi="undefined"!=typeof document?null===(gi=document.currentScript)||void 0===gi?void 0:gi.src:void 0,function(){var A,e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=Object.assign({},t);new Promise((function(t,a){A=t,e=a})),a.decode=function(A,e){var t=A.length,i=a._malloc(t);a.HEAPU8.set(A,i);var n=a._jp2_decode(i,t,e?1:0);if(a._free(i),n){var r=a.errorMessages;return r?(delete a.errorMessages,r):"Unknown error"}var g=a.imageData;return a.imageData=null,g};var i=Object.assign({},a),n="./this.program",r="";"undefined"!=typeof document&&document.currentScript&&(r=document.currentScript.src),oi&&(r=oi),r=r.startsWith("blob:")?"":r.substr(0,r.replace(/[?#].*/,"").lastIndexOf("/")+1);var g,o,s,I,c,l=a.print||console.log.bind(console),h=a.printErr||console.error.bind(console);function u(){var A=o.buffer;a.HEAP8=s=new Int8Array(A),a.HEAP16=new Int16Array(A),a.HEAPU8=I=new Uint8Array(A),a.HEAPU16=new Uint16Array(A),a.HEAP32=new Int32Array(A),a.HEAPU32=c=new Uint32Array(A),a.HEAPF32=new Float32Array(A),a.HEAPF64=new Float64Array(A)}Object.assign(a,i),i=null,a.arguments&&a.arguments,a.thisProgram&&(n=a.thisProgram),a.quit&&a.quit,a.wasmBinary&&(g=a.wasmBinary);var C,B=[],Q=[],E=[],f=0,d=null,y=null,p="data:application/octet-stream;base64,",m=function(A){return A.startsWith(p)};function k(A,e){var t,a=function(A){if(A==C&&g)return new Uint8Array(g);var e=function(A){if(m(A))return function(A){for(var e=atob(A),t=new Uint8Array(e.length),a=0;a<e.length;++a)t[a]=e.charCodeAt(a);return t}(A.slice(p.length))}(A);if(e)return e;throw'sync fetching of the wasm failed: you can preload it to Module["wasmBinary"] manually, or emcc.py will do that for you when generating HTML (but not JS)'}(A);return t=new WebAssembly.Module(a),[new WebAssembly.Instance(t,e),t]}var v,w=function(A){for(;A.length>0;)A.shift()(a)},b=(a.noExitRuntime,function(A){var e=(A-o.buffer.byteLength+65535)/65536;try{return o.grow(e),u(),1}catch(A){}}),D={},F=function A(){if(!A.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==("undefined"==typeof navigator?"undefined":M(navigator))&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:n||"./this.program"};for(var t in D)void 0===D[t]?delete e[t]:e[t]=D[t];var a=[];for(var t in e)a.push("".concat(t,"=").concat(e[t]));A.strings=a}return A.strings},S=[null,[],[]],R="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,N=function(A,e,t){for(var a=e+t,i=e;A[i]&&!(i>=a);)++i;if(i-e>16&&A.buffer&&R)return R.decode(A.subarray(e,i));for(var n="";e<i;){var r=A[e++];if(128&r){var g=63&A[e++];if(192!=(224&r)){var o=63&A[e++];if((r=224==(240&r)?(15&r)<<12|g<<6|o:(7&r)<<18|g<<12|o<<6|63&A[e++])<65536)n+=String.fromCharCode(r);else{var s=r-65536;n+=String.fromCharCode(55296|s>>10,56320|1023&s)}}else n+=String.fromCharCode((31&r)<<6|g)}else n+=String.fromCharCode(r)}return n},G=function(A,e){return A?N(I,A,e):""},x={f:function(A,e,t){return I.copyWithin(A,e,e+t)},b:function(A){var e=I.length,t=2147483648;if((A>>>=0)>t)return!1;for(var a,i=1;i<=4;i*=2){var n=e*(1+.2/i);n=Math.min(n,A+100663296);var r=Math.min(t,(a=Math.max(A,n))+(65536-a%65536)%65536);if(b(r))return!0}return!1},c:function(A,e){var t=0;return F().forEach((function(a,i){var n=e+t;c[A+4*i>>2]=n,function(A,e){for(var t=0;t<A.length;++t)s[e++]=A.charCodeAt(t);s[e]=0}(a,n),t+=a.length+1})),0},d:function(A,e){var t=F();c[A>>2]=t.length;var a=0;return t.forEach((function(A){return a+=A.length+1})),c[e>>2]=a,0},e:function(A,e,t,a){for(var i,n,r,g=0,o=0;o<t;o++){var s=c[e>>2],u=c[e+4>>2];e+=8;for(var C=0;C<u;C++)i=A,n=I[s+C],r=void 0,r=S[i],0===n||10===n?((1===i?l:h)(N(r,0)),r.length=0):r.push(n);g+=u}return c[a>>2]=g,0},g:function(A){var e=G(A);(a.warn||console.warn)("OpenJPEG: ".concat(e))},h:function(A,e){a.imageData=new Uint8ClampedArray(a.HEAPU8.subarray(A,A+e))},a:function(A){var e=G(A);a.errorMessages?a.errorMessages+="\n"+e:a.errorMessages=e}},U=function(){var A,t={a:x};function i(A,e){var t;return U=A.exports,o=U.i,u(),t=U.j,Q.unshift(t),function(A){var e;if(f--,null===(e=a.monitorRunDependencies)||void 0===e||e.call(a,f),0==f&&(null!==d&&(clearInterval(d),d=null),y)){var t=y;y=null,t()}}(),U}if(f++,null===(A=a.monitorRunDependencies)||void 0===A||A.call(a,f),a.instantiateWasm)try{return a.instantiateWasm(t,i)}catch(A){h("Module.instantiateWasm callback failed with error: ".concat(A)),e(A)}return C||(C="data:application/octet-stream;base64, "),i(k(C,t)[0])}();function J(){function e(){v||(v=!0,a.calledRun=!0,w(Q),A(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),function(){if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)A=a.postRun.shift(),E.unshift(A);var A;w(E)}())}f>0||(function(){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)A=a.preRun.shift(),B.unshift(A);var A;w(B)}(),f>0||(a.setStatus?(a.setStatus("Running..."),setTimeout((function(){setTimeout((function(){a.setStatus("")}),1),e()}),1)):e()))}if(U.j,a._malloc=U.k,a._free=U.l,a._jp2_decode=U.n,U._emscripten_stack_restore,U._emscripten_stack_alloc,U.emscripten_stack_get_current,y=function A(){v||J(),v||(y=A)},a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);a.preInit.length>0;)a.preInit.pop()();return J(),a}),li=ci,hi=function(A){function e(A){return F(this,e),S(this,e,[A,"JpxError"])}return x(e,A),b(e)}(fA),ui=function(){function A(){F(this,A)}return b(A,null,[{key:"decode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];f(A,this,Ci)._||(Ci._=f(A,this,li({warn:uA})));var a=f(A,this,Ci)._.decode(e,t);if("string"==typeof a)throw new hi(a);return a}},{key:"cleanup",value:function(){Ci._=f(A,this,null)}},{key:"parseImageProperties",value:function(A){for(var e=A.getByte();e>=0;)if(65361==(e<<8|(e=A.getByte()))){A.skip(4);var t=A.getInt32()>>>0,a=A.getInt32()>>>0,i=A.getInt32()>>>0,n=A.getInt32()>>>0;return A.skip(16),{width:t-i,height:a-n,bitsPerComponent:8,componentsCount:A.getUint16()}}throw new hi("No size marker found in JPX stream")}}])}(),Ci={_:null},Bi=function(A){function e(A,t,a){var i;return F(this,e),(i=S(this,e,[t])).stream=A,i.dict=A.dict,i.maybeLength=t,i.params=a,i}return x(e,A),b(e,[{key:"bytes",get:function(){return EA(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(A){}},{key:"readBlock",value:function(A){this.eof||(this.buffer=ui.decode(this.bytes,A),this.bufferLength=this.buffer.length,this.eof=!0)}}])}(Yt),Qi=function(A){function e(A,t,a){var i;F(this,e),(i=S(this,e,[t])).str=A,i.dict=A.dict,i.cachedData=0,i.bitsCached=0;for(var n=4096,r={earlyChange:a,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(n),dictionaryLengths:new Uint16Array(n),dictionaryPrevCodes:new Uint16Array(n),currentSequence:new Uint8Array(n),currentSequenceLength:0},g=0;g<256;++g)r.dictionaryValues[g]=g,r.dictionaryLengths[g]=1;return i.lzwState=r,i}return x(e,A),b(e,[{key:"readBits",value:function(A){for(var e=this.bitsCached,t=this.cachedData;e<A;){var a=this.str.getByte();if(-1===a)return this.eof=!0,null;t=t<<8|a,e+=8}return this.bitsCached=e-=A,this.cachedData=t,this.lastCode=null,t>>>e&(1<<A)-1}},{key:"readBlock",value:function(){var A,e,t,a=1024,i=this.lzwState;if(i){var n=i.earlyChange,r=i.nextCode,g=i.dictionaryValues,o=i.dictionaryLengths,s=i.dictionaryPrevCodes,I=i.codeLength,c=i.prevCode,l=i.currentSequence,h=i.currentSequenceLength,u=0,C=this.bufferLength,B=this.ensureBuffer(this.bufferLength+a);for(A=0;A<512;A++){var Q=this.readBits(I),E=h>0;if(Q<256)l[0]=Q,h=1;else{if(!(Q>=258)){if(256===Q){I=9,r=258,h=0;continue}this.eof=!0,delete this.lzwState;break}if(Q<r)for(e=(h=o[Q])-1,t=Q;e>=0;e--)l[e]=g[t],t=s[t];else l[h++]=l[0]}if(E&&(s[r]=c,o[r]=o[c]+1,g[r]=l[0],I=++r+n&r+n-1?I:0|Math.min(Math.log(r+n)/.6931471805599453+1,12)),c=Q,a<(u+=h)){do{a+=512}while(a<u);B=this.ensureBuffer(this.bufferLength+a)}for(e=0;e<h;e++)B[C++]=l[e]}i.nextCode=r,i.codeLength=I,i.prevCode=c,i.currentSequenceLength=h,this.bufferLength=C}}}])}(Yt),Ei=function(A){function e(A,t,a){var i;if(F(this,e),i=S(this,e,[t]),!(a instanceof _A))return R(i,A);var n=i.predictor=a.get("Predictor")||1;if(n<=1)return R(i,A);if(2!==n&&(n<10||n>15))throw new vA("Unsupported predictor: ".concat(n));i.readBlock=2===n?i.readBlockTiff:i.readBlockPng,i.str=A,i.dict=A.dict;var r=i.colors=a.get("Colors")||1,g=i.bits=a.get("BPC","BitsPerComponent")||8,o=i.columns=a.get("Columns")||1;return i.pixBytes=r*g+7>>3,i.rowBytes=o*r*g+7>>3,R(i,i)}return x(e,A),b(e,[{key:"readBlockTiff",value:function(){var A=this.rowBytes,e=this.bufferLength,t=this.ensureBuffer(e+A),a=this.bits,i=this.colors,n=this.str.getBytes(A);if(this.eof=!n.length,!this.eof){var r,g=0,o=0,s=0,I=0,c=e;if(1===a&&1===i)for(r=0;r<A;++r){var l=n[r]^g;l^=l>>1,l^=l>>2,g=(1&(l^=l>>4))<<7,t[c++]=l}else if(8===a){for(r=0;r<i;++r)t[c++]=n[r];for(;r<A;++r)t[c]=t[c-i]+n[r],c++}else if(16===a){var h=2*i;for(r=0;r<h;++r)t[c++]=n[r];for(;r<A;r+=2){var u=((255&n[r])<<8)+(255&n[r+1])+((255&t[c-h])<<8)+(255&t[c-h+1]);t[c++]=u>>8&255,t[c++]=255&u}}else{var C=new Uint8Array(i+1),B=(1<<a)-1,Q=0,E=e,f=this.columns;for(r=0;r<f;++r)for(var d=0;d<i;++d)s<a&&(g=g<<8|255&n[Q++],s+=8),C[d]=C[d]+(g>>s-a)&B,s-=a,o=o<<a|C[d],(I+=a)>=8&&(t[E++]=o>>I-8&255,I-=8);I>0&&(t[E++]=(o<<8-I)+(g&(1<<8-I)-1))}this.bufferLength+=A}}},{key:"readBlockPng",value:function(){var A=this.rowBytes,e=this.pixBytes,t=this.str.getByte(),a=this.str.getBytes(A);if(this.eof=!a.length,!this.eof){var i=this.bufferLength,n=this.ensureBuffer(i+A),r=n.subarray(i-A,i);0===r.length&&(r=new Uint8Array(A));var g,o,s,I=i;switch(t){case 0:for(g=0;g<A;++g)n[I++]=a[g];break;case 1:for(g=0;g<e;++g)n[I++]=a[g];for(;g<A;++g)n[I]=n[I-e]+a[g]&255,I++;break;case 2:for(g=0;g<A;++g)n[I++]=r[g]+a[g]&255;break;case 3:for(g=0;g<e;++g)n[I++]=(r[g]>>1)+a[g];for(;g<A;++g)n[I]=(r[g]+n[I-e]>>1)+a[g]&255,I++;break;case 4:for(g=0;g<e;++g)o=r[g],s=a[g],n[I++]=o+s;for(;g<A;++g){o=r[g];var c=r[g-e],l=n[I-e],h=l+o-c,u=h-l;u<0&&(u=-u);var C=h-o;C<0&&(C=-C);var B=h-c;B<0&&(B=-B),s=a[g],n[I++]=u<=C&&u<=B?l+s:C<=B?o+s:c+s}break;default:throw new vA("Unsupported predictor: ".concat(t))}this.bufferLength+=A}}}])}(Yt),fi=function(A){function e(A,t){var a;return F(this,e),(a=S(this,e,[t])).str=A,a.dict=A.dict,a}return x(e,A),b(e,[{key:"readBlock",value:function(){var A=this.str.getBytes(2);if(!A||A.length<2||128===A[0])this.eof=!0;else{var e,t=this.bufferLength,a=A[0];if(a<128){if((e=this.ensureBuffer(t+a+1))[t++]=A[1],a>0){var i=this.str.getBytes(a);e.set(i,t),t+=a}}else{a=257-a;var n=A[1];e=this.ensureBuffer(t+a+1);for(var r=0;r<a;r++)e[t++]=n}this.bufferLength=t}}}])}(Yt),di=new WeakSet,yi=function(){return b((function A(e){var t=e.lexer,a=e.xref,i=e.allowStreams,n=void 0!==i&&i,r=e.recoveryMode,g=void 0!==r&&r;F(this,A),l(this,di),this.lexer=t,this.xref=a,this.allowStreams=n,this.recoveryMode=g,this.imageCache=Object.create(null),this._imageId=0,this.refill()}),[{key:"refill",value:function(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()}},{key:"shift",value:function(){this.buf2 instanceof jA&&"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(A){if(A instanceof se)throw A;return!1}}},{key:"getObj",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.buf1;if(this.shift(),e instanceof jA)switch(e.cmd){case"BI":return this.makeInlineImage(A);case"[":for(var t=[];!ae(this.buf1,"]")&&this.buf1!==WA;)t.push(this.getObj(A));if(this.buf1===WA){if(this.recoveryMode)return t;throw new Ie("End of file inside array.")}return this.shift(),t;case"<<":for(var a=new _A(this.xref);!ae(this.buf1,">>")&&this.buf1!==WA;)if(this.buf1 instanceof VA){var i=this.buf1.name;if(this.shift(),this.buf1===WA)break;a.set(i,this.getObj(A))}else hA("Malformed dictionary: key must be a name object"),this.shift();if(this.buf1===WA){if(this.recoveryMode)return a;throw new Ie("End of file inside dictionary.")}return ae(this.buf2,"stream")?this.allowStreams?this.makeStream(a,A):a:(this.shift(),a);default:return e}if(Number.isInteger(e)){if(Number.isInteger(this.buf1)&&ae(this.buf2,"R")){var n=$A.get(e,this.buf1);return this.shift(),this.shift(),n}return e}return"string"==typeof e&&A?A.decryptString(e):e}},{key:"findDefaultInlineStreamEnd",value:function(A){for(var e,t,a=this.lexer.knownCommands,i=A.pos,n=0;-1!==(e=A.getByte());)if(0===n)n=69===e?1:0;else if(1===n)n=73===e?2:0;else if(32===e||10===e||13===e){t=A.pos;var r=A.peekBytes(15),g=r.length;if(0===g)break;for(var o=0;o<g;o++)if((0!==(e=r[o])||0===r[o+1])&&10!==e&&13!==e&&(e<32||e>127)){n=0;break}if(2!==n)continue;if(!a){uA("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");continue}var s=new vi(new Pe(r.slice()),a);s._hexStringWarn=function(){};for(var I=0;;){var c=s.getObj();if(c===WA){n=0;break}if(c instanceof jA){var l=a[c.cmd];if(!l){n=0;break}if(l.variableArgs?I<=l.numArgs:I===l.numArgs)break;I=0}else I++}if(2===n)break}else n=0;-1===e&&(uA("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),t&&(uA('... trying to recover by using the last "EI" occurrence.'),A.skip(-(A.pos-t))));var h=4;return A.skip(-h),e=A.peekByte(),A.skip(h),ye(e)||h--,A.pos-h-i}},{key:"findDCTDecodeInlineStreamEnd",value:function(A){for(var e,t,a=A.pos,i=!1;-1!==(e=A.getByte());)if(255===e){switch(A.getByte()){case 0:break;case 255:A.skip(-1);break;case 217:i=!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:(t=A.getUint16())>2?A.skip(t-2):A.skip(-2)}if(i)break}var n=A.pos-a;return-1===e?(uA("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),A.skip(-n),this.findDefaultInlineStreamEnd(A)):(this.inlineStreamSkipEI(A),n)}},{key:"findASCII85DecodeInlineStreamEnd",value:function(A){for(var e,t=A.pos;-1!==(e=A.getByte());)if(126===e){var a=A.pos;for(e=A.peekByte();ye(e);)A.skip(),e=A.peekByte();if(62===e){A.skip();break}if(A.pos>a){var i=A.peekBytes(2);if(69===i[0]&&73===i[1])break}}var n=A.pos-t;return-1===e?(uA("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),A.skip(-n),this.findDefaultInlineStreamEnd(A)):(this.inlineStreamSkipEI(A),n)}},{key:"findASCIIHexDecodeInlineStreamEnd",value:function(A){for(var e,t=A.pos;-1!==(e=A.getByte())&&62!==e;);var a=A.pos-t;return-1===e?(uA("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),A.skip(-a),this.findDefaultInlineStreamEnd(A)):(this.inlineStreamSkipEI(A),a)}},{key:"inlineStreamSkipEI",value:function(A){for(var e,t=0;-1!==(e=A.getByte());)if(0===t)t=69===e?1:0;else if(1===t)t=73===e?2:0;else if(2===t)break}},{key:"makeInlineImage",value:function(A){for(var e,t=this.lexer,a=t.stream,i=Object.create(null);!ae(this.buf1,"ID")&&this.buf1!==WA;){if(!(this.buf1 instanceof VA))throw new vA("Dictionary key must be a name object");var n=this.buf1.name;if(this.shift(),this.buf1===WA)break;i[n]=this.getObj(A)}-1!==t.beginInlineImagePos&&(e=a.pos-t.beginInlineImagePos);var r,g=this.xref.fetchIfRef(i.F||i.Filter);if(g instanceof VA)r=g.name;else if(Array.isArray(g)){var o=this.xref.fetchIfRef(g[0]);o instanceof VA&&(r=o.name)}var s,I,c=a.pos;switch(r){case"DCT":case"DCTDecode":s=this.findDCTDecodeInlineStreamEnd(a);break;case"A85":case"ASCII85Decode":s=this.findASCII85DecodeInlineStreamEnd(a);break;case"AHx":case"ASCIIHexDecode":s=this.findASCIIHexDecodeInlineStreamEnd(a);break;default:s=this.findDefaultInlineStreamEnd(a)}if(s<1e3&&e>0){var l=a.pos;a.pos=t.beginInlineImagePos,I=function(A){for(var e=[],t=A.length,a=0;a<t-1;)e.push(A[a++]<<8|A[a++]);return a<t&&e.push(A[a]),t+"_"+String.fromCharCode.apply(null,e)}(a.getBytes(e+s)),a.pos=l;var h=this.imageCache[I];if(void 0!==h)return this.buf2=jA.get("EI"),this.shift(),h.reset(),h}var u=new _A(this.xref);for(var C in i)u.set(C,i[C]);var B=a.makeSubStream(c,s,u);return A&&(B=A.createStream(B,s)),(B=this.filter(B,u,s)).dict=u,void 0!==I&&(B.cacheKey="inline_img_".concat(++this._imageId),this.imageCache[I]=B),this.buf2=jA.get("EI"),this.shift(),B}},{key:"makeStream",value:function(A,e){var t=this.lexer,a=t.stream;t.skipToNextLine();var i=a.pos-1,n=A.get("Length");if(Number.isInteger(n)||(hA('Bad length "'.concat(n&&n.toString(),'" in stream.')),n=0),a.pos=i+n,t.nextChar(),this.tryShift()&&ae(this.buf2,"endstream"))this.shift();else{if((n=f(di,this,pi).call(this,i))<0)throw new vA("Missing endstream command.");t.nextChar(),this.shift(),this.shift()}return this.shift(),a=a.makeSubStream(i,n,A),e&&(a=e.createStream(a,n)),(a=this.filter(a,A,n)).dict=A,a}},{key:"filter",value:function(A,e,t){var a=e.get("F","Filter"),i=e.get("DP","DecodeParms");if(a instanceof VA)return Array.isArray(i)&&uA("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(A,a.name,t,i);var n=t;if(Array.isArray(a))for(var r=a,g=i,o=0,s=r.length;o<s;++o){if(!((a=this.xref.fetchIfRef(r[o]))instanceof VA))throw new vA('Bad filter name "'.concat(a,'"'));i=null,Array.isArray(g)&&o in g&&(i=this.xref.fetchIfRef(g[o])),A=this.makeFilter(A,a.name,n,i),n=null}return A}},{key:"makeFilter",value:function(A,e,t,a){if(0===t)return uA('Empty "'.concat(e,'" stream.')),new Ze;try{switch(e){case"Fl":case"FlateDecode":return a?new Ei(new na(A,t),t,a):new na(A,t);case"LZW":case"LZWDecode":var i=1;return a?(a.has("EarlyChange")&&(i=a.get("EarlyChange")),new Ei(new Qi(A,t,i),t,a)):new Qi(A,t,i);case"DCT":case"DCTDecode":return new Ii(A,t,a);case"JPX":case"JPXDecode":return new Bi(A,t,a);case"A85":case"ASCII85Decode":return new qt(A,t);case"AHx":case"ASCIIHexDecode":return new Tt(A,t);case"CCF":case"CCITTFaxDecode":return new _t(A,t,a);case"RL":case"RunLengthDecode":return new fi(A,t);case"JBIG2Decode":return new Ka(A,t,a)}return uA('Filter "'.concat(e,'" is not supported.')),A}catch(A){if(A instanceof se)throw A;return uA('Invalid stream: "'.concat(A,'"')),new Ze}}}])}();function pi(A){var e=this.lexer.stream;e.pos=A;for(var t=new Uint8Array([101,110,100]),a=t.length,i=[new Uint8Array([115,116,114,101,97,109]),new Uint8Array([115,116,101,97,109]),new Uint8Array([115,116,114,101,97])],n=9-a;e.pos<e.end;){var r=e.peekBytes(2048),g=r.length-9;if(g<=0)break;for(var o=0;o<g;){for(var s=0;s<a&&r[o+s]===t[s];)s++;if(s>=a){var c,l=!1,h=m(i);try{for(h.s();!(c=h.n()).done;){for(var u=c.value,C=u.length,B=0;B<C&&r[o+s+B]===u[B];)B++;if(B>=n){l=!0;break}if(B>=C){ye(r[o+s+B])&&(hA('Found "'.concat(bA([].concat(I(t),I(u))),'" when ')+"searching for endstream command."),l=!0);break}}}catch(A){h.e(A)}finally{h.f()}if(l)return e.pos+=o,e.pos-A}o++}e.pos+=g}return-1}var mi=[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];function ki(A){return A>=48&&A<=57?15&A:A>=65&&A<=70||A>=97&&A<=102?9+(15&A):-1}var vi=function(){return b((function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;F(this,A),this.stream=e,this.nextChar(),this.strBuf=[],this.knownCommands=t,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}),[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"peekChar",value:function(){return this.stream.peekByte()}},{key:"getNumber",value:function(){var A=this.currentChar,e=!1,t=0,a=1;if(45===A?(a=-1,45===(A=this.nextChar())&&(A=this.nextChar())):43===A&&(A=this.nextChar()),10===A||13===A)do{A=this.nextChar()}while(10===A||13===A);if(46===A&&(t=10,A=this.nextChar()),A<48||A>57){var i="Invalid number: ".concat(String.fromCharCode(A)," (charCode ").concat(A,")");if(ye(A)||-1===A)return hA('Lexer.getNumber - "'.concat(i,'".')),0;throw new vA(i)}for(var n=A-48,r=0,g=1;(A=this.nextChar())>=0;)if(A>=48&&A<=57){var o=A-48;e?r=10*r+o:(0!==t&&(t*=10),n=10*n+o)}else if(46===A){if(0!==t)break;t=1}else if(45===A)uA("Badly formatted number: minus sign in the middle");else{if(69!==A&&101!==A)break;if(43===(A=this.peekChar())||45===A)g=45===A?-1:1,this.nextChar();else if(A<48||A>57)break;e=!0}return 0!==t&&(n/=t),e&&(n*=Math.pow(10,g*r)),a*n}},{key:"getString",value:function(){var A=1,e=!1,t=this.strBuf;t.length=0;for(var a=this.nextChar();;){var i=!1;switch(0|a){case-1:uA("Unterminated string"),e=!0;break;case 40:++A,t.push("(");break;case 41:0==--A?(this.nextChar(),e=!0):t.push(")");break;case 92:switch(a=this.nextChar()){case-1:uA("Unterminated string"),e=!0;break;case 110:t.push("\n");break;case 114:t.push("\r");break;case 116:t.push("\t");break;case 98:t.push("\b");break;case 102:t.push("\f");break;case 92:case 40:case 41:t.push(String.fromCharCode(a));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var n=15&a;i=!0,(a=this.nextChar())>=48&&a<=55&&(n=(n<<3)+(15&a),(a=this.nextChar())>=48&&a<=55&&(i=!1,n=(n<<3)+(15&a))),t.push(String.fromCharCode(n));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:t.push(String.fromCharCode(a))}break;default:t.push(String.fromCharCode(a))}if(e)break;i||(a=this.nextChar())}return t.join("")}},{key:"getName",value:function(){var A,e,t=this.strBuf;for(t.length=0;(A=this.nextChar())>=0&&!mi[A];)if(35===A){if(A=this.nextChar(),mi[A]){uA("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),t.push("#");break}var a=ki(A);if(-1!==a){e=A;var i=ki(A=this.nextChar());if(-1===i){if(uA("Lexer_getName: Illegal digit (".concat(String.fromCharCode(A),") ")+"in hexadecimal number."),t.push("#",String.fromCharCode(e)),mi[A])break;t.push(String.fromCharCode(A));continue}t.push(String.fromCharCode(a<<4|i))}else t.push("#",String.fromCharCode(A))}else t.push(String.fromCharCode(A));return t.length>127&&uA("Name token is longer than allowed by the spec: ".concat(t.length)),VA.get(t.join(""))}},{key:"_hexStringWarn",value:function(A){5!=this._hexStringNumWarn++?this._hexStringNumWarn>5||uA("getHexString - ignoring invalid character: ".concat(A)):uA("getHexString - ignoring additional invalid characters.")}},{key:"getHexString",value:function(){var A=this.strBuf;A.length=0;var e,t,a=this.currentChar,i=!0;for(this._hexStringNumWarn=0;;){if(a<0){uA("Unterminated hex string");break}if(62===a){this.nextChar();break}if(1!==mi[a]){if(i){if(-1===(e=ki(a))){this._hexStringWarn(a),a=this.nextChar();continue}}else{if(-1===(t=ki(a))){this._hexStringWarn(a),a=this.nextChar();continue}A.push(String.fromCharCode(e<<4|t))}i=!i,a=this.nextChar()}else a=this.nextChar()}return A.join("")}},{key:"getObj",value:function(){for(var A=!1,e=this.currentChar;;){if(e<0)return WA;if(A)10!==e&&13!==e||(A=!1);else if(37===e)A=!0;else if(1!==mi[e])break;e=this.nextChar()}switch(0|e){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(),jA.get("[");case 93:return this.nextChar(),jA.get("]");case 60:return 60===(e=this.nextChar())?(this.nextChar(),jA.get("<<")):this.getHexString();case 62:return 62===(e=this.nextChar())?(this.nextChar(),jA.get(">>")):jA.get(">");case 123:return this.nextChar(),jA.get("{");case 125:return this.nextChar(),jA.get("}");case 41:throw this.nextChar(),new vA("Illegal character: ".concat(e))}var t=String.fromCharCode(e);if(e<32||e>127){var a=this.peekChar();if(a>=32&&a<=127)return this.nextChar(),jA.get(t)}for(var i=this.knownCommands,n=void 0!==(null==i?void 0:i[t]);(e=this.nextChar())>=0&&!mi[e];){var r=t+String.fromCharCode(e);if(n&&void 0===i[r])break;if(128===t.length)throw new vA("Command token too long: ".concat(t.length));t=r,n=void 0!==(null==i?void 0:i[t])}return"true"===t||"false"!==t&&("null"===t?null:("BI"===t&&(this.beginInlineImagePos=this.stream.pos),jA.get(t)))}},{key:"skipToNextLine",value:function(){for(var A=this.currentChar;A>=0;){if(13===A){10===(A=this.nextChar())&&this.nextChar();break}if(10===A){this.nextChar();break}A=this.nextChar()}}}])}(),wi=function(){return b((function A(){F(this,A)}),null,[{key:"create",value:function(A){function e(A,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=A.get(e);if(Number.isInteger(a)&&(t?a>=0:a>0))return a;throw new Error('The "'.concat(e,'" parameter in the linearization ')+"dictionary is invalid.")}var t,a,i=new yi({lexer:new vi(A),xref:null}),n=i.getObj(),r=i.getObj(),g=i.getObj(),o=i.getObj();if(!(Number.isInteger(n)&&Number.isInteger(r)&&ae(g,"obj")&&o instanceof _A&&"number"==typeof(t=o.get("Linearized"))&&t>0))return null;if((a=e(o,"L"))!==A.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:a,hints:function(A){var e,t=A.get("H");if(Array.isArray(t)&&(2===(e=t.length)||4===e)){for(var a=0;a<e;a++){var i=t[a];if(!(Number.isInteger(i)&&i>0))throw new Error("Hint (".concat(a,") in the linearization dictionary is invalid."))}return t}throw new Error("Hint array in the linearization dictionary is invalid.")}(o),objectNumberFirst:e(o,"O"),endFirst:e(o,"E"),numPages:e(o,"N"),mainXRefEntriesOffset:e(o,"T"),pageFirst:o.has("P")?e(o,"P",!0):0}}}])}(),bi=["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"],Di=Math.pow(2,24)-1,Fi=function(){return b((function A(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];F(this,A),this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=e}),[{key:"addCodespaceRange",value:function(A,e,t){this.codespaceRanges[A-1].push(e,t),this.numCodespaceRanges++}},{key:"mapCidRange",value:function(A,e,t){if(e-A>Di)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;A<=e;)this._map[A++]=t++}},{key:"mapBfRange",value:function(A,e,t){if(e-A>Di)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");for(var a=t.length-1;A<=e;){this._map[A++]=t;var i=t.charCodeAt(a)+1;t=i>255?t.substring(0,a-1)+String.fromCharCode(t.charCodeAt(a-1)+1)+"\0":t.substring(0,a)+String.fromCharCode(i)}}},{key:"mapBfRangeToArray",value:function(A,e,t){if(e-A>Di)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");for(var a=t.length,i=0;A<=e&&i<a;)this._map[A]=t[i++],++A}},{key:"mapOne",value:function(A,e){this._map[A]=e}},{key:"lookup",value:function(A){return this._map[A]}},{key:"contains",value:function(A){return void 0!==this._map[A]}},{key:"forEach",value:function(A){var e=this._map,t=e.length;if(t<=65536)for(var a=0;a<t;a++)void 0!==e[a]&&A(a,e[a]);else for(var i in e)A(i,e[i])}},{key:"charCodeOf",value:function(A){var e=this._map;if(e.length<=65536)return e.indexOf(A);for(var t in e)if(e[t]===A)return 0|t;return-1}},{key:"getMap",value:function(){return this._map}},{key:"readCharCode",value:function(A,e,t){for(var a=0,i=this.codespaceRanges,n=0,r=i.length;n<r;n++){a=(a<<8|A.charCodeAt(e+n))>>>0;for(var g=i[n],o=0,s=g.length;o<s;){var I=g[o++],c=g[o++];if(a>=I&&a<=c)return t.charcode=a,void(t.length=n+1)}}t.charcode=0,t.length=1}},{key:"getCharCodeLength",value:function(A){for(var e=this.codespaceRanges,t=0,a=e.length;t<a;t++)for(var i=e[t],n=0,r=i.length;n<r;){var g=i[n++],o=i[n++];if(A>=g&&A<=o)return t+1}return 1}},{key:"length",get:function(){return this._map.length}},{key:"isIdentityCMap",get:function(){if("Identity-H"!==this.name&&"Identity-V"!==this.name)return!1;if(65536!==this._map.length)return!1;for(var A=0;A<65536;A++)if(this._map[A]!==A)return!1;return!0}}])}(),Si=function(A){function e(A,t){var a;return F(this,e),(a=S(this,e)).vertical=A,a.addCodespaceRange(t,0,65535),a}return x(e,A),b(e,[{key:"mapCidRange",value:function(A,e,t){CA("should not call mapCidRange")}},{key:"mapBfRange",value:function(A,e,t){CA("should not call mapBfRange")}},{key:"mapBfRangeToArray",value:function(A,e,t){CA("should not call mapBfRangeToArray")}},{key:"mapOne",value:function(A,e){CA("should not call mapCidOne")}},{key:"lookup",value:function(A){return Number.isInteger(A)&&A<=65535?A:void 0}},{key:"contains",value:function(A){return Number.isInteger(A)&&A<=65535}},{key:"forEach",value:function(A){for(var e=0;e<=65535;e++)A(e,e)}},{key:"charCodeOf",value:function(A){return Number.isInteger(A)&&A<=65535?A:-1}},{key:"getMap",value:function(){for(var A=new Array(65536),e=0;e<=65535;e++)A[e]=e;return A}},{key:"length",get:function(){return 65536}},{key:"isIdentityCMap",get:function(){CA("should not access .isIdentityCMap")}}])}(Fi);function Ri(A){for(var e=0,t=0;t<A.length;t++)e=e<<8|A.charCodeAt(t);return e>>>0}function Ni(A){if("string"!=typeof A)throw new vA("Malformed CMap: expected string.")}function Gi(A){if(!Number.isInteger(A))throw new vA("Malformed CMap: expected int.")}function xi(A,e){for(;;){var t=e.getObj();if(t===WA)break;if(ae(t,"endbfchar"))return;Ni(t);var a=Ri(t);Ni(t=e.getObj());var i=t;A.mapOne(a,i)}}function Ui(A,e){for(;;){var t=e.getObj();if(t===WA)break;if(ae(t,"endbfrange"))return;Ni(t);var a=Ri(t);Ni(t=e.getObj());var i=Ri(t);if(t=e.getObj(),Number.isInteger(t)||"string"==typeof t){var n=Number.isInteger(t)?String.fromCharCode(t):t;A.mapBfRange(a,i,n)}else{if(!ae(t,"["))break;t=e.getObj();for(var r=[];!ae(t,"]")&&t!==WA;)r.push(t),t=e.getObj();A.mapBfRangeToArray(a,i,r)}}throw new vA("Invalid bf range.")}function Mi(A,e){for(;;){var t=e.getObj();if(t===WA)break;if(ae(t,"endcidchar"))return;Ni(t);var a=Ri(t);Gi(t=e.getObj());var i=t;A.mapOne(a,i)}}function Ji(A,e){for(;;){var t=e.getObj();if(t===WA)break;if(ae(t,"endcidrange"))return;Ni(t);var a=Ri(t);Ni(t=e.getObj());var i=Ri(t);Gi(t=e.getObj());var n=t;A.mapCidRange(a,i,n)}}function Li(A,e){for(;;){var t=e.getObj();if(t===WA)break;if(ae(t,"endcodespacerange"))return;if("string"!=typeof t)break;var a=Ri(t);if("string"!=typeof(t=e.getObj()))break;var i=Ri(t);A.addCodespaceRange(t.length,a,i)}throw new vA("Invalid codespace range.")}function Hi(A,e){var t=e.getObj();Number.isInteger(t)&&(A.vertical=!!t)}function Yi(A,e){var t=e.getObj();t instanceof VA&&(A.name=t.name)}function Ki(A,e,t,a){return qi.apply(this,arguments)}function qi(){return(qi=E(B().mark((function A(e,t,a,i){var n,r,g;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(A.prev=1,(g=t.getObj())!==WA){A.next=7;break}return A.abrupt("break",39);case 7:if(!(g instanceof VA)){A.next=12;break}"WMode"===g.name?Hi(e,t):"CMapName"===g.name&&Yi(e,t),n=g,A.next=29;break;case 12:if(!(g instanceof jA)){A.next=29;break}A.t0=g.cmd,A.next="endcmap"===A.t0?16:"usecmap"===A.t0?17:"begincodespacerange"===A.t0?19:"beginbfchar"===A.t0?21:"begincidchar"===A.t0?23:"beginbfrange"===A.t0?25:"begincidrange"===A.t0?27:29;break;case 16:return A.abrupt("break",39);case 17:return n instanceof VA&&(r=n.name),A.abrupt("break",29);case 19:return Li(e,t),A.abrupt("break",29);case 21:return xi(e,t),A.abrupt("break",29);case 23:return Mi(e,t),A.abrupt("break",29);case 25:return Ui(e,t),A.abrupt("break",29);case 27:return Ji(e,t),A.abrupt("break",29);case 29:A.next=37;break;case 31:if(A.prev=31,A.t1=A.catch(1),!(A.t1 instanceof se)){A.next=35;break}throw A.t1;case 35:return uA("Invalid cMap data: "+A.t1),A.abrupt("continue",0);case 37:A.next=0;break;case 39:if(!i&&r&&(i=r),!i){A.next=42;break}return A.abrupt("return",Ti(e,a,i));case 42:return A.abrupt("return",e);case 43:case"end":return A.stop()}}),A,null,[[1,31]])})))).apply(this,arguments)}function Ti(A,e,t){return Pi.apply(this,arguments)}function Pi(){return(Pi=E(B().mark((function A(e,t,a){var i,n;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,Wi(a,t);case 2:if(e.useCMap=A.sent,0===e.numCodespaceRanges){for(i=e.useCMap.codespaceRanges,n=0;n<i.length;n++)e.codespaceRanges[n]=i[n].slice();e.numCodespaceRanges=e.useCMap.numCodespaceRanges}return e.useCMap.forEach((function(A,t){e.contains(A)||e.mapOne(A,e.useCMap.lookup(A))})),A.abrupt("return",e);case 6:case"end":return A.stop()}}),A)})))).apply(this,arguments)}function Wi(A,e){return Zi.apply(this,arguments)}function Zi(){return(Zi=E(B().mark((function A(e,t){var a,i,n,r,g;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if("Identity-H"!==e){A.next=4;break}return A.abrupt("return",new Si(!1,2));case 4:if("Identity-V"!==e){A.next=6;break}return A.abrupt("return",new Si(!0,2));case 6:if(bi.includes(e)){A.next=8;break}throw new Error("Unknown CMap name: "+e);case 8:if(t){A.next=10;break}throw new Error("Built-in CMap parameters are not provided.");case 10:return A.next=12,t(e);case 12:if(a=A.sent,i=a.cMapData,n=a.compressionType,r=new Fi(!0),n!==$.BINARY){A.next=18;break}return A.abrupt("return",(new Lt).process(i,r,(function(A){return Ti(r,t,A)})));case 18:if(n!==$.NONE){A.next=21;break}return g=new vi(new Pe(i)),A.abrupt("return",Ki(r,g,t,null));case 21:throw new Error('Invalid CMap "compressionType" value: '.concat(n));case 22:case"end":return A.stop()}}),A)})))).apply(this,arguments)}var Oi=function(){return b((function A(){F(this,A)}),null,[{key:"create",value:(A=E(B().mark((function A(e){var t,a,i,n;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(t=e.encoding,a=e.fetchBuiltInCMap,i=e.useCMap,!(t instanceof VA)){A.next=5;break}return A.abrupt("return",Wi(t.name,a));case 5:if(!(t instanceof re)){A.next=12;break}return A.next=8,Ki(new Fi,new vi(t),a,i);case 8:if(!(n=A.sent).isIdentityCMap){A.next=11;break}return A.abrupt("return",Wi(n.name,a));case 11:return A.abrupt("return",n);case 12:throw new Error("Encoding required.");case 13:case"end":return A.stop()}}),A)}))),function(e){return A.apply(this,arguments)})}]);var A}(),Xi=[".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"],Vi=[".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"],ji=[".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"],zi=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"],_i=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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","","","",""],$i=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"],An=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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","","","",""],en=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"],tn=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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",""],an=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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",""];function nn(A){switch(A){case"WinAnsiEncoding":return en;case"StandardEncoding":return An;case"MacRomanEncoding":return $i;case"SymbolSetEncoding":return tn;case"ZapfDingbatsEncoding":return an;case"ExpertEncoding":return zi;case"MacExpertEncoding":return _i;default:return null}}var rn=[".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"],gn=[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}],on=[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(A,e){A[e-2]=A[e-2]+A[e-1]}},{id:"sub",min:2,stackDelta:-1,stackFn:function(A,e){A[e-2]=A[e-2]-A[e-1]}},{id:"div",min:2,stackDelta:-1,stackFn:function(A,e){A[e-2]=A[e-2]/A[e-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn:function(A,e){A[e-1]=-A[e-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(A,e){A[e-2]=A[e-2]*A[e-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}],sn=function(){return b((function A(e,t,a){F(this,A),this.bytes=e.getBytes(),this.properties=t,this.seacAnalysisEnabled=!!a}),[{key:"parse",value:function(){var A=this.properties,e=new In;this.cff=e;var t=this.parseHeader(),a=this.parseIndex(t.endPos),i=this.parseIndex(a.endPos),n=this.parseIndex(i.endPos),r=this.parseIndex(n.endPos),g=this.parseDict(i.obj.get(0)),o=this.createDict(Bn,g,e.strings);e.header=t.obj,e.names=this.parseNameIndex(a.obj),e.strings=this.parseStringIndex(n.obj),e.topDict=o,e.globalSubrIndex=r.obj,this.parsePrivateDict(e.topDict),e.isCIDFont=o.hasName("ROS");var s=o.getByName("CharStrings"),I=this.parseIndex(s).obj,c=o.getByName("FontMatrix");c&&(A.fontMatrix=c);var l,h,u=o.getByName("FontBBox");if(u&&(A.ascent=Math.max(u[3],u[1]),A.descent=Math.min(u[1],u[3]),A.ascentScaled=!0),e.isCIDFont){for(var C=this.parseIndex(o.getByName("FDArray")).obj,B=0,Q=C.count;B<Q;++B){var E=C.get(B),f=this.createDict(Bn,this.parseDict(E),e.strings);this.parsePrivateDict(f),e.fdArray.push(f)}h=null,l=this.parseCharsets(o.getByName("charset"),I.count,e.strings,!0),e.fdSelect=this.parseFDSelect(o.getByName("FDSelect"),I.count)}else l=this.parseCharsets(o.getByName("charset"),I.count,e.strings,!1),h=this.parseEncoding(o.getByName("Encoding"),A,e.strings,l.charset);e.charset=l,e.encoding=h;var d=this.parseCharStrings({charStrings:I,localSubrIndex:o.privateDict.subrsIndex,globalSubrIndex:r.obj,fdSelect:e.fdSelect,fdArray:e.fdArray,privateDict:o.privateDict});return e.charStrings=d.charStrings,e.seacs=d.seacs,e.widths=d.widths,e}},{key:"parseHeader",value:function(){for(var A=this.bytes,e=A.length,t=0;t<e&&1!==A[t];)++t;if(t>=e)throw new vA("Invalid CFF header");0!==t&&(hA("cff data is shifted"),A=A.subarray(t),this.bytes=A);var a=A[0],i=A[1],n=A[2],r=A[3];return{obj:new cn(a,i,n,r),endPos:n}}},{key:"parseDict",value:function(A){var e=0;var t,a=[],i=[];e=0;for(var n=A.length;e<n;){var r=A[e];r<=21?(12===r&&(r=r<<8|A[++e]),i.push([r,a]),a=[],++e):a.push((t=void 0,30===(t=A[e++])?function(){for(var t="",a=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],i=A.length;e<i;){var n=A[e++],r=n>>4,g=15&n;if(15===r)break;if(t+=a[r],15===g)break;t+=a[g]}return parseFloat(t)}():28===t?t=((t=A[e++])<<24|A[e++]<<16)>>16:29===t?t=(t=(t=(t=A[e++])<<8|A[e++])<<8|A[e++])<<8|A[e++]:t>=32&&t<=246?t-139:t>=247&&t<=250?256*(t-247)+A[e++]+108:t>=251&&t<=254?-256*(t-251)-A[e++]-108:(uA('CFFParser_parseDict: "'+t+'" is a reserved command.'),NaN)))}return i}},{key:"parseIndex",value:function(A){var e,t,a=new hn,i=this.bytes,n=i[A++]<<8|i[A++],r=[],g=A;if(0!==n){var o=i[A++],s=A+(n+1)*o-1;for(e=0,t=n+1;e<t;++e){for(var I=0,c=0;c<o;++c)I<<=8,I+=i[A++];r.push(s+I)}g=r[n]}for(e=0,t=r.length-1;e<t;++e){var l=r[e],h=r[e+1];a.add(i.subarray(l,h))}return{obj:a,endPos:g}}},{key:"parseNameIndex",value:function(A){for(var e=[],t=0,a=A.count;t<a;++t){var i=A.get(t);e.push(bA(i))}return e}},{key:"parseStringIndex",value:function(A){for(var e=new ln,t=0,a=A.count;t<a;++t){var i=A.get(t);e.add(bA(i))}return e}},{key:"createDict",value:function(A,e,t){var a,i=new A(t),n=m(e);try{for(n.s();!(a=n.n()).done;){var r=d(a.value,2),g=r[0],o=r[1];i.setByKey(g,o)}}catch(A){n.e(A)}finally{n.f()}return i}},{key:"parseCharString",value:function(A,e,t,a){if(!e||A.callDepth>10)return!1;for(var i=A.stackSize,n=A.stack,r=e.length,g=0;g<r;){var o=e[g++],s=null;if(12===o){var I=e[g++];0===I?(e[g-2]=139,e[g-1]=22,i=0):s=on[I]}else if(28===o)n[i]=(e[g]<<24|e[g+1]<<16)>>16,g+=2,i++;else if(14===o){if(i>=4&&(i-=4,this.seacAnalysisEnabled))return A.seac=n.slice(i,i+4),!1;s=gn[o]}else if(o>=32&&o<=246)n[i]=o-139,i++;else if(o>=247&&o<=254)n[i]=o<251?(o-247<<8)+e[g]+108:-(o-251<<8)-e[g]-108,g++,i++;else if(255===o)n[i]=(e[g]<<24|e[g+1]<<16|e[g+2]<<8|e[g+3])/65536,g+=4,i++;else if(19===o||20===o){if(A.hints+=i>>1,0===A.hints){e.copyWithin(g-1,g,-1),g-=1,r-=1;continue}g+=A.hints+7>>3,i%=2,s=gn[o]}else{if(10===o||29===o){var c=10===o?t:a;if(!c)return uA("Missing subrsIndex for "+(s=gn[o]).id),!1;var l=32768;c.count<1240?l=107:c.count<33900&&(l=1131);var h=n[--i]+l;if(h<0||h>=c.count||isNaN(h))return uA("Out of bounds subrIndex for "+(s=gn[o]).id),!1;if(A.stackSize=i,A.callDepth++,!this.parseCharString(A,c.get(h),t,a))return!1;A.callDepth--,i=A.stackSize;continue}if(11===o)return A.stackSize=i,!0;if(0===o&&g===e.length)e[g-1]=14,s=gn[14];else{if(9===o){e.copyWithin(g-1,g,-1),g-=1,r-=1;continue}s=gn[o]}}if(s){if(s.stem&&(A.hints+=i>>1,3===o||23===o?A.hasVStems=!0:!A.hasVStems||1!==o&&18!==o||(uA("CFF stem hints are in wrong order"),e[g-1]=1===o?3:23)),"min"in s&&!A.undefStack&&i<s.min)return uA("Not enough parameters for "+s.id+"; actual: "+i+", expected: "+s.min),0===i&&(e[g-1]=14,!0);A.firstStackClearing&&s.stackClearing&&(A.firstStackClearing=!1,(i-=s.min)>=2&&s.stem?i%=2:i>1&&uA("Found too many parameters for stack-clearing command"),i>0&&(A.width=n[i-1])),"stackDelta"in s?("stackFn"in s&&s.stackFn(n,i),i+=s.stackDelta):s.stackClearing?i=0:s.resetStack?(i=0,A.undefStack=!1):s.undefStack&&(i=0,A.undefStack=!0,A.firstStackClearing=!1)}}return r<e.length&&e.fill(14,r),A.stackSize=i,!0}},{key:"parseCharStrings",value:function(A){for(var e=A.charStrings,t=A.localSubrIndex,a=A.globalSubrIndex,i=A.fdSelect,n=A.fdArray,r=A.privateDict,g=[],o=[],s=e.count,I=0;I<s;I++){var c=e.get(I),l={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1},h=!0,u=null,C=r;if(i&&n.length){var B=i.getFDIndex(I);-1===B&&(uA("Glyph index is not in fd select."),h=!1),B>=n.length&&(uA("Invalid fd index for glyph index."),h=!1),h&&(u=(C=n[B].privateDict).subrsIndex)}else t&&(u=t);if(h&&(h=this.parseCharString(l,c,u,a)),null!==l.width){var Q=C.getByName("nominalWidthX");o[I]=Q+l.width}else{var E=C.getByName("defaultWidthX");o[I]=E}null!==l.seac&&(g[I]=l.seac),h||e.set(I,new Uint8Array([14]))}return{charStrings:e,seacs:g,widths:o}}},{key:"emptyPrivateDictionary",value:function(A){var e=this.createDict(En,[],A.strings);A.setByKey(18,[0,0]),A.privateDict=e}},{key:"parsePrivateDict",value:function(A){if(A.hasName("Private")){var e=A.getByName("Private");if(Array.isArray(e)&&2===e.length){var t=e[0],a=e[1];if(0===t||a>=this.bytes.length)this.emptyPrivateDictionary(A);else{var i=a+t,n=this.bytes.subarray(a,i),r=this.parseDict(n),g=this.createDict(En,r,A.strings);if(A.privateDict=g,0===g.getByName("ExpansionFactor")&&g.setByName("ExpansionFactor",.06),g.getByName("Subrs")){var o=g.getByName("Subrs"),s=a+o;if(0===o||s>=this.bytes.length)this.emptyPrivateDictionary(A);else{var I=this.parseIndex(s);g.subrsIndex=I.obj}}}}else A.removeByName("Private")}else this.emptyPrivateDictionary(A)}},{key:"parseCharsets",value:function(A,e,t,a){if(0===A)return new dn(!0,fn.ISO_ADOBE,Xi);if(1===A)return new dn(!0,fn.EXPERT,Vi);if(2===A)return new dn(!0,fn.EXPERT_SUBSET,ji);var i,n,r,g=this.bytes,o=A,s=g[A++],I=[a?0:".notdef"];switch(e-=1,s){case 0:for(r=0;r<e;r++)i=g[A++]<<8|g[A++],I.push(a?i:t.get(i));break;case 1:for(;I.length<=e;)for(i=g[A++]<<8|g[A++],n=g[A++],r=0;r<=n;r++)I.push(a?i++:t.get(i++));break;case 2:for(;I.length<=e;)for(i=g[A++]<<8|g[A++],n=g[A++]<<8|g[A++],r=0;r<=n;r++)I.push(a?i++:t.get(i++));break;default:throw new vA("Unknown charset format")}var c=A,l=g.subarray(o,c);return new dn(!1,s,I,l)}},{key:"parseEncoding",value:function(A,e,t,a){var i,n,r,g=Object.create(null),o=this.bytes,s=!1,I=null;if(0===A||1===A){s=!0,i=A;var c=A?zi:An;for(n=0,r=a.length;n<r;n++){var l=c.indexOf(a[n]);-1!==l&&(g[l]=n)}}else{var h=A;switch(127&(i=o[A++])){case 0:var u=o[A++];for(n=1;n<=u;n++)g[o[A++]]=n;break;case 1:var C=o[A++],B=1;for(n=0;n<C;n++)for(var Q=o[A++],E=o[A++],f=Q;f<=Q+E;f++)g[f]=B++;break;default:throw new vA("Unknown encoding format: ".concat(i," in CFF"))}var d=A;128&i&&(o[h]&=127,function(){var e=o[A++];for(n=0;n<e;n++){var i=o[A++],r=(o[A++]<<8)+(255&o[A++]);g[i]=a.indexOf(t.get(r))}}()),I=o.subarray(h,d)}return new yn(s,i&=127,g,I)}},{key:"parseFDSelect",value:function(A,e){var t,a=this.bytes,i=a[A++],n=[];switch(i){case 0:for(t=0;t<e;++t){var r=a[A++];n.push(r)}break;case 3:var g=a[A++]<<8|a[A++];for(t=0;t<g;++t){var o=a[A++]<<8|a[A++];0===t&&0!==o&&(uA("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),o=0);for(var s=a[A++],I=a[A]<<8|a[A+1],c=o;c<I;++c)n.push(s)}A+=2;break;default:throw new vA('parseFDSelect: Unknown format "'.concat(i,'".'))}if(n.length!==e)throw new vA("parseFDSelect: Invalid font data.");return new pn(i,n)}}])}(),In=function(){return b((function A(){F(this,A),this.header=null,this.names=[],this.topDict=null,this.strings=new ln,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}),[{key:"duplicateFirstGlyph",value:function(){if(this.charStrings.count>=65535)uA("Not enough space in charstrings to duplicate first glyph.");else{var A=this.charStrings.get(0);this.charStrings.add(A),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}}},{key:"hasGlyphId",value:function(A){return!(A<0||A>=this.charStrings.count)&&this.charStrings.get(A).length>0}}])}(),cn=b((function A(e,t,a,i){F(this,A),this.major=e,this.minor=t,this.hdrSize=a,this.offSize=i})),ln=function(){return b((function A(){F(this,A),this.strings=[]}),[{key:"get",value:function(A){return A>=0&&A<=390?rn[A]:A-391<=this.strings.length?this.strings[A-391]:rn[0]}},{key:"getSID",value:function(A){var e=rn.indexOf(A);return-1!==e?e:-1!==(e=this.strings.indexOf(A))?e+391:-1}},{key:"add",value:function(A){this.strings.push(A)}},{key:"count",get:function(){return this.strings.length}}])}(),hn=function(){return b((function A(){F(this,A),this.objects=[],this.length=0}),[{key:"add",value:function(A){this.length+=A.length,this.objects.push(A)}},{key:"set",value:function(A,e){this.length+=e.length-this.objects[A].length,this.objects[A]=e}},{key:"get",value:function(A){return this.objects[A]}},{key:"count",get:function(){return this.objects.length}}])}(),un=function(){return b((function A(e,t){F(this,A),this.keyToNameMap=e.keyToNameMap,this.nameToKeyMap=e.nameToKeyMap,this.defaults=e.defaults,this.types=e.types,this.opcodes=e.opcodes,this.order=e.order,this.strings=t,this.values=Object.create(null)}),[{key:"setByKey",value:function(A,e){if(!(A in this.keyToNameMap))return!1;if(0===e.length)return!0;var t,a=m(e);try{for(a.s();!(t=a.n()).done;){var i=t.value;if(isNaN(i))return uA('Invalid CFFDict value: "'.concat(e,'" for key "').concat(A,'".')),!0}}catch(A){a.e(A)}finally{a.f()}var n=this.types[A];return"num"!==n&&"sid"!==n&&"offset"!==n||(e=e[0]),this.values[A]=e,!0}},{key:"setByName",value:function(A,e){if(!(A in this.nameToKeyMap))throw new vA('Invalid dictionary name "'.concat(A,'"'));this.values[this.nameToKeyMap[A]]=e}},{key:"hasName",value:function(A){return this.nameToKeyMap[A]in this.values}},{key:"getByName",value:function(A){if(!(A in this.nameToKeyMap))throw new vA("Invalid dictionary name ".concat(A,'"'));var e=this.nameToKeyMap[A];return e in this.values?this.values[e]:this.defaults[e]}},{key:"removeByName",value:function(A){delete this.values[this.nameToKeyMap[A]]}}],[{key:"createTables",value:function(A){var e,t={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},a=m(A);try{for(a.s();!(e=a.n()).done;){var i=e.value,n=Array.isArray(i[0])?(i[0][0]<<8)+i[0][1]:i[0];t.keyToNameMap[n]=i[1],t.nameToKeyMap[i[1]]=n,t.types[n]=i[2],t.defaults[n]=i[3],t.opcodes[n]=Array.isArray(i[0])?i[0]:[i[0]],t.order.push(n)}}catch(A){a.e(A)}finally{a.f()}return t}}])}(),Cn=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"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]],Bn=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[e.tables,A])).privateDict=null,t}return x(e,A),b(e,null,[{key:"tables",get:function(){return EA(this,"tables",this.createTables(Cn))}}])}(un),Qn=[[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]],En=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[e.tables,A])).subrsIndex=null,t}return x(e,A),b(e,null,[{key:"tables",get:function(){return EA(this,"tables",this.createTables(Qn))}}])}(un),fn={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},dn=b((function A(e,t,a,i){F(this,A),this.predefined=e,this.format=t,this.charset=a,this.raw=i})),yn=b((function A(e,t,a,i){F(this,A),this.predefined=e,this.format=t,this.encoding=a,this.raw=i})),pn=function(){return b((function A(e,t){F(this,A),this.format=e,this.fdSelect=t}),[{key:"getFDIndex",value:function(A){return A<0||A>=this.fdSelect.length?-1:this.fdSelect[A]}}])}(),mn=function(){return b((function A(){F(this,A),this.offsets=Object.create(null)}),[{key:"isTracking",value:function(A){return A in this.offsets}},{key:"track",value:function(A,e){if(A in this.offsets)throw new vA("Already tracking location of ".concat(A));this.offsets[A]=e}},{key:"offset",value:function(A){for(var e in this.offsets)this.offsets[e]+=A}},{key:"setEntryLocation",value:function(A,e,t){if(!(A in this.offsets))throw new vA("Not tracking location of ".concat(A));for(var a=t.data,i=this.offsets[A],n=0,r=e.length;n<r;++n){var g=5*n+i,o=g+1,s=g+2,I=g+3,c=g+4;if(29!==a[g]||0!==a[o]||0!==a[s]||0!==a[I]||0!==a[c])throw new vA("writing to an offset that is not empty");var l=e[n];a[g]=29,a[o]=l>>24&255,a[s]=l>>16&255,a[I]=l>>8&255,a[c]=255&l}}}])}(),kn=function(){function A(e){F(this,A),this.cff=e}return b(A,[{key:"compile",value:function(){var A=this.cff,e={data:[],length:0,add:function(A){try{var e;(e=this.data).push.apply(e,I(A))}catch(e){this.data=this.data.concat(A)}this.length=this.data.length}},t=this.compileHeader(A.header);e.add(t);var a=this.compileNameIndex(A.names);if(e.add(a),A.isCIDFont&&A.topDict.hasName("FontMatrix")){var i=A.topDict.getByName("FontMatrix");A.topDict.removeByName("FontMatrix");var n,r=m(A.fdArray);try{for(r.s();!(n=r.n()).done;){var g=n.value,o=i.slice(0);g.hasName("FontMatrix")&&(o=GA.transform(o,g.getByName("FontMatrix"))),g.setByName("FontMatrix",o)}}catch(A){r.e(A)}finally{r.f()}}var s=A.topDict.getByName("XUID");(null==s?void 0:s.length)>16&&A.topDict.removeByName("XUID"),A.topDict.setByName("charset",0);var c=this.compileTopDicts([A.topDict],e.length,A.isCIDFont);e.add(c.output);var l=c.trackers[0],h=this.compileStringIndex(A.strings.strings);e.add(h);var u=this.compileIndex(A.globalSubrIndex);if(e.add(u),A.encoding&&A.topDict.hasName("Encoding"))if(A.encoding.predefined)l.setEntryLocation("Encoding",[A.encoding.format],e);else{var C=this.compileEncoding(A.encoding);l.setEntryLocation("Encoding",[e.length],e),e.add(C)}var B=this.compileCharset(A.charset,A.charStrings.count,A.strings,A.isCIDFont);l.setEntryLocation("charset",[e.length],e),e.add(B);var Q=this.compileCharStrings(A.charStrings);if(l.setEntryLocation("CharStrings",[e.length],e),e.add(Q),A.isCIDFont){l.setEntryLocation("FDSelect",[e.length],e);var E=this.compileFDSelect(A.fdSelect);e.add(E),c=this.compileTopDicts(A.fdArray,e.length,!0),l.setEntryLocation("FDArray",[e.length],e),e.add(c.output);var f=c.trackers;this.compilePrivateDicts(A.fdArray,f,e)}return this.compilePrivateDicts([A.topDict],[l],e),e.add([0]),e.data}},{key:"encodeNumber",value:function(A){return Number.isInteger(A)?this.encodeInteger(A):this.encodeFloat(A)}},{key:"encodeFloat",value:function(e){var t=e.toString(),a=A.EncodeFloatRegExp.exec(t);if(a){var i=parseFloat("1e"+((a[2]?+a[2]:0)+a[1].length));t=(Math.round(e*i)/i).toString()}var n,r,g="";for(n=0,r=t.length;n<r;++n){var o=t[n];g+="e"===o?"-"===t[++n]?"c":"b":"."===o?"a":"-"===o?"e":o}var s=[30];for(n=0,r=(g+=1&g.length?"f":"ff").length;n<r;n+=2)s.push(parseInt(g.substring(n,n+2),16));return s}},{key:"encodeInteger",value:function(A){return A>=-107&&A<=107?[A+139]:A>=108&&A<=1131?[247+((A-=108)>>8),255&A]:A>=-1131&&A<=-108?[251+((A=-A-108)>>8),255&A]:A>=-32768&&A<=32767?[28,A>>8&255,255&A]:[29,A>>24&255,A>>16&255,A>>8&255,255&A]}},{key:"compileHeader",value:function(A){return[A.major,A.minor,4,A.offSize]}},{key:"compileNameIndex",value:function(A){var e,t=new hn,a=m(A);try{for(a.s();!(e=a.n()).done;){for(var i=e.value,n=Math.min(i.length,127),r=new Array(n),g=0;g<n;g++){var o=i[g];(o<"!"||o>"~"||"["===o||"]"===o||"("===o||")"===o||"{"===o||"}"===o||"<"===o||">"===o||"/"===o||"%"===o)&&(o="_"),r[g]=o}""===(r=r.join(""))&&(r="Bad_Font_Name"),t.add(DA(r))}}catch(A){a.e(A)}finally{a.f()}return this.compileIndex(t)}},{key:"compileTopDicts",value:function(A,e,t){var a,i=[],n=new hn,r=m(A);try{for(r.s();!(a=r.n()).done;){var g=a.value;t&&(g.removeByName("CIDFontVersion"),g.removeByName("CIDFontRevision"),g.removeByName("CIDFontType"),g.removeByName("CIDCount"),g.removeByName("UIDBase"));var o=new mn,s=this.compileDict(g,o);i.push(o),n.add(s),o.offset(e)}}catch(A){r.e(A)}finally{r.f()}return{trackers:i,output:n=this.compileIndex(n,i)}}},{key:"compilePrivateDicts",value:function(A,e,t){for(var a=0,i=A.length;a<i;++a){var n=A[a],r=n.privateDict;if(!r||!n.hasName("Private"))throw new vA("There must be a private dictionary.");var g=new mn,o=this.compileDict(r,g),s=t.length;if(g.offset(s),o.length||(s=0),e[a].setEntryLocation("Private",[o.length,s],t),t.add(o),r.subrsIndex&&r.hasName("Subrs")){var I=this.compileIndex(r.subrsIndex);g.setEntryLocation("Subrs",[o.length],t),t.add(I)}}}},{key:"compileDict",value:function(A,e){var t,a=[],i=m(A.order);try{for(i.s();!(t=i.n()).done;){var n=t.value;if(n in A.values){var r=A.values[n],g=A.types[n];if(Array.isArray(g)||(g=[g]),Array.isArray(r)||(r=[r]),0!==r.length){for(var o=0,s=g.length;o<s;++o){var c=g[o],l=r[o];switch(c){case"num":case"sid":a.push.apply(a,I(this.encodeNumber(l)));break;case"offset":var h=A.keyToNameMap[n];e.isTracking(h)||e.track(h,a.length),a.push(29,0,0,0,0);break;case"array":case"delta":a.push.apply(a,I(this.encodeNumber(l)));for(var u=1,C=r.length;u<C;++u)a.push.apply(a,I(this.encodeNumber(r[u])));break;default:throw new vA("Unknown data type of ".concat(c))}}a.push.apply(a,I(A.opcodes[n]))}}}}catch(A){i.e(A)}finally{i.f()}return a}},{key:"compileStringIndex",value:function(A){var e,t=new hn,a=m(A);try{for(a.s();!(e=a.n()).done;){var i=e.value;t.add(DA(i))}}catch(A){a.e(A)}finally{a.f()}return this.compileIndex(t)}},{key:"compileCharStrings",value:function(A){for(var e=new hn,t=0;t<A.count;t++){var a=A.get(t);0!==a.length?e.add(a):e.add(new Uint8Array([139,14]))}return this.compileIndex(e)}},{key:"compileCharset",value:function(A,e,t,a){var i,n=e-1;if(a)i=new Uint8Array([2,0,0,n>>8&255,255&n]);else{(i=new Uint8Array(1+2*n))[0]=0;for(var r=0,g=A.charset.length,o=!1,s=1;s<i.length;s+=2){var I=0;if(r<g){var c=A.charset[r++];-1===(I=t.getSID(c))&&(I=0,o||(o=!0,uA("Couldn't find ".concat(c," in CFF strings"))))}i[s]=I>>8&255,i[s+1]=255&I}}return this.compileTypedArray(i)}},{key:"compileEncoding",value:function(A){return this.compileTypedArray(A.raw)}},{key:"compileFDSelect",value:function(A){var e,t,a=A.format;switch(a){case 0:for((e=new Uint8Array(1+A.fdSelect.length))[0]=a,t=0;t<A.fdSelect.length;t++)e[t+1]=A.fdSelect[t];break;case 3:var i=A.fdSelect[0],n=[a,0,0,0,0,i];for(t=1;t<A.fdSelect.length;t++){var r=A.fdSelect[t];r!==i&&(n.push(t>>8&255,255&t,r),i=r)}var g=(n.length-3)/3;n[1]=g>>8&255,n[2]=255&g,n.push(t>>8&255,255&t),e=new Uint8Array(n)}return this.compileTypedArray(e)}},{key:"compileTypedArray",value:function(A){return Array.from(A)}},{key:"compileIndex",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=A.objects,a=t.length;if(0===a)return[0,0];var i,n,r=[a>>8&255,255&a],g=1;for(i=0;i<a;++i)g+=t[i].length;n=g<256?1:g<65536?2:g<16777216?3:4,r.push(n);var o=1;for(i=0;i<a+1;i++)1===n?r.push(255&o):2===n?r.push(o>>8&255,255&o):3===n?r.push(o>>16&255,o>>8&255,255&o):r.push(o>>>24&255,o>>16&255,o>>8&255,255&o),t[i]&&(o+=t[i].length);for(i=0;i<a;i++)e[i]&&e[i].offset(r.length),r.push.apply(r,I(t[i]));return r}}],[{key:"EncodeFloatRegExp",get:function(){return EA(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}}])}(),vn=oe((function(A){A.A=65,A.AE=198,A.AEacute=508,A.AEmacron=482,A.AEsmall=63462,A.Aacute=193,A.Aacutesmall=63457,A.Abreve=258,A.Abreveacute=7854,A.Abrevecyrillic=1232,A.Abrevedotbelow=7862,A.Abrevegrave=7856,A.Abrevehookabove=7858,A.Abrevetilde=7860,A.Acaron=461,A.Acircle=9398,A.Acircumflex=194,A.Acircumflexacute=7844,A.Acircumflexdotbelow=7852,A.Acircumflexgrave=7846,A.Acircumflexhookabove=7848,A.Acircumflexsmall=63458,A.Acircumflextilde=7850,A.Acute=63177,A.Acutesmall=63412,A.Acyrillic=1040,A.Adblgrave=512,A.Adieresis=196,A.Adieresiscyrillic=1234,A.Adieresismacron=478,A.Adieresissmall=63460,A.Adotbelow=7840,A.Adotmacron=480,A.Agrave=192,A.Agravesmall=63456,A.Ahookabove=7842,A.Aiecyrillic=1236,A.Ainvertedbreve=514,A.Alpha=913,A.Alphatonos=902,A.Amacron=256,A.Amonospace=65313,A.Aogonek=260,A.Aring=197,A.Aringacute=506,A.Aringbelow=7680,A.Aringsmall=63461,A.Asmall=63329,A.Atilde=195,A.Atildesmall=63459,A.Aybarmenian=1329,A.B=66,A.Bcircle=9399,A.Bdotaccent=7682,A.Bdotbelow=7684,A.Becyrillic=1041,A.Benarmenian=1330,A.Beta=914,A.Bhook=385,A.Blinebelow=7686,A.Bmonospace=65314,A.Brevesmall=63220,A.Bsmall=63330,A.Btopbar=386,A.C=67,A.Caarmenian=1342,A.Cacute=262,A.Caron=63178,A.Caronsmall=63221,A.Ccaron=268,A.Ccedilla=199,A.Ccedillaacute=7688,A.Ccedillasmall=63463,A.Ccircle=9400,A.Ccircumflex=264,A.Cdot=266,A.Cdotaccent=266,A.Cedillasmall=63416,A.Chaarmenian=1353,A.Cheabkhasiancyrillic=1212,A.Checyrillic=1063,A.Chedescenderabkhasiancyrillic=1214,A.Chedescendercyrillic=1206,A.Chedieresiscyrillic=1268,A.Cheharmenian=1347,A.Chekhakassiancyrillic=1227,A.Cheverticalstrokecyrillic=1208,A.Chi=935,A.Chook=391,A.Circumflexsmall=63222,A.Cmonospace=65315,A.Coarmenian=1361,A.Csmall=63331,A.D=68,A.DZ=497,A.DZcaron=452,A.Daarmenian=1332,A.Dafrican=393,A.Dcaron=270,A.Dcedilla=7696,A.Dcircle=9401,A.Dcircumflexbelow=7698,A.Dcroat=272,A.Ddotaccent=7690,A.Ddotbelow=7692,A.Decyrillic=1044,A.Deicoptic=1006,A.Delta=8710,A.Deltagreek=916,A.Dhook=394,A.Dieresis=63179,A.DieresisAcute=63180,A.DieresisGrave=63181,A.Dieresissmall=63400,A.Digammagreek=988,A.Djecyrillic=1026,A.Dlinebelow=7694,A.Dmonospace=65316,A.Dotaccentsmall=63223,A.Dslash=272,A.Dsmall=63332,A.Dtopbar=395,A.Dz=498,A.Dzcaron=453,A.Dzeabkhasiancyrillic=1248,A.Dzecyrillic=1029,A.Dzhecyrillic=1039,A.E=69,A.Eacute=201,A.Eacutesmall=63465,A.Ebreve=276,A.Ecaron=282,A.Ecedillabreve=7708,A.Echarmenian=1333,A.Ecircle=9402,A.Ecircumflex=202,A.Ecircumflexacute=7870,A.Ecircumflexbelow=7704,A.Ecircumflexdotbelow=7878,A.Ecircumflexgrave=7872,A.Ecircumflexhookabove=7874,A.Ecircumflexsmall=63466,A.Ecircumflextilde=7876,A.Ecyrillic=1028,A.Edblgrave=516,A.Edieresis=203,A.Edieresissmall=63467,A.Edot=278,A.Edotaccent=278,A.Edotbelow=7864,A.Efcyrillic=1060,A.Egrave=200,A.Egravesmall=63464,A.Eharmenian=1335,A.Ehookabove=7866,A.Eightroman=8551,A.Einvertedbreve=518,A.Eiotifiedcyrillic=1124,A.Elcyrillic=1051,A.Elevenroman=8554,A.Emacron=274,A.Emacronacute=7702,A.Emacrongrave=7700,A.Emcyrillic=1052,A.Emonospace=65317,A.Encyrillic=1053,A.Endescendercyrillic=1186,A.Eng=330,A.Enghecyrillic=1188,A.Enhookcyrillic=1223,A.Eogonek=280,A.Eopen=400,A.Epsilon=917,A.Epsilontonos=904,A.Ercyrillic=1056,A.Ereversed=398,A.Ereversedcyrillic=1069,A.Escyrillic=1057,A.Esdescendercyrillic=1194,A.Esh=425,A.Esmall=63333,A.Eta=919,A.Etarmenian=1336,A.Etatonos=905,A.Eth=208,A.Ethsmall=63472,A.Etilde=7868,A.Etildebelow=7706,A.Euro=8364,A.Ezh=439,A.Ezhcaron=494,A.Ezhreversed=440,A.F=70,A.Fcircle=9403,A.Fdotaccent=7710,A.Feharmenian=1366,A.Feicoptic=996,A.Fhook=401,A.Fitacyrillic=1138,A.Fiveroman=8548,A.Fmonospace=65318,A.Fourroman=8547,A.Fsmall=63334,A.G=71,A.GBsquare=13191,A.Gacute=500,A.Gamma=915,A.Gammaafrican=404,A.Gangiacoptic=1002,A.Gbreve=286,A.Gcaron=486,A.Gcedilla=290,A.Gcircle=9404,A.Gcircumflex=284,A.Gcommaaccent=290,A.Gdot=288,A.Gdotaccent=288,A.Gecyrillic=1043,A.Ghadarmenian=1346,A.Ghemiddlehookcyrillic=1172,A.Ghestrokecyrillic=1170,A.Gheupturncyrillic=1168,A.Ghook=403,A.Gimarmenian=1331,A.Gjecyrillic=1027,A.Gmacron=7712,A.Gmonospace=65319,A.Grave=63182,A.Gravesmall=63328,A.Gsmall=63335,A.Gsmallhook=667,A.Gstroke=484,A.H=72,A.H18533=9679,A.H18543=9642,A.H18551=9643,A.H22073=9633,A.HPsquare=13259,A.Haabkhasiancyrillic=1192,A.Hadescendercyrillic=1202,A.Hardsigncyrillic=1066,A.Hbar=294,A.Hbrevebelow=7722,A.Hcedilla=7720,A.Hcircle=9405,A.Hcircumflex=292,A.Hdieresis=7718,A.Hdotaccent=7714,A.Hdotbelow=7716,A.Hmonospace=65320,A.Hoarmenian=1344,A.Horicoptic=1e3,A.Hsmall=63336,A.Hungarumlaut=63183,A.Hungarumlautsmall=63224,A.Hzsquare=13200,A.I=73,A.IAcyrillic=1071,A.IJ=306,A.IUcyrillic=1070,A.Iacute=205,A.Iacutesmall=63469,A.Ibreve=300,A.Icaron=463,A.Icircle=9406,A.Icircumflex=206,A.Icircumflexsmall=63470,A.Icyrillic=1030,A.Idblgrave=520,A.Idieresis=207,A.Idieresisacute=7726,A.Idieresiscyrillic=1252,A.Idieresissmall=63471,A.Idot=304,A.Idotaccent=304,A.Idotbelow=7882,A.Iebrevecyrillic=1238,A.Iecyrillic=1045,A.Ifraktur=8465,A.Igrave=204,A.Igravesmall=63468,A.Ihookabove=7880,A.Iicyrillic=1048,A.Iinvertedbreve=522,A.Iishortcyrillic=1049,A.Imacron=298,A.Imacroncyrillic=1250,A.Imonospace=65321,A.Iniarmenian=1339,A.Iocyrillic=1025,A.Iogonek=302,A.Iota=921,A.Iotaafrican=406,A.Iotadieresis=938,A.Iotatonos=906,A.Ismall=63337,A.Istroke=407,A.Itilde=296,A.Itildebelow=7724,A.Izhitsacyrillic=1140,A.Izhitsadblgravecyrillic=1142,A.J=74,A.Jaarmenian=1345,A.Jcircle=9407,A.Jcircumflex=308,A.Jecyrillic=1032,A.Jheharmenian=1355,A.Jmonospace=65322,A.Jsmall=63338,A.K=75,A.KBsquare=13189,A.KKsquare=13261,A.Kabashkircyrillic=1184,A.Kacute=7728,A.Kacyrillic=1050,A.Kadescendercyrillic=1178,A.Kahookcyrillic=1219,A.Kappa=922,A.Kastrokecyrillic=1182,A.Kaverticalstrokecyrillic=1180,A.Kcaron=488,A.Kcedilla=310,A.Kcircle=9408,A.Kcommaaccent=310,A.Kdotbelow=7730,A.Keharmenian=1364,A.Kenarmenian=1343,A.Khacyrillic=1061,A.Kheicoptic=998,A.Khook=408,A.Kjecyrillic=1036,A.Klinebelow=7732,A.Kmonospace=65323,A.Koppacyrillic=1152,A.Koppagreek=990,A.Ksicyrillic=1134,A.Ksmall=63339,A.L=76,A.LJ=455,A.LL=63167,A.Lacute=313,A.Lambda=923,A.Lcaron=317,A.Lcedilla=315,A.Lcircle=9409,A.Lcircumflexbelow=7740,A.Lcommaaccent=315,A.Ldot=319,A.Ldotaccent=319,A.Ldotbelow=7734,A.Ldotbelowmacron=7736,A.Liwnarmenian=1340,A.Lj=456,A.Ljecyrillic=1033,A.Llinebelow=7738,A.Lmonospace=65324,A.Lslash=321,A.Lslashsmall=63225,A.Lsmall=63340,A.M=77,A.MBsquare=13190,A.Macron=63184,A.Macronsmall=63407,A.Macute=7742,A.Mcircle=9410,A.Mdotaccent=7744,A.Mdotbelow=7746,A.Menarmenian=1348,A.Mmonospace=65325,A.Msmall=63341,A.Mturned=412,A.Mu=924,A.N=78,A.NJ=458,A.Nacute=323,A.Ncaron=327,A.Ncedilla=325,A.Ncircle=9411,A.Ncircumflexbelow=7754,A.Ncommaaccent=325,A.Ndotaccent=7748,A.Ndotbelow=7750,A.Nhookleft=413,A.Nineroman=8552,A.Nj=459,A.Njecyrillic=1034,A.Nlinebelow=7752,A.Nmonospace=65326,A.Nowarmenian=1350,A.Nsmall=63342,A.Ntilde=209,A.Ntildesmall=63473,A.Nu=925,A.O=79,A.OE=338,A.OEsmall=63226,A.Oacute=211,A.Oacutesmall=63475,A.Obarredcyrillic=1256,A.Obarreddieresiscyrillic=1258,A.Obreve=334,A.Ocaron=465,A.Ocenteredtilde=415,A.Ocircle=9412,A.Ocircumflex=212,A.Ocircumflexacute=7888,A.Ocircumflexdotbelow=7896,A.Ocircumflexgrave=7890,A.Ocircumflexhookabove=7892,A.Ocircumflexsmall=63476,A.Ocircumflextilde=7894,A.Ocyrillic=1054,A.Odblacute=336,A.Odblgrave=524,A.Odieresis=214,A.Odieresiscyrillic=1254,A.Odieresissmall=63478,A.Odotbelow=7884,A.Ogoneksmall=63227,A.Ograve=210,A.Ogravesmall=63474,A.Oharmenian=1365,A.Ohm=8486,A.Ohookabove=7886,A.Ohorn=416,A.Ohornacute=7898,A.Ohorndotbelow=7906,A.Ohorngrave=7900,A.Ohornhookabove=7902,A.Ohorntilde=7904,A.Ohungarumlaut=336,A.Oi=418,A.Oinvertedbreve=526,A.Omacron=332,A.Omacronacute=7762,A.Omacrongrave=7760,A.Omega=8486,A.Omegacyrillic=1120,A.Omegagreek=937,A.Omegaroundcyrillic=1146,A.Omegatitlocyrillic=1148,A.Omegatonos=911,A.Omicron=927,A.Omicrontonos=908,A.Omonospace=65327,A.Oneroman=8544,A.Oogonek=490,A.Oogonekmacron=492,A.Oopen=390,A.Oslash=216,A.Oslashacute=510,A.Oslashsmall=63480,A.Osmall=63343,A.Ostrokeacute=510,A.Otcyrillic=1150,A.Otilde=213,A.Otildeacute=7756,A.Otildedieresis=7758,A.Otildesmall=63477,A.P=80,A.Pacute=7764,A.Pcircle=9413,A.Pdotaccent=7766,A.Pecyrillic=1055,A.Peharmenian=1354,A.Pemiddlehookcyrillic=1190,A.Phi=934,A.Phook=420,A.Pi=928,A.Piwrarmenian=1363,A.Pmonospace=65328,A.Psi=936,A.Psicyrillic=1136,A.Psmall=63344,A.Q=81,A.Qcircle=9414,A.Qmonospace=65329,A.Qsmall=63345,A.R=82,A.Raarmenian=1356,A.Racute=340,A.Rcaron=344,A.Rcedilla=342,A.Rcircle=9415,A.Rcommaaccent=342,A.Rdblgrave=528,A.Rdotaccent=7768,A.Rdotbelow=7770,A.Rdotbelowmacron=7772,A.Reharmenian=1360,A.Rfraktur=8476,A.Rho=929,A.Ringsmall=63228,A.Rinvertedbreve=530,A.Rlinebelow=7774,A.Rmonospace=65330,A.Rsmall=63346,A.Rsmallinverted=641,A.Rsmallinvertedsuperior=694,A.S=83,A.SF010000=9484,A.SF020000=9492,A.SF030000=9488,A.SF040000=9496,A.SF050000=9532,A.SF060000=9516,A.SF070000=9524,A.SF080000=9500,A.SF090000=9508,A.SF100000=9472,A.SF110000=9474,A.SF190000=9569,A.SF200000=9570,A.SF210000=9558,A.SF220000=9557,A.SF230000=9571,A.SF240000=9553,A.SF250000=9559,A.SF260000=9565,A.SF270000=9564,A.SF280000=9563,A.SF360000=9566,A.SF370000=9567,A.SF380000=9562,A.SF390000=9556,A.SF400000=9577,A.SF410000=9574,A.SF420000=9568,A.SF430000=9552,A.SF440000=9580,A.SF450000=9575,A.SF460000=9576,A.SF470000=9572,A.SF480000=9573,A.SF490000=9561,A.SF500000=9560,A.SF510000=9554,A.SF520000=9555,A.SF530000=9579,A.SF540000=9578,A.Sacute=346,A.Sacutedotaccent=7780,A.Sampigreek=992,A.Scaron=352,A.Scarondotaccent=7782,A.Scaronsmall=63229,A.Scedilla=350,A.Schwa=399,A.Schwacyrillic=1240,A.Schwadieresiscyrillic=1242,A.Scircle=9416,A.Scircumflex=348,A.Scommaaccent=536,A.Sdotaccent=7776,A.Sdotbelow=7778,A.Sdotbelowdotaccent=7784,A.Seharmenian=1357,A.Sevenroman=8550,A.Shaarmenian=1351,A.Shacyrillic=1064,A.Shchacyrillic=1065,A.Sheicoptic=994,A.Shhacyrillic=1210,A.Shimacoptic=1004,A.Sigma=931,A.Sixroman=8549,A.Smonospace=65331,A.Softsigncyrillic=1068,A.Ssmall=63347,A.Stigmagreek=986,A.T=84,A.Tau=932,A.Tbar=358,A.Tcaron=356,A.Tcedilla=354,A.Tcircle=9417,A.Tcircumflexbelow=7792,A.Tcommaaccent=354,A.Tdotaccent=7786,A.Tdotbelow=7788,A.Tecyrillic=1058,A.Tedescendercyrillic=1196,A.Tenroman=8553,A.Tetsecyrillic=1204,A.Theta=920,A.Thook=428,A.Thorn=222,A.Thornsmall=63486,A.Threeroman=8546,A.Tildesmall=63230,A.Tiwnarmenian=1359,A.Tlinebelow=7790,A.Tmonospace=65332,A.Toarmenian=1337,A.Tonefive=444,A.Tonesix=388,A.Tonetwo=423,A.Tretroflexhook=430,A.Tsecyrillic=1062,A.Tshecyrillic=1035,A.Tsmall=63348,A.Twelveroman=8555,A.Tworoman=8545,A.U=85,A.Uacute=218,A.Uacutesmall=63482,A.Ubreve=364,A.Ucaron=467,A.Ucircle=9418,A.Ucircumflex=219,A.Ucircumflexbelow=7798,A.Ucircumflexsmall=63483,A.Ucyrillic=1059,A.Udblacute=368,A.Udblgrave=532,A.Udieresis=220,A.Udieresisacute=471,A.Udieresisbelow=7794,A.Udieresiscaron=473,A.Udieresiscyrillic=1264,A.Udieresisgrave=475,A.Udieresismacron=469,A.Udieresissmall=63484,A.Udotbelow=7908,A.Ugrave=217,A.Ugravesmall=63481,A.Uhookabove=7910,A.Uhorn=431,A.Uhornacute=7912,A.Uhorndotbelow=7920,A.Uhorngrave=7914,A.Uhornhookabove=7916,A.Uhorntilde=7918,A.Uhungarumlaut=368,A.Uhungarumlautcyrillic=1266,A.Uinvertedbreve=534,A.Ukcyrillic=1144,A.Umacron=362,A.Umacroncyrillic=1262,A.Umacrondieresis=7802,A.Umonospace=65333,A.Uogonek=370,A.Upsilon=933,A.Upsilon1=978,A.Upsilonacutehooksymbolgreek=979,A.Upsilonafrican=433,A.Upsilondieresis=939,A.Upsilondieresishooksymbolgreek=980,A.Upsilonhooksymbol=978,A.Upsilontonos=910,A.Uring=366,A.Ushortcyrillic=1038,A.Usmall=63349,A.Ustraightcyrillic=1198,A.Ustraightstrokecyrillic=1200,A.Utilde=360,A.Utildeacute=7800,A.Utildebelow=7796,A.V=86,A.Vcircle=9419,A.Vdotbelow=7806,A.Vecyrillic=1042,A.Vewarmenian=1358,A.Vhook=434,A.Vmonospace=65334,A.Voarmenian=1352,A.Vsmall=63350,A.Vtilde=7804,A.W=87,A.Wacute=7810,A.Wcircle=9420,A.Wcircumflex=372,A.Wdieresis=7812,A.Wdotaccent=7814,A.Wdotbelow=7816,A.Wgrave=7808,A.Wmonospace=65335,A.Wsmall=63351,A.X=88,A.Xcircle=9421,A.Xdieresis=7820,A.Xdotaccent=7818,A.Xeharmenian=1341,A.Xi=926,A.Xmonospace=65336,A.Xsmall=63352,A.Y=89,A.Yacute=221,A.Yacutesmall=63485,A.Yatcyrillic=1122,A.Ycircle=9422,A.Ycircumflex=374,A.Ydieresis=376,A.Ydieresissmall=63487,A.Ydotaccent=7822,A.Ydotbelow=7924,A.Yericyrillic=1067,A.Yerudieresiscyrillic=1272,A.Ygrave=7922,A.Yhook=435,A.Yhookabove=7926,A.Yiarmenian=1349,A.Yicyrillic=1031,A.Yiwnarmenian=1362,A.Ymonospace=65337,A.Ysmall=63353,A.Ytilde=7928,A.Yusbigcyrillic=1130,A.Yusbigiotifiedcyrillic=1132,A.Yuslittlecyrillic=1126,A.Yuslittleiotifiedcyrillic=1128,A.Z=90,A.Zaarmenian=1334,A.Zacute=377,A.Zcaron=381,A.Zcaronsmall=63231,A.Zcircle=9423,A.Zcircumflex=7824,A.Zdot=379,A.Zdotaccent=379,A.Zdotbelow=7826,A.Zecyrillic=1047,A.Zedescendercyrillic=1176,A.Zedieresiscyrillic=1246,A.Zeta=918,A.Zhearmenian=1338,A.Zhebrevecyrillic=1217,A.Zhecyrillic=1046,A.Zhedescendercyrillic=1174,A.Zhedieresiscyrillic=1244,A.Zlinebelow=7828,A.Zmonospace=65338,A.Zsmall=63354,A.Zstroke=437,A.a=97,A.aabengali=2438,A.aacute=225,A.aadeva=2310,A.aagujarati=2694,A.aagurmukhi=2566,A.aamatragurmukhi=2622,A.aarusquare=13059,A.aavowelsignbengali=2494,A.aavowelsigndeva=2366,A.aavowelsigngujarati=2750,A.abbreviationmarkarmenian=1375,A.abbreviationsigndeva=2416,A.abengali=2437,A.abopomofo=12570,A.abreve=259,A.abreveacute=7855,A.abrevecyrillic=1233,A.abrevedotbelow=7863,A.abrevegrave=7857,A.abrevehookabove=7859,A.abrevetilde=7861,A.acaron=462,A.acircle=9424,A.acircumflex=226,A.acircumflexacute=7845,A.acircumflexdotbelow=7853,A.acircumflexgrave=7847,A.acircumflexhookabove=7849,A.acircumflextilde=7851,A.acute=180,A.acutebelowcmb=791,A.acutecmb=769,A.acutecomb=769,A.acutedeva=2388,A.acutelowmod=719,A.acutetonecmb=833,A.acyrillic=1072,A.adblgrave=513,A.addakgurmukhi=2673,A.adeva=2309,A.adieresis=228,A.adieresiscyrillic=1235,A.adieresismacron=479,A.adotbelow=7841,A.adotmacron=481,A.ae=230,A.aeacute=509,A.aekorean=12624,A.aemacron=483,A.afii00208=8213,A.afii08941=8356,A.afii10017=1040,A.afii10018=1041,A.afii10019=1042,A.afii10020=1043,A.afii10021=1044,A.afii10022=1045,A.afii10023=1025,A.afii10024=1046,A.afii10025=1047,A.afii10026=1048,A.afii10027=1049,A.afii10028=1050,A.afii10029=1051,A.afii10030=1052;A.afii10031=1053,A.afii10032=1054,A.afii10033=1055,A.afii10034=1056,A.afii10035=1057,A.afii10036=1058,A.afii10037=1059,A.afii10038=1060,A.afii10039=1061,A.afii10040=1062,A.afii10041=1063,A.afii10042=1064,A.afii10043=1065,A.afii10044=1066,A.afii10045=1067,A.afii10046=1068,A.afii10047=1069,A.afii10048=1070,A.afii10049=1071,A.afii10050=1168,A.afii10051=1026,A.afii10052=1027,A.afii10053=1028,A.afii10054=1029,A.afii10055=1030,A.afii10056=1031,A.afii10057=1032,A.afii10058=1033,A.afii10059=1034,A.afii10060=1035,A.afii10061=1036,A.afii10062=1038,A.afii10063=63172,A.afii10064=63173,A.afii10065=1072,A.afii10066=1073,A.afii10067=1074,A.afii10068=1075,A.afii10069=1076,A.afii10070=1077,A.afii10071=1105,A.afii10072=1078,A.afii10073=1079,A.afii10074=1080,A.afii10075=1081,A.afii10076=1082,A.afii10077=1083,A.afii10078=1084,A.afii10079=1085,A.afii10080=1086,A.afii10081=1087,A.afii10082=1088,A.afii10083=1089,A.afii10084=1090,A.afii10085=1091,A.afii10086=1092,A.afii10087=1093,A.afii10088=1094,A.afii10089=1095,A.afii10090=1096,A.afii10091=1097,A.afii10092=1098,A.afii10093=1099,A.afii10094=1100,A.afii10095=1101,A.afii10096=1102,A.afii10097=1103,A.afii10098=1169,A.afii10099=1106,A.afii10100=1107,A.afii10101=1108,A.afii10102=1109,A.afii10103=1110,A.afii10104=1111,A.afii10105=1112,A.afii10106=1113,A.afii10107=1114,A.afii10108=1115,A.afii10109=1116,A.afii10110=1118,A.afii10145=1039,A.afii10146=1122,A.afii10147=1138,A.afii10148=1140,A.afii10192=63174,A.afii10193=1119,A.afii10194=1123,A.afii10195=1139,A.afii10196=1141,A.afii10831=63175,A.afii10832=63176,A.afii10846=1241,A.afii299=8206,A.afii300=8207,A.afii301=8205,A.afii57381=1642,A.afii57388=1548,A.afii57392=1632,A.afii57393=1633,A.afii57394=1634,A.afii57395=1635,A.afii57396=1636,A.afii57397=1637,A.afii57398=1638,A.afii57399=1639,A.afii57400=1640,A.afii57401=1641,A.afii57403=1563,A.afii57407=1567,A.afii57409=1569,A.afii57410=1570,A.afii57411=1571,A.afii57412=1572,A.afii57413=1573,A.afii57414=1574,A.afii57415=1575,A.afii57416=1576,A.afii57417=1577,A.afii57418=1578,A.afii57419=1579,A.afii57420=1580,A.afii57421=1581,A.afii57422=1582,A.afii57423=1583,A.afii57424=1584,A.afii57425=1585,A.afii57426=1586,A.afii57427=1587,A.afii57428=1588,A.afii57429=1589,A.afii57430=1590,A.afii57431=1591,A.afii57432=1592,A.afii57433=1593,A.afii57434=1594,A.afii57440=1600,A.afii57441=1601,A.afii57442=1602,A.afii57443=1603,A.afii57444=1604,A.afii57445=1605,A.afii57446=1606,A.afii57448=1608,A.afii57449=1609,A.afii57450=1610,A.afii57451=1611,A.afii57452=1612,A.afii57453=1613,A.afii57454=1614,A.afii57455=1615,A.afii57456=1616,A.afii57457=1617,A.afii57458=1618,A.afii57470=1607,A.afii57505=1700,A.afii57506=1662,A.afii57507=1670,A.afii57508=1688,A.afii57509=1711,A.afii57511=1657,A.afii57512=1672,A.afii57513=1681,A.afii57514=1722,A.afii57519=1746,A.afii57534=1749,A.afii57636=8362,A.afii57645=1470,A.afii57658=1475,A.afii57664=1488,A.afii57665=1489,A.afii57666=1490,A.afii57667=1491,A.afii57668=1492,A.afii57669=1493,A.afii57670=1494,A.afii57671=1495,A.afii57672=1496,A.afii57673=1497,A.afii57674=1498,A.afii57675=1499,A.afii57676=1500,A.afii57677=1501,A.afii57678=1502,A.afii57679=1503,A.afii57680=1504,A.afii57681=1505,A.afii57682=1506,A.afii57683=1507,A.afii57684=1508,A.afii57685=1509,A.afii57686=1510,A.afii57687=1511,A.afii57688=1512,A.afii57689=1513,A.afii57690=1514,A.afii57694=64298,A.afii57695=64299,A.afii57700=64331,A.afii57705=64287,A.afii57716=1520,A.afii57717=1521,A.afii57718=1522,A.afii57723=64309,A.afii57793=1460,A.afii57794=1461,A.afii57795=1462,A.afii57796=1467,A.afii57797=1464,A.afii57798=1463,A.afii57799=1456,A.afii57800=1458,A.afii57801=1457,A.afii57802=1459,A.afii57803=1474,A.afii57804=1473,A.afii57806=1465,A.afii57807=1468,A.afii57839=1469,A.afii57841=1471,A.afii57842=1472,A.afii57929=700,A.afii61248=8453,A.afii61289=8467,A.afii61352=8470,A.afii61573=8236,A.afii61574=8237,A.afii61575=8238,A.afii61664=8204,A.afii63167=1645,A.afii64937=701,A.agrave=224,A.agujarati=2693,A.agurmukhi=2565,A.ahiragana=12354,A.ahookabove=7843,A.aibengali=2448,A.aibopomofo=12574,A.aideva=2320,A.aiecyrillic=1237,A.aigujarati=2704,A.aigurmukhi=2576,A.aimatragurmukhi=2632,A.ainarabic=1593,A.ainfinalarabic=65226,A.aininitialarabic=65227,A.ainmedialarabic=65228,A.ainvertedbreve=515,A.aivowelsignbengali=2504,A.aivowelsigndeva=2376,A.aivowelsigngujarati=2760,A.akatakana=12450,A.akatakanahalfwidth=65393,A.akorean=12623,A.alef=1488,A.alefarabic=1575,A.alefdageshhebrew=64304,A.aleffinalarabic=65166,A.alefhamzaabovearabic=1571,A.alefhamzaabovefinalarabic=65156,A.alefhamzabelowarabic=1573,A.alefhamzabelowfinalarabic=65160,A.alefhebrew=1488,A.aleflamedhebrew=64335,A.alefmaddaabovearabic=1570,A.alefmaddaabovefinalarabic=65154,A.alefmaksuraarabic=1609,A.alefmaksurafinalarabic=65264,A.alefmaksurainitialarabic=65267,A.alefmaksuramedialarabic=65268,A.alefpatahhebrew=64302,A.alefqamatshebrew=64303,A.aleph=8501,A.allequal=8780,A.alpha=945,A.alphatonos=940,A.amacron=257,A.amonospace=65345,A.ampersand=38,A.ampersandmonospace=65286,A.ampersandsmall=63270,A.amsquare=13250,A.anbopomofo=12578,A.angbopomofo=12580,A.angbracketleft=12296,A.angbracketright=12297,A.angkhankhuthai=3674,A.angle=8736,A.anglebracketleft=12296,A.anglebracketleftvertical=65087,A.anglebracketright=12297,A.anglebracketrightvertical=65088,A.angleleft=9001,A.angleright=9002,A.angstrom=8491,A.anoteleia=903,A.anudattadeva=2386,A.anusvarabengali=2434,A.anusvaradeva=2306,A.anusvaragujarati=2690,A.aogonek=261,A.apaatosquare=13056,A.aparen=9372,A.apostrophearmenian=1370,A.apostrophemod=700,A.apple=63743,A.approaches=8784,A.approxequal=8776,A.approxequalorimage=8786,A.approximatelyequal=8773,A.araeaekorean=12686,A.araeakorean=12685,A.arc=8978,A.arighthalfring=7834,A.aring=229,A.aringacute=507,A.aringbelow=7681,A.arrowboth=8596,A.arrowdashdown=8675,A.arrowdashleft=8672,A.arrowdashright=8674,A.arrowdashup=8673,A.arrowdblboth=8660,A.arrowdbldown=8659,A.arrowdblleft=8656,A.arrowdblright=8658,A.arrowdblup=8657,A.arrowdown=8595,A.arrowdownleft=8601,A.arrowdownright=8600,A.arrowdownwhite=8681,A.arrowheaddownmod=709,A.arrowheadleftmod=706,A.arrowheadrightmod=707,A.arrowheadupmod=708,A.arrowhorizex=63719,A.arrowleft=8592,A.arrowleftdbl=8656,A.arrowleftdblstroke=8653,A.arrowleftoverright=8646,A.arrowleftwhite=8678,A.arrowright=8594,A.arrowrightdblstroke=8655,A.arrowrightheavy=10142,A.arrowrightoverleft=8644,A.arrowrightwhite=8680,A.arrowtableft=8676,A.arrowtabright=8677,A.arrowup=8593,A.arrowupdn=8597,A.arrowupdnbse=8616,A.arrowupdownbase=8616,A.arrowupleft=8598,A.arrowupleftofdown=8645,A.arrowupright=8599,A.arrowupwhite=8679,A.arrowvertex=63718,A.asciicircum=94,A.asciicircummonospace=65342,A.asciitilde=126,A.asciitildemonospace=65374,A.ascript=593,A.ascriptturned=594,A.asmallhiragana=12353,A.asmallkatakana=12449,A.asmallkatakanahalfwidth=65383,A.asterisk=42,A.asteriskaltonearabic=1645,A.asteriskarabic=1645,A.asteriskmath=8727,A.asteriskmonospace=65290,A.asterisksmall=65121,A.asterism=8258,A.asuperior=63209,A.asymptoticallyequal=8771,A.at=64,A.atilde=227,A.atmonospace=65312,A.atsmall=65131,A.aturned=592,A.aubengali=2452,A.aubopomofo=12576,A.audeva=2324,A.augujarati=2708,A.augurmukhi=2580,A.aulengthmarkbengali=2519,A.aumatragurmukhi=2636,A.auvowelsignbengali=2508,A.auvowelsigndeva=2380,A.auvowelsigngujarati=2764,A.avagrahadeva=2365,A.aybarmenian=1377,A.ayin=1506,A.ayinaltonehebrew=64288,A.ayinhebrew=1506,A.b=98,A.babengali=2476,A.backslash=92,A.backslashmonospace=65340,A.badeva=2348,A.bagujarati=2732,A.bagurmukhi=2604,A.bahiragana=12400,A.bahtthai=3647,A.bakatakana=12496,A.bar=124,A.barmonospace=65372,A.bbopomofo=12549,A.bcircle=9425,A.bdotaccent=7683,A.bdotbelow=7685,A.beamedsixteenthnotes=9836,A.because=8757,A.becyrillic=1073,A.beharabic=1576,A.behfinalarabic=65168,A.behinitialarabic=65169,A.behiragana=12409,A.behmedialarabic=65170,A.behmeeminitialarabic=64671,A.behmeemisolatedarabic=64520,A.behnoonfinalarabic=64621,A.bekatakana=12505,A.benarmenian=1378,A.bet=1489,A.beta=946,A.betasymbolgreek=976,A.betdagesh=64305,A.betdageshhebrew=64305,A.bethebrew=1489,A.betrafehebrew=64332,A.bhabengali=2477,A.bhadeva=2349,A.bhagujarati=2733,A.bhagurmukhi=2605,A.bhook=595,A.bihiragana=12403,A.bikatakana=12499,A.bilabialclick=664,A.bindigurmukhi=2562,A.birusquare=13105,A.blackcircle=9679,A.blackdiamond=9670,A.blackdownpointingtriangle=9660,A.blackleftpointingpointer=9668,A.blackleftpointingtriangle=9664,A.blacklenticularbracketleft=12304,A.blacklenticularbracketleftvertical=65083,A.blacklenticularbracketright=12305,A.blacklenticularbracketrightvertical=65084,A.blacklowerlefttriangle=9699,A.blacklowerrighttriangle=9698,A.blackrectangle=9644,A.blackrightpointingpointer=9658,A.blackrightpointingtriangle=9654,A.blacksmallsquare=9642,A.blacksmilingface=9787,A.blacksquare=9632,A.blackstar=9733,A.blackupperlefttriangle=9700,A.blackupperrighttriangle=9701,A.blackuppointingsmalltriangle=9652,A.blackuppointingtriangle=9650,A.blank=9251,A.blinebelow=7687,A.block=9608,A.bmonospace=65346,A.bobaimaithai=3610,A.bohiragana=12412,A.bokatakana=12508,A.bparen=9373,A.bqsquare=13251,A.braceex=63732,A.braceleft=123,A.braceleftbt=63731,A.braceleftmid=63730,A.braceleftmonospace=65371,A.braceleftsmall=65115,A.bracelefttp=63729,A.braceleftvertical=65079,A.braceright=125,A.bracerightbt=63742,A.bracerightmid=63741,A.bracerightmonospace=65373,A.bracerightsmall=65116,A.bracerighttp=63740,A.bracerightvertical=65080,A.bracketleft=91,A.bracketleftbt=63728,A.bracketleftex=63727,A.bracketleftmonospace=65339,A.bracketlefttp=63726,A.bracketright=93,A.bracketrightbt=63739,A.bracketrightex=63738,A.bracketrightmonospace=65341,A.bracketrighttp=63737,A.breve=728,A.brevebelowcmb=814,A.brevecmb=774,A.breveinvertedbelowcmb=815,A.breveinvertedcmb=785,A.breveinverteddoublecmb=865,A.bridgebelowcmb=810,A.bridgeinvertedbelowcmb=826,A.brokenbar=166,A.bstroke=384,A.bsuperior=63210,A.btopbar=387,A.buhiragana=12406,A.bukatakana=12502,A.bullet=8226,A.bulletinverse=9688,A.bulletoperator=8729,A.bullseye=9678,A.c=99,A.caarmenian=1390,A.cabengali=2458,A.cacute=263,A.cadeva=2330,A.cagujarati=2714,A.cagurmukhi=2586,A.calsquare=13192,A.candrabindubengali=2433,A.candrabinducmb=784,A.candrabindudeva=2305,A.candrabindugujarati=2689,A.capslock=8682,A.careof=8453,A.caron=711,A.caronbelowcmb=812,A.caroncmb=780,A.carriagereturn=8629,A.cbopomofo=12568,A.ccaron=269,A.ccedilla=231,A.ccedillaacute=7689,A.ccircle=9426,A.ccircumflex=265,A.ccurl=597,A.cdot=267,A.cdotaccent=267,A.cdsquare=13253,A.cedilla=184,A.cedillacmb=807,A.cent=162,A.centigrade=8451,A.centinferior=63199,A.centmonospace=65504,A.centoldstyle=63394,A.centsuperior=63200,A.chaarmenian=1401,A.chabengali=2459,A.chadeva=2331,A.chagujarati=2715,A.chagurmukhi=2587,A.chbopomofo=12564,A.cheabkhasiancyrillic=1213,A.checkmark=10003,A.checyrillic=1095,A.chedescenderabkhasiancyrillic=1215,A.chedescendercyrillic=1207,A.chedieresiscyrillic=1269,A.cheharmenian=1395,A.chekhakassiancyrillic=1228,A.cheverticalstrokecyrillic=1209,A.chi=967,A.chieuchacirclekorean=12919,A.chieuchaparenkorean=12823,A.chieuchcirclekorean=12905,A.chieuchkorean=12618,A.chieuchparenkorean=12809,A.chochangthai=3594,A.chochanthai=3592,A.chochingthai=3593,A.chochoethai=3596,A.chook=392,A.cieucacirclekorean=12918,A.cieucaparenkorean=12822,A.cieuccirclekorean=12904,A.cieuckorean=12616,A.cieucparenkorean=12808,A.cieucuparenkorean=12828,A.circle=9675,A.circlecopyrt=169,A.circlemultiply=8855,A.circleot=8857,A.circleplus=8853,A.circlepostalmark=12342,A.circlewithlefthalfblack=9680,A.circlewithrighthalfblack=9681,A.circumflex=710,A.circumflexbelowcmb=813,A.circumflexcmb=770,A.clear=8999,A.clickalveolar=450,A.clickdental=448,A.clicklateral=449,A.clickretroflex=451,A.club=9827,A.clubsuitblack=9827,A.clubsuitwhite=9831,A.cmcubedsquare=13220,A.cmonospace=65347,A.cmsquaredsquare=13216,A.coarmenian=1409,A.colon=58,A.colonmonetary=8353,A.colonmonospace=65306,A.colonsign=8353,A.colonsmall=65109,A.colontriangularhalfmod=721,A.colontriangularmod=720,A.comma=44,A.commaabovecmb=787,A.commaaboverightcmb=789,A.commaaccent=63171,A.commaarabic=1548,A.commaarmenian=1373,A.commainferior=63201,A.commamonospace=65292,A.commareversedabovecmb=788,A.commareversedmod=701,A.commasmall=65104,A.commasuperior=63202,A.commaturnedabovecmb=786,A.commaturnedmod=699,A.compass=9788,A.congruent=8773,A.contourintegral=8750,A.control=8963,A.controlACK=6,A.controlBEL=7,A.controlBS=8,A.controlCAN=24,A.controlCR=13,A.controlDC1=17,A.controlDC2=18,A.controlDC3=19,A.controlDC4=20,A.controlDEL=127,A.controlDLE=16,A.controlEM=25,A.controlENQ=5,A.controlEOT=4,A.controlESC=27,A.controlETB=23,A.controlETX=3,A.controlFF=12,A.controlFS=28,A.controlGS=29,A.controlHT=9,A.controlLF=10,A.controlNAK=21,A.controlNULL=0,A.controlRS=30,A.controlSI=15,A.controlSO=14,A.controlSOT=2,A.controlSTX=1,A.controlSUB=26,A.controlSYN=22,A.controlUS=31,A.controlVT=11,A.copyright=169,A.copyrightsans=63721,A.copyrightserif=63193,A.cornerbracketleft=12300,A.cornerbracketlefthalfwidth=65378,A.cornerbracketleftvertical=65089,A.cornerbracketright=12301,A.cornerbracketrighthalfwidth=65379,A.cornerbracketrightvertical=65090,A.corporationsquare=13183,A.cosquare=13255,A.coverkgsquare=13254,A.cparen=9374,A.cruzeiro=8354,A.cstretched=663,A.curlyand=8911,A.curlyor=8910,A.currency=164,A.cyrBreve=63185,A.cyrFlex=63186,A.cyrbreve=63188,A.cyrflex=63189,A.d=100,A.daarmenian=1380,A.dabengali=2470,A.dadarabic=1590,A.dadeva=2342,A.dadfinalarabic=65214,A.dadinitialarabic=65215,A.dadmedialarabic=65216,A.dagesh=1468,A.dageshhebrew=1468,A.dagger=8224,A.daggerdbl=8225,A.dagujarati=2726,A.dagurmukhi=2598,A.dahiragana=12384,A.dakatakana=12480,A.dalarabic=1583,A.dalet=1491,A.daletdagesh=64307,A.daletdageshhebrew=64307,A.dalethebrew=1491,A.dalfinalarabic=65194,A.dammaarabic=1615,A.dammalowarabic=1615,A.dammatanaltonearabic=1612,A.dammatanarabic=1612,A.danda=2404,A.dargahebrew=1447,A.dargalefthebrew=1447,A.dasiapneumatacyrilliccmb=1157,A.dblGrave=63187,A.dblanglebracketleft=12298,A.dblanglebracketleftvertical=65085,A.dblanglebracketright=12299,A.dblanglebracketrightvertical=65086,A.dblarchinvertedbelowcmb=811,A.dblarrowleft=8660,A.dblarrowright=8658,A.dbldanda=2405,A.dblgrave=63190,A.dblgravecmb=783,A.dblintegral=8748,A.dbllowline=8215,A.dbllowlinecmb=819,A.dbloverlinecmb=831,A.dblprimemod=698,A.dblverticalbar=8214,A.dblverticallineabovecmb=782,A.dbopomofo=12553,A.dbsquare=13256,A.dcaron=271,A.dcedilla=7697,A.dcircle=9427,A.dcircumflexbelow=7699,A.dcroat=273,A.ddabengali=2465,A.ddadeva=2337,A.ddagujarati=2721,A.ddagurmukhi=2593,A.ddalarabic=1672,A.ddalfinalarabic=64393,A.dddhadeva=2396,A.ddhabengali=2466,A.ddhadeva=2338,A.ddhagujarati=2722,A.ddhagurmukhi=2594,A.ddotaccent=7691,A.ddotbelow=7693,A.decimalseparatorarabic=1643,A.decimalseparatorpersian=1643,A.decyrillic=1076,A.degree=176,A.dehihebrew=1453,A.dehiragana=12391,A.deicoptic=1007,A.dekatakana=12487,A.deleteleft=9003,A.deleteright=8998,A.delta=948,A.deltaturned=397,A.denominatorminusonenumeratorbengali=2552,A.dezh=676,A.dhabengali=2471,A.dhadeva=2343,A.dhagujarati=2727,A.dhagurmukhi=2599,A.dhook=599,A.dialytikatonos=901,A.dialytikatonoscmb=836,A.diamond=9830,A.diamondsuitwhite=9826,A.dieresis=168,A.dieresisacute=63191,A.dieresisbelowcmb=804,A.dieresiscmb=776,A.dieresisgrave=63192,A.dieresistonos=901,A.dihiragana=12386,A.dikatakana=12482,A.dittomark=12291,A.divide=247,A.divides=8739,A.divisionslash=8725,A.djecyrillic=1106,A.dkshade=9619,A.dlinebelow=7695,A.dlsquare=13207,A.dmacron=273,A.dmonospace=65348,A.dnblock=9604,A.dochadathai=3598,A.dodekthai=3604,A.dohiragana=12393,A.dokatakana=12489,A.dollar=36;A.dollarinferior=63203,A.dollarmonospace=65284,A.dollaroldstyle=63268,A.dollarsmall=65129,A.dollarsuperior=63204,A.dong=8363,A.dorusquare=13094,A.dotaccent=729,A.dotaccentcmb=775,A.dotbelowcmb=803,A.dotbelowcomb=803,A.dotkatakana=12539,A.dotlessi=305,A.dotlessj=63166,A.dotlessjstrokehook=644,A.dotmath=8901,A.dottedcircle=9676,A.doubleyodpatah=64287,A.doubleyodpatahhebrew=64287,A.downtackbelowcmb=798,A.downtackmod=725,A.dparen=9375,A.dsuperior=63211,A.dtail=598,A.dtopbar=396,A.duhiragana=12389,A.dukatakana=12485,A.dz=499,A.dzaltone=675,A.dzcaron=454,A.dzcurl=677,A.dzeabkhasiancyrillic=1249,A.dzecyrillic=1109,A.dzhecyrillic=1119,A.e=101,A.eacute=233,A.earth=9793,A.ebengali=2447,A.ebopomofo=12572,A.ebreve=277,A.ecandradeva=2317,A.ecandragujarati=2701,A.ecandravowelsigndeva=2373,A.ecandravowelsigngujarati=2757,A.ecaron=283,A.ecedillabreve=7709,A.echarmenian=1381,A.echyiwnarmenian=1415,A.ecircle=9428,A.ecircumflex=234,A.ecircumflexacute=7871,A.ecircumflexbelow=7705,A.ecircumflexdotbelow=7879,A.ecircumflexgrave=7873,A.ecircumflexhookabove=7875,A.ecircumflextilde=7877,A.ecyrillic=1108,A.edblgrave=517,A.edeva=2319,A.edieresis=235,A.edot=279,A.edotaccent=279,A.edotbelow=7865,A.eegurmukhi=2575,A.eematragurmukhi=2631,A.efcyrillic=1092,A.egrave=232,A.egujarati=2703,A.eharmenian=1383,A.ehbopomofo=12573,A.ehiragana=12360,A.ehookabove=7867,A.eibopomofo=12575,A.eight=56,A.eightarabic=1640,A.eightbengali=2542,A.eightcircle=9319,A.eightcircleinversesansserif=10129,A.eightdeva=2414,A.eighteencircle=9329,A.eighteenparen=9349,A.eighteenperiod=9369,A.eightgujarati=2798,A.eightgurmukhi=2670,A.eighthackarabic=1640,A.eighthangzhou=12328,A.eighthnotebeamed=9835,A.eightideographicparen=12839,A.eightinferior=8328,A.eightmonospace=65304,A.eightoldstyle=63288,A.eightparen=9339,A.eightperiod=9359,A.eightpersian=1784,A.eightroman=8567,A.eightsuperior=8312,A.eightthai=3672,A.einvertedbreve=519,A.eiotifiedcyrillic=1125,A.ekatakana=12456,A.ekatakanahalfwidth=65396,A.ekonkargurmukhi=2676,A.ekorean=12628,A.elcyrillic=1083,A.element=8712,A.elevencircle=9322,A.elevenparen=9342,A.elevenperiod=9362,A.elevenroman=8570,A.ellipsis=8230,A.ellipsisvertical=8942,A.emacron=275,A.emacronacute=7703,A.emacrongrave=7701,A.emcyrillic=1084,A.emdash=8212,A.emdashvertical=65073,A.emonospace=65349,A.emphasismarkarmenian=1371,A.emptyset=8709,A.enbopomofo=12579,A.encyrillic=1085,A.endash=8211,A.endashvertical=65074,A.endescendercyrillic=1187,A.eng=331,A.engbopomofo=12581,A.enghecyrillic=1189,A.enhookcyrillic=1224,A.enspace=8194,A.eogonek=281,A.eokorean=12627,A.eopen=603,A.eopenclosed=666,A.eopenreversed=604,A.eopenreversedclosed=606,A.eopenreversedhook=605,A.eparen=9376,A.epsilon=949,A.epsilontonos=941,A.equal=61,A.equalmonospace=65309,A.equalsmall=65126,A.equalsuperior=8316,A.equivalence=8801,A.erbopomofo=12582,A.ercyrillic=1088,A.ereversed=600,A.ereversedcyrillic=1101,A.escyrillic=1089,A.esdescendercyrillic=1195,A.esh=643,A.eshcurl=646,A.eshortdeva=2318,A.eshortvowelsigndeva=2374,A.eshreversedloop=426,A.eshsquatreversed=645,A.esmallhiragana=12359,A.esmallkatakana=12455,A.esmallkatakanahalfwidth=65386,A.estimated=8494,A.esuperior=63212,A.eta=951,A.etarmenian=1384,A.etatonos=942,A.eth=240,A.etilde=7869,A.etildebelow=7707,A.etnahtafoukhhebrew=1425,A.etnahtafoukhlefthebrew=1425,A.etnahtahebrew=1425,A.etnahtalefthebrew=1425,A.eturned=477,A.eukorean=12641,A.euro=8364,A.evowelsignbengali=2503,A.evowelsigndeva=2375,A.evowelsigngujarati=2759,A.exclam=33,A.exclamarmenian=1372,A.exclamdbl=8252,A.exclamdown=161,A.exclamdownsmall=63393,A.exclammonospace=65281,A.exclamsmall=63265,A.existential=8707,A.ezh=658,A.ezhcaron=495,A.ezhcurl=659,A.ezhreversed=441,A.ezhtail=442,A.f=102,A.fadeva=2398,A.fagurmukhi=2654,A.fahrenheit=8457,A.fathaarabic=1614,A.fathalowarabic=1614,A.fathatanarabic=1611,A.fbopomofo=12552,A.fcircle=9429,A.fdotaccent=7711,A.feharabic=1601,A.feharmenian=1414,A.fehfinalarabic=65234,A.fehinitialarabic=65235,A.fehmedialarabic=65236,A.feicoptic=997,A.female=9792,A.ff=64256,A.f_f=64256,A.ffi=64259,A.f_f_i=64259,A.ffl=64260,A.f_f_l=64260,A.fi=64257,A.f_i=64257,A.fifteencircle=9326,A.fifteenparen=9346,A.fifteenperiod=9366,A.figuredash=8210,A.filledbox=9632,A.filledrect=9644,A.finalkaf=1498,A.finalkafdagesh=64314,A.finalkafdageshhebrew=64314,A.finalkafhebrew=1498,A.finalmem=1501,A.finalmemhebrew=1501,A.finalnun=1503,A.finalnunhebrew=1503,A.finalpe=1507,A.finalpehebrew=1507,A.finaltsadi=1509,A.finaltsadihebrew=1509,A.firsttonechinese=713,A.fisheye=9673,A.fitacyrillic=1139,A.five=53,A.fivearabic=1637,A.fivebengali=2539,A.fivecircle=9316,A.fivecircleinversesansserif=10126,A.fivedeva=2411,A.fiveeighths=8541,A.fivegujarati=2795,A.fivegurmukhi=2667,A.fivehackarabic=1637,A.fivehangzhou=12325,A.fiveideographicparen=12836,A.fiveinferior=8325,A.fivemonospace=65301,A.fiveoldstyle=63285,A.fiveparen=9336,A.fiveperiod=9356,A.fivepersian=1781,A.fiveroman=8564,A.fivesuperior=8309,A.fivethai=3669,A.fl=64258,A.f_l=64258,A.florin=402,A.fmonospace=65350,A.fmsquare=13209,A.fofanthai=3615,A.fofathai=3613,A.fongmanthai=3663,A.forall=8704,A.four=52,A.fourarabic=1636,A.fourbengali=2538,A.fourcircle=9315,A.fourcircleinversesansserif=10125,A.fourdeva=2410,A.fourgujarati=2794,A.fourgurmukhi=2666,A.fourhackarabic=1636,A.fourhangzhou=12324,A.fourideographicparen=12835,A.fourinferior=8324,A.fourmonospace=65300,A.fournumeratorbengali=2551,A.fouroldstyle=63284,A.fourparen=9335,A.fourperiod=9355,A.fourpersian=1780,A.fourroman=8563,A.foursuperior=8308,A.fourteencircle=9325,A.fourteenparen=9345,A.fourteenperiod=9365,A.fourthai=3668,A.fourthtonechinese=715,A.fparen=9377,A.fraction=8260,A.franc=8355,A.g=103,A.gabengali=2455,A.gacute=501,A.gadeva=2327,A.gafarabic=1711,A.gaffinalarabic=64403,A.gafinitialarabic=64404,A.gafmedialarabic=64405,A.gagujarati=2711,A.gagurmukhi=2583,A.gahiragana=12364,A.gakatakana=12460,A.gamma=947,A.gammalatinsmall=611,A.gammasuperior=736,A.gangiacoptic=1003,A.gbopomofo=12557,A.gbreve=287,A.gcaron=487,A.gcedilla=291,A.gcircle=9430,A.gcircumflex=285,A.gcommaaccent=291,A.gdot=289,A.gdotaccent=289,A.gecyrillic=1075,A.gehiragana=12370,A.gekatakana=12466,A.geometricallyequal=8785,A.gereshaccenthebrew=1436,A.gereshhebrew=1523,A.gereshmuqdamhebrew=1437,A.germandbls=223,A.gershayimaccenthebrew=1438,A.gershayimhebrew=1524,A.getamark=12307,A.ghabengali=2456,A.ghadarmenian=1394,A.ghadeva=2328,A.ghagujarati=2712,A.ghagurmukhi=2584,A.ghainarabic=1594,A.ghainfinalarabic=65230,A.ghaininitialarabic=65231,A.ghainmedialarabic=65232,A.ghemiddlehookcyrillic=1173,A.ghestrokecyrillic=1171,A.gheupturncyrillic=1169,A.ghhadeva=2394,A.ghhagurmukhi=2650,A.ghook=608,A.ghzsquare=13203,A.gihiragana=12366,A.gikatakana=12462,A.gimarmenian=1379,A.gimel=1490,A.gimeldagesh=64306,A.gimeldageshhebrew=64306,A.gimelhebrew=1490,A.gjecyrillic=1107,A.glottalinvertedstroke=446,A.glottalstop=660,A.glottalstopinverted=662,A.glottalstopmod=704,A.glottalstopreversed=661,A.glottalstopreversedmod=705,A.glottalstopreversedsuperior=740,A.glottalstopstroke=673,A.glottalstopstrokereversed=674,A.gmacron=7713,A.gmonospace=65351,A.gohiragana=12372,A.gokatakana=12468,A.gparen=9378,A.gpasquare=13228,A.gradient=8711,A.grave=96,A.gravebelowcmb=790,A.gravecmb=768,A.gravecomb=768,A.gravedeva=2387,A.gravelowmod=718,A.gravemonospace=65344,A.gravetonecmb=832,A.greater=62,A.greaterequal=8805,A.greaterequalorless=8923,A.greatermonospace=65310,A.greaterorequivalent=8819,A.greaterorless=8823,A.greateroverequal=8807,A.greatersmall=65125,A.gscript=609,A.gstroke=485,A.guhiragana=12368,A.guillemotleft=171,A.guillemotright=187,A.guilsinglleft=8249,A.guilsinglright=8250,A.gukatakana=12464,A.guramusquare=13080,A.gysquare=13257,A.h=104,A.haabkhasiancyrillic=1193,A.haaltonearabic=1729,A.habengali=2489,A.hadescendercyrillic=1203,A.hadeva=2361,A.hagujarati=2745,A.hagurmukhi=2617,A.haharabic=1581,A.hahfinalarabic=65186,A.hahinitialarabic=65187,A.hahiragana=12399,A.hahmedialarabic=65188,A.haitusquare=13098,A.hakatakana=12495,A.hakatakanahalfwidth=65418,A.halantgurmukhi=2637,A.hamzaarabic=1569,A.hamzalowarabic=1569,A.hangulfiller=12644,A.hardsigncyrillic=1098,A.harpoonleftbarbup=8636,A.harpoonrightbarbup=8640,A.hasquare=13258,A.hatafpatah=1458,A.hatafpatah16=1458,A.hatafpatah23=1458,A.hatafpatah2f=1458,A.hatafpatahhebrew=1458,A.hatafpatahnarrowhebrew=1458,A.hatafpatahquarterhebrew=1458,A.hatafpatahwidehebrew=1458,A.hatafqamats=1459,A.hatafqamats1b=1459,A.hatafqamats28=1459,A.hatafqamats34=1459,A.hatafqamatshebrew=1459,A.hatafqamatsnarrowhebrew=1459,A.hatafqamatsquarterhebrew=1459,A.hatafqamatswidehebrew=1459,A.hatafsegol=1457,A.hatafsegol17=1457,A.hatafsegol24=1457,A.hatafsegol30=1457,A.hatafsegolhebrew=1457,A.hatafsegolnarrowhebrew=1457,A.hatafsegolquarterhebrew=1457,A.hatafsegolwidehebrew=1457,A.hbar=295,A.hbopomofo=12559,A.hbrevebelow=7723,A.hcedilla=7721,A.hcircle=9431,A.hcircumflex=293,A.hdieresis=7719,A.hdotaccent=7715,A.hdotbelow=7717,A.he=1492,A.heart=9829,A.heartsuitblack=9829,A.heartsuitwhite=9825,A.hedagesh=64308,A.hedageshhebrew=64308,A.hehaltonearabic=1729,A.heharabic=1607,A.hehebrew=1492,A.hehfinalaltonearabic=64423,A.hehfinalalttwoarabic=65258,A.hehfinalarabic=65258,A.hehhamzaabovefinalarabic=64421,A.hehhamzaaboveisolatedarabic=64420,A.hehinitialaltonearabic=64424,A.hehinitialarabic=65259,A.hehiragana=12408,A.hehmedialaltonearabic=64425,A.hehmedialarabic=65260,A.heiseierasquare=13179,A.hekatakana=12504,A.hekatakanahalfwidth=65421,A.hekutaarusquare=13110,A.henghook=615,A.herutusquare=13113,A.het=1495,A.hethebrew=1495,A.hhook=614,A.hhooksuperior=689,A.hieuhacirclekorean=12923,A.hieuhaparenkorean=12827,A.hieuhcirclekorean=12909,A.hieuhkorean=12622,A.hieuhparenkorean=12813,A.hihiragana=12402,A.hikatakana=12498,A.hikatakanahalfwidth=65419,A.hiriq=1460,A.hiriq14=1460,A.hiriq21=1460,A.hiriq2d=1460,A.hiriqhebrew=1460,A.hiriqnarrowhebrew=1460,A.hiriqquarterhebrew=1460,A.hiriqwidehebrew=1460,A.hlinebelow=7830,A.hmonospace=65352,A.hoarmenian=1392,A.hohipthai=3627,A.hohiragana=12411,A.hokatakana=12507,A.hokatakanahalfwidth=65422,A.holam=1465,A.holam19=1465,A.holam26=1465,A.holam32=1465,A.holamhebrew=1465,A.holamnarrowhebrew=1465,A.holamquarterhebrew=1465,A.holamwidehebrew=1465,A.honokhukthai=3630,A.hookabovecomb=777,A.hookcmb=777,A.hookpalatalizedbelowcmb=801,A.hookretroflexbelowcmb=802,A.hoonsquare=13122,A.horicoptic=1001,A.horizontalbar=8213,A.horncmb=795,A.hotsprings=9832,A.house=8962,A.hparen=9379,A.hsuperior=688,A.hturned=613,A.huhiragana=12405,A.huiitosquare=13107,A.hukatakana=12501,A.hukatakanahalfwidth=65420,A.hungarumlaut=733,A.hungarumlautcmb=779,A.hv=405,A.hyphen=45,A.hypheninferior=63205,A.hyphenmonospace=65293,A.hyphensmall=65123,A.hyphensuperior=63206,A.hyphentwo=8208,A.i=105,A.iacute=237,A.iacyrillic=1103,A.ibengali=2439,A.ibopomofo=12583,A.ibreve=301,A.icaron=464,A.icircle=9432,A.icircumflex=238,A.icyrillic=1110,A.idblgrave=521,A.ideographearthcircle=12943,A.ideographfirecircle=12939,A.ideographicallianceparen=12863,A.ideographiccallparen=12858,A.ideographiccentrecircle=12965,A.ideographicclose=12294,A.ideographiccomma=12289,A.ideographiccommaleft=65380,A.ideographiccongratulationparen=12855,A.ideographiccorrectcircle=12963,A.ideographicearthparen=12847,A.ideographicenterpriseparen=12861,A.ideographicexcellentcircle=12957,A.ideographicfestivalparen=12864,A.ideographicfinancialcircle=12950,A.ideographicfinancialparen=12854,A.ideographicfireparen=12843,A.ideographichaveparen=12850,A.ideographichighcircle=12964,A.ideographiciterationmark=12293,A.ideographiclaborcircle=12952,A.ideographiclaborparen=12856,A.ideographicleftcircle=12967,A.ideographiclowcircle=12966,A.ideographicmedicinecircle=12969,A.ideographicmetalparen=12846,A.ideographicmoonparen=12842,A.ideographicnameparen=12852,A.ideographicperiod=12290,A.ideographicprintcircle=12958,A.ideographicreachparen=12867,A.ideographicrepresentparen=12857,A.ideographicresourceparen=12862,A.ideographicrightcircle=12968,A.ideographicsecretcircle=12953,A.ideographicselfparen=12866,A.ideographicsocietyparen=12851,A.ideographicspace=12288,A.ideographicspecialparen=12853,A.ideographicstockparen=12849,A.ideographicstudyparen=12859,A.ideographicsunparen=12848,A.ideographicsuperviseparen=12860,A.ideographicwaterparen=12844,A.ideographicwoodparen=12845,A.ideographiczero=12295,A.ideographmetalcircle=12942,A.ideographmooncircle=12938,A.ideographnamecircle=12948,A.ideographsuncircle=12944,A.ideographwatercircle=12940,A.ideographwoodcircle=12941,A.ideva=2311,A.idieresis=239,A.idieresisacute=7727,A.idieresiscyrillic=1253,A.idotbelow=7883,A.iebrevecyrillic=1239,A.iecyrillic=1077,A.ieungacirclekorean=12917,A.ieungaparenkorean=12821,A.ieungcirclekorean=12903,A.ieungkorean=12615,A.ieungparenkorean=12807,A.igrave=236,A.igujarati=2695,A.igurmukhi=2567,A.ihiragana=12356,A.ihookabove=7881,A.iibengali=2440,A.iicyrillic=1080,A.iideva=2312,A.iigujarati=2696,A.iigurmukhi=2568,A.iimatragurmukhi=2624,A.iinvertedbreve=523,A.iishortcyrillic=1081,A.iivowelsignbengali=2496,A.iivowelsigndeva=2368,A.iivowelsigngujarati=2752,A.ij=307,A.ikatakana=12452,A.ikatakanahalfwidth=65394,A.ikorean=12643,A.ilde=732,A.iluyhebrew=1452,A.imacron=299,A.imacroncyrillic=1251,A.imageorapproximatelyequal=8787,A.imatragurmukhi=2623,A.imonospace=65353,A.increment=8710,A.infinity=8734,A.iniarmenian=1387,A.integral=8747,A.integralbottom=8993,A.integralbt=8993,A.integralex=63733,A.integraltop=8992,A.integraltp=8992,A.intersection=8745,A.intisquare=13061,A.invbullet=9688,A.invcircle=9689,A.invsmileface=9787,A.iocyrillic=1105,A.iogonek=303,A.iota=953,A.iotadieresis=970,A.iotadieresistonos=912,A.iotalatin=617,A.iotatonos=943,A.iparen=9380,A.irigurmukhi=2674,A.ismallhiragana=12355,A.ismallkatakana=12451,A.ismallkatakanahalfwidth=65384,A.issharbengali=2554,A.istroke=616,A.isuperior=63213,A.iterationhiragana=12445,A.iterationkatakana=12541,A.itilde=297,A.itildebelow=7725,A.iubopomofo=12585,A.iucyrillic=1102,A.ivowelsignbengali=2495,A.ivowelsigndeva=2367,A.ivowelsigngujarati=2751,A.izhitsacyrillic=1141,A.izhitsadblgravecyrillic=1143,A.j=106,A.jaarmenian=1393,A.jabengali=2460,A.jadeva=2332,A.jagujarati=2716,A.jagurmukhi=2588,A.jbopomofo=12560,A.jcaron=496,A.jcircle=9433,A.jcircumflex=309,A.jcrossedtail=669,A.jdotlessstroke=607,A.jecyrillic=1112,A.jeemarabic=1580,A.jeemfinalarabic=65182,A.jeeminitialarabic=65183,A.jeemmedialarabic=65184,A.jeharabic=1688,A.jehfinalarabic=64395,A.jhabengali=2461,A.jhadeva=2333,A.jhagujarati=2717,A.jhagurmukhi=2589,A.jheharmenian=1403,A.jis=12292,A.jmonospace=65354,A.jparen=9381,A.jsuperior=690,A.k=107,A.kabashkircyrillic=1185,A.kabengali=2453,A.kacute=7729,A.kacyrillic=1082,A.kadescendercyrillic=1179,A.kadeva=2325,A.kaf=1499,A.kafarabic=1603,A.kafdagesh=64315,A.kafdageshhebrew=64315,A.kaffinalarabic=65242,A.kafhebrew=1499,A.kafinitialarabic=65243,A.kafmedialarabic=65244,A.kafrafehebrew=64333,A.kagujarati=2709,A.kagurmukhi=2581,A.kahiragana=12363,A.kahookcyrillic=1220,A.kakatakana=12459,A.kakatakanahalfwidth=65398,A.kappa=954,A.kappasymbolgreek=1008,A.kapyeounmieumkorean=12657,A.kapyeounphieuphkorean=12676,A.kapyeounpieupkorean=12664,A.kapyeounssangpieupkorean=12665,A.karoriisquare=13069,A.kashidaautoarabic=1600,A.kashidaautonosidebearingarabic=1600,A.kasmallkatakana=12533,A.kasquare=13188,A.kasraarabic=1616,A.kasratanarabic=1613,A.kastrokecyrillic=1183,A.katahiraprolongmarkhalfwidth=65392,A.kaverticalstrokecyrillic=1181,A.kbopomofo=12558,A.kcalsquare=13193,A.kcaron=489,A.kcedilla=311,A.kcircle=9434,A.kcommaaccent=311,A.kdotbelow=7731,A.keharmenian=1412,A.kehiragana=12369,A.kekatakana=12465,A.kekatakanahalfwidth=65401,A.kenarmenian=1391,A.kesmallkatakana=12534,A.kgreenlandic=312,A.khabengali=2454,A.khacyrillic=1093,A.khadeva=2326,A.khagujarati=2710,A.khagurmukhi=2582,A.khaharabic=1582,A.khahfinalarabic=65190,A.khahinitialarabic=65191,A.khahmedialarabic=65192,A.kheicoptic=999,A.khhadeva=2393,A.khhagurmukhi=2649,A.khieukhacirclekorean=12920,A.khieukhaparenkorean=12824,A.khieukhcirclekorean=12906,A.khieukhkorean=12619,A.khieukhparenkorean=12810,A.khokhaithai=3586,A.khokhonthai=3589,A.khokhuatthai=3587,A.khokhwaithai=3588,A.khomutthai=3675,A.khook=409,A.khorakhangthai=3590,A.khzsquare=13201,A.kihiragana=12365,A.kikatakana=12461,A.kikatakanahalfwidth=65399,A.kiroguramusquare=13077,A.kiromeetorusquare=13078,A.kirosquare=13076,A.kiyeokacirclekorean=12910,A.kiyeokaparenkorean=12814,A.kiyeokcirclekorean=12896,A.kiyeokkorean=12593,A.kiyeokparenkorean=12800,A.kiyeoksioskorean=12595;A.kjecyrillic=1116,A.klinebelow=7733,A.klsquare=13208,A.kmcubedsquare=13222,A.kmonospace=65355,A.kmsquaredsquare=13218,A.kohiragana=12371,A.kohmsquare=13248,A.kokaithai=3585,A.kokatakana=12467,A.kokatakanahalfwidth=65402,A.kooposquare=13086,A.koppacyrillic=1153,A.koreanstandardsymbol=12927,A.koroniscmb=835,A.kparen=9382,A.kpasquare=13226,A.ksicyrillic=1135,A.ktsquare=13263,A.kturned=670,A.kuhiragana=12367,A.kukatakana=12463,A.kukatakanahalfwidth=65400,A.kvsquare=13240,A.kwsquare=13246,A.l=108,A.labengali=2482,A.lacute=314,A.ladeva=2354,A.lagujarati=2738,A.lagurmukhi=2610,A.lakkhangyaothai=3653,A.lamaleffinalarabic=65276,A.lamalefhamzaabovefinalarabic=65272,A.lamalefhamzaaboveisolatedarabic=65271,A.lamalefhamzabelowfinalarabic=65274,A.lamalefhamzabelowisolatedarabic=65273,A.lamalefisolatedarabic=65275,A.lamalefmaddaabovefinalarabic=65270,A.lamalefmaddaaboveisolatedarabic=65269,A.lamarabic=1604,A.lambda=955,A.lambdastroke=411,A.lamed=1500,A.lameddagesh=64316,A.lameddageshhebrew=64316,A.lamedhebrew=1500,A.lamfinalarabic=65246,A.lamhahinitialarabic=64714,A.laminitialarabic=65247,A.lamjeeminitialarabic=64713,A.lamkhahinitialarabic=64715,A.lamlamhehisolatedarabic=65010,A.lammedialarabic=65248,A.lammeemhahinitialarabic=64904,A.lammeeminitialarabic=64716,A.largecircle=9711,A.lbar=410,A.lbelt=620,A.lbopomofo=12556,A.lcaron=318,A.lcedilla=316,A.lcircle=9435,A.lcircumflexbelow=7741,A.lcommaaccent=316,A.ldot=320,A.ldotaccent=320,A.ldotbelow=7735,A.ldotbelowmacron=7737,A.leftangleabovecmb=794,A.lefttackbelowcmb=792,A.less=60,A.lessequal=8804,A.lessequalorgreater=8922,A.lessmonospace=65308,A.lessorequivalent=8818,A.lessorgreater=8822,A.lessoverequal=8806,A.lesssmall=65124,A.lezh=622,A.lfblock=9612,A.lhookretroflex=621,A.lira=8356,A.liwnarmenian=1388,A.lj=457,A.ljecyrillic=1113,A.ll=63168,A.lladeva=2355,A.llagujarati=2739,A.llinebelow=7739,A.llladeva=2356,A.llvocalicbengali=2529,A.llvocalicdeva=2401,A.llvocalicvowelsignbengali=2531,A.llvocalicvowelsigndeva=2403,A.lmiddletilde=619,A.lmonospace=65356,A.lmsquare=13264,A.lochulathai=3628,A.logicaland=8743,A.logicalnot=172,A.logicalnotreversed=8976,A.logicalor=8744,A.lolingthai=3621,A.longs=383,A.lowlinecenterline=65102,A.lowlinecmb=818,A.lowlinedashed=65101,A.lozenge=9674,A.lparen=9383,A.lslash=322,A.lsquare=8467,A.lsuperior=63214,A.ltshade=9617,A.luthai=3622,A.lvocalicbengali=2444,A.lvocalicdeva=2316,A.lvocalicvowelsignbengali=2530,A.lvocalicvowelsigndeva=2402,A.lxsquare=13267,A.m=109,A.mabengali=2478,A.macron=175,A.macronbelowcmb=817,A.macroncmb=772,A.macronlowmod=717,A.macronmonospace=65507,A.macute=7743,A.madeva=2350,A.magujarati=2734,A.magurmukhi=2606,A.mahapakhhebrew=1444,A.mahapakhlefthebrew=1444,A.mahiragana=12414,A.maichattawalowleftthai=63637,A.maichattawalowrightthai=63636,A.maichattawathai=3659,A.maichattawaupperleftthai=63635,A.maieklowleftthai=63628,A.maieklowrightthai=63627,A.maiekthai=3656,A.maiekupperleftthai=63626,A.maihanakatleftthai=63620,A.maihanakatthai=3633,A.maitaikhuleftthai=63625,A.maitaikhuthai=3655,A.maitholowleftthai=63631,A.maitholowrightthai=63630,A.maithothai=3657,A.maithoupperleftthai=63629,A.maitrilowleftthai=63634,A.maitrilowrightthai=63633,A.maitrithai=3658,A.maitriupperleftthai=63632,A.maiyamokthai=3654,A.makatakana=12510,A.makatakanahalfwidth=65423,A.male=9794,A.mansyonsquare=13127,A.maqafhebrew=1470,A.mars=9794,A.masoracirclehebrew=1455,A.masquare=13187,A.mbopomofo=12551,A.mbsquare=13268,A.mcircle=9436,A.mcubedsquare=13221,A.mdotaccent=7745,A.mdotbelow=7747,A.meemarabic=1605,A.meemfinalarabic=65250,A.meeminitialarabic=65251,A.meemmedialarabic=65252,A.meemmeeminitialarabic=64721,A.meemmeemisolatedarabic=64584,A.meetorusquare=13133,A.mehiragana=12417,A.meizierasquare=13182,A.mekatakana=12513,A.mekatakanahalfwidth=65426,A.mem=1502,A.memdagesh=64318,A.memdageshhebrew=64318,A.memhebrew=1502,A.menarmenian=1396,A.merkhahebrew=1445,A.merkhakefulahebrew=1446,A.merkhakefulalefthebrew=1446,A.merkhalefthebrew=1445,A.mhook=625,A.mhzsquare=13202,A.middledotkatakanahalfwidth=65381,A.middot=183,A.mieumacirclekorean=12914,A.mieumaparenkorean=12818,A.mieumcirclekorean=12900,A.mieumkorean=12609,A.mieumpansioskorean=12656,A.mieumparenkorean=12804,A.mieumpieupkorean=12654,A.mieumsioskorean=12655,A.mihiragana=12415,A.mikatakana=12511,A.mikatakanahalfwidth=65424,A.minus=8722,A.minusbelowcmb=800,A.minuscircle=8854,A.minusmod=727,A.minusplus=8723,A.minute=8242,A.miribaarusquare=13130,A.mirisquare=13129,A.mlonglegturned=624,A.mlsquare=13206,A.mmcubedsquare=13219,A.mmonospace=65357,A.mmsquaredsquare=13215,A.mohiragana=12418,A.mohmsquare=13249,A.mokatakana=12514,A.mokatakanahalfwidth=65427,A.molsquare=13270,A.momathai=3617,A.moverssquare=13223,A.moverssquaredsquare=13224,A.mparen=9384,A.mpasquare=13227,A.mssquare=13235,A.msuperior=63215,A.mturned=623,A.mu=181,A.mu1=181,A.muasquare=13186,A.muchgreater=8811,A.muchless=8810,A.mufsquare=13196,A.mugreek=956,A.mugsquare=13197,A.muhiragana=12416,A.mukatakana=12512,A.mukatakanahalfwidth=65425,A.mulsquare=13205,A.multiply=215,A.mumsquare=13211,A.munahhebrew=1443,A.munahlefthebrew=1443,A.musicalnote=9834,A.musicalnotedbl=9835,A.musicflatsign=9837,A.musicsharpsign=9839,A.mussquare=13234,A.muvsquare=13238,A.muwsquare=13244,A.mvmegasquare=13241,A.mvsquare=13239,A.mwmegasquare=13247,A.mwsquare=13245,A.n=110,A.nabengali=2472,A.nabla=8711,A.nacute=324,A.nadeva=2344,A.nagujarati=2728,A.nagurmukhi=2600,A.nahiragana=12394,A.nakatakana=12490,A.nakatakanahalfwidth=65413,A.napostrophe=329,A.nasquare=13185,A.nbopomofo=12555,A.nbspace=160,A.ncaron=328,A.ncedilla=326,A.ncircle=9437,A.ncircumflexbelow=7755,A.ncommaaccent=326,A.ndotaccent=7749,A.ndotbelow=7751,A.nehiragana=12397,A.nekatakana=12493,A.nekatakanahalfwidth=65416,A.newsheqelsign=8362,A.nfsquare=13195,A.ngabengali=2457,A.ngadeva=2329,A.ngagujarati=2713,A.ngagurmukhi=2585,A.ngonguthai=3591,A.nhiragana=12435,A.nhookleft=626,A.nhookretroflex=627,A.nieunacirclekorean=12911,A.nieunaparenkorean=12815,A.nieuncieuckorean=12597,A.nieuncirclekorean=12897,A.nieunhieuhkorean=12598,A.nieunkorean=12596,A.nieunpansioskorean=12648,A.nieunparenkorean=12801,A.nieunsioskorean=12647,A.nieuntikeutkorean=12646,A.nihiragana=12395,A.nikatakana=12491,A.nikatakanahalfwidth=65414,A.nikhahitleftthai=63641,A.nikhahitthai=3661,A.nine=57,A.ninearabic=1641,A.ninebengali=2543,A.ninecircle=9320,A.ninecircleinversesansserif=10130,A.ninedeva=2415,A.ninegujarati=2799,A.ninegurmukhi=2671,A.ninehackarabic=1641,A.ninehangzhou=12329,A.nineideographicparen=12840,A.nineinferior=8329,A.ninemonospace=65305,A.nineoldstyle=63289,A.nineparen=9340,A.nineperiod=9360,A.ninepersian=1785,A.nineroman=8568,A.ninesuperior=8313,A.nineteencircle=9330,A.nineteenparen=9350,A.nineteenperiod=9370,A.ninethai=3673,A.nj=460,A.njecyrillic=1114,A.nkatakana=12531,A.nkatakanahalfwidth=65437,A.nlegrightlong=414,A.nlinebelow=7753,A.nmonospace=65358,A.nmsquare=13210,A.nnabengali=2467,A.nnadeva=2339,A.nnagujarati=2723,A.nnagurmukhi=2595,A.nnnadeva=2345,A.nohiragana=12398,A.nokatakana=12494,A.nokatakanahalfwidth=65417,A.nonbreakingspace=160,A.nonenthai=3603,A.nonuthai=3609,A.noonarabic=1606,A.noonfinalarabic=65254,A.noonghunnaarabic=1722,A.noonghunnafinalarabic=64415,A.nooninitialarabic=65255,A.noonjeeminitialarabic=64722,A.noonjeemisolatedarabic=64587,A.noonmedialarabic=65256,A.noonmeeminitialarabic=64725,A.noonmeemisolatedarabic=64590,A.noonnoonfinalarabic=64653,A.notcontains=8716,A.notelement=8713,A.notelementof=8713,A.notequal=8800,A.notgreater=8815,A.notgreaternorequal=8817,A.notgreaternorless=8825,A.notidentical=8802,A.notless=8814,A.notlessnorequal=8816,A.notparallel=8742,A.notprecedes=8832,A.notsubset=8836,A.notsucceeds=8833,A.notsuperset=8837,A.nowarmenian=1398,A.nparen=9385,A.nssquare=13233,A.nsuperior=8319,A.ntilde=241,A.nu=957,A.nuhiragana=12396,A.nukatakana=12492,A.nukatakanahalfwidth=65415,A.nuktabengali=2492,A.nuktadeva=2364,A.nuktagujarati=2748,A.nuktagurmukhi=2620,A.numbersign=35,A.numbersignmonospace=65283,A.numbersignsmall=65119,A.numeralsigngreek=884,A.numeralsignlowergreek=885,A.numero=8470,A.nun=1504,A.nundagesh=64320,A.nundageshhebrew=64320,A.nunhebrew=1504,A.nvsquare=13237,A.nwsquare=13243,A.nyabengali=2462,A.nyadeva=2334,A.nyagujarati=2718,A.nyagurmukhi=2590,A.o=111,A.oacute=243,A.oangthai=3629,A.obarred=629,A.obarredcyrillic=1257,A.obarreddieresiscyrillic=1259,A.obengali=2451,A.obopomofo=12571,A.obreve=335,A.ocandradeva=2321,A.ocandragujarati=2705,A.ocandravowelsigndeva=2377,A.ocandravowelsigngujarati=2761,A.ocaron=466,A.ocircle=9438,A.ocircumflex=244,A.ocircumflexacute=7889,A.ocircumflexdotbelow=7897,A.ocircumflexgrave=7891,A.ocircumflexhookabove=7893,A.ocircumflextilde=7895,A.ocyrillic=1086,A.odblacute=337,A.odblgrave=525,A.odeva=2323,A.odieresis=246,A.odieresiscyrillic=1255,A.odotbelow=7885,A.oe=339,A.oekorean=12634,A.ogonek=731,A.ogonekcmb=808,A.ograve=242,A.ogujarati=2707,A.oharmenian=1413,A.ohiragana=12362,A.ohookabove=7887,A.ohorn=417,A.ohornacute=7899,A.ohorndotbelow=7907,A.ohorngrave=7901,A.ohornhookabove=7903,A.ohorntilde=7905,A.ohungarumlaut=337,A.oi=419,A.oinvertedbreve=527,A.okatakana=12458,A.okatakanahalfwidth=65397,A.okorean=12631,A.olehebrew=1451,A.omacron=333,A.omacronacute=7763,A.omacrongrave=7761,A.omdeva=2384,A.omega=969,A.omega1=982,A.omegacyrillic=1121,A.omegalatinclosed=631,A.omegaroundcyrillic=1147,A.omegatitlocyrillic=1149,A.omegatonos=974,A.omgujarati=2768,A.omicron=959,A.omicrontonos=972,A.omonospace=65359,A.one=49,A.onearabic=1633,A.onebengali=2535,A.onecircle=9312,A.onecircleinversesansserif=10122,A.onedeva=2407,A.onedotenleader=8228,A.oneeighth=8539,A.onefitted=63196,A.onegujarati=2791,A.onegurmukhi=2663,A.onehackarabic=1633,A.onehalf=189,A.onehangzhou=12321,A.oneideographicparen=12832,A.oneinferior=8321,A.onemonospace=65297,A.onenumeratorbengali=2548,A.oneoldstyle=63281,A.oneparen=9332,A.oneperiod=9352,A.onepersian=1777,A.onequarter=188,A.oneroman=8560,A.onesuperior=185,A.onethai=3665,A.onethird=8531,A.oogonek=491,A.oogonekmacron=493,A.oogurmukhi=2579,A.oomatragurmukhi=2635,A.oopen=596,A.oparen=9386,A.openbullet=9702,A.option=8997,A.ordfeminine=170,A.ordmasculine=186,A.orthogonal=8735,A.oshortdeva=2322,A.oshortvowelsigndeva=2378,A.oslash=248,A.oslashacute=511,A.osmallhiragana=12361,A.osmallkatakana=12457,A.osmallkatakanahalfwidth=65387,A.ostrokeacute=511,A.osuperior=63216,A.otcyrillic=1151,A.otilde=245,A.otildeacute=7757,A.otildedieresis=7759,A.oubopomofo=12577,A.overline=8254,A.overlinecenterline=65098,A.overlinecmb=773,A.overlinedashed=65097,A.overlinedblwavy=65100,A.overlinewavy=65099,A.overscore=175,A.ovowelsignbengali=2507,A.ovowelsigndeva=2379,A.ovowelsigngujarati=2763,A.p=112,A.paampssquare=13184,A.paasentosquare=13099,A.pabengali=2474,A.pacute=7765,A.padeva=2346,A.pagedown=8671,A.pageup=8670,A.pagujarati=2730,A.pagurmukhi=2602,A.pahiragana=12401,A.paiyannoithai=3631,A.pakatakana=12497,A.palatalizationcyrilliccmb=1156,A.palochkacyrillic=1216,A.pansioskorean=12671,A.paragraph=182,A.parallel=8741,A.parenleft=40,A.parenleftaltonearabic=64830,A.parenleftbt=63725,A.parenleftex=63724,A.parenleftinferior=8333,A.parenleftmonospace=65288,A.parenleftsmall=65113,A.parenleftsuperior=8317,A.parenlefttp=63723,A.parenleftvertical=65077,A.parenright=41,A.parenrightaltonearabic=64831,A.parenrightbt=63736,A.parenrightex=63735,A.parenrightinferior=8334,A.parenrightmonospace=65289,A.parenrightsmall=65114,A.parenrightsuperior=8318,A.parenrighttp=63734,A.parenrightvertical=65078,A.partialdiff=8706,A.paseqhebrew=1472,A.pashtahebrew=1433,A.pasquare=13225,A.patah=1463,A.patah11=1463,A.patah1d=1463,A.patah2a=1463,A.patahhebrew=1463,A.patahnarrowhebrew=1463,A.patahquarterhebrew=1463,A.patahwidehebrew=1463,A.pazerhebrew=1441,A.pbopomofo=12550,A.pcircle=9439,A.pdotaccent=7767,A.pe=1508,A.pecyrillic=1087,A.pedagesh=64324,A.pedageshhebrew=64324,A.peezisquare=13115,A.pefinaldageshhebrew=64323,A.peharabic=1662,A.peharmenian=1402,A.pehebrew=1508,A.pehfinalarabic=64343,A.pehinitialarabic=64344,A.pehiragana=12410,A.pehmedialarabic=64345,A.pekatakana=12506,A.pemiddlehookcyrillic=1191,A.perafehebrew=64334,A.percent=37,A.percentarabic=1642,A.percentmonospace=65285,A.percentsmall=65130,A.period=46,A.periodarmenian=1417,A.periodcentered=183,A.periodhalfwidth=65377,A.periodinferior=63207,A.periodmonospace=65294,A.periodsmall=65106,A.periodsuperior=63208,A.perispomenigreekcmb=834,A.perpendicular=8869,A.perthousand=8240,A.peseta=8359,A.pfsquare=13194,A.phabengali=2475,A.phadeva=2347,A.phagujarati=2731,A.phagurmukhi=2603,A.phi=966,A.phi1=981,A.phieuphacirclekorean=12922,A.phieuphaparenkorean=12826,A.phieuphcirclekorean=12908,A.phieuphkorean=12621,A.phieuphparenkorean=12812,A.philatin=632,A.phinthuthai=3642,A.phisymbolgreek=981,A.phook=421,A.phophanthai=3614,A.phophungthai=3612,A.phosamphaothai=3616,A.pi=960,A.pieupacirclekorean=12915,A.pieupaparenkorean=12819,A.pieupcieuckorean=12662,A.pieupcirclekorean=12901,A.pieupkiyeokkorean=12658,A.pieupkorean=12610,A.pieupparenkorean=12805,A.pieupsioskiyeokkorean=12660,A.pieupsioskorean=12612,A.pieupsiostikeutkorean=12661,A.pieupthieuthkorean=12663,A.pieuptikeutkorean=12659,A.pihiragana=12404,A.pikatakana=12500,A.pisymbolgreek=982,A.piwrarmenian=1411,A.planckover2pi=8463,A.planckover2pi1=8463,A.plus=43,A.plusbelowcmb=799,A.pluscircle=8853,A.plusminus=177,A.plusmod=726,A.plusmonospace=65291,A.plussmall=65122,A.plussuperior=8314,A.pmonospace=65360,A.pmsquare=13272,A.pohiragana=12413,A.pointingindexdownwhite=9759,A.pointingindexleftwhite=9756,A.pointingindexrightwhite=9758,A.pointingindexupwhite=9757,A.pokatakana=12509,A.poplathai=3611,A.postalmark=12306,A.postalmarkface=12320,A.pparen=9387,A.precedes=8826,A.prescription=8478,A.primemod=697,A.primereversed=8245,A.product=8719,A.projective=8965,A.prolongedkana=12540,A.propellor=8984,A.propersubset=8834,A.propersuperset=8835,A.proportion=8759,A.proportional=8733,A.psi=968,A.psicyrillic=1137,A.psilipneumatacyrilliccmb=1158,A.pssquare=13232,A.puhiragana=12407,A.pukatakana=12503,A.pvsquare=13236,A.pwsquare=13242,A.q=113,A.qadeva=2392,A.qadmahebrew=1448,A.qafarabic=1602,A.qaffinalarabic=65238,A.qafinitialarabic=65239,A.qafmedialarabic=65240,A.qamats=1464,A.qamats10=1464,A.qamats1a=1464,A.qamats1c=1464,A.qamats27=1464,A.qamats29=1464,A.qamats33=1464,A.qamatsde=1464,A.qamatshebrew=1464,A.qamatsnarrowhebrew=1464,A.qamatsqatanhebrew=1464,A.qamatsqatannarrowhebrew=1464,A.qamatsqatanquarterhebrew=1464,A.qamatsqatanwidehebrew=1464,A.qamatsquarterhebrew=1464,A.qamatswidehebrew=1464,A.qarneyparahebrew=1439,A.qbopomofo=12561,A.qcircle=9440,A.qhook=672,A.qmonospace=65361,A.qof=1511,A.qofdagesh=64327,A.qofdageshhebrew=64327,A.qofhebrew=1511,A.qparen=9388,A.quarternote=9833,A.qubuts=1467,A.qubuts18=1467,A.qubuts25=1467,A.qubuts31=1467,A.qubutshebrew=1467,A.qubutsnarrowhebrew=1467,A.qubutsquarterhebrew=1467,A.qubutswidehebrew=1467,A.question=63,A.questionarabic=1567,A.questionarmenian=1374,A.questiondown=191,A.questiondownsmall=63423,A.questiongreek=894,A.questionmonospace=65311,A.questionsmall=63295,A.quotedbl=34,A.quotedblbase=8222,A.quotedblleft=8220,A.quotedblmonospace=65282,A.quotedblprime=12318,A.quotedblprimereversed=12317,A.quotedblright=8221,A.quoteleft=8216,A.quoteleftreversed=8219,A.quotereversed=8219,A.quoteright=8217,A.quoterightn=329,A.quotesinglbase=8218,A.quotesingle=39,A.quotesinglemonospace=65287,A.r=114,A.raarmenian=1404,A.rabengali=2480,A.racute=341,A.radeva=2352,A.radical=8730,A.radicalex=63717,A.radoverssquare=13230,A.radoverssquaredsquare=13231,A.radsquare=13229,A.rafe=1471,A.rafehebrew=1471,A.ragujarati=2736,A.ragurmukhi=2608,A.rahiragana=12425,A.rakatakana=12521,A.rakatakanahalfwidth=65431,A.ralowerdiagonalbengali=2545,A.ramiddlediagonalbengali=2544,A.ramshorn=612,A.ratio=8758,A.rbopomofo=12566,A.rcaron=345,A.rcedilla=343,A.rcircle=9441,A.rcommaaccent=343,A.rdblgrave=529,A.rdotaccent=7769,A.rdotbelow=7771,A.rdotbelowmacron=7773,A.referencemark=8251,A.reflexsubset=8838,A.reflexsuperset=8839,A.registered=174,A.registersans=63720,A.registerserif=63194,A.reharabic=1585,A.reharmenian=1408,A.rehfinalarabic=65198,A.rehiragana=12428,A.rekatakana=12524;A.rekatakanahalfwidth=65434,A.resh=1512,A.reshdageshhebrew=64328,A.reshhebrew=1512,A.reversedtilde=8765,A.reviahebrew=1431,A.reviamugrashhebrew=1431,A.revlogicalnot=8976,A.rfishhook=638,A.rfishhookreversed=639,A.rhabengali=2525,A.rhadeva=2397,A.rho=961,A.rhook=637,A.rhookturned=635,A.rhookturnedsuperior=693,A.rhosymbolgreek=1009,A.rhotichookmod=734,A.rieulacirclekorean=12913,A.rieulaparenkorean=12817,A.rieulcirclekorean=12899,A.rieulhieuhkorean=12608,A.rieulkiyeokkorean=12602,A.rieulkiyeoksioskorean=12649,A.rieulkorean=12601,A.rieulmieumkorean=12603,A.rieulpansioskorean=12652,A.rieulparenkorean=12803,A.rieulphieuphkorean=12607,A.rieulpieupkorean=12604,A.rieulpieupsioskorean=12651,A.rieulsioskorean=12605,A.rieulthieuthkorean=12606,A.rieultikeutkorean=12650,A.rieulyeorinhieuhkorean=12653,A.rightangle=8735,A.righttackbelowcmb=793,A.righttriangle=8895,A.rihiragana=12426,A.rikatakana=12522,A.rikatakanahalfwidth=65432,A.ring=730,A.ringbelowcmb=805,A.ringcmb=778,A.ringhalfleft=703,A.ringhalfleftarmenian=1369,A.ringhalfleftbelowcmb=796,A.ringhalfleftcentered=723,A.ringhalfright=702,A.ringhalfrightbelowcmb=825,A.ringhalfrightcentered=722,A.rinvertedbreve=531,A.rittorusquare=13137,A.rlinebelow=7775,A.rlongleg=636,A.rlonglegturned=634,A.rmonospace=65362,A.rohiragana=12429,A.rokatakana=12525,A.rokatakanahalfwidth=65435,A.roruathai=3619,A.rparen=9389,A.rrabengali=2524,A.rradeva=2353,A.rragurmukhi=2652,A.rreharabic=1681,A.rrehfinalarabic=64397,A.rrvocalicbengali=2528,A.rrvocalicdeva=2400,A.rrvocalicgujarati=2784,A.rrvocalicvowelsignbengali=2500,A.rrvocalicvowelsigndeva=2372,A.rrvocalicvowelsigngujarati=2756,A.rsuperior=63217,A.rtblock=9616,A.rturned=633,A.rturnedsuperior=692,A.ruhiragana=12427,A.rukatakana=12523,A.rukatakanahalfwidth=65433,A.rupeemarkbengali=2546,A.rupeesignbengali=2547,A.rupiah=63197,A.ruthai=3620,A.rvocalicbengali=2443,A.rvocalicdeva=2315,A.rvocalicgujarati=2699,A.rvocalicvowelsignbengali=2499,A.rvocalicvowelsigndeva=2371,A.rvocalicvowelsigngujarati=2755,A.s=115,A.sabengali=2488,A.sacute=347,A.sacutedotaccent=7781,A.sadarabic=1589,A.sadeva=2360,A.sadfinalarabic=65210,A.sadinitialarabic=65211,A.sadmedialarabic=65212,A.sagujarati=2744,A.sagurmukhi=2616,A.sahiragana=12373,A.sakatakana=12469,A.sakatakanahalfwidth=65403,A.sallallahoualayhewasallamarabic=65018,A.samekh=1505,A.samekhdagesh=64321,A.samekhdageshhebrew=64321,A.samekhhebrew=1505,A.saraaathai=3634,A.saraaethai=3649,A.saraaimaimalaithai=3652,A.saraaimaimuanthai=3651,A.saraamthai=3635,A.saraathai=3632,A.saraethai=3648,A.saraiileftthai=63622,A.saraiithai=3637,A.saraileftthai=63621,A.saraithai=3636,A.saraothai=3650,A.saraueeleftthai=63624,A.saraueethai=3639,A.saraueleftthai=63623,A.sarauethai=3638,A.sarauthai=3640,A.sarauuthai=3641,A.sbopomofo=12569,A.scaron=353,A.scarondotaccent=7783,A.scedilla=351,A.schwa=601,A.schwacyrillic=1241,A.schwadieresiscyrillic=1243,A.schwahook=602,A.scircle=9442,A.scircumflex=349,A.scommaaccent=537,A.sdotaccent=7777,A.sdotbelow=7779,A.sdotbelowdotaccent=7785,A.seagullbelowcmb=828,A.second=8243,A.secondtonechinese=714,A.section=167,A.seenarabic=1587,A.seenfinalarabic=65202,A.seeninitialarabic=65203,A.seenmedialarabic=65204,A.segol=1462,A.segol13=1462,A.segol1f=1462,A.segol2c=1462,A.segolhebrew=1462,A.segolnarrowhebrew=1462,A.segolquarterhebrew=1462,A.segoltahebrew=1426,A.segolwidehebrew=1462,A.seharmenian=1405,A.sehiragana=12379,A.sekatakana=12475,A.sekatakanahalfwidth=65406,A.semicolon=59,A.semicolonarabic=1563,A.semicolonmonospace=65307,A.semicolonsmall=65108,A.semivoicedmarkkana=12444,A.semivoicedmarkkanahalfwidth=65439,A.sentisquare=13090,A.sentosquare=13091,A.seven=55,A.sevenarabic=1639,A.sevenbengali=2541,A.sevencircle=9318,A.sevencircleinversesansserif=10128,A.sevendeva=2413,A.seveneighths=8542,A.sevengujarati=2797,A.sevengurmukhi=2669,A.sevenhackarabic=1639,A.sevenhangzhou=12327,A.sevenideographicparen=12838,A.seveninferior=8327,A.sevenmonospace=65303,A.sevenoldstyle=63287,A.sevenparen=9338,A.sevenperiod=9358,A.sevenpersian=1783,A.sevenroman=8566,A.sevensuperior=8311,A.seventeencircle=9328,A.seventeenparen=9348,A.seventeenperiod=9368,A.seventhai=3671,A.sfthyphen=173,A.shaarmenian=1399,A.shabengali=2486,A.shacyrillic=1096,A.shaddaarabic=1617,A.shaddadammaarabic=64609,A.shaddadammatanarabic=64606,A.shaddafathaarabic=64608,A.shaddakasraarabic=64610,A.shaddakasratanarabic=64607,A.shade=9618,A.shadedark=9619,A.shadelight=9617,A.shademedium=9618,A.shadeva=2358,A.shagujarati=2742,A.shagurmukhi=2614,A.shalshelethebrew=1427,A.shbopomofo=12565,A.shchacyrillic=1097,A.sheenarabic=1588,A.sheenfinalarabic=65206,A.sheeninitialarabic=65207,A.sheenmedialarabic=65208,A.sheicoptic=995,A.sheqel=8362,A.sheqelhebrew=8362,A.sheva=1456,A.sheva115=1456,A.sheva15=1456,A.sheva22=1456,A.sheva2e=1456,A.shevahebrew=1456,A.shevanarrowhebrew=1456,A.shevaquarterhebrew=1456,A.shevawidehebrew=1456,A.shhacyrillic=1211,A.shimacoptic=1005,A.shin=1513,A.shindagesh=64329,A.shindageshhebrew=64329,A.shindageshshindot=64300,A.shindageshshindothebrew=64300,A.shindageshsindot=64301,A.shindageshsindothebrew=64301,A.shindothebrew=1473,A.shinhebrew=1513,A.shinshindot=64298,A.shinshindothebrew=64298,A.shinsindot=64299,A.shinsindothebrew=64299,A.shook=642,A.sigma=963,A.sigma1=962,A.sigmafinal=962,A.sigmalunatesymbolgreek=1010,A.sihiragana=12375,A.sikatakana=12471,A.sikatakanahalfwidth=65404,A.siluqhebrew=1469,A.siluqlefthebrew=1469,A.similar=8764,A.sindothebrew=1474,A.siosacirclekorean=12916,A.siosaparenkorean=12820,A.sioscieuckorean=12670,A.sioscirclekorean=12902,A.sioskiyeokkorean=12666,A.sioskorean=12613,A.siosnieunkorean=12667,A.siosparenkorean=12806,A.siospieupkorean=12669,A.siostikeutkorean=12668,A.six=54,A.sixarabic=1638,A.sixbengali=2540,A.sixcircle=9317,A.sixcircleinversesansserif=10127,A.sixdeva=2412,A.sixgujarati=2796,A.sixgurmukhi=2668,A.sixhackarabic=1638,A.sixhangzhou=12326,A.sixideographicparen=12837,A.sixinferior=8326,A.sixmonospace=65302,A.sixoldstyle=63286,A.sixparen=9337,A.sixperiod=9357,A.sixpersian=1782,A.sixroman=8565,A.sixsuperior=8310,A.sixteencircle=9327,A.sixteencurrencydenominatorbengali=2553,A.sixteenparen=9347,A.sixteenperiod=9367,A.sixthai=3670,A.slash=47,A.slashmonospace=65295,A.slong=383,A.slongdotaccent=7835,A.smileface=9786,A.smonospace=65363,A.sofpasuqhebrew=1475,A.softhyphen=173,A.softsigncyrillic=1100,A.sohiragana=12381,A.sokatakana=12477,A.sokatakanahalfwidth=65407,A.soliduslongoverlaycmb=824,A.solidusshortoverlaycmb=823,A.sorusithai=3625,A.sosalathai=3624,A.sosothai=3595,A.sosuathai=3626,A.space=32,A.spacehackarabic=32,A.spade=9824,A.spadesuitblack=9824,A.spadesuitwhite=9828,A.sparen=9390,A.squarebelowcmb=827,A.squarecc=13252,A.squarecm=13213,A.squarediagonalcrosshatchfill=9641,A.squarehorizontalfill=9636,A.squarekg=13199,A.squarekm=13214,A.squarekmcapital=13262,A.squareln=13265,A.squarelog=13266,A.squaremg=13198,A.squaremil=13269,A.squaremm=13212,A.squaremsquared=13217,A.squareorthogonalcrosshatchfill=9638,A.squareupperlefttolowerrightfill=9639,A.squareupperrighttolowerleftfill=9640,A.squareverticalfill=9637,A.squarewhitewithsmallblack=9635,A.srsquare=13275,A.ssabengali=2487,A.ssadeva=2359,A.ssagujarati=2743,A.ssangcieuckorean=12617,A.ssanghieuhkorean=12677,A.ssangieungkorean=12672,A.ssangkiyeokkorean=12594,A.ssangnieunkorean=12645,A.ssangpieupkorean=12611,A.ssangsioskorean=12614,A.ssangtikeutkorean=12600,A.ssuperior=63218,A.sterling=163,A.sterlingmonospace=65505,A.strokelongoverlaycmb=822,A.strokeshortoverlaycmb=821,A.subset=8834,A.subsetnotequal=8842,A.subsetorequal=8838,A.succeeds=8827,A.suchthat=8715,A.suhiragana=12377,A.sukatakana=12473,A.sukatakanahalfwidth=65405,A.sukunarabic=1618,A.summation=8721,A.sun=9788,A.superset=8835,A.supersetnotequal=8843,A.supersetorequal=8839,A.svsquare=13276,A.syouwaerasquare=13180,A.t=116,A.tabengali=2468,A.tackdown=8868,A.tackleft=8867,A.tadeva=2340,A.tagujarati=2724,A.tagurmukhi=2596,A.taharabic=1591,A.tahfinalarabic=65218,A.tahinitialarabic=65219,A.tahiragana=12383,A.tahmedialarabic=65220,A.taisyouerasquare=13181,A.takatakana=12479,A.takatakanahalfwidth=65408,A.tatweelarabic=1600,A.tau=964,A.tav=1514,A.tavdages=64330,A.tavdagesh=64330,A.tavdageshhebrew=64330,A.tavhebrew=1514,A.tbar=359,A.tbopomofo=12554,A.tcaron=357,A.tccurl=680,A.tcedilla=355,A.tcheharabic=1670,A.tchehfinalarabic=64379,A.tchehinitialarabic=64380,A.tchehmedialarabic=64381,A.tcircle=9443,A.tcircumflexbelow=7793,A.tcommaaccent=355,A.tdieresis=7831,A.tdotaccent=7787,A.tdotbelow=7789,A.tecyrillic=1090,A.tedescendercyrillic=1197,A.teharabic=1578,A.tehfinalarabic=65174,A.tehhahinitialarabic=64674,A.tehhahisolatedarabic=64524,A.tehinitialarabic=65175,A.tehiragana=12390,A.tehjeeminitialarabic=64673,A.tehjeemisolatedarabic=64523,A.tehmarbutaarabic=1577,A.tehmarbutafinalarabic=65172,A.tehmedialarabic=65176,A.tehmeeminitialarabic=64676,A.tehmeemisolatedarabic=64526,A.tehnoonfinalarabic=64627,A.tekatakana=12486,A.tekatakanahalfwidth=65411,A.telephone=8481,A.telephoneblack=9742,A.telishagedolahebrew=1440,A.telishaqetanahebrew=1449,A.tencircle=9321,A.tenideographicparen=12841,A.tenparen=9341,A.tenperiod=9361,A.tenroman=8569,A.tesh=679,A.tet=1496,A.tetdagesh=64312,A.tetdageshhebrew=64312,A.tethebrew=1496,A.tetsecyrillic=1205,A.tevirhebrew=1435,A.tevirlefthebrew=1435,A.thabengali=2469,A.thadeva=2341,A.thagujarati=2725,A.thagurmukhi=2597,A.thalarabic=1584,A.thalfinalarabic=65196,A.thanthakhatlowleftthai=63640,A.thanthakhatlowrightthai=63639,A.thanthakhatthai=3660,A.thanthakhatupperleftthai=63638,A.theharabic=1579,A.thehfinalarabic=65178,A.thehinitialarabic=65179,A.thehmedialarabic=65180,A.thereexists=8707,A.therefore=8756,A.theta=952,A.theta1=977,A.thetasymbolgreek=977,A.thieuthacirclekorean=12921,A.thieuthaparenkorean=12825,A.thieuthcirclekorean=12907,A.thieuthkorean=12620,A.thieuthparenkorean=12811,A.thirteencircle=9324,A.thirteenparen=9344,A.thirteenperiod=9364,A.thonangmonthothai=3601,A.thook=429,A.thophuthaothai=3602,A.thorn=254,A.thothahanthai=3607,A.thothanthai=3600,A.thothongthai=3608,A.thothungthai=3606,A.thousandcyrillic=1154,A.thousandsseparatorarabic=1644,A.thousandsseparatorpersian=1644,A.three=51,A.threearabic=1635,A.threebengali=2537,A.threecircle=9314,A.threecircleinversesansserif=10124,A.threedeva=2409,A.threeeighths=8540,A.threegujarati=2793,A.threegurmukhi=2665,A.threehackarabic=1635,A.threehangzhou=12323,A.threeideographicparen=12834,A.threeinferior=8323,A.threemonospace=65299,A.threenumeratorbengali=2550,A.threeoldstyle=63283,A.threeparen=9334,A.threeperiod=9354,A.threepersian=1779,A.threequarters=190,A.threequartersemdash=63198,A.threeroman=8562,A.threesuperior=179,A.threethai=3667,A.thzsquare=13204,A.tihiragana=12385,A.tikatakana=12481,A.tikatakanahalfwidth=65409,A.tikeutacirclekorean=12912,A.tikeutaparenkorean=12816,A.tikeutcirclekorean=12898,A.tikeutkorean=12599,A.tikeutparenkorean=12802,A.tilde=732,A.tildebelowcmb=816,A.tildecmb=771,A.tildecomb=771,A.tildedoublecmb=864,A.tildeoperator=8764,A.tildeoverlaycmb=820,A.tildeverticalcmb=830,A.timescircle=8855,A.tipehahebrew=1430,A.tipehalefthebrew=1430,A.tippigurmukhi=2672,A.titlocyrilliccmb=1155,A.tiwnarmenian=1407,A.tlinebelow=7791,A.tmonospace=65364,A.toarmenian=1385,A.tohiragana=12392,A.tokatakana=12488,A.tokatakanahalfwidth=65412,A.tonebarextrahighmod=741,A.tonebarextralowmod=745,A.tonebarhighmod=742,A.tonebarlowmod=744,A.tonebarmidmod=743,A.tonefive=445,A.tonesix=389,A.tonetwo=424,A.tonos=900,A.tonsquare=13095,A.topatakthai=3599,A.tortoiseshellbracketleft=12308,A.tortoiseshellbracketleftsmall=65117,A.tortoiseshellbracketleftvertical=65081,A.tortoiseshellbracketright=12309,A.tortoiseshellbracketrightsmall=65118,A.tortoiseshellbracketrightvertical=65082,A.totaothai=3605,A.tpalatalhook=427,A.tparen=9391,A.trademark=8482,A.trademarksans=63722,A.trademarkserif=63195,A.tretroflexhook=648,A.triagdn=9660,A.triaglf=9668,A.triagrt=9658,A.triagup=9650,A.ts=678,A.tsadi=1510,A.tsadidagesh=64326,A.tsadidageshhebrew=64326,A.tsadihebrew=1510,A.tsecyrillic=1094,A.tsere=1461,A.tsere12=1461,A.tsere1e=1461,A.tsere2b=1461,A.tserehebrew=1461,A.tserenarrowhebrew=1461,A.tserequarterhebrew=1461,A.tserewidehebrew=1461,A.tshecyrillic=1115,A.tsuperior=63219,A.ttabengali=2463,A.ttadeva=2335,A.ttagujarati=2719,A.ttagurmukhi=2591,A.tteharabic=1657,A.ttehfinalarabic=64359,A.ttehinitialarabic=64360,A.ttehmedialarabic=64361,A.tthabengali=2464,A.tthadeva=2336,A.tthagujarati=2720,A.tthagurmukhi=2592,A.tturned=647,A.tuhiragana=12388,A.tukatakana=12484,A.tukatakanahalfwidth=65410,A.tusmallhiragana=12387,A.tusmallkatakana=12483,A.tusmallkatakanahalfwidth=65391,A.twelvecircle=9323,A.twelveparen=9343,A.twelveperiod=9363,A.twelveroman=8571,A.twentycircle=9331,A.twentyhangzhou=21316,A.twentyparen=9351,A.twentyperiod=9371,A.two=50,A.twoarabic=1634,A.twobengali=2536,A.twocircle=9313,A.twocircleinversesansserif=10123,A.twodeva=2408,A.twodotenleader=8229,A.twodotleader=8229,A.twodotleadervertical=65072,A.twogujarati=2792,A.twogurmukhi=2664,A.twohackarabic=1634,A.twohangzhou=12322,A.twoideographicparen=12833,A.twoinferior=8322,A.twomonospace=65298,A.twonumeratorbengali=2549,A.twooldstyle=63282,A.twoparen=9333,A.twoperiod=9353,A.twopersian=1778,A.tworoman=8561,A.twostroke=443,A.twosuperior=178,A.twothai=3666,A.twothirds=8532,A.u=117,A.uacute=250,A.ubar=649,A.ubengali=2441,A.ubopomofo=12584,A.ubreve=365,A.ucaron=468,A.ucircle=9444,A.ucircumflex=251,A.ucircumflexbelow=7799,A.ucyrillic=1091,A.udattadeva=2385,A.udblacute=369,A.udblgrave=533,A.udeva=2313,A.udieresis=252,A.udieresisacute=472,A.udieresisbelow=7795,A.udieresiscaron=474,A.udieresiscyrillic=1265,A.udieresisgrave=476,A.udieresismacron=470,A.udotbelow=7909,A.ugrave=249,A.ugujarati=2697,A.ugurmukhi=2569,A.uhiragana=12358,A.uhookabove=7911,A.uhorn=432,A.uhornacute=7913,A.uhorndotbelow=7921,A.uhorngrave=7915,A.uhornhookabove=7917,A.uhorntilde=7919,A.uhungarumlaut=369,A.uhungarumlautcyrillic=1267,A.uinvertedbreve=535,A.ukatakana=12454,A.ukatakanahalfwidth=65395,A.ukcyrillic=1145,A.ukorean=12636,A.umacron=363,A.umacroncyrillic=1263,A.umacrondieresis=7803,A.umatragurmukhi=2625,A.umonospace=65365,A.underscore=95,A.underscoredbl=8215,A.underscoremonospace=65343,A.underscorevertical=65075,A.underscorewavy=65103,A.union=8746,A.universal=8704,A.uogonek=371,A.uparen=9392,A.upblock=9600,A.upperdothebrew=1476,A.upsilon=965,A.upsilondieresis=971,A.upsilondieresistonos=944,A.upsilonlatin=650,A.upsilontonos=973,A.uptackbelowcmb=797,A.uptackmod=724,A.uragurmukhi=2675,A.uring=367,A.ushortcyrillic=1118,A.usmallhiragana=12357,A.usmallkatakana=12453,A.usmallkatakanahalfwidth=65385,A.ustraightcyrillic=1199,A.ustraightstrokecyrillic=1201,A.utilde=361,A.utildeacute=7801,A.utildebelow=7797,A.uubengali=2442,A.uudeva=2314,A.uugujarati=2698,A.uugurmukhi=2570,A.uumatragurmukhi=2626,A.uuvowelsignbengali=2498,A.uuvowelsigndeva=2370,A.uuvowelsigngujarati=2754,A.uvowelsignbengali=2497,A.uvowelsigndeva=2369,A.uvowelsigngujarati=2753,A.v=118,A.vadeva=2357,A.vagujarati=2741,A.vagurmukhi=2613,A.vakatakana=12535,A.vav=1493,A.vavdagesh=64309,A.vavdagesh65=64309,A.vavdageshhebrew=64309,A.vavhebrew=1493,A.vavholam=64331,A.vavholamhebrew=64331,A.vavvavhebrew=1520,A.vavyodhebrew=1521,A.vcircle=9445,A.vdotbelow=7807,A.vecyrillic=1074,A.veharabic=1700,A.vehfinalarabic=64363,A.vehinitialarabic=64364,A.vehmedialarabic=64365,A.vekatakana=12537,A.venus=9792,A.verticalbar=124,A.verticallineabovecmb=781,A.verticallinebelowcmb=809,A.verticallinelowmod=716,A.verticallinemod=712,A.vewarmenian=1406,A.vhook=651,A.vikatakana=12536,A.viramabengali=2509,A.viramadeva=2381,A.viramagujarati=2765,A.visargabengali=2435,A.visargadeva=2307,A.visargagujarati=2691,A.vmonospace=65366,A.voarmenian=1400,A.voicediterationhiragana=12446,A.voicediterationkatakana=12542,A.voicedmarkkana=12443,A.voicedmarkkanahalfwidth=65438,A.vokatakana=12538,A.vparen=9393,A.vtilde=7805,A.vturned=652,A.vuhiragana=12436,A.vukatakana=12532,A.w=119,A.wacute=7811,A.waekorean=12633,A.wahiragana=12431,A.wakatakana=12527,A.wakatakanahalfwidth=65436,A.wakorean=12632,A.wasmallhiragana=12430,A.wasmallkatakana=12526,A.wattosquare=13143,A.wavedash=12316,A.wavyunderscorevertical=65076,A.wawarabic=1608,A.wawfinalarabic=65262,A.wawhamzaabovearabic=1572,A.wawhamzaabovefinalarabic=65158,A.wbsquare=13277,A.wcircle=9446,A.wcircumflex=373,A.wdieresis=7813,A.wdotaccent=7815,A.wdotbelow=7817,A.wehiragana=12433,A.weierstrass=8472,A.wekatakana=12529,A.wekorean=12638,A.weokorean=12637,A.wgrave=7809,A.whitebullet=9702,A.whitecircle=9675,A.whitecircleinverse=9689,A.whitecornerbracketleft=12302,A.whitecornerbracketleftvertical=65091,A.whitecornerbracketright=12303,A.whitecornerbracketrightvertical=65092,A.whitediamond=9671,A.whitediamondcontainingblacksmalldiamond=9672,A.whitedownpointingsmalltriangle=9663;A.whitedownpointingtriangle=9661,A.whiteleftpointingsmalltriangle=9667,A.whiteleftpointingtriangle=9665,A.whitelenticularbracketleft=12310,A.whitelenticularbracketright=12311,A.whiterightpointingsmalltriangle=9657,A.whiterightpointingtriangle=9655,A.whitesmallsquare=9643,A.whitesmilingface=9786,A.whitesquare=9633,A.whitestar=9734,A.whitetelephone=9743,A.whitetortoiseshellbracketleft=12312,A.whitetortoiseshellbracketright=12313,A.whiteuppointingsmalltriangle=9653,A.whiteuppointingtriangle=9651,A.wihiragana=12432,A.wikatakana=12528,A.wikorean=12639,A.wmonospace=65367,A.wohiragana=12434,A.wokatakana=12530,A.wokatakanahalfwidth=65382,A.won=8361,A.wonmonospace=65510,A.wowaenthai=3623,A.wparen=9394,A.wring=7832,A.wsuperior=695,A.wturned=653,A.wynn=447,A.x=120,A.xabovecmb=829,A.xbopomofo=12562,A.xcircle=9447,A.xdieresis=7821,A.xdotaccent=7819,A.xeharmenian=1389,A.xi=958,A.xmonospace=65368,A.xparen=9395,A.xsuperior=739,A.y=121,A.yaadosquare=13134,A.yabengali=2479,A.yacute=253,A.yadeva=2351,A.yaekorean=12626,A.yagujarati=2735,A.yagurmukhi=2607,A.yahiragana=12420,A.yakatakana=12516,A.yakatakanahalfwidth=65428,A.yakorean=12625,A.yamakkanthai=3662,A.yasmallhiragana=12419,A.yasmallkatakana=12515,A.yasmallkatakanahalfwidth=65388,A.yatcyrillic=1123,A.ycircle=9448,A.ycircumflex=375,A.ydieresis=255,A.ydotaccent=7823,A.ydotbelow=7925,A.yeharabic=1610,A.yehbarreearabic=1746,A.yehbarreefinalarabic=64431,A.yehfinalarabic=65266,A.yehhamzaabovearabic=1574,A.yehhamzaabovefinalarabic=65162,A.yehhamzaaboveinitialarabic=65163,A.yehhamzaabovemedialarabic=65164,A.yehinitialarabic=65267,A.yehmedialarabic=65268,A.yehmeeminitialarabic=64733,A.yehmeemisolatedarabic=64600,A.yehnoonfinalarabic=64660,A.yehthreedotsbelowarabic=1745,A.yekorean=12630,A.yen=165,A.yenmonospace=65509,A.yeokorean=12629,A.yeorinhieuhkorean=12678,A.yerahbenyomohebrew=1450,A.yerahbenyomolefthebrew=1450,A.yericyrillic=1099,A.yerudieresiscyrillic=1273,A.yesieungkorean=12673,A.yesieungpansioskorean=12675,A.yesieungsioskorean=12674,A.yetivhebrew=1434,A.ygrave=7923,A.yhook=436,A.yhookabove=7927,A.yiarmenian=1397,A.yicyrillic=1111,A.yikorean=12642,A.yinyang=9775,A.yiwnarmenian=1410,A.ymonospace=65369,A.yod=1497,A.yoddagesh=64313,A.yoddageshhebrew=64313,A.yodhebrew=1497,A.yodyodhebrew=1522,A.yodyodpatahhebrew=64287,A.yohiragana=12424,A.yoikorean=12681,A.yokatakana=12520,A.yokatakanahalfwidth=65430,A.yokorean=12635,A.yosmallhiragana=12423,A.yosmallkatakana=12519,A.yosmallkatakanahalfwidth=65390,A.yotgreek=1011,A.yoyaekorean=12680,A.yoyakorean=12679,A.yoyakthai=3618,A.yoyingthai=3597,A.yparen=9396,A.ypogegrammeni=890,A.ypogegrammenigreekcmb=837,A.yr=422,A.yring=7833,A.ysuperior=696,A.ytilde=7929,A.yturned=654,A.yuhiragana=12422,A.yuikorean=12684,A.yukatakana=12518,A.yukatakanahalfwidth=65429,A.yukorean=12640,A.yusbigcyrillic=1131,A.yusbigiotifiedcyrillic=1133,A.yuslittlecyrillic=1127,A.yuslittleiotifiedcyrillic=1129,A.yusmallhiragana=12421,A.yusmallkatakana=12517,A.yusmallkatakanahalfwidth=65389,A.yuyekorean=12683,A.yuyeokorean=12682,A.yyabengali=2527,A.yyadeva=2399,A.z=122,A.zaarmenian=1382,A.zacute=378,A.zadeva=2395,A.zagurmukhi=2651,A.zaharabic=1592,A.zahfinalarabic=65222,A.zahinitialarabic=65223,A.zahiragana=12374,A.zahmedialarabic=65224,A.zainarabic=1586,A.zainfinalarabic=65200,A.zakatakana=12470,A.zaqefgadolhebrew=1429,A.zaqefqatanhebrew=1428,A.zarqahebrew=1432,A.zayin=1494,A.zayindagesh=64310,A.zayindageshhebrew=64310,A.zayinhebrew=1494,A.zbopomofo=12567,A.zcaron=382,A.zcircle=9449,A.zcircumflex=7825,A.zcurl=657,A.zdot=380,A.zdotaccent=380,A.zdotbelow=7827,A.zecyrillic=1079,A.zedescendercyrillic=1177,A.zedieresiscyrillic=1247,A.zehiragana=12380,A.zekatakana=12476,A.zero=48,A.zeroarabic=1632,A.zerobengali=2534,A.zerodeva=2406,A.zerogujarati=2790,A.zerogurmukhi=2662,A.zerohackarabic=1632,A.zeroinferior=8320,A.zeromonospace=65296,A.zerooldstyle=63280,A.zeropersian=1776,A.zerosuperior=8304,A.zerothai=3664,A.zerowidthjoiner=65279,A.zerowidthnonjoiner=8204,A.zerowidthspace=8203,A.zeta=950,A.zhbopomofo=12563,A.zhearmenian=1386,A.zhebrevecyrillic=1218,A.zhecyrillic=1078,A.zhedescendercyrillic=1175,A.zhedieresiscyrillic=1245,A.zihiragana=12376,A.zikatakana=12472,A.zinorhebrew=1454,A.zlinebelow=7829,A.zmonospace=65370,A.zohiragana=12382,A.zokatakana=12478,A.zparen=9397,A.zretroflexhook=656,A.zstroke=438,A.zuhiragana=12378,A.zukatakana=12474,A[".notdef"]=0,A.angbracketleftbig=9001,A.angbracketleftBig=9001,A.angbracketleftbigg=9001,A.angbracketleftBigg=9001,A.angbracketrightBig=9002,A.angbracketrightbig=9002,A.angbracketrightBigg=9002,A.angbracketrightbigg=9002,A.arrowhookleft=8618,A.arrowhookright=8617,A.arrowlefttophalf=8636,A.arrowleftbothalf=8637,A.arrownortheast=8599,A.arrownorthwest=8598,A.arrowrighttophalf=8640,A.arrowrightbothalf=8641,A.arrowsoutheast=8600,A.arrowsouthwest=8601,A.backslashbig=8726,A.backslashBig=8726,A.backslashBigg=8726,A.backslashbigg=8726,A.bardbl=8214,A.bracehtipdownleft=65079,A.bracehtipdownright=65079,A.bracehtipupleft=65080,A.bracehtipupright=65080,A.braceleftBig=123,A.braceleftbig=123,A.braceleftbigg=123,A.braceleftBigg=123,A.bracerightBig=125,A.bracerightbig=125,A.bracerightbigg=125,A.bracerightBigg=125,A.bracketleftbig=91,A.bracketleftBig=91,A.bracketleftbigg=91,A.bracketleftBigg=91,A.bracketrightBig=93,A.bracketrightbig=93,A.bracketrightbigg=93,A.bracketrightBigg=93,A.ceilingleftbig=8968,A.ceilingleftBig=8968,A.ceilingleftBigg=8968,A.ceilingleftbigg=8968,A.ceilingrightbig=8969,A.ceilingrightBig=8969,A.ceilingrightbigg=8969,A.ceilingrightBigg=8969,A.circledotdisplay=8857,A.circledottext=8857,A.circlemultiplydisplay=8855,A.circlemultiplytext=8855,A.circleplusdisplay=8853,A.circleplustext=8853,A.contintegraldisplay=8750,A.contintegraltext=8750,A.coproductdisplay=8720,A.coproducttext=8720,A.floorleftBig=8970,A.floorleftbig=8970,A.floorleftbigg=8970,A.floorleftBigg=8970,A.floorrightbig=8971,A.floorrightBig=8971,A.floorrightBigg=8971,A.floorrightbigg=8971,A.hatwide=770,A.hatwider=770,A.hatwidest=770,A.intercal=7488,A.integraldisplay=8747,A.integraltext=8747,A.intersectiondisplay=8898,A.intersectiontext=8898,A.logicalanddisplay=8743,A.logicalandtext=8743,A.logicalordisplay=8744,A.logicalortext=8744,A.parenleftBig=40,A.parenleftbig=40,A.parenleftBigg=40,A.parenleftbigg=40,A.parenrightBig=41,A.parenrightbig=41,A.parenrightBigg=41,A.parenrightbigg=41,A.prime=8242,A.productdisplay=8719,A.producttext=8719,A.radicalbig=8730,A.radicalBig=8730,A.radicalBigg=8730,A.radicalbigg=8730,A.radicalbt=8730,A.radicaltp=8730,A.radicalvertex=8730,A.slashbig=47,A.slashBig=47,A.slashBigg=47,A.slashbigg=47,A.summationdisplay=8721,A.summationtext=8721,A.tildewide=732,A.tildewider=732,A.tildewidest=732,A.uniondisplay=8899,A.unionmultidisplay=8846,A.unionmultitext=8846,A.unionsqdisplay=8852,A.unionsqtext=8852,A.uniontext=8899,A.vextenddouble=8741,A.vextendsingle=8739})),wn=oe((function(A){A.space=32,A.a1=9985,A.a2=9986,A.a202=9987,A.a3=9988,A.a4=9742,A.a5=9990,A.a119=9991,A.a118=9992,A.a117=9993,A.a11=9755,A.a12=9758,A.a13=9996,A.a14=9997,A.a15=9998,A.a16=9999,A.a105=1e4,A.a17=10001,A.a18=10002,A.a19=10003,A.a20=10004,A.a21=10005,A.a22=10006,A.a23=10007,A.a24=10008,A.a25=10009,A.a26=10010,A.a27=10011,A.a28=10012,A.a6=10013,A.a7=10014,A.a8=10015,A.a9=10016,A.a10=10017,A.a29=10018,A.a30=10019,A.a31=10020,A.a32=10021,A.a33=10022,A.a34=10023,A.a35=9733,A.a36=10025,A.a37=10026,A.a38=10027,A.a39=10028,A.a40=10029,A.a41=10030,A.a42=10031,A.a43=10032,A.a44=10033,A.a45=10034,A.a46=10035,A.a47=10036,A.a48=10037,A.a49=10038,A.a50=10039,A.a51=10040,A.a52=10041,A.a53=10042,A.a54=10043,A.a55=10044,A.a56=10045,A.a57=10046,A.a58=10047,A.a59=10048,A.a60=10049,A.a61=10050,A.a62=10051,A.a63=10052,A.a64=10053,A.a65=10054,A.a66=10055,A.a67=10056,A.a68=10057,A.a69=10058,A.a70=10059,A.a71=9679,A.a72=10061,A.a73=9632,A.a74=10063,A.a203=10064,A.a75=10065,A.a204=10066,A.a76=9650,A.a77=9660,A.a78=9670,A.a79=10070,A.a81=9687,A.a82=10072,A.a83=10073,A.a84=10074,A.a97=10075,A.a98=10076,A.a99=10077,A.a100=10078,A.a101=10081,A.a102=10082,A.a103=10083,A.a104=10084,A.a106=10085,A.a107=10086,A.a108=10087,A.a112=9827,A.a111=9830,A.a110=9829,A.a109=9824,A.a120=9312,A.a121=9313,A.a122=9314,A.a123=9315,A.a124=9316,A.a125=9317,A.a126=9318,A.a127=9319,A.a128=9320,A.a129=9321,A.a130=10102,A.a131=10103,A.a132=10104,A.a133=10105,A.a134=10106,A.a135=10107,A.a136=10108,A.a137=10109,A.a138=10110,A.a139=10111,A.a140=10112,A.a141=10113,A.a142=10114,A.a143=10115,A.a144=10116,A.a145=10117,A.a146=10118,A.a147=10119,A.a148=10120,A.a149=10121,A.a150=10122,A.a151=10123,A.a152=10124,A.a153=10125,A.a154=10126,A.a155=10127,A.a156=10128,A.a157=10129,A.a158=10130,A.a159=10131,A.a160=10132,A.a161=8594,A.a163=8596,A.a164=8597,A.a196=10136,A.a165=10137,A.a192=10138,A.a166=10139,A.a167=10140,A.a168=10141,A.a169=10142,A.a170=10143,A.a171=10144,A.a172=10145,A.a173=10146,A.a162=10147,A.a174=10148,A.a175=10149,A.a176=10150,A.a177=10151,A.a178=10152,A.a179=10153,A.a193=10154,A.a180=10155,A.a199=10156,A.a181=10157,A.a200=10158,A.a182=10159,A.a201=10161,A.a183=10162,A.a184=10163,A.a197=10164,A.a185=10165,A.a194=10166,A.a198=10167,A.a186=10168,A.a195=10169,A.a187=10170,A.a188=10171,A.a189=10172,A.a190=10173,A.a191=10174,A.a89=10088,A.a90=10089,A.a93=10090,A.a94=10091,A.a91=10092,A.a92=10093,A.a205=10094,A.a85=10095,A.a206=10096,A.a86=10097,A.a87=10098,A.a88=10099,A.a95=10100,A.a96=10101,A[".notdef"]=0})),bn=oe((function(A){A[63721]=169,A[63193]=169,A[63720]=174,A[63194]=174,A[63722]=8482,A[63195]=8482,A[63729]=9127,A[63730]=9128,A[63731]=9129,A[63740]=9131,A[63741]=9132,A[63742]=9133,A[63726]=9121,A[63727]=9122,A[63728]=9123,A[63737]=9124,A[63738]=9125,A[63739]=9126,A[63723]=9115,A[63724]=9116,A[63725]=9117,A[63734]=9118,A[63735]=9119,A[63736]=9120}));function Dn(A,e){var t=e[A];if(void 0!==t)return t;if(!A)return-1;if("u"===A[0]){var a,i=A.length;if(7===i&&"n"===A[1]&&"i"===A[2])a=A.substring(3);else{if(!(i>=5&&i<=7))return-1;a=A.substring(1)}if(a===a.toUpperCase()&&(t=parseInt(a,16))>=0)return t}return-1}var Fn=[[0,127],[128,255],[256,383],[384,591],[592,687,7424,7551,7552,7615],[688,767,42752,42783],[768,879,7616,7679],[880,1023],[11392,11519],[1024,1279,1280,1327,11744,11775,42560,42655],[1328,1423],[1424,1535],[42240,42559],[1536,1791,1872,1919],[1984,2047],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3584,3711],[3712,3839],[4256,4351,11520,11567],[6912,7039],[4352,4607],[7680,7935,11360,11391,42784,43007],[7936,8191],[8192,8303,11776,11903],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703,10224,10239,10496,10623,11008,11263],[8704,8959,10752,11007,10176,10223,10624,10751],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[12288,12351],[12352,12447],[12448,12543,12784,12799],[12544,12591,12704,12735],[12592,12687],[43072,43135],[12800,13055],[13056,13311],[44032,55215],[55296,57343],[67840,67871],[19968,40959,11904,12031,12032,12255,12272,12287,13312,19903,131072,173791,12688,12703],[57344,63743],[12736,12783,63744,64255,194560,195103],[64256,64335],[64336,65023],[65056,65071],[65040,65055],[65104,65135],[65136,65279],[65280,65519],[65520,65535],[3840,4095],[1792,1871],[1920,1983],[3456,3583],[4096,4255],[4608,4991,4992,5023,11648,11743],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[10240,10495],[40960,42127],[5888,5919,5920,5951,5952,5983,5984,6015],[66304,66351],[66352,66383],[66560,66639],[118784,119039,119040,119295,119296,119375],[119808,120831],[1044480,1048573],[65024,65039,917760,917999],[917504,917631],[6400,6479],[6480,6527],[6528,6623],[6656,6687],[11264,11359],[11568,11647],[19904,19967],[43008,43055],[65536,65663,65664,65791,65792,65855],[65856,65935],[66432,66463],[66464,66527],[66640,66687],[66688,66735],[67584,67647],[68096,68191],[119552,119647],[73728,74751,74752,74879],[119648,119679],[7040,7103],[7168,7247],[7248,7295],[43136,43231],[43264,43311],[43312,43359],[43520,43615],[65936,65999],[66e3,66047],[66208,66271,66176,66207,67872,67903],[127024,127135,126976,127023]];function Sn(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(-1!==e)for(var t=Fn[e],a=0,i=t.length;a<i;a+=2)if(A>=t[a]&&A<=t[a+1])return e;for(var n=0,r=Fn.length;n<r;n++)for(var g=Fn[n],o=0,s=g.length;o<s;o+=2)if(A>=g[o]&&A<=g[o+1])return n;return-1}var Rn=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),Nn=new Map,Gn=!0,xn=[".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"];function Un(A,e){if(void 0!==e[A])return A;var t=Dn(A,e);if(-1!==t)for(var a in e)if(e[a]===t)return a;return hA("Unable to recover a standard glyph name for: "+A),A}function Mn(A,e,t){var a,i,n,r=Object.create(null),g=!!(4&A.flags);if(A.isInternalFont)for(n=e,i=0;i<n.length;i++)a=t.indexOf(n[i]),r[i]=a>=0?a:0;else if(A.baseEncodingName)for(n=nn(A.baseEncodingName),i=0;i<n.length;i++)a=t.indexOf(n[i]),r[i]=a>=0?a:0;else if(g)for(i in e)r[i]=e[i];else for(n=An,i=0;i<n.length;i++)a=t.indexOf(n[i]),r[i]=a>=0?a:0;var o,s=A.differences;if(s)for(i in s){var I=s[i];if(-1===(a=t.indexOf(I))){o||(o=vn());var c=Un(I,o);c!==I&&(a=t.indexOf(c))}r[i]=a>=0?a:0}return r}function Jn(A){return A.replaceAll(/[,_]/g,"-").replaceAll(/\s/g,"")}var Ln=oe((function(A){A["Times-Roman"]="Times-Roman",A.Helvetica="Helvetica",A.Courier="Courier",A.Symbol="Symbol",A["Times-Bold"]="Times-Bold",A["Helvetica-Bold"]="Helvetica-Bold",A["Courier-Bold"]="Courier-Bold",A.ZapfDingbats="ZapfDingbats",A["Times-Italic"]="Times-Italic",A["Helvetica-Oblique"]="Helvetica-Oblique",A["Courier-Oblique"]="Courier-Oblique",A["Times-BoldItalic"]="Times-BoldItalic",A["Helvetica-BoldOblique"]="Helvetica-BoldOblique",A["Courier-BoldOblique"]="Courier-BoldOblique",A.ArialNarrow="Helvetica",A["ArialNarrow-Bold"]="Helvetica-Bold",A["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",A["ArialNarrow-Italic"]="Helvetica-Oblique",A.ArialBlack="Helvetica",A["ArialBlack-Bold"]="Helvetica-Bold",A["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",A["ArialBlack-Italic"]="Helvetica-Oblique",A["Arial-Black"]="Helvetica",A["Arial-Black-Bold"]="Helvetica-Bold",A["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",A["Arial-Black-Italic"]="Helvetica-Oblique",A.Arial="Helvetica",A["Arial-Bold"]="Helvetica-Bold",A["Arial-BoldItalic"]="Helvetica-BoldOblique",A["Arial-Italic"]="Helvetica-Oblique",A.ArialMT="Helvetica",A["Arial-BoldItalicMT"]="Helvetica-BoldOblique",A["Arial-BoldMT"]="Helvetica-Bold",A["Arial-ItalicMT"]="Helvetica-Oblique",A["Arial-BoldItalicMT-BoldItalic"]="Helvetica-BoldOblique",A["Arial-BoldMT-Bold"]="Helvetica-Bold",A["Arial-ItalicMT-Italic"]="Helvetica-Oblique",A.ArialUnicodeMS="Helvetica",A["ArialUnicodeMS-Bold"]="Helvetica-Bold",A["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",A["ArialUnicodeMS-Italic"]="Helvetica-Oblique",A["Courier-BoldItalic"]="Courier-BoldOblique",A["Courier-Italic"]="Courier-Oblique",A.CourierNew="Courier",A["CourierNew-Bold"]="Courier-Bold",A["CourierNew-BoldItalic"]="Courier-BoldOblique",A["CourierNew-Italic"]="Courier-Oblique",A["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",A["CourierNewPS-BoldMT"]="Courier-Bold",A["CourierNewPS-ItalicMT"]="Courier-Oblique",A.CourierNewPSMT="Courier",A["Helvetica-BoldItalic"]="Helvetica-BoldOblique",A["Helvetica-Italic"]="Helvetica-Oblique",A["Symbol-Bold"]="Symbol",A["Symbol-BoldItalic"]="Symbol",A["Symbol-Italic"]="Symbol",A.TimesNewRoman="Times-Roman",A["TimesNewRoman-Bold"]="Times-Bold",A["TimesNewRoman-BoldItalic"]="Times-BoldItalic",A["TimesNewRoman-Italic"]="Times-Italic",A.TimesNewRomanPS="Times-Roman",A["TimesNewRomanPS-Bold"]="Times-Bold",A["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",A["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",A["TimesNewRomanPS-BoldMT"]="Times-Bold",A["TimesNewRomanPS-Italic"]="Times-Italic",A["TimesNewRomanPS-ItalicMT"]="Times-Italic",A.TimesNewRomanPSMT="Times-Roman",A["TimesNewRomanPSMT-Bold"]="Times-Bold",A["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",A["TimesNewRomanPSMT-Italic"]="Times-Italic"})),Hn=oe((function(A){A.Courier="FoxitFixed.pfb",A["Courier-Bold"]="FoxitFixedBold.pfb",A["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",A["Courier-Oblique"]="FoxitFixedItalic.pfb",A.Helvetica="LiberationSans-Regular.ttf",A["Helvetica-Bold"]="LiberationSans-Bold.ttf",A["Helvetica-BoldOblique"]="LiberationSans-BoldItalic.ttf",A["Helvetica-Oblique"]="LiberationSans-Italic.ttf",A["Times-Roman"]="FoxitSerif.pfb",A["Times-Bold"]="FoxitSerifBold.pfb",A["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",A["Times-Italic"]="FoxitSerifItalic.pfb",A.Symbol="FoxitSymbol.pfb",A.ZapfDingbats="FoxitDingbats.pfb",A["LiberationSans-Regular"]="LiberationSans-Regular.ttf",A["LiberationSans-Bold"]="LiberationSans-Bold.ttf",A["LiberationSans-Italic"]="LiberationSans-Italic.ttf",A["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"})),Yn=oe((function(A){A.Calibri="Helvetica",A["Calibri-Bold"]="Helvetica-Bold",A["Calibri-BoldItalic"]="Helvetica-BoldOblique",A["Calibri-Italic"]="Helvetica-Oblique",A.CenturyGothic="Helvetica",A["CenturyGothic-Bold"]="Helvetica-Bold",A["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",A["CenturyGothic-Italic"]="Helvetica-Oblique",A.ComicSansMS="Comic Sans MS",A["ComicSansMS-Bold"]="Comic Sans MS-Bold",A["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",A["ComicSansMS-Italic"]="Comic Sans MS-Italic",A.Impact="Helvetica",A["ItcSymbol-Bold"]="Helvetica-Bold",A["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",A["ItcSymbol-Book"]="Helvetica",A["ItcSymbol-BookItalic"]="Helvetica-Oblique",A["ItcSymbol-Medium"]="Helvetica",A["ItcSymbol-MediumItalic"]="Helvetica-Oblique",A.LucidaConsole="Courier",A["LucidaConsole-Bold"]="Courier-Bold",A["LucidaConsole-BoldItalic"]="Courier-BoldOblique",A["LucidaConsole-Italic"]="Courier-Oblique",A["LucidaSans-Demi"]="Helvetica-Bold",A["MS-Gothic"]="MS Gothic",A["MS-Gothic-Bold"]="MS Gothic-Bold",A["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",A["MS-Gothic-Italic"]="MS Gothic-Italic",A["MS-Mincho"]="MS Mincho",A["MS-Mincho-Bold"]="MS Mincho-Bold",A["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",A["MS-Mincho-Italic"]="MS Mincho-Italic",A["MS-PGothic"]="MS PGothic",A["MS-PGothic-Bold"]="MS PGothic-Bold",A["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",A["MS-PGothic-Italic"]="MS PGothic-Italic",A["MS-PMincho"]="MS PMincho",A["MS-PMincho-Bold"]="MS PMincho-Bold",A["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",A["MS-PMincho-Italic"]="MS PMincho-Italic",A.NuptialScript="Times-Italic",A.SegoeUISymbol="Helvetica"})),Kn=oe((function(A){A["Adobe Jenson"]=!0,A["Adobe Text"]=!0,A.Albertus=!0,A.Aldus=!0,A.Alexandria=!0,A.Algerian=!0,A["American Typewriter"]=!0,A.Antiqua=!0,A.Apex=!0,A.Arno=!0,A.Aster=!0,A.Aurora=!0,A.Baskerville=!0,A.Bell=!0,A.Bembo=!0,A["Bembo Schoolbook"]=!0,A.Benguiat=!0,A["Berkeley Old Style"]=!0,A["Bernhard Modern"]=!0,A["Berthold City"]=!0,A.Bodoni=!0,A["Bauer Bodoni"]=!0,A["Book Antiqua"]=!0,A.Bookman=!0,A["Bordeaux Roman"]=!0,A["Californian FB"]=!0,A.Calisto=!0,A.Calvert=!0,A.Capitals=!0,A.Cambria=!0,A.Cartier=!0,A.Caslon=!0,A.Catull=!0,A.Centaur=!0,A["Century Old Style"]=!0,A["Century Schoolbook"]=!0,A.Chaparral=!0,A["Charis SIL"]=!0,A.Cheltenham=!0,A["Cholla Slab"]=!0,A.Clarendon=!0,A.Clearface=!0,A.Cochin=!0,A.Colonna=!0,A["Computer Modern"]=!0,A["Concrete Roman"]=!0,A.Constantia=!0,A["Cooper Black"]=!0,A.Corona=!0,A.Ecotype=!0,A.Egyptienne=!0,A.Elephant=!0,A.Excelsior=!0,A.Fairfield=!0,A["FF Scala"]=!0,A.Folkard=!0,A.Footlight=!0,A.FreeSerif=!0,A["Friz Quadrata"]=!0,A.Garamond=!0,A.Gentium=!0,A.Georgia=!0,A.Gloucester=!0,A["Goudy Old Style"]=!0,A["Goudy Schoolbook"]=!0,A["Goudy Pro Font"]=!0,A.Granjon=!0,A["Guardian Egyptian"]=!0,A.Heather=!0,A.Hercules=!0,A["High Tower Text"]=!0,A.Hiroshige=!0,A["Hoefler Text"]=!0,A["Humana Serif"]=!0,A.Imprint=!0,A["Ionic No. 5"]=!0,A.Janson=!0,A.Joanna=!0,A.Korinna=!0,A.Lexicon=!0,A.LiberationSerif=!0,A["Liberation Serif"]=!0,A["Linux Libertine"]=!0,A.Literaturnaya=!0,A.Lucida=!0,A["Lucida Bright"]=!0,A.Melior=!0,A.Memphis=!0,A.Miller=!0,A.Minion=!0,A.Modern=!0,A["Mona Lisa"]=!0,A["Mrs Eaves"]=!0,A["MS Serif"]=!0,A["Museo Slab"]=!0,A["New York"]=!0,A["Nimbus Roman"]=!0,A["NPS Rawlinson Roadway"]=!0,A.NuptialScript=!0,A.Palatino=!0,A.Perpetua=!0,A.Plantin=!0,A["Plantin Schoolbook"]=!0,A.Playbill=!0,A["Poor Richard"]=!0,A["Rawlinson Roadway"]=!0,A.Renault=!0,A.Requiem=!0,A.Rockwell=!0,A.Roman=!0,A["Rotis Serif"]=!0,A.Sabon=!0,A.Scala=!0,A.Seagull=!0,A.Sistina=!0,A.Souvenir=!0,A.STIX=!0,A["Stone Informal"]=!0,A["Stone Serif"]=!0,A.Sylfaen=!0,A.Times=!0,A.Trajan=!0,A["Trinité"]=!0,A["Trump Mediaeval"]=!0,A.Utopia=!0,A["Vale Type"]=!0,A["Bitstream Vera"]=!0,A["Vera Serif"]=!0,A.Versailles=!0,A.Wanted=!0,A.Weiss=!0,A["Wide Latin"]=!0,A.Windsor=!0,A.XITS=!0})),qn=oe((function(A){A.Dingbats=!0,A.Symbol=!0,A.ZapfDingbats=!0,A.Wingdings=!0,A["Wingdings-Bold"]=!0,A["Wingdings-Regular"]=!0})),Tn=oe((function(A){A[2]=10,A[3]=32,A[4]=33,A[5]=34,A[6]=35,A[7]=36,A[8]=37,A[9]=38,A[10]=39,A[11]=40,A[12]=41,A[13]=42,A[14]=43,A[15]=44,A[16]=45,A[17]=46,A[18]=47,A[19]=48,A[20]=49,A[21]=50,A[22]=51,A[23]=52,A[24]=53,A[25]=54,A[26]=55,A[27]=56,A[28]=57,A[29]=58,A[30]=894,A[31]=60,A[32]=61,A[33]=62,A[34]=63,A[35]=64,A[36]=65,A[37]=66,A[38]=67,A[39]=68,A[40]=69,A[41]=70,A[42]=71,A[43]=72,A[44]=73,A[45]=74,A[46]=75,A[47]=76,A[48]=77,A[49]=78,A[50]=79,A[51]=80,A[52]=81,A[53]=82,A[54]=83,A[55]=84,A[56]=85,A[57]=86,A[58]=87,A[59]=88,A[60]=89,A[61]=90,A[62]=91,A[63]=92,A[64]=93,A[65]=94,A[66]=95,A[67]=96,A[68]=97,A[69]=98,A[70]=99,A[71]=100,A[72]=101,A[73]=102,A[74]=103,A[75]=104,A[76]=105,A[77]=106,A[78]=107,A[79]=108,A[80]=109,A[81]=110,A[82]=111,A[83]=112,A[84]=113,A[85]=114,A[86]=115,A[87]=116,A[88]=117,A[89]=118,A[90]=119,A[91]=120,A[92]=121,A[93]=122,A[94]=123,A[95]=124,A[96]=125,A[97]=126,A[98]=196,A[99]=197,A[100]=199,A[101]=201,A[102]=209,A[103]=214,A[104]=220,A[105]=225,A[106]=224,A[107]=226,A[108]=228,A[109]=227,A[110]=229,A[111]=231,A[112]=233,A[113]=232,A[114]=234,A[115]=235,A[116]=237,A[117]=236,A[118]=238,A[119]=239,A[120]=241,A[121]=243,A[122]=242,A[123]=244,A[124]=246,A[125]=245,A[126]=250,A[127]=249,A[128]=251,A[129]=252,A[130]=8224,A[131]=176,A[132]=162,A[133]=163,A[134]=167,A[135]=8226,A[136]=182,A[137]=223,A[138]=174,A[139]=169,A[140]=8482,A[141]=180,A[142]=168,A[143]=8800,A[144]=198,A[145]=216,A[146]=8734,A[147]=177,A[148]=8804,A[149]=8805,A[150]=165,A[151]=181,A[152]=8706,A[153]=8721,A[154]=8719,A[156]=8747,A[157]=170,A[158]=186,A[159]=8486,A[160]=230,A[161]=248,A[162]=191,A[163]=161,A[164]=172,A[165]=8730,A[166]=402,A[167]=8776,A[168]=8710,A[169]=171,A[170]=187,A[171]=8230,A[179]=8220,A[180]=8221,A[181]=8216,A[182]=8217,A[200]=193,A[203]=205,A[207]=211,A[210]=218,A[223]=711,A[224]=321,A[225]=322,A[226]=352,A[227]=353,A[228]=381,A[229]=382,A[233]=221,A[234]=253,A[252]=263,A[253]=268,A[254]=269,A[258]=258,A[260]=260,A[261]=261,A[265]=280,A[266]=281,A[267]=282,A[268]=283,A[269]=313,A[275]=323,A[276]=324,A[278]=328,A[283]=344,A[284]=345,A[285]=346,A[286]=347,A[292]=367,A[295]=377,A[296]=378,A[298]=380,A[305]=963,A[306]=964,A[307]=966,A[308]=8215,A[309]=8252,A[310]=8319,A[311]=8359,A[312]=8592,A[313]=8593,A[337]=9552,A[493]=1039,A[494]=1040,A[672]=1488,A[673]=1489,A[674]=1490,A[675]=1491,A[676]=1492,A[677]=1493,A[678]=1494,A[679]=1495,A[680]=1496,A[681]=1497,A[682]=1498,A[683]=1499,A[684]=1500,A[685]=1501,A[686]=1502,A[687]=1503,A[688]=1504,A[689]=1505,A[690]=1506,A[691]=1507,A[692]=1508,A[693]=1509,A[694]=1510,A[695]=1511,A[696]=1512,A[697]=1513,A[698]=1514,A[705]=1524,A[706]=8362,A[710]=64288,A[711]=64298,A[759]=1617,A[761]=1776,A[763]=1778,A[775]=1652,A[777]=1764,A[778]=1780,A[779]=1781,A[780]=1782,A[782]=771,A[783]=64726,A[786]=8363,A[788]=8532,A[790]=768,A[791]=769,A[792]=768,A[795]=803,A[797]=64336,A[798]=64337,A[799]=64342,A[800]=64343,A[801]=64344,A[802]=64345,A[803]=64362,A[804]=64363,A[805]=64364,A[2424]=7821,A[2425]=7822,A[2426]=7823,A[2427]=7824,A[2428]=7825,A[2429]=7826,A[2430]=7827,A[2433]=7682,A[2678]=8045,A[2679]=8046,A[2830]=1552,A[2838]=686,A[2840]=751,A[2842]=753,A[2843]=754,A[2844]=755,A[2846]=757,A[2856]=767,A[2857]=848,A[2858]=849,A[2862]=853,A[2863]=854,A[2864]=855,A[2865]=861,A[2866]=862,A[2906]=7460,A[2908]=7462,A[2909]=7463,A[2910]=7464,A[2912]=7466,A[2913]=7467,A[2914]=7468,A[2916]=7470,A[2917]=7471,A[2918]=7472,A[2920]=7474,A[2921]=7475,A[2922]=7476,A[2924]=7478,A[2925]=7479,A[2926]=7480,A[2928]=7482,A[2929]=7483,A[2930]=7484,A[2932]=7486,A[2933]=7487,A[2934]=7488,A[2936]=7490,A[2937]=7491,A[2938]=7492,A[2940]=7494,A[2941]=7495,A[2942]=7496,A[2944]=7498,A[2946]=7500,A[2948]=7502,A[2950]=7504,A[2951]=7505,A[2952]=7506,A[2954]=7508,A[2955]=7509,A[2956]=7510,A[2958]=7512,A[2959]=7513,A[2960]=7514,A[2962]=7516,A[2963]=7517,A[2964]=7518,A[2966]=7520,A[2967]=7521,A[2968]=7522,A[2970]=7524,A[2971]=7525,A[2972]=7526,A[2974]=7528,A[2975]=7529,A[2976]=7530,A[2978]=1537,A[2979]=1538,A[2980]=1539,A[2982]=1549,A[2983]=1551,A[2984]=1552,A[2986]=1554,A[2987]=1555,A[2988]=1556,A[2990]=1623,A[2991]=1624,A[2995]=1775,A[2999]=1791,A[3002]=64290,A[3003]=64291,A[3004]=64292,A[3006]=64294,A[3007]=64295,A[3008]=64296,A[3011]=1900,A[3014]=8223,A[3015]=8244,A[3017]=7532,A[3018]=7533,A[3019]=7534,A[3075]=7590,A[3076]=7591,A[3079]=7594,A[3080]=7595,A[3083]=7598,A[3084]=7599,A[3087]=7602,A[3088]=7603,A[3091]=7606,A[3092]=7607,A[3095]=7610,A[3096]=7611,A[3099]=7614,A[3100]=7615,A[3103]=7618,A[3104]=7619,A[3107]=8337,A[3108]=8338,A[3116]=1884,A[3119]=1885,A[3120]=1885,A[3123]=1886,A[3124]=1886,A[3127]=1887,A[3128]=1887,A[3131]=1888,A[3132]=1888,A[3135]=1889,A[3136]=1889,A[3139]=1890,A[3140]=1890,A[3143]=1891,A[3144]=1891,A[3147]=1892,A[3148]=1892,A[3153]=580,A[3154]=581,A[3157]=584,A[3158]=585,A[3161]=588,A[3162]=589,A[3165]=891,A[3166]=892,A[3169]=1274,A[3170]=1275,A[3173]=1278,A[3174]=1279,A[3181]=7622,A[3182]=7623,A[3282]=11799,A[3316]=578,A[3379]=42785,A[3393]=1159,A[3416]=8377})),Pn=oe((function(A){A[227]=322,A[264]=261,A[291]=346})),Wn=oe((function(A){A[1]=32,A[4]=65,A[5]=192,A[6]=193,A[9]=196,A[17]=66,A[18]=67,A[21]=268,A[24]=68,A[28]=69,A[29]=200,A[30]=201,A[32]=282,A[38]=70,A[39]=71,A[44]=72,A[47]=73,A[48]=204,A[49]=205,A[58]=74,A[60]=75,A[62]=76,A[68]=77,A[69]=78,A[75]=79,A[76]=210,A[80]=214,A[87]=80,A[89]=81,A[90]=82,A[92]=344,A[94]=83,A[97]=352,A[100]=84,A[104]=85,A[109]=220,A[115]=86,A[116]=87,A[121]=88,A[122]=89,A[124]=221,A[127]=90,A[129]=381,A[258]=97,A[259]=224,A[260]=225,A[263]=228,A[268]=261,A[271]=98,A[272]=99,A[273]=263,A[275]=269,A[282]=100,A[286]=101,A[287]=232,A[288]=233,A[290]=283,A[295]=281,A[296]=102,A[336]=103,A[346]=104,A[349]=105,A[350]=236,A[351]=237,A[361]=106,A[364]=107,A[367]=108,A[371]=322,A[373]=109,A[374]=110,A[381]=111,A[382]=242,A[383]=243,A[386]=246,A[393]=112,A[395]=113,A[396]=114,A[398]=345,A[400]=115,A[401]=347,A[403]=353,A[410]=116,A[437]=117,A[442]=252,A[448]=118,A[449]=119,A[454]=120,A[455]=121,A[457]=253,A[460]=122,A[462]=382,A[463]=380,A[853]=44,A[855]=58,A[856]=46,A[876]=47,A[878]=45,A[882]=45,A[894]=40,A[895]=41,A[896]=91,A[897]=93,A[923]=64,A[1004]=48,A[1005]=49,A[1006]=50,A[1007]=51,A[1008]=52,A[1009]=53,A[1010]=54,A[1011]=55,A[1012]=56,A[1013]=57,A[1081]=37,A[1085]=43,A[1086]=45}));function Zn(A){var e=Jn(A);return Ln()[e]}function On(A){var e=Jn(A);return!!(Ln()[e]||Yn()[e]||Kn()[e]||qn()[e])}var Xn=function(){return b((function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];F(this,A),this._map=e}),[{key:"length",get:function(){return this._map.length}},{key:"forEach",value:function(A){for(var e in this._map)A(e,this._map[e].charCodeAt(0))}},{key:"has",value:function(A){return void 0!==this._map[A]}},{key:"get",value:function(A){return this._map[A]}},{key:"charCodeOf",value:function(A){var e=this._map;if(e.length<=65536)return e.indexOf(A);for(var t in e)if(e[t]===A)return 0|t;return-1}},{key:"amend",value:function(A){for(var e in A)this._map[e]=A[e]}}])}(),Vn=function(){return b((function A(e,t){F(this,A),this.firstChar=e,this.lastChar=t}),[{key:"length",get:function(){return this.lastChar+1-this.firstChar}},{key:"forEach",value:function(A){for(var e=this.firstChar,t=this.lastChar;e<=t;e++)A(e,e)}},{key:"has",value:function(A){return this.firstChar<=A&&A<=this.lastChar}},{key:"get",value:function(A){if(this.firstChar<=A&&A<=this.lastChar)return String.fromCharCode(A)}},{key:"charCodeOf",value:function(A){return Number.isInteger(A)&&A>=this.firstChar&&A<=this.lastChar?A:-1}},{key:"amend",value:function(A){CA("Should not call amend()")}}])}(),jn=function(){return b((function A(e,t){F(this,A),this.properties=t;var a=new sn(e,t,Gn);this.cff=a.parse(),this.cff.duplicateFirstGlyph();var i=new kn(this.cff);this.seacs=this.cff.seacs;try{this.data=i.compile()}catch(A){uA("Failed to compile font "+t.loadedName),this.data=e}this._createBuiltInEncoding()}),[{key:"numGlyphs",get:function(){return this.cff.charStrings.count}},{key:"getCharset",value:function(){return this.cff.charset.charset}},{key:"getGlyphMapping",value:function(){var A,e,t=this.cff,a=this.properties,i=a.cidToGidMap,n=a.cMap,r=t.charset.charset;if(a.composite){var g,o;if((null==i?void 0:i.length)>0){g=Object.create(null);for(var s=0,I=i.length;s<I;s++){var c=i[s];void 0!==c&&(g[c]=s)}}if(A=Object.create(null),t.isCIDFont)for(e=0;e<r.length;e++){var l,h=r[e];o=n.charCodeOf(h),void 0!==(null===(l=g)||void 0===l?void 0:l[o])&&(o=g[o]),A[o]=e}else for(e=0;e<t.charStrings.count;e++)A[o=n.charCodeOf(e)]=e;return A}var u=t.encoding?t.encoding.encoding:null;return a.isInternalFont&&(u=a.defaultEncoding),Mn(a,u,r)}},{key:"hasGlyphId",value:function(A){return this.cff.hasGlyphId(A)}},{key:"_createBuiltInEncoding",value:function(){var A=this.cff,e=A.charset,t=A.encoding;if(e&&t){var a=e.charset,i=t.encoding,n=[];for(var r in i){var g=i[r];if(g>=0){var o=a[g];o&&(n[r]=o)}}n.length>0&&(this.properties.builtInEncoding=n)}}}])}();function zn(A,e){return(A[e]<<24|A[e+1]<<16|A[e+2]<<8|A[e+3])>>>0}function _n(A,e){return A[e]<<8|A[e+1]}function $n(A,e){return(A[e]<<24|A[e+1]<<16)>>16}function Ar(A,e){return A[e]<<24>>24}function er(A,e){return $n(A,e)/16384}function tr(A){var e=A.length,t=32768;return e<1240?t=107:e<33900&&(t=1131),t}function ar(A,e,t){var a,i,n,r=1===_n(A,e+2)?zn(A,e+8):zn(A,e+16),g=_n(A,e+r);if(4===g){_n(A,e+r+2);var o=_n(A,e+r+6)>>1;for(i=e+r+14,a=[],n=0;n<o;n++,i+=2)a[n]={end:_n(A,i)};for(i+=2,n=0;n<o;n++,i+=2)a[n].start=_n(A,i);for(n=0;n<o;n++,i+=2)a[n].idDelta=_n(A,i);for(n=0;n<o;n++,i+=2){var s=_n(A,i);if(0!==s){a[n].ids=[];for(var I=0,c=a[n].end-a[n].start+1;I<c;I++)a[n].ids[I]=_n(A,i+s),s+=2}}return a}if(12===g){var l=zn(A,e+r+12);for(i=e+r+16,a=[],n=0;n<l;n++)e=zn(A,i),a.push({start:e,end:zn(A,i+4),idDelta:zn(A,i+8)-e}),i+=12;return a}throw new vA("unsupported cmap: ".concat(g))}function ir(A,e,t,a){var i,n,r=new sn(new Pe(A,e,t-e),{},a).parse();return{glyphs:r.charStrings.objects,subrs:null===(i=r.topDict.privateDict)||void 0===i||null===(i=i.subrsIndex)||void 0===i?void 0:i.objects,gsubrs:null===(n=r.globalSubrIndex)||void 0===n?void 0:n.objects,isCFFCIDFont:r.isCIDFont,fdSelect:r.fdSelect,fdArray:r.fdArray}}function nr(A,e){for(var t=e.codePointAt(0),a=0,i=0,n=A.length-1;i<n;){var r=i+n+1>>1;t<A[r].start?n=r-1:i=r}return A[i].start<=t&&t<=A[i].end&&(a=A[i].idDelta+(A[i].ids?A[i].ids[t-A[i].start]:t)&65535),{charCode:t,glyphId:a}}function rr(A,e,t){function a(A,t){e.add(1,[A,t])}function i(A,t){e.add(2,[A,t])}function n(A,t,a,i){e.add(3,[A,t,a,i])}var r,g=0,o=$n(A,g),s=0,I=0;if(g+=10,o<0)do{r=_n(A,g);var c=_n(A,g+2);g+=4;var l=void 0,h=void 0;1&r?(2&r?(l=$n(A,g),h=$n(A,g+2)):(l=_n(A,g),h=_n(A,g+2)),g+=4):2&r?(l=Ar(A,g++),h=Ar(A,g++)):(l=A[g++],h=A[g++]),2&r?(s=l,I=h):(s=0,I=0);var u=1,C=1,B=0,Q=0;8&r?(u=C=er(A,g),g+=2):64&r?(u=er(A,g),C=er(A,g+2),g+=4):128&r&&(u=er(A,g),B=er(A,g+2),Q=er(A,g+4),C=er(A,g+6),g+=8);var E=t.glyphs[c];E&&(e.add(5),e.add(7,[u,B,Q,C,s,I]),rr(E,e,t),e.add(4))}while(32&r);else{var f,d,y=[];for(f=0;f<o;f++)y.push(_n(A,g)),g+=2;g+=2+_n(A,g);for(var p=y.at(-1)+1,m=[];m.length<p;){var k=1;for(8&(r=A[g++])&&(k+=A[g++]);k-- >0;)m.push({flags:r})}for(f=0;f<p;f++){switch(18&m[f].flags){case 0:s+=$n(A,g),g+=2;break;case 2:s-=A[g++];break;case 18:s+=A[g++]}m[f].x=s}for(f=0;f<p;f++){switch(36&m[f].flags){case 0:I+=$n(A,g),g+=2;break;case 4:I-=A[g++];break;case 36:I+=A[g++]}m[f].y=I}var v=0;for(g=0;g<o;g++){var w=y[g],b=m.slice(v,w+1);if(1&b[0].flags)b.push(b[0]);else if(1&b.at(-1).flags)b.unshift(b.at(-1));else{var D={flags:1,x:(b[0].x+b.at(-1).x)/2,y:(b[0].y+b.at(-1).y)/2};b.unshift(D),b.push(D)}for(a(b[0].x,b[0].y),f=1,d=b.length;f<d;f++)1&b[f].flags?i(b[f].x,b[f].y):1&b[f+1].flags?(n(b[f].x,b[f].y,b[f+1].x,b[f+1].y),f++):n(b[f].x,b[f].y,(b[f].x+b[f+1].x)/2,(b[f].y+b[f+1].y)/2);v=w+1}}}function gr(A,e,t,a){function i(A,t){e.add(1,[A,t])}function n(A,t){e.add(2,[A,t])}function r(A,t,a,i,n,r){e.add(0,[A,t,a,i,n,r])}var g=[],o=0,s=0,I=0;!function A(c){for(var l=0;l<c.length;){var h=!1,u=c[l++],C=void 0,B=void 0,Q=void 0,E=void 0,f=void 0,d=void 0,y=void 0,p=void 0;switch(u){case 1:case 3:case 18:case 23:I+=g.length>>1,h=!0;break;case 4:s+=g.pop(),i(o,s),h=!0;break;case 5:for(;g.length>0;)o+=g.shift(),s+=g.shift(),n(o,s);break;case 6:for(;g.length>0&&(n(o+=g.shift(),s),0!==g.length);)s+=g.shift(),n(o,s);break;case 7:for(;g.length>0&&(s+=g.shift(),n(o,s),0!==g.length);)n(o+=g.shift(),s);break;case 8:for(;g.length>0;)C=o+g.shift(),Q=s+g.shift(),B=C+g.shift(),E=Q+g.shift(),o=B+g.shift(),s=E+g.shift(),r(C,Q,B,E,o,s);break;case 10:if(y=g.pop(),p=null,t.isCFFCIDFont){var m=t.fdSelect.getFDIndex(a);if(m>=0&&m<t.fdArray.length){var k,v=t.fdArray[m],w=void 0;null!==(k=v.privateDict)&&void 0!==k&&k.subrsIndex&&(w=v.privateDict.subrsIndex.objects),w&&(p=w[y+=tr(w)])}else uA("Invalid fd index for glyph index.")}else p=t.subrs[y+t.subrsBias];p&&A(p);break;case 11:return;case 12:switch(u=c[l++]){case 34:B=(C=o+g.shift())+g.shift(),f=s+g.shift(),o=B+g.shift(),r(C,s,B,f,o,f),B=(C=o+g.shift())+g.shift(),o=B+g.shift(),r(C,f,B,s,o,s);break;case 35:C=o+g.shift(),Q=s+g.shift(),B=C+g.shift(),E=Q+g.shift(),o=B+g.shift(),s=E+g.shift(),r(C,Q,B,E,o,s),C=o+g.shift(),Q=s+g.shift(),B=C+g.shift(),E=Q+g.shift(),o=B+g.shift(),s=E+g.shift(),r(C,Q,B,E,o,s),g.pop();break;case 36:r(C=o+g.shift(),f=s+g.shift(),B=C+g.shift(),d=f+g.shift(),o=B+g.shift(),d),r(C=o+g.shift(),d,B=C+g.shift(),d+g.shift(),o=B+g.shift(),s);break;case 37:var b=o,D=s;C=o+g.shift(),Q=s+g.shift(),B=C+g.shift(),E=Q+g.shift(),o=B+g.shift(),s=E+g.shift(),r(C,Q,B,E,o,s),C=o+g.shift(),Q=s+g.shift(),B=C+g.shift(),E=Q+g.shift(),o=B,s=E,Math.abs(o-b)>Math.abs(s-D)?o+=g.shift():s+=g.shift(),r(C,Q,B,E,o,s);break;default:throw new vA("unknown operator: 12 ".concat(u))}break;case 14:if(g.length>=4){var F=g.pop(),S=g.pop();s=g.pop(),o=g.pop(),e.add(5),e.add(8,[o,s]);var R=nr(t.cmap,String.fromCharCode(t.glyphNameMap[An[F]]));gr(t.glyphs[R.glyphId],e,t,R.glyphId),e.add(4),R=nr(t.cmap,String.fromCharCode(t.glyphNameMap[An[S]])),gr(t.glyphs[R.glyphId],e,t,R.glyphId)}return;case 19:case 20:l+=(I+=g.length>>1)+7>>3,h=!0;break;case 21:s+=g.pop(),i(o+=g.pop(),s),h=!0;break;case 22:i(o+=g.pop(),s),h=!0;break;case 24:for(;g.length>2;)C=o+g.shift(),Q=s+g.shift(),B=C+g.shift(),E=Q+g.shift(),o=B+g.shift(),s=E+g.shift(),r(C,Q,B,E,o,s);o+=g.shift(),s+=g.shift(),n(o,s);break;case 25:for(;g.length>6;)o+=g.shift(),s+=g.shift(),n(o,s);C=o+g.shift(),Q=s+g.shift(),B=C+g.shift(),E=Q+g.shift(),o=B+g.shift(),s=E+g.shift(),r(C,Q,B,E,o,s);break;case 26:for(g.length%2&&(o+=g.shift());g.length>0;)C=o,Q=s+g.shift(),B=C+g.shift(),E=Q+g.shift(),o=B,s=E+g.shift(),r(C,Q,B,E,o,s);break;case 27:for(g.length%2&&(s+=g.shift());g.length>0;)r(C=o+g.shift(),Q=s,B=C+g.shift(),E=Q+g.shift(),o=B+g.shift(),s=E);break;case 28:g.push((c[l]<<24|c[l+1]<<16)>>16),l+=2;break;case 29:y=g.pop()+t.gsubrsBias,(p=t.gsubrs[y])&&A(p);break;case 30:for(;g.length>0&&(C=o,Q=s+g.shift(),B=C+g.shift(),E=Q+g.shift(),o=B+g.shift(),s=E+(1===g.length?g.shift():0),r(C,Q,B,E,o,s),0!==g.length);)C=o+g.shift(),Q=s,B=C+g.shift(),E=Q+g.shift(),s=E+g.shift(),r(C,Q,B,E,o=B+(1===g.length?g.shift():0),s);break;case 31:for(;g.length>0&&(C=o+g.shift(),Q=s,B=C+g.shift(),E=Q+g.shift(),s=E+g.shift(),r(C,Q,B,E,o=B+(1===g.length?g.shift():0),s),0!==g.length);)C=o,Q=s+g.shift(),B=C+g.shift(),E=Q+g.shift(),o=B+g.shift(),s=E+(1===g.length?g.shift():0),r(C,Q,B,E,o,s);break;default:if(u<32)throw new vA("unknown operator: ".concat(u));u<247?g.push(u-139):u<251?g.push(256*(u-247)+c[l++]+108):u<255?g.push(256*-(u-251)-c[l++]-108):(g.push((c[l]<<24|c[l+1]<<16|c[l+2]<<8|c[l+3])/65536),l+=4)}h&&(g.length=0)}}(A)}var or=[],sr=function(){return b((function A(){F(this,A),s(this,"cmds",[])}),[{key:"add",value:function(A,e){if(e)if(pe(e,null)){var t;(t=this.cmds).push.apply(t,[A].concat(I(e)))}else{var a;uA('Commands.add - "'.concat(A,'" has at least one non-number arg: "').concat(e,'".'));var i=e.map((function(A){return"number"==typeof A?A:0}));(a=this.cmds).push.apply(a,[A].concat(I(i)))}else this.cmds.push(A)}}])}(),Ir=function(){return b((function A(e){F(this,A),this.constructor===A&&CA("Cannot initialize CompiledFont."),this.fontMatrix=e,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}),[{key:"getPathJs",value:function(A){var e,t,a,i=nr(this.cmap,A),n=i.charCode,r=i.glyphId,g=this.compiledGlyphs[r];if(!g){try{g=this.compileGlyph(this.glyphs[r],r)}catch(A){g=or,a=A}this.compiledGlyphs[r]=g}if(null!==(t=(e=this.compiledCharCodeToGlyphId)[n])&&void 0!==t||(e[n]=r),a)throw a;return g}},{key:"compileGlyph",value:function(A,e){if(!A||0===A.length||14===A[0])return or;var t=this.fontMatrix;if(this.isCFFCIDFont){var a=this.fdSelect.getFDIndex(e);a>=0&&a<this.fdArray.length?t=this.fdArray[a].getByName("FontMatrix")||K:uA("Invalid fd index for glyph index.")}var i=new sr;return i.add(5),i.add(7,t.slice()),i.add(6),this.compileGlyphImpl(A,i,e),i.add(4),i.cmds}},{key:"compileGlyphImpl",value:function(){CA("Children classes should implement this.")}},{key:"hasBuiltPath",value:function(A){var e=nr(this.cmap,A),t=e.charCode,a=e.glyphId;return void 0!==this.compiledGlyphs[a]&&void 0!==this.compiledCharCodeToGlyphId[t]}}])}(),cr=function(A){function e(A,t,a){var i;return F(this,e),(i=S(this,e,[a||[488e-6,0,0,488e-6,0,0]])).glyphs=A,i.cmap=t,i}return x(e,A),b(e,[{key:"compileGlyphImpl",value:function(A,e){rr(A,e,this)}}])}(Ir),lr=function(A){function e(A,t,a,i){var n;return F(this,e),(n=S(this,e,[a||[.001,0,0,.001,0,0]])).glyphs=A.glyphs,n.gsubrs=A.gsubrs||[],n.subrs=A.subrs||[],n.cmap=t,n.glyphNameMap=i||vn(),n.gsubrsBias=tr(n.gsubrs),n.subrsBias=tr(n.subrs),n.isCFFCIDFont=A.isCFFCIDFont,n.fdSelect=A.fdSelect,n.fdArray=A.fdArray,n}return x(e,A),b(e,[{key:"compileGlyphImpl",value:function(A,e,t){gr(A,e,this,t)}}])}(Ir),hr=function(){return b((function A(){F(this,A)}),null,[{key:"create",value:function(A,e){for(var t,a,i,n,r,g,o=new Uint8Array(A.data),s=_n(o,4),I=0,c=12;I<s;I++,c+=16){var l=bA(o.subarray(c,c+4)),h=zn(o,c+8),u=zn(o,c+12);switch(l){case"cmap":t=ar(o,h);break;case"glyf":a=o.subarray(h,h+u);break;case"loca":i=o.subarray(h,h+u);break;case"head":g=_n(o,h+18),r=_n(o,h+50);break;case"CFF ":n=ir(o,h,h+u,e)}}if(a){var C=g?[1/g,0,0,1/g,0,0]:A.fontMatrix;return new cr(function(A,e,t){var a,i;t?(a=4,i=zn):(a=2,i=function(A,e){return 2*_n(A,e)});for(var n=[],r=i(e,0),g=a;g<e.length;g+=a){var o=i(e,g);n.push(A.subarray(r,o)),r=o}return n}(a,i,r),t,C)}return new lr(n,t,A.fontMatrix,A.glyphNameMap)}}])}(),ur=oe((function(A){A.Courier=600,A["Courier-Bold"]=600,A["Courier-BoldOblique"]=600,A["Courier-Oblique"]=600,A.Helvetica=oe((function(A){A.space=278,A.exclam=278,A.quotedbl=355,A.numbersign=556,A.dollar=556,A.percent=889,A.ampersand=667,A.quoteright=222,A.parenleft=333,A.parenright=333,A.asterisk=389,A.plus=584,A.comma=278,A.hyphen=333,A.period=278,A.slash=278,A.zero=556,A.one=556,A.two=556,A.three=556,A.four=556,A.five=556,A.six=556,A.seven=556,A.eight=556,A.nine=556,A.colon=278,A.semicolon=278,A.less=584,A.equal=584,A.greater=584,A.question=556,A.at=1015,A.A=667,A.B=667,A.C=722,A.D=722,A.E=667,A.F=611,A.G=778,A.H=722,A.I=278,A.J=500,A.K=667,A.L=556,A.M=833,A.N=722,A.O=778,A.P=667,A.Q=778,A.R=722,A.S=667,A.T=611,A.U=722,A.V=667,A.W=944,A.X=667,A.Y=667,A.Z=611,A.bracketleft=278,A.backslash=278,A.bracketright=278,A.asciicircum=469,A.underscore=556,A.quoteleft=222,A.a=556,A.b=556,A.c=500,A.d=556,A.e=556,A.f=278,A.g=556,A.h=556,A.i=222,A.j=222,A.k=500,A.l=222,A.m=833,A.n=556,A.o=556,A.p=556,A.q=556,A.r=333,A.s=500,A.t=278,A.u=556,A.v=500,A.w=722,A.x=500,A.y=500,A.z=500,A.braceleft=334,A.bar=260,A.braceright=334,A.asciitilde=584,A.exclamdown=333,A.cent=556,A.sterling=556,A.fraction=167,A.yen=556,A.florin=556,A.section=556,A.currency=556,A.quotesingle=191,A.quotedblleft=333,A.guillemotleft=556,A.guilsinglleft=333,A.guilsinglright=333,A.fi=500,A.fl=500,A.endash=556,A.dagger=556,A.daggerdbl=556,A.periodcentered=278,A.paragraph=537,A.bullet=350,A.quotesinglbase=222,A.quotedblbase=333,A.quotedblright=333,A.guillemotright=556,A.ellipsis=1e3,A.perthousand=1e3,A.questiondown=611,A.grave=333,A.acute=333,A.circumflex=333,A.tilde=333,A.macron=333,A.breve=333,A.dotaccent=333,A.dieresis=333,A.ring=333,A.cedilla=333,A.hungarumlaut=333,A.ogonek=333,A.caron=333,A.emdash=1e3,A.AE=1e3,A.ordfeminine=370,A.Lslash=556,A.Oslash=778,A.OE=1e3,A.ordmasculine=365,A.ae=889,A.dotlessi=278,A.lslash=222,A.oslash=611,A.oe=944,A.germandbls=611,A.Idieresis=278,A.eacute=556,A.abreve=556,A.uhungarumlaut=556,A.ecaron=556,A.Ydieresis=667,A.divide=584,A.Yacute=667,A.Acircumflex=667,A.aacute=556,A.Ucircumflex=722,A.yacute=500,A.scommaaccent=500,A.ecircumflex=556,A.Uring=722,A.Udieresis=722,A.aogonek=556,A.Uacute=722,A.uogonek=556,A.Edieresis=667,A.Dcroat=722,A.commaaccent=250,A.copyright=737,A.Emacron=667,A.ccaron=500,A.aring=556,A.Ncommaaccent=722,A.lacute=222,A.agrave=556,A.Tcommaaccent=611,A.Cacute=722,A.atilde=556,A.Edotaccent=667,A.scaron=500,A.scedilla=500,A.iacute=278,A.lozenge=471,A.Rcaron=722,A.Gcommaaccent=778,A.ucircumflex=556,A.acircumflex=556,A.Amacron=667,A.rcaron=333,A.ccedilla=500,A.Zdotaccent=611,A.Thorn=667,A.Omacron=778,A.Racute=722,A.Sacute=667,A.dcaron=643,A.Umacron=722,A.uring=556,A.threesuperior=333,A.Ograve=778,A.Agrave=667,A.Abreve=667,A.multiply=584,A.uacute=556,A.Tcaron=611,A.partialdiff=476,A.ydieresis=500,A.Nacute=722,A.icircumflex=278,A.Ecircumflex=667,A.adieresis=556,A.edieresis=556,A.cacute=500,A.nacute=556,A.umacron=556,A.Ncaron=722,A.Iacute=278,A.plusminus=584,A.brokenbar=260,A.registered=737,A.Gbreve=778,A.Idotaccent=278,A.summation=600,A.Egrave=667,A.racute=333,A.omacron=556,A.Zacute=611,A.Zcaron=611,A.greaterequal=549,A.Eth=722,A.Ccedilla=722,A.lcommaaccent=222,A.tcaron=317,A.eogonek=556,A.Uogonek=722,A.Aacute=667,A.Adieresis=667,A.egrave=556,A.zacute=500,A.iogonek=222,A.Oacute=778,A.oacute=556,A.amacron=556,A.sacute=500,A.idieresis=278,A.Ocircumflex=778,A.Ugrave=722,A.Delta=612,A.thorn=556,A.twosuperior=333,A.Odieresis=778,A.mu=556,A.igrave=278,A.ohungarumlaut=556,A.Eogonek=667,A.dcroat=556,A.threequarters=834,A.Scedilla=667,A.lcaron=299,A.Kcommaaccent=667,A.Lacute=556,A.trademark=1e3,A.edotaccent=556,A.Igrave=278,A.Imacron=278,A.Lcaron=556,A.onehalf=834,A.lessequal=549,A.ocircumflex=556,A.ntilde=556,A.Uhungarumlaut=722,A.Eacute=667,A.emacron=556,A.gbreve=556,A.onequarter=834,A.Scaron=667,A.Scommaaccent=667,A.Ohungarumlaut=778,A.degree=400,A.ograve=556,A.Ccaron=722,A.ugrave=556,A.radical=453,A.Dcaron=722,A.rcommaaccent=333,A.Ntilde=722,A.otilde=556,A.Rcommaaccent=722,A.Lcommaaccent=556,A.Atilde=667,A.Aogonek=667,A.Aring=667,A.Otilde=778,A.zdotaccent=500,A.Ecaron=667,A.Iogonek=278,A.kcommaaccent=500,A.minus=584,A.Icircumflex=278,A.ncaron=556,A.tcommaaccent=278,A.logicalnot=584,A.odieresis=556,A.udieresis=556,A.notequal=549,A.gcommaaccent=556,A.eth=556,A.zcaron=500,A.ncommaaccent=556,A.onesuperior=333,A.imacron=278,A.Euro=556})),A["Helvetica-Bold"]=oe((function(A){A.space=278,A.exclam=333,A.quotedbl=474,A.numbersign=556,A.dollar=556,A.percent=889,A.ampersand=722,A.quoteright=278,A.parenleft=333,A.parenright=333,A.asterisk=389,A.plus=584,A.comma=278,A.hyphen=333,A.period=278,A.slash=278,A.zero=556,A.one=556,A.two=556,A.three=556,A.four=556,A.five=556,A.six=556,A.seven=556,A.eight=556,A.nine=556,A.colon=333,A.semicolon=333,A.less=584,A.equal=584,A.greater=584,A.question=611,A.at=975,A.A=722,A.B=722,A.C=722,A.D=722,A.E=667,A.F=611,A.G=778,A.H=722,A.I=278,A.J=556,A.K=722,A.L=611,A.M=833,A.N=722,A.O=778,A.P=667,A.Q=778,A.R=722,A.S=667,A.T=611,A.U=722,A.V=667,A.W=944,A.X=667,A.Y=667,A.Z=611,A.bracketleft=333,A.backslash=278,A.bracketright=333,A.asciicircum=584,A.underscore=556,A.quoteleft=278,A.a=556,A.b=611,A.c=556,A.d=611,A.e=556,A.f=333,A.g=611,A.h=611,A.i=278,A.j=278,A.k=556,A.l=278,A.m=889,A.n=611,A.o=611,A.p=611,A.q=611,A.r=389,A.s=556,A.t=333,A.u=611,A.v=556,A.w=778,A.x=556,A.y=556,A.z=500,A.braceleft=389,A.bar=280,A.braceright=389,A.asciitilde=584,A.exclamdown=333,A.cent=556,A.sterling=556,A.fraction=167,A.yen=556,A.florin=556,A.section=556,A.currency=556,A.quotesingle=238,A.quotedblleft=500,A.guillemotleft=556,A.guilsinglleft=333,A.guilsinglright=333,A.fi=611,A.fl=611,A.endash=556,A.dagger=556,A.daggerdbl=556,A.periodcentered=278,A.paragraph=556,A.bullet=350,A.quotesinglbase=278,A.quotedblbase=500,A.quotedblright=500,A.guillemotright=556,A.ellipsis=1e3,A.perthousand=1e3,A.questiondown=611,A.grave=333,A.acute=333,A.circumflex=333,A.tilde=333,A.macron=333,A.breve=333,A.dotaccent=333,A.dieresis=333,A.ring=333,A.cedilla=333,A.hungarumlaut=333,A.ogonek=333,A.caron=333,A.emdash=1e3,A.AE=1e3,A.ordfeminine=370,A.Lslash=611,A.Oslash=778,A.OE=1e3,A.ordmasculine=365,A.ae=889,A.dotlessi=278,A.lslash=278,A.oslash=611,A.oe=944,A.germandbls=611,A.Idieresis=278,A.eacute=556,A.abreve=556,A.uhungarumlaut=611,A.ecaron=556,A.Ydieresis=667,A.divide=584,A.Yacute=667,A.Acircumflex=722,A.aacute=556,A.Ucircumflex=722,A.yacute=556,A.scommaaccent=556,A.ecircumflex=556,A.Uring=722,A.Udieresis=722,A.aogonek=556,A.Uacute=722,A.uogonek=611,A.Edieresis=667,A.Dcroat=722,A.commaaccent=250,A.copyright=737,A.Emacron=667,A.ccaron=556,A.aring=556,A.Ncommaaccent=722,A.lacute=278,A.agrave=556,A.Tcommaaccent=611,A.Cacute=722,A.atilde=556,A.Edotaccent=667,A.scaron=556,A.scedilla=556,A.iacute=278,A.lozenge=494,A.Rcaron=722,A.Gcommaaccent=778,A.ucircumflex=611,A.acircumflex=556,A.Amacron=722,A.rcaron=389,A.ccedilla=556,A.Zdotaccent=611,A.Thorn=667,A.Omacron=778,A.Racute=722,A.Sacute=667,A.dcaron=743,A.Umacron=722,A.uring=611,A.threesuperior=333,A.Ograve=778,A.Agrave=722,A.Abreve=722,A.multiply=584,A.uacute=611,A.Tcaron=611,A.partialdiff=494,A.ydieresis=556,A.Nacute=722,A.icircumflex=278,A.Ecircumflex=667,A.adieresis=556,A.edieresis=556,A.cacute=556,A.nacute=611,A.umacron=611,A.Ncaron=722,A.Iacute=278,A.plusminus=584,A.brokenbar=280,A.registered=737,A.Gbreve=778,A.Idotaccent=278,A.summation=600,A.Egrave=667,A.racute=389,A.omacron=611,A.Zacute=611,A.Zcaron=611,A.greaterequal=549,A.Eth=722,A.Ccedilla=722,A.lcommaaccent=278,A.tcaron=389,A.eogonek=556,A.Uogonek=722,A.Aacute=722,A.Adieresis=722,A.egrave=556,A.zacute=500,A.iogonek=278,A.Oacute=778,A.oacute=611,A.amacron=556,A.sacute=556,A.idieresis=278,A.Ocircumflex=778,A.Ugrave=722,A.Delta=612,A.thorn=611,A.twosuperior=333,A.Odieresis=778,A.mu=611,A.igrave=278,A.ohungarumlaut=611,A.Eogonek=667,A.dcroat=611,A.threequarters=834,A.Scedilla=667,A.lcaron=400,A.Kcommaaccent=722,A.Lacute=611,A.trademark=1e3,A.edotaccent=556,A.Igrave=278,A.Imacron=278,A.Lcaron=611,A.onehalf=834,A.lessequal=549,A.ocircumflex=611,A.ntilde=611,A.Uhungarumlaut=722,A.Eacute=667,A.emacron=556,A.gbreve=611,A.onequarter=834,A.Scaron=667,A.Scommaaccent=667,A.Ohungarumlaut=778,A.degree=400,A.ograve=611,A.Ccaron=722,A.ugrave=611,A.radical=549,A.Dcaron=722,A.rcommaaccent=389,A.Ntilde=722,A.otilde=611,A.Rcommaaccent=722,A.Lcommaaccent=611,A.Atilde=722,A.Aogonek=722,A.Aring=722,A.Otilde=778,A.zdotaccent=500,A.Ecaron=667,A.Iogonek=278,A.kcommaaccent=556,A.minus=584,A.Icircumflex=278,A.ncaron=611,A.tcommaaccent=333,A.logicalnot=584,A.odieresis=611,A.udieresis=611,A.notequal=549,A.gcommaaccent=611,A.eth=611,A.zcaron=500,A.ncommaaccent=611,A.onesuperior=333,A.imacron=278,A.Euro=556})),A["Helvetica-BoldOblique"]=oe((function(A){A.space=278,A.exclam=333,A.quotedbl=474,A.numbersign=556,A.dollar=556,A.percent=889,A.ampersand=722,A.quoteright=278,A.parenleft=333,A.parenright=333,A.asterisk=389,A.plus=584,A.comma=278,A.hyphen=333,A.period=278,A.slash=278,A.zero=556,A.one=556,A.two=556,A.three=556,A.four=556,A.five=556,A.six=556,A.seven=556,A.eight=556,A.nine=556,A.colon=333,A.semicolon=333,A.less=584,A.equal=584,A.greater=584,A.question=611,A.at=975,A.A=722,A.B=722,A.C=722,A.D=722,A.E=667,A.F=611,A.G=778,A.H=722,A.I=278,A.J=556,A.K=722,A.L=611,A.M=833,A.N=722,A.O=778,A.P=667,A.Q=778,A.R=722,A.S=667,A.T=611,A.U=722,A.V=667,A.W=944,A.X=667,A.Y=667,A.Z=611,A.bracketleft=333,A.backslash=278,A.bracketright=333,A.asciicircum=584,A.underscore=556,A.quoteleft=278,A.a=556,A.b=611,A.c=556,A.d=611,A.e=556,A.f=333,A.g=611,A.h=611,A.i=278,A.j=278,A.k=556,A.l=278,A.m=889,A.n=611,A.o=611,A.p=611,A.q=611,A.r=389,A.s=556,A.t=333,A.u=611,A.v=556,A.w=778,A.x=556,A.y=556,A.z=500,A.braceleft=389,A.bar=280,A.braceright=389,A.asciitilde=584,A.exclamdown=333,A.cent=556,A.sterling=556,A.fraction=167,A.yen=556,A.florin=556,A.section=556,A.currency=556,A.quotesingle=238,A.quotedblleft=500,A.guillemotleft=556,A.guilsinglleft=333,A.guilsinglright=333,A.fi=611,A.fl=611,A.endash=556,A.dagger=556,A.daggerdbl=556,A.periodcentered=278,A.paragraph=556,A.bullet=350,A.quotesinglbase=278,A.quotedblbase=500,A.quotedblright=500,A.guillemotright=556,A.ellipsis=1e3,A.perthousand=1e3,A.questiondown=611,A.grave=333,A.acute=333,A.circumflex=333,A.tilde=333,A.macron=333,A.breve=333,A.dotaccent=333,A.dieresis=333,A.ring=333,A.cedilla=333,A.hungarumlaut=333,A.ogonek=333,A.caron=333,A.emdash=1e3,A.AE=1e3,A.ordfeminine=370,A.Lslash=611,A.Oslash=778,A.OE=1e3,A.ordmasculine=365,A.ae=889,A.dotlessi=278,A.lslash=278,A.oslash=611,A.oe=944,A.germandbls=611,A.Idieresis=278,A.eacute=556,A.abreve=556,A.uhungarumlaut=611,A.ecaron=556,A.Ydieresis=667,A.divide=584,A.Yacute=667,A.Acircumflex=722,A.aacute=556,A.Ucircumflex=722,A.yacute=556,A.scommaaccent=556,A.ecircumflex=556,A.Uring=722,A.Udieresis=722,A.aogonek=556,A.Uacute=722,A.uogonek=611,A.Edieresis=667,A.Dcroat=722,A.commaaccent=250,A.copyright=737,A.Emacron=667,A.ccaron=556,A.aring=556,A.Ncommaaccent=722,A.lacute=278,A.agrave=556,A.Tcommaaccent=611,A.Cacute=722,A.atilde=556,A.Edotaccent=667,A.scaron=556,A.scedilla=556,A.iacute=278,A.lozenge=494,A.Rcaron=722,A.Gcommaaccent=778,A.ucircumflex=611,A.acircumflex=556,A.Amacron=722,A.rcaron=389,A.ccedilla=556,A.Zdotaccent=611,A.Thorn=667,A.Omacron=778,A.Racute=722,A.Sacute=667,A.dcaron=743,A.Umacron=722,A.uring=611,A.threesuperior=333,A.Ograve=778,A.Agrave=722,A.Abreve=722,A.multiply=584,A.uacute=611,A.Tcaron=611,A.partialdiff=494,A.ydieresis=556,A.Nacute=722,A.icircumflex=278,A.Ecircumflex=667,A.adieresis=556,A.edieresis=556,A.cacute=556,A.nacute=611,A.umacron=611,A.Ncaron=722,A.Iacute=278,A.plusminus=584,A.brokenbar=280,A.registered=737,A.Gbreve=778,A.Idotaccent=278,A.summation=600,A.Egrave=667,A.racute=389,A.omacron=611,A.Zacute=611,A.Zcaron=611,A.greaterequal=549,A.Eth=722,A.Ccedilla=722,A.lcommaaccent=278,A.tcaron=389,A.eogonek=556,A.Uogonek=722,A.Aacute=722,A.Adieresis=722,A.egrave=556,A.zacute=500,A.iogonek=278,A.Oacute=778,A.oacute=611,A.amacron=556,A.sacute=556,A.idieresis=278,A.Ocircumflex=778,A.Ugrave=722,A.Delta=612,A.thorn=611,A.twosuperior=333,A.Odieresis=778,A.mu=611,A.igrave=278,A.ohungarumlaut=611,A.Eogonek=667,A.dcroat=611,A.threequarters=834,A.Scedilla=667,A.lcaron=400,A.Kcommaaccent=722,A.Lacute=611,A.trademark=1e3,A.edotaccent=556,A.Igrave=278,A.Imacron=278,A.Lcaron=611,A.onehalf=834,A.lessequal=549,A.ocircumflex=611,A.ntilde=611,A.Uhungarumlaut=722,A.Eacute=667,A.emacron=556,A.gbreve=611,A.onequarter=834,A.Scaron=667,A.Scommaaccent=667,A.Ohungarumlaut=778,A.degree=400,A.ograve=611,A.Ccaron=722,A.ugrave=611,A.radical=549,A.Dcaron=722,A.rcommaaccent=389,A.Ntilde=722,A.otilde=611,A.Rcommaaccent=722,A.Lcommaaccent=611,A.Atilde=722,A.Aogonek=722,A.Aring=722,A.Otilde=778,A.zdotaccent=500,A.Ecaron=667,A.Iogonek=278,A.kcommaaccent=556,A.minus=584,A.Icircumflex=278,A.ncaron=611,A.tcommaaccent=333,A.logicalnot=584,A.odieresis=611,A.udieresis=611,A.notequal=549,A.gcommaaccent=611,A.eth=611,A.zcaron=500,A.ncommaaccent=611,A.onesuperior=333,A.imacron=278,A.Euro=556})),A["Helvetica-Oblique"]=oe((function(A){A.space=278,A.exclam=278,A.quotedbl=355,A.numbersign=556,A.dollar=556,A.percent=889,A.ampersand=667,A.quoteright=222,A.parenleft=333,A.parenright=333,A.asterisk=389,A.plus=584,A.comma=278,A.hyphen=333,A.period=278,A.slash=278,A.zero=556,A.one=556,A.two=556,A.three=556,A.four=556,A.five=556,A.six=556,A.seven=556,A.eight=556,A.nine=556,A.colon=278,A.semicolon=278,A.less=584,A.equal=584,A.greater=584,A.question=556,A.at=1015,A.A=667,A.B=667,A.C=722,A.D=722,A.E=667,A.F=611,A.G=778,A.H=722,A.I=278,A.J=500,A.K=667,A.L=556,A.M=833,A.N=722,A.O=778,A.P=667,A.Q=778,A.R=722,A.S=667,A.T=611,A.U=722,A.V=667,A.W=944,A.X=667,A.Y=667,A.Z=611,A.bracketleft=278,A.backslash=278,A.bracketright=278,A.asciicircum=469,A.underscore=556,A.quoteleft=222,A.a=556,A.b=556,A.c=500,A.d=556,A.e=556,A.f=278,A.g=556,A.h=556,A.i=222,A.j=222,A.k=500,A.l=222,A.m=833,A.n=556,A.o=556,A.p=556,A.q=556,A.r=333,A.s=500,A.t=278,A.u=556,A.v=500,A.w=722,A.x=500,A.y=500,A.z=500,A.braceleft=334,A.bar=260,A.braceright=334,A.asciitilde=584,A.exclamdown=333,A.cent=556,A.sterling=556,A.fraction=167,A.yen=556,A.florin=556,A.section=556,A.currency=556,A.quotesingle=191,A.quotedblleft=333,A.guillemotleft=556,A.guilsinglleft=333,A.guilsinglright=333,A.fi=500,A.fl=500,A.endash=556,A.dagger=556,A.daggerdbl=556,A.periodcentered=278,A.paragraph=537,A.bullet=350,A.quotesinglbase=222,A.quotedblbase=333,A.quotedblright=333,A.guillemotright=556,A.ellipsis=1e3,A.perthousand=1e3,A.questiondown=611,A.grave=333,A.acute=333,A.circumflex=333,A.tilde=333,A.macron=333,A.breve=333,A.dotaccent=333,A.dieresis=333,A.ring=333,A.cedilla=333,A.hungarumlaut=333,A.ogonek=333,A.caron=333,A.emdash=1e3,A.AE=1e3,A.ordfeminine=370,A.Lslash=556,A.Oslash=778,A.OE=1e3,A.ordmasculine=365,A.ae=889,A.dotlessi=278,A.lslash=222,A.oslash=611,A.oe=944,A.germandbls=611,A.Idieresis=278,A.eacute=556,A.abreve=556,A.uhungarumlaut=556,A.ecaron=556,A.Ydieresis=667,A.divide=584,A.Yacute=667,A.Acircumflex=667,A.aacute=556,A.Ucircumflex=722,A.yacute=500,A.scommaaccent=500,A.ecircumflex=556,A.Uring=722,A.Udieresis=722,A.aogonek=556,A.Uacute=722,A.uogonek=556,A.Edieresis=667,A.Dcroat=722,A.commaaccent=250,A.copyright=737,A.Emacron=667,A.ccaron=500,A.aring=556,A.Ncommaaccent=722,A.lacute=222,A.agrave=556,A.Tcommaaccent=611,A.Cacute=722,A.atilde=556,A.Edotaccent=667,A.scaron=500,A.scedilla=500,A.iacute=278,A.lozenge=471,A.Rcaron=722,A.Gcommaaccent=778,A.ucircumflex=556,A.acircumflex=556,A.Amacron=667,A.rcaron=333,A.ccedilla=500,A.Zdotaccent=611,A.Thorn=667,A.Omacron=778,A.Racute=722,A.Sacute=667,A.dcaron=643,A.Umacron=722,A.uring=556,A.threesuperior=333,A.Ograve=778,A.Agrave=667,A.Abreve=667,A.multiply=584,A.uacute=556,A.Tcaron=611,A.partialdiff=476,A.ydieresis=500,A.Nacute=722,A.icircumflex=278,A.Ecircumflex=667,A.adieresis=556,A.edieresis=556,A.cacute=500,A.nacute=556,A.umacron=556,A.Ncaron=722,A.Iacute=278,A.plusminus=584,A.brokenbar=260,A.registered=737,A.Gbreve=778,A.Idotaccent=278,A.summation=600,A.Egrave=667,A.racute=333,A.omacron=556,A.Zacute=611,A.Zcaron=611,A.greaterequal=549,A.Eth=722,A.Ccedilla=722,A.lcommaaccent=222,A.tcaron=317,A.eogonek=556,A.Uogonek=722,A.Aacute=667,A.Adieresis=667,A.egrave=556,A.zacute=500,A.iogonek=222,A.Oacute=778,A.oacute=556,A.amacron=556,A.sacute=500,A.idieresis=278,A.Ocircumflex=778,A.Ugrave=722,A.Delta=612,A.thorn=556,A.twosuperior=333,A.Odieresis=778,A.mu=556,A.igrave=278,A.ohungarumlaut=556,A.Eogonek=667,A.dcroat=556,A.threequarters=834,A.Scedilla=667,A.lcaron=299,A.Kcommaaccent=667,A.Lacute=556,A.trademark=1e3,A.edotaccent=556,A.Igrave=278,A.Imacron=278,A.Lcaron=556,A.onehalf=834,A.lessequal=549,A.ocircumflex=556,A.ntilde=556,A.Uhungarumlaut=722,A.Eacute=667,A.emacron=556,A.gbreve=556,A.onequarter=834,A.Scaron=667,A.Scommaaccent=667,A.Ohungarumlaut=778,A.degree=400,A.ograve=556,A.Ccaron=722,A.ugrave=556,A.radical=453,A.Dcaron=722,A.rcommaaccent=333,A.Ntilde=722,A.otilde=556,A.Rcommaaccent=722,A.Lcommaaccent=556,A.Atilde=667,A.Aogonek=667,A.Aring=667,A.Otilde=778,A.zdotaccent=500,A.Ecaron=667,A.Iogonek=278,A.kcommaaccent=500,A.minus=584,A.Icircumflex=278,A.ncaron=556,A.tcommaaccent=278,A.logicalnot=584,A.odieresis=556,A.udieresis=556,A.notequal=549,A.gcommaaccent=556,A.eth=556,A.zcaron=500,A.ncommaaccent=556,A.onesuperior=333,A.imacron=278,A.Euro=556})),A.Symbol=oe((function(A){A.space=250,A.exclam=333,A.universal=713,A.numbersign=500,A.existential=549,A.percent=833,A.ampersand=778,A.suchthat=439,A.parenleft=333,A.parenright=333,A.asteriskmath=500,A.plus=549,A.comma=250,A.minus=549,A.period=250,A.slash=278,A.zero=500,A.one=500,A.two=500,A.three=500,A.four=500,A.five=500,A.six=500,A.seven=500,A.eight=500,A.nine=500,A.colon=278,A.semicolon=278,A.less=549,A.equal=549,A.greater=549,A.question=444,A.congruent=549,A.Alpha=722,A.Beta=667,A.Chi=722,A.Delta=612,A.Epsilon=611,A.Phi=763,A.Gamma=603,A.Eta=722,A.Iota=333,A.theta1=631,A.Kappa=722,A.Lambda=686,A.Mu=889,A.Nu=722,A.Omicron=722,A.Pi=768,A.Theta=741,A.Rho=556,A.Sigma=592,A.Tau=611,A.Upsilon=690,A.sigma1=439,A.Omega=768,A.Xi=645,A.Psi=795,A.Zeta=611,A.bracketleft=333,A.therefore=863,A.bracketright=333,A.perpendicular=658,A.underscore=500,A.radicalex=500,A.alpha=631,A.beta=549,A.chi=549,A.delta=494,A.epsilon=439,A.phi=521,A.gamma=411,A.eta=603,A.iota=329,A.phi1=603,A.kappa=549,A.lambda=549,A.mu=576,A.nu=521,A.omicron=549,A.pi=549,A.theta=521,A.rho=549,A.sigma=603,A.tau=439,A.upsilon=576,A.omega1=713,A.omega=686,A.xi=493,A.psi=686,A.zeta=494,A.braceleft=480,A.bar=200,A.braceright=480,A.similar=549,A.Euro=750,A.Upsilon1=620,A.minute=247,A.lessequal=549,A.fraction=167,A.infinity=713,A.florin=500,A.club=753,A.diamond=753,A.heart=753,A.spade=753,A.arrowboth=1042,A.arrowleft=987,A.arrowup=603,A.arrowright=987,A.arrowdown=603,A.degree=400,A.plusminus=549,A.second=411,A.greaterequal=549,A.multiply=549,A.proportional=713,A.partialdiff=494,A.bullet=460,A.divide=549,A.notequal=549,A.equivalence=549,A.approxequal=549,A.ellipsis=1e3,A.arrowvertex=603,A.arrowhorizex=1e3,A.carriagereturn=658,A.aleph=823,A.Ifraktur=686,A.Rfraktur=795,A.weierstrass=987,A.circlemultiply=768,A.circleplus=768,A.emptyset=823,A.intersection=768,A.union=768,A.propersuperset=713,A.reflexsuperset=713,A.notsubset=713,A.propersubset=713,A.reflexsubset=713,A.element=713,A.notelement=713,A.angle=768,A.gradient=713,A.registerserif=790,A.copyrightserif=790,A.trademarkserif=890,A.product=823,A.radical=549,A.dotmath=250,A.logicalnot=713,A.logicaland=603,A.logicalor=603,A.arrowdblboth=1042,A.arrowdblleft=987,A.arrowdblup=603,A.arrowdblright=987,A.arrowdbldown=603,A.lozenge=494,A.angleleft=329,A.registersans=790,A.copyrightsans=790,A.trademarksans=786,A.summation=713,A.parenlefttp=384,A.parenleftex=384,A.parenleftbt=384,A.bracketlefttp=384,A.bracketleftex=384,A.bracketleftbt=384,A.bracelefttp=494,A.braceleftmid=494,A.braceleftbt=494,A.braceex=494,A.angleright=329,A.integral=274,A.integraltp=686,A.integralex=686,A.integralbt=686,A.parenrighttp=384,A.parenrightex=384,A.parenrightbt=384,A.bracketrighttp=384,A.bracketrightex=384,A.bracketrightbt=384,A.bracerighttp=494,A.bracerightmid=494,A.bracerightbt=494,A.apple=790})),A["Times-Roman"]=oe((function(A){A.space=250,A.exclam=333,A.quotedbl=408,A.numbersign=500,A.dollar=500,A.percent=833,A.ampersand=778,A.quoteright=333,A.parenleft=333,A.parenright=333,A.asterisk=500,A.plus=564,A.comma=250,A.hyphen=333,A.period=250,A.slash=278,A.zero=500,A.one=500,A.two=500,A.three=500,A.four=500,A.five=500,A.six=500,A.seven=500,A.eight=500,A.nine=500,A.colon=278,A.semicolon=278,A.less=564,A.equal=564,A.greater=564,A.question=444,A.at=921,A.A=722,A.B=667,A.C=667,A.D=722,A.E=611,A.F=556,A.G=722,A.H=722,A.I=333,A.J=389,A.K=722,A.L=611,A.M=889,A.N=722,A.O=722,A.P=556,A.Q=722,A.R=667,A.S=556,A.T=611,A.U=722,A.V=722,A.W=944,A.X=722,A.Y=722,A.Z=611,A.bracketleft=333,A.backslash=278,A.bracketright=333,A.asciicircum=469,A.underscore=500,A.quoteleft=333,A.a=444,A.b=500,A.c=444,A.d=500,A.e=444,A.f=333,A.g=500,A.h=500,A.i=278,A.j=278,A.k=500,A.l=278,A.m=778,A.n=500,A.o=500,A.p=500,A.q=500,A.r=333,A.s=389,A.t=278,A.u=500,A.v=500,A.w=722,A.x=500,A.y=500,A.z=444,A.braceleft=480,A.bar=200,A.braceright=480,A.asciitilde=541,A.exclamdown=333,A.cent=500,A.sterling=500,A.fraction=167,A.yen=500,A.florin=500,A.section=500,A.currency=500,A.quotesingle=180,A.quotedblleft=444,A.guillemotleft=500,A.guilsinglleft=333,A.guilsinglright=333,A.fi=556,A.fl=556,A.endash=500,A.dagger=500,A.daggerdbl=500,A.periodcentered=250,A.paragraph=453,A.bullet=350,A.quotesinglbase=333,A.quotedblbase=444,A.quotedblright=444,A.guillemotright=500,A.ellipsis=1e3,A.perthousand=1e3,A.questiondown=444,A.grave=333,A.acute=333,A.circumflex=333,A.tilde=333,A.macron=333,A.breve=333,A.dotaccent=333,A.dieresis=333,A.ring=333,A.cedilla=333,A.hungarumlaut=333,A.ogonek=333,A.caron=333,A.emdash=1e3,A.AE=889,A.ordfeminine=276,A.Lslash=611,A.Oslash=722,A.OE=889,A.ordmasculine=310,A.ae=667,A.dotlessi=278,A.lslash=278,A.oslash=500,A.oe=722,A.germandbls=500,A.Idieresis=333,A.eacute=444,A.abreve=444,A.uhungarumlaut=500,A.ecaron=444,A.Ydieresis=722,A.divide=564,A.Yacute=722,A.Acircumflex=722,A.aacute=444,A.Ucircumflex=722,A.yacute=500,A.scommaaccent=389,A.ecircumflex=444,A.Uring=722,A.Udieresis=722,A.aogonek=444,A.Uacute=722,A.uogonek=500,A.Edieresis=611,A.Dcroat=722,A.commaaccent=250,A.copyright=760,A.Emacron=611,A.ccaron=444,A.aring=444,A.Ncommaaccent=722,A.lacute=278,A.agrave=444,A.Tcommaaccent=611,A.Cacute=667,A.atilde=444,A.Edotaccent=611,A.scaron=389,A.scedilla=389,A.iacute=278,A.lozenge=471,A.Rcaron=667,A.Gcommaaccent=722,A.ucircumflex=500,A.acircumflex=444,A.Amacron=722,A.rcaron=333,A.ccedilla=444,A.Zdotaccent=611,A.Thorn=556,A.Omacron=722,A.Racute=667,A.Sacute=556,A.dcaron=588,A.Umacron=722,A.uring=500,A.threesuperior=300,A.Ograve=722,A.Agrave=722,A.Abreve=722,A.multiply=564,A.uacute=500,A.Tcaron=611,A.partialdiff=476,A.ydieresis=500,A.Nacute=722,A.icircumflex=278,A.Ecircumflex=611,A.adieresis=444,A.edieresis=444,A.cacute=444,A.nacute=500,A.umacron=500,A.Ncaron=722,A.Iacute=333,A.plusminus=564,A.brokenbar=200,A.registered=760,A.Gbreve=722,A.Idotaccent=333,A.summation=600,A.Egrave=611,A.racute=333,A.omacron=500,A.Zacute=611,A.Zcaron=611,A.greaterequal=549,A.Eth=722,A.Ccedilla=667,A.lcommaaccent=278,A.tcaron=326,A.eogonek=444,A.Uogonek=722,A.Aacute=722,A.Adieresis=722,A.egrave=444,A.zacute=444,A.iogonek=278,A.Oacute=722,A.oacute=500,A.amacron=444,A.sacute=389,A.idieresis=278,A.Ocircumflex=722,A.Ugrave=722,A.Delta=612,A.thorn=500,A.twosuperior=300,A.Odieresis=722,A.mu=500,A.igrave=278,A.ohungarumlaut=500,A.Eogonek=611,A.dcroat=500,A.threequarters=750,A.Scedilla=556,A.lcaron=344,A.Kcommaaccent=722,A.Lacute=611,A.trademark=980,A.edotaccent=444,A.Igrave=333,A.Imacron=333,A.Lcaron=611,A.onehalf=750,A.lessequal=549,A.ocircumflex=500,A.ntilde=500,A.Uhungarumlaut=722,A.Eacute=611,A.emacron=444,A.gbreve=500,A.onequarter=750,A.Scaron=556,A.Scommaaccent=556,A.Ohungarumlaut=722,A.degree=400,A.ograve=500,A.Ccaron=667,A.ugrave=500,A.radical=453,A.Dcaron=722,A.rcommaaccent=333,A.Ntilde=722,A.otilde=500,A.Rcommaaccent=667,A.Lcommaaccent=611,A.Atilde=722,A.Aogonek=722,A.Aring=722,A.Otilde=722,A.zdotaccent=444,A.Ecaron=611,A.Iogonek=333,A.kcommaaccent=500,A.minus=564,A.Icircumflex=333,A.ncaron=500,A.tcommaaccent=278,A.logicalnot=564,A.odieresis=500,A.udieresis=500,A.notequal=549,A.gcommaaccent=500,A.eth=500,A.zcaron=444,A.ncommaaccent=500,A.onesuperior=300,A.imacron=278,A.Euro=500})),A["Times-Bold"]=oe((function(A){A.space=250,A.exclam=333,A.quotedbl=555,A.numbersign=500,A.dollar=500,A.percent=1e3,A.ampersand=833,A.quoteright=333,A.parenleft=333,A.parenright=333,A.asterisk=500,A.plus=570,A.comma=250,A.hyphen=333,A.period=250,A.slash=278,A.zero=500,A.one=500,A.two=500,A.three=500,A.four=500,A.five=500,A.six=500,A.seven=500,A.eight=500,A.nine=500,A.colon=333,A.semicolon=333,A.less=570,A.equal=570,A.greater=570,A.question=500,A.at=930,A.A=722,A.B=667,A.C=722,A.D=722,A.E=667,A.F=611,A.G=778,A.H=778,A.I=389,A.J=500,A.K=778,A.L=667,A.M=944,A.N=722,A.O=778,A.P=611,A.Q=778,A.R=722,A.S=556,A.T=667,A.U=722,A.V=722,A.W=1e3,A.X=722,A.Y=722,A.Z=667,A.bracketleft=333,A.backslash=278,A.bracketright=333,A.asciicircum=581,A.underscore=500,A.quoteleft=333,A.a=500,A.b=556,A.c=444,A.d=556,A.e=444,A.f=333,A.g=500,A.h=556,A.i=278,A.j=333,A.k=556,A.l=278,A.m=833,A.n=556,A.o=500,A.p=556,A.q=556,A.r=444,A.s=389,A.t=333,A.u=556,A.v=500,A.w=722,A.x=500,A.y=500,A.z=444,A.braceleft=394,A.bar=220,A.braceright=394,A.asciitilde=520,A.exclamdown=333,A.cent=500,A.sterling=500,A.fraction=167,A.yen=500,A.florin=500,A.section=500,A.currency=500,A.quotesingle=278,A.quotedblleft=500,A.guillemotleft=500,A.guilsinglleft=333,A.guilsinglright=333,A.fi=556,A.fl=556,A.endash=500,A.dagger=500,A.daggerdbl=500,A.periodcentered=250,A.paragraph=540,A.bullet=350,A.quotesinglbase=333,A.quotedblbase=500,A.quotedblright=500,A.guillemotright=500,A.ellipsis=1e3,A.perthousand=1e3,A.questiondown=500,A.grave=333,A.acute=333,A.circumflex=333,A.tilde=333,A.macron=333,A.breve=333,A.dotaccent=333,A.dieresis=333,A.ring=333,A.cedilla=333,A.hungarumlaut=333,A.ogonek=333,A.caron=333,A.emdash=1e3,A.AE=1e3,A.ordfeminine=300,A.Lslash=667,A.Oslash=778,A.OE=1e3,A.ordmasculine=330,A.ae=722,A.dotlessi=278,A.lslash=278,A.oslash=500,A.oe=722,A.germandbls=556,A.Idieresis=389,A.eacute=444,A.abreve=500,A.uhungarumlaut=556,A.ecaron=444,A.Ydieresis=722,A.divide=570,A.Yacute=722,A.Acircumflex=722,A.aacute=500,A.Ucircumflex=722,A.yacute=500,A.scommaaccent=389,A.ecircumflex=444,A.Uring=722,A.Udieresis=722,A.aogonek=500,A.Uacute=722,A.uogonek=556,A.Edieresis=667,A.Dcroat=722,A.commaaccent=250,A.copyright=747,A.Emacron=667,A.ccaron=444,A.aring=500,A.Ncommaaccent=722,A.lacute=278,A.agrave=500,A.Tcommaaccent=667,A.Cacute=722,A.atilde=500,A.Edotaccent=667,A.scaron=389,A.scedilla=389,A.iacute=278,A.lozenge=494,A.Rcaron=722,A.Gcommaaccent=778,A.ucircumflex=556,A.acircumflex=500,A.Amacron=722,A.rcaron=444,A.ccedilla=444,A.Zdotaccent=667,A.Thorn=611,A.Omacron=778,A.Racute=722,A.Sacute=556,A.dcaron=672,A.Umacron=722,A.uring=556,A.threesuperior=300,A.Ograve=778,A.Agrave=722,A.Abreve=722,A.multiply=570,A.uacute=556,A.Tcaron=667,A.partialdiff=494,A.ydieresis=500,A.Nacute=722,A.icircumflex=278,A.Ecircumflex=667,A.adieresis=500,A.edieresis=444,A.cacute=444,A.nacute=556,A.umacron=556,A.Ncaron=722,A.Iacute=389,A.plusminus=570,A.brokenbar=220,A.registered=747,A.Gbreve=778,A.Idotaccent=389,A.summation=600,A.Egrave=667,A.racute=444,A.omacron=500,A.Zacute=667,A.Zcaron=667,A.greaterequal=549,A.Eth=722,A.Ccedilla=722,A.lcommaaccent=278,A.tcaron=416,A.eogonek=444,A.Uogonek=722,A.Aacute=722,A.Adieresis=722,A.egrave=444,A.zacute=444,A.iogonek=278,A.Oacute=778,A.oacute=500,A.amacron=500,A.sacute=389,A.idieresis=278,A.Ocircumflex=778,A.Ugrave=722,A.Delta=612,A.thorn=556,A.twosuperior=300,A.Odieresis=778,A.mu=556,A.igrave=278,A.ohungarumlaut=500,A.Eogonek=667,A.dcroat=556,A.threequarters=750,A.Scedilla=556,A.lcaron=394,A.Kcommaaccent=778,A.Lacute=667,A.trademark=1e3,A.edotaccent=444,A.Igrave=389,A.Imacron=389,A.Lcaron=667,A.onehalf=750,A.lessequal=549,A.ocircumflex=500,A.ntilde=556,A.Uhungarumlaut=722,A.Eacute=667,A.emacron=444,A.gbreve=500,A.onequarter=750,A.Scaron=556,A.Scommaaccent=556,A.Ohungarumlaut=778,A.degree=400,A.ograve=500,A.Ccaron=722,A.ugrave=556,A.radical=549,A.Dcaron=722,A.rcommaaccent=444,A.Ntilde=722,A.otilde=500,A.Rcommaaccent=722,A.Lcommaaccent=667,A.Atilde=722,A.Aogonek=722,A.Aring=722,A.Otilde=778,A.zdotaccent=444,A.Ecaron=667,A.Iogonek=389,A.kcommaaccent=556,A.minus=570,A.Icircumflex=389,A.ncaron=556,A.tcommaaccent=333,A.logicalnot=570,A.odieresis=500,A.udieresis=556,A.notequal=549,A.gcommaaccent=500,A.eth=500,A.zcaron=444,A.ncommaaccent=556,A.onesuperior=300,A.imacron=278,A.Euro=500})),A["Times-BoldItalic"]=oe((function(A){A.space=250,A.exclam=389,A.quotedbl=555,A.numbersign=500,A.dollar=500,A.percent=833,A.ampersand=778,A.quoteright=333,A.parenleft=333,A.parenright=333,A.asterisk=500,A.plus=570,A.comma=250,A.hyphen=333,A.period=250,A.slash=278,A.zero=500,A.one=500,A.two=500,A.three=500,A.four=500,A.five=500,A.six=500,A.seven=500,A.eight=500,A.nine=500,A.colon=333,A.semicolon=333,A.less=570,A.equal=570,A.greater=570,A.question=500,A.at=832,A.A=667,A.B=667,A.C=667,A.D=722,A.E=667,A.F=667,A.G=722,A.H=778,A.I=389,A.J=500,A.K=667,A.L=611,A.M=889,A.N=722,A.O=722,A.P=611,A.Q=722,A.R=667,A.S=556,A.T=611,A.U=722,A.V=667,A.W=889,A.X=667,A.Y=611,A.Z=611,A.bracketleft=333,A.backslash=278,A.bracketright=333,A.asciicircum=570,A.underscore=500,A.quoteleft=333,A.a=500,A.b=500,A.c=444,A.d=500,A.e=444,A.f=333,A.g=500,A.h=556,A.i=278,A.j=278,A.k=500,A.l=278,A.m=778,A.n=556,A.o=500,A.p=500,A.q=500,A.r=389,A.s=389,A.t=278,A.u=556,A.v=444,A.w=667,A.x=500,A.y=444,A.z=389,A.braceleft=348,A.bar=220,A.braceright=348,A.asciitilde=570,A.exclamdown=389,A.cent=500,A.sterling=500,A.fraction=167,A.yen=500,A.florin=500,A.section=500,A.currency=500,A.quotesingle=278,A.quotedblleft=500,A.guillemotleft=500,A.guilsinglleft=333,A.guilsinglright=333,A.fi=556,A.fl=556,A.endash=500,A.dagger=500,A.daggerdbl=500,A.periodcentered=250,A.paragraph=500,A.bullet=350,A.quotesinglbase=333,A.quotedblbase=500,A.quotedblright=500,A.guillemotright=500,A.ellipsis=1e3,A.perthousand=1e3,A.questiondown=500,A.grave=333,A.acute=333,A.circumflex=333,A.tilde=333,A.macron=333,A.breve=333,A.dotaccent=333,A.dieresis=333,A.ring=333,A.cedilla=333,A.hungarumlaut=333,A.ogonek=333,A.caron=333,A.emdash=1e3,A.AE=944,A.ordfeminine=266,A.Lslash=611,A.Oslash=722,A.OE=944,A.ordmasculine=300,A.ae=722,A.dotlessi=278,A.lslash=278,A.oslash=500,A.oe=722,A.germandbls=500,A.Idieresis=389,A.eacute=444,A.abreve=500,A.uhungarumlaut=556,A.ecaron=444,A.Ydieresis=611,A.divide=570,A.Yacute=611,A.Acircumflex=667,A.aacute=500,A.Ucircumflex=722,A.yacute=444,A.scommaaccent=389,A.ecircumflex=444,A.Uring=722,A.Udieresis=722,A.aogonek=500,A.Uacute=722,A.uogonek=556,A.Edieresis=667,A.Dcroat=722,A.commaaccent=250,A.copyright=747,A.Emacron=667,A.ccaron=444,A.aring=500,A.Ncommaaccent=722,A.lacute=278,A.agrave=500,A.Tcommaaccent=611,A.Cacute=667,A.atilde=500,A.Edotaccent=667,A.scaron=389,A.scedilla=389,A.iacute=278,A.lozenge=494,A.Rcaron=667,A.Gcommaaccent=722,A.ucircumflex=556,A.acircumflex=500,A.Amacron=667,A.rcaron=389,A.ccedilla=444,A.Zdotaccent=611,A.Thorn=611,A.Omacron=722,A.Racute=667,A.Sacute=556,A.dcaron=608,A.Umacron=722,A.uring=556,A.threesuperior=300,A.Ograve=722,A.Agrave=667,A.Abreve=667,A.multiply=570,A.uacute=556,A.Tcaron=611,A.partialdiff=494,A.ydieresis=444,A.Nacute=722,A.icircumflex=278,A.Ecircumflex=667,A.adieresis=500,A.edieresis=444,A.cacute=444,A.nacute=556,A.umacron=556,A.Ncaron=722,A.Iacute=389,A.plusminus=570,A.brokenbar=220,A.registered=747,A.Gbreve=722,A.Idotaccent=389,A.summation=600,A.Egrave=667,A.racute=389,A.omacron=500,A.Zacute=611,A.Zcaron=611,A.greaterequal=549,A.Eth=722,A.Ccedilla=667,A.lcommaaccent=278,A.tcaron=366,A.eogonek=444,A.Uogonek=722,A.Aacute=667,A.Adieresis=667,A.egrave=444,A.zacute=389,A.iogonek=278,A.Oacute=722,A.oacute=500,A.amacron=500,A.sacute=389,A.idieresis=278,A.Ocircumflex=722,A.Ugrave=722,A.Delta=612,A.thorn=500,A.twosuperior=300,A.Odieresis=722,A.mu=576,A.igrave=278,A.ohungarumlaut=500,A.Eogonek=667,A.dcroat=500,A.threequarters=750,A.Scedilla=556,A.lcaron=382,A.Kcommaaccent=667,A.Lacute=611,A.trademark=1e3,A.edotaccent=444,A.Igrave=389,A.Imacron=389,A.Lcaron=611,A.onehalf=750,A.lessequal=549,A.ocircumflex=500,A.ntilde=556,A.Uhungarumlaut=722,A.Eacute=667,A.emacron=444,A.gbreve=500,A.onequarter=750,A.Scaron=556,A.Scommaaccent=556,A.Ohungarumlaut=722,A.degree=400,A.ograve=500,A.Ccaron=667,A.ugrave=556,A.radical=549,A.Dcaron=722,A.rcommaaccent=389,A.Ntilde=722,A.otilde=500,A.Rcommaaccent=667,A.Lcommaaccent=611,A.Atilde=667,A.Aogonek=667,A.Aring=667,A.Otilde=722,A.zdotaccent=389,A.Ecaron=667,A.Iogonek=389,A.kcommaaccent=500,A.minus=606,A.Icircumflex=389,A.ncaron=556,A.tcommaaccent=278,A.logicalnot=606,A.odieresis=500,A.udieresis=556,A.notequal=549,A.gcommaaccent=500,A.eth=500,A.zcaron=389,A.ncommaaccent=556,A.onesuperior=300,A.imacron=278,A.Euro=500})),A["Times-Italic"]=oe((function(A){A.space=250,A.exclam=333,A.quotedbl=420,A.numbersign=500,A.dollar=500,A.percent=833,A.ampersand=778,A.quoteright=333,A.parenleft=333,A.parenright=333,A.asterisk=500,A.plus=675,A.comma=250,A.hyphen=333,A.period=250,A.slash=278,A.zero=500,A.one=500,A.two=500,A.three=500,A.four=500,A.five=500,A.six=500,A.seven=500,A.eight=500,A.nine=500,A.colon=333,A.semicolon=333,A.less=675,A.equal=675,A.greater=675,A.question=500,A.at=920,A.A=611,A.B=611,A.C=667,A.D=722,A.E=611,A.F=611,A.G=722,A.H=722,A.I=333,A.J=444,A.K=667,A.L=556,A.M=833,A.N=667,A.O=722,A.P=611,A.Q=722,A.R=611,A.S=500,A.T=556,A.U=722,A.V=611,A.W=833,A.X=611,A.Y=556,A.Z=556,A.bracketleft=389,A.backslash=278,A.bracketright=389,A.asciicircum=422,A.underscore=500,A.quoteleft=333,A.a=500,A.b=500,A.c=444,A.d=500,A.e=444,A.f=278,A.g=500,A.h=500,A.i=278,A.j=278,A.k=444,A.l=278,A.m=722,A.n=500,A.o=500,A.p=500,A.q=500,A.r=389,A.s=389,A.t=278,A.u=500,A.v=444,A.w=667,A.x=444,A.y=444,A.z=389,A.braceleft=400,A.bar=275,A.braceright=400,A.asciitilde=541,A.exclamdown=389,A.cent=500,A.sterling=500,A.fraction=167,A.yen=500,A.florin=500,A.section=500,A.currency=500,A.quotesingle=214,A.quotedblleft=556,A.guillemotleft=500,A.guilsinglleft=333,A.guilsinglright=333,A.fi=500,A.fl=500,A.endash=500,A.dagger=500,A.daggerdbl=500,A.periodcentered=250,A.paragraph=523,A.bullet=350,A.quotesinglbase=333,A.quotedblbase=556,A.quotedblright=556,A.guillemotright=500,A.ellipsis=889,A.perthousand=1e3,A.questiondown=500,A.grave=333,A.acute=333,A.circumflex=333,A.tilde=333,A.macron=333,A.breve=333,A.dotaccent=333,A.dieresis=333,A.ring=333,A.cedilla=333,A.hungarumlaut=333,A.ogonek=333,A.caron=333,A.emdash=889,A.AE=889,A.ordfeminine=276,A.Lslash=556,A.Oslash=722,A.OE=944,A.ordmasculine=310,A.ae=667,A.dotlessi=278,A.lslash=278,A.oslash=500,A.oe=667,A.germandbls=500,A.Idieresis=333,A.eacute=444,A.abreve=500,A.uhungarumlaut=500,A.ecaron=444,A.Ydieresis=556,A.divide=675,A.Yacute=556,A.Acircumflex=611,A.aacute=500,A.Ucircumflex=722,A.yacute=444,A.scommaaccent=389,A.ecircumflex=444,A.Uring=722,A.Udieresis=722,A.aogonek=500,A.Uacute=722,A.uogonek=500,A.Edieresis=611,A.Dcroat=722,A.commaaccent=250,A.copyright=760,A.Emacron=611,A.ccaron=444,A.aring=500,A.Ncommaaccent=667,A.lacute=278,A.agrave=500,A.Tcommaaccent=556,A.Cacute=667,A.atilde=500,A.Edotaccent=611,A.scaron=389,A.scedilla=389,A.iacute=278,A.lozenge=471,A.Rcaron=611,A.Gcommaaccent=722,A.ucircumflex=500,A.acircumflex=500,A.Amacron=611,A.rcaron=389,A.ccedilla=444,A.Zdotaccent=556,A.Thorn=611,A.Omacron=722,A.Racute=611,A.Sacute=500,A.dcaron=544,A.Umacron=722,A.uring=500,A.threesuperior=300,A.Ograve=722,A.Agrave=611,A.Abreve=611,A.multiply=675,A.uacute=500,A.Tcaron=556,A.partialdiff=476,A.ydieresis=444,A.Nacute=667,A.icircumflex=278,A.Ecircumflex=611,A.adieresis=500,A.edieresis=444,A.cacute=444,A.nacute=500,A.umacron=500,A.Ncaron=667,A.Iacute=333,A.plusminus=675,A.brokenbar=275,A.registered=760,A.Gbreve=722,A.Idotaccent=333,A.summation=600,A.Egrave=611,A.racute=389,A.omacron=500,A.Zacute=556,A.Zcaron=556,A.greaterequal=549,A.Eth=722,A.Ccedilla=667,A.lcommaaccent=278,A.tcaron=300,A.eogonek=444,A.Uogonek=722,A.Aacute=611,A.Adieresis=611,A.egrave=444,A.zacute=389,A.iogonek=278,A.Oacute=722,A.oacute=500,A.amacron=500,A.sacute=389,A.idieresis=278,A.Ocircumflex=722,A.Ugrave=722,A.Delta=612,A.thorn=500,A.twosuperior=300,A.Odieresis=722,A.mu=500,A.igrave=278,A.ohungarumlaut=500,A.Eogonek=611,A.dcroat=500,A.threequarters=750,A.Scedilla=500,A.lcaron=300,A.Kcommaaccent=667,A.Lacute=556,A.trademark=980,A.edotaccent=444,A.Igrave=333,A.Imacron=333,A.Lcaron=611,A.onehalf=750,A.lessequal=549,A.ocircumflex=500,A.ntilde=500,A.Uhungarumlaut=722,A.Eacute=611,A.emacron=444,A.gbreve=500,A.onequarter=750,A.Scaron=500,A.Scommaaccent=500,A.Ohungarumlaut=722,A.degree=400,A.ograve=500,A.Ccaron=667,A.ugrave=500,A.radical=453,A.Dcaron=722,A.rcommaaccent=389,A.Ntilde=667,A.otilde=500,A.Rcommaaccent=611,A.Lcommaaccent=556,A.Atilde=611,A.Aogonek=611,A.Aring=611,A.Otilde=722,A.zdotaccent=389,A.Ecaron=611,A.Iogonek=333,A.kcommaaccent=444,A.minus=675,A.Icircumflex=333,A.ncaron=500,A.tcommaaccent=278,A.logicalnot=675,A.odieresis=500,A.udieresis=500,A.notequal=549,A.gcommaaccent=500,A.eth=500,A.zcaron=389,A.ncommaaccent=500,A.onesuperior=300,A.imacron=278,A.Euro=500})),A.ZapfDingbats=oe((function(A){A.space=278,A.a1=974,A.a2=961,A.a202=974,A.a3=980,A.a4=719,A.a5=789,A.a119=790,A.a118=791,A.a117=690,A.a11=960,A.a12=939,A.a13=549,A.a14=855,A.a15=911,A.a16=933,A.a105=911,A.a17=945,A.a18=974,A.a19=755,A.a20=846,A.a21=762,A.a22=761,A.a23=571,A.a24=677,A.a25=763,A.a26=760,A.a27=759,A.a28=754,A.a6=494,A.a7=552,A.a8=537,A.a9=577,A.a10=692,A.a29=786,A.a30=788,A.a31=788,A.a32=790,A.a33=793,A.a34=794,A.a35=816,A.a36=823,A.a37=789,A.a38=841,A.a39=823,A.a40=833,A.a41=816,A.a42=831,A.a43=923,A.a44=744,A.a45=723,A.a46=749,A.a47=790,A.a48=792,A.a49=695,A.a50=776,A.a51=768,A.a52=792,A.a53=759,A.a54=707,A.a55=708,A.a56=682,A.a57=701,A.a58=826,A.a59=815,A.a60=789,A.a61=789,A.a62=707,A.a63=687,A.a64=696,A.a65=689,A.a66=786,A.a67=787,A.a68=713,A.a69=791,A.a70=785,A.a71=791,A.a72=873,A.a73=761,A.a74=762,A.a203=762,A.a75=759,A.a204=759,A.a76=892,A.a77=892,A.a78=788,A.a79=784,A.a81=438,A.a82=138,A.a83=277,A.a84=415,A.a97=392,A.a98=392,A.a99=668,A.a100=668,A.a89=390,A.a90=390,A.a93=317,A.a94=317,A.a91=276,A.a92=276,A.a205=509,A.a85=509,A.a206=410,A.a86=410,A.a87=234,A.a88=234,A.a95=334,A.a96=334,A.a101=732,A.a102=544,A.a103=544,A.a104=910,A.a106=667,A.a107=760,A.a108=760,A.a112=776,A.a111=595,A.a110=694,A.a109=626,A.a120=788,A.a121=788,A.a122=788,A.a123=788,A.a124=788,A.a125=788,A.a126=788,A.a127=788,A.a128=788,A.a129=788,A.a130=788,A.a131=788,A.a132=788,A.a133=788,A.a134=788,A.a135=788,A.a136=788,A.a137=788,A.a138=788,A.a139=788,A.a140=788,A.a141=788,A.a142=788,A.a143=788,A.a144=788,A.a145=788,A.a146=788,A.a147=788,A.a148=788,A.a149=788,A.a150=788,A.a151=788,A.a152=788,A.a153=788,A.a154=788,A.a155=788,A.a156=788,A.a157=788,A.a158=788,A.a159=788,A.a160=894,A.a161=838,A.a163=1016,A.a164=458,A.a196=748,A.a165=924,A.a192=748,A.a166=918,A.a167=927,A.a168=928,A.a169=928,A.a170=834,A.a171=873,A.a172=828,A.a173=924,A.a162=924,A.a174=917,A.a175=930,A.a176=931,A.a177=463,A.a178=883,A.a179=836,A.a193=836,A.a180=867,A.a199=867,A.a181=696,A.a200=696,A.a182=874,A.a201=874,A.a183=760,A.a184=946,A.a197=771,A.a185=865,A.a194=771,A.a198=888,A.a186=967,A.a195=888,A.a187=831,A.a188=873,A.a189=927,A.a190=970,A.a191=918}))})),Cr=oe((function(A){A.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},A["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},A["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},A["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},A.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},A["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},A["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},A["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},A["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},A["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},A["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},A["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},A.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},A.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}})),Br=function(){return b((function A(e){var t=e.glyfTable,a=e.isGlyphLocationsLong,i=e.locaTable,n=e.numGlyphs;F(this,A),this.glyphs=[];for(var r=new DataView(i.buffer,i.byteOffset,i.byteLength),g=new DataView(t.buffer,t.byteOffset,t.byteLength),o=a?4:2,s=a?r.getUint32(0):2*r.getUint16(0),I=0,c=0;c<n;c++){I+=o;var l=a?r.getUint32(I):2*r.getUint16(I);if(l!==s){var h=Qr.parse(s,g);this.glyphs.push(h),s=l}else this.glyphs.push(new Qr({}))}}),[{key:"getSize",value:function(){return this.glyphs.reduce((function(A,e){return A+(e.getSize()+3&-4)}),0)}},{key:"write",value:function(){var A=this.getSize(),e=new DataView(new ArrayBuffer(A)),t=A>131070,a=t?4:2,i=new DataView(new ArrayBuffer((this.glyphs.length+1)*a));t?i.setUint32(0,0):i.setUint16(0,0);var n,r=0,g=0,o=m(this.glyphs);try{for(o.s();!(n=o.n()).done;)r=(r+=n.value.write(r,e))+3&-4,g+=a,t?i.setUint32(g,r):i.setUint16(g,r>>1)}catch(A){o.e(A)}finally{o.f()}return{isLocationLong:t,loca:new Uint8Array(i.buffer),glyf:new Uint8Array(e.buffer)}}},{key:"scale",value:function(A){for(var e=0,t=this.glyphs.length;e<t;e++)this.glyphs[e].scale(A[e])}}])}(),Qr=function(){function A(e){var t=e.header,a=void 0===t?null:t,i=e.simple,n=void 0===i?null:i,r=e.composites,g=void 0===r?null:r;F(this,A),this.header=a,this.simple=n,this.composites=g}return b(A,[{key:"getSize",value:function(){if(!this.header)return 0;var A=this.simple?this.simple.getSize():this.composites.reduce((function(A,e){return A+e.getSize()}),0);return this.header.getSize()+A}},{key:"write",value:function(A,e){if(!this.header)return 0;var t=A;if(A+=this.header.write(A,e),this.simple)A+=this.simple.write(A,e);else{var a,i=m(this.composites);try{for(i.s();!(a=i.n()).done;)A+=a.value.write(A,e)}catch(A){i.e(A)}finally{i.f()}}return A-t}},{key:"scale",value:function(A){if(this.header){var e=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(e,A),this.simple)this.simple.scale(e,A);else{var t,a=m(this.composites);try{for(a.s();!(t=a.n()).done;)t.value.scale(e,A)}catch(A){a.e(A)}finally{a.f()}}}}}],[{key:"parse",value:function(e,t){var a=d(Er.parse(e,t),2),i=a[0],n=a[1];if(e+=i,n.numberOfContours<0){for(var r=[];;){var g=d(yr.parse(e,t),2),o=g[0],s=g[1];if(e+=o,r.push(s),!(32&s.flags))break}return new A({header:n,composites:r})}return new A({header:n,simple:dr.parse(e,t,n.numberOfContours)})}}])}(),Er=function(){function A(e){var t=e.numberOfContours,a=e.xMin,i=e.yMin,n=e.xMax,r=e.yMax;F(this,A),this.numberOfContours=t,this.xMin=a,this.yMin=i,this.xMax=n,this.yMax=r}return b(A,[{key:"getSize",value:function(){return 10}},{key:"write",value:function(A,e){return e.setInt16(A,this.numberOfContours),e.setInt16(A+2,this.xMin),e.setInt16(A+4,this.yMin),e.setInt16(A+6,this.xMax),e.setInt16(A+8,this.yMax),10}},{key:"scale",value:function(A,e){this.xMin=Math.round(A+(this.xMin-A)*e),this.xMax=Math.round(A+(this.xMax-A)*e)}}],[{key:"parse",value:function(e,t){return[10,new A({numberOfContours:t.getInt16(e),xMin:t.getInt16(e+2),yMin:t.getInt16(e+4),xMax:t.getInt16(e+6),yMax:t.getInt16(e+8)})]}}])}(),fr=b((function A(e){var t=e.flags,a=e.xCoordinates,i=e.yCoordinates;F(this,A),this.xCoordinates=a,this.yCoordinates=i,this.flags=t})),dr=function(){function A(e){var t=e.contours,a=e.instructions;F(this,A),this.contours=t,this.instructions=a}return b(A,[{key:"getSize",value:function(){var A,e=2*this.contours.length+2+this.instructions.length,t=0,a=0,i=m(this.contours);try{for(i.s();!(A=i.n()).done;){var n=A.value;e+=n.flags.length;for(var r=0,g=n.xCoordinates.length;r<g;r++){var o=n.xCoordinates[r],s=n.yCoordinates[r],I=Math.abs(o-t);I>255?e+=2:I>0&&(e+=1),t=o,(I=Math.abs(s-a))>255?e+=2:I>0&&(e+=1),a=s}}}catch(A){i.e(A)}finally{i.f()}return e}},{key:"write",value:function(A,e){var t,a=A,i=[],n=[],r=[],g=0,o=0,s=m(this.contours);try{for(s.s();!(t=s.n()).done;){for(var I=t.value,c=0,l=I.xCoordinates.length;c<l;c++){var h=I.flags[c],u=I.xCoordinates[c],C=u-g;if(0===C)h|=16,i.push(0);else{var B=Math.abs(C);B<=255?(h|=C>=0?18:2,i.push(B)):i.push(C)}g=u;var Q=I.yCoordinates[c];if(0==(C=Q-o))h|=32,n.push(0);else{var E=Math.abs(C);E<=255?(h|=C>=0?36:4,n.push(E)):n.push(C)}o=Q,r.push(h)}e.setUint16(A,i.length-1),A+=2}}catch(A){s.e(A)}finally{s.f()}e.setUint16(A,this.instructions.length),A+=2,this.instructions.length&&(new Uint8Array(e.buffer,0,e.buffer.byteLength).set(this.instructions,A),A+=this.instructions.length);for(var f=0,d=r;f<d.length;f++){var y=d[f];e.setUint8(A++,y)}for(var p=0,k=i.length;p<k;p++){var v=i[p],w=r[p];2&w?e.setUint8(A++,v):16&w||(e.setInt16(A,v),A+=2)}for(var b=0,D=n.length;b<D;b++){var F=n[b],S=r[b];4&S?e.setUint8(A++,F):32&S||(e.setInt16(A,F),A+=2)}return A-a}},{key:"scale",value:function(A,e){var t,a=m(this.contours);try{for(a.s();!(t=a.n()).done;){var i=t.value;if(0!==i.xCoordinates.length)for(var n=0,r=i.xCoordinates.length;n<r;n++)i.xCoordinates[n]=Math.round(A+(i.xCoordinates[n]-A)*e)}}catch(A){a.e(A)}finally{a.f()}}}],[{key:"parse",value:function(e,t,a){for(var i=[],n=0;n<a;n++){var r=t.getUint16(e);e+=2,i.push(r)}var g=i[a-1]+1,o=t.getUint16(e);e+=2;var s=new Uint8Array(t).slice(e,e+o);e+=o;for(var I=[],c=0;c<g;e++,c++){var l=t.getUint8(e);if(I.push(l),8&l){var h=t.getUint8(++e);l^=8;for(var u=0;u<h;u++)I.push(l);c+=h}}for(var C=[],B=[],Q=[],E=[],f=[],d=0,y=0,p=0;p<g;p++){var m=I[p];if(2&m){var k=t.getUint8(e++);y+=16&m?k:-k,B.push(y)}else 16&m||(y+=t.getInt16(e),e+=2),B.push(y);i[d]===p&&(d++,C.push(B),B=[])}y=0,d=0;for(var v=0;v<g;v++){var w=I[v];if(4&w){var b=t.getUint8(e++);y+=32&w?b:-b,Q.push(y)}else 32&w||(y+=t.getInt16(e),e+=2),Q.push(y);E.push(1&w|64&w),i[d]===v&&(B=C[d],d++,f.push(new fr({flags:E,xCoordinates:B,yCoordinates:Q})),Q=[],E=[])}return new A({contours:f,instructions:s})}}])}(),yr=function(){function A(e){var t=e.flags,a=e.glyphIndex,i=e.argument1,n=e.argument2,r=e.transf,g=e.instructions;F(this,A),this.flags=t,this.glyphIndex=a,this.argument1=i,this.argument2=n,this.transf=r,this.instructions=g}return b(A,[{key:"getSize",value:function(){var A=4+2*this.transf.length;return 256&this.flags&&(A+=2+this.instructions.length),A+=2,2&this.flags?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(A+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(A+=2),A}},{key:"write",value:function(A,e){var t=A;return 2&this.flags?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=1):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=1),e.setUint16(A,this.flags),e.setUint16(A+2,this.glyphIndex),A+=4,1&this.flags?(2&this.flags?(e.setInt16(A,this.argument1),e.setInt16(A+2,this.argument2)):(e.setUint16(A,this.argument1),e.setUint16(A+2,this.argument2)),A+=4):(e.setUint8(A,this.argument1),e.setUint8(A+1,this.argument2),A+=2),256&this.flags&&(e.setUint16(A,this.instructions.length),A+=2,this.instructions.length&&(new Uint8Array(e.buffer,0,e.buffer.byteLength).set(this.instructions,A),A+=this.instructions.length)),A-t}},{key:"scale",value:function(A,e){}}],[{key:"parse",value:function(e,t){var a,i,n=e,r=[],g=t.getUint16(e),o=t.getUint16(e+2);e+=4,1&g?(2&g?(a=t.getInt16(e),i=t.getInt16(e+2)):(a=t.getUint16(e),i=t.getUint16(e+2)),e+=4,g^=1):(2&g?(a=t.getInt8(e),i=t.getInt8(e+1)):(a=t.getUint8(e),i=t.getUint8(e+1)),e+=2),8&g?(r.push(t.getUint16(e)),e+=2):64&g?(r.push(t.getUint16(e),t.getUint16(e+2)),e+=4):128&g&&(r.push(t.getUint16(e),t.getUint16(e+2),t.getUint16(e+4),t.getUint16(e+6)),e+=8);var s=null;if(256&g){var I=t.getUint16(e);e+=2,s=new Uint8Array(t).slice(e,e+I),e+=I}return[e-n,new A({flags:g,glyphIndex:o,argument1:a,argument2:i,transf:r,instructions:s})]}}])}();function pr(A,e,t){A[e]=t>>8&255,A[e+1]=255&t}function mr(A,e,t){A[e]=t>>24&255,A[e+1]=t>>16&255,A[e+2]=t>>8&255,A[e+3]=255&t}function kr(A,e,t){if(t instanceof Uint8Array)A.set(t,e);else if("string"==typeof t)for(var a=0,i=t.length;a<i;a++)A[e++]=255&t.charCodeAt(a);else{var n,r=m(t);try{for(r.s();!(n=r.n()).done;){var g=n.value;A[e++]=255&g}}catch(A){r.e(A)}finally{r.f()}}}var vr=function(){function A(e){F(this,A),this.sfnt=e,this.tables=Object.create(null)}return b(A,[{key:"toArray",value:function(){var e=this.sfnt,t=this.tables,a=Object.keys(t);a.sort();var i,n,r,g,o,s=a.length,I=12+16*s,c=[I];for(i=0;i<s;i++)I+=((g=t[a[i]]).length+3&-4)>>>0,c.push(I);var l=new Uint8Array(I);for(i=0;i<s;i++)g=t[a[i]],kr(l,c[i],g);"true"===e&&(e=FA(65536)),l[0]=255&e.charCodeAt(0),l[1]=255&e.charCodeAt(1),l[2]=255&e.charCodeAt(2),l[3]=255&e.charCodeAt(3),pr(l,4,s);var h=A.getSearchParams(s,16);for(pr(l,6,h.range),pr(l,8,h.entry),pr(l,10,h.rangeShift),I=12,i=0;i<s;i++){o=a[i],l[I]=255&o.charCodeAt(0),l[I+1]=255&o.charCodeAt(1),l[I+2]=255&o.charCodeAt(2),l[I+3]=255&o.charCodeAt(3);var u=0;for(n=c[i],r=c[i+1];n<r;n+=4)u=u+de(l,n)>>>0;mr(l,I+4,u),mr(l,I+8,c[i]),mr(l,I+12,t[o].length),I+=16}return l}},{key:"addTable",value:function(A,e){if(A in this.tables)throw new Error("Table "+A+" already exists");this.tables[A]=e}}],[{key:"getSearchParams",value:function(A,e){for(var t=1,a=0;(t^A)>t;)t<<=1,a++;var i=t*e;return{range:i,entry:a,rangeShift:e*A-i}}}])}(),wr=[4],br=[5],Dr=[6],Fr=[7],Sr=[8],Rr=[12,35],Nr=[14],Gr=[21],xr=[22],Ur=[30],Mr=[31],Jr=function(){return b((function A(){F(this,A),this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}),[{key:"convert",value:function(A,e,t){for(var a,i,n,r=A.length,g=!1,o=0;o<r;o++){var s=A[o];if(s<32){switch(12===s&&(s=(s<<8)+A[++o]),s){case 1:case 3:case 9:case 3072:case 3073:case 3074:case 3105:this.stack=[];break;case 4:if(this.flexing){if(this.stack.length<1){g=!0;break}var I=this.stack.pop();this.stack.push(0,I);break}g=this.executeCommand(1,wr);break;case 5:g=this.executeCommand(2,br);break;case 6:g=this.executeCommand(1,Dr);break;case 7:g=this.executeCommand(1,Fr);break;case 8:g=this.executeCommand(6,Sr);break;case 10:if(this.stack.length<1){g=!0;break}if(!e[n=this.stack.pop()]){g=!0;break}g=this.convert(e[n],e,t);break;case 11:return g;case 13:if(this.stack.length<2){g=!0;break}a=this.stack.pop(),i=this.stack.pop(),this.lsb=i,this.width=a,this.stack.push(a,i),g=this.executeCommand(2,xr);break;case 14:this.output.push(Nr[0]);break;case 21:if(this.flexing)break;g=this.executeCommand(2,Gr);break;case 22:if(this.flexing){this.stack.push(0);break}g=this.executeCommand(1,xr);break;case 30:g=this.executeCommand(4,Ur);break;case 31:g=this.executeCommand(4,Mr);break;case 3078:if(t){var c=this.stack.at(-5);this.seac=this.stack.splice(-4,4),this.seac[0]+=this.lsb-c,g=this.executeCommand(0,Nr)}else g=this.executeCommand(4,Nr);break;case 3079:if(this.stack.length<4){g=!0;break}this.stack.pop(),a=this.stack.pop();var l=this.stack.pop();i=this.stack.pop(),this.lsb=i,this.width=a,this.stack.push(a,i,l),g=this.executeCommand(3,Gr);break;case 3084:if(this.stack.length<2){g=!0;break}var h=this.stack.pop(),u=this.stack.pop();this.stack.push(u/h);break;case 3088:if(this.stack.length<2){g=!0;break}n=this.stack.pop();var C=this.stack.pop();if(0===n&&3===C){var B=this.stack.splice(-17,17);this.stack.push(B[2]+B[0],B[3]+B[1],B[4],B[5],B[6],B[7],B[8],B[9],B[10],B[11],B[12],B[13],B[14]),g=this.executeCommand(13,Rr,!0),this.flexing=!1,this.stack.push(B[15],B[16])}else 1===n&&0===C&&(this.flexing=!0);break;case 3089:break;default:uA('Unknown type 1 charstring command of "'+s+'"')}if(g)break}else s<=246?s-=139:s=s<=250?256*(s-247)+A[++o]+108:s<=254?-256*(s-251)-A[++o]-108:(255&A[++o])<<24|(255&A[++o])<<16|(255&A[++o])<<8|255&A[++o],this.stack.push(s)}return g}},{key:"executeCommand",value:function(A,e,t){var a,i=this.stack.length;if(A>i)return!0;for(var n=i-A,r=n;r<i;r++){var g=this.stack[r];Number.isInteger(g)?this.output.push(28,g>>8&255,255&g):(g=65536*g|0,this.output.push(255,g>>24&255,g>>16&255,g>>8&255,255&g))}return(a=this.output).push.apply(a,I(e)),t?this.stack.splice(n,A):this.stack.length=0,!1}}])}();function Lr(A){return A>=48&&A<=57||A>=65&&A<=70||A>=97&&A<=102}function Hr(A,e,t){if(t>=A.length)return new Uint8Array(0);var a,i,n=0|e;for(a=0;a<t;a++)n=52845*(A[a]+n)+22719&65535;var r=A.length-t,g=new Uint8Array(r);for(a=t,i=0;i<r;a++,i++){var o=A[a];g[i]=o^n>>8,n=52845*(o+n)+22719&65535}return g}function Yr(A){return 47===A||91===A||93===A||123===A||125===A||40===A||41===A}var Kr=function(){return b((function A(e,t,a){if(F(this,A),t){var i=e.getBytes(),n=!((Lr(i[0])||ye(i[0]))&&Lr(i[1])&&Lr(i[2])&&Lr(i[3])&&Lr(i[4])&&Lr(i[5])&&Lr(i[6])&&Lr(i[7]));e=new Pe(n?Hr(i,55665,4):function(A,e,t){var a,i,n=55665,r=A.length,g=new Uint8Array(r>>>1);for(a=0,i=0;a<r;a++){var o=A[a];if(Lr(o)){a++;for(var s=void 0;a<r&&!Lr(s=A[a]);)a++;if(a<r){var I=parseInt(String.fromCharCode(o,s),16);g[i++]=I^n>>8,n=52845*(I+n)+22719&65535}}}return g.slice(4,i)}(i))}this.seacAnalysisEnabled=!!a,this.stream=e,this.nextChar()}),[{key:"readNumberArray",value:function(){this.getToken();for(var A=[];;){var e=this.getToken();if(null===e||"]"===e||"}"===e)break;A.push(parseFloat(e||0))}return A}},{key:"readNumber",value:function(){var A=this.getToken();return parseFloat(A||0)}},{key:"readInt",value:function(){var A=this.getToken();return 0|parseInt(A||0,10)}},{key:"readBoolean",value:function(){return"true"===this.getToken()?1:0}},{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"prevChar",value:function(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var A=!1,e=this.currentChar;;){if(-1===e)return null;if(A)10!==e&&13!==e||(A=!1);else if(37===e)A=!0;else if(!ye(e))break;e=this.nextChar()}if(Yr(e))return this.nextChar(),String.fromCharCode(e);var t="";do{t+=String.fromCharCode(e),e=this.nextChar()}while(e>=0&&!ye(e)&&!Yr(e));return t}},{key:"readCharStrings",value:function(A,e){return-1===e?A:Hr(A,4330,e)}},{key:"extractFontProgram",value:function(A){var e=this.stream,t=[],a=[],i=Object.create(null);i.lenIV=4;for(var n,r,g,o,s={subrs:[],charstrings:[],properties:{privateData:i}};null!==(n=this.getToken());)if("/"===n)switch(n=this.getToken()){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();null!==(n=this.getToken())&&"end"!==n;)if("/"===n){var I=this.getToken();r=this.readInt(),this.getToken(),g=r>0?e.getBytes(r):new Uint8Array(0),o=s.properties.privateData.lenIV;var c=this.readCharStrings(g,o);this.nextChar(),"noaccess"===(n=this.getToken())?this.getToken():"/"===n&&this.prevChar(),a.push({glyph:I,encoded:c})}break;case"Subrs":for(this.readInt(),this.getToken();"dup"===this.getToken();){var l=this.readInt();r=this.readInt(),this.getToken(),g=r>0?e.getBytes(r):new Uint8Array(0),o=s.properties.privateData.lenIV;var h=this.readCharStrings(g,o);this.nextChar(),"noaccess"===(n=this.getToken())&&this.getToken(),t[l]=h}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":var u=this.readNumberArray();u.length>0&&u.length;break;case"StemSnapH":case"StemSnapV":s.properties.privateData[n]=this.readNumberArray();break;case"StdHW":case"StdVW":s.properties.privateData[n]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":s.properties.privateData[n]=this.readNumber();break;case"ExpansionFactor":s.properties.privateData[n]=this.readNumber()||.06;break;case"ForceBold":s.properties.privateData[n]=this.readBoolean()}for(var C=0,B=a;C<B.length;C++){var Q=B[C],E=Q.encoded,f=Q.glyph,d=new Jr,y=d.convert(E,t,this.seacAnalysisEnabled),p=d.output;y&&(p=[14]);var m={glyphName:f,charstring:p,width:d.width,lsb:d.lsb,seac:d.seac};if(".notdef"===f?s.charstrings.unshift(m):s.charstrings.push(m),A.builtInEncoding){var k=A.builtInEncoding.indexOf(f);k>-1&&void 0===A.widths[k]&&k>=A.firstChar&&k<=A.lastChar&&(A.widths[k]=d.width)}}return s}},{key:"extractFontHeader",value:function(A){for(var e;null!==(e=this.getToken());)if("/"===e)switch(e=this.getToken()){case"FontMatrix":var t=this.readNumberArray();A.fontMatrix=t;break;case"Encoding":var a=this.getToken(),i=void 0;if(/^\d+$/.test(a)){i=[];var n=0|parseInt(a,10);this.getToken();for(var r=0;r<n;r++){for(e=this.getToken();"dup"!==e&&"def"!==e;)if(null===(e=this.getToken()))return;if("def"===e)break;var g=this.readInt();this.getToken();var o=this.getToken();i[g]=o,this.getToken()}}else i=nn(a);A.builtInEncoding=i;break;case"FontBBox":var s=this.readNumberArray();A.ascent=Math.max(s[3],s[1]),A.descent=Math.min(s[1],s[3]),A.ascentScaled=!0}}}])}();function qr(A,e,t){for(var a=A.length,i=e.length,n=a-i,r=t,g=!1;r<n;){for(var o=0;o<i&&A[r+o]===e[o];)o++;if(o>=i){for(r+=o;r<a&&ye(A[r]);)r++;g=!0;break}r++}return{found:g,length:r}}var Tr=function(){return b((function A(e,t,a){F(this,A);var i=a.length1,n=(a.length2,t.peekBytes(6)),r=128===n[0]&&1===n[1];r&&(t.skip(6),i=n[5]<<24|n[4]<<16|n[3]<<8|n[2]);var g=function(A,e){var t,a,i,n,r=[101,101,120,101,99],g=A.pos;try{a=(t=A.getBytes(e)).length}catch(A){}if(a===e&&(i=qr(t,r,e-2*r.length)).found&&i.length===e)return{stream:new Pe(t),length:e};for(uA('Invalid "Length1" property in Type1 font -- trying to recover.'),A.pos=g;0!==(i=qr(A.peekBytes(2048),r,0)).length;)if(A.pos+=i.length,i.found){n=A.pos-g;break}return A.pos=g,n?{stream:new Pe(A.getBytes(n)),length:n}:(uA('Unable to recover "Length1" property in Type1 font -- using as is.'),{stream:new Pe(A.getBytes(e)),length:e})}(t,i);new Kr(g.stream,!1,Gn).extractFontHeader(a),r&&((n=t.getBytes(6))[5],n[4],n[3],n[2]);var o=function(A,e){var t=A.getBytes();if(0===t.length)throw new vA("getEexecBlock - no font program found.");return{stream:new Pe(t),length:t.length}}(t),s=new Kr(o.stream,!0,Gn).extractFontProgram(a);for(var I in s.properties)a[I]=s.properties[I];var c=s.charstrings,l=this.getType2Charstrings(c),h=this.getType2Subrs(s.subrs);this.charstrings=c,this.data=this.wrap(e,l,this.charstrings,h,a),this.seacs=this.getSeacs(s.charstrings)}),[{key:"numGlyphs",get:function(){return this.charstrings.length+1}},{key:"getCharset",value:function(){var A,e=[".notdef"],t=m(this.charstrings);try{for(t.s();!(A=t.n()).done;){var a=A.value.glyphName;e.push(a)}}catch(A){t.e(A)}finally{t.f()}return e}},{key:"getGlyphMapping",value:function(A){var e=this.charstrings;if(A.composite){for(var t=Object.create(null),a=0,i=e.length;a<i;a++)t[A.cMap.charCodeOf(a)]=a+1;return t}var n,r,g=[".notdef"];for(r=0;r<e.length;r++)g.push(e[r].glyphName);var o=A.builtInEncoding;if(o)for(var s in n=Object.create(null),o)(r=g.indexOf(o[s]))>=0&&(n[s]=r);return Mn(A,n,g)}},{key:"hasGlyphId",value:function(A){return!(A<0||A>=this.numGlyphs)&&(0===A||this.charstrings[A-1].charstring.length>0)}},{key:"getSeacs",value:function(A){for(var e=[],t=0,a=A.length;t<a;t++){var i=A[t];i.seac&&(e[t+1]=i.seac)}return e}},{key:"getType2Charstrings",value:function(A){var e,t=[],a=m(A);try{for(a.s();!(e=a.n()).done;){var i=e.value;t.push(i.charstring)}}catch(A){a.e(A)}finally{a.f()}return t}},{key:"getType2Subrs",value:function(A){var e,t=A.length;e=t<1133?107:t<33769?1131:32768;var a,i=[];for(a=0;a<e;a++)i.push([11]);for(a=0;a<t;a++)i.push(A[a]);return i}},{key:"wrap",value:function(A,e,t,a,i){var n=new In;n.header=new cn(1,0,4,4),n.names=[A];var r=new Bn;r.setByName("version",391),r.setByName("Notice",392),r.setByName("FullName",393),r.setByName("FamilyName",394),r.setByName("Weight",395),r.setByName("Encoding",null),r.setByName("FontMatrix",i.fontMatrix),r.setByName("FontBBox",i.bbox),r.setByName("charset",null),r.setByName("CharStrings",null),r.setByName("Private",null),n.topDict=r;var g=new ln;g.add("Version 0.11"),g.add("See original notice"),g.add(A),g.add(A),g.add("Medium"),n.strings=g,n.globalSubrIndex=new hn;var o,s,I=e.length,c=[".notdef"];for(o=0;o<I;o++){var l=t[o].glyphName;-1===rn.indexOf(l)&&g.add(l),c.push(l)}n.charset=new dn(!1,0,c);var h=new hn;for(h.add([139,14]),o=0;o<I;o++)h.add(e[o]);n.charStrings=h;var u=new En;u.setByName("Subrs",null);var C=["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"];for(o=0,s=C.length;o<s;o++){var B=C[o];if(B in i.privateData){var Q=i.privateData[B];if(Array.isArray(Q))for(var E=Q.length-1;E>0;E--)Q[E]-=Q[E-1];u.setByName(B,Q)}}n.topDict.privateDict=u;var f=new hn;for(o=0,s=a.length;o<s;o++)f.add(a[o]);return u.subrsIndex=f,new kn(n).compile()}}])}(),Pr=[[57344,63743],[1048576,1114109]],Wr=1e3,Zr=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","isInvalidPDFjsFont","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","systemFontInfo","type","vertical"],Or=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function Xr(A){if(A.fontMatrix&&A.fontMatrix[0]!==K[0]){var e=.001/A.fontMatrix[0],t=A.widths;for(var a in t)t[a]*=e;A.defaultWidth*=e}}function Vr(A){if(A.fallbackToUnicode&&!(A.toUnicode instanceof Vn)){var e=[];for(var t in A.fallbackToUnicode)A.toUnicode.has(t)||(e[t]=A.fallbackToUnicode[t]);e.length>0&&A.toUnicode.amend(e)}}var jr=function(){return b((function A(e,t,a,i,n,r,g,o,s){F(this,A),this.originalCharCode=e,this.fontChar=t,this.unicode=a,this.accent=i,this.width=n,this.vmetric=r,this.operatorListId=g,this.isSpace=o,this.isInFont=s}),[{key:"category",get:function(){return EA(this,"category",function(A){var e=Nn.get(A);if(e)return e;var t=A.match(Rn),a={isWhitespace:!(null==t||!t[1]),isZeroWidthDiacritic:!(null==t||!t[2]),isInvisibleFormatMark:!(null==t||!t[3])};return Nn.set(A,a),a}(this.unicode),!0)}}])}();function zr(A,e){return(A<<8)+e}function _r(A,e,t){A[e+1]=t,A[e]=t>>>8}function $r(A,e){var t=(A<<8)+e;return 32768&t?t-65536:t}function Ag(A){return String.fromCharCode(A>>8&255,255&A)}function eg(A){return A>32767?A=32767:A<-32768&&(A=-32768),String.fromCharCode(A>>8&255,255&A)}function tg(A){return"ttcf"===bA(A.peekBytes(4))}function ag(A,e){for(var t in e)A[+t]=e[t]}function ig(A,e,t){for(var a,i=[],n=0,r=A.length;n<r;n++)-1!==(a=Dn(A[n],e))&&(i[n]=a);for(var g in t)-1!==(a=Dn(t[g],e))&&(i[+g]=a);return i}function ng(A){return 1===A.platform&&0===A.encoding&&0===A.language}function rg(A){return 3===A.platform&&1===A.encoding&&1033===A.language}function gg(A,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];switch(e.length){case 1:return e.charCodeAt(0);case 2:return e.charCodeAt(0)<<8|e.charCodeAt(1)}var a="Unsupported CID string (charCode ".concat(A,'): "').concat(e,'".');if(t)throw new vA(a);return uA(a),e}function og(A,e,t,a){var i,n=Object.create(null),r=new Map,g=[],o=new Set,s=0,I=Pr[s][0],c=Pr[s][1];for(var l in A){var h=A[l];if(e(h)){if(I>c){if(++s>=Pr.length){uA("Ran out of space in font private use area.");break}I=Pr[s][0],c=Pr[s][1]}var u=I++;0===h&&(h=t);var C=a.get(l);"string"==typeof C&&(C=C.codePointAt(0)),!C||(i=C,Pr[0][0]<=i&&i<=Pr[0][1]||Pr[1][0]<=i&&i<=Pr[1][1])||o.has(h)||(r.set(C,h),o.add(h)),n[u]=h,g[l]=u}}return{toFontChar:g,charCodeToGlyphId:n,toUnicodeExtraMap:r,nextAvailableFontCharCode:I}}function sg(A,e,t){var a,i,n,r,g=function(A,e,t){var a=[];for(var i in A)A[i]>=t||a.push({fontCharCode:0|i,glyphId:A[i]});if(e){var n,r=m(e);try{for(r.s();!(n=r.n()).done;){var g=d(n.value,2),o=g[0],s=g[1];s>=t||a.push({fontCharCode:o,glyphId:s})}}catch(A){r.e(A)}finally{r.f()}}0===a.length&&a.push({fontCharCode:0,glyphId:0}),a.sort((function(A,e){return A.fontCharCode-e.fontCharCode}));for(var I=[],c=a.length,l=0;l<c;){var h=a[l].fontCharCode,u=[a[l].glyphId];++l;for(var C=h;l<c&&C+1===a[l].fontCharCode&&(u.push(a[l].glyphId),++l,65535!=++C););I.push([h,C,u])}return I}(A,e,t),o=g.at(-1)[1]>65535?2:1,s="\0\0"+Ag(o)+"\0\0"+FA(4+8*o);for(a=g.length-1;a>=0&&!(g[a][0]<=65535);--a);var I=a+1;g[a][0]<65535&&65535===g[a][1]&&(g[a][1]=65534);var c,l,h,u,C=g[a][1]<65535?1:0,B=I+C,Q=vr.getSearchParams(B,2),E="",f="",y="",p="",k="",v=0;for(a=0,i=I;a<i;a++){l=(c=g[a])[0],h=c[1],E+=Ag(l),f+=Ag(h);var w=!0;for(n=1,r=(u=c[2]).length;n<r;++n)if(u[n]!==u[n-1]+1){w=!1;break}if(w)y+=Ag(u[0]-l&65535),p+=Ag(0);else{var b=2*(B-a)+2*v;for(v+=h-l+1,y+=Ag(0),p+=Ag(b),n=0,r=u.length;n<r;++n)k+=Ag(u[n])}}C>0&&(f+="ÿÿ",E+="ÿÿ",y+="\0",p+="\0\0");var D="\0\0"+Ag(2*B)+Ag(Q.range)+Ag(Q.entry)+Ag(Q.rangeShift)+f+"\0\0"+E+y+p+k,F="",S="";if(o>1){for(s+="\0\0\n"+FA(4+8*o+4+D.length),F="",a=0,i=g.length;a<i;a++){l=(c=g[a])[0];var R=(u=c[2])[0];for(n=1,r=u.length;n<r;++n)u[n]!==u[n-1]+1&&(h=c[0]+n-1,F+=FA(l)+FA(h)+FA(R),l=h+1,R=u[n]);F+=FA(l)+FA(c[1])+FA(R)}S="\0\f\0\0"+FA(F.length+16)+"\0\0\0\0"+FA(F.length/12)}return s+"\0"+Ag(D.length+4)+D+S+F}function Ig(A,e,t){t||(t={unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0});var a=0,i=0,n=0,r=0,g=null,o=0,s=-1;if(e){for(var I in e)if((g>(I|=0)||!g)&&(g=I),o<I&&(o=I),(s=Sn(I,s))<32)a|=1<<s;else if(s<64)i|=1<<s-32;else if(s<96)n|=1<<s-64;else{if(!(s<123))throw new vA("Unicode ranges Bits > 123 are reserved for internal usage");r|=1<<s-96}o>65535&&(o=65535)}else g=0,o=255;var c=A.bbox||[0,0,0,0],l=t.unitsPerEm||1/(A.fontMatrix||K)[0],h=A.ascentScaled?1:l/Wr,u=t.ascent||Math.round(h*(A.ascent||c[3])),C=t.descent||Math.round(h*(A.descent||c[1]));C>0&&A.descent>0&&c[1]<0&&(C=-C);var B=t.yMax||u,Q=-t.yMin||-C;return"\0$ô\0\0\0»\0\0\0»\0\0ß\x001\0\0\0\0"+String.fromCharCode(A.fixedPitch?9:0)+"\0\0\0\0\0\0"+FA(a)+FA(i)+FA(n)+FA(r)+"*21*"+Ag(A.italicAngle?1:0)+Ag(g||A.firstChar)+Ag(o||A.lastChar)+Ag(u)+Ag(C)+"\0d"+Ag(B)+Ag(Q)+"\0\0\0\0\0\0\0\0"+Ag(A.xHeight)+Ag(A.capHeight)+Ag(0)+Ag(g||A.firstChar)+"\0"}function cg(A){return"\0\0\0"+FA(Math.floor(A.italicAngle*Math.pow(2,16)))+"\0\0\0\0"+FA(A.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function lg(A){return A.replaceAll(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}function hg(A,e){e||(e=[[],[]]);var t,a,i,n,r,g=[e[0][0]||"Original licence",e[0][1]||A,e[0][2]||"Unknown",e[0][3]||"uniqueID",e[0][4]||A,e[0][5]||"Version 0.11",e[0][6]||lg(A),e[0][7]||"Unknown",e[0][8]||"Unknown",e[0][9]||"Unknown"],o=[];for(t=0,a=g.length;t<a;t++){var s=[];for(i=0,n=(r=e[1][t]||g[t]).length;i<n;i++)s.push(Ag(r.charCodeAt(i)));o.push(s.join(""))}var I=[g,o],c=["\0","\0"],l=["\0\0","\0"],h=["\0\0","\t"],u=g.length*c.length,C="\0\0"+Ag(u)+Ag(12*u+6),B=0;for(t=0,a=c.length;t<a;t++){var Q=I[t];for(i=0,n=Q.length;i<n;i++)r=Q[i],C+=c[t]+l[t]+h[t]+Ag(i)+Ag(r.length)+Ag(B),B+=r.length}return C+(g.join("")+o.join(""))}var ug=function(){return b((function A(e,t,a){var i;F(this,A),this.name=e,this.psName=null,this.mimetype=null,this.disableFontFace=!1,this.loadedName=a.loadedName,this.isType3Font=a.isType3Font,this.missingFile=!1,this.cssFontInfo=a.cssFontInfo,this._charsCache=Object.create(null),this._glyphCache=Object.create(null);var n=!!(2&a.flags);if(!n&&!a.isSimulatedFlags){var r,g=e.replaceAll(/[,_]/g,"-").split("-",1)[0],o=Kn(),s=m(g.split("+"));try{for(s.s();!(r=s.n()).done;)if(o[r.value]){n=!0;break}}catch(A){s.e(A)}finally{s.f()}}this.isSerifFont=n,this.isSymbolicFont=!!(4&a.flags),this.isMonospace=!!(1&a.flags);var I=a.type,c=a.subtype;this.type=I,this.subtype=c,this.systemFontInfo=a.systemFontInfo;var l=e.match(/^InvalidPDFjsFont_(.*)_\d+$/);if(this.isInvalidPDFjsFont=!!l,this.isInvalidPDFjsFont?this.fallbackName=l[1]:this.isMonospace?this.fallbackName="monospace":this.isSerifFont?this.fallbackName="serif":this.fallbackName="sans-serif",null!==(i=this.systemFontInfo)&&void 0!==i&&i.guessFallback&&(this.systemFontInfo.guessFallback=!1,this.systemFontInfo.css+=",".concat(this.fallbackName)),this.differences=a.differences,this.widths=a.widths,this.defaultWidth=a.defaultWidth,this.composite=a.composite,this.cMap=a.cMap,this.capHeight=a.capHeight/Wr,this.ascent=a.ascent/Wr,this.descent=a.descent/Wr,this.lineHeight=this.ascent-this.descent,this.fontMatrix=a.fontMatrix,this.bbox=a.bbox,this.defaultEncoding=a.defaultEncoding,this.toUnicode=a.toUnicode,this.toFontChar=[],"Type3"!==a.type){if(this.cidEncoding=a.cidEncoding||"",this.vertical=!!a.vertical,this.vertical&&(this.vmetrics=a.vmetrics,this.defaultVMetrics=a.defaultVMetrics),!t||t.isEmpty)return t&&uA('Font file is empty in "'+e+'" ('+this.loadedName+")"),void this.fallbackToSystemFont(a);var h,u=d(function(A,e){var t,a,i=e.type,n=e.subtype,r=e.composite;return function(A){var e=A.peekBytes(4);return 65536===de(e,0)||"true"===bA(e)}(A)||tg(A)?t=r?"CIDFontType2":"TrueType":function(A){return"OTTO"===bA(A.peekBytes(4))}(A)?t=r?"CIDFontType2":"OpenType":function(A){var e=A.peekBytes(2);return 37===e[0]&&33===e[1]||128===e[0]&&1===e[1]}(A)?t=r?"CIDFontType0":"MMType1"===i?"MMType1":"Type1":function(A){var e=A.peekBytes(4);return e[0]>=1&&e[3]>=1&&e[3]<=4}(A)?r?(t="CIDFontType0",a="CIDFontType0C"):(t="MMType1"===i?"MMType1":"Type1",a="Type1C"):(uA("getFontFileType: Unable to detect correct font file Type/Subtype."),t=i,a=n),[t,a]}(t,a),2);I=u[0],c=u[1],I===this.type&&c===this.subtype||hA("Inconsistent font file Type/SubType, expected: "+"".concat(this.type,"/").concat(this.subtype," but found: ").concat(I,"/").concat(c,"."));try{switch(I){case"MMType1":hA("MMType1 font ("+e+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";var C="Type1C"===c||"CIDFontType0C"===c?new jn(t,a):new Tr(e,t,a);Xr(a),h=this.convert(e,C,a);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",h=this.checkAndRepair(e,t,a),this.isOpenType&&(Xr(a),I="OpenType");break;default:throw new vA("Font ".concat(I," is not supported"))}}catch(A){return uA(A),void this.fallbackToSystemFont(a)}Vr(a),this.data=h,this.type=I,this.subtype=c,this.fontMatrix=a.fontMatrix,this.widths=a.widths,this.defaultWidth=a.defaultWidth,this.toUnicode=a.toUnicode,this.seacMap=a.seacMap}else for(var B=0;B<256;B++)this.toFontChar[B]=this.differences[B]||a.defaultEncoding[B]}),[{key:"renderer",get:function(){return EA(this,"renderer",hr.create(this,Gn))}},{key:"exportData",value:function(){var A,e,t,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0]?[].concat(Zr,Or):Zr,i=Object.create(null),n=m(a);try{for(n.s();!(t=n.n()).done;)void 0!==(e=this[A=t.value])&&(i[A]=e)}catch(A){n.e(A)}finally{n.f()}return i}},{key:"fallbackToSystemFont",value:function(A){var e=this;this.missingFile=!0;var t=this.name,a=this.type,i=Jn(t),n=Ln(),r=Yn(),g=!!n[i],o=!(!r[i]||!n[r[i]]);i=n[i]||r[i]||i;var s=Cr()[i];s&&(isNaN(this.ascent)&&(this.ascent=s.ascent/Wr),isNaN(this.descent)&&(this.descent=s.descent/Wr),isNaN(this.capHeight)&&(this.capHeight=s.capHeight/Wr)),this.bold=/bold/gi.test(i),this.italic=/oblique|italic/gi.test(i),this.black=/Black/g.test(t);var I=/Narrow/g.test(t);if(this.remeasure=(!g||I)&&Object.keys(this.widths).length>0,(g||o)&&"CIDFontType2"===a&&this.cidEncoding.startsWith("Identity-")){var c=A.cidToGidMap,l=[];if(ag(l,Tn()),/Arial-?Black/i.test(t)?ag(l,Pn()):/Calibri/i.test(t)&&ag(l,Wn()),c){for(var h in l){var u=l[h];void 0!==c[u]&&(l[+h]=c[u])}c.length!==this.toUnicode.length&&A.hasIncludedToUnicodeMap&&this.toUnicode instanceof Vn&&this.toUnicode.forEach((function(A,e){var t=l[A];void 0===c[t]&&(l[+A]=e)}))}this.toUnicode instanceof Vn||this.toUnicode.forEach((function(A,e){l[+A]=e})),this.toFontChar=l,this.toUnicode=new Xn(l)}else if(/Symbol/i.test(i))this.toFontChar=ig(tn,vn(),this.differences);else if(/Dingbats/i.test(i))this.toFontChar=ig(an,wn(),this.differences);else if(g){var C=ig(this.defaultEncoding,vn(),this.differences);"CIDFontType2"!==a||this.cidEncoding.startsWith("Identity-")||this.toUnicode instanceof Vn||this.toUnicode.forEach((function(A,e){C[+A]=e})),this.toFontChar=C}else{var B=vn(),Q=[];this.toUnicode.forEach((function(A,t){if(!e.composite){var a=Dn(e.differences[A]||e.defaultEncoding[A],B);-1!==a&&(t=a)}Q[+A]=t})),this.composite&&this.toUnicode instanceof Vn&&/Tahoma|Verdana/i.test(t)&&ag(Q,Tn()),this.toFontChar=Q}Vr(A),this.loadedName=i.split("-",1)[0]}},{key:"checkAndRepair",value:function(A,e,t){var a,i,n=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function r(A,e){var t=Object.create(null);t["OS/2"]=null,t.cmap=null,t.head=null,t.hhea=null,t.hmtx=null,t.maxp=null,t.name=null,t.post=null;for(var a=0;a<e;a++){var i=g(A);n.includes(i.tag)&&0!==i.length&&(t[i.tag]=i)}return t}function g(A){var e=A.getString(4),t=A.getInt32()>>>0,a=A.getInt32()>>>0,i=A.getInt32()>>>0,n=A.pos;A.pos=A.start||0,A.skip(a);var r=A.getBytes(i);return A.pos=n,"head"===e&&(r[8]=r[9]=r[10]=r[11]=0,r[17]|=32),{tag:e,checksum:t,length:i,offset:a,data:r}}function o(A){return{version:A.getString(4),numTables:A.getUint16(),searchRange:A.getUint16(),entrySelector:A.getUint16(),rangeShift:A.getUint16()}}function s(A,e,t,a,i,n){var r={length:0,sizeOfInstructions:0};if(e<0||e>=A.length||t>A.length||t-e<=12)return r;var g=A.subarray(e,t),o=$r(g[2],g[3]),s=$r(g[4],g[5]),I=$r(g[6],g[7]),c=$r(g[8],g[9]);o>I&&(_r(g,2,I),_r(g,6,o)),s>c&&(_r(g,4,c),_r(g,8,s));var l=$r(g[0],g[1]);if(l<0)return l<-1||(a.set(g,i),r.length=g.length),r;var h,u=10,C=0;for(h=0;h<l;h++)C=1+(g[u]<<8|g[u+1]),u+=2;var B=u,Q=g[u]<<8|g[u+1];r.sizeOfInstructions=Q;var E=u+=2+Q,f=0;for(h=0;h<C;h++){var d=g[u++];192&d&&(g[u-1]=63&d);var y=2;2&d?y=1:16&d&&(y=0);var p=2;4&d?p=1:32&d&&(p=0);var m=y+p;if(f+=m,8&d){var k=g[u++];0===k&&(g[u-1]^=8),h+=k,f+=k*m}}if(0===f)return r;var v=u+f;return v>g.length?r:!n&&Q>0?(a.set(g.subarray(0,B),i),a.set([0,0],i+B),a.set(g.subarray(E,v),i+B+2),v-=Q,g.length-v>3&&(v=v+3&-4),r.length=v,r):g.length-v>3?(v=v+3&-4,a.set(g.subarray(0,v),i),r.length=v,r):(a.set(g,i),r.length=g.length,r)}function I(A){var t=(e.start||0)+A.offset;e.pos=t;var a=[[],[]],i=[],n=A.length,r=t+n;if(0!==e.getUint16()||n<6)return[a,i];var g,o,s=e.getUint16(),I=e.getUint16();for(g=0;g<s&&e.pos+12<=r;g++){var c={platform:e.getUint16(),encoding:e.getUint16(),language:e.getUint16(),name:e.getUint16(),length:e.getUint16(),offset:e.getUint16()};(ng(c)||rg(c))&&i.push(c)}for(g=0,o=i.length;g<o;g++){var l=i[g];if(!(l.length<=0)){var h=t+I+l.offset;if(!(h+l.length>r)){e.pos=h;var u=l.name;if(l.encoding){for(var C="",B=0,Q=l.length;B<Q;B+=2)C+=String.fromCharCode(e.getUint16());a[1][u]=C}else a[0][u]=e.getString(l.length)}}}return[a,i]}var c,l,h,u,C=[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];function B(A,e){for(var t,a,i,n,r,g=A.data,o=0,s=0,I=0,c=[],l=[],h=[],u=e.tooComplexToFollowFunctions,B=!1,Q=0,E=0,f=g.length;o<f;){var d=g[o++];if(64===d)if(a=g[o++],B||E)o+=a;else for(t=0;t<a;t++)c.push(g[o++]);else if(65===d)if(a=g[o++],B||E)o+=2*a;else for(t=0;t<a;t++)i=g[o++],c.push(i<<8|g[o++]);else if(176==(248&d))if(a=d-176+1,B||E)o+=a;else for(t=0;t<a;t++)c.push(g[o++]);else if(184==(248&d))if(a=d-184+1,B||E)o+=2*a;else for(t=0;t<a;t++)i=g[o++],c.push(i<<8|g[o++]);else if(43!==d||u)if(44!==d||u){if(45===d)if(B)B=!1,s=o;else{if(!(r=l.pop()))return uA("TT: ENDF bad stack"),void(e.hintsValid=!1);n=h.pop(),g=r.data,o=r.i,e.functionsStackDeltas[n]=c.length-r.stackTop}else if(137===d)(B||E)&&(uA("TT: nested IDEFs not allowed"),u=!0),B=!0,I=o;else if(88===d)++Q;else if(27===d)E=Q;else if(89===d)E===Q&&(E=0),--Q;else if(28===d&&!B&&!E){var y=c.at(-1);y>0&&(o+=y-1)}}else(B||E)&&(uA("TT: nested FDEFs not allowed"),u=!0),B=!0,I=o,n=c.pop(),e.functionsDefined[n]={data:g,i:o};else if(!B&&!E)if(n=c.at(-1),isNaN(n))hA("TT: CALL empty stack (or invalid entry).");else if(e.functionsUsed[n]=!0,n in e.functionsStackDeltas){var p=c.length+e.functionsStackDeltas[n];if(p<0)return uA("TT: CALL invalid functions stack delta."),void(e.hintsValid=!1);c.length=p}else if(n in e.functionsDefined&&!h.includes(n)){if(l.push({data:g,i:o,stackTop:c.length-1}),h.push(n),!(r=e.functionsDefined[n]))return uA("TT: CALL non-existent function"),void(e.hintsValid=!1);g=r.data,o=r.i}if(!B&&!E){var m=0;for(d<=142?m=C[d]:d>=192&&d<=223?m=-1:d>=224&&(m=-2),d>=113&&d<=117&&(a=c.pop(),isNaN(a)||(m=2*-a));m<0&&c.length>0;)c.pop(),m++;for(;m>0;)c.push(NaN),m--}}e.tooComplexToFollowFunctions=u;var k=[g];o>g.length&&k.push(new Uint8Array(o-g.length)),I>s&&(uA("TT: complementing a missing function tail"),k.push(new Uint8Array([34,45]))),function(A,e){if(e.length>1){var t,a,i=0;for(t=0,a=e.length;t<a;t++)i+=e[t].length;i=i+3&-4;var n=new Uint8Array(i),r=0;for(t=0,a=e.length;t<a;t++)n.set(e[t],r),r+=e[t].length;A.data=n,A.length=i}}(A,k)}if(tg(e=new Pe(new Uint8Array(e.getBytes())))){var Q=function(A,e){for(var t,a=function(A){var e=A.getString(4);BA("ttcf"===e,"Must be a TrueType Collection font.");for(var t=A.getUint16(),a=A.getUint16(),i=A.getInt32()>>>0,n=[],r=0;r<i;r++)n.push(A.getInt32()>>>0);var g={ttcTag:e,majorVersion:t,minorVersion:a,numFonts:i,offsetTable:n};switch(t){case 1:return g;case 2:return g.dsigTag=A.getInt32()>>>0,g.dsigLength=A.getInt32()>>>0,g.dsigOffset=A.getInt32()>>>0,g}throw new vA("Invalid TrueType Collection majorVersion: ".concat(t,"."))}(A),i=a.numFonts,n=a.offsetTable,g=e.split("+"),s=0;s<i;s++){A.pos=(A.start||0)+n[s];var c=o(A),l=r(A,c.numTables);if(!l.name)throw new vA('TrueType Collection font must contain a "name" table.');for(var h=d(I(l.name),1)[0],u=0,C=h.length;u<C;u++)for(var B=0,Q=h[u].length;B<Q;B++){var E,f=null===(E=h[u][B])||void 0===E?void 0:E.replaceAll(/\s/g,"");if(f){if(f===e)return{header:c,tables:l};if(!(g.length<2)){var y,p=m(g);try{for(p.s();!(y=p.n()).done;){var k=y.value;f===k&&(t={name:k,header:c,tables:l})}}catch(A){p.e(A)}finally{p.f()}}}}}if(t)return uA('TrueType Collection does not contain "'.concat(e,'" font, ')+'falling back to "'.concat(t.name,'" font instead.')),{header:t.header,tables:t.tables};throw new vA('TrueType Collection does not contain "'.concat(e,'" font.'))}(e,this.name);c=Q.header,l=Q.tables}else c=o(e),l=r(e,c.numTables);var E=!l["CFF "];if(E){if(!l.loca)throw new vA('Required "loca" table is not found');l.glyf||(uA('Required "glyf" table is not found -- trying to recover.'),l.glyf={tag:"glyf",data:new Uint8Array(0)}),this.isOpenType=!1}else{var f,y=t.composite&&((null===(f=t.cidToGidMap)||void 0===f?void 0:f.length)>0||!(t.cMap instanceof Si));if("OTTO"===c.version&&!y||!l.head||!l.hhea||!l.maxp||!l.post)return u=new Pe(l["CFF "].data),h=new jn(u,t),Xr(t),this.convert(A,h,t);delete l.glyf,delete l.loca,delete l.fpgm,delete l.prep,delete l["cvt "],this.isOpenType=!0}if(!l.maxp)throw new vA('Required "maxp" table is not found');e.pos=(e.start||0)+l.maxp.offset;var p,k,v=e.getInt32(),w=e.getUint16();if(65536!==v&&20480!==v){if(6===l.maxp.length)v=20480;else{if(!(l.maxp.length>=32))throw new vA('"maxp" table has a wrong version number');v=65536}k=v,(p=l.maxp.data)[3+0]=255&k,p[2]=k>>>8,p[1]=k>>>16,p[0]=k>>>24}if((null===(a=t.scaleFactors)||void 0===a?void 0:a.length)===w&&E){var b=t.scaleFactors,D=zr(l.head.data[50],l.head.data[51]),F=new Br({glyfTable:l.glyf.data,isGlyphLocationsLong:D,locaTable:l.loca.data,numGlyphs:w});F.scale(b);var S=F.write(),R=S.glyf,N=S.loca,G=S.isLocationLong;l.glyf.data=R,l.loca.data=N,G!==!!D&&(l.head.data[50]=0,l.head.data[51]=G?1:0);for(var x=l.hmtx.data,U=0;U<w;U++){var M=4*U,J=Math.round(b[U]*zr(x[M],x[M+1]));x[M]=J>>8&255,x[M+1]=255&J,_r(x,M+2,Math.round(b[U]*$r(x[M+2],x[M+3])))}}var L=w+1,H=!0;L>65535&&(H=!1,L=w,uA("Not enough space in glyfs to duplicate first glyph."));var Y=0,K=0;v>=65536&&l.maxp.length>=32&&(e.pos+=8,e.getUint16()>2&&(l.maxp.data[14]=0,l.maxp.data[15]=2),e.pos+=4,Y=e.getUint16(),e.pos+=4,K=e.getUint16()),l.maxp.data[4]=L>>8,l.maxp.data[5]=255&L;var q=function(A,e,t,a){var i={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(A&&B(A,i),e&&B(e,i),A&&function(A,e){if(!A.tooComplexToFollowFunctions){if(A.functionsDefined.length>e)return uA("TT: more functions defined than expected"),void(A.hintsValid=!1);for(var t=0,a=A.functionsUsed.length;t<a;t++){if(t>e)return uA("TT: invalid function id: "+t),void(A.hintsValid=!1);if(A.functionsUsed[t]&&!A.functionsDefined[t])return uA("TT: undefined function: "+t),void(A.hintsValid=!1)}}}(i,a),t&&1&t.length){var n=new Uint8Array(t.length+1);n.set(t.data),t.data=n}return i.hintsValid}(l.fpgm,l.prep,l["cvt "],Y);if(q||(delete l.fpgm,delete l.prep,delete l["cvt "]),function(A,e,t,a,i,n){if(e){A.pos=(A.start||0)+e.offset,A.pos+=4,A.pos+=2,A.pos+=2,A.pos+=2,A.pos+=2,A.pos+=2,A.pos+=2,A.pos+=2,A.pos+=2,A.pos+=2;var r=A.getUint16();A.pos+=8,A.pos+=2;var g=A.getUint16();0!==r&&(2&zr(a.data[44],a.data[45])||(e.data[22]=0,e.data[23]=0)),g>i&&(hA("The numOfMetrics (".concat(g,") should not be ")+"greater than the numGlyphs (".concat(i,").")),g=i,e.data[34]=(65280&g)>>8,e.data[35]=255&g);var o=i-g-(t.length-4*g>>1);if(o>0){var s=new Uint8Array(t.length+2*o);s.set(t.data),n&&(s[t.length]=t.data[2],s[t.length+1]=t.data[3]),t.data=s}}else t&&(t.data=null)}(e,l.hhea,l.hmtx,l.head,L,H),!l.head)throw new vA('Required "head" table is not found');!function(A,e,t){var a=A.data,i=(a[0]<<24)+(a[1]<<16)+(a[2]<<8)+a[3];i>>16!=1&&(hA("Attempting to fix invalid version in head table: "+i),a[0]=0,a[1]=1,a[2]=0,a[3]=0);var n=zr(a[50],a[51]);if(n<0||n>1){hA("Attempting to fix invalid indexToLocFormat in head table: "+n);var r=e+1;if(t===r<<1)a[50]=0,a[51]=0;else{if(t!==r<<2)throw new vA("Could not fix indexToLocFormat: "+n);a[50]=0,a[51]=1}}}(l.head,w,E?l.loca.length:0);var T=Object.create(null);if(E){var P=zr(l.head.data[50],l.head.data[51]),W=function(A,e,t,a,i,n,r){var g,o,I;a?(g=4,o=function(A,e){return A[e]<<24|A[e+1]<<16|A[e+2]<<8|A[e+3]},I=function(A,e,t){A[e]=t>>>24&255,A[e+1]=t>>16&255,A[e+2]=t>>8&255,A[e+3]=255&t}):(g=2,o=function(A,e){return A[e]<<9|A[e+1]<<1},I=function(A,e,t){A[e]=t>>9&255,A[e+1]=t>>1&255});var c=n?t+1:t,l=g*(1+c),h=new Uint8Array(l);h.set(A.data.subarray(0,l)),A.data=h;var u,C,B=e.data,Q=B.length,E=new Uint8Array(Q),f=[];for(u=0,C=0;u<t+1;u++,C+=g){var d=o(h,C);d>Q&&(d=Q),f.push({index:u,offset:d,endOffset:0})}for(f.sort((function(A,e){return A.offset-e.offset})),u=0;u<t;u++)f[u].endOffset=f[u+1].offset;for(f.sort((function(A,e){return A.index-e.index})),u=0;u<t;u++){var y=f[u],p=y.offset,m=y.endOffset;if(0!==p||0!==m)break;var k=f[u+1].offset;if(0!==k){f[u].endOffset=k;break}}var v=f.at(-2);0!==v.offset&&0===v.endOffset&&(v.endOffset=Q);var w=Object.create(null),b=0;for(I(h,0,b),u=0,C=g;u<t;u++,C+=g){var D=s(B,f[u].offset,f[u].endOffset,E,b,i),F=D.length;0===F&&(w[u]=!0),D.sizeOfInstructions>r&&(r=D.sizeOfInstructions),I(h,C,b+=F)}if(0===b){var S=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(u=0,C=g;u<c;u++,C+=g)I(h,C,S.length);e.data=S}else if(n){var R=o(h,g);E.length>R+b?e.data=E.subarray(0,R+b):(e.data=new Uint8Array(R+b),e.data.set(E.subarray(0,b))),e.data.set(E.subarray(0,R),b),I(A.data,h.length-g,b+R)}else e.data=E.subarray(0,b);return{missingGlyphs:w,maxSizeOfInstructions:r}}(l.loca,l.glyf,w,P,q,H,K);T=W.missingGlyphs,v>=65536&&l.maxp.length>=32&&(l.maxp.data[26]=W.maxSizeOfInstructions>>8,l.maxp.data[27]=255&W.maxSizeOfInstructions)}if(!l.hhea)throw new vA('Required "hhea" table is not found');0===l.hhea.data[10]&&0===l.hhea.data[11]&&(l.hhea.data[10]=255,l.hhea.data[11]=255);var Z={unitsPerEm:zr(l.head.data[18],l.head.data[19]),yMax:$r(l.head.data[42],l.head.data[43]),yMin:$r(l.head.data[38],l.head.data[39]),ascent:$r(l.hhea.data[4],l.hhea.data[5]),descent:$r(l.hhea.data[6],l.hhea.data[7]),lineGap:$r(l.hhea.data[8],l.hhea.data[9])};this.ascent=Z.ascent/Z.unitsPerEm,this.descent=Z.descent/Z.unitsPerEm,this.lineGap=Z.lineGap/Z.unitsPerEm,null!==(i=this.cssFontInfo)&&void 0!==i&&i.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,l.post&&function(A,t,a){var i=(e.start||0)+A.offset;e.pos=i;var n,r=i+A.length,g=e.getInt32();e.skip(28);var o,s=!0;switch(g){case 65536:n=xn;break;case 131072:var I=e.getUint16();if(I!==a){s=!1;break}var c=[];for(o=0;o<I;++o){var l=e.getUint16();if(l>=32768){s=!1;break}c.push(l)}if(!s)break;for(var h=[],u=[];e.pos<r;){var C=e.getByte();for(u.length=C,o=0;o<C;++o)u[o]=String.fromCharCode(e.getByte());h.push(u.join(""))}for(n=[],o=0;o<I;++o){var B=c[o];B<258?n.push(xn[B]):n.push(h[B-258])}break;case 196608:break;default:uA("Unknown/unsupported post table version "+g),s=!1,t.defaultEncoding&&(n=t.defaultEncoding)}t.glyphNames=n}(l.post,t,w),l.post={tag:"post",data:cg(t)};var O=Object.create(null);function X(A){return!T[A]}if(t.composite){var V=t.cidToGidMap||[],j=0===V.length;t.cMap.forEach((function(A,e){if("string"==typeof e&&(e=gg(A,e,!0)),e>65535)throw new vA("Max size of CID is 65,535");var t=-1;j?t=e:void 0!==V[e]&&(t=V[e]),t>=0&&t<w&&X(t)&&(O[A]=t)}))}else{var z=function(A,e,t,a){if(!A)return uA("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var i,n=(e.start||0)+A.offset;e.pos=n,e.skip(2);for(var r,g=e.getUint16(),o=!1,s=0;s<g;s++){var I,c,l=e.getUint16(),h=e.getUint16(),u=e.getInt32()>>>0,C=!1;if((null===(I=r)||void 0===I?void 0:I.platformId)!==l||(null===(c=r)||void 0===c?void 0:c.encodingId)!==h){if(0!==l||0!==h&&1!==h&&3!==h)if(1===l&&0===h)C=!0;else if(3!==l||1!==h||!a&&r){if(t&&3===l&&0===h){C=!0;var B=!0;if(s<g-1){var Q=e.peekBytes(2);zr(Q[0],Q[1])<l&&(B=!1)}B&&(o=!0)}}else C=!0,t||(o=!0);else C=!0;if(C&&(r={platformId:l,encodingId:h,offset:u}),o)break}}if(r&&(e.pos=n+r.offset),!r||-1===e.peekByte())return uA("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var E,f,d=e.getUint16(),y=!1,p=[];if(0===d){for(e.skip(4),E=0;E<256;E++){var m=e.getByte();m&&p.push({charCode:E,glyphId:m})}y=!0}else if(2===d){e.skip(4);for(var k=[],v=0,w=0;w<256;w++){var b=e.getUint16()>>3;k.push(b),v=Math.max(b,v)}for(var D=[],F=0;F<=v;F++)D.push({firstCode:e.getUint16(),entryCount:e.getUint16(),idDelta:$r(e.getByte(),e.getByte()),idRangePos:e.pos+e.getUint16()});for(var S=0;S<256;S++)if(0===k[S])e.pos=D[0].idRangePos+2*S,f=e.getUint16(),p.push({charCode:S,glyphId:f});else{var R=D[k[S]];for(E=0;E<R.entryCount;E++){var N=(S<<8)+E+R.firstCode;e.pos=R.idRangePos+2*E,0!==(f=e.getUint16())&&(f=(f+R.idDelta)%65536),p.push({charCode:N,glyphId:f})}}}else if(4===d){e.skip(4);var G=e.getUint16()>>1;e.skip(6);var x,U=[];for(x=0;x<G;x++)U.push({end:e.getUint16()});for(e.skip(2),x=0;x<G;x++)U[x].start=e.getUint16();for(x=0;x<G;x++)U[x].delta=e.getUint16();var M,J=0;for(x=0;x<G;x++){i=U[x];var L=e.getUint16();L?(M=(L>>1)-(G-x),i.offsetIndex=M,J=Math.max(J,M+i.end-i.start+1)):i.offsetIndex=-1}var H=[];for(E=0;E<J;E++)H.push(e.getUint16());for(x=0;x<G;x++){n=(i=U[x]).start;var Y=i.end,K=i.delta;for(M=i.offsetIndex,E=n;E<=Y;E++)65535!==E&&(f=(f=M<0?E:H[M+E-n])+K&65535,p.push({charCode:E,glyphId:f}))}}else if(6===d){e.skip(4);var q=e.getUint16(),T=e.getUint16();for(E=0;E<T;E++){f=e.getUint16();var P=q+E;p.push({charCode:P,glyphId:f})}}else{if(12!==d)return uA("cmap table has unsupported format: "+d),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};e.skip(10);var W=e.getInt32()>>>0;for(E=0;E<W;E++)for(var Z=e.getInt32()>>>0,O=e.getInt32()>>>0,X=e.getInt32()>>>0,V=Z;V<=O;V++)p.push({charCode:V,glyphId:X++})}p.sort((function(A,e){return A.charCode-e.charCode}));for(var j=1;j<p.length;j++)p[j-1].charCode===p[j].charCode&&(p.splice(j,1),j--);return{platformId:r.platformId,encodingId:r.encodingId,mappings:p,hasShortCmap:y}}(l.cmap,e,this.isSymbolicFont,t.hasEncoding),_=z.platformId,$=z.encodingId,AA=z.mappings,eA=[],tA=!1;if(!t.hasEncoding||"MacRomanEncoding"!==t.baseEncodingName&&"WinAnsiEncoding"!==t.baseEncodingName||(eA=nn(t.baseEncodingName)),t.hasEncoding&&!this.isSymbolicFont&&(3===_&&1===$||1===_&&0===$))for(var aA=vn(),iA=0;iA<256;iA++){var nA;if(nA=void 0!==this.differences[iA]?this.differences[iA]:eA.length&&""!==eA[iA]?eA[iA]:An[iA]){var rA=Un(nA,aA),gA=void 0;if(3===_&&1===$?gA=aA[rA]:1===_&&0===$&&(gA=$i.indexOf(rA)),void 0===gA){if(!t.glyphNames&&t.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof Vn)){var oA=this.toUnicode.get(iA);oA&&(gA=oA.codePointAt(0))}if(void 0===gA)continue}var sA,IA=m(AA);try{for(IA.s();!(sA=IA.n()).done;){var cA=sA.value;if(cA.charCode===gA){O[iA]=cA.glyphId;break}}}catch(A){IA.e(A)}finally{IA.f()}}}else if(0===_){var lA,CA=m(AA);try{for(CA.s();!(lA=CA.n()).done;){var QA=lA.value;O[QA.charCode]=QA.glyphId}}catch(A){CA.e(A)}finally{CA.f()}tA=!0}else if(3===_&&0===$){var EA,fA=m(AA);try{for(fA.s();!(EA=fA.n()).done;){var dA=EA.value,yA=dA.charCode;yA>=61440&&yA<=61695&&(yA&=255),O[yA]=dA.glyphId}}catch(A){fA.e(A)}finally{fA.f()}}else{var pA,mA=m(AA);try{for(mA.s();!(pA=mA.n()).done;){var kA=pA.value;O[kA.charCode]=kA.glyphId}}catch(A){mA.e(A)}finally{mA.f()}}if(t.glyphNames&&(eA.length||this.differences.length))for(var wA=0;wA<256;++wA)if(tA||void 0===O[wA]){var bA=this.differences[wA]||eA[wA];if(bA){var DA=t.glyphNames.indexOf(bA);DA>0&&X(DA)&&(O[wA]=DA)}}}0===O.length&&(O[0]=0);var FA=L-1;if(H||(FA=0),!t.cssFontInfo){var SA=og(O,X,FA,this.toUnicode);this.toFontChar=SA.toFontChar,l.cmap={tag:"cmap",data:sg(SA.charCodeToGlyphId,SA.toUnicodeExtraMap,L)},l["OS/2"]&&function(A,e){e.pos=(e.start||0)+A.offset;var t=e.getUint16();e.skip(60);var a=e.getUint16();return!(t<4&&768&a||e.getUint16()>e.getUint16()||(e.skip(6),0===e.getUint16()||(A.data[8]=A.data[9]=0,0)))}(l["OS/2"],e)||(l["OS/2"]={tag:"OS/2",data:Ig(t,SA.charCodeToGlyphId,Z)})}if(!E)try{u=new Pe(l["CFF "].data),(h=new sn(u,t,Gn).parse()).duplicateFirstGlyph();var RA=new kn(h);l["CFF "].data=RA.compile()}catch(A){uA("Failed to compile font "+t.loadedName)}if(l.name){var NA=d(I(l.name),2),GA=NA[0],xA=NA[1];l.name.data=hg(A,GA),this.psName=GA[0][6]||null,t.composite||function(A,e,t){if(!A.isInternalFont&&!A.hasIncludedToUnicodeMap&&!A.hasEncoding&&!(A.toUnicode instanceof Vn)&&e&&0!==t.length&&A.defaultEncoding!==en){var a,i=m(t);try{for(i.s();!(a=i.n()).done;)if(!rg(a.value))return}catch(A){i.e(A)}finally{i.f()}var n=en,r=[],g=vn();for(var o in n){var s=n[o];if(""!==s){var I=g[s];void 0!==I&&(r[o]=String.fromCharCode(I))}}r.length>0&&A.toUnicode.amend(r)}}(t,this.isSymbolicFont,xA)}else l.name={tag:"name",data:hg(this.name)};var UA=new vr(c.version);for(var MA in l)UA.addTable(MA,l[MA].data);return UA.toArray()}},{key:"convert",value:function(A,e,t){t.fixedPitch=!1,t.builtInEncoding&&function(A,e){if(!A.isInternalFont&&!(A.hasIncludedToUnicodeMap||e===A.defaultEncoding||A.toUnicode instanceof Vn)){var t=[],a=vn();for(var i in e)if(!A.hasEncoding||!A.baseEncodingName&&void 0===A.differences[i]){var n=Dn(e[i],a);-1!==n&&(t[i]=String.fromCharCode(n))}t.length>0&&A.toUnicode.amend(t)}}(t,t.builtInEncoding);var a=1;e instanceof jn&&(a=e.numGlyphs-1);var i=e.getGlyphMapping(t),n=null,r=i,g=null;t.cssFontInfo||(n=og(i,e.hasGlyphId.bind(e),a,this.toUnicode),this.toFontChar=n.toFontChar,r=n.charCodeToGlyphId,g=n.toUnicodeExtraMap);var o=e.numGlyphs;function s(A,e){var t=null;for(var a in A)e===A[a]&&(t||(t=[])).push(0|a);return t}function I(A,e){for(var t in A)if(e===A[t])return 0|t;return n.charCodeToGlyphId[n.nextAvailableFontCharCode]=e,n.nextAvailableFontCharCode++}var c=e.seacs;if(n&&null!=c&&c.length){var l=t.fontMatrix||K,h=e.getCharset(),u=Object.create(null);for(var C in c){var B=c[C|=0],Q=An[B[2]],E=An[B[3]],f=h.indexOf(Q),d=h.indexOf(E);if(!(f<0||d<0)){var y={x:B[0]*l[0]+B[1]*l[2]+l[4],y:B[0]*l[1]+B[1]*l[3]+l[5]},p=s(i,C);if(p){var k,v=m(p);try{for(v.s();!(k=v.n()).done;){var w=k.value,b=n.charCodeToGlyphId,D=I(b,f),F=I(b,d);u[w]={baseFontCharCode:D,accentFontCharCode:F,accentOffset:y}}}catch(A){v.e(A)}finally{v.f()}}}}t.seacMap=u}var S=1/(t.fontMatrix||K)[0],R=new vr("OTTO");return R.addTable("CFF ",e.data),R.addTable("OS/2",Ig(t,r)),R.addTable("cmap",sg(r,g,o)),R.addTable("head","\0\0\0\0\0\0\0\0\0\0_<õ\0\0"+eg(S)+"\0\0\0\0\v~'\0\0\0\0\v~'\0\0"+eg(t.descent)+"ÿ"+eg(t.ascent)+Ag(t.italicAngle?2:0)+"\0\0\0\0\0\0\0"),R.addTable("hhea","\0\0\0"+eg(t.ascent)+eg(t.descent)+"\0\0ÿÿ\0\0\0\0\0\0"+eg(t.capHeight)+eg(Math.tan(t.italicAngle)*t.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+Ag(o)),R.addTable("hmtx",function(){for(var A=e.charstrings,t=e.cff?e.cff.widths:null,a="\0\0\0\0",i=1,n=o;i<n;i++){var r=0;if(A){var g=A[i-1];r="width"in g?g.width:0}else t&&(r=Math.ceil(t[i]||0));a+=Ag(r)+Ag(0)}return a}()),R.addTable("maxp","\0\0P\0"+Ag(o)),R.addTable("name",hg(A)),R.addTable("post",cg(t)),R.toArray()}},{key:"_charToGlyph",value:function(A){var e,t,a,i,n,r,g,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this._glyphCache[A];if((null===(e=s)||void 0===e?void 0:e.isSpace)===o)return s;var I=A;null!==(t=this.cMap)&&void 0!==t&&t.contains(A)&&"string"==typeof(I=this.cMap.lookup(A))&&(I=gg(A,I)),"number"!=typeof(r=this.widths[I])&&(r=this.defaultWidth);var c=null===(a=this.vmetrics)||void 0===a?void 0:a[I],l=this.toUnicode.get(A)||A;"number"==typeof l&&(l=String.fromCharCode(l));var h,u=void 0!==this.toFontChar[A];if(n=this.toFontChar[A]||A,this.missingFile){var C=this.differences[A]||this.defaultEncoding[A];".notdef"!==C&&""!==C||"Type1"!==this.type||(n=32),n=(h=n)>=65520&&h<=65535?0:h>=62976&&h<=63743?bn()[h]||h:173===h?45:h}this.isType3Font&&(g=n);var B=null;if(null!==(i=this.seacMap)&&void 0!==i&&i[A]){u=!0;var Q=this.seacMap[A];n=Q.baseFontCharCode,B={fontChar:String.fromCodePoint(Q.accentFontCharCode),offset:Q.accentOffset}}var E="";return"number"==typeof n&&(n<=1114111?E=String.fromCodePoint(n):uA("charToGlyph - invalid fontCharCode: ".concat(n))),s=new jr(A,E,l,B,r,c,g,o,u),this._glyphCache[A]=s}},{key:"charsToGlyphs",value:function(A){var e=this._charsCache[A];if(e)return e;if(e=[],this.cMap)for(var t=Object.create(null),a=A.length,i=0;i<a;){this.cMap.readCharCode(A,i,t);var n=t.charcode,r=t.length;i+=r;var g=this._charToGlyph(n,1===r&&32===A.charCodeAt(i-1));e.push(g)}else for(var o=0,s=A.length;o<s;++o){var I=A.charCodeAt(o),c=this._charToGlyph(I,32===I);e.push(c)}return this._charsCache[A]=e}},{key:"getCharPositions",value:function(A){var e=[];if(this.cMap)for(var t=Object.create(null),a=0;a<A.length;){this.cMap.readCharCode(A,a,t);var i=t.length;e.push([a,a+i]),a+=i}else for(var n=0,r=A.length;n<r;++n)e.push([n,n+1]);return e}},{key:"glyphCacheValues",get:function(){return Object.values(this._glyphCache)}},{key:"encodeString",value:function(A){for(var e=this,t=[],a=[],i=function(){return t.length%2==1},n=this.toUnicode instanceof Vn?function(A){return e.toUnicode.charCodeOf(A)}:function(A){return e.toUnicode.charCodeOf(String.fromCodePoint(A))},r=0,g=A.length;r<g;r++){var o=A.codePointAt(r);if(o>55295&&(o<57344||o>65533)&&r++,this.toUnicode){var s=n(o);if(-1!==s){i()&&(t.push(a.join("")),a.length=0);for(var I=(this.cMap?this.cMap.getCharCodeLength(s):1)-1;I>=0;I--)a.push(String.fromCharCode(s>>8*I&255));continue}}i()||(t.push(a.join("")),a.length=0),a.push(String.fromCodePoint(o))}return t.push(a.join("")),t}}])}(),Cg=function(){return b((function A(e){F(this,A),this.error=e,this.loadedName="g_font_error",this.missingFile=!0}),[{key:"charsToGlyphs",value:function(){return[]}},{key:"encodeString",value:function(A){return[A]}},{key:"exportData",value:function(){return{error:this.error}}}])}(),Bg=function(){return b((function A(){F(this,A),CA("Cannot initialize Pattern.")}),null,[{key:"parseShading",value:function(A,e,t,a,i){var n=A instanceof re?A.dict:A,r=n.get("ShadingType");try{switch(r){case 2:case 3:return new Eg(n,e,t,a,i);case 4:case 5:case 6:case 7:return new pg(A,e,t,a,i);default:throw new vA("Unsupported ShadingType: "+r)}}catch(A){if(A instanceof se)throw A;return uA(A),new mg}}}])}(),Qg=function(){return b((function A(){F(this,A),this.constructor===A&&CA("Cannot initialize BaseShading.")}),[{key:"getIR",value:function(){CA("Abstract method `getIR` called.")}}])}();s(Qg,"SMALL_NUMBER",1e-6);var Eg=function(A){function e(A,t,a,i,n){var r;F(this,e),(r=S(this,e)).shadingType=A.get("ShadingType");var g=0;if(2===r.shadingType?g=4:3===r.shadingType&&(g=6),r.coordsArr=A.getArray("Coords"),!pe(r.coordsArr,g))throw new vA("RadialAxialShading: Invalid /Coords array.");var o=Ve.parse({cs:A.getRaw("CS")||A.getRaw("ColorSpace"),xref:t,resources:a,pdfFunctionFactory:i,localColorSpaceCache:n});r.bbox=ve(A.getArray("BBox"),null);var s=0,I=1,c=A.getArray("Domain");if(pe(c,2)){var l=d(c,2);s=l[0],I=l[1]}var h,u=!1,C=!1,B=A.getArray("Extend");if(h=B,Array.isArray(h)&&2===h.length&&h.every((function(A){return"boolean"==typeof A}))){var Q=d(B,2);u=Q[0],C=Q[1]}if(!(3!==r.shadingType||u&&C)){var E=d(r.coordsArr,6),f=E[0],y=E[1],p=E[2],m=E[3],k=E[4],v=E[5],w=Math.hypot(f-m,y-k);p<=v+w&&v<=p+w&&uA("Unsupported radial gradient.")}r.extendStart=u,r.extendEnd=C;var b=A.getRaw("Function"),D=i.createFromArray(b),N=(I-s)/840,G=r.colorStops=[];if(s>=I||N<=0)return hA("Bad shading domain."),R(r);var x,U=new Float32Array(o.numComps),M=new Float32Array(1),J=0;M[0]=s,D(M,0,U,0);var L=o.getRgb(U,0),H=GA.makeHexColor(L[0],L[1],L[2]);G.push([0,H]);var Y=1;M[0]=s+N,D(M,0,U,0);for(var K=o.getRgb(U,0),q=K[0]-L[0]+1,T=K[1]-L[1]+1,P=K[2]-L[2]+1,W=K[0]-L[0]-1,Z=K[1]-L[1]-1,O=K[2]-L[2]-1,X=2;X<840;X++){M[0]=s+X*N,D(M,0,U,0),x=o.getRgb(U,0);var V=X-J;if(q=Math.min(q,(x[0]-L[0]+1)/V),T=Math.min(T,(x[1]-L[1]+1)/V),P=Math.min(P,(x[2]-L[2]+1)/V),W=Math.max(W,(x[0]-L[0]-1)/V),Z=Math.max(Z,(x[1]-L[1]-1)/V),O=Math.max(O,(x[2]-L[2]-1)/V),!(W<=q&&Z<=T&&O<=P)){var j=GA.makeHexColor(K[0],K[1],K[2]);G.push([Y/840,j]),q=x[0]-K[0]+1,T=x[1]-K[1]+1,P=x[2]-K[2]+1,W=x[0]-K[0]-1,Z=x[1]-K[1]-1,O=x[2]-K[2]-1,J=Y,L=K}Y=X,K=x}var z=GA.makeHexColor(K[0],K[1],K[2]);G.push([1,z]);var _="transparent";return A.has("Background")&&(x=o.getRgb(A.get("Background"),0),_=GA.makeHexColor(x[0],x[1],x[2])),u||(G.unshift([0,_]),G[1][0]+=Qg.SMALL_NUMBER),C||(G.at(-1)[0]-=Qg.SMALL_NUMBER,G.push([1,_])),r.colorStops=G,r}return x(e,A),b(e,[{key:"getIR",value:function(){var A,e,t,a,i,n=this.coordsArr,r=this.shadingType;return 2===r?(e=[n[0],n[1]],t=[n[2],n[3]],a=null,i=null,A="axial"):3===r?(e=[n[0],n[1]],t=[n[3],n[4]],a=n[2],i=n[5],A="radial"):CA("getPattern type unknown: ".concat(r)),["RadialAxial",A,this.bbox,this.colorStops,e,t,a,i]}}])}(Qg),fg=function(){return b((function A(e,t){F(this,A),this.stream=e,this.context=t,this.buffer=0,this.bufferLength=0;var a=t.numComps;this.tmpCompsBuf=new Float32Array(a);var i=t.colorSpace.numComps;this.tmpCsCompsBuf=t.colorFn?new Float32Array(i):this.tmpCompsBuf}),[{key:"hasData",get:function(){if(this.stream.end)return this.stream.pos<this.stream.end;if(this.bufferLength>0)return!0;var A=this.stream.getByte();return!(A<0||(this.buffer=A,this.bufferLength=8,0))}},{key:"readBits",value:function(A){var e=this.buffer,t=this.bufferLength;if(32===A){if(0===t)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;e=e<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();var a=this.stream.getByte();return this.buffer=a&(1<<t)-1,(e<<8-t|(255&a)>>t)>>>0}if(8===A&&0===t)return this.stream.getByte();for(;t<A;)e=e<<8|this.stream.getByte(),t+=8;return t-=A,this.bufferLength=t,this.buffer=e&(1<<t)-1,e>>t}},{key:"align",value:function(){this.buffer=0,this.bufferLength=0}},{key:"readFlag",value:function(){return this.readBits(this.context.bitsPerFlag)}},{key:"readCoordinate",value:function(){var A=this.context.bitsPerCoordinate,e=this.readBits(A),t=this.readBits(A),a=this.context.decode,i=A<32?1/((1<<A)-1):2.3283064365386963e-10;return[e*i*(a[1]-a[0])+a[0],t*i*(a[3]-a[2])+a[2]]}},{key:"readComponents",value:function(){for(var A=this.context.numComps,e=this.context.bitsPerComponent,t=e<32?1/((1<<e)-1):2.3283064365386963e-10,a=this.context.decode,i=this.tmpCompsBuf,n=0,r=4;n<A;n++,r+=2){var g=this.readBits(e);i[n]=g*t*(a[r+1]-a[r])+a[r]}var o=this.tmpCsCompsBuf;return this.context.colorFn&&this.context.colorFn(i,0,o,0),this.context.colorSpace.getRgb(o,0)}}])}(),dg=Object.create(null);function yg(A){var e;return(e=dg)[A]||(e[A]=function(A){for(var e=[],t=0;t<=A;t++){var a=t/A,i=1-a;e.push(new Float32Array([Math.pow(i,3),3*a*Math.pow(i,2),3*Math.pow(a,2)*i,Math.pow(a,3)]))}return e}(A))}var pg=function(A){function e(A,t,a,i,n){var r;if(F(this,e),r=S(this,e),!(A instanceof re))throw new vA("Mesh data is not a stream");var g=A.dict;r.shadingType=g.get("ShadingType"),r.bbox=ve(g.getArray("BBox"),null);var o=Ve.parse({cs:g.getRaw("CS")||g.getRaw("ColorSpace"),xref:t,resources:a,pdfFunctionFactory:i,localColorSpaceCache:n});r.background=g.has("Background")?o.getRgb(g.get("Background"),0):null;var s=g.getRaw("Function"),I=s?i.createFromArray(s):null;r.coords=[],r.colors=[],r.figures=[];var c={bitsPerCoordinate:g.get("BitsPerCoordinate"),bitsPerComponent:g.get("BitsPerComponent"),bitsPerFlag:g.get("BitsPerFlag"),decode:g.getArray("Decode"),colorFn:I,colorSpace:o,numComps:I?1:o.numComps},l=new fg(A,c),h=!1;switch(r.shadingType){case 4:r._decodeType4Shading(l);break;case 5:var u=0|g.get("VerticesPerRow");if(u<2)throw new vA("Invalid VerticesPerRow");r._decodeType5Shading(l,u);break;case 6:r._decodeType6Shading(l),h=!0;break;case 7:r._decodeType7Shading(l),h=!0;break;default:CA("Unsupported mesh type.")}if(h){r._updateBounds();for(var C=0,B=r.figures.length;C<B;C++)r._buildFigureFromPatch(C)}return r._updateBounds(),r._packData(),r}return x(e,A),b(e,[{key:"_decodeType4Shading",value:function(A){for(var e=this.coords,t=this.colors,a=[],i=[],n=0;A.hasData;){var r=A.readFlag(),g=A.readCoordinate(),o=A.readComponents();if(0===n){if(!(0<=r&&r<=2))throw new vA("Unknown type4 flag");switch(r){case 0:n=3;break;case 1:i.push(i.at(-2),i.at(-1)),n=1;break;case 2:i.push(i.at(-3),i.at(-1)),n=1}a.push(r)}i.push(e.length),e.push(g),t.push(o),n--,A.align()}this.figures.push({type:"triangles",coords:new Int32Array(i),colors:new Int32Array(i)})}},{key:"_decodeType5Shading",value:function(A,e){for(var t=this.coords,a=this.colors,i=[];A.hasData;){var n=A.readCoordinate(),r=A.readComponents();i.push(t.length),t.push(n),a.push(r)}this.figures.push({type:"lattice",coords:new Int32Array(i),colors:new Int32Array(i),verticesPerRow:e})}},{key:"_decodeType6Shading",value:function(A){for(var e=this.coords,t=this.colors,a=new Int32Array(16),i=new Int32Array(4);A.hasData;){var n=A.readFlag();if(!(0<=n&&n<=3))throw new vA("Unknown type6 flag");for(var r=e.length,g=0,o=0!==n?8:12;g<o;g++)e.push(A.readCoordinate());for(var s=t.length,I=0,c=0!==n?2:4;I<c;I++)t.push(A.readComponents());var l=void 0,h=void 0,u=void 0,C=void 0;switch(n){case 0:a[12]=r+3,a[13]=r+4,a[14]=r+5,a[15]=r+6,a[8]=r+2,a[11]=r+7,a[4]=r+1,a[7]=r+8,a[0]=r,a[1]=r+11,a[2]=r+10,a[3]=r+9,i[2]=s+1,i[3]=s+2,i[0]=s,i[1]=s+3;break;case 1:l=a[12],h=a[13],u=a[14],C=a[15],a[12]=C,a[13]=r+0,a[14]=r+1,a[15]=r+2,a[8]=u,a[11]=r+3,a[4]=h,a[7]=r+4,a[0]=l,a[1]=r+7,a[2]=r+6,a[3]=r+5,l=i[2],h=i[3],i[2]=h,i[3]=s,i[0]=l,i[1]=s+1;break;case 2:l=a[15],h=a[11],a[12]=a[3],a[13]=r+0,a[14]=r+1,a[15]=r+2,a[8]=a[7],a[11]=r+3,a[4]=h,a[7]=r+4,a[0]=l,a[1]=r+7,a[2]=r+6,a[3]=r+5,l=i[3],i[2]=i[1],i[3]=s,i[0]=l,i[1]=s+1;break;case 3:a[12]=a[0],a[13]=r+0,a[14]=r+1,a[15]=r+2,a[8]=a[1],a[11]=r+3,a[4]=a[2],a[7]=r+4,a[0]=a[3],a[1]=r+7,a[2]=r+6,a[3]=r+5,i[2]=i[0],i[3]=s,i[0]=i[1],i[1]=s+1}a[5]=e.length,e.push([(-4*e[a[0]][0]-e[a[15]][0]+6*(e[a[4]][0]+e[a[1]][0])-2*(e[a[12]][0]+e[a[3]][0])+3*(e[a[13]][0]+e[a[7]][0]))/9,(-4*e[a[0]][1]-e[a[15]][1]+6*(e[a[4]][1]+e[a[1]][1])-2*(e[a[12]][1]+e[a[3]][1])+3*(e[a[13]][1]+e[a[7]][1]))/9]),a[6]=e.length,e.push([(-4*e[a[3]][0]-e[a[12]][0]+6*(e[a[2]][0]+e[a[7]][0])-2*(e[a[0]][0]+e[a[15]][0])+3*(e[a[4]][0]+e[a[14]][0]))/9,(-4*e[a[3]][1]-e[a[12]][1]+6*(e[a[2]][1]+e[a[7]][1])-2*(e[a[0]][1]+e[a[15]][1])+3*(e[a[4]][1]+e[a[14]][1]))/9]),a[9]=e.length,e.push([(-4*e[a[12]][0]-e[a[3]][0]+6*(e[a[8]][0]+e[a[13]][0])-2*(e[a[0]][0]+e[a[15]][0])+3*(e[a[11]][0]+e[a[1]][0]))/9,(-4*e[a[12]][1]-e[a[3]][1]+6*(e[a[8]][1]+e[a[13]][1])-2*(e[a[0]][1]+e[a[15]][1])+3*(e[a[11]][1]+e[a[1]][1]))/9]),a[10]=e.length,e.push([(-4*e[a[15]][0]-e[a[0]][0]+6*(e[a[11]][0]+e[a[14]][0])-2*(e[a[12]][0]+e[a[3]][0])+3*(e[a[2]][0]+e[a[8]][0]))/9,(-4*e[a[15]][1]-e[a[0]][1]+6*(e[a[11]][1]+e[a[14]][1])-2*(e[a[12]][1]+e[a[3]][1])+3*(e[a[2]][1]+e[a[8]][1]))/9]),this.figures.push({type:"patch",coords:new Int32Array(a),colors:new Int32Array(i)})}}},{key:"_decodeType7Shading",value:function(A){for(var e=this.coords,t=this.colors,a=new Int32Array(16),i=new Int32Array(4);A.hasData;){var n=A.readFlag();if(!(0<=n&&n<=3))throw new vA("Unknown type7 flag");for(var r=e.length,g=0,o=0!==n?12:16;g<o;g++)e.push(A.readCoordinate());for(var s=t.length,I=0,c=0!==n?2:4;I<c;I++)t.push(A.readComponents());var l=void 0,h=void 0,u=void 0,C=void 0;switch(n){case 0:a[12]=r+3,a[13]=r+4,a[14]=r+5,a[15]=r+6,a[8]=r+2,a[9]=r+13,a[10]=r+14,a[11]=r+7,a[4]=r+1,a[5]=r+12,a[6]=r+15,a[7]=r+8,a[0]=r,a[1]=r+11,a[2]=r+10,a[3]=r+9,i[2]=s+1,i[3]=s+2,i[0]=s,i[1]=s+3;break;case 1:l=a[12],h=a[13],u=a[14],C=a[15],a[12]=C,a[13]=r+0,a[14]=r+1,a[15]=r+2,a[8]=u,a[9]=r+9,a[10]=r+10,a[11]=r+3,a[4]=h,a[5]=r+8,a[6]=r+11,a[7]=r+4,a[0]=l,a[1]=r+7,a[2]=r+6,a[3]=r+5,l=i[2],h=i[3],i[2]=h,i[3]=s,i[0]=l,i[1]=s+1;break;case 2:l=a[15],h=a[11],a[12]=a[3],a[13]=r+0,a[14]=r+1,a[15]=r+2,a[8]=a[7],a[9]=r+9,a[10]=r+10,a[11]=r+3,a[4]=h,a[5]=r+8,a[6]=r+11,a[7]=r+4,a[0]=l,a[1]=r+7,a[2]=r+6,a[3]=r+5,l=i[3],i[2]=i[1],i[3]=s,i[0]=l,i[1]=s+1;break;case 3:a[12]=a[0],a[13]=r+0,a[14]=r+1,a[15]=r+2,a[8]=a[1],a[9]=r+9,a[10]=r+10,a[11]=r+3,a[4]=a[2],a[5]=r+8,a[6]=r+11,a[7]=r+4,a[0]=a[3],a[1]=r+7,a[2]=r+6,a[3]=r+5,i[2]=i[0],i[3]=s,i[0]=i[1],i[1]=s+1}this.figures.push({type:"patch",coords:new Int32Array(a),colors:new Int32Array(i)})}}},{key:"_buildFigureFromPatch",value:function(A){var t=this.figures[A];BA("patch"===t.type,"Unexpected patch mesh figure");var a=this.coords,i=this.colors,n=t.coords,r=t.colors,g=Math.min(a[n[0]][0],a[n[3]][0],a[n[12]][0],a[n[15]][0]),o=Math.min(a[n[0]][1],a[n[3]][1],a[n[12]][1],a[n[15]][1]),s=Math.max(a[n[0]][0],a[n[3]][0],a[n[12]][0],a[n[15]][0]),I=Math.max(a[n[0]][1],a[n[3]][1],a[n[12]][1],a[n[15]][1]),c=Math.ceil((s-g)*e.TRIANGLE_DENSITY/(this.bounds[2]-this.bounds[0]));c=Math.max(e.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(e.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,c));var l=Math.ceil((I-o)*e.TRIANGLE_DENSITY/(this.bounds[3]-this.bounds[1]));l=Math.max(e.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(e.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,l));for(var h=c+1,u=new Int32Array((l+1)*h),C=new Int32Array((l+1)*h),B=0,Q=new Uint8Array(3),E=new Uint8Array(3),f=i[r[0]],d=i[r[1]],y=i[r[2]],p=i[r[3]],m=yg(l),k=yg(c),v=0;v<=l;v++){Q[0]=(f[0]*(l-v)+y[0]*v)/l|0,Q[1]=(f[1]*(l-v)+y[1]*v)/l|0,Q[2]=(f[2]*(l-v)+y[2]*v)/l|0,E[0]=(d[0]*(l-v)+p[0]*v)/l|0,E[1]=(d[1]*(l-v)+p[1]*v)/l|0,E[2]=(d[2]*(l-v)+p[2]*v)/l|0;for(var w=0;w<=c;w++,B++)if(0!==v&&v!==l||0!==w&&w!==c){for(var b=0,D=0,F=0,S=0;S<=3;S++)for(var R=0;R<=3;R++,F++){var N=m[v][S]*k[w][R];b+=a[n[F]][0]*N,D+=a[n[F]][1]*N}u[B]=a.length,a.push([b,D]),C[B]=i.length;var G=new Uint8Array(3);G[0]=(Q[0]*(c-w)+E[0]*w)/c|0,G[1]=(Q[1]*(c-w)+E[1]*w)/c|0,G[2]=(Q[2]*(c-w)+E[2]*w)/c|0,i.push(G)}}u[0]=n[0],C[0]=r[0],u[c]=n[3],C[c]=r[1],u[h*l]=n[12],C[h*l]=r[2],u[h*l+c]=n[15],C[h*l+c]=r[3],this.figures[A]={type:"lattice",coords:u,colors:C,verticesPerRow:h}}},{key:"_updateBounds",value:function(){for(var A=this.coords[0][0],e=this.coords[0][1],t=A,a=e,i=1,n=this.coords.length;i<n;i++){var r=this.coords[i][0],g=this.coords[i][1];A=A>r?r:A,e=e>g?g:e,t=t<r?r:t,a=a<g?g:a}this.bounds=[A,e,t,a]}},{key:"_packData",value:function(){var A,e,t,a,i=this.coords,n=new Float32Array(2*i.length);for(A=0,t=0,e=i.length;A<e;A++){var r=i[A];n[t++]=r[0],n[t++]=r[1]}this.coords=n;var g=this.colors,o=new Uint8Array(3*g.length);for(A=0,t=0,e=g.length;A<e;A++){var s=g[A];o[t++]=s[0],o[t++]=s[1],o[t++]=s[2]}this.colors=o;var I=this.figures;for(A=0,e=I.length;A<e;A++){var c=I[A],l=c.coords,h=c.colors;for(t=0,a=l.length;t<a;t++)l[t]*=2,h[t]*=3}}},{key:"getIR",value:function(){var A=this.bounds;if(A[2]-A[0]==0||A[3]-A[1]==0)throw new vA("Invalid MeshShading bounds: [".concat(A,"]."));return["Mesh",this.shadingType,this.coords,this.colors,this.figures,A,this.bbox,this.background]}}])}(Qg);s(pg,"MIN_SPLIT_PATCH_CHUNKS_AMOUNT",3),s(pg,"MAX_SPLIT_PATCH_CHUNKS_AMOUNT",20),s(pg,"TRIANGLE_DENSITY",20);var mg=function(A){function e(){return F(this,e),S(this,e,arguments)}return x(e,A),b(e,[{key:"getIR",value:function(){return["Dummy"]}}])}(Qg);function kg(A,e,t){var a=me(e.getArray("Matrix"),Y),i=ve(e.getArray("BBox"),null);if(!i||i[2]-i[0]==0||i[3]-i[1]==0)throw new vA("Invalid getTilingPatternIR /BBox array.");var n=e.get("XStep");if("number"!=typeof n)throw new vA("Invalid getTilingPatternIR /XStep value.");var r=e.get("YStep");if("number"!=typeof r)throw new vA("Invalid getTilingPatternIR /YStep value.");var g=e.get("PaintType");if(!Number.isInteger(g))throw new vA("Invalid getTilingPatternIR /PaintType value.");var o=e.get("TilingType");if(!Number.isInteger(o))throw new vA("Invalid getTilingPatternIR /TilingType value.");return["TilingPattern",t,A,a,i,n,r,g,o]}var vg=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,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,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,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,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],wg={lineHeight:1.2207,lineGap:.2207},bg=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,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,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,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,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Dg={lineHeight:1.2207,lineGap:.2207},Fg=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,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,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,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,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Sg={lineHeight:1.2207,lineGap:.2207},Rg=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,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,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,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,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1],Ng={lineHeight:1.2207,lineGap:.2207},Gg=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],xg={lineHeight:1.2,lineGap:.2},Ug=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],Mg={lineHeight:1.35,lineGap:.2},Jg=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],Lg={lineHeight:1.35,lineGap:.2},Hg=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Yg={lineHeight:1.2,lineGap:.2},Kg=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],qg=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Tg=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],Pg=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Wg=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],Zg=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Og=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],Xg=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Vg=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,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,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,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,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,1,1,1,1,1,1.16161,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],jg={lineHeight:1.2,lineGap:.2},zg=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,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,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,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,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,1,1,1,1,1,1.20006,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],_g={lineHeight:1.2,lineGap:.2},$g=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,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,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,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,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,1,1,1,1,1,1.05233,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],Ao={lineHeight:1.2,lineGap:.2},eo=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,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,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,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,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,1,1,1,1,1,1.05638,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],to={lineHeight:1.2,lineGap:.2},ao=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,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,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,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.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],io={lineHeight:1.33008,lineGap:0},no=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,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,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,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.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],ro={lineHeight:1.33008,lineGap:0},go=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,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,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,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.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],oo={lineHeight:1.33008,lineGap:0},so=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,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,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,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.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1],Io={lineHeight:1.33008,lineGap:0},co=oe((function(A){A["MyriadPro-Regular"]=A["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:eo,baseWidths:Og,baseMapping:Xg,metrics:to},A["MyriadPro-Bold"]=A["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:Vg,baseWidths:Kg,baseMapping:qg,metrics:jg},A["MyriadPro-It"]=A["MyriadPro-Italic"]=A["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:$g,baseWidths:Wg,baseMapping:Zg,metrics:Ao},A["MyriadPro-BoldIt"]=A["MyriadPro-BoldItalic"]=A["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:zg,baseWidths:Tg,baseMapping:Pg,metrics:_g},A.ArialMT=A.Arial=A["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:Og,baseMapping:Xg},A["Arial-BoldMT"]=A["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:Kg,baseMapping:qg},A["Arial-ItalicMT"]=A["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:Wg,baseMapping:Zg},A["Arial-BoldItalicMT"]=A["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:Tg,baseMapping:Pg},A["Calibri-Regular"]={name:"LiberationSans-Regular",factors:Rg,baseWidths:Og,baseMapping:Xg,metrics:Ng},A["Calibri-Bold"]={name:"LiberationSans-Bold",factors:vg,baseWidths:Kg,baseMapping:qg,metrics:wg},A["Calibri-Italic"]={name:"LiberationSans-Italic",factors:Fg,baseWidths:Wg,baseMapping:Zg,metrics:Sg},A["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:bg,baseWidths:Tg,baseMapping:Pg,metrics:Dg},A["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:so,baseWidths:Og,baseMapping:Xg,metrics:Io},A["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:ao,baseWidths:Kg,baseMapping:qg,metrics:io},A["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:go,baseWidths:Wg,baseMapping:Zg,metrics:oo},A["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:no,baseWidths:Tg,baseMapping:Pg,metrics:ro},A["Helvetica-Regular"]=A.Helvetica={name:"LiberationSans-Regular",factors:Hg,baseWidths:Og,baseMapping:Xg,metrics:Yg},A["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:Gg,baseWidths:Kg,baseMapping:qg,metrics:xg},A["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:Jg,baseWidths:Wg,baseMapping:Zg,metrics:Lg},A["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:Ug,baseWidths:Tg,baseMapping:Pg,metrics:Mg}}));function lo(A){var e=Jn(A);return co()[e]}function ho(A){var e=function(A){var e=lo(A);if(!e)return null;var t,a,i=e.baseWidths,n=e.baseMapping,r=e.factors,g=r?i.map((function(A,e){return A*r[e]})):i,o=-2,s=[],I=m(n.map((function(A,e){return[A,e]})).sort((function(A,e){return d(A,1)[0]-d(e,1)[0]})));try{for(I.s();!(a=I.n()).done;){var c=d(a.value,2),l=c[0],h=c[1];-1!==l&&(l===o+1?(t.push(g[h]),o+=1):(o=l,t=[g[h]],s.push(l,t)))}}catch(A){I.e(A)}finally{I.f()}return s}(A),t=new _A(null);t.set("BaseFont",VA.get(A)),t.set("Type",VA.get("Font")),t.set("Subtype",VA.get("CIDFontType2")),t.set("Encoding",VA.get("Identity-H")),t.set("CIDToGIDMap",VA.get("Identity")),t.set("W",e),t.set("FirstChar",e[0]),t.set("LastChar",e.at(-2)+e.at(-1).length-1);var a=new _A(null);t.set("FontDescriptor",a);var i=new _A(null);return i.set("Ordering","Identity"),i.set("Registry","Adobe"),i.set("Supplement",0),t.set("CIDSystemInfo",i),t}var uo=function(){return b((function A(e){F(this,A),this.lexer=e,this.operators=[],this.token=null,this.prev=null}),[{key:"nextToken",value:function(){this.prev=this.token,this.token=this.lexer.getToken()}},{key:"accept",value:function(A){return this.token.type===A&&(this.nextToken(),!0)}},{key:"expect",value:function(A){if(this.accept(A))return!0;throw new vA("Unexpected symbol: found ".concat(this.token.type," expected ").concat(A,"."))}},{key:"parse",value:function(){return this.nextToken(),this.expect(Co.LBRACE),this.parseBlock(),this.expect(Co.RBRACE),this.operators}},{key:"parseBlock",value:function(){for(;;)if(this.accept(Co.NUMBER))this.operators.push(this.prev.value);else if(this.accept(Co.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(Co.LBRACE))return;this.parseCondition()}}},{key:"parseCondition",value:function(){var A=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(Co.RBRACE),this.accept(Co.IF))this.operators[A]=this.operators.length,this.operators[A+1]="jz";else{if(!this.accept(Co.LBRACE))throw new vA("PS Function: error parsing conditional.");var e=this.operators.length;this.operators.push(null,null);var t=this.operators.length;this.parseBlock(),this.expect(Co.RBRACE),this.expect(Co.IFELSE),this.operators[e]=this.operators.length,this.operators[e+1]="j",this.operators[A]=t,this.operators[A+1]="jz"}}}])}(),Co={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},Bo=function(){function A(e,t){F(this,A),this.type=e,this.value=t}return b(A,null,[{key:"opCache",get:function(){return EA(this,"opCache",Object.create(null))}},{key:"getOperator",value:function(e){var t;return(t=A.opCache)[e]||(t[e]=new A(Co.OPERATOR,e))}},{key:"LBRACE",get:function(){return EA(this,"LBRACE",new A(Co.LBRACE,"{"))}},{key:"RBRACE",get:function(){return EA(this,"RBRACE",new A(Co.RBRACE,"}"))}},{key:"IF",get:function(){return EA(this,"IF",new A(Co.IF,"IF"))}},{key:"IFELSE",get:function(){return EA(this,"IFELSE",new A(Co.IFELSE,"IFELSE"))}}])}(),Qo=function(){return b((function A(e){F(this,A),this.stream=e,this.nextChar(),this.strBuf=[]}),[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var A=!1,e=this.currentChar;;){if(e<0)return WA;if(A)10!==e&&13!==e||(A=!1);else if(37===e)A=!0;else if(!ye(e))break;e=this.nextChar()}switch(0|e){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 Bo(Co.NUMBER,this.getNumber());case 123:return this.nextChar(),Bo.LBRACE;case 125:return this.nextChar(),Bo.RBRACE}var t=this.strBuf;for(t.length=0,t[0]=String.fromCharCode(e);(e=this.nextChar())>=0&&(e>=65&&e<=90||e>=97&&e<=122);)t.push(String.fromCharCode(e));var a=t.join("");switch(a.toLowerCase()){case"if":return Bo.IF;case"ifelse":return Bo.IFELSE;default:return Bo.getOperator(a)}}},{key:"getNumber",value:function(){var A=this.currentChar,e=this.strBuf;for(e.length=0,e[0]=String.fromCharCode(A);(A=this.nextChar())>=0&&(A>=48&&A<=57||45===A||46===A);)e.push(String.fromCharCode(A));var t=parseFloat(e.join(""));if(isNaN(t))throw new vA("Invalid floating point number: ".concat(t));return t}}])}(),Eo=function(){return b((function A(e){F(this,A),this.constructor===A&&CA("Cannot initialize BaseLocalCache."),this._onlyRefs=!0===(null==e?void 0:e.onlyRefs),this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new ee}),[{key:"getByName",value:function(A){this._onlyRefs&&CA("Should not call `getByName` method.");var e=this._nameRefMap.get(A);return e?this.getByRef(e):this._imageMap.get(A)||null}},{key:"getByRef",value:function(A){return this._imageCache.get(A)||null}},{key:"set",value:function(A,e,t){CA("Abstract method `set` called.")}}])}(),fo=function(A){function e(){return F(this,e),S(this,e,arguments)}return x(e,A),b(e,[{key:"set",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2?arguments[2]:void 0;if("string"!=typeof A)throw new Error('LocalImageCache.set - expected "name" argument.');if(e){if(this._imageCache.has(e))return;return this._nameRefMap.set(A,e),void this._imageCache.put(e,t)}this._imageMap.has(A)||this._imageMap.set(A,t)}}])}(Eo),yo=function(A){function e(){return F(this,e),S(this,e,arguments)}return x(e,A),b(e,[{key:"set",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2?arguments[2]:void 0;if("string"!=typeof A&&!e)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(e){if(this._imageCache.has(e))return;return null!==A&&this._nameRefMap.set(A,e),void this._imageCache.put(e,t)}this._imageMap.has(A)||this._imageMap.set(A,t)}}])}(Eo),po=function(A){function e(A){return F(this,e),S(this,e,[{onlyRefs:!0}])}return x(e,A),b(e,[{key:"set",value:function(){var A=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0;if(!A)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(A)||this._imageCache.put(A,e)}}])}(Eo),mo=function(A){function e(){return F(this,e),S(this,e,arguments)}return x(e,A),b(e,[{key:"set",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2?arguments[2]:void 0;if("string"!=typeof A)throw new Error('LocalGStateCache.set - expected "name" argument.');if(e){if(this._imageCache.has(e))return;return this._nameRefMap.set(A,e),void this._imageCache.put(e,t)}this._imageMap.has(A)||this._imageMap.set(A,t)}}])}(Eo),ko=function(A){function e(A){return F(this,e),S(this,e,[{onlyRefs:!0}])}return x(e,A),b(e,[{key:"set",value:function(){var A=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0;if(!A)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(A)||this._imageCache.put(A,e)}}])}(Eo),vo=function(A){function e(A){return F(this,e),S(this,e,[{onlyRefs:!0}])}return x(e,A),b(e,[{key:"set",value:function(){var A=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0;if(!A)throw new Error('RegionalImageCache.set - expected "ref" argument.');this._imageCache.has(A)||this._imageCache.put(A,e)}}])}(Eo),wo=new WeakMap,bo=new WeakSet,Do=function(){function A(){F(this,A),l(this,bo),r(this,wo,new Ae),this._refCache=new ee,this._imageCache=new ee}return b(A,[{key:"shouldCache",value:function(e,t){var a=this._refCache.get(e);return a||(a=new Set,this._refCache.put(e,a)),a.add(t),!(a.size<A.NUM_PAGES_THRESHOLD||!this._imageCache.has(e)&&o(bo,this,So))}},{key:"addDecodeFailed",value:function(A){g(wo,this).put(A)}},{key:"hasDecodeFailed",value:function(A){return g(wo,this).has(A)}},{key:"addByteSize",value:function(A,e){var t=this._imageCache.get(A);t&&(t.byteSize||(t.byteSize=e))}},{key:"getData",value:function(e,t){var a=this._refCache.get(e);if(!a)return null;if(a.size<A.NUM_PAGES_THRESHOLD)return null;var i=this._imageCache.get(e);return i?(a.add(t),i):null}},{key:"setData",value:function(A,e){if(!this._refCache.has(A))throw new Error('GlobalImageCache.setData - expected "shouldCache" to have been called.');this._imageCache.has(A)||(o(bo,this,So)?uA("GlobalImageCache.setData - cache limit reached."):this._imageCache.put(A,e))}},{key:"clear",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||(g(wo,this).clear(),this._refCache.clear()),this._imageCache.clear()}}])}();function Fo(A){var e,t=0,a=m(A._imageCache);try{for(a.s();!(e=a.n()).done;)t+=e.value.byteSize}catch(A){a.e(A)}finally{a.f()}return t}function So(A){return!(A._imageCache.size<e.MIN_IMAGES_TO_CACHE||o(bo,A,Fo)<e.MAX_BYTE_SIZE)}e=Do,s(Do,"NUM_PAGES_THRESHOLD",2),s(Do,"MIN_IMAGES_TO_CACHE",10),s(Do,"MAX_BYTE_SIZE",5e7);var Ro=function(){return b((function A(e){var t=e.xref,a=e.isEvalSupported,i=void 0===a||a;F(this,A),this.xref=t,this.isEvalSupported=!1!==i}),[{key:"create",value:function(A){var e=this.getCached(A);if(e)return e;var t=Go.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:A instanceof $A?this.xref.fetch(A):A});return this._cache(A,t),t}},{key:"createFromArray",value:function(A){var e=this.getCached(A);if(e)return e;var t=Go.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:A instanceof $A?this.xref.fetch(A):A});return this._cache(A,t),t}},{key:"getCached",value:function(A){var e;if(A instanceof $A)e=A;else if(A instanceof _A)e=A.objId;else if(A instanceof re){var t;e=null===(t=A.dict)||void 0===t?void 0:t.objId}if(e){var a=this._localFunctionCache.getByRef(e);if(a)return a}return null}},{key:"_cache",value:function(A,e){if(!e)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');var t;if(A instanceof $A)t=A;else if(A instanceof _A)t=A.objId;else if(A instanceof re){var a;t=null===(a=A.dict)||void 0===a?void 0:a.objId}t&&this._localFunctionCache.set(null,t,e)}},{key:"_localFunctionCache",get:function(){return EA(this,"_localFunctionCache",new po)}}])}();function No(A){return Array.isArray(A)?pe(A,null)?A:A.map((function(A){return+A})):null}var Go=function(){return b((function A(){F(this,A)}),null,[{key:"getSampleArray",value:function(A,e,t,a){var i,n,r=1;for(i=0,n=A.length;i<n;i++)r*=A[i];r*=e;var g=new Array(r),o=0,s=0,I=1/(Math.pow(2,t)-1),c=a.getBytes((r*t+7)/8),l=0;for(i=0;i<r;i++){for(;o<t;)s<<=8,s|=c[l++],o+=8;o-=t,g[i]=(s>>o)*I,s&=(1<<o)-1}return g}},{key:"parse",value:function(A){var e=A.xref,t=A.isEvalSupported,a=A.fn,i=a.dict||a;switch(i.get("FunctionType")){case 0:return this.constructSampled({xref:e,isEvalSupported:t,fn:a,dict:i});case 1:break;case 2:return this.constructInterpolated({xref:e,isEvalSupported:t,dict:i});case 3:return this.constructStiched({xref:e,isEvalSupported:t,dict:i});case 4:return this.constructPostScript({xref:e,isEvalSupported:t,fn:a,dict:i})}throw new vA("Unknown type of function")}},{key:"parseArray",value:function(A){var e=A.xref,t=A.isEvalSupported,a=A.fnObj;if(!Array.isArray(a))return this.parse({xref:e,isEvalSupported:t,fn:a});var i,n=[],r=m(a);try{for(r.s();!(i=r.n()).done;){var g=i.value;n.push(this.parse({xref:e,isEvalSupported:t,fn:e.fetchIfRef(g)}))}}catch(A){r.e(A)}finally{r.f()}return function(A,e,t,a){for(var i=0,r=n.length;i<r;i++)n[i](A,e,t,a+i)}}},{key:"constructSampled",value:function(A){A.xref,A.isEvalSupported;var e=A.fn,t=A.dict;function a(A){for(var e=A.length,t=[],a=0,i=0;i<e;i+=2)t[a++]=[A[i],A[i+1]];return t}function i(A,e,t,a,i){return a+(i-a)/(t-e)*(A-e)}var n=No(t.getArray("Domain")),r=No(t.getArray("Range"));if(!n||!r)throw new vA("No domain or range");var g=n.length/2,o=r.length/2;n=a(n),r=a(r);var s=No(t.getArray("Size")),I=t.get("BitsPerSample"),c=t.get("Order")||1;1!==c&&hA("No support for cubic spline interpolation: "+c);var l=No(t.getArray("Encode"));if(l)l=a(l);else{l=[];for(var h=0;h<g;++h)l.push([0,s[h]-1])}var u=No(t.getArray("Decode"));u=u?a(u):r;var C=this.getSampleArray(s,o,I,e);return function(A,e,t,a){var I,c,h=1<<g,B=new Float64Array(h),Q=new Uint32Array(h);for(c=0;c<h;c++)B[c]=1;var E=o,f=1;for(I=0;I<g;++I){var d=n[I][0],y=n[I][1],p=i(Math.min(Math.max(A[e+I],d),y),d,y,l[I][0],l[I][1]),m=s[I],k=(p=Math.min(Math.max(p,0),m-1))<m-1?Math.floor(p):p-1,v=k+1-p,w=p-k,b=k*E,D=b+E;for(c=0;c<h;c++)c&f?(B[c]*=w,Q[c]+=D):(B[c]*=v,Q[c]+=b);E*=m,f<<=1}for(c=0;c<o;++c){var F=0;for(I=0;I<h;I++)F+=C[Q[I]+c]*B[I];F=i(F,0,1,u[c][0],u[c][1]),t[a+c]=Math.min(Math.max(F,r[c][0]),r[c][1])}}}},{key:"constructInterpolated",value:function(A){A.xref,A.isEvalSupported;for(var e=A.dict,t=No(e.getArray("C0"))||[0],a=No(e.getArray("C1"))||[1],i=e.get("N"),n=[],r=0,g=t.length;r<g;++r)n.push(a[r]-t[r]);var o=n.length;return function(A,e,a,r){for(var g=1===i?A[e]:Math.pow(A[e],i),s=0;s<o;++s)a[r+s]=t[s]+g*n[s]}}},{key:"constructStiched",value:function(A){var e=A.xref,t=A.isEvalSupported,a=A.dict,i=No(a.getArray("Domain"));if(!i)throw new vA("No domain");if(1!=i.length/2)throw new vA("Bad domain for stiched function");var n,r=[],g=m(a.get("Functions"));try{for(g.s();!(n=g.n()).done;){var o=n.value;r.push(this.parse({xref:e,isEvalSupported:t,fn:e.fetchIfRef(o)}))}}catch(A){g.e(A)}finally{g.f()}var s=No(a.getArray("Bounds")),I=No(a.getArray("Encode")),c=new Float32Array(1);return function(A,e,t,a){var n,g=function(A,e,t){return A>t?A=t:A<e&&(A=e),A}(A[e],i[0],i[1]),o=s.length;for(n=0;n<o&&!(g<s[n]);++n);var l=i[0];n>0&&(l=s[n-1]);var h=i[1];n<s.length&&(h=s[n]);var u=I[2*n],C=I[2*n+1];c[0]=l===h?u:u+(g-l)*(C-u)/(h-l),r[n](c,0,t,a)}}},{key:"constructPostScript",value:function(A){A.xref;var e=A.isEvalSupported,t=A.fn,a=A.dict,i=No(a.getArray("Domain")),n=No(a.getArray("Range"));if(!i)throw new vA("No domain.");if(!n)throw new vA("No range.");var r=new Qo(t),g=new uo(r).parse();if(e&&RA.isEvalSupported){var o=(new Vo).compile(g,i,n);if(o)return new Function("src","srcOffset","dest","destOffset",o)}hA("Unable to compile PS function");var s=n.length>>1,I=i.length>>1,c=new Mo(g),l=Object.create(null),h=8192,u=new Float32Array(I);return function(A,e,t,a){var i,r,g="",o=u;for(i=0;i<I;i++)r=A[e+i],o[i]=r,g+=r+"_";var C=l[g];if(void 0===C){var B=new Float32Array(s),Q=c.execute(o),E=Q.length-s;for(i=0;i<s;i++){r=Q[E+i];var f=n[2*i];(r<f||r>(f=n[2*i+1]))&&(r=f),B[i]=r}h>0&&(h--,l[g]=B),t.set(B,a)}else t.set(C,a)}}}])}();function xo(A){var e;if(A instanceof _A)e=A;else{if(!(A instanceof re))return!1;e=A.dict}return e.has("FunctionType")}var Uo=function(){function A(e){F(this,A),this.stack=e?Array.from(e):[]}return b(A,[{key:"push",value:function(e){if(this.stack.length>=A.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(e)}},{key:"pop",value:function(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}},{key:"copy",value:function(e){if(this.stack.length+e>=A.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");for(var t=this.stack,a=t.length-e,i=e-1;i>=0;i--,a++)t.push(t[a])}},{key:"index",value:function(A){this.push(this.stack[this.stack.length-A-1])}},{key:"roll",value:function(A,e){for(var t=this.stack,a=t.length-A,i=t.length-1,n=a+(e-Math.floor(e/A)*A),r=a,g=i;r<g;r++,g--){var o=t[r];t[r]=t[g],t[g]=o}for(var s=a,I=n-1;s<I;s++,I--){var c=t[s];t[s]=t[I],t[I]=c}for(var l=n,h=i;l<h;l++,h--){var u=t[l];t[l]=t[h],t[h]=u}}}])}();s(Uo,"MAX_STACK_SIZE",100);var Mo=function(){return b((function A(e){F(this,A),this.operators=e}),[{key:"execute",value:function(A){for(var e,t,a,i=new Uo(A),n=0,r=this.operators,g=r.length;n<g;)if("number"!=typeof(e=r[n++]))switch(e){case"jz":a=i.pop(),(t=i.pop())||(n=a);break;case"j":n=t=i.pop();break;case"abs":t=i.pop(),i.push(Math.abs(t));break;case"add":a=i.pop(),t=i.pop(),i.push(t+a);break;case"and":a=i.pop(),"boolean"==typeof(t=i.pop())&&"boolean"==typeof a?i.push(t&&a):i.push(t&a);break;case"atan":a=i.pop(),t=i.pop(),(t=Math.atan2(t,a)/Math.PI*180)<0&&(t+=360),i.push(t);break;case"bitshift":a=i.pop(),(t=i.pop())>0?i.push(t<<a):i.push(t>>a);break;case"ceiling":t=i.pop(),i.push(Math.ceil(t));break;case"copy":t=i.pop(),i.copy(t);break;case"cos":t=i.pop(),i.push(Math.cos(t%360/180*Math.PI));break;case"cvi":t=0|i.pop(),i.push(t);break;case"cvr":break;case"div":a=i.pop(),t=i.pop(),i.push(t/a);break;case"dup":i.copy(1);break;case"eq":a=i.pop(),t=i.pop(),i.push(t===a);break;case"exch":i.roll(2,1);break;case"exp":a=i.pop(),t=i.pop(),i.push(Math.pow(t,a));break;case"false":i.push(!1);break;case"floor":t=i.pop(),i.push(Math.floor(t));break;case"ge":a=i.pop(),t=i.pop(),i.push(t>=a);break;case"gt":a=i.pop(),t=i.pop(),i.push(t>a);break;case"idiv":a=i.pop(),t=i.pop(),i.push(t/a|0);break;case"index":t=i.pop(),i.index(t);break;case"le":a=i.pop(),t=i.pop(),i.push(t<=a);break;case"ln":t=i.pop(),i.push(Math.log(t));break;case"log":t=i.pop(),i.push(Math.log10(t));break;case"lt":a=i.pop(),t=i.pop(),i.push(t<a);break;case"mod":a=i.pop(),t=i.pop(),i.push(t%a);break;case"mul":a=i.pop(),t=i.pop(),i.push(t*a);break;case"ne":a=i.pop(),t=i.pop(),i.push(t!==a);break;case"neg":t=i.pop(),i.push(-t);break;case"not":"boolean"==typeof(t=i.pop())?i.push(!t):i.push(~t);break;case"or":a=i.pop(),"boolean"==typeof(t=i.pop())&&"boolean"==typeof a?i.push(t||a):i.push(t|a);break;case"pop":i.pop();break;case"roll":a=i.pop(),t=i.pop(),i.roll(t,a);break;case"round":t=i.pop(),i.push(Math.round(t));break;case"sin":t=i.pop(),i.push(Math.sin(t%360/180*Math.PI));break;case"sqrt":t=i.pop(),i.push(Math.sqrt(t));break;case"sub":a=i.pop(),t=i.pop(),i.push(t-a);break;case"true":i.push(!0);break;case"truncate":t=(t=i.pop())<0?Math.ceil(t):Math.floor(t),i.push(t);break;case"xor":a=i.pop(),"boolean"==typeof(t=i.pop())&&"boolean"==typeof a?i.push(t!==a):i.push(t^a);break;default:throw new vA("Unknown operator ".concat(e))}else i.push(e);return i.stack}}])}(),Jo=function(){return b((function A(e){F(this,A),this.type=e}),[{key:"visit",value:function(A){CA("abstract method")}}])}(),Lo=function(A){function e(A,t,a){var i;return F(this,e),(i=S(this,e,["args"])).index=A,i.min=t,i.max=a,i}return x(e,A),b(e,[{key:"visit",value:function(A){A.visitArgument(this)}}])}(Jo),Ho=function(A){function e(A){var t;return F(this,e),(t=S(this,e,["literal"])).number=A,t.min=A,t.max=A,t}return x(e,A),b(e,[{key:"visit",value:function(A){A.visitLiteral(this)}}])}(Jo),Yo=function(A){function e(A,t,a,i,n){var r;return F(this,e),(r=S(this,e,["binary"])).op=A,r.arg1=t,r.arg2=a,r.min=i,r.max=n,r}return x(e,A),b(e,[{key:"visit",value:function(A){A.visitBinaryOperation(this)}}])}(Jo),Ko=function(A){function e(A,t){var a;return F(this,e),(a=S(this,e,["max"])).arg=A,a.min=A.min,a.max=t,a}return x(e,A),b(e,[{key:"visit",value:function(A){A.visitMin(this)}}])}(Jo),qo=function(A){function e(A,t,a){var i;return F(this,e),(i=S(this,e,["var"])).index=A,i.min=t,i.max=a,i}return x(e,A),b(e,[{key:"visit",value:function(A){A.visitVariable(this)}}])}(Jo),To=function(A){function e(A,t){var a;return F(this,e),(a=S(this,e,["definition"])).variable=A,a.arg=t,a}return x(e,A),b(e,[{key:"visit",value:function(A){A.visitVariableDefinition(this)}}])}(Jo),Po=function(){return b((function A(){F(this,A),this.parts=[]}),[{key:"visitArgument",value:function(A){this.parts.push("Math.max(",A.min,", Math.min(",A.max,", src[srcOffset + ",A.index,"]))")}},{key:"visitVariable",value:function(A){this.parts.push("v",A.index)}},{key:"visitLiteral",value:function(A){this.parts.push(A.number)}},{key:"visitBinaryOperation",value:function(A){this.parts.push("("),A.arg1.visit(this),this.parts.push(" ",A.op," "),A.arg2.visit(this),this.parts.push(")")}},{key:"visitVariableDefinition",value:function(A){this.parts.push("var "),A.variable.visit(this),this.parts.push(" = "),A.arg.visit(this),this.parts.push(";")}},{key:"visitMin",value:function(A){this.parts.push("Math.min("),A.arg.visit(this),this.parts.push(", ",A.max,")")}},{key:"toString",value:function(){return this.parts.join("")}}])}();function Wo(A,e){return"literal"===e.type&&0===e.number?A:"literal"===A.type&&0===A.number?e:"literal"===e.type&&"literal"===A.type?new Ho(A.number+e.number):new Yo("+",A,e,A.min+e.min,A.max+e.max)}function Zo(A,e){if("literal"===e.type){if(0===e.number)return new Ho(0);if(1===e.number)return A;if("literal"===A.type)return new Ho(A.number*e.number)}if("literal"===A.type){if(0===A.number)return new Ho(0);if(1===A.number)return e}var t=Math.min(A.min*e.min,A.min*e.max,A.max*e.min,A.max*e.max),a=Math.max(A.min*e.min,A.min*e.max,A.max*e.min,A.max*e.max);return new Yo("*",A,e,t,a)}function Oo(A,e){if("literal"===e.type){if(0===e.number)return A;if("literal"===A.type)return new Ho(A.number-e.number)}return"binary"===e.type&&"-"===e.op&&"literal"===A.type&&1===A.number&&"literal"===e.arg1.type&&1===e.arg1.number?e.arg2:new Yo("-",A,e,A.min-e.max,A.max-e.min)}function Xo(A,e){return A.min>=e?new Ho(e):A.max<=e?A:new Ko(A,e)}var Vo=function(){return b((function A(){F(this,A)}),[{key:"compile",value:function(A,e,t){for(var a,i,n,r,g,o,s,c,l=[],h=[],u=e.length>>1,C=t.length>>1,B=0,Q=0;Q<u;Q++)l.push(new Lo(Q,e[2*Q],e[2*Q+1]));for(var E=0,f=A.length;E<f;E++)if("number"!=typeof(c=A[E]))switch(c){case"add":if(l.length<2)return null;r=l.pop(),n=l.pop(),l.push(Wo(n,r));break;case"cvr":if(l.length<1)return null;break;case"mul":if(l.length<2)return null;r=l.pop(),n=l.pop(),l.push(Zo(n,r));break;case"sub":if(l.length<2)return null;r=l.pop(),n=l.pop(),l.push(Oo(n,r));break;case"exch":if(l.length<2)return null;g=l.pop(),o=l.pop(),l.push(g,o);break;case"pop":if(l.length<1)return null;l.pop();break;case"index":if(l.length<1)return null;if("literal"!==(n=l.pop()).type)return null;if((a=n.number)<0||!Number.isInteger(a)||l.length<a)return null;if("literal"===(g=l[l.length-a-1]).type||"var"===g.type){l.push(g);break}s=new qo(B++,g.min,g.max),l[l.length-a-1]=s,l.push(s),h.push(new To(s,g));break;case"dup":if(l.length<1)return null;if("number"==typeof A[E+1]&&"gt"===A[E+2]&&A[E+3]===E+7&&"jz"===A[E+4]&&"pop"===A[E+5]&&A[E+6]===A[E+1]){n=l.pop(),l.push(Xo(n,A[E+1])),E+=6;break}if("literal"===(g=l.at(-1)).type||"var"===g.type){l.push(g);break}s=new qo(B++,g.min,g.max),l[l.length-1]=s,l.push(s),h.push(new To(s,g));break;case"roll":if(l.length<2)return null;if(r=l.pop(),n=l.pop(),"literal"!==r.type||"literal"!==n.type)return null;if(i=r.number,(a=n.number)<=0||!Number.isInteger(a)||!Number.isInteger(i)||l.length<a)return null;if(0==(i=(i%a+a)%a))break;l.push.apply(l,I(l.splice(l.length-a,a-i)));break;default:return null}else l.push(new Ho(c));if(l.length!==C)return null;for(var d=[],y=0,p=h;y<p.length;y++){var m=p[y],k=new Po;m.visit(k),d.push(k.toString())}for(var v=0,w=l.length;v<w;v++){var b=l[v],D=new Po;b.visit(D);var F=t[2*v],S=t[2*v+1],R=[D.toString()];F>b.min&&(R.unshift("Math.max(",F,", "),R.push(")")),S<b.max&&(R.unshift("Math.min(",S,", "),R.push(")")),R.unshift("dest[destOffset + ",v,"] = "),R.push(";"),d.push(R.join(""))}return d.join("\n")}}])}(),jo=["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"],zo=["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"];function _o(A){return!!(1&A)}function $o(A){return!(1&A)}function As(A,e,t){var a,i;for(a=e,i=A.length;a<i;++a)if(A[a]!==t)return a;return a}function es(A,e,t,a){for(var i=e;i<t;++i)A[i]=a}function ts(A,e,t){for(var a=e,i=t-1;a<i;++a,--i){var n=A[a];A[a]=A[i],A[i]=n}}function as(A,e){var t="ltr";return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t="ttb":e||(t="rtl"),{str:A,dir:t}}var is=[],ns=[];function rs(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=!0,i=A.length;if(0===i||t)return as(A,a,t);is.length=i,ns.length=i;var n,r,g=0;for(n=0;n<i;++n){is[n]=A.charAt(n);var o=A.charCodeAt(n),s="L";o<=255?s=jo[o]:1424<=o&&o<=1524?s="R":1536<=o&&o<=1791?(s=zo[255&o])||uA("Bidi: invalid Unicode character "+o.toString(16)):(1792<=o&&o<=2220||64336<=o&&o<=65023||65136<=o&&o<=65279)&&(s="AL"),"R"!==s&&"AL"!==s&&"AN"!==s||g++,ns[n]=s}if(0===g)return as(A,a=!0);-1===e&&(g/i<.3&&i>4?(a=!0,e=0):(a=!1,e=1));var I=[];for(n=0;n<i;++n)I[n]=e;var c,l=_o(e)?"R":"L",h=l,u=h,C=h;for(n=0;n<i;++n)"NSM"===ns[n]?ns[n]=C:C=ns[n];for(C=h,n=0;n<i;++n)"EN"===(c=ns[n])?ns[n]="AL"===C?"AN":"EN":"R"!==c&&"L"!==c&&"AL"!==c||(C=c);for(n=0;n<i;++n)"AL"===(c=ns[n])&&(ns[n]="R");for(n=1;n<i-1;++n)"ES"===ns[n]&&"EN"===ns[n-1]&&"EN"===ns[n+1]&&(ns[n]="EN"),"CS"!==ns[n]||"EN"!==ns[n-1]&&"AN"!==ns[n-1]||ns[n+1]!==ns[n-1]||(ns[n]=ns[n-1]);for(n=0;n<i;++n)if("EN"===ns[n]){for(var B=n-1;B>=0&&"ET"===ns[B];--B)ns[B]="EN";for(var Q=n+1;Q<i&&"ET"===ns[Q];++Q)ns[Q]="EN"}for(n=0;n<i;++n)"WS"!==(c=ns[n])&&"ES"!==c&&"ET"!==c&&"CS"!==c||(ns[n]="ON");for(C=h,n=0;n<i;++n)"EN"===(c=ns[n])?ns[n]="L"===C?"L":"EN":"R"!==c&&"L"!==c||(C=c);for(n=0;n<i;++n)if("ON"===ns[n]){var E=As(ns,n+1,"ON"),f=h;n>0&&(f=ns[n-1]);var d=u;E+1<i&&(d=ns[E+1]),"L"!==f&&(f="R"),"L"!==d&&(d="R"),f===d&&es(ns,n,E,f),n=E-1}for(n=0;n<i;++n)"ON"===ns[n]&&(ns[n]=l);for(n=0;n<i;++n)c=ns[n],$o(I[n])?"R"===c?I[n]+=1:"AN"!==c&&"EN"!==c||(I[n]+=2):"L"!==c&&"AN"!==c&&"EN"!==c||(I[n]+=1);var y,p=-1,m=99;for(n=0,r=I.length;n<r;++n)p<(y=I[n])&&(p=y),m>y&&_o(y)&&(m=y);for(y=p;y>=m;--y){var k=-1;for(n=0,r=I.length;n<r;++n)I[n]<y?k>=0&&(ts(is,k,n),k=-1):k<0&&(k=n);k>=0&&ts(is,k,I.length)}for(n=0,r=is.length;n<r;++n){var v=is[n];"<"!==v&&">"!==v||(is[n]="")}return as(is.join(""),a)}var gs={style:"normal",weight:"normal"},os={style:"normal",weight:"bold"},ss={style:"italic",weight:"normal"},Is={style:"italic",weight:"bold"},cs=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","Linux Libertine O","Libertinus Serif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:gs,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:os,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:ss,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:Is,ultimate:"serif"}],["Helvetica",{local:["Helvetica","Helvetica Neue","Arial","Arial Nova","Liberation Sans","Arimo","Nimbus Sans","Nimbus Sans L","A030","TeX Gyre Heros","FreeSans","DejaVu Sans","Albany","Bitstream Vera Sans","Arial Unicode MS","Microsoft Sans Serif","Apple Symbols","Cantarell"],path:"LiberationSans-Regular.ttf",style:gs,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:os,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:ss,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:Is,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono","Linux Libertine Mono O","Libertinus Mono"],style:gs,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:os,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:ss,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:Is,ultimate:"monospace"}],["ArialBlack",{local:["Arial Black"],style:{style:"normal",weight:"900"},fallback:"Helvetica-Bold"}],["ArialBlack-Bold",{alias:"ArialBlack"}],["ArialBlack-Italic",{alias:"ArialBlack",style:{style:"italic",weight:"900"},fallback:"Helvetica-BoldOblique"}],["ArialBlack-BoldItalic",{alias:"ArialBlack-Italic"}],["ArialNarrow",{local:["Arial Narrow","Liberation Sans Narrow","Helvetica Condensed","Nimbus Sans Narrow","TeX Gyre Heros Cn"],style:gs,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:os,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:ss,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:Is,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:gs,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:os,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:ss,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:Is,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:gs}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}]]),ls=new Map([["Arial-Black","ArialBlack"]]);function hs(A){var e=new Set(["thin","extralight","ultralight","demilight","semilight","light","book","regular","normal","medium","demibold","semibold","bold","extrabold","ultrabold","black","heavy","extrablack","ultrablack","roman","italic","oblique","ultracondensed","extracondensed","condensed","semicondensed","normal","semiexpanded","expanded","extraexpanded","ultraexpanded","bolditalic"]);return A.split(/[- ,+]+/g).filter((function(A){return!e.has(A.toLowerCase())})).join(" ")}function us(A,e,t){var a=A.alias,i=A.local,n=A.path,r=A.fallback,g=A.style,o=A.ultimate,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],I=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",l={style:null,ultimate:null};if(i){var h,u=c?" ".concat(c):"",C=m(i);try{for(C.s();!(h=C.n()).done;){var B=h.value;e.push("local(".concat(B).concat(u,")"))}}catch(A){C.e(A)}finally{C.f()}}if(a){var Q=cs.get(a),E=c||function(A){switch(A){case os:return"Bold";case ss:return"Italic";case Is:return"Bold Italic";default:if("bold"===(null==A?void 0:A.weight))return"Bold";if("italic"===(null==A?void 0:A.style))return"Italic"}return""}(g);Object.assign(l,us(Q,e,t,s&&!r,I&&!n,E))}if(g&&(l.style=g),o&&(l.ultimate=o),s&&r){var f=us(cs.get(r),e,t,s,I&&!n,c).ultimate;l.ultimate||(l.ultimate=f)}return I&&n&&t&&e.push("url(".concat(t).concat(n,")")),l}function Cs(A,e,t,a,i,n){if(a.startsWith("InvalidPDFjsFont_"))return null;"TrueType"!==n&&"Type1"!==n||!/^[A-Z]{6}\+/.test(a)||(a=a.slice(7));var r=a=Jn(a),g=A.get(r);if(g)return g;var o=cs.get(a);if(!o){var s,I=m(ls);try{for(I.s();!(s=I.n()).done;){var c=d(s.value,2),l=c[0],h=c[1];if(a.startsWith(l)){a="".concat(h).concat(a.substring(l.length)),o=cs.get(a);break}}}catch(A){I.e(A)}finally{I.f()}}var u=!1;o||(o=cs.get(i),u=!0);var C="".concat(e.getDocId(),"_s").concat(e.createFontId());if(!o){if(!xe(a))return uA("Cannot substitute the font because of its name: ".concat(a)),A.set(r,null),null;var B=/bold/gi.test(a),Q=/oblique|italic/gi.test(a),E=B&&Q&&Is||B&&os||Q&&ss||gs;return g={css:'"'.concat(hs(a),'",').concat(C),guessFallback:!0,loadedName:C,baseFontName:a,src:"local(".concat(a,")"),style:E},A.set(r,g),g}var f=[];u&&xe(a)&&f.push("local(".concat(a,")"));var y=us(o,f,t),p=y.style,k=y.ultimate,v=null===k,w=v?"":",".concat(k);return g={css:'"'.concat(hs(a),'",').concat(C).concat(w),guessFallback:v,loadedName:C,baseFontName:a,src:f.join(","),style:p},A.set(r,g),g}var Bs=function(){function A(e,t){F(this,A),this._imgData=e,this._isMask=t}return b(A,[{key:"_createImage",value:(t=E(B().mark((function e(){var t,a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d,y,p,k,v;return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this._encodeBMP(),a=new Blob([t.buffer],{type:"image/bmp"}),i=createImageBitmap(a),n=A.MAX_AREA,r=A.MAX_DIM,g=this._imgData,o=g.width,s=g.height,I=Math.max(o/r,s/r,Math.sqrt(o*s/n)),c=Math.max(I,2),l=Math.round(10*(I+1.25))/10/c,h=Math.floor(Math.log2(l)),(u=new Array(h+2).fill(2))[0]=c,u.splice(-1,1,l/(1<<h)),C=o,Q=s,e.next=17,i;case 17:E=e.sent,f=m(u);try{for(f.s();!(d=f.n()).done;)y=d.value,p=C,k=Q,C=Math.floor(C/y)-1,Q=Math.floor(Q/y)-1,(v=new OffscreenCanvas(C,Q)).getContext("2d").drawImage(E,0,0,p,k,0,0,C,Q),E=v.transferToImageBitmap()}catch(A){f.e(A)}finally{f.f()}return g.data=null,g.bitmap=E,g.width=C,g.height=Q,e.abrupt("return",g);case 25:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"_encodeBMP",value:function(){var A,e=this._imgData,t=e.width,a=e.height,i=e.kind,n=this._imgData.data,r=new Uint8Array(0),g=r,o=0;switch(i){case 1:A=1,r=new Uint8Array(this._isMask?[255,255,255,255,0,0,0,0]:[0,0,0,0,255,255,255,255]);var s=t+7>>3,I=s+3&-4;if(s!==I){for(var c=new Uint8Array(I*a),l=0,h=0,u=a*s;h<u;h+=s,l+=I)c.set(n.subarray(h,h+s),l);n=c}break;case 2:if(A=24,3&t){for(var C=3*t,B=C+3&-4,Q=B-C,E=new Uint8Array(B*a),f=0,d=0,y=a*C;d<y;d+=C){for(var p=n.subarray(d,d+C),m=0;m<C;m+=3)E[f++]=p[m+2],E[f++]=p[m+1],E[f++]=p[m];f+=Q}n=E}else for(var k=0,v=n.length;k<v;k+=3){var w=n[k];n[k]=n[k+2],n[k+2]=w}break;case 3:A=32,o=3,g=new Uint8Array(68);var b=new DataView(g.buffer);RA.isLittleEndian?(b.setUint32(0,255,!0),b.setUint32(4,65280,!0),b.setUint32(8,16711680,!0),b.setUint32(12,4278190080,!0)):(b.setUint32(0,4278190080,!0),b.setUint32(4,16711680,!0),b.setUint32(8,65280,!0),b.setUint32(12,255,!0));break;default:throw new Error("invalid format")}var D=0,F=40+g.length,S=14+F+r.length+n.length,R=new Uint8Array(S),N=new DataView(R.buffer);return N.setUint16(D,19778,!0),D+=2,N.setUint32(D,S,!0),D+=4,N.setUint32(D,0,!0),D+=4,N.setUint32(D,14+F+r.length,!0),D+=4,N.setUint32(D,F,!0),D+=4,N.setInt32(D,t,!0),D+=4,N.setInt32(D,-a,!0),D+=4,N.setUint16(D,1,!0),D+=2,N.setUint16(D,A,!0),D+=2,N.setUint32(D,o,!0),D+=4,N.setUint32(D,0,!0),D+=4,N.setInt32(D,0,!0),D+=4,N.setInt32(D,0,!0),D+=4,N.setUint32(D,r.length/4,!0),D+=4,N.setUint32(D,0,!0),D+=4,R.set(g,D),D+=g.length,R.set(r,D),D+=r.length,R.set(n,D),R}}],[{key:"needsToBeResized",value:function(A,e){if(A<=this._goodSquareLength&&e<=this._goodSquareLength)return!1;var t=this.MAX_DIM;if(A>t||e>t)return!0;var a=A*e;return this._hasMaxArea?a>this.MAX_AREA:!(a<Math.pow(this._goodSquareLength,2))&&(this._areGoodDims(A,e)?(this._goodSquareLength=Math.max(this._goodSquareLength,Math.floor(Math.sqrt(A*e))),!1):(this._goodSquareLength=this._guessMax(this._goodSquareLength,t,128,0),a>(this.MAX_AREA=Math.pow(this._goodSquareLength,2))))}},{key:"MAX_DIM",get:function(){return EA(this,"MAX_DIM",this._guessMax(2048,65537,0,1))}},{key:"MAX_AREA",get:function(){return this._hasMaxArea=!0,EA(this,"MAX_AREA",Math.pow(this._guessMax(A._goodSquareLength,this.MAX_DIM,128,0),2))},set:function(A){A>=0&&(this._hasMaxArea=!0,EA(this,"MAX_AREA",A))}},{key:"setMaxArea",value:function(A){this._hasMaxArea||(this.MAX_AREA=A>>2)}},{key:"_areGoodDims",value:function(A,e){try{var t=new OffscreenCanvas(A,e),a=t.getContext("2d");a.fillRect(0,0,1,1);var i=a.getImageData(0,0,1,1).data[3];return t.width=t.height=1,0!==i}catch(A){return!1}}},{key:"_guessMax",value:function(A,e,t,a){for(;A+t+1<e;){var i=Math.floor((A+e)/2),n=a||i;this._areGoodDims(i,n)?A=i:e=i}return A}},{key:"createImage",value:(e=E(B().mark((function e(t){var a,i=arguments;return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=i.length>1&&void 0!==i[1]&&i[1],e.abrupt("return",new A(t,a)._createImage());case 2:case"end":return e.stop()}}),e)}))),function(A){return e.apply(this,arguments)})}]);var e,t}();Bs._goodSquareLength=2048;var Qs=3285377520,Es=4294901760,fs=65535,ds=function(){return b((function A(e){F(this,A),this.h1=e?4294967295&e:Qs,this.h2=e?4294967295&e:Qs}),[{key:"update",value:function(A){var e,t;if("string"==typeof A){e=new Uint8Array(2*A.length),t=0;for(var a=0,i=A.length;a<i;a++){var n=A.charCodeAt(a);n<=255?e[t++]=n:(e[t++]=n>>>8,e[t++]=255&n)}}else{if(!ArrayBuffer.isView(A))throw new Error("Invalid data format, must be a string or TypedArray.");t=(e=A.slice()).byteLength}for(var r=t>>2,g=t-4*r,o=new Uint32Array(e.buffer,0,r),s=0,I=0,c=this.h1,l=this.h2,h=3432918353,u=461845907,C=11601,B=13715,Q=0;Q<r;Q++)1&Q?c=5*(c=(c^=s=(s=(s=(s=o[Q])*h&Es|s*C&fs)<<15|s>>>17)*u&Es|s*B&fs)<<13|c>>>19)+3864292196:l=5*(l=(l^=I=(I=(I=(I=o[Q])*h&Es|I*C&fs)<<15|I>>>17)*u&Es|I*B&fs)<<13|l>>>19)+3864292196;switch(s=0,g){case 3:s^=e[4*r+2]<<16;case 2:s^=e[4*r+1]<<8;case 1:s=(s=(s=(s^=e[4*r])*h&Es|s*C&fs)<<15|s>>>17)*u&Es|s*B&fs,1&r?c^=s:l^=s}this.h1=c,this.h2=l}},{key:"hexdigest",value:function(){var A=this.h1,e=this.h2;return A=3981806797*(A^=e>>>1)&Es|36045*A&fs,A=444984403*(A^=(e=4283543511*e&Es|(2950163797*(e<<16|A>>>16)&Es)>>>16)>>>1)&Es|60499*A&fs,((A^=(e=3301882366*e&Es|(3120437893*(e<<16|A>>>16)&Es)>>>16)>>>1)>>>0).toString(16).padStart(8,"0")+(e>>>0).toString(16).padStart(8,"0")}}])}();function ys(A,e,t,a,i){for(var n=A,r=0,g=e.length-1;r<g;r++){var o,s=e[r];n=(o=n)[s]||(o[s]=[])}n[e.at(-1)]={checkFn:t,iterateFn:a,processFn:i}}var ps=[];ys(ps,[AA,tA,86,eA],null,(function(A,e){var t=A.fnArray,a=(e-(A.iCurr-3))%4;switch(a){case 0:return t[e]===AA;case 1:return t[e]===tA;case 2:return 86===t[e];case 3:return t[e]===eA}throw new Error("iterateInlineImageGroup - invalid pos: ".concat(a))}),(function(A,e){var t=A.fnArray,a=A.argsArray,i=A.iCurr,n=i-3,r=i-2,g=i-1,o=Math.min(Math.floor((e-n)/4),200);if(o<10)return e-(e-n)%4;for(var s=0,I=[],c=0,l=1,h=1,u=0;u<o;u++){var C=a[r+(u<<2)],B=a[g+(u<<2)][0];l+B.width>1e3&&(s=Math.max(s,l),h+=c+2,l=0,c=0),I.push({transform:C,x:l,y:h,w:B.width,h:B.height}),l+=B.width+2,c=Math.max(c,B.height)}for(var Q=Math.max(s,l)+1,E=h+c+1,f=new Uint8Array(Q*E*4),d=Q<<2,y=0;y<o;y++){var p=a[g+(y<<2)][0].data,m=I[y].w<<2,k=0,v=I[y].x+I[y].y*Q<<2;f.set(p.subarray(0,m),v-d);for(var w=0,b=I[y].h;w<b;w++)f.set(p.subarray(k,k+m),v),k+=m,v+=d;for(f.set(p.subarray(k-m,k),v);v>=0;)p[v-4]=p[v],p[v-3]=p[v+1],p[v-2]=p[v+2],p[v-1]=p[v+3],p[v+m]=p[v+m-4],p[v+m+1]=p[v+m-3],p[v+m+2]=p[v+m-2],p[v+m+3]=p[v+m-1],v-=d}var D={width:Q,height:E};if(A.isOffscreenCanvasSupported){var F=new OffscreenCanvas(Q,E);F.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(f.buffer),Q,E),0,0),D.bitmap=F.transferToImageBitmap(),D.data=null}else D.kind=3,D.data=f;return t.splice(n,4*o,87),a.splice(n,4*o,[D,I]),n+1})),ys(ps,[AA,tA,sA,eA],null,(function(A,e){var t=A.fnArray,a=(e-(A.iCurr-3))%4;switch(a){case 0:return t[e]===AA;case 1:return t[e]===tA;case 2:return t[e]===sA;case 3:return t[e]===eA}throw new Error("iterateImageMaskGroup - invalid pos: ".concat(a))}),(function(A,e){var t=A.fnArray,a=A.argsArray,i=A.iCurr,n=i-3,r=i-2,g=i-1,o=Math.floor((e-n)/4);if(o<10)return e-(e-n)%4;var s,I,c=!1,l=a[g][0],h=a[r][0],u=a[r][1],C=a[r][2],B=a[r][3];if(u===C){c=!0,s=r+4;for(var Q=g+4,E=1;E<o;E++,s+=4,Q+=4)if(I=a[s],a[Q][0]!==l||I[0]!==h||I[1]!==u||I[2]!==C||I[3]!==B){E<10?c=!1:o=E;break}}if(c){o=Math.min(o,1e3);var f=new Float32Array(2*o);s=r;for(var d=0;d<o;d++,s+=4)I=a[s],f[d<<1]=I[4],f[1+(d<<1)]=I[5];t.splice(n,4*o,89),a.splice(n,4*o,[l,h,u,C,B,f])}else{o=Math.min(o,100);for(var y=[],p=0;p<o;p++){I=a[r+(p<<2)];var m=a[g+(p<<2)][0];y.push({data:m.data,width:m.width,height:m.height,interpolate:m.interpolate,count:m.count,transform:I})}t.splice(n,4*o,84),a.splice(n,4*o,[y])}return n+1})),ys(ps,[AA,tA,IA,eA],(function(A){var e=A.argsArray,t=A.iCurr-2;return 0===e[t][1]&&0===e[t][2]}),(function(A,e){var t=A.fnArray,a=A.argsArray,i=(e-(A.iCurr-3))%4;switch(i){case 0:return t[e]===AA;case 1:if(t[e]!==tA)return!1;var n=A.iCurr-2,r=a[n][0],g=a[n][3];return a[e][0]===r&&0===a[e][1]&&0===a[e][2]&&a[e][3]===g;case 2:if(t[e]!==IA)return!1;var o=a[A.iCurr-1][0];return a[e][0]===o;case 3:return t[e]===eA}throw new Error("iterateImageGroup - invalid pos: ".concat(i))}),(function(A,e){var t=A.fnArray,a=A.argsArray,i=A.iCurr,n=i-3,r=i-2,g=a[i-1][0],o=a[r][0],s=a[r][3],I=Math.min(Math.floor((e-n)/4),1e3);if(I<3)return e-(e-n)%4;for(var c=new Float32Array(2*I),l=r,h=0;h<I;h++,l+=4){var u=a[l];c[h<<1]=u[4],c[1+(h<<1)]=u[5]}var C=[g,o,s,c];return t.splice(n,4*I,88),a.splice(n,4*I,C),n+1})),ys(ps,[31,aA,42,iA,32],null,(function(A,e){var t=A.fnArray,a=A.argsArray,i=(e-(A.iCurr-4))%5;switch(i){case 0:return 31===t[e];case 1:return t[e]===aA;case 2:return 42===t[e];case 3:if(t[e]!==iA)return!1;var n=A.iCurr-3,r=a[n][0],g=a[n][1];return a[e][0]===r&&a[e][1]===g;case 4:return 32===t[e]}throw new Error("iterateShowTextGroup - invalid pos: ".concat(i))}),(function(A,e){var t=A.fnArray,a=A.argsArray,i=A.iCurr,n=i-4,r=i-3,g=i-2,o=i-1,s=i,I=a[r][0],c=a[r][1],l=Math.min(Math.floor((e-n)/5),1e3);if(l<3)return e-(e-n)%5;var h=n;n>=4&&t[n-4]===t[r]&&t[n-3]===t[g]&&t[n-2]===t[o]&&t[n-1]===t[s]&&a[n-4][0]===I&&a[n-4][1]===c&&(l++,h-=5);for(var u=h+4,C=1;C<l;C++)t.splice(u,3),a.splice(u,3),u+=2;return u+1}));var ms=function(){return b((function A(e){F(this,A),this.queue=e}),[{key:"_optimize",value:function(){}},{key:"push",value:function(A,e){this.queue.fnArray.push(A),this.queue.argsArray.push(e),this._optimize()}},{key:"flush",value:function(){}},{key:"reset",value:function(){}}])}(),ks=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[A])).state=null,t.context={iCurr:0,fnArray:A.fnArray,argsArray:A.argsArray,isOffscreenCanvasSupported:!1},t.match=null,t.lastProcessed=0,t}return x(e,A),b(e,[{key:"isOffscreenCanvasSupported",set:function(A){this.context.isOffscreenCanvasSupported=A}},{key:"_optimize",value:function(){var A=this.queue.fnArray,e=this.lastProcessed,t=A.length,a=this.state,i=this.match;if(a||i||e+1!==t||ps[A[e]]){for(var n=this.context;e<t;){if(i){if((0,i.iterateFn)(n,e)){e++;continue}if(e=(0,i.processFn)(n,e+1),i=null,a=null,e>=(t=A.length))break}(a=(a||ps)[A[e]])&&!Array.isArray(a)?(n.iCurr=e,e++,!a.checkFn||(0,a.checkFn)(n)?(i=a,a=null):a=null):e++}this.state=a,this.match=i,this.lastProcessed=e}else this.lastProcessed=t}},{key:"flush",value:function(){for(;this.match;){var A=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,A),this.match=null,this.state=null,this._optimize()}}},{key:"reset",value:function(){this.state=null,this.match=null,this.lastProcessed=0}}])}(ms),vs=function(){function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;F(this,A),this._streamSink=t,this.fnArray=[],this.argsArray=[],this.optimizer=!t||256&e?new ms(this):new ks(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=t?null:Promise.resolve()}return b(A,[{key:"isOffscreenCanvasSupported",set:function(A){this.optimizer.isOffscreenCanvasSupported=A}},{key:"length",get:function(){return this.argsArray.length}},{key:"ready",get:function(){return this._resolved||this._streamSink.ready}},{key:"totalLength",get:function(){return this._totalLength+this.length}},{key:"addOp",value:function(e,t){this.optimizer.push(e,t),this.weight++,this._streamSink&&(this.weight>=A.CHUNK_SIZE||this.weight>=A.CHUNK_SIZE_ABOUT&&(e===eA||32===e))&&this.flush()}},{key:"addImageOps",value:function(A,e,t){void 0!==t&&this.addOp(gA,["OC",t]),this.addOp(A,e),void 0!==t&&this.addOp(oA,[])}},{key:"addDependency",value:function(A){this.dependencies.has(A)||(this.dependencies.add(A),this.addOp(1,[A]))}},{key:"addDependencies",value:function(A){var e,t=m(A);try{for(t.s();!(e=t.n()).done;){var a=e.value;this.addDependency(a)}}catch(A){t.e(A)}finally{t.f()}}},{key:"addOpList",value:function(e){if(e instanceof A){var t,a=m(e.dependencies);try{for(a.s();!(t=a.n()).done;){var i=t.value;this.dependencies.add(i)}}catch(A){a.e(A)}finally{a.f()}for(var n=0,r=e.length;n<r;n++)this.addOp(e.fnArray[n],e.argsArray[n])}else uA('addOpList - ignoring invalid "opList" parameter.')}},{key:"getIR",value:function(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}}},{key:"_transfers",get:function(){for(var A,e=[],t=this.fnArray,a=this.argsArray,i=this.length,n=0;n<i;n++)switch(t[n]){case 86:case 87:case sA:var r=a[n][0];!r.cached&&(null===(A=r.data)||void 0===A?void 0:A.buffer)instanceof ArrayBuffer&&e.push(r.data.buffer)}return e}},{key:"flush",value:function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.optimizer.flush();var t=this.length;this._totalLength+=t,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:A,separateAnnots:e,length:t},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}])}();function ws(A,e,t,a){return(A=e+A*t)<0?A=0:A>a&&(A=a),A}function bs(A,e,t,a,i,n){var r,g=i*n;r=e<=8?new Uint8Array(g):e<=16?new Uint16Array(g):new Uint32Array(g);var o,s,I,c,l=t/i,h=a/n,u=0,C=new Uint16Array(i),B=t;for(o=0;o<i;o++)C[o]=Math.floor(o*l);for(o=0;o<n;o++)for(I=Math.floor(o*h)*B,s=0;s<i;s++)c=I+C[s],r[u++]=A[c];return r}t=vs,s(vs,"CHUNK_SIZE",1e3),s(vs,"CHUNK_SIZE_ABOUT",t.CHUNK_SIZE-5);var Ds=function(){function A(e){var t=e.xref,a=e.res,i=e.image,n=e.isInline,r=void 0!==n&&n,g=e.smask,o=void 0===g?null:g,s=e.mask,I=void 0===s?null:s,c=e.isMask,l=void 0!==c&&c,h=e.pdfFunctionFactory,u=e.localColorSpaceCache;F(this,A),this.image=i;var C,B=!1,Q=i.dict,E=Q.get("F","Filter");if(E instanceof VA)C=E.name;else if(Array.isArray(E)){var f=t.fetchIfRef(E[0]);f instanceof VA&&(C=f.name)}switch(C){case"JPXDecode":var d=ui.parseImageProperties(i.stream);i.width=d.width,i.height=d.height,i.numComps=d.componentsCount,i.bitsPerComponent=d.bitsPerComponent,i.stream.reset(),B=!0;break;case"JBIG2Decode":i.bitsPerComponent=1,i.numComps=1}var y=Q.get("W","Width"),p=Q.get("H","Height");if(Number.isInteger(i.width)&&i.width>0&&Number.isInteger(i.height)&&i.height>0&&(i.width!==y||i.height!==p)&&(uA("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),y=i.width,p=i.height),y<1||p<1)throw new vA("Invalid image width: ".concat(y," or height: ").concat(p));this.width=y,this.height=p,this.interpolate=Q.get("I","Interpolate"),this.imageMask=Q.get("IM","ImageMask")||!1,this.matte=Q.get("Matte")||!1;var m=i.bitsPerComponent;if(!m&&!(m=Q.get("BPC","BitsPerComponent"))){if(!this.imageMask)throw new vA("Bits per component missing in image: ".concat(this.imageMask));m=1}if(this.bpc=m,!this.imageMask){var k=Q.getRaw("CS")||Q.getRaw("ColorSpace");if(!k)switch(hA("JPX images (which do not require color spaces)"),i.numComps){case 1:k=VA.get("DeviceGray");break;case 3:k=VA.get("DeviceRGB");break;case 4:k=VA.get("DeviceCMYK");break;default:throw new Error("JPX images with ".concat(i.numComps," color components not supported."))}this.colorSpace=Ve.parse({cs:k,xref:t,resources:r?a:null,pdfFunctionFactory:h,localColorSpaceCache:u}),this.numComps=this.colorSpace.numComps,this.ignoreColorSpace=B&&"Indexed"===this.colorSpace.name}if(this.decode=Q.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,m)||l&&!Ve.isDefaultDecode(this.decode,1))){var v;this.needsDecode=!0;var w=(1<<m)-1;this.decodeCoefficients=[],this.decodeAddends=[];for(var b="Indexed"===(null===(v=this.colorSpace)||void 0===v?void 0:v.name),D=0,S=0;D<this.decode.length;D+=2,++S){var R=this.decode[D],N=this.decode[D+1];this.decodeCoefficients[S]=b?(N-R)/w:N-R,this.decodeAddends[S]=b?R:w*R}}o?this.smask=new A({xref:t,res:a,image:o,isInline:r,pdfFunctionFactory:h,localColorSpaceCache:u}):I&&(I instanceof re?I.dict.get("IM","ImageMask")?this.mask=new A({xref:t,res:a,image:I,isInline:r,isMask:!0,pdfFunctionFactory:h,localColorSpaceCache:u}):uA("Ignoring /Mask in image without /ImageMask."):this.mask=I)}return b(A,[{key:"drawWidth",get:function(){var A,e;return Math.max(this.width,(null===(A=this.smask)||void 0===A?void 0:A.width)||0,(null===(e=this.mask)||void 0===e?void 0:e.width)||0)}},{key:"drawHeight",get:function(){var A,e;return Math.max(this.height,(null===(A=this.smask)||void 0===A?void 0:A.height)||0,(null===(e=this.mask)||void 0===e?void 0:e.height)||0)}},{key:"decodeBuffer",value:function(A){var e,t,a=this.bpc,i=this.numComps,n=this.decodeAddends,r=this.decodeCoefficients,g=(1<<a)-1;if(1!==a){var o=0;for(e=0,t=this.width*this.height;e<t;e++)for(var s=0;s<i;s++)A[o]=ws(A[o],n[s],r[s],g),o++}else for(e=0,t=A.length;e<t;e++)A[e]=+!A[e]}},{key:"getComponents",value:function(A){var e=this.bpc;if(8===e)return A;var t,a=this.width,i=this.height,n=this.numComps,r=a*i*n,g=0;t=e<=8?new Uint8Array(r):e<=16?new Uint16Array(r):new Uint32Array(r);var o,s,I=a*n,c=(1<<e)-1,l=0;if(1===e)for(var h,u,C,B=0;B<i;B++){for(u=l+(-8&I),C=l+I;l<u;)s=A[g++],t[l]=s>>7&1,t[l+1]=s>>6&1,t[l+2]=s>>5&1,t[l+3]=s>>4&1,t[l+4]=s>>3&1,t[l+5]=s>>2&1,t[l+6]=s>>1&1,t[l+7]=1&s,l+=8;if(l<C)for(s=A[g++],h=128;l<C;)t[l++]=+!!(s&h),h>>=1}else{var Q=0;for(s=0,l=0,o=r;l<o;++l){for(l%I==0&&(s=0,Q=0);Q<e;)s=s<<8|A[g++],Q+=8;var E=Q-e,f=s>>E;f<0?f=0:f>c&&(f=c),t[l]=f,s&=(1<<E)-1,Q=E}}return t}},{key:"fillOpacity",value:function(e,t,a,i,n){var r,g,o,s,I,c,l=this.smask,h=this.mask;if(l)g=l.width,o=l.height,r=new Uint8ClampedArray(g*o),l.fillGrayBuffer(r),g===t&&o===a||(r=bs(r,l.bpc,g,o,t,a));else if(h)if(h instanceof A){for(g=h.width,o=h.height,r=new Uint8ClampedArray(g*o),h.numComps=1,h.fillGrayBuffer(r),s=0,I=g*o;s<I;++s)r[s]=255-r[s];g===t&&o===a||(r=bs(r,h.bpc,g,o,t,a))}else{if(!Array.isArray(h))throw new vA("Unknown mask format.");r=new Uint8ClampedArray(t*a);var u=this.numComps;for(s=0,I=t*a;s<I;++s){var C=0,B=s*u;for(c=0;c<u;++c){var Q=n[B+c],E=2*c;if(Q<h[E]||Q>h[E+1]){C=255;break}}r[s]=C}}if(r)for(s=0,c=3,I=t*i;s<I;++s,c+=4)e[c]=r[s];else for(s=0,c=3,I=t*i;s<I;++s,c+=4)e[c]=255}},{key:"undoPreblend",value:function(A,e,t){var a,i=null===(a=this.smask)||void 0===a?void 0:a.matte;if(i)for(var n=this.colorSpace.getRgb(i,0),r=n[0],g=n[1],o=n[2],s=e*t*4,I=0;I<s;I+=4){var c=A[I+3];if(0!==c){var l=255/c;A[I]=(A[I]-r)*l+r,A[I+1]=(A[I+1]-g)*l+g,A[I+2]=(A[I+2]-o)*l+o}else A[I]=255,A[I+1]=255,A[I+2]=255}}},{key:"createImageData",value:(a=E(B().mark((function A(){var e,t,a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d,y,p,m,k,v,w,b,D,F,S,R=arguments;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(e=R.length>0&&void 0!==R[0]&&R[0],t=R.length>1&&void 0!==R[1]&&R[1],a=this.drawWidth,i=this.drawHeight,n={width:a,height:i,interpolate:this.interpolate,kind:0,data:null},r=this.numComps,g=this.width,o=this.height,s=this.bpc,I=g*r*s+7>>3,c=t&&Bs.needsToBeResized(a,i),e){A.next=52;break}if("DeviceGray"===this.colorSpace.name&&1===s?l=1:"DeviceRGB"!==this.colorSpace.name||8!==s||this.needsDecode||(l=2),!l||this.smask||this.mask||a!==g||i!==o){A.next=23;break}if(h=this.getImageBytes(o*I,{}),!t){A.next=19;break}if(!c){A.next=18;break}return A.abrupt("return",Bs.createImage({data:h,kind:l,width:a,height:i,interpolate:this.interpolate},this.needsDecode));case 18:return A.abrupt("return",this.createBitmap(l,g,o,h));case 19:if(n.kind=l,n.data=h,this.needsDecode)for(BA(1===l,"PDFImage.createImageData: The image must be grayscale."),u=n.data,C=0,Q=u.length;C<Q;C++)u[C]^=255;return A.abrupt("return",n);case 23:if(!(this.image instanceof Ii)||this.smask||this.mask||this.needsDecode){A.next=52;break}if(E=o*I,!t||c){A.next=43;break}f=!1,A.t0=this.colorSpace.name,A.next="DeviceGray"===A.t0?30:"DeviceRGB"===A.t0?33:"DeviceCMYK"===A.t0?36:38;break;case 30:return E*=4,f=!0,A.abrupt("break",38);case 33:return E=E/3*4,f=!0,A.abrupt("break",38);case 36:return f=!0,A.abrupt("break",38);case 38:if(!f){A.next=41;break}return d=this.getImageBytes(E,{drawWidth:a,drawHeight:i,forceRGBA:!0}),A.abrupt("return",this.createBitmap(3,a,i,d));case 41:A.next=52;break;case 43:A.t1=this.colorSpace.name,A.next="DeviceGray"===A.t1?46:"DeviceRGB"===A.t1||"DeviceCMYK"===A.t1?47:52;break;case 46:E*=3;case 47:if(n.kind=2,n.data=this.getImageBytes(E,{drawWidth:a,drawHeight:i,forceRGB:!0}),!c){A.next=51;break}return A.abrupt("return",Bs.createImage(n));case 51:return A.abrupt("return",n);case 52:if(y=this.getImageBytes(o*I,{internal:!0}),p=0|y.length/I*i/o,m=this.getComponents(y),t&&!c&&(w=new OffscreenCanvas(a,i),b=w.getContext("2d"),D=b.createImageData(a,i),F=D.data),n.kind=3,e||this.smask||this.mask?(t&&!c||(F=new Uint8ClampedArray(a*i*4)),k=1,v=!0,this.fillOpacity(F,a,i,p,m)):(!t||c?(n.kind=2,F=new Uint8ClampedArray(a*i*3),k=0):(new Uint32Array(F.buffer).fill(RA.isLittleEndian?4278190080:255),k=1),v=!1),this.needsDecode&&this.decodeBuffer(m),this.colorSpace.fillRgb(F,g,o,a,i,p,s,m,k),v&&this.undoPreblend(F,a,p),!t||c){A.next=65;break}return b.putImageData(D,0,0),S=w.transferToImageBitmap(),A.abrupt("return",{data:null,width:a,height:i,bitmap:S,interpolate:this.interpolate});case 65:if(n.data=F,!c){A.next=68;break}return A.abrupt("return",Bs.createImage(n));case 68:return A.abrupt("return",n);case 69:case"end":return A.stop()}}),A,this)}))),function(){return a.apply(this,arguments)})},{key:"fillGrayBuffer",value:function(A){var e=this.numComps;if(1!==e)throw new vA("Reading gray scale from a color image: ".concat(e));var t,a,i=this.width,n=this.height,r=this.bpc,g=i*e*r+7>>3,o=this.getImageBytes(n*g,{internal:!0}),s=this.getComponents(o);if(1!==r){this.needsDecode&&this.decodeBuffer(s),a=i*n;var I=255/((1<<r)-1);for(t=0;t<a;++t)A[t]=I*s[t]}else if(a=i*n,this.needsDecode)for(t=0;t<a;++t)A[t]=s[t]-1&255;else for(t=0;t<a;++t)A[t]=255&-s[t]}},{key:"createBitmap",value:function(A,e,t,a){var i,n=new OffscreenCanvas(e,t),r=n.getContext("2d");return 3===A?i=new ImageData(a,e,t):(i=r.createImageData(e,t),function(A){switch(A.kind){case 1:return qa(A);case 2:return function(A){var e=A.src,t=A.srcPos,a=void 0===t?0:t,i=A.dest,n=A.destPos,r=void 0===n?0:n,g=(A.width,A.height,0),o=e.length>>2,s=new Uint32Array(e.buffer,a,o);if(RA.isLittleEndian){for(;g<o-2;g+=3,r+=4){var I=s[g],c=s[g+1],l=s[g+2];i[r]=4278190080|I,i[r+1]=I>>>24|c<<8|4278190080,i[r+2]=c>>>16|l<<16|4278190080,i[r+3]=l>>>8|4278190080}for(var h=4*g,u=e.length;h<u;h+=3)i[r++]=e[h]|e[h+1]<<8|e[h+2]<<16|4278190080}else{for(;g<o-2;g+=3,r+=4){var C=s[g],B=s[g+1],Q=s[g+2];i[r]=255|C,i[r+1]=C<<24|B>>>8|255,i[r+2]=B<<16|Q>>>16|255,i[r+3]=Q<<8|255}for(var E=4*g,f=e.length;E<f;E+=3)i[r++]=e[E]<<24|e[E+1]<<16|e[E+2]<<8|255}return{srcPos:a,destPos:r}}(A)}}({kind:A,src:a,dest:new Uint32Array(i.data.buffer),width:e,height:t,inverseDecode:this.needsDecode})),r.putImageData(i,0,0),{data:null,width:e,height:t,bitmap:n.transferToImageBitmap(),interpolate:this.interpolate}}},{key:"getImageBytes",value:function(A,e){var t=e.drawWidth,a=e.drawHeight,i=e.forceRGBA,n=void 0!==i&&i,r=e.forceRGB,g=void 0!==r&&r,o=e.internal,s=void 0!==o&&o;this.image.reset(),this.image.drawWidth=t||this.width,this.image.drawHeight=a||this.height,this.image.forceRGBA=!!n,this.image.forceRGB=!!g;var I=this.image.getBytes(A,this.ignoreColorSpace);return s||this.image instanceof Yt?I:(BA(I instanceof Uint8Array,'PDFImage.getImageBytes: Unsupported "imageBytes" type.'),new Uint8Array(I))}}],[{key:"buildImage",value:(t=E(B().mark((function e(t){var a,i,n,r,g,o,s,I,c,l,h,u;return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.xref,i=t.res,n=t.image,r=t.isInline,g=void 0!==r&&r,o=t.pdfFunctionFactory,s=t.localColorSpaceCache,I=n,c=null,l=null,h=n.dict.get("SMask"),u=n.dict.get("Mask"),h?h instanceof re?c=h:uA("Unsupported /SMask format."):u&&(u instanceof re||Array.isArray(u)?l=u:uA("Unsupported /Mask format.")),e.abrupt("return",new A({xref:a,res:i,image:I,isInline:g,smask:c,mask:l,pdfFunctionFactory:o,localColorSpaceCache:s}));case 8:case"end":return e.stop()}}),e)}))),function(A){return t.apply(this,arguments)})},{key:"createRawMask",value:function(A){var e,t,a=A.imgArray,i=A.width,n=A.height,r=A.imageIsFromDecodeStream,g=A.inverseDecode,o=A.interpolate,s=(i+7>>3)*n,I=a.byteLength;if(!r||g&&s!==I?g?((e=new Uint8Array(s)).set(a),e.fill(255,I)):e=new Uint8Array(a):e=a,g)for(t=0;t<I;t++)e[t]^=255;return{data:e,width:i,height:n,interpolate:o}}},{key:"createMask",value:(e=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I,c,l,h,u,C;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(t=e.imgArray,a=e.width,i=e.height,n=e.imageIsFromDecodeStream,r=e.inverseDecode,g=e.interpolate,o=e.isOffscreenCanvasSupported,s=void 0!==o&&o,!(I=1===a&&1===i&&r===(0===t.length||!!(128&t[0])))){A.next=4;break}return A.abrupt("return",{isSingleOpaquePixel:I});case 4:if(!s){A.next=16;break}if(!Bs.needsToBeResized(a,i)){A.next=9;break}return c=new Uint8ClampedArray(a*i*4),qa({src:t,dest:c,width:a,height:i,nonBlackColor:0,inverseDecode:r}),A.abrupt("return",Bs.createImage({kind:3,data:c,width:a,height:i,interpolate:g}));case 9:return l=new OffscreenCanvas(a,i),h=l.getContext("2d"),u=h.createImageData(a,i),qa({src:t,dest:u.data,width:a,height:i,nonBlackColor:0,inverseDecode:r}),h.putImageData(u,0,0),C=l.transferToImageBitmap(),A.abrupt("return",{data:null,width:a,height:i,interpolate:g,bitmap:C});case 16:return A.abrupt("return",this.createRawMask({imgArray:t,width:a,height:i,inverseDecode:r,imageIsFromDecodeStream:n,interpolate:g}));case 17:case"end":return A.stop()}}),A,this)}))),function(A){return e.apply(this,arguments)})}]);var e,t,a}(),Fs=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,isOffscreenCanvasSupported:!1,canvasMaxAreaInBytes:-1,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),Ss=Promise.resolve();function Rs(A){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(A)){var t,a=m(A);try{for(a.s();!(t=a.n()).done;){var i=Rs(t.value,!0);if(i)return i}}catch(A){a.e(A)}finally{a.f()}return uA("Unsupported blend mode Array: ".concat(A)),"source-over"}if(!(A instanceof VA))return e?null:"source-over";switch(A.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"}return e?null:(uA("Unsupported blend mode: ".concat(A.name)),"source-over")}function Ns(A){var e;A.fn===sA&&(null===(e=A.args[0])||void 0===e?void 0:e.count)>0&&A.args[0].count++}var Gs=function(){function A(){F(this,A),this.reset()}return b(A,[{key:"check",value:function(){return!(++this.checked<A.CHECK_TIME_EVERY)&&(this.checked=0,this.endTime<=Date.now())}},{key:"reset",value:function(){this.endTime=Date.now()+A.TIME_SLOT_DURATION_MS,this.checked=0}}])}();s(Gs,"TIME_SLOT_DURATION_MS",20),s(Gs,"CHECK_TIME_EVERY",100);var xs=function(){function A(e){var t=e.xref,a=e.handler,i=e.pageIndex,n=e.idFactory,r=e.fontCache,g=e.builtInCMapCache,o=e.standardFontDataCache,s=e.globalImageCache,I=e.systemFontCache,c=e.options,l=void 0===c?null:c;F(this,A),this.xref=t,this.handler=a,this.pageIndex=i,this.idFactory=n,this.fontCache=r,this.builtInCMapCache=g,this.standardFontDataCache=o,this.globalImageCache=s,this.systemFontCache=I,this.options=l||Fs,this.type3FontRefs=null,this._regionalImageCache=new vo,this._fetchBuiltInCMapBound=this.fetchBuiltInCMap.bind(this),Bs.setMaxArea(this.options.canvasMaxAreaInBytes)}return b(A,[{key:"_pdfFunctionFactory",get:function(){return EA(this,"_pdfFunctionFactory",new Ro({xref:this.xref,isEvalSupported:this.options.isEvalSupported}))}},{key:"parsingType3Font",get:function(){return!!this.type3FontRefs}},{key:"clone",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=Object.create(this);return e.options=Object.assign(Object.create(null),this.options,A),e}},{key:"hasBlendModes",value:function(A,e){if(!(A instanceof _A))return!1;if(A.objId&&e.has(A.objId))return!1;var t=new Ae(e);A.objId&&t.put(A.objId);for(var a=[A],i=this.xref;a.length;){var n=a.shift(),r=n.get("ExtGState");if(r instanceof _A){var g,o=m(r.getRawValues());try{for(o.s();!(g=o.n()).done;){var s=g.value;if(s instanceof $A){if(t.has(s))continue;try{s=i.fetch(s)}catch(A){t.put(s),hA('hasBlendModes - ignoring ExtGState: "'.concat(A,'".'));continue}}if(s instanceof _A){s.objId&&t.put(s.objId);var I=s.get("BM");if(I instanceof VA){if("Normal"!==I.name)return!0}else if(void 0!==I&&Array.isArray(I)){var c,l=m(I);try{for(l.s();!(c=l.n()).done;){var h=c.value;if(h instanceof VA&&"Normal"!==h.name)return!0}}catch(A){l.e(A)}finally{l.f()}}}}}catch(A){o.e(A)}finally{o.f()}}var u=n.get("XObject");if(u instanceof _A){var C,B=m(u.getRawValues());try{for(B.s();!(C=B.n()).done;){var Q=C.value;if(Q instanceof $A){if(t.has(Q))continue;try{Q=i.fetch(Q)}catch(A){t.put(Q),hA('hasBlendModes - ignoring XObject: "'.concat(A,'".'));continue}}if(Q instanceof re){Q.dict.objId&&t.put(Q.dict.objId);var E=Q.dict.get("Resources");E instanceof _A&&(E.objId&&t.has(E.objId)||(a.push(E),E.objId&&t.put(E.objId)))}}}catch(A){B.e(A)}finally{B.f()}}}var f,d=m(t);try{for(d.s();!(f=d.n()).done;){var y=f.value;e.put(y)}}catch(A){d.e(A)}finally{d.f()}return!1}},{key:"fetchBuiltInCMap",value:(l=E(B().mark((function A(e){var t,a,i,n;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!(t=this.builtInCMapCache.get(e))){A.next=3;break}return A.abrupt("return",t);case 3:if(null===this.options.cMapUrl){A.next=19;break}return i="".concat(this.options.cMapUrl).concat(e,".bcmap"),A.next=7,fetch(i);case 7:if((n=A.sent).ok){A.next=10;break}throw new Error('fetchBuiltInCMap: failed to fetch file "'.concat(i,'" with "').concat(n.statusText,'".'));case 10:return A.t0=Uint8Array,A.next=13,n.arrayBuffer();case 13:A.t1=A.sent,A.t2=new A.t0(A.t1),A.t3=$.BINARY,a={cMapData:A.t2,compressionType:A.t3},A.next=22;break;case 19:return A.next=21,this.handler.sendWithPromise("FetchBuiltInCMap",{name:e});case 21:a=A.sent;case 22:return a.compressionType!==$.NONE&&this.builtInCMapCache.set(e,a),A.abrupt("return",a);case 24:case"end":return A.stop()}}),A,this)}))),function(A){return l.apply(this,arguments)})},{key:"fetchStandardFontData",value:(c=E(B().mark((function A(e){var t,a,i,n,r,g;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!(t=this.standardFontDataCache.get(e))){A.next=3;break}return A.abrupt("return",new Pe(t));case 3:if(!this.options.useSystemFonts||"Symbol"===e||"ZapfDingbats"===e){A.next=5;break}return A.abrupt("return",null);case 5:if(a=Hn(),i=a[e],null===this.options.standardFontDataUrl){A.next=22;break}return r="".concat(this.options.standardFontDataUrl).concat(i),A.next=10,fetch(r);case 10:if((g=A.sent).ok){A.next=15;break}uA('fetchStandardFontData: failed to fetch file "'.concat(r,'" with "').concat(g.statusText,'".')),A.next=20;break;case 15:return A.t0=Uint8Array,A.next=18,g.arrayBuffer();case 18:A.t1=A.sent,n=new A.t0(A.t1);case 20:A.next=31;break;case 22:return A.prev=22,A.next=25,this.handler.sendWithPromise("FetchStandardFontData",{filename:i});case 25:n=A.sent,A.next=31;break;case 28:A.prev=28,A.t2=A.catch(22),uA('fetchStandardFontData: failed to fetch file "'.concat(i,'" with "').concat(A.t2,'".'));case 31:if(n){A.next=33;break}return A.abrupt("return",null);case 33:return this.standardFontDataCache.set(e,n),A.abrupt("return",new Pe(n));case 35:case"end":return A.stop()}}),A,this,[[22,28]])}))),function(A){return c.apply(this,arguments)})},{key:"buildFormXObject",value:(s=E(B().mark((function A(e,t,a,i,n,r,g){var o,s,I,c,l,h,u,C,Q,E,f;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(o=t.dict,s=me(o.getArray("Matrix"),null),I=ve(o.getArray("BBox"),null),!o.has("OC")){A.next=7;break}return A.next=6,this.parseMarkedContentProps(o.get("OC"),e);case 6:c=A.sent;case 7:if(void 0!==c&&i.addOp(gA,["OC",c]),!(h=o.get("Group"))){A.next=28;break}if(l={matrix:s,bbox:I,smask:a,isolated:!1,knockout:!1},u=h.get("S"),C=null,!te(u,"Transparency")){A.next=26;break}if(l.isolated=h.get("I")||!1,l.knockout=h.get("K")||!1,!h.has("CS")){A.next=26;break}if(Q=h.getRaw("CS"),!(E=Ve.getCached(Q,this.xref,g))){A.next=23;break}C=E,A.next=26;break;case 23:return A.next=25,this.parseColorSpace({cs:Q,resources:e,localColorSpaceCache:g});case 25:C=A.sent;case 26:null!=a&&a.backdrop&&(C||(C=Ve.singletons.rgb),a.backdrop=C.getRgb(a.backdrop,0)),i.addOp(76,[l]);case 28:return f=h?[s,null]:[s,I],i.addOp(74,f),A.next=32,this.getOperatorList({stream:t,task:n,resources:o.get("Resources")||e,operatorList:i,initialState:r});case 32:i.addOp(75,[]),h&&i.addOp(77,[l]),void 0!==c&&i.addOp(oA,[]);case 35:case"end":return A.stop()}}),A,this)}))),function(A,e,t,a,i,n,r){return s.apply(this,arguments)})},{key:"_sendImgData",value:function(A,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e?[e.bitmap||e.data.buffer]:null;return this.parsingType3Font||t?this.handler.send("commonobj",[A,"Image",e],a):this.handler.send("obj",[A,this.pageIndex,"Image",e],a)}},{key:"buildPaintImageXObject",value:(o=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I,c,l,h,u,C,Q,f,d,y,p,m,k,v,w,b,D,F,S,R,N,G,x,U=this;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(t=e.resources,a=e.image,i=e.isInline,n=void 0!==i&&i,r=e.operatorList,g=e.cacheKey,o=e.localImageCache,s=e.localColorSpaceCache,I=a.dict,c=I.objId,l=I.get("W","Width"),h=I.get("H","Height"),l&&"number"==typeof l&&h&&"number"==typeof h){A.next=8;break}return uA("Image dimensions are missing, or not numbers."),A.abrupt("return");case 8:if(!(-1!==(u=this.options.maxImageSize)&&l*h>u)){A.next=15;break}if(C="Image exceeded maximum allowed size and was removed.",!this.options.ignoreErrors){A.next=14;break}return uA(C),A.abrupt("return");case 14:throw new Error(C);case 15:if(!I.has("OC")){A.next=19;break}return A.next=18,this.parseMarkedContentProps(I.get("OC"),t);case 18:Q=A.sent;case 19:if(!I.get("IM","ImageMask")){A.next=47;break}if(y=I.get("I","Interpolate"),p=l+7>>3,m=a.getBytes(p*h),k=I.getArray("D","Decode"),!this.parsingType3Font){A.next=32;break}return(f=Ds.createRawMask({imgArray:m,width:l,height:h,imageIsFromDecodeStream:a instanceof Yt,inverseDecode:(null==k?void 0:k[0])>0,interpolate:y})).cached=!!g,d=[f],r.addImageOps(sA,d,Q),g&&(v={fn:sA,args:d,optionalContent:Q},o.set(g,c,v),c&&this._regionalImageCache.set(null,c,v)),A.abrupt("return");case 32:return A.next=34,Ds.createMask({imgArray:m,width:l,height:h,imageIsFromDecodeStream:a instanceof Yt,inverseDecode:(null==k?void 0:k[0])>0,interpolate:y,isOffscreenCanvasSupported:this.options.isOffscreenCanvasSupported});case 34:if(!(f=A.sent).isSingleOpaquePixel){A.next=39;break}return r.addImageOps(90,[],Q),g&&(w={fn:90,args:[],optionalContent:Q},o.set(g,c,w),c&&this._regionalImageCache.set(null,c,w)),A.abrupt("return");case 39:return b="mask_".concat(this.idFactory.createObjId()),r.addDependency(b),f.dataLen=f.bitmap?f.width*f.height*4:f.data.length,this._sendImgData(b,f),d=[{data:b,width:f.width,height:f.height,interpolate:f.interpolate,count:1}],r.addImageOps(sA,d,Q),g&&(D={fn:sA,args:d,optionalContent:Q},o.set(g,c,D),c&&this._regionalImageCache.set(null,c,D)),A.abrupt("return");case 47:if(!(n&&l+h<200)||I.has("SMask")||I.has("Mask")){A.next=65;break}return A.prev=49,F=new Ds({xref:this.xref,res:t,image:a,isInline:n,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:s}),A.next=53,F.createImageData(!0,!1);case 53:f=A.sent,r.isOffscreenCanvasSupported=this.options.isOffscreenCanvasSupported,r.addImageOps(86,[f],Q),A.next=64;break;case 58:if(A.prev=58,A.t0=A.catch(49),S='Unable to decode inline image: "'.concat(A.t0,'".'),this.options.ignoreErrors){A.next=63;break}throw new Error(S);case 63:uA(S);case 64:return A.abrupt("return");case 65:if(R="img_".concat(this.idFactory.createObjId()),N=!1,this.parsingType3Font?R="".concat(this.idFactory.getDocId(),"_type3_").concat(R):g&&c&&(N=this.globalImageCache.shouldCache(c,this.pageIndex))&&(BA(!n,"Cannot cache an inline image globally."),R="".concat(this.idFactory.getDocId(),"_").concat(R)),r.addDependency(R),d=[R,l,h],r.addImageOps(IA,d,Q),!N){A.next=83;break}if(!this.globalImageCache.hasDecodeFailed(c)){A.next=75;break}return this.globalImageCache.setData(c,{objId:R,fn:IA,args:d,optionalContent:Q,byteSize:0}),this._sendImgData(R,null,N),A.abrupt("return");case 75:if(!(l*h>25e4||I.has("SMask")||I.has("Mask"))){A.next=83;break}return A.next=78,this.handler.sendWithPromise("commonobj",[R,"CopyLocalImage",{imageRef:c}]);case 78:if(!(G=A.sent)){A.next=83;break}return this.globalImageCache.setData(c,{objId:R,fn:IA,args:d,optionalContent:Q,byteSize:0}),this.globalImageCache.addByteSize(c,G),A.abrupt("return");case 83:Ds.buildImage({xref:this.xref,res:t,image:a,isInline:n,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:s}).then(function(){var A=E(B().mark((function A(e){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,e.createImageData(!1,U.options.isOffscreenCanvasSupported);case 2:return(f=A.sent).dataLen=f.bitmap?f.width*f.height*4:f.data.length,f.ref=c,N&&U.globalImageCache.addByteSize(c,f.dataLen),A.abrupt("return",U._sendImgData(R,f,N));case 7:case"end":return A.stop()}}),A)})));return function(e){return A.apply(this,arguments)}}()).catch((function(A){return uA('Unable to decode image "'.concat(R,'": "').concat(A,'".')),c&&U.globalImageCache.addDecodeFailed(c),U._sendImgData(R,null,N)})),g&&(x={fn:IA,args:d,optionalContent:Q},o.set(g,c,x),c&&(this._regionalImageCache.set(null,c,x),N&&this.globalImageCache.setData(c,{objId:R,fn:IA,args:d,optionalContent:Q,byteSize:0})));case 85:case"end":return A.stop()}}),A,this,[[49,58]])}))),function(A){return o.apply(this,arguments)})},{key:"handleSMask",value:function(A,e,t,a,i,n){var r=A.get("G"),g={subtype:A.get("S").name,backdrop:A.get("BC")},o=A.get("TR");if(xo(o)){for(var s=this._pdfFunctionFactory.create(o),I=new Uint8Array(256),c=new Float32Array(1),l=0;l<256;l++)c[0]=l/255,s(c,0,c,0),I[l]=255*c[0]|0;g.transferMap=I}return this.buildFormXObject(e,r,g,t,a,i.state.clone(),n)}},{key:"handleTransferFunction",value:function(A){var e;if(Array.isArray(A))e=A;else{if(!xo(A))return null;e=[A]}var t,a=[],i=0,n=0,r=m(e);try{for(r.s();!(t=r.n()).done;){var g=t.value,o=this.xref.fetchIfRef(g);if(i++,te(o,"Identity"))a.push(null);else{if(!xo(o))return null;for(var s=this._pdfFunctionFactory.create(o),I=new Uint8Array(256),c=new Float32Array(1),l=0;l<256;l++)c[0]=l/255,s(c,0,c,0),I[l]=255*c[0]|0;a.push(I),n++}}}catch(A){r.e(A)}finally{r.f()}return 1!==i&&4!==i||0===n?null:a}},{key:"handleTilingType",value:function(A,e,t,a,i,n,r,g){var o=this,s=new vs,I=_A.merge({xref:this.xref,dictArray:[i.get("Resources"),t]});return this.getOperatorList({stream:a,task:r,resources:I,operatorList:s}).then((function(){var t=s.getIR(),a=kg(t,i,e);n.addDependencies(s.dependencies),n.addOp(A,a),i.objId&&g.set(null,i.objId,{operatorListIR:t,dict:i})})).catch((function(A){if(!(A instanceof wA)){if(!o.options.ignoreErrors)throw A;uA('handleTilingType - ignoring pattern: "'.concat(A,'".'))}}))}},{key:"handleSetFont",value:(g=E(B().mark((function A(e,t,a,i,n,r){var g,o,s,I,c=arguments;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return g=c.length>6&&void 0!==c[6]?c[6]:null,o=c.length>7&&void 0!==c[7]?c[7]:null,s=(null==t?void 0:t[0])instanceof VA?t[0].name:null,A.next=5,this.loadFont(s,a,e,g,o);case 5:if(!(I=A.sent).font.isType3Font){A.next=16;break}return A.prev=7,A.next=10,I.loadType3Data(this,e,n);case 10:i.addDependencies(I.type3Dependencies),A.next=16;break;case 13:A.prev=13,A.t0=A.catch(7),I=new Us({loadedName:"g_font_error",font:new Cg("Type3 font load error: ".concat(A.t0)),dict:I.font,evaluatorOptions:this.options});case 16:return r.font=I.font,I.send(this.handler),A.abrupt("return",I.loadedName);case 19:case"end":return A.stop()}}),A,this,[[7,13]])}))),function(A,e,t,a,i,n){return g.apply(this,arguments)})},{key:"handleText",value:function(e,t){var a=t.font,i=a.charsToGlyphs(e);return a.data&&(4&t.textRenderingMode||"Pattern"===t.fillColorSpace.name||a.disableFontFace||this.options.disableFontFace)&&A.buildFontPaths(a,i,this.handler,this.options),i}},{key:"ensureStateFont",value:function(A){if(!A.font){var e=new vA("Missing setFont (Tf) operator before text rendering operator.");if(!this.options.ignoreErrors)throw e;uA('ensureStateFont: "'.concat(e,'".'))}}},{key:"setGState",value:(r=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E=this;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:t=e.resources,a=e.gState,i=e.operatorList,n=e.cacheKey,r=e.task,g=e.stateManager,o=e.localGStateCache,s=e.localColorSpaceCache,I=a.objId,c=!0,l=[],h=Promise.resolve(),u=m(a.getKeys()),A.prev=6,Q=B().mark((function A(){var e,n,o;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:e=C.value,n=a.get(e),A.t0=e,A.next="Type"===A.t0?5:"LW"===A.t0||"LC"===A.t0||"LJ"===A.t0||"ML"===A.t0||"D"===A.t0||"RI"===A.t0||"FL"===A.t0||"CA"===A.t0||"ca"===A.t0?6:"Font"===A.t0?8:"BM"===A.t0?11:"SMask"===A.t0?13:"TR"===A.t0?18:"OP"===A.t0||"op"===A.t0||"OPM"===A.t0||"BG"===A.t0||"BG2"===A.t0||"UCR"===A.t0||"UCR2"===A.t0||"TR2"===A.t0||"HT"===A.t0||"SM"===A.t0||"SA"===A.t0||"AIS"===A.t0||"TK"===A.t0?21:23;break;case 5:return A.abrupt("break",25);case 6:return l.push([e,n]),A.abrupt("break",25);case 8:return c=!1,h=h.then((function(){return E.handleSetFont(t,null,n[0],i,r,g.state).then((function(A){i.addDependency(A),l.push([e,[A,n[1]]])}))})),A.abrupt("break",25);case 11:return l.push([e,Rs(n)]),A.abrupt("break",25);case 13:if(!te(n,"None")){A.next=16;break}return l.push([e,!1]),A.abrupt("break",25);case 16:return n instanceof _A?(c=!1,h=h.then((function(){return E.handleSMask(n,t,i,r,g,s)})),l.push([e,!0])):uA("Unsupported SMask type"),A.abrupt("break",25);case 18:return o=E.handleTransferFunction(n),l.push([e,o]),A.abrupt("break",25);case 21:return hA("graphic state operator "+e),A.abrupt("break",25);case 23:return hA("Unknown graphic state operator "+e),A.abrupt("break",25);case 25:case"end":return A.stop()}}),A)})),u.s();case 9:if((C=u.n()).done){A.next=13;break}return A.delegateYield(Q(),"t0",11);case 11:A.next=9;break;case 13:A.next=18;break;case 15:A.prev=15,A.t1=A.catch(6),u.e(A.t1);case 18:return A.prev=18,u.f(),A.finish(18);case 21:return A.next=23,h;case 23:l.length>0&&i.addOp(9,[l]),c&&o.set(n,I,l);case 25:case"end":return A.stop()}}),A,null,[[6,15,18,21]])}))),function(A){return r.apply(this,arguments)})},{key:"loadFont",value:function(e,t,a){var i,n,r=this,g=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,s=function(){var A=E(B().mark((function A(){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",new Us({loadedName:"g_font_error",font:new Cg('Font "'.concat(e,'" is not available.')),dict:t,evaluatorOptions:r.options}));case 1:case"end":return A.stop()}}),A)})));return function(){return A.apply(this,arguments)}}();if(t)t instanceof $A&&(n=t);else{var I=a.get("Font");I&&(n=I.getRaw(e))}if(n){var c;if(null!==(c=this.type3FontRefs)&&void 0!==c&&c.has(n))return s();if(this.fontCache.has(n))return this.fontCache.get(n);try{t=this.xref.fetchIfRef(n)}catch(A){uA('loadFont - lookup failed: "'.concat(A,'".'))}}if(!(t instanceof _A)){if(!this.options.ignoreErrors&&!this.parsingType3Font)return uA('Font "'.concat(e,'" is not available.')),s();uA('Font "'.concat(e,'" is not available -- attempting to fallback to a default font.')),t=g||A.fallbackFontDict}if(t.cacheKey&&this.fontCache.has(t.cacheKey))return this.fontCache.get(t.cacheKey);var l,h=Promise.withResolvers(),u=h.promise,C=h.resolve;try{(l=this.preEvaluateFont(t)).cssFontInfo=o}catch(A){return uA('loadFont - preEvaluateFont failed: "'.concat(A,'".')),s()}var Q,f=l,d=f.descriptor,y=f.hash,p=n instanceof $A;if(y&&d instanceof _A){var m=d.fontAliases||(d.fontAliases=Object.create(null));if(m[y]){var k=m[y].aliasRef;if(p&&k&&this.fontCache.has(k))return this.fontCache.putAlias(n,k),this.fontCache.get(n)}else m[y]={fontID:this.idFactory.createFontId()};p&&(m[y].aliasRef=n),Q=m[y].fontID}else Q=this.idFactory.createFontId();return BA(null===(i=Q)||void 0===i?void 0:i.startsWith("f"),'The "fontID" must be (correctly) defined.'),p?this.fontCache.put(n,u):(t.cacheKey="cacheKey_".concat(Q),this.fontCache.put(t.cacheKey,u)),t.loadedName="".concat(this.idFactory.getDocId(),"_").concat(Q),this.translateFont(l).then((function(A){C(new Us({loadedName:t.loadedName,font:A,dict:t,evaluatorOptions:r.options}))})).catch((function(A){uA('loadFont - translateFont failed: "'.concat(A,'".')),C(new Us({loadedName:t.loadedName,font:new Cg(A instanceof Error?A.message:A),dict:t,evaluatorOptions:r.options}))})),u}},{key:"buildPath",value:function(A,e,t){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=A.length-1;if(t||(t=[]),i<0||91!==A.fnArray[i]){var n;switch(a&&(uA('Encountered path operator "'.concat(e,'" inside of a text object.')),A.addOp(AA,null)),e){case 19:var r=t[0]+t[2],g=t[1]+t[3];n=[Math.min(t[0],r),Math.min(t[1],g),Math.max(t[0],r),Math.max(t[1],g)];break;case 13:case 14:n=[t[0],t[1],t[0],t[1]];break;default:n=[1/0,1/0,-1/0,-1/0]}A.addOp(91,[[e],t,n]),a&&A.addOp(eA,null)}else{var o,s=A.argsArray[i];s[0].push(e),(o=s[1]).push.apply(o,I(t));var c=s[2];switch(e){case 19:var l=t[0]+t[2],h=t[1]+t[3];c[0]=Math.min(c[0],t[0],l),c[1]=Math.min(c[1],t[1],h),c[2]=Math.max(c[2],t[0],l),c[3]=Math.max(c[3],t[1],h);break;case 13:case 14:c[0]=Math.min(c[0],t[0]),c[1]=Math.min(c[1],t[1]),c[2]=Math.max(c[2],t[0]),c[3]=Math.max(c[3],t[1])}}}},{key:"parseColorSpace",value:function(A){var e=this,t=A.cs,a=A.resources,i=A.localColorSpaceCache;return Ve.parseAsync({cs:t,xref:this.xref,resources:a,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:i}).catch((function(A){if(A instanceof wA)return null;if(e.options.ignoreErrors)return uA('parseColorSpace - ignoring ColorSpace: "'.concat(A,'".')),null;throw A}))}},{key:"parseShading",value:function(A){var e,t=A.shading,a=A.resources,i=A.localColorSpaceCache,n=A.localShadingPatternCache,r=n.get(t);if(r)return r;try{e=Bg.parseShading(t,this.xref,a,this._pdfFunctionFactory,i).getIR()}catch(A){if(A instanceof wA)return null;if(this.options.ignoreErrors)return uA('parseShading - ignoring shading: "'.concat(A,'".')),n.set(t,null),null;throw A}return r="pattern_".concat(this.idFactory.createObjId()),this.parsingType3Font&&(r="".concat(this.idFactory.getDocId(),"_type3_").concat(r)),n.set(t,r),this.parsingType3Font?this.handler.send("commonobj",[r,"Pattern",e]):this.handler.send("obj",[r,this.pageIndex,"Pattern",e]),r}},{key:"handleColorN",value:function(A,e,t,a,i,n,r,g,o,s){var I=t.pop();if(I instanceof VA){var c=i.getRaw(I.name),l=c instanceof $A&&o.getByRef(c);if(l)try{var h=a.base?a.base.getRgb(t,0):null,u=kg(l.operatorListIR,l.dict,h);return void A.addOp(e,u)}catch(A){}var C=this.xref.fetchIfRef(c);if(C){var B=C instanceof re?C.dict:C,Q=B.get("PatternType");if(1===Q){var E=a.base?a.base.getRgb(t,0):null;return this.handleTilingType(e,E,n,C,B,A,r,o)}if(2===Q){var f=B.get("Shading"),d=this.parseShading({shading:f,resources:n,localColorSpaceCache:g,localShadingPatternCache:s});if(d){var y=me(B.getArray("Matrix"),null);A.addOp(e,["Shading",d,y])}return}throw new vA("Unknown PatternType: ".concat(Q))}}throw new vA("Unknown PatternName: ".concat(I))}},{key:"_parseVisibilityExpression",value:function(A,e,t){if(++e>10)uA("Visibility expression is too deeply nested");else{var a=A.length,i=this.xref.fetchIfRef(A[0]);if(!(a<2)&&i instanceof VA){switch(i.name){case"And":case"Or":case"Not":t.push(i.name);break;default:return void uA("Invalid operator ".concat(i.name," in visibility expression"))}for(var n=1;n<a;n++){var r=A[n],g=this.xref.fetchIfRef(r);if(Array.isArray(g)){var o=[];t.push(o),this._parseVisibilityExpression(g,e,o)}else r instanceof $A&&t.push(r.toString())}}else uA("Invalid visibility expression")}}},{key:"parseMarkedContentProps",value:(n=E(B().mark((function A(e,t){var a,i,n,r,g,o,s,I,c,l,h;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!(e instanceof VA)){A.next=5;break}n=t.get("Properties"),i=n.get(e.name),A.next=10;break;case 5:if(!(e instanceof _A)){A.next=9;break}i=e,A.next=10;break;case 9:throw new vA("Optional content properties malformed.");case 10:if("OCG"!==(r=null===(a=i.get("Type"))||void 0===a?void 0:a.name)){A.next=15;break}return A.abrupt("return",{type:r,id:i.objId});case 15:if("OCMD"!==r){A.next=31;break}if(g=i.get("VE"),!Array.isArray(g)){A.next=22;break}if(o=[],this._parseVisibilityExpression(g,0,o),!(o.length>0)){A.next=22;break}return A.abrupt("return",{type:"OCMD",expression:o});case 22:if(s=i.get("OCGs"),!(Array.isArray(s)||s instanceof _A)){A.next=29;break}if(I=[],Array.isArray(s)){c=m(s);try{for(c.s();!(l=c.n()).done;)h=l.value,I.push(h.toString())}catch(A){c.e(A)}finally{c.f()}}else I.push(s.objId);return A.abrupt("return",{type:r,ids:I,policy:i.get("P")instanceof VA?i.get("P").name:null,expression:null});case 29:if(!(s instanceof $A)){A.next=31;break}return A.abrupt("return",{type:r,id:s.toString()});case 31:return A.abrupt("return",null);case 32:case"end":return A.stop()}}),A,this)}))),function(A,e){return n.apply(this,arguments)})},{key:"getOperatorList",value:function(A){var e=this,t=A.stream,a=A.task,i=A.resources,n=A.operatorList,r=A.initialState,g=void 0===r?null:r,o=A.fallbackFontDict,s=void 0===o?null:o;if(i||(i=_A.empty),g||(g=new Ls),!n)throw new Error('getOperatorList: missing "operatorList" parameter');var c=this,l=this.xref,h=!1,u=new fo,C=new yo,B=new mo,Q=new ko,E=new Map,f=i.get("XObject")||_A.empty,d=i.get("Pattern")||_A.empty,y=new Ms(g),p=new Hs(t,l,y),k=new Gs;function v(A){for(var e=0,t=p.savedStatesDepth;e<t;e++)n.addOp(eA,[])}return new Promise((function A(e,t){var r=function(a){Promise.all([a,n.ready]).then((function(){try{A(e,t)}catch(A){t(A)}}),t)};a.ensureNotTerminated(),k.reset();for(var g,o,w,b,D,F,S={};!(g=k.check())&&(S.args=null,p.read(S));){var R=S.args,N=S.fn;switch(0|N){case 66:if(F=R[0]instanceof VA,D=R[0].name,F){var G=u.getByName(D);if(G){n.addImageOps(G.fn,G.args,G.optionalContent),Ns(G),R=null;continue}}return void r(new Promise((function(A,e){if(!F)throw new vA("XObject must be referred to by name.");var t=f.getRaw(D);if(t instanceof $A){var r=u.getByRef(t)||c._regionalImageCache.getByRef(t);if(r)return n.addImageOps(r.fn,r.args,r.optionalContent),Ns(r),void A();var g=c.globalImageCache.getData(t,c.pageIndex);if(g)return n.addDependency(g.objId),n.addImageOps(g.fn,g.args,g.optionalContent),void A();t=l.fetch(t)}if(!(t instanceof re))throw new vA("XObject should be a stream");var o=t.dict.get("Subtype");if(!(o instanceof VA))throw new vA("XObject should have a Name subtype");if("Form"===o.name)return y.save(),void c.buildFormXObject(i,t,null,n,a,y.state.clone(),C).then((function(){y.restore(),A()}),e);if("Image"!==o.name){if("PS"!==o.name)throw new vA("Unhandled XObject subtype ".concat(o.name));hA("Ignored XObject subtype PS"),A()}else c.buildPaintImageXObject({resources:i,image:t,operatorList:n,cacheKey:D,localImageCache:u,localColorSpaceCache:C}).then(A,e)})).catch((function(A){if(!(A instanceof wA)){if(!c.options.ignoreErrors)throw A;uA('getOperatorList - ignoring XObject: "'.concat(A,'".'))}})));case aA:var x=R[1];return void r(c.handleSetFont(i,R,null,n,a,y.state,s).then((function(A){n.addDependency(A),n.addOp(aA,[A,x])})));case 31:h=!0;break;case 32:h=!1;break;case 65:var U=R[0].cacheKey;if(U){var M=u.getByName(U);if(M){n.addImageOps(M.fn,M.args,M.optionalContent),Ns(M),R=null;continue}}return void r(c.buildPaintImageXObject({resources:i,image:R[0],isInline:!0,operatorList:n,cacheKey:U,localImageCache:u,localColorSpaceCache:C}));case iA:if(!y.state.font){c.ensureStateFont(y.state);continue}R[0]=c.handleText(R[0],y.state);break;case 45:if(!y.state.font){c.ensureStateFont(y.state);continue}var J,L=[],H=y.state,Y=m(R[0]);try{for(Y.s();!(J=Y.n()).done;){var K,q=J.value;"string"==typeof q?(K=L).push.apply(K,I(c.handleText(q,H))):"number"==typeof q&&L.push(q)}}catch(A){Y.e(A)}finally{Y.f()}R[0]=L,N=iA;break;case 46:if(!y.state.font){c.ensureStateFont(y.state);continue}n.addOp(43),R[0]=c.handleText(R[0],y.state),N=iA;break;case 47:if(!y.state.font){c.ensureStateFont(y.state);continue}n.addOp(43),n.addOp(34,[R.shift()]),n.addOp(33,[R.shift()]),R[0]=c.handleText(R[0],y.state),N=iA;break;case 38:y.state.textRenderingMode=R[0];break;case 51:var T=Ve.getCached(R[0],l,C);if(T){y.state.fillColorSpace=T;continue}return void r(c.parseColorSpace({cs:R[0],resources:i,localColorSpaceCache:C}).then((function(A){A&&(y.state.fillColorSpace=A)})));case 50:var P=Ve.getCached(R[0],l,C);if(P){y.state.strokeColorSpace=P;continue}return void r(c.parseColorSpace({cs:R[0],resources:i,localColorSpaceCache:C}).then((function(A){A&&(y.state.strokeColorSpace=A)})));case 54:R=(b=y.state.fillColorSpace).getRgb(R,0),N=rA;break;case 52:R=(b=y.state.strokeColorSpace).getRgb(R,0),N=nA;break;case 57:y.state.fillColorSpace=Ve.singletons.gray,R=Ve.singletons.gray.getRgb(R,0),N=rA;break;case 56:y.state.strokeColorSpace=Ve.singletons.gray,R=Ve.singletons.gray.getRgb(R,0),N=nA;break;case 61:y.state.fillColorSpace=Ve.singletons.cmyk,R=Ve.singletons.cmyk.getRgb(R,0),N=rA;break;case 60:y.state.strokeColorSpace=Ve.singletons.cmyk,R=Ve.singletons.cmyk.getRgb(R,0),N=nA;break;case rA:y.state.fillColorSpace=Ve.singletons.rgb,R=Ve.singletons.rgb.getRgb(R,0);break;case nA:y.state.strokeColorSpace=Ve.singletons.rgb,R=Ve.singletons.rgb.getRgb(R,0);break;case 55:if("Pattern"===(b=y.state.fillColorSpace).name)return void r(c.handleColorN(n,55,R,b,d,i,a,C,Q,E));R=b.getRgb(R,0),N=rA;break;case 53:if("Pattern"===(b=y.state.strokeColorSpace).name)return void r(c.handleColorN(n,53,R,b,d,i,a,C,Q,E));R=b.getRgb(R,0),N=nA;break;case 62:var W=i.get("Shading");if(!W)throw new vA("No shading resource found");var Z=W.get(R[0].name);if(!Z)throw new vA("No shading object found");var O=c.parseShading({shading:Z,resources:i,localColorSpaceCache:C,localShadingPatternCache:E});if(!O)continue;R=[O],N=62;break;case 9:if(F=R[0]instanceof VA,D=R[0].name,F){var X=B.getByName(D);if(X){X.length>0&&n.addOp(9,[X]),R=null;continue}}return void r(new Promise((function(A,e){if(!F)throw new vA("GState must be referred to by name.");var t=i.get("ExtGState");if(!(t instanceof _A))throw new vA("ExtGState should be a dictionary.");var r=t.get(D);if(!(r instanceof _A))throw new vA("GState should be a dictionary.");c.setGState({resources:i,gState:r,operatorList:n,cacheKey:D,task:a,stateManager:y,localGStateCache:B,localColorSpaceCache:C}).then(A,e)})).catch((function(A){if(!(A instanceof wA)){if(!c.options.ignoreErrors)throw A;uA('getOperatorList - ignoring ExtGState: "'.concat(A,'".'))}})));case 13:case 14:case 15:case 16:case 17:case 18:case 19:c.buildPath(n,N,R,h);continue;case 67:case 68:case 72:case 73:continue;case gA:if(!(R[0]instanceof VA)){uA("Expected name for beginMarkedContentProps arg0=".concat(R[0])),n.addOp(gA,["OC",null]);continue}if("OC"===R[0].name)return void r(c.parseMarkedContentProps(R[1],i).then((function(A){n.addOp(gA,["OC",A])})).catch((function(A){if(!(A instanceof wA)){if(c.options.ignoreErrors)return uA('getOperatorList - ignoring beginMarkedContentProps: "'.concat(A,'".')),void n.addOp(gA,["OC",null]);throw A}})));R=[R[0].name,R[1]instanceof _A?R[1].get("MCID"):null];break;default:if(null!==R){for(o=0,w=R.length;o<w&&!(R[o]instanceof _A);o++);if(o<w){uA("getOperatorList - ignoring operator: "+N);continue}}}n.addOp(N,R)}g?r(Ss):(v(),e())})).catch((function(A){if(!(A instanceof wA)){if(e.options.ignoreErrors)return uA('getOperatorList - ignoring errors during "'.concat(a.name,'" ')+'task: "'.concat(A,'".')),void v();throw A}}))}},{key:"getTextContent",value:function(A){var e=this,t=A.stream,a=A.task,i=A.resources,n=A.stateManager,r=void 0===n?null:n,g=A.includeMarkedContent,o=void 0!==g&&g,s=A.sink,I=A.seenStyles,c=void 0===I?new Set:I,l=A.viewBox,h=A.lang,u=void 0===h?null:h,C=A.markedContentData,Q=void 0===C?null:C,f=A.disableNormalization,y=void 0!==f&&f,p=A.keepWhiteSpace,m=void 0!==p&&p;i||(i=_A.empty),r||(r=new Ms(new Js)),o&&(Q||(Q={level:0}));var k={items:[],styles:Object.create(null),lang:u},v={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},w=[" "," "],b=0;function D(A){var e=(b+1)%2,t=" "!==w[b]&&" "===w[e];return w[b]=A,b=e,!m&&t}function F(){return!m&&" "!==w[b]&&" "===w[(b+1)%2]}function S(){w[0]=w[1]=" ",b=0}var R,N=.102,G=.03,x=-.2,U=.102,M=.6,J=.25,L=this,H=this.xref,q=[],T=null,P=new fo,W=new mo,Z=new Hs(t,H,r);function O(A){var e=A.width,t=void 0===e?0:e,a=A.height,i=void 0===a?0:a,n=A.transform,r=void 0===n?v.prevTransform:n,g=A.fontName,o=void 0===g?v.fontName:g;k.items.push({str:" ",dir:"ltr",width:t,height:i,transform:r,fontName:o,hasEOL:!1})}function X(){var A=R.font,e=[R.fontSize*R.textHScale,0,0,R.fontSize,0,R.textRise];if(A.isType3Font&&(R.fontSize<=1||A.isCharBBox)&&!YA(R.fontMatrix,K)){var t=A.bbox[3]-A.bbox[1];t>0&&(e[3]*=t*R.fontMatrix[3])}return GA.transform(R.ctm,GA.transform(R.textMatrix,e))}function V(){if(v.initialized)return v;var A=R,e=A.font,t=A.loadedName;if(!c.has(t)&&(c.add(t),k.styles[t]={fontFamily:e.fallbackName,ascent:e.ascent,descent:e.descent,vertical:e.vertical},L.options.fontExtraProperties&&e.systemFontInfo)){var a=k.styles[t];a.fontSubstitution=e.systemFontInfo.css,a.fontSubstitutionLoadedName=e.systemFontInfo.loadedName}v.fontName=t;var i=v.transform=X();e.vertical?(v.width=v.totalWidth=Math.hypot(i[0],i[1]),v.height=v.totalHeight=0,v.vertical=!0):(v.width=v.totalWidth=0,v.height=v.totalHeight=Math.hypot(i[2],i[3]),v.vertical=!1);var n=Math.hypot(R.textLineMatrix[0],R.textLineMatrix[1]),r=Math.hypot(R.ctm[0],R.ctm[1]);v.textAdvanceScale=r*n;var g=R.fontSize;return v.trackingSpaceMin=g*N,v.notASpace=g*G,v.negativeSpaceMax=g*x,v.spaceInFlowMin=g*U,v.spaceInFlowMax=g*M,v.hasEOL=!1,v.initialized=!0,v}function j(){if(v.initialized){var A=Math.hypot(R.textLineMatrix[0],R.textLineMatrix[1]),e=Math.hypot(R.ctm[0],R.ctm[1])*A;e!==v.textAdvanceScale&&(v.vertical?(v.totalHeight+=v.height*v.textAdvanceScale,v.height=0):(v.totalWidth+=v.width*v.textAdvanceScale,v.width=0),v.textAdvanceScale=e)}}function z(A,e){return _.apply(this,arguments)}function _(){return(_=E(B().mark((function A(e,t){var n;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,L.loadFont(e,t,i);case 2:if(!(n=A.sent).font.isType3Font){A.next=11;break}return A.prev=4,A.next=7,n.loadType3Data(L,i,a);case 7:A.next=11;break;case 9:A.prev=9,A.t0=A.catch(4);case 11:R.loadedName=n.loadedName,R.font=n.font,R.fontMatrix=n.font.fontMatrix||K;case 14:case"end":return A.stop()}}),A,null,[[4,9]])})))).apply(this,arguments)}function $(A,e,t){var a=Math.hypot(t[0],t[1]);return[(t[0]*A+t[1]*e)/a,(t[2]*A+t[3]*e)/a]}function AA(A){var e,t=X(),a=t[4],i=t[5];if(null!==(e=R.font)&&void 0!==e&&e.vertical){if(a<l[0]||a>l[2]||i+A<l[1]||i>l[3])return!1}else if(a+A<l[0]||a>l[2]||i<l[1]||i>l[3])return!1;if(!R.font||!v.prevTransform)return!0;var n=v.prevTransform[4],r=v.prevTransform[5];if(n===a&&r===i)return!0;var g=-1;switch(t[0]&&0===t[1]&&0===t[2]?g=t[0]>0?0:180:t[1]&&0===t[0]&&0===t[3]&&(g=t[1]>0?90:270),g){case 0:break;case 90:var o=[i,a];a=o[0],i=o[1];var s=[r,n];n=s[0],r=s[1];break;case 180:var I=[-a,-i,-n,-r];a=I[0],i=I[1],n=I[2],r=I[3];break;case 270:var c=[-i,-a];a=c[0],i=c[1];var h=[-r,-n];n=h[0],r=h[1];break;default:var u=d($(a,i,t),2);a=u[0],i=u[1];var C=d($(n,r,v.prevTransform),2);n=C[0],r=C[1]}if(R.font.vertical){var B=(r-i)/v.textAdvanceScale,Q=a-n,E=Math.sign(v.height);return B<E*v.negativeSpaceMax?Math.abs(Q)>.5*v.width?(nA(),!0):(S(),sA(),!0):Math.abs(Q)>v.width?(nA(),!0):(B<=E*v.notASpace&&S(),B<=E*v.trackingSpaceMin?F()?(S(),sA(),O({height:Math.abs(B)})):v.height+=B:rA(B,v.prevTransform,E)||(0===v.str.length?(S(),O({height:Math.abs(B)})):v.height+=B),Math.abs(Q)>v.width*J&&sA(),!0)}var f=(a-n)/v.textAdvanceScale,y=i-r,p=Math.sign(v.width);return f<p*v.negativeSpaceMax?Math.abs(y)>.5*v.height?(nA(),!0):(S(),sA(),!0):Math.abs(y)>v.height?(nA(),!0):(f<=p*v.notASpace&&S(),f<=p*v.trackingSpaceMin?F()?(S(),sA(),O({width:Math.abs(f)})):v.width+=f:rA(f,v.prevTransform,p)||(0===v.str.length?(S(),O({width:Math.abs(f)})):v.width+=f),Math.abs(y)>v.height*J&&sA(),!0)}function tA(A){var e=A.chars,t=A.extraSpacing,a=R.font;if(!e){var i=R.charSpacing+t;return i&&(a.vertical?R.translateTextMatrix(0,-i):R.translateTextMatrix(i*R.textHScale,0)),void(m&&AA(0))}for(var n=a.charsToGlyphs(e),r=R.fontMatrix[0]*R.fontSize,g=0,o=n.length;g<o;g++){var s=n[g],I=s.category;if(!I.isInvisibleFormatMark){var c=R.charSpacing+(g+1===o?t:0),l=s.width;a.vertical&&(l=s.vmetric?s.vmetric[0]:-l);var h=l*r;if(m||!I.isWhitespace)if(I.isZeroWidthDiacritic||AA(h)){var u=V();I.isZeroWidthDiacritic&&(h=0),a.vertical?(R.translateTextMatrix(0,h),h=Math.abs(h),u.height+=h):(h*=R.textHScale,R.translateTextMatrix(h,0),u.width+=h),h&&(u.prevTransform=X());var C=s.unicode;D(C)&&u.str.push(" "),u.str.push(C),c&&(a.vertical?R.translateTextMatrix(0,-c):R.translateTextMatrix(c*R.textHScale,0))}else a.vertical?R.translateTextMatrix(0,h):R.translateTextMatrix(h*R.textHScale,0);else a.vertical?(c+=-h+R.wordSpacing,R.translateTextMatrix(0,-c)):(c+=h+R.wordSpacing,R.translateTextMatrix(c*R.textHScale,0)),D(" ")}}}function nA(){S(),v.initialized?(v.hasEOL=!0,sA()):k.items.push({str:"",dir:"ltr",width:0,height:0,transform:X(),fontName:R.loadedName,hasEOL:!0})}function rA(A,e,t){if(t*v.spaceInFlowMin<=A&&A<=t*v.spaceInFlowMax)return v.initialized&&(S(),v.str.push(" ")),!1;var a=v.fontName,i=0;return v.vertical&&(i=A,A=0),sA(),S(),O({width:Math.abs(A),height:Math.abs(i),transform:e||X(),fontName:a}),!0}function sA(){v.initialized&&v.str&&(v.vertical?v.totalHeight+=v.height*v.textAdvanceScale:v.totalWidth+=v.width*v.textAdvanceScale,k.items.push(function(A){var e,t=A.str.join("");y||(e=t,qA||(qA=/([\xA0\xB5\u037E\u0EB3\u2000-\u200A\u202F\u2126\uFB00-\uFB04\uFB06\uFB20-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBA1\uFBA4-\uFBA9\uFBAE-\uFBB1\uFBD3-\uFBDC\uFBDE-\uFBE7\uFBEA-\uFBF8\uFBFC\uFBFD\uFC00-\uFC5D\uFC64-\uFCF1\uFCF5-\uFD3D\uFD88\uFDF4\uFDFA\uFDFB\uFE71\uFE77\uFE79\uFE7B\uFE7D]+)|(\uFB05+)/g,TA=new Map([["ﬅ","ſt"]])),t=e.replaceAll(qA,(function(A,e,t){return e?e.normalize("NFKC"):TA.get(t)})));var a=rs(t,-1,A.vertical);return{str:a.str,dir:a.dir,width:Math.abs(A.totalWidth),height:Math.abs(A.totalHeight),transform:A.transform,fontName:A.fontName,hasEOL:A.hasEOL}}(v)),v.initialized=!1,v.str.length=0)}function IA(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=k.items.length;0!==e&&(A&&e<10||(s.enqueue(k,e),k.items=[],k.styles=Object.create(null)))}var cA=new Gs;return new Promise((function A(e,t){var n=function(a){IA(!0),Promise.all([a,s.ready]).then((function(){try{A(e,t)}catch(A){t(A)}}),t)};a.ensureNotTerminated(),cA.reset();for(var g,I={},h=[];!(g=cA.check())&&(h.length=0,I.args=h,Z.read(I));){var C=R;R=r.state;var B=I.fn;switch(h=I.args,0|B){case aA:var E=h[0].name,f=h[1];if(R.font&&E===R.fontName&&f===R.fontSize)break;return sA(),R.fontName=E,R.fontSize=f,void n(z(E,null));case 39:R.textRise=h[0];break;case 35:R.textHScale=h[0]/100;break;case 36:R.leading=h[0];break;case 40:R.translateTextLineMatrix(h[0],h[1]),R.textMatrix=R.textLineMatrix.slice();break;case 41:R.leading=-h[1],R.translateTextLineMatrix(h[0],h[1]),R.textMatrix=R.textLineMatrix.slice();break;case 43:R.carriageReturn();break;case 42:R.setTextMatrix(h[0],h[1],h[2],h[3],h[4],h[5]),R.setTextLineMatrix(h[0],h[1],h[2],h[3],h[4],h[5]),j();break;case 33:R.charSpacing=h[0];break;case 34:R.wordSpacing=h[0];break;case 31:R.textMatrix=Y.slice(),R.textLineMatrix=Y.slice();break;case 45:if(!r.state.font){L.ensureStateFont(r.state);continue}for(var d=(R.font.vertical?1:-1)*R.fontSize/1e3,p=h[0],v=0,w=p.length;v<w;v++){var b=p[v];if("string"==typeof b)q.push(b);else if("number"==typeof b&&0!==b){var D=q.join("");q.length=0,tA({chars:D,extraSpacing:b*d})}}if(q.length>0){var F=q.join("");q.length=0,tA({chars:F,extraSpacing:0})}break;case iA:if(!r.state.font){L.ensureStateFont(r.state);continue}tA({chars:h[0],extraSpacing:0});break;case 46:if(!r.state.font){L.ensureStateFont(r.state);continue}R.carriageReturn(),tA({chars:h[0],extraSpacing:0});break;case 47:if(!r.state.font){L.ensureStateFont(r.state);continue}R.wordSpacing=h[0],R.charSpacing=h[1],R.carriageReturn(),tA({chars:h[2],extraSpacing:0});break;case 66:sA(),T||(T=i.get("XObject")||_A.empty);var S=h[0]instanceof VA,N=h[0].name;if(S&&P.getByName(N))break;return void n(new Promise((function(A,e){if(!S)throw new vA("XObject must be referred to by name.");var t=T.getRaw(N);if(t instanceof $A){if(P.getByRef(t))return void A();if(L.globalImageCache.getData(t,L.pageIndex))return void A();t=H.fetch(t)}if(!(t instanceof re))throw new vA("XObject should be a stream");var n=t.dict.get("Subtype");if(!(n instanceof VA))throw new vA("XObject should have a Name subtype");if("Form"!==n.name)return P.set(N,t.dict.objId,!0),void A();var g=r.state.clone(),I=new Ms(g),h=me(t.dict.getArray("Matrix"),null);h&&I.transform(h),IA();var C={enqueueInvoked:!1,enqueue:function(A,e){this.enqueueInvoked=!0,s.enqueue(A,e)},get desiredSize(){return s.desiredSize},get ready(){return s.ready}};L.getTextContent({stream:t,task:a,resources:t.dict.get("Resources")||i,stateManager:I,includeMarkedContent:o,sink:C,seenStyles:c,viewBox:l,lang:u,markedContentData:Q,disableNormalization:y,keepWhiteSpace:m}).then((function(){C.enqueueInvoked||P.set(N,t.dict.objId,!0),A()}),e)})).catch((function(A){if(!(A instanceof wA)){if(!L.options.ignoreErrors)throw A;uA('getTextContent - ignoring XObject: "'.concat(A,'".'))}})));case 9:if(S=h[0]instanceof VA,N=h[0].name,S&&W.getByName(N))break;return void n(new Promise((function(A,e){if(!S)throw new vA("GState must be referred to by name.");var t=i.get("ExtGState");if(!(t instanceof _A))throw new vA("ExtGState should be a dictionary.");var a=t.get(N);if(!(a instanceof _A))throw new vA("GState should be a dictionary.");var n=a.get("Font");if(!n)return W.set(N,a.objId,!0),void A();sA(),R.fontName=null,R.fontSize=n[1],z(null,n[0]).then(A,e)})).catch((function(A){if(!(A instanceof wA)){if(!L.options.ignoreErrors)throw A;uA('getTextContent - ignoring ExtGState: "'.concat(A,'".'))}})));case 69:sA(),o&&(Q.level++,k.items.push({type:"beginMarkedContent",tag:h[0]instanceof VA?h[0].name:null}));break;case gA:if(sA(),o){Q.level++;var G=null;h[1]instanceof _A&&(G=h[1].get("MCID")),k.items.push({type:"beginMarkedContentProps",id:Number.isInteger(G)?"".concat(L.idFactory.getPageObjId(),"_mc").concat(G):null,tag:h[0]instanceof VA?h[0].name:null})}break;case oA:if(sA(),o){if(0===Q.level)break;Q.level--,k.items.push({type:"endMarkedContent"})}break;case eA:!C||C.font===R.font&&C.fontSize===R.fontSize&&C.fontName===R.fontName||sA()}if(k.items.length>=s.desiredSize){g=!0;break}}g?n(Ss):(sA(),IA(),e())})).catch((function(A){if(!(A instanceof wA)){if(e.options.ignoreErrors)return uA('getTextContent - ignoring errors during "'.concat(a.name,'" ')+'task: "'.concat(A,'".')),sA(),void IA();throw A}}))}},{key:"extractDataStructures",value:(i=E(B().mark((function A(e,t){var a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d,y,p,k;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(a=this.xref,n=this.readToUnicode(t.toUnicode),!t.composite){A.next=15;break}(r=e.get("CIDSystemInfo"))instanceof _A&&(t.cidSystemInfo={registry:JA(r.get("Registry")),ordering:JA(r.get("Ordering")),supplement:r.get("Supplement")}),A.prev=5,(g=e.get("CIDToGIDMap"))instanceof re&&(i=g.getBytes()),A.next=15;break;case 10:if(A.prev=10,A.t0=A.catch(5),this.options.ignoreErrors){A.next=14;break}throw A.t0;case 14:uA('extractDataStructures - ignoring CIDToGIDMap data: "'.concat(A.t0,'".'));case 15:if(o=[],s=null,!e.has("Encoding")){A.next=61;break}if(!((I=e.get("Encoding"))instanceof _A)){A.next=52;break}if(s=(s=I.get("BaseEncoding"))instanceof VA?s.name:null,!I.has("Differences")){A.next=50;break}c=I.get("Differences"),l=0,h=m(c),A.prev=26,h.s();case 28:if((u=h.n()).done){A.next=42;break}if(C=u.value,"number"!=typeof(Q=a.fetchIfRef(C))){A.next=35;break}l=Q,A.next=40;break;case 35:if(!(Q instanceof VA)){A.next=39;break}o[l++]=Q.name,A.next=40;break;case 39:throw new vA("Invalid entry in 'Differences' array: ".concat(Q));case 40:A.next=28;break;case 42:A.next=47;break;case 44:A.prev=44,A.t1=A.catch(26),h.e(A.t1);case 47:return A.prev=47,h.f(),A.finish(47);case 50:A.next=60;break;case 52:if(!(I instanceof VA)){A.next=56;break}s=I.name,A.next=60;break;case 56:if(E="Encoding is not a Name nor a Dict",this.options.ignoreErrors){A.next=59;break}throw new vA(E);case 59:uA(E);case 60:"MacRomanEncoding"!==s&&"MacExpertEncoding"!==s&&"WinAnsiEncoding"!==s&&(s=null);case 61:return f=!t.file||t.isInternalFont,d=qn()[t.name],s&&f&&d&&(s=null),s?t.defaultEncoding=nn(s):(y=!!(4&t.flags),p=!!(32&t.flags),I=An,"TrueType"!==t.type||p||(I=en),(y||d)&&(I=$i,f&&(/Symbol/i.test(t.name)?I=tn:/Dingbats/i.test(t.name)?I=an:/Wingdings/i.test(t.name)&&(I=en))),t.defaultEncoding=I),t.differences=o,t.baseEncodingName=s,t.hasEncoding=!!s||o.length>0,t.dict=e,A.next=70,n;case 70:return t.toUnicode=A.sent,A.next=73,this.buildToUnicode(t);case 73:return k=A.sent,t.toUnicode=k,i&&(t.cidToGidMap=this.readCidToGidMap(i,k)),A.abrupt("return",t);case 77:case"end":return A.stop()}}),A,this,[[5,10],[26,44,47,50]])}))),function(A,e){return i.apply(this,arguments)})},{key:"_simpleFontToUnicode",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];BA(!A.composite,"Must be a simple font.");var t=[],a=A.defaultEncoding.slice(),i=A.baseEncodingName,n=A.differences;for(var r in n){var g=n[r];".notdef"!==g&&(a[r]=g)}var o=vn();for(var s in a){var I=a[s];if(""!==I){var c=o[I];if(void 0===c){var l=0;switch(I[0]){case"G":3===I.length&&(l=parseInt(I.substring(1),16));break;case"g":5===I.length&&(l=parseInt(I.substring(1),16));break;case"C":case"c":if(I.length>=3&&I.length<=4){var h=I.substring(1);if(e){l=parseInt(h,16);break}if(l=+h,Number.isNaN(l)&&Number.isInteger(parseInt(h,16)))return this._simpleFontToUnicode(A,!0)}break;case"u":-1!==(c=Dn(I,o))&&(l=c);break;default:switch(I){case"f_h":case"f_t":case"T_h":t[s]=I.replaceAll("_","");continue}}if(l>0&&l<=1114111&&Number.isInteger(l)){if(i&&l===+s){var u=nn(i);if(u&&(I=u[s])){t[s]=String.fromCharCode(o[I]);continue}}t[s]=String.fromCodePoint(l)}}else t[s]=String.fromCharCode(c)}}return t}},{key:"buildToUnicode",value:(a=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(e.hasIncludedToUnicodeMap=(null===(t=e.toUnicode)||void 0===t?void 0:t.length)>0,!e.hasIncludedToUnicodeMap){A.next=4;break}return!e.composite&&e.hasEncoding&&(e.fallbackToUnicode=this._simpleFontToUnicode(e)),A.abrupt("return",e.toUnicode);case 4:if(e.composite){A.next=6;break}return A.abrupt("return",new Xn(this._simpleFontToUnicode(e)));case 6:if(!e.composite||(!e.cMap.builtInCMap||e.cMap instanceof Si)&&("Adobe"!==(null===(a=e.cidSystemInfo)||void 0===a?void 0:a.registry)||"GB1"!==e.cidSystemInfo.ordering&&"CNS1"!==e.cidSystemInfo.ordering&&"Japan1"!==e.cidSystemInfo.ordering&&"Korea1"!==e.cidSystemInfo.ordering)){A.next=15;break}return i=e.cidSystemInfo,n=i.registry,r=i.ordering,g=VA.get("".concat(n,"-").concat(r,"-UCS2")),A.next=11,Oi.create({encoding:g,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 11:return o=A.sent,s=[],I=[],e.cMap.forEach((function(A,e){if(e>65535)throw new vA("Max size of CID is 65,535");var t=o.lookup(e);if(t){I.length=0;for(var a=0,i=t.length;a<i;a+=2)I.push((t.charCodeAt(a)<<8)+t.charCodeAt(a+1));s[A]=String.fromCharCode.apply(String,I)}})),A.abrupt("return",new Xn(s));case 15:return A.abrupt("return",new Vn(e.firstChar,e.lastChar));case 16:case"end":return A.stop()}}),A,this)}))),function(A){return a.apply(this,arguments)})},{key:"readToUnicode",value:(t=E(B().mark((function A(e){var t,a,i;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(e){A.next=2;break}return A.abrupt("return",null);case 2:if(!(e instanceof VA)){A.next=9;break}return A.next=5,Oi.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 5:if(!((t=A.sent)instanceof Si)){A.next=8;break}return A.abrupt("return",new Vn(0,65535));case 8:return A.abrupt("return",new Xn(t.getMap()));case 9:if(!(e instanceof re)){A.next=29;break}return A.prev=10,A.next=13,Oi.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 13:if(!((a=A.sent)instanceof Si)){A.next=16;break}return A.abrupt("return",new Vn(0,65535));case 16:return i=new Array(a.length),a.forEach((function(A,e){if("number"!=typeof e){for(var t=[],a=0;a<e.length;a+=2){var n=e.charCodeAt(a)<<8|e.charCodeAt(a+1);if(55296==(63488&n)){a+=2;var r=e.charCodeAt(a)<<8|e.charCodeAt(a+1);t.push(((1023&n)<<10)+(1023&r)+65536)}else t.push(n)}i[A]=String.fromCodePoint.apply(String,t)}else i[A]=String.fromCodePoint(e)})),A.abrupt("return",new Xn(i));case 21:if(A.prev=21,A.t0=A.catch(10),!(A.t0 instanceof wA)){A.next=25;break}return A.abrupt("return",null);case 25:if(!this.options.ignoreErrors){A.next=28;break}return uA('readToUnicode - ignoring ToUnicode data: "'.concat(A.t0,'".')),A.abrupt("return",null);case 28:throw A.t0;case 29:return A.abrupt("return",null);case 30:case"end":return A.stop()}}),A,this,[[10,21]])}))),function(A){return t.apply(this,arguments)})},{key:"readCidToGidMap",value:function(A,e){for(var t=[],a=0,i=A.length;a<i;a++){var n=A[a++]<<8|A[a],r=a>>1;(0!==n||e.has(r))&&(t[r]=n)}return t}},{key:"extractWidths",value:function(A,e,t){var a,i=this.xref,n=[],r=0,g=[];if(t.composite){var o=A.get("DW");r=Number.isInteger(o)?o:1e3;var s=A.get("W");if(Array.isArray(s))for(var I=0,c=s.length;I<c;I++){var l=i.fetchIfRef(s[I++]);if(!Number.isInteger(l))break;var h=i.fetchIfRef(s[I]);if(Array.isArray(h)){var u,C=m(h);try{for(C.s();!(u=C.n()).done;){var B=u.value,Q=i.fetchIfRef(B);"number"==typeof Q&&(n[l]=Q),l++}}catch(A){C.e(A)}finally{C.f()}}else{if(!Number.isInteger(h))break;var E=i.fetchIfRef(s[++I]);if("number"!=typeof E)continue;for(var f=l;f<=h;f++)n[f]=E}}if(t.vertical){var d=A.getArray("DW2"),y=pe(d,2)?d:[880,-1e3];if(a=[y[1],.5*r,y[0]],y=A.get("W2"),Array.isArray(y))for(var p=0,k=y.length;p<k;p++){var v=i.fetchIfRef(y[p++]);if(!Number.isInteger(v))break;var w=i.fetchIfRef(y[p]);if(Array.isArray(w))for(var b=0,D=w.length;b<D;b++){var F=[i.fetchIfRef(w[b++]),i.fetchIfRef(w[b++]),i.fetchIfRef(w[b])];pe(F,null)&&(g[v]=F),v++}else{if(!Number.isInteger(w))break;var S=[i.fetchIfRef(y[++p]),i.fetchIfRef(y[++p]),i.fetchIfRef(y[++p])];if(!pe(S,null))continue;for(var R=v;R<=w;R++)g[R]=S}}}}else{var N=A.get("Widths");if(Array.isArray(N)){var G,x=t.firstChar,U=m(N);try{for(U.s();!(G=U.n()).done;){var M=G.value,J=i.fetchIfRef(M);"number"==typeof J&&(n[x]=J),x++}}catch(A){U.e(A)}finally{U.f()}var L=e.get("MissingWidth");r="number"==typeof L?L:0}else{var H=A.get("BaseFont");if(H instanceof VA){var Y=this.getBaseFontMetrics(H.name);n=this.buildCharCodeToWidth(Y.widths,t),r=Y.defaultWidth}}}var K=!0,q=r;for(var T in n){var P=n[T];if(P)if(q){if(q!==P){K=!1;break}}else q=P}K?t.flags|=1:t.flags&=-2,t.defaultWidth=r,t.widths=n,t.defaultVMetrics=a,t.vmetrics=g}},{key:"isSerifFont",value:function(A){var e=A.split("-",1)[0];return e in Kn()||/serif/gi.test(e)}},{key:"getBaseFontMetrics",value:function(A){var e=0,t=Object.create(null),a=!1,i=Ln()[A]||A,n=ur();i in n||(i=this.isSerifFont(A)?"Times-Roman":"Helvetica");var r=n[i];return"number"==typeof r?(e=r,a=!0):t=r(),{defaultWidth:e,monospace:a,widths:t}}},{key:"buildCharCodeToWidth",value:function(A,e){for(var t=Object.create(null),a=e.differences,i=e.defaultEncoding,n=0;n<256;n++)n in a&&A[a[n]]?t[n]=A[a[n]]:n in i&&A[i[n]]&&(t[n]=A[i[n]]);return t}},{key:"preEvaluateFont",value:function(A){var e=A,t=A.get("Subtype");if(!(t instanceof VA))throw new vA("invalid font Subtype");var a,i=!1;if("Type0"===t.name){var n=A.get("DescendantFonts");if(!n)throw new vA("Descendant fonts are not specified");if(!((A=Array.isArray(n)?this.xref.fetchIfRef(n[0]):n)instanceof _A))throw new vA("Descendant font is not a dictionary.");if(!((t=A.get("Subtype"))instanceof VA))throw new vA("invalid font Subtype");i=!0}var r=A.get("FirstChar");Number.isInteger(r)||(r=0);var g=A.get("LastChar");Number.isInteger(g)||(g=i?65535:255);var o=A.get("FontDescriptor"),s=A.get("ToUnicode")||e.get("ToUnicode");if(o){a=new ds;var I=e.getRaw("Encoding");if(I instanceof VA)a.update(I.name);else if(I instanceof $A)a.update(I.toString());else if(I instanceof _A){var c,l=m(I.getRawValues());try{for(l.s();!(c=l.n()).done;){var h=c.value;if(h instanceof VA)a.update(h.name);else if(h instanceof $A)a.update(h.toString());else if(Array.isArray(h)){for(var u=h.length,C=new Array(u),B=0;B<u;B++){var Q=h[B];Q instanceof VA?C[B]=Q.name:("number"==typeof Q||Q instanceof $A)&&(C[B]=Q.toString())}a.update(C.join())}}}catch(A){l.e(A)}finally{l.f()}}if(a.update("".concat(r,"-").concat(g)),s instanceof re){var E=s.str||s,f=E.buffer?new Uint8Array(E.buffer.buffer,0,E.bufferLength):new Uint8Array(E.bytes.buffer,E.start,E.end-E.start);a.update(f)}else s instanceof VA&&a.update(s.name);var d=A.get("Widths")||e.get("Widths");if(Array.isArray(d)){var y,p=[],k=m(d);try{for(k.s();!(y=k.n()).done;){var v=y.value;("number"==typeof v||v instanceof $A)&&p.push(v.toString())}}catch(A){k.e(A)}finally{k.f()}a.update(p.join())}if(i){a.update("compositeFont");var w=A.get("W")||e.get("W");if(Array.isArray(w)){var b,D=[],F=m(w);try{for(F.s();!(b=F.n()).done;){var S=b.value;if("number"==typeof S||S instanceof $A)D.push(S.toString());else if(Array.isArray(S)){var R,N=[],G=m(S);try{for(G.s();!(R=G.n()).done;){var x=R.value;("number"==typeof x||x instanceof $A)&&N.push(x.toString())}}catch(A){G.e(A)}finally{G.f()}D.push("[".concat(N.join(),"]"))}}}catch(A){F.e(A)}finally{F.f()}a.update(D.join())}var U=A.getRaw("CIDToGIDMap")||e.getRaw("CIDToGIDMap");U instanceof VA?a.update(U.name):U instanceof $A?a.update(U.toString()):U instanceof re&&a.update(U.peekBytes())}}return{descriptor:o,dict:A,baseDict:e,composite:i,type:t.name,firstChar:r,lastChar:g,toUnicode:s,hash:a?a.hexdigest():""}}},{key:"translateFont",value:(e=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d,y,p,k,v,w,b,D,F,S,R,N,G,x,U,M,J,L,H,Y,q,T,P,W,Z,O,X,V,j,z,_,$,AA,eA,tA,aA,iA,nA;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(i=e.descriptor,n=e.dict,r=e.baseDict,g=e.composite,o=e.type,s=e.firstChar,I=e.lastChar,c=e.toUnicode,l=e.cssFontInfo,h="Type3"===o,i){A.next=32;break}if(!h){A.next=10;break}u=ve(n.getArray("FontBBox"),[0,0,0,0]),(i=new _A(null)).set("FontName",VA.get(o)),i.set("FontBBox",u),A.next=32;break;case 10:if((C=n.get("BaseFont"))instanceof VA){A.next=13;break}throw new vA("Base font is not specified");case 13:if(C=C.name.replaceAll(/[,_]/g,"-"),Q=this.getBaseFontMetrics(C),E=C.split("-",1)[0],f=(this.isSerifFont(E)?2:0)|(Q.monospace?1:0)|(qn()[E]?4:32),d={type:o,name:C,loadedName:r.loadedName,systemFontInfo:null,widths:Q.widths,defaultWidth:Q.defaultWidth,isSimulatedFlags:!0,flags:f,firstChar:s,lastChar:I,toUnicode:c,xHeight:0,capHeight:0,italicAngle:0,isType3Font:h},y=n.get("Widths"),p=Zn(C),k=null,!p){A.next=26;break}return A.next=24,this.fetchStandardFontData(p);case 24:k=A.sent,d.isInternalFont=!!k;case 26:return!d.isInternalFont&&this.options.useSystemFonts&&(d.systemFontInfo=Cs(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,C,p,o)),A.next=29,this.extractDataStructures(n,d);case 29:if(v=A.sent,Array.isArray(y)){w=[],b=s,D=m(y);try{for(D.s();!(F=D.n()).done;)S=F.value,"number"==typeof(R=this.xref.fetchIfRef(S))&&(w[b]=R),b++}catch(A){D.e(A)}finally{D.f()}v.widths=w}else v.widths=this.buildCharCodeToWidth(Q.widths,v);return A.abrupt("return",new ug(C,k,v));case 32:if(N=i.get("FontName"),G=n.get("BaseFont"),"string"==typeof N&&(N=VA.get(N)),"string"==typeof G&&(G=VA.get(G)),x=null===(t=N)||void 0===t?void 0:t.name,U=null===(a=G)||void 0===a?void 0:a.name,h||x===U||(hA("The FontDescriptor's FontName is \"".concat(x,'" but ')+"should be the same as the Font's BaseFont \"".concat(U,'".')),x&&U&&(U.startsWith(x)||!On(x)&&On(U))&&(N=null)),N||(N=G),N instanceof VA){A.next=42;break}throw new vA("invalid font name");case 42:A.prev=42,M=i.get("FontFile","FontFile2","FontFile3"),A.next=52;break;case 46:if(A.prev=46,A.t0=A.catch(42),this.options.ignoreErrors){A.next=50;break}throw A.t0;case 50:uA('translateFont - fetching "'.concat(N.name,'" font file: "').concat(A.t0,'".')),M=new Ze;case 52:if(q=!1,T=null,P=null,!M){A.next=59;break}M.dict&&((W=M.dict.get("Subtype"))instanceof VA&&(J=W.name),L=M.dict.get("Length1"),H=M.dict.get("Length2"),Y=M.dict.get("Length3")),A.next=81;break;case 59:if(!l){A.next=73;break}if(!(Z=lo(N.name))){A.next=71;break}return l.fontFamily="".concat(l.fontFamily,"-PdfJS-XFA"),l.metrics=Z.metrics||null,T=Z.factors||null,A.next=67,this.fetchStandardFontData(Z.name);case 67:M=A.sent,q=!!M,r=n=ho(N.name),g=!0;case 71:A.next=81;break;case 73:if(h){A.next=81;break}if(!(O=Zn(N.name))){A.next=80;break}return A.next=78,this.fetchStandardFontData(O);case 78:M=A.sent,q=!!M;case 80:!q&&this.options.useSystemFonts&&(P=Cs(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,N.name,O,o));case 81:if(X=me(n.getArray("FontMatrix"),K),V=ve(i.getArray("FontBBox")||n.getArray("FontBBox"),void 0),"number"!=typeof(j=i.get("Ascent"))&&(j=void 0),"number"!=typeof(z=i.get("Descent"))&&(z=void 0),"number"!=typeof(_=i.get("XHeight"))&&(_=0),"number"!=typeof($=i.get("CapHeight"))&&($=0),AA=i.get("Flags"),Number.isInteger(AA)||(AA=0),"number"!=typeof(eA=i.get("ItalicAngle"))&&(eA=0),tA={type:o,name:N.name,subtype:J,file:M,length1:L,length2:H,length3:Y,isInternalFont:q,loadedName:r.loadedName,composite:g,fixedPitch:!1,fontMatrix:X,firstChar:s,lastChar:I,toUnicode:c,bbox:V,ascent:j,descent:z,xHeight:_,capHeight:$,flags:AA,italicAngle:eA,isType3Font:h,cssFontInfo:l,scaleFactors:T,systemFontInfo:P},!g){A.next=104;break}return(aA=r.get("Encoding"))instanceof VA&&(tA.cidEncoding=aA.name),A.next=101,Oi.create({encoding:aA,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 101:iA=A.sent,tA.cMap=iA,tA.vertical=tA.cMap.vertical;case 104:return A.next=106,this.extractDataStructures(n,tA);case 106:return nA=A.sent,this.extractWidths(n,i,nA),A.abrupt("return",new ug(N.name,M,nA));case 109:case"end":return A.stop()}}),A,this,[[42,46]])}))),function(A){return e.apply(this,arguments)})}],[{key:"buildFontPaths",value:function(A,e,t,a){function i(e){var i="".concat(A.loadedName,"_path_").concat(e);try{if(A.renderer.hasBuiltPath(e))return;t.send("commonobj",[i,"FontPath",A.renderer.getPathJs(e)])}catch(A){if(a.ignoreErrors)return void uA("buildFontPaths - ignoring ".concat(i,' glyph: "').concat(A,'".'));throw A}}var n,r=m(e);try{for(r.s();!(n=r.n()).done;){var g=n.value;i(g.fontChar);var o=g.accent;null!=o&&o.fontChar&&i(o.fontChar)}}catch(A){r.e(A)}finally{r.f()}}},{key:"fallbackFontDict",get:function(){var A=new _A;return A.set("BaseFont",VA.get("Helvetica")),A.set("Type",VA.get("FallbackType")),A.set("Subtype",VA.get("FallbackType")),A.set("Encoding",VA.get("WinAnsiEncoding")),EA(this,"fallbackFontDict",A)}}]);var e,t,a,i,n,r,g,o,s,c,l}(),Us=function(){return b((function A(e){var t=e.loadedName,a=e.font,i=e.dict,n=e.evaluatorOptions;F(this,A),this.loadedName=t,this.font=a,this.dict=i,this._evaluatorOptions=n||Fs,this.type3Loaded=null,this.type3Dependencies=a.isType3Font?new Set:null,this.sent=!1}),[{key:"send",value:function(A){this.sent||(this.sent=!0,A.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}},{key:"fallback",value:function(A){this.font.data&&(this.font.disableFontFace=!0,xs.buildFontPaths(this.font,this.font.glyphCacheValues,A,this._evaluatorOptions))}},{key:"loadType3Data",value:function(A,e,t){var a=this;if(this.type3Loaded)return this.type3Loaded;if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");var i=A.clone({ignoreErrors:!1}),n=new Ae(A.type3FontRefs);this.dict.objId&&!n.has(this.dict.objId)&&n.put(this.dict.objId),i.type3FontRefs=n;var r,g=this.font,o=this.type3Dependencies,s=Promise.resolve(),I=this.dict.get("CharProcs"),c=this.dict.get("Resources")||e,l=Object.create(null),h=GA.normalizeRect(g.bbox||[0,0,0,0]),u=h[2]-h[0],C=h[3]-h[1],B=Math.hypot(u,C),Q=m(I.getKeys());try{var E=function(){var A=r.value;s=s.then((function(){var e=I.get(A),n=new vs;return i.getOperatorList({stream:e,task:t,resources:c,operatorList:n}).then((function(){49===n.fnArray[0]&&a._removeType3ColorOperators(n,B),l[A]=n.getIR();var e,t=m(n.dependencies);try{for(t.s();!(e=t.n()).done;){var i=e.value;o.add(i)}}catch(A){t.e(A)}finally{t.f()}})).catch((function(e){uA('Type3 font resource "'.concat(A,'" is not available.'));var t=new vs;l[A]=t.getIR()}))}))};for(Q.s();!(r=Q.n()).done;)E()}catch(A){Q.e(A)}finally{Q.f()}return this.type3Loaded=s.then((function(){g.charProcOperatorList=l,a._bbox&&(g.isCharBBox=!0,g.bbox=a._bbox)})),this.type3Loaded}},{key:"_removeType3ColorOperators",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,t=GA.normalizeRect(A.argsArray[0].slice(2)),a=t[2]-t[0],i=t[3]-t[1],n=Math.hypot(a,i);0===a||0===i?(A.fnArray.splice(0,1),A.argsArray.splice(0,1)):(0===e||Math.round(n/e)>=10)&&(this._bbox||(this._bbox=[1/0,1/0,-1/0,-1/0]),this._bbox[0]=Math.min(this._bbox[0],t[0]),this._bbox[1]=Math.min(this._bbox[1],t[1]),this._bbox[2]=Math.max(this._bbox[2],t[2]),this._bbox[3]=Math.max(this._bbox[3],t[3]));for(var r=0,g=A.length;r<g;){switch(A.fnArray[r]){case 49:break;case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case nA:case rA:case 60:case 61:case 62:case 7:A.fnArray.splice(r,1),A.argsArray.splice(r,1),g--;continue;case 9:for(var o=d(A.argsArray[r],1)[0],s=0,I=o.length;s<I;){switch(d(o[s],1)[0]){case"TR":case"TR2":case"HT":case"BG":case"BG2":case"UCR":case"UCR2":o.splice(s,1),I--;continue}s++}}r++}}}])}(),Ms=function(){return b((function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Ls;F(this,A),this.state=e,this.stateStack=[]}),[{key:"save",value:function(){var A=this.state;this.stateStack.push(this.state),this.state=A.clone()}},{key:"restore",value:function(){var A=this.stateStack.pop();A&&(this.state=A)}},{key:"transform",value:function(A){this.state.ctm=GA.transform(this.state.ctm,A)}}])}(),Js=function(){return b((function A(){F(this,A),this.ctm=new Float32Array(Y),this.fontName=null,this.fontSize=0,this.loadedName=null,this.font=null,this.fontMatrix=K,this.textMatrix=Y.slice(),this.textLineMatrix=Y.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}),[{key:"setTextMatrix",value:function(A,e,t,a,i,n){var r=this.textMatrix;r[0]=A,r[1]=e,r[2]=t,r[3]=a,r[4]=i,r[5]=n}},{key:"setTextLineMatrix",value:function(A,e,t,a,i,n){var r=this.textLineMatrix;r[0]=A,r[1]=e,r[2]=t,r[3]=a,r[4]=i,r[5]=n}},{key:"translateTextMatrix",value:function(A,e){var t=this.textMatrix;t[4]=t[0]*A+t[2]*e+t[4],t[5]=t[1]*A+t[3]*e+t[5]}},{key:"translateTextLineMatrix",value:function(A,e){var t=this.textLineMatrix;t[4]=t[0]*A+t[2]*e+t[4],t[5]=t[1]*A+t[3]*e+t[5]}},{key:"carriageReturn",value:function(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}},{key:"clone",value:function(){var A=Object.create(this);return A.textMatrix=this.textMatrix.slice(),A.textLineMatrix=this.textLineMatrix.slice(),A.fontMatrix=this.fontMatrix.slice(),A}}])}(),Ls=function(){return b((function A(){F(this,A),this.ctm=new Float32Array(Y),this.font=null,this.textRenderingMode=0,this.fillColorSpace=Ve.singletons.gray,this.strokeColorSpace=Ve.singletons.gray}),[{key:"clone",value:function(){return Object.create(this)}}])}(),Hs=function(){function A(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Ms;F(this,A),this.parser=new yi({lexer:new vi(e,A.opMap),xref:t}),this.stateManager=a,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}return b(A,[{key:"savedStatesDepth",get:function(){return this.stateManager.stateStack.length}},{key:"read",value:function(e){for(var t=e.args;;){var a=this.parser.getObj();if(a instanceof jA){var i=a.cmd,n=A.opMap[i];if(!n){uA('Unknown command "'.concat(i,'".'));continue}var r=n.id,g=n.numArgs,o=null!==t?t.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=r>=13&&r<=28,n.variableArgs)o>g&&hA("Command ".concat(i,": expected [0, ").concat(g,"] args, ")+"but received ".concat(o," args."));else{if(o!==g){for(var s=this.nonProcessedArgs;o>g;)s.push(t.shift()),o--;for(;o<g&&0!==s.length;)null===t&&(t=[]),t.unshift(s.pop()),o++}if(o<g){var I="command ".concat(i,": expected ").concat(g," args, ")+"but received ".concat(o," args.");if(this._isPathOp&&++this._numInvalidPathOPS>A.MAX_INVALID_PATH_OPS)throw new vA("Invalid ".concat(I));uA("Skipping ".concat(I)),null!==t&&(t.length=0);continue}}return this.preprocessCommand(r,t),e.fn=r,e.args=t,!0}if(a===WA)return!1;if(null!==a&&(null===t&&(t=[]),t.push(a),t.length>33))throw new vA("Too many arguments")}}},{key:"preprocessCommand",value:function(A,e){switch(0|A){case AA:this.stateManager.save();break;case eA:this.stateManager.restore();break;case tA:this.stateManager.transform(e)}}}],[{key:"opMap",get:function(){return EA(this,"opMap",Object.assign(Object.create(null),{w:{id:2,numArgs:1,variableArgs:!1},J:{id:3,numArgs:1,variableArgs:!1},j:{id:4,numArgs:1,variableArgs:!1},M:{id:5,numArgs:1,variableArgs:!1},d:{id:6,numArgs:2,variableArgs:!1},ri:{id:7,numArgs:1,variableArgs:!1},i:{id:8,numArgs:1,variableArgs:!1},gs:{id:9,numArgs:1,variableArgs:!1},q:{id:AA,numArgs:0,variableArgs:!1},Q:{id:eA,numArgs:0,variableArgs:!1},cm:{id:tA,numArgs:6,variableArgs:!1},m:{id:13,numArgs:2,variableArgs:!1},l:{id:14,numArgs:2,variableArgs:!1},c:{id:15,numArgs:6,variableArgs:!1},v:{id:16,numArgs:4,variableArgs:!1},y:{id:17,numArgs:4,variableArgs:!1},h:{id:18,numArgs:0,variableArgs:!1},re:{id:19,numArgs:4,variableArgs:!1},S:{id:20,numArgs:0,variableArgs:!1},s:{id:21,numArgs:0,variableArgs:!1},f:{id:22,numArgs:0,variableArgs:!1},F:{id:22,numArgs:0,variableArgs:!1},"f*":{id:23,numArgs:0,variableArgs:!1},B:{id:24,numArgs:0,variableArgs:!1},"B*":{id:25,numArgs:0,variableArgs:!1},b:{id:26,numArgs:0,variableArgs:!1},"b*":{id:27,numArgs:0,variableArgs:!1},n:{id:28,numArgs:0,variableArgs:!1},W:{id:29,numArgs:0,variableArgs:!1},"W*":{id:30,numArgs:0,variableArgs:!1},BT:{id:31,numArgs:0,variableArgs:!1},ET:{id:32,numArgs:0,variableArgs:!1},Tc:{id:33,numArgs:1,variableArgs:!1},Tw:{id:34,numArgs:1,variableArgs:!1},Tz:{id:35,numArgs:1,variableArgs:!1},TL:{id:36,numArgs:1,variableArgs:!1},Tf:{id:aA,numArgs:2,variableArgs:!1},Tr:{id:38,numArgs:1,variableArgs:!1},Ts:{id:39,numArgs:1,variableArgs:!1},Td:{id:40,numArgs:2,variableArgs:!1},TD:{id:41,numArgs:2,variableArgs:!1},Tm:{id:42,numArgs:6,variableArgs:!1},"T*":{id:43,numArgs:0,variableArgs:!1},Tj:{id:iA,numArgs:1,variableArgs:!1},TJ:{id:45,numArgs:1,variableArgs:!1},"'":{id:46,numArgs:1,variableArgs:!1},'"':{id:47,numArgs:3,variableArgs:!1},d0:{id:48,numArgs:2,variableArgs:!1},d1:{id:49,numArgs:6,variableArgs:!1},CS:{id:50,numArgs:1,variableArgs:!1},cs:{id:51,numArgs:1,variableArgs:!1},SC:{id:52,numArgs:4,variableArgs:!0},SCN:{id:53,numArgs:33,variableArgs:!0},sc:{id:54,numArgs:4,variableArgs:!0},scn:{id:55,numArgs:33,variableArgs:!0},G:{id:56,numArgs:1,variableArgs:!1},g:{id:57,numArgs:1,variableArgs:!1},RG:{id:nA,numArgs:3,variableArgs:!1},rg:{id:rA,numArgs:3,variableArgs:!1},K:{id:60,numArgs:4,variableArgs:!1},k:{id:61,numArgs:4,variableArgs:!1},sh:{id:62,numArgs:1,variableArgs:!1},BI:{id:63,numArgs:0,variableArgs:!1},ID:{id:64,numArgs:0,variableArgs:!1},EI:{id:65,numArgs:1,variableArgs:!1},Do:{id:66,numArgs:1,variableArgs:!1},MP:{id:67,numArgs:1,variableArgs:!1},DP:{id:68,numArgs:2,variableArgs:!1},BMC:{id:69,numArgs:1,variableArgs:!1},BDC:{id:gA,numArgs:2,variableArgs:!1},EMC:{id:oA,numArgs:0,variableArgs:!1},BX:{id:72,numArgs:0,variableArgs:!1},EX:{id:73,numArgs:0,variableArgs:!1},BM:null,BD:null,true:null,fa:null,fal:null,fals:null,false:null,nu:null,nul:null,null:null}))}}])}();s(Hs,"MAX_INVALID_PATH_OPS",10);var Ys=function(A){function e(A){return F(this,e),S(this,e,[new We(A)])}return x(e,A),b(e,[{key:"parse",value:function(){var A={fn:0,args:[]},e={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;A.args.length=0,this.read(A);)if(0===this.savedStatesDepth){var t=A.fn,a=A.args;switch(0|t){case aA:var i=d(a,2),n=i[0],r=i[1];n instanceof VA&&(e.fontName=n.name),"number"==typeof r&&r>0&&(e.fontSize=r);break;case rA:Ve.singletons.rgb.getRgbItem(a,0,e.fontColor,0);break;case 57:Ve.singletons.gray.getRgbItem(a,0,e.fontColor,0);break;case 61:Ve.singletons.cmyk.getRgbItem(a,0,e.fontColor,0)}}}catch(A){uA('parseDefaultAppearance - ignoring errors: "'.concat(A,'".'))}return e}}])}(Hs);function Ks(A){return new Ys(A).parse()}var qs=function(A){function e(A,t,a){var i,n;return F(this,e),(n=S(this,e,[A])).stream=A,n.evaluatorOptions=t,n.xref=a,n.resources=null===(i=A.dict)||void 0===i?void 0:i.get("Resources"),n}return x(e,A),b(e,[{key:"parse",value:function(){var A={fn:0,args:[]},e={scaleFactor:1,fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3),fillColorSpace:Ve.singletons.gray},t=!1,a=[];try{for(;A.args.length=0,!t&&this.read(A);){var i=A.fn,n=A.args;switch(0|i){case AA:a.push({scaleFactor:e.scaleFactor,fontSize:e.fontSize,fontName:e.fontName,fontColor:e.fontColor.slice(),fillColorSpace:e.fillColorSpace});break;case eA:e=a.pop()||e;break;case 42:e.scaleFactor*=Math.hypot(n[0],n[1]);break;case aA:var r=d(n,2),g=r[0],o=r[1];g instanceof VA&&(e.fontName=g.name),"number"==typeof o&&o>0&&(e.fontSize=o*e.scaleFactor);break;case 51:e.fillColorSpace=Ve.parse({cs:n[0],xref:this.xref,resources:this.resources,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:this._localColorSpaceCache});break;case 54:e.fillColorSpace.getRgbItem(n,0,e.fontColor,0);break;case rA:Ve.singletons.rgb.getRgbItem(n,0,e.fontColor,0);break;case 57:Ve.singletons.gray.getRgbItem(n,0,e.fontColor,0);break;case 61:Ve.singletons.cmyk.getRgbItem(n,0,e.fontColor,0);break;case iA:case 45:case 46:case 47:t=!0}}}catch(A){uA('parseAppearanceStream - ignoring errors: "'.concat(A,'".'))}return this.stream.reset(),delete e.scaleFactor,delete e.fillColorSpace,e}},{key:"_localColorSpaceCache",get:function(){return EA(this,"_localColorSpaceCache",new yo)}},{key:"_pdfFunctionFactory",get:function(){return EA(this,"_pdfFunctionFactory",new Ro({xref:this.xref,isEvalSupported:this.evaluatorOptions.isEvalSupported}))}}])}(Hs);function Ts(A,e){if(A[0]===A[1]&&A[1]===A[2]){var t=A[0]/255;return"".concat(Je(t)," ").concat(e?"g":"G")}return Array.from(A,(function(A){return Je(A/255)})).join(" ")+" ".concat(e?"rg":"RG")}var Ps=function(){function A(e,t){F(this,A),this.xref=e,this.widths=null,this.firstChar=1/0,this.lastChar=-1/0,this.fontFamily=t;var a=new OffscreenCanvas(1,1);this.ctxMeasure=a.getContext("2d"),A._fontNameId||(A._fontNameId=1),this.fontName=VA.get("InvalidPDFjsFont_".concat(t,"_").concat(A._fontNameId++))}return b(A,[{key:"fontDescriptorRef",get:function(){if(!A._fontDescriptorRef){var e=new _A(this.xref);e.set("Type",VA.get("FontDescriptor")),e.set("FontName",this.fontName),e.set("FontFamily","MyriadPro Regular"),e.set("FontBBox",[0,0,0,0]),e.set("FontStretch",VA.get("Normal")),e.set("FontWeight",400),e.set("ItalicAngle",0),A._fontDescriptorRef=this.xref.getNewPersistentRef(e)}return A._fontDescriptorRef}},{key:"descendantFontRef",get:function(){var A=new _A(this.xref);A.set("BaseFont",this.fontName),A.set("Type",VA.get("Font")),A.set("Subtype",VA.get("CIDFontType0")),A.set("CIDToGIDMap",VA.get("Identity")),A.set("FirstChar",this.firstChar),A.set("LastChar",this.lastChar),A.set("FontDescriptor",this.fontDescriptorRef),A.set("DW",1e3);var e,t=[],a=null,i=null,n=m(I(this.widths.entries()).sort());try{for(n.s();!(e=n.n()).done;){var r=d(e.value,2),g=r[0],o=r[1];a?g===a+i.length?i.push(o):(t.push(a,i),a=g,i=[o]):(a=g,i=[o])}}catch(A){n.e(A)}finally{n.f()}a&&t.push(a,i),A.set("W",t);var s=new _A(this.xref);return s.set("Ordering","Identity"),s.set("Registry","Adobe"),s.set("Supplement",0),A.set("CIDSystemInfo",s),this.xref.getNewPersistentRef(A)}},{key:"baseFontRef",get:function(){var A=new _A(this.xref);return A.set("BaseFont",this.fontName),A.set("Type",VA.get("Font")),A.set("Subtype",VA.get("Type0")),A.set("Encoding",VA.get("Identity-H")),A.set("DescendantFonts",[this.descendantFontRef]),A.set("ToUnicode",VA.get("Identity-H")),this.xref.getNewPersistentRef(A)}},{key:"resources",get:function(){var A=new _A(this.xref),e=new _A(this.xref);return e.set(this.fontName.name,this.baseFontRef),A.set("Font",e),A}},{key:"_createContext",value:function(){return this.widths=new Map,this.ctxMeasure.font="1000px ".concat(this.fontFamily),this.ctxMeasure}},{key:"createFontResources",value:function(A){var e,t=this._createContext(),a=m(A.split(/\r\n?|\n/));try{for(a.s();!(e=a.n()).done;){var i,n=m(e.value.split(""));try{for(n.s();!(i=n.n()).done;){var r=i.value,g=r.charCodeAt(0);if(!this.widths.has(g)){var o=t.measureText(r),s=Math.ceil(o.width);this.widths.set(g,s),this.firstChar=Math.min(g,this.firstChar),this.lastChar=Math.max(g,this.lastChar)}}}catch(A){n.e(A)}finally{n.f()}}}catch(A){a.e(A)}finally{a.f()}return this.resources}},{key:"createAppearance",value:function(A,e,t,a,i,n){var r,g=this._createContext(),o=[],s=-1/0,I=m(A.split(/\r\n?|\n/));try{for(I.s();!(r=I.n()).done;){var c=r.value;o.push(c);var l=g.measureText(c).width;s=Math.max(s,l);var h,u=m(Ne(c));try{for(u.s();!(h=u.n()).done;){var C=h.value,B=String.fromCodePoint(C),Q=this.widths.get(C);if(void 0===Q){var E=g.measureText(B);Q=Math.ceil(E.width),this.widths.set(C,Q),this.firstChar=Math.min(C,this.firstChar),this.lastChar=Math.max(C,this.lastChar)}}}catch(A){u.e(A)}finally{u.f()}}}catch(A){I.e(A)}finally{I.f()}s*=a/1e3;var f=d(e,4),y=f[0],p=f[1],k=f[2]-y,v=f[3]-p;if(t%180!=0){var w=[v,k];k=w[0],v=w[1]}var b=1;s>k&&(b=k/s);var D=1,F=q*a,S=.35*a,R=F*o.length;R>v&&(D=v/R);var N=a*Math.min(b,D),G=["q","0 0 ".concat(Je(k)," ").concat(Je(v)," re W n"),"BT","1 0 0 1 0 ".concat(Je(v+S)," Tm 0 Tc ").concat(Ts(i,!0)),"/".concat(this.fontName.name," ").concat(Je(N)," Tf")],x=this.resources;if(1!==(n="number"==typeof n&&n>=0&&n<=1?n:1)){G.push("/R0 gs");var U=new _A(this.xref),M=new _A(this.xref);M.set("ca",n),M.set("CA",n),M.set("Type",VA.get("ExtGState")),U.set("R0",M),x.set("ExtGState",U)}for(var J=Je(F),L=0,H=o;L<H.length;L++){var Y=H[L];G.push("0 -".concat(J," Td <").concat(Ye(Y),"> Tj"))}G.push("ET","Q");var K=G.join("\n"),T=new _A(this.xref);if(T.set("Subtype",VA.get("Form")),T.set("Type",VA.get("XObject")),T.set("BBox",[0,0,k,v]),T.set("Length",K.length),T.set("Resources",x),t){var P=qe(t,k,v);T.set("Matrix",P)}var W=new We(K);return W.dict=T,W}}],[{key:"getFirstPositionInfo",value:function(A,e,t){var a=d(A,4),i=a[0],n=a[1],r=a[2]-i,g=a[3]-n;if(e%180!=0){var o=[g,r];r=o[0],g=o[1]}var s=q*t;return{coords:[0,g+.35*t-s],bbox:[0,0,r,g],matrix:0!==e?qe(e,g,s):void 0}}}])}(),Ws=function(){return b((function A(e,t,a){F(this,A),this.constructor===A&&CA("Cannot initialize NameOrNumberTree."),this.root=e,this.xref=t,this._type=a}),[{key:"getAll",value:function(){var A=new Map;if(!this.root)return A;var e=this.xref,t=new Ae;t.put(this.root);for(var a=[this.root];a.length>0;){var i=e.fetchIfRef(a.shift());if(i instanceof _A)if(i.has("Kids")){var n=i.get("Kids");if(!Array.isArray(n))continue;var r,g=m(n);try{for(g.s();!(r=g.n()).done;){var o=r.value;if(t.has(o))throw new vA('Duplicate entry in "'.concat(this._type,'" tree.'));a.push(o),t.put(o)}}catch(A){g.e(A)}finally{g.f()}}else{var s=i.get(this._type);if(Array.isArray(s))for(var I=0,c=s.length;I<c;I+=2)A.set(e.fetchIfRef(s[I]),e.fetchIfRef(s[I+1]))}}return A}},{key:"get",value:function(A){if(!this.root)return null;for(var e=this.xref,t=e.fetchIfRef(this.root),a=0;t.has("Kids");){if(++a>10)return uA('Search depth limit reached for "'.concat(this._type,'" tree.')),null;var i=t.get("Kids");if(!Array.isArray(i))return null;for(var n=0,r=i.length-1;n<=r;){var g=n+r>>1,o=e.fetchIfRef(i[g]),s=o.get("Limits");if(A<e.fetchIfRef(s[0]))r=g-1;else{if(!(A>e.fetchIfRef(s[1]))){t=o;break}n=g+1}}if(n>r)return null}var I=t.get(this._type);if(Array.isArray(I))for(var c=0,l=I.length-2;c<=l;){var h=c+l>>1,u=h+(1&h),C=e.fetchIfRef(I[u]);if(A<C)l=u-2;else{if(!(A>C))return e.fetchIfRef(I[u+1]);c=u+2}}return null}}])}(),Zs=function(A){function e(A,t){return F(this,e),S(this,e,[A,t,"Names"])}return x(e,A),b(e)}(Ws),Os=function(A){function e(A,t){return F(this,e),S(this,e,[A,t,"Nums"])}return x(e,A),b(e)}(Ws);function Xs(){dg=Object.create(null),ZA=Object.create(null),OA=Object.create(null),XA=Object.create(null),Nn.clear(),ui.cleanup()}function Vs(A){return A instanceof _A?A.has("UF")?A.get("UF"):A.has("F")?A.get("F"):A.has("Unix")?A.get("Unix"):A.has("Mac")?A.get("Mac"):A.has("DOS")?A.get("DOS"):null:null}var js=new WeakMap,zs=function(){return b((function A(e,t){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];F(this,A),r(this,js,!1),e instanceof _A&&(this.xref=t,this.root=e,e.has("FS")&&(this.fs=e.get("FS")),e.has("RF")&&uA("Related file specifications are not supported"),a||(e.has("EF")?n(js,this,!0):uA("Non-embedded file specifications are not supported")))}),[{key:"filename",get:function(){var A="",e=Vs(this.root);return e&&"string"==typeof e&&(A=JA(e).replaceAll("\\\\","\\").replaceAll("\\/","/").replaceAll("\\","/")),EA(this,"filename",A||"unnamed")}},{key:"content",get:function(){var A;if(!g(js,this))return null;this._contentRef||(this._contentRef=Vs(null===(A=this.root)||void 0===A?void 0:A.get("EF")));var e=null;if(this._contentRef){var t=this.xref.fetchIfRef(this._contentRef);t instanceof re?e=t.getBytes():uA("Embedded file specification points to non-existing/invalid content")}else uA("Embedded file specification does not have any content");return e}},{key:"description",get:function(){var A,e="",t=null===(A=this.root)||void 0===A?void 0:A.get("Desc");return t&&"string"==typeof t&&(e=JA(t)),EA(this,"description",e)}},{key:"serializable",get:function(){return{rawFilename:this.filename,filename:(A=this.filename,A.substring(A.lastIndexOf("/")+1)),content:this.content,description:this.description};var A}}])}();function _s(A,e){var t=A[e];return" "===t||"\n"===t||"\r"===t||"\t"===t}var $s,AI,eI=function(){return b((function A(){F(this,A)}),[{key:"_resolveEntities",value:function(A){var e=this;return A.replaceAll(/&([^;]+);/g,(function(A,t){if("#x"===t.substring(0,2))return String.fromCodePoint(parseInt(t.substring(2),16));if("#"===t.substring(0,1))return String.fromCodePoint(parseInt(t.substring(1),10));switch(t){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return e.onResolveEntity(t)}))}},{key:"_parseContent",value:function(A,e){var t=[],a=e;function i(){for(;a<A.length&&_s(A,a);)++a}for(;a<A.length&&!_s(A,a)&&">"!==A[a]&&"/"!==A[a];)++a;var n=A.substring(e,a);for(i();a<A.length&&">"!==A[a]&&"/"!==A[a]&&"?"!==A[a];){i();for(var r,g="";a<A.length&&!_s(A,a)&&"="!==A[a];)g+=A[a],++a;if(i(),"="!==A[a])return null;++a,i();var o=A[a];if('"'!==o&&"'"!==o)return null;var s=A.indexOf(o,++a);if(s<0)return null;r=A.substring(a,s),t.push({name:g,value:this._resolveEntities(r)}),a=s+1,i()}return{name:n,attributes:t,parsed:a-e}}},{key:"_parseProcessingInstruction",value:function(A,e){for(var t=e;t<A.length&&!_s(A,t)&&">"!==A[t]&&"?"!==A[t]&&"/"!==A[t];)++t;var a=A.substring(e,t);!function(){for(;t<A.length&&_s(A,t);)++t}();for(var i=t;t<A.length&&("?"!==A[t]||">"!==A[t+1]);)++t;return{name:a,value:A.substring(i,t),parsed:t-e}}},{key:"parseXml",value:function(A){for(var e=0;e<A.length;){var t=e;if("<"===A[e]){var a=void 0;switch(A[++t]){case"/":if(++t,(a=A.indexOf(">",t))<0)return void this.onError(-9);this.onEndElement(A.substring(t,a)),t=a+1;break;case"?":++t;var i=this._parseProcessingInstruction(A,t);if("?>"!==A.substring(t+i.parsed,t+i.parsed+2))return void this.onError(-3);this.onPi(i.name,i.value),t+=i.parsed+2;break;case"!":if("--"===A.substring(t+1,t+3)){if((a=A.indexOf("--\x3e",t+3))<0)return void this.onError(-5);this.onComment(A.substring(t+3,a)),t=a+3}else if("[CDATA["===A.substring(t+1,t+8)){if((a=A.indexOf("]]>",t+8))<0)return void this.onError(-2);this.onCdata(A.substring(t+8,a)),t=a+3}else{if("DOCTYPE"!==A.substring(t+1,t+8))return void this.onError(-6);var n=A.indexOf("[",t+8),r=!1;if((a=A.indexOf(">",t+8))<0)return void this.onError(-4);if(n>0&&a>n){if((a=A.indexOf("]>",t+8))<0)return void this.onError(-4);r=!0}var g=A.substring(t+8,a+(r?1:0));this.onDoctype(g),t=a+(r?2:1)}break;default:var o=this._parseContent(A,t);if(null===o)return void this.onError(-6);var s=!1;if("/>"===A.substring(t+o.parsed,t+o.parsed+2))s=!0;else if(">"!==A.substring(t+o.parsed,t+o.parsed+1))return void this.onError(-9);this.onBeginElement(o.name,o.attributes,s),t+=o.parsed+(s?2:1)}}else{for(;t<A.length&&"<"!==A[t];)t++;var I=A.substring(e,t);this.onText(this._resolveEntities(I))}e=t}}},{key:"onResolveEntity",value:function(A){return"&".concat(A,";")}},{key:"onPi",value:function(A,e){}},{key:"onComment",value:function(A){}},{key:"onCdata",value:function(A){}},{key:"onDoctype",value:function(A){}},{key:"onText",value:function(A){}},{key:"onBeginElement",value:function(A,e,t){}},{key:"onEndElement",value:function(A){}},{key:"onError",value:function(A){}}])}(),tI=function(){return b((function A(e,t){F(this,A),this.nodeName=e,this.nodeValue=t,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}),[{key:"firstChild",get:function(){var A;return null===(A=this.childNodes)||void 0===A?void 0:A[0]}},{key:"nextSibling",get:function(){var A=this.parentNode.childNodes;if(A){var e=A.indexOf(this);if(-1!==e)return A[e+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(A){return A.textContent})).join(""):this.nodeValue||""}},{key:"children",get:function(){return this.childNodes||[]}},{key:"hasChildNodes",value:function(){var A;return(null===(A=this.childNodes)||void 0===A?void 0:A.length)>0}},{key:"searchNode",value:function(A,e){if(e>=A.length)return this;var t=A[e];if(t.name.startsWith("#")&&e<A.length-1)return this.searchNode(A,e+1);for(var a=[],i=this;;){var n;if(t.name===i.nodeName){if(0!==t.pos){if(0===a.length)return null;var r,g=0,o=m(d(a.pop(),1)[0].childNodes);try{for(o.s();!(r=o.n()).done;){var s=r.value;if(t.name===s.nodeName){if(g===t.pos)return s.searchNode(A,e+1);g++}}}catch(A){o.e(A)}finally{o.f()}return i.searchNode(A,e+1)}var I=i.searchNode(A,e+1);if(null!==I)return I}if((null===(n=i.childNodes)||void 0===n?void 0:n.length)>0)a.push([i,0]),i=i.childNodes[0];else{if(0===a.length)return null;for(;0!==a.length;){var c=d(a.pop(),2),l=c[0],h=c[1]+1;if(h<l.childNodes.length){a.push([l,h]),i=l.childNodes[h];break}}if(0===a.length)return null}}}},{key:"dump",value:function(A){if("#text"!==this.nodeName){if(A.push("<".concat(this.nodeName)),this.attributes){var e,t=m(this.attributes);try{for(t.s();!(e=t.n()).done;){var a=e.value;A.push(" ".concat(a.name,'="').concat(Ge(a.value),'"'))}}catch(A){t.e(A)}finally{t.f()}}if(this.hasChildNodes()){A.push(">");var i,n=m(this.childNodes);try{for(n.s();!(i=n.n()).done;)i.value.dump(A)}catch(A){n.e(A)}finally{n.f()}A.push("</".concat(this.nodeName,">"))}else this.nodeValue?A.push(">".concat(Ge(this.nodeValue),"</").concat(this.nodeName,">")):A.push("/>")}else A.push(Ge(this.nodeValue))}}])}(),aI=function(A){function e(A){var t,a=A.hasAttributes,i=void 0!==a&&a,n=A.lowerCaseName,r=void 0!==n&&n;return F(this,e),(t=S(this,e))._currentFragment=null,t._stack=null,t._errorCode=0,t._hasAttributes=i,t._lowerCaseName=r,t}return x(e,A),b(e,[{key:"parseFromString",value:function(A){if(this._currentFragment=[],this._stack=[],this._errorCode=0,this.parseXml(A),0===this._errorCode){var e=d(this._currentFragment,1)[0];if(e)return{documentElement:e}}}},{key:"onText",value:function(A){if(!function(A){for(var e=0,t=A.length;e<t;e++)if(!_s(A,e))return!1;return!0}(A)){var e=new tI("#text",A);this._currentFragment.push(e)}}},{key:"onCdata",value:function(A){var e=new tI("#text",A);this._currentFragment.push(e)}},{key:"onBeginElement",value:function(A,e,t){this._lowerCaseName&&(A=A.toLowerCase());var a=new tI(A);a.childNodes=[],this._hasAttributes&&(a.attributes=e),this._currentFragment.push(a),t||(this._stack.push(this._currentFragment),this._currentFragment=a.childNodes)}},{key:"onEndElement",value:function(A){this._currentFragment=this._stack.pop()||[];var e=this._currentFragment.at(-1);if(!e)return null;var t,a=m(e.childNodes);try{for(a.s();!(t=a.n()).done;)t.value.parentNode=e}catch(A){a.e(A)}finally{a.f()}return e}},{key:"onError",value:function(A){this._errorCode=A}}])}(eI),iI=function(){return b((function A(e){F(this,A),e=this._repair(e);var t=new aI({lowerCaseName:!0}).parseFromString(e);this._metadataMap=new Map,this._data=e,t&&this._parse(t)}),[{key:"_repair",value:function(A){return A.replace(/^[^<]+/,"").replaceAll(/>\\376\\377([^<]+)/g,(function(A,e){for(var t=e.replaceAll(/\\([0-3])([0-7])([0-7])/g,(function(A,e,t,a){return String.fromCharCode(64*e+8*t+1*a)})).replaceAll(/&(amp|apos|gt|lt|quot);/g,(function(A,e){switch(e){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(e," isn't defined."))})),a=[">"],i=0,n=t.length;i<n;i+=2){var r=256*t.charCodeAt(i)+t.charCodeAt(i+1);r>=32&&r<127&&60!==r&&62!==r&&38!==r?a.push(String.fromCharCode(r)):a.push("&#x"+(65536+r).toString(16).substring(1)+";")}return a.join("")}))}},{key:"_getSequence",value:function(A){var e=A.nodeName;return"rdf:bag"!==e&&"rdf:seq"!==e&&"rdf:alt"!==e?null:A.childNodes.filter((function(A){return"rdf:li"===A.nodeName}))}},{key:"_parseArray",value:function(A){if(A.hasChildNodes()){var e=d(A.childNodes,1)[0],t=this._getSequence(e)||[];this._metadataMap.set(A.nodeName,t.map((function(A){return A.textContent.trim()})))}}},{key:"_parse",value:function(A){var e=A.documentElement;if("rdf:rdf"!==e.nodeName)for(e=e.firstChild;e&&"rdf:rdf"!==e.nodeName;)e=e.nextSibling;if(e&&"rdf:rdf"===e.nodeName&&e.hasChildNodes()){var t,a=m(e.childNodes);try{for(a.s();!(t=a.n()).done;){var i=t.value;if("rdf:description"===i.nodeName){var n,r=m(i.childNodes);try{for(r.s();!(n=r.n()).done;){var g=n.value,o=g.nodeName;switch(o){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(g);continue}this._metadataMap.set(o,g.textContent.trim())}}catch(A){r.e(A)}finally{r.f()}}}}catch(A){a.e(A)}finally{a.f()}}}},{key:"serializable",get:function(){return{parsedData:this._metadataMap,rawData:this._data}}}])}(),nI=function(A){function e(A,t,a){var i;return F(this,e),(i=S(this,e,[t])).str=A,i.dict=A.dict,i.decrypt=a,i.nextChunk=null,i.initialized=!1,i}return x(e,A),b(e,[{key:"readBlock",value:function(){var A,e;if(this.initialized?e=this.nextChunk:(e=this.str.getBytes(512),this.initialized=!0),e&&0!==e.length){this.nextChunk=this.str.getBytes(512);var t=(null===(A=this.nextChunk)||void 0===A?void 0:A.length)>0;e=(0,this.decrypt)(e,!t);var a=this.bufferLength,i=a+e.length;this.ensureBuffer(i).set(e,a),this.bufferLength=i}else this.eof=!0}}])}(Yt),rI=function(){return b((function A(e){F(this,A),this.a=0,this.b=0;for(var t=new Uint8Array(256),a=e.length,i=0;i<256;++i)t[i]=i;for(var n=0,r=0;n<256;++n){var g=t[n];r=r+g+e[n%a]&255,t[n]=t[r],t[r]=g}this.s=t}),[{key:"encryptBlock",value:function(A){for(var e=this.a,t=this.b,a=this.s,i=A.length,n=new Uint8Array(i),r=0;r<i;++r){var g=a[e=e+1&255],o=a[t=t+g&255];a[e]=o,a[t]=g,n[r]=A[r]^a[g+o&255]}return this.a=e,this.b=t,n}},{key:"decryptBlock",value:function(A){return this.encryptBlock(A)}},{key:"encrypt",value:function(A){return this.encryptBlock(A)}}])}(),gI=($s=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]),AI=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]),function(A,e,t){var a,i,n=1732584193,r=-271733879,g=-1732584194,o=271733878,s=t+72&-64,I=new Uint8Array(s);for(a=0;a<t;++a)I[a]=A[e++];I[a++]=128;for(var c=s-8;a<c;)I[a++]=0;I[a++]=t<<3&255,I[a++]=t>>5&255,I[a++]=t>>13&255,I[a++]=t>>21&255,I[a++]=t>>>29&255,I[a++]=0,I[a++]=0,I[a++]=0;var l=new Int32Array(16);for(a=0;a<s;){for(i=0;i<16;++i,a+=4)l[i]=I[a]|I[a+1]<<8|I[a+2]<<16|I[a+3]<<24;var h=n,u=r,C=g,B=o,Q=void 0,E=void 0;for(i=0;i<64;++i){i<16?(Q=u&C|~u&B,E=i):i<32?(Q=B&u|~B&C,E=5*i+1&15):i<48?(Q=u^C^B,E=3*i+5&15):(Q=C^(u|~B),E=7*i&15);var f=B,d=h+Q+AI[i]+l[E]|0,y=$s[i];B=C,C=u,u=u+(d<<y|d>>>32-y)|0,h=f}n=n+h|0,r=r+u|0,g=g+C|0,o=o+B|0}return new Uint8Array([255&n,n>>8&255,n>>16&255,n>>>24&255,255&r,r>>8&255,r>>16&255,r>>>24&255,255&g,g>>8&255,g>>16&255,g>>>24&255,255&o,o>>8&255,o>>16&255,o>>>24&255])}),oI=function(){return b((function A(e,t){F(this,A),this.high=0|e,this.low=0|t}),[{key:"and",value:function(A){this.high&=A.high,this.low&=A.low}},{key:"xor",value:function(A){this.high^=A.high,this.low^=A.low}},{key:"or",value:function(A){this.high|=A.high,this.low|=A.low}},{key:"shiftRight",value:function(A){A>=32?(this.low=this.high>>>A-32|0,this.high=0):(this.low=this.low>>>A|this.high<<32-A,this.high=this.high>>>A|0)}},{key:"shiftLeft",value:function(A){A>=32?(this.high=this.low<<A-32,this.low=0):(this.high=this.high<<A|this.low>>>32-A,this.low<<=A)}},{key:"rotateRight",value:function(A){var e,t;32&A?(t=this.low,e=this.high):(e=this.low,t=this.high),A&=31,this.low=e>>>A|t<<32-A,this.high=t>>>A|e<<32-A}},{key:"not",value:function(){this.high=~this.high,this.low=~this.low}},{key:"add",value:function(A){var e=(this.low>>>0)+(A.low>>>0),t=(this.high>>>0)+(A.high>>>0);e>4294967295&&(t+=1),this.low=0|e,this.high=0|t}},{key:"copyTo",value:function(A,e){A[e]=this.high>>>24&255,A[e+1]=this.high>>16&255,A[e+2]=this.high>>8&255,A[e+3]=255&this.high,A[e+4]=this.low>>>24&255,A[e+5]=this.low>>16&255,A[e+6]=this.low>>8&255,A[e+7]=255&this.low}},{key:"assign",value:function(A){this.high=A.high,this.low=A.low}}])}(),sI=function(){function A(A,e){return A>>>e|A<<32-e}function e(A,e,t){return A&e^~A&t}function t(A,e,t){return A&e^A&t^e&t}function a(e){return A(e,2)^A(e,13)^A(e,22)}function i(e){return A(e,6)^A(e,11)^A(e,25)}function n(e){return A(e,7)^A(e,18)^e>>>3}var r=[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(g,o,s){var I,c,l=1779033703,h=3144134277,u=1013904242,C=2773480762,B=1359893119,Q=2600822924,E=528734635,f=1541459225,d=64*Math.ceil((s+9)/64),y=new Uint8Array(d);for(I=0;I<s;++I)y[I]=g[o++];y[I++]=128;for(var p=d-8;I<p;)y[I++]=0;y[I++]=0,y[I++]=0,y[I++]=0,y[I++]=s>>>29&255,y[I++]=s>>21&255,y[I++]=s>>13&255,y[I++]=s>>5&255,y[I++]=s<<3&255;var m,k=new Uint32Array(64);for(I=0;I<d;){for(c=0;c<16;++c)k[c]=y[I]<<24|y[I+1]<<16|y[I+2]<<8|y[I+3],I+=4;for(c=16;c<64;++c)k[c]=0|(A(m=k[c-2],17)^A(m,19)^m>>>10)+k[c-7]+n(k[c-15])+k[c-16];var v=l,w=h,b=u,D=C,F=B,S=Q,R=E,N=f,G=void 0,x=void 0;for(c=0;c<64;++c)G=N+i(F)+e(F,S,R)+r[c]+k[c],x=a(v)+t(v,w,b),N=R,R=S,S=F,F=D+G|0,D=b,b=w,w=v,v=G+x|0;l=l+v|0,h=h+w|0,u=u+b|0,C=C+D|0,B=B+F|0,Q=Q+S|0,E=E+R|0,f=f+N|0}return new Uint8Array([l>>24&255,l>>16&255,l>>8&255,255&l,h>>24&255,h>>16&255,h>>8&255,255&h,u>>24&255,u>>16&255,u>>8&255,255&u,C>>24&255,C>>16&255,C>>8&255,255&C,B>>24&255,B>>16&255,B>>8&255,255&B,Q>>24&255,Q>>16&255,Q>>8&255,255&Q,E>>24&255,E>>16&255,E>>8&255,255&E,f>>24&255,f>>16&255,f>>8&255,255&f])}}(),II=function(){function A(A,e,t,a,i){A.assign(e),A.and(t),i.assign(e),i.not(),i.and(a),A.xor(i)}function e(A,e,t,a,i){A.assign(e),A.and(t),i.assign(e),i.and(a),A.xor(i),i.assign(t),i.and(a),A.xor(i)}function t(A,e,t){A.assign(e),A.rotateRight(28),t.assign(e),t.rotateRight(34),A.xor(t),t.assign(e),t.rotateRight(39),A.xor(t)}function a(A,e,t){A.assign(e),A.rotateRight(14),t.assign(e),t.rotateRight(18),A.xor(t),t.assign(e),t.rotateRight(41),A.xor(t)}function i(A,e,t){A.assign(e),A.rotateRight(1),t.assign(e),t.rotateRight(8),A.xor(t),t.assign(e),t.shiftRight(7),A.xor(t)}function n(A,e,t){A.assign(e),A.rotateRight(19),t.assign(e),t.rotateRight(61),A.xor(t),t.assign(e),t.shiftRight(6),A.xor(t)}var r=[new oI(1116352408,3609767458),new oI(1899447441,602891725),new oI(3049323471,3964484399),new oI(3921009573,2173295548),new oI(961987163,4081628472),new oI(1508970993,3053834265),new oI(2453635748,2937671579),new oI(2870763221,3664609560),new oI(3624381080,2734883394),new oI(310598401,1164996542),new oI(607225278,1323610764),new oI(1426881987,3590304994),new oI(1925078388,4068182383),new oI(2162078206,991336113),new oI(2614888103,633803317),new oI(3248222580,3479774868),new oI(3835390401,2666613458),new oI(4022224774,944711139),new oI(264347078,2341262773),new oI(604807628,2007800933),new oI(770255983,1495990901),new oI(1249150122,1856431235),new oI(1555081692,3175218132),new oI(1996064986,2198950837),new oI(2554220882,3999719339),new oI(2821834349,766784016),new oI(2952996808,2566594879),new oI(3210313671,3203337956),new oI(3336571891,1034457026),new oI(3584528711,2466948901),new oI(113926993,3758326383),new oI(338241895,168717936),new oI(666307205,1188179964),new oI(773529912,1546045734),new oI(1294757372,1522805485),new oI(1396182291,2643833823),new oI(1695183700,2343527390),new oI(1986661051,1014477480),new oI(2177026350,1206759142),new oI(2456956037,344077627),new oI(2730485921,1290863460),new oI(2820302411,3158454273),new oI(3259730800,3505952657),new oI(3345764771,106217008),new oI(3516065817,3606008344),new oI(3600352804,1432725776),new oI(4094571909,1467031594),new oI(275423344,851169720),new oI(430227734,3100823752),new oI(506948616,1363258195),new oI(659060556,3750685593),new oI(883997877,3785050280),new oI(958139571,3318307427),new oI(1322822218,3812723403),new oI(1537002063,2003034995),new oI(1747873779,3602036899),new oI(1955562222,1575990012),new oI(2024104815,1125592928),new oI(2227730452,2716904306),new oI(2361852424,442776044),new oI(2428436474,593698344),new oI(2756734187,3733110249),new oI(3204031479,2999351573),new oI(3329325298,3815920427),new oI(3391569614,3928383900),new oI(3515267271,566280711),new oI(3940187606,3454069534),new oI(4118630271,4000239992),new oI(116418474,1914138554),new oI(174292421,2731055270),new oI(289380356,3203993006),new oI(460393269,320620315),new oI(685471733,587496836),new oI(852142971,1086792851),new oI(1017036298,365543100),new oI(1126000580,2618297676),new oI(1288033470,3409855158),new oI(1501505948,4234509866),new oI(1607167915,987167468),new oI(1816402316,1246189591)];return function(g,o,s){var I,c,l,h,u,C,B,Q,E=arguments.length>3&&void 0!==arguments[3]&&arguments[3];E?(I=new oI(3418070365,3238371032),c=new oI(1654270250,914150663),l=new oI(2438529370,812702999),h=new oI(355462360,4144912697),u=new oI(1731405415,4290775857),C=new oI(2394180231,1750603025),B=new oI(3675008525,1694076839),Q=new oI(1203062813,3204075428)):(I=new oI(1779033703,4089235720),c=new oI(3144134277,2227873595),l=new oI(1013904242,4271175723),h=new oI(2773480762,1595750129),u=new oI(1359893119,2917565137),C=new oI(2600822924,725511199),B=new oI(528734635,4215389547),Q=new oI(1541459225,327033209));var f,d,y=128*Math.ceil((s+17)/128),p=new Uint8Array(y);for(f=0;f<s;++f)p[f]=g[o++];p[f++]=128;for(var m=y-16;f<m;)p[f++]=0;p[f++]=0,p[f++]=0,p[f++]=0,p[f++]=0,p[f++]=0,p[f++]=0,p[f++]=0,p[f++]=0,p[f++]=0,p[f++]=0,p[f++]=0,p[f++]=s>>>29&255,p[f++]=s>>21&255,p[f++]=s>>13&255,p[f++]=s>>5&255,p[f++]=s<<3&255;var k=new Array(80);for(f=0;f<80;f++)k[f]=new oI(0,0);var v,w,b=new oI(0,0),D=new oI(0,0),F=new oI(0,0),S=new oI(0,0),R=new oI(0,0),N=new oI(0,0),G=new oI(0,0),x=new oI(0,0),U=new oI(0,0),M=new oI(0,0),J=new oI(0,0),L=new oI(0,0);for(f=0;f<y;){for(d=0;d<16;++d)k[d].high=p[f]<<24|p[f+1]<<16|p[f+2]<<8|p[f+3],k[d].low=p[f+4]<<24|p[f+5]<<16|p[f+6]<<8|p[f+7],f+=8;for(d=16;d<80;++d)n(v=k[d],k[d-2],L),v.add(k[d-7]),i(J,k[d-15],L),v.add(J),v.add(k[d-16]);for(b.assign(I),D.assign(c),F.assign(l),S.assign(h),R.assign(u),N.assign(C),G.assign(B),x.assign(Q),d=0;d<80;++d)U.assign(x),a(J,R,L),U.add(J),A(J,R,N,G,L),U.add(J),U.add(r[d]),U.add(k[d]),t(M,b,L),e(J,b,D,F,L),M.add(J),v=x,x=G,G=N,N=R,S.add(U),R=S,S=F,F=D,D=b,v.assign(U),v.add(M),b=v;I.add(b),c.add(D),l.add(F),h.add(S),u.add(R),C.add(N),B.add(G),Q.add(x)}return E?(w=new Uint8Array(48),I.copyTo(w,0),c.copyTo(w,8),l.copyTo(w,16),h.copyTo(w,24),u.copyTo(w,32),C.copyTo(w,40)):(w=new Uint8Array(64),I.copyTo(w,0),c.copyTo(w,8),l.copyTo(w,16),h.copyTo(w,24),u.copyTo(w,32),C.copyTo(w,40),B.copyTo(w,48),Q.copyTo(w,56)),w}}(),cI=function(){return b((function A(){F(this,A)}),[{key:"decryptBlock",value:function(A){return A}},{key:"encrypt",value:function(A){return A}}])}(),lI=function(){return b((function A(){F(this,A),this.constructor===A&&CA("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 e=0;e<256;e++)this._mixCol[e]=e<128?e<<1:e<<1^27;this.buffer=new Uint8Array(16),this.bufferPosition=0}),[{key:"_expandKey",value:function(A){CA("Cannot call `_expandKey` on the base class")}},{key:"_decrypt",value:function(A,e){var t,a,i,n=new Uint8Array(16);n.set(A);for(var r=0,g=this._keySize;r<16;++r,++g)n[r]^=e[g];for(var o=this._cyclesOfRepetition-1;o>=1;--o){t=n[13],n[13]=n[9],n[9]=n[5],n[5]=n[1],n[1]=t,t=n[14],a=n[10],n[14]=n[6],n[10]=n[2],n[6]=t,n[2]=a,t=n[15],a=n[11],i=n[7],n[15]=n[3],n[11]=t,n[7]=a,n[3]=i;for(var s=0;s<16;++s)n[s]=this._inv_s[n[s]];for(var I=0,c=16*o;I<16;++I,++c)n[I]^=e[c];for(var l=0;l<16;l+=4){var h=this._mix[n[l]],u=this._mix[n[l+1]],C=this._mix[n[l+2]],B=this._mix[n[l+3]];t=h^u>>>8^u<<24^C>>>16^C<<16^B>>>24^B<<8,n[l]=t>>>24&255,n[l+1]=t>>16&255,n[l+2]=t>>8&255,n[l+3]=255&t}}t=n[13],n[13]=n[9],n[9]=n[5],n[5]=n[1],n[1]=t,t=n[14],a=n[10],n[14]=n[6],n[10]=n[2],n[6]=t,n[2]=a,t=n[15],a=n[11],i=n[7],n[15]=n[3],n[11]=t,n[7]=a,n[3]=i;for(var Q=0;Q<16;++Q)n[Q]=this._inv_s[n[Q]],n[Q]^=e[Q];return n}},{key:"_encrypt",value:function(A,e){var t,a,i,n=this._s,r=new Uint8Array(16);r.set(A);for(var g=0;g<16;++g)r[g]^=e[g];for(var o=1;o<this._cyclesOfRepetition;o++){for(var s=0;s<16;++s)r[s]=n[r[s]];i=r[1],r[1]=r[5],r[5]=r[9],r[9]=r[13],r[13]=i,i=r[2],a=r[6],r[2]=r[10],r[6]=r[14],r[10]=i,r[14]=a,i=r[3],a=r[7],t=r[11],r[3]=r[15],r[7]=i,r[11]=a,r[15]=t;for(var I=0;I<16;I+=4){var c=r[I+0],l=r[I+1],h=r[I+2],u=r[I+3];t=c^l^h^u,r[I+0]^=t^this._mixCol[c^l],r[I+1]^=t^this._mixCol[l^h],r[I+2]^=t^this._mixCol[h^u],r[I+3]^=t^this._mixCol[u^c]}for(var C=0,B=16*o;C<16;++C,++B)r[C]^=e[B]}for(var Q=0;Q<16;++Q)r[Q]=n[r[Q]];i=r[1],r[1]=r[5],r[5]=r[9],r[9]=r[13],r[13]=i,i=r[2],a=r[6],r[2]=r[10],r[6]=r[14],r[10]=i,r[14]=a,i=r[3],a=r[7],t=r[11],r[3]=r[15],r[7]=i,r[11]=a,r[15]=t;for(var E=0,f=this._keySize;E<16;++E,++f)r[E]^=e[f];return r}},{key:"_decryptBlock2",value:function(A,e){for(var t=A.length,a=this.buffer,i=this.bufferPosition,n=[],r=this.iv,g=0;g<t;++g)if(a[i]=A[g],!(++i<16)){for(var o=this._decrypt(a,this._key),s=0;s<16;++s)o[s]^=r[s];r=a,n.push(o),a=new Uint8Array(16),i=0}if(this.buffer=a,this.bufferLength=i,this.iv=r,0===n.length)return new Uint8Array(0);var I=16*n.length;if(e){var c=n.at(-1),l=c[15];if(l<=16){for(var h=15,u=16-l;h>=u;--h)if(c[h]!==l){l=0;break}I-=l,n[n.length-1]=c.subarray(0,16-l)}}for(var C=new Uint8Array(I),B=0,Q=0,E=n.length;B<E;++B,Q+=16)C.set(n[B],Q);return C}},{key:"decryptBlock",value:function(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=A.length,i=this.buffer,n=this.bufferPosition;if(t)this.iv=t;else{for(var r=0;n<16&&r<a;++r,++n)i[n]=A[r];if(n<16)return this.bufferLength=n,new Uint8Array(0);this.iv=i,A=A.subarray(16)}return this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=this._decryptBlock2,this.decryptBlock(A,e)}},{key:"encrypt",value:function(A,e){var t=A.length,a=this.buffer,i=this.bufferPosition,n=[];e||(e=new Uint8Array(16));for(var r=0;r<t;++r)if(a[i]=A[r],!(++i<16)){for(var g=0;g<16;++g)a[g]^=e[g];var o=this._encrypt(a,this._key);e=o,n.push(o),a=new Uint8Array(16),i=0}if(this.buffer=a,this.bufferLength=i,this.iv=e,0===n.length)return new Uint8Array(0);for(var s=16*n.length,I=new Uint8Array(s),c=0,l=0,h=n.length;c<h;++c,l+=16)I.set(n[c],l);return I}}])}(),hI=function(A){function e(A){var t;return F(this,e),(t=S(this,e))._cyclesOfRepetition=10,t._keySize=160,t._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]),t._key=t._expandKey(A),t}return x(e,A),b(e,[{key:"_expandKey",value:function(A){var e=this._s,t=this._rcon,a=new Uint8Array(176);a.set(A);for(var i=16,n=1;i<176;++n){var r=a[i-3],g=a[i-2],o=a[i-1],s=a[i-4];r=e[r],g=e[g],o=e[o],s=e[s],r^=t[n];for(var I=0;I<4;++I)a[i]=r^=a[i-16],a[++i]=g^=a[i-16],a[++i]=o^=a[i-16],a[++i]=s^=a[i-16],i++}return a}}])}(lI),uI=function(A){function e(A){var t;return F(this,e),(t=S(this,e))._cyclesOfRepetition=14,t._keySize=224,t._key=t._expandKey(A),t}return x(e,A),b(e,[{key:"_expandKey",value:function(A){var e=this._s,t=new Uint8Array(240);t.set(A);for(var a,i,n,r,g=1,o=32,s=1;o<240;++s){o%32==16?(a=e[a],i=e[i],n=e[n],r=e[r]):o%32==0&&(a=t[o-3],i=t[o-2],n=t[o-1],r=t[o-4],a=e[a],i=e[i],n=e[n],r=e[r],a^=g,(g<<=1)>=256&&(g=255&(27^g)));for(var I=0;I<4;++I)t[o]=a^=t[o-32],t[++o]=i^=t[o-32],t[++o]=n^=t[o-32],t[++o]=r^=t[o-32],o++}return t}}])}(lI),CI=function(){return b((function A(){F(this,A)}),[{key:"checkOwnerPassword",value:function(A,e,t,a){var i=new Uint8Array(A.length+56);return i.set(A,0),i.set(e,A.length),i.set(t,A.length+e.length),YA(sI(i,0,i.length),a)}},{key:"checkUserPassword",value:function(A,e,t){var a=new Uint8Array(A.length+8);return a.set(A,0),a.set(e,A.length),YA(sI(a,0,a.length),t)}},{key:"getOwnerKey",value:function(A,e,t,a){var i=new Uint8Array(A.length+56);i.set(A,0),i.set(e,A.length),i.set(t,A.length+e.length);var n=sI(i,0,i.length);return new uI(n).decryptBlock(a,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(A,e,t){var a=new Uint8Array(A.length+8);a.set(A,0),a.set(e,A.length);var i=sI(a,0,a.length);return new uI(i).decryptBlock(t,!1,new Uint8Array(16))}}])}(),BI=function(){return b((function A(){F(this,A)}),[{key:"_hash",value:function(A,e,t){for(var a,i,n=sI(e,0,e.length).subarray(0,32),r=[0],g=0;g<64||r.at(-1)>g-32;){var o=A.length+n.length+t.length,s=new Uint8Array(o),I=0;s.set(A,I),I+=A.length,s.set(n,I),I+=n.length,s.set(t,I);for(var c=new Uint8Array(64*o),l=0,h=0;l<64;l++,h+=o)c.set(s,h);var u=(r=new hI(n.subarray(0,16)).encrypt(c,n.subarray(16,32))).slice(0,16).reduce((function(A,e){return A+e}),0)%3;0===u?n=sI(r,0,r.length):1===u?(a=r,i=r.length,n=II(a,0,i,!0)):2===u&&(n=II(r,0,r.length)),g++}return n.subarray(0,32)}},{key:"checkOwnerPassword",value:function(A,e,t,a){var i=new Uint8Array(A.length+56);return i.set(A,0),i.set(e,A.length),i.set(t,A.length+e.length),YA(this._hash(A,i,t),a)}},{key:"checkUserPassword",value:function(A,e,t){var a=new Uint8Array(A.length+8);return a.set(A,0),a.set(e,A.length),YA(this._hash(A,a,[]),t)}},{key:"getOwnerKey",value:function(A,e,t,a){var i=new Uint8Array(A.length+56);i.set(A,0),i.set(e,A.length),i.set(t,A.length+e.length);var n=this._hash(A,i,t);return new uI(n).decryptBlock(a,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(A,e,t){var a=new Uint8Array(A.length+8);a.set(A,0),a.set(e,A.length);var i=this._hash(A,a,[]);return new uI(i).decryptBlock(t,!1,new Uint8Array(16))}}])}(),QI=function(){return b((function A(e,t){F(this,A),this.StringCipherConstructor=e,this.StreamCipherConstructor=t}),[{key:"createStream",value:function(A,e){var t=new this.StreamCipherConstructor;return new nI(A,e,(function(A,e){return t.decryptBlock(A,e)}))}},{key:"decryptString",value:function(A){var e=new this.StringCipherConstructor,t=DA(A);return bA(t=e.decryptBlock(t,!0))}},{key:"encryptString",value:function(A){var e=new this.StringCipherConstructor;if(e instanceof lI){var t=16-A.length%16;A+=String.fromCharCode(t).repeat(t);var a=new Uint8Array(16);if("undefined"!=typeof crypto)crypto.getRandomValues(a);else for(var i=0;i<16;i++)a[i]=Math.floor(256*Math.random());var n=DA(A);n=e.encrypt(n,a);var r=new Uint8Array(16+n.length);return r.set(a),r.set(n,16),bA(r)}var g=DA(A);return bA(g=e.encrypt(g))}}])}(),EI=new WeakSet,fI=function(){return b((function A(e,t,a){F(this,A),l(this,EI);var i=e.get("Filter");if(!te(i,"Standard"))throw new vA("unknown encryption method");this.filterName=i.name,this.dict=e;var n=e.get("V");if(!Number.isInteger(n)||1!==n&&2!==n&&4!==n&&5!==n)throw new vA("unsupported encryption algorithm");this.algorithm=n;var r=e.get("Length");if(!r)if(n<=3)r=40;else{var g=e.get("CF"),o=e.get("StmF");if(g instanceof _A&&o instanceof VA){g.suppressEncryption=!0;var s=g.get(o.name);(r=(null==s?void 0:s.get("Length"))||128)<40&&(r<<=3)}}if(!Number.isInteger(r)||r<40||r%8!=0)throw new vA("invalid key length");var I=DA(e.get("O")),c=DA(e.get("U")),h=I.subarray(0,32),u=c.subarray(0,32),C=e.get("P"),B=e.get("R"),Q=(4===n||5===n)&&!1!==e.get("EncryptMetadata");this.encryptMetadata=Q;var E,d,y=DA(t);if(a){if(6===B)try{a=HA(a)}catch(A){uA("CipherTransformFactory: Unable to convert UTF8 encoded password.")}E=DA(a)}if(5!==n)d=f(EI,this,yI).call(this,y,E,h,u,C,B,r,Q);else{var p=I.subarray(32,40),m=I.subarray(40,48),k=c.subarray(0,48),v=c.subarray(32,40),w=c.subarray(40,48),b=DA(e.get("OE")),D=DA(e.get("UE")),S=DA(e.get("Perms"));d=f(EI,this,dI).call(this,B,E,h,p,m,k,u,v,w,b,D,S)}if(!d&&!a)throw new dA("No password given",1);if(!d&&a){var R=f(EI,this,pI).call(this,E,h,B,r);d=f(EI,this,yI).call(this,y,R,h,u,C,B,r,Q)}if(!d)throw new dA("Incorrect Password",2);if(this.encryptionKey=d,n>=4){var N=e.get("CF");N instanceof _A&&(N.suppressEncryption=!0),this.cf=N,this.stmf=e.get("StmF")||VA.get("Identity"),this.strf=e.get("StrF")||VA.get("Identity"),this.eff=e.get("EFF")||this.stmf}}),[{key:"createCipherTransform",value:function(A,e){if(4===this.algorithm||5===this.algorithm)return new QI(f(EI,this,kI).call(this,this.cf,this.strf,A,e,this.encryptionKey),f(EI,this,kI).call(this,this.cf,this.stmf,A,e,this.encryptionKey));var t=f(EI,this,mI).call(this,A,e,this.encryptionKey,!1),a=function(){return new rI(t)};return new QI(a,a)}}])}();function dI(A,e,t,a,i,n,r,g,o,s,I,c){if(e){var l=Math.min(127,e.length);e=e.subarray(0,l)}else e=[];var h=6===A?new BI:new CI;return h.checkUserPassword(e,g,r)?h.getUserKey(e,o,I):e.length&&h.checkOwnerPassword(e,a,n,t)?h.getOwnerKey(e,i,n,s):null}function yI(A,e,t,a,i,n,r,g){var o,s,I=40+t.length+A.length,c=new Uint8Array(I),l=0;if(e)for(s=Math.min(32,e.length);l<s;++l)c[l]=e[l];for(o=0;l<32;)c[l++]=vI._[o++];for(o=0,s=t.length;o<s;++o)c[l++]=t[o];for(c[l++]=255&i,c[l++]=i>>8&255,c[l++]=i>>16&255,c[l++]=i>>>24&255,o=0,s=A.length;o<s;++o)c[l++]=A[o];n>=4&&!g&&(c[l++]=255,c[l++]=255,c[l++]=255,c[l++]=255);var h=gI(c,0,l),u=r>>3;if(n>=3)for(o=0;o<50;++o)h=gI(h,0,u);var C,B=h.subarray(0,u);if(n>=3){for(l=0;l<32;++l)c[l]=vI._[l];for(o=0,s=A.length;o<s;++o)c[l++]=A[o];C=new rI(B).encryptBlock(gI(c,0,l)),s=B.length;var Q=new Uint8Array(s);for(o=1;o<=19;++o){for(var E=0;E<s;++E)Q[E]=B[E]^o;C=new rI(Q).encryptBlock(C)}for(o=0,s=C.length;o<s;++o)if(a[o]!==C[o])return null}else for(o=0,s=(C=new rI(B).encryptBlock(vI._)).length;o<s;++o)if(a[o]!==C[o])return null;return B}function pI(A,e,t,a){for(var i=new Uint8Array(32),n=0,r=Math.min(32,A.length);n<r;++n)i[n]=A[n];for(var g=0;n<32;)i[n++]=vI._[g++];var o,s=gI(i,0,n),I=a>>3;if(t>=3)for(g=0;g<50;++g)s=gI(s,0,s.length);if(t>=3){o=e;var c=new Uint8Array(I);for(g=19;g>=0;g--){for(var l=0;l<I;++l)c[l]=s[l]^g;o=new rI(c).encryptBlock(o)}}else o=new rI(s.subarray(0,I)).encryptBlock(e);return o}function mI(A,e,t){var a,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=new Uint8Array(t.length+9),r=t.length;for(a=0;a<r;++a)n[a]=t[a];return n[a++]=255&A,n[a++]=A>>8&255,n[a++]=A>>16&255,n[a++]=255&e,n[a++]=e>>8&255,i&&(n[a++]=115,n[a++]=65,n[a++]=108,n[a++]=84),gI(n,0,a).subarray(0,Math.min(t.length+5,16))}function kI(A,e,t,a,i){if(!(e instanceof VA))throw new vA("Invalid crypt filter name.");var n=this,r=A.get(e.name),g=null==r?void 0:r.get("CFM");if(!g||"None"===g.name)return function(){return new cI};if("V2"===g.name)return function(){return new rI(f(EI,n,mI).call(n,t,a,i,!1))};if("AESV2"===g.name)return function(){return new hI(f(EI,n,mI).call(n,t,a,i,!0))};if("AESV3"===g.name)return function(){return new uI(i)};throw new vA("Unknown crypto method")}var vI={_: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])};function wI(A,e,t,a){return bI.apply(this,arguments)}function bI(){return(bI=E(B().mark((function A(e,t,a,i){var n,r,g;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(n=i.encrypt,g=null==(r=void 0===n?null:n)?void 0:r.createCipherTransform(e.num,e.gen),a.push("".concat(e.num," ").concat(e.gen," obj\n")),!(t instanceof _A)){A.next=8;break}return A.next=6,DI(t,a,g);case 6:A.next=16;break;case 8:if(!(t instanceof re)){A.next=13;break}return A.next=11,SI(t,a,g);case 11:A.next=16;break;case 13:if(!Array.isArray(t)&&!ArrayBuffer.isView(t)){A.next=16;break}return A.next=16,NI(t,a,g);case 16:a.push("\nendobj\n");case 17:case"end":return A.stop()}}),A)})))).apply(this,arguments)}function DI(A,e,t){return FI.apply(this,arguments)}function FI(){return(FI=E(B().mark((function A(e,t,a){var i,n,r;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:t.push("<<"),i=m(e.getKeys()),A.prev=2,i.s();case 4:if((n=i.n()).done){A.next=11;break}return r=n.value,t.push(" /".concat(be(r)," ")),A.next=9,xI(e.getRaw(r),t,a);case 9:A.next=4;break;case 11:A.next=16;break;case 13:A.prev=13,A.t0=A.catch(2),i.e(A.t0);case 16:return A.prev=16,i.f(),A.finish(16);case 19:t.push(">>");case 20:case"end":return A.stop()}}),A,null,[[2,13,16,19]])})))).apply(this,arguments)}function SI(A,e,t){return RI.apply(this,arguments)}function RI(){return(RI=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,c,l,h,u,C,Q,E,f;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return i=e.getBytes(),n=e.dict,A.next=4,Promise.all([n.getAsync("Filter"),n.getAsync("DecodeParms")]);case 4:if(r=A.sent,g=d(r,2),o=g[0],s=g[1],!Array.isArray(o)){A.next=14;break}return A.next=11,n.xref.fetchIfRefAsync(o[0]);case 11:A.t0=A.sent,A.next=15;break;case 14:A.t0=o;case 15:if(c=A.t0,l=te(c,"FlateDecode"),!(i.length>=256||l)){A.next=36;break}return A.prev=19,h=new CompressionStream("deflate"),(u=h.writable.getWriter()).write(i),u.close(),A.next=26,new Response(h.readable).arrayBuffer();case 26:C=A.sent,i=new Uint8Array(C),o?l||(Q=Array.isArray(o)?[VA.get("FlateDecode")].concat(I(o)):[VA.get("FlateDecode"),o],s&&(E=Array.isArray(s)?[null].concat(I(s)):[null,s])):Q=VA.get("FlateDecode"),Q&&n.set("Filter",Q),E&&n.set("DecodeParms",E),A.next=36;break;case 33:A.prev=33,A.t1=A.catch(19),hA('writeStream - cannot compress data: "'.concat(A.t1,'".'));case 36:return f=bA(i),a&&(f=a.encryptString(f)),n.set("Length",f.length),A.next=41,DI(n,t,a);case 41:t.push(" stream\n",f,"\nendstream");case 42:case"end":return A.stop()}}),A,null,[[19,33]])})))).apply(this,arguments)}function NI(A,e,t){return GI.apply(this,arguments)}function GI(){return(GI=E(B().mark((function A(e,t,a){var i,n,r,g;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:t.push("["),i=!0,n=m(e),A.prev=3,n.s();case 5:if((r=n.n()).done){A.next=12;break}return g=r.value,i?i=!1:t.push(" "),A.next=10,xI(g,t,a);case 10:A.next=5;break;case 12:A.next=17;break;case 14:A.prev=14,A.t0=A.catch(3),n.e(A.t0);case 17:return A.prev=17,n.f(),A.finish(17);case 20:t.push("]");case 21:case"end":return A.stop()}}),A,null,[[3,14,17,20]])})))).apply(this,arguments)}function xI(A,e,t){return UI.apply(this,arguments)}function UI(){return(UI=E(B().mark((function A(e,t,a){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!(e instanceof VA)){A.next=4;break}t.push("/".concat(be(e.name))),A.next=37;break;case 4:if(!(e instanceof $A)){A.next=8;break}t.push("".concat(e.num," ").concat(e.gen," R")),A.next=37;break;case 8:if(!Array.isArray(e)&&!ArrayBuffer.isView(e)){A.next=13;break}return A.next=11,NI(e,t,a);case 11:A.next=37;break;case 13:if("string"!=typeof e){A.next=18;break}a&&(e=a.encryptString(e)),t.push("(".concat(De(e),")")),A.next=37;break;case 18:if("number"!=typeof e){A.next=22;break}t.push(Je(e)),A.next=37;break;case 22:if("boolean"!=typeof e){A.next=26;break}t.push(e.toString()),A.next=37;break;case 26:if(!(e instanceof _A)){A.next=31;break}return A.next=29,DI(e,t,a);case 29:A.next=37;break;case 31:if(!(e instanceof re)){A.next=36;break}return A.next=34,SI(e,t,a);case 34:A.next=37;break;case 36:null===e?t.push("null"):uA("Unhandled value in writer: ".concat(M(e),", please file a bug."));case 37:case"end":return A.stop()}}),A)})))).apply(this,arguments)}function MI(A,e,t,a){for(var i=e+t-1;i>t-1;i--)a[i]=255&A,A>>=8;return t+e}function JI(A,e,t){for(var a=0,i=A.length;a<i;a++)t[e+a]=255&A.charCodeAt(a)}function LI(A){return HI.apply(this,arguments)}function HI(){return(HI=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I,c,l;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(t=e.xref,a=e.acroForm,i=e.acroFormRef,n=e.hasXfa,r=e.hasXfaDatasetsEntry,g=e.xfaDatasetsRef,o=e.needAppearances,s=e.newRefs,!n||r||g||uA("XFA - Cannot save it"),o||n&&g&&!r){A.next=4;break}return A.abrupt("return");case 4:return I=a.clone(),n&&!r&&((c=a.get("XFA").slice()).splice(2,0,"datasets"),c.splice(3,0,g),I.set("XFA",c)),o&&I.set("NeedAppearances",!0),l=[],A.next=10,wI(i,I,l,t);case 10:s.push({ref:i,data:l.join("")});case 11:case"end":return A.stop()}}),A)})))).apply(this,arguments)}function YI(A){var e=A.xfaData,t=A.xfaDatasetsRef,a=A.newRefs,i=A.xref;null===e&&(e=function(A,e){var t,a=new aI({hasAttributes:!0}).parseFromString(A),i=m(e);try{for(i.s();!(t=i.n()).done;){var n=t.value.xfa;if(n){var r=n.path,g=n.value;if(r){var o=we(r),s=a.documentElement.searchNode(o,0);!s&&o.length>1&&(s=a.documentElement.searchNode([o.at(-1)],0)),s?s.childNodes=Array.isArray(g)?g.map((function(A){return new tI("value",A)})):[new tI("#text",g)]:uA("Node not found for path: ".concat(r))}}}}catch(A){i.e(A)}finally{i.f()}var I=[];return a.documentElement.dump(I),I.join("")}(i.fetchIfRef(t).getString(),a));var n=i.encrypt;n&&(e=n.createCipherTransform(t.num,t.gen).encryptString(e));var r="".concat(t.num," ").concat(t.gen," obj\n")+"<< /Type /EmbeddedFile /Length ".concat(e.length,">>\nstream\n")+e+"\nendstream\nendobj\n";a.push({ref:t,data:r})}function KI(A,e,t,a,i){return qI.apply(this,arguments)}function qI(){return(qI=E(B().mark((function A(e,t,a,i,n){var r,g,o,s,I,c,l;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:n.push("xref\n"),r=TI(a),g=0,o=m(a);try{for(o.s();!(s=o.n()).done;)I=s.value,c=I.ref,l=I.data,c.num===r[g]&&(n.push("".concat(r[g]," ").concat(r[g+1],"\n")),g+=2),null!==l?(n.push("".concat(t.toString().padStart(10,"0")," ").concat(Math.min(c.gen,65535).toString().padStart(5,"0")," n\r\n")),t+=l.length):n.push("0000000000 ".concat(Math.min(c.gen+1,65535).toString().padStart(5,"0")," f\r\n"))}catch(A){o.e(A)}finally{o.f()}return ZI(t,e,i),n.push("trailer\n"),A.next=9,DI(i,n);case 9:n.push("\nstartxref\n",t.toString(),"\n%%EOF\n");case 10:case"end":return A.stop()}}),A)})))).apply(this,arguments)}function TI(A){var e,t=[],a=m(A);try{for(a.s();!(e=a.n()).done;){var i=e.value.ref;i.num===t.at(-2)+t.at(-1)?t[t.length-1]+=1:t.push(i.num,1)}}catch(A){a.e(A)}finally{a.f()}return t}function PI(A,e,t,a,i){return WI.apply(this,arguments)}function WI(){return(WI=E(B().mark((function A(e,t,a,i,n){var r,g,o,s,I,c,l,h,u,C,Q,E,f,y,p,k,v,w,b,D,F,S;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:r=[],g=0,o=0,s=m(a);try{for(s.s();!(I=s.n()).done;)c=I.value,l=c.ref,h=c.data,u=void 0,g=Math.max(g,t),null!==h?(u=Math.min(l.gen,65535),r.push([1,t,u]),t+=h.length):(u=Math.min(l.gen+1,65535),r.push([0,0,u])),o=Math.max(o,u)}catch(A){s.e(A)}finally{s.f()}for(i.set("Index",TI(a)),C=Te(g),Q=Te(o),E=[1,C,Q],i.set("W",E),ZI(t,e,i),f=E.reduce((function(A,e){return A+e}),0),y=new Uint8Array(f*r.length),(p=new Pe(y)).dict=i,k=0,v=0,w=r;v<w.length;v++)b=d(w[v],3),D=b[0],F=b[1],S=b[2],k=MI(D,E[0],k,y),k=MI(F,E[1],k,y),k=MI(S,E[2],k,y);return A.next=19,wI(e.newRef,p,n,{});case 19:n.push("startxref\n",t.toString(),"\n%%EOF\n");case 20:case"end":return A.stop()}}),A)})))).apply(this,arguments)}function ZI(A,e,t){if(Array.isArray(e.fileIds)&&e.fileIds.length>0){var a=function(A,e){for(var t=Math.floor(Date.now()/1e3),a=e.filename||"",i=[t.toString(),a,A.toString()],n=i.reduce((function(A,e){return A+e.length}),0),r=0,g=Object.values(e.info);r<g.length;r++){var o=g[r];i.push(o),n+=o.length}for(var s=new Uint8Array(n),I=0,c=0,l=i;c<l.length;c++){var h=l[c];JI(h,I,s),I+=h.length}return bA(gI(s))}(A,e);t.set("ID",[e.fileIds[0],a])}}function OI(A,e,t){var a=new _A(null);a.set("Prev",A.startXRef);var i=A.newRef;return t?(e.push({ref:i,data:""}),a.set("Size",i.num+1),a.set("Type",VA.get("XRef"))):a.set("Size",i.num),null!==A.rootRef&&a.set("Root",A.rootRef),null!==A.infoRef&&a.set("Info",A.infoRef),null!==A.encryptRef&&a.set("Encrypt",A.encryptRef),a}function XI(A){return VI.apply(this,arguments)}function VI(){return(VI=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d,y,p,k,v,w,b,D,F,S,R,N,G,x,U,M;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return t=e.originalData,a=e.xrefInfo,i=e.newRefs,n=e.xref,r=void 0===n?null:n,g=e.hasXfa,o=void 0!==g&&g,s=e.xfaDatasetsRef,I=void 0===s?null:s,c=e.hasXfaDatasetsEntry,l=void 0!==c&&c,h=e.needAppearances,u=e.acroFormRef,C=void 0===u?null:u,Q=e.acroForm,E=void 0===Q?null:Q,f=e.xfaData,d=void 0===f?null:f,y=e.useXrefStream,p=void 0!==y&&y,A.next=3,LI({xref:r,acroForm:E,acroFormRef:C,hasXfa:o,hasXfaDatasetsEntry:l,xfaDatasetsRef:I,needAppearances:h,newRefs:i});case 3:o&&YI({xfaData:d,xfaDatasetsRef:I,newRefs:i,xref:r}),k=[],v=t.length,10!==(w=t.at(-1))&&13!==w&&(k.push("\n"),v+=1),b=OI(a,i,p),i=i.sort((function(A,e){return A.ref.num-e.ref.num})),D=m(i);try{for(D.s();!(F=D.n()).done;)null!==(S=F.value.data)&&k.push(S)}catch(A){D.e(A)}finally{D.f()}return A.next=14,p?PI(a,v,i,b,k):KI(a,v,i,b,k);case 14:for(R=k.reduce((function(A,e){return A+e.length}),t.length),(N=new Uint8Array(R)).set(t),G=t.length,x=0,U=k;x<U.length;x++)JI(M=U[x],G,N),G+=M.length;return A.abrupt("return",N);case 20:case"end":return A.stop()}}),A)})))).apply(this,arguments)}var jI=new WeakSet,zI=function(){function A(e,t){F(this,A),l(this,jI),this.dict=e,this.ref=t instanceof $A?t:null,this.roleMap=new Map,this.structParentIds=null}return b(A,[{key:"init",value:function(){this.readRoleMap()}},{key:"addAnnotationIdToPage",value:function(A,e){f(jI,this,_I).call(this,A,e,4)}},{key:"readRoleMap",value:function(){var A=this,e=this.dict.get("RoleMap");e instanceof _A&&e.forEach((function(e,t){t instanceof VA&&A.roleMap.set(e,t.name)}))}},{key:"canUpdateStructTree",value:(i=E(B().mark((function e(t){var a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,y,p,k,v,w,b,D,F,S,R,N,G,x,U,M;return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.pdfManager,i=t.xref,n=t.newAnnotationsByPage,this.ref){e.next=4;break}return uA("Cannot update the struct tree: no root reference."),e.abrupt("return",!1);case 4:if(r=this.dict.get("ParentTreeNextKey"),Number.isInteger(r)&&!(r<0)){e.next=8;break}return uA("Cannot update the struct tree: invalid next key."),e.abrupt("return",!1);case 8:if((g=this.dict.get("ParentTree"))instanceof _A){e.next=12;break}return uA("Cannot update the struct tree: ParentTree isn't a dict."),e.abrupt("return",!1);case 12:if(o=g.get("Nums"),Array.isArray(o)){e.next=16;break}return uA("Cannot update the struct tree: nums isn't an array."),e.abrupt("return",!1);case 16:s=new Os(g,i),I=m(n.keys()),e.prev=18,I.s();case 20:if((c=I.n()).done){e.next=34;break}return l=c.value,e.next=24,a.getPage(l);case 24:if(h=e.sent,(u=h.pageDict).has("StructParents")){e.next=28;break}return e.abrupt("continue",32);case 28:if(C=u.get("StructParents"),Number.isInteger(C)&&Array.isArray(s.get(C))){e.next=32;break}return uA("Cannot save the struct tree: page ".concat(l," has a wrong id.")),e.abrupt("return",!1);case 32:e.next=20;break;case 34:e.next=39;break;case 36:e.prev=36,e.t0=e.catch(18),I.e(e.t0);case 39:return e.prev=39,I.f(),e.finish(39);case 42:Q=!0,E=m(n),e.prev=44,E.s();case 46:if((f=E.n()).done){e.next=57;break}return y=d(f.value,2),p=y[0],k=y[1],e.next=50,a.getPage(p);case 50:v=e.sent,w=v.pageDict,ec.call(A,{elements:k,xref:this.dict.xref,pageDict:w,numberTree:s}),b=m(k);try{for(b.s();!(D=b.n()).done;)S=D.value,null!==(F=S.accessibilityData)&&void 0!==F&&F.type&&(S.parentTreeId=r++,Q=!1)}catch(A){b.e(A)}finally{b.f()}case 55:e.next=46;break;case 57:e.next=62;break;case 59:e.prev=59,e.t1=e.catch(44),E.e(e.t1);case 62:return e.prev=62,E.f(),e.finish(62);case 65:if(!Q){e.next=69;break}R=m(n.values());try{for(R.s();!(N=R.n()).done;){G=N.value,x=m(G);try{for(x.s();!(U=x.n()).done;)delete(M=U.value).parentTreeId,delete M.structTreeParent}catch(A){x.e(A)}finally{x.f()}}}catch(A){R.e(A)}finally{R.f()}return e.abrupt("return",!1);case 69:return e.abrupt("return",!0);case 70:case"end":return e.stop()}}),e,this,[[18,36,39,42],[44,59,62,65]])}))),function(A){return i.apply(this,arguments)})},{key:"updateStructureTree",value:(a=E(B().mark((function e(t){var a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,y,p;return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.newAnnotationsByPage,i=t.pdfManager,n=t.newRefs,r=this.dict.xref,g=this.dict.clone(),o=this.ref,(s=new ee).put(o,g),(I=g.getRaw("ParentTree"))instanceof $A?c=r.fetch(I):(c=I,I=r.getNewTemporaryRef(),g.set("ParentTree",I)),c=c.clone(),s.put(I,c),l=c.getRaw("Nums"),h=null,l instanceof $A&&(h=l,l=r.fetch(h)),l=l.slice(),h||c.set("Nums",l),e.next=17,$I.call(A,{newAnnotationsByPage:a,structTreeRootRef:o,kids:null,nums:l,xref:r,pdfManager:i,cache:s});case 17:u=e.sent,g.set("ParentTreeNextKey",u),h&&s.put(h,l),C=[],Q=m(s.items()),e.prev=22,Q.s();case 24:if((E=Q.n()).done){e.next=32;break}return f=d(E.value,2),y=f[0],p=f[1],C.length=0,e.next=29,wI(y,p,C,r);case 29:n.push({ref:y,data:C.join("")});case 30:e.next=24;break;case 32:e.next=37;break;case 34:e.prev=34,e.t0=e.catch(22),Q.e(e.t0);case 37:return e.prev=37,Q.f(),e.finish(37);case 40:case"end":return e.stop()}}),e,this,[[22,34,37,40]])}))),function(A){return a.apply(this,arguments)})}],[{key:"canCreateStructureTree",value:(t=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,y,p;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(t=e.catalogRef,a=e.pdfManager,i=e.newAnnotationsByPage,t instanceof $A){A.next=4;break}return uA("Cannot save the struct tree: no catalog reference."),A.abrupt("return",!1);case 4:n=0,r=!0,g=m(i),A.prev=7,g.s();case 9:if((o=g.n()).done){A.next=23;break}return s=d(o.value,2),I=s[0],c=s[1],A.next=13,a.getPage(I);case 13:if(A.sent.ref instanceof $A){A.next=19;break}return uA("Cannot save the struct tree: page ".concat(I," has no ref.")),r=!0,A.abrupt("break",23);case 19:l=m(c);try{for(l.s();!(h=l.n()).done;)C=h.value,null!==(u=C.accessibilityData)&&void 0!==u&&u.type&&(C.parentTreeId=n++,r=!1)}catch(A){l.e(A)}finally{l.f()}case 21:A.next=9;break;case 23:A.next=28;break;case 25:A.prev=25,A.t0=A.catch(7),g.e(A.t0);case 28:return A.prev=28,g.f(),A.finish(28);case 31:if(!r){A.next=35;break}Q=m(i.values());try{for(Q.s();!(E=Q.n()).done;){f=E.value,y=m(f);try{for(y.s();!(p=y.n()).done;)delete p.value.parentTreeId}catch(A){y.e(A)}finally{y.f()}}}catch(A){Q.e(A)}finally{Q.f()}return A.abrupt("return",!1);case 35:return A.abrupt("return",!0);case 36:case"end":return A.stop()}}),A,null,[[7,25,28,31]])}))),function(A){return t.apply(this,arguments)})},{key:"createStructureTree",value:(e=E(B().mark((function e(t){var a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,y,p,k,v,w;return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.newAnnotationsByPage,i=t.xref,n=t.catalogRef,r=t.pdfManager,g=t.newRefs,o=r.catalog.cloneDict(),(s=new ee).put(n,o),I=i.getNewTemporaryRef(),o.set("StructTreeRoot",I),(c=new _A(i)).set("Type",VA.get("StructTreeRoot")),l=i.getNewTemporaryRef(),c.set("ParentTree",l),h=[],c.set("K",h),s.put(I,c),u=new _A(i),C=[],u.set("Nums",C),e.next=18,f(A,this,$I).call(this,{newAnnotationsByPage:a,structTreeRootRef:I,kids:h,nums:C,xref:i,pdfManager:r,cache:s});case 18:Q=e.sent,c.set("ParentTreeNextKey",Q),s.put(l,u),E=[],y=m(s.items()),e.prev=23,y.s();case 25:if((p=y.n()).done){e.next=33;break}return k=d(p.value,2),v=k[0],w=k[1],E.length=0,e.next=30,wI(v,w,E,i);case 30:g.push({ref:v,data:E.join("")});case 31:e.next=25;break;case 33:e.next=38;break;case 35:e.prev=35,e.t0=e.catch(23),y.e(e.t0);case 38:return e.prev=38,y.f(),e.finish(38);case 41:case"end":return e.stop()}}),e,this,[[23,35,38,41]])}))),function(A){return e.apply(this,arguments)})}]);var e,t,a,i}();function _I(A,e,t){if(A instanceof $A&&!(e<0)){this.structParentIds||(this.structParentIds=new ee);var a=this.structParentIds.get(A);a||(a=[],this.structParentIds.put(A,a)),a.push([e,t])}}function $I(A){return Ac.apply(this,arguments)}function Ac(){return(Ac=E(B().mark((function A(e){var t,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,y,p,k,v,w,b,D,F,S,R,N,G,x,U,M,J,L,H;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:t=e.newAnnotationsByPage,i=e.structTreeRootRef,n=e.kids,r=e.nums,g=e.xref,o=e.pdfManager,s=e.cache,I=VA.get("OBJR"),c=-1/0,l=m(t),A.prev=4,l.s();case 6:if((h=l.n()).done){A.next=51;break}return u=d(h.value,2),C=u[0],Q=u[1],A.next=10,o.getPage(C);case 10:E=A.sent,y=E.ref,p=y instanceof $A,k=m(Q),A.prev=14,k.s();case 16:if((v=k.n()).done){A.next=41;break}if(w=v.value,b=w.accessibilityData,D=w.ref,F=w.parentTreeId,S=w.structTreeParent,null!=b&&b.type){A.next=20;break}return A.abrupt("continue",39);case 20:return R=b.type,N=b.title,G=b.lang,x=b.alt,U=b.expanded,M=b.actualText,c=Math.max(c,F),J=g.getNewTemporaryRef(),(L=new _A(g)).set("S",VA.get(R)),N&&L.set("T",N),G&&L.set("Lang",G),x&&L.set("Alt",x),U&&L.set("E",U),M&&L.set("ActualText",M),A.next=32,f(a,this,tc).call(this,{structTreeParent:S,tagDict:L,newTagRef:J,structTreeRootRef:i,fallbackKids:n,xref:g,cache:s});case 32:H=new _A(g),L.set("K",H),H.set("Type",I),p&&H.set("Pg",y),H.set("Obj",D),s.put(J,L),r.push(F,J);case 39:A.next=16;break;case 41:A.next=46;break;case 43:A.prev=43,A.t0=A.catch(14),k.e(A.t0);case 46:return A.prev=46,k.f(),A.finish(46);case 49:A.next=6;break;case 51:A.next=56;break;case 53:A.prev=53,A.t1=A.catch(4),l.e(A.t1);case 56:return A.prev=56,l.f(),A.finish(56);case 59:return A.abrupt("return",c+1);case 60:case"end":return A.stop()}}),A,this,[[4,53,56,59],[14,43,46,49]])})))).apply(this,arguments)}function ec(A){var e,t=A.elements,a=A.xref,i=A.pageDict,n=A.numberTree,r=new Map,g=m(t);try{for(g.s();!(e=g.n()).done;){var o=e.value;if(o.structTreeParentId){var s=parseInt(o.structTreeParentId.split("_mc")[1],10),I=r.get(s);I||(I=[],r.set(s,I)),I.push(o)}}}catch(A){g.e(A)}finally{g.f()}var c=i.get("StructParents");if(Number.isInteger(c)){var l,h=function(A,e,t){var i=r.get(A);if(i){var n=e.getRaw("P"),g=a.fetchIfRef(n);if(n instanceof $A&&g instanceof _A){var o,s={ref:t,dict:e},I=m(i);try{for(I.s();!(o=I.n()).done;)o.value.structTreeParent=s}catch(A){I.e(A)}finally{I.f()}}return!0}return!1},u=m(n.get(c));try{for(u.s();!(l=u.n()).done;){var C=l.value;if(C instanceof $A){var B=a.fetch(C),Q=B.get("K");if(Number.isInteger(Q))h(Q,B,C);else if(Array.isArray(Q)){var E,f=m(Q);try{for(f.s();!(E=f.n()).done;){var d=E.value;if(d=a.fetchIfRef(d),Number.isInteger(d)&&h(d,B,C))break;if(d instanceof _A){if(!te(d.get("Type"),"MCR"))break;var y=d.get("MCID");if(Number.isInteger(y)&&h(y,B,C))break}}}catch(A){f.e(A)}finally{f.f()}}}}}catch(A){u.e(A)}finally{u.f()}}}function tc(A){return ac.apply(this,arguments)}function ac(){return(ac=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I,c,l,h,u,C,Q;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(t=e.structTreeParent,a=e.tagDict,i=e.newTagRef,n=e.structTreeRootRef,r=e.fallbackKids,g=e.xref,o=e.cache,s=null,t?(s=t.ref,I=t.dict.getRaw("P")||n):I=n,a.set("P",I),c=g.fetchIfRef(I)){A.next=8;break}return r.push(i),A.abrupt("return");case 8:(l=o.get(I))||(l=c.clone(),o.put(I,l)),h=l.getRaw("K"),(u=h instanceof $A?o.get(h):null)||(u=g.fetchIfRef(h),u=Array.isArray(u)?u.slice():[h],C=g.getNewTemporaryRef(),l.set("K",C),o.put(C,u)),Q=u.indexOf(s),u.splice(Q>=0?Q+1:u.length,0,i);case 15:case"end":return A.stop()}}),A)})))).apply(this,arguments)}a=zI;var ic=function(){return b((function A(e,t){F(this,A),this.tree=e,this.dict=t,this.kids=[],this.parseKids()}),[{key:"role",get:function(){var A=this.dict.get("S"),e=A instanceof VA?A.name:"",t=this.tree.root;return t.roleMap.has(e)?t.roleMap.get(e):e}},{key:"parseKids",value:function(){var A=null,e=this.dict.getRaw("Pg");e instanceof $A&&(A=e.toString());var t=this.dict.get("K");if(Array.isArray(t)){var a,i=m(t);try{for(i.s();!(a=i.n()).done;){var n=a.value,r=this.parseKid(A,n);r&&this.kids.push(r)}}catch(A){i.e(A)}finally{i.f()}}else{var g=this.parseKid(A,t);g&&this.kids.push(g)}}},{key:"parseKid",value:function(A,e){if(Number.isInteger(e))return this.tree.pageDict.objId!==A?null:new nc({type:1,mcid:e,pageObjId:A});var t=null;if(e instanceof $A?t=this.dict.xref.fetch(e):e instanceof _A&&(t=e),!t)return null;var a=t.getRaw("Pg");a instanceof $A&&(A=a.toString());var i=t.get("Type")instanceof VA?t.get("Type").name:null;if("MCR"===i){if(this.tree.pageDict.objId!==A)return null;var n=t.getRaw("Stm");return new nc({type:2,refObjId:n instanceof $A?n.toString():null,pageObjId:A,mcid:t.get("MCID")})}if("OBJR"===i){if(this.tree.pageDict.objId!==A)return null;var r=t.getRaw("Obj");return new nc({type:3,refObjId:r instanceof $A?r.toString():null,pageObjId:A})}return new nc({type:5,dict:t})}}])}(),nc=b((function A(e){var t=e.type,a=e.dict,i=void 0===a?null:a,n=e.mcid,r=void 0===n?null:n,g=e.pageObjId,o=void 0===g?null:g,s=e.refObjId,I=void 0===s?null:s;F(this,A),this.type=t,this.dict=i,this.mcid=r,this.pageObjId=o,this.refObjId=I,this.parentNode=null})),rc=function(){return b((function A(e,t){F(this,A),this.root=e,this.rootDict=e?e.dict:null,this.pageDict=t,this.nodes=[]}),[{key:"parse",value:function(A){var e;if(this.root&&this.rootDict){var t=this.rootDict.get("ParentTree");if(t){var a=this.pageDict.get("StructParents"),i=A instanceof $A&&(null===(e=this.root.structParentIds)||void 0===e?void 0:e.get(A));if(Number.isInteger(a)||i){var n=new Map,r=new Os(t,this.rootDict.xref);if(Number.isInteger(a)){var g=r.get(a);if(Array.isArray(g)){var o,s=m(g);try{for(s.s();!(o=s.n()).done;){var I=o.value;I instanceof $A&&this.addNode(this.rootDict.xref.fetch(I),n)}}catch(A){s.e(A)}finally{s.f()}}}if(i){var c,l=m(i);try{for(l.s();!(c=l.n()).done;){var h=d(c.value,2),u=h[0],C=h[1],B=r.get(u);if(B){var Q,E=this.addNode(this.rootDict.xref.fetchIfRef(B),n);1===(null==E||null===(Q=E.kids)||void 0===Q?void 0:Q.length)&&3===E.kids[0].type&&(E.kids[0].type=C)}}}catch(A){l.e(A)}finally{l.f()}}}}}}},{key:"addNode",value:function(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(t>40)return uA("StructTree MAX_DEPTH reached."),null;if(e.has(A))return e.get(A);var a=new ic(this,A);e.set(A,a);var i=A.get("P");if(!i||te(i.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(A,a)||e.delete(A),a;var n=this.addNode(i,e,t+1);if(!n)return a;var r,g=!1,o=m(n.kids);try{for(o.s();!(r=o.n()).done;){var s=r.value;5===s.type&&s.dict===A&&(s.parentNode=a,g=!0)}}catch(A){o.e(A)}finally{o.f()}return g||e.delete(A),a}},{key:"addTopLevelNode",value:function(A,e){var t=this.rootDict.get("K");if(!t)return!1;if(t instanceof _A)return t.objId===A.objId&&(this.nodes[0]=e,!0);if(!Array.isArray(t))return!0;for(var a=!1,i=0;i<t.length;i++){var n=t[i];(null==n?void 0:n.toString())===A.objId&&(this.nodes[i]=e,a=!0)}return a}},{key:"serializable",get:function(){function A(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(a>40)uA("StructTree too deep to be fully serialized.");else{var i=Object.create(null);i.role=e.role,i.children=[],t.children.push(i);var n=e.dict.get("Alt");"string"==typeof n&&(i.alt=JA(n));var r=e.dict.get("Lang");"string"==typeof r&&(i.lang=JA(r));var g,o=m(e.kids);try{for(o.s();!(g=o.n()).done;){var s=g.value,I=5===s.type?s.parentNode:null;I?A(I,i,a+1):1===s.type||2===s.type?i.children.push({type:"content",id:"p".concat(s.pageObjId,"_mc").concat(s.mcid)}):3===s.type?i.children.push({type:"object",id:s.refObjId}):4===s.type&&i.children.push({type:"annotation",id:"".concat("pdfjs_internal_id_").concat(s.refObjId)})}}catch(A){o.e(A)}finally{o.f()}}}var e=Object.create(null);e.children=[],e.role="Root";var t,a=m(this.nodes);try{for(a.s();!(t=a.n()).done;){var i=t.value;i&&A(i,e)}}catch(A){a.e(A)}finally{a.f()}return e}}])}();function gc(A){if(!Array.isArray(A)||A.length<2)return!1;var e=function(A){return p(A)||c(A)||k(A)||y()}(A),t=e[0],a=e[1],i=e.slice(2);if(!(t instanceof $A||Number.isInteger(t)))return!1;if(!(a instanceof VA))return!1;var n=!0;switch(a.name){case"XYZ":if(3!==i.length)return!1;break;case"Fit":case"FitB":return 0===i.length;case"FitH":case"FitBH":case"FitV":case"FitBV":if(1!==i.length)return!1;break;case"FitR":if(4!==i.length)return!1;n=!1;break;default:return!1}var r,g=m(i);try{for(g.s();!(r=g.n()).done;){var o=r.value;if(!("number"==typeof o||n&&null===o))return!1}}catch(A){g.e(A)}finally{g.f()}return!0}function oc(A){return A instanceof _A&&(A=A.get("D")),gc(A)?A:null}function sc(A){var e=A.get("D");if(e){if(e instanceof VA&&(e=e.name),"string"==typeof e)return JA(e);if(gc(e))return JSON.stringify(e)}return null}var Ic=new WeakSet,cc=function(){function A(e,t){if(F(this,A),l(this,Ic),this.pdfManager=e,this.xref=t,this._catDict=t.getCatalogObj(),!(this._catDict instanceof _A))throw new vA("Catalog object is not a dictionary.");this.toplevelPagesDict,this._actualNumPages=null,this.fontCache=new ee,this.builtInCMapCache=new Map,this.standardFontDataCache=new Map,this.globalImageCache=new Do,this.pageKidsCountCache=new ee,this.pageIndexCache=new ee,this.nonBlendModesSet=new Ae,this.systemFontCache=new Map}return b(A,[{key:"cloneDict",value:function(){return this._catDict.clone()}},{key:"version",get:function(){var A=this._catDict.get("Version");if(A instanceof VA){if(ge.test(A.name))return EA(this,"version",A.name);uA("Invalid PDF catalog version: ".concat(A.name))}return EA(this,"version",null)}},{key:"lang",get:function(){var A=this._catDict.get("Lang");return EA(this,"lang",A&&"string"==typeof A?JA(A):null)}},{key:"needsRendering",get:function(){var A=this._catDict.get("NeedsRendering");return EA(this,"needsRendering","boolean"==typeof A&&A)}},{key:"collection",get:function(){var A=null;try{var e=this._catDict.get("Collection");e instanceof _A&&e.size>0&&(A=e)}catch(A){if(A instanceof se)throw A;hA("Cannot fetch Collection entry; assuming no collection is present.")}return EA(this,"collection",A)}},{key:"acroForm",get:function(){var A=null;try{var e=this._catDict.get("AcroForm");e instanceof _A&&e.size>0&&(A=e)}catch(A){if(A instanceof se)throw A;hA("Cannot fetch AcroForm entry; assuming no forms are present.")}return EA(this,"acroForm",A)}},{key:"acroFormRef",get:function(){var A=this._catDict.getRaw("AcroForm");return EA(this,"acroFormRef",A instanceof $A?A:null)}},{key:"metadata",get:function(){var A=this._catDict.getRaw("Metadata");if(!(A instanceof $A))return EA(this,"metadata",null);var e=null;try{var t,a=this.xref.fetch(A,!(null!==(t=this.xref.encrypt)&&void 0!==t&&t.encryptMetadata));if(a instanceof re&&a.dict instanceof _A){var i=a.dict.get("Type"),n=a.dict.get("Subtype");if(te(i,"Metadata")&&te(n,"XML")){var r=LA(a.getString());r&&(e=new iI(r).serializable)}}}catch(A){if(A instanceof se)throw A;hA('Skipping invalid Metadata: "'.concat(A,'".'))}return EA(this,"metadata",e)}},{key:"markInfo",get:function(){var A=null;try{A=this._readMarkInfo()}catch(A){if(A instanceof se)throw A;uA("Unable to read mark info.")}return EA(this,"markInfo",A)}},{key:"_readMarkInfo",value:function(){var A=this._catDict.get("MarkInfo");if(!(A instanceof _A))return null;var e={Marked:!1,UserProperties:!1,Suspects:!1};for(var t in e){var a=A.get(t);"boolean"==typeof a&&(e[t]=a)}return e}},{key:"structTreeRoot",get:function(){var A=null;try{A=this._readStructTreeRoot()}catch(A){if(A instanceof se)throw A;uA("Unable read to structTreeRoot info.")}return EA(this,"structTreeRoot",A)}},{key:"_readStructTreeRoot",value:function(){var A=this._catDict.getRaw("StructTreeRoot"),e=this.xref.fetchIfRef(A);if(!(e instanceof _A))return null;var t=new zI(e,A);return t.init(),t}},{key:"toplevelPagesDict",get:function(){var A=this._catDict.get("Pages");if(!(A instanceof _A))throw new vA("Invalid top-level pages dictionary.");return EA(this,"toplevelPagesDict",A)}},{key:"documentOutline",get:function(){var A=null;try{A=this._readDocumentOutline()}catch(A){if(A instanceof se)throw A;uA("Unable to read document outline.")}return EA(this,"documentOutline",A)}},{key:"_readDocumentOutline",value:function(){var e=this._catDict.get("Outlines");if(!(e instanceof _A))return null;if(!((e=e.getRaw("First"))instanceof $A))return null;var t={items:[]},a=[{obj:e,parent:t}],i=new Ae;i.put(e);for(var n=this.xref,r=new Uint8ClampedArray(3);a.length>0;){var g=a.shift(),o=n.fetchIfRef(g.obj);if(null!==o){o.has("Title")||uA("Invalid outline item encountered.");var s={url:null,dest:null,action:null};A.parseDestDictionary({destDict:o,resultObj:s,docBaseUrl:this.baseUrl,docAttachments:this.attachments});var I=o.get("Title"),c=o.get("F")||0,l=o.getArray("C"),h=o.get("Count"),u=r;!pe(l,3)||0===l[0]&&0===l[1]&&0===l[2]||(u=Ve.singletons.rgb.getRgb(l,0));var C={action:s.action,attachment:s.attachment,dest:s.dest,url:s.url,unsafeUrl:s.unsafeUrl,newWindow:s.newWindow,setOCGState:s.setOCGState,title:"string"==typeof I?JA(I):"",color:u,count:Number.isInteger(h)?h:void 0,bold:!!(2&c),italic:!!(1&c),items:[]};g.parent.items.push(C),(e=o.getRaw("First"))instanceof $A&&!i.has(e)&&(a.push({obj:e,parent:C}),i.put(e)),(e=o.getRaw("Next"))instanceof $A&&!i.has(e)&&(a.push({obj:e,parent:g.parent}),i.put(e))}}return t.items.length>0?t.items:null}},{key:"permissions",get:function(){var A=null;try{A=this._readPermissions()}catch(A){if(A instanceof se)throw A;uA("Unable to read permissions.")}return EA(this,"permissions",A)}},{key:"_readPermissions",value:function(){var A=this.xref.trailer.get("Encrypt");if(!(A instanceof _A))return null;var e=A.get("P");if("number"!=typeof e)return null;e+=Math.pow(2,32);var t=[];for(var a in W){var i=W[a];e&i&&t.push(i)}return t}},{key:"optionalContentConfig",get:function(){var A=null;try{var e=this._catDict.get("OCProperties");if(!e)return EA(this,"optionalContentConfig",null);var t=e.get("D");if(!t)return EA(this,"optionalContentConfig",null);var a=e.get("OCGs");if(!Array.isArray(a))return EA(this,"optionalContentConfig",null);var i,n=[],r=new Ae,g=m(a);try{for(g.s();!(i=g.n()).done;){var o=i.value;o instanceof $A&&!r.has(o)&&(r.put(o),n.push(f(Ic,this,lc).call(this,o)))}}catch(A){g.e(A)}finally{g.f()}(A=f(Ic,this,hc).call(this,t,r)).groups=n}catch(A){if(A instanceof se)throw A;uA("Unable to read optional content config: ".concat(A))}return EA(this,"optionalContentConfig",A)}},{key:"setActualNumPages",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._actualNumPages=A}},{key:"hasActualNumPages",get:function(){return null!==this._actualNumPages}},{key:"_pagesCount",get:function(){var A=this.toplevelPagesDict.get("Count");if(!Number.isInteger(A))throw new vA("Page count in top-level pages dictionary is not an integer.");return EA(this,"_pagesCount",A)}},{key:"numPages",get:function(){return this.hasActualNumPages?this._actualNumPages:this._pagesCount}},{key:"destinations",get:function(){var A=this._readDests(),e=Object.create(null);if(A instanceof Zs){var t,a=m(A.getAll());try{for(a.s();!(t=a.n()).done;){var i=d(t.value,2),n=i[0],r=oc(i[1]);r&&(e[JA(n)]=r)}}catch(A){a.e(A)}finally{a.f()}}else A instanceof _A&&A.forEach((function(A,t){var a=oc(t);a&&(e[A]=a)}));return EA(this,"destinations",e)}},{key:"getDestination",value:function(A){var e=this._readDests();if(e instanceof Zs){var t=oc(e.get(A));if(t)return t;var a=this.destinations[A];if(a)return uA('Found "'.concat(A,'" at an incorrect position in the NameTree.')),a}else if(e instanceof _A){var i=oc(e.get(A));if(i)return i}return null}},{key:"_readDests",value:function(){var A=this._catDict.get("Names");return null!=A&&A.has("Dests")?new Zs(A.getRaw("Dests"),this.xref):this._catDict.has("Dests")?this._catDict.get("Dests"):void 0}},{key:"pageLabels",get:function(){var A=null;try{A=this._readPageLabels()}catch(A){if(A instanceof se)throw A;uA("Unable to read page labels.")}return EA(this,"pageLabels",A)}},{key:"_readPageLabels",value:function(){var A=this._catDict.getRaw("PageLabels");if(!A)return null;for(var e=new Array(this.numPages),t=null,a="",i=new Os(A,this.xref).getAll(),n="",r=1,g=0,o=this.numPages;g<o;g++){var s=i.get(g);if(void 0!==s){if(!(s instanceof _A))throw new vA("PageLabel is not a dictionary.");if(s.has("Type")&&!te(s.get("Type"),"PageLabel"))throw new vA("Invalid type in PageLabel dictionary.");if(s.has("S")){var I=s.get("S");if(!(I instanceof VA))throw new vA("Invalid style in PageLabel dictionary.");t=I.name}else t=null;if(s.has("P")){var c=s.get("P");if("string"!=typeof c)throw new vA("Invalid prefix in PageLabel dictionary.");a=JA(c)}else a="";if(s.has("St")){var l=s.get("St");if(!(Number.isInteger(l)&&l>=1))throw new vA("Invalid start in PageLabel dictionary.");r=l}else r=1}switch(t){case"D":n=r;break;case"R":case"r":n=Be(r,"r"===t);break;case"A":case"a":var h="a"===t?97:65,u=r-1;n=String.fromCharCode(h+u%26).repeat(Math.floor(u/26)+1);break;default:if(t)throw new vA('Invalid style "'.concat(t,'" in PageLabel dictionary.'));n=""}e[g]=a+n,r++}return e}},{key:"pageLayout",get:function(){var A=this._catDict.get("PageLayout"),e="";if(A instanceof VA)switch(A.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":e=A.name}return EA(this,"pageLayout",e)}},{key:"pageMode",get:function(){var A=this._catDict.get("PageMode"),e="UseNone";if(A instanceof VA)switch(A.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":e=A.name}return EA(this,"pageMode",e)}},{key:"viewerPreferences",get:function(){var A=this,e=this._catDict.get("ViewerPreferences");if(!(e instanceof _A))return EA(this,"viewerPreferences",null);var t,a=null,i=m(e.getKeys());try{for(i.s();!(t=i.n()).done;){var n=t.value,r=e.get(n),g=void 0;switch(n){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":"boolean"==typeof r&&(g=r);break;case"NonFullScreenPageMode":if(r instanceof VA)switch(r.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":g=r.name;break;default:g="UseNone"}break;case"Direction":if(r instanceof VA)switch(r.name){case"L2R":case"R2L":g=r.name;break;default:g="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(r instanceof VA)switch(r.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":g=r.name;break;default:g="CropBox"}break;case"PrintScaling":if(r instanceof VA)switch(r.name){case"None":case"AppDefault":g=r.name;break;default:g="AppDefault"}break;case"Duplex":if(r instanceof VA)switch(r.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":g=r.name;break;default:g="None"}break;case"PrintPageRange":Array.isArray(r)&&r.length%2==0&&r.every((function(e,t,a){return Number.isInteger(e)&&e>0&&(0===t||e>=a[t-1])&&e<=A.numPages}))&&(g=r);break;case"NumCopies":Number.isInteger(r)&&r>0&&(g=r);break;default:uA("Ignoring non-standard key in ViewerPreferences: ".concat(n,"."));continue}void 0!==g?(a||(a=Object.create(null)),a[n]=g):uA('Bad value, for key "'.concat(n,'", in ViewerPreferences: ').concat(r,"."))}}catch(A){i.e(A)}finally{i.f()}return EA(this,"viewerPreferences",a)}},{key:"openAction",get:function(){var e=this._catDict.get("OpenAction"),t=Object.create(null);if(e instanceof _A){var a=new _A(this.xref);a.set("A",e);var i={url:null,dest:null,action:null};A.parseDestDictionary({destDict:a,resultObj:i}),Array.isArray(i.dest)?t.dest=i.dest:i.action&&(t.action=i.action)}else Array.isArray(e)&&(t.dest=e);return EA(this,"openAction",SA(t)>0?t:null)}},{key:"attachments",get:function(){var A=this._catDict.get("Names"),e=null;if(A instanceof _A&&A.has("EmbeddedFiles")){var t,a=m(new Zs(A.getRaw("EmbeddedFiles"),this.xref).getAll());try{for(a.s();!(t=a.n()).done;){var i=d(t.value,2),n=i[0],r=i[1],g=new zs(r,this.xref);e||(e=Object.create(null)),e[JA(n)]=g.serializable}}catch(A){a.e(A)}finally{a.f()}}return EA(this,"attachments",e)}},{key:"xfaImages",get:function(){var A=this._catDict.get("Names"),e=null;if(A instanceof _A&&A.has("XFAImages")){var t,a=m(new Zs(A.getRaw("XFAImages"),this.xref).getAll());try{for(a.s();!(t=a.n()).done;){var i=d(t.value,2),n=i[0],r=i[1];e||(e=new _A(this.xref)),e.set(JA(n),r)}}catch(A){a.e(A)}finally{a.f()}}return EA(this,"xfaImages",e)}},{key:"_collectJavaScript",value:function(){var A=this._catDict.get("Names"),e=null;function t(A,t){if(t instanceof _A&&te(t.get("S"),"JavaScript")){var a=t.get("JS");if(a instanceof re)a=a.getString();else if("string"!=typeof a)return;(a=JA(a).replaceAll("\0",""))&&(e||(e=new Map)).set(A,a)}}if(A instanceof _A&&A.has("JavaScript")){var a,i=m(new Zs(A.getRaw("JavaScript"),this.xref).getAll());try{for(i.s();!(a=i.n()).done;){var n=d(a.value,2),r=n[0],g=n[1];t(JA(r),g)}}catch(A){i.e(A)}finally{i.f()}}var o=this._catDict.get("OpenAction");return o&&t("OpenAction",o),e}},{key:"jsActions",get:function(){var A=this._collectJavaScript(),e=Se(this.xref,this._catDict,j);if(A){e||(e=Object.create(null));var t,a=m(A);try{for(a.s();!(t=a.n()).done;){var i=d(t.value,2),n=i[0],r=i[1];n in e?e[n].push(r):e[n]=[r]}}catch(A){a.e(A)}finally{a.f()}}return EA(this,"jsActions",e)}},{key:"fontFallback",value:(i=E(B().mark((function A(e,t){var a,i,n,r;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,Promise.all(this.fontCache);case 2:a=A.sent,i=m(a),A.prev=4,i.s();case 6:if((n=i.n()).done){A.next=13;break}if((r=n.value).loadedName!==e){A.next=11;break}return r.fallback(t),A.abrupt("return");case 11:A.next=6;break;case 13:A.next=18;break;case 15:A.prev=15,A.t0=A.catch(4),i.e(A.t0);case 18:return A.prev=18,i.f(),A.finish(18);case 21:case"end":return A.stop()}}),A,this,[[4,15,18,21]])}))),function(A,e){return i.apply(this,arguments)})},{key:"cleanup",value:(a=E(B().mark((function A(){var e,t,a,i,n=arguments;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return e=n.length>0&&void 0!==n[0]&&n[0],Xs(),this.globalImageCache.clear(e),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.nonBlendModesSet.clear(),A.next=8,Promise.all(this.fontCache);case 8:t=A.sent,a=m(t);try{for(a.s();!(i=a.n()).done;)delete i.value.dict.cacheKey}catch(A){a.e(A)}finally{a.f()}this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear(),this.systemFontCache.clear();case 15:case"end":return A.stop()}}),A,this)}))),function(){return a.apply(this,arguments)})},{key:"getPageDict",value:(t=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:t=[this.toplevelPagesDict],a=new Ae,(i=this._catDict.getRaw("Pages"))instanceof $A&&a.put(i),n=this.xref,r=this.pageKidsCountCache,g=this.pageIndexCache,o=0;case 6:if(!t.length){A.next=67;break}if(!((s=t.pop())instanceof $A)){A.next=34;break}if(!((I=r.get(s))>=0&&o+I<=e)){A.next=13;break}return o+=I,A.abrupt("continue",6);case 13:if(!a.has(s)){A.next=15;break}throw new vA("Pages tree contains circular reference.");case 15:return a.put(s),A.next=18,n.fetchAsync(s);case 18:if(!((c=A.sent)instanceof _A)){A.next=32;break}if(!((l=c.getRaw("Type"))instanceof $A)){A.next=25;break}return A.next=24,n.fetchAsync(l);case 24:l=A.sent;case 25:if(!te(l,"Page")&&c.has("Kids")){A.next=32;break}if(r.has(s)||r.put(s,1),g.has(s)||g.put(s,o),o!==e){A.next=30;break}return A.abrupt("return",[c,s]);case 30:return o++,A.abrupt("continue",6);case 32:return t.push(c),A.abrupt("continue",6);case 34:if(s instanceof _A){A.next=36;break}throw new vA("Page dictionary kid reference points to wrong type of object.");case 36:if(h=s.objId,!((u=s.getRaw("Count"))instanceof $A)){A.next=42;break}return A.next=41,n.fetchAsync(u);case 41:u=A.sent;case 42:if(!(Number.isInteger(u)&&u>=0)){A.next=47;break}if(h&&!r.has(h)&&r.put(h,u),!(o+u<=e)){A.next=47;break}return o+=u,A.abrupt("continue",6);case 47:if(!((C=s.getRaw("Kids"))instanceof $A)){A.next=52;break}return A.next=51,n.fetchAsync(C);case 51:C=A.sent;case 52:if(Array.isArray(C)){A.next=64;break}if(!((Q=s.getRaw("Type"))instanceof $A)){A.next=58;break}return A.next=57,n.fetchAsync(Q);case 57:Q=A.sent;case 58:if(!te(Q,"Page")&&s.has("Kids")){A.next=63;break}if(o!==e){A.next=61;break}return A.abrupt("return",[s,null]);case 61:return o++,A.abrupt("continue",6);case 63:throw new vA("Page dictionary kids object is not an array.");case 64:for(E=C.length-1;E>=0;E--)t.push(C[E]);A.next=6;break;case 67:throw new Error("Page index ".concat(e," not found."));case 68:case"end":return A.stop()}}),A,this)}))),function(A){return t.apply(this,arguments)})},{key:"getAllPageDicts",value:(e=E(B().mark((function A(){var e,t,a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d=arguments;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:c=function(A){if(A instanceof ce&&!e)throw A;e&&t&&0===s&&(uA('getAllPageDicts - Skipping invalid first page: "'.concat(A,'".')),A=_A.empty),r.set(s++,[A,null])},I=function(A,e){e&&!o.has(e)&&o.put(e,s),r.set(s++,[A,e])},e=d.length>0&&void 0!==d[0]&&d[0],t=this.pdfManager.evaluatorOptions.ignoreErrors,a=[{currentNode:this.toplevelPagesDict,posInKids:0}],i=new Ae,(n=this._catDict.getRaw("Pages"))instanceof $A&&i.put(n),r=new Map,g=this.xref,o=this.pageIndexCache,s=0;case 10:if(!(a.length>0)){A.next=70;break}if(l=a.at(-1),h=l.currentNode,u=l.posInKids,!((C=h.getRaw("Kids"))instanceof $A)){A.next=25;break}return A.prev=15,A.next=18,g.fetchAsync(C);case 18:C=A.sent,A.next=25;break;case 21:return A.prev=21,A.t0=A.catch(15),c(A.t0),A.abrupt("break",70);case 25:if(Array.isArray(C)){A.next=28;break}return c(new vA("Page dictionary kids object is not an array.")),A.abrupt("break",70);case 28:if(!(u>=C.length)){A.next=31;break}return a.pop(),A.abrupt("continue",10);case 31:if(Q=C[u],E=void 0,!(Q instanceof $A)){A.next=50;break}if(!i.has(Q)){A.next=37;break}return c(new vA("Pages tree contains circular reference.")),A.abrupt("break",70);case 37:return i.put(Q),A.prev=38,A.next=41,g.fetchAsync(Q);case 41:E=A.sent,A.next=48;break;case 44:return A.prev=44,A.t1=A.catch(38),c(A.t1),A.abrupt("break",70);case 48:A.next=51;break;case 50:E=Q;case 51:if(E instanceof _A){A.next=54;break}return c(new vA("Page dictionary kid reference points to wrong type of object.")),A.abrupt("break",70);case 54:if(!((f=E.getRaw("Type"))instanceof $A)){A.next=66;break}return A.prev=56,A.next=59,g.fetchAsync(f);case 59:f=A.sent,A.next=66;break;case 62:return A.prev=62,A.t2=A.catch(56),c(A.t2),A.abrupt("break",70);case 66:te(f,"Page")||!E.has("Kids")?I(E,Q instanceof $A?Q:null):a.push({currentNode:E,posInKids:0}),l.posInKids++,A.next=10;break;case 70:return A.abrupt("return",r);case 71:case"end":return A.stop()}}),A,this,[[15,21],[38,44],[56,62]])}))),function(){return e.apply(this,arguments)})},{key:"getPageIndex",value:function(A){var e=this,t=this.pageIndexCache.get(A);if(void 0!==t)return Promise.resolve(t);var a=this.xref,i=0;return function t(n){return function(e){var t,i=0;return a.fetchAsync(e).then((function(a){if(ne(e,A)&&!ie(a,"Page")&&!(a instanceof _A&&!a.has("Type")&&a.has("Contents")))throw new vA("The reference does not point to a /Page dictionary.");if(!a)return null;if(!(a instanceof _A))throw new vA("Node must be a dictionary.");return t=a.getRaw("Parent"),a.getAsync("Parent")})).then((function(A){if(!A)return null;if(!(A instanceof _A))throw new vA("Parent must be a dictionary.");return A.getAsync("Kids")})).then((function(A){if(!A)return null;var n,r=[],g=!1,o=m(A);try{for(o.s();!(n=o.n()).done;){var s=n.value;if(!(s instanceof $A))throw new vA("Kid must be a reference.");if(ne(s,e)){g=!0;break}r.push(a.fetchAsync(s).then((function(A){if(!(A instanceof _A))throw new vA("Kid node must be a dictionary.");A.has("Count")?i+=A.get("Count"):i++})))}}catch(A){o.e(A)}finally{o.f()}if(!g)throw new vA("Kid reference not found in parent's kids.");return Promise.all(r).then((function(){return[i,t]}))}))}(n).then((function(a){if(!a)return e.pageIndexCache.put(A,i),i;var n=d(a,2),r=n[0],g=n[1];return i+=r,t(g)}))}(A)}},{key:"baseUrl",get:function(){var A=this._catDict.get("URI");if(A instanceof _A){var e=A.get("Base");if("string"==typeof e){var t=QA(e,null,{tryConvertEncoding:!0});if(t)return EA(this,"baseUrl",t.href)}}return EA(this,"baseUrl",this.pdfManager.docBaseUrl)}}],[{key:"parseDestDictionary",value:function(A){var e=A.destDict,t=A.resultObj,a=A.docBaseUrl,i=void 0===a?null:a,n=A.docAttachments,r=void 0===n?null:n;if(e instanceof _A){var g,o,s=e.get("A");if(s instanceof _A||(e.has("Dest")?s=e.get("Dest"):(s=e.get("AA"))instanceof _A&&(s.has("D")?s=s.get("D"):s.has("U")&&(s=s.get("U")))),s instanceof _A){var I=s.get("S");if(!(I instanceof VA))return void uA("parseDestDictionary: Invalid type in Action dictionary.");var c=I.name;switch(c){case"ResetForm":var l,h=s.get("Flags"),u=!(1&("number"==typeof h?h:0)),C=[],B=[],Q=m(s.get("Fields")||[]);try{for(Q.s();!(l=Q.n()).done;){var E=l.value;E instanceof $A?B.push(E.toString()):"string"==typeof E&&C.push(JA(E))}}catch(A){Q.e(A)}finally{Q.f()}t.resetForm={fields:C,refs:B,include:u};break;case"URI":(g=s.get("URI"))instanceof VA&&(g="/"+g.name);break;case"GoTo":o=s.get("D");break;case"Launch":case"GoToR":var f=s.get("F");f instanceof _A?g=new zs(f,null,!0).serializable.rawFilename:"string"==typeof f&&(g=f);var d=sc(s);d&&"string"==typeof g&&(g=g.split("#",1)[0]+"#"+d);var y=s.get("NewWindow");"boolean"==typeof y&&(t.newWindow=y);break;case"GoToE":var p,k=s.get("T");if(r&&k instanceof _A){var v=k.get("R"),w=k.get("N");te(v,"C")&&"string"==typeof w&&(p=r[JA(w)])}if(p){t.attachment=p;var b=sc(s);b&&(t.attachmentDest=b)}else uA('parseDestDictionary - unimplemented "GoToE" action.');break;case"Named":var D=s.get("N");D instanceof VA&&(t.action=D.name);break;case"SetOCGState":var F=s.get("State"),S=s.get("PreserveRB");if(!Array.isArray(F)||0===F.length)break;var R,N=[],G=m(F);try{for(G.s();!(R=G.n()).done;){var x=R.value;if(x instanceof VA)switch(x.name){case"ON":case"OFF":case"Toggle":N.push(x.name)}else x instanceof $A&&N.push(x.toString())}}catch(A){G.e(A)}finally{G.f()}if(N.length!==F.length)break;t.setOCGState={state:N,preserveRB:"boolean"!=typeof S||S};break;case"JavaScript":var U,M=s.get("JS");M instanceof re?U=M.getString():"string"==typeof M&&(U=M);var J=U&&Me(JA(U));if(J){g=J.url,t.newWindow=J.newWindow;break}default:if("JavaScript"===c||"SubmitForm"===c)break;uA('parseDestDictionary - unsupported action: "'.concat(c,'".'))}}else e.has("Dest")&&(o=e.get("Dest"));if("string"==typeof g){var L=QA(g,i,{addDefaultProtocol:!0,tryConvertEncoding:!0});L&&(t.url=L.href),t.unsafeUrl=g}o&&(o instanceof VA&&(o=o.name),"string"==typeof o?t.dest=JA(o):gc(o)&&(t.dest=o))}else uA("parseDestDictionary: `destDict` must be a dictionary.")}}]);var e,t,a,i}();function lc(A){var e=this.xref.fetch(A),t={id:A.toString(),name:null,intent:null,usage:{print:null,view:null}},a=e.get("Name");"string"==typeof a&&(t.name=JA(a));var i=e.getArray("Intent");Array.isArray(i)||(i=[i]),i.every((function(A){return A instanceof VA}))&&(t.intent=i.map((function(A){return A.name})));var n=e.get("Usage");if(!(n instanceof _A))return t;var r=t.usage,g=n.get("Print");if(g instanceof _A){var o=g.get("PrintState");if(o instanceof VA)switch(o.name){case"ON":case"OFF":r.print={printState:o.name}}}var s=n.get("View");if(s instanceof _A){var I=s.get("ViewState");if(I instanceof VA)switch(I.name){case"ON":case"OFF":r.view={viewState:I.name}}}return t}function hc(A,e){function t(A){var t=[];if(Array.isArray(A)){var a,i=m(A);try{for(i.s();!(a=i.n()).done;){var n=a.value;n instanceof $A&&e.has(n)&&t.push(n.toString())}}catch(A){i.e(A)}finally{i.f()}}return t}function a(A){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Array.isArray(A))return null;var a,n=[],g=m(A);try{for(g.s();!(a=g.n()).done;){var o=a.value;if(o instanceof $A&&e.has(o))r.put(o),n.push(o.toString());else{var s=i(o,t);s&&n.push(s)}}}catch(A){g.e(A)}finally{g.f()}if(t>0)return n;var I,c=[],l=m(e);try{for(l.s();!(I=l.n()).done;){var h=I.value;r.has(h)||c.push(h.toString())}}catch(A){l.e(A)}finally{l.f()}return c.length&&n.push({name:null,order:c}),n}function i(A,e){if(++e>g)return uA("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;var t=n.fetchIfRef(A);if(!Array.isArray(t))return null;var i=n.fetchIfRef(t[0]);if("string"!=typeof i)return null;var r=a(t.slice(1),e);return r&&r.length?{name:JA(i),order:r}:null}var n=this.xref,r=new Ae,g=10;return{name:"string"==typeof A.get("Name")?JA(A.get("Name")):null,creator:"string"==typeof A.get("Creator")?JA(A.get("Creator")):null,baseState:A.get("BaseState")instanceof VA?A.get("BaseState").name:null,on:t(A.get("ON")),off:t(A.get("OFF")),order:a(A.get("Order")),groups:null}}function uc(A,e){if(A instanceof _A)A=A.getRawValues();else if(A instanceof re)A=A.dict.getRawValues();else if(!Array.isArray(A))return;var t,a,i=m(A);try{for(i.s();!(t=i.n()).done;){var n=t.value;((a=n)instanceof $A||a instanceof _A||a instanceof re||Array.isArray(a))&&e.push(n)}}catch(A){i.e(A)}finally{i.f()}}var Cc=function(){return b((function A(e,t,a){F(this,A),this.dict=e,this.keys=t,this.xref=a,this.refSet=null}),[{key:"load",value:(e=E(B().mark((function A(){var e,t,a,i,n,r,g;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!this.xref.stream.isDataLoaded){A.next=2;break}return A.abrupt("return",void 0);case 2:e=this.keys,t=this.dict,this.refSet=new Ae,a=[],i=m(e);try{for(i.s();!(n=i.n()).done;)r=n.value,void 0!==(g=t.getRaw(r))&&a.push(g)}catch(A){i.e(A)}finally{i.f()}return A.abrupt("return",this._walk(a));case 8:case"end":return A.stop()}}),A,this)}))),function(){return e.apply(this,arguments)})},{key:"_walk",value:(A=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I,c,l,h;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:t=[],a=[];case 2:if(!e.length){A.next=48;break}if(!((i=e.pop())instanceof $A)){A.next=21;break}if(!this.refSet.has(i)){A.next=7;break}return A.abrupt("continue",2);case 7:A.prev=7,this.refSet.put(i),i=this.xref.fetch(i),A.next=21;break;case 12:if(A.prev=12,A.t0=A.catch(7),A.t0 instanceof se){A.next=19;break}return uA('ObjectLoader._walk - requesting all data: "'.concat(A.t0,'".')),this.refSet=null,n=this.xref.stream.manager,A.abrupt("return",n.requestAllChunks());case 19:t.push(i),a.push({begin:A.t0.begin,end:A.t0.end});case 21:if(!(i instanceof re)){A.next=45;break}if(!(r=i.getBaseStreams())){A.next=45;break}g=!1,o=m(r),A.prev=26,o.s();case 28:if((s=o.n()).done){A.next=36;break}if(!(I=s.value).isDataLoaded){A.next=32;break}return A.abrupt("continue",34);case 32:g=!0,a.push({begin:I.start,end:I.end});case 34:A.next=28;break;case 36:A.next=41;break;case 38:A.prev=38,A.t1=A.catch(26),o.e(A.t1);case 41:return A.prev=41,o.f(),A.finish(41);case 44:g&&t.push(i);case 45:uc(i,e),A.next=2;break;case 48:if(!a.length){A.next=54;break}return A.next=51,this.xref.stream.manager.requestRanges(a);case 51:c=m(t);try{for(c.s();!(l=c.n()).done;)(h=l.value)instanceof $A&&this.refSet.remove(h)}catch(A){c.e(A)}finally{c.f()}return A.abrupt("return",this._walk(t));case 54:return this.refSet=null,A.abrupt("return",void 0);case 56:case"end":return A.stop()}}),A,this,[[7,12],[26,38,41,44]])}))),function(e){return A.apply(this,arguments)})}]);var A,e}(),Bc=Symbol(),Qc=Symbol(),Ec=Symbol(),fc=Symbol(),dc=Symbol(),yc=Symbol(),pc=Symbol(),mc=Symbol(),kc=Symbol(),vc=Symbol("content"),wc=Symbol("data"),bc=Symbol(),Dc=Symbol("extra"),Fc=Symbol(),Sc=Symbol(),Rc=Symbol(),Nc=Symbol(),Gc=Symbol(),xc=Symbol(),Uc=Symbol(),Mc=Symbol(),Jc=Symbol(),Lc=Symbol(),Hc=Symbol(),Yc=Symbol(),Kc=Symbol(),qc=Symbol(),Tc=Symbol(),Pc=Symbol(),Wc=Symbol(),Zc=Symbol(),Oc=Symbol(),Xc=Symbol(),Vc=Symbol(),jc=Symbol(),zc=Symbol(),_c=Symbol(),$c=Symbol(),Al=Symbol(),el=Symbol(),tl=Symbol(),al=Symbol(),il=Symbol(),nl=Symbol(),rl=Symbol(),gl=Symbol("namespaceId"),ol=Symbol("nodeName"),sl=Symbol(),Il=Symbol(),cl=Symbol(),ll=Symbol(),hl=Symbol(),ul=Symbol(),Cl=Symbol(),Bl=Symbol(),Ql=Symbol("root"),El=Symbol(),fl=Symbol(),dl=Symbol(),yl=Symbol(),pl=Symbol(),ml=Symbol(),kl=Symbol(),vl=Symbol(),wl=Symbol(),bl=Symbol(),Dl=Symbol(),Fl=Symbol("uid"),Sl=Symbol(),Rl={config:{id:0,check:function(A){return A.startsWith("http://www.xfa.org/schema/xci/")}},connectionSet:{id:1,check:function(A){return A.startsWith("http://www.xfa.org/schema/xfa-connection-set/")}},datasets:{id:2,check:function(A){return A.startsWith("http://www.xfa.org/schema/xfa-data/")}},form:{id:3,check:function(A){return A.startsWith("http://www.xfa.org/schema/xfa-form/")}},localeSet:{id:4,check:function(A){return A.startsWith("http://www.xfa.org/schema/xfa-locale-set/")}},pdf:{id:5,check:function(A){return"http://ns.adobe.com/xdp/pdf/"===A}},signature:{id:6,check:function(A){return"http://www.w3.org/2000/09/xmldsig#"===A}},sourceSet:{id:7,check:function(A){return A.startsWith("http://www.xfa.org/schema/xfa-source-set/")}},stylesheet:{id:8,check:function(A){return"http://www.w3.org/1999/XSL/Transform"===A}},template:{id:9,check:function(A){return A.startsWith("http://www.xfa.org/schema/xfa-template/")}},xdc:{id:10,check:function(A){return A.startsWith("http://www.xfa.org/schema/xdc/")}},xdp:{id:11,check:function(A){return"http://ns.adobe.com/xdp/"===A}},xfdf:{id:12,check:function(A){return"http://ns.adobe.com/xfdf/"===A}},xhtml:{id:13,check:function(A){return"http://www.w3.org/1999/xhtml"===A}},xmpmeta:{id:14,check:function(A){return"http://ns.adobe.com/xmpmeta/"===A}}},Nl={pt:function(A){return A},cm:function(A){return A/2.54*72},mm:function(A){return A/25.4*72},in:function(A){return 72*A},px:function(A){return A}},Gl=/([+-]?\d+\.?\d*)(.*)/;function xl(A){return A.startsWith("'")||A.startsWith('"')?A.slice(1,-1):A}function Ul(A){var e=A.data,t=A.defaultValue,a=A.validate;if(!e)return t;e=e.trim();var i=parseInt(e,10);return!isNaN(i)&&a(i)?i:t}function Ml(A){var e=A.data,t=A.defaultValue,a=A.validate;if(!e)return t;e=e.trim();var i=parseFloat(e);return!isNaN(i)&&a(i)?i:t}function Jl(A){var e=A.data,t=A.defaultValue,a=A.validate;return e&&a(e=e.trim())?e:t}function Ll(A,e){return Jl({data:A,defaultValue:e[0],validate:function(A){return e.includes(A)}})}function Hl(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(e||(e="0"),!A)return Hl(e);var t=A.trim().match(Gl);if(!t)return Hl(e);var a=d(t,3),i=a[1],n=a[2],r=parseFloat(i);if(isNaN(r))return Hl(e);if(0===r)return 0;var g=Nl[n];return g?g(r):r}function Yl(A){if(!A)return{num:1,den:1};var e=A.trim().split(/\s*:\s*/).map((function(A){return parseFloat(A)})).filter((function(A){return!isNaN(A)}));if(1===e.length&&e.push(1),0===e.length)return{num:1,den:1};var t=d(e,2);return{num:t[0],den:t[1]}}function Kl(A){return A?A.trim().split(/\s+/).map((function(A){return{excluded:"-"===A[0],viewname:A.substring(1)}})):[]}var ql=function(){function A(e,t,a,i){F(this,A),this.success=e,this.html=t,this.bbox=a,this.breakNode=i}return b(A,[{key:"isBreak",value:function(){return!!this.breakNode}}],[{key:"FAILURE",get:function(){return EA(this,"FAILURE",new A(!1,null,null,null))}},{key:"EMPTY",get:function(){return EA(this,"EMPTY",new A(!0,null,null,null))}},{key:"breakNode",value:function(e){return new A(!1,null,null,e)}},{key:"success",value:function(e){return new A(!0,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,null)}}])}(),Tl=function(){return b((function A(e){F(this,A),this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(e)}),[{key:"add",value:function(A){var e,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=m(A);try{for(a.s();!(e=a.n()).done;){var i=e.value;this.addPdfFont(i)}}catch(A){a.e(A)}finally{a.f()}var n,r=m(this.fonts.values());try{for(r.s();!(n=r.n()).done;){var g=n.value;g.regular||(g.regular=g.italic||g.bold||g.bolditalic)}}catch(A){r.e(A)}finally{r.f()}if(t&&0!==t.size){var o,s=this.fonts.get("PdfJS-Fallback-PdfJS-XFA"),I=m(t);try{for(I.s();!(o=I.n()).done;){var c=o.value;this.fonts.set(c,s)}}catch(A){I.e(A)}finally{I.f()}}}},{key:"addPdfFont",value:function(A){var e=A.cssFontInfo,t=e.fontFamily,a=this.fonts.get(t);a||(a=Object.create(null),this.fonts.set(t,a),this.defaultFont||(this.defaultFont=a));var i,n,r,g="",o=parseFloat(e.fontWeight);0!==parseFloat(e.italicAngle)?g=o>=700?"bolditalic":"italic":o>=700&&(g="bold"),g||((A.name.includes("Bold")||null!==(i=A.psName)&&void 0!==i&&i.includes("Bold"))&&(g="bold"),(A.name.includes("Italic")||A.name.endsWith("It")||null!==(n=A.psName)&&void 0!==n&&n.includes("Italic")||null!==(r=A.psName)&&void 0!==r&&r.endsWith("It"))&&(g+="italic")),g||(g="regular"),a[g]=A}},{key:"getDefault",value:function(){return this.defaultFont}},{key:"find",value:function(A){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=this.fonts.get(A)||this.cache.get(A);if(t)return t;var a=/,|-|_| |bolditalic|bold|italic|regular|it/gi,i=A.replaceAll(a,"");if(t=this.fonts.get(i))return this.cache.set(A,t),t;i=i.toLowerCase();var n,r=[],g=m(this.fonts.entries());try{for(g.s();!(n=g.n()).done;){var o=d(n.value,2),s=o[0],I=o[1];s.replaceAll(a,"").toLowerCase().startsWith(i)&&r.push(I)}}catch(A){g.e(A)}finally{g.f()}if(0===r.length){var c,l=m(this.fonts.entries());try{for(l.s();!(c=l.n()).done;){var h,u=d(c.value,2)[1];null!==(h=u.regular.name)&&void 0!==h&&h.replaceAll(a,"").toLowerCase().startsWith(i)&&r.push(u)}}catch(A){l.e(A)}finally{l.f()}}if(0===r.length){i=i.replaceAll(/psmt|mt/gi,"");var C,B=m(this.fonts.entries());try{for(B.s();!(C=B.n()).done;){var Q=d(C.value,2),E=Q[0],f=Q[1];E.replaceAll(a,"").toLowerCase().startsWith(i)&&r.push(f)}}catch(A){B.e(A)}finally{B.f()}}if(0===r.length){var y,p=m(this.fonts.values());try{for(p.s();!(y=p.n()).done;){var k,v=y.value;null!==(k=v.regular.name)&&void 0!==k&&k.replaceAll(a,"").toLowerCase().startsWith(i)&&r.push(v)}}catch(A){p.e(A)}finally{p.f()}}return r.length>=1?(1!==r.length&&e&&uA("XFA - Too many choices to guess the correct font: ".concat(A)),this.cache.set(A,r[0]),r[0]):(e&&!this.warned.has(A)&&(this.warned.add(A),uA("XFA - Cannot find the font: ".concat(A))),null)}}])}();function Pl(A,e){return"italic"===A.posture?"bold"===A.weight?e.bolditalic:e.italic:"bold"===A.weight?e.bold:e.regular}var Wl=function(){return b((function A(e,t,a,i){if(F(this,A),this.lineHeight=a,this.paraMargin=t||{top:0,bottom:0,left:0,right:0},!e){var n=d(this.defaultFont(i),2);return this.pdfFont=n[0],void(this.xfaFont=n[1])}this.xfaFont={typeface:e.typeface,posture:e.posture,weight:e.weight,size:e.size,letterSpacing:e.letterSpacing};var r=i.find(e.typeface);if(!r){var g=d(this.defaultFont(i),2);return this.pdfFont=g[0],void(this.xfaFont=g[1])}if(this.pdfFont=Pl(e,r),!this.pdfFont){var o=d(this.defaultFont(i),2);this.pdfFont=o[0],this.xfaFont=o[1]}}),[{key:"defaultFont",value:function(A){var e=A.find("Helvetica",!1)||A.find("Myriad Pro",!1)||A.find("Arial",!1)||A.getDefault();if(null!=e&&e.regular){var t=e.regular;return[t,{typeface:t.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0}]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}])}(),Zl=function(){return b((function A(e,t,a,i){F(this,A),this.fontFinder=i,this.stack=[new Wl(e,t,a,i)]}),[{key:"pushData",value:function(A,e,t){for(var a=this.stack.at(-1),i=0,n=["typeface","posture","weight","size","letterSpacing"];i<n.length;i++){var r=n[i];A[r]||(A[r]=a.xfaFont[r])}for(var g=0,o=["top","bottom","left","right"];g<o.length;g++){var s=o[g];isNaN(e[s])&&(e[s]=a.paraMargin[s])}var I=new Wl(A,e,t||a.lineHeight,this.fontFinder);I.pdfFont||(I.pdfFont=a.pdfFont),this.stack.push(I)}},{key:"popFont",value:function(){this.stack.pop()}},{key:"topFont",value:function(){return this.stack.at(-1)}}])}(),Ol=function(){return b((function A(e,t,a,i){F(this,A),this.glyphs=[],this.fontSelector=new Zl(e,t,a,i),this.extraHeight=0}),[{key:"pushData",value:function(A,e,t){this.fontSelector.pushData(A,e,t)}},{key:"popFont",value:function(A){return this.fontSelector.popFont()}},{key:"addPara",value:function(){var A=this.fontSelector.topFont();this.extraHeight+=A.paraMargin.top+A.paraMargin.bottom}},{key:"addString",value:function(A){if(A){var e=this.fontSelector.topFont(),t=e.xfaFont.size;if(e.pdfFont){var a,i=e.xfaFont.letterSpacing,n=e.pdfFont,r=n.lineHeight||1.2,g=e.lineHeight||Math.max(1.2,r)*t,o=r-(void 0===n.lineGap?.2:n.lineGap),s=Math.max(1,o)*t,I=t/1e3,c=n.defaultWidth||n.charsToGlyphs(" ")[0].width,l=m(A.split(/[\u2029\n]/));try{for(l.s();!(a=l.n()).done;){var h,u=a.value,C=n.encodeString(u).join(""),B=m(n.charsToGlyphs(C));try{for(B.s();!(h=B.n()).done;){var Q=h.value,E=Q.width||c;this.glyphs.push([E*I+i,g,s,Q.unicode,!1])}}catch(A){B.e(A)}finally{B.f()}this.glyphs.push([0,0,0,"\n",!0])}}catch(A){l.e(A)}finally{l.f()}this.glyphs.pop()}else{var f,d=m(A.split(/[\u2029\n]/));try{for(d.s();!(f=d.n()).done;){var y,p=m(f.value.split(""));try{for(p.s();!(y=p.n()).done;){var k=y.value;this.glyphs.push([t,1.2*t,t,k,!1])}}catch(A){p.e(A)}finally{p.f()}this.glyphs.push([0,0,0,"\n",!0])}}catch(A){d.e(A)}finally{d.f()}this.glyphs.pop()}}}},{key:"compute",value:function(A){for(var e=-1,t=0,a=0,i=0,n=0,r=0,g=!1,o=!0,s=0,I=this.glyphs.length;s<I;s++){var c=d(this.glyphs[s],5),l=c[0],h=c[1],u=c[2],C=" "===c[3],B=o?u:h;c[4]?(a=Math.max(a,n),n=0,i+=r,r=B,e=-1,t=0,o=!1):C?n+l>A?(a=Math.max(a,n),n=0,i+=r,r=B,e=-1,t=0,g=!0,o=!1):(r=Math.max(B,r),t=n,n+=l,e=s):n+l>A?(i+=r,r=B,-1!==e?(s=e,a=Math.max(a,t),n=0,e=-1,t=0):(a=Math.max(a,n),n=l),g=!0,o=!1):(n+=l,r=Math.max(B,r))}return{width:1.02*(a=Math.max(a,n)),height:i+=r+this.extraHeight,isBroken:g}}}])}(),Xl=/^[^.[]+/,Vl=/^[^\]]+/,jl={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},zl=new Map([["$data",function(A,e){return A.datasets?A.datasets.data:A}],["$record",function(A,e){return(A.datasets?A.datasets.data:A)[Yc]()[0]}],["$template",function(A,e){return A.template}],["$connectionSet",function(A,e){return A.connectionSet}],["$form",function(A,e){return A.form}],["$layout",function(A,e){return A.layout}],["$host",function(A,e){return A.host}],["$dataWindow",function(A,e){return A.dataWindow}],["$event",function(A,e){return A.event}],["!",function(A,e){return A.datasets}],["$xfa",function(A,e){return A}],["xfa",function(A,e){return A}],["$",function(A,e){return e}]]),_l=new WeakMap;function $l(A,e){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=A.match(Xl);if(!a)return null;for(var i,n=d(a,1)[0],r=[{name:n,cacheName:"."+n,index:0,js:null,formCalc:null,operator:jl.dot}],g=n.length;g<A.length;){var o=g;if("["!==A.charAt(g++)){var s=void 0;switch(A.charAt(g)){case".":if(!e)return null;g++,s=jl.dotDot;break;case"#":g++,s=jl.dotHash;break;case"[":if(t)return uA("XFA - SOM expression contains a FormCalc subexpression which is not supported for now."),null;s=jl.dotBracket;break;case"(":if(t)return uA("XFA - SOM expression contains a JavaScript subexpression which is not supported for now."),null;s=jl.dotParen;break;default:s=jl.dot}if(!(a=A.slice(g).match(Xl)))break;g+=(n=d(a,1)[0]).length,r.push({name:n,cacheName:A.slice(o,g),operator:s,index:0,js:null,formCalc:null})}else{if(!(a=A.slice(g).match(Vl)))return uA("XFA - Invalid index in SOM expression"),null;r.at(-1).index="*"===(i=(i=a[0]).trim())?1/0:parseInt(i,10)||0,g+=a[0].length+1}}return r}function Ah(A,e,t){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=$l(t,!(arguments.length>3&&void 0!==arguments[3])||arguments[3]);if(!i)return null;var n,r=zl.get(i[0].name),g=0;r?(n=!0,A=[r(A,e)],g=1):(n=null===e,A=[e||A]);for(var o,s=function(){var t,r=i[g],o=r.name,s=r.cacheName,I=r.operator,c=r.index,l=[],h=m(A);try{for(h.s();!(t=h.n()).done;){var u=t.value;if(u.isXFAObject){var C=void 0,B=void 0;if(a&&((B=_l.get(u))||(B=new Map,_l.set(u,B)),C=B.get(s)),!C){switch(I){case jl.dot:C=u[Uc](o,!1);break;case jl.dotDot:C=u[Uc](o,!0);break;case jl.dotHash:C=(C=u[xc](o)).isXFAObjectArray?C.children:[C]}a&&B.set(s,C)}C.length>0&&l.push(C)}}}catch(A){h.e(A)}finally{h.f()}if(0===l.length&&!n&&0===g){var Q=e[Pc]();return(e=Q)?(g=-1,A=[e],0):{v:null}}A=isFinite(c)?l.filter((function(A){return c<A.length})).map((function(A){return A[c]})):l.flat()},I=i.length;g<I;g++)if(0!==(o=s())&&o)return o.v;return 0===A.length?null:A}function eh(A,e,t){var a=$l(t);if(!a)return null;if(a.some((function(A){return A.operator===jl.dotDot})))return null;var i=zl.get(a[0].name),n=0;i?(A=i(A,e),n=1):A=e||A;for(var r=a.length;n<r;n++){var g=a[n],o=g.name,s=g.operator,I=g.index;if(!isFinite(I))return a[n].index=0,A.createNodes(a.slice(n));var c=void 0;switch(s){case jl.dot:c=A[Uc](o,!1);break;case jl.dotDot:c=A[Uc](o,!0);break;case jl.dotHash:c=(c=A[xc](o)).isXFAObjectArray?c.children:[c]}if(0===c.length)return A.createNodes(a.slice(n));if(!(I<c.length))return a[n].index=I-c.length,A.createNodes(a.slice(n));var l=c[I];if(!l.isXFAObject)return uA("XFA - Cannot create a node."),null;A=l}return null}var th=Symbol(),ah=Symbol(),ih=Symbol(),nh=Symbol("_children"),rh=Symbol(),gh=Symbol(),oh=Symbol(),sh=Symbol(),Ih=Symbol(),ch=Symbol(),lh=Symbol(),hh=Symbol(),uh=Symbol(),Ch=Symbol("parent"),Bh=Symbol(),Qh=Symbol(),Eh=Symbol(),fh=0,dh=Rl.datasets.id,yh=function(){function A(e,t){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];F(this,A),this[gl]=e,this[ol]=t,this[lh]=a,this[Ch]=null,this[nh]=[],this[Fl]="".concat(t).concat(fh++),this[Zc]=null}return b(A,[{key:"isXFAObject",get:function(){return!0}},{key:"isXFAObjectArray",get:function(){return!1}},{key:"createNodes",value:function(A){var e,t=this,a=null,i=m(A);try{for(i.s();!(e=i.n()).done;){for(var n=e.value,r=n.name,g=n.index,o=0,s=isFinite(g)?g:0;o<=s;o++){var I=t[gl]===dh?-1:t[gl];a=new kh(I,r),t[Ec](a)}t=a}}catch(A){i.e(A)}finally{i.f()}return a}},{key:Il,value:function(A){if(!this[lh]||!this[cl](A))return!1;var e=A[ol],t=this[e];if(!(t instanceof ph))return null!==t&&this[Bl](t),this[e]=A,this[Ec](A),!0;if(t.push(A))return this[Ec](A),!0;var a="";return this.id?a=" (id: ".concat(this.id,")"):this.name&&(a=" (name: ".concat(this.name," ").concat(this.h.value,")")),uA('XFA - node "'.concat(this[ol],'"').concat(a,' has already enough "').concat(e,'"!')),!1}},{key:cl,value:function(A){return this.hasOwnProperty(A[ol])&&A[gl]===this[gl]}},{key:el,value:function(){return!1}},{key:Bc,value:function(){return!1}},{key:zc,value:function(){return!1}},{key:_c,value:function(){return!1}},{key:ul,value:function(){this.para&&this[Wc]()[Dc].paraStack.pop()}},{key:Cl,value:function(){this[Wc]()[Dc].paraStack.push(this.para)}},{key:dl,value:function(A){this.id&&this[gl]===Rl.template.id&&A.set(this.id,this)}},{key:Wc,value:function(){return this[Zc].template}},{key:tl,value:function(){return!1}},{key:al,value:function(){return!1}},{key:Ec,value:function(A){A[Ch]=this,this[nh].push(A),!A[Zc]&&this[Zc]&&(A[Zc]=this[Zc])}},{key:Bl,value:function(A){var e=this[nh].indexOf(A);this[nh].splice(e,1)}},{key:Oc,value:function(){return this.hasOwnProperty("value")}},{key:pl,value:function(A){}},{key:ll,value:function(A){}},{key:Fc,value:function(){}},{key:dc,value:function(A){delete this[lh],this[pc]&&(A.clean(this[pc]),delete this[pc])}},{key:Vc,value:function(A){return this[nh].indexOf(A)}},{key:jc,value:function(A,e){e[Ch]=this,this[nh].splice(A,0,e),!e[Zc]&&this[Zc]&&(e[Zc]=this[Zc])}},{key:il,value:function(){return!this.name}},{key:rl,value:function(){return""}},{key:kl,value:function(){return 0===this[nh].length?this[vc]:this[nh].map((function(A){return A[kl]()})).join("")}},{key:ih,get:function(){var e=Object.getPrototypeOf(this);if(!e._attributes){var t,a=e._attributes=new Set,i=m(Object.getOwnPropertyNames(this));try{for(i.s();!(t=i.n()).done;){var n=t.value;if(null===this[n]||this[n]instanceof A||this[n]instanceof ph)break;a.add(n)}}catch(A){i.e(A)}finally{i.f()}}return EA(this,ih,e._attributes)}},{key:Al,value:function(A){for(var e=this;e;){if(e===A)return!0;e=e[Pc]()}return!1}},{key:Pc,value:function(){return this[Ch]}},{key:Tc,value:function(){return this[Pc]()}},{key:Yc,value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return A?this[A]:this[nh]}},{key:bc,value:function(){var e=Object.create(null);this[vc]&&(e.$content=this[vc]);var t,a=m(Object.getOwnPropertyNames(this));try{for(a.s();!(t=a.n()).done;){var i=t.value,n=this[i];null!==n&&(n instanceof A?e[i]=n[bc]():n instanceof ph?n.isEmpty()||(e[i]=n.dump()):e[i]=n)}}catch(A){a.e(A)}finally{a.f()}return e}},{key:Dl,value:function(){return null}},{key:wl,value:function(){return ql.EMPTY}},{key:Kc,value:B().mark((function A(){var e,t,a;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:e=m(this[Yc]()),A.prev=1,e.s();case 3:if((t=e.n()).done){A.next=9;break}return a=t.value,A.next=7,a;case 7:A.next=3;break;case 9:A.next=14;break;case 11:A.prev=11,A.t0=A.catch(1),e.e(A.t0);case 14:return A.prev=14,e.f(),A.finish(14);case 17:case"end":return A.stop()}}),A,this,[[1,11,14,17]])}))},{key:sh,value:B().mark((function A(e,t){var a,i,n,r,g;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:a=m(this[Kc]()),A.prev=1,a.s();case 3:if((i=a.n()).done){A.next=13;break}if(n=i.value,e&&t!==e.has(n[ol])){A.next=11;break}return r=this[Gc](),(g=n[wl](r)).success||(this[Dc].failingNode=n),A.next=11,g;case 11:A.next=3;break;case 13:A.next=18;break;case 15:A.prev=15,A.t0=A.catch(1),a.e(A.t0);case 18:return A.prev=18,a.f(),A.finish(18);case 21:case"end":return A.stop()}}),A,this,[[1,15,18,21]])}))},{key:Sc,value:function(){return null}},{key:Qc,value:function(A,e){this[Dc].children.push(A)}},{key:Gc,value:function(){}},{key:fc,value:function(A){var e=A.filter,t=void 0===e?null:e,a=A.include,i=void 0===a||a;if(this[Dc].generator){var n=this[Gc](),r=this[Dc].failingNode[wl](n);if(!r.success)return r;r.html&&this[Qc](r.html,r.bbox),delete this[Dc].failingNode}else this[Dc].generator=this[sh](t,i);for(;;){var g=this[Dc].generator.next();if(g.done)break;var o=g.value;if(!o.success)return o;o.html&&this[Qc](o.html,o.bbox)}return this[Dc].generator=null,ql.EMPTY}},{key:yl,value:function(A){this[Qh]=new Set(Object.keys(A))}},{key:ch,value:function(A){var e=this[ih],t=this[Qh];return I(A).filter((function(A){return e.has(A)&&!t.has(A)}))}},{key:El,value:function(A){var e,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,a=m(this[nh]);try{for(a.s();!(e=a.n()).done;)e.value[Bh](A,t)}catch(A){a.e(A)}finally{a.f()}}},{key:Bh,value:function(A,e){var t=this[Ih](A,e);t?this[th](t,A,e):this[El](A,e)}},{key:Ih,value:function(A,e){var t=this.use,a=this.usehref;if(!t&&!a)return null;var i=null,n=null,r=null,g=t;if(a?(g=a,a.startsWith("#som(")&&a.endsWith(")")?n=a.slice(5,-1):a.startsWith(".#som(")&&a.endsWith(")")?n=a.slice(6,-1):a.startsWith("#")?r=a.slice(1):a.startsWith(".#")&&(r=a.slice(2))):t.startsWith("#")?r=t.slice(1):n=t,this.use=this.usehref="",r?i=A.get(r):(i=Ah(A.get(Ql),this,n,!0,!1))&&(i=i[0]),!i)return uA("XFA - Invalid prototype reference: ".concat(g,".")),null;if(i[ol]!==this[ol])return uA("XFA - Incompatible prototype: ".concat(i[ol]," !== ").concat(this[ol],".")),null;if(e.has(i))return uA("XFA - Cycle detected in prototypes use."),null;e.add(i);var o=i[Ih](A,e);return o&&i[th](o,A,e),i[El](A,e),e.delete(i),i}},{key:th,value:function(A,e,t){if(t.has(A))uA("XFA - Cycle detected in prototypes use.");else{!this[vc]&&A[vc]&&(this[vc]=A[vc]),new Set(t).add(A);var a,i=m(this[ch](A[Qh]));try{for(i.s();!(a=i.n()).done;){var n=a.value;this[n]=A[n],this[Qh]&&this[Qh].add(n)}}catch(A){i.e(A)}finally{i.f()}var r,g=m(Object.getOwnPropertyNames(this));try{for(g.s();!(r=g.n()).done;){var o=r.value;if(!this[ih].has(o)){var s=this[o],I=A[o];if(s instanceof ph){var c,l=m(s[nh]);try{for(l.s();!(c=l.n()).done;)c.value[Bh](e,t)}catch(A){l.e(A)}finally{l.f()}for(var h=s[nh].length,u=I[nh].length;h<u;h++){var C=A[nh][h][mc]();if(!s.push(C))break;C[Ch]=this,this[nh].push(C),C[Bh](e,t)}}else if(null===s){if(null!==I){var B=I[mc]();B[Ch]=this,this[o]=B,this[nh].push(B),B[Bh](e,t)}}else s[El](e,t),I&&s[th](I,e,t)}}}catch(A){g.e(A)}finally{g.f()}}}},{key:mc,value:function(){var e,t=Object.create(Object.getPrototypeOf(this)),a=m(Object.getOwnPropertySymbols(this));try{for(a.s();!(e=a.n()).done;){var i=e.value;try{t[i]=this[i]}catch(A){EA(t,i,this[i])}}}catch(A){a.e(A)}finally{a.f()}t[Fl]="".concat(t[ol]).concat(fh++),t[nh]=[];var n,r=m(Object.getOwnPropertyNames(this));try{for(r.s();!(n=r.n()).done;){var g=n.value;if(this[ih].has(g))t[g]=A[rh](this[g]);else{var o=this[g];t[g]=o instanceof ph?new ph(o[hh]):null}}}catch(A){r.e(A)}finally{r.f()}var s,I=m(this[nh]);try{for(I.s();!(s=I.n()).done;){var c=s.value,l=c[ol],h=c[mc]();t[nh].push(h),h[Ch]=t,null===t[l]?t[l]=h:t[l][nh].push(h)}}catch(A){I.e(A)}finally{I.f()}return t}},{key:Yc,value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return A?this[nh].filter((function(e){return e[ol]===A})):this[nh]}},{key:xc,value:function(A){return this[A]}},{key:Uc,value:function(A,e){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Array.from(this[Mc](A,e,t))}},{key:Mc,value:function(A,e){var t=this,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return B().mark((function i(){var n,r,g;return B().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if("parent"!==A){i.next=4;break}return i.next=3,t[Ch];case 3:return i.abrupt("return");case 4:n=m(t[nh]),i.prev=5,n.s();case 7:if((r=n.n()).done){i.next=19;break}if((g=r.value)[ol]!==A){i.next=12;break}return i.next=12,g;case 12:if(g.name!==A){i.next=15;break}return i.next=15,g;case 15:if(!e&&!g[il]()){i.next=17;break}return i.delegateYield(g[Mc](A,e,!1),"t0",17);case 17:i.next=7;break;case 19:i.next=24;break;case 21:i.prev=21,i.t1=i.catch(5),n.e(i.t1);case 24:return i.prev=24,n.f(),i.finish(24);case 27:if(!a||!t[ih].has(A)){i.next=30;break}return i.next=30,new mh(t,A,t[A]);case 30:case"end":return i.stop()}}),i,null,[[5,21,24,27]])}))()}}],[{key:rh,value:function(e){return Array.isArray(e)?e.map((function(e){return A[rh](e)})):"object"===M(e)&&null!==e?Object.assign({},e):e}}])}(),ph=function(){function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0;F(this,A),this[hh]=e,this[nh]=[]}return b(A,[{key:"isXFAObject",get:function(){return!1}},{key:"isXFAObjectArray",get:function(){return!0}},{key:"push",value:function(A){return this[nh].length<=this[hh]?(this[nh].push(A),!0):(uA('XFA - node "'.concat(A[ol],'" accepts no more than ').concat(this[hh]," children")),!1)}},{key:"isEmpty",value:function(){return 0===this[nh].length}},{key:"dump",value:function(){return 1===this[nh].length?this[nh][0][bc]():this[nh].map((function(A){return A[bc]()}))}},{key:mc,value:function(){var e=new A(this[hh]);return e[nh]=this[nh].map((function(A){return A[mc]()})),e}},{key:"children",get:function(){return this[nh]}},{key:"clear",value:function(){this[nh].length=0}}])}(),mh=function(){return b((function A(e,t,a){F(this,A),this[Ch]=e,this[ol]=t,this[vc]=a,this[kc]=!1,this[Fl]="attribute".concat(fh++)}),[{key:Pc,value:function(){return this[Ch]}},{key:$c,value:function(){return!0}},{key:Jc,value:function(){return this[vc].trim()}},{key:pl,value:function(A){function e(e){return A.apply(this,arguments)}return e.toString=function(){return A.toString()},e}((function(A){A=A.value||"",this[vc]=A.toString()}))},{key:kl,value:function(){return this[vc]}},{key:Al,value:function(A){return this[Ch]===A||this[Ch][Al](A)}}])}(),kh=function(A){function e(A,t){var a,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(F(this,e),(a=S(this,e,[A,t]))[vc]="",a[gh]=null,"#text"!==t){var n=new Map;a[ah]=n;for(var r=0,g=Object.entries(i);r<g.length;r++){var o=d(g[r],2),s=o[0],I=o[1];n.set(s,new mh(a,s,I))}if(i.hasOwnProperty(sl)){var c=i[sl].xfa.dataNode;void 0!==c&&("dataGroup"===c?a[gh]=!1:"dataValue"===c&&(a[gh]=!0))}}return a[kc]=!1,a}return x(e,A),b(e,[{key:bl,value:function(A){var e=this[ol];if("#text"!==e){var t=HA(e),a=this[gl]===dh?"xfa:":"";A.push("<".concat(a).concat(t));var i,n=m(this[ah].entries());try{for(n.s();!(i=n.n()).done;){var r=d(i.value,2),g=r[0],o=r[1],s=HA(g);A.push(" ".concat(s,'="').concat(Ge(o[vc]),'"'))}}catch(A){n.e(A)}finally{n.f()}if(null!==this[gh]&&(this[gh]?A.push(' xfa:dataNode="dataValue"'):A.push(' xfa:dataNode="dataGroup"')),this[vc]||0!==this[nh].length){if(A.push(">"),this[vc])"string"==typeof this[vc]?A.push(Ge(this[vc])):this[vc][bl](A);else{var I,c=m(this[nh]);try{for(c.s();!(I=c.n()).done;)I.value[bl](A)}catch(A){c.e(A)}finally{c.f()}}A.push("</".concat(a).concat(t,">"))}else A.push("/>")}else A.push(Ge(this[vc]))}},{key:Il,value:function(A){if(this[vc]){var t=new e(this[gl],"#text");this[Ec](t),t[vc]=this[vc],this[vc]=""}return this[Ec](A),!0}},{key:ll,value:function(A){this[vc]+=A}},{key:Fc,value:function(){if(this[vc]&&this[nh].length>0){var A=new e(this[gl],"#text");this[Ec](A),A[vc]=this[vc],delete this[vc]}}},{key:wl,value:function(){return"#text"===this[ol]?ql.success({name:"#text",value:this[vc]}):ql.EMPTY}},{key:Yc,value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return A?this[nh].filter((function(e){return e[ol]===A})):this[nh]}},{key:Nc,value:function(){return this[ah]}},{key:xc,value:function(A){var e=this[ah].get(A);return void 0!==e?e:this[Yc](A)}},{key:Mc,value:B().mark((function(A,e){var t,a,i,n;return B().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(t=this[ah].get(A))){r.next=4;break}return r.next=4,t;case 4:a=m(this[nh]),r.prev=5,a.s();case 7:if((i=a.n()).done){r.next=16;break}if((n=i.value)[ol]!==A){r.next=12;break}return r.next=12,n;case 12:if(!e){r.next=14;break}return r.delegateYield(n[Mc](A,e),"t0",14);case 14:r.next=7;break;case 16:r.next=21;break;case 18:r.prev=18,r.t1=r.catch(5),a.e(r.t1);case 21:return r.prev=21,a.f(),r.finish(21);case 24:case"end":return r.stop()}}),t,this,[[5,18,21,24]])}))},{key:Rc,value:B().mark((function(A,e){var t,a,i,n;return B().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(t=this[ah].get(A))||e&&t[kc]){r.next=4;break}return r.next=4,t;case 4:a=m(this[nh]),r.prev=5,a.s();case 7:if((i=a.n()).done){r.next=12;break}return n=i.value,r.delegateYield(n[Rc](A,e),"t0",10);case 10:r.next=7;break;case 12:r.next=17;break;case 14:r.prev=14,r.t1=r.catch(5),a.e(r.t1);case 17:return r.prev=17,a.f(),r.finish(17);case 20:case"end":return r.stop()}}),t,this,[[5,14,17,20]])}))},{key:Hc,value:B().mark((function A(e,t,a){var i,n,r;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:i=m(this[nh]),A.prev=1,i.s();case 3:if((n=i.n()).done){A.next=12;break}if((r=n.value)[ol]!==e||a&&r[kc]){A.next=8;break}return A.next=8,r;case 8:if(!t){A.next=10;break}return A.delegateYield(r[Hc](e,t,a),"t0",10);case 10:A.next=3;break;case 12:A.next=17;break;case 14:A.prev=14,A.t1=A.catch(1),i.e(A.t1);case 17:return A.prev=17,i.f(),A.finish(17);case 20:case"end":return A.stop()}}),A,this,[[1,14,17,20]])}))},{key:$c,value:function(){return null===this[gh]?0===this[nh].length||this[nh][0][gl]===Rl.xhtml.id:this[gh]}},{key:Jc,value:function(){return null===this[gh]?0===this[nh].length?this[vc].trim():this[nh][0][gl]===Rl.xhtml.id?this[nh][0][kl]().trim():null:this[vc].trim()}},{key:pl,value:function(A){function e(e){return A.apply(this,arguments)}return e.toString=function(){return A.toString()},e}((function(A){A=A.value||"",this[vc]=A.toString()}))},{key:bc,value:function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=Object.create(null);A&&(e.$ns=this[gl]),this[vc]&&(e.$content=this[vc]),e.$name=this[ol],e.children=[];var t,a=m(this[nh]);try{for(a.s();!(t=a.n()).done;){var i=t.value;e.children.push(i[bc](A))}}catch(A){a.e(A)}finally{a.f()}e.attributes=Object.create(null);var n,r=m(this[ah]);try{for(r.s();!(n=r.n()).done;){var g=d(n.value,2),o=g[0],s=g[1];e.attributes[o]=s[vc]}}catch(A){r.e(A)}finally{r.f()}return e}}])}(yh),vh=function(A){function e(A,t){var a;return F(this,e),(a=S(this,e,[A,t]))[vc]="",a}return x(e,A),b(e,[{key:ll,value:function(A){this[vc]+=A}},{key:Fc,value:function(){}}])}(yh),wh=function(A){function e(A,t,a){var i;return F(this,e),(i=S(this,e,[A,t]))[uh]=a,i}return x(e,A),b(e,[{key:Fc,value:function(){var A=this;this[vc]=Jl({data:this[vc],defaultValue:this[uh][0],validate:function(e){return A[uh].includes(e)}})}},{key:dc,value:function(A){i(G(e.prototype),dc,this).call(this,A),delete this[uh]}}])}(vh),bh=function(A){function e(){return F(this,e),S(this,e,arguments)}return x(e,A),b(e,[{key:Fc,value:function(){this[vc]=this[vc].trim()}}])}(vh),Dh=function(A){function e(A,t,a,i){var n;return F(this,e),(n=S(this,e,[A,t]))[oh]=a,n[Eh]=i,n}return x(e,A),b(e,[{key:Fc,value:function(){this[vc]=Ul({data:this[vc],defaultValue:this[oh],validate:this[Eh]})}},{key:dc,value:function(A){i(G(e.prototype),dc,this).call(this,A),delete this[oh],delete this[Eh]}}])}(vh),Fh=function(A){function e(A,t){return F(this,e),S(this,e,[A,t,0,function(A){return 1===A}])}return x(e,A),b(e)}(Dh),Sh=function(A){function e(A,t){return F(this,e),S(this,e,[A,t,1,function(A){return 0===A}])}return x(e,A),b(e)}(Dh);function Rh(A){return"string"==typeof A?"0px":Number.isInteger(A)?"".concat(A,"px"):"".concat(A.toFixed(2),"px")}var Nh={anchorType:function(A,e){var t=A[Tc]();if(t&&(!t.layout||"position"===t.layout))switch("transform"in e||(e.transform=""),A.anchorType){case"bottomCenter":e.transform+="translate(-50%, -100%)";break;case"bottomLeft":e.transform+="translate(0,-100%)";break;case"bottomRight":e.transform+="translate(-100%,-100%)";break;case"middleCenter":e.transform+="translate(-50%,-50%)";break;case"middleLeft":e.transform+="translate(0,-50%)";break;case"middleRight":e.transform+="translate(-100%,-50%)";break;case"topCenter":e.transform+="translate(-50%,0)";break;case"topRight":e.transform+="translate(-100%,0)"}},dimensions:function(A,e){var t,a=A[Tc](),i=A.w,n=A.h;if(null!==(t=a.layout)&&void 0!==t&&t.includes("row")){var r,g=a[Dc],o=A.colSpan;-1===o?(r=g.columnWidths.slice(g.currentColumn).reduce((function(A,e){return A+e}),0),g.currentColumn=0):(r=g.columnWidths.slice(g.currentColumn,g.currentColumn+o).reduce((function(A,e){return A+e}),0),g.currentColumn=(g.currentColumn+A.colSpan)%g.columnWidths.length),isNaN(r)||(i=A.w=r)}e.width=""!==i?Rh(i):"auto",e.height=""!==n?Rh(n):"auto"},position:function(A,e){var t=A[Tc]();null!=t&&t.layout&&"position"!==t.layout||(e.position="absolute",e.left=Rh(A.x),e.top=Rh(A.y))},rotate:function(A,e){A.rotate&&("transform"in e||(e.transform=""),e.transform+="rotate(-".concat(A.rotate,"deg)"),e.transformOrigin="top left")},presence:function(A,e){switch(A.presence){case"invisible":e.visibility="hidden";break;case"hidden":case"inactive":e.display="none"}},hAlign:function(A,e){if("para"===A[ol])switch(A.hAlign){case"justifyAll":e.textAlign="justify-all";break;case"radix":e.textAlign="left";break;default:e.textAlign=A.hAlign}else switch(A.hAlign){case"left":e.alignSelf="start";break;case"center":e.alignSelf="center";break;case"right":e.alignSelf="end"}},margin:function(A,e){A.margin&&(e.margin=A.margin[Dl]().margin)}};function Gh(A,e){"position"===A[Tc]().layout&&(A.minW>0&&(e.minWidth=Rh(A.minW)),A.maxW>0&&(e.maxWidth=Rh(A.maxW)),A.minH>0&&(e.minHeight=Rh(A.minH)),A.maxH>0&&(e.maxHeight=Rh(A.maxH)))}function xh(A,e,t,a,i,n){var r=new Ol(e,t,a,i);return"string"==typeof A?r.addString(A):A[hl](r),r.compute(n)}function Uh(A,e){var t=null,a=null,i=!1;if((!A.w||!A.h)&&A.value){var n=0,r=0;A.margin&&(n=A.margin.leftInset+A.margin.rightInset,r=A.margin.topInset+A.margin.bottomInset);var g=null,o=null;A.para&&(o=Object.create(null),g=""===A.para.lineHeight?null:A.para.lineHeight,o.top=""===A.para.spaceAbove?0:A.para.spaceAbove,o.bottom=""===A.para.spaceBelow?0:A.para.spaceBelow,o.left=""===A.para.marginLeft?0:A.para.marginLeft,o.right=""===A.para.marginRight?0:A.para.marginRight);var s=A.font;if(!s)for(var I=A[Wc](),c=A[Pc]();c&&c!==I;){if(c.font){s=c.font;break}c=c[Pc]()}var l=(A.w||e.width)-n,h=A[Zc].fontFinder;if(A.value.exData&&A.value.exData[vc]&&"text/html"===A.value.exData.contentType){var u=xh(A.value.exData[vc],s,o,g,h,l);a=u.width,t=u.height,i=u.isBroken}else{var C=A.value[kl]();if(C){var B=xh(C,s,o,g,h,l);a=B.width,t=B.height,i=B.isBroken}}null===a||A.w||(a+=n),null===t||A.h||(t+=r)}return{w:a,h:t,isBroken:i}}function Mh(A,e,t){var a;if(""!==A.w&&""!==A.h)a=[A.x,A.y,A.w,A.h];else{if(!t)return null;var i=A.w;if(""===i){if(0===A.maxW){var n=A[Tc]();i="position"===n.layout&&""!==n.w?0:A.minW}else i=Math.min(A.maxW,t.width);e.attributes.style.width=Rh(i)}var r=A.h;if(""===r){if(0===A.maxH){var g=A[Tc]();r="position"===g.layout&&""!==g.h?0:A.minH}else r=Math.min(A.maxH,t.height);e.attributes.style.height=Rh(r)}a=[A.x,A.y,i,r]}return a}function Jh(A){var e,t=A[Tc]();if(null!==(e=t.layout)&&void 0!==e&&e.includes("row")){var a,i=t[Dc],n=A.colSpan;a=-1===n?i.columnWidths.slice(i.currentColumn).reduce((function(A,e){return A+e}),0):i.columnWidths.slice(i.currentColumn,i.currentColumn+n).reduce((function(A,e){return A+e}),0),isNaN(a)||(A.w=a)}t.layout&&"position"!==t.layout&&(A.x=A.y=0),"table"===A.layout&&""===A.w&&Array.isArray(A.columnWidths)&&(A.w=A.columnWidths.reduce((function(A,e){return A+e}),0))}function Lh(A){switch(A.layout){case"position":default:return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb"}}function Hh(A){for(var e=Object.create(null),t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];for(var n=0,r=a;n<r.length;n++){var g=r[n],o=A[g];if(null!==o)if(Nh.hasOwnProperty(g))Nh[g](A,e);else if(o instanceof yh){var s=o[Dl]();s?Object.assign(e,s):uA("(DEBUG) - XFA - style for ".concat(g," not implemented yet"))}}return e}function Yh(A,e){var t=e.attributes,a=t.style,i={name:"div",attributes:{class:["xfaWrapper"],style:Object.create(null)},children:[]};if(t.class.push("xfaWrapped"),A.border){var n,r,g=A.border[Dc],o=g.widths,s=g.insets,I=s[0],c=s[3],l=s[0]+s[2],h=s[1]+s[3];switch(A.border.hand){case"even":I-=o[0]/2,c-=o[3]/2,n="calc(100% + ".concat((o[1]+o[3])/2-h,"px)"),r="calc(100% + ".concat((o[0]+o[2])/2-l,"px)");break;case"left":I-=o[0],c-=o[3],n="calc(100% + ".concat(o[1]+o[3]-h,"px)"),r="calc(100% + ".concat(o[0]+o[2]-l,"px)");break;case"right":n=h?"calc(100% - ".concat(h,"px)"):"100%",r=l?"calc(100% - ".concat(l,"px)"):"100%"}var u=["xfaBorder"];Th(A.border)&&u.push("xfaPrintOnly");for(var C={name:"div",attributes:{class:u,style:{top:"".concat(I,"px"),left:"".concat(c,"px"),width:n,height:r}},children:[]},B=0,Q=["border","borderWidth","borderColor","borderRadius","borderStyle"];B<Q.length;B++){var E=Q[B];void 0!==a[E]&&(C.attributes.style[E]=a[E],delete a[E])}i.children.push(C,e)}else i.children.push(e);for(var f=0,d=["background","backgroundClip","top","left","width","height","minWidth","minHeight","maxWidth","maxHeight","transform","transformOrigin","visibility"];f<d.length;f++){var y=d[f];void 0!==a[y]&&(i.attributes.style[y]=a[y],delete a[y])}return i.attributes.style.position="absolute"===a.position?"absolute":"relative",delete a.position,a.alignSelf&&(i.attributes.style.alignSelf=a.alignSelf,delete a.alignSelf),i}function Kh(A){var e=Hl(A.textIndent,"0px");if(!(e>=0)){var t="padding"+("left"==("right"===A.textAlign?"right":"left")?"Left":"Right"),a=Hl(A[t],"0px");A[t]="".concat(a-e,"px")}}function qh(A,e){switch(A.access){case"nonInteractive":e.push("xfaNonInteractive");break;case"readOnly":e.push("xfaReadOnly");break;case"protected":e.push("xfaDisabled")}}function Th(A){return A.relevant.length>0&&!A.relevant[0].excluded&&"print"===A.relevant[0].viewname}function Ph(A){var e=A[Wc]()[Dc].paraStack;return e.length?e.at(-1):null}function Wh(A,e,t){var a;if(null!==(a=t.attributes.class)&&void 0!==a&&a.includes("xfaRich")){e&&(""===A.h&&(e.height="auto"),""===A.w&&(e.width="auto"));var i=Ph(A);if(i){var n=t.attributes.style;switch(n.display="flex",n.flexDirection="column",i.vAlign){case"top":n.justifyContent="start";break;case"bottom":n.justifyContent="end";break;case"middle":n.justifyContent="center"}for(var r=i[Dl](),g=0,o=Object.entries(r);g<o.length;g++){var s=d(o[g],2),I=s[0],c=s[1];I in n||(n[I]=c)}}}}function Zh(A,e,t,a){if(t){var i=xl(A.typeface);a.fontFamily='"'.concat(i,'"');var n=t.find(i);if(n){var r=n.regular.cssFontInfo.fontFamily;r!==i&&(a.fontFamily='"'.concat(r,'"'));var g=Ph(e);if(g&&""!==g.lineHeight)return;if(a.lineHeight)return;var o=Pl(A,n);o&&(a.lineHeight=Math.max(1.2,o.lineHeight))}}else delete a.fontFamily}function Oh(A){var e=QA(A,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return e?e.href:null}function Xh(A,e){return{name:"div",attributes:{class:["lr-tb"===A.layout?"xfaLr":"xfaRl"]},children:e}}function Vh(A){if(!A[Dc])return null;var e={name:"div",attributes:A[Dc].attributes,children:A[Dc].children};if(A[Dc].failingNode){var t=A[Dc].failingNode[Sc]();t&&(A.layout.endsWith("-tb")?e.children.push(Xh(A,[t])):e.children.push(t))}return 0===e.children.length?null:e}function jh(A,e,t){var a=A[Dc],i=a.availableSpace,n=d(t,4),r=n[0],g=n[1],o=n[2],s=n[3];switch(A.layout){case"position":a.width=Math.max(a.width,r+o),a.height=Math.max(a.height,g+s),a.children.push(e);break;case"lr-tb":case"rl-tb":a.line&&1!==a.attempt||(a.line=Xh(A,[]),a.children.push(a.line),a.numberInLine=0),a.numberInLine+=1,a.line.children.push(e),0===a.attempt?(a.currentWidth+=o,a.height=Math.max(a.height,a.prevHeight+s)):(a.currentWidth=o,a.prevHeight=a.height,a.height+=s,a.attempt=0),a.width=Math.max(a.width,a.currentWidth);break;case"rl-row":case"row":a.children.push(e),a.width+=o,a.height=Math.max(a.height,s);var I,c=Rh(a.height),l=m(a.children);try{for(l.s();!(I=l.n()).done;)I.value.attributes.style.height=c}catch(A){l.e(A)}finally{l.f()}break;case"table":case"tb":a.width=Math.min(i.width,Math.max(a.width,o)),a.height+=s,a.children.push(e)}}function zh(A){var e=A[Dc].availableSpace,t=A.margin?A.margin.topInset+A.margin.bottomInset:0,a=A.margin?A.margin.leftInset+A.margin.rightInset:0;switch(A.layout){case"lr-tb":case"rl-tb":return 0===A[Dc].attempt?{width:e.width-a-A[Dc].currentWidth,height:e.height-t-A[Dc].prevHeight}:{width:e.width-a,height:e.height-t-A[Dc].height};case"rl-row":case"row":return{width:A[Dc].columnWidths.slice(A[Dc].currentColumn).reduce((function(A,e){return A+e})),height:e.height-a};case"table":case"tb":return{width:e.width-a,height:e.height-t-A[Dc].height};default:return e}}function _h(A,e){var t;if(null===A[Wc]()[Dc].firstUnsplittable)return!0;if(0===A.w||0===A.h)return!0;var a=A[Tc](),i=(null===(t=a[Dc])||void 0===t?void 0:t.attempt)||0,n=function(A){var e,t,a=""===A.w?NaN:A.w,i=""===A.h?NaN:A.h,n=0,r=0;switch(A.anchorType||""){case"bottomCenter":n=a/2,r=i;break;case"bottomLeft":n=0,r=i;break;case"bottomRight":n=a,r=i;break;case"middleCenter":n=a/2,r=i/2;break;case"middleLeft":n=0,r=i/2;break;case"middleRight":n=a,r=i/2;break;case"topCenter":n=a/2,r=0;break;case"topRight":n=a,r=0}switch(A.rotate||0){case 0:e=-n,t=-r;break;case 90:e=-r,t=n;var g=[i,-a];a=g[0],i=g[1];break;case 180:e=n,t=r;var o=[-a,-i];a=o[0],i=o[1];break;case 270:e=r,t=-n;var s=[-i,a];a=s[0],i=s[1]}return[A.x+e+Math.min(0,a),A.y+t+Math.min(0,i),Math.abs(a),Math.abs(i)]}(A),r=d(n,4),g=r[1],o=r[2],s=r[3];switch(a.layout){case"lr-tb":case"rl-tb":return 0===i?A[Wc]()[Dc].noLayoutFailure?""!==A.w?Math.round(o-e.width)<=2:e.width>2:!(""!==A.h&&Math.round(s-e.height)>2)&&(""!==A.w?Math.round(o-e.width)<=2||0===a[Dc].numberInLine&&e.height>2:e.width>2):!!A[Wc]()[Dc].noLayoutFailure||!(""!==A.h&&Math.round(s-e.height)>2)&&(""===A.w||Math.round(o-e.width)<=2||!a[al]())&&e.height>2;case"table":case"tb":return!!A[Wc]()[Dc].noLayoutFailure||(""===A.h||A[tl]()?(""===A.w||Math.round(o-e.width)<=2||!a[al]())&&e.height>2:Math.round(s-e.height)<=2);case"position":return!!A[Wc]()[Dc].noLayoutFailure||""===A.h||Math.round(s+g-e.height)<=2||s+g>A[Wc]()[Dc].currentContentArea.h;case"rl-row":case"row":return!!A[Wc]()[Dc].noLayoutFailure||""===A.h||Math.round(s-e.height)<=2;default:return!0}}var $h=Rl.template.id,Au="http://www.w3.org/2000/svg",eu=/^H(\d+)$/,tu=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),au=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function iu(A){if(!A||!A.border)return{w:0,h:0};var e=A.border[Lc]();return e?{w:e.widths[0]+e.widths[2]+e.insets[0]+e.insets[2],h:e.widths[1]+e.widths[3]+e.insets[1]+e.insets[3]}:{w:0,h:0}}function nu(A){return A.margin&&(A.margin.topInset||A.margin.rightInset||A.margin.bottomInset||A.margin.leftInset)}function ru(A,e){if(!A.value){var t=new dB({});A[Ec](t),A.value=t}A.value[pl](e)}function gu(A){var e,t,a;return B().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:e=m(A[Yc]()),i.prev=1,e.s();case 3:if((t=e.n()).done){i.next=12;break}if(!((a=t.value)instanceof rB)){i.next=8;break}return i.delegateYield(a[Kc](),"t0",7);case 7:return i.abrupt("continue",10);case 8:return i.next=10,a;case 10:i.next=3;break;case 12:i.next=17;break;case 14:i.prev=14,i.t1=i.catch(1),e.e(i.t1);case 17:return i.prev=17,e.f(),i.finish(17);case 20:case"end":return i.stop()}}),C,null,[[1,14,17,20]])}function ou(A){var e;return"error"===(null===(e=A.validate)||void 0===e?void 0:e.nullTest)}function su(A){for(;A;){if(!A.traversal)return void(A[ml]=A[Pc]()[ml]);if(A[ml])return;var e,t=null,a=m(A.traversal[Yc]());try{for(a.s();!(e=a.n()).done;){var i=e.value;if("next"===i.operation){t=i;break}}}catch(A){a.e(A)}finally{a.f()}if(!t||!t.ref)return void(A[ml]=A[Pc]()[ml]);var n=A[Wc]();A[ml]=++n[ml];var r=n[fl](t.ref,A);if(!r)return;A=r[0]}}function Iu(A,e){var t=A.assist;if(t){var a=t[wl]();a&&(e.title=a);var i=t.role.match(eu);if(i){var n=i[1];e.role="heading",e["aria-level"]=n}}if("table"===A.layout)e.role="table";else if("row"===A.layout)e.role="row";else{var r,g=A[Pc]();"row"===g.layout&&(e.role="TH"===(null===(r=g.assist)||void 0===r?void 0:r.role)?"columnheader":"cell")}}function cu(A){if(!A.assist)return null;var e=A.assist;return e.speak&&""!==e.speak[vc]?e.speak[vc]:e.toolTip?e.toolTip[vc]:null}function lu(A){return ql.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:A}]})}function hu(A){var e=A[Wc]();null===e[Dc].firstUnsplittable&&(e[Dc].firstUnsplittable=A,e[Dc].noLayoutFailure=!0)}function uu(A){var e=A[Wc]();e[Dc].firstUnsplittable===A&&(e[Dc].noLayoutFailure=!1)}function Cu(A){if(A[Dc])return!1;if(A[Dc]=Object.create(null),"auto"===A.targetType)return!1;var e=A[Wc](),t=null;if(A.target){if(!(t=e[fl](A.target,A[Pc]())))return!1;t=t[0]}var a=e[Dc],i=a.currentPageArea,n=a.currentContentArea;if("pageArea"===A.targetType)return t instanceof HC||(t=null),A.startNew?(A[Dc].target=t||i,!0):!(!t||t===i||(A[Dc].target=t,0));t instanceof Yu||(t=null);var r,g=t&&t[Pc](),o=g;if(A.startNew)if(t){var s=g.contentArea.children,I=s.indexOf(n),c=s.indexOf(t);-1!==I&&I<c&&(o=null),r=c-1}else r=i.contentArea.children.indexOf(n);else{if(!t||t===n)return!1;r=g.contentArea.children.indexOf(t)-1,o=g===i?null:g}return A[Dc].target=o,A[Dc].index=r,!0}function Bu(A,e,t){var a=A[Wc](),i=a[Dc].noLayoutFailure,n=e[Tc];e[Tc]=function(){return A},a[Dc].noLayoutFailure=!0;var r=e[wl](t);A[Qc](r.html,r.bbox),a[Dc].noLayoutFailure=i,e[Tc]=n}var Qu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"appearanceFilter"])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),Eu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"arc",!0])).circular=Ul({data:A.circular,defaultValue:0,validate:function(A){return 1===A}}),t.hand=Ll(A.hand,["even","left","right"]),t.id=A.id||"",t.startAngle=Ml({data:A.startAngle,defaultValue:0,validate:function(A){return!0}}),t.sweepAngle=Ml({data:A.sweepAngle,defaultValue:360,validate:function(A){return!0}}),t.use=A.use||"",t.usehref=A.usehref||"",t.edge=null,t.fill=null,t}return x(e,A),b(e,[{key:wl,value:function(){var A,e,t=this.edge||new zu({}),a=t[Dl](),i=Object.create(null);"visible"===(null===(A=this.fill)||void 0===A?void 0:A.presence)?Object.assign(i,this.fill[Dl]()):i.fill="transparent",i.strokeWidth=Rh("visible"===t.presence?t.thickness:0),i.stroke=a.color;var n={xmlns:Au,style:{width:"100%",height:"100%",overflow:"visible"}};if(360===this.sweepAngle)e={name:"ellipse",attributes:{xmlns:Au,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:i}};else{var r=this.startAngle*Math.PI/180,g=this.sweepAngle*Math.PI/180,o=this.sweepAngle>180?1:0,s=50*(1+Math.cos(r)),I=50*(1-Math.sin(r)),c=50*(1+Math.cos(r+g)),l=50*(1-Math.sin(r+g));e={name:"path",attributes:{xmlns:Au,d:"M ".concat(s," ").concat(I," A 50 50 0 ").concat(o," 0 ").concat(c," ").concat(l),vectorEffect:"non-scaling-stroke",style:i}},Object.assign(n,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}var h={name:"svg",children:[e],attributes:n};return nu(this[Pc]()[Pc]())?ql.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[h]}):(h.attributes.style.position="absolute",ql.success(h))}}])}(yh),fu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"area",!0])).colSpan=Ul({data:A.colSpan,defaultValue:1,validate:function(A){return A>=1||-1===A}}),t.id=A.id||"",t.name=A.name||"",t.relevant=Kl(A.relevant),t.use=A.use||"",t.usehref=A.usehref||"",t.x=Hl(A.x,"0pt"),t.y=Hl(A.y,"0pt"),t.desc=null,t.extras=null,t.area=new ph,t.draw=new ph,t.exObject=new ph,t.exclGroup=new ph,t.field=new ph,t.subform=new ph,t.subformSet=new ph,t}return x(e,A),b(e,[{key:Kc,value:B().mark((function A(){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.delegateYield(gu(this),"t0",1);case 1:case"end":return A.stop()}}),A,this)}))},{key:il,value:function(){return!0}},{key:_c,value:function(){return!0}},{key:Qc,value:function(A,e){var t=d(e,4),a=t[0],i=t[1],n=t[2],r=t[3];this[Dc].width=Math.max(this[Dc].width,a+n),this[Dc].height=Math.max(this[Dc].height,i+r),this[Dc].children.push(A)}},{key:Gc,value:function(){return this[Dc].availableSpace}},{key:wl,value:function(A){var e=Hh(this,"position"),t={style:e,id:this[Fl],class:["xfaArea"]};Th(this)&&t.class.push("xfaPrintOnly"),this.name&&(t.xfaName=this.name);var a=[];this[Dc]={children:a,width:0,height:0,availableSpace:A};var i=this[fc]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!i.success)return i.isBreak()?i:(delete this[Dc],ql.FAILURE);e.width=Rh(this[Dc].width),e.height=Rh(this[Dc].height);var n={name:"div",attributes:t,children:a},r=[this.x,this.y,this[Dc].width,this[Dc].height];return delete this[Dc],ql.success(n,r)}}])}(yh),du=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"assist",!0])).id=A.id||"",t.role=A.role||"",t.use=A.use||"",t.usehref=A.usehref||"",t.speak=null,t.toolTip=null,t}return x(e,A),b(e,[{key:wl,value:function(){var A;return(null===(A=this.toolTip)||void 0===A?void 0:A[vc])||null}}])}(yh),yu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"barcode",!0])).charEncoding=Jl({data:A.charEncoding?A.charEncoding.toLowerCase():"",defaultValue:"",validate:function(A){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(A)||A.match(/iso-8859-\d{2}/)}}),t.checksum=Ll(A.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),t.dataColumnCount=Ul({data:A.dataColumnCount,defaultValue:-1,validate:function(A){return A>=0}}),t.dataLength=Ul({data:A.dataLength,defaultValue:-1,validate:function(A){return A>=0}}),t.dataPrep=Ll(A.dataPrep,["none","flateCompress"]),t.dataRowCount=Ul({data:A.dataRowCount,defaultValue:-1,validate:function(A){return A>=0}}),t.endChar=A.endChar||"",t.errorCorrectionLevel=Ul({data:A.errorCorrectionLevel,defaultValue:-1,validate:function(A){return A>=0&&A<=8}}),t.id=A.id||"",t.moduleHeight=Hl(A.moduleHeight,"5mm"),t.moduleWidth=Hl(A.moduleWidth,"0.25mm"),t.printCheckDigit=Ul({data:A.printCheckDigit,defaultValue:0,validate:function(A){return 1===A}}),t.rowColumnRatio=Yl(A.rowColumnRatio),t.startChar=A.startChar||"",t.textLocation=Ll(A.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),t.truncate=Ul({data:A.truncate,defaultValue:0,validate:function(A){return 1===A}}),t.type=Ll(A.type?A.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]),t.upsMode=Ll(A.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),t.use=A.use||"",t.usehref=A.usehref||"",t.wideNarrowRatio=Yl(A.wideNarrowRatio),t.encrypt=null,t.extras=null,t}return x(e,A),b(e)}(yh),pu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"bind",!0])).match=Ll(A.match,["once","dataRef","global","none"]),t.ref=A.ref||"",t.picture=null,t}return x(e,A),b(e)}(yh),mu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"bindItems"])).connection=A.connection||"",t.labelRef=A.labelRef||"",t.ref=A.ref||"",t.valueRef=A.valueRef||"",t}return x(e,A),b(e)}(yh),ku=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"bookend"])).id=A.id||"",t.leader=A.leader||"",t.trailer=A.trailer||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(yh),vu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"boolean"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:wl,value:function(A){return lu(1===this[vc]?"1":"0")}}])}(Fh),wu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"border",!0])).break=Ll(A.break,["close","open"]),t.hand=Ll(A.hand,["even","left","right"]),t.id=A.id||"",t.presence=Ll(A.presence,["visible","hidden","inactive","invisible"]),t.relevant=Kl(A.relevant),t.use=A.use||"",t.usehref=A.usehref||"",t.corner=new ph(4),t.edge=new ph(4),t.extras=null,t.fill=null,t.margin=null,t}return x(e,A),b(e,[{key:Lc,value:function(){if(!this[Dc]){var A=this.edge.children.slice();if(A.length<4)for(var e=A.at(-1)||new zu({}),t=A.length;t<4;t++)A.push(e);var a=A.map((function(A){return A.thickness})),i=[0,0,0,0];this.margin&&(i[0]=this.margin.topInset,i[1]=this.margin.rightInset,i[2]=this.margin.bottomInset,i[3]=this.margin.leftInset),this[Dc]={widths:a,insets:i,edges:A}}return this[Dc]}},{key:Dl,value:function(){var A,e=this[Lc]().edges.map((function(A){var e=A[Dl]();return e.color||(e.color="#000000"),e})),t=Object.create(null);if(this.margin&&Object.assign(t,this.margin[Dl]()),"visible"===(null===(A=this.fill)||void 0===A?void 0:A.presence)&&Object.assign(t,this.fill[Dl]()),this.corner.children.some((function(A){return 0!==A.radius}))){var a=this.corner.children.map((function(A){return A[Dl]()}));if(2===a.length||3===a.length)for(var i=a.at(-1),n=a.length;n<4;n++)a.push(i);t.borderRadius=a.map((function(A){return A.radius})).join(" ")}switch(this.presence){case"invisible":case"hidden":t.borderStyle="";break;case"inactive":t.borderStyle="none";break;default:t.borderStyle=e.map((function(A){return A.style})).join(" ")}return t.borderWidth=e.map((function(A){return A.width})).join(" "),t.borderColor=e.map((function(A){return A.color})).join(" "),t}}])}(yh),bu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"break",!0])).after=Ll(A.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),t.afterTarget=A.afterTarget||"",t.before=Ll(A.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),t.beforeTarget=A.beforeTarget||"",t.bookendLeader=A.bookendLeader||"",t.bookendTrailer=A.bookendTrailer||"",t.id=A.id||"",t.overflowLeader=A.overflowLeader||"",t.overflowTarget=A.overflowTarget||"",t.overflowTrailer=A.overflowTrailer||"",t.startNew=Ul({data:A.startNew,defaultValue:0,validate:function(A){return 1===A}}),t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t}return x(e,A),b(e)}(yh),Du=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"breakAfter",!0])).id=A.id||"",t.leader=A.leader||"",t.startNew=Ul({data:A.startNew,defaultValue:0,validate:function(A){return 1===A}}),t.target=A.target||"",t.targetType=Ll(A.targetType,["auto","contentArea","pageArea"]),t.trailer=A.trailer||"",t.use=A.use||"",t.usehref=A.usehref||"",t.script=null,t}return x(e,A),b(e)}(yh),Fu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"breakBefore",!0])).id=A.id||"",t.leader=A.leader||"",t.startNew=Ul({data:A.startNew,defaultValue:0,validate:function(A){return 1===A}}),t.target=A.target||"",t.targetType=Ll(A.targetType,["auto","contentArea","pageArea"]),t.trailer=A.trailer||"",t.use=A.use||"",t.usehref=A.usehref||"",t.script=null,t}return x(e,A),b(e,[{key:wl,value:function(A){return this[Dc]={},ql.FAILURE}}])}(yh),Su=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"button",!0])).highlight=Ll(A.highlight,["inverted","none","outline","push"]),t.id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t}return x(e,A),b(e,[{key:wl,value:function(A){var e,t=this[Pc]()[Pc](),a={name:"button",attributes:{id:this[Fl],class:["xfaButton"],style:{}},children:[]},i=m(t.event.children);try{for(i.s();!(e=i.n()).done;){var n=e.value;if("click"===n.activity&&n.script){var r=Me(n.script[vc]);if(r){var g=Oh(r.url);g&&a.children.push({name:"a",attributes:{id:"link"+this[Fl],href:g,newWindow:r.newWindow,class:["xfaLink"],style:{}},children:[]})}}}}catch(A){i.e(A)}finally{i.f()}return ql.success(a)}}])}(yh),Ru=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"calculate",!0])).id=A.id||"",t.override=Ll(A.override,["disabled","error","ignore","warning"]),t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t.message=null,t.script=null,t}return x(e,A),b(e)}(yh),Nu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"caption",!0])).id=A.id||"",t.placement=Ll(A.placement,["left","bottom","inline","right","top"]),t.presence=Ll(A.presence,["visible","hidden","inactive","invisible"]),t.reserve=Math.ceil(Hl(A.reserve)),t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t.font=null,t.margin=null,t.para=null,t.value=null,t}return x(e,A),b(e,[{key:pl,value:function(A){function e(e){return A.apply(this,arguments)}return e.toString=function(){return A.toString()},e}((function(A){ru(this,A)}))},{key:Lc,value:function(A){if(!this[Dc]){var e=A.width,t=A.height;switch(this.placement){case"left":case"right":case"inline":e=this.reserve<=0?e:this.reserve;break;case"top":case"bottom":t=this.reserve<=0?t:this.reserve}this[Dc]=Uh(this,{width:e,height:t})}return this[Dc]}},{key:wl,value:function(A){if(!this.value)return ql.EMPTY;this[Cl]();var e=this.value[wl](A).html;if(!e)return this[ul](),ql.EMPTY;var t=this.reserve;if(this.reserve<=0){var a=this[Lc](A),i=a.w,n=a.h;switch(this.placement){case"left":case"right":case"inline":this.reserve=i;break;case"top":case"bottom":this.reserve=n}}var r=[];"string"==typeof e?r.push({name:"#text",value:e}):r.push(e);var g=Hh(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(g.width=Rh(this.reserve));break;case"top":case"bottom":this.reserve>0&&(g.height=Rh(this.reserve))}return Wh(this,null,e),this[ul](),this.reserve=t,ql.success({name:"div",attributes:{style:g,class:["xfaCaption"]},children:r})}}])}(yh),Gu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"certificate"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),xu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"certificates",!0])).credentialServerPolicy=Ll(A.credentialServerPolicy,["optional","required"]),t.id=A.id||"",t.url=A.url||"",t.urlPolicy=A.urlPolicy||"",t.use=A.use||"",t.usehref=A.usehref||"",t.encryption=null,t.issuers=null,t.keyUsage=null,t.oids=null,t.signing=null,t.subjectDNs=null,t}return x(e,A),b(e)}(yh),Uu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"checkButton",!0])).id=A.id||"",t.mark=Ll(A.mark,["default","check","circle","cross","diamond","square","star"]),t.shape=Ll(A.shape,["square","round"]),t.size=Hl(A.size,"10pt"),t.use=A.use||"",t.usehref=A.usehref||"",t.border=null,t.extras=null,t.margin=null,t}return x(e,A),b(e,[{key:wl,value:function(A){var e,t,a,i,n=Hh("margin"),r=Rh(this.size);n.width=n.height=r;var g,o,s,I=this[Pc]()[Pc](),c=I.items.children.length&&I.items.children[0][wl]().html||[],l={on:(void 0!==c[0]?c[0]:"on").toString(),off:(void 0!==c[1]?c[1]:"off").toString()},h=((null===(e=I.value)||void 0===e?void 0:e[kl]())||"off")===l.on||void 0,u=I[Tc](),C=I[Fl];u instanceof oC?(i=u[Fl],t="radio",a="xfaRadio",g=(null===(o=u[wc])||void 0===o?void 0:o[Fl])||u[Fl]):(t="checkbox",a="xfaCheckbox",g=(null===(s=I[wc])||void 0===s?void 0:s[Fl])||I[Fl]);var B={name:"input",attributes:{class:[a],style:n,fieldId:C,dataId:g,type:t,checked:h,xfaOn:l.on,xfaOff:l.off,"aria-label":cu(I),"aria-required":!1}};return i&&(B.attributes.name=i),ou(I)&&(B.attributes["aria-required"]=!0,B.attributes.required=!0),ql.success({name:"label",attributes:{class:["xfaLabel"]},children:[B]})}}])}(yh),Mu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"choiceList",!0])).commitOn=Ll(A.commitOn,["select","exit"]),t.id=A.id||"",t.open=Ll(A.open,["userControl","always","multiSelect","onEntry"]),t.textEntry=Ul({data:A.textEntry,defaultValue:0,validate:function(A){return 1===A}}),t.use=A.use||"",t.usehref=A.usehref||"",t.border=null,t.extras=null,t.margin=null,t}return x(e,A),b(e,[{key:wl,value:function(A){var e,t,a=Hh(this,"border","margin"),i=this[Pc]()[Pc](),n=(null===(e=i.font)||void 0===e?void 0:e.size)||10,r={fontSize:"calc(".concat(n,"px * var(--scale-factor))")},g=[];if(i.items.children.length>0){var o,s=i.items,I=0,c=0;2===s.children.length&&(c=1-(I=s.children[0].save));for(var l=s.children[I][wl]().html,h=s.children[c][wl]().html,u=!1,C=(null===(o=i.value)||void 0===o?void 0:o[kl]())||"",B=0,Q=l.length;B<Q;B++){var E={name:"option",attributes:{value:h[B]||l[B],style:r},value:l[B]};h[B]===C&&(E.attributes.selected=u=!0),g.push(E)}u||g.splice(0,0,{name:"option",attributes:{hidden:!0,selected:!0},value:" "})}var f={class:["xfaSelect"],fieldId:i[Fl],dataId:(null===(t=i[wc])||void 0===t?void 0:t[Fl])||i[Fl],style:a,"aria-label":cu(i),"aria-required":!1};return ou(i)&&(f["aria-required"]=!0,f.required=!0),"multiSelect"===this.open&&(f.multiple=!0),ql.success({name:"label",attributes:{class:["xfaLabel"]},children:[{name:"select",children:g,attributes:f}]})}}])}(yh),Ju=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"color",!0])).cSpace=Ll(A.cSpace,["SRGB"]),t.id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.value=A.value?function(A){var e=d(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0],3),t=e[0],a=e[1],i=e[2];if(!A)return{r:t,g:a,b:i};var n=A.trim().split(/\s*,\s*/).map((function(A){return Math.min(Math.max(0,parseInt(A.trim(),10)),255)})).map((function(A){return isNaN(A)?0:A}));if(n.length<3)return{r:t,g:a,b:i};var r=d(n,3);return{r:t=r[0],g:a=r[1],b:i=r[2]}}(A.value):"",t.extras=null,t}return x(e,A),b(e,[{key:Oc,value:function(){return!1}},{key:Dl,value:function(){return this.value?GA.makeHexColor(this.value.r,this.value.g,this.value.b):null}}])}(yh),Lu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"comb"])).id=A.id||"",t.numberOfCells=Ul({data:A.numberOfCells,defaultValue:0,validate:function(A){return A>=0}}),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(yh),Hu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"connect",!0])).connection=A.connection||"",t.id=A.id||"",t.ref=A.ref||"",t.usage=Ll(A.usage,["exportAndImport","exportOnly","importOnly"]),t.use=A.use||"",t.usehref=A.usehref||"",t.picture=null,t}return x(e,A),b(e)}(yh),Yu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"contentArea",!0])).h=Hl(A.h),t.id=A.id||"",t.name=A.name||"",t.relevant=Kl(A.relevant),t.use=A.use||"",t.usehref=A.usehref||"",t.w=Hl(A.w),t.x=Hl(A.x,"0pt"),t.y=Hl(A.y,"0pt"),t.desc=null,t.extras=null,t}return x(e,A),b(e,[{key:wl,value:function(A){var e={left:Rh(this.x),top:Rh(this.y),width:Rh(this.w),height:Rh(this.h)},t=["xfaContentarea"];return Th(this)&&t.push("xfaPrintOnly"),ql.success({name:"div",children:[],attributes:{style:e,class:t,id:this[Fl]}})}}])}(yh),Ku=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"corner",!0])).id=A.id||"",t.inverted=Ul({data:A.inverted,defaultValue:0,validate:function(A){return 1===A}}),t.join=Ll(A.join,["square","round"]),t.presence=Ll(A.presence,["visible","hidden","inactive","invisible"]),t.radius=Hl(A.radius),t.stroke=Ll(A.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),t.thickness=Hl(A.thickness,"0.5pt"),t.use=A.use||"",t.usehref=A.usehref||"",t.color=null,t.extras=null,t}return x(e,A),b(e,[{key:Dl,value:function(){var A=Hh(this,"visibility");return A.radius=Rh("square"===this.join?0:this.radius),A}}])}(yh),qu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"date"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:Fc,value:function(){var A=this[vc].trim();this[vc]=A?new Date(A):null}},{key:wl,value:function(A){return lu(this[vc]?this[vc].toString():"")}}])}(vh),Tu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"dateTime"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:Fc,value:function(){var A=this[vc].trim();this[vc]=A?new Date(A):null}},{key:wl,value:function(A){return lu(this[vc]?this[vc].toString():"")}}])}(vh),Pu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"dateTimeEdit",!0])).hScrollPolicy=Ll(A.hScrollPolicy,["auto","off","on"]),t.id=A.id||"",t.picker=Ll(A.picker,["host","none"]),t.use=A.use||"",t.usehref=A.usehref||"",t.border=null,t.comb=null,t.extras=null,t.margin=null,t}return x(e,A),b(e,[{key:wl,value:function(A){var e,t=Hh(this,"border","font","margin"),a=this[Pc]()[Pc](),i={name:"input",attributes:{type:"text",fieldId:a[Fl],dataId:(null===(e=a[wc])||void 0===e?void 0:e[Fl])||a[Fl],class:["xfaTextfield"],style:t,"aria-label":cu(a),"aria-required":!1}};return ou(a)&&(i.attributes["aria-required"]=!0,i.attributes.required=!0),ql.success({name:"label",attributes:{class:["xfaLabel"]},children:[i]})}}])}(yh),Wu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"decimal"])).fracDigits=Ul({data:A.fracDigits,defaultValue:2,validate:function(A){return!0}}),t.id=A.id||"",t.leadDigits=Ul({data:A.leadDigits,defaultValue:-1,validate:function(A){return!0}}),t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:Fc,value:function(){var A=parseFloat(this[vc].trim());this[vc]=isNaN(A)?null:A}},{key:wl,value:function(A){return lu(null!==this[vc]?this[vc].toString():"")}}])}(vh),Zu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"defaultUi",!0])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t}return x(e,A),b(e)}(yh),Ou=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"desc",!0])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.boolean=new ph,t.date=new ph,t.dateTime=new ph,t.decimal=new ph,t.exData=new ph,t.float=new ph,t.image=new ph,t.integer=new ph,t.text=new ph,t.time=new ph,t}return x(e,A),b(e)}(yh),Xu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(wh),Vu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"digestMethods",!0])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t.digestMethod=new ph,t}return x(e,A),b(e)}(yh),ju=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"draw",!0])).anchorType=Ll(A.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=Ul({data:A.colSpan,defaultValue:1,validate:function(A){return A>=1||-1===A}}),t.h=A.h?Hl(A.h):"",t.hAlign=Ll(A.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=A.id||"",t.locale=A.locale||"",t.maxH=Hl(A.maxH,"0pt"),t.maxW=Hl(A.maxW,"0pt"),t.minH=Hl(A.minH,"0pt"),t.minW=Hl(A.minW,"0pt"),t.name=A.name||"",t.presence=Ll(A.presence,["visible","hidden","inactive","invisible"]),t.relevant=Kl(A.relevant),t.rotate=Ul({data:A.rotate,defaultValue:0,validate:function(A){return A%90==0}}),t.use=A.use||"",t.usehref=A.usehref||"",t.w=A.w?Hl(A.w):"",t.x=Hl(A.x,"0pt"),t.y=Hl(A.y,"0pt"),t.assist=null,t.border=null,t.caption=null,t.desc=null,t.extras=null,t.font=null,t.keep=null,t.margin=null,t.para=null,t.traversal=null,t.ui=null,t.value=null,t.setProperty=new ph,t}return x(e,A),b(e,[{key:pl,value:function(A){function e(e){return A.apply(this,arguments)}return e.toString=function(){return A.toString()},e}((function(A){ru(this,A)}))},{key:wl,value:function(A){if(su(this),"hidden"===this.presence||"inactive"===this.presence)return ql.EMPTY;Jh(this),this[Cl]();var e=this.w,t=this.h,a=Uh(this,A),i=a.w,n=a.h,r=a.isBroken;if(i&&""===this.w){if(r&&this[Tc]()[al]())return this[ul](),ql.FAILURE;this.w=i}if(n&&""===this.h&&(this.h=n),hu(this),!_h(this,A))return this.w=e,this.h=t,this[ul](),ql.FAILURE;uu(this);var g=Hh(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");Gh(this,g),g.margin&&(g.padding=g.margin,delete g.margin);var o=["xfaDraw"];this.font&&o.push("xfaFont"),Th(this)&&o.push("xfaPrintOnly");var s={style:g,id:this[Fl],class:o};this.name&&(s.xfaName=this.name);var I={name:"div",attributes:s,children:[]};Iu(this,s);var c=Mh(this,I,A),l=this.value?this.value[wl](A).html:null;return null===l?(this.w=e,this.h=t,this[ul](),ql.success(Yh(this,I),c)):(I.children.push(l),Wh(this,g,l),this.w=e,this.h=t,this[ul](),ql.success(Yh(this,I),c))}}])}(yh),zu=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"edge",!0])).cap=Ll(A.cap,["square","butt","round"]),t.id=A.id||"",t.presence=Ll(A.presence,["visible","hidden","inactive","invisible"]),t.stroke=Ll(A.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),t.thickness=Hl(A.thickness,"0.5pt"),t.use=A.use||"",t.usehref=A.usehref||"",t.color=null,t.extras=null,t}return x(e,A),b(e,[{key:Dl,value:function(){var A=Hh(this,"visibility");if(Object.assign(A,{linecap:this.cap,width:Rh(this.thickness),color:this.color?this.color[Dl]():"#000000",style:""}),"visible"!==this.presence)A.style="none";else switch(this.stroke){case"solid":A.style="solid";break;case"dashDot":case"dashDotDot":case"dashed":A.style="dashed";break;case"dotted":A.style="dotted";break;case"embossed":A.style="ridge";break;case"etched":A.style="groove";break;case"lowered":A.style="inset";break;case"raised":A.style="outset"}return A}}])}(yh),_u=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(wh),$u=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"encodings",!0])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t.encoding=new ph,t}return x(e,A),b(e)}(yh),AC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"encrypt",!0])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.certificate=null,t}return x(e,A),b(e)}(yh),eC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"encryptData",!0])).id=A.id||"",t.operation=Ll(A.operation,["encrypt","decrypt"]),t.target=A.target||"",t.use=A.use||"",t.usehref=A.usehref||"",t.filter=null,t.manifest=null,t}return x(e,A),b(e)}(yh),tC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"encryption",!0])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t.certificate=new ph,t}return x(e,A),b(e)}(yh),aC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(wh),iC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"encryptionMethods",!0])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t.encryptionMethod=new ph,t}return x(e,A),b(e)}(yh),nC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"event",!0])).activity=Ll(A.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]),t.id=A.id||"",t.listen=Ll(A.listen,["refOnly","refAndDescendents"]),t.name=A.name||"",t.ref=A.ref||"",t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t.encryptData=null,t.execute=null,t.script=null,t.signData=null,t.submit=null,t}return x(e,A),b(e)}(yh),rC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"exData"])).contentType=A.contentType||"",t.href=A.href||"",t.id=A.id||"",t.maxLength=Ul({data:A.maxLength,defaultValue:-1,validate:function(A){return A>=-1}}),t.name=A.name||"",t.rid=A.rid||"",t.transferEncoding=Ll(A.transferEncoding,["none","base64","package"]),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:zc,value:function(){return"text/html"===this.contentType}},{key:Il,value:function(A){return("text/html"===this.contentType&&A[gl]===Rl.xhtml.id||"text/xml"===this.contentType)&&(this[vc]=A,!0)}},{key:wl,value:function(A){return"text/html"===this.contentType&&this[vc]?this[vc][wl](A):ql.EMPTY}}])}(vh),gC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"exObject",!0])).archive=A.archive||"",t.classId=A.classId||"",t.codeBase=A.codeBase||"",t.codeType=A.codeType||"",t.id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t.boolean=new ph,t.date=new ph,t.dateTime=new ph,t.decimal=new ph,t.exData=new ph,t.exObject=new ph,t.float=new ph,t.image=new ph,t.integer=new ph,t.text=new ph,t.time=new ph,t}return x(e,A),b(e)}(yh),oC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"exclGroup",!0])).access=Ll(A.access,["open","nonInteractive","protected","readOnly"]),t.accessKey=A.accessKey||"",t.anchorType=Ll(A.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=Ul({data:A.colSpan,defaultValue:1,validate:function(A){return A>=1||-1===A}}),t.h=A.h?Hl(A.h):"",t.hAlign=Ll(A.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=A.id||"",t.layout=Ll(A.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),t.maxH=Hl(A.maxH,"0pt"),t.maxW=Hl(A.maxW,"0pt"),t.minH=Hl(A.minH,"0pt"),t.minW=Hl(A.minW,"0pt"),t.name=A.name||"",t.presence=Ll(A.presence,["visible","hidden","inactive","invisible"]),t.relevant=Kl(A.relevant),t.use=A.use||"",t.usehref=A.usehref||"",t.w=A.w?Hl(A.w):"",t.x=Hl(A.x,"0pt"),t.y=Hl(A.y,"0pt"),t.assist=null,t.bind=null,t.border=null,t.calculate=null,t.caption=null,t.desc=null,t.extras=null,t.margin=null,t.para=null,t.traversal=null,t.validate=null,t.connect=new ph,t.event=new ph,t.field=new ph,t.setProperty=new ph,t}return x(e,A),b(e,[{key:_c,value:function(){return!0}},{key:Oc,value:function(){return!0}},{key:pl,value:function(A){function e(e){return A.apply(this,arguments)}return e.toString=function(){return A.toString()},e}((function(A){var e,t=m(this.field.children);try{for(t.s();!(e=t.n()).done;){var a=e.value;if(!a.value){var i=new dB({});a[Ec](i),a.value=i}a.value[pl](A)}}catch(A){t.e(A)}finally{t.f()}}))},{key:al,value:function(){return this.layout.endsWith("-tb")&&0===this[Dc].attempt&&this[Dc].numberInLine>0||this[Pc]()[al]()}},{key:tl,value:function(){var A,e=this[Tc]();return!!e[tl]()&&(void 0!==this[Dc]._isSplittable?this[Dc]._isSplittable:"position"===this.layout||this.layout.includes("row")?(this[Dc]._isSplittable=!1,!1):!(null!==(A=e.layout)&&void 0!==A&&A.endsWith("-tb")&&0!==e[Dc].numberInLine||(this[Dc]._isSplittable=!0,0)))}},{key:Sc,value:function(){return Vh(this)}},{key:Qc,value:function(A,e){jh(this,A,e)}},{key:Gc,value:function(){return zh(this)}},{key:wl,value:function(A){if(su(this),"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return ql.EMPTY;Jh(this);var e=[],t={id:this[Fl],class:[]};qh(this,t.class),this[Dc]||(this[Dc]=Object.create(null)),Object.assign(this[Dc],{children:e,attributes:t,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,A.width),height:Math.min(this.h||1/0,A.height)},width:0,height:0,prevHeight:0,currentWidth:0});var a=this[tl]();if(a||hu(this),!_h(this,A))return ql.FAILURE;var i=new Set(["field"]);if(this.layout.includes("row")){var n=this[Tc]().columnWidths;Array.isArray(n)&&n.length>0&&(this[Dc].columnWidths=n,this[Dc].currentColumn=0)}var r=Hh(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),g=["xfaExclgroup"],o=Lh(this);o&&g.push(o),Th(this)&&g.push("xfaPrintOnly"),t.style=r,t.class=g,this.name&&(t.xfaName=this.name),this[Cl]();for(var s="lr-tb"===this.layout||"rl-tb"===this.layout,I=s?2:1;this[Dc].attempt<I;this[Dc].attempt++){s&&1===this[Dc].attempt&&(this[Dc].numberInLine=0);var c=this[fc]({filter:i,include:!0});if(c.success)break;if(c.isBreak())return this[ul](),c;if(s&&0===this[Dc].attempt&&0===this[Dc].numberInLine&&!this[Wc]()[Dc].noLayoutFailure){this[Dc].attempt=I;break}}if(this[ul](),a||uu(this),this[Dc].attempt===I)return a||delete this[Dc],ql.FAILURE;var l=0,h=0;this.margin&&(l=this.margin.leftInset+this.margin.rightInset,h=this.margin.topInset+this.margin.bottomInset);var u=Math.max(this[Dc].width+l,this.w||0),C=Math.max(this[Dc].height+h,this.h||0),B=[this.x,this.y,u,C];""===this.w&&(r.width=Rh(u)),""===this.h&&(r.height=Rh(C));var Q={name:"div",attributes:t,children:e};return Iu(this,t),delete this[Dc],ql.success(Yh(this,Q),B)}}])}(yh),sC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"execute"])).connection=A.connection||"",t.executeType=Ll(A.executeType,["import","remerge"]),t.id=A.id||"",t.runAt=Ll(A.runAt,["client","both","server"]),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(yh),IC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"extras",!0])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t.boolean=new ph,t.date=new ph,t.dateTime=new ph,t.decimal=new ph,t.exData=new ph,t.extras=new ph,t.float=new ph,t.image=new ph,t.integer=new ph,t.text=new ph,t.time=new ph,t}return x(e,A),b(e)}(yh),cC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"field",!0])).access=Ll(A.access,["open","nonInteractive","protected","readOnly"]),t.accessKey=A.accessKey||"",t.anchorType=Ll(A.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=Ul({data:A.colSpan,defaultValue:1,validate:function(A){return A>=1||-1===A}}),t.h=A.h?Hl(A.h):"",t.hAlign=Ll(A.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=A.id||"",t.locale=A.locale||"",t.maxH=Hl(A.maxH,"0pt"),t.maxW=Hl(A.maxW,"0pt"),t.minH=Hl(A.minH,"0pt"),t.minW=Hl(A.minW,"0pt"),t.name=A.name||"",t.presence=Ll(A.presence,["visible","hidden","inactive","invisible"]),t.relevant=Kl(A.relevant),t.rotate=Ul({data:A.rotate,defaultValue:0,validate:function(A){return A%90==0}}),t.use=A.use||"",t.usehref=A.usehref||"",t.w=A.w?Hl(A.w):"",t.x=Hl(A.x,"0pt"),t.y=Hl(A.y,"0pt"),t.assist=null,t.bind=null,t.border=null,t.calculate=null,t.caption=null,t.desc=null,t.extras=null,t.font=null,t.format=null,t.items=new ph(2),t.keep=null,t.margin=null,t.para=null,t.traversal=null,t.ui=null,t.validate=null,t.value=null,t.bindItems=new ph,t.connect=new ph,t.event=new ph,t.setProperty=new ph,t}return x(e,A),b(e,[{key:_c,value:function(){return!0}},{key:pl,value:function(A){function e(e){return A.apply(this,arguments)}return e.toString=function(){return A.toString()},e}((function(A){ru(this,A)}))},{key:wl,value:function(A){var e;if(su(this),!this.ui){var t;switch(this.ui=new EB({}),this.ui[Zc]=this[Zc],this[Ec](this.ui),this.items.children.length){case 0:t=new lB({}),this.ui.textEdit=t;break;case 1:t=new Uu({}),this.ui.checkButton=t;break;case 2:t=new Mu({}),this.ui.choiceList=t}this.ui[Ec](t)}if(!this.ui||"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return ql.EMPTY;this.caption&&delete this.caption[Dc],this[Cl]();var a=this.caption?this.caption[wl](A).html:null,i=this.w,n=this.h,r=0,g=0;this.margin&&(r=this.margin.leftInset+this.margin.rightInset,g=this.margin.topInset+this.margin.bottomInset);var o=null;if(""===this.w||""===this.h){var s=null,I=null,c=0,l=0;if(this.ui.checkButton)c=l=this.ui.checkButton.size;else{var h=Uh(this,A),u=h.w,C=h.h;null!==u?(c=u,l=C):l=function(A){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=null;if(A){var a=xl(A.typeface),i=A[Zc].fontFinder.find(a);t=Pl(A,i)}if(!t)return{lineHeight:12,lineGap:2,lineNoGap:10};var n=A.size||10,r=t.lineHeight?Math.max(e?0:1.2,t.lineHeight):1.2,g=void 0===t.lineGap?.2:t.lineGap;return{lineHeight:r*n,lineGap:g*n,lineNoGap:Math.max(1,r-g)*n}}(this.font,!0).lineNoGap}if(c+=(o=iu(this.ui[Lc]())).w,l+=o.h,this.caption){var B=this.caption[Lc](A),Q=B.w,E=B.h;if(B.isBroken&&this[Tc]()[al]())return this[ul](),ql.FAILURE;switch(s=Q,I=E,this.caption.placement){case"left":case"right":case"inline":s+=c;break;case"top":case"bottom":I+=l}}else s=c,I=l;s&&""===this.w&&(s+=r,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1<s?s:this.minW)),I&&""===this.h&&(I+=g,this.h=Math.min(this.maxH<=0?1/0:this.maxH,this.minH+1<I?I:this.minH))}if(this[ul](),Jh(this),hu(this),!_h(this,A))return this.w=i,this.h=n,this[ul](),ql.FAILURE;uu(this);var f=Hh(this,"font","dimensions","position","rotate","anchorType","presence","margin","hAlign");Gh(this,f);var y=["xfaField"];this.font&&y.push("xfaFont"),Th(this)&&y.push("xfaPrintOnly");var p={style:f,id:this[Fl],class:y};f.margin&&(f.padding=f.margin,delete f.margin),qh(this,y),this.name&&(p.xfaName=this.name);var m=[],k={name:"div",attributes:p,children:m};Iu(this,p);var v,w=this.border?this.border[Dl]():null,b=Mh(this,k,A),D=this.ui[wl]().html;if(!D)return Object.assign(f,w),ql.success(Yh(this,k),b);this[ml]&&(null!==(v=D.children)&&void 0!==v&&v[0]?D.children[0].attributes.tabindex=this[ml]:D.attributes.tabindex=this[ml]),D.attributes.style||(D.attributes.style=Object.create(null));var F=null;if(this.ui.button?(1===D.children.length&&(F=d(D.children.splice(0,1),1)[0]),Object.assign(D.attributes.style,w)):Object.assign(f,w),m.push(D),this.value)if(this.ui.imageEdit)D.children.push(this.value[wl]().html);else if(!this.ui.button){var S,R="";if(this.value.exData)R=this.value.exData[kl]();else if(this.value.text)R=this.value.text[Lc]();else{var N=this.value[wl]().html;null!==N&&(R=N.children[0].value)}this.ui.textEdit&&null!==(S=this.value.text)&&void 0!==S&&S.maxChars&&(D.children[0].attributes.maxLength=this.value.text.maxChars),R&&(this.ui.numericEdit&&(R=parseFloat(R),R=isNaN(R)?"":R.toString()),"textarea"===D.children[0].name?D.children[0].attributes.textContent=R:D.children[0].attributes.value=R)}if(!this.ui.imageEdit&&null!==(e=D.children)&&void 0!==e&&e[0]&&this.h){o=o||iu(this.ui[Lc]());var G=0;if(this.caption&&["top","bottom"].includes(this.caption.placement)){(G=this.caption.reserve)<=0&&(G=this.caption[Lc](A).h);var x=this.h-G-g-o.h;D.children[0].attributes.style.height=Rh(x)}else D.children[0].attributes.style.height="100%"}if(F&&D.children.push(F),!a)return D.attributes.class&&D.attributes.class.push("xfaLeft"),this.w=i,this.h=n,ql.success(Yh(this,k),b);if(this.ui.button)return f.padding&&delete f.padding,"div"===a.name&&(a.name="span"),D.children.push(a),ql.success(k,b);switch(this.ui.checkButton&&(a.attributes.class[0]="xfaCaptionForCheckButton"),D.attributes.class||(D.attributes.class=[]),D.children.splice(0,0,a),this.caption.placement){case"left":case"inline":D.attributes.class.push("xfaLeft");break;case"right":D.attributes.class.push("xfaRight");break;case"top":D.attributes.class.push("xfaTop");break;case"bottom":D.attributes.class.push("xfaBottom")}return this.w=i,this.h=n,ql.success(Yh(this,k),b)}}])}(yh),lC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"fill",!0])).id=A.id||"",t.presence=Ll(A.presence,["visible","hidden","inactive","invisible"]),t.use=A.use||"",t.usehref=A.usehref||"",t.color=null,t.extras=null,t.linear=null,t.pattern=null,t.radial=null,t.solid=null,t.stipple=null,t}return x(e,A),b(e,[{key:Dl,value:function(){var A,e=this[Pc](),t=e[Pc]()[Pc](),a=Object.create(null),i="color",n=i;e instanceof wu&&(i="background-color",n="background",t instanceof EB&&(a.backgroundColor="white")),(e instanceof VC||e instanceof Eu)&&(i=n="fill",a.fill="white");var r,g=m(Object.getOwnPropertyNames(this));try{for(g.s();!(r=g.n()).done;){var o=r.value;if("extras"!==o&&"color"!==o){var s=this[o];if(s instanceof yh){var I=s[Dl](this.color);return I&&(a[I.startsWith("#")?i:n]=I),a}}}}catch(A){g.e(A)}finally{g.f()}if(null!==(A=this.color)&&void 0!==A&&A.value){var c=this.color[Dl]();a[c.startsWith("#")?i:n]=c}return a}}])}(yh),hC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"filter",!0])).addRevocationInfo=Ll(A.addRevocationInfo,["","required","optional","none"]),t.id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t.version=Ul({data:t.version,defaultValue:5,validate:function(A){return A>=1&&A<=5}}),t.appearanceFilter=null,t.certificates=null,t.digestMethods=null,t.encodings=null,t.encryptionMethods=null,t.handler=null,t.lockDocument=null,t.mdp=null,t.reasons=null,t.timeStamp=null,t}return x(e,A),b(e)}(yh),uC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"float"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:Fc,value:function(){var A=parseFloat(this[vc].trim());this[vc]=isNaN(A)?null:A}},{key:wl,value:function(A){return lu(null!==this[vc]?this[vc].toString():"")}}])}(vh),CC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"font",!0])).baselineShift=Hl(A.baselineShift),t.fontHorizontalScale=Ml({data:A.fontHorizontalScale,defaultValue:100,validate:function(A){return A>=0}}),t.fontVerticalScale=Ml({data:A.fontVerticalScale,defaultValue:100,validate:function(A){return A>=0}}),t.id=A.id||"",t.kerningMode=Ll(A.kerningMode,["none","pair"]),t.letterSpacing=Hl(A.letterSpacing,"0"),t.lineThrough=Ul({data:A.lineThrough,defaultValue:0,validate:function(A){return 1===A||2===A}}),t.lineThroughPeriod=Ll(A.lineThroughPeriod,["all","word"]),t.overline=Ul({data:A.overline,defaultValue:0,validate:function(A){return 1===A||2===A}}),t.overlinePeriod=Ll(A.overlinePeriod,["all","word"]),t.posture=Ll(A.posture,["normal","italic"]),t.size=Hl(A.size,"10pt"),t.typeface=A.typeface||"Courier",t.underline=Ul({data:A.underline,defaultValue:0,validate:function(A){return 1===A||2===A}}),t.underlinePeriod=Ll(A.underlinePeriod,["all","word"]),t.use=A.use||"",t.usehref=A.usehref||"",t.weight=Ll(A.weight,["normal","bold"]),t.extras=null,t.fill=null,t}return x(e,A),b(e,[{key:dc,value:function(A){i(G(e.prototype),dc,this).call(this,A),this[Zc].usedTypefaces.add(this.typeface)}},{key:Dl,value:function(){var A=Hh(this,"fill"),e=A.color;return e&&("#000000"===e?delete A.color:e.startsWith("#")||(A.background=e,A.backgroundClip="text",A.color="transparent")),this.baselineShift&&(A.verticalAlign=Rh(this.baselineShift)),A.fontKerning="none"===this.kerningMode?"none":"normal",A.letterSpacing=Rh(this.letterSpacing),0!==this.lineThrough&&(A.textDecoration="line-through",2===this.lineThrough&&(A.textDecorationStyle="double")),0!==this.overline&&(A.textDecoration="overline",2===this.overline&&(A.textDecorationStyle="double")),A.fontStyle=this.posture,A.fontSize=Rh(.99*this.size),Zh(this,this,this[Zc].fontFinder,A),0!==this.underline&&(A.textDecoration="underline",2===this.underline&&(A.textDecorationStyle="double")),A.fontWeight=this.weight,A}}])}(yh),BC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"format",!0])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t.picture=null,t}return x(e,A),b(e)}(yh),QC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"handler"])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),EC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"hyphenation"])).excludeAllCaps=Ul({data:A.excludeAllCaps,defaultValue:0,validate:function(A){return 1===A}}),t.excludeInitialCap=Ul({data:A.excludeInitialCap,defaultValue:0,validate:function(A){return 1===A}}),t.hyphenate=Ul({data:A.hyphenate,defaultValue:0,validate:function(A){return 1===A}}),t.id=A.id||"",t.pushCharacterCount=Ul({data:A.pushCharacterCount,defaultValue:3,validate:function(A){return A>=0}}),t.remainCharacterCount=Ul({data:A.remainCharacterCount,defaultValue:3,validate:function(A){return A>=0}}),t.use=A.use||"",t.usehref=A.usehref||"",t.wordCharacterCount=Ul({data:A.wordCharacterCount,defaultValue:7,validate:function(A){return A>=0}}),t}return x(e,A),b(e)}(yh),fC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"image"])).aspect=Ll(A.aspect,["fit","actual","height","none","width"]),t.contentType=A.contentType||"",t.href=A.href||"",t.id=A.id||"",t.name=A.name||"",t.transferEncoding=Ll(A.transferEncoding,["base64","none","package"]),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:wl,value:function(){if(this.contentType&&!tu.has(this.contentType.toLowerCase()))return ql.EMPTY;var A=this[Zc].images&&this[Zc].images.get(this.href);if(!A&&(this.href||!this[vc]))return ql.EMPTY;if(A||"base64"!==this.transferEncoding||(A=DA(atob(this[vc]))),!A)return ql.EMPTY;if(!this.contentType){for(var e=0,t=au;e<t.length;e++){var a=d(t[e],2),i=a[0],n=a[1];if(A.length>i.length&&i.every((function(e,t){return e===A[t]}))){this.contentType=n;break}}if(!this.contentType)return ql.EMPTY}var r,g=new Blob([A],{type:this.contentType});switch(this.aspect){case"fit":case"actual":break;case"height":r={height:"100%",objectFit:"fill"};break;case"none":r={width:"100%",height:"100%",objectFit:"fill"};break;case"width":r={width:"100%",objectFit:"fill"}}var o=this[Pc]();return ql.success({name:"img",attributes:{class:["xfaImage"],style:r,src:URL.createObjectURL(g),alt:o?cu(o[Pc]()):null}})}}])}(bh),dC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"imageEdit",!0])).data=Ll(A.data,["link","embed"]),t.id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.border=null,t.extras=null,t.margin=null,t}return x(e,A),b(e,[{key:wl,value:function(A){return"embed"===this.data?ql.success({name:"div",children:[],attributes:{}}):ql.EMPTY}}])}(yh),yC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"integer"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:Fc,value:function(){var A=parseInt(this[vc].trim(),10);this[vc]=isNaN(A)?null:A}},{key:wl,value:function(A){return lu(null!==this[vc]?this[vc].toString():"")}}])}(vh),pC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"issuers",!0])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t.certificate=new ph,t}return x(e,A),b(e)}(yh),mC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"items",!0])).id=A.id||"",t.name=A.name||"",t.presence=Ll(A.presence,["visible","hidden","inactive","invisible"]),t.ref=A.ref||"",t.save=Ul({data:A.save,defaultValue:0,validate:function(A){return 1===A}}),t.use=A.use||"",t.usehref=A.usehref||"",t.boolean=new ph,t.date=new ph,t.dateTime=new ph,t.decimal=new ph,t.exData=new ph,t.float=new ph,t.image=new ph,t.integer=new ph,t.text=new ph,t.time=new ph,t}return x(e,A),b(e,[{key:wl,value:function(){var A,e=[],t=m(this[Yc]());try{for(t.s();!(A=t.n()).done;){var a=A.value;e.push(a[kl]())}}catch(A){t.e(A)}finally{t.f()}return ql.success(e)}}])}(yh),kC=function(A){function e(A){var t;F(this,e),(t=S(this,e,[$h,"keep",!0])).id=A.id||"";var a=["none","contentArea","pageArea"];return t.intact=Ll(A.intact,a),t.next=Ll(A.next,a),t.previous=Ll(A.previous,a),t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t}return x(e,A),b(e)}(yh),vC=function(A){function e(A){var t;F(this,e);var a=["","yes","no"];return(t=S(this,e,[$h,"keyUsage"])).crlSign=Ll(A.crlSign,a),t.dataEncipherment=Ll(A.dataEncipherment,a),t.decipherOnly=Ll(A.decipherOnly,a),t.digitalSignature=Ll(A.digitalSignature,a),t.encipherOnly=Ll(A.encipherOnly,a),t.id=A.id||"",t.keyAgreement=Ll(A.keyAgreement,a),t.keyCertSign=Ll(A.keyCertSign,a),t.keyEncipherment=Ll(A.keyEncipherment,a),t.nonRepudiation=Ll(A.nonRepudiation,a),t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(yh),wC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"line",!0])).hand=Ll(A.hand,["even","left","right"]),t.id=A.id||"",t.slope=Ll(A.slope,["\\","/"]),t.use=A.use||"",t.usehref=A.usehref||"",t.edge=null,t}return x(e,A),b(e,[{key:wl,value:function(){var A,e,t,a,i=this[Pc]()[Pc](),n=this.edge||new zu({}),r=n[Dl](),g=Object.create(null),o="visible"===n.presence?n.thickness:0;g.strokeWidth=Rh(o),g.stroke=r.color;var s="100%",I="100%";i.w<=o?(A="50%",e=0,t="50%",a="100%",s=g.strokeWidth):i.h<=o?(A=0,e="50%",t="100%",a="50%",I=g.strokeWidth):"\\"===this.slope?(A=0,e=0,t="100%",a="100%"):(A=0,e="100%",t="100%",a=0);var c={name:"svg",children:[{name:"line",attributes:{xmlns:Au,x1:A,y1:e,x2:t,y2:a,style:g}}],attributes:{xmlns:Au,width:s,height:I,style:{overflow:"visible"}}};return nu(i)?ql.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[c]}):(c.attributes.style.position="absolute",ql.success(c))}}])}(yh),bC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"linear",!0])).id=A.id||"",t.type=Ll(A.type,["toRight","toBottom","toLeft","toTop"]),t.use=A.use||"",t.usehref=A.usehref||"",t.color=null,t.extras=null,t}return x(e,A),b(e,[{key:Dl,value:function(A){A=A?A[Dl]():"#FFFFFF";var e=this.type.replace(/([RBLT])/," $1").toLowerCase(),t=this.color?this.color[Dl]():"#000000";return"linear-gradient(".concat(e,", ").concat(A,", ").concat(t,")")}}])}(yh),DC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"lockDocument"])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:Fc,value:function(){this[vc]=Ll(this[vc],["auto","0","1"])}}])}(vh),FC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"manifest",!0])).action=Ll(A.action,["include","all","exclude"]),t.id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t.ref=new ph,t}return x(e,A),b(e)}(yh),SC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"margin",!0])).bottomInset=Hl(A.bottomInset,"0"),t.id=A.id||"",t.leftInset=Hl(A.leftInset,"0"),t.rightInset=Hl(A.rightInset,"0"),t.topInset=Hl(A.topInset,"0"),t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t}return x(e,A),b(e,[{key:Dl,value:function(){return{margin:Rh(this.topInset)+" "+Rh(this.rightInset)+" "+Rh(this.bottomInset)+" "+Rh(this.leftInset)}}}])}(yh),RC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"mdp"])).id=A.id||"",t.permissions=Ul({data:A.permissions,defaultValue:2,validate:function(A){return 1===A||3===A}}),t.signatureType=Ll(A.signatureType,["filler","author"]),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(yh),NC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"medium"])).id=A.id||"",t.imagingBBox=function(A){var e=-1;if(!A)return{x:e,y:e,width:e,height:e};var t=A.trim().split(/\s*,\s*/).map((function(A){return Hl(A,"-1")}));if(t.length<4||t[2]<0||t[3]<0)return{x:e,y:e,width:e,height:e};var a=d(t,4);return{x:a[0],y:a[1],width:a[2],height:a[3]}}(A.imagingBBox),t.long=Hl(A.long),t.orientation=Ll(A.orientation,["portrait","landscape"]),t.short=Hl(A.short),t.stock=A.stock||"",t.trayIn=Ll(A.trayIn,["auto","delegate","pageFront"]),t.trayOut=Ll(A.trayOut,["auto","delegate"]),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(yh),GC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"message",!0])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.text=new ph,t}return x(e,A),b(e)}(yh),xC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"numericEdit",!0])).hScrollPolicy=Ll(A.hScrollPolicy,["auto","off","on"]),t.id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.border=null,t.comb=null,t.extras=null,t.margin=null,t}return x(e,A),b(e,[{key:wl,value:function(A){var e,t=Hh(this,"border","font","margin"),a=this[Pc]()[Pc](),i={name:"input",attributes:{type:"text",fieldId:a[Fl],dataId:(null===(e=a[wc])||void 0===e?void 0:e[Fl])||a[Fl],class:["xfaTextfield"],style:t,"aria-label":cu(a),"aria-required":!1}};return ou(a)&&(i.attributes["aria-required"]=!0,i.attributes.required=!0),ql.success({name:"label",attributes:{class:["xfaLabel"]},children:[i]})}}])}(yh),UC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"occur",!0])).id=A.id||"",t.initial=""!==A.initial?Ul({data:A.initial,defaultValue:"",validate:function(A){return!0}}):"",t.max=""!==A.max?Ul({data:A.max,defaultValue:1,validate:function(A){return!0}}):"",t.min=""!==A.min?Ul({data:A.min,defaultValue:1,validate:function(A){return!0}}):"",t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t}return x(e,A),b(e,[{key:dc,value:function(){var A=this[Pc](),e=this.min;""===this.min&&(this.min=A instanceof HC||A instanceof YC?0:1),""===this.max&&(this.max=""===e?A instanceof HC||A instanceof YC?-1:1:this.min),-1!==this.max&&this.max<this.min&&(this.max=this.min),""===this.initial&&(this.initial=A instanceof IB?1:this.min)}}])}(yh),MC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"oid"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),JC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"oids",!0])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t.oid=new ph,t}return x(e,A),b(e)}(yh),LC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"overflow"])).id=A.id||"",t.leader=A.leader||"",t.target=A.target||"",t.trailer=A.trailer||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:Lc,value:function(){if(!this[Dc]){var A=this[Pc](),e=this[Wc](),t=e[fl](this.target,A),a=e[fl](this.leader,A),i=e[fl](this.trailer,A);this[Dc]={target:(null==t?void 0:t[0])||null,leader:(null==a?void 0:a[0])||null,trailer:(null==i?void 0:i[0])||null,addLeader:!1,addTrailer:!1}}return this[Dc]}}])}(yh),HC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"pageArea",!0])).blankOrNotBlank=Ll(A.blankOrNotBlank,["any","blank","notBlank"]),t.id=A.id||"",t.initialNumber=Ul({data:A.initialNumber,defaultValue:1,validate:function(A){return!0}}),t.name=A.name||"",t.numbered=Ul({data:A.numbered,defaultValue:1,validate:function(A){return!0}}),t.oddOrEven=Ll(A.oddOrEven,["any","even","odd"]),t.pagePosition=Ll(A.pagePosition,["any","first","last","only","rest"]),t.relevant=Kl(A.relevant),t.use=A.use||"",t.usehref=A.usehref||"",t.desc=null,t.extras=null,t.medium=null,t.occur=null,t.area=new ph,t.contentArea=new ph,t.draw=new ph,t.exclGroup=new ph,t.field=new ph,t.subform=new ph,t}return x(e,A),b(e,[{key:nl,value:function(){return this[Dc]?!this.occur||-1===this.occur.max||this[Dc].numberOfUse<this.occur.max:(this[Dc]={numberOfUse:0},!0)}},{key:yc,value:function(){delete this[Dc]}},{key:qc,value:function(){this[Dc]||(this[Dc]={numberOfUse:0});var A=this[Pc]();return"orderedOccurrence"===A.relation&&this[nl]()?(this[Dc].numberOfUse+=1,this):A[qc]()}},{key:Gc,value:function(){return this[Dc].space||{width:0,height:0}}},{key:wl,value:function(){this[Dc]||(this[Dc]={numberOfUse:1});var A=[];this[Dc].children=A;var e=Object.create(null);if(this.medium&&this.medium.short&&this.medium.long){if(e.width=Rh(this.medium.short),e.height=Rh(this.medium.long),this[Dc].space={width:this.medium.short,height:this.medium.long},"landscape"===this.medium.orientation){var t=e.width;e.width=e.height,e.height=t,this[Dc].space={width:this.medium.long,height:this.medium.short}}}else uA("XFA - No medium specified in pageArea: please file a bug.");return this[fc]({filter:new Set(["area","draw","field","subform"]),include:!0}),this[fc]({filter:new Set(["contentArea"]),include:!0}),ql.success({name:"div",children:A,attributes:{class:["xfaPage"],id:this[Fl],style:e,xfaName:this.name}})}}])}(yh),YC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"pageSet",!0])).duplexImposition=Ll(A.duplexImposition,["longEdge","shortEdge"]),t.id=A.id||"",t.name=A.name||"",t.relation=Ll(A.relation,["orderedOccurrence","duplexPaginated","simplexPaginated"]),t.relevant=Kl(A.relevant),t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t.occur=null,t.pageArea=new ph,t.pageSet=new ph,t}return x(e,A),b(e,[{key:yc,value:function(){var A,e=m(this.pageArea.children);try{for(e.s();!(A=e.n()).done;)A.value[yc]()}catch(A){e.e(A)}finally{e.f()}var t,a=m(this.pageSet.children);try{for(a.s();!(t=a.n()).done;)t.value[yc]()}catch(A){a.e(A)}finally{a.f()}}},{key:nl,value:function(){return!this.occur||-1===this.occur.max||this[Dc].numberOfUse<this.occur.max}},{key:qc,value:function(){if(this[Dc]||(this[Dc]={numberOfUse:1,pageIndex:-1,pageSetIndex:-1}),"orderedOccurrence"===this.relation){if(this[Dc].pageIndex+1<this.pageArea.children.length)return this[Dc].pageIndex+=1,this.pageArea.children[this[Dc].pageIndex][qc]();if(this[Dc].pageSetIndex+1<this.pageSet.children.length)return this[Dc].pageSetIndex+=1,this.pageSet.children[this[Dc].pageSetIndex][qc]();if(this[nl]())return this[Dc].numberOfUse+=1,this[Dc].pageIndex=-1,this[Dc].pageSetIndex=-1,this[qc]();var A=this[Pc]();return A instanceof e?A[qc]():(this[yc](),this[qc]())}var t=this[Wc]()[Dc].pageNumber,a=t%2==0?"even":"odd",i=0===t?"first":"rest",n=this.pageArea.children.find((function(A){return A.oddOrEven===a&&A.pagePosition===i}));return n||((n=this.pageArea.children.find((function(A){return"any"===A.oddOrEven&&A.pagePosition===i})))?n:(n=this.pageArea.children.find((function(A){return"any"===A.oddOrEven&&"any"===A.pagePosition})))||this.pageArea.children[0])}}])}(yh),KC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"para",!0])).hAlign=Ll(A.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=A.id||"",t.lineHeight=A.lineHeight?Hl(A.lineHeight,"0pt"):"",t.marginLeft=A.marginLeft?Hl(A.marginLeft,"0pt"):"",t.marginRight=A.marginRight?Hl(A.marginRight,"0pt"):"",t.orphans=Ul({data:A.orphans,defaultValue:0,validate:function(A){return A>=0}}),t.preserve=A.preserve||"",t.radixOffset=A.radixOffset?Hl(A.radixOffset,"0pt"):"",t.spaceAbove=A.spaceAbove?Hl(A.spaceAbove,"0pt"):"",t.spaceBelow=A.spaceBelow?Hl(A.spaceBelow,"0pt"):"",t.tabDefault=A.tabDefault?Hl(t.tabDefault):"",t.tabStops=(A.tabStops||"").trim().split(/\s+/).map((function(A,e){return e%2==1?Hl(A):A})),t.textIndent=A.textIndent?Hl(A.textIndent,"0pt"):"",t.use=A.use||"",t.usehref=A.usehref||"",t.vAlign=Ll(A.vAlign,["top","bottom","middle"]),t.widows=Ul({data:A.widows,defaultValue:0,validate:function(A){return A>=0}}),t.hyphenation=null,t}return x(e,A),b(e,[{key:Dl,value:function(){var A=Hh(this,"hAlign");return""!==this.marginLeft&&(A.paddingLeft=Rh(this.marginLeft)),""!==this.marginRight&&(A.paddingight=Rh(this.marginRight)),""!==this.spaceAbove&&(A.paddingTop=Rh(this.spaceAbove)),""!==this.spaceBelow&&(A.paddingBottom=Rh(this.spaceBelow)),""!==this.textIndent&&(A.textIndent=Rh(this.textIndent),Kh(A)),this.lineHeight>0&&(A.lineHeight=Rh(this.lineHeight)),""!==this.tabDefault&&(A.tabSize=Rh(this.tabDefault)),this.tabStops.length,this.hyphenatation&&Object.assign(A,this.hyphenatation[Dl]()),A}}])}(yh),qC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"passwordEdit",!0])).hScrollPolicy=Ll(A.hScrollPolicy,["auto","off","on"]),t.id=A.id||"",t.passwordChar=A.passwordChar||"*",t.use=A.use||"",t.usehref=A.usehref||"",t.border=null,t.extras=null,t.margin=null,t}return x(e,A),b(e)}(yh),TC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"pattern",!0])).id=A.id||"",t.type=Ll(A.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),t.use=A.use||"",t.usehref=A.usehref||"",t.color=null,t.extras=null,t}return x(e,A),b(e,[{key:Dl,value:function(A){A=A?A[Dl]():"#FFFFFF";var e=this.color?this.color[Dl]():"#000000",t="repeating-linear-gradient",a="".concat(A,",").concat(A," ").concat(5,"px,").concat(e," ").concat(5,"px,").concat(e," ").concat(10,"px");switch(this.type){case"crossHatch":return"".concat(t,"(to top,").concat(a,") ").concat(t,"(to right,").concat(a,")");case"crossDiagonal":return"".concat(t,"(45deg,").concat(a,") ").concat(t,"(-45deg,").concat(a,")");case"diagonalLeft":return"".concat(t,"(45deg,").concat(a,")");case"diagonalRight":return"".concat(t,"(-45deg,").concat(a,")");case"horizontal":return"".concat(t,"(to top,").concat(a,")");case"vertical":return"".concat(t,"(to right,").concat(a,")")}return""}}])}(yh),PC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"picture"])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),WC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"proto",!0])).appearanceFilter=new ph,t.arc=new ph,t.area=new ph,t.assist=new ph,t.barcode=new ph,t.bindItems=new ph,t.bookend=new ph,t.boolean=new ph,t.border=new ph,t.break=new ph,t.breakAfter=new ph,t.breakBefore=new ph,t.button=new ph,t.calculate=new ph,t.caption=new ph,t.certificate=new ph,t.certificates=new ph,t.checkButton=new ph,t.choiceList=new ph,t.color=new ph,t.comb=new ph,t.connect=new ph,t.contentArea=new ph,t.corner=new ph,t.date=new ph,t.dateTime=new ph,t.dateTimeEdit=new ph,t.decimal=new ph,t.defaultUi=new ph,t.desc=new ph,t.digestMethod=new ph,t.digestMethods=new ph,t.draw=new ph,t.edge=new ph,t.encoding=new ph,t.encodings=new ph,t.encrypt=new ph,t.encryptData=new ph,t.encryption=new ph,t.encryptionMethod=new ph,t.encryptionMethods=new ph,t.event=new ph,t.exData=new ph,t.exObject=new ph,t.exclGroup=new ph,t.execute=new ph,t.extras=new ph,t.field=new ph,t.fill=new ph,t.filter=new ph,t.float=new ph,t.font=new ph,t.format=new ph,t.handler=new ph,t.hyphenation=new ph,t.image=new ph,t.imageEdit=new ph,t.integer=new ph,t.issuers=new ph,t.items=new ph,t.keep=new ph,t.keyUsage=new ph,t.line=new ph,t.linear=new ph,t.lockDocument=new ph,t.manifest=new ph,t.margin=new ph,t.mdp=new ph,t.medium=new ph,t.message=new ph,t.numericEdit=new ph,t.occur=new ph,t.oid=new ph,t.oids=new ph,t.overflow=new ph,t.pageArea=new ph,t.pageSet=new ph,t.para=new ph,t.passwordEdit=new ph,t.pattern=new ph,t.picture=new ph,t.radial=new ph,t.reason=new ph,t.reasons=new ph,t.rectangle=new ph,t.ref=new ph,t.script=new ph,t.setProperty=new ph,t.signData=new ph,t.signature=new ph,t.signing=new ph,t.solid=new ph,t.speak=new ph,t.stipple=new ph,t.subform=new ph,t.subformSet=new ph,t.subjectDN=new ph,t.subjectDNs=new ph,t.submit=new ph,t.text=new ph,t.textEdit=new ph,t.time=new ph,t.timeStamp=new ph,t.toolTip=new ph,t.traversal=new ph,t.traverse=new ph,t.ui=new ph,t.validate=new ph,t.value=new ph,t.variables=new ph,t}return x(e,A),b(e)}(yh),ZC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"radial",!0])).id=A.id||"",t.type=Ll(A.type,["toEdge","toCenter"]),t.use=A.use||"",t.usehref=A.usehref||"",t.color=null,t.extras=null,t}return x(e,A),b(e,[{key:Dl,value:function(A){A=A?A[Dl]():"#FFFFFF";var e=this.color?this.color[Dl]():"#000000",t="toEdge"===this.type?"".concat(A,",").concat(e):"".concat(e,",").concat(A);return"radial-gradient(circle at center, ".concat(t,")")}}])}(yh),OC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"reason"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),XC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"reasons",!0])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t.reason=new ph,t}return x(e,A),b(e)}(yh),VC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"rectangle",!0])).hand=Ll(A.hand,["even","left","right"]),t.id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.corner=new ph(4),t.edge=new ph(4),t.fill=null,t}return x(e,A),b(e,[{key:wl,value:function(){var A,e=this.edge.children.length?this.edge.children[0]:new zu({}),t=e[Dl](),a=Object.create(null);"visible"===(null===(A=this.fill)||void 0===A?void 0:A.presence)?Object.assign(a,this.fill[Dl]()):a.fill="transparent",a.strokeWidth=Rh("visible"===e.presence?e.thickness:0),a.stroke=t.color;var i=(this.corner.children.length?this.corner.children[0]:new Ku({}))[Dl](),n={name:"svg",children:[{name:"rect",attributes:{xmlns:Au,width:"100%",height:"100%",x:0,y:0,rx:i.radius,ry:i.radius,style:a}}],attributes:{xmlns:Au,style:{overflow:"visible"},width:"100%",height:"100%"}};return nu(this[Pc]()[Pc]())?ql.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[n]}):(n.attributes.style.position="absolute",ql.success(n))}}])}(yh),jC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"ref"])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),zC=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"script"])).binding=A.binding||"",t.contentType=A.contentType||"",t.id=A.id||"",t.name=A.name||"",t.runAt=Ll(A.runAt,["client","both","server"]),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),_C=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"setProperty"])).connection=A.connection||"",t.ref=A.ref||"",t.target=A.target||"",t}return x(e,A),b(e)}(yh),$C=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"signData",!0])).id=A.id||"",t.operation=Ll(A.operation,["sign","clear","verify"]),t.ref=A.ref||"",t.target=A.target||"",t.use=A.use||"",t.usehref=A.usehref||"",t.filter=null,t.manifest=null,t}return x(e,A),b(e)}(yh),AB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"signature",!0])).id=A.id||"",t.type=Ll(A.type,["PDF1.3","PDF1.6"]),t.use=A.use||"",t.usehref=A.usehref||"",t.border=null,t.extras=null,t.filter=null,t.manifest=null,t.margin=null,t}return x(e,A),b(e)}(yh),eB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"signing",!0])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t.certificate=new ph,t}return x(e,A),b(e)}(yh),tB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"solid",!0])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t}return x(e,A),b(e,[{key:Dl,value:function(A){return A?A[Dl]():"#FFFFFF"}}])}(yh),aB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"speak"])).disable=Ul({data:A.disable,defaultValue:0,validate:function(A){return 1===A}}),t.id=A.id||"",t.priority=Ll(A.priority,["custom","caption","name","toolTip"]),t.rid=A.rid||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),iB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"stipple",!0])).id=A.id||"",t.rate=Ul({data:A.rate,defaultValue:50,validate:function(A){return A>=0&&A<=100}}),t.use=A.use||"",t.usehref=A.usehref||"",t.color=null,t.extras=null,t}return x(e,A),b(e,[{key:Dl,value:function(A){var e=this.rate/100;return GA.makeHexColor(Math.round(A.value.r*(1-e)+this.value.r*e),Math.round(A.value.g*(1-e)+this.value.g*e),Math.round(A.value.b*(1-e)+this.value.b*e))}}])}(yh),nB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"subform",!0])).access=Ll(A.access,["open","nonInteractive","protected","readOnly"]),t.allowMacro=Ul({data:A.allowMacro,defaultValue:0,validate:function(A){return 1===A}}),t.anchorType=Ll(A.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=Ul({data:A.colSpan,defaultValue:1,validate:function(A){return A>=1||-1===A}}),t.columnWidths=(A.columnWidths||"").trim().split(/\s+/).map((function(A){return"-1"===A?-1:Hl(A)})),t.h=A.h?Hl(A.h):"",t.hAlign=Ll(A.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=A.id||"",t.layout=Ll(A.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),t.locale=A.locale||"",t.maxH=Hl(A.maxH,"0pt"),t.maxW=Hl(A.maxW,"0pt"),t.mergeMode=Ll(A.mergeMode,["consumeData","matchTemplate"]),t.minH=Hl(A.minH,"0pt"),t.minW=Hl(A.minW,"0pt"),t.name=A.name||"",t.presence=Ll(A.presence,["visible","hidden","inactive","invisible"]),t.relevant=Kl(A.relevant),t.restoreState=Ll(A.restoreState,["manual","auto"]),t.scope=Ll(A.scope,["name","none"]),t.use=A.use||"",t.usehref=A.usehref||"",t.w=A.w?Hl(A.w):"",t.x=Hl(A.x,"0pt"),t.y=Hl(A.y,"0pt"),t.assist=null,t.bind=null,t.bookend=null,t.border=null,t.break=null,t.calculate=null,t.desc=null,t.extras=null,t.keep=null,t.margin=null,t.occur=null,t.overflow=null,t.pageSet=null,t.para=null,t.traversal=null,t.validate=null,t.variables=null,t.area=new ph,t.breakAfter=new ph,t.breakBefore=new ph,t.connect=new ph,t.draw=new ph,t.event=new ph,t.exObject=new ph,t.exclGroup=new ph,t.field=new ph,t.proto=new ph,t.setProperty=new ph,t.subform=new ph,t.subformSet=new ph,t}return x(e,A),b(e,[{key:Tc,value:function(){var A=this[Pc]();return A instanceof rB?A[Tc]():A}},{key:_c,value:function(){return!0}},{key:al,value:function(){return this.layout.endsWith("-tb")&&0===this[Dc].attempt&&this[Dc].numberInLine>0||this[Pc]()[al]()}},{key:Kc,value:B().mark((function A(){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.delegateYield(gu(this),"t0",1);case 1:case"end":return A.stop()}}),A,this)}))},{key:Sc,value:function(){return Vh(this)}},{key:Qc,value:function(A,e){jh(this,A,e)}},{key:Gc,value:function(){return zh(this)}},{key:tl,value:function(){var A,e=this[Tc]();return!!e[tl]()&&(void 0!==this[Dc]._isSplittable?this[Dc]._isSplittable:"position"===this.layout||this.layout.includes("row")||this.keep&&"none"!==this.keep.intact?(this[Dc]._isSplittable=!1,!1):!(null!==(A=e.layout)&&void 0!==A&&A.endsWith("-tb")&&0!==e[Dc].numberInLine||(this[Dc]._isSplittable=!0,0)))}},{key:wl,value:function(A){var e;if(su(this),this.break){if("auto"!==this.break.after||""!==this.break.afterTarget){var t=new Du({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});t[Zc]=this[Zc],this[Ec](t),this.breakAfter.push(t)}if("auto"!==this.break.before||""!==this.break.beforeTarget){var a=new Fu({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});a[Zc]=this[Zc],this[Ec](a),this.breakBefore.push(a)}if(""!==this.break.overflowTarget){var i=new LC({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});i[Zc]=this[Zc],this[Ec](i),this.overflow.push(i)}this[Bl](this.break),this.break=null}if("hidden"===this.presence||"inactive"===this.presence)return ql.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&uA("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){var n=this.breakBefore.children[0];if(Cu(n))return ql.breakNode(n)}if(null!==(e=this[Dc])&&void 0!==e&&e.afterBreakAfter)return ql.EMPTY;Jh(this);var r=[],g={id:this[Fl],class:[]};qh(this,g.class),this[Dc]||(this[Dc]=Object.create(null)),Object.assign(this[Dc],{children:r,line:null,attributes:g,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,A.width),height:Math.min(this.h||1/0,A.height)},width:0,height:0,prevHeight:0,currentWidth:0});var o=this[Wc](),s=o[Dc].noLayoutFailure,I=this[tl]();if(I||hu(this),!_h(this,A))return ql.FAILURE;var c=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){var l=this[Tc]().columnWidths;Array.isArray(l)&&l.length>0&&(this[Dc].columnWidths=l,this[Dc].currentColumn=0)}var h=Hh(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),u=["xfaSubform"],C=Lh(this);if(C&&u.push(C),g.style=h,g.class=u,this.name&&(g.xfaName=this.name),this.overflow){var B=this.overflow[Lc]();B.addLeader&&(B.addLeader=!1,Bu(this,B.leader,A))}this[Cl]();for(var Q="lr-tb"===this.layout||"rl-tb"===this.layout,E=Q?2:1;this[Dc].attempt<E;this[Dc].attempt++){Q&&1===this[Dc].attempt&&(this[Dc].numberInLine=0);var f=this[fc]({filter:c,include:!0});if(f.success)break;if(f.isBreak())return this[ul](),f;if(Q&&0===this[Dc].attempt&&0===this[Dc].numberInLine&&!o[Dc].noLayoutFailure){this[Dc].attempt=E;break}}if(this[ul](),I||uu(this),o[Dc].noLayoutFailure=s,this[Dc].attempt===E)return this.overflow&&(this[Wc]()[Dc].overflowNode=this.overflow),I||delete this[Dc],ql.FAILURE;if(this.overflow){var d=this.overflow[Lc]();d.addTrailer&&(d.addTrailer=!1,Bu(this,d.trailer,A))}var y=0,p=0;this.margin&&(y=this.margin.leftInset+this.margin.rightInset,p=this.margin.topInset+this.margin.bottomInset);var m=Math.max(this[Dc].width+y,this.w||0),k=Math.max(this[Dc].height+p,this.h||0),v=[this.x,this.y,m,k];if(""===this.w&&(h.width=Rh(m)),""===this.h&&(h.height=Rh(k)),("0px"===h.width||"0px"===h.height)&&0===r.length)return ql.EMPTY;var w={name:"div",attributes:g,children:r};Iu(this,g);var b=ql.success(Yh(this,w),v);if(this.breakAfter.children.length>=1){var D=this.breakAfter.children[0];if(Cu(D))return this[Dc].afterBreakAfter=b,ql.breakNode(D)}return delete this[Dc],b}}])}(yh),rB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"subformSet",!0])).id=A.id||"",t.name=A.name||"",t.relation=Ll(A.relation,["ordered","choice","unordered"]),t.relevant=Kl(A.relevant),t.use=A.use||"",t.usehref=A.usehref||"",t.bookend=null,t.break=null,t.desc=null,t.extras=null,t.occur=null,t.overflow=null,t.breakAfter=new ph,t.breakBefore=new ph,t.subform=new ph,t.subformSet=new ph,t}return x(e,A),b(e,[{key:Kc,value:B().mark((function A(){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.delegateYield(gu(this),"t0",1);case 1:case"end":return A.stop()}}),A,this)}))},{key:Tc,value:function(){for(var A=this[Pc]();!(A instanceof nB);)A=A[Pc]();return A}},{key:_c,value:function(){return!0}}])}(yh),gB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"subjectDN"])).delimiter=A.delimiter||",",t.id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:Fc,value:function(){this[vc]=new Map(this[vc].split(this.delimiter).map((function(A){return(A=A.split("=",2))[0]=A[0].trim(),A})))}}])}(vh),oB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"subjectDNs",!0])).id=A.id||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t.subjectDN=new ph,t}return x(e,A),b(e)}(yh),sB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"submit",!0])).embedPDF=Ul({data:A.embedPDF,defaultValue:0,validate:function(A){return 1===A}}),t.format=Ll(A.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),t.id=A.id||"",t.target=A.target||"",t.textEncoding=Jl({data:A.textEncoding?A.textEncoding.toLowerCase():"",defaultValue:"",validate:function(A){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(A)||A.match(/iso-8859-\d{2}/)}}),t.use=A.use||"",t.usehref=A.usehref||"",t.xdpContent=A.xdpContent||"",t.encrypt=null,t.encryptData=new ph,t.signData=new ph,t}return x(e,A),b(e)}(yh),IB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"template",!0])).baseProfile=Ll(A.baseProfile,["full","interactiveForms"]),t.extras=null,t.subform=new ph,t}return x(e,A),b(e,[{key:Fc,value:function(){0===this.subform.children.length&&uA("XFA - No subforms in template node."),this.subform.children.length>=2&&uA("XFA - Several subforms in template node: please file a bug."),this[ml]=5e3}},{key:tl,value:function(){return!0}},{key:fl,value:function(A,e){return A.startsWith("#")?[this[Xc].get(A.slice(1))]:Ah(this,e,A,!0,!0)}},{key:vl,value:B().mark((function A(){var e,t,a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d=this;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(this.subform.children.length){A.next=2;break}return A.abrupt("return",ql.success({name:"div",children:[]}));case 2:this[Dc]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]},(a=this.subform.children[0]).pageSet[yc](),i=a.pageSet.pageArea.children,n={name:"div",children:[]},r=null,g=null,o=null,a.breakBefore.children.length>=1?(g=a.breakBefore.children[0],o=g.target):a.subform.children.length>=1&&a.subform.children[0].breakBefore.children.length>=1?(g=a.subform.children[0].breakBefore.children[0],o=g.target):null!==(e=a.break)&&void 0!==e&&e.beforeTarget?(g=a.break,o=g.beforeTarget):a.subform.children.length>=1&&null!==(t=a.subform.children[0].break)&&void 0!==t&&t.beforeTarget&&(g=a.subform.children[0].break,o=g.beforeTarget),g&&(s=this[fl](o,g[Pc]()))instanceof HC&&(r=s,g[Dc]={}),r||(r=i[0]),r[Dc]={numberOfUse:1},(I=r[Pc]())[Dc]={numberOfUse:1,pageIndex:I.pageArea.children.indexOf(r),pageSetIndex:0},l=null,h=null,u=!0,C=0,Q=0,E=B().mark((function A(){var e,t,i,g,o,s,I,E,f,y,p,m,k,v,w,b;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(u){A.next=7;break}if(n.children.pop(),3!=++C){A.next=5;break}return uA("XFA - Something goes wrong: please file a bug."),A.abrupt("return",{v:n});case 5:A.next=8;break;case 7:C=0;case 8:c=null,d[Dc].currentPageArea=r,e=r[wl]().html,n.children.push(e),l&&(d[Dc].noLayoutFailure=!0,e.children.push(l[wl](r[Dc].space).html),l=null),h&&(d[Dc].noLayoutFailure=!0,e.children.push(h[wl](r[Dc].space).html),h=null),t=r.contentArea.children,i=e.children.filter((function(A){return A.attributes.class.includes("xfaContentarea")})),u=!1,d[Dc].firstUnsplittable=null,d[Dc].noLayoutFailure=!1,g=function(A){var e,t=a[Sc]();t&&(u||(u=(null===(e=t.children)||void 0===e?void 0:e.length)>0),i[A].children.push(t))},o=Q,s=t.length;case 21:if(!(o<s)){A.next=56;break}if(I=d[Dc].currentContentArea=t[o],E={width:I.w,height:I.h},Q=0,l&&(i[o].children.push(l[wl](E).html),l=null),h&&(i[o].children.push(h[wl](E).html),h=null),!(f=a[wl](E)).success){A.next=31;break}return f.html?(u||(u=(null===(y=f.html.children)||void 0===y?void 0:y.length)>0),i[o].children.push(f.html)):!u&&n.children.length>1&&n.children.pop(),A.abrupt("return",{v:n});case 31:if(!f.isBreak()){A.next=40;break}if(p=f.breakNode,g(o),"auto"!==p.targetType){A.next=36;break}return A.abrupt("continue",53);case 36:return p.leader&&(l=(l=d[fl](p.leader,p[Pc]()))?l[0]:null),p.trailer&&(h=(h=d[fl](p.trailer,p[Pc]()))?h[0]:null),"pageArea"===p.targetType?(c=p[Dc].target,o=1/0):p[Dc].target?(c=p[Dc].target,Q=p[Dc].index+1,o=1/0):o=p[Dc].index,A.abrupt("continue",53);case 40:if(!d[Dc].overflowNode){A.next=52;break}return m=d[Dc].overflowNode,d[Dc].overflowNode=null,k=m[Lc](),v=k.target,k.addLeader=null!==k.leader,k.addTrailer=null!==k.trailer,g(o),w=o,o=1/0,v instanceof HC?c=v:v instanceof Yu&&(-1!==(b=t.indexOf(v))?b>w?o=b-1:Q=b:(c=v[Pc](),Q=c.contentArea.children.indexOf(v))),A.abrupt("continue",53);case 52:g(o);case 53:o++,A.next=21;break;case 56:return d[Dc].pageNumber+=1,c&&(c[nl]()?c[Dc].numberOfUse+=1:c=null),r=c||r[qc](),A.next=61,null;case 61:case"end":return A.stop()}}),A)}));case 22:return A.delegateYield(E(),"t0",24);case 24:if(!(f=A.t0)){A.next=27;break}return A.abrupt("return",f.v);case 27:A.next=22;break;case 29:case"end":return A.stop()}}),A,this)}))}])}(yh),cB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"text"])).id=A.id||"",t.maxChars=Ul({data:A.maxChars,defaultValue:0,validate:function(A){return A>=0}}),t.name=A.name||"",t.rid=A.rid||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:Bc,value:function(){return!0}},{key:Il,value:function(A){return A[gl]===Rl.xhtml.id?(this[vc]=A,!0):(uA("XFA - Invalid content in Text: ".concat(A[ol],".")),!1)}},{key:ll,value:function(A){this[vc]instanceof yh||i(G(e.prototype),ll,this).call(this,A)}},{key:Fc,value:function(){"string"==typeof this[vc]&&(this[vc]=this[vc].replaceAll("\r\n","\n"))}},{key:Lc,value:function(){return"string"==typeof this[vc]?this[vc].split(/[\u2029\u2028\n]/).reduce((function(A,e){return e&&A.push(e),A}),[]).join("\n"):this[vc][kl]()}},{key:wl,value:function(A){if("string"==typeof this[vc]){var e=lu(this[vc]).html;return this[vc].includes("\u2029")?(e.name="div",e.children=[],this[vc].split("\u2029").map((function(A){return A.split(/[\u2028\n]/).reduce((function(A,e){return A.push({name:"span",value:e},{name:"br"}),A}),[])})).forEach((function(A){e.children.push({name:"p",children:A})}))):/[\u2028\n]/.test(this[vc])&&(e.name="div",e.children=[],this[vc].split(/[\u2028\n]/).forEach((function(A){e.children.push({name:"span",value:A},{name:"br"})}))),ql.success(e)}return this[vc][wl](A)}}])}(vh),lB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"textEdit",!0])).allowRichText=Ul({data:A.allowRichText,defaultValue:0,validate:function(A){return 1===A}}),t.hScrollPolicy=Ll(A.hScrollPolicy,["auto","off","on"]),t.id=A.id||"",t.multiLine=Ul({data:A.multiLine,defaultValue:"",validate:function(A){return 0===A||1===A}}),t.use=A.use||"",t.usehref=A.usehref||"",t.vScrollPolicy=Ll(A.vScrollPolicy,["auto","off","on"]),t.border=null,t.comb=null,t.extras=null,t.margin=null,t}return x(e,A),b(e,[{key:wl,value:function(A){var e,t,a,i=Hh(this,"border","font","margin"),n=this[Pc]()[Pc]();return""===this.multiLine&&(this.multiLine=n instanceof ju?1:0),e=1===this.multiLine?{name:"textarea",attributes:{dataId:(null===(t=n[wc])||void 0===t?void 0:t[Fl])||n[Fl],fieldId:n[Fl],class:["xfaTextfield"],style:i,"aria-label":cu(n),"aria-required":!1}}:{name:"input",attributes:{type:"text",dataId:(null===(a=n[wc])||void 0===a?void 0:a[Fl])||n[Fl],fieldId:n[Fl],class:["xfaTextfield"],style:i,"aria-label":cu(n),"aria-required":!1}},ou(n)&&(e.attributes["aria-required"]=!0,e.attributes.required=!0),ql.success({name:"label",attributes:{class:["xfaLabel"]},children:[e]})}}])}(yh),hB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"time"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e,[{key:Fc,value:function(){var A=this[vc].trim();this[vc]=A?new Date(A):null}},{key:wl,value:function(A){return lu(this[vc]?this[vc].toString():"")}}])}(bh),uB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"timeStamp"])).id=A.id||"",t.server=A.server||"",t.type=Ll(A.type,["optional","required"]),t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(yh),CB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"toolTip"])).id=A.id||"",t.rid=A.rid||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),BB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"traversal",!0])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t.traverse=new ph,t}return x(e,A),b(e)}(yh),QB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"traverse",!0])).id=A.id||"",t.operation=Ll(A.operation,["next","back","down","first","left","right","up"]),t.ref=A.ref||"",t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t.script=null,t}return x(e,A),b(e,[{key:"name",get:function(){return this.operation}},{key:il,value:function(){return!1}}])}(yh),EB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"ui",!0])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t.picture=null,t.barcode=null,t.button=null,t.checkButton=null,t.choiceList=null,t.dateTimeEdit=null,t.defaultUi=null,t.imageEdit=null,t.numericEdit=null,t.passwordEdit=null,t.signature=null,t.textEdit=null,t}return x(e,A),b(e,[{key:Lc,value:function(){if(void 0===this[Dc]){var A,e=m(Object.getOwnPropertyNames(this));try{for(e.s();!(A=e.n()).done;){var t=A.value;if("extras"!==t&&"picture"!==t){var a=this[t];if(a instanceof yh)return this[Dc]=a,a}}}catch(A){e.e(A)}finally{e.f()}this[Dc]=null}return this[Dc]}},{key:wl,value:function(A){var e=this[Lc]();return e?e[wl](A):ql.EMPTY}}])}(yh),fB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"validate",!0])).formatTest=Ll(A.formatTest,["warning","disabled","error"]),t.id=A.id||"",t.nullTest=Ll(A.nullTest,["disabled","error","warning"]),t.scriptTest=Ll(A.scriptTest,["error","disabled","warning"]),t.use=A.use||"",t.usehref=A.usehref||"",t.extras=null,t.message=null,t.picture=null,t.script=null,t}return x(e,A),b(e)}(yh),dB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"value",!0])).id=A.id||"",t.override=Ul({data:A.override,defaultValue:0,validate:function(A){return 1===A}}),t.relevant=Kl(A.relevant),t.use=A.use||"",t.usehref=A.usehref||"",t.arc=null,t.boolean=null,t.date=null,t.dateTime=null,t.decimal=null,t.exData=null,t.float=null,t.image=null,t.integer=null,t.line=null,t.rectangle=null,t.text=null,t.time=null,t}return x(e,A),b(e,[{key:pl,value:function(A){function e(e){return A.apply(this,arguments)}return e.toString=function(){return A.toString()},e}((function(A){var e,t=this[Pc]();if(t instanceof cC&&null!==(e=t.ui)&&void 0!==e&&e.imageEdit)return this.image||(this.image=new fC({}),this[Ec](this.image)),void(this.image[vc]=A[vc]);var a=A[ol];if(null===this[a]){var i,n=m(Object.getOwnPropertyNames(this));try{for(n.s();!(i=n.n()).done;){var r=i.value,g=this[r];g instanceof yh&&(this[r]=null,this[Bl](g))}}catch(A){n.e(A)}finally{n.f()}this[A[ol]]=A,this[Ec](A)}else this[a][vc]=A[vc]}))},{key:kl,value:function(){if(this.exData)return"string"==typeof this.exData[vc]?this.exData[vc].trim():this.exData[vc][kl]().trim();var A,e=m(Object.getOwnPropertyNames(this));try{for(e.s();!(A=e.n()).done;){var t=A.value;if("image"!==t){var a=this[t];if(a instanceof yh)return(a[vc]||"").toString().trim()}}}catch(A){e.e(A)}finally{e.f()}return null}},{key:wl,value:function(A){var e,t=m(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;){var a=this[e.value];if(a instanceof yh)return a[wl](A)}}catch(A){t.e(A)}finally{t.f()}return ql.EMPTY}}])}(yh),yB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[$h,"variables",!0])).id=A.id||"",t.use=A.use||"",t.usehref=A.usehref||"",t.boolean=new ph,t.date=new ph,t.dateTime=new ph,t.decimal=new ph,t.exData=new ph,t.float=new ph,t.image=new ph,t.integer=new ph,t.manifest=new ph,t.script=new ph,t.text=new ph,t.time=new ph,t}return x(e,A),b(e,[{key:il,value:function(){return!0}}])}(yh),pB=function(){function A(){F(this,A)}return b(A,null,[{key:Sl,value:function(e,t){if(A.hasOwnProperty(e)){var a=A[e](t);return a[yl](t),a}}},{key:"appearanceFilter",value:function(A){return new Qu(A)}},{key:"arc",value:function(A){return new Eu(A)}},{key:"area",value:function(A){return new fu(A)}},{key:"assist",value:function(A){return new du(A)}},{key:"barcode",value:function(A){return new yu(A)}},{key:"bind",value:function(A){return new pu(A)}},{key:"bindItems",value:function(A){return new mu(A)}},{key:"bookend",value:function(A){return new ku(A)}},{key:"boolean",value:function(A){return new vu(A)}},{key:"border",value:function(A){return new wu(A)}},{key:"break",value:function(A){return new bu(A)}},{key:"breakAfter",value:function(A){return new Du(A)}},{key:"breakBefore",value:function(A){return new Fu(A)}},{key:"button",value:function(A){return new Su(A)}},{key:"calculate",value:function(A){return new Ru(A)}},{key:"caption",value:function(A){return new Nu(A)}},{key:"certificate",value:function(A){return new Gu(A)}},{key:"certificates",value:function(A){return new xu(A)}},{key:"checkButton",value:function(A){return new Uu(A)}},{key:"choiceList",value:function(A){return new Mu(A)}},{key:"color",value:function(A){return new Ju(A)}},{key:"comb",value:function(A){return new Lu(A)}},{key:"connect",value:function(A){return new Hu(A)}},{key:"contentArea",value:function(A){return new Yu(A)}},{key:"corner",value:function(A){return new Ku(A)}},{key:"date",value:function(A){return new qu(A)}},{key:"dateTime",value:function(A){return new Tu(A)}},{key:"dateTimeEdit",value:function(A){return new Pu(A)}},{key:"decimal",value:function(A){return new Wu(A)}},{key:"defaultUi",value:function(A){return new Zu(A)}},{key:"desc",value:function(A){return new Ou(A)}},{key:"digestMethod",value:function(A){return new Xu(A)}},{key:"digestMethods",value:function(A){return new Vu(A)}},{key:"draw",value:function(A){return new ju(A)}},{key:"edge",value:function(A){return new zu(A)}},{key:"encoding",value:function(A){return new _u(A)}},{key:"encodings",value:function(A){return new $u(A)}},{key:"encrypt",value:function(A){return new AC(A)}},{key:"encryptData",value:function(A){return new eC(A)}},{key:"encryption",value:function(A){return new tC(A)}},{key:"encryptionMethod",value:function(A){return new aC(A)}},{key:"encryptionMethods",value:function(A){return new iC(A)}},{key:"event",value:function(A){return new nC(A)}},{key:"exData",value:function(A){return new rC(A)}},{key:"exObject",value:function(A){return new gC(A)}},{key:"exclGroup",value:function(A){return new oC(A)}},{key:"execute",value:function(A){return new sC(A)}},{key:"extras",value:function(A){return new IC(A)}},{key:"field",value:function(A){return new cC(A)}},{key:"fill",value:function(A){return new lC(A)}},{key:"filter",value:function(A){return new hC(A)}},{key:"float",value:function(A){return new uC(A)}},{key:"font",value:function(A){return new CC(A)}},{key:"format",value:function(A){return new BC(A)}},{key:"handler",value:function(A){return new QC(A)}},{key:"hyphenation",value:function(A){return new EC(A)}},{key:"image",value:function(A){return new fC(A)}},{key:"imageEdit",value:function(A){return new dC(A)}},{key:"integer",value:function(A){return new yC(A)}},{key:"issuers",value:function(A){return new pC(A)}},{key:"items",value:function(A){return new mC(A)}},{key:"keep",value:function(A){return new kC(A)}},{key:"keyUsage",value:function(A){return new vC(A)}},{key:"line",value:function(A){return new wC(A)}},{key:"linear",value:function(A){return new bC(A)}},{key:"lockDocument",value:function(A){return new DC(A)}},{key:"manifest",value:function(A){return new FC(A)}},{key:"margin",value:function(A){return new SC(A)}},{key:"mdp",value:function(A){return new RC(A)}},{key:"medium",value:function(A){return new NC(A)}},{key:"message",value:function(A){return new GC(A)}},{key:"numericEdit",value:function(A){return new xC(A)}},{key:"occur",value:function(A){return new UC(A)}},{key:"oid",value:function(A){return new MC(A)}},{key:"oids",value:function(A){return new JC(A)}},{key:"overflow",value:function(A){return new LC(A)}},{key:"pageArea",value:function(A){return new HC(A)}},{key:"pageSet",value:function(A){return new YC(A)}},{key:"para",value:function(A){return new KC(A)}},{key:"passwordEdit",value:function(A){return new qC(A)}},{key:"pattern",value:function(A){return new TC(A)}},{key:"picture",value:function(A){return new PC(A)}},{key:"proto",value:function(A){return new WC(A)}},{key:"radial",value:function(A){return new ZC(A)}},{key:"reason",value:function(A){return new OC(A)}},{key:"reasons",value:function(A){return new XC(A)}},{key:"rectangle",value:function(A){return new VC(A)}},{key:"ref",value:function(A){return new jC(A)}},{key:"script",value:function(A){return new zC(A)}},{key:"setProperty",value:function(A){return new _C(A)}},{key:"signData",value:function(A){return new $C(A)}},{key:"signature",value:function(A){return new AB(A)}},{key:"signing",value:function(A){return new eB(A)}},{key:"solid",value:function(A){return new tB(A)}},{key:"speak",value:function(A){return new aB(A)}},{key:"stipple",value:function(A){return new iB(A)}},{key:"subform",value:function(A){return new nB(A)}},{key:"subformSet",value:function(A){return new rB(A)}},{key:"subjectDN",value:function(A){return new gB(A)}},{key:"subjectDNs",value:function(A){return new oB(A)}},{key:"submit",value:function(A){return new sB(A)}},{key:"template",value:function(A){return new IB(A)}},{key:"text",value:function(A){return new cB(A)}},{key:"textEdit",value:function(A){return new lB(A)}},{key:"time",value:function(A){return new hB(A)}},{key:"timeStamp",value:function(A){return new uB(A)}},{key:"toolTip",value:function(A){return new CB(A)}},{key:"traversal",value:function(A){return new BB(A)}},{key:"traverse",value:function(A){return new QB(A)}},{key:"ui",value:function(A){return new EB(A)}},{key:"validate",value:function(A){return new fB(A)}},{key:"value",value:function(A){return new dB(A)}},{key:"variables",value:function(A){return new yB(A)}}])}(),mB=Rl.datasets.id;function kB(A){var e=new cB({});return e[vc]=A,e}var vB=function(){return b((function A(e){var t;F(this,A),this.root=e,this.datasets=e.datasets,this.data=(null===(t=e.datasets)||void 0===t?void 0:t.data)||new kh(Rl.datasets.id,"data"),this.emptyMerge=0===this.data[Yc]().length,this.root.form=this.form=e.template[mc]()}),[{key:"_isConsumeData",value:function(){return!this.emptyMerge&&this._mergeMode}},{key:"_isMatchTemplate",value:function(){return!this._isConsumeData()}},{key:"bind",value:function(){return this._bindElement(this.form,this.data),this.form}},{key:"getData",value:function(){return this.data}},{key:"_bindValue",value:function(A,e,t){var a;if(A[wc]=e,A[Oc]())if(e[$c]()){var i=e[Jc]();A[pl](kB(i))}else if(A instanceof cC&&"multiSelect"===(null===(a=A.ui)||void 0===a||null===(a=a.choiceList)||void 0===a?void 0:a.open)){var n=e[Yc]().map((function(A){return A[vc].trim()})).join("\n");A[pl](kB(n))}else this._isConsumeData()&&uA("XFA - Nodes haven't the same type.");else!e[$c]()||this._isMatchTemplate()?this._bindElement(A,e):uA("XFA - Nodes haven't the same type.")}},{key:"_findDataByNameToConsume",value:function(A,e,t,a){var i,n,r;if(!A)return null;for(var g=0;g<3;g++){for(n=t[Hc](A,!1,!0);r=n.next().value;)if(e===r[$c]())return r;if(t[gl]===Rl.datasets.id&&"data"===t[ol])break;t=t[Pc]()}return a&&((r=(n=this.data[Hc](A,!0,!1)).next().value)||null!==(i=r=(n=this.data[Rc](A,!0)).next().value)&&void 0!==i&&i[$c]())?r:null}},{key:"_setProperties",value:function(A,e){if(A.hasOwnProperty("setProperty")){var t,a=m(A.setProperty.children);try{for(a.s();!(t=a.n()).done;){var i=t.value,n=i.ref,r=i.target;if(!i.connection&&n){var g=Ah(this.root,e,n,!1,!1);if(g){var o=d(g,1)[0];if(o[Al](this.data)){var s=Ah(this.root,A,r,!1,!1);if(s){var I=d(s,1)[0];if(I[Al](A)){var c=I[Pc]();if(I instanceof _C||c instanceof _C)uA("XFA - Invalid target: cannot be a setProperty or one of its properties.");else if(I instanceof mu||c instanceof mu)uA("XFA - Invalid target: cannot be a bindItems or one of its properties.");else{var l=o[kl](),h=I[ol];if(I instanceof mh){var u=Object.create(null);u[h]=l;var C=Reflect.construct(Object.getPrototypeOf(c).constructor,[u]);c[h]=C[h]}else I.hasOwnProperty(vc)?(I[wc]=o,I[vc]=l,I[Fc]()):uA("XFA - Invalid node to use in setProperty")}}else uA("XFA - Invalid target: must be a property or subproperty.")}else uA("XFA - Invalid target: ".concat(r,"."))}else uA("XFA - Invalid node: must be a data node.")}else uA("XFA - Invalid reference: ".concat(n,"."))}}}catch(A){a.e(A)}finally{a.f()}}}},{key:"_bindItems",value:function(A,e){if(A.hasOwnProperty("items")&&A.hasOwnProperty("bindItems")&&!A.bindItems.isEmpty()){var t,a=m(A.items.children);try{for(a.s();!(t=a.n()).done;){var i=t.value;A[Bl](i)}}catch(A){a.e(A)}finally{a.f()}A.items.clear();var n=new mC({}),r=new mC({});A[Ec](n),A.items.push(n),A[Ec](r),A.items.push(r);var g,o=m(A.bindItems.children);try{for(o.s();!(g=o.n()).done;){var s=g.value,I=s.ref,c=s.labelRef,l=s.valueRef;if(!s.connection&&I){var h=Ah(this.root,e,I,!1,!1);if(h){var u,C=m(h);try{for(C.s();!(u=C.n()).done;){var B=u.value;if(B[Al](this.datasets)){var Q=Ah(this.root,B,c,!0,!1);if(Q){var E=d(Q,1)[0];if(E[Al](this.datasets)){var f=Ah(this.root,B,l,!0,!1);if(f){var y=d(f,1)[0];if(y[Al](this.datasets)){var p=kB(E[kl]()),k=kB(y[kl]());n[Ec](p),n.text.push(p),r[Ec](k),r.text.push(k)}else uA("XFA - Invalid value: must be a datasets child.")}else uA("XFA - Invalid value: ".concat(l,"."))}else uA("XFA - Invalid label: must be a datasets child.")}else uA("XFA - Invalid label: ".concat(c,"."))}else uA("XFA - Invalid ref (".concat(I,"): must be a datasets child."))}}catch(A){C.e(A)}finally{C.f()}}else uA("XFA - Invalid reference: ".concat(I,"."))}}}catch(A){o.e(A)}finally{o.f()}}}},{key:"_bindOccurrences",value:function(A,e,t){var a;if(e.length>1&&((a=A[mc]())[Bl](a.occur),a.occur=null),this._bindValue(A,e[0],t),this._setProperties(A,e[0]),this._bindItems(A,e[0]),1!==e.length)for(var i=A[Pc](),n=A[ol],r=i[Vc](A),g=1,o=e.length;g<o;g++){var s=e[g],I=a[mc]();i[n].push(I),i[jc](r+g,I),this._bindValue(I,s,t),this._setProperties(I,s),this._bindItems(I,s)}}},{key:"_createOccurrences",value:function(A){if(this.emptyMerge){var e=A.occur;if(e&&!(e.initial<=1)){var t=A[Pc](),a=A[ol];if(t[a]instanceof ph){var i;i=A.name?t[a].children.filter((function(e){return e.name===A.name})).length:t[a].children.length;var n=t[Vc](A)+1,r=e.initial-i;if(r){var g=A[mc]();g[Bl](g.occur),g.occur=null,t[a].push(g),t[jc](n,g);for(var o=1;o<r;o++){var s=g[mc]();t[a].push(s),t[jc](n+o,s)}}}}}}},{key:"_getOccurInfo",value:function(A){var e=A.name,t=A.occur;if(!t||!e)return[1,1];var a=-1===t.max?1/0:t.max;return[t.min,a]}},{key:"_setAndBind",value:function(A,e){this._setProperties(A,e),this._bindItems(A,e),this._bindElement(A,e)}},{key:"_bindElement",value:function(A,e){var t=[];this._createOccurrences(A);var a,i=m(A[Yc]());try{for(i.s();!(a=i.n()).done;){var n=a.value;if(!n[wc])if(void 0!==this._mergeMode||"subform"!==n[ol]){if(n[_c]()){var r=!1,g=null,o=null,s=null;if(n.bind){switch(n.bind.match){case"none":this._setAndBind(n,e);continue;case"global":r=!0;break;case"dataRef":if(!n.bind.ref){uA("XFA - ref is empty in node ".concat(n[ol],".")),this._setAndBind(n,e);continue}o=n.bind.ref}n.bind.picture&&(g=n.bind.picture[vc])}var I=d(this._getOccurInfo(n),2),c=I[0],l=I[1];if(o){if(null===(s=Ah(this.root,e,o,!0,!1))){if(!(s=eh(this.data,e,o)))continue;this._isConsumeData()&&(s[kc]=!0),this._setAndBind(n,s);continue}this._isConsumeData()&&(s=s.filter((function(A){return!A[kc]}))),s.length>l?s=s.slice(0,l):0===s.length&&(s=null),s&&this._isConsumeData()&&s.forEach((function(A){A[kc]=!0}))}else{if(!n.name){this._setAndBind(n,e);continue}if(this._isConsumeData()){for(var h=[];h.length<l;){var u=this._findDataByNameToConsume(n.name,n[Oc](),e,r);if(!u)break;u[kc]=!0,h.push(u)}s=h.length>0?h:null}else{if(!(s=e[Hc](n.name,!1,this.emptyMerge).next().value)){if(0===c){t.push(n);continue}var C=e[gl]===mB?-1:e[gl];s=n[wc]=new kh(C,n.name),this.emptyMerge&&(s[kc]=!0),e[Ec](s),this._setAndBind(n,s);continue}this.emptyMerge&&(s[kc]=!0),s=[s]}}s?this._bindOccurrences(n,s,g):c>0?this._setAndBind(n,e):t.push(n)}}else{this._mergeMode="consumeData"===n.mergeMode;var B=e[Yc]();if(B.length>0)this._bindOccurrences(n,[B[0]],null);else if(this.emptyMerge){var Q=e[gl]===mB?-1:e[gl],E=n[wc]=new kh(Q,n.name||"root");e[Ec](E),this._bindElement(n,E)}}}}catch(A){i.e(A)}finally{i.f()}t.forEach((function(A){return A[Pc]()[Bl](A)}))}}])}(),wB=function(){return b((function A(e,t){F(this,A),this.data=t,this.dataset=e.datasets||null}),[{key:"serialize",value:function(A){for(var e=[[-1,this.data[Yc]()]];e.length>0;){var t=e.at(-1),a=d(t,2),i=a[0],n=a[1];if(i+1!==n.length){var r=n[++t[0]],g=A.get(r[Fl]);if(g)r[pl](g);else{var o,s=m(r[Nc]().values());try{for(s.s();!(o=s.n()).done;){var I=o.value,c=A.get(I[Fl]);if(c){I[pl](c);break}}}catch(A){s.e(A)}finally{s.f()}}var l=r[Yc]();l.length>0&&e.push([-1,l])}else e.pop()}var h=['<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">'];if(this.dataset){var u,C=m(this.dataset[Yc]());try{for(C.s();!(u=C.n()).done;){var B=u.value;"data"!==B[ol]&&B[bl](h)}}catch(A){C.e(A)}finally{C.f()}}return this.data[bl](h),h.push("</xfa:datasets>"),h.join("")}}])}(),bB=Rl.config.id,DB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"acrobat",!0])).acrobat7=null,t.autoSave=null,t.common=null,t.validate=null,t.validateApprovalSignatures=null,t.submitUrl=new ph,t}return x(e,A),b(e)}(yh),FB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"acrobat7",!0])).dynamicRender=null,t}return x(e,A),b(e)}(yh),SB=function(A){function e(A){return F(this,e),S(this,e,[bB,"ADBE_JSConsole",["delegate","Enable","Disable"]])}return x(e,A),b(e)}(wh),RB=function(A){function e(A){return F(this,e),S(this,e,[bB,"ADBE_JSDebugger",["delegate","Enable","Disable"]])}return x(e,A),b(e)}(wh),NB=function(A){function e(A){return F(this,e),S(this,e,[bB,"addSilentPrint"])}return x(e,A),b(e)}(Fh),GB=function(A){function e(A){return F(this,e),S(this,e,[bB,"addViewerPreferences"])}return x(e,A),b(e)}(Fh),xB=function(A){function e(A){return F(this,e),S(this,e,[bB,"adjustData"])}return x(e,A),b(e)}(Sh),UB=function(A){function e(A){return F(this,e),S(this,e,[bB,"adobeExtensionLevel",0,function(A){return A>=1&&A<=8}])}return x(e,A),b(e)}(Dh),MB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"agent",!0])).name=A.name?A.name.trim():"",t.common=new ph,t}return x(e,A),b(e)}(yh),JB=function(A){function e(A){return F(this,e),S(this,e,[bB,"alwaysEmbed"])}return x(e,A),b(e)}(vh),LB=function(A){function e(A){return F(this,e),S(this,e,[bB,"amd"])}return x(e,A),b(e)}(bh),HB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"area"])).level=Ul({data:A.level,defaultValue:0,validate:function(A){return A>=1&&A<=3}}),t.name=Ll(A.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"]),t}return x(e,A),b(e)}(yh),YB=function(A){function e(A){return F(this,e),S(this,e,[bB,"attributes",["preserve","delegate","ignore"]])}return x(e,A),b(e)}(wh),KB=function(A){function e(A){return F(this,e),S(this,e,[bB,"autoSave",["disabled","enabled"]])}return x(e,A),b(e)}(wh),qB=function(A){function e(A){return F(this,e),S(this,e,[bB,"base"])}return x(e,A),b(e)}(bh),TB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"batchOutput"])).format=Ll(A.format,["none","concat","zip","zipCompress"]),t}return x(e,A),b(e)}(yh),PB=function(A){function e(A){return F(this,e),S(this,e,[bB,"behaviorOverride"])}return x(e,A),b(e,[{key:Fc,value:function(){this[vc]=new Map(this[vc].trim().split(/\s+/).filter((function(A){return A.includes(":")})).map((function(A){return A.split(":",2)})))}}])}(vh),WB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"cache",!0])).templateCache=null,t}return x(e,A),b(e)}(yh),ZB=function(A){function e(A){return F(this,e),S(this,e,[bB,"change"])}return x(e,A),b(e)}(Fh),OB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"common",!0])).data=null,t.locale=null,t.localeSet=null,t.messaging=null,t.suppressBanner=null,t.template=null,t.validationMessaging=null,t.versionControl=null,t.log=new ph,t}return x(e,A),b(e)}(yh),XB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"compress"])).scope=Ll(A.scope,["imageOnly","document"]),t}return x(e,A),b(e)}(yh),VB=function(A){function e(A){return F(this,e),S(this,e,[bB,"compressLogicalStructure"])}return x(e,A),b(e)}(Fh),jB=function(A){function e(A){return F(this,e),S(this,e,[bB,"compressObjectStream"])}return x(e,A),b(e)}(Sh),zB=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"compression",!0])).compressLogicalStructure=null,t.compressObjectStream=null,t.level=null,t.type=null,t}return x(e,A),b(e)}(yh),_B=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"config",!0])).acrobat=null,t.present=null,t.trace=null,t.agent=new ph,t}return x(e,A),b(e)}(yh),$B=function(A){function e(A){return F(this,e),S(this,e,[bB,"conformance",["A","B"]])}return x(e,A),b(e)}(wh),AQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"contentCopy"])}return x(e,A),b(e)}(Fh),eQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"copies",1,function(A){return A>=1}])}return x(e,A),b(e)}(Dh),tQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"creator"])}return x(e,A),b(e)}(bh),aQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"currentPage",0,function(A){return A>=0}])}return x(e,A),b(e)}(Dh),iQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"data",!0])).adjustData=null,t.attributes=null,t.incrementalLoad=null,t.outputXSL=null,t.range=null,t.record=null,t.startNode=null,t.uri=null,t.window=null,t.xsl=null,t.excludeNS=new ph,t.transform=new ph,t}return x(e,A),b(e)}(yh),nQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"debug",!0])).uri=null,t}return x(e,A),b(e)}(yh),rQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"defaultTypeface"])).writingScript=Ll(A.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"]),t}return x(e,A),b(e)}(vh),gQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"destination",["pdf","pcl","ps","webClient","zpl"]])}return x(e,A),b(e)}(wh),oQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"documentAssembly"])}return x(e,A),b(e)}(Fh),sQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"driver",!0])).name=A.name?A.name.trim():"",t.fontInfo=null,t.xdc=null,t}return x(e,A),b(e)}(yh),IQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"]])}return x(e,A),b(e)}(wh),cQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"dynamicRender",["forbidden","required"]])}return x(e,A),b(e)}(wh),lQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"embed"])}return x(e,A),b(e)}(Fh),hQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"encrypt"])}return x(e,A),b(e)}(Fh),uQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"encryption",!0])).encrypt=null,t.encryptionLevel=null,t.permissions=null,t}return x(e,A),b(e)}(yh),CQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"encryptionLevel",["40bit","128bit"]])}return x(e,A),b(e)}(wh),BQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"enforce"])}return x(e,A),b(e)}(bh),QQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"equate"])).force=Ul({data:A.force,defaultValue:1,validate:function(A){return 0===A}}),t.from=A.from||"",t.to=A.to||"",t}return x(e,A),b(e)}(yh),EQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"equateRange"])).from=A.from||"",t.to=A.to||"",t._unicodeRange=A.unicodeRange||"",t}return x(e,A),b(e,[{key:"unicodeRange",get:function(){var A,e=[],t=/U\+([0-9a-fA-F]+)/,a=m(this._unicodeRange.split(",").map((function(A){return A.trim()})).filter((function(A){return!!A})));try{for(a.s();!(A=a.n()).done;){var i=A.value;1===(i=i.split("-",2).map((function(A){var e=A.match(t);return e?parseInt(e[1],16):0}))).length&&i.push(i[0]),e.push(i)}}catch(A){a.e(A)}finally{a.f()}return EA(this,"unicodeRange",e)}}])}(yh),fQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"exclude"])}return x(e,A),b(e,[{key:Fc,value:function(){this[vc]=this[vc].trim().split(/\s+/).filter((function(A){return A&&["calculate","close","enter","exit","initialize","ready","validate"].includes(A)}))}}])}(vh),dQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"excludeNS"])}return x(e,A),b(e)}(bh),yQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"flipLabel",["usePrinterSetting","on","off"]])}return x(e,A),b(e)}(wh),pQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"fontInfo",!0])).embed=null,t.map=null,t.subsetBelow=null,t.alwaysEmbed=new ph,t.defaultTypeface=new ph,t.neverEmbed=new ph,t}return x(e,A),b(e)}(yh),mQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"formFieldFilling"])}return x(e,A),b(e)}(Fh),kQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"groupParent"])}return x(e,A),b(e)}(bh),vQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"ifEmpty",["dataValue","dataGroup","ignore","remove"]])}return x(e,A),b(e)}(wh),wQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"includeXDPContent"])}return x(e,A),b(e)}(bh),bQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"incrementalLoad",["none","forwardOnly"]])}return x(e,A),b(e)}(wh),DQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"incrementalMerge"])}return x(e,A),b(e)}(Fh),FQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"interactive"])}return x(e,A),b(e)}(Fh),SQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"jog",["usePrinterSetting","none","pageSet"]])}return x(e,A),b(e)}(wh),RQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"labelPrinter",!0])).name=Ll(A.name,["zpl","dpl","ipl","tcpl"]),t.batchOutput=null,t.flipLabel=null,t.fontInfo=null,t.xdc=null,t}return x(e,A),b(e)}(yh),NQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"layout",["paginate","panel"]])}return x(e,A),b(e)}(wh),GQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"level",0,function(A){return A>0}])}return x(e,A),b(e)}(Dh),xQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"linearized"])}return x(e,A),b(e)}(Fh),UQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"locale"])}return x(e,A),b(e)}(bh),MQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"localeSet"])}return x(e,A),b(e)}(bh),JQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"log",!0])).mode=null,t.threshold=null,t.to=null,t.uri=null,t}return x(e,A),b(e)}(yh),LQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"map",!0])).equate=new ph,t.equateRange=new ph,t}return x(e,A),b(e)}(yh),HQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"mediumInfo",!0])).map=null,t}return x(e,A),b(e)}(yh),YQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"message",!0])).msgId=null,t.severity=null,t}return x(e,A),b(e)}(yh),KQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"messaging",!0])).message=new ph,t}return x(e,A),b(e)}(yh),qQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"mode",["append","overwrite"]])}return x(e,A),b(e)}(wh),TQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"modifyAnnots"])}return x(e,A),b(e)}(Fh),PQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"msgId",1,function(A){return A>=1}])}return x(e,A),b(e)}(Dh),WQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"nameAttr"])}return x(e,A),b(e)}(bh),ZQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"neverEmbed"])}return x(e,A),b(e)}(vh),OQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"numberOfCopies",null,function(A){return A>=2&&A<=5}])}return x(e,A),b(e)}(Dh),XQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"openAction",!0])).destination=null,t}return x(e,A),b(e)}(yh),VQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"output",!0])).to=null,t.type=null,t.uri=null,t}return x(e,A),b(e)}(yh),jQ=function(A){function e(A){return F(this,e),S(this,e,[bB,"outputBin"])}return x(e,A),b(e)}(bh),zQ=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"outputXSL",!0])).uri=null,t}return x(e,A),b(e)}(yh),_Q=function(A){function e(A){return F(this,e),S(this,e,[bB,"overprint",["none","both","draw","field"]])}return x(e,A),b(e)}(wh),$Q=function(A){function e(A){return F(this,e),S(this,e,[bB,"packets"])}return x(e,A),b(e,[{key:Fc,value:function(){"*"!==this[vc]&&(this[vc]=this[vc].trim().split(/\s+/).filter((function(A){return["config","datasets","template","xfdf","xslt"].includes(A)})))}}])}(bh),AE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"pageOffset"])).x=Ul({data:A.x,defaultValue:"useXDCSetting",validate:function(A){return!0}}),t.y=Ul({data:A.y,defaultValue:"useXDCSetting",validate:function(A){return!0}}),t}return x(e,A),b(e)}(yh),eE=function(A){function e(A){return F(this,e),S(this,e,[bB,"pageRange"])}return x(e,A),b(e,[{key:Fc,value:function(){for(var A=this[vc].trim().split(/\s+/).map((function(A){return parseInt(A,10)})),e=[],t=0,a=A.length;t<a;t+=2)e.push(A.slice(t,t+2));this[vc]=e}}])}(bh),tE=function(A){function e(A){return F(this,e),S(this,e,[bB,"pagination",["simplex","duplexShortEdge","duplexLongEdge"]])}return x(e,A),b(e)}(wh),aE=function(A){function e(A){return F(this,e),S(this,e,[bB,"paginationOverride",["none","forceDuplex","forceDuplexLongEdge","forceDuplexShortEdge","forceSimplex"]])}return x(e,A),b(e)}(wh),iE=function(A){function e(A){return F(this,e),S(this,e,[bB,"part",1,function(A){return!1}])}return x(e,A),b(e)}(Dh),nE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"pcl",!0])).name=A.name||"",t.batchOutput=null,t.fontInfo=null,t.jog=null,t.mediumInfo=null,t.outputBin=null,t.pageOffset=null,t.staple=null,t.xdc=null,t}return x(e,A),b(e)}(yh),rE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"pdf",!0])).name=A.name||"",t.adobeExtensionLevel=null,t.batchOutput=null,t.compression=null,t.creator=null,t.encryption=null,t.fontInfo=null,t.interactive=null,t.linearized=null,t.openAction=null,t.pdfa=null,t.producer=null,t.renderPolicy=null,t.scriptModel=null,t.silentPrint=null,t.submitFormat=null,t.tagged=null,t.version=null,t.viewerPreferences=null,t.xdc=null,t}return x(e,A),b(e)}(yh),gE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"pdfa",!0])).amd=null,t.conformance=null,t.includeXDPContent=null,t.part=null,t}return x(e,A),b(e)}(yh),oE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"permissions",!0])).accessibleContent=null,t.change=null,t.contentCopy=null,t.documentAssembly=null,t.formFieldFilling=null,t.modifyAnnots=null,t.plaintextMetadata=null,t.print=null,t.printHighQuality=null,t}return x(e,A),b(e)}(yh),sE=function(A){function e(A){return F(this,e),S(this,e,[bB,"pickTrayByPDFSize"])}return x(e,A),b(e)}(Fh),IE=function(A){function e(A){return F(this,e),S(this,e,[bB,"picture"])}return x(e,A),b(e)}(bh),cE=function(A){function e(A){return F(this,e),S(this,e,[bB,"plaintextMetadata"])}return x(e,A),b(e)}(Fh),lE=function(A){function e(A){return F(this,e),S(this,e,[bB,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"]])}return x(e,A),b(e)}(wh),hE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"present",!0])).behaviorOverride=null,t.cache=null,t.common=null,t.copies=null,t.destination=null,t.incrementalMerge=null,t.layout=null,t.output=null,t.overprint=null,t.pagination=null,t.paginationOverride=null,t.script=null,t.validate=null,t.xdp=null,t.driver=new ph,t.labelPrinter=new ph,t.pcl=new ph,t.pdf=new ph,t.ps=new ph,t.submitUrl=new ph,t.webClient=new ph,t.zpl=new ph,t}return x(e,A),b(e)}(yh),uE=function(A){function e(A){return F(this,e),S(this,e,[bB,"print"])}return x(e,A),b(e)}(Fh),CE=function(A){function e(A){return F(this,e),S(this,e,[bB,"printHighQuality"])}return x(e,A),b(e)}(Fh),BE=function(A){function e(A){return F(this,e),S(this,e,[bB,"printScaling",["appdefault","noScaling"]])}return x(e,A),b(e)}(wh),QE=function(A){function e(A){return F(this,e),S(this,e,[bB,"printerName"])}return x(e,A),b(e)}(bh),EE=function(A){function e(A){return F(this,e),S(this,e,[bB,"producer"])}return x(e,A),b(e)}(bh),fE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"ps",!0])).name=A.name||"",t.batchOutput=null,t.fontInfo=null,t.jog=null,t.mediumInfo=null,t.outputBin=null,t.staple=null,t.xdc=null,t}return x(e,A),b(e)}(yh),dE=function(A){function e(A){return F(this,e),S(this,e,[bB,"range"])}return x(e,A),b(e,[{key:Fc,value:function(){this[vc]=this[vc].trim().split(/\s*,\s*/,2).map((function(A){return A.split("-").map((function(A){return parseInt(A.trim(),10)}))})).filter((function(A){return A.every((function(A){return!isNaN(A)}))})).map((function(A){return 1===A.length&&A.push(A[0]),A}))}}])}(vh),yE=function(A){function e(A){return F(this,e),S(this,e,[bB,"record"])}return x(e,A),b(e,[{key:Fc,value:function(){this[vc]=this[vc].trim();var A=parseInt(this[vc],10);!isNaN(A)&&A>=0&&(this[vc]=A)}}])}(vh),pE=function(A){function e(A){return F(this,e),S(this,e,[bB,"relevant"])}return x(e,A),b(e,[{key:Fc,value:function(){this[vc]=this[vc].trim().split(/\s+/)}}])}(vh),mE=function(A){function e(A){return F(this,e),S(this,e,[bB,"rename"])}return x(e,A),b(e,[{key:Fc,value:function(){this[vc]=this[vc].trim(),(this[vc].toLowerCase().startsWith("xml")||new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*","u").test(this[vc]))&&uA("XFA - Rename: invalid XFA name")}}])}(vh),kE=function(A){function e(A){return F(this,e),S(this,e,[bB,"renderPolicy",["server","client"]])}return x(e,A),b(e)}(wh),vE=function(A){function e(A){return F(this,e),S(this,e,[bB,"runScripts",["both","client","none","server"]])}return x(e,A),b(e)}(wh),wE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"script",!0])).currentPage=null,t.exclude=null,t.runScripts=null,t}return x(e,A),b(e)}(yh),bE=function(A){function e(A){return F(this,e),S(this,e,[bB,"scriptModel",["XFA","none"]])}return x(e,A),b(e)}(wh),DE=function(A){function e(A){return F(this,e),S(this,e,[bB,"severity",["ignore","error","information","trace","warning"]])}return x(e,A),b(e)}(wh),FE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"silentPrint",!0])).addSilentPrint=null,t.printerName=null,t}return x(e,A),b(e)}(yh),SE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"staple"])).mode=Ll(A.mode,["usePrinterSetting","on","off"]),t}return x(e,A),b(e)}(yh),RE=function(A){function e(A){return F(this,e),S(this,e,[bB,"startNode"])}return x(e,A),b(e)}(bh),NE=function(A){function e(A){return F(this,e),S(this,e,[bB,"startPage",0,function(A){return!0}])}return x(e,A),b(e)}(Dh),GE=function(A){function e(A){return F(this,e),S(this,e,[bB,"submitFormat",["html","delegate","fdf","xml","pdf"]])}return x(e,A),b(e)}(wh),xE=function(A){function e(A){return F(this,e),S(this,e,[bB,"submitUrl"])}return x(e,A),b(e)}(bh),UE=function(A){function e(A){return F(this,e),S(this,e,[bB,"subsetBelow",100,function(A){return A>=0&&A<=100}])}return x(e,A),b(e)}(Dh),ME=function(A){function e(A){return F(this,e),S(this,e,[bB,"suppressBanner"])}return x(e,A),b(e)}(Fh),JE=function(A){function e(A){return F(this,e),S(this,e,[bB,"tagged"])}return x(e,A),b(e)}(Fh),LE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"template",!0])).base=null,t.relevant=null,t.startPage=null,t.uri=null,t.xsl=null,t}return x(e,A),b(e)}(yh),HE=function(A){function e(A){return F(this,e),S(this,e,[bB,"threshold",["trace","error","information","warning"]])}return x(e,A),b(e)}(wh),YE=function(A){function e(A){return F(this,e),S(this,e,[bB,"to",["null","memory","stderr","stdout","system","uri"]])}return x(e,A),b(e)}(wh),KE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"templateCache"])).maxEntries=Ul({data:A.maxEntries,defaultValue:5,validate:function(A){return A>=0}}),t}return x(e,A),b(e)}(yh),qE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"trace",!0])).area=new ph,t}return x(e,A),b(e)}(yh),TE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"transform",!0])).groupParent=null,t.ifEmpty=null,t.nameAttr=null,t.picture=null,t.presence=null,t.rename=null,t.whitespace=null,t}return x(e,A),b(e)}(yh),PE=function(A){function e(A){return F(this,e),S(this,e,[bB,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"]])}return x(e,A),b(e)}(wh),WE=function(A){function e(A){return F(this,e),S(this,e,[bB,"uri"])}return x(e,A),b(e)}(bh),ZE=function(A){function e(A){return F(this,e),S(this,e,[bB,"validate",["preSubmit","prePrint","preExecute","preSave"]])}return x(e,A),b(e)}(wh),OE=function(A){function e(A){return F(this,e),S(this,e,[bB,"validateApprovalSignatures"])}return x(e,A),b(e,[{key:Fc,value:function(){this[vc]=this[vc].trim().split(/\s+/).filter((function(A){return["docReady","postSign"].includes(A)}))}}])}(vh),XE=function(A){function e(A){return F(this,e),S(this,e,[bB,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"]])}return x(e,A),b(e)}(wh),VE=function(A){function e(A){return F(this,e),S(this,e,[bB,"version",["1.7","1.6","1.5","1.4","1.3","1.2"]])}return x(e,A),b(e)}(wh),jE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"VersionControl"])).outputBelow=Ll(A.outputBelow,["warn","error","update"]),t.sourceAbove=Ll(A.sourceAbove,["warn","error"]),t.sourceBelow=Ll(A.sourceBelow,["update","maintain"]),t}return x(e,A),b(e)}(yh),zE=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"viewerPreferences",!0])).ADBE_JSConsole=null,t.ADBE_JSDebugger=null,t.addViewerPreferences=null,t.duplexOption=null,t.enforce=null,t.numberOfCopies=null,t.pageRange=null,t.pickTrayByPDFSize=null,t.printScaling=null,t}return x(e,A),b(e)}(yh),_E=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"webClient",!0])).name=A.name?A.name.trim():"",t.fontInfo=null,t.xdc=null,t}return x(e,A),b(e)}(yh),$E=function(A){function e(A){return F(this,e),S(this,e,[bB,"whitespace",["preserve","ltrim","normalize","rtrim","trim"]])}return x(e,A),b(e)}(wh),Af=function(A){function e(A){return F(this,e),S(this,e,[bB,"window"])}return x(e,A),b(e,[{key:Fc,value:function(){var A=this[vc].trim().split(/\s*,\s*/,2).map((function(A){return parseInt(A,10)}));A.some((function(A){return isNaN(A)}))?this[vc]=[0,0]:(1===A.length&&A.push(A[0]),this[vc]=A)}}])}(vh),ef=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"xdc",!0])).uri=new ph,t.xsl=new ph,t}return x(e,A),b(e)}(yh),tf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"xdp",!0])).packets=null,t}return x(e,A),b(e)}(yh),af=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"xsl",!0])).debug=null,t.uri=null,t}return x(e,A),b(e)}(yh),nf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[bB,"zpl",!0])).name=A.name?A.name.trim():"",t.batchOutput=null,t.flipLabel=null,t.fontInfo=null,t.xdc=null,t}return x(e,A),b(e)}(yh),rf=function(){function A(){F(this,A)}return b(A,null,[{key:Sl,value:function(e,t){if(A.hasOwnProperty(e))return A[e](t)}},{key:"acrobat",value:function(A){return new DB(A)}},{key:"acrobat7",value:function(A){return new FB(A)}},{key:"ADBE_JSConsole",value:function(A){return new SB(A)}},{key:"ADBE_JSDebugger",value:function(A){return new RB(A)}},{key:"addSilentPrint",value:function(A){return new NB(A)}},{key:"addViewerPreferences",value:function(A){return new GB(A)}},{key:"adjustData",value:function(A){return new xB(A)}},{key:"adobeExtensionLevel",value:function(A){return new UB(A)}},{key:"agent",value:function(A){return new MB(A)}},{key:"alwaysEmbed",value:function(A){return new JB(A)}},{key:"amd",value:function(A){return new LB(A)}},{key:"area",value:function(A){return new HB(A)}},{key:"attributes",value:function(A){return new YB(A)}},{key:"autoSave",value:function(A){return new KB(A)}},{key:"base",value:function(A){return new qB(A)}},{key:"batchOutput",value:function(A){return new TB(A)}},{key:"behaviorOverride",value:function(A){return new PB(A)}},{key:"cache",value:function(A){return new WB(A)}},{key:"change",value:function(A){return new ZB(A)}},{key:"common",value:function(A){return new OB(A)}},{key:"compress",value:function(A){return new XB(A)}},{key:"compressLogicalStructure",value:function(A){return new VB(A)}},{key:"compressObjectStream",value:function(A){return new jB(A)}},{key:"compression",value:function(A){return new zB(A)}},{key:"config",value:function(A){return new _B(A)}},{key:"conformance",value:function(A){return new $B(A)}},{key:"contentCopy",value:function(A){return new AQ(A)}},{key:"copies",value:function(A){return new eQ(A)}},{key:"creator",value:function(A){return new tQ(A)}},{key:"currentPage",value:function(A){return new aQ(A)}},{key:"data",value:function(A){return new iQ(A)}},{key:"debug",value:function(A){return new nQ(A)}},{key:"defaultTypeface",value:function(A){return new rQ(A)}},{key:"destination",value:function(A){return new gQ(A)}},{key:"documentAssembly",value:function(A){return new oQ(A)}},{key:"driver",value:function(A){return new sQ(A)}},{key:"duplexOption",value:function(A){return new IQ(A)}},{key:"dynamicRender",value:function(A){return new cQ(A)}},{key:"embed",value:function(A){return new lQ(A)}},{key:"encrypt",value:function(A){return new hQ(A)}},{key:"encryption",value:function(A){return new uQ(A)}},{key:"encryptionLevel",value:function(A){return new CQ(A)}},{key:"enforce",value:function(A){return new BQ(A)}},{key:"equate",value:function(A){return new QQ(A)}},{key:"equateRange",value:function(A){return new EQ(A)}},{key:"exclude",value:function(A){return new fQ(A)}},{key:"excludeNS",value:function(A){return new dQ(A)}},{key:"flipLabel",value:function(A){return new yQ(A)}},{key:"fontInfo",value:function(A){return new pQ(A)}},{key:"formFieldFilling",value:function(A){return new mQ(A)}},{key:"groupParent",value:function(A){return new kQ(A)}},{key:"ifEmpty",value:function(A){return new vQ(A)}},{key:"includeXDPContent",value:function(A){return new wQ(A)}},{key:"incrementalLoad",value:function(A){return new bQ(A)}},{key:"incrementalMerge",value:function(A){return new DQ(A)}},{key:"interactive",value:function(A){return new FQ(A)}},{key:"jog",value:function(A){return new SQ(A)}},{key:"labelPrinter",value:function(A){return new RQ(A)}},{key:"layout",value:function(A){return new NQ(A)}},{key:"level",value:function(A){return new GQ(A)}},{key:"linearized",value:function(A){return new xQ(A)}},{key:"locale",value:function(A){return new UQ(A)}},{key:"localeSet",value:function(A){return new MQ(A)}},{key:"log",value:function(A){return new JQ(A)}},{key:"map",value:function(A){return new LQ(A)}},{key:"mediumInfo",value:function(A){return new HQ(A)}},{key:"message",value:function(A){return new YQ(A)}},{key:"messaging",value:function(A){return new KQ(A)}},{key:"mode",value:function(A){return new qQ(A)}},{key:"modifyAnnots",value:function(A){return new TQ(A)}},{key:"msgId",value:function(A){return new PQ(A)}},{key:"nameAttr",value:function(A){return new WQ(A)}},{key:"neverEmbed",value:function(A){return new ZQ(A)}},{key:"numberOfCopies",value:function(A){return new OQ(A)}},{key:"openAction",value:function(A){return new XQ(A)}},{key:"output",value:function(A){return new VQ(A)}},{key:"outputBin",value:function(A){return new jQ(A)}},{key:"outputXSL",value:function(A){return new zQ(A)}},{key:"overprint",value:function(A){return new _Q(A)}},{key:"packets",value:function(A){return new $Q(A)}},{key:"pageOffset",value:function(A){return new AE(A)}},{key:"pageRange",value:function(A){return new eE(A)}},{key:"pagination",value:function(A){return new tE(A)}},{key:"paginationOverride",value:function(A){return new aE(A)}},{key:"part",value:function(A){return new iE(A)}},{key:"pcl",value:function(A){return new nE(A)}},{key:"pdf",value:function(A){return new rE(A)}},{key:"pdfa",value:function(A){return new gE(A)}},{key:"permissions",value:function(A){return new oE(A)}},{key:"pickTrayByPDFSize",value:function(A){return new sE(A)}},{key:"picture",value:function(A){return new IE(A)}},{key:"plaintextMetadata",value:function(A){return new cE(A)}},{key:"presence",value:function(A){return new lE(A)}},{key:"present",value:function(A){return new hE(A)}},{key:"print",value:function(A){return new uE(A)}},{key:"printHighQuality",value:function(A){return new CE(A)}},{key:"printScaling",value:function(A){return new BE(A)}},{key:"printerName",value:function(A){return new QE(A)}},{key:"producer",value:function(A){return new EE(A)}},{key:"ps",value:function(A){return new fE(A)}},{key:"range",value:function(A){return new dE(A)}},{key:"record",value:function(A){return new yE(A)}},{key:"relevant",value:function(A){return new pE(A)}},{key:"rename",value:function(A){return new mE(A)}},{key:"renderPolicy",value:function(A){return new kE(A)}},{key:"runScripts",value:function(A){return new vE(A)}},{key:"script",value:function(A){return new wE(A)}},{key:"scriptModel",value:function(A){return new bE(A)}},{key:"severity",value:function(A){return new DE(A)}},{key:"silentPrint",value:function(A){return new FE(A)}},{key:"staple",value:function(A){return new SE(A)}},{key:"startNode",value:function(A){return new RE(A)}},{key:"startPage",value:function(A){return new NE(A)}},{key:"submitFormat",value:function(A){return new GE(A)}},{key:"submitUrl",value:function(A){return new xE(A)}},{key:"subsetBelow",value:function(A){return new UE(A)}},{key:"suppressBanner",value:function(A){return new ME(A)}},{key:"tagged",value:function(A){return new JE(A)}},{key:"template",value:function(A){return new LE(A)}},{key:"templateCache",value:function(A){return new KE(A)}},{key:"threshold",value:function(A){return new HE(A)}},{key:"to",value:function(A){return new YE(A)}},{key:"trace",value:function(A){return new qE(A)}},{key:"transform",value:function(A){return new TE(A)}},{key:"type",value:function(A){return new PE(A)}},{key:"uri",value:function(A){return new WE(A)}},{key:"validate",value:function(A){return new ZE(A)}},{key:"validateApprovalSignatures",value:function(A){return new OE(A)}},{key:"validationMessaging",value:function(A){return new XE(A)}},{key:"version",value:function(A){return new VE(A)}},{key:"versionControl",value:function(A){return new jE(A)}},{key:"viewerPreferences",value:function(A){return new zE(A)}},{key:"webClient",value:function(A){return new _E(A)}},{key:"whitespace",value:function(A){return new $E(A)}},{key:"window",value:function(A){return new Af(A)}},{key:"xdc",value:function(A){return new ef(A)}},{key:"xdp",value:function(A){return new tf(A)}},{key:"xsl",value:function(A){return new af(A)}},{key:"zpl",value:function(A){return new nf(A)}}])}(),gf=Rl.connectionSet.id,of=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"connectionSet",!0])).wsdlConnection=new ph,t.xmlConnection=new ph,t.xsdConnection=new ph,t}return x(e,A),b(e)}(yh),sf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"effectiveInputPolicy"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(yh),If=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"effectiveOutputPolicy"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(yh),cf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"operation"])).id=A.id||"",t.input=A.input||"",t.name=A.name||"",t.output=A.output||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),lf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"rootElement"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),hf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"soapAction"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),uf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"soapAddress"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),Cf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"uri"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),Bf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"wsdlAddress"])).id=A.id||"",t.name=A.name||"",t.use=A.use||"",t.usehref=A.usehref||"",t}return x(e,A),b(e)}(bh),Qf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"wsdlConnection",!0])).dataDescription=A.dataDescription||"",t.name=A.name||"",t.effectiveInputPolicy=null,t.effectiveOutputPolicy=null,t.operation=null,t.soapAction=null,t.soapAddress=null,t.wsdlAddress=null,t}return x(e,A),b(e)}(yh),Ef=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"xmlConnection",!0])).dataDescription=A.dataDescription||"",t.name=A.name||"",t.uri=null,t}return x(e,A),b(e)}(yh),ff=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[gf,"xsdConnection",!0])).dataDescription=A.dataDescription||"",t.name=A.name||"",t.rootElement=null,t.uri=null,t}return x(e,A),b(e)}(yh),df=function(){function A(){F(this,A)}return b(A,null,[{key:Sl,value:function(e,t){if(A.hasOwnProperty(e))return A[e](t)}},{key:"connectionSet",value:function(A){return new of(A)}},{key:"effectiveInputPolicy",value:function(A){return new sf(A)}},{key:"effectiveOutputPolicy",value:function(A){return new If(A)}},{key:"operation",value:function(A){return new cf(A)}},{key:"rootElement",value:function(A){return new lf(A)}},{key:"soapAction",value:function(A){return new hf(A)}},{key:"soapAddress",value:function(A){return new uf(A)}},{key:"uri",value:function(A){return new Cf(A)}},{key:"wsdlAddress",value:function(A){return new Bf(A)}},{key:"wsdlConnection",value:function(A){return new Qf(A)}},{key:"xmlConnection",value:function(A){return new Ef(A)}},{key:"xsdConnection",value:function(A){return new ff(A)}}])}(),yf=Rl.datasets.id,pf=function(A){function e(A){return F(this,e),S(this,e,[yf,"data",A])}return x(e,A),b(e,[{key:el,value:function(){return!0}}])}(kh),mf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[yf,"datasets",!0])).data=null,t.Signature=null,t}return x(e,A),b(e,[{key:Il,value:function(A){var e=A[ol];("data"===e&&A[gl]===yf||"Signature"===e&&A[gl]===Rl.signature.id)&&(this[e]=A),this[Ec](A)}}])}(yh),kf=function(){function A(){F(this,A)}return b(A,null,[{key:Sl,value:function(e,t){if(A.hasOwnProperty(e))return A[e](t)}},{key:"datasets",value:function(A){return new mf(A)}},{key:"data",value:function(A){return new pf(A)}}])}(),vf=Rl.localeSet.id,wf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"calendarSymbols",!0])).name="gregorian",t.dayNames=new ph(2),t.eraNames=null,t.meridiemNames=null,t.monthNames=new ph(2),t}return x(e,A),b(e)}(yh),bf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"currencySymbol"])).name=Ll(A.name,["symbol","isoname","decimal"]),t}return x(e,A),b(e)}(bh),Df=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"currencySymbols",!0])).currencySymbol=new ph(3),t}return x(e,A),b(e)}(yh),Ff=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"datePattern"])).name=Ll(A.name,["full","long","med","short"]),t}return x(e,A),b(e)}(bh),Sf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"datePatterns",!0])).datePattern=new ph(4),t}return x(e,A),b(e)}(yh),Rf=function(A){function e(A){return F(this,e),S(this,e,[vf,"dateTimeSymbols"])}return x(e,A),b(e)}(vh),Nf=function(A){function e(A){return F(this,e),S(this,e,[vf,"day"])}return x(e,A),b(e)}(bh),Gf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"dayNames",!0])).abbr=Ul({data:A.abbr,defaultValue:0,validate:function(A){return 1===A}}),t.day=new ph(7),t}return x(e,A),b(e)}(yh),xf=function(A){function e(A){return F(this,e),S(this,e,[vf,"era"])}return x(e,A),b(e)}(bh),Uf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"eraNames",!0])).era=new ph(2),t}return x(e,A),b(e)}(yh),Mf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"locale",!0])).desc=A.desc||"",t.name="isoname",t.calendarSymbols=null,t.currencySymbols=null,t.datePatterns=null,t.dateTimeSymbols=null,t.numberPatterns=null,t.numberSymbols=null,t.timePatterns=null,t.typeFaces=null,t}return x(e,A),b(e)}(yh),Jf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"localeSet",!0])).locale=new ph,t}return x(e,A),b(e)}(yh),Lf=function(A){function e(A){return F(this,e),S(this,e,[vf,"meridiem"])}return x(e,A),b(e)}(bh),Hf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"meridiemNames",!0])).meridiem=new ph(2),t}return x(e,A),b(e)}(yh),Yf=function(A){function e(A){return F(this,e),S(this,e,[vf,"month"])}return x(e,A),b(e)}(bh),Kf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"monthNames",!0])).abbr=Ul({data:A.abbr,defaultValue:0,validate:function(A){return 1===A}}),t.month=new ph(12),t}return x(e,A),b(e)}(yh),qf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"numberPattern"])).name=Ll(A.name,["full","long","med","short"]),t}return x(e,A),b(e)}(bh),Tf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"numberPatterns",!0])).numberPattern=new ph(4),t}return x(e,A),b(e)}(yh),Pf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"numberSymbol"])).name=Ll(A.name,["decimal","grouping","percent","minus","zero"]),t}return x(e,A),b(e)}(bh),Wf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"numberSymbols",!0])).numberSymbol=new ph(5),t}return x(e,A),b(e)}(yh),Zf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"timePattern"])).name=Ll(A.name,["full","long","med","short"]),t}return x(e,A),b(e)}(bh),Of=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"timePatterns",!0])).timePattern=new ph(4),t}return x(e,A),b(e)}(yh),Xf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"typeFace",!0])).name=""|A.name,t}return x(e,A),b(e)}(yh),Vf=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[vf,"typeFaces",!0])).typeFace=new ph,t}return x(e,A),b(e)}(yh),jf=function(){function A(){F(this,A)}return b(A,null,[{key:Sl,value:function(e,t){if(A.hasOwnProperty(e))return A[e](t)}},{key:"calendarSymbols",value:function(A){return new wf(A)}},{key:"currencySymbol",value:function(A){return new bf(A)}},{key:"currencySymbols",value:function(A){return new Df(A)}},{key:"datePattern",value:function(A){return new Ff(A)}},{key:"datePatterns",value:function(A){return new Sf(A)}},{key:"dateTimeSymbols",value:function(A){return new Rf(A)}},{key:"day",value:function(A){return new Nf(A)}},{key:"dayNames",value:function(A){return new Gf(A)}},{key:"era",value:function(A){return new xf(A)}},{key:"eraNames",value:function(A){return new Uf(A)}},{key:"locale",value:function(A){return new Mf(A)}},{key:"localeSet",value:function(A){return new Jf(A)}},{key:"meridiem",value:function(A){return new Lf(A)}},{key:"meridiemNames",value:function(A){return new Hf(A)}},{key:"month",value:function(A){return new Yf(A)}},{key:"monthNames",value:function(A){return new Kf(A)}},{key:"numberPattern",value:function(A){return new qf(A)}},{key:"numberPatterns",value:function(A){return new Tf(A)}},{key:"numberSymbol",value:function(A){return new Pf(A)}},{key:"numberSymbols",value:function(A){return new Wf(A)}},{key:"timePattern",value:function(A){return new Zf(A)}},{key:"timePatterns",value:function(A){return new Of(A)}},{key:"typeFace",value:function(A){return new Xf(A)}},{key:"typeFaces",value:function(A){return new Vf(A)}}])}(),zf=Rl.signature.id,_f=function(A){function e(A){return F(this,e),S(this,e,[zf,"signature",!0])}return x(e,A),b(e)}(yh),$f=function(){function A(){F(this,A)}return b(A,null,[{key:Sl,value:function(e,t){if(A.hasOwnProperty(e))return A[e](t)}},{key:"signature",value:function(A){return new _f(A)}}])}(),Ad=Rl.stylesheet.id,ed=function(A){function e(A){return F(this,e),S(this,e,[Ad,"stylesheet",!0])}return x(e,A),b(e)}(yh),td=function(){function A(){F(this,A)}return b(A,null,[{key:Sl,value:function(e,t){if(A.hasOwnProperty(e))return A[e](t)}},{key:"stylesheet",value:function(A){return new ed(A)}}])}(),ad=Rl.xdp.id,id=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[ad,"xdp",!0])).uuid=A.uuid||"",t.timeStamp=A.timeStamp||"",t.config=null,t.connectionSet=null,t.datasets=null,t.localeSet=null,t.stylesheet=new ph,t.template=null,t}return x(e,A),b(e,[{key:cl,value:function(A){var e=Rl[A[ol]];return e&&A[gl]===e.id}}])}(yh),nd=function(){function A(){F(this,A)}return b(A,null,[{key:Sl,value:function(e,t){if(A.hasOwnProperty(e))return A[e](t)}},{key:"xdp",value:function(A){return new id(A)}}])}(),rd=Rl.xhtml.id,gd=Symbol(),od=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),sd=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",function(A){return"none"===A?"none":"normal"}],["xfa-font-horizontal-scale",function(A){return"scaleX(".concat(Math.max(0,Math.min(parseInt(A)/100)).toFixed(2),")")}],["xfa-font-vertical-scale",function(A){return"scaleY(".concat(Math.max(0,Math.min(parseInt(A)/100)).toFixed(2),")")}],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",function(A,e){return Rh(.99*(A=e.fontSize=Hl(A)))}],["letter-spacing",function(A){return Rh(Hl(A))}],["line-height",function(A){return Rh(Hl(A))}],["margin",function(A){return Rh(Hl(A))}],["margin-bottom",function(A){return Rh(Hl(A))}],["margin-left",function(A){return Rh(Hl(A))}],["margin-right",function(A){return Rh(Hl(A))}],["margin-top",function(A){return Rh(Hl(A))}],["text-indent",function(A){return Rh(Hl(A))}],["font-family",function(A){return A}],["vertical-align",function(A){return Rh(Hl(A))}]]),Id=/\s+/g,cd=/[\r\n]+/g,ld=/\r\n?/g;function hd(A,e,t){var a=Object.create(null);if(!A)return a;var i,n=Object.create(null),r=m(A.split(";").map((function(A){return A.split(":",2)})));try{for(r.s();!(i=r.n()).done;){var g=d(i.value,2),o=g[0],s=g[1],I=sd.get(o);if(""!==I){var c=s;I&&(c="string"==typeof I?I:I(s,n)),o.endsWith("scale")?a.transform=a.transform?"".concat(a[o]," ").concat(c):c:a[o.replaceAll(/-([a-zA-Z])/g,(function(A,e){return e.toUpperCase()}))]=c}}}catch(A){r.e(A)}finally{r.f()}if(a.fontFamily&&Zh({typeface:a.fontFamily,weight:a.fontWeight||"normal",posture:a.fontStyle||"normal",size:n.fontSize||0},e,e[Zc].fontFinder,a),t&&a.verticalAlign&&"0px"!==a.verticalAlign&&a.fontSize){var l=Hl(a.fontSize);a.fontSize=Rh(.583*l),a.verticalAlign=Rh(Math.sign(Hl(a.verticalAlign))*l*.333)}return t&&a.fontSize&&(a.fontSize="calc(".concat(a.fontSize," * var(--scale-factor))")),Kh(a),a}var ud=new Set(["body","html"]),Cd=function(A){function e(A,t){var a;return F(this,e),(a=S(this,e,[rd,t]))[gd]=!1,a.style=A.style||"",a}return x(e,A),b(e,[{key:dc,value:function(A){var t;i(G(e.prototype),dc,this).call(this,A),this.style=(t=this).style?t.style.trim().split(/\s*;\s*/).filter((function(A){return!!A})).map((function(A){return A.split(/\s*:\s*/,2)})).filter((function(A){var e=d(A,2),a=e[0],i=e[1];return"font-family"===a&&t[Zc].usedTypefaces.add(i),od.has(a)})).map((function(A){return A.join(":")})).join(";"):""}},{key:Bc,value:function(){return!ud.has(this[ol])}},{key:ll,value:function(A){arguments.length>1&&void 0!==arguments[1]&&arguments[1]?this[gd]=!0:(A=A.replaceAll(cd,""),this.style.includes("xfa-spacerun:yes")||(A=A.replaceAll(Id," "))),A&&(this[vc]+=A)}},{key:hl,value:function(A){var e,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=Object.create(null),i={top:NaN,bottom:NaN,left:NaN,right:NaN},n=null,r=m(this.style.split(";").map((function(A){return A.split(":",2)})));try{for(r.s();!(e=r.n()).done;){var g=d(e.value,2),o=g[0],s=g[1];switch(o){case"font-family":a.typeface=xl(s);break;case"font-size":a.size=Hl(s);break;case"font-weight":a.weight=s;break;case"font-style":a.posture=s;break;case"letter-spacing":a.letterSpacing=Hl(s);break;case"margin":var I=s.split(/ \t/).map((function(A){return Hl(A)}));switch(I.length){case 1:i.top=i.bottom=i.left=i.right=I[0];break;case 2:i.top=i.bottom=I[0],i.left=i.right=I[1];break;case 3:i.top=I[0],i.bottom=I[2],i.left=i.right=I[1];break;case 4:i.top=I[0],i.left=I[1],i.bottom=I[2],i.right=I[3]}break;case"margin-top":i.top=Hl(s);break;case"margin-bottom":i.bottom=Hl(s);break;case"margin-left":i.left=Hl(s);break;case"margin-right":i.right=Hl(s);break;case"line-height":n=Hl(s)}}}catch(A){r.e(A)}finally{r.f()}if(A.pushData(a,i,n),this[vc])A.addString(this[vc]);else{var c,l=m(this[Yc]());try{for(l.s();!(c=l.n()).done;){var h=c.value;"#text"!==h[ol]?h[hl](A):A.addString(h[vc])}}catch(A){l.e(A)}finally{l.f()}}t&&A.popFont()}},{key:wl,value:function(A){var e,t=[];return this[Dc]={children:t},this[fc]({}),0!==t.length||this[vc]?(e=this[gd]?this[vc]?this[vc].replaceAll(ld,"\n"):void 0:this[vc]||void 0,ql.success({name:this[ol],attributes:{href:this.href,style:hd(this.style,this,this[gd])},children:t,value:e})):ql.EMPTY}}])}(kh),Bd=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[A,"a"])).href=Oh(A.href)||"",t}return x(e,A),b(e)}(Cd),Qd=function(A){function e(A){return F(this,e),S(this,e,[A,"b"])}return x(e,A),b(e,[{key:hl,value:function(A){A.pushFont({weight:"bold"}),i(G(e.prototype),hl,this).call(this,A),A.popFont()}}])}(Cd),Ed=function(A){function e(A){return F(this,e),S(this,e,[A,"body"])}return x(e,A),b(e,[{key:wl,value:function(A){var t=i(G(e.prototype),wl,this).call(this,A),a=t.html;return a?(a.name="div",a.attributes.class=["xfaRich"],t):ql.EMPTY}}])}(Cd),fd=function(A){function e(A){return F(this,e),S(this,e,[A,"br"])}return x(e,A),b(e,[{key:kl,value:function(){return"\n"}},{key:hl,value:function(A){A.addString("\n")}},{key:wl,value:function(A){return ql.success({name:"br"})}}])}(Cd),dd=function(A){function e(A){return F(this,e),S(this,e,[A,"html"])}return x(e,A),b(e,[{key:wl,value:function(A){var e=[];if(this[Dc]={children:e},this[fc]({}),0===e.length)return ql.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[vc]||""});if(1===e.length){var t,a=e[0];if(null!==(t=a.attributes)&&void 0!==t&&t.class.includes("xfaRich"))return ql.success(a)}return ql.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:e})}}])}(Cd),yd=function(A){function e(A){return F(this,e),S(this,e,[A,"i"])}return x(e,A),b(e,[{key:hl,value:function(A){A.pushFont({posture:"italic"}),i(G(e.prototype),hl,this).call(this,A),A.popFont()}}])}(Cd),pd=function(A){function e(A){return F(this,e),S(this,e,[A,"li"])}return x(e,A),b(e)}(Cd),md=function(A){function e(A){return F(this,e),S(this,e,[A,"ol"])}return x(e,A),b(e)}(Cd),kd=function(A){function e(A){return F(this,e),S(this,e,[A,"p"])}return x(e,A),b(e,[{key:hl,value:function(A){i(G(e.prototype),hl,this).call(this,A,!1),A.addString("\n"),A.addPara(),A.popFont()}},{key:kl,value:function(){return this[Pc]()[Yc]().at(-1)===this?i(G(e.prototype),kl,this).call(this):i(G(e.prototype),kl,this).call(this)+"\n"}}])}(Cd),vd=function(A){function e(A){return F(this,e),S(this,e,[A,"span"])}return x(e,A),b(e)}(Cd),wd=function(A){function e(A){return F(this,e),S(this,e,[A,"sub"])}return x(e,A),b(e)}(Cd),bd=function(A){function e(A){return F(this,e),S(this,e,[A,"sup"])}return x(e,A),b(e)}(Cd),Dd=function(A){function e(A){return F(this,e),S(this,e,[A,"ul"])}return x(e,A),b(e)}(Cd),Fd=function(){function A(){F(this,A)}return b(A,null,[{key:Sl,value:function(e,t){if(A.hasOwnProperty(e))return A[e](t)}},{key:"a",value:function(A){return new Bd(A)}},{key:"b",value:function(A){return new Qd(A)}},{key:"body",value:function(A){return new Ed(A)}},{key:"br",value:function(A){return new fd(A)}},{key:"html",value:function(A){return new dd(A)}},{key:"i",value:function(A){return new yd(A)}},{key:"li",value:function(A){return new pd(A)}},{key:"ol",value:function(A){return new md(A)}},{key:"p",value:function(A){return new kd(A)}},{key:"span",value:function(A){return new vd(A)}},{key:"sub",value:function(A){return new wd(A)}},{key:"sup",value:function(A){return new bd(A)}},{key:"ul",value:function(A){return new Dd(A)}}])}(),Sd={config:rf,connection:df,datasets:kf,localeSet:jf,signature:$f,stylesheet:td,template:pB,xdp:nd,xhtml:Fd},Rd=function(){return b((function A(e){F(this,A),this.namespaceId=e}),[{key:Sl,value:function(A,e){return new kh(this.namespaceId,A,e)}}])}(),Nd=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[-1,"root",Object.create(null)])).element=null,t[Xc]=A,t}return x(e,A),b(e,[{key:Il,value:function(A){return this.element=A,!0}},{key:Fc,value:function(){i(G(e.prototype),Fc,this).call(this),this.element.template instanceof IB&&(this[Xc].set(Ql,this.element),this.element.template[El](this[Xc]),this.element.template[Xc]=this[Xc])}}])}(yh),Gd=function(A){function e(){return F(this,e),S(this,e,[-1,"",Object.create(null)])}return x(e,A),b(e,[{key:Il,value:function(A){return!1}}])}(yh),xd=function(){return b((function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;F(this,A),this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max.apply(Math,I(Object.values(Rl).map((function(A){return A.id})))),this._currentNamespace=e||new Rd(++this._nextNsId)}),[{key:"buildRoot",value:function(A){return new Nd(A)}},{key:"build",value:function(A){var e=A.nsPrefix,t=A.name,a=A.attributes,i=A.namespace,n=A.prefixes,r=null!==i;if(r&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(i)),n&&this._addNamespacePrefix(n),a.hasOwnProperty(sl)){for(var g=Sd.datasets,o=a[sl],s=null,I=0,c=Object.entries(o);I<c.length;I++){var l=d(c[I],2),h=l[0],u=l[1];if(this._getNamespaceToUse(h)===g){s={xfa:u};break}}s?a[sl]=s:delete a[sl]}var C=this._getNamespaceToUse(e),B=(null==C?void 0:C[Sl](t,a))||new Gd;return B[el]()&&this._nsAgnosticLevel++,(r||n||B[el]())&&(B[pc]={hasNamespace:r,prefixes:n,nsAgnostic:B[el]()}),B}},{key:"isNsAgnostic",value:function(){return this._nsAgnosticLevel>0}},{key:"_searchNamespace",value:function(A){var e=this._namespaces.get(A);if(e)return e;for(var t=0,a=Object.entries(Rl);t<a.length;t++){var i=d(a[t],2),n=i[0];if((0,i[1].check)(A)){if(e=Sd[n])return this._namespaces.set(A,e),e;break}}return e=new Rd(++this._nextNsId),this._namespaces.set(A,e),e}},{key:"_addNamespacePrefix",value:function(A){var e,t=m(A);try{for(t.s();!(e=t.n()).done;){var a=e.value,i=a.prefix,n=a.value,r=this._searchNamespace(n),g=this._namespacePrefixes.get(i);g||(g=[],this._namespacePrefixes.set(i,g)),g.push(r)}}catch(A){t.e(A)}finally{t.f()}}},{key:"_getNamespaceToUse",value:function(A){if(!A)return this._currentNamespace;var e=this._namespacePrefixes.get(A);return(null==e?void 0:e.length)>0?e.at(-1):(uA("Unknown namespace prefix: ".concat(A,".")),null)}},{key:"clean",value:function(A){var e=this,t=A.hasNamespace,a=A.prefixes,i=A.nsAgnostic;t&&(this._currentNamespace=this._namespaceStack.pop()),a&&a.forEach((function(A){var t=A.prefix;e._namespacePrefixes.get(t).pop()})),i&&this._nsAgnosticLevel--}}])}(),Ud=function(A){function e(){var A,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return F(this,e),(A=S(this,e))._builder=new xd(t),A._stack=[],A._globalData={usedTypefaces:new Set},A._ids=new Map,A._current=A._builder.buildRoot(A._ids),A._errorCode=0,A._whiteRegex=/^\s+$/,A._nbsps=/\xa0+/g,A._richText=a,A}return x(e,A),b(e,[{key:"parse",value:function(A){if(this.parseXml(A),0===this._errorCode)return this._current[Fc](),this._current.element}},{key:"onText",value:function(A){A=A.replace(this._nbsps,(function(A){return A.slice(1)+" "})),this._richText||this._current[Bc]()?this._current[ll](A,this._richText):this._whiteRegex.test(A)||this._current[ll](A.trim())}},{key:"onCdata",value:function(A){this._current[ll](A)}},{key:"_mkAttributes",value:function(A,e){var t,a=null,i=null,n=Object.create({}),r=m(A);try{for(r.s();!(t=r.n()).done;){var g=t.value,o=g.name,s=g.value;if("xmlns"===o)a?uA("XFA - multiple namespace definition in <".concat(e,">")):a=s;else if(o.startsWith("xmlns:")){var I=o.substring(6);i||(i=[]),i.push({prefix:I,value:s})}else{var c=o.indexOf(":");if(-1===c)n[o]=s;else{var l,h=n[sl];h||(h=n[sl]=Object.create(null));var u=[o.slice(0,c),o.slice(c+1)],C=u[0],B=u[1];((l=h)[C]||(l[C]=Object.create(null)))[B]=s}}}}catch(A){r.e(A)}finally{r.f()}return[a,i,n]}},{key:"_getNameAndPrefix",value:function(A,e){var t=A.indexOf(":");return-1===t?[A,null]:[A.substring(t+1),e?"":A.substring(0,t)]}},{key:"onBeginElement",value:function(A,e,t){var a=d(this._mkAttributes(e,A),3),i=a[0],n=a[1],r=a[2],g=d(this._getNameAndPrefix(A,this._builder.isNsAgnostic()),2),o=g[0],s=g[1],I=this._builder.build({nsPrefix:s,name:o,attributes:r,namespace:i,prefixes:n});if(I[Zc]=this._globalData,t)return I[Fc](),this._current[Il](I)&&I[dl](this._ids),void I[dc](this._builder);this._stack.push(this._current),this._current=I}},{key:"onEndElement",value:function(A){var t=this._current;if(t[zc]()&&"string"==typeof t[vc]){var a=new e;a._globalData=this._globalData;var i=a.parse(t[vc]);t[vc]=null,t[Il](i)}t[Fc](),this._current=this._stack.pop(),this._current[Il](t)&&t[dl](this._ids),t[dc](this._builder)}},{key:"onError",value:function(A){this._errorCode=A}}])}(eI),Md=function(){return b((function A(e){F(this,A);try{this.root=(new Ud).parse(A._createDocument(e));var t=new vB(this.root);this.form=t.bind(),this.dataHandler=new wB(this.root,t.getData()),this.form[Zc].template=this.form}catch(A){uA("XFA - an error occurred during parsing and binding: ".concat(A))}}),[{key:"isValid",value:function(){return this.root&&this.form}},{key:"_createPagesHelper",value:function(){var A=this.form[vl]();return new Promise((function(e,t){setTimeout((function a(){try{var i=A.next();i.done?e(i.value):setTimeout(a,0)}catch(A){t(A)}}),0)}))}},{key:"_createPages",value:(t=E(B().mark((function A(){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.prev=0,A.next=3,this._createPagesHelper();case 3:this.pages=A.sent,this.dims=this.pages.children.map((function(A){var e=A.attributes.style,t=e.width,a=e.height;return[0,0,parseInt(t),parseInt(a)]})),A.next=10;break;case 7:A.prev=7,A.t0=A.catch(0),uA("XFA - an error occurred during layout: ".concat(A.t0));case 10:case"end":return A.stop()}}),A,this,[[0,7]])}))),function(){return t.apply(this,arguments)})},{key:"getBoundingBox",value:function(A){return this.dims[A]}},{key:"getNumPages",value:(e=E(B().mark((function A(){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(this.pages){A.next=3;break}return A.next=3,this._createPages();case 3:return A.abrupt("return",this.dims.length);case 4:case"end":return A.stop()}}),A,this)}))),function(){return e.apply(this,arguments)})},{key:"setImages",value:function(A){this.form[Zc].images=A}},{key:"setFonts",value:function(A){this.form[Zc].fontFinder=new Tl(A);var e,t=[],a=m(this.form[Zc].usedTypefaces);try{for(a.s();!(e=a.n()).done;){var i=e.value;i=xl(i),this.form[Zc].fontFinder.find(i)||t.push(i)}}catch(A){a.e(A)}finally{a.f()}return t.length>0?t:null}},{key:"appendFonts",value:function(A,e){this.form[Zc].fontFinder.add(A,e)}},{key:"getPages",value:(A=E(B().mark((function A(){var e;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(this.pages){A.next=3;break}return A.next=3,this._createPages();case 3:return e=this.pages,this.pages=null,A.abrupt("return",e);case 6:case"end":return A.stop()}}),A,this)}))),function(){return A.apply(this,arguments)})},{key:"serializeData",value:function(A){return this.dataHandler.serialize(A)}}],[{key:"_createDocument",value:function(A){return A["/xdp:xdp"]?Object.values(A).join(""):A["xdp:xdp"]}},{key:"getRichTextAsHtml",value:function(A){if(!A||"string"!=typeof A)return null;try{var e=new Ud(Fd,!0).parse(A);if(!["body","xhtml"].includes(e[ol])){var t=Fd.body({});t[Ec](e),e=t}var a=e[wl]();if(!a.success)return null;var i=a.html,n=i.attributes;return n&&(n.class&&(n.class=n.class.filter((function(A){return!A.startsWith("xfa")}))),n.dir="auto"),{html:i,str:e[kl]()}}catch(A){uA("XFA - an error occurred during parsing of rich text: ".concat(A))}return null}}]);var A,e,t}(),Jd=function(){return b((function A(){F(this,A)}),null,[{key:"createGlobals",value:function(A){return Promise.all([A.ensureCatalog("acroForm"),A.ensureDoc("xfaDatasets"),A.ensureCatalog("structTreeRoot"),A.ensureCatalog("baseUrl"),A.ensureCatalog("attachments")]).then((function(e){var t=d(e,5),a=t[0],i=t[1],n=t[2],r=t[3],g=t[4];return{pdfManager:A,acroForm:a instanceof _A?a:_A.empty,xfaDatasets:i,structTreeRoot:n,baseUrl:r,attachments:g}}),(function(A){return uA('createGlobals: "'.concat(A,'".')),null}))}},{key:"create",value:(a=E(B().mark((function A(e,t,a,i,n,r){var g;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!n){A.next=6;break}return A.next=3,this._getPageIndex(e,t,a.pdfManager);case 3:A.t0=A.sent,A.next=7;break;case 6:A.t0=null;case 7:return g=A.t0,A.abrupt("return",a.pdfManager.ensure(this,"_create",[e,t,a,i,n,g,r]));case 9:case"end":return A.stop()}}),A,this)}))),function(A,e,t,i,n,r){return a.apply(this,arguments)})},{key:"_create",value:function(A,e,t,a){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,g=A.fetchIfRef(e);if(g instanceof _A){var o=t.acroForm,s=t.pdfManager,I=e instanceof $A?e.toString():"annot_".concat(a.createObjId()),c=g.get("Subtype"),l={xref:A,ref:e,dict:g,subtype:c=c instanceof VA?c.name:null,id:I,annotationGlobals:t,collectFields:i,needAppearances:!i&&!0===o.get("NeedAppearances"),pageIndex:n,evaluatorOptions:s.evaluatorOptions,pageRef:r};switch(c){case"Link":return new zd(l);case"Text":return new jd(l);case"Widget":var h=ue({dict:g,key:"FT"});switch(h=h instanceof VA?h.name:null){case"Tx":return new Zd(l);case"Btn":return new Od(l);case"Ch":return new Xd(l);case"Sig":return new Vd(l)}return uA('Unimplemented widget field type "'.concat(h,'", ')+"falling back to base field type."),new Wd(l);case"Popup":return new _d(l);case"FreeText":return new $d(l);case"Line":return new Ay(l);case"Square":return new ey(l);case"Circle":return new ty(l);case"PolyLine":return new ay(l);case"Polygon":return new iy(l);case"Caret":return new ny(l);case"Ink":return new ry(l);case"Highlight":return new gy(l);case"Underline":return new oy(l);case"Squiggly":return new sy(l);case"StrikeOut":return new Iy(l);case"Stamp":return new cy(l);case"FileAttachment":return new ly(l);default:return i||uA(c?'Unimplemented annotation type "'.concat(c,'", ')+"falling back to base annotation.":"Annotation is missing the required /Subtype."),new qd(l)}}}},{key:"_getPageIndex",value:(t=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c,l,h;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.prev=0,A.next=3,e.fetchIfRefAsync(t);case 3:if((i=A.sent)instanceof _A){A.next=6;break}return A.abrupt("return",-1);case 6:if(!((n=i.getRaw("P"))instanceof $A)){A.next=18;break}return A.prev=8,A.next=11,a.ensureCatalog("getPageIndex",[n]);case 11:return r=A.sent,A.abrupt("return",r);case 15:A.prev=15,A.t0=A.catch(8),hA('_getPageIndex -- not a valid page reference: "'.concat(A.t0,'".'));case 18:if(!i.has("Kids")){A.next=20;break}return A.abrupt("return",-1);case 20:return A.next=22,a.ensureDoc("numPages");case 22:g=A.sent,o=0;case 24:if(!(o<g)){A.next=51;break}return A.next=27,a.getPage(o);case 27:return s=A.sent,A.next=30,a.ensure(s,"annotations");case 30:I=A.sent,c=m(I),A.prev=32,c.s();case 34:if((l=c.n()).done){A.next=40;break}if(!((h=l.value)instanceof $A&&ne(h,t))){A.next=38;break}return A.abrupt("return",o);case 38:A.next=34;break;case 40:A.next=45;break;case 42:A.prev=42,A.t1=A.catch(32),c.e(A.t1);case 45:return A.prev=45,c.f(),A.finish(45);case 48:o++,A.next=24;break;case 51:A.next=56;break;case 53:A.prev=53,A.t2=A.catch(0),uA('_getPageIndex: "'.concat(A.t2,'".'));case 56:return A.abrupt("return",-1);case 57:case"end":return A.stop()}}),A,null,[[0,53],[8,15],[32,42,45,48]])}))),function(A,e,a){return t.apply(this,arguments)})},{key:"generateImages",value:function(A,e,t){if(!t)return uA("generateImages: OffscreenCanvas is not supported, cannot save or print some annotations with images."),null;var a,i,n=m(A);try{for(n.s();!(i=n.n()).done;){var r=i.value,g=r.bitmapId,o=r.bitmap;o&&(a||(a=new Map),a.set(g,cy.createImage(o,e)))}}catch(A){n.e(A)}finally{n.f()}return a}},{key:"saveNewAnnotations",value:(e=E(B().mark((function A(e,t,a,i){var n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d,y;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:n=e.xref,g=[],o=[],s=e.options.isOffscreenCanvasSupported,I=m(a),A.prev=5,I.s();case 7:if((c=I.n()).done){A.next=55;break}if(!(l=c.value).deleted){A.next=11;break}return A.abrupt("continue",53);case 11:A.t0=l.annotationType,A.next=3===A.t0?14:9===A.t0?27:15===A.t0?29:13===A.t0?31:53;break;case 14:if(r){A.next=25;break}return(h=new _A(n)).set("BaseFont",VA.get("Helvetica")),h.set("Type",VA.get("Font")),h.set("Subtype",VA.get("Type1")),h.set("Encoding",VA.get("WinAnsiEncoding")),u=[],r=n.getNewTemporaryRef(),A.next=24,wI(r,h,u,n);case 24:g.push({ref:r,data:u.join("")});case 25:return o.push($d.createNewAnnotation(n,l,g,{evaluator:e,task:t,baseFontRef:r})),A.abrupt("break",53);case 27:return l.quadPoints?o.push(gy.createNewAnnotation(n,l,g)):o.push(ry.createNewAnnotation(n,l,g)),A.abrupt("break",53);case 29:return o.push(ry.createNewAnnotation(n,l,g)),A.abrupt("break",53);case 31:if(s){A.next=33;break}return A.abrupt("break",53);case 33:return A.next=35,i.get(l.bitmapId);case 35:if(!(C=A.sent).imageStream){A.next=51;break}if(Q=C.imageStream,E=C.smaskStream,f=[],!E){A.next=46;break}return d=n.getNewTemporaryRef(),A.next=43,wI(d,E,f,n);case 43:g.push({ref:d,data:f.join("")}),Q.dict.set("SMask",d),f.length=0;case 46:return y=C.imageRef=n.getNewTemporaryRef(),A.next=49,wI(y,Q,f,n);case 49:g.push({ref:y,data:f.join("")}),C.imageStream=C.smaskStream=null;case 51:return o.push(cy.createNewAnnotation(n,l,g,{image:C})),A.abrupt("break",53);case 53:A.next=7;break;case 55:A.next=60;break;case 57:A.prev=57,A.t1=A.catch(5),I.e(A.t1);case 60:return A.prev=60,I.f(),A.finish(60);case 63:return A.next=65,Promise.all(o);case 65:return A.t2=A.sent,A.t3=g,A.abrupt("return",{annotations:A.t2,dependencies:A.t3});case 68:case"end":return A.stop()}}),A,null,[[5,57,60,63]])}))),function(A,t,a,i){return e.apply(this,arguments)})},{key:"printNewAnnotations",value:(A=E(B().mark((function A(e,t,a,i,n){var r,g,o,s,I,c,l,h,u;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(i){A.next=2;break}return A.abrupt("return",null);case 2:r=t.options,g=t.xref,o=[],s=m(i),A.prev=5,s.s();case 7:if((I=s.n()).done){A.next=30;break}if(!(c=I.value).deleted){A.next=11;break}return A.abrupt("continue",28);case 11:A.t0=c.annotationType,A.next=3===A.t0?14:9===A.t0?16:15===A.t0?18:13===A.t0?20:28;break;case 14:return o.push($d.createNewPrintAnnotation(e,g,c,{evaluator:t,task:a,evaluatorOptions:r})),A.abrupt("break",28);case 16:return c.quadPoints?o.push(gy.createNewPrintAnnotation(e,g,c,{evaluatorOptions:r})):o.push(ry.createNewPrintAnnotation(e,g,c,{evaluatorOptions:r})),A.abrupt("break",28);case 18:return o.push(ry.createNewPrintAnnotation(e,g,c,{evaluatorOptions:r})),A.abrupt("break",28);case 20:if(r.isOffscreenCanvasSupported){A.next=22;break}return A.abrupt("break",28);case 22:return A.next=24,n.get(c.bitmapId);case 24:return(l=A.sent).imageStream&&(h=l.imageStream,(u=l.smaskStream)&&h.dict.set("SMask",u),l.imageRef=new Ii(h,h.length),l.imageStream=l.smaskStream=null),o.push(cy.createNewPrintAnnotation(e,g,c,{image:l,evaluatorOptions:r})),A.abrupt("break",28);case 28:A.next=7;break;case 30:A.next=35;break;case 32:A.prev=32,A.t1=A.catch(5),s.e(A.t1);case 35:return A.prev=35,s.f(),A.finish(35);case 38:return A.abrupt("return",Promise.all(o));case 39:case"end":return A.stop()}}),A,null,[[5,32,35,38]])}))),function(e,t,a,i,n){return A.apply(this,arguments)})}]);var A,e,t,a}();function Ld(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint8ClampedArray(3);if(!Array.isArray(A))return e;var t=e||new Uint8ClampedArray(3);switch(A.length){case 0:return null;case 1:return Ve.singletons.gray.getRgbItem(A,0,t,0),t;case 3:return Ve.singletons.rgb.getRgbItem(A,0,t,0),t;case 4:return Ve.singletons.cmyk.getRgbItem(A,0,t,0),t;default:return e}}function Hd(A){return Array.from(A,(function(A){return A/255}))}function Yd(A,e){var t=A.getArray("QuadPoints");if(!pe(t,null)||0===t.length||t.length%8>0)return null;for(var a=[],i=0,n=t.length/8;i<n;i++){for(var r=1/0,g=-1/0,o=1/0,s=-1/0,I=8*i,c=8*i+8;I<c;I+=2){var l=t[I],h=t[I+1];r=Math.min(l,r),g=Math.max(l,g),o=Math.min(h,o),s=Math.max(h,s)}if(null!==e&&(r<e[0]||g>e[2]||o<e[1]||s>e[3]))return null;a.push([{x:r,y:s},{x:g,y:s},{x:r,y:o},{x:g,y:o}])}return a}function Kd(A,e,t){var a=d(GA.getAxialAlignedBoundingBox(e,t),4),i=a[0],n=a[1],r=a[2],g=a[3];if(i===r||n===g)return[1,0,0,1,A[0],A[1]];var o=(A[2]-A[0])/(r-i),s=(A[3]-A[1])/(g-n);return[o,0,0,s,A[0]-i*o,A[1]-n*s]}var qd=function(){return b((function A(e){F(this,A);var t=e.dict,a=e.xref,i=e.annotationGlobals;this.setTitle(t.get("T")),this.setContents(t.get("Contents")),this.setModificationDate(t.get("M")),this.setFlags(t.get("F")),this.setRectangle(t.getArray("Rect")),this.setColor(t.getArray("C")),this.setBorderStyle(t),this.setAppearance(t),this.setOptionalContent(t);var n=t.get("MK");this.setBorderAndBackgroundColors(n),this.setRotation(n,t),this.ref=e.ref instanceof $A?e.ref:null,this._streams=[],this.appearance&&this._streams.push(this.appearance);var r=!!(128&this.flags),g=!!(512&this.flags);if(i.structTreeRoot){var o=t.get("StructParent");o=Number.isInteger(o)&&o>=0?o:-1,i.structTreeRoot.addAnnotationIdToPage(e.pageRef,o)}if(this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:e.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:e.subtype,hasOwnCanvas:!1,noRotate:!!(16&this.flags),noHTML:r&&g},e.collectFields){var s=t.get("Kids");if(Array.isArray(s)){var I,c=[],l=m(s);try{for(l.s();!(I=l.n()).done;){var h=I.value;h instanceof $A&&c.push(h.toString())}}catch(A){l.e(A)}finally{l.f()}0!==c.length&&(this.data.kidIds=c)}this.data.actions=Se(a,t,V),this.data.fieldName=this._constructFieldName(t),this.data.pageIndex=e.pageIndex}this._isOffscreenCanvasSupported=e.evaluatorOptions.isOffscreenCanvasSupported,this._fallbackFontDict=null,this._needAppearances=!1}),[{key:"_hasFlag",value:function(A,e){return!!(A&e)}},{key:"_isViewable",value:function(A){return!this._hasFlag(A,1)&&!this._hasFlag(A,32)}},{key:"_isPrintable",value:function(A){return this._hasFlag(A,4)&&!this._hasFlag(A,2)&&!this._hasFlag(A,1)}},{key:"mustBeViewed",value:function(A,e){var t,a=null==A||null===(t=A.get(this.data.id))||void 0===t?void 0:t.noView;return void 0!==a?!a:this.viewable&&!this._hasFlag(this.flags,2)}},{key:"mustBePrinted",value:function(A){var e,t=null==A||null===(e=A.get(this.data.id))||void 0===e?void 0:e.noPrint;return void 0!==t?!t:this.printable}},{key:"viewable",get:function(){return null!==this.data.quadPoints&&(0===this.flags||this._isViewable(this.flags))}},{key:"printable",get:function(){return null!==this.data.quadPoints&&0!==this.flags&&this._isPrintable(this.flags)}},{key:"_parseStringHelper",value:function(A){var e="string"==typeof A?JA(A):"";return{str:e,dir:e&&"rtl"===rs(e).dir?"rtl":"ltr"}}},{key:"setDefaultAppearance",value:function(A){var e=A.dict,t=A.annotationGlobals,a=ue({dict:e,key:"DA"})||t.acroForm.get("DA");this._defaultAppearance="string"==typeof a?a:"",this.data.defaultAppearanceData=Ks(this._defaultAppearance)}},{key:"setTitle",value:function(A){this._title=this._parseStringHelper(A)}},{key:"setContents",value:function(A){this._contents=this._parseStringHelper(A)}},{key:"setModificationDate",value:function(A){this.modificationDate="string"==typeof A?A:null}},{key:"setFlags",value:function(A){this.flags=Number.isInteger(A)&&A>0?A:0,1&this.flags&&"Annotation"!==this.constructor.name&&(this.flags^=1)}},{key:"hasFlag",value:function(A){return this._hasFlag(this.flags,A)}},{key:"setRectangle",value:function(A){this.rectangle=ve(A,[0,0,0,0])}},{key:"setColor",value:function(A){this.color=Ld(A)}},{key:"setLineEndings",value:function(A){if(this.lineEndings=["None","None"],Array.isArray(A)&&2===A.length)for(var e=0;e<2;e++){var t=A[e];if(t instanceof VA)switch(t.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[e]=t.name;continue}uA("Ignoring invalid lineEnding: ".concat(t))}}},{key:"setRotation",value:function(A,e){this.rotation=0;var t=A instanceof _A?A.get("R")||0:e.get("Rotate")||0;Number.isInteger(t)&&0!==t&&((t%=360)<0&&(t+=360),t%90==0&&(this.rotation=t))}},{key:"setBorderAndBackgroundColors",value:function(A){A instanceof _A?(this.borderColor=Ld(A.getArray("BC"),null),this.backgroundColor=Ld(A.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}},{key:"setBorderStyle",value:function(A){if(this.borderStyle=new Td,A instanceof _A)if(A.has("BS")){var e=A.get("BS");if(e instanceof _A){var t=e.get("Type");t&&!te(t,"Border")||(this.borderStyle.setWidth(e.get("W"),this.rectangle),this.borderStyle.setStyle(e.get("S")),this.borderStyle.setDashArray(e.getArray("D")))}}else if(A.has("Border")){var a=A.getArray("Border");Array.isArray(a)&&a.length>=3&&(this.borderStyle.setHorizontalCornerRadius(a[0]),this.borderStyle.setVerticalCornerRadius(a[1]),this.borderStyle.setWidth(a[2],this.rectangle),4===a.length&&this.borderStyle.setDashArray(a[3],!0))}else this.borderStyle.setWidth(0)}},{key:"setAppearance",value:function(A){this.appearance=null;var e=A.get("AP");if(e instanceof _A){var t=e.get("N");if(t instanceof re)this.appearance=t;else if(t instanceof _A){var a=A.get("AS");if(a instanceof VA&&t.has(a.name)){var i=t.get(a.name);i instanceof re&&(this.appearance=i)}}}}},{key:"setOptionalContent",value:function(A){this.oc=null;var e=A.get("OC");e instanceof VA?uA("setOptionalContent: Support for /Name-entry is not implemented."):e instanceof _A&&(this.oc=e)}},{key:"loadResources",value:function(A,e){return e.dict.getAsync("Resources").then((function(e){if(e)return new Cc(e,A,e.xref).load().then((function(){return e}))}))}},{key:"getOperatorList",value:(t=E(B().mark((function A(e,t,a,i,n){var r,g,o,s,I,c,l,h,u,C,Q,E,f;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(r=this.data,g=r.hasOwnCanvas,o=r.id,s=r.rect,I=this.appearance,!(c=!!(g&&2&a))||s[0]!==s[2]&&s[1]!==s[3]){A.next=6;break}return this.data.hasOwnCanvas=!1,A.abrupt("return",{opList:new vs,separateForm:!1,separateCanvas:!1});case 6:if(I){A.next=11;break}if(c){A.next=9;break}return A.abrupt("return",{opList:new vs,separateForm:!1,separateCanvas:!1});case 9:(I=new We("")).dict=new _A;case 11:return l=I.dict,A.next=14,this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],I);case 14:if(h=A.sent,u=ke(l.getArray("BBox"),[0,0,1,1]),C=me(l.getArray("Matrix"),Y),Q=Kd(s,u,C),E=new vs,!this.oc){A.next=23;break}return A.next=22,e.parseMarkedContentProps(this.oc,null);case 22:f=A.sent;case 23:return void 0!==f&&E.addOp(gA,["OC",f]),E.addOp(80,[o,s,Q,C,c]),A.next=27,e.getOperatorList({stream:I,task:t,resources:h,operatorList:E,fallbackFontDict:this._fallbackFontDict});case 27:return E.addOp(81,[]),void 0!==f&&E.addOp(oA,[]),this.reset(),A.abrupt("return",{opList:E,separateForm:!1,separateCanvas:c});case 31:case"end":return A.stop()}}),A,this)}))),function(A,e,a,i,n){return t.apply(this,arguments)})},{key:"save",value:(e=E(B().mark((function A(e,t,a){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",null);case 1:case"end":return A.stop()}}),A)}))),function(A,t,a){return e.apply(this,arguments)})},{key:"hasTextContent",get:function(){return!1}},{key:"extractTextContent",value:(A=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(this.appearance){A.next=2;break}return A.abrupt("return");case 2:return A.next=4,this.loadResources(["ExtGState","Font","Properties","XObject"],this.appearance);case 4:return i=A.sent,n=[],r=[],g=null,o={desiredSize:Math.Infinity,ready:!0,enqueue:function(A,e){var t,a=m(A.items);try{for(a.s();!(t=a.n()).done;){var i=t.value;void 0!==i.str&&(g||(g=i.transform.slice(-2)),r.push(i.str),i.hasEOL&&(n.push(r.join("").trimEnd()),r.length=0))}}catch(A){a.e(A)}finally{a.f()}}},A.next=11,e.getTextContent({stream:this.appearance,task:t,resources:i,includeMarkedContent:!0,keepWhiteSpace:!0,sink:o,viewBox:a});case 11:this.reset(),r.length&&n.push(r.join("").trimEnd()),(n.length>1||n[0])&&(s=this.appearance.dict,I=ke(s.getArray("BBox"),null),c=me(s.getArray("Matrix"),null),this.data.textPosition=this._transformPoint(g,I,c),this.data.textContent=n);case 14:case"end":return A.stop()}}),A,this)}))),function(e,t,a){return A.apply(this,arguments)})},{key:"_transformPoint",value:function(A,e,t){var a=this.data.rect;e||(e=[0,0,1,1]),t||(t=[1,0,0,1,0,0]);var i=Kd(a,e,t);return i[4]-=a[0],i[5]-=a[1],A=GA.applyTransform(A,i),GA.applyTransform(A,t)}},{key:"getFieldObject",value:function(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}},{key:"reset",value:function(){var A,e=m(this._streams);try{for(e.s();!(A=e.n()).done;)A.value.reset()}catch(A){e.e(A)}finally{e.f()}}},{key:"_constructFieldName",value:function(A){if(!A.has("T")&&!A.has("Parent"))return uA("Unknown field name, falling back to empty field name."),"";if(!A.has("Parent"))return JA(A.get("T"));var e=[];A.has("T")&&e.unshift(JA(A.get("T")));var t=A,a=new Ae;for(A.objId&&a.put(A.objId);t.has("Parent")&&(t=t.get("Parent"))instanceof _A&&(!t.objId||!a.has(t.objId));)t.objId&&a.put(t.objId),t.has("T")&&e.unshift(JA(t.get("T")));return e.join(".")}}]);var A,e,t}(),Td=function(){return b((function A(){F(this,A),this.width=1,this.style=1,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}),[{key:"setWidth",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0,0];if(A instanceof VA)this.width=0;else if("number"==typeof A){if(A>0){var t=(e[2]-e[0])/2,a=(e[3]-e[1])/2;t>0&&a>0&&(A>t||A>a)&&(uA("AnnotationBorderStyle.setWidth - ignoring width: ".concat(A)),A=1)}this.width=A}}},{key:"setStyle",value:function(A){if(A instanceof VA)switch(A.name){case"S":this.style=1;break;case"D":this.style=2;break;case"B":this.style=3;break;case"I":this.style=4;break;case"U":this.style=5}}},{key:"setDashArray",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(A)){var t,a=!0,i=!0,n=m(A);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(!(+r>=0)){a=!1;break}r>0&&(i=!1)}}catch(A){n.e(A)}finally{n.f()}0===A.length||a&&!i?(this.dashArray=A,e&&this.setStyle(VA.get("D"))):this.width=0}else A&&(this.width=0)}},{key:"setHorizontalCornerRadius",value:function(A){Number.isInteger(A)&&(this.horizontalCornerRadius=A)}},{key:"setVerticalCornerRadius",value:function(A){Number.isInteger(A)&&(this.verticalCornerRadius=A)}}])}(),Pd=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict;if(a.has("IRT")){var i=a.getRaw("IRT");t.data.inReplyTo=i instanceof $A?i.toString():null;var n=a.get("RT");t.data.replyType=n instanceof VA?n.name:"R"}var r=null;if(t.data.replyType===Z){var g=a.get("IRT");t.setTitle(g.get("T")),t.data.titleObj=t._title,t.setContents(g.get("Contents")),t.data.contentsObj=t._contents,g.has("CreationDate")?(t.setCreationDate(g.get("CreationDate")),t.data.creationDate=t.creationDate):t.data.creationDate=null,g.has("M")?(t.setModificationDate(g.get("M")),t.data.modificationDate=t.modificationDate):t.data.modificationDate=null,r=g.getRaw("Popup"),g.has("C")?(t.setColor(g.getArray("C")),t.data.color=t.color):t.data.color=null}else t.data.titleObj=t._title,t.setCreationDate(a.get("CreationDate")),t.data.creationDate=t.creationDate,r=a.getRaw("Popup"),a.has("C")||(t.data.color=null);return t.data.popupRef=r instanceof $A?r.toString():null,a.has("RC")&&(t.data.richText=Md.getRichTextAsHtml(a.get("RC"))),t}return x(e,A),b(e,[{key:"setCreationDate",value:function(A){this.creationDate="string"==typeof A?A:null}},{key:"_setDefaultAppearance",value:function(A){var e=A.xref,t=A.extra,a=A.strokeColor,i=A.fillColor,n=A.blendMode,r=A.strokeAlpha,g=A.fillAlpha,o=A.pointsCallback,s=Number.MAX_VALUE,I=Number.MAX_VALUE,c=Number.MIN_VALUE,l=Number.MIN_VALUE,h=["q"];t&&h.push(t),a&&h.push("".concat(a[0]," ").concat(a[1]," ").concat(a[2]," RG")),i&&h.push("".concat(i[0]," ").concat(i[1]," ").concat(i[2]," rg"));var u=this.data.quadPoints;u||(u=[[{x:this.rectangle[0],y:this.rectangle[3]},{x:this.rectangle[2],y:this.rectangle[3]},{x:this.rectangle[0],y:this.rectangle[1]},{x:this.rectangle[2],y:this.rectangle[1]}]]);var C,B=m(u);try{for(B.s();!(C=B.n()).done;){var Q=d(o(h,C.value),4),E=Q[0],f=Q[1],y=Q[2],p=Q[3];s=Math.min(s,E),c=Math.max(c,f),I=Math.min(I,y),l=Math.max(l,p)}}catch(A){B.e(A)}finally{B.f()}h.push("Q");var k=new _A(e),v=new _A(e);v.set("Subtype",VA.get("Form"));var w=new We(h.join(" "));w.dict=v,k.set("Fm0",w);var b=new _A(e);n&&b.set("BM",VA.get(n)),"number"==typeof r&&b.set("CA",r),"number"==typeof g&&b.set("ca",g);var D=new _A(e);D.set("GS0",b);var F=new _A(e);F.set("ExtGState",D),F.set("XObject",k);var S=new _A(e);S.set("Resources",F);var R=this.data.rect=[s,I,c,l];S.set("BBox",R),this.appearance=new We("/GS0 gs /Fm0 Do"),this.appearance.dict=S,this._streams.push(this.appearance,w)}}],[{key:"createNewAnnotation",value:(a=E(B().mark((function A(e,t,a,i){var n,r,g,o,s;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return n=t.ref||(t.ref=e.getNewTemporaryRef()),A.next=3,this.createNewAppearanceStream(t,e,i);case 3:if(r=A.sent,g=[],!r){A.next=13;break}return s=e.getNewTemporaryRef(),o=this.createNewDict(t,e,{apRef:s}),A.next=10,wI(s,r,g,e);case 10:a.push({ref:s,data:g.join("")}),A.next=14;break;case 13:o=this.createNewDict(t,e,{});case 14:return Number.isInteger(t.parentTreeId)&&o.set("StructParent",t.parentTreeId),g.length=0,A.next=18,wI(n,o,g,e);case 18:return A.abrupt("return",{ref:n,data:g.join("")});case 19:case"end":return A.stop()}}),A,this)}))),function(A,e,t,i){return a.apply(this,arguments)})},{key:"createNewPrintAnnotation",value:(t=E(B().mark((function A(e,t,a,i){var n,r,g;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.createNewAppearanceStream(a,t,i);case 2:return n=A.sent,r=this.createNewDict(a,t,{ap:n}),g=new this.prototype.constructor({dict:r,xref:t,annotationGlobals:e,evaluatorOptions:i.evaluatorOptions}),a.ref&&(g.ref=g.refToReplace=a.ref),A.abrupt("return",g);case 7:case"end":return A.stop()}}),A,this)}))),function(A,e,a,i){return t.apply(this,arguments)})}]);var t,a}(qd),Wd=function(A){function e(A){var t,a;F(this,e),a=S(this,e,[A]);var i=A.dict,n=A.xref,r=A.annotationGlobals,g=a.data;a._needAppearances=A.needAppearances,g.annotationType=20,void 0===g.fieldName&&(g.fieldName=a._constructFieldName(i)),void 0===g.actions&&(g.actions=Se(n,i,V));var o=ue({dict:i,key:"V",getArray:!0});g.fieldValue=a._decodeFormValue(o);var s=ue({dict:i,key:"DV",getArray:!0});if(g.defaultFieldValue=a._decodeFormValue(s),void 0===o&&r.xfaDatasets){var I=a._title.str;I&&(a._hasValueFromXFA=!0,g.fieldValue=o=r.xfaDatasets.getValue(I))}void 0===o&&null!==g.defaultFieldValue&&(g.fieldValue=g.defaultFieldValue),g.alternativeText=JA(i.get("TU")||""),a.setDefaultAppearance(A),g.hasAppearance||(g.hasAppearance=a._needAppearances&&void 0!==g.fieldValue&&null!==g.fieldValue);var c=ue({dict:i,key:"FT"});g.fieldType=c instanceof VA?c.name:null;var l=ue({dict:i,key:"DR"}),h=r.acroForm.get("DR"),u=null===(t=a.appearance)||void 0===t?void 0:t.dict.get("Resources");return a._fieldResources={localResources:l,acroFormResources:h,appearanceResources:u,mergedResources:_A.merge({xref:n,dictArray:[l,u,h],mergeSubDicts:!0})},g.fieldFlags=ue({dict:i,key:"Ff"}),(!Number.isInteger(g.fieldFlags)||g.fieldFlags<0)&&(g.fieldFlags=0),g.readOnly=a.hasFieldFlag(1),g.required=a.hasFieldFlag(2),g.hidden=a._hasFlag(g.annotationFlags,2)||a._hasFlag(g.annotationFlags,32),a}return x(e,A),b(e,[{key:"_decodeFormValue",value:function(A){return Array.isArray(A)?A.filter((function(A){return"string"==typeof A})).map((function(A){return JA(A)})):A instanceof VA?JA(A.name):"string"==typeof A?JA(A):null}},{key:"hasFieldFlag",value:function(A){return!!(this.data.fieldFlags&A)}},{key:"_isViewable",value:function(A){return!0}},{key:"mustBeViewed",value:function(A,t){return t?this.viewable:i(G(e.prototype),"mustBeViewed",this).call(this,A,t)&&!this._hasFlag(this.flags,32)}},{key:"getRotationMatrix",value:function(A){var e,t=null==A||null===(e=A.get(this.data.id))||void 0===e?void 0:e.rotation;return void 0===t&&(t=this.rotation),0===t?Y:qe(t,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1])}},{key:"getBorderAndBackgroundAppearances",value:function(A){var e,t=null==A||null===(e=A.get(this.data.id))||void 0===e?void 0:e.rotation;if(void 0===t&&(t=this.rotation),!this.backgroundColor&&!this.borderColor)return"";var a=this.data.rect[2]-this.data.rect[0],i=this.data.rect[3]-this.data.rect[1],n=0===t||180===t?"0 0 ".concat(a," ").concat(i," re"):"0 0 ".concat(i," ").concat(a," re"),r="";if(this.backgroundColor&&(r="".concat(Ts(this.backgroundColor,!0)," ").concat(n," f ")),this.borderColor){var g=this.borderStyle.width||1;r+="".concat(g," w ").concat(Ts(this.borderColor,!1)," ").concat(n," S ")}return r}},{key:"getOperatorList",value:(r=E(B().mark((function A(t,a,n,r,g){var o,s,I,c,l,h,u,C;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!r||this instanceof Vd||this.data.noHTML||this.data.hasOwnCanvas){A.next=2;break}return A.abrupt("return",{opList:new vs,separateForm:!0,separateCanvas:!1});case 2:if(this._hasText){A.next=4;break}return A.abrupt("return",i(G(e.prototype),"getOperatorList",this).call(this,t,a,n,r,g));case 4:return A.next=6,this._getAppearance(t,a,n,g);case 6:if(o=A.sent,!this.appearance||null!==o){A.next=9;break}return A.abrupt("return",i(G(e.prototype),"getOperatorList",this).call(this,t,a,n,r,g));case 9:if(s=new vs,this._defaultAppearance&&null!==o){A.next=12;break}return A.abrupt("return",{opList:s,separateForm:!1,separateCanvas:!1});case 12:if(I=!!(this.data.hasOwnCanvas&&2&n),c=[1,0,0,1,0,0],l=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],h=Kd(this.data.rect,l,c),!this.oc){A.next=20;break}return A.next=19,t.parseMarkedContentProps(this.oc,null);case 19:u=A.sent;case 20:return void 0!==u&&s.addOp(gA,["OC",u]),s.addOp(80,[this.data.id,this.data.rect,h,this.getRotationMatrix(g),I]),C=new We(o),A.next=25,t.getOperatorList({stream:C,task:a,resources:this._fieldResources.mergedResources,operatorList:s});case 25:return s.addOp(81,[]),void 0!==u&&s.addOp(oA,[]),A.abrupt("return",{opList:s,separateForm:!1,separateCanvas:I});case 28:case"end":return A.stop()}}),A,this)}))),function(A,e,t,a,i){return r.apply(this,arguments)})},{key:"_getMKDict",value:function(A){var e=new _A(null);return A&&e.set("R",A),this.borderColor&&e.set("BC",Hd(this.borderColor)),this.backgroundColor&&e.set("BG",Hd(this.backgroundColor)),e.size>0?e:null}},{key:"amendSavedDict",value:function(A,e){}},{key:"save",value:(n=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d,y,p,k,v,w,b,D,F=this;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(n=null==a?void 0:a.get(this.data.id),r=null==n?void 0:n.value,g=null==n?void 0:n.rotation,r!==this.data.fieldValue&&void 0!==r){A.next=6;break}if(this._hasValueFromXFA||void 0!==g){A.next=5;break}return A.abrupt("return",null);case 5:r||(r=this.data.fieldValue);case 6:if(void 0!==g||this._hasValueFromXFA||!Array.isArray(r)||!Array.isArray(this.data.fieldValue)||r.length!==this.data.fieldValue.length||!r.every((function(A,e){return A===F.data.fieldValue[e]}))){A.next=8;break}return A.abrupt("return",null);case 8:if(void 0===g&&(g=this.rotation),o=null,this._needAppearances){A.next=18;break}return A.next=13,this._getAppearance(e,t,8,a);case 13:if(null!==(o=A.sent)){A.next=16;break}return A.abrupt("return",null);case 16:A.next=18;break;case 18:if(s=!1,null!==(i=o)&&void 0!==i&&i.needAppearances&&(s=!0,o=null),I=e.xref,(c=I.fetchIfRef(this.ref))instanceof _A){A.next=24;break}return A.abrupt("return",null);case 24:l=new _A(I),h=m(c.getKeys());try{for(h.s();!(u=h.n()).done;)"AP"!==(C=u.value)&&l.set(C,c.getRaw(C))}catch(A){h.e(A)}finally{h.f()}if(Q={path:this.data.fieldName,value:r},E=function(A){return He(A)?A:Ke(A,!0)},l.set("V",Array.isArray(r)?r.map(E):E(r)),this.amendSavedDict(a,l),(f=this._getMKDict(g))&&l.set("MK",f),d=[],y=[{ref:this.ref,data:"",xfa:Q,needAppearances:s}],null===o){A.next=52;break}return p=I.getNewTemporaryRef(),k=new _A(I),l.set("AP",k),k.set("N",p),v=this._getSaveFieldResources(I),w=new We(o),(b=w.dict=new _A(I)).set("Subtype",VA.get("Form")),b.set("Resources",v),b.set("BBox",[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]]),(D=this.getRotationMatrix(a))!==Y&&b.set("Matrix",D),A.next=50,wI(p,w,d,I);case 50:y.push({ref:p,data:d.join(""),xfa:null,needAppearances:!1}),d.length=0;case 52:return l.set("M","D:".concat(KA())),A.next=55,wI(this.ref,l,d,I);case 55:return y[0].data=d.join(""),A.abrupt("return",y);case 57:case"end":return A.stop()}}),A,this)}))),function(A,e,t){return n.apply(this,arguments)})},{key:"_getAppearance",value:(a=E(B().mark((function A(t,a,i,n){var r,g,o,s,I,c,l,h,u,C,Q,E,f,y,p,k,v,w,b,D,F,S,R,N,G,x,U,M,J,L,H,Y,K,q,P,W,Z,X,V,j,z,_,$,AA;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!this.hasFieldFlag(O)){A.next=3;break}return A.abrupt("return",null);case 3:if((r=null==n?void 0:n.get(this.data.id))&&(g=r.formattedValue||r.value,o=r.rotation),void 0!==o||void 0!==g||this._needAppearances){A.next=8;break}if(this._hasValueFromXFA&&!this.appearance){A.next=8;break}return A.abrupt("return",null);case 8:if(s=this.getBorderAndBackgroundAppearances(n),void 0!==g){A.next=13;break}if(g=this.data.fieldValue){A.next=13;break}return A.abrupt("return","/Tx BMC q ".concat(s,"Q EMC"));case 13:if(Array.isArray(g)&&1===g.length&&(g=g[0]),BA("string"==typeof g,"Expected `value` to be a string."),g=g.trim(),this.data.combo&&(I=this.data.options.find((function(A){var e=A.exportValue;return g===e})),g=(null==I?void 0:I.displayValue)||g),""!==g){A.next=19;break}return A.abrupt("return","/Tx BMC q ".concat(s,"Q EMC"));case 19:return void 0===o&&(o=this.rotation),c=-1,this.data.multiLine?(l=g.split(/\r\n?|\n/).map((function(A){return A.normalize("NFC")})),c=l.length):l=[g.replace(/\r\n?|\n/,"").normalize("NFC")],h=1,u=2,C=this.data.rect[3]-this.data.rect[1],Q=this.data.rect[2]-this.data.rect[0],90!==o&&270!==o||(Q=(E=[C,Q])[0],C=E[1]),this._defaultAppearance||(this.data.defaultAppearanceData=Ks(this._defaultAppearance="/Helvetica 0 Tf 0 g")),A.next=30,e._getFontData(t,a,this.data.defaultAppearanceData,this._fieldResources.mergedResources);case 30:f=A.sent,v=[],w=!1,b=m(l);try{for(b.s();!(D=b.n()).done;)F=D.value,(S=f.encodeString(F)).length>1&&(w=!0),v.push(S.join(""))}catch(A){b.e(A)}finally{b.f()}if(!(w&&8&i)){A.next=37;break}return A.abrupt("return",{needAppearances:!0});case 37:if(!w||!this._isOffscreenCanvasSupported){A.next=59;break}if(R=this.data.comb?"monospace":"sans-serif",N=new Ps(t.xref,R),G=N.createFontResources(l.join("")),x=G.getRaw("Font"),this._fieldResources.mergedResources.has("Font")){U=this._fieldResources.mergedResources.get("Font"),M=m(x.getKeys());try{for(M.s();!(J=M.n()).done;)L=J.value,U.set(L,x.getRaw(L))}catch(A){M.e(A)}finally{M.f()}}else this._fieldResources.mergedResources.set("Font",x);return H=N.fontName.name,A.next=46,e._getFontData(t,a,{fontName:H,fontSize:0},G);case 46:for(f=A.sent,Y=0,K=v.length;Y<K;Y++)v[Y]=Ke(l[Y]);q=Object.assign(Object.create(null),this.data.defaultAppearanceData),this.data.defaultAppearanceData.fontSize=0,this.data.defaultAppearanceData.fontName=H,P=this._computeFontSize(C-2*h,Q-2*u,g,f,c),W=d(P,3),y=W[0],p=W[1],k=W[2],this.data.defaultAppearanceData=q,A.next=65;break;case 59:this._isOffscreenCanvasSupported||uA("_getAppearance: OffscreenCanvas is not supported, annotation may not render correctly."),Z=this._computeFontSize(C-2*h,Q-2*u,g,f,c),X=d(Z,3),y=X[0],p=X[1],k=X[2];case 65:if(V=f.descent,V=isNaN(V)?T*k:Math.max(T*k,Math.abs(V)*p),j=Math.min(Math.floor((C-p)/2),h),z=this.data.textAlignment,!this.data.multiLine){A.next=71;break}return A.abrupt("return",this._getMultilineAppearance(y,v,f,p,Q,C,z,u,j,V,k,n));case 71:if(!this.data.comb){A.next=73;break}return A.abrupt("return",this._getCombAppearance(y,f,v[0],p,Q,C,u,j,V,k,n));case 73:if(_=j+V,!(0===z||z>2)){A.next=76;break}return A.abrupt("return","/Tx BMC q ".concat(s,"BT ")+y+" 1 0 0 1 ".concat(Je(u)," ").concat(Je(_)," Tm (").concat(De(v[0]),") Tj")+" ET Q EMC");case 76:return $={shift:0},AA=this._renderText(v[0],f,p,Q,z,$,u,_),A.abrupt("return","/Tx BMC q ".concat(s,"BT ")+y+" 1 0 0 1 0 0 Tm ".concat(AA)+" ET Q EMC");case 79:case"end":return A.stop()}}),A,this)}))),function(A,e,t,i){return a.apply(this,arguments)})},{key:"_getTextWidth",value:function(A,e){return e.charsToGlyphs(A).reduce((function(A,e){return A+e.width}),0)/1e3}},{key:"_computeFontSize",value:function(A,e,t,a,i){var n=this,r=this.data.defaultAppearanceData.fontSize,g=(r||12)*q,o=Math.round(A/g);if(!r){var s=function(A){return Math.floor(100*A)/100};if(-1===i){var I=this._getTextWidth(t,a);r=s(Math.min(A/q,I>e?e/I:1/0)),o=1}else{var c,l=t.split(/\r\n?|\n/),h=[],u=m(l);try{for(u.s();!(c=u.n()).done;){var C=c.value,B=a.encodeString(C).join(""),Q=a.charsToGlyphs(B),E=a.getCharPositions(B);h.push({line:B,glyphs:Q,positions:E})}}catch(A){u.e(A)}finally{u.f()}var f=function(t){for(var i=0,r=0,g=h;r<g.length;r++){var o=g[r];if((i+=n._splitLine(null,a,t,e,o).length*t)>A)return!0}return!1};for(o=Math.max(o,i);f(r=s((g=A/o)/q));)o++}var d=this.data.defaultAppearanceData,y=d.fontName,p=d.fontColor;this._defaultAppearance=function(A){var e=A.fontSize,t=A.fontColor;return"/".concat(be(A.fontName)," ").concat(e," Tf ").concat(Ts(t,!0))}({fontSize:r,fontName:y,fontColor:p})}return[this._defaultAppearance,r,A/o]}},{key:"_renderText",value:function(A,e,t,a,i,n,r,g){var o,s=Je((o=1===i?(a-this._getTextWidth(A,e)*t)/2:2===i?a-this._getTextWidth(A,e)*t-r:r)-n.shift);return n.shift=o,g=Je(g),"".concat(s," ").concat(g," Td (").concat(De(A),") Tj")}},{key:"_getSaveFieldResources",value:function(A){var e,t=this._fieldResources,a=t.localResources,i=t.appearanceResources,n=t.acroFormResources,r=null===(e=this.data.defaultAppearanceData)||void 0===e?void 0:e.fontName;if(!r)return a||_A.empty;for(var g=0,o=[a,i];g<o.length;g++){var s=o[g];if(s instanceof _A){var I=s.get("Font");if(I instanceof _A&&I.has(r))return s}}if(n instanceof _A){var c=n.get("Font");if(c instanceof _A&&c.has(r)){var l=new _A(A);l.set(r,c.getRaw(r));var h=new _A(A);return h.set("Font",l),_A.merge({xref:A,dictArray:[h,a],mergeSubDicts:!0})}}return a||_A.empty}},{key:"getFieldObject",value:function(){return null}}],[{key:"_getFontData",value:(t=E(B().mark((function A(e,t,a,i){var n,r,g,o;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return n=new vs,r={font:null,clone:function(){return this}},g=a.fontName,o=a.fontSize,A.next=5,e.handleSetFont(i,[g&&VA.get(g),o],null,n,t,r,null);case 5:return A.abrupt("return",r.font);case 6:case"end":return A.stop()}}),A)}))),function(A,e,a,i){return t.apply(this,arguments)})}]);var t,a,n,r}(qd),Zd=function(A){function e(A){var t;F(this,e),(t=S(this,e,[A])).data.hasOwnCanvas=t.data.readOnly&&!t.data.noHTML,t._hasText=!0;var a=A.dict;"string"!=typeof t.data.fieldValue&&(t.data.fieldValue="");var i=ue({dict:a,key:"Q"});(!Number.isInteger(i)||i<0||i>2)&&(i=null),t.data.textAlignment=i;var n=ue({dict:a,key:"MaxLen"});return(!Number.isInteger(n)||n<0)&&(n=0),t.data.maxLen=n,t.data.multiLine=t.hasFieldFlag(4096),t.data.comb=t.hasFieldFlag(16777216)&&!t.hasFieldFlag(4096)&&!t.hasFieldFlag(O)&&!t.hasFieldFlag(1048576)&&0!==t.data.maxLen,t.data.doNotScroll=t.hasFieldFlag(8388608),t}return x(e,A),b(e,[{key:"hasTextContent",get:function(){return!!this.appearance&&!this._needAppearances}},{key:"_getCombAppearance",value:function(A,e,t,a,i,n,r,g,o,s,I){var c,l=i/this.data.maxLen,h=this.getBorderAndBackgroundAppearances(I),u=[],C=m(e.getCharPositions(t));try{for(C.s();!(c=C.n()).done;){var B=d(c.value,2),Q=B[0],E=B[1];u.push("(".concat(De(t.substring(Q,E)),") Tj"))}}catch(A){C.e(A)}finally{C.f()}var f=u.join(" ".concat(Je(l)," 0 Td "));return"/Tx BMC q ".concat(h,"BT ")+A+" 1 0 0 1 ".concat(Je(r)," ").concat(Je(g+o)," Tm ").concat(f)+" ET Q EMC"}},{key:"_getMultilineAppearance",value:function(A,e,t,a,i,n,r,g,o,s,I,c){for(var l=[],h=i-2*g,u={shift:0},C=0,B=e.length;C<B;C++)for(var Q=e[C],E=this._splitLine(Q,t,a,h),f=0,d=E.length;f<d;f++){var y=E[f],p=0===C&&0===f?-o-(I-s):-I;l.push(this._renderText(y,t,a,i,r,u,g,p))}var m=this.getBorderAndBackgroundAppearances(c),k=l.join("\n");return"/Tx BMC q ".concat(m,"BT ")+A+" 1 0 0 1 0 ".concat(Je(n)," Tm ").concat(k)+" ET Q EMC"}},{key:"_splitLine",value:function(A,e,t,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};A=i.line||A;var n=i.glyphs||e.charsToGlyphs(A);if(n.length<=1)return[A];for(var r=i.positions||e.getCharPositions(A),g=t/1e3,o=[],s=-1,I=-1,c=-1,l=0,h=0,u=0,C=n.length;u<C;u++){var B=d(r[u],2),Q=B[0],E=B[1],f=n[u],y=f.width*g;" "===f.unicode?h+y>a?(o.push(A.substring(l,Q)),l=Q,h=y,s=-1,c=-1):(h+=y,s=Q,I=E,c=u):h+y>a?-1!==s?(o.push(A.substring(l,I)),l=I,u=c+1,s=-1,h=0):(o.push(A.substring(l,Q)),l=Q,h=y):h+=y}return l<A.length&&o.push(A.substring(l,A.length)),o}},{key:"getFieldObject",value:function(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||"",multiline:this.data.multiLine,password:this.hasFieldFlag(O),charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:"text"}}}])}(Wd),Od=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[A])).checkedAppearance=null,t.uncheckedAppearance=null,t.data.checkBox=!t.hasFieldFlag(32768)&&!t.hasFieldFlag(X),t.data.radioButton=t.hasFieldFlag(32768)&&!t.hasFieldFlag(X),t.data.pushButton=t.hasFieldFlag(X),t.data.isTooltipOnly=!1,t.data.checkBox?t._processCheckBox(A):t.data.radioButton?t._processRadioButton(A):t.data.pushButton?(t.data.hasOwnCanvas=!0,t.data.noHTML=!1,t._processPushButton(A)):uA("Invalid field flags for button widget annotation"),t}return x(e,A),b(e,[{key:"getOperatorList",value:(r=E(B().mark((function A(t,a,n,r,g){var o,s,I,c,l,h,u;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!this.data.pushButton){A.next=2;break}return A.abrupt("return",i(G(e.prototype),"getOperatorList",this).call(this,t,a,n,!1,g));case 2:if(o=null,s=null,g&&(I=g.get(this.data.id),o=I?I.value:null,s=I?I.rotation:null),null!==o||!this.appearance){A.next=7;break}return A.abrupt("return",i(G(e.prototype),"getOperatorList",this).call(this,t,a,n,r,g));case 7:if(null==o&&(o=this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue),!(c=o?this.checkedAppearance:this.uncheckedAppearance)){A.next=18;break}return l=this.appearance,h=me(c.dict.getArray("Matrix"),Y),s&&c.dict.set("Matrix",this.getRotationMatrix(g)),this.appearance=c,u=i(G(e.prototype),"getOperatorList",this).call(this,t,a,n,r,g),this.appearance=l,c.dict.set("Matrix",h),A.abrupt("return",u);case 18:return A.abrupt("return",{opList:new vs,separateForm:!1,separateCanvas:!1});case 19:case"end":return A.stop()}}),A,this)}))),function(A,e,t,a,i){return r.apply(this,arguments)})},{key:"save",value:(n=E(B().mark((function A(e,t,a){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!this.data.checkBox){A.next=2;break}return A.abrupt("return",this._saveCheckbox(e,t,a));case 2:if(!this.data.radioButton){A.next=4;break}return A.abrupt("return",this._saveRadioButton(e,t,a));case 4:return A.abrupt("return",null);case 5:case"end":return A.stop()}}),A,this)}))),function(A,e,t){return n.apply(this,arguments)})},{key:"_saveCheckbox",value:(a=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(a){A.next=2;break}return A.abrupt("return",null);case 2:if(i=a.get(this.data.id),n=null==i?void 0:i.rotation,r=null==i?void 0:i.value,void 0!==n){A.next=10;break}if(void 0!==r){A.next=7;break}return A.abrupt("return",null);case 7:if(this.data.fieldValue===this.data.exportValue!==r){A.next=10;break}return A.abrupt("return",null);case 10:if((g=e.xref.fetchIfRef(this.ref))instanceof _A){A.next=13;break}return A.abrupt("return",null);case 13:return void 0===n&&(n=this.rotation),void 0===r&&(r=this.data.fieldValue===this.data.exportValue),o={path:this.data.fieldName,value:r?this.data.exportValue:""},s=VA.get(r?this.data.exportValue:"Off"),g.set("V",s),g.set("AS",s),g.set("M","D:".concat(KA())),(I=this._getMKDict(n))&&g.set("MK",I),c=[],A.next=25,wI(this.ref,g,c,e.xref);case 25:return A.abrupt("return",[{ref:this.ref,data:c.join(""),xfa:o}]);case 26:case"end":return A.stop()}}),A,this)}))),function(A,e,t){return a.apply(this,arguments)})},{key:"_saveRadioButton",value:(t=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c,l,h,u;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(a){A.next=2;break}return A.abrupt("return",null);case 2:if(i=a.get(this.data.id),n=null==i?void 0:i.rotation,r=null==i?void 0:i.value,void 0!==n){A.next=10;break}if(void 0!==r){A.next=7;break}return A.abrupt("return",null);case 7:if(this.data.fieldValue===this.data.buttonValue!==r){A.next=10;break}return A.abrupt("return",null);case 10:if((g=e.xref.fetchIfRef(this.ref))instanceof _A){A.next=13;break}return A.abrupt("return",null);case 13:if(void 0===r&&(r=this.data.fieldValue===this.data.buttonValue),void 0===n&&(n=this.rotation),o={path:this.data.fieldName,value:r?this.data.buttonValue:""},s=VA.get(r?this.data.buttonValue:"Off"),I=[],c=null,!r){A.next=30;break}if(!(this.parent instanceof $A)){A.next=29;break}return(l=e.xref.fetch(this.parent)).set("V",s),A.next=25,wI(this.parent,l,I,e.xref);case 25:c=I.join(""),I.length=0,A.next=30;break;case 29:this.parent instanceof _A&&this.parent.set("V",s);case 30:return g.set("AS",s),g.set("M","D:".concat(KA())),(h=this._getMKDict(n))&&g.set("MK",h),A.next=36,wI(this.ref,g,I,e.xref);case 36:return u=[{ref:this.ref,data:I.join(""),xfa:o}],c&&u.push({ref:this.parent,data:c,xfa:null}),A.abrupt("return",u);case 39:case"end":return A.stop()}}),A,this)}))),function(A,e,a){return t.apply(this,arguments)})},{key:"_getDefaultCheckedAppearance",value:function(A,e){var t,a,i=this.data.rect[2]-this.data.rect[0],n=this.data.rect[3]-this.data.rect[1],r=[0,0,i,n],g=.8*Math.min(i,n);"check"===e?(t={width:.755*g,height:.705*g},a="3"):"disc"===e?(t={width:.791*g,height:.705*g},a="l"):CA("_getDefaultCheckedAppearance - unsupported type: ".concat(e));var o=Je((i-t.width)/2),s=Je((n-t.height)/2),I="q BT /PdfJsZaDb ".concat(g," Tf 0 g ").concat(o," ").concat(s," Td (").concat(a,") Tj ET Q"),c=new _A(A.xref);c.set("FormType",1),c.set("Subtype",VA.get("Form")),c.set("Type",VA.get("XObject")),c.set("BBox",r),c.set("Matrix",[1,0,0,1,0,0]),c.set("Length",I.length);var l=new _A(A.xref),h=new _A(A.xref);h.set("PdfJsZaDb",this.fallbackFontDict),l.set("Font",h),c.set("Resources",l),this.checkedAppearance=new We(I),this.checkedAppearance.dict=c,this._streams.push(this.checkedAppearance)}},{key:"_processCheckBox",value:function(A){var e=A.dict.get("AP");if(e instanceof _A){var t=e.get("N");if(t instanceof _A){var a=this._decodeFormValue(A.dict.get("AS"));"string"==typeof a&&(this.data.fieldValue=a);var i=null!==this.data.fieldValue&&"Off"!==this.data.fieldValue?this.data.fieldValue:"Yes",n=t.getKeys();if(0===n.length)n.push("Off",i);else if(1===n.length)"Off"===n[0]?n.push(i):n.unshift("Off");else if(n.includes(i))n.length=0,n.push("Off",i);else{var r=n.find((function(A){return"Off"!==A}));n.length=0,n.push("Off",r)}n.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=n[1];var g=t.get(this.data.exportValue);this.checkedAppearance=g instanceof re?g:null;var o=t.get("Off");this.uncheckedAppearance=o instanceof re?o:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(A,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,null===this.data.defaultFieldValue&&(this.data.defaultFieldValue="Off")}}}},{key:"_processRadioButton",value:function(A){this.data.buttonValue=null;var e=A.dict.get("Parent");if(e instanceof _A){this.parent=A.dict.getRaw("Parent");var t=e.get("V");t instanceof VA&&(this.data.fieldValue=this._decodeFormValue(t))}var a=A.dict.get("AP");if(a instanceof _A){var i=a.get("N");if(i instanceof _A){var n,r=m(i.getKeys());try{for(r.s();!(n=r.n()).done;){var g=n.value;if("Off"!==g){this.data.buttonValue=this._decodeFormValue(g);break}}}catch(A){r.e(A)}finally{r.f()}var o=i.get(this.data.buttonValue);this.checkedAppearance=o instanceof re?o:null;var s=i.get("Off");this.uncheckedAppearance=s instanceof re?s:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(A,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,null===this.data.defaultFieldValue&&(this.data.defaultFieldValue="Off")}}}},{key:"_processPushButton",value:function(A){var e=A.dict,t=A.annotationGlobals;e.has("A")||e.has("AA")||this.data.alternativeText?(this.data.isTooltipOnly=!e.has("A")&&!e.has("AA"),cc.parseDestDictionary({destDict:e,resultObj:this.data,docBaseUrl:t.baseUrl,docAttachments:t.attachments})):uA("Push buttons without action dictionaries are not supported")}},{key:"getFieldObject",value:function(){var A,e="button";return this.data.checkBox?(e="checkbox",A=this.data.exportValue):this.data.radioButton&&(e="radiobutton",A=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:A,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:e}}},{key:"fallbackFontDict",get:function(){var A=new _A;return A.set("BaseFont",VA.get("ZapfDingbats")),A.set("Type",VA.get("FallbackType")),A.set("Subtype",VA.get("FallbackType")),A.set("Encoding",VA.get("ZapfDingbatsEncoding")),EA(this,"fallbackFontDict",A)}}]);var t,a,n,r}(Wd),Xd=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict,i=A.xref;t.indices=a.getArray("I"),t.hasIndices=Array.isArray(t.indices)&&t.indices.length>0,t.data.options=[];var n=ue({dict:a,key:"Opt"});if(Array.isArray(n))for(var r=0,g=n.length;r<g;r++){var o=i.fetchIfRef(n[r]),s=Array.isArray(o);t.data.options[r]={exportValue:t._decodeFormValue(s?i.fetchIfRef(o[0]):o),displayValue:t._decodeFormValue(s?i.fetchIfRef(o[1]):o)}}if(t.hasIndices){t.data.fieldValue=[];var I,c=t.data.options.length,l=m(t.indices);try{for(l.s();!(I=l.n()).done;){var h=I.value;Number.isInteger(h)&&h>=0&&h<c&&t.data.fieldValue.push(t.data.options[h].exportValue)}}catch(A){l.e(A)}finally{l.f()}}else"string"==typeof t.data.fieldValue?t.data.fieldValue=[t.data.fieldValue]:t.data.fieldValue||(t.data.fieldValue=[]);return t.data.combo=t.hasFieldFlag(131072),t.data.multiSelect=t.hasFieldFlag(2097152),t._hasText=!0,t}return x(e,A),b(e,[{key:"getFieldObject",value:function(){var A=this.data.combo?"combobox":"listbox",e=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:e,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:A}}},{key:"amendSavedDict",value:function(A,e){var t;if(this.hasIndices){var a=null==A||null===(t=A.get(this.data.id))||void 0===t?void 0:t.value;Array.isArray(a)||(a=[a]);for(var i=[],n=this.data.options,r=0,g=0,o=n.length;r<o;r++)n[r].exportValue===a[g]&&(i.push(r),g+=1);e.set("I",i)}}},{key:"_getAppearance",value:(t=E(B().mark((function A(t,a,n,r){var g,o,s,I,c,l,h,u,C,Q,E,f,y,p,k,v,w,b,D,F,S,R,N,x,U,M,J,L,H,Y,K,T,P,W,Z,O,X,V,j;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!this.data.combo){A.next=2;break}return A.abrupt("return",i(G(e.prototype),"_getAppearance",this).call(this,t,a,n,r));case 2:if((s=null==r?void 0:r.get(this.data.id))&&(o=s.rotation,g=s.value),void 0!==o||void 0!==g||this._needAppearances){A.next=6;break}return A.abrupt("return",null);case 6:for(void 0===g?g=this.data.fieldValue:Array.isArray(g)||(g=[g]),I=1,c=2,l=this.data.rect[3]-this.data.rect[1],h=this.data.rect[2]-this.data.rect[0],90!==o&&270!==o||(h=(u=[l,h])[0],l=u[1]),C=this.data.options.length,Q=[],E=0;E<C;E++)f=this.data.options[E].exportValue,g.includes(f)&&Q.push(E);return this._defaultAppearance||(this.data.defaultAppearanceData=Ks(this._defaultAppearance="/Helvetica 0 Tf 0 g")),A.next=18,Wd._getFontData(t,a,this.data.defaultAppearanceData,this._fieldResources.mergedResources);case 18:if(y=A.sent,k=this.data.defaultAppearanceData.fontSize)p=this._defaultAppearance;else{v=(l-I)/C,w=-1,D=m(this.data.options);try{for(D.s();!(F=D.n()).done;)S=F.value.displayValue,(R=this._getTextWidth(S,y))>w&&(w=R,b=S)}catch(A){D.e(A)}finally{D.f()}N=this._computeFontSize(v,h-2*c,b,y,-1),x=d(N,2),p=x[0],k=x[1]}if(M=((U=k*q)-k)/2,J=Math.floor(l/U),L=0,Q.length>0&&(H=Math.min.apply(Math,Q),Y=Math.max.apply(Math,Q),(L=Math.max(0,Y-J+1))>H&&(L=H)),K=Math.min(L+J+1,C),T=["/Tx BMC q","1 1 ".concat(h," ").concat(l," re W n")],Q.length){T.push("0.600006 0.756866 0.854904 rg"),P=m(Q);try{for(P.s();!(W=P.n()).done;)Z=W.value,L<=Z&&Z<K&&T.push("1 ".concat(l-(Z-L+1)*U," ").concat(h," ").concat(U," re f"))}catch(A){P.e(A)}finally{P.f()}}for(T.push("BT",p,"1 0 0 1 0 ".concat(l," Tm")),O={shift:0},X=L;X<K;X++)V=this.data.options[X].displayValue,j=X===L?M:0,T.push(this._renderText(V,y,k,h,0,O,c,-U+j));return T.push("ET Q EMC"),A.abrupt("return",T.join("\n"));case 34:case"end":return A.stop()}}),A,this)}))),function(A,e,a,i){return t.apply(this,arguments)})}]);var t}(Wd),Vd=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[A])).data.fieldValue=null,t.data.hasOwnCanvas=t.data.noRotate,t.data.noHTML=!t.data.hasOwnCanvas,t}return x(e,A),b(e,[{key:"getFieldObject",value:function(){return{id:this.data.id,value:null,page:this.data.pageIndex,type:"signature"}}}])}(Wd),jd=function(A){function e(A){var t;F(this,e),(t=S(this,e,[A])).data.noRotate=!0,t.data.hasOwnCanvas=t.data.noRotate,t.data.noHTML=!1;var a=A.dict;return t.data.annotationType=1,t.data.hasAppearance?t.data.name="NoIcon":(t.data.rect[1]=t.data.rect[3]-22,t.data.rect[2]=t.data.rect[0]+22,t.data.name=a.has("Name")?a.get("Name").name:"Note"),a.has("State")?(t.data.state=a.get("State")||null,t.data.stateModel=a.get("StateModel")||null):(t.data.state=null,t.data.stateModel=null),t}return x(e,A),b(e)}(Pd),zd=function(A){function e(A){var t,a;F(this,e),a=S(this,e,[A]);var i=A.dict,n=A.annotationGlobals;a.data.annotationType=2,a.data.noHTML=!1;var r=Yd(i,a.rectangle);return r&&(a.data.quadPoints=r),(t=a.data).borderColor||(t.borderColor=a.data.color),cc.parseDestDictionary({destDict:i,resultObj:a.data,docBaseUrl:n.baseUrl,docAttachments:n.attachments}),a}return x(e,A),b(e)}(qd),_d=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict;t.data.annotationType=16,t.data.noHTML=!1,t.data.rect[0]!==t.data.rect[2]&&t.data.rect[1]!==t.data.rect[3]||(t.data.rect=null);var i=a.get("Parent");if(!i)return uA("Popup annotation has a missing or invalid parent annotation."),R(t);if(t.data.parentRect=ve(i.getArray("Rect"),null),te(i.get("RT"),Z)&&(i=i.get("IRT")),i.has("M")?(t.setModificationDate(i.get("M")),t.data.modificationDate=t.modificationDate):t.data.modificationDate=null,i.has("C")?(t.setColor(i.getArray("C")),t.data.color=t.color):t.data.color=null,!t.viewable){var n=i.get("F");t._isViewable(n)&&t.setFlags(n)}return t.setTitle(i.get("T")),t.data.titleObj=t._title,t.setContents(i.get("Contents")),t.data.contentsObj=t._contents,i.has("RC")&&(t.data.richText=Md.getRichTextAsHtml(i.get("RC"))),t.data.open=!!a.get("Open"),t}return x(e,A),b(e)}(qd),$d=function(A){function e(A){var t;F(this,e),(t=S(this,e,[A])).data.hasOwnCanvas=!t.data.noHTML,t.data.noHTML=!1;var a=A.evaluatorOptions,i=A.xref;if(t.data.annotationType=3,t.setDefaultAppearance(A),t._hasAppearance=!!t.appearance,t._hasAppearance){var n=function(A,e,t){return new qs(A,e,t).parse()}(t.appearance,a,i),r=n.fontColor,g=n.fontSize;t.data.defaultAppearanceData.fontColor=r,t.data.defaultAppearanceData.fontSize=g||10}else{var o;(o=t.data.defaultAppearanceData).fontSize||(o.fontSize=10);var s=t.data.defaultAppearanceData,I=s.fontColor,c=s.fontSize;if(t._contents.str){t.data.textContent=t._contents.str.split(/\r\n?|\n/).map((function(A){return A.trimEnd()}));var l=Ps.getFirstPositionInfo(t.rectangle,t.rotation,c),h=l.coords,u=l.bbox,C=l.matrix;t.data.textPosition=t._transformPoint(h,u,C)}if(t._isOffscreenCanvasSupported){var B=A.dict.get("CA"),Q=new Ps(i,"sans-serif");t.appearance=Q.createAppearance(t._contents.str,t.rectangle,t.rotation,c,I,B),t._streams.push(t.appearance)}else uA("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.")}return t}return x(e,A),b(e,[{key:"hasTextContent",get:function(){return this._hasAppearance}}],[{key:"createNewDict",value:function(A,e,t){var a=t.apRef,i=t.ap,n=A.color,r=A.fontSize,g=A.rect,o=A.rotation,s=A.user,I=A.value,c=new _A(e);c.set("Type",VA.get("Annot")),c.set("Subtype",VA.get("FreeText")),c.set("CreationDate","D:".concat(KA())),c.set("Rect",g);var l="/Helv ".concat(r," Tf ").concat(Ts(n,!0));if(c.set("DA",l),c.set("Contents",He(I)?I:Ke(I,!0)),c.set("F",4),c.set("Border",[0,0,0]),c.set("Rotate",o),s&&c.set("T",He(s)?s:Ke(s,!0)),a||i){var h=new _A(e);c.set("AP",h),a?h.set("N",a):h.set("N",i)}return c}},{key:"createNewAppearanceStream",value:(t=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,y,p,k,v,w,b,D,F,S,R,N,G,x,U,M,J,L,H,Y,K,T,P,W,Z,O,X,V,j,z,_,$,AA,eA,tA,aA,iA;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return i=a.baseFontRef,n=a.evaluator,r=a.task,g=e.color,o=e.fontSize,s=e.rect,I=e.rotation,c=e.value,l=new _A(t),h=new _A(t),i?h.set("Helv",i):((u=new _A(t)).set("BaseFont",VA.get("Helvetica")),u.set("Type",VA.get("Font")),u.set("Subtype",VA.get("Type1")),u.set("Encoding",VA.get("WinAnsiEncoding")),h.set("Helv",u)),l.set("Font",h),A.next=8,Wd._getFontData(n,r,{fontName:"Helv",fontSize:o},l);case 8:C=A.sent,Q=d(s,4),E=Q[0],f=Q[1],y=Q[2],p=Q[3],k=y-E,v=p-f,I%180!=0&&(k=(w=[v,k])[0],v=w[1]),b=c.split("\n"),D=o/1e3,F=-1/0,S=[],R=m(b),A.prev=18,R.s();case 20:if((N=R.n()).done){A.next=34;break}if(G=N.value,!((x=C.encodeString(G)).length>1)){A.next=25;break}return A.abrupt("return",null);case 25:G=x.join(""),S.push(G),U=0,M=C.charsToGlyphs(G),J=m(M);try{for(J.s();!(L=J.n()).done;)H=L.value,U+=H.width*D}catch(A){J.e(A)}finally{J.f()}F=Math.max(F,U);case 32:A.next=20;break;case 34:A.next=39;break;case 36:A.prev=36,A.t0=A.catch(18),R.e(A.t0);case 39:return A.prev=39,R.f(),A.finish(39);case 42:Y=1,F>k&&(Y=k/F),K=1,P=1*o,(W=(T=q*o)*b.length)>v&&(K=v/W),Z=Math.min(Y,K),O=o*Z,A.t1=I,A.next=0===A.t1?54:90===A.t1?58:180===A.t1?62:270===A.t1?66:70;break;case 54:return j=[1,0,0,1],V=[s[0],s[1],k,v],X=[s[0],s[3]-P],A.abrupt("break",70);case 58:return j=[0,1,-1,0],V=[s[1],-s[2],k,v],X=[s[1],-s[0]-P],A.abrupt("break",70);case 62:return j=[-1,0,0,-1],V=[-s[2],-s[3],k,v],X=[-s[2],-s[1]-P],A.abrupt("break",70);case 66:return j=[0,-1,1,0],V=[-s[3],s[0],k,v],X=[-s[3],s[2]-P],A.abrupt("break",70);case 70:for((z=["q","".concat(j.join(" ")," 0 0 cm"),"".concat(V.join(" ")," re W n"),"BT","".concat(Ts(g,!0)),"0 Tc /Helv ".concat(Je(O)," Tf")]).push("".concat(X.join(" ")," Td (").concat(De(S[0]),") Tj")),_=Je(T),$=1,AA=S.length;$<AA;$++)eA=S[$],z.push("0 -".concat(_," Td (").concat(De(eA),") Tj"));return z.push("ET","Q"),tA=z.join("\n"),(aA=new _A(t)).set("FormType",1),aA.set("Subtype",VA.get("Form")),aA.set("Type",VA.get("XObject")),aA.set("BBox",s),aA.set("Resources",l),aA.set("Matrix",[1,0,0,1,-s[0],-s[1]]),(iA=new We(tA)).dict=aA,A.abrupt("return",iA);case 86:case"end":return A.stop()}}),A,null,[[18,36,39,42]])}))),function(A,e,a){return t.apply(this,arguments)})}]);var t}(Pd),Ay=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict,i=A.xref;t.data.annotationType=4,t.data.hasOwnCanvas=t.data.noRotate,t.data.noHTML=!1;var n=ke(a.getArray("L"),[0,0,0,0]);if(t.data.lineCoordinates=GA.normalizeRect(n),t.setLineEndings(a.getArray("LE")),t.data.lineEndings=t.lineEndings,!t.appearance){var r=t.color?Hd(t.color):[0,0,0],g=a.get("CA"),o=Ld(a.getArray("IC"),null),s=o?Hd(o):null,I=s?g:null,c=t.borderStyle.width||1,l=2*c,h=[t.data.lineCoordinates[0]-l,t.data.lineCoordinates[1]-l,t.data.lineCoordinates[2]+l,t.data.lineCoordinates[3]+l];GA.intersect(t.rectangle,h)||(t.rectangle=h),t._setDefaultAppearance({xref:i,extra:"".concat(c," w"),strokeColor:r,fillColor:s,strokeAlpha:g,fillAlpha:I,pointsCallback:function(A,e){return A.push("".concat(n[0]," ").concat(n[1]," m"),"".concat(n[2]," ").concat(n[3]," l"),"S"),[e[0].x-c,e[1].x+c,e[3].y-c,e[1].y+c]}})}return t}return x(e,A),b(e)}(Pd),ey=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict,i=A.xref;if(t.data.annotationType=5,t.data.hasOwnCanvas=t.data.noRotate,t.data.noHTML=!1,!t.appearance){var n=t.color?Hd(t.color):[0,0,0],r=a.get("CA"),g=Ld(a.getArray("IC"),null),o=g?Hd(g):null,s=o?r:null;if(0===t.borderStyle.width&&!o)return R(t);t._setDefaultAppearance({xref:i,extra:"".concat(t.borderStyle.width," w"),strokeColor:n,fillColor:o,strokeAlpha:r,fillAlpha:s,pointsCallback:function(A,e){var a=e[2].x+t.borderStyle.width/2,i=e[2].y+t.borderStyle.width/2,n=e[3].x-e[2].x-t.borderStyle.width,r=e[1].y-e[3].y-t.borderStyle.width;return A.push("".concat(a," ").concat(i," ").concat(n," ").concat(r," re")),o?A.push("B"):A.push("S"),[e[0].x,e[1].x,e[3].y,e[1].y]}})}return t}return x(e,A),b(e)}(Pd),ty=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict,i=A.xref;if(t.data.annotationType=6,!t.appearance){var n=t.color?Hd(t.color):[0,0,0],r=a.get("CA"),g=Ld(a.getArray("IC"),null),o=g?Hd(g):null,s=o?r:null;if(0===t.borderStyle.width&&!o)return R(t);var I=4/3*Math.tan(Math.PI/8);t._setDefaultAppearance({xref:i,extra:"".concat(t.borderStyle.width," w"),strokeColor:n,fillColor:o,strokeAlpha:r,fillAlpha:s,pointsCallback:function(A,e){var a=e[0].x+t.borderStyle.width/2,i=e[0].y-t.borderStyle.width/2,n=e[3].x-t.borderStyle.width/2,r=e[3].y+t.borderStyle.width/2,g=a+(n-a)/2,s=i+(r-i)/2,c=(n-a)/2*I,l=(r-i)/2*I;return A.push("".concat(g," ").concat(r," m"),"".concat(g+c," ").concat(r," ").concat(n," ").concat(s+l," ").concat(n," ").concat(s," c"),"".concat(n," ").concat(s-l," ").concat(g+c," ").concat(i," ").concat(g," ").concat(i," c"),"".concat(g-c," ").concat(i," ").concat(a," ").concat(s-l," ").concat(a," ").concat(s," c"),"".concat(a," ").concat(s+l," ").concat(g-c," ").concat(r," ").concat(g," ").concat(r," c"),"h"),o?A.push("B"):A.push("S"),[e[0].x,e[1].x,e[3].y,e[1].y]}})}return t}return x(e,A),b(e)}(Pd),ay=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict,i=A.xref;t.data.annotationType=8,t.data.hasOwnCanvas=t.data.noRotate,t.data.noHTML=!1,t.data.vertices=[],t instanceof iy||(t.setLineEndings(a.getArray("LE")),t.data.lineEndings=t.lineEndings);var n=a.getArray("Vertices");if(!pe(n,null))return R(t);for(var r=0,g=n.length;r<g;r+=2)t.data.vertices.push({x:n[r],y:n[r+1]});if(!t.appearance){var o,s=t.color?Hd(t.color):[0,0,0],I=a.get("CA"),c=t.borderStyle.width||1,l=2*c,h=[1/0,1/0,-1/0,-1/0],u=m(t.data.vertices);try{for(u.s();!(o=u.n()).done;){var C=o.value;h[0]=Math.min(h[0],C.x-l),h[1]=Math.min(h[1],C.y-l),h[2]=Math.max(h[2],C.x+l),h[3]=Math.max(h[3],C.y+l)}}catch(A){u.e(A)}finally{u.f()}GA.intersect(t.rectangle,h)||(t.rectangle=h),t._setDefaultAppearance({xref:i,extra:"".concat(c," w"),strokeColor:s,strokeAlpha:I,pointsCallback:function(A,e){for(var a=t.data.vertices,i=0,n=a.length;i<n;i++)A.push("".concat(a[i].x," ").concat(a[i].y," ").concat(0===i?"m":"l"));return A.push("S"),[e[0].x,e[1].x,e[3].y,e[1].y]}})}return t}return x(e,A),b(e)}(Pd),iy=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[A])).data.annotationType=7,t}return x(e,A),b(e)}(ay),ny=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[A])).data.annotationType=14,t}return x(e,A),b(e)}(Pd),ry=function(A){function e(A){var t;F(this,e),(t=S(this,e,[A])).data.hasOwnCanvas=t.data.noRotate,t.data.noHTML=!1;var a=A.dict,i=A.xref;t.data.annotationType=15,t.data.inkLists=[];var n=a.getArray("InkList");if(!Array.isArray(n))return R(t);for(var r=0,g=n.length;r<g;++r)if(t.data.inkLists.push([]),Array.isArray(n[r]))for(var o=0,s=n[r].length;o<s;o+=2){var I=i.fetchIfRef(n[r][o]),c=i.fetchIfRef(n[r][o+1]);"number"==typeof I&&"number"==typeof c&&t.data.inkLists[r].push({x:I,y:c})}if(!t.appearance){var l,h=t.color?Hd(t.color):[0,0,0],u=a.get("CA"),C=t.borderStyle.width||1,B=2*C,Q=[1/0,1/0,-1/0,-1/0],E=m(t.data.inkLists);try{for(E.s();!(l=E.n()).done;){var f,d=m(l.value);try{for(d.s();!(f=d.n()).done;){var y=f.value;Q[0]=Math.min(Q[0],y.x-B),Q[1]=Math.min(Q[1],y.y-B),Q[2]=Math.max(Q[2],y.x+B),Q[3]=Math.max(Q[3],y.y+B)}}catch(A){d.e(A)}finally{d.f()}}}catch(A){E.e(A)}finally{E.f()}GA.intersect(t.rectangle,Q)||(t.rectangle=Q),t._setDefaultAppearance({xref:i,extra:"".concat(C," w"),strokeColor:h,strokeAlpha:u,pointsCallback:function(A,e){var a,i=m(t.data.inkLists);try{for(i.s();!(a=i.n()).done;){for(var n=a.value,r=0,g=n.length;r<g;r++)A.push("".concat(n[r].x," ").concat(n[r].y," ").concat(0===r?"m":"l"));A.push("S")}}catch(A){i.e(A)}finally{i.f()}return[e[0].x,e[1].x,e[3].y,e[1].y]}})}return t}return x(e,A),b(e,null,[{key:"createNewDict",value:function(A,e,t){var a=t.apRef,i=t.ap,n=A.color,r=A.opacity,g=A.paths,o=A.outlines,s=A.rect,I=A.rotation,c=A.thickness,l=new _A(e);l.set("Type",VA.get("Annot")),l.set("Subtype",VA.get("Ink")),l.set("CreationDate","D:".concat(KA())),l.set("Rect",s),l.set("InkList",(null==o?void 0:o.points)||g.map((function(A){return A.points}))),l.set("F",4),l.set("Rotate",I),o&&l.set("IT",VA.get("InkHighlight"));var h=new _A(e);l.set("BS",h),h.set("W",c),l.set("C",Array.from(n,(function(A){return A/255}))),l.set("CA",r);var u=new _A(e);return l.set("AP",u),a?u.set("N",a):u.set("N",i),l}},{key:"createNewAppearanceStream",value:(a=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d,y,p,k;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!e.outlines){A.next=2;break}return A.abrupt("return",this.createNewAppearanceStreamForHighlight(e,t,a));case 2:i=e.color,n=e.rect,r=e.paths,g=e.thickness,o=e.opacity,s=["".concat(g," w 1 J 1 j"),"".concat(Ts(i,!1))],1!==o&&s.push("/R0 gs"),I=[],c=m(r);try{for(c.s();!(l=c.n()).done;){if(h=l.value.bezier,I.length=0,I.push("".concat(Je(h[0])," ").concat(Je(h[1])," m")),2===h.length)I.push("".concat(Je(h[0])," ").concat(Je(h[1])," l S"));else{for(u=2,C=h.length;u<C;u+=6)Q=h.slice(u,u+6).map(Je).join(" "),I.push("".concat(Q," c"));I.push("S")}s.push(I.join("\n"))}}catch(A){c.e(A)}finally{c.f()}return E=s.join("\n"),(f=new _A(t)).set("FormType",1),f.set("Subtype",VA.get("Form")),f.set("Type",VA.get("XObject")),f.set("BBox",n),f.set("Length",E.length),1!==o&&(d=new _A(t),y=new _A(t),(p=new _A(t)).set("CA",o),p.set("Type",VA.get("ExtGState")),y.set("R0",p),d.set("ExtGState",y),f.set("Resources",d)),(k=new We(E)).dict=f,A.abrupt("return",k);case 19:case"end":return A.stop()}}),A,this)}))),function(A,e,t){return a.apply(this,arguments)})},{key:"createNewAppearanceStreamForHighlight",value:(t=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c,l,h,u,C,Q,E;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:for(i=e.color,n=e.rect,r=e.outlines.outline,g=e.opacity,(o=["".concat(Ts(i,!0)),"/R0 gs"]).push("".concat(Je(r[4])," ").concat(Je(r[5])," m")),s=6,I=r.length;s<I;s+=6)isNaN(r[s])||null===r[s]?o.push("".concat(Je(r[s+4])," ").concat(Je(r[s+5])," l")):(c=r.slice(s,s+6).map(Je).join(" "),o.push("".concat(c," c")));return o.push("h f"),l=o.join("\n"),(h=new _A(t)).set("FormType",1),h.set("Subtype",VA.get("Form")),h.set("Type",VA.get("XObject")),h.set("BBox",n),h.set("Length",l.length),u=new _A(t),C=new _A(t),u.set("ExtGState",C),h.set("Resources",u),Q=new _A(t),C.set("R0",Q),Q.set("BM",VA.get("Multiply")),1!==g&&(Q.set("ca",g),Q.set("Type",VA.get("ExtGState"))),(E=new We(l)).dict=h,A.abrupt("return",E);case 23:case"end":return A.stop()}}),A)}))),function(A,e,a){return t.apply(this,arguments)})}]);var t,a}(Pd),gy=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict,i=A.xref;if(t.data.annotationType=9,t.data.quadPoints=Yd(a,null)){var n,r=null===(n=t.appearance)||void 0===n?void 0:n.dict.get("Resources");if(!t.appearance||null==r||!r.has("ExtGState")){t.appearance&&uA("HighlightAnnotation - ignoring built-in appearance stream.");var g=t.color?Hd(t.color):[1,1,0],o=a.get("CA");t._setDefaultAppearance({xref:i,fillColor:g,blendMode:"Multiply",fillAlpha:o,pointsCallback:function(A,e){return A.push("".concat(e[0].x," ").concat(e[0].y," m"),"".concat(e[1].x," ").concat(e[1].y," l"),"".concat(e[3].x," ").concat(e[3].y," l"),"".concat(e[2].x," ").concat(e[2].y," l"),"f"),[e[0].x,e[1].x,e[3].y,e[1].y]}})}}else t.data.popupRef=null;return t}return x(e,A),b(e,null,[{key:"createNewDict",value:function(A,e,t){var a=t.apRef,i=t.ap,n=A.color,r=A.opacity,g=A.rect,o=A.rotation,s=A.user,I=A.quadPoints,c=new _A(e);if(c.set("Type",VA.get("Annot")),c.set("Subtype",VA.get("Highlight")),c.set("CreationDate","D:".concat(KA())),c.set("Rect",g),c.set("F",4),c.set("Border",[0,0,0]),c.set("Rotate",o),c.set("QuadPoints",I),c.set("C",Array.from(n,(function(A){return A/255}))),c.set("CA",r),s&&c.set("T",He(s)?s:Ke(s,!0)),a||i){var l=new _A(e);c.set("AP",l),l.set("N",a||i)}return c}},{key:"createNewAppearanceStream",value:(t=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d,y;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:i=e.color,n=e.rect,r=e.outlines,g=e.opacity,o=["".concat(Ts(i,!0)),"/R0 gs"],s=[],I=m(r);try{for(I.s();!(c=I.n()).done;){for(l=c.value,s.length=0,s.push("".concat(Je(l[0])," ").concat(Je(l[1])," m")),h=2,u=l.length;h<u;h+=2)s.push("".concat(Je(l[h])," ").concat(Je(l[h+1])," l"));s.push("h"),o.push(s.join("\n"))}}catch(A){I.e(A)}finally{I.f()}return o.push("f*"),C=o.join("\n"),(Q=new _A(t)).set("FormType",1),Q.set("Subtype",VA.get("Form")),Q.set("Type",VA.get("XObject")),Q.set("BBox",n),Q.set("Length",C.length),E=new _A(t),f=new _A(t),E.set("ExtGState",f),Q.set("Resources",E),d=new _A(t),f.set("R0",d),d.set("BM",VA.get("Multiply")),1!==g&&(d.set("ca",g),d.set("Type",VA.get("ExtGState"))),(y=new We(C)).dict=Q,A.abrupt("return",y);case 24:case"end":return A.stop()}}),A)}))),function(A,e,a){return t.apply(this,arguments)})}]);var t}(Pd),oy=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict,i=A.xref;if(t.data.annotationType=10,t.data.quadPoints=Yd(a,null)){if(!t.appearance){var n=t.color?Hd(t.color):[0,0,0],r=a.get("CA");t._setDefaultAppearance({xref:i,extra:"[] 0 d 0.571 w",strokeColor:n,strokeAlpha:r,pointsCallback:function(A,e){return A.push("".concat(e[2].x," ").concat(e[2].y+1.3," m"),"".concat(e[3].x," ").concat(e[3].y+1.3," l"),"S"),[e[0].x,e[1].x,e[3].y,e[1].y]}})}}else t.data.popupRef=null;return t}return x(e,A),b(e)}(Pd),sy=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict,i=A.xref;if(t.data.annotationType=11,t.data.quadPoints=Yd(a,null)){if(!t.appearance){var n=t.color?Hd(t.color):[0,0,0],r=a.get("CA");t._setDefaultAppearance({xref:i,extra:"[] 0 d 1 w",strokeColor:n,strokeAlpha:r,pointsCallback:function(A,e){var t=(e[0].y-e[2].y)/6,a=t,i=e[2].x,n=e[2].y,r=e[3].x;A.push("".concat(i," ").concat(n+a," m"));do{i+=2,a=0===a?t:0,A.push("".concat(i," ").concat(n+a," l"))}while(i<r);return A.push("S"),[e[2].x,r,n-2*t,n+2*t]}})}}else t.data.popupRef=null;return t}return x(e,A),b(e)}(Pd),Iy=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict,i=A.xref;if(t.data.annotationType=12,t.data.quadPoints=Yd(a,null)){if(!t.appearance){var n=t.color?Hd(t.color):[0,0,0],r=a.get("CA");t._setDefaultAppearance({xref:i,extra:"[] 0 d 1 w",strokeColor:n,strokeAlpha:r,pointsCallback:function(A,e){return A.push("".concat((e[0].x+e[2].x)/2," ")+"".concat((e[0].y+e[2].y)/2," m"),"".concat((e[1].x+e[3].x)/2," ")+"".concat((e[1].y+e[3].y)/2," l"),"S"),[e[0].x,e[1].x,e[3].y,e[1].y]}})}}else t.data.popupRef=null;return t}return x(e,A),b(e)}(Pd),cy=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[A])).data.annotationType=13,t.data.hasOwnCanvas=t.data.noRotate,t.data.noHTML=!1,t}return x(e,A),b(e,null,[{key:"createImage",value:(a=E(B().mark((function A(e,t){var a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,d,y,p;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(a=e.width,i=e.height,n=new OffscreenCanvas(a,i),(r=n.getContext("2d",{alpha:!0})).drawImage(e,0,0),g=r.getImageData(0,0,a,i).data,o=new Uint32Array(g.buffer),(s=o.some(RA.isLittleEndian?function(A){return A>>>24!=255}:function(A){return!!(255&~A)}))&&(r.fillStyle="white",r.fillRect(0,0,a,i),r.drawImage(e,0,0)),I=n.convertToBlob({type:"image/jpeg",quality:1}).then((function(A){return A.arrayBuffer()})),c=VA.get("XObject"),l=VA.get("Image"),(h=new _A(t)).set("Type",c),h.set("Subtype",l),h.set("BitsPerComponent",8),h.set("ColorSpace",VA.get("DeviceRGB")),h.set("Filter",VA.get("DCTDecode")),h.set("BBox",[0,0,a,i]),h.set("Width",a),h.set("Height",i),u=null,s){if(C=new Uint8Array(o.length),RA.isLittleEndian)for(Q=0,E=o.length;Q<E;Q++)C[Q]=o[Q]>>>24;else for(f=0,d=o.length;f<d;f++)C[f]=255&o[f];(y=new _A(t)).set("Type",c),y.set("Subtype",l),y.set("BitsPerComponent",8),y.set("ColorSpace",VA.get("DeviceGray")),y.set("Width",a),y.set("Height",i),u=new Pe(C,0,0,y)}return A.t0=Pe,A.next=25,I;case 25:return A.t1=A.sent,A.t2=h,p=new A.t0(A.t1,0,0,A.t2),A.abrupt("return",{imageStream:p,smaskStream:u,width:a,height:i});case 29:case"end":return A.stop()}}),A)}))),function(A,e){return a.apply(this,arguments)})},{key:"createNewDict",value:function(A,e,t){var a=t.apRef,i=t.ap,n=A.rect,r=A.rotation,g=A.user,o=new _A(e);if(o.set("Type",VA.get("Annot")),o.set("Subtype",VA.get("Stamp")),o.set("CreationDate","D:".concat(KA())),o.set("Rect",n),o.set("F",4),o.set("Border",[0,0,0]),o.set("Rotate",r),g&&o.set("T",He(g)?g:Ke(g,!0)),a||i){var s=new _A(e);o.set("AP",s),a?s.set("N",a):s.set("N",i)}return o}},{key:"createNewAppearanceStream",value:(t=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c,l,h,u;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return i=e.rotation,n=a.image,r=n.imageRef,g=n.width,o=n.height,s=new _A(t),I=new _A(t),s.set("XObject",I),I.set("Im0",r),c="q ".concat(g," 0 0 ").concat(o," 0 0 cm /Im0 Do Q"),(l=new _A(t)).set("FormType",1),l.set("Subtype",VA.get("Form")),l.set("Type",VA.get("XObject")),l.set("BBox",[0,0,g,o]),l.set("Resources",s),i&&(h=qe(i,g,o),l.set("Matrix",h)),(u=new We(c)).dict=l,A.abrupt("return",u);case 17:case"end":return A.stop()}}),A)}))),function(A,e,a){return t.apply(this,arguments)})}]);var t,a}(Pd),ly=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=A.dict,i=A.xref,n=new zs(a.get("FS"),i);t.data.annotationType=17,t.data.hasOwnCanvas=t.data.noRotate,t.data.noHTML=!1,t.data.file=n.serializable;var r=a.get("Name");t.data.name=r instanceof VA?JA(r.name):"PushPin";var g=a.get("ca");return t.data.fillAlpha="number"==typeof g&&g>=0&&g<=1?g:null,t}return x(e,A),b(e)}(Pd);function hy(A){try{return LA(A)}catch(e){return uA('UTF-8 decoding failed: "'.concat(e,'".')),A}}var uy=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[A])).node=null,t}return x(e,A),b(e,[{key:"onEndElement",value:function(A){var t=i(G(e.prototype),"onEndElement",this).call(this,A);if(t&&"xfa:datasets"===A)throw this.node=t,new Error("Aborting DatasetXMLParser.")}}])}(aI),Cy=function(){return b((function A(e){if(F(this,A),e.datasets)this.node=new aI({hasAttributes:!0}).parseFromString(e.datasets).documentElement;else{var t=new uy({hasAttributes:!0});try{t.parseFromString(e["xdp:xdp"])}catch(A){}this.node=t.node}}),[{key:"getValue",value:function(A){if(!this.node||!A)return"";var e=this.node.searchNode(we(A),0);if(!e)return"";var t=e.firstChild;return"value"===(null==t?void 0:t.nodeName)?e.children.map((function(A){return hy(A.textContent)})):hy(e.textContent)}}])}(),By=new WeakMap,Qy=function(){return b((function A(e,t){F(this,A),r(this,By,null),this.stream=e,this.pdfManager=t,this.entries=[],this._xrefStms=new Set,this._cacheMap=new Map,this._pendingRefs=new Ae,this._newPersistentRefNum=null,this._newTemporaryRefNum=null,this._persistentRefsCache=null}),[{key:"getNewPersistentRef",value:function(A){null===this._newPersistentRefNum&&(this._newPersistentRefNum=this.entries.length||1);var e=this._newPersistentRefNum++;return this._cacheMap.set(e,A),$A.get(e,0)}},{key:"getNewTemporaryRef",value:function(){if(null===this._newTemporaryRefNum&&(this._newTemporaryRefNum=this.entries.length||1,this._newPersistentRefNum)){this._persistentRefsCache=new Map;for(var A=this._newTemporaryRefNum;A<this._newPersistentRefNum;A++)this._persistentRefsCache.set(A,this._cacheMap.get(A)),this._cacheMap.delete(A)}return $A.get(this._newTemporaryRefNum++,0)}},{key:"resetNewTemporaryRef",value:function(){if(this._newTemporaryRefNum=null,this._persistentRefsCache){var A,e=m(this._persistentRefsCache);try{for(e.s();!(A=e.n()).done;){var t=d(A.value,2),a=t[0],i=t[1];this._cacheMap.set(a,i)}}catch(A){e.e(A)}finally{e.f()}}this._persistentRefsCache=null}},{key:"setStartXRef",value:function(A){this.startXRefQueue=[A]}},{key:"parse",value:function(){var A,e,t,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];a?(uA("Indexing all PDF objects"),A=this.indexObjects()):A=this.readXRef(),A.assignXref(this),this.trailer=A;try{e=A.get("Encrypt")}catch(A){if(A instanceof se)throw A;uA('XRef.parse - Invalid "Encrypt" reference: "'.concat(A,'".'))}if(e instanceof _A){var i=A.get("ID"),n=null!=i&&i.length?i[0]:"";e.suppressEncryption=!0,this.encrypt=new fI(e,n,this.pdfManager.password)}try{t=A.get("Root")}catch(A){if(A instanceof se)throw A;uA('XRef.parse - Invalid "Root" reference: "'.concat(A,'".'))}if(t instanceof _A)try{if(t.get("Pages")instanceof _A)return void(this.root=t)}catch(A){if(A instanceof se)throw A;uA('XRef.parse - Invalid "Pages" reference: "'.concat(A,'".'))}if(!a)throw new le;throw new pA("Invalid Root reference.")}},{key:"processXRefTable",value:function(A){if("tableState"in this||(this.tableState={entryNum:0,streamPos:A.lexer.stream.pos,parserBuf1:A.buf1,parserBuf2:A.buf2}),!ae(this.readXRefTable(A),"trailer"))throw new vA("Invalid XRef table: could not find trailer dictionary");var e=A.getObj();if(e instanceof _A||!e.dict||(e=e.dict),!(e instanceof _A))throw new vA("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,e}},{key:"readXRefTable",value:function(A){var e,t=A.lexer.stream,a=this.tableState;for(t.pos=a.streamPos,A.buf1=a.parserBuf1,A.buf2=a.parserBuf2;;){if(!("firstEntryNum"in a)||!("entryCount"in a)){if(ae(e=A.getObj(),"trailer"))break;a.firstEntryNum=e,a.entryCount=A.getObj()}var i=a.firstEntryNum,n=a.entryCount;if(!Number.isInteger(i)||!Number.isInteger(n))throw new vA("Invalid XRef table: wrong types in subsection header");for(var r=a.entryNum;r<n;r++){a.streamPos=t.pos,a.entryNum=r,a.parserBuf1=A.buf1,a.parserBuf2=A.buf2;var g={};g.offset=A.getObj(),g.gen=A.getObj();var o=A.getObj();if(o instanceof jA)switch(o.cmd){case"f":g.free=!0;break;case"n":g.uncompressed=!0}if(!Number.isInteger(g.offset)||!Number.isInteger(g.gen)||!g.free&&!g.uncompressed)throw new vA("Invalid entry in XRef subsection: ".concat(i,", ").concat(n));0===r&&g.free&&1===i&&(i=0),this.entries[r+i]||(this.entries[r+i]=g)}a.entryNum=0,a.streamPos=t.pos,a.parserBuf1=A.buf1,a.parserBuf2=A.buf2,delete a.firstEntryNum,delete a.entryCount}if(this.entries[0]&&!this.entries[0].free)throw new vA("Invalid XRef table: unexpected first object");return e}},{key:"processXRefStream",value:function(A){if(!("streamState"in this)){var e=A.dict,t=e.get("W"),a=e.get("Index");a||(a=[0,e.get("Size")]),this.streamState={entryRanges:a,byteWidths:t,entryNum:0,streamPos:A.pos}}return this.readXRefStream(A),delete this.streamState,A.dict}},{key:"readXRefStream",value:function(A){var e=this.streamState;A.pos=e.streamPos;for(var t=d(e.byteWidths,3),a=t[0],i=t[1],n=t[2],r=e.entryRanges;r.length>0;){var g=d(r,2),o=g[0],s=g[1];if(!Number.isInteger(o)||!Number.isInteger(s))throw new vA("Invalid XRef range fields: ".concat(o,", ").concat(s));if(!Number.isInteger(a)||!Number.isInteger(i)||!Number.isInteger(n))throw new vA("Invalid XRef entry fields length: ".concat(o,", ").concat(s));for(var I=e.entryNum;I<s;++I){e.entryNum=I,e.streamPos=A.pos;for(var c=0,l=0,h=0,u=0;u<a;++u){var C=A.getByte();if(-1===C)throw new vA("Invalid XRef byteWidths 'type'.");c=c<<8|C}0===a&&(c=1);for(var B=0;B<i;++B){var Q=A.getByte();if(-1===Q)throw new vA("Invalid XRef byteWidths 'offset'.");l=l<<8|Q}for(var E=0;E<n;++E){var f=A.getByte();if(-1===f)throw new vA("Invalid XRef byteWidths 'generation'.");h=h<<8|f}var y={};switch(y.offset=l,y.gen=h,c){case 0:y.free=!0;break;case 1:y.uncompressed=!0;break;case 2:break;default:throw new vA("Invalid XRef entry type: ".concat(c))}this.entries[o+I]||(this.entries[o+I]=y)}e.entryNum=0,e.streamPos=A.pos,r.splice(0,2)}}},{key:"indexObjects",value:function(){function A(A,e){for(var t="",a=A[e];10!==a&&13!==a&&60!==a&&!(++e>=A.length);)t+=String.fromCharCode(a),a=A[e];return t}function e(A,e,t){for(var a=t.length,i=A.length,n=0;e<i;){for(var r=0;r<a&&A[e+r]===t[r];)++r;if(r>=a)break;e++,n++}return n}var t=/\b(endobj|\d+\s+\d+\s+obj|xref|trailer\s*<<)\b/g,a=/\b(startxref|\d+\s+\d+\s+obj)\b/g,i=/^(\d+)\s+(\d+)\s+obj\b/,n=new Uint8Array([116,114,97,105,108,101,114]),r=new Uint8Array([115,116,97,114,116,120,114,101,102]),g=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();var o=this.stream;o.pos=0;for(var s=o.getBytes(),I=bA(s),c=s.length,l=o.start,h=[],u=[];l<c;){var C=s[l];if(9!==C&&10!==C&&13!==C&&32!==C)if(37!==C){var B=A(s,l),Q=void 0;if(B.startsWith("xref")&&(4===B.length||/\s/.test(B[4])))l+=e(s,l,n),h.push(l),l+=e(s,l,r);else if(Q=i.exec(B)){var E=0|Q[1],f=0|Q[2],d=l+B.length,y=void 0,p=!1;if(this.entries[E]){if(this.entries[E].gen===f)try{new yi({lexer:new vi(o.makeSubStream(d))}).getObj(),p=!0}catch(A){A instanceof Ie?uA("indexObjects -- checking object (".concat(B,'): "').concat(A,'".')):p=!0}}else p=!0;p&&(this.entries[E]={offset:l-o.start,gen:f,uncompressed:!0}),t.lastIndex=d;var m=t.exec(I);m?(y=t.lastIndex+1-l,"endobj"!==m[1]&&(uA('indexObjects: Found "'.concat(m[1],'" inside of another "obj", ')+'caused by missing "endobj" -- trying to recover.'),y-=m[1].length+1)):y=c-l;var k=s.subarray(l,l+y),v=e(k,0,g);v<y&&k[v+5]<64&&(u.push(l-o.start),this._xrefStms.add(l-o.start)),l+=y}else if(B.startsWith("trailer")&&(7===B.length||/\s/.test(B[7]))){h.push(l);var w=l+B.length,b=void 0;a.lastIndex=w;var D=a.exec(I);D?(b=a.lastIndex+1-l,"startxref"!==D[1]&&(uA('indexObjects: Found "'.concat(D[1],'" after "trailer", ')+'caused by missing "startxref" -- trying to recover.'),b-=D[1].length+1)):b=c-l,l+=b}else l+=B.length+1}else do{if(++l>=c)break;C=s[l]}while(10!==C&&13!==C);else++l}for(var F=0,S=u;F<S.length;F++){var R=S[F];this.startXRefQueue.push(R),this.readXRef(!0)}for(var N,G,x=[],U=!1,M=0,J=h;M<J.length;M++){var L=J[M];o.pos=L;var H=new yi({lexer:new vi(o),xref:this,allowStreams:!0,recoveryMode:!0});if(ae(H.getObj(),"trailer")){var Y=H.getObj();Y instanceof _A&&(x.push(Y),Y.has("Encrypt")&&(U=!0))}}for(var K=0,q=[].concat(x,["genFallback"],x);K<q.length;K++){var T=q[K];if("genFallback"!==T){var P=!1;try{var W=T.get("Root");if(!(W instanceof _A))continue;var Z=W.get("Pages");if(!(Z instanceof _A))continue;var O=Z.get("Count");Number.isInteger(O)&&(P=!0)}catch(A){G=A;continue}if(P&&(!U||T.has("Encrypt"))&&T.has("ID"))return T;N=T}else{if(!G)break;this._generationFallback=!0}}if(N)return N;if(this.topDict)return this.topDict;throw new pA("Invalid PDF structure.")}},{key:"readXRef",value:function(){for(var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.stream,t=new Set;this.startXRefQueue.length;){try{var a=this.startXRefQueue[0];if(t.has(a)){uA("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();continue}t.add(a),e.pos=a+e.start;var i=new yi({lexer:new vi(e),xref:this,allowStreams:!0}),r=i.getObj(),o=void 0;if(ae(r,"xref")){var s;o=this.processXRefTable(i),this.topDict||(this.topDict=o),r=o.get("XRefStm"),Number.isInteger(r)&&!this._xrefStms.has(r)&&(this._xrefStms.add(r),this.startXRefQueue.push(r),null!==(s=g(By,this))&&void 0!==s||n(By,this,r))}else{if(!Number.isInteger(r))throw new vA("Invalid XRef stream header");if(!(Number.isInteger(i.getObj())&&ae(i.getObj(),"obj")&&(r=i.getObj())instanceof re))throw new vA("Invalid XRef stream");if(o=this.processXRefStream(r),this.topDict||(this.topDict=o),!o)throw new vA("Failed to read XRef stream")}r=o.get("Prev"),Number.isInteger(r)?this.startXRefQueue.push(r):r instanceof $A&&this.startXRefQueue.push(r.num)}catch(A){if(A instanceof se)throw A;hA("(while reading XRef): "+A)}this.startXRefQueue.shift()}if(this.topDict)return this.topDict;if(!A)throw new le}},{key:"lastXRefStreamPos",get:function(){var A;return null!==(A=g(By,this))&&void 0!==A?A:this._xrefStms.size>0?Math.max.apply(Math,I(this._xrefStms)):null}},{key:"getEntry",value:function(A){var e=this.entries[A];return e&&!e.free&&e.offset?e:null}},{key:"fetchIfRef",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return A instanceof $A?this.fetch(A,e):A}},{key:"fetch",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(A instanceof $A))throw new Error("ref object is not a reference");var t=A.num,a=this._cacheMap.get(t);if(void 0!==a)return a instanceof _A&&!a.objId&&(a.objId=A.toString()),a;var i=this.getEntry(t);if(null===i)return this._cacheMap.set(t,i),i;if(this._pendingRefs.has(A))return this._pendingRefs.remove(A),uA("Ignoring circular reference: ".concat(A,".")),PA;this._pendingRefs.put(A);try{i=i.uncompressed?this.fetchUncompressed(A,i,e):this.fetchCompressed(A,i,e),this._pendingRefs.remove(A)}catch(e){throw this._pendingRefs.remove(A),e}return i instanceof _A?i.objId=A.toString():i instanceof re&&(i.dict.objId=A.toString()),i}},{key:"fetchUncompressed",value:function(A,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=A.gen,i=A.num;if(e.gen!==a){var n="Inconsistent generation in XRef: ".concat(A);if(this._generationFallback&&e.gen<a)return uA(n),this.fetchUncompressed($A.get(i,e.gen),e,t);throw new ce(n)}var r=this.stream.makeSubStream(e.offset+this.stream.start),g=new yi({lexer:new vi(r),xref:this,allowStreams:!0}),o=g.getObj(),s=g.getObj(),I=g.getObj();if(o!==i||s!==a||!(I instanceof jA))throw new ce("Bad (uncompressed) XRef entry: ".concat(A));if("obj"!==I.cmd){if(I.cmd.startsWith("obj")&&(i=parseInt(I.cmd.substring(3),10),!Number.isNaN(i)))return i;throw new ce("Bad (uncompressed) XRef entry: ".concat(A))}return(e=this.encrypt&&!t?g.getObj(this.encrypt.createCipherTransform(i,a)):g.getObj())instanceof re||this._cacheMap.set(i,e),e}},{key:"fetchCompressed",value:function(A,e){var t=e.offset,a=this.fetch($A.get(t,0));if(!(a instanceof re))throw new vA("bad ObjStm stream");var i=a.dict.get("First"),n=a.dict.get("N");if(!Number.isInteger(i)||!Number.isInteger(n))throw new vA("invalid first and n parameters for ObjStm stream");for(var r=new yi({lexer:new vi(a),xref:this,allowStreams:!0}),g=new Array(n),o=new Array(n),s=0;s<n;++s){var I=r.getObj();if(!Number.isInteger(I))throw new vA("invalid object number in the ObjStm stream: ".concat(I));var c=r.getObj();if(!Number.isInteger(c))throw new vA("invalid object offset in the ObjStm stream: ".concat(c));g[s]=I,o[s]=c}for(var l=(a.start||0)+i,h=new Array(n),u=0;u<n;++u){var C=u<n-1?o[u+1]-o[u]:void 0;if(C<0)throw new vA("Invalid offset in the ObjStm stream.");var B=(r=new yi({lexer:new vi(a.makeSubStream(l+o[u],C,a.dict)),xref:this,allowStreams:!0})).getObj();if(h[u]=B,!(B instanceof re)){var Q=g[u],E=this.entries[Q];E&&E.offset===t&&E.gen===u&&this._cacheMap.set(Q,B)}}if(void 0===(e=h[e.gen]))throw new ce("Bad (compressed) XRef entry: ".concat(A));return e}},{key:"fetchIfRefAsync",value:(e=E(B().mark((function A(e,t){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!(e instanceof $A)){A.next=2;break}return A.abrupt("return",this.fetchAsync(e,t));case 2:return A.abrupt("return",e);case 3:case"end":return A.stop()}}),A,this)}))),function(A,t){return e.apply(this,arguments)})},{key:"fetchAsync",value:(A=E(B().mark((function A(e,t){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.prev=0,A.abrupt("return",this.fetch(e,t));case 4:if(A.prev=4,A.t0=A.catch(0),A.t0 instanceof se){A.next=8;break}throw A.t0;case 8:return A.next=10,this.pdfManager.requestRange(A.t0.begin,A.t0.end);case 10:return A.abrupt("return",this.fetchAsync(e,t));case 11:case"end":return A.stop()}}),A,this,[[0,4]])}))),function(e,t){return A.apply(this,arguments)})},{key:"getCatalogObj",value:function(){return this.root}}]);var A,e}(),Ey=[0,0,612,792],fy=new WeakSet,dy=function(){return b((function A(e){var t=e.pdfManager,a=e.xref,i=e.pageIndex,n=e.pageDict,r=e.ref,g=e.globalIdFactory,o=e.fontCache,s=e.builtInCMapCache,I=e.standardFontDataCache,c=e.globalImageCache,h=e.systemFontCache,u=e.nonBlendModesSet,C=e.xfaFactory;F(this,A),l(this,fy),this.pdfManager=t,this.pageIndex=i,this.pageDict=n,this.xref=a,this.ref=r,this.fontCache=o,this.builtInCMapCache=s,this.standardFontDataCache=I,this.globalImageCache=c,this.systemFontCache=h,this.nonBlendModesSet=u,this.evaluatorOptions=t.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=C;var B={obj:0};this._localIdFactory=function(A){function e(){return F(this,e),S(this,e,arguments)}return x(e,A),b(e,null,[{key:"createObjId",value:function(){return"p".concat(i,"_").concat(++B.obj)}},{key:"getPageObjId",value:function(){return"p".concat(r.toString())}}])}(g)}),[{key:"_getInheritableProperty",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=ue({dict:this.pageDict,key:A,getArray:e,stopWhenFound:!1});return Array.isArray(t)?1!==t.length&&t[0]instanceof _A?_A.merge({xref:this.xref,dictArray:t}):t[0]:t}},{key:"content",get:function(){return this.pageDict.getArray("Contents")}},{key:"resources",get:function(){var A=this._getInheritableProperty("Resources");return EA(this,"resources",A instanceof _A?A:_A.empty)}},{key:"_getBoundingBox",value:function(A){if(this.xfaData)return this.xfaData.bbox;var e=ve(this._getInheritableProperty(A,!0),null);if(e){if(e[2]-e[0]>0&&e[3]-e[1]>0)return e;uA("Empty, or invalid, /".concat(A," entry."))}return null}},{key:"mediaBox",get:function(){return EA(this,"mediaBox",this._getBoundingBox("MediaBox")||Ey)}},{key:"cropBox",get:function(){return EA(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}},{key:"userUnit",get:function(){var A=this.pageDict.get("UserUnit");return("number"!=typeof A||A<=0)&&(A=1),EA(this,"userUnit",A)}},{key:"view",get:function(){var A=this.cropBox,e=this.mediaBox;if(A!==e&&!YA(A,e)){var t=GA.intersect(A,e);if(t&&t[2]-t[0]>0&&t[3]-t[1]>0)return EA(this,"view",t);uA("Empty /CropBox and /MediaBox intersection.")}return EA(this,"view",e)}},{key:"rotate",get:function(){var A=this._getInheritableProperty("Rotate")||0;return A%90!=0?A=0:A>=360?A%=360:A<0&&(A=(A%360+360)%360),EA(this,"rotate",A)}},{key:"_onSubStreamError",value:function(A,e){if(!this.evaluatorOptions.ignoreErrors)throw A;uA("getContentStream - ignoring sub-stream (".concat(e,'): "').concat(A,'".'))}},{key:"getContentStream",value:function(){var A=this;return this.pdfManager.ensure(this,"content").then((function(e){return e instanceof re?e:Array.isArray(e)?new Kt(e,A._onSubStreamError.bind(A)):new Ze}))}},{key:"xfaData",get:function(){return EA(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}},{key:"saveNewAnnotations",value:(a=E(B().mark((function A(e,t,a,i){var n,r,g,o,s,c,l,h,u,C,Q,E,d,y,p;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!this.xfaFactory){A.next=2;break}throw new Error("XFA: Cannot save new annotations.");case 2:return n=new xs({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),r=new ee,g=new Ae,f(fy,this,yy).call(this,a,r,g),o=this.pageDict,s=this.annotations.filter((function(A){return!(A instanceof $A&&r.has(A))})),A.next=10,Jd.saveNewAnnotations(n,t,a,i);case 10:c=A.sent,l=m(c.annotations);try{for(l.s();!(h=l.n()).done;)(u=h.value.ref)instanceof $A&&!g.has(u)&&s.push(u)}catch(A){l.e(A)}finally{l.f()}return C=o.get("Annots"),o.set("Annots",s),Q=[],A.next=18,wI(this.ref,o,Q,this.xref);case 18:C&&o.set("Annots",C),(E=c.dependencies).push.apply(E,[{ref:this.ref,data:Q.join("")}].concat(I(c.annotations))),d=m(r);try{for(d.s();!(y=d.n()).done;)p=y.value,E.push({ref:p,data:null})}catch(A){d.e(A)}finally{d.f()}return A.abrupt("return",E);case 24:case"end":return A.stop()}}),A,this)}))),function(A,e,t,i){return a.apply(this,arguments)})},{key:"save",value:function(A,e,t){var a=new xs({xref:this.xref,handler:A,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions});return this._parsedAnnotations.then((function(A){var i,n=[],r=m(A);try{for(r.s();!(i=r.n()).done;){var g=i.value;g.mustBePrinted(t)&&n.push(g.save(a,e,t).catch((function(A){return uA("save - ignoring annotation data during "+'"'.concat(e.name,'" task: "').concat(A,'".')),null})))}}catch(A){r.e(A)}finally{r.f()}return Promise.all(n).then((function(A){return A.filter((function(A){return!!A}))}))}))}},{key:"loadResources",value:function(A){var e=this;return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then((function(){return new Cc(e.resources,A,e.xref).load()}))}},{key:"getOperatorList",value:function(A){var e=this,t=A.handler,a=A.sink,i=A.task,n=A.intent,r=A.cacheKey,g=A.annotationStorage,o=void 0===g?null:g,s=this.getContentStream(),I=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),c=new xs({xref:this.xref,handler:t,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),l=this.xfaFactory?null:Le(o),h=null==l?void 0:l.get(this.pageIndex),u=Promise.resolve(null),C=null;if(h){var B,Q,E=this.pdfManager.ensureDoc("annotationGlobals"),y=new Set,p=m(h);try{for(p.s();!(Q=p.n()).done;){var k=Q.value,v=k.bitmapId,w=k.bitmap;!v||w||y.has(v)||y.add(v)}}catch(A){p.e(A)}finally{p.f()}var b=this.evaluatorOptions.isOffscreenCanvasSupported;if(y.size>0){var D,F=h.slice(),S=m(o);try{for(S.s();!(D=S.n()).done;){var R=d(D.value,2),N=R[0],G=R[1];N.startsWith(P)&&G.bitmap&&y.has(G.bitmapId)&&F.push(G)}}catch(A){S.e(A)}finally{S.f()}B=Jd.generateImages(F,this.xref,b)}else B=Jd.generateImages(h,this.xref,b);C=new Ae,f(fy,this,yy).call(this,h,C,null),u=E.then((function(A){return A?Jd.printNewAnnotations(A,c,i,h,B):null}))}var x=Promise.all([s,I]).then((function(A){var g=d(A,1)[0],o=new vs(n,a);return t.send("StartRenderPage",{transparency:c.hasBlendModes(e.resources,e.nonBlendModesSet),pageIndex:e.pageIndex,cacheKey:r}),c.getOperatorList({stream:g,task:i,resources:e.resources,operatorList:o}).then((function(){return o}))}));return Promise.all([x,this._parsedAnnotations,u]).then((function(A){var e=d(A,3),t=e[0],a=e[1],r=e[2];if(r){a=a.filter((function(A){return!(A.ref&&C.has(A.ref))}));for(var g=function(A,e){var t=r[A];if(t.refToReplace){var i=a.findIndex((function(A){return A.ref&&ne(A.ref,t.refToReplace)}));i>=0&&(a.splice(i,1,t),r.splice(A--,1),e--)}s=A,I=e},s=0,I=r.length;s<I;s++)g(s,I);a=a.concat(r)}if(0===a.length||64&n)return t.flush(!0),{length:t.totalLength};var l,h=!!(16&n),u=!!(1&n),B=!!(2&n),Q=!!(4&n),E=[],f=m(a);try{for(f.s();!(l=f.n()).done;){var y=l.value;(u||B&&y.mustBeViewed(o,h)||Q&&y.mustBePrinted(o))&&E.push(y.getOperatorList(c,i,n,h,o).catch((function(A){return uA("getOperatorList - ignoring annotation data during "+'"'.concat(i.name,'" task: "').concat(A,'".')),{opList:null,separateForm:!1,separateCanvas:!1}})))}}catch(A){f.e(A)}finally{f.f()}return Promise.all(E).then((function(A){var e,a=!1,i=!1,n=m(A);try{for(n.s();!(e=n.n()).done;){var r=e.value,g=r.opList,o=r.separateForm,s=r.separateCanvas;t.addOpList(g),a||(a=o),i||(i=s)}}catch(A){n.e(A)}finally{n.f()}return t.flush(!0,{form:a,canvas:i}),{length:t.totalLength}}))}))}},{key:"extractTextContent",value:(t=E(B().mark((function A(e){var t,a,i,n,r,g,o,s,I,c,l,h,u;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return t=e.handler,a=e.task,i=e.includeMarkedContent,n=e.disableNormalization,r=e.sink,g=this.getContentStream(),o=this.loadResources(["ExtGState","Font","Properties","XObject"]),s=this.pdfManager.ensureCatalog("lang"),A.next=6,Promise.all([g,o,s]);case 6:return I=A.sent,c=d(I,3),l=c[0],h=c[2],u=new xs({xref:this.xref,handler:t,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),A.abrupt("return",u.getTextContent({stream:l,task:a,resources:this.resources,includeMarkedContent:i,disableNormalization:n,sink:r,viewBox:this.view,lang:h}));case 12:case"end":return A.stop()}}),A,this)}))),function(A){return t.apply(this,arguments)})},{key:"getStructTree",value:(e=E(B().mark((function A(){var e,t;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.pdfManager.ensureCatalog("structTreeRoot");case 2:if(e=A.sent){A.next=5;break}return A.abrupt("return",null);case 5:return A.next=7,this._parsedAnnotations;case 7:return A.next=9,this.pdfManager.ensure(this,"_parseStructTree",[e]);case 9:return t=A.sent,A.abrupt("return",t.serializable);case 11:case"end":return A.stop()}}),A,this)}))),function(){return e.apply(this,arguments)})},{key:"_parseStructTree",value:function(A){var e=new rc(A,this.pageDict);return e.parse(this.ref),e}},{key:"getAnnotationsData",value:(A=E(B().mark((function A(e,t,a){var i,n,r,g,o,s,I,c,l,h,u;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this._parsedAnnotations;case 2:if(0!==(i=A.sent).length){A.next=5;break}return A.abrupt("return",i);case 5:n=[],r=[],o=!!(1&a),s=!!(2&a),I=!!(4&a),c=m(i);try{for(c.s();!(l=c.n()).done;)h=l.value,((u=o||s&&h.viewable)||I&&h.printable)&&n.push(h.data),h.hasTextContent&&u&&(g||(g=new xs({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions})),r.push(h.extractTextContent(g,t,[-1/0,-1/0,1/0,1/0]).catch((function(A){uA('getAnnotationsData - ignoring textContent during "'.concat(t.name,'" task: "').concat(A,'".'))}))))}catch(A){c.e(A)}finally{c.f()}return A.next=11,Promise.all(r);case 11:return A.abrupt("return",n);case 12:case"end":return A.stop()}}),A,this)}))),function(e,t,a){return A.apply(this,arguments)})},{key:"annotations",get:function(){var A=this._getInheritableProperty("Annots");return EA(this,"annotations",Array.isArray(A)?A:[])}},{key:"_parsedAnnotations",get:function(){var A=this,e=this.pdfManager.ensure(this,"annotations").then(function(){var e=E(B().mark((function e(t){var a,i,n,r,g,o,s,c,l,h,u;return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==t.length){e.next=2;break}return e.abrupt("return",t);case 2:return e.next=4,A.pdfManager.ensureDoc("annotationGlobals");case 4:if(a=e.sent){e.next=7;break}return e.abrupt("return",[]);case 7:i=[],n=m(t);try{for(n.s();!(r=n.n()).done;)g=r.value,i.push(Jd.create(A.xref,g,a,A._localIdFactory,!1,A.ref).catch((function(A){return uA('_parsedAnnotations: "'.concat(A,'".')),null})))}catch(A){n.e(A)}finally{n.f()}return o=[],e.t0=m,e.next=14,Promise.all(i);case 14:e.t1=e.sent,l=(0,e.t0)(e.t1),e.prev=16,l.s();case 18:if((h=l.n()).done){e.next=31;break}if(u=h.value){e.next=22;break}return e.abrupt("continue",29);case 22:if(!(u instanceof Wd)){e.next=25;break}return(c||(c=[])).push(u),e.abrupt("continue",29);case 25:if(!(u instanceof _d)){e.next=28;break}return(s||(s=[])).push(u),e.abrupt("continue",29);case 28:o.push(u);case 29:e.next=18;break;case 31:e.next=36;break;case 33:e.prev=33,e.t2=e.catch(16),l.e(e.t2);case 36:return e.prev=36,l.f(),e.finish(36);case 39:return c&&o.push.apply(o,I(c)),s&&o.push.apply(o,I(s)),e.abrupt("return",o);case 42:case"end":return e.stop()}}),e,null,[[16,33,36,39]])})));return function(A){return e.apply(this,arguments)}}());return EA(this,"_parsedAnnotations",e)}},{key:"jsActions",get:function(){return EA(this,"jsActions",Se(this.xref,this.pageDict,z))}}]);var A,e,t,a}();function yy(A,e,t){var a,i=m(A);try{for(i.s();!(a=i.n()).done;){var n=a.value;if(n.id){var r=$A.fromString(n.id);if(!r){uA("A non-linked annotation cannot be modified: ".concat(n.id));continue}if(n.deleted){e.put(r,r);continue}null==t||t.put(r),n.ref=r,delete n.id}}}catch(A){i.e(A)}finally{i.f()}}var py=new Uint8Array([37,80,68,70,45]),my=new Uint8Array([115,116,97,114,116,120,114,101,102]),ky=new Uint8Array([101,110,100,111,98,106]);function vy(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1024,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.length,n=A.peekBytes(t),r=n.length-i;if(r<=0)return!1;if(a)for(var g=i-1,o=n.length-1;o>=g;){for(var s=0;s<i&&n[o-s]===e[g-s];)s++;if(s>=i)return A.pos+=o-g,!0;o--}else for(var I=0;I<=r;){for(var c=0;c<i&&n[I+c]===e[c];)c++;if(c>=i)return A.pos+=I,!0;I++}return!1}var wy=new WeakSet,by=function(){return b((function A(e,t){if(F(this,A),l(this,wy),t.length<=0)throw new pA("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=e,this.stream=t,this.xref=new Qy(t,e),this._pagePromises=new Map,this._version=null;var a={font:0};this._globalIdFactory=function(){return b((function A(){F(this,A)}),null,[{key:"getDocId",value:function(){return"g_".concat(e.docId)}},{key:"createFontId",value:function(){return"f".concat(++a.font)}},{key:"createObjId",value:function(){CA("Abstract method `createObjId` called.")}},{key:"getPageObjId",value:function(){CA("Abstract method `getPageObjId` called.")}}])}()}),[{key:"parse",value:function(A){this.xref.parse(A),this.catalog=new cc(this.pdfManager,this.xref)}},{key:"linearization",get:function(){var A=null;try{A=wi.create(this.stream)}catch(A){if(A instanceof se)throw A;hA(A)}return EA(this,"linearization",A)}},{key:"startXRef",get:function(){var A=this.stream,e=0;if(this.linearization){if(A.reset(),vy(A,ky)){A.skip(6);for(var t=A.peekByte();ye(t);)A.pos++,t=A.peekByte();e=A.pos-A.start}}else{for(var a=my.length,i=!1,n=A.end;!i&&n>0;)(n-=1024-a)<0&&(n=0),A.pos=n,i=vy(A,my,1024,!0);if(i){var r;A.skip(9);do{r=A.getByte()}while(ye(r));for(var g="";r>=32&&r<=57;)g+=String.fromCharCode(r),r=A.getByte();e=parseInt(g,10),isNaN(e)&&(e=0)}}return EA(this,"startXRef",e)}},{key:"checkHeader",value:function(){var A=this.stream;if(A.reset(),vy(A,py)){A.moveStart(),A.skip(py.length);for(var e,t="";(e=A.getByte())>32&&t.length<7;)t+=String.fromCharCode(e);ge.test(t)?this._version=t:uA("Invalid PDF header version: ".concat(t))}}},{key:"parseStartXRef",value:function(){this.xref.setStartXRef(this.startXRef)}},{key:"numPages",get:function(){return EA(this,"numPages",this.catalog.hasActualNumPages?this.catalog.numPages:this.xfaFactory?this.xfaFactory.getNumPages():this.linearization?this.linearization.numPages:this.catalog.numPages)}},{key:"_hasOnlyDocumentSignatures",value:function(A){var e=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return!!Array.isArray(A)&&A.every((function(A){if(!((A=e.xref.fetchIfRef(A))instanceof _A))return!1;if(A.has("Kids"))return++t>10?(uA("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):e._hasOnlyDocumentSignatures(A.get("Kids"),t);var a=te(A.get("FT"),"Sig"),i=A.get("Rect"),n=Array.isArray(i)&&i.every((function(A){return 0===A}));return a&&n}))}},{key:"_xfaStreams",get:function(){var A=this.catalog.acroForm;if(!A)return null;var e=A.get("XFA"),t={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if(e instanceof re&&!e.isEmpty)return t["xdp:xdp"]=e,t;if(!Array.isArray(e)||0===e.length)return null;for(var a=0,i=e.length;a<i;a+=2){var n;if(n=0===a?"xdp:xdp":a===i-2?"/xdp:xdp":e[a],t.hasOwnProperty(n)){var r=this.xref.fetchIfRef(e[a+1]);r instanceof re&&!r.isEmpty&&(t[n]=r)}}return t}},{key:"xfaDatasets",get:function(){var A=this._xfaStreams;if(!A)return EA(this,"xfaDatasets",null);for(var e=0,t=["datasets","xdp:xdp"];e<t.length;e++){var a=t[e],i=A[a];if(i)try{var n=s({},a,LA(i.getString()));return EA(this,"xfaDatasets",new Cy(n))}catch(A){uA("XFA - Invalid utf-8 string.");break}}return EA(this,"xfaDatasets",null)}},{key:"xfaData",get:function(){var A=this._xfaStreams;if(!A)return null;for(var e=Object.create(null),t=0,a=Object.entries(A);t<a.length;t++){var i=d(a[t],2),n=i[0],r=i[1];if(r)try{e[n]=LA(r.getString())}catch(A){return uA("XFA - Invalid utf-8 string."),null}}return e}},{key:"xfaFactory",get:function(){var A;return this.pdfManager.enableXfa&&this.catalog.needsRendering&&this.formInfo.hasXfa&&!this.formInfo.hasAcroForm&&(A=this.xfaData),EA(this,"xfaFactory",A?new Md(A):null)}},{key:"isPureXfa",get:function(){return!!this.xfaFactory&&this.xfaFactory.isValid()}},{key:"htmlForXfa",get:function(){return this.xfaFactory?this.xfaFactory.getPages():null}},{key:"loadXfaImages",value:(g=E(B().mark((function A(){var e,t,a,i,n,r,g,o;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.pdfManager.ensureCatalog("xfaImages");case 2:if(e=A.sent){A.next=5;break}return A.abrupt("return");case 5:return t=e.getKeys(),a=new Cc(e,t,this.xref),A.next=9,a.load();case 9:i=new Map,n=m(t);try{for(n.s();!(r=n.n()).done;)g=r.value,(o=e.get(g))instanceof re&&i.set(g,o.getBytes())}catch(A){n.e(A)}finally{n.f()}this.xfaFactory.setImages(i);case 13:case"end":return A.stop()}}),A,this)}))),function(){return g.apply(this,arguments)})},{key:"loadXfaFonts",value:(r=E(B().mark((function A(e,t){var a,i,n,r,g,o,s,I,c,l,h,u,C,Q,E,f,y,p,k,v,w,b,D,F,S,R,N,G,x,U,M,J,L,H;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.pdfManager.ensureCatalog("acroForm");case 2:if(a=A.sent){A.next=5;break}return A.abrupt("return");case 5:return A.next=7,a.getAsync("DR");case 7:if((i=A.sent)instanceof _A){A.next=10;break}return A.abrupt("return");case 10:return n=new Cc(i,["Font"],this.xref),A.next=13,n.load();case 13:if((r=i.get("Font"))instanceof _A){A.next=16;break}return A.abrupt("return");case 16:(g=Object.assign(Object.create(null),this.pdfManager.evaluatorOptions)).useSystemFonts=!1,o=new xs({xref:this.xref,handler:e,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:this.catalog.fontCache,builtInCMapCache:this.catalog.builtInCMapCache,standardFontDataCache:this.catalog.standardFontDataCache,options:g}),s=new vs,I=[],A.t0=function(){return this},c={get font(){return I.at(-1)},set font(A){I.push(A)},clone:A.t0},l=new Map,r.forEach((function(A,e){l.set(A,e)})),h=[],u=m(l),A.prev=27,u.s();case 29:if((C=u.n()).done){A.next=44;break}if(Q=d(C.value,2),E=Q[0],f=Q[1],(y=f.get("FontDescriptor"))instanceof _A){A.next=34;break}return A.abrupt("continue",42);case 34:if(p=(p=y.get("FontFamily")).replaceAll(/[ ]+(\d)/g,"$1"),k=y.get("FontWeight"),v=-y.get("ItalicAngle"),Ue(w={fontFamily:p,fontWeight:k,italicAngle:v})){A.next=41;break}return A.abrupt("continue",42);case 41:h.push(o.handleSetFont(i,[VA.get(E),1],null,s,t,c,null,w).catch((function(A){return uA('loadXfaFonts: "'.concat(A,'".')),null})));case 42:A.next=29;break;case 44:A.next=49;break;case 46:A.prev=46,A.t1=A.catch(27),u.e(A.t1);case 49:return A.prev=49,u.f(),A.finish(49);case 52:return A.next=54,Promise.all(h);case 54:if(b=this.xfaFactory.setFonts(I)){A.next=57;break}return A.abrupt("return");case 57:g.ignoreErrors=!0,h.length=0,I.length=0,D=new Set,F=m(b);try{for(F.s();!(S=F.n()).done;)R=S.value,lo("".concat(R,"-Regular"))||D.add(R)}catch(A){F.e(A)}finally{F.f()}D.size&&b.push("PdfJS-Fallback"),N=m(b),A.prev=65,N.s();case 67:if((G=N.n()).done){A.next=74;break}if(x=G.value,!D.has(x)){A.next=71;break}return A.abrupt("continue",72);case 71:for(U=0,M=[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}];U<M.length;U++)J=M[U],L="".concat(x,"-").concat(J.name),H=ho(L),h.push(o.handleSetFont(i,[VA.get(L),1],null,s,t,c,H,{fontFamily:x,fontWeight:J.fontWeight,italicAngle:J.italicAngle}).catch((function(A){return uA('loadXfaFonts: "'.concat(A,'".')),null})));case 72:A.next=67;break;case 74:A.next=79;break;case 76:A.prev=76,A.t2=A.catch(65),N.e(A.t2);case 79:return A.prev=79,N.f(),A.finish(79);case 82:return A.next=84,Promise.all(h);case 84:this.xfaFactory.appendFonts(I,D);case 85:case"end":return A.stop()}}),A,this,[[27,46,49,52],[65,76,79,82]])}))),function(A,e){return r.apply(this,arguments)})},{key:"serializeXfaData",value:(n=E(B().mark((function A(e){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",this.xfaFactory?this.xfaFactory.serializeData(e):null);case 1:case"end":return A.stop()}}),A,this)}))),function(A){return n.apply(this,arguments)})},{key:"version",get:function(){return this.catalog.version||this._version}},{key:"formInfo",get:function(){var A={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},e=this.catalog.acroForm;if(!e)return EA(this,"formInfo",A);try{var t=e.get("Fields"),a=Array.isArray(t)&&t.length>0;A.hasFields=a;var i=e.get("XFA");A.hasXfa=Array.isArray(i)&&i.length>0||i instanceof re&&!i.isEmpty;var n=!!(1&e.get("SigFlags")),r=n&&this._hasOnlyDocumentSignatures(t);A.hasAcroForm=a&&!r,A.hasSignatures=n}catch(A){if(A instanceof se)throw A;uA('Cannot fetch form information: "'.concat(A,'".'))}return EA(this,"formInfo",A)}},{key:"documentInfo",get:function(){var A,e={PDFFormatVersion:this.version,Language:this.catalog.lang,EncryptFilterName:this.xref.encrypt?this.xref.encrypt.filterName:null,IsLinearized:!!this.linearization,IsAcroFormPresent:this.formInfo.hasAcroForm,IsXFAPresent:this.formInfo.hasXfa,IsCollectionPresent:!!this.catalog.collection,IsSignaturesPresent:this.formInfo.hasSignatures};try{A=this.xref.trailer.get("Info")}catch(A){if(A instanceof se)throw A;hA("The document information dictionary is invalid.")}if(!(A instanceof _A))return EA(this,"documentInfo",e);var t,a=m(A.getKeys());try{for(a.s();!(t=a.n()).done;){var i=t.value,n=A.get(i);switch(i){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if("string"==typeof n){e[i]=JA(n);continue}break;case"Trapped":if(n instanceof VA){e[i]=n;continue}break;default:var r=void 0;switch(M(n)){case"string":r=JA(n);break;case"number":case"boolean":r=n;break;default:n instanceof VA&&(r=n)}if(void 0===r){uA('Bad value, for custom key "'.concat(i,'", in Info: ').concat(n,"."));continue}e.Custom||(e.Custom=Object.create(null)),e.Custom[i]=r;continue}uA('Bad value, for key "'.concat(i,'", in Info: ').concat(n,"."))}}catch(A){a.e(A)}finally{a.f()}return EA(this,"documentInfo",e)}},{key:"fingerprints",get:function(){function A(A){return"string"==typeof A&&A.length>0&&"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"!==A}function e(A){var e,t=[],a=m(A);try{for(a.s();!(e=a.n()).done;){var i=e.value.toString(16);t.push(i.padStart(2,"0"))}}catch(A){a.e(A)}finally{a.f()}return t.join("")}var t,a,i=this.xref.trailer.get("ID");return Array.isArray(i)&&A(i[0])?(t=DA(i[0]),i[1]!==i[0]&&A(i[1])&&(a=DA(i[1]))):t=gI(this.stream.getByteRange(0,1024),0,1024),EA(this,"fingerprints",[e(t),a?e(a):null])}},{key:"_getLinearizationPage",value:(i=E(B().mark((function A(e){var t,a,i,n,r,g;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return t=this.catalog,a=this.linearization,i=this.xref,n=$A.get(a.objectNumberFirst,0),A.prev=2,A.next=5,i.fetchAsync(n);case 5:if(!((r=A.sent)instanceof _A)){A.next=16;break}if(!((g=r.getRaw("Type"))instanceof $A)){A.next=12;break}return A.next=11,i.fetchAsync(g);case 11:g=A.sent;case 12:if(!te(g,"Page")&&(r.has("Type")||r.has("Kids")||!r.has("Contents"))){A.next=16;break}return t.pageKidsCountCache.has(n)||t.pageKidsCountCache.put(n,1),t.pageIndexCache.has(n)||t.pageIndexCache.put(n,0),A.abrupt("return",[r,n]);case 16:throw new vA("The Linearization dictionary doesn't point to a valid Page dictionary.");case 19:return A.prev=19,A.t0=A.catch(2),uA('_getLinearizationPage: "'.concat(A.t0.message,'".')),A.abrupt("return",t.getPageDict(e));case 23:case"end":return A.stop()}}),A,this,[[2,19]])}))),function(A){return i.apply(this,arguments)})},{key:"getPage",value:function(A){var e=this,t=this._pagePromises.get(A);if(t)return t;var a,i=this.catalog,n=this.linearization,r=this.xfaFactory;return a=(a=r?Promise.resolve([_A.empty,null]):(null==n?void 0:n.pageFirst)===A?this._getLinearizationPage(A):i.getPageDict(A)).then((function(t){var a=d(t,2),n=a[0],g=a[1];return new dy({pdfManager:e.pdfManager,xref:e.xref,pageIndex:A,pageDict:n,ref:g,globalIdFactory:e._globalIdFactory,fontCache:i.fontCache,builtInCMapCache:i.builtInCMapCache,standardFontDataCache:i.standardFontDataCache,globalImageCache:i.globalImageCache,systemFontCache:i.systemFontCache,nonBlendModesSet:i.nonBlendModesSet,xfaFactory:r})})),this._pagePromises.set(A,a),a}},{key:"checkFirstPage",value:(a=E(B().mark((function A(){var e=arguments;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!(e.length>0&&void 0!==e[0]&&e[0])){A.next=3;break}return A.abrupt("return");case 3:return A.prev=3,A.next=6,this.getPage(0);case 6:A.next=15;break;case 8:if(A.prev=8,A.t0=A.catch(3),!(A.t0 instanceof ce)){A.next=15;break}return this._pagePromises.delete(0),A.next=14,this.cleanup();case 14:throw new le;case 15:case"end":return A.stop()}}),A,this,[[3,8]])}))),function(){return a.apply(this,arguments)})},{key:"checkLastPage",value:(t=E(B().mark((function A(){var e,t,a,i,n,r,g,o,s,I,c,l,h,u=arguments;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return e=u.length>0&&void 0!==u[0]&&u[0],t=this.catalog,a=this.pdfManager,t.setActualNumPages(),A.prev=3,A.next=6,Promise.all([a.ensureDoc("xfaFactory"),a.ensureDoc("linearization"),a.ensureCatalog("numPages")]);case 6:if(!this.xfaFactory){A.next=10;break}return A.abrupt("return");case 10:i=this.linearization?this.linearization.numPages:t.numPages;case 11:if(Number.isInteger(i)){A.next=15;break}throw new vA("Page count is not an integer.");case 15:if(!(i<=1)){A.next=17;break}return A.abrupt("return");case 17:return A.next=19,this.getPage(i-1);case 19:A.next=44;break;case 21:return A.prev=21,A.t0=A.catch(3),this._pagePromises.delete(i-1),A.next=26,this.cleanup();case 26:if(!(A.t0 instanceof ce)||e){A.next=28;break}throw new le;case 28:return uA("checkLastPage - invalid /Pages tree /Count: ".concat(i,".")),A.prev=29,A.next=32,t.getAllPageDicts(e);case 32:n=A.sent,A.next=41;break;case 35:if(A.prev=35,A.t1=A.catch(29),!(A.t1 instanceof ce)||e){A.next=39;break}throw new le;case 39:return t.setActualNumPages(1),A.abrupt("return");case 41:r=m(n);try{for(r.s();!(g=r.n()).done;)o=d(g.value,2),s=o[0],I=d(o[1],2),c=I[0],l=I[1],h=void 0,c instanceof Error?(h=Promise.reject(c)).catch((function(){})):h=Promise.resolve(new dy({pdfManager:a,xref:this.xref,pageIndex:s,pageDict:c,ref:l,globalIdFactory:this._globalIdFactory,fontCache:t.fontCache,builtInCMapCache:t.builtInCMapCache,standardFontDataCache:t.standardFontDataCache,globalImageCache:t.globalImageCache,systemFontCache:t.systemFontCache,nonBlendModesSet:t.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(s,h)}catch(A){r.e(A)}finally{r.f()}t.setActualNumPages(n.size);case 44:case"end":return A.stop()}}),A,this,[[3,21],[29,35]])}))),function(){return t.apply(this,arguments)})},{key:"fontFallback",value:function(A,e){return this.catalog.fontFallback(A,e)}},{key:"cleanup",value:(e=E(B().mark((function A(){var e,t=arguments;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return e=t.length>0&&void 0!==t[0]&&t[0],A.abrupt("return",this.catalog?this.catalog.cleanup(e):Xs());case 2:case"end":return A.stop()}}),A,this)}))),function(){return e.apply(this,arguments)})},{key:"fieldObjects",get:function(){var A=this;if(!this.formInfo.hasFields)return EA(this,"fieldObjects",Promise.resolve(null));var e=Promise.all([this.pdfManager.ensureDoc("annotationGlobals"),this.pdfManager.ensureCatalog("acroForm")]).then(function(){var e=E(B().mark((function e(t){var a,i,n,r,g,o,s,I,c,l,h,u,C;return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=d(t,2),i=a[0],n=a[1],i){e.next=3;break}return e.abrupt("return",null);case 3:return r=new Ae,g=Object.create(null),o=new Map,e.t0=m,e.next=9,n.getAsync("Fields");case 9:e.t1=e.sent,s=(0,e.t0)(e.t1),e.prev=11,s.s();case 13:if((I=s.n()).done){e.next=19;break}return c=I.value,e.next=17,f(wy,A,Dy).call(A,"",c,o,i,r);case 17:e.next=13;break;case 19:e.next=24;break;case 21:e.prev=21,e.t2=e.catch(11),s.e(e.t2);case 24:return e.prev=24,s.f(),e.finish(24);case 27:l=[],h=m(o),e.prev=29,C=B().mark((function A(){var e,t,a;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:e=d(u.value,2),t=e[0],a=e[1],l.push(Promise.all(a).then((function(A){(A=A.filter((function(A){return!!A}))).length>0&&(g[t]=A)})));case 2:case"end":return A.stop()}}),A)})),h.s();case 32:if((u=h.n()).done){e.next=36;break}return e.delegateYield(C(),"t3",34);case 34:e.next=32;break;case 36:e.next=41;break;case 38:e.prev=38,e.t4=e.catch(29),h.e(e.t4);case 41:return e.prev=41,h.f(),e.finish(41);case 44:return e.next=46,Promise.all(l);case 46:return e.abrupt("return",g);case 47:case"end":return e.stop()}}),e,null,[[11,21,24,27],[29,38,41,44]])})));return function(A){return e.apply(this,arguments)}}());return EA(this,"fieldObjects",e)}},{key:"hasJSActions",get:function(){return EA(this,"hasJSActions",this.pdfManager.ensureDoc("_parseHasJSActions"))}},{key:"_parseHasJSActions",value:(A=E(B().mark((function A(){var e,t,a,i;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);case 2:if(e=A.sent,t=d(e,2),a=t[0],i=t[1],!a){A.next=8;break}return A.abrupt("return",!0);case 8:if(!i){A.next=10;break}return A.abrupt("return",Object.values(i).some((function(A){return A.some((function(A){return null!==A.actions}))})));case 10:return A.abrupt("return",!1);case 11:case"end":return A.stop()}}),A,this)}))),function(){return A.apply(this,arguments)})},{key:"calculationOrderIds",get:function(){var A=this.catalog.acroForm;if(null==A||!A.has("CO"))return EA(this,"calculationOrderIds",null);var e=A.get("CO");if(!Array.isArray(e)||0===e.length)return EA(this,"calculationOrderIds",null);var t,a=[],i=m(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;n instanceof $A&&a.push(n.toString())}}catch(A){i.e(A)}finally{i.f()}return 0===a.length?EA(this,"calculationOrderIds",null):EA(this,"calculationOrderIds",a)}},{key:"annotationGlobals",get:function(){return EA(this,"annotationGlobals",Jd.createGlobals(this.pdfManager))}}]);var A,e,t,a,i,n,r,g}();function Dy(A,e,t,a,i){return Fy.apply(this,arguments)}function Fy(){return(Fy=E(B().mark((function A(e,t,a,i,n){var r,g,o,s,I,c,l,h,u;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(r=this.xref,t instanceof $A&&!n.has(t)){A.next=3;break}return A.abrupt("return");case 3:return n.put(t),A.next=6,r.fetchAsync(t);case 6:if((g=A.sent)instanceof _A){A.next=9;break}return A.abrupt("return");case 9:if(!g.has("T")){A.next=18;break}return A.t0=JA,A.next=13,g.getAsync("T");case 13:A.t1=A.sent,o=(0,A.t0)(A.t1),e=""===e?o:"".concat(e,".").concat(o),A.next=39;break;case 18:s=g;case 19:if(!((s=s.getRaw("Parent"))instanceof $A)){A.next=27;break}if(!n.has(s)){A.next=24;break}return A.abrupt("break",39);case 24:return A.next=26,r.fetchAsync(s);case 26:s=A.sent;case 27:if(s instanceof _A){A.next=29;break}return A.abrupt("break",39);case 29:if(!s.has("T")){A.next=37;break}return A.t2=JA,A.next=33,s.getAsync("T");case 33:return A.t3=A.sent,I=(0,A.t2)(A.t3),e=""===e?I:"".concat(e,".").concat(I),A.abrupt("break",39);case 37:A.next=19;break;case 39:if(a.has(e)||a.set(e,[]),a.get(e).push(Jd.create(r,t,i,null,!0,null).then((function(A){return null==A?void 0:A.getFieldObject()})).catch((function(A){return uA('#collectFieldObjects: "'.concat(A,'".')),null}))),g.has("Kids")){A.next=43;break}return A.abrupt("return");case 43:return A.next=45,g.getAsync("Kids");case 45:if(c=A.sent,!Array.isArray(c)){A.next=64;break}l=m(c),A.prev=48,l.s();case 50:if((h=l.n()).done){A.next=56;break}return u=h.value,A.next=54,f(wy,this,Dy).call(this,e,u,a,i,n);case 54:A.next=50;break;case 56:A.next=61;break;case 58:A.prev=58,A.t4=A.catch(48),l.e(A.t4);case 61:return A.prev=61,l.f(),A.finish(61);case 64:case"end":return A.stop()}}),A,this,[[48,58,61,64]])})))).apply(this,arguments)}var Sy=function(){return b((function A(e){var t;F(this,A),this.constructor===A&&CA("Cannot initialize BasePdfManager."),this._docBaseUrl=function(A){if(A){var e=QA(A);if(e)return e.href;uA('Invalid absolute docBaseUrl: "'.concat(A,'".'))}return null}(e.docBaseUrl),this._docId=e.docId,this._password=e.password,this.enableXfa=e.enableXfa,(t=e.evaluatorOptions).isOffscreenCanvasSupported&&(t.isOffscreenCanvasSupported=RA.isOffscreenCanvasSupported),this.evaluatorOptions=Object.freeze(e.evaluatorOptions)}),[{key:"docId",get:function(){return this._docId}},{key:"password",get:function(){return this._password}},{key:"docBaseUrl",get:function(){return this._docBaseUrl}},{key:"catalog",get:function(){return this.pdfDocument.catalog}},{key:"ensureDoc",value:function(A,e){return this.ensure(this.pdfDocument,A,e)}},{key:"ensureXRef",value:function(A,e){return this.ensure(this.pdfDocument.xref,A,e)}},{key:"ensureCatalog",value:function(A,e){return this.ensure(this.pdfDocument.catalog,A,e)}},{key:"getPage",value:function(A){return this.pdfDocument.getPage(A)}},{key:"fontFallback",value:function(A,e){return this.pdfDocument.fontFallback(A,e)}},{key:"loadXfaFonts",value:function(A,e){return this.pdfDocument.loadXfaFonts(A,e)}},{key:"loadXfaImages",value:function(){return this.pdfDocument.loadXfaImages()}},{key:"serializeXfaData",value:function(A){return this.pdfDocument.serializeXfaData(A)}},{key:"cleanup",value:function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pdfDocument.cleanup(A)}},{key:"ensure",value:(A=E(B().mark((function A(e,t,a){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:CA("Abstract method `ensure` called");case 1:case"end":return A.stop()}}),A)}))),function(e,t,a){return A.apply(this,arguments)})},{key:"requestRange",value:function(A,e){CA("Abstract method `requestRange` called")}},{key:"requestLoadedStream",value:function(){CA("Abstract method `requestLoadedStream` called")}},{key:"sendProgressiveData",value:function(A){CA("Abstract method `sendProgressiveData` called")}},{key:"updatePassword",value:function(A){this._password=A}},{key:"terminate",value:function(A){CA("Abstract method `terminate` called")}}]);var A}(),Ry=function(A){function e(A){var t;F(this,e),t=S(this,e,[A]);var a=new Pe(A.source);return t.pdfDocument=new by(t,a),t._loadedStreamPromise=Promise.resolve(a),t}return x(e,A),b(e,[{key:"ensure",value:(t=E(B().mark((function A(e,t,a){var i;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if("function"!=typeof(i=e[t])){A.next=3;break}return A.abrupt("return",i.apply(e,a));case 3:return A.abrupt("return",i);case 4:case"end":return A.stop()}}),A)}))),function(A,e,a){return t.apply(this,arguments)})},{key:"requestRange",value:function(A,e){return Promise.resolve()}},{key:"requestLoadedStream",value:function(){return this._loadedStreamPromise}},{key:"terminate",value:function(A){}}]);var t}(Sy),Ny=function(A){function e(A){var t;return F(this,e),(t=S(this,e,[A])).streamManager=new Xe(A.source,{msgHandler:A.handler,length:A.length,disableAutoFetch:A.disableAutoFetch,rangeChunkSize:A.rangeChunkSize}),t.pdfDocument=new by(t,t.streamManager.getStream()),t}return x(e,A),b(e,[{key:"ensure",value:(t=E(B().mark((function A(e,t,a){var i;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(A.prev=0,"function"!=typeof(i=e[t])){A.next=4;break}return A.abrupt("return",i.apply(e,a));case 4:return A.abrupt("return",i);case 7:if(A.prev=7,A.t0=A.catch(0),A.t0 instanceof se){A.next=11;break}throw A.t0;case 11:return A.next=13,this.requestRange(A.t0.begin,A.t0.end);case 13:return A.abrupt("return",this.ensure(e,t,a));case 14:case"end":return A.stop()}}),A,this,[[0,7]])}))),function(A,e,a){return t.apply(this,arguments)})},{key:"requestRange",value:function(A,e){return this.streamManager.requestRange(A,e)}},{key:"requestLoadedStream",value:function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.streamManager.requestAllChunks(A)}},{key:"sendProgressiveData",value:function(A){this.streamManager.onReceiveData({chunk:A})}},{key:"terminate",value:function(A){this.streamManager.abort(A)}}]);var t}(Sy);function Gy(A){switch(A instanceof Error||"object"===M(A)&&null!==A||CA('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),A.name){case"AbortException":return new wA(A.message);case"MissingPDFException":return new mA(A.message);case"PasswordException":return new dA(A.message,A.code);case"UnexpectedResponseException":return new kA(A.message,A.status);case"UnknownErrorException":return new yA(A.message,A.details);default:return new yA(A.message,A.toString())}}var xy=new WeakSet,Uy=function(){return b((function A(e,t,a){var i=this;F(this,A),l(this,xy),this.sourceName=e,this.targetName=t,this.comObj=a,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(A){var e=A.data;if(e.targetName===i.sourceName)if(e.stream)f(xy,i,Jy).call(i,e);else if(e.callback){var t=e.callbackId,n=i.callbackCapabilities[t];if(!n)throw new Error("Cannot resolve callback ".concat(t));if(delete i.callbackCapabilities[t],1===e.callback)n.resolve(e.data);else{if(2!==e.callback)throw new Error("Unexpected callback case");n.reject(Gy(e.reason))}}else{var r=i.actionHandler[e.action];if(!r)throw new Error("Unknown action from worker: ".concat(e.action));if(e.callbackId){var g=i.sourceName,o=e.sourceName;new Promise((function(A){A(r(e.data))})).then((function(A){a.postMessage({sourceName:g,targetName:o,callback:1,callbackId:e.callbackId,data:A})}),(function(A){a.postMessage({sourceName:g,targetName:o,callback:2,callbackId:e.callbackId,reason:Gy(A)})}))}else e.streamId?f(xy,i,My).call(i,e):r(e.data)}},a.addEventListener("message",this._onComObjOnMessage)}),[{key:"on",value:function(A,e){var t=this.actionHandler;if(t[A])throw new Error('There is already an actionName called "'.concat(A,'"'));t[A]=e}},{key:"send",value:function(A,e,t){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:A,data:e},t)}},{key:"sendWithPromise",value:function(A,e,t){var a=this.callbackId++,i=Promise.withResolvers();this.callbackCapabilities[a]=i;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:A,callbackId:a,data:e},t)}catch(A){i.reject(A)}return i.promise}},{key:"sendWithStream",value:function(A,e,t,a){var i=this,n=this.streamId++,r=this.sourceName,g=this.targetName,o=this.comObj;return new ReadableStream({start:function(t){var s=Promise.withResolvers();return i.streamControllers[n]={controller:t,startCall:s,pullCall:null,cancelCall:null,isClosed:!1},o.postMessage({sourceName:r,targetName:g,action:A,streamId:n,data:e,desiredSize:t.desiredSize},a),s.promise},pull:function(A){var e=Promise.withResolvers();return i.streamControllers[n].pullCall=e,o.postMessage({sourceName:r,targetName:g,stream:6,streamId:n,desiredSize:A.desiredSize}),e.promise},cancel:function(A){BA(A instanceof Error,"cancel must have a valid reason");var e=Promise.withResolvers();return i.streamControllers[n].cancelCall=e,i.streamControllers[n].isClosed=!0,o.postMessage({sourceName:r,targetName:g,stream:1,streamId:n,reason:Gy(A)}),e.promise}},t)}},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}])}();function My(A){var e=A.streamId,t=this.sourceName,a=A.sourceName,i=this.comObj,n=this,r=this.actionHandler[A.action],g={enqueue:function(A){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var g=this.desiredSize;this.desiredSize-=n,g>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),i.postMessage({sourceName:t,targetName:a,stream:4,streamId:e,chunk:A},r)}},close:function(){this.isCancelled||(this.isCancelled=!0,i.postMessage({sourceName:t,targetName:a,stream:3,streamId:e}),delete n.streamSinks[e])},error:function(A){BA(A instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,i.postMessage({sourceName:t,targetName:a,stream:5,streamId:e,reason:Gy(A)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:A.desiredSize,ready:null};g.sinkCapability.resolve(),g.ready=g.sinkCapability.promise,this.streamSinks[e]=g,new Promise((function(e){e(r(A.data,g))})).then((function(){i.postMessage({sourceName:t,targetName:a,stream:8,streamId:e,success:!0})}),(function(A){i.postMessage({sourceName:t,targetName:a,stream:8,streamId:e,reason:Gy(A)})}))}function Jy(A){var e=A.streamId,t=this.sourceName,a=A.sourceName,i=this.comObj,n=this.streamControllers[e],r=this.streamSinks[e];switch(A.stream){case 8:A.success?n.startCall.resolve():n.startCall.reject(Gy(A.reason));break;case 7:A.success?n.pullCall.resolve():n.pullCall.reject(Gy(A.reason));break;case 6:if(!r){i.postMessage({sourceName:t,targetName:a,stream:7,streamId:e,success:!0});break}r.desiredSize<=0&&A.desiredSize>0&&r.sinkCapability.resolve(),r.desiredSize=A.desiredSize,new Promise((function(A){var e;A(null===(e=r.onPull)||void 0===e?void 0:e.call(r))})).then((function(){i.postMessage({sourceName:t,targetName:a,stream:7,streamId:e,success:!0})}),(function(A){i.postMessage({sourceName:t,targetName:a,stream:7,streamId:e,reason:Gy(A)})}));break;case 4:if(BA(n,"enqueue should have stream controller"),n.isClosed)break;n.controller.enqueue(A.chunk);break;case 3:if(BA(n,"close should have stream controller"),n.isClosed)break;n.isClosed=!0,n.controller.close(),f(xy,this,Ly).call(this,n,e);break;case 5:BA(n,"error should have stream controller"),n.controller.error(Gy(A.reason)),f(xy,this,Ly).call(this,n,e);break;case 2:A.success?n.cancelCall.resolve():n.cancelCall.reject(Gy(A.reason)),f(xy,this,Ly).call(this,n,e);break;case 1:if(!r)break;new Promise((function(e){var t;e(null===(t=r.onCancel)||void 0===t?void 0:t.call(r,Gy(A.reason)))})).then((function(){i.postMessage({sourceName:t,targetName:a,stream:2,streamId:e,success:!0})}),(function(A){i.postMessage({sourceName:t,targetName:a,stream:2,streamId:e,reason:Gy(A)})})),r.sinkCapability.reject(Gy(A.reason)),r.isCancelled=!0,delete this.streamSinks[e];break;default:throw new Error("Unexpected stream case")}}function Ly(A,e){return Hy.apply(this,arguments)}function Hy(){return(Hy=E(B().mark((function A(e,t){var a,i,n;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,Promise.allSettled([null===(a=e.startCall)||void 0===a?void 0:a.promise,null===(i=e.pullCall)||void 0===i?void 0:i.promise,null===(n=e.cancelCall)||void 0===n?void 0:n.promise]);case 2:delete this.streamControllers[t];case 3:case"end":return A.stop()}}),A,this)})))).apply(this,arguments)}var Yy,Ky=function(){return b((function A(e){F(this,A),this._msgHandler=e,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}),[{key:"getFullReader",value:function(){return BA(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new qy(this._msgHandler),this._fullRequestReader}},{key:"getRangeReader",value:function(A,e){var t=new Ty(A,e,this._msgHandler);return this._rangeRequestReaders.push(t),t}},{key:"cancelAllRequests",value:function(A){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(A);var t,a=m(this._rangeRequestReaders.slice(0));try{for(a.s();!(t=a.n()).done;)t.value.cancel(A)}catch(A){a.e(A)}finally{a.f()}}}])}(),qy=function(){return b((function A(e){var t=this;F(this,A),this._msgHandler=e,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;var a=this._msgHandler.sendWithStream("GetReader");this._reader=a.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then((function(A){t._isStreamingSupported=A.isStreamingSupported,t._isRangeSupported=A.isRangeSupported,t._contentLength=A.contentLength}))}),[{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}},{key:"read",value:(A=E(B().mark((function A(){var e,t;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this._reader.read();case 2:if(e=A.sent,t=e.value,!e.done){A.next=7;break}return A.abrupt("return",{value:void 0,done:!0});case 7:return A.abrupt("return",{value:t.buffer,done:!1});case 8:case"end":return A.stop()}}),A,this)}))),function(){return A.apply(this,arguments)})},{key:"cancel",value:function(A){this._reader.cancel(A)}}]);var A}(),Ty=function(){return b((function A(e,t,a){F(this,A),this._msgHandler=a,this.onProgress=null;var i=this._msgHandler.sendWithStream("GetRangeReader",{begin:e,end:t});this._reader=i.getReader()}),[{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(A=E(B().mark((function A(){var e,t;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this._reader.read();case 2:if(e=A.sent,t=e.value,!e.done){A.next=7;break}return A.abrupt("return",{value:void 0,done:!0});case 7:return A.abrupt("return",{value:t.buffer,done:!1});case 8:case"end":return A.stop()}}),A,this)}))),function(){return A.apply(this,arguments)})},{key:"cancel",value:function(A){this._reader.cancel(A)}}]);var A}(),Py=function(){return b((function A(e){F(this,A),this.name=e,this.terminated=!1,this._capability=Promise.withResolvers()}),[{key:"finished",get:function(){return this._capability.promise}},{key:"finish",value:function(){this._capability.resolve()}},{key:"terminate",value:function(){this.terminated=!0}},{key:"ensureNotTerminated",value:function(){if(this.terminated)throw new Error("Worker task was terminated")}}])}(),Wy=function(){function A(){F(this,A)}return b(A,null,[{key:"setup",value:function(e,t){var a=!1;e.on("test",(function(A){a||(a=!0,e.send("test",A instanceof Uint8Array))})),e.on("configure",(function(A){var e;e=A.verbosity,Number.isInteger(e)&&(cA=e)})),e.on("GetDocRequest",(function(e){return A.createDocumentHandler(e,t)}))}},{key:"createDocumentHandler",value:function(A,e){var t,a=!1,i=null,n=new Set,r=lA(),g=A,o=g.docId,s=g.apiVersion,I="4.3.136";if(s!==I)throw new Error('The API version "'.concat(s,'" does not match ')+'the Worker version "'.concat(I,'".'));var c=[];for(var l in[])c.push(l);if(c.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+c.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");var h=o+"_worker",u=new Uy(h,o,e);function C(){if(a)throw new Error("Worker was terminated")}function Q(A){n.add(A)}function f(A){A.finish(),n.delete(A)}function y(A){return p.apply(this,arguments)}function p(){return(p=E(B().mark((function A(e){var a,i,n,r,g,o,s;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,t.ensureDoc("checkHeader");case 2:return A.next=4,t.ensureDoc("parseStartXRef");case 4:return A.next=6,t.ensureDoc("parse",[e]);case 6:return A.next=8,t.ensureDoc("checkFirstPage",[e]);case 8:return A.next=10,t.ensureDoc("checkLastPage",[e]);case 10:return A.next=12,t.ensureDoc("isPureXfa");case 12:if(!(a=A.sent)){A.next=18;break}return Q(i=new Py("loadXfaFonts")),A.next=18,Promise.all([t.loadXfaFonts(u,i).catch((function(A){})).then((function(){return f(i)})),t.loadXfaImages()]);case 18:return A.next=20,Promise.all([t.ensureDoc("numPages"),t.ensureDoc("fingerprints")]);case 20:if(n=A.sent,r=d(n,2),g=r[0],o=r[1],!a){A.next=30;break}return A.next=27,t.ensureDoc("htmlForXfa");case 27:A.t0=A.sent,A.next=31;break;case 30:A.t0=null;case 31:return s=A.t0,A.abrupt("return",{numPages:g,fingerprints:o,htmlForXfa:s});case 33:case"end":return A.stop()}}),A)})))).apply(this,arguments)}return u.on("GetPage",(function(A){return t.getPage(A.pageIndex).then((function(A){return Promise.all([t.ensure(A,"rotate"),t.ensure(A,"ref"),t.ensure(A,"userUnit"),t.ensure(A,"view")]).then((function(A){var e,t=d(A,4),a=t[0],i=t[1],n=t[2],r=t[3];return{rotate:a,ref:i,refStr:null!==(e=null==i?void 0:i.toString())&&void 0!==e?e:null,userUnit:n,view:r}}))}))})),u.on("GetPageIndex",(function(A){var e=$A.get(A.num,A.gen);return t.ensureCatalog("getPageIndex",[e])})),u.on("GetDestinations",(function(A){return t.ensureCatalog("destinations")})),u.on("GetDestination",(function(A){return t.ensureCatalog("getDestination",[A.id])})),u.on("GetPageLabels",(function(A){return t.ensureCatalog("pageLabels")})),u.on("GetPageLayout",(function(A){return t.ensureCatalog("pageLayout")})),u.on("GetPageMode",(function(A){return t.ensureCatalog("pageMode")})),u.on("GetViewerPreferences",(function(A){return t.ensureCatalog("viewerPreferences")})),u.on("GetOpenAction",(function(A){return t.ensureCatalog("openAction")})),u.on("GetAttachments",(function(A){return t.ensureCatalog("attachments")})),u.on("GetDocJSActions",(function(A){return t.ensureCatalog("jsActions")})),u.on("GetPageJSActions",(function(A){var e=A.pageIndex;return t.getPage(e).then((function(A){return t.ensure(A,"jsActions")}))})),u.on("GetOutline",(function(A){return t.ensureCatalog("documentOutline")})),u.on("GetOptionalContentConfig",(function(A){return t.ensureCatalog("optionalContentConfig")})),u.on("GetPermissions",(function(A){return t.ensureCatalog("permissions")})),u.on("GetMetadata",(function(A){return Promise.all([t.ensureDoc("documentInfo"),t.ensureCatalog("metadata")])})),u.on("GetMarkInfo",(function(A){return t.ensureCatalog("markInfo")})),u.on("GetData",(function(A){return t.requestLoadedStream().then((function(A){return A.bytes}))})),u.on("GetAnnotations",(function(A){var e=A.pageIndex,a=A.intent;return t.getPage(e).then((function(A){var t=new Py("GetAnnotations: page ".concat(e));return Q(t),A.getAnnotationsData(u,t,a).then((function(A){return f(t),A}),(function(A){throw f(t),A}))}))})),u.on("GetFieldObjects",(function(A){return t.ensureDoc("fieldObjects")})),u.on("HasJSActions",(function(A){return t.ensureDoc("hasJSActions")})),u.on("GetCalculationOrderIds",(function(A){return t.ensureDoc("calculationOrderIds")})),u.on("SaveDocument",function(){var A=E(B().mark((function A(e){var a,i,n,r,g,o,s,I,c,l,h,C,Q,y,p,k,v,w,b,D,F,S,R,N,G,x,U,M,J,L,H,Y,K,q,T,P,W,Z;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return a=e.isPureXfa,i=e.numPages,n=e.annotationStorage,r=e.filename,g=[t.requestLoadedStream(),t.ensureCatalog("acroForm"),t.ensureCatalog("acroFormRef"),t.ensureDoc("startXRef"),t.ensureDoc("xref"),t.ensureDoc("linearization"),t.ensureCatalog("structTreeRoot")],o=[],s=a?null:Le(n),A.next=6,Promise.all(g);case 6:if(I=A.sent,c=d(I,7),l=c[0],h=c[1],C=c[2],Q=c[3],y=c[4],p=c[5],k=c[6],v=y.trailer.getRaw("Root")||null,!s){A.next=47;break}if(k){A.next=24;break}return A.next=20,zI.canCreateStructureTree({catalogRef:v,pdfManager:t,newAnnotationsByPage:s});case 20:if(!A.sent){A.next=22;break}w=null;case 22:A.next=28;break;case 24:return A.next=26,k.canUpdateStructTree({pdfManager:t,xref:y,newAnnotationsByPage:s});case 26:if(!A.sent){A.next=28;break}w=k;case 28:b=Jd.generateImages(n.values(),y,t.evaluatorOptions.isOffscreenCanvasSupported),D=void 0===w?o:[],F=m(s),A.prev=31,R=B().mark((function A(){var e,a,i;return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:e=d(S.value,2),a=e[0],i=e[1],D.push(t.getPage(a).then((function(A){var e=new Py("Save (editor): page ".concat(a));return A.saveNewAnnotations(u,e,i,b).finally((function(){f(e)}))})));case 2:case"end":return A.stop()}}),A)})),F.s();case 34:if((S=F.n()).done){A.next=38;break}return A.delegateYield(R(),"t0",36);case 36:A.next=34;break;case 38:A.next=43;break;case 40:A.prev=40,A.t1=A.catch(31),F.e(A.t1);case 43:return A.prev=43,F.f(),A.finish(43);case 46:null===w?o.push(Promise.all(D).then(function(){var A=E(B().mark((function A(e){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,zI.createStructureTree({newAnnotationsByPage:s,xref:y,catalogRef:v,pdfManager:t,newRefs:e});case 2:return A.abrupt("return",e);case 3:case"end":return A.stop()}}),A)})));return function(e){return A.apply(this,arguments)}}())):w&&o.push(Promise.all(D).then(function(){var A=E(B().mark((function A(e){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,w.updateStructureTree({newAnnotationsByPage:s,pdfManager:t,newRefs:e});case 2:return A.abrupt("return",e);case 3:case"end":return A.stop()}}),A)})));return function(e){return A.apply(this,arguments)}}()));case 47:if(!a){A.next=51;break}o.push(t.serializeXfaData(n)),A.next=58;break;case 51:N=B().mark((function A(e){return B().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:o.push(t.getPage(e).then((function(A){var t=new Py("Save: page ".concat(e));return A.save(u,t,n).finally((function(){f(t)}))})));case 1:case"end":return A.stop()}}),A)})),G=0;case 53:if(!(G<i)){A.next=58;break}return A.delegateYield(N(G),"t2",55);case 55:G++,A.next=53;break;case 58:return A.next=60,Promise.all(o);case 60:if(x=A.sent,U=[],M=null,!a){A.next=69;break}if(M=x[0]){A.next=67;break}return A.abrupt("return",l.bytes);case 67:A.next=72;break;case 69:if(0!==(U=x.flat(2)).length){A.next=72;break}return A.abrupt("return",l.bytes);case 72:if(J=C&&h instanceof _A&&U.some((function(A){return A.needAppearances})),L=h instanceof _A&&h.get("XFA")||null,H=null,Y=!1,Array.isArray(L)){for(K=0,q=L.length;K<q;K+=2)"datasets"===L[K]&&(H=L[K+1],Y=!0);null===H&&(H=y.getNewTemporaryRef())}else L&&uA("Unsupported XFA type.");return T=Object.create(null),y.trailer&&(W=Object.create(null),(Z=y.trailer.get("Info")||null)instanceof _A&&Z.forEach((function(A,e){"string"==typeof e&&(W[A]=JA(e))})),T={rootRef:v,encryptRef:y.trailer.getRaw("Encrypt")||null,newRef:y.getNewTemporaryRef(),infoRef:y.trailer.getRaw("Info")||null,info:W,fileIds:y.trailer.get("ID")||null,startXRef:p?Q:null!==(P=y.lastXRefStreamPos)&&void 0!==P?P:Q,filename:r}),A.abrupt("return",XI({originalData:l.bytes,xrefInfo:T,newRefs:U,xref:y,hasXfa:!!L,xfaDatasetsRef:H,hasXfaDatasetsEntry:Y,needAppearances:J,acroFormRef:C,acroForm:h,xfaData:M,useXrefStream:ie(y.topDict,"XRef")}).finally((function(){y.resetNewTemporaryRef()})));case 80:case"end":return A.stop()}}),A,null,[[31,40,43,46]])})));return function(e){return A.apply(this,arguments)}}()),u.on("GetOperatorList",(function(A,e){var a=A.pageIndex;t.getPage(a).then((function(t){var i=new Py("GetOperatorList: page ".concat(a));Q(i);var n=r>=_.INFOS?Date.now():0;t.getOperatorList({handler:u,sink:e,task:i,intent:A.intent,cacheKey:A.cacheKey,annotationStorage:A.annotationStorage}).then((function(A){f(i),n&&hA("page=".concat(a+1," - getOperatorList: time=")+"".concat(Date.now()-n,"ms, len=").concat(A.length)),e.close()}),(function(A){f(i),i.terminated||e.error(A)}))}))})),u.on("GetTextContent",(function(A,e){var a=A.pageIndex,i=A.includeMarkedContent,n=A.disableNormalization;t.getPage(a).then((function(A){var t=new Py("GetTextContent: page "+a);Q(t);var g=r>=_.INFOS?Date.now():0;A.extractTextContent({handler:u,task:t,sink:e,includeMarkedContent:i,disableNormalization:n}).then((function(){f(t),g&&hA("page=".concat(a+1," - getTextContent: time=")+"".concat(Date.now()-g,"ms")),e.close()}),(function(A){f(t),t.terminated||e.error(A)}))}))})),u.on("GetStructTree",(function(A){return t.getPage(A.pageIndex).then((function(A){return t.ensure(A,"getStructTree")}))})),u.on("FontFallback",(function(A){return t.fontFallback(A.id,u)})),u.on("Cleanup",(function(A){return t.cleanup(!0)})),u.on("Terminate",(function(A){a=!0;var e=[];if(t){t.terminate(new wA("Worker was terminated."));var r=t.cleanup();e.push(r),t=null}else Xs();i&&i(new wA("Worker was terminated."));var g,o=m(n);try{for(o.s();!(g=o.n()).done;){var s=g.value;e.push(s.finished),s.terminate()}}catch(A){o.e(A)}finally{o.f()}return Promise.all(e).then((function(){u.destroy(),u=null}))})),u.on("Ready",(function(e){!function(A){function e(A){C(),u.send("GetDoc",{pdfInfo:A})}function n(A){if(C(),A instanceof dA){var e=new Py("PasswordException: response ".concat(A.code));Q(e),u.sendWithPromise("PasswordRequest",A).then((function(A){var a=A.password;f(e),t.updatePassword(a),r()})).catch((function(){f(e),u.send("DocException",A)}))}else A instanceof pA||A instanceof mA||A instanceof kA||A instanceof yA?u.send("DocException",A):u.send("DocException",new yA(A.message,A.toString()))}function r(){C(),y(!1).then(e,(function(A){C(),A instanceof le?t.requestLoadedStream().then((function(){C(),y(!0).then(e,n)})):n(A)}))}C(),function(A){var e,t=A.data,a=A.password,n=A.disableAutoFetch,r=A.rangeChunkSize,g=A.length,s=A.docBaseUrl,I=A.enableXfa,c=A.evaluatorOptions,l={source:null,disableAutoFetch:n,docBaseUrl:s,docId:o,enableXfa:I,evaluatorOptions:c,handler:u,length:g,password:a,rangeChunkSize:r},h=Promise.withResolvers();if(t){try{l.source=t,e=new Ry(l),h.resolve(e)}catch(A){h.reject(A)}return h.promise}var B,Q=[];try{B=new Ky(u)}catch(A){return h.reject(A),h.promise}var E=B.getFullReader();E.headersReady.then((function(){if(E.isRangeSupported){l.source=B,l.length=E.contentLength,l.disableAutoFetch||(l.disableAutoFetch=E.isStreamingSupported),e=new Ny(l);for(var A=0,t=Q;A<t.length;A++){var a=t[A];e.sendProgressiveData(a)}Q=[],h.resolve(e),i=null}})).catch((function(A){h.reject(A),i=null}));var f=0;return new Promise((function(A,t){E.read().then((function A(a){var n=a.value,r=a.done;try{if(C(),r)return e||function(){var A=he(Q);g&&A.length!==g&&uA("reported HTTP length is different from actual");try{l.source=A,e=new Ry(l),h.resolve(e)}catch(A){h.reject(A)}Q=[]}(),void(i=null);f+=n.byteLength,E.isStreamingSupported||u.send("DocProgress",{loaded:f,total:Math.max(f,E.contentLength||0)}),e?e.sendProgressiveData(n):Q.push(n),E.read().then(A,t)}catch(A){t(A)}}),t)})).catch((function(A){h.reject(A),i=null})),i=function(A){B.cancelAllRequests(A)},h.promise}(A).then((function(A){if(a)throw A.terminate(new wA("Worker was terminated.")),new Error("Worker was terminated");(t=A).requestLoadedStream(!0).then((function(A){u.send("DataLoaded",{length:A.bytes.byteLength})}))})).then(r,n)}(A),A=null})),h}},{key:"initializeFromPort",value:function(e){var t=new Uy("worker","main",e);A.setup(t,e),t.send("ready",null)}}])}();"undefined"==typeof window&&!H&&"undefined"!=typeof self&&"function"==typeof(Yy=self).postMessage&&"onmessage"in Yy&&Wy.initializeFromPort(self)})();