mirror of
https://github.com/501351981/vue-office.git
synced 2025-07-05 07:11:24 +08:00
2 lines
1.3 MiB
2 lines
1.3 MiB
/*! For license information please see worker.js.LICENSE.txt */
|
||
var e={607:(e,t,r)=>{var n=r(5547),a=r(3454),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(a(e)+" is not a function")}},7497:(e,t,r)=>{var n=r(5713),a=r(3454),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(a(e)+" is not a constructor")}},8835:(e,t,r)=>{var n=r(9913),a=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+a(e)+" as a prototype")}},3689:(e,t,r)=>{var n=r(5553),a=r(5572),i=r(2030).f,o=n("unscopables"),s=Array.prototype;void 0===s[o]&&i(s,o,{configurable:!0,value:a(null)}),e.exports=function(e){s[o][e]=!0}},293:(e,t,r)=>{var n=r(4942).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},5312:(e,t,r)=>{var n=r(5692),a=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new a("Incorrect invocation")}},4738:(e,t,r)=>{var n=r(2922),a=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(a(e)+" is not an object")}},4855:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},9795:(e,t,r)=>{var n=r(5392);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},5192:(e,t,r)=>{var n,a,i,o=r(4855),s=r(1724),c=r(5628),u=r(5547),l=r(2922),h=r(3531),f=r(1331),d=r(3454),p=r(9238),g=r(3300),v=r(7416),m=r(5692),y=r(5401),b=r(1),w=r(5553),k=r(1188),x=r(5972),S=x.enforce,A=x.get,C=c.Int8Array,O=C&&C.prototype,F=c.Uint8ClampedArray,I=F&&F.prototype,T=C&&y(C),M=O&&y(O),E=Object.prototype,P=c.TypeError,R=w("toStringTag"),N=k("TYPED_ARRAY_TAG"),D="TypedArrayConstructor",B=o&&!!b&&"Opera"!==f(c.opera),L=!1,_={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j={BigInt64Array:8,BigUint64Array:8},U=function(e){var t=y(e);if(l(t)){var r=A(t);return r&&h(r,D)?r[D]:U(t)}},$=function(e){if(!l(e))return!1;var t=f(e);return h(_,t)||h(j,t)};for(n in _)(i=(a=c[n])&&a.prototype)?S(i)[D]=a:B=!1;for(n in j)(i=(a=c[n])&&a.prototype)&&(S(i)[D]=a);if((!B||!u(T)||T===Function.prototype)&&(T=function(){throw new P("Incorrect invocation")},B))for(n in _)c[n]&&b(c[n],T);if((!B||!M||M===E)&&(M=T.prototype,B))for(n in _)c[n]&&b(c[n].prototype,M);if(B&&y(I)!==M&&b(I,M),s&&!h(M,R))for(n in L=!0,v(M,R,{configurable:!0,get:function(){return l(this)?this[N]:void 0}}),_)c[n]&&p(c[n],N,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:B,TYPED_ARRAY_TAG:L&&N,aTypedArray:function(e){if($(e))return e;throw new P("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!b||m(T,e)))return e;throw new P(d(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var a in _){var i=c[a];if(i&&h(i.prototype,e))try{delete i.prototype[e]}catch(r){try{i.prototype[e]=t}catch(e){}}}M[e]&&!r||g(M,e,r?t:B&&O[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,a;if(s){if(b){if(r)for(n in _)if((a=c[n])&&h(a,e))try{delete a[e]}catch(e){}if(T[e]&&!r)return;try{return g(T,e,r?t:B&&T[e]||t)}catch(e){}}for(n in _)!(a=c[n])||a[e]&&!r||g(a,e,t)}},getTypedArrayConstructor:U,isView:function(e){if(!l(e))return!1;var t=f(e);return"DataView"===t||h(_,t)||h(j,t)},isTypedArray:$,TypedArray:T,TypedArrayPrototype:M}},1639:(e,t,r)=>{var n=r(5628),a=r(5207),i=r(1724),o=r(4855),s=r(4930),c=r(9238),u=r(7416),l=r(9711),h=r(5392),f=r(5312),d=r(2501),p=r(7450),g=r(5927),v=r(4029),m=r(9767),y=r(5401),b=r(1),w=r(3039),k=r(4997),x=r(6673),S=r(469),A=r(869),C=r(5972),O=s.PROPER,F=s.CONFIGURABLE,I="ArrayBuffer",T="DataView",M="prototype",E="Wrong index",P=C.getterFor(I),R=C.getterFor(T),N=C.set,D=n[I],B=D,L=B&&B[M],_=n[T],j=_&&_[M],U=Object.prototype,$=n.Array,X=n.RangeError,H=a(w),q=a([].reverse),z=m.pack,G=m.unpack,W=function(e){return[255&e]},V=function(e){return[255&e,e>>8&255]},K=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Y=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},J=function(e){return z(v(e),23,4)},Z=function(e){return z(e,52,8)},Q=function(e,t,r){u(e[M],t,{configurable:!0,get:function(){return r(this)[t]}})},ee=function(e,t,r,n){var a=R(e),i=g(r),o=!!n;if(i+t>a.byteLength)throw new X(E);var s=a.bytes,c=i+a.byteOffset,u=k(s,c,c+t);return o?u:q(u)},te=function(e,t,r,n,a,i){var o=R(e),s=g(r),c=n(+a),u=!!i;if(s+t>o.byteLength)throw new X(E);for(var l=o.bytes,h=s+o.byteOffset,f=0;f<t;f++)l[h+f]=c[u?f:t-f-1]};if(o){var re=O&&D.name!==I;h((function(){D(1)}))&&h((function(){new D(-1)}))&&!h((function(){return new D,new D(1.5),new D(NaN),1!==D.length||re&&!F}))?re&&F&&c(D,"name",I):((B=function(e){return f(this,L),x(new D(g(e)),this,B)})[M]=L,L.constructor=B,S(B,D)),b&&y(j)!==U&&b(j,U);var ne=new _(new B(2)),ae=a(j.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||l(j,{setInt8:function(e,t){ae(this,e,t<<24>>24)},setUint8:function(e,t){ae(this,e,t<<24>>24)}},{unsafe:!0})}else L=(B=function(e){f(this,L);var t=g(e);N(this,{type:I,bytes:H($(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)})[M],j=(_=function(e,t,r){f(this,j),f(e,L);var n=P(e),a=n.byteLength,o=d(t);if(o<0||o>a)throw new X("Wrong offset");if(o+(r=void 0===r?a-o:p(r))>a)throw new X("Wrong length");N(this,{type:T,buffer:e,byteLength:r,byteOffset:o,bytes:n.bytes}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=o)})[M],i&&(Q(B,"byteLength",P),Q(_,"buffer",R),Q(_,"byteLength",R),Q(_,"byteOffset",R)),l(j,{getInt8:function(e){return ee(this,1,e)[0]<<24>>24},getUint8:function(e){return ee(this,1,e)[0]},getInt16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return Y(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return Y(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return G(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return G(ee(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){te(this,1,e,W,t)},setUint8:function(e,t){te(this,1,e,W,t)},setInt16:function(e,t){te(this,2,e,V,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){te(this,2,e,V,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){te(this,4,e,K,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){te(this,4,e,K,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){te(this,4,e,J,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){te(this,8,e,Z,t,arguments.length>2&&arguments[2])}});A(B,I),A(_,T),e.exports={ArrayBuffer:B,DataView:_}},52:(e,t,r)=>{var n=r(4874),a=r(645),i=r(1024),o=r(4167),s=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),c=i(r),u=a(e,c),l=a(t,c),h=arguments.length>2?arguments[2]:void 0,f=s((void 0===h?c:a(h,c))-l,c-u),d=1;for(l<u&&u<l+f&&(d=-1,l+=f-1,u+=f-1);f-- >0;)l in r?r[u]=r[l]:o(r,u),u+=d,l+=d;return r}},3039:(e,t,r)=>{var n=r(4874),a=r(645),i=r(1024);e.exports=function(e){for(var t=n(this),r=i(t),o=arguments.length,s=a(o>1?arguments[1]:void 0,r),c=o>2?arguments[2]:void 0,u=void 0===c?r:a(c,r);u>s;)t[s++]=e;return t}},755:(e,t,r)=>{var n=r(6682).forEach,a=r(5668)("forEach");e.exports=a?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},9353:(e,t,r)=>{var n=r(1024);e.exports=function(e,t,r){for(var a=0,i=arguments.length>2?r:n(t),o=new e(i);i>a;)o[a]=t[a++];return o}},1383:(e,t,r)=>{var n=r(6913),a=r(5304),i=r(4874),o=r(7477),s=r(5525),c=r(5713),u=r(1024),l=r(8638),h=r(9392),f=r(9755),d=Array;e.exports=function(e){var t=i(e),r=c(this),p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g;v&&(g=n(g,p>2?arguments[2]:void 0));var m,y,b,w,k,x,S=f(t),A=0;if(!S||this===d&&s(S))for(m=u(t),y=r?new this(m):d(m);m>A;A++)x=v?g(t[A],A):t[A],l(y,A,x);else for(k=(w=h(t,S)).next,y=r?new this:[];!(b=a(k,w)).done;A++)x=v?o(w,g,[b.value,A],!0):b.value,l(y,A,x);return y.length=A,y}},3458:(e,t,r)=>{var n=r(3238),a=r(645),i=r(1024),o=function(e){return function(t,r,o){var s,c=n(t),u=i(c),l=a(o,u);if(e&&r!=r){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},8648:(e,t,r)=>{var n=r(6913),a=r(3415),i=r(4874),o=r(1024),s=function(e){var t=1===e;return function(r,s,c){for(var u,l=i(r),h=a(l),f=o(h),d=n(s,c);f-- >0;)if(d(u=h[f],f,l))switch(e){case 0:return u;case 1:return f}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},6682:(e,t,r)=>{var n=r(6913),a=r(5207),i=r(3415),o=r(4874),s=r(1024),c=r(8730),u=a([].push),l=function(e){var t=1===e,r=2===e,a=3===e,l=4===e,h=6===e,f=7===e,d=5===e||h;return function(p,g,v,m){for(var y,b,w=o(p),k=i(w),x=s(k),S=n(g,v),A=0,C=m||c,O=t?C(p,x):r||f?C(p,0):void 0;x>A;A++)if((d||A in k)&&(b=S(y=k[A],A,w),e))if(t)O[A]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return A;case 2:u(O,y)}else switch(e){case 4:return!1;case 7:u(O,y)}return h?-1:a||l?l:O}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},798:(e,t,r)=>{var n=r(9500),a=r(3238),i=r(2501),o=r(1024),s=r(5668),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,h=s("lastIndexOf"),f=l||!h;e.exports=f?function(e){if(l)return n(u,this,arguments)||0;var t=a(this),r=o(t),s=r-1;for(arguments.length>1&&(s=c(s,i(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:u},5728:(e,t,r)=>{var n=r(5392),a=r(5553),i=r(6262),o=a("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},5668:(e,t,r)=>{var n=r(5392);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},2253:(e,t,r)=>{var n=r(607),a=r(4874),i=r(3415),o=r(1024),s=TypeError,c=function(e){return function(t,r,c,u){var l=a(t),h=i(l),f=o(l);n(r);var d=e?f-1:0,p=e?-1:1;if(c<2)for(;;){if(d in h){u=h[d],d+=p;break}if(d+=p,e?d<0:f<=d)throw new s("Reduce of empty array with no initial value")}for(;e?d>=0:f>d;d+=p)d in h&&(u=r(u,h[d],d,l));return u}};e.exports={left:c(!1),right:c(!0)}},5303:(e,t,r)=>{var n=r(1724),a=r(6308),i=TypeError,o=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(a(e)&&!o(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},4997:(e,t,r)=>{var n=r(5207);e.exports=n([].slice)},9158:(e,t,r)=>{var n=r(4997),a=Math.floor,i=function(e,t){var r=e.length;if(r<8)for(var o,s,c=1;c<r;){for(s=c,o=e[c];s&&t(e[s-1],o)>0;)e[s]=e[--s];s!==c++&&(e[s]=o)}else for(var u=a(r/2),l=i(n(e,0,u),t),h=i(n(e,u),t),f=l.length,d=h.length,p=0,g=0;p<f||g<d;)e[p+g]=p<f&&g<d?t(l[p],h[g])<=0?l[p++]:h[g++]:p<f?l[p++]:h[g++];return e};e.exports=i},2074:(e,t,r)=>{var n=r(6308),a=r(5713),i=r(2922),o=r(5553)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(a(t)&&(t===s||n(t.prototype))||i(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?s:t}},8730:(e,t,r)=>{var n=r(2074);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},8067:(e,t,r)=>{var n=r(1024);e.exports=function(e,t){for(var r=n(e),a=new t(r),i=0;i<r;i++)a[i]=e[r-i-1];return a}},9677:(e,t,r)=>{var n=r(1024),a=r(2501),i=RangeError;e.exports=function(e,t,r,o){var s=n(e),c=a(r),u=c<0?s+c:c;if(u>=s||u<0)throw new i("Incorrect index");for(var l=new t(s),h=0;h<s;h++)l[h]=h===u?o:e[h];return l}},809:e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t+"+/",n=t+"-_",a=function(e){for(var t={},r=0;r<64;r++)t[e.charAt(r)]=r;return t};e.exports={i2c:r,c2i:a(r),i2cUrl:n,c2iUrl:a(n)}},7477:(e,t,r)=>{var n=r(4738),a=r(8170);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){a(e,"throw",t)}}},7112:(e,t,r)=>{var n=r(5553)("iterator"),a=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){a=!0}};o[n]=function(){return this},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!a)return!1}catch(e){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},5067:(e,t,r)=>{var n=r(5207),a=n({}.toString),i=n("".slice);e.exports=function(e){return i(a(e),8,-1)}},1331:(e,t,r)=>{var n=r(7804),a=r(5547),i=r(5067),o=r(5553)("toStringTag"),s=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=s(e),o))?r:c?i(t):"Object"===(n=i(t))&&a(t.callee)?"Arguments":n}},1430:(e,t,r)=>{var n=r(5572),a=r(7416),i=r(9711),o=r(6913),s=r(5312),c=r(7930),u=r(1783),l=r(5341),h=r(9925),f=r(5997),d=r(1724),p=r(6073).fastKey,g=r(5972),v=g.set,m=g.getterFor;e.exports={getConstructor:function(e,t,r,l){var h=e((function(e,a){s(e,f),v(e,{type:t,index:n(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(a)||u(a,e[l],{that:e,AS_ENTRIES:r})})),f=h.prototype,g=m(t),y=function(e,t,r){var n,a,i=g(e),o=b(e,t);return o?o.value=r:(i.last=o={index:a=p(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=o),n&&(n.next=o),d?i.size++:e.size++,"F"!==a&&(i.index[a]=o)),e},b=function(e,t){var r,n=g(e),a=p(t);if("F"!==a)return n.index[a];for(r=n.first;r;r=r.next)if(r.key===t)return r};return i(f,{clear:function(){for(var e=g(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),t=t.next;e.first=e.last=void 0,e.index=n(null),d?e.size=0:this.size=0},delete:function(e){var t=this,r=g(t),n=b(t,e);if(n){var a=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=a),a&&(a.previous=i),r.first===n&&(r.first=a),r.last===n&&(r.last=i),d?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=g(this),n=o(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),i(f,r?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),d&&a(f,"size",{configurable:!0,get:function(){return g(this).size}}),h},setStrong:function(e,t,r){var n=t+" Iterator",a=m(t),i=m(n);l(e,t,(function(e,t){v(this,{type:n,target:e,state:a(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?h("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=void 0,h(void 0,!0))}),r?"entries":"values",!r,!0),f(t)}}},3287:(e,t,r)=>{var n=r(5207),a=r(9711),i=r(6073).getWeakData,o=r(5312),s=r(4738),c=r(7930),u=r(2922),l=r(1783),h=r(6682),f=r(3531),d=r(5972),p=d.set,g=d.getterFor,v=h.find,m=h.findIndex,y=n([].splice),b=0,w=function(e){return e.frozen||(e.frozen=new k)},k=function(){this.entries=[]},x=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};k.prototype={get:function(e){var t=x(this,e);if(t)return t[1]},has:function(e){return!!x(this,e)},set:function(e,t){var r=x(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var h=e((function(e,a){o(e,d),p(e,{type:t,id:b++,frozen:void 0}),c(a)||l(a,e[n],{that:e,AS_ENTRIES:r})})),d=h.prototype,v=g(t),m=function(e,t,r){var n=v(e),a=i(s(t),!0);return!0===a?w(n).set(t,r):a[n.id]=r,e};return a(d,{delete:function(e){var t=v(this);if(!u(e))return!1;var r=i(e);return!0===r?w(t).delete(e):r&&f(r,t.id)&&delete r[t.id]},has:function(e){var t=v(this);if(!u(e))return!1;var r=i(e);return!0===r?w(t).has(e):r&&f(r,t.id)}}),a(d,r?{get:function(e){var t=v(this);if(u(e)){var r=i(e);return!0===r?w(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),h}}},4866:(e,t,r)=>{var n=r(3937),a=r(5628),i=r(5207),o=r(5416),s=r(3300),c=r(6073),u=r(1783),l=r(5312),h=r(5547),f=r(7930),d=r(2922),p=r(5392),g=r(7112),v=r(869),m=r(6673);e.exports=function(e,t,r){var y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),w=y?"set":"add",k=a[e],x=k&&k.prototype,S=k,A={},C=function(e){var t=i(x[e]);s(x,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(b&&!d(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return b&&!d(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(b&&!d(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(o(e,!h(k)||!(b||x.forEach&&!p((function(){(new k).entries().next()})))))S=r.getConstructor(t,e,y,w),c.enable();else if(o(e,!0)){var O=new S,F=O[w](b?{}:-0,1)!==O,I=p((function(){O.has(1)})),T=g((function(e){new k(e)})),M=!b&&p((function(){for(var e=new k,t=5;t--;)e[w](t,t);return!e.has(-0)}));T||((S=t((function(e,t){l(e,x);var r=m(new k,e,S);return f(t)||u(t,r[w],{that:r,AS_ENTRIES:y}),r}))).prototype=x,x.constructor=S),(I||M)&&(C("delete"),C("has"),y&&C("get")),(M||F)&&C(w),b&&x.clear&&delete x.clear}return A[e]=S,n({global:!0,constructor:!0,forced:S!==k},A),v(S,e),b||r.setStrong(S,e,y),S}},469:(e,t,r)=>{var n=r(3531),a=r(66),i=r(9070),o=r(2030);e.exports=function(e,t,r){for(var s=a(t),c=o.f,u=i.f,l=0;l<s.length;l++){var h=s[l];n(e,h)||r&&n(r,h)||c(e,h,u(t,h))}}},2092:(e,t,r)=>{var n=r(5553)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},7472:(e,t,r)=>{var n=r(5392);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9925:e=>{e.exports=function(e,t){return{value:e,done:t}}},9238:(e,t,r)=>{var n=r(1724),a=r(2030),i=r(7999);e.exports=n?function(e,t,r){return a.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},7999:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},8638:(e,t,r)=>{var n=r(3561),a=r(2030),i=r(7999);e.exports=function(e,t,r){var o=n(t);o in e?a.f(e,o,i(0,r)):e[o]=r}},7245:(e,t,r)=>{var n=r(4738),a=r(3085),i=TypeError;e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return a(this,e)}},7416:(e,t,r)=>{var n=r(6543),a=r(2030);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),a.f(e,t,r)}},3300:(e,t,r)=>{var n=r(5547),a=r(2030),i=r(6543),o=r(4143);e.exports=function(e,t,r,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&i(r,u,s),s.global)c?e[t]=r:o(t,r);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:a.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},9711:(e,t,r)=>{var n=r(3300);e.exports=function(e,t,r){for(var a in t)n(e,a,t[a],r);return e}},4143:(e,t,r)=>{var n=r(5628),a=Object.defineProperty;e.exports=function(e,t){try{a(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},4167:(e,t,r)=>{var n=r(3454),a=TypeError;e.exports=function(e,t){if(!delete e[t])throw new a("Cannot delete property "+n(t)+" of "+n(e))}},1724:(e,t,r)=>{var n=r(5392);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},7694:(e,t,r)=>{var n=r(5628),a=r(2922),i=n.document,o=a(i)&&a(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},6665:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},580:e=>{e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},1151:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9128:(e,t,r)=>{var n=r(7694)("span").classList,a=n&&n.constructor&&n.constructor.prototype;e.exports=a===Object.prototype?void 0:a},6890:(e,t,r)=>{var n=r(8270).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},5009:(e,t,r)=>{var n=r(4378),a=r(6638);e.exports=!n&&!a&&"object"==typeof window&&"object"==typeof document},4378:e=>{e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},3326:(e,t,r)=>{var n=r(8270);e.exports=/MSIE|Trident/.test(n)},2570:(e,t,r)=>{var n=r(8270);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},7056:(e,t,r)=>{var n=r(8270);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},6638:(e,t,r)=>{var n=r(5628),a=r(5067);e.exports="process"===a(n.process)},7264:(e,t,r)=>{var n=r(8270);e.exports=/web0s(?!.*chrome)/i.test(n)},8270:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},6262:(e,t,r)=>{var n,a,i=r(5628),o=r(8270),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(a=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!a&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(a=+n[1]),e.exports=a},2122:(e,t,r)=>{var n=r(8270).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},1989:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3580:(e,t,r)=>{var n=r(5207),a=Error,i=n("".replace),o=String(new a("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!a.prepareStackTrace)for(;t--;)e=i(e,s,"");return e}},9518:(e,t,r)=>{var n=r(9238),a=r(3580),i=r(2031),o=Error.captureStackTrace;e.exports=function(e,t,r,s){i&&(o?o(e,t):n(e,"stack",a(r,s)))}},2031:(e,t,r)=>{var n=r(5392),a=r(7999);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",a(1,7)),7!==e.stack)}))},4602:(e,t,r)=>{var n=r(1724),a=r(5392),i=r(4738),o=r(7797),s=Error.prototype.toString,c=a((function(){if(n){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==s.call(e))return!0}return"2: 1"!==s.call({message:1,name:2})||"Error"!==s.call({})}));e.exports=c?function(){var e=i(this),t=o(e.name,"Error"),r=o(e.message);return t?r?t+": "+r:t:r}:s},3937:(e,t,r)=>{var n=r(5628),a=r(9070).f,i=r(9238),o=r(3300),s=r(4143),c=r(469),u=r(5416);e.exports=function(e,t){var r,l,h,f,d,p=e.target,g=e.global,v=e.stat;if(r=g?n:v?n[p]||s(p,{}):(n[p]||{}).prototype)for(l in t){if(f=t[l],h=e.dontCallGetSet?(d=a(r,l))&&d.value:r[l],!u(g?l:p+(v?".":"#")+l,e.forced)&&void 0!==h){if(typeof f==typeof h)continue;c(f,h)}(e.sham||h&&h.sham)&&i(f,"sham",!0),o(r,l,f,e)}}},5392:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},739:(e,t,r)=>{r(6433);var n=r(8209),a=r(3300),i=r(4493),o=r(5392),s=r(5553),c=r(9238),u=s("species"),l=RegExp.prototype;e.exports=function(e,t,r,h){var f=s(e),d=!o((function(){var t={};return t[f]=function(){return 7},7!==""[e](t)})),p=d&&!o((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return t=!0,null},r[f](""),!t}));if(!d||!p||r){var g=n(/./[f]),v=t(f,""[e],(function(e,t,r,a,o){var s=n(e),c=t.exec;return c===i||c===l.exec?d&&!o?{done:!0,value:g(t,r,a)}:{done:!0,value:s(r,t,a)}:{done:!1}}));a(String.prototype,e,v[0]),a(l,f,v[1])}h&&c(l[f],"sham",!0)}},8497:(e,t,r)=>{var n=r(6308),a=r(1024),i=r(6665),o=r(6913),s=function(e,t,r,c,u,l,h,f){for(var d,p,g=u,v=0,m=!!h&&o(h,f);v<c;)v in r&&(d=m?m(r[v],v,t):r[v],l>0&&n(d)?(p=a(d),g=s(e,t,d,p,g,l-1)-1):(i(g+1),e[g]=d),g++),v++;return g};e.exports=s},4958:(e,t,r)=>{var n=r(5392);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},9500:(e,t,r)=>{var n=r(9232),a=Function.prototype,i=a.apply,o=a.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},6913:(e,t,r)=>{var n=r(8209),a=r(607),i=r(9232),o=n(n.bind);e.exports=function(e,t){return a(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},9232:(e,t,r)=>{var n=r(5392);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},1475:(e,t,r)=>{var n=r(5207),a=r(607),i=r(2922),o=r(3531),s=r(4997),c=r(9232),u=Function,l=n([].concat),h=n([].join),f={};e.exports=c?u.bind:function(e){var t=a(this),r=t.prototype,n=s(arguments,1),c=function(){var r=l(n,s(arguments));return this instanceof c?function(e,t,r){if(!o(f,t)){for(var n=[],a=0;a<t;a++)n[a]="a["+a+"]";f[t]=u("C,a","return new C("+h(n,",")+")")}return f[t](e,r)}(t,r.length,r):t.apply(e,r)};return i(r)&&(c.prototype=r),c}},5304:(e,t,r)=>{var n=r(9232),a=Function.prototype.call;e.exports=n?a.bind(a):function(){return a.apply(a,arguments)}},4930:(e,t,r)=>{var n=r(1724),a=r(3531),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=a(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},5198:(e,t,r)=>{var n=r(5207),a=r(607);e.exports=function(e,t,r){try{return n(a(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},8209:(e,t,r)=>{var n=r(5067),a=r(5207);e.exports=function(e){if("Function"===n(e))return a(e)}},5207:(e,t,r)=>{var n=r(9232),a=Function.prototype,i=a.call,o=n&&a.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},6341:(e,t,r)=>{var n=r(5628),a=r(5547);e.exports=function(e,t){return arguments.length<2?(r=n[e],a(r)?r:void 0):n[e]&&n[e][t];var r}},9755:(e,t,r)=>{var n=r(1331),a=r(2698),i=r(7930),o=r(1463),s=r(5553)("iterator");e.exports=function(e){if(!i(e))return a(e,s)||a(e,"@@iterator")||o[n(e)]}},9392:(e,t,r)=>{var n=r(5304),a=r(607),i=r(4738),o=r(3454),s=r(9755),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(a(r))return i(n(r,e));throw new c(o(e)+" is not iterable")}},9142:(e,t,r)=>{var n=r(5207),a=r(6308),i=r(5547),o=r(5067),s=r(9338),c=n([].push);e.exports=function(e){if(i(e))return e;if(a(e)){for(var t=e.length,r=[],n=0;n<t;n++){var u=e[n];"string"==typeof u?c(r,u):"number"!=typeof u&&"Number"!==o(u)&&"String"!==o(u)||c(r,s(u))}var l=r.length,h=!0;return function(e,t){if(h)return h=!1,t;if(a(this))return t;for(var n=0;n<l;n++)if(r[n]===e)return t}}}},2698:(e,t,r)=>{var n=r(607),a=r(7930);e.exports=function(e,t){var r=e[t];return a(r)?void 0:n(r)}},5095:(e,t,r)=>{var n=r(5207),a=r(4874),i=Math.floor,o=n("".charAt),s=n("".replace),c=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,h,f){var d=r+e.length,p=n.length,g=l;return void 0!==h&&(h=a(h),g=u),s(f,g,(function(a,s){var u;switch(o(s,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,d);case"<":u=h[c(s,1,-1)];break;default:var l=+s;if(0===l)return a;if(l>p){var f=i(l/10);return 0===f?a:f<=p?void 0===n[f-1]?o(s,1):n[f-1]+o(s,1):a}u=n[l-1]}return void 0===u?"":u}))}},5628:function(e,t,r){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},3531:(e,t,r)=>{var n=r(5207),a=r(4874),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(a(e),t)}},6710:e=>{e.exports={}},9896:e=>{e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},5913:(e,t,r)=>{var n=r(6341);e.exports=n("document","documentElement")},7199:(e,t,r)=>{var n=r(1724),a=r(5392),i=r(7694);e.exports=!n&&!a((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},9767:e=>{var t=Array,r=Math.abs,n=Math.pow,a=Math.floor,i=Math.log,o=Math.LN2;e.exports={pack:function(e,s,c){var u,l,h,f=t(c),d=8*c-s-1,p=(1<<d)-1,g=p>>1,v=23===s?n(2,-24)-n(2,-77):0,m=e<0||0===e&&1/e<0?1:0,y=0;for((e=r(e))!=e||e===1/0?(l=e!=e?1:0,u=p):(u=a(i(e)/o),e*(h=n(2,-u))<1&&(u--,h*=2),(e+=u+g>=1?v/h:v*n(2,1-g))*h>=2&&(u++,h/=2),u+g>=p?(l=0,u=p):u+g>=1?(l=(e*h-1)*n(2,s),u+=g):(l=e*n(2,g-1)*n(2,s),u=0));s>=8;)f[y++]=255&l,l/=256,s-=8;for(u=u<<s|l,d+=s;d>0;)f[y++]=255&u,u/=256,d-=8;return f[--y]|=128*m,f},unpack:function(e,t){var r,a=e.length,i=8*a-t-1,o=(1<<i)-1,s=o>>1,c=i-7,u=a-1,l=e[u--],h=127&l;for(l>>=7;c>0;)h=256*h+e[u--],c-=8;for(r=h&(1<<-c)-1,h>>=-c,c+=t;c>0;)r=256*r+e[u--],c-=8;if(0===h)h=1-s;else{if(h===o)return r?NaN:l?-1/0:1/0;r+=n(2,t),h-=s}return(l?-1:1)*r*n(2,h-t)}}},3415:(e,t,r)=>{var n=r(5207),a=r(5392),i=r(5067),o=Object,s=n("".split);e.exports=a((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):o(e)}:o},6673:(e,t,r)=>{var n=r(5547),a=r(2922),i=r(1);e.exports=function(e,t,r){var o,s;return i&&n(o=t.constructor)&&o!==r&&a(s=o.prototype)&&s!==r.prototype&&i(e,s),e}},8833:(e,t,r)=>{var n=r(5207),a=r(5547),i=r(8866),o=n(Function.toString);a(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},1068:(e,t,r)=>{var n=r(2922),a=r(9238);e.exports=function(e,t){n(t)&&"cause"in t&&a(e,"cause",t.cause)}},6073:(e,t,r)=>{var n=r(3937),a=r(5207),i=r(6710),o=r(2922),s=r(3531),c=r(2030).f,u=r(3817),l=r(2932),h=r(2178),f=r(1188),d=r(4958),p=!1,g=f("meta"),v=0,m=function(e){c(e,g,{value:{objectID:"O"+v++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},p=!0;var e=u.f,t=a([].splice),r={};r[g]=1,e(r).length&&(u.f=function(r){for(var n=e(r),a=0,i=n.length;a<i;a++)if(n[a]===g){t(n,a,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,g)){if(!h(e))return"F";if(!t)return"E";m(e)}return e[g].objectID},getWeakData:function(e,t){if(!s(e,g)){if(!h(e))return!0;if(!t)return!1;m(e)}return e[g].weakData},onFreeze:function(e){return d&&p&&h(e)&&!s(e,g)&&m(e),e}};i[g]=!0},5972:(e,t,r)=>{var n,a,i,o=r(1337),s=r(5628),c=r(2922),u=r(9238),l=r(3531),h=r(8866),f=r(2992),d=r(6710),p="Object already initialized",g=s.TypeError,v=s.WeakMap;if(o||h.state){var m=h.state||(h.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,n=function(e,t){if(m.has(e))throw new g(p);return t.facade=e,m.set(e,t),t},a=function(e){return m.get(e)||{}},i=function(e){return m.has(e)}}else{var y=f("state");d[y]=!0,n=function(e,t){if(l(e,y))throw new g(p);return t.facade=e,u(e,y,t),t},a=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:n,get:a,has:i,enforce:function(e){return i(e)?a(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=a(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},5525:(e,t,r)=>{var n=r(5553),a=r(1463),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||o[i]===e)}},6308:(e,t,r)=>{var n=r(5067);e.exports=Array.isArray||function(e){return"Array"===n(e)}},3669:(e,t,r)=>{var n=r(1331);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},5547:e=>{var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},5713:(e,t,r)=>{var n=r(5207),a=r(5392),i=r(5547),o=r(1331),s=r(6341),c=r(8833),u=function(){},l=[],h=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),p=!f.test(u),g=function(e){if(!i(e))return!1;try{return h(u,l,e),!0}catch(e){return!1}},v=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(f,c(e))}catch(e){return!0}};v.sham=!0,e.exports=!h||a((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?v:g},7317:(e,t,r)=>{var n=r(3531);e.exports=function(e){return void 0!==e&&(n(e,"value")||n(e,"writable"))}},5416:(e,t,r)=>{var n=r(5392),a=r(5547),i=/#|\.prototype\./,o=function(e,t){var r=c[s(e)];return r===l||r!==u&&(a(t)?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},3847:(e,t,r)=>{var n=r(2922),a=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&a(e)===e}},7930:e=>{e.exports=function(e){return null==e}},2922:(e,t,r)=>{var n=r(5547);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},9913:(e,t,r)=>{var n=r(2922);e.exports=function(e){return n(e)||null===e}},5988:e=>{e.exports=!1},5380:(e,t,r)=>{var n=r(2922),a=r(5067),i=r(5553)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===a(e))}},6610:(e,t,r)=>{var n=r(6341),a=r(5547),i=r(5692),o=r(8675),s=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return a(t)&&i(t.prototype,s(e))}},1783:(e,t,r)=>{var n=r(6913),a=r(5304),i=r(4738),o=r(3454),s=r(5525),c=r(1024),u=r(5692),l=r(9392),h=r(9755),f=r(8170),d=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,r){var v,m,y,b,w,k,x,S=r&&r.that,A=!(!r||!r.AS_ENTRIES),C=!(!r||!r.IS_RECORD),O=!(!r||!r.IS_ITERATOR),F=!(!r||!r.INTERRUPTED),I=n(t,S),T=function(e){return v&&f(v,"normal",e),new p(!0,e)},M=function(e){return A?(i(e),F?I(e[0],e[1],T):I(e[0],e[1])):F?I(e,T):I(e)};if(C)v=e.iterator;else if(O)v=e;else{if(!(m=h(e)))throw new d(o(e)+" is not iterable");if(s(m)){for(y=0,b=c(e);b>y;y++)if((w=M(e[y]))&&u(g,w))return w;return new p(!1)}v=l(e,m)}for(k=C?e.next:v.next;!(x=a(k,v)).done;){try{w=M(x.value)}catch(e){f(v,"throw",e)}if("object"==typeof w&&w&&u(g,w))return w}return new p(!1)}},8170:(e,t,r)=>{var n=r(5304),a=r(4738),i=r(2698);e.exports=function(e,t,r){var o,s;a(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw r;if(s)throw o;return a(o),r}},4943:(e,t,r)=>{var n=r(9479).IteratorPrototype,a=r(5572),i=r(7999),o=r(869),s=r(1463),c=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=a(n,{next:i(+!u,r)}),o(e,l,!1,!0),s[l]=c,e}},5341:(e,t,r)=>{var n=r(3937),a=r(5304),i=r(5988),o=r(4930),s=r(5547),c=r(4943),u=r(5401),l=r(1),h=r(869),f=r(9238),d=r(3300),p=r(5553),g=r(1463),v=r(9479),m=o.PROPER,y=o.CONFIGURABLE,b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,k=p("iterator"),x="keys",S="values",A="entries",C=function(){return this};e.exports=function(e,t,r,o,p,v,O){c(r,t,o);var F,I,T,M=function(e){if(e===p&&D)return D;if(!w&&e&&e in R)return R[e];switch(e){case x:case S:case A:return function(){return new r(this,e)}}return function(){return new r(this)}},E=t+" Iterator",P=!1,R=e.prototype,N=R[k]||R["@@iterator"]||p&&R[p],D=!w&&N||M(p),B="Array"===t&&R.entries||N;if(B&&(F=u(B.call(new e)))!==Object.prototype&&F.next&&(i||u(F)===b||(l?l(F,b):s(F[k])||d(F,k,C)),h(F,E,!0,!0),i&&(g[E]=C)),m&&p===S&&N&&N.name!==S&&(!i&&y?f(R,"name",S):(P=!0,D=function(){return a(N,this)})),p)if(I={values:M(S),keys:v?D:M(x),entries:M(A)},O)for(T in I)(w||P||!(T in R))&&d(R,T,I[T]);else n({target:t,proto:!0,forced:w||P},I);return i&&!O||R[k]===D||d(R,k,D,{name:p}),g[t]=D,I}},9479:(e,t,r)=>{var n,a,i,o=r(5392),s=r(5547),c=r(2922),u=r(5572),l=r(5401),h=r(3300),f=r(5553),d=r(5988),p=f("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(a=l(l(i)))!==Object.prototype&&(n=a):g=!0),!c(n)||o((function(){var e={};return n[p].call(e)!==e}))?n={}:d&&(n=u(n)),s(n[p])||h(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},1463:e=>{e.exports={}},1024:(e,t,r)=>{var n=r(7450);e.exports=function(e){return n(e.length)}},6543:(e,t,r)=>{var n=r(5207),a=r(5392),i=r(5547),o=r(3531),s=r(1724),c=r(4930).CONFIGURABLE,u=r(8833),l=r(5972),h=l.enforce,f=l.get,d=String,p=Object.defineProperty,g=n("".slice),v=n("".replace),m=n([].join),y=s&&!a((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===g(d(t),0,7)&&(t="["+v(d(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&o(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=h(e);return o(n,"source")||(n.source=m(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&f(this).source||u(this)}),"toString")},8849:(e,t,r)=>{var n=r(594),a=Math.abs,i=2220446049250313e-31,o=1/i;e.exports=function(e,t,r,s){var c=+e,u=a(c),l=n(c);if(u<s)return l*function(e){return e+o-o}(u/s/t)*s*t;var h=(1+t/i)*u,f=h-(h-u);return f>r||f!=f?l*(1/0):l*f}},4029:(e,t,r)=>{var n=r(8849);e.exports=Math.fround||function(e){return n(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},594:e=>{e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},5779:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},2012:(e,t,r)=>{var n,a,i,o,s,c=r(5628),u=r(7286),l=r(6913),h=r(5902).set,f=r(4947),d=r(7056),p=r(2570),g=r(7264),v=r(6638),m=c.MutationObserver||c.WebKitMutationObserver,y=c.document,b=c.process,w=c.Promise,k=u("queueMicrotask");if(!k){var x=new f,S=function(){var e,t;for(v&&(e=b.domain)&&e.exit();t=x.get();)try{t()}catch(e){throw x.head&&n(),e}e&&e.enter()};d||v||g||!m||!y?!p&&w&&w.resolve?((o=w.resolve(void 0)).constructor=w,s=l(o.then,o),n=function(){s(S)}):v?n=function(){b.nextTick(S)}:(h=l(h,c),n=function(){h(S)}):(a=!0,i=y.createTextNode(""),new m(S).observe(i,{characterData:!0}),n=function(){i.data=a=!a}),k=function(e){x.head||n(),x.add(e)}}e.exports=k},1145:(e,t,r)=>{var n=r(607),a=TypeError,i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw new a("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},7797:(e,t,r)=>{var n=r(9338);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},5066:(e,t,r)=>{var n=r(5380),a=TypeError;e.exports=function(e){if(n(e))throw new a("The method doesn't accept regular expressions");return e}},9684:(e,t,r)=>{var n=r(5628),a=r(5392),i=r(5207),o=r(9338),s=r(4922).trim,c=r(2979),u=i("".charAt),l=n.parseFloat,h=n.Symbol,f=h&&h.iterator,d=1/l(c+"-0")!=-1/0||f&&!a((function(){l(Object(f))}));e.exports=d?function(e){var t=s(o(e)),r=l(t);return 0===r&&"-"===u(t,0)?-0:r}:l},4366:(e,t,r)=>{var n=r(5628),a=r(5392),i=r(5207),o=r(9338),s=r(4922).trim,c=r(2979),u=n.parseInt,l=n.Symbol,h=l&&l.iterator,f=/^[+-]?0x/i,d=i(f.exec),p=8!==u(c+"08")||22!==u(c+"0x16")||h&&!a((function(){u(Object(h))}));e.exports=p?function(e,t){var r=s(o(e));return u(r,t>>>0||(d(f,r)?16:10))}:u},4773:(e,t,r)=>{var n=r(1724),a=r(5207),i=r(5304),o=r(5392),s=r(5265),c=r(68),u=r(5085),l=r(4874),h=r(3415),f=Object.assign,d=Object.defineProperty,p=a([].concat);e.exports=!f||o((function(){if(n&&1!==f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),a="abcdefghijklmnopqrst";return e[r]=7,a.split("").forEach((function(e){t[e]=e})),7!==f({},e)[r]||s(f({},t)).join("")!==a}))?function(e,t){for(var r=l(e),a=arguments.length,o=1,f=c.f,d=u.f;a>o;)for(var g,v=h(arguments[o++]),m=f?p(s(v),f(v)):s(v),y=m.length,b=0;y>b;)g=m[b++],n&&!i(d,v,g)||(r[g]=v[g]);return r}:f},5572:(e,t,r)=>{var n,a=r(4738),i=r(3742),o=r(1989),s=r(6710),c=r(5913),u=r(7694),l=r(2992),h="prototype",f="script",d=l("IE_PROTO"),p=function(){},g=function(e){return"<"+f+">"+e+"</"+f+">"},v=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;m="undefined"!=typeof document?document.domain&&n?v(n):(t=u("iframe"),r="java"+f+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):v(n);for(var a=o.length;a--;)delete m[h][o[a]];return m()};s[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[h]=a(e),r=new p,p[h]=null,r[d]=e):r=m(),void 0===t?r:i.f(r,t)}},3742:(e,t,r)=>{var n=r(1724),a=r(1089),i=r(2030),o=r(4738),s=r(3238),c=r(5265);t.f=n&&!a?Object.defineProperties:function(e,t){o(e);for(var r,n=s(t),a=c(t),u=a.length,l=0;u>l;)i.f(e,r=a[l++],n[r]);return e}},2030:(e,t,r)=>{var n=r(1724),a=r(7199),i=r(1089),o=r(4738),s=r(3561),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";t.f=n?i?function(e,t,r){if(o(e),t=s(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=l(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:h in r?r[h]:n[h],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=s(t),o(r),a)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},9070:(e,t,r)=>{var n=r(1724),a=r(5304),i=r(5085),o=r(7999),s=r(3238),c=r(3561),u=r(3531),l=r(7199),h=Object.getOwnPropertyDescriptor;t.f=n?h:function(e,t){if(e=s(e),t=c(t),l)try{return h(e,t)}catch(e){}if(u(e,t))return o(!a(i.f,e,t),e[t])}},2932:(e,t,r)=>{var n=r(5067),a=r(3238),i=r(3817).f,o=r(4997),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"===n(e)?function(e){try{return i(e)}catch(e){return o(s)}}(e):i(a(e))}},3817:(e,t,r)=>{var n=r(9864),a=r(1989).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},68:(e,t)=>{t.f=Object.getOwnPropertySymbols},5401:(e,t,r)=>{var n=r(3531),a=r(5547),i=r(4874),o=r(2992),s=r(7472),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return a(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},2178:(e,t,r)=>{var n=r(5392),a=r(2922),i=r(5067),o=r(9795),s=Object.isExtensible,c=n((function(){s(1)}));e.exports=c||o?function(e){return!!a(e)&&(!o||"ArrayBuffer"!==i(e))&&(!s||s(e))}:s},5692:(e,t,r)=>{var n=r(5207);e.exports=n({}.isPrototypeOf)},9864:(e,t,r)=>{var n=r(5207),a=r(3531),i=r(3238),o=r(3458).indexOf,s=r(6710),c=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!a(s,r)&&a(n,r)&&c(l,r);for(;t.length>u;)a(n,r=t[u++])&&(~o(l,r)||c(l,r));return l}},5265:(e,t,r)=>{var n=r(9864),a=r(1989);e.exports=Object.keys||function(e){return n(e,a)}},5085:(e,t)=>{var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,a=n&&!r.call({1:2},1);t.f=a?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},1:(e,t,r)=>{var n=r(5198),a=r(4738),i=r(8835);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return a(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},6917:(e,t,r)=>{var n=r(1724),a=r(5392),i=r(5207),o=r(5401),s=r(5265),c=r(3238),u=i(r(5085).f),l=i([].push),h=n&&a((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),f=function(e){return function(t){for(var r,a=c(t),i=s(a),f=h&&null===o(a),d=i.length,p=0,g=[];d>p;)r=i[p++],n&&!(f?r in a:u(a,r))||l(g,e?[r,a[r]]:a[r]);return g}};e.exports={entries:f(!0),values:f(!1)}},9732:(e,t,r)=>{var n=r(7804),a=r(1331);e.exports=n?{}.toString:function(){return"[object "+a(this)+"]"}},3085:(e,t,r)=>{var n=r(5304),a=r(5547),i=r(2922),o=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&a(r=e.toString)&&!i(s=n(r,e)))return s;if(a(r=e.valueOf)&&!i(s=n(r,e)))return s;if("string"!==t&&a(r=e.toString)&&!i(s=n(r,e)))return s;throw new o("Can't convert object to primitive value")}},66:(e,t,r)=>{var n=r(6341),a=r(5207),i=r(3817),o=r(68),s=r(4738),c=a([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=o.f;return r?c(t,r(e)):t}},1800:(e,t,r)=>{var n=r(5628);e.exports=n},4938:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},9041:(e,t,r)=>{var n=r(5628),a=r(1911),i=r(5547),o=r(5416),s=r(8833),c=r(5553),u=r(5009),l=r(4378),h=r(5988),f=r(6262),d=a&&a.prototype,p=c("species"),g=!1,v=i(n.PromiseRejectionEvent),m=o("Promise",(function(){var e=s(a),t=e!==String(a);if(!t&&66===f)return!0;if(h&&(!d.catch||!d.finally))return!0;if(!f||f<51||!/native code/.test(e)){var r=new a((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(g=r.then((function(){}))instanceof n))return!0}return!t&&(u||l)&&!v}));e.exports={CONSTRUCTOR:m,REJECTION_EVENT:v,SUBCLASSING:g}},1911:(e,t,r)=>{var n=r(5628);e.exports=n.Promise},5894:(e,t,r)=>{var n=r(4738),a=r(2922),i=r(1145);e.exports=function(e,t){if(n(e),a(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},2034:(e,t,r)=>{var n=r(1911),a=r(7112),i=r(9041).CONSTRUCTOR;e.exports=i||!a((function(e){n.all(e).then(void 0,(function(){}))}))},7330:(e,t,r)=>{var n=r(2030).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},4947:e=>{var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},2493:(e,t,r)=>{var n=r(5304),a=r(4738),i=r(5547),o=r(5067),s=r(4493),c=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var u=n(r,e,t);return null!==u&&a(u),u}if("RegExp"===o(e))return n(s,e,t);throw new c("RegExp#exec called on incompatible receiver")}},4493:(e,t,r)=>{var n,a,i=r(5304),o=r(5207),s=r(9338),c=r(5337),u=r(2053),l=r(7995),h=r(5572),f=r(5972).get,d=r(9383),p=r(3275),g=l("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,m=v,y=o("".charAt),b=o("".indexOf),w=o("".replace),k=o("".slice),x=(a=/b*/g,i(v,n=/a/,"a"),i(v,a,"a"),0!==n.lastIndex||0!==a.lastIndex),S=u.BROKEN_CARET,A=void 0!==/()??/.exec("")[1];(x||A||S||d||p)&&(m=function(e){var t,r,n,a,o,u,l,d=this,p=f(d),C=s(e),O=p.raw;if(O)return O.lastIndex=d.lastIndex,t=i(m,O,C),d.lastIndex=O.lastIndex,t;var F=p.groups,I=S&&d.sticky,T=i(c,d),M=d.source,E=0,P=C;if(I&&(T=w(T,"y",""),-1===b(T,"g")&&(T+="g"),P=k(C,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==y(C,d.lastIndex-1))&&(M="(?: "+M+")",P=" "+P,E++),r=new RegExp("^(?:"+M+")",T)),A&&(r=new RegExp("^"+M+"$(?!\\s)",T)),x&&(n=d.lastIndex),a=i(v,I?r:d,P),I?a?(a.input=k(a.input,E),a[0]=k(a[0],E),a.index=d.lastIndex,d.lastIndex+=a[0].length):d.lastIndex=0:x&&a&&(d.lastIndex=d.global?a.index+a[0].length:n),A&&a&&a.length>1&&i(g,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&F)for(a.groups=u=h(null),o=0;o<F.length;o++)u[(l=F[o])[0]]=a[l[1]];return a}),e.exports=m},5337:(e,t,r)=>{var n=r(4738);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},2165:(e,t,r)=>{var n=r(5304),a=r(3531),i=r(5692),o=r(5337),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||a(e,"flags")||!i(s,e)?t:n(o,e)}},2053:(e,t,r)=>{var n=r(5392),a=r(5628).RegExp,i=n((function(){var e=a("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),o=i||n((function(){return!a("a","y").sticky})),s=i||n((function(){var e=a("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:o,UNSUPPORTED_Y:i}},9383:(e,t,r)=>{var n=r(5392),a=r(5628).RegExp;e.exports=n((function(){var e=a(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},3275:(e,t,r)=>{var n=r(5392),a=r(5628).RegExp;e.exports=n((function(){var e=a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4202:(e,t,r)=>{var n=r(7930),a=TypeError;e.exports=function(e){if(n(e))throw new a("Can't call method on "+e);return e}},7286:(e,t,r)=>{var n=r(5628),a=r(1724),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!a)return n[e];var t=i(n,e);return t&&t.value}},5997:(e,t,r)=>{var n=r(6341),a=r(7416),i=r(5553),o=r(1724),s=i("species");e.exports=function(e){var t=n(e);o&&t&&!t[s]&&a(t,s,{configurable:!0,get:function(){return this}})}},869:(e,t,r)=>{var n=r(2030).f,a=r(3531),i=r(5553)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!a(e,i)&&n(e,i,{configurable:!0,value:t})}},2992:(e,t,r)=>{var n=r(7995),a=r(1188),i=n("keys");e.exports=function(e){return i[e]||(i[e]=a(e))}},8866:(e,t,r)=>{var n=r(5628),a=r(4143),i="__core-js_shared__",o=n[i]||a(i,{});e.exports=o},7995:(e,t,r)=>{var n=r(5988),a=r(8866);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6623:(e,t,r)=>{var n=r(4738),a=r(7497),i=r(7930),o=r(5553)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||i(r=n(s)[o])?t:a(r)}},4942:(e,t,r)=>{var n=r(5207),a=r(2501),i=r(9338),o=r(4202),s=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,h=i(o(t)),f=a(r),d=h.length;return f<0||f>=d?e?"":void 0:(n=c(h,f))<55296||n>56319||f+1===d||(l=c(h,f+1))<56320||l>57343?e?s(h,f):n:e?u(h,f,f+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6754:(e,t,r)=>{var n=r(8270);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},9414:(e,t,r)=>{var n=r(5207),a=r(7450),i=r(9338),o=r(1069),s=r(4202),c=n(o),u=n("".slice),l=Math.ceil,h=function(e){return function(t,r,n){var o,h,f=i(s(t)),d=a(r),p=f.length,g=void 0===n?" ":i(n);return d<=p||""===g?f:((h=c(g,l((o=d-p)/g.length))).length>o&&(h=u(h,0,o)),e?f+h:h+f)}};e.exports={start:h(!1),end:h(!0)}},8077:(e,t,r)=>{var n=r(5207),a=2147483647,i=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",c=RangeError,u=n(o.exec),l=Math.floor,h=String.fromCharCode,f=n("".charCodeAt),d=n([].join),p=n([].push),g=n("".replace),v=n("".split),m=n("".toLowerCase),y=function(e){return e+22+75*(e<26)},b=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=f(e,r++);if(a>=55296&&a<=56319&&r<n){var i=f(e,r++);56320==(64512&i)?p(t,((1023&a)<<10)+(1023&i)+65536):(p(t,a),r--)}else p(t,a)}return t}(e);var r,n,i=e.length,o=128,u=0,g=72;for(r=0;r<e.length;r++)(n=e[r])<128&&p(t,h(n));var v=t.length,m=v;for(v&&p(t,"-");m<i;){var w=a;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<w&&(w=n);var k=m+1;if(w-o>l((a-u)/k))throw new c(s);for(u+=(w-o)*k,o=w,r=0;r<e.length;r++){if((n=e[r])<o&&++u>a)throw new c(s);if(n===o){for(var x=u,S=36;;){var A=S<=g?1:S>=g+26?26:S-g;if(x<A)break;var C=x-A,O=36-A;p(t,h(y(A+C%O))),x=l(C/O),S+=36}p(t,h(y(x))),g=b(u,k,m===v),u=0,m++}}u++,o++}return d(t,"")};e.exports=function(e){var t,r,n=[],a=v(g(m(e),o,"."),".");for(t=0;t<a.length;t++)r=a[t],p(n,u(i,r)?"xn--"+w(r):r);return d(n,".")}},1069:(e,t,r)=>{var n=r(2501),a=r(9338),i=r(4202),o=RangeError;e.exports=function(e){var t=a(i(this)),r="",s=n(e);if(s<0||s===1/0)throw new o("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(r+=t);return r}},5215:(e,t,r)=>{var n=r(4930).PROPER,a=r(5392),i=r(2979);e.exports=function(e){return a((function(){return!!i[e]()||"
"!=="
"[e]()||n&&i[e].name!==e}))}},4922:(e,t,r)=>{var n=r(5207),a=r(4202),i=r(9338),o=r(2979),s=n("".replace),c=RegExp("^["+o+"]+"),u=RegExp("(^|[^"+o+"])["+o+"]+$"),l=function(e){return function(t){var r=i(a(t));return 1&e&&(r=s(r,c,"")),2&e&&(r=s(r,u,"$1")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},2083:(e,t,r)=>{var n=r(6262),a=r(5392),i=r(5628).String;e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},499:(e,t,r)=>{var n=r(5304),a=r(6341),i=r(5553),o=r(3300);e.exports=function(){var e=a("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&o(t,s,(function(e){return n(r,this)}),{arity:1})}},4429:(e,t,r)=>{var n=r(2083);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},5902:(e,t,r)=>{var n,a,i,o,s=r(5628),c=r(9500),u=r(6913),l=r(5547),h=r(3531),f=r(5392),d=r(5913),p=r(4997),g=r(7694),v=r(8769),m=r(7056),y=r(6638),b=s.setImmediate,w=s.clearImmediate,k=s.process,x=s.Dispatch,S=s.Function,A=s.MessageChannel,C=s.String,O=0,F={},I="onreadystatechange";f((function(){n=s.location}));var T=function(e){if(h(F,e)){var t=F[e];delete F[e],t()}},M=function(e){return function(){T(e)}},E=function(e){T(e.data)},P=function(e){s.postMessage(C(e),n.protocol+"//"+n.host)};b&&w||(b=function(e){v(arguments.length,1);var t=l(e)?e:S(e),r=p(arguments,1);return F[++O]=function(){c(t,void 0,r)},a(O),O},w=function(e){delete F[e]},y?a=function(e){k.nextTick(M(e))}:x&&x.now?a=function(e){x.now(M(e))}:A&&!m?(o=(i=new A).port2,i.port1.onmessage=E,a=u(o.postMessage,o)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!f(P)?(a=P,s.addEventListener("message",E,!1)):a=I in g("script")?function(e){d.appendChild(g("script"))[I]=function(){d.removeChild(this),T(e)}}:function(e){setTimeout(M(e),0)}),e.exports={set:b,clear:w}},8459:(e,t,r)=>{var n=r(5207);e.exports=n(1..valueOf)},645:(e,t,r)=>{var n=r(2501),a=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?a(r+t,0):i(r,t)}},3810:(e,t,r)=>{var n=r(1086),a=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new a("Can't convert number to bigint");return BigInt(t)}},5927:(e,t,r)=>{var n=r(2501),a=r(7450),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=a(t);if(t!==r)throw new i("Wrong length or index");return r}},3238:(e,t,r)=>{var n=r(3415),a=r(4202);e.exports=function(e){return n(a(e))}},2501:(e,t,r)=>{var n=r(5779);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},7450:(e,t,r)=>{var n=r(2501),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},4874:(e,t,r)=>{var n=r(4202),a=Object;e.exports=function(e){return a(n(e))}},9370:(e,t,r)=>{var n=r(2558),a=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new a("Wrong offset");return r}},2558:(e,t,r)=>{var n=r(2501),a=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new a("The argument can't be less than 0");return t}},1086:(e,t,r)=>{var n=r(5304),a=r(2922),i=r(6610),o=r(2698),s=r(3085),c=r(5553),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!a(e)||i(e))return e;var r,c=o(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!a(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},3561:(e,t,r)=>{var n=r(1086),a=r(6610);e.exports=function(e){var t=n(e,"string");return a(t)?t:t+""}},7804:(e,t,r)=>{var n={};n[r(5553)("toStringTag")]="z",e.exports="[object z]"===String(n)},9338:(e,t,r)=>{var n=r(1331),a=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return a(e)}},7732:e=>{var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},5254:(e,t,r)=>{var n=r(6638);e.exports=function(e){try{if(n)return Function('return require("'+e+'")')()}catch(e){}}},3454:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},3116:(e,t,r)=>{var n=r(3937),a=r(5628),i=r(5304),o=r(1724),s=r(1503),c=r(5192),u=r(1639),l=r(5312),h=r(7999),f=r(9238),d=r(3847),p=r(7450),g=r(5927),v=r(9370),m=r(7732),y=r(3561),b=r(3531),w=r(1331),k=r(2922),x=r(6610),S=r(5572),A=r(5692),C=r(1),O=r(3817).f,F=r(8201),I=r(6682).forEach,T=r(5997),M=r(7416),E=r(2030),P=r(9070),R=r(9353),N=r(5972),D=r(6673),B=N.get,L=N.set,_=N.enforce,j=E.f,U=P.f,$=a.RangeError,X=u.ArrayBuffer,H=X.prototype,q=u.DataView,z=c.NATIVE_ARRAY_BUFFER_VIEWS,G=c.TYPED_ARRAY_TAG,W=c.TypedArray,V=c.TypedArrayPrototype,K=c.isTypedArray,Y="BYTES_PER_ELEMENT",J="Wrong length",Z=function(e,t){M(e,t,{configurable:!0,get:function(){return B(this)[t]}})},Q=function(e){var t;return A(H,e)||"ArrayBuffer"===(t=w(e))||"SharedArrayBuffer"===t},ee=function(e,t){return K(e)&&!x(t)&&t in e&&d(+t)&&t>=0},te=function(e,t){return t=y(t),ee(e,t)?h(2,e[t]):U(e,t)},re=function(e,t,r){return t=y(t),!(ee(e,t)&&k(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?j(e,t,r):(e[t]=r.value,e)};o?(z||(P.f=te,E.f=re,Z(V,"buffer"),Z(V,"byteOffset"),Z(V,"byteLength"),Z(V,"length")),n({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var o=e.match(/\d+/)[0]/8,c=e+(r?"Clamped":"")+"Array",u="get"+e,h="set"+e,d=a[c],y=d,b=y&&y.prototype,w={},x=function(e,t){j(e,t,{get:function(){return function(e,t){var r=B(e);return r.view[u](t*o+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var a=B(e);a.view[h](t*o+a.byteOffset,r?m(n):n,!0)}(this,t,e)},enumerable:!0})};z?s&&(y=t((function(e,t,r,n){return l(e,b),D(k(t)?Q(t)?void 0!==n?new d(t,v(r,o),n):void 0!==r?new d(t,v(r,o)):new d(t):K(t)?R(y,t):i(F,y,t):new d(g(t)),e,y)})),C&&C(y,W),I(O(d),(function(e){e in y||f(y,e,d[e])})),y.prototype=b):(y=t((function(e,t,r,n){l(e,b);var a,s,c,u=0,h=0;if(k(t)){if(!Q(t))return K(t)?R(y,t):i(F,y,t);a=t,h=v(r,o);var f=t.byteLength;if(void 0===n){if(f%o)throw new $(J);if((s=f-h)<0)throw new $(J)}else if((s=p(n)*o)+h>f)throw new $(J);c=s/o}else c=g(t),a=new X(s=c*o);for(L(e,{buffer:a,byteOffset:h,byteLength:s,length:c,view:new q(a)});u<c;)x(e,u++)})),C&&C(y,W),b=y.prototype=S(V)),b.constructor!==y&&f(b,"constructor",y),_(b).TypedArrayConstructor=y,G&&f(b,G,c);var A=y!==d;w[c]=y,n({global:!0,constructor:!0,forced:A,sham:!z},w),Y in y||f(y,Y,o),Y in b||f(b,Y,o),T(c)}):e.exports=function(){}},1503:(e,t,r)=>{var n=r(5628),a=r(5392),i=r(7112),o=r(5192).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,c=n.Int8Array;e.exports=!o||!a((function(){c(1)}))||!a((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||a((function(){return 1!==new c(new s(2),1,void 0).length}))},9910:(e,t,r)=>{var n=r(9353),a=r(7709);e.exports=function(e,t){return n(a(e),t)}},8201:(e,t,r)=>{var n=r(6913),a=r(5304),i=r(7497),o=r(4874),s=r(1024),c=r(9392),u=r(9755),l=r(5525),h=r(3669),f=r(5192).aTypedArrayConstructor,d=r(3810);e.exports=function(e){var t,r,p,g,v,m,y,b,w=i(this),k=o(e),x=arguments.length,S=x>1?arguments[1]:void 0,A=void 0!==S,C=u(k);if(C&&!l(C))for(b=(y=c(k,C)).next,k=[];!(m=a(b,y)).done;)k.push(m.value);for(A&&x>2&&(S=n(S,arguments[2])),r=s(k),p=new(f(w))(r),g=h(p),t=0;r>t;t++)v=A?S(k[t],t):k[t],p[t]=g?d(v):+v;return p}},7709:(e,t,r)=>{var n=r(5192),a=r(6623),i=n.aTypedArrayConstructor,o=n.getTypedArrayConstructor;e.exports=function(e){return i(a(e,o(e)))}},1188:(e,t,r)=>{var n=r(5207),a=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++a+i,36)}},680:(e,t,r)=>{var n=r(5392),a=r(5553),i=r(1724),o=r(5988),s=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),o&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(o||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8675:(e,t,r)=>{var n=r(2083);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1089:(e,t,r)=>{var n=r(1724),a=r(5392);e.exports=n&&a((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8769:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},1337:(e,t,r)=>{var n=r(5628),a=r(5547),i=n.WeakMap;e.exports=a(i)&&/native code/.test(String(i))},1641:(e,t,r)=>{var n=r(1800),a=r(3531),i=r(1884),o=r(2030).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});a(t,e)||o(t,e,{value:i.f(e)})}},1884:(e,t,r)=>{var n=r(5553);t.f=n},5553:(e,t,r)=>{var n=r(5628),a=r(7995),i=r(3531),o=r(1188),s=r(2083),c=r(8675),u=n.Symbol,l=a("wks"),h=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=s&&i(u,e)?u[e]:h("Symbol."+e)),l[e]}},2979:e=>{e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},9033:(e,t,r)=>{var n=r(6341),a=r(3531),i=r(9238),o=r(5692),s=r(1),c=r(469),u=r(7330),l=r(6673),h=r(7797),f=r(1068),d=r(9518),p=r(1724),g=r(5988);e.exports=function(e,t,r,v){var m="stackTraceLimit",y=v?2:1,b=e.split("."),w=b[b.length-1],k=n.apply(null,b);if(k){var x=k.prototype;if(!g&&a(x,"cause")&&delete x.cause,!r)return k;var S=n("Error"),A=t((function(e,t){var r=h(v?t:e,void 0),n=v?new k(e):new k;return void 0!==r&&i(n,"message",r),d(n,A,n.stack,2),this&&o(x,this)&&l(n,this,A),arguments.length>y&&f(n,arguments[y]),n}));if(A.prototype=x,"Error"!==w?s?s(A,S):c(A,S,{name:!0}):p&&m in k&&(u(A,k,m),u(A,k,"prepareStackTrace")),c(A,k),!g)try{x.name!==w&&i(x,"name",w),x.constructor=A}catch(e){}return A}}},6963:(e,t,r)=>{var n=r(3937),a=r(5628),i=r(1639),o=r(5997),s="ArrayBuffer",c=i[s];n({global:!0,constructor:!0,forced:a[s]!==c},{ArrayBuffer:c}),o(s)},7154:(e,t,r)=>{var n=r(3937),a=r(8209),i=r(5392),o=r(1639),s=r(4738),c=r(645),u=r(7450),l=r(6623),h=o.ArrayBuffer,f=o.DataView,d=f.prototype,p=a(h.prototype.slice),g=a(d.getUint8),v=a(d.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new h(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(p&&void 0===t)return p(s(this),e);for(var r=s(this).byteLength,n=c(e,r),a=c(void 0===t?r:t,r),i=new(l(this,h))(u(a-n)),o=new f(this),d=new f(i),m=0;n<a;)v(d,m++,g(o,n++));return i}})},2258:(e,t,r)=>{var n=r(3937),a=r(4874),i=r(1024),o=r(2501),s=r(3689);n({target:"Array",proto:!0},{at:function(e){var t=a(this),r=i(t),n=o(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}}),s("at")},2101:(e,t,r)=>{var n=r(3937),a=r(5392),i=r(6308),o=r(2922),s=r(4874),c=r(1024),u=r(6665),l=r(8638),h=r(8730),f=r(5728),d=r(5553),p=r(6262),g=d("isConcatSpreadable"),v=p>=51||!a((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),m=function(e){if(!o(e))return!1;var t=e[g];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!v||!f("concat")},{concat:function(e){var t,r,n,a,i,o=s(this),f=h(o,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(m(i=-1===t?o:arguments[t]))for(a=c(i),u(d+a),r=0;r<a;r++,d++)r in i&&l(f,d,i[r]);else u(d+1),l(f,d++,i);return f.length=d,f}})},1382:(e,t,r)=>{var n=r(3937),a=r(52),i=r(3689);n({target:"Array",proto:!0},{copyWithin:a}),i("copyWithin")},3871:(e,t,r)=>{var n=r(3937),a=r(3039),i=r(3689);n({target:"Array",proto:!0},{fill:a}),i("fill")},39:(e,t,r)=>{var n=r(3937),a=r(6682).filter;n({target:"Array",proto:!0,forced:!r(5728)("filter")},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},973:(e,t,r)=>{var n=r(3937),a=r(6682).findIndex,i=r(3689),o="findIndex",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i(o)},8008:(e,t,r)=>{var n=r(3937),a=r(8648).findLastIndex,i=r(3689);n({target:"Array",proto:!0},{findLastIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findLastIndex")},4346:(e,t,r)=>{var n=r(3937),a=r(8648).findLast,i=r(3689);n({target:"Array",proto:!0},{findLast:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findLast")},8725:(e,t,r)=>{var n=r(3937),a=r(6682).find,i=r(3689),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i(o)},9278:(e,t,r)=>{var n=r(3937),a=r(8497),i=r(4874),o=r(1024),s=r(2501),c=r(8730);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),r=o(t),n=c(t,0);return n.length=a(n,t,t,r,0,void 0===e?1:s(e)),n}})},6891:(e,t,r)=>{var n=r(3937),a=r(1383);n({target:"Array",stat:!0,forced:!r(7112)((function(e){Array.from(e)}))},{from:a})},678:(e,t,r)=>{var n=r(3937),a=r(3458).includes,i=r(5392),o=r(3689);n({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},3313:(e,t,r)=>{var n=r(3238),a=r(3689),i=r(1463),o=r(5972),s=r(2030).f,c=r(5341),u=r(9925),l=r(5988),h=r(1724),f="Array Iterator",d=o.set,p=o.getterFor(f);e.exports=c(Array,"Array",(function(e,t){d(this,{type:f,target:n(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)}),"values");var g=i.Arguments=i.Array;if(a("keys"),a("values"),a("entries"),!l&&h&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(e){}},6773:(e,t,r)=>{var n=r(3937),a=r(6682).map;n({target:"Array",proto:!0,forced:!r(5728)("map")},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},6484:(e,t,r)=>{var n=r(3937),a=r(4874),i=r(1024),o=r(5303),s=r(6665);n({target:"Array",proto:!0,arity:1,forced:r(5392)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=a(this),r=i(t),n=arguments.length;s(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return o(t,r),r}})},3371:(e,t,r)=>{var n=r(3937),a=r(2253).left,i=r(5668),o=r(6262);n({target:"Array",proto:!0,forced:!r(6638)&&o>79&&o<83||!i("reduce")},{reduce:function(e){var t=arguments.length;return a(this,e,t,t>1?arguments[1]:void 0)}})},1591:(e,t,r)=>{var n=r(3937),a=r(5207),i=r(6308),o=a([].reverse),s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),o(this)}})},9086:(e,t,r)=>{var n=r(3937),a=r(6308),i=r(5713),o=r(2922),s=r(645),c=r(1024),u=r(3238),l=r(8638),h=r(5553),f=r(5728),d=r(4997),p=f("slice"),g=h("species"),v=Array,m=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var r,n,h,f=u(this),p=c(f),y=s(e,p),b=s(void 0===t?p:t,p);if(a(f)&&(r=f.constructor,(i(r)&&(r===v||a(r.prototype))||o(r)&&null===(r=r[g]))&&(r=void 0),r===v||void 0===r))return d(f,y,b);for(n=new(void 0===r?v:r)(m(b-y,0)),h=0;y<b;y++,h++)y in f&&l(n,h,f[y]);return n.length=h,n}})},9253:(e,t,r)=>{var n=r(3937),a=r(5207),i=r(607),o=r(4874),s=r(1024),c=r(4167),u=r(9338),l=r(5392),h=r(9158),f=r(5668),d=r(6890),p=r(3326),g=r(6262),v=r(2122),m=[],y=a(m.sort),b=a(m.push),w=l((function(){m.sort(void 0)})),k=l((function(){m.sort(null)})),x=f("sort"),S=!l((function(){if(g)return g<70;if(!(d&&d>3)){if(p)return!0;if(v)return v<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:t+n,v:r})}for(m.sort((function(e,t){return t.v-e.v})),n=0;n<m.length;n++)t=m[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}}));n({target:"Array",proto:!0,forced:w||!k||!x||!S},{sort:function(e){void 0!==e&&i(e);var t=o(this);if(S)return void 0===e?y(t):y(t,e);var r,n,a=[],l=s(t);for(n=0;n<l;n++)n in t&&b(a,t[n]);for(h(a,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:u(t)>u(r)?1:-1}}(e)),r=s(a),n=0;n<r;)t[n]=a[n++];for(;n<l;)c(t,n++);return t}})},3192:(e,t,r)=>{var n=r(3937),a=r(4874),i=r(645),o=r(2501),s=r(1024),c=r(5303),u=r(6665),l=r(8730),h=r(8638),f=r(4167),d=r(5728)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var r,n,d,v,m,y,b=a(this),w=s(b),k=i(e,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-k):(r=x-2,n=g(p(o(t),0),w-k)),u(w+r-n),d=l(b,n),v=0;v<n;v++)(m=k+v)in b&&h(d,v,b[m]);if(d.length=n,r<n){for(v=k;v<w-n;v++)y=v+r,(m=v+n)in b?b[y]=b[m]:f(b,y);for(v=w;v>w-n+r;v--)f(b,v-1)}else if(r>n)for(v=w-n;v>k;v--)y=v+r-1,(m=v+n-1)in b?b[y]=b[m]:f(b,y);for(v=0;v<r;v++)b[v+k]=arguments[v+2];return c(b,w-n+r),d}})},2376:(e,t,r)=>{r(3689)("flat")},3103:(e,t,r)=>{var n=r(3937),a=r(4874),i=r(1024),o=r(5303),s=r(4167),c=r(6665);n({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=a(this),r=i(t),n=arguments.length;if(n){c(r+n);for(var u=r;u--;){var l=u+n;u in t?t[l]=t[u]:s(t,l)}for(var h=0;h<n;h++)t[h]=arguments[h]}return o(t,r+n)}})},8206:(e,t,r)=>{var n=r(3937),a=r(9677),i=r(3238),o=Array;n({target:"Array",proto:!0},{with:function(e,t){return a(i(this),o,e,t)}})},9814:(e,t,r)=>{var n=r(3531),a=r(3300),i=r(7245),o=r(5553)("toPrimitive"),s=Date.prototype;n(s,o)||a(s,o,i)},4891:(e,t,r)=>{var n=r(3937),a=r(5628),i=r(9500),o=r(9033),s="WebAssembly",c=a[s],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},h=function(e,t){if(c&&c[e]){var r={};r[e]=o(s+"."+e,t,u),n({target:s,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),h("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),h("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),h("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},4199:(e,t,r)=>{var n=r(3300),a=r(4602),i=Error.prototype;i.toString!==a&&n(i,"toString",a)},6568:(e,t,r)=>{var n=r(3937),a=r(5628);n({global:!0,forced:a.globalThis!==a},{globalThis:a})},3991:(e,t,r)=>{var n=r(3937),a=r(6341),i=r(9500),o=r(5304),s=r(5207),c=r(5392),u=r(5547),l=r(6610),h=r(4997),f=r(9142),d=r(2083),p=String,g=a("JSON","stringify"),v=s(/./.exec),m=s("".charAt),y=s("".charCodeAt),b=s("".replace),w=s(1..toString),k=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,A=!d||c((function(){var e=a("Symbol")("stringify detection");return"[null]"!==g([e])||"{}"!==g({a:e})||"{}"!==g(Object(e))})),C=c((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),O=function(e,t){var r=h(arguments),n=f(t);if(u(n)||void 0!==e&&!l(e))return r[1]=function(e,t){if(u(n)&&(t=o(n,this,p(e),t)),!l(t))return t},i(g,null,r)},F=function(e,t,r){var n=m(r,t-1),a=m(r,t+1);return v(x,e)&&!v(S,a)||v(S,e)&&!v(x,n)?"\\u"+w(y(e,0),16):e};g&&n({target:"JSON",stat:!0,arity:3,forced:A||C},{stringify:function(e,t,r){var n=h(arguments),a=i(A?O:g,null,n);return C&&"string"==typeof a?b(a,k,F):a}})},5328:(e,t,r)=>{var n=r(5628);r(869)(n.JSON,"JSON",!0)},7064:(e,t,r)=>{r(4866)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(1430))},2754:(e,t,r)=>{r(7064)},6399:(e,t,r)=>{var n=r(3937),a=Math.hypot,i=Math.abs,o=Math.sqrt;n({target:"Math",stat:!0,arity:2,forced:!!a&&a(1/0,NaN)!==1/0},{hypot:function(e,t){for(var r,n,a=0,s=0,c=arguments.length,u=0;s<c;)u<(r=i(arguments[s++]))?(a=a*(n=u/r)*n+1,u=r):a+=r>0?(n=r/u)*n:r;return u===1/0?1/0:u*o(a)}})},7680:(e,t,r)=>{r(3937)({target:"Math",stat:!0},{sign:r(594)})},333:(e,t,r)=>{r(869)(Math,"Math",!0)},6375:(e,t,r)=>{var n=r(3937),a=r(5988),i=r(1724),o=r(5628),s=r(1800),c=r(5207),u=r(5416),l=r(3531),h=r(6673),f=r(5692),d=r(6610),p=r(1086),g=r(5392),v=r(3817).f,m=r(9070).f,y=r(2030).f,b=r(8459),w=r(4922).trim,k="Number",x=o[k],S=s[k],A=x.prototype,C=o.TypeError,O=c("".slice),F=c("".charCodeAt),I=u(k,!x(" 0o1")||!x("0b1")||x("+0x1")),T=function(e){var t,r=arguments.length<1?0:x(function(e){var t=p(e,"number");return"bigint"==typeof t?t:function(e){var t,r,n,a,i,o,s,c,u=p(e,"number");if(d(u))throw new C("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=w(u),43===(t=F(u,0))||45===t){if(88===(r=F(u,2))||120===r)return NaN}else if(48===t){switch(F(u,1)){case 66:case 98:n=2,a=49;break;case 79:case 111:n=8,a=55;break;default:return+u}for(o=(i=O(u,2)).length,s=0;s<o;s++)if((c=F(i,s))<48||c>a)return NaN;return parseInt(i,n)}return+u}(t)}(e));return f(A,t=this)&&g((function(){b(t)}))?h(Object(r),this,T):r};T.prototype=A,I&&!a&&(A.constructor=T),n({global:!0,constructor:!0,wrap:!0,forced:I},{Number:T});var M=function(e,t){for(var r,n=i?v(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),a=0;n.length>a;a++)l(t,r=n[a])&&!l(e,r)&&y(e,r,m(t,r))};a&&S&&M(s[k],S),(I||a)&&M(s[k],x)},761:(e,t,r)=>{r(3937)({target:"Number",stat:!0},{isInteger:r(3847)})},3614:(e,t,r)=>{r(3937)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},5489:(e,t,r)=>{var n=r(3937),a=r(5207),i=r(2501),o=r(8459),s=r(1069),c=r(5392),u=RangeError,l=String,h=Math.floor,f=a(s),d=a("".slice),p=a(1..toFixed),g=function(e,t,r){return 0===t?r:t%2==1?g(e,t-1,r*e):g(e*e,t/2,r)},v=function(e,t,r){for(var n=-1,a=r;++n<6;)a+=t*e[n],e[n]=a%1e7,a=h(a/1e7)},m=function(e,t){for(var r=6,n=0;--r>=0;)n+=e[r],e[r]=h(n/t),n=n%t*1e7},y=function(e){for(var t=6,r="";--t>=0;)if(""!==r||0===t||0!==e[t]){var n=l(e[t]);r=""===r?n:r+f("0",7-n.length)+n}return r};n({target:"Number",proto:!0,forced:c((function(){return"0.000"!==p(8e-5,3)||"1"!==p(.9,0)||"1.25"!==p(1.255,2)||"1000000000000000128"!==p(0xde0b6b3a7640080,0)}))||!c((function(){p({})}))},{toFixed:function(e){var t,r,n,a,s=o(this),c=i(e),h=[0,0,0,0,0,0],p="",b="0";if(c<0||c>20)throw new u("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return l(s);if(s<0&&(p="-",s=-s),s>1e-21)if(r=(t=function(e){for(var t=0,r=e;r>=4096;)t+=12,r/=4096;for(;r>=2;)t+=1,r/=2;return t}(s*g(2,69,1))-69)<0?s*g(2,-t,1):s/g(2,t,1),r*=4503599627370496,(t=52-t)>0){for(v(h,0,r),n=c;n>=7;)v(h,1e7,0),n-=7;for(v(h,g(10,n,1),0),n=t-1;n>=23;)m(h,1<<23),n-=23;m(h,1<<n),v(h,1,1),m(h,2),b=y(h)}else v(h,0,r),v(h,1<<-t,0),b=y(h)+f("0",c);return c>0?p+((a=b.length)<=c?"0."+f("0",c-a)+b:d(b,0,a-c)+"."+d(b,a-c)):p+b}})},2859:(e,t,r)=>{var n=r(3937),a=r(4773);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},2170:(e,t,r)=>{var n=r(3937),a=r(6917).entries;n({target:"Object",stat:!0},{entries:function(e){return a(e)}})},389:(e,t,r)=>{var n=r(3937),a=r(4958),i=r(5392),o=r(2922),s=r(6073).onFreeze,c=Object.freeze;n({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!a},{freeze:function(e){return c&&o(e)?c(s(e)):e}})},662:(e,t,r)=>{var n=r(3937),a=r(5392),i=r(3238),o=r(9070).f,s=r(1724);n({target:"Object",stat:!0,forced:!s||a((function(){o(1)})),sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(i(e),t)}})},7081:(e,t,r)=>{var n=r(3937),a=r(5392),i=r(2932).f;n({target:"Object",stat:!0,forced:a((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},1344:(e,t,r)=>{var n=r(3937),a=r(2083),i=r(5392),o=r(68),s=r(4874);n({target:"Object",stat:!0,forced:!a||i((function(){o.f(1)}))},{getOwnPropertySymbols:function(e){var t=o.f;return t?t(s(e)):[]}})},3781:(e,t,r)=>{var n=r(3937),a=r(5392),i=r(4874),o=r(5401),s=r(7472);n({target:"Object",stat:!0,forced:a((function(){o(1)})),sham:!s},{getPrototypeOf:function(e){return o(i(e))}})},5900:(e,t,r)=>{r(3937)({target:"Object",stat:!0},{hasOwn:r(3531)})},2352:(e,t,r)=>{var n=r(3937),a=r(4874),i=r(5265);n({target:"Object",stat:!0,forced:r(5392)((function(){i(1)}))},{keys:function(e){return i(a(e))}})},7375:(e,t,r)=>{r(3937)({target:"Object",stat:!0},{setPrototypeOf:r(1)})},5849:(e,t,r)=>{var n=r(7804),a=r(3300),i=r(9732);n||a(Object.prototype,"toString",i,{unsafe:!0})},4411:(e,t,r)=>{var n=r(3937),a=r(6917).values;n({target:"Object",stat:!0},{values:function(e){return a(e)}})},6897:(e,t,r)=>{var n=r(3937),a=r(9684);n({global:!0,forced:parseFloat!==a},{parseFloat:a})},2361:(e,t,r)=>{var n=r(3937),a=r(4366);n({global:!0,forced:parseInt!==a},{parseInt:a})},4769:(e,t,r)=>{var n=r(3937),a=r(5304),i=r(607),o=r(1145),s=r(4938),c=r(1783);n({target:"Promise",stat:!0,forced:r(2034)},{allSettled:function(e){var t=this,r=o.f(t),n=r.resolve,u=r.reject,l=s((function(){var r=i(t.resolve),o=[],s=0,u=1;c(e,(function(e){var i=s++,c=!1;u++,a(r,t,e).then((function(e){c||(c=!0,o[i]={status:"fulfilled",value:e},--u||n(o))}),(function(e){c||(c=!0,o[i]={status:"rejected",reason:e},--u||n(o))}))})),--u||n(o)}));return l.error&&u(l.value),r.promise}})},8819:(e,t,r)=>{var n=r(3937),a=r(5304),i=r(607),o=r(1145),s=r(4938),c=r(1783);n({target:"Promise",stat:!0,forced:r(2034)},{all:function(e){var t=this,r=o.f(t),n=r.resolve,u=r.reject,l=s((function(){var r=i(t.resolve),o=[],s=0,l=1;c(e,(function(e){var i=s++,c=!1;l++,a(r,t,e).then((function(e){c||(c=!0,o[i]=e,--l||n(o))}),u)})),--l||n(o)}));return l.error&&u(l.value),r.promise}})},5940:(e,t,r)=>{var n=r(3937),a=r(5988),i=r(9041).CONSTRUCTOR,o=r(1911),s=r(6341),c=r(5547),u=r(3300),l=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!a&&c(o)){var h=s("Promise").prototype.catch;l.catch!==h&&u(l,"catch",h,{unsafe:!0})}},6953:(e,t,r)=>{var n,a,i,o=r(3937),s=r(5988),c=r(6638),u=r(5628),l=r(5304),h=r(3300),f=r(1),d=r(869),p=r(5997),g=r(607),v=r(5547),m=r(2922),y=r(5312),b=r(6623),w=r(5902).set,k=r(2012),x=r(9896),S=r(4938),A=r(4947),C=r(5972),O=r(1911),F=r(9041),I=r(1145),T="Promise",M=F.CONSTRUCTOR,E=F.REJECTION_EVENT,P=F.SUBCLASSING,R=C.getterFor(T),N=C.set,D=O&&O.prototype,B=O,L=D,_=u.TypeError,j=u.document,U=u.process,$=I.f,X=$,H=!!(j&&j.createEvent&&u.dispatchEvent),q="unhandledrejection",z=function(e){var t;return!(!m(e)||!v(t=e.then))&&t},G=function(e,t){var r,n,a,i=t.value,o=1===t.state,s=o?e.ok:e.fail,c=e.resolve,u=e.reject,h=e.domain;try{s?(o||(2===t.rejection&&J(t),t.rejection=1),!0===s?r=i:(h&&h.enter(),r=s(i),h&&(h.exit(),a=!0)),r===e.promise?u(new _("Promise-chain cycle")):(n=z(r))?l(n,r,c,u):c(r)):u(i)}catch(e){h&&!a&&h.exit(),u(e)}},W=function(e,t){e.notified||(e.notified=!0,k((function(){for(var r,n=e.reactions;r=n.get();)G(r,e);e.notified=!1,t&&!e.rejection&&K(e)})))},V=function(e,t,r){var n,a;H?((n=j.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!E&&(a=u["on"+e])?a(n):e===q&&x("Unhandled promise rejection",r)},K=function(e){l(w,u,(function(){var t,r=e.facade,n=e.value;if(Y(e)&&(t=S((function(){c?U.emit("unhandledRejection",n,r):V(q,r,n)})),e.rejection=c||Y(e)?2:1,t.error))throw t.value}))},Y=function(e){return 1!==e.rejection&&!e.parent},J=function(e){l(w,u,(function(){var t=e.facade;c?U.emit("rejectionHandled",t):V("rejectionhandled",t,e.value)}))},Z=function(e,t,r){return function(n){e(t,n,r)}},Q=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,W(e,!0))},ee=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new _("Promise can't be resolved itself");var n=z(t);n?k((function(){var r={done:!1};try{l(n,t,Z(ee,r,e),Z(Q,r,e))}catch(t){Q(r,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){Q({done:!1},t,e)}}};if(M&&(L=(B=function(e){y(this,L),g(e),l(n,this);var t=R(this);try{e(Z(ee,t),Z(Q,t))}catch(e){Q(t,e)}}).prototype,(n=function(e){N(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new A,rejection:!1,state:0,value:void 0})}).prototype=h(L,"then",(function(e,t){var r=R(this),n=$(b(this,B));return r.parent=!0,n.ok=!v(e)||e,n.fail=v(t)&&t,n.domain=c?U.domain:void 0,0===r.state?r.reactions.add(n):k((function(){G(n,r)})),n.promise})),a=function(){var e=new n,t=R(e);this.promise=e,this.resolve=Z(ee,t),this.reject=Z(Q,t)},I.f=$=function(e){return e===B||void 0===e?new a(e):X(e)},!s&&v(O)&&D!==Object.prototype)){i=D.then,P||h(D,"then",(function(e,t){var r=this;return new B((function(e,t){l(i,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete D.constructor}catch(e){}f&&f(D,L)}o({global:!0,constructor:!0,wrap:!0,forced:M},{Promise:B}),d(B,T,!1,!0),p(T)},4996:(e,t,r)=>{var n=r(3937),a=r(5988),i=r(1911),o=r(5392),s=r(6341),c=r(5547),u=r(6623),l=r(5894),h=r(3300),f=i&&i.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&o((function(){f.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,s("Promise")),r=c(e);return this.then(r?function(r){return l(t,e()).then((function(){return r}))}:e,r?function(r){return l(t,e()).then((function(){throw r}))}:e)}}),!a&&c(i)){var d=s("Promise").prototype.finally;f.finally!==d&&h(f,"finally",d,{unsafe:!0})}},9242:(e,t,r)=>{r(6953),r(8819),r(5940),r(2398),r(9026),r(160)},2398:(e,t,r)=>{var n=r(3937),a=r(5304),i=r(607),o=r(1145),s=r(4938),c=r(1783);n({target:"Promise",stat:!0,forced:r(2034)},{race:function(e){var t=this,r=o.f(t),n=r.reject,u=s((function(){var o=i(t.resolve);c(e,(function(e){a(o,t,e).then(r.resolve,n)}))}));return u.error&&n(u.value),r.promise}})},9026:(e,t,r)=>{var n=r(3937),a=r(1145);n({target:"Promise",stat:!0,forced:r(9041).CONSTRUCTOR},{reject:function(e){var t=a.f(this);return(0,t.reject)(e),t.promise}})},160:(e,t,r)=>{var n=r(3937),a=r(6341),i=r(5988),o=r(1911),s=r(9041).CONSTRUCTOR,c=r(5894),u=a("Promise"),l=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return c(l&&this===u?o:this,e)}})},5288:(e,t,r)=>{var n=r(3937),a=r(9500),i=r(607),o=r(4738);n({target:"Reflect",stat:!0,forced:!r(5392)((function(){Reflect.apply((function(){}))}))},{apply:function(e,t,r){return a(i(e),t,o(r))}})},2168:(e,t,r)=>{var n=r(3937),a=r(6341),i=r(9500),o=r(1475),s=r(7497),c=r(4738),u=r(2922),l=r(5572),h=r(5392),f=a("Reflect","construct"),d=Object.prototype,p=[].push,g=h((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),v=!h((function(){f((function(){}))})),m=g||v;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){s(e),c(t);var r=arguments.length<3?e:s(arguments[2]);if(v&&!g)return f(e,t,r);if(e===r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return i(p,n,t),new(i(o,e,n))}var a=r.prototype,h=l(u(a)?a:d),m=i(e,h,t);return u(m)?m:h}})},275:(e,t,r)=>{var n=r(3937),a=r(5304),i=r(2922),o=r(4738),s=r(7317),c=r(9070),u=r(5401);n({target:"Reflect",stat:!0},{get:function e(t,r){var n,l,h=arguments.length<3?t:arguments[2];return o(t)===h?t[r]:(n=c.f(t,r))?s(n)?n.value:void 0===n.get?void 0:a(n.get,h):i(l=u(t))?e(l,r,h):void 0}})},2076:(e,t,r)=>{var n=r(3937),a=r(5628),i=r(869);n({global:!0},{Reflect:{}}),i(a.Reflect,"Reflect",!0)},4601:(e,t,r)=>{var n=r(1724),a=r(5628),i=r(5207),o=r(5416),s=r(6673),c=r(9238),u=r(5572),l=r(3817).f,h=r(5692),f=r(5380),d=r(9338),p=r(2165),g=r(2053),v=r(7330),m=r(3300),y=r(5392),b=r(3531),w=r(5972).enforce,k=r(5997),x=r(5553),S=r(9383),A=r(3275),C=x("match"),O=a.RegExp,F=O.prototype,I=a.SyntaxError,T=i(F.exec),M=i("".charAt),E=i("".replace),P=i("".indexOf),R=i("".slice),N=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,D=/a/g,B=/a/g,L=new O(D)!==D,_=g.MISSED_STICKY,j=g.UNSUPPORTED_Y;if(o("RegExp",n&&(!L||_||S||A||y((function(){return B[C]=!1,O(D)!==D||O(B)===B||"/a/i"!==String(O(D,"i"))}))))){for(var U=function(e,t){var r,n,a,i,o,l,g=h(F,this),v=f(e),m=void 0===t,y=[],k=e;if(!g&&v&&m&&e.constructor===U)return e;if((v||h(F,e))&&(e=e.source,m&&(t=p(k))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),k=e,S&&"dotAll"in D&&(n=!!t&&P(t,"s")>-1)&&(t=E(t,/s/g,"")),r=t,_&&"sticky"in D&&(a=!!t&&P(t,"y")>-1)&&j&&(t=E(t,/y/g,"")),A&&(i=function(e){for(var t,r=e.length,n=0,a="",i=[],o=u(null),s=!1,c=!1,l=0,h="";n<=r;n++){if("\\"===(t=M(e,n)))t+=M(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:T(N,R(e,n+1))&&(n+=2,c=!0),a+=t,l++;continue;case">"===t&&c:if(""===h||b(o,h))throw new I("Invalid capture group name");o[h]=!0,i[i.length]=[h,l],c=!1,h="";continue}c?h+=t:a+=t}return[a,i]}(e),e=i[0],y=i[1]),o=s(O(e,t),g?this:F,U),(n||a||y.length)&&(l=w(o),n&&(l.dotAll=!0,l.raw=U(function(e){for(var t,r=e.length,n=0,a="",i=!1;n<=r;n++)"\\"!==(t=M(e,n))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),a+=t):a+="[\\s\\S]":a+=t+M(e,++n);return a}(e),r)),a&&(l.sticky=!0),y.length&&(l.groups=y)),e!==k)try{c(o,"source",""===k?"(?:)":k)}catch(e){}return o},$=l(O),X=0;$.length>X;)v(U,O,$[X++]);F.constructor=U,U.prototype=F,m(a,"RegExp",U,{constructor:!0})}k("RegExp")},9336:(e,t,r)=>{var n=r(1724),a=r(9383),i=r(5067),o=r(7416),s=r(5972).get,c=RegExp.prototype,u=TypeError;n&&a&&o(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===i(this))return!!s(this).dotAll;throw new u("Incompatible receiver, RegExp required")}}})},6433:(e,t,r)=>{var n=r(3937),a=r(4493);n({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},2363:(e,t,r)=>{var n=r(5628),a=r(1724),i=r(7416),o=r(5337),s=r(5392),c=n.RegExp,u=c.prototype;a&&s((function(){var e=!0;try{c(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",a=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in e&&(i.hasIndices="d"),i)a(o,i[o]);return Object.getOwnPropertyDescriptor(u,"flags").get.call(t)!==n||r!==n}))&&i(u,"flags",{configurable:!0,get:o})},6053:(e,t,r)=>{var n=r(1724),a=r(2053).MISSED_STICKY,i=r(5067),o=r(7416),s=r(5972).get,c=RegExp.prototype,u=TypeError;n&&a&&o(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===i(this))return!!s(this).sticky;throw new u("Incompatible receiver, RegExp required")}}})},970:(e,t,r)=>{r(6433);var n,a,i=r(3937),o=r(5304),s=r(5547),c=r(4738),u=r(9338),l=(n=!1,(a=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===a.test("abc")&&n),h=/./.test;i({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=c(this),r=u(e),n=t.exec;if(!s(n))return o(h,t,r);var a=o(n,t,r);return null!==a&&(c(a),!0)}})},9800:(e,t,r)=>{var n=r(4930).PROPER,a=r(3300),i=r(4738),o=r(9338),s=r(5392),c=r(2165),u="toString",l=RegExp.prototype,h=l[u],f=s((function(){return"/a/b"!==h.call({source:"a",flags:"b"})})),d=n&&h.name!==u;(f||d)&&a(l,u,(function(){var e=i(this);return"/"+o(e.source)+"/"+o(c(e))}),{unsafe:!0})},3215:(e,t,r)=>{r(4866)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(1430))},8227:(e,t,r)=>{r(3215)},3049:(e,t,r)=>{var n=r(3937),a=r(5207),i=r(4202),o=r(2501),s=r(9338),c=r(5392),u=a("".charAt);n({target:"String",proto:!0,forced:c((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(e){var t=s(i(this)),r=t.length,n=o(e),a=n>=0?n:r+n;return a<0||a>=r?void 0:u(t,a)}})},8950:(e,t,r)=>{var n=r(3937),a=r(4942).codeAt;n({target:"String",proto:!0},{codePointAt:function(e){return a(this,e)}})},8942:(e,t,r)=>{var n,a=r(3937),i=r(8209),o=r(9070).f,s=r(7450),c=r(9338),u=r(5066),l=r(4202),h=r(2092),f=r(5988),d=i("".slice),p=Math.min,g=h("endsWith");a({target:"String",proto:!0,forced:!(!f&&!g&&(n=o(String.prototype,"endsWith"),n&&!n.writable)||g)},{endsWith:function(e){var t=c(l(this));u(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,a=void 0===r?n:p(s(r),n),i=c(e);return d(t,a-i.length,a)===i}})},9048:(e,t,r)=>{var n=r(3937),a=r(5207),i=r(645),o=RangeError,s=String.fromCharCode,c=String.fromCodePoint,u=a([].join);n({target:"String",stat:!0,arity:1,forced:!!c&&1!==c.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,a=0;n>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw new o(t+" is not a valid code point");r[a]=t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320)}return u(r,"")}})},3292:(e,t,r)=>{var n=r(3937),a=r(5207),i=r(5066),o=r(4202),s=r(9338),c=r(2092),u=a("".indexOf);n({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(s(o(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},3990:(e,t,r)=>{var n=r(4942).charAt,a=r(9338),i=r(5972),o=r(5341),s=r(9925),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:a(e),index:0})}),(function(){var e,t=l(this),r=t.string,a=t.index;return a>=r.length?s(void 0,!0):(e=n(r,a),t.index+=e.length,s(e,!1))}))},7874:(e,t,r)=>{var n=r(5304),a=r(739),i=r(4738),o=r(7930),s=r(7450),c=r(9338),u=r(4202),l=r(2698),h=r(293),f=r(2493);a("match",(function(e,t,r){return[function(t){var r=u(this),a=o(t)?void 0:l(t,e);return a?n(a,t,r):new RegExp(t)[e](c(r))},function(e){var n=i(this),a=c(e),o=r(t,n,a);if(o.done)return o.value;if(!n.global)return f(n,a);var u=n.unicode;n.lastIndex=0;for(var l,d=[],p=0;null!==(l=f(n,a));){var g=c(l[0]);d[p]=g,""===g&&(n.lastIndex=h(a,s(n.lastIndex),u)),p++}return 0===p?null:d}]}))},8794:(e,t,r)=>{var n=r(3937),a=r(9414).start;n({target:"String",proto:!0,forced:r(6754)},{padStart:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},4200:(e,t,r)=>{r(3937)({target:"String",proto:!0},{repeat:r(1069)})},34:(e,t,r)=>{var n=r(3937),a=r(5304),i=r(5207),o=r(4202),s=r(5547),c=r(7930),u=r(5380),l=r(9338),h=r(2698),f=r(2165),d=r(5095),p=r(5553),g=r(5988),v=p("replace"),m=TypeError,y=i("".indexOf),b=i("".replace),w=i("".slice),k=Math.max,x=function(e,t,r){return r>e.length?-1:""===t?r:y(e,t,r)};n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,i,p,S,A,C,O,F,I=o(this),T=0,M=0,E="";if(!c(e)){if((r=u(e))&&(n=l(o(f(e))),!~y(n,"g")))throw new m("`.replaceAll` does not allow non-global regexes");if(i=h(e,v))return a(i,e,I,t);if(g&&r)return b(l(I),e,t)}for(p=l(I),S=l(e),(A=s(t))||(t=l(t)),C=S.length,O=k(1,C),T=x(p,S,0);-1!==T;)F=A?l(t(S,T,p)):d(S,p,T,[],void 0,t),E+=w(p,M,T)+F,M=T+C,T=x(p,S,T+O);return M<p.length&&(E+=w(p,M)),E}})},9064:(e,t,r)=>{var n=r(9500),a=r(5304),i=r(5207),o=r(739),s=r(5392),c=r(4738),u=r(5547),l=r(7930),h=r(2501),f=r(7450),d=r(9338),p=r(4202),g=r(293),v=r(2698),m=r(5095),y=r(2493),b=r(5553)("replace"),w=Math.max,k=Math.min,x=i([].concat),S=i([].push),A=i("".indexOf),C=i("".slice),O="$0"==="a".replace(/./,"$0"),F=!!/./[b]&&""===/./[b]("a","$0");o("replace",(function(e,t,r){var i=F?"$":"$0";return[function(e,r){var n=p(this),i=l(e)?void 0:v(e,b);return i?a(i,e,n,r):a(t,d(n),e,r)},function(e,a){var o=c(this),s=d(e);if("string"==typeof a&&-1===A(a,i)&&-1===A(a,"$<")){var l=r(t,o,s,a);if(l.done)return l.value}var p=u(a);p||(a=d(a));var v,b=o.global;b&&(v=o.unicode,o.lastIndex=0);for(var O,F=[];null!==(O=y(o,s))&&(S(F,O),b);)""===d(O[0])&&(o.lastIndex=g(s,f(o.lastIndex),v));for(var I,T="",M=0,E=0;E<F.length;E++){for(var P,R=d((O=F[E])[0]),N=w(k(h(O.index),s.length),0),D=[],B=1;B<O.length;B++)S(D,void 0===(I=O[B])?I:String(I));var L=O.groups;if(p){var _=x([R],D,N,s);void 0!==L&&S(_,L),P=d(n(a,void 0,_))}else P=m(R,s,N,D,L,a);N>=M&&(T+=C(s,M,N)+P,M=N+R.length)}return T+C(s,M)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!O||F)},1063:(e,t,r)=>{var n=r(9500),a=r(5304),i=r(5207),o=r(739),s=r(4738),c=r(7930),u=r(5380),l=r(4202),h=r(6623),f=r(293),d=r(7450),p=r(9338),g=r(2698),v=r(4997),m=r(2493),y=r(4493),b=r(2053),w=r(5392),k=b.UNSUPPORTED_Y,x=4294967295,S=Math.min,A=[].push,C=i(/./.exec),O=i(A),F=i("".slice);o("split",(function(e,t,r){var i;return i="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var i=p(l(this)),o=void 0===r?x:r>>>0;if(0===o)return[];if(void 0===e)return[i];if(!u(e))return a(t,i,e,o);for(var s,c,h,f=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,m=new RegExp(e.source,d+"g");(s=a(y,m,i))&&!((c=m.lastIndex)>g&&(O(f,F(i,g,s.index)),s.length>1&&s.index<i.length&&n(A,f,v(s,1)),h=s[0].length,g=c,f.length>=o));)m.lastIndex===s.index&&m.lastIndex++;return g===i.length?!h&&C(m,"")||O(f,""):O(f,F(i,g)),f.length>o?v(f,0,o):f}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:a(t,this,e,r)}:t,[function(t,r){var n=l(this),o=c(t)?void 0:g(t,e);return o?a(o,t,n,r):a(i,p(n),t,r)},function(e,n){var a=s(this),o=p(e),c=r(i,a,o,n,i!==t);if(c.done)return c.value;var u=h(a,RegExp),l=a.unicode,g=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(k?"g":"y"),v=new u(k?"^(?:"+a.source+")":a,g),y=void 0===n?x:n>>>0;if(0===y)return[];if(0===o.length)return null===m(v,o)?[o]:[];for(var b=0,w=0,A=[];w<o.length;){v.lastIndex=k?0:w;var C,I=m(v,k?F(o,w):o);if(null===I||(C=S(d(v.lastIndex+(k?w:0)),o.length))===b)w=f(o,w,l);else{if(O(A,F(o,b,w)),A.length===y)return A;for(var T=1;T<=I.length-1;T++)if(O(A,I[T]),A.length===y)return A;w=b=C}}return O(A,F(o,b)),A}]}),!!w((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),k)},5112:(e,t,r)=>{var n,a=r(3937),i=r(8209),o=r(9070).f,s=r(7450),c=r(9338),u=r(5066),l=r(4202),h=r(2092),f=r(5988),d=i("".slice),p=Math.min,g=h("startsWith");a({target:"String",proto:!0,forced:!(!f&&!g&&(n=o(String.prototype,"startsWith"),n&&!n.writable)||g)},{startsWith:function(e){var t=c(l(this));u(e);var r=s(p(arguments.length>1?arguments[1]:void 0,t.length)),n=c(e);return d(t,r,r+n.length)===n}})},7213:(e,t,r)=>{var n=r(3937),a=r(4922).trim;n({target:"String",proto:!0,forced:r(5215)("trim")},{trim:function(){return a(this)}})},4345:(e,t,r)=>{r(1641)("asyncIterator")},533:(e,t,r)=>{var n=r(3937),a=r(5628),i=r(5304),o=r(5207),s=r(5988),c=r(1724),u=r(2083),l=r(5392),h=r(3531),f=r(5692),d=r(4738),p=r(3238),g=r(3561),v=r(9338),m=r(7999),y=r(5572),b=r(5265),w=r(3817),k=r(2932),x=r(68),S=r(9070),A=r(2030),C=r(3742),O=r(5085),F=r(3300),I=r(7416),T=r(7995),M=r(2992),E=r(6710),P=r(1188),R=r(5553),N=r(1884),D=r(1641),B=r(499),L=r(869),_=r(5972),j=r(6682).forEach,U=M("hidden"),$="Symbol",X="prototype",H=_.set,q=_.getterFor($),z=Object[X],G=a.Symbol,W=G&&G[X],V=a.RangeError,K=a.TypeError,Y=a.QObject,J=S.f,Z=A.f,Q=k.f,ee=O.f,te=o([].push),re=T("symbols"),ne=T("op-symbols"),ae=T("wks"),ie=!Y||!Y[X]||!Y[X].findChild,oe=function(e,t,r){var n=J(z,t);n&&delete z[t],Z(e,t,r),n&&e!==z&&Z(z,t,n)},se=c&&l((function(){return 7!==y(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?oe:Z,ce=function(e,t){var r=re[e]=y(W);return H(r,{type:$,tag:e,description:t}),c||(r.description=t),r},ue=function(e,t,r){e===z&&ue(ne,t,r),d(e);var n=g(t);return d(r),h(re,n)?(r.enumerable?(h(e,U)&&e[U][n]&&(e[U][n]=!1),r=y(r,{enumerable:m(0,!1)})):(h(e,U)||Z(e,U,m(1,y(null))),e[U][n]=!0),se(e,n,r)):Z(e,n,r)},le=function(e,t){d(e);var r=p(t),n=b(r).concat(pe(r));return j(n,(function(t){c&&!i(he,r,t)||ue(e,t,r[t])})),e},he=function(e){var t=g(e),r=i(ee,this,t);return!(this===z&&h(re,t)&&!h(ne,t))&&(!(r||!h(this,t)||!h(re,t)||h(this,U)&&this[U][t])||r)},fe=function(e,t){var r=p(e),n=g(t);if(r!==z||!h(re,n)||h(ne,n)){var a=J(r,n);return!a||!h(re,n)||h(r,U)&&r[U][n]||(a.enumerable=!0),a}},de=function(e){var t=Q(p(e)),r=[];return j(t,(function(e){h(re,e)||h(E,e)||te(r,e)})),r},pe=function(e){var t=e===z,r=Q(t?ne:p(e)),n=[];return j(r,(function(e){!h(re,e)||t&&!h(z,e)||te(n,re[e])})),n};u||(F(W=(G=function(){if(f(W,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=P(e),r=function(e){var n=void 0===this?a:this;n===z&&i(r,ne,e),h(n,U)&&h(n[U],t)&&(n[U][t]=!1);var o=m(1,e);try{se(n,t,o)}catch(e){if(!(e instanceof V))throw e;oe(n,t,o)}};return c&&ie&&se(z,t,{configurable:!0,set:r}),ce(t,e)})[X],"toString",(function(){return q(this).tag})),F(G,"withoutSetter",(function(e){return ce(P(e),e)})),O.f=he,A.f=ue,C.f=le,S.f=fe,w.f=k.f=de,x.f=pe,N.f=function(e){return ce(R(e),e)},c&&(I(W,"description",{configurable:!0,get:function(){return q(this).description}}),s||F(z,"propertyIsEnumerable",he,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:G}),j(b(ae),(function(e){D(e)})),n({target:$,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,t){return void 0===t?y(e):le(y(e),t)},defineProperty:ue,defineProperties:le,getOwnPropertyDescriptor:fe}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),B(),L(G,$),E[U]=!0},2437:(e,t,r)=>{var n=r(3937),a=r(1724),i=r(5628),o=r(5207),s=r(3531),c=r(5547),u=r(5692),l=r(9338),h=r(7416),f=r(469),d=i.Symbol,p=d&&d.prototype;if(a&&c(d)&&(!("description"in p)||void 0!==d().description)){var g={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=u(p,this)?new d(e):void 0===e?d():d(e);return""===e&&(g[t]=!0),t};f(v,d),v.prototype=p,p.constructor=v;var m="Symbol(description detection)"===String(d("description detection")),y=o(p.valueOf),b=o(p.toString),w=/^Symbol\((.*)\)[^)]+$/,k=o("".replace),x=o("".slice);h(p,"description",{configurable:!0,get:function(){var e=y(this);if(s(g,e))return"";var t=b(e),r=m?x(t,7,-1):k(t,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:v})}},7531:(e,t,r)=>{var n=r(3937),a=r(6341),i=r(3531),o=r(9338),s=r(7995),c=r(4429),u=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=o(e);if(i(u,t))return u[t];var r=a("Symbol")(t);return u[t]=r,l[r]=t,r}})},12:(e,t,r)=>{r(1641)("iterator")},1788:(e,t,r)=>{r(533),r(7531),r(8533),r(3991),r(1344)},8533:(e,t,r)=>{var n=r(3937),a=r(3531),i=r(6610),o=r(3454),s=r(7995),c=r(4429),u=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(o(e)+" is not a symbol");if(a(u,e))return u[e]}})},2342:(e,t,r)=>{var n=r(1641),a=r(499);n("toPrimitive"),a()},6106:(e,t,r)=>{var n=r(6341),a=r(1641),i=r(869);a("toStringTag"),i(n("Symbol"),"Symbol")},8019:(e,t,r)=>{var n=r(5192),a=r(1024),i=r(2501),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",(function(e){var t=o(this),r=a(t),n=i(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}))},9753:(e,t,r)=>{var n=r(5207),a=r(5192),i=n(r(52)),o=a.aTypedArray;(0,a.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},7543:(e,t,r)=>{var n=r(5192),a=r(6682).every,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0)}))},8400:(e,t,r)=>{var n=r(5192),a=r(3039),i=r(3810),o=r(1331),s=r(5304),c=r(5207),u=r(5392),l=n.aTypedArray,h=n.exportTypedArrayMethod,f=c("".slice);h("fill",(function(e){var t=arguments.length;l(this);var r="Big"===f(o(this),0,3)?i(e):+e;return s(a,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),u((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},5526:(e,t,r)=>{var n=r(5192),a=r(6682).filter,i=r(9910),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(e){var t=a(o(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},4410:(e,t,r)=>{var n=r(5192),a=r(6682).findIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0)}))},7527:(e,t,r)=>{var n=r(5192),a=r(8648).findLastIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0)}))},6601:(e,t,r)=>{var n=r(5192),a=r(8648).findLast,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3174:(e,t,r)=>{var n=r(5192),a=r(6682).find,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2524:(e,t,r)=>{r(3116)("Float32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},3143:(e,t,r)=>{r(3116)("Float64",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},4303:(e,t,r)=>{var n=r(5192),a=r(6682).forEach,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(e){a(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2457:(e,t,r)=>{var n=r(5192),a=r(3458).includes,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0)}))},8151:(e,t,r)=>{var n=r(5192),a=r(3458).indexOf,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0)}))},6104:(e,t,r)=>{r(3116)("Int16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},4295:(e,t,r)=>{r(3116)("Int32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},7118:(e,t,r)=>{r(3116)("Int8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},8134:(e,t,r)=>{var n=r(5628),a=r(5392),i=r(5207),o=r(5192),s=r(3313),c=r(5553)("iterator"),u=n.Uint8Array,l=i(s.values),h=i(s.keys),f=i(s.entries),d=o.aTypedArray,p=o.exportTypedArrayMethod,g=u&&u.prototype,v=!a((function(){g[c].call([1])})),m=!!g&&g.values&&g[c]===g.values&&"values"===g.values.name,y=function(){return l(d(this))};p("entries",(function(){return f(d(this))}),v),p("keys",(function(){return h(d(this))}),v),p("values",y,v||!m,{name:"values"}),p(c,y,v||!m,{name:"values"})},6359:(e,t,r)=>{var n=r(5192),a=r(5207),i=n.aTypedArray,o=n.exportTypedArrayMethod,s=a([].join);o("join",(function(e){return s(i(this),e)}))},5040:(e,t,r)=>{var n=r(5192),a=r(9500),i=r(798),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return a(i,o(this),t>1?[e,arguments[1]]:[e])}))},262:(e,t,r)=>{var n=r(5192),a=r(6682).map,i=r(7709),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("map",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},1963:(e,t,r)=>{var n=r(5192),a=r(2253).right,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return a(i(this),e,t,t>1?arguments[1]:void 0)}))},2607:(e,t,r)=>{var n=r(5192),a=r(2253).left,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return a(i(this),e,t,t>1?arguments[1]:void 0)}))},8035:(e,t,r)=>{var n=r(5192),a=n.aTypedArray,i=n.exportTypedArrayMethod,o=Math.floor;i("reverse",(function(){for(var e,t=this,r=a(t).length,n=o(r/2),i=0;i<n;)e=t[i],t[i++]=t[--r],t[r]=e;return t}))},7987:(e,t,r)=>{var n=r(5628),a=r(5304),i=r(5192),o=r(1024),s=r(9370),c=r(4874),u=r(5392),l=n.RangeError,h=n.Int8Array,f=h&&h.prototype,d=f&&f.set,p=i.aTypedArray,g=i.exportTypedArrayMethod,v=!u((function(){var e=new Uint8ClampedArray(2);return a(d,e,{length:1,0:3},1),3!==e[1]})),m=v&&i.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var e=new h(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));g("set",(function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=c(e);if(v)return a(d,this,r,t);var n=this.length,i=o(r),u=0;if(i+t>n)throw new l("Wrong length");for(;u<i;)this[t+u]=r[u++]}),!v||m)},1134:(e,t,r)=>{var n=r(5192),a=r(7709),i=r(5392),o=r(4997),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("slice",(function(e,t){for(var r=o(s(this),e,t),n=a(this),i=0,c=r.length,u=new n(c);c>i;)u[i]=r[i++];return u}),i((function(){new Int8Array(1).slice()})))},9131:(e,t,r)=>{var n=r(5192),a=r(6682).some,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3956:(e,t,r)=>{var n=r(5628),a=r(8209),i=r(5392),o=r(607),s=r(9158),c=r(5192),u=r(6890),l=r(3326),h=r(6262),f=r(2122),d=c.aTypedArray,p=c.exportTypedArrayMethod,g=n.Uint16Array,v=g&&a(g.prototype.sort),m=!(!v||i((function(){v(new g(2),null)}))&&i((function(){v(new g(2),{})}))),y=!!v&&!i((function(){if(h)return h<74;if(u)return u<67;if(l)return!0;if(f)return f<602;var e,t,r=new g(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(v(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0}));p("sort",(function(e){return void 0!==e&&o(e),y?v(this,e):s(d(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))}),!y||m)},4085:(e,t,r)=>{var n=r(5628),a=r(9500),i=r(5192),o=r(5392),s=r(4997),c=n.Int8Array,u=i.aTypedArray,l=i.exportTypedArrayMethod,h=[].toLocaleString,f=!!c&&o((function(){h.call(new c(1))}));l("toLocaleString",(function(){return a(h,f?s(u(this)):u(this),s(arguments))}),o((function(){return[1,2].toLocaleString()!==new c([1,2]).toLocaleString()}))||!o((function(){c.prototype.toLocaleString.call([1,2])})))},5683:(e,t,r)=>{var n=r(8067),a=r(5192),i=a.aTypedArray,o=a.exportTypedArrayMethod,s=a.getTypedArrayConstructor;o("toReversed",(function(){return n(i(this),s(this))}))},9529:(e,t,r)=>{var n=r(5192),a=r(5207),i=r(607),o=r(9353),s=n.aTypedArray,c=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,l=a(n.TypedArrayPrototype.sort);u("toSorted",(function(e){void 0!==e&&i(e);var t=s(this),r=o(c(t),t);return l(r,e)}))},9964:(e,t,r)=>{var n=r(5192).exportTypedArrayMethod,a=r(5392),i=r(5628),o=r(5207),s=i.Uint8Array,c=s&&s.prototype||{},u=[].toString,l=o([].join);a((function(){u.call({})}))&&(u=function(){return l(this)});var h=c.toString!==u;n("toString",u,h)},5055:(e,t,r)=>{r(3116)("Uint16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},6552:(e,t,r)=>{r(3116)("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},950:(e,t,r)=>{r(3116)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},5222:(e,t,r)=>{r(3116)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}),!0)},6506:(e,t,r)=>{var n=r(9677),a=r(5192),i=r(3669),o=r(2501),s=r(3810),c=a.aTypedArray,u=a.getTypedArrayConstructor,l=a.exportTypedArrayMethod,h=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();l("with",{with:function(e,t){var r=c(this),a=o(e),l=i(r)?s(t):+t;return n(r,u(r),a,l)}}.with,!h)},9330:(e,t,r)=>{var n,a=r(4958),i=r(5628),o=r(5207),s=r(9711),c=r(6073),u=r(4866),l=r(3287),h=r(2922),f=r(5972).enforce,d=r(5392),p=r(1337),g=Object,v=Array.isArray,m=g.isExtensible,y=g.isFrozen,b=g.isSealed,w=g.freeze,k=g.seal,x=!i.ActiveXObject&&"ActiveXObject"in i,S=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},A=u("WeakMap",S,l),C=A.prototype,O=o(C.set);if(p)if(x){n=l.getConstructor(S,"WeakMap",!0),c.enable();var F=o(C.delete),I=o(C.has),T=o(C.get);s(C,{delete:function(e){if(h(e)&&!m(e)){var t=f(this);return t.frozen||(t.frozen=new n),F(this,e)||t.frozen.delete(e)}return F(this,e)},has:function(e){if(h(e)&&!m(e)){var t=f(this);return t.frozen||(t.frozen=new n),I(this,e)||t.frozen.has(e)}return I(this,e)},get:function(e){if(h(e)&&!m(e)){var t=f(this);return t.frozen||(t.frozen=new n),I(this,e)?T(this,e):t.frozen.get(e)}return T(this,e)},set:function(e,t){if(h(e)&&!m(e)){var r=f(this);r.frozen||(r.frozen=new n),I(this,e)?O(this,e,t):r.frozen.set(e,t)}else O(this,e,t);return this}})}else a&&d((function(){var e=w([]);return O(new A,e,1),!y(e)}))&&s(C,{set:function(e,t){var r;return v(e)&&(y(e)?r=w:b(e)&&(r=k)),O(this,e,t),r&&r(e),this}})},1464:(e,t,r)=>{r(9330)},3388:(e,t,r)=>{r(4866)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(3287))},4597:(e,t,r)=>{r(3388)},9840:(e,t,r)=>{var n=r(3937),a=r(5628),i=r(6341),o=r(5207),s=r(5304),c=r(5392),u=r(9338),l=r(8769),h=r(809).c2i,f=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,p=/[=]{1,2}$/,g=i("atob"),v=String.fromCharCode,m=o("".charAt),y=o("".replace),b=o(f.exec),w=!!g&&!c((function(){return"hi"!==g("aGk=")})),k=w&&c((function(){return""!==g(" ")})),x=w&&!c((function(){g("a")})),S=w&&!c((function(){g()})),A=w&&1!==g.length;n({global:!0,bind:!0,enumerable:!0,forced:!w||k||x||S||A},{atob:function(e){if(l(arguments.length,1),w&&!k&&!x)return s(g,a,e);var t,r,n,o=y(u(e),d,""),c="",S=0,A=0;if(o.length%4==0&&(o=y(o,p,"")),(t=o.length)%4==1||b(f,o))throw new(i("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;S<t;)r=m(o,S++),n=A%4?64*n+h[r]:h[r],A++%4&&(c+=v(255&n>>(-2*A&6)));return c}})},6109:(e,t,r)=>{var n=r(5628),a=r(1151),i=r(9128),o=r(755),s=r(9238),c=function(e){if(e&&e.forEach!==o)try{s(e,"forEach",o)}catch(t){e.forEach=o}};for(var u in a)a[u]&&c(n[u]&&n[u].prototype);c(i)},9012:(e,t,r)=>{var n=r(5628),a=r(1151),i=r(9128),o=r(3313),s=r(9238),c=r(869),u=r(5553)("iterator"),l=o.values,h=function(e,t){if(e){if(e[u]!==l)try{s(e,u,l)}catch(t){e[u]=l}if(c(e,t,!0),a[t])for(var r in o)if(e[r]!==o[r])try{s(e,r,o[r])}catch(t){e[r]=o[r]}}};for(var f in a)h(n[f]&&n[f].prototype,f);h(i,"DOMTokenList")},4881:(e,t,r)=>{var n=r(3937),a=r(5254),i=r(6341),o=r(5392),s=r(5572),c=r(7999),u=r(2030).f,l=r(3300),h=r(7416),f=r(3531),d=r(5312),p=r(4738),g=r(4602),v=r(7797),m=r(580),y=r(3580),b=r(5972),w=r(1724),k=r(5988),x="DOMException",S="DATA_CLONE_ERR",A=i("Error"),C=i(x)||function(){try{(new(i("MessageChannel")||a("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(e){if(e.name===S&&25===e.code)return e.constructor}}(),O=C&&C.prototype,F=A.prototype,I=b.set,T=b.getterFor(x),M="stack"in new A(x),E=function(e){return f(m,e)&&m[e].m?m[e].c:0},P=function(){d(this,R);var e=arguments.length,t=v(e<1?void 0:arguments[0]),r=v(e<2?void 0:arguments[1],"Error"),n=E(r);if(I(this,{type:x,name:r,message:t,code:n}),w||(this.name=r,this.message=t,this.code=n),M){var a=new A(t);a.name=x,u(this,"stack",c(1,y(a.stack,1)))}},R=P.prototype=s(F),N=function(e){return{enumerable:!0,configurable:!0,get:e}},D=function(e){return N((function(){return T(this)[e]}))};w&&(h(R,"code",D("code")),h(R,"message",D("message")),h(R,"name",D("name"))),u(R,"constructor",c(1,P));var B=o((function(){return!(new C instanceof A)})),L=B||o((function(){return F.toString!==g||"2: 1"!==String(new C(1,2))})),_=B||o((function(){return 25!==new C(1,"DataCloneError").code})),j=B||25!==C[S]||25!==O[S],U=k?L||_||j:B;n({global:!0,constructor:!0,forced:U},{DOMException:U?P:C});var $=i(x),X=$.prototype;for(var H in L&&(k||C===$)&&l(X,"toString",g),_&&w&&C===$&&h(X,"code",N((function(){return E(p(this).name)}))),m)if(f(m,H)){var q=m[H],z=q.s,G=c(6,q.c);f($,z)||u($,z,G),f(X,z)||u(X,z,G)}},7198:(e,t,r)=>{var n=r(3937),a=r(5628),i=r(6341),o=r(7999),s=r(2030).f,c=r(3531),u=r(5312),l=r(6673),h=r(7797),f=r(580),d=r(3580),p=r(1724),g=r(5988),v="DOMException",m=i("Error"),y=i(v),b=function(){u(this,w);var e=arguments.length,t=h(e<1?void 0:arguments[0]),r=h(e<2?void 0:arguments[1],"Error"),n=new y(t,r),a=new m(t);return a.name=v,s(n,"stack",o(1,d(a.stack,1))),l(n,this,b),n},w=b.prototype=y.prototype,k="stack"in new m(v),x="stack"in new y(1,2),S=y&&p&&Object.getOwnPropertyDescriptor(a,v),A=!(!S||S.writable&&S.configurable),C=k&&!A&&!x;n({global:!0,constructor:!0,forced:g||C},{DOMException:C?b:y});var O=i(v),F=O.prototype;if(F.constructor!==O)for(var I in g||s(F,"constructor",o(1,O)),f)if(c(f,I)){var T=f[I],M=T.s;c(O,M)||s(O,M,o(6,T.c))}},8403:(e,t,r)=>{var n=r(6341),a="DOMException";r(869)(n(a),a)},7283:(e,t,r)=>{var n=r(3937),a=r(5628),i=r(7416),o=r(1724),s=TypeError,c=Object.defineProperty,u=a.self!==a;try{if(o){var l=Object.getOwnPropertyDescriptor(a,"self");!u&&l&&l.get&&l.enumerable||i(a,"self",{get:function(){return a},set:function(e){if(this!==a)throw new s("Illegal invocation");c(a,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:u},{self:a})}catch(e){}},4622:(e,t,r)=>{r(3313);var n=r(3937),a=r(5628),i=r(7286),o=r(5304),s=r(5207),c=r(1724),u=r(680),l=r(3300),h=r(7416),f=r(9711),d=r(869),p=r(4943),g=r(5972),v=r(5312),m=r(5547),y=r(3531),b=r(6913),w=r(1331),k=r(4738),x=r(2922),S=r(9338),A=r(5572),C=r(7999),O=r(9392),F=r(9755),I=r(9925),T=r(8769),M=r(5553),E=r(9158),P=M("iterator"),R="URLSearchParams",N=R+"Iterator",D=g.set,B=g.getterFor(R),L=g.getterFor(N),_=i("fetch"),j=i("Request"),U=i("Headers"),$=j&&j.prototype,X=U&&U.prototype,H=a.RegExp,q=a.TypeError,z=a.decodeURIComponent,G=a.encodeURIComponent,W=s("".charAt),V=s([].join),K=s([].push),Y=s("".replace),J=s([].shift),Z=s([].splice),Q=s("".split),ee=s("".slice),te=/\+/g,re=Array(4),ne=function(e){return re[e-1]||(re[e-1]=H("((?:%[\\da-f]{2}){"+e+"})","gi"))},ae=function(e){try{return z(e)}catch(t){return e}},ie=function(e){var t=Y(e,te," "),r=4;try{return z(t)}catch(e){for(;r;)t=Y(t,ne(r--),ae);return t}},oe=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ce=function(e){return se[e]},ue=function(e){return Y(G(e),oe,ce)},le=p((function(e,t){D(this,{type:N,target:B(e).entries,index:0,kind:t})}),R,(function(){var e=L(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,I(void 0,!0);var n=t[r];switch(e.kind){case"keys":return I(n.key,!1);case"values":return I(n.value,!1)}return I([n.key,n.value],!1)}),!0),he=function(e){this.entries=[],this.url=null,void 0!==e&&(x(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===W(e,0)?ee(e,1):e:S(e)))};he.prototype={type:R,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,i,s,c,u=this.entries,l=F(e);if(l)for(r=(t=O(e,l)).next;!(n=o(r,t)).done;){if(i=(a=O(k(n.value))).next,(s=o(i,a)).done||(c=o(i,a)).done||!o(i,a).done)throw new q("Expected sequence with length 2");K(u,{key:S(s.value),value:S(c.value)})}else for(var h in e)y(e,h)&&K(u,{key:h,value:S(e[h])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,a=Q(e,"&"),i=0;i<a.length;)(t=a[i++]).length&&(r=Q(t,"="),K(n,{key:ie(J(r)),value:ie(V(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],K(r,ue(e.key)+"="+ue(e.value));return V(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){v(this,de);var e=D(this,new he(arguments.length>0?arguments[0]:void 0));c||(this.size=e.entries.length)},de=fe.prototype;if(f(de,{append:function(e,t){var r=B(this);T(arguments.length,2),K(r.entries,{key:S(e),value:S(t)}),c||this.length++,r.updateURL()},delete:function(e){for(var t=B(this),r=T(arguments.length,1),n=t.entries,a=S(e),i=r<2?void 0:arguments[1],o=void 0===i?i:S(i),s=0;s<n.length;){var u=n[s];if(u.key!==a||void 0!==o&&u.value!==o)s++;else if(Z(n,s,1),void 0!==o)break}c||(this.size=n.length),t.updateURL()},get:function(e){var t=B(this).entries;T(arguments.length,1);for(var r=S(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=B(this).entries;T(arguments.length,1);for(var r=S(e),n=[],a=0;a<t.length;a++)t[a].key===r&&K(n,t[a].value);return n},has:function(e){for(var t=B(this).entries,r=T(arguments.length,1),n=S(e),a=r<2?void 0:arguments[1],i=void 0===a?a:S(a),o=0;o<t.length;){var s=t[o++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var r=B(this);T(arguments.length,1);for(var n,a=r.entries,i=!1,o=S(e),s=S(t),u=0;u<a.length;u++)(n=a[u]).key===o&&(i?Z(a,u--,1):(i=!0,n.value=s));i||K(a,{key:o,value:s}),c||(this.size=a.length),r.updateURL()},sort:function(){var e=B(this);E(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=B(this).entries,n=b(e,arguments.length>1?arguments[1]:void 0),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new le(this,"keys")},values:function(){return new le(this,"values")},entries:function(){return new le(this,"entries")}},{enumerable:!0}),l(de,P,de.entries,{name:"entries"}),l(de,"toString",(function(){return B(this).serialize()}),{enumerable:!0}),c&&h(de,"size",{get:function(){return B(this).entries.length},configurable:!0,enumerable:!0}),d(fe,R),n({global:!0,constructor:!0,forced:!u},{URLSearchParams:fe}),!u&&m(U)){var pe=s(X.has),ge=s(X.set),ve=function(e){if(x(e)){var t,r=e.body;if(w(r)===R)return t=e.headers?new U(e.headers):new U,pe(t,"content-type")||ge(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),A(e,{body:C(0,S(r)),headers:C(0,t)})}return e};if(m(_)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return _(e,arguments.length>1?ve(arguments[1]):{})}}),m(j)){var me=function(e){return v(this,$),new j(e,arguments.length>1?ve(arguments[1]):{})};$.constructor=me,me.prototype=$,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:me})}}e.exports={URLSearchParams:fe,getState:B}},2693:(e,t,r)=>{var n=r(3300),a=r(5207),i=r(9338),o=r(8769),s=URLSearchParams,c=s.prototype,u=a(c.append),l=a(c.delete),h=a(c.forEach),f=a([].push),d=new s("a=1&a=2&b=3");d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&n(c,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=[];h(this,(function(e,t){f(n,{key:t,value:e})})),o(t,1);for(var a,s=i(e),c=i(r),d=0,p=0,g=!1,v=n.length;d<v;)a=n[d++],g||a.key===s?(g=!0,l(this,a.key)):p++;for(;p<v;)(a=n[p++]).key===s&&a.value===c||u(this,a.key,a.value)}),{enumerable:!0,unsafe:!0})},1325:(e,t,r)=>{var n=r(3300),a=r(5207),i=r(9338),o=r(8769),s=URLSearchParams,c=s.prototype,u=a(c.getAll),l=a(c.has),h=new s("a=1");!h.has("a",2)&&h.has("a",void 0)||n(c,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=u(this,e);o(t,1);for(var a=i(r),s=0;s<n.length;)if(n[s++]===a)return!0;return!1}),{enumerable:!0,unsafe:!0})},1279:(e,t,r)=>{r(4622)},6882:(e,t,r)=>{var n=r(1724),a=r(5207),i=r(7416),o=URLSearchParams.prototype,s=a(o.forEach);n&&!("size"in o)&&i(o,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},5955:(e,t,r)=>{r(3990);var n,a=r(3937),i=r(1724),o=r(680),s=r(5628),c=r(6913),u=r(5207),l=r(3300),h=r(7416),f=r(5312),d=r(3531),p=r(4773),g=r(1383),v=r(4997),m=r(4942).codeAt,y=r(8077),b=r(9338),w=r(869),k=r(8769),x=r(4622),S=r(5972),A=S.set,C=S.getterFor("URL"),O=x.URLSearchParams,F=x.getState,I=s.URL,T=s.TypeError,M=s.parseInt,E=Math.floor,P=Math.pow,R=u("".charAt),N=u(/./.exec),D=u([].join),B=u(1..toString),L=u([].pop),_=u([].push),j=u("".replace),U=u([].shift),$=u("".split),X=u("".slice),H=u("".toLowerCase),q=u([].unshift),z="Invalid scheme",G="Invalid host",W="Invalid port",V=/[a-z]/i,K=/[\d+-.a-z]/i,Y=/\d/,J=/^0x/i,Z=/^[0-7]+$/,Q=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+/,ae=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ie=/[\t\n\r]/g,oe=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)q(t,e%256),e=E(e/256);return D(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,i=0;i<8;i++)0!==e[i]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=i),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=B(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},se={},ce=p({},se,{" ":1,'"':1,"<":1,">":1,"`":1}),ue=p({},ce,{"#":1,"?":1,"{":1,"}":1}),le=p({},ue,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),he=function(e,t){var r=m(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},de=function(e,t){var r;return 2===e.length&&N(V,R(e,0))&&(":"===(r=R(e,1))||!t&&"|"===r)},pe=function(e){var t;return e.length>1&&de(X(e,0,2))&&(2===e.length||"/"===(t=R(e,2))||"\\"===t||"?"===t||"#"===t)},ge=function(e){return"."===e||"%2e"===H(e)},ve={},me={},ye={},be={},we={},ke={},xe={},Se={},Ae={},Ce={},Oe={},Fe={},Ie={},Te={},Me={},Ee={},Pe={},Re={},Ne={},De={},Be={},Le=function(e,t,r){var n,a,i,o=b(e);if(t){if(a=this.parse(o))throw new T(a);this.searchParams=null}else{if(void 0!==r&&(n=new Le(r,!0)),a=this.parse(o,null,n))throw new T(a);(i=F(new O)).bindURL(this),this.searchParams=i}};Le.prototype={type:"URL",parse:function(e,t,r){var a,i,o,s,c,u=this,l=t||ve,h=0,f="",p=!1,m=!1,y=!1;for(e=b(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=j(e,ne,""),e=j(e,ae,"$1")),e=j(e,ie,""),a=g(e);h<=a.length;){switch(i=a[h],l){case ve:if(!i||!N(V,i)){if(t)return z;l=ye;continue}f+=H(i),l=me;break;case me:if(i&&(N(K,i)||"+"===i||"-"===i||"."===i))f+=H(i);else{if(":"!==i){if(t)return z;f="",l=ye,h=0;continue}if(t&&(u.isSpecial()!==d(fe,f)||"file"===f&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=f,t)return void(u.isSpecial()&&fe[u.scheme]===u.port&&(u.port=null));f="","file"===u.scheme?l=Te:u.isSpecial()&&r&&r.scheme===u.scheme?l=be:u.isSpecial()?l=Se:"/"===a[h+1]?(l=we,h++):(u.cannotBeABaseURL=!0,_(u.path,""),l=Ne)}break;case ye:if(!r||r.cannotBeABaseURL&&"#"!==i)return z;if(r.cannotBeABaseURL&&"#"===i){u.scheme=r.scheme,u.path=v(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,l=Be;break}l="file"===r.scheme?Te:ke;continue;case be:if("/"!==i||"/"!==a[h+1]){l=ke;continue}l=Ae,h++;break;case we:if("/"===i){l=Ce;break}l=Re;continue;case ke:if(u.scheme=r.scheme,i===n)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=v(r.path),u.query=r.query;else if("/"===i||"\\"===i&&u.isSpecial())l=xe;else if("?"===i)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=v(r.path),u.query="",l=De;else{if("#"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=v(r.path),u.path.length--,l=Re;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=v(r.path),u.query=r.query,u.fragment="",l=Be}break;case xe:if(!u.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,l=Re;continue}l=Ce}else l=Ae;break;case Se:if(l=Ae,"/"!==i||"/"!==R(f,h+1))continue;h++;break;case Ae:if("/"!==i&&"\\"!==i){l=Ce;continue}break;case Ce:if("@"===i){p&&(f="%40"+f),p=!0,o=g(f);for(var w=0;w<o.length;w++){var k=o[w];if(":"!==k||y){var x=he(k,le);y?u.password+=x:u.username+=x}else y=!0}f=""}else if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()){if(p&&""===f)return"Invalid authority";h-=g(f).length+1,f="",l=Oe}else f+=i;break;case Oe:case Fe:if(t&&"file"===u.scheme){l=Ee;continue}if(":"!==i||m){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()){if(u.isSpecial()&&""===f)return G;if(t&&""===f&&(u.includesCredentials()||null!==u.port))return;if(s=u.parseHost(f))return s;if(f="",l=Pe,t)return;continue}"["===i?m=!0:"]"===i&&(m=!1),f+=i}else{if(""===f)return G;if(s=u.parseHost(f))return s;if(f="",l=Ie,t===Fe)return}break;case Ie:if(!N(Y,i)){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()||t){if(""!==f){var S=M(f,10);if(S>65535)return W;u.port=u.isSpecial()&&S===fe[u.scheme]?null:S,f=""}if(t)return;l=Pe;continue}return W}f+=i;break;case Te:if(u.scheme="file","/"===i||"\\"===i)l=Me;else{if(!r||"file"!==r.scheme){l=Re;continue}switch(i){case n:u.host=r.host,u.path=v(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=v(r.path),u.query="",l=De;break;case"#":u.host=r.host,u.path=v(r.path),u.query=r.query,u.fragment="",l=Be;break;default:pe(D(v(a,h),""))||(u.host=r.host,u.path=v(r.path),u.shortenPath()),l=Re;continue}}break;case Me:if("/"===i||"\\"===i){l=Ee;break}r&&"file"===r.scheme&&!pe(D(v(a,h),""))&&(de(r.path[0],!0)?_(u.path,r.path[0]):u.host=r.host),l=Re;continue;case Ee:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&de(f))l=Re;else if(""===f){if(u.host="",t)return;l=Pe}else{if(s=u.parseHost(f))return s;if("localhost"===u.host&&(u.host=""),t)return;f="",l=Pe}continue}f+=i;break;case Pe:if(u.isSpecial()){if(l=Re,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==n&&(l=Re,"/"!==i))continue}else u.fragment="",l=Be;else u.query="",l=De;break;case Re:if(i===n||"/"===i||"\\"===i&&u.isSpecial()||!t&&("?"===i||"#"===i)){if(".."===(c=H(c=f))||"%2e."===c||".%2e"===c||"%2e%2e"===c?(u.shortenPath(),"/"===i||"\\"===i&&u.isSpecial()||_(u.path,"")):ge(f)?"/"===i||"\\"===i&&u.isSpecial()||_(u.path,""):("file"===u.scheme&&!u.path.length&&de(f)&&(u.host&&(u.host=""),f=R(f,0)+":"),_(u.path,f)),f="","file"===u.scheme&&(i===n||"?"===i||"#"===i))for(;u.path.length>1&&""===u.path[0];)U(u.path);"?"===i?(u.query="",l=De):"#"===i&&(u.fragment="",l=Be)}else f+=he(i,ue);break;case Ne:"?"===i?(u.query="",l=De):"#"===i?(u.fragment="",l=Be):i!==n&&(u.path[0]+=he(i,se));break;case De:t||"#"!==i?i!==n&&("'"===i&&u.isSpecial()?u.query+="%27":u.query+="#"===i?"%23":he(i,se)):(u.fragment="",l=Be);break;case Be:i!==n&&(u.fragment+=he(i,ce))}h++}},parseHost:function(e){var t,r,n;if("["===R(e,0)){if("]"!==R(e,e.length-1))return G;if(t=function(e){var t,r,n,a,i,o,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,h=0,f=function(){return R(e,h)};if(":"===f()){if(":"!==R(e,1))return;h+=2,l=++u}for(;f();){if(8===u)return;if(":"!==f()){for(t=r=0;r<4&&N(ee,f());)t=16*t+M(f(),16),h++,r++;if("."===f()){if(0===r)return;if(h-=r,u>6)return;for(n=0;f();){if(a=null,n>0){if(!("."===f()&&n<4))return;h++}if(!N(Y,f()))return;for(;N(Y,f());){if(i=M(f(),10),null===a)a=i;else{if(0===a)return;a=10*a+i}if(a>255)return;h++}c[u]=256*c[u]+a,2!=++n&&4!==n||u++}if(4!==n)return;break}if(":"===f()){if(h++,!f())return}else if(f())return;c[u++]=t}else{if(null!==l)return;h++,l=++u}}if(null!==l)for(o=u-l,u=7;0!==u&&o>0;)s=c[u],c[u--]=c[l+o-1],c[l+--o]=s;else if(8!==u)return;return c}(X(e,1,-1)),!t)return G;this.host=t}else if(this.isSpecial()){if(e=y(e),N(te,e))return G;if(t=function(e){var t,r,n,a,i,o,s,c=$(e,".");if(c.length&&""===c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(a=c[n]))return e;if(i=10,a.length>1&&"0"===R(a,0)&&(i=N(J,a)?16:8,a=X(a,8===i?1:2)),""===a)o=0;else{if(!N(10===i?Q:8===i?Z:ee,a))return e;o=M(a,i)}_(r,o)}for(n=0;n<t;n++)if(o=r[n],n===t-1){if(o>=P(256,5-t))return null}else if(o>255)return null;for(s=L(r),n=0;n<r.length;n++)s+=r[n]*P(256,3-n);return s}(e),null===t)return G;this.host=t}else{if(N(re,e))return G;for(t="",r=g(e),n=0;n<r.length;n++)t+=he(r[n],se);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return d(fe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&de(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,i=e.port,o=e.path,s=e.query,c=e.fragment,u=t+":";return null!==a?(u+="//",e.includesCredentials()&&(u+=r+(n?":"+n:"")+"@"),u+=oe(a),null!==i&&(u+=":"+i)):"file"===t&&(u+="//"),u+=e.cannotBeABaseURL?o[0]:o.length?"/"+D(o,"/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},setHref:function(e){var t=this.parse(e);if(t)throw new T(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new _e(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+oe(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",ve)},getUsername:function(){return this.username},setUsername:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=he(t[r],le)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=he(t[r],le)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?oe(e):oe(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Oe)},getHostname:function(){var e=this.host;return null===e?"":oe(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Fe)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=b(e))?this.port=null:this.parse(e,Ie))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+D(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Pe))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=b(e))?this.query=null:("?"===R(e,0)&&(e=X(e,1)),this.query="",this.parse(e,De)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=b(e))?("#"===R(e,0)&&(e=X(e,1)),this.fragment="",this.parse(e,Be)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var _e=function(e){var t=f(this,je),r=k(arguments.length,1)>1?arguments[1]:void 0,n=A(t,new Le(e,!1,r));i||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},je=_e.prototype,Ue=function(e,t){return{get:function(){return C(this)[e]()},set:t&&function(e){return C(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(h(je,"href",Ue("serialize","setHref")),h(je,"origin",Ue("getOrigin")),h(je,"protocol",Ue("getProtocol","setProtocol")),h(je,"username",Ue("getUsername","setUsername")),h(je,"password",Ue("getPassword","setPassword")),h(je,"host",Ue("getHost","setHost")),h(je,"hostname",Ue("getHostname","setHostname")),h(je,"port",Ue("getPort","setPort")),h(je,"pathname",Ue("getPathname","setPathname")),h(je,"search",Ue("getSearch","setSearch")),h(je,"searchParams",Ue("getSearchParams")),h(je,"hash",Ue("getHash","setHash"))),l(je,"toJSON",(function(){return C(this).serialize()}),{enumerable:!0}),l(je,"toString",(function(){return C(this).serialize()}),{enumerable:!0}),I){var $e=I.createObjectURL,Xe=I.revokeObjectURL;$e&&l(_e,"createObjectURL",c($e,I)),Xe&&l(_e,"revokeObjectURL",c(Xe,I))}w(_e,"URL"),a({global:!0,constructor:!0,forced:!o,sham:!i},{URL:_e})},353:(e,t,r)=>{r(5955)}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),(()=>{var e,t;function n(e,t,r){return(t=R(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(){return a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(arguments.length<3?e:r):a.value}},a.apply(this,arguments)}function i(e,t){c(e,t),t.add(e)}function o(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function s(e,t,r){c(e,t),t.set(e,r)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,h(e,t,"get"))}function l(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,h(e,t,"set"),r),r}function h(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function f(e){return function(e){if(Array.isArray(e))return O(e)}(e)||w(e)||C(e)||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 d(e,t,r){return t=m(t),p(e,v()?Reflect.construct(t,r||[],m(e).constructor):t.apply(e,r))}function p(e,t){if(t&&("object"===N(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function w(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function k(){k=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),s=new E(n||[]);return a(o,"_invoke",{value:F(e,r,s)}),o}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var f="suspendedStart",d="suspendedYield",p="executing",g="completed",v={};function m(){}function y(){}function b(){}var w={};u(w,o,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(P([])));S&&S!==r&&n.call(S,o)&&(w=S);var A=b.prototype=m.prototype=Object.create(w);function C(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(a,i,o,s){var c=h(e[a],e,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==N(l)&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,o,s)}),(function(e){r("throw",e,o,s)})):t.resolve(l).then((function(e){u.value=e,o(u)}),(function(e){return r("throw",e,o,s)}))}s(c.arg)}var i;a(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,a){r(e,n,t,a)}))}return i=i?i.then(a,a):a()}})}function F(t,r,n){var a=f;return function(i,o){if(a===p)throw new Error("Generator is already running");if(a===g){if("throw"===i)throw o;return{value:e,done:!0}}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var c=I(s,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=p;var u=h(t,r,n);if("normal"===u.type){if(a=n.done?g:d,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.arg)}}}function I(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,I(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=h(a,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var o=i.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function P(t){if(t||""===t){var r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(N(t)+" is not iterable")}return y.prototype=b,a(A,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:y,configurable:!0}),y.displayName=u(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,c,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},C(O.prototype),u(O.prototype,s,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,a,i){void 0===i&&(i=Promise);var o=new O(l(e,r,n,a),i);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},C(A),u(A,c,"Generator"),u(A,o,(function(){return this})),u(A,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return s.type="throw",s.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),M(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;M(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function x(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=C(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function S(e,t){return F(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,o,s=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){u=!0,a=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}(e,t)||C(e,t)||A()}function A(){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 C(e,t){if(e){if("string"==typeof e)return O(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(e,t):void 0}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function F(e){if(Array.isArray(e))return e}function I(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function T(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){I(i,n,a,o,s,"next",e)}function s(e){I(i,n,a,o,s,"throw",e)}o(void 0)}))}}function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,R(n.key),n)}}function P(e,t,r){return t&&E(e.prototype,t),r&&E(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function R(e){var t=function(e,t){if("object"!=N(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=N(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==N(t)?t:String(t)}function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}r(6568),r(4891),r(4199),r(3313),r(7154),r(5849),r(950),r(8019),r(9753),r(7543),r(8400),r(5526),r(3174),r(4410),r(6601),r(7527),r(4303),r(2457),r(8151),r(8134),r(6359),r(5040),r(262),r(2607),r(1963),r(8035),r(7987),r(1134),r(9131),r(3956),r(4085),r(5683),r(9529),r(9964),r(6506),r(8227),r(3990),r(9012),r(2101),r(6484),r(9242),r(4996),r(9086),r(9278),r(2376),r(6109),r(9800),r(7283),r(662),r(6433),r(1063),r(1788),r(2437),r(12),r(7874),r(5900),r(9064),r(970),r(7081),r(2076),r(5288),r(7375),r(4346),r(6963),r(3781),r(8008),r(5222),r(9253),r(8206),r(7118),r(678),r(3292),r(6891),r(5112),r(353),r(1279),r(2693),r(1325),r(6882),r(8794),r(2754),r(34),r(2352),r(761),r(6375),r(6552),r(6773),r(1464),r(8950),r(5489),r(2361),r(4601),r(9336),r(6053),r(6897),r(4411),r(2170),r(39),r(973),r(3192),r(2859),r(2258),r(3049),r(4597),r(2363),r(3103),r(7213),r(8725),r(3371),r(6399),r(5055),r(2524),r(389),r(7680),r(3614),r(9048),r(3871),r(4295),r(6104),r(1382),r(3143),r(4200),r(3991),r(2168),r(8942),r(9840),r(4881),r(7198),r(8403),r(4769),r(6106),r(5328),r(333),r(2342),r(9814),r(4345),r(1591),r(275),e=globalThis,t=function(){return function(){var e=[,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.WorkerTask=t.WorkerMessageHandler=void 0,r(2),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(116),r(126),r(128),r(131),r(133),r(135),r(137),r(139),r(143);var n=r(144),a=r(149),i=r(150),o=r(152),s=r(156),c=r(222),u=r(216),l=r(257),h=r(258),f=function(){function e(t){M(this,e),this.name=t,this.terminated=!1,this._capability=new n.PromiseCapability}return P(e,[{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")}}]),e}();t.WorkerTask=f;var d=function(){function e(){M(this,e)}return P(e,null,[{key:"setup",value:function(t,r){var a=!1;t.on("test",(function(e){a||(a=!0,t.send("test",e instanceof Uint8Array))})),t.on("configure",(function(e){(0,n.setVerbosityLevel)(e.verbosity)})),t.on("GetDocRequest",(function(t){return e.createDocumentHandler(t,r)}))}},{key:"createDocumentHandler",value:function(e,t){var r,d=!1,p=null,g=new Set,v=(0,n.getVerbosityLevel)(),m=e,y=m.docId,b=m.apiVersion,O="3.9.179";if(b!==O)throw new Error('The API version "'.concat(b,'" does not match the Worker version "').concat(O,'".'));var I=[];for(var M in[])I.push(M);if(I.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+I.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");var E=y+"_worker",P=new l.MessageHandler(E,y,t);function R(){if(d)throw new Error("Worker was terminated")}function N(e){g.add(e)}function D(e){e.finish(),g.delete(e)}function B(e){return L.apply(this,arguments)}function L(){return L=T(k().mark((function e(t){var n,a,i,o,s,c;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.ensureDoc("checkHeader");case 2:return e.next=4,r.ensureDoc("parseStartXRef");case 4:return e.next=6,r.ensureDoc("parse",[t]);case 6:return e.next=8,r.ensureDoc("checkFirstPage",[t]);case 8:return e.next=10,r.ensureDoc("checkLastPage",[t]);case 10:return e.next=12,r.ensureDoc("isPureXfa");case 12:if(!(n=e.sent)){e.next=18;break}return N(a=new f("loadXfaFonts")),e.next=18,Promise.all([r.loadXfaFonts(P,a).catch((function(e){})).then((function(){return D(a)})),r.loadXfaImages()]);case 18:return e.next=20,Promise.all([r.ensureDoc("numPages"),r.ensureDoc("fingerprints")]);case 20:if(i=e.sent,o=S(i,2),s=o[0],c=o[1],e.t0=s,e.t1=c,!n){e.next=32;break}return e.next=29,r.ensureDoc("htmlForXfa");case 29:e.t2=e.sent,e.next=33;break;case 32:e.t2=null;case 33:return e.t3=e.t2,e.abrupt("return",{numPages:e.t0,fingerprints:e.t1,htmlForXfa:e.t3});case 35:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}return P.on("GetPage",(function(e){return r.getPage(e.pageIndex).then((function(e){return Promise.all([r.ensure(e,"rotate"),r.ensure(e,"ref"),r.ensure(e,"userUnit"),r.ensure(e,"view")]).then((function(e){var t=S(e,4);return{rotate:t[0],ref:t[1],userUnit:t[2],view:t[3]}}))}))})),P.on("GetPageIndex",(function(e){var t=i.Ref.get(e.num,e.gen);return r.ensureCatalog("getPageIndex",[t])})),P.on("GetDestinations",(function(e){return r.ensureCatalog("destinations")})),P.on("GetDestination",(function(e){return r.ensureCatalog("getDestination",[e.id])})),P.on("GetPageLabels",(function(e){return r.ensureCatalog("pageLabels")})),P.on("GetPageLayout",(function(e){return r.ensureCatalog("pageLayout")})),P.on("GetPageMode",(function(e){return r.ensureCatalog("pageMode")})),P.on("GetViewerPreferences",(function(e){return r.ensureCatalog("viewerPreferences")})),P.on("GetOpenAction",(function(e){return r.ensureCatalog("openAction")})),P.on("GetAttachments",(function(e){return r.ensureCatalog("attachments")})),P.on("GetJavaScript",(function(e){return r.ensureCatalog("javaScript")})),P.on("GetDocJSActions",(function(e){return r.ensureCatalog("jsActions")})),P.on("GetPageJSActions",(function(e){var t=e.pageIndex;return r.getPage(t).then((function(e){return r.ensure(e,"jsActions")}))})),P.on("GetOutline",(function(e){return r.ensureCatalog("documentOutline")})),P.on("GetOptionalContentConfig",(function(e){return r.ensureCatalog("optionalContentConfig")})),P.on("GetPermissions",(function(e){return r.ensureCatalog("permissions")})),P.on("GetMetadata",(function(e){return Promise.all([r.ensureDoc("documentInfo"),r.ensureCatalog("metadata")])})),P.on("GetMarkInfo",(function(e){return r.ensureCatalog("markInfo")})),P.on("GetData",(function(e){return r.requestLoadedStream().then((function(e){return e.bytes}))})),P.on("GetAnnotations",(function(e){var t=e.pageIndex,n=e.intent;return r.getPage(t).then((function(e){var r=new f("GetAnnotations: page ".concat(t));return N(r),e.getAnnotationsData(P,r,n).then((function(e){return D(r),e}),(function(e){throw D(r),e}))}))})),P.on("GetFieldObjects",(function(e){return r.ensureDoc("fieldObjects")})),P.on("HasJSActions",(function(e){return r.ensureDoc("hasJSActions")})),P.on("GetCalculationOrderIds",(function(e){return r.ensureDoc("calculationOrderIds")})),P.on("SaveDocument",function(){var e=T(k().mark((function e(t){var o,c,l,h,d,p,g,v,m,y,b,O,I;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.isPureXfa,c=t.numPages,l=t.annotationStorage,h=t.filename,d=[r.requestLoadedStream(),r.ensureCatalog("acroForm"),r.ensureCatalog("acroFormRef"),r.ensureDoc("startXRef"),r.ensureDoc("linearization")],p=o?null:(0,a.getNewAnnotationsMap)(l),e.next=5,r.ensureDoc("xref");case 5:if(g=e.sent,!p){e.next=24;break}v=s.AnnotationFactory.generateImages(l.values(),g,r.evaluatorOptions.isOffscreenCanvasSupported),m=x(p),e.prev=9,b=k().mark((function e(){var t,n,a;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=S(y.value,2),n=t[0],a=t[1],d.push(r.getPage(n).then((function(e){var t=new f("Save (editor): page ".concat(n));return e.saveNewAnnotations(P,t,a,v).finally((function(){D(t)}))})));case 2:case"end":return e.stop()}}),e)})),m.s();case 12:if((y=m.n()).done){e.next=16;break}return e.delegateYield(b(),"t0",14);case 14:e.next=12;break;case 16:e.next=21;break;case 18:e.prev=18,e.t1=e.catch(9),m.e(e.t1);case 21:return e.prev=21,m.f(),e.finish(21);case 24:if(!o){e.next=28;break}d.push(r.serializeXfaData(l)),e.next=35;break;case 28:O=k().mark((function e(t){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d.push(r.getPage(t).then((function(e){var r=new f("Save: page ".concat(t));return e.save(P,r,l).finally((function(){D(r)}))})));case 1:case"end":return e.stop()}}),e)})),I=0;case 30:if(!(I<c)){e.next=35;break}return e.delegateYield(O(I),"t2",32);case 32:I++,e.next=30;break;case 35:return e.abrupt("return",Promise.all(d).then((function(e){var t,r=F(t=e)||w(t)||C(t)||A(),a=r[0],s=r[1],c=r[2],l=r[3],f=r[4],d=r.slice(5),p=[],v=null;if(o){if(!(v=d[0]))return a.bytes}else if(0===(p=d.flat(2)).length)return a.bytes;var m=c&&s instanceof i.Dict&&p.some((function(e){return e.needAppearances})),y=s instanceof i.Dict&&s.get("XFA")||null,b=null,k=!1;if(Array.isArray(y)){for(var x=0,S=y.length;x<S;x+=2)"datasets"===y[x]&&(b=y[x+1],k=!0);null===b&&(b=g.getNewTemporaryRef())}else y&&(0,n.warn)("Unsupported XFA type.");var O=Object.create(null);if(g.trailer){var I,T=Object.create(null),M=g.trailer.get("Info")||null;M instanceof i.Dict&&M.forEach((function(e,t){"string"==typeof t&&(T[e]=(0,n.stringToPDFString)(t))})),O={rootRef:g.trailer.getRaw("Root")||null,encryptRef:g.trailer.getRaw("Encrypt")||null,newRef:g.getNewTemporaryRef(),infoRef:g.trailer.getRaw("Info")||null,info:T,fileIds:g.trailer.get("ID")||null,startXRef:f?l:null!==(I=g.lastXRefStreamPos)&&void 0!==I?I:l,filename:h}}return(0,u.incrementalUpdate)({originalData:a.bytes,xrefInfo:O,newRefs:p,xref:g,hasXfa:!!y,xfaDatasetsRef:b,hasXfaDatasetsEntry:k,needAppearances:m,acroFormRef:c,acroForm:s,xfaData:v}).finally((function(){g.resetNewTemporaryRef()}))})));case 36:case"end":return e.stop()}}),e,null,[[9,18,21,24]])})));return function(t){return e.apply(this,arguments)}}()),P.on("GetOperatorList",(function(e,t){var a=e.pageIndex;r.getPage(a).then((function(r){var i=new f("GetOperatorList: page ".concat(a));N(i);var o=v>=n.VerbosityLevel.INFOS?Date.now():0;r.getOperatorList({handler:P,sink:t,task:i,intent:e.intent,cacheKey:e.cacheKey,annotationStorage:e.annotationStorage}).then((function(e){D(i),o&&(0,n.info)("page=".concat(a+1," - getOperatorList: time=").concat(Date.now()-o,"ms, len=").concat(e.length)),t.close()}),(function(e){D(i),i.terminated||t.error(e)}))}))})),P.on("GetTextContent",(function(e,t){var a=e.pageIndex,i=e.includeMarkedContent,o=e.disableNormalization;r.getPage(a).then((function(e){var r=new f("GetTextContent: page "+a);N(r);var s=v>=n.VerbosityLevel.INFOS?Date.now():0;e.extractTextContent({handler:P,task:r,sink:t,includeMarkedContent:i,disableNormalization:o}).then((function(){D(r),s&&(0,n.info)("page=".concat(a+1," - getTextContent: time=")+(Date.now()-s)+"ms"),t.close()}),(function(e){D(r),r.terminated||t.error(e)}))}))})),P.on("GetStructTree",(function(e){return r.getPage(e.pageIndex).then((function(e){return r.ensure(e,"getStructTree")}))})),P.on("FontFallback",(function(e){return r.fontFallback(e.id,P)})),P.on("Cleanup",(function(e){return r.cleanup(!0)})),P.on("Terminate",(function(e){d=!0;var t=[];if(r){r.terminate(new n.AbortException("Worker was terminated."));var a=r.cleanup();t.push(a),r=null}else(0,c.clearGlobalCaches)();p&&p(new n.AbortException("Worker was terminated."));var i,o=x(g);try{for(o.s();!(i=o.n()).done;){var s=i.value;t.push(s.finished),s.terminate()}}catch(e){o.e(e)}finally{o.f()}return Promise.all(t).then((function(){P.destroy(),P=null}))})),P.on("Ready",(function(t){!function(e){function t(e){R(),P.send("GetDoc",{pdfInfo:e})}function i(e){if(R(),e instanceof n.PasswordException){var t=new f("PasswordException: response ".concat(e.code));N(t),P.sendWithPromise("PasswordRequest",e).then((function(e){var n=e.password;D(t),r.updatePassword(n),s()})).catch((function(){D(t),P.send("DocException",e)}))}else e instanceof n.InvalidPDFException||e instanceof n.MissingPDFException||e instanceof n.UnexpectedResponseException||e instanceof n.UnknownErrorException?P.send("DocException",e):P.send("DocException",new n.UnknownErrorException(e.message,e.toString()))}function s(){R(),B(!1).then(t,(function(e){R(),e instanceof a.XRefParseException?r.requestLoadedStream().then((function(){R(),B(!0).then(t,i)})):i(e)}))}R(),function(e){var t,r=e.data,i=e.password,s=e.disableAutoFetch,c=e.rangeChunkSize,u=e.length,l=e.docBaseUrl,f=e.enableXfa,d=e.evaluatorOptions,g={source:null,disableAutoFetch:s,docBaseUrl:l,docId:y,enableXfa:f,evaluatorOptions:d,handler:P,length:u,password:i,rangeChunkSize:c},v=new n.PromiseCapability;if(r){try{g.source=r,t=new o.LocalPdfManager(g),v.resolve(t)}catch(e){v.reject(e)}return v.promise}var m,b=[];try{m=new h.PDFWorkerStream(P)}catch(e){return v.reject(e),v.promise}var w=m.getFullReader();w.headersReady.then((function(){if(w.isRangeSupported){g.source=m,g.length=w.contentLength,g.disableAutoFetch||(g.disableAutoFetch=w.isStreamingSupported),t=new o.NetworkPdfManager(g);for(var e=0,r=b;e<r.length;e++){var n=r[e];t.sendProgressiveData(n)}b=[],v.resolve(t),p=null}})).catch((function(e){v.reject(e),p=null}));var k=0;return new Promise((function(e,r){w.read().then((function e(i){var s=i.value,c=i.done;try{if(R(),c)return t||function(){var e=(0,a.arrayBuffersToBytes)(b);u&&e.length!==u&&(0,n.warn)("reported HTTP length is different from actual");try{g.source=e,t=new o.LocalPdfManager(g),v.resolve(t)}catch(e){v.reject(e)}b=[]}(),void(p=null);k+=s.byteLength,w.isStreamingSupported||P.send("DocProgress",{loaded:k,total:Math.max(k,w.contentLength||0)}),t?t.sendProgressiveData(s):b.push(s),w.read().then(e,r)}catch(i){r(i)}}),r)})).catch((function(e){v.reject(e),p=null})),p=function(e){m.cancelAllRequests(e)},v.promise}(e).then((function(e){if(d)throw e.terminate(new n.AbortException("Worker was terminated.")),new Error("Worker was terminated");(r=e).requestLoadedStream(!0).then((function(e){P.send("DataLoaded",{length:e.bytes.byteLength})}))})).then(s,i)}(e),e=null})),E}},{key:"initializeFromPort",value:function(t){var r=new l.MessageHandler("worker","main",t);e.setup(r,t),r.send("ready",null)}}]),e}();t.WorkerMessageHandler=d,"undefined"==typeof window&&!n.isNodeJS&&"undefined"!=typeof self&&function(e){return"function"==typeof e.postMessage&&"onmessage"in e}(self)&&d.initializeFromPort(self)},function(e,t,r){var n=r(3),a=r(4),i=r(69),o=r(70),s="WebAssembly",c=a[s],u=7!==Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},h=function(e,t){if(c&&c[e]){var r={};r[e]=o(s+"."+e,t,u),n({target:s,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),h("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),h("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),h("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},function(e,t,r){var n=r(4),a=r(5).f,i=r(44),o=r(48),s=r(38),c=r(56),u=r(68);e.exports=function(e,t){var r,l,h,f,d,p=e.target,g=e.global,v=e.stat;if(r=g?n:v?n[p]||s(p,{}):(n[p]||{}).prototype)for(l in t){if(f=t[l],h=e.dontCallGetSet?(d=a(r,l))&&d.value:r[l],!u(g?l:p+(v?".":"#")+l,e.forced)&&void 0!==h){if(N(f)==N(h))continue;c(f,h)}(e.sham||h&&h.sham)&&i(f,"sham",!0),o(r,l,f,e)}}},function(e){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==("undefined"==typeof globalThis?"undefined":N(globalThis))&&globalThis)||t("object"==("undefined"==typeof window?"undefined":N(window))&&window)||t("object"==("undefined"==typeof self?"undefined":N(self))&&self)||t("object"==("undefined"==typeof global?"undefined":N(global))&&global)||function(){return this}()||this||Function("return this")()},function(e,t,r){var n=r(6),a=r(8),i=r(10),o=r(11),s=r(12),c=r(18),u=r(39),l=r(42),h=Object.getOwnPropertyDescriptor;t.f=n?h:function(e,t){if(e=s(e),t=c(t),l)try{return h(e,t)}catch(e){}if(u(e,t))return o(!a(i.f,e,t),e[t])}},function(e,t,r){var n=r(7);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(9),a=Function.prototype.call;e.exports=n?a.bind(a):function(){return a.apply(a,arguments)}},function(e,t,r){var n=r(7);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t){var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,a=n&&!r.call({1:2},1);t.f=a?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n=r(13),a=r(16);e.exports=function(e){return n(a(e))}},function(e,t,r){var n=r(14),a=r(7),i=r(15),o=Object,s=n("".split);e.exports=a((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):o(e)}:o},function(e,t,r){var n=r(9),a=Function.prototype,i=a.call,o=n&&a.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},function(e,t,r){var n=r(14),a=n({}.toString),i=n("".slice);e.exports=function(e){return i(a(e),8,-1)}},function(e,t,r){var n=r(17),a=TypeError;e.exports=function(e){if(n(e))throw a("Can't call method on "+e);return e}},function(e){e.exports=function(e){return null==e}},function(e,t,r){var n=r(19),a=r(23);e.exports=function(e){var t=n(e,"string");return a(t)?t:t+""}},function(e,t,r){var n=r(8),a=r(20),i=r(23),o=r(30),s=r(33),c=r(34),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!a(e)||i(e))return e;var r,c=o(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!a(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},function(e,t,r){var n=r(21),a=r(22),i=a.all;e.exports=a.IS_HTMLDDA?function(e){return"object"==N(e)?null!==e:n(e)||e===i}:function(e){return"object"==N(e)?null!==e:n(e)}},function(e,t,r){var n=r(22),a=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===a}:function(e){return"function"==typeof e}},function(e){var t="object"==("undefined"==typeof document?"undefined":N(document))&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},function(e,t,r){var n=r(24),a=r(21),i=r(25),o=r(26),s=Object;e.exports=o?function(e){return"symbol"==N(e)}:function(e){var t=n("Symbol");return a(t)&&i(t.prototype,s(e))}},function(e,t,r){var n=r(4),a=r(21);e.exports=function(e,t){return arguments.length<2?(r=n[e],a(r)?r:void 0):n[e]&&n[e][t];var r}},function(e,t,r){var n=r(14);e.exports=n({}.isPrototypeOf)},function(e,t,r){var n=r(27);e.exports=n&&!Symbol.sham&&"symbol"==N(Symbol.iterator)},function(e,t,r){var n=r(28),a=r(7),i=r(4).String;e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(e,t,r){var n,a,i=r(4),o=r(29),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(a=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!a&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(a=+n[1]),e.exports=a},function(e){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(e,t,r){var n=r(31),a=r(17);e.exports=function(e,t){var r=e[t];return a(r)?void 0:n(r)}},function(e,t,r){var n=r(21),a=r(32),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(a(e)+" is not a function")}},function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},function(e,t,r){var n=r(8),a=r(21),i=r(20),o=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&a(r=e.toString)&&!i(s=n(r,e)))return s;if(a(r=e.valueOf)&&!i(s=n(r,e)))return s;if("string"!==t&&a(r=e.toString)&&!i(s=n(r,e)))return s;throw o("Can't convert object to primitive value")}},function(e,t,r){var n=r(4),a=r(35),i=r(39),o=r(41),s=r(27),c=r(26),u=n.Symbol,l=a("wks"),h=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=s&&i(u,e)?u[e]:h("Symbol."+e)),l[e]}},function(e,t,r){var n=r(36),a=r(37);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e){e.exports=!1},function(e,t,r){var n=r(4),a=r(38),i="__core-js_shared__",o=n[i]||a(i,{});e.exports=o},function(e,t,r){var n=r(4),a=Object.defineProperty;e.exports=function(e,t){try{a(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},function(e,t,r){var n=r(14),a=r(40),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(a(e),t)}},function(e,t,r){var n=r(16),a=Object;e.exports=function(e){return a(n(e))}},function(e,t,r){var n=r(14),a=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++a+i,36)}},function(e,t,r){var n=r(6),a=r(7),i=r(43);e.exports=!n&&!a((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(4),a=r(20),i=n.document,o=a(i)&&a(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){var n=r(6),a=r(45),i=r(11);e.exports=n?function(e,t,r){return a.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(6),a=r(42),i=r(46),o=r(47),s=r(18),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";t.f=n?i?function(e,t,r){if(o(e),t=s(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=l(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:h in r?r[h]:n[h],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=s(t),o(r),a)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(6),a=r(7);e.exports=n&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,r){var n=r(20),a=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(a(e)+" is not an object")}},function(e,t,r){var n=r(21),a=r(45),i=r(49),o=r(38);e.exports=function(e,t,r,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&i(r,u,s),s.global)c?e[t]=r:o(t,r);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:a.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},function(e,t,r){var n=r(14),a=r(7),i=r(21),o=r(39),s=r(6),c=r(50).CONFIGURABLE,u=r(51),l=r(52),h=l.enforce,f=l.get,d=String,p=Object.defineProperty,g=n("".slice),v=n("".replace),m=n([].join),y=s&&!a((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===g(d(t),0,7)&&(t="["+v(d(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&o(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=h(e);return o(n,"source")||(n.source=m(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&f(this).source||u(this)}),"toString")},function(e,t,r){var n=r(6),a=r(39),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=a(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},function(e,t,r){var n=r(14),a=r(21),i=r(37),o=n(Function.toString);a(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},function(e,t,r){var n,a,i,o=r(53),s=r(4),c=r(20),u=r(44),l=r(39),h=r(37),f=r(54),d=r(55),p="Object already initialized",g=s.TypeError,v=s.WeakMap;if(o||h.state){var m=h.state||(h.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,n=function(e,t){if(m.has(e))throw g(p);return t.facade=e,m.set(e,t),t},a=function(e){return m.get(e)||{}},i=function(e){return m.has(e)}}else{var y=f("state");d[y]=!0,n=function(e,t){if(l(e,y))throw g(p);return t.facade=e,u(e,y,t),t},a=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:n,get:a,has:i,enforce:function(e){return i(e)?a(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=a(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){var n=r(4),a=r(21),i=n.WeakMap;e.exports=a(i)&&/native code/.test(String(i))},function(e,t,r){var n=r(35),a=r(41),i=n("keys");e.exports=function(e){return i[e]||(i[e]=a(e))}},function(e){e.exports={}},function(e,t,r){var n=r(39),a=r(57),i=r(5),o=r(45);e.exports=function(e,t,r){for(var s=a(t),c=o.f,u=i.f,l=0;l<s.length;l++){var h=s[l];n(e,h)||r&&n(r,h)||c(e,h,u(t,h))}}},function(e,t,r){var n=r(24),a=r(14),i=r(58),o=r(67),s=r(47),c=a([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=o.f;return r?c(t,r(e)):t}},function(e,t,r){var n=r(59),a=r(66).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},function(e,t,r){var n=r(14),a=r(39),i=r(12),o=r(60).indexOf,s=r(55),c=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!a(s,r)&&a(n,r)&&c(l,r);for(;t.length>u;)a(n,r=t[u++])&&(~o(l,r)||c(l,r));return l}},function(e,t,r){var n=r(12),a=r(61),i=r(64),o=function(e){return function(t,r,o){var s,c=n(t),u=i(c),l=a(o,u);if(e&&r!=r){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},function(e,t,r){var n=r(62),a=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?a(r+t,0):i(r,t)}},function(e,t,r){var n=r(63);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},function(e){var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},function(e,t,r){var n=r(65);e.exports=function(e){return n(e.length)}},function(e,t,r){var n=r(62),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(7),a=r(21),i=/#|\.prototype\./,o=function(e,t){var r=c[s(e)];return r==l||r!=u&&(a(t)?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},function(e,t,r){var n=r(9),a=Function.prototype,i=a.apply,o=a.call;e.exports="object"==("undefined"==typeof Reflect?"undefined":N(Reflect))&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},function(e,t,r){var n=r(24),a=r(39),i=r(44),o=r(25),s=r(71),c=r(56),u=r(74),l=r(75),h=r(76),f=r(80),d=r(81),p=r(6),g=r(36);e.exports=function(e,t,r,v){var m="stackTraceLimit",y=v?2:1,b=e.split("."),w=b[b.length-1],k=n.apply(null,b);if(k){var x=k.prototype;if(!g&&a(x,"cause")&&delete x.cause,!r)return k;var S=n("Error"),A=t((function(e,t){var r=h(v?t:e,void 0),n=v?new k(e):new k;return void 0!==r&&i(n,"message",r),d(n,A,n.stack,2),this&&o(x,this)&&l(n,this,A),arguments.length>y&&f(n,arguments[y]),n}));if(A.prototype=x,"Error"!==w?s?s(A,S):c(A,S,{name:!0}):p&&m in k&&(u(A,k,m),u(A,k,"prepareStackTrace")),c(A,k),!g)try{x.name!==w&&i(x,"name",w),x.constructor=A}catch(e){}return A}}},function(e,t,r){var n=r(72),a=r(47),i=r(73);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return a(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},function(e,t,r){var n=r(14),a=r(31);e.exports=function(e,t,r){try{return n(a(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},function(e,t,r){var n=r(21),a=String,i=TypeError;e.exports=function(e){if("object"==N(e)||n(e))return e;throw i("Can't set "+a(e)+" as a prototype")}},function(e,t,r){var n=r(45).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},function(e,t,r){var n=r(21),a=r(20),i=r(71);e.exports=function(e,t,r){var o,s;return i&&n(o=t.constructor)&&o!==r&&a(s=o.prototype)&&s!==r.prototype&&i(e,s),e}},function(e,t,r){var n=r(77);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},function(e,t,r){var n=r(78),a=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return a(e)}},function(e,t,r){var n=r(79),a=r(21),i=r(15),o=r(34)("toStringTag"),s=Object,c="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=s(e),o))?r:c?i(t):"Object"==(n=i(t))&&a(t.callee)?"Arguments":n}},function(e,t,r){var n={};n[r(34)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,r){var n=r(20),a=r(44);e.exports=function(e,t){n(t)&&"cause"in t&&a(e,"cause",t.cause)}},function(e,t,r){var n=r(44),a=r(82),i=r(83),o=Error.captureStackTrace;e.exports=function(e,t,r,s){i&&(o?o(e,t):n(e,"stack",a(r,s)))}},function(e,t,r){var n=r(14),a=Error,i=n("".replace),o=String(a("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!a.prepareStackTrace)for(;t--;)e=i(e,s,"");return e}},function(e,t,r){var n=r(7),a=r(11);e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",a(1,7)),7!==e.stack)}))},function(e,t,r){var n=r(85),a=r(90).findLast,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){var n,a,i,o=r(86),s=r(6),c=r(4),u=r(21),l=r(20),h=r(39),f=r(78),d=r(32),p=r(44),g=r(48),v=r(87),m=r(25),y=r(88),b=r(71),w=r(34),k=r(41),x=r(52),S=x.enforce,A=x.get,C=c.Int8Array,O=C&&C.prototype,F=c.Uint8ClampedArray,I=F&&F.prototype,T=C&&y(C),M=O&&y(O),E=Object.prototype,P=c.TypeError,R=w("toStringTag"),N=k("TYPED_ARRAY_TAG"),D="TypedArrayConstructor",B=o&&!!b&&"Opera"!==f(c.opera),L=!1,_={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j={BigInt64Array:8,BigUint64Array:8},U=function(e){if(!l(e))return!1;var t=f(e);return h(_,t)||h(j,t)};for(n in _)(i=(a=c[n])&&a.prototype)?S(i)[D]=a:B=!1;for(n in j)(i=(a=c[n])&&a.prototype)&&(S(i)[D]=a);if((!B||!u(T)||T===Function.prototype)&&(T=function(){throw P("Incorrect invocation")},B))for(n in _)c[n]&&b(c[n],T);if((!B||!M||M===E)&&(M=T.prototype,B))for(n in _)c[n]&&b(c[n].prototype,M);if(B&&y(I)!==M&&b(I,M),s&&!h(M,R))for(n in L=!0,v(M,R,{configurable:!0,get:function(){return l(this)?this[N]:void 0}}),_)c[n]&&p(c[n],N,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:B,TYPED_ARRAY_TAG:L&&N,aTypedArray:function(e){if(U(e))return e;throw P("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!b||m(T,e)))return e;throw P(d(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var a in _){var i=c[a];if(i&&h(i.prototype,e))try{delete i.prototype[e]}catch(r){try{i.prototype[e]=t}catch(e){}}}M[e]&&!r||g(M,e,r?t:B&&O[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,a;if(s){if(b){if(r)for(n in _)if((a=c[n])&&h(a,e))try{delete a[e]}catch(e){}if(T[e]&&!r)return;try{return g(T,e,r?t:B&&T[e]||t)}catch(e){}}for(n in _)!(a=c[n])||a[e]&&!r||g(a,e,t)}},getTypedArrayConstructor:function e(t){var r=y(t);if(l(r)){var n=A(r);return n&&h(n,D)?n[D]:e(r)}},isView:function(e){if(!l(e))return!1;var t=f(e);return"DataView"===t||h(_,t)||h(j,t)},isTypedArray:U,TypedArray:T,TypedArrayPrototype:M}},function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,r){var n=r(49),a=r(45);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),a.f(e,t,r)}},function(e,t,r){var n=r(39),a=r(21),i=r(40),o=r(54),s=r(89),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return a(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},function(e,t,r){var n=r(7);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,r){var n=r(91),a=r(13),i=r(40),o=r(64),s=function(e){var t=1==e;return function(r,s,c){for(var u,l=i(r),h=a(l),f=n(s,c),d=o(h);d-- >0;)if(f(u=h[d],d,l))switch(e){case 0:return u;case 1:return d}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},function(e,t,r){var n=r(92),a=r(31),i=r(9),o=n(n.bind);e.exports=function(e,t){return a(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(15),a=r(14);e.exports=function(e){if("Function"===n(e))return a(e)}},function(e,t,r){var n=r(85),a=r(90).findLastIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){var n=r(4),a=r(8),i=r(85),o=r(64),s=r(95),c=r(40),u=r(7),l=n.RangeError,h=n.Int8Array,f=h&&h.prototype,d=f&&f.set,p=i.aTypedArray,g=i.exportTypedArrayMethod,v=!u((function(){var e=new Uint8ClampedArray(2);return a(d,e,{length:1,0:3},1),3!==e[1]})),m=v&&i.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var e=new h(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));g("set",(function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=c(e);if(v)return a(d,this,r,t);var n=this.length,i=o(r),u=0;if(i+t>n)throw l("Wrong length");for(;u<i;)this[t+u]=r[u++]}),!v||m)},function(e,t,r){var n=r(96),a=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw a("Wrong offset");return r}},function(e,t,r){var n=r(62),a=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw a("The argument can't be less than 0");return t}},function(e,t,r){var n=r(98),a=r(85),i=a.aTypedArray,o=a.exportTypedArrayMethod,s=a.getTypedArrayConstructor;o("toReversed",(function(){return n(i(this),s(this))}))},function(e,t,r){var n=r(64);e.exports=function(e,t){for(var r=n(e),a=new t(r),i=0;i<r;i++)a[i]=e[r-i-1];return a}},function(e,t,r){var n=r(85),a=r(14),i=r(31),o=r(100),s=n.aTypedArray,c=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,l=a(n.TypedArrayPrototype.sort);u("toSorted",(function(e){void 0!==e&&i(e);var t=s(this),r=o(c(t),t);return l(r,e)}))},function(e,t,r){var n=r(64);e.exports=function(e,t){for(var r=0,a=n(t),i=new e(a);a>r;)i[r]=t[r++];return i}},function(e,t,r){var n=r(102),a=r(85),i=r(103),o=r(62),s=r(104),c=a.aTypedArray,u=a.getTypedArrayConstructor,l=a.exportTypedArrayMethod,h=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();l("with",{with:function(e,t){var r=c(this),a=o(e),l=i(r)?s(t):+t;return n(r,u(r),a,l)}}.with,!h)},function(e,t,r){var n=r(64),a=r(62),i=RangeError;e.exports=function(e,t,r,o){var s=n(e),c=a(r),u=c<0?s+c:c;if(u>=s||u<0)throw i("Incorrect index");for(var l=new t(s),h=0;h<s;h++)l[h]=h===u?o:e[h];return l}},function(e,t,r){var n=r(78);e.exports=function(e){var t=n(e);return"BigInt64Array"==t||"BigUint64Array"==t}},function(e,t,r){var n=r(19),a=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw a("Can't convert number to bigint");return BigInt(t)}},function(e,t,r){var n=r(6),a=r(87),i=r(106),o=ArrayBuffer.prototype;n&&!("detached"in o)&&a(o,"detached",{configurable:!0,get:function(){return i(this)}})},function(e,t,r){var n=r(14),a=r(107),i=n(ArrayBuffer.prototype.slice);e.exports=function(e){if(0!==a(e))return!1;try{return i(e,0,0),!1}catch(e){return!0}}},function(e,t,r){var n=r(72),a=r(15),i=TypeError;e.exports=n(ArrayBuffer.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!=a(e))throw i("ArrayBuffer expected");return e.byteLength}},function(e,t,r){var n=r(3),a=r(109);a&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return a(this,arguments.length?arguments[0]:void 0,!0)}})},function(e,t,r){var n=r(4),a=r(14),i=r(72),o=r(110),s=r(106),c=r(107),u=r(111),l=n.TypeError,h=n.structuredClone,f=n.ArrayBuffer,d=n.DataView,p=Math.min,g=f.prototype,v=d.prototype,m=a(g.slice),y=i(g,"resizable","get"),b=i(g,"maxByteLength","get"),w=a(v.getInt8),k=a(v.setInt8);e.exports=u&&function(e,t,r){var n=c(e),a=void 0===t?n:o(t),i=!y||!y(e);if(s(e))throw l("ArrayBuffer is detached");var u=h(e,{transfer:[e]});if(n==a&&(r||i))return u;if(n>=a&&(!r||i))return m(u,0,a);for(var g=r&&!i&&b?{maxByteLength:b(u)}:void 0,v=new f(a,g),x=new d(u),S=new d(v),A=p(a,n),C=0;C<A;C++)k(S,C,w(x,C));return v}},function(e,t,r){var n=r(62),a=r(65),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=a(t);if(t!==r)throw i("Wrong length or index");return r}},function(e,t,r){var n=r(4),a=r(7),i=r(28),o=r(112),s=r(113),c=r(114),u=n.structuredClone;e.exports=!!u&&!a((function(){if(s&&i>92||c&&i>94||o&&i>97)return!1;var e=new ArrayBuffer(8),t=u(e,{transfer:[e]});return 0!=e.byteLength||8!=t.byteLength}))},function(e,t,r){var n=r(113),a=r(114);e.exports=!n&&!a&&"object"==("undefined"==typeof window?"undefined":N(window))&&"object"==("undefined"==typeof document?"undefined":N(document))},function(e){e.exports="object"==("undefined"==typeof Deno?"undefined":N(Deno))&&Deno&&"object"==N(Deno.version)},function(e,t,r){var n=r(15);e.exports="undefined"!=typeof process&&"process"==n(process)},function(e,t,r){var n=r(3),a=r(109);a&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return a(this,arguments.length?arguments[0]:void 0,!1)}})},function(e,t,r){var n=r(3),a=r(117);n({target:"Set",proto:!0,real:!0,forced:!r(125)("difference")},{difference:a})},function(e,t,r){var n=r(118),a=r(119),i=r(120),o=r(123),s=r(124),c=r(121),u=r(122),l=a.has,h=a.remove;e.exports=function(e){var t=n(this),r=s(e),a=i(t);return o(t)<=r.size?c(t,(function(e){r.includes(e)&&h(a,e)})):u(r.getIterator(),(function(e){l(t,e)&&h(a,e)})),a}},function(e,t,r){var n=r(119).has;e.exports=function(e){return n(e),e}},function(e,t,r){var n=r(14),a=Set.prototype;e.exports={Set,add:n(a.add),has:n(a.has),remove:n(a.delete),proto:a}},function(e,t,r){var n=r(119),a=r(121),i=n.Set,o=n.add;e.exports=function(e){var t=new i;return a(e,(function(e){o(t,e)})),t}},function(e,t,r){var n=r(14),a=r(122),i=r(119),o=i.Set,s=i.proto,c=n(s.forEach),u=n(s.keys),l=u(new o).next;e.exports=function(e,t,r){return r?a(u(e),t,l):c(e,t)}},function(e,t,r){var n=r(8);e.exports=function(e,t,r){for(var a,i,o=r||e.next;!(a=n(o,e)).done;)if(void 0!==(i=t(a.value)))return i}},function(e,t,r){var n=r(72),a=r(119);e.exports=n(a.proto,"size","get")||function(e){return e.size}},function(e,t,r){var n=r(31),a=r(47),i=r(8),o=r(62),s=TypeError,c=Math.max,u=function(e,t,r,n){this.set=e,this.size=t,this.has=r,this.keys=n};u.prototype={getIterator:function(){return a(i(this.keys,this.set))},includes:function(e){return i(this.has,this.set,e)}},e.exports=function(e){a(e);var t=+e.size;if(t!=t)throw s("Invalid size");return new u(e,c(o(t),0),n(e.has),n(e.keys))}},function(e,t,r){var n=r(24);e.exports=function(e){try{return(new(n("Set")))[e]({size:0,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}),!0}catch(e){return!1}}},function(e,t,r){var n=r(3),a=r(7),i=r(127);n({target:"Set",proto:!0,real:!0,forced:!r(125)("intersection")||a((function(){return"3,2"!=Array.from(new Set([1,2,3]).intersection(new Set([3,2])))}))},{intersection:i})},function(e,t,r){var n=r(118),a=r(119),i=r(123),o=r(124),s=r(121),c=r(122),u=a.Set,l=a.add,h=a.has;e.exports=function(e){var t=n(this),r=o(e),a=new u;return i(t)>r.size?c(r.getIterator(),(function(e){h(t,e)&&l(a,e)})):s(t,(function(e){r.includes(e)&&l(a,e)})),a}},function(e,t,r){var n=r(3),a=r(129);n({target:"Set",proto:!0,real:!0,forced:!r(125)("isDisjointFrom")},{isDisjointFrom:a})},function(e,t,r){var n=r(118),a=r(119).has,i=r(123),o=r(124),s=r(121),c=r(122),u=r(130);e.exports=function(e){var t=n(this),r=o(e);if(i(t)<=r.size)return!1!==s(t,(function(e){if(r.includes(e))return!1}),!0);var l=r.getIterator();return!1!==c(l,(function(e){if(a(t,e))return u(l,"normal",!1)}))}},function(e,t,r){var n=r(8),a=r(47),i=r(30);e.exports=function(e,t,r){var o,s;a(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw r;if(s)throw o;return a(o),r}},function(e,t,r){var n=r(3),a=r(132);n({target:"Set",proto:!0,real:!0,forced:!r(125)("isSubsetOf")},{isSubsetOf:a})},function(e,t,r){var n=r(118),a=r(123),i=r(121),o=r(124);e.exports=function(e){var t=n(this),r=o(e);return!(a(t)>r.size)&&!1!==i(t,(function(e){if(!r.includes(e))return!1}),!0)}},function(e,t,r){var n=r(3),a=r(134);n({target:"Set",proto:!0,real:!0,forced:!r(125)("isSupersetOf")},{isSupersetOf:a})},function(e,t,r){var n=r(118),a=r(119).has,i=r(123),o=r(124),s=r(122),c=r(130);e.exports=function(e){var t=n(this),r=o(e);if(i(t)<r.size)return!1;var u=r.getIterator();return!1!==s(u,(function(e){if(!a(t,e))return c(u,"normal",!1)}))}},function(e,t,r){var n=r(3),a=r(136);n({target:"Set",proto:!0,real:!0,forced:!r(125)("symmetricDifference")},{symmetricDifference:a})},function(e,t,r){var n=r(118),a=r(119),i=r(120),o=r(124),s=r(122),c=a.add,u=a.has,l=a.remove;e.exports=function(e){var t=n(this),r=o(e).getIterator(),a=i(t);return s(r,(function(e){u(t,e)?l(a,e):c(a,e)})),a}},function(e,t,r){var n=r(3),a=r(138);n({target:"Set",proto:!0,real:!0,forced:!r(125)("union")},{union:a})},function(e,t,r){var n=r(118),a=r(119).add,i=r(120),o=r(124),s=r(122);e.exports=function(e){var t=n(this),r=o(e).getIterator(),c=i(t);return s(r,(function(e){a(c,e)})),c}},function(e,t,r){var n=r(3),a=r(40),i=r(64),o=r(140),s=r(142);n({target:"Array",proto:!0,arity:1,forced:r(7)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=a(this),r=i(t),n=arguments.length;s(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return o(t,r),r}})},function(e,t,r){var n=r(6),a=r(141),i=TypeError,o=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(a(e)&&!o(e,"length").writable)throw i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},function(e,t,r){var n=r(15);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e){var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},function(e,t,r){var n=r(3),a=r(4),i=r(87),o=r(6),s=TypeError,c=Object.defineProperty,u=a.self!==a;try{if(o){var l=Object.getOwnPropertyDescriptor(a,"self");!u&&l&&l.get&&l.enumerable||i(a,"self",{get:function(){return a},set:function(e){if(this!==a)throw s("Illegal invocation");c(a,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:u},{self:a})}catch(e){}},function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.VerbosityLevel=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.RenderingIntentFlag=t.PromiseCapability=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.MAX_IMAGE_SIZE_TO_CACHE=t.LINE_FACTOR=t.LINE_DESCENT_FACTOR=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FeatureTest=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.BASELINE_FACTOR=t.AnnotationType=t.AnnotationReplyType=t.AnnotationMode=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationEditorType=t.AnnotationEditorPrefix=t.AnnotationEditorParamsType=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,t.assert=function(e,t){e||h(t)},t.bytesToString=v,t.createValidAbsoluteUrl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return null;try{if(r&&"string"==typeof e){if(r.addDefaultProtocol&&e.startsWith("www.")){var n=e.match(/\./g);(null==n?void 0:n.length)>=2&&(e="http://".concat(e))}if(r.tryConvertEncoding)try{e=k(e)}catch(e){}}var a=t?new URL(e,t):new URL(e);if(function(e){switch(null==e?void 0:e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(a))return a}catch(e){}return null},t.getModificationDate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")},t.getUuid=function(){var e,t;if("undefined"!=typeof crypto&&"function"==typeof(null===(e=crypto)||void 0===e?void 0:e.randomUUID))return crypto.randomUUID();var r=new Uint8Array(32);if("undefined"!=typeof crypto&&"function"==typeof(null===(t=crypto)||void 0===t?void 0:t.getRandomValues))crypto.getRandomValues(r);else for(var n=0;n<32;n++)r[n]=Math.floor(255*Math.random());return v(r)},t.getVerbosityLevel=function(){return o},t.info=function(e){o>=i.INFOS&&console.log("Info: ".concat(e))},t.isArrayBuffer=function(e){return"object"==N(e)&&void 0!==(null==e?void 0:e.byteLength)},t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;for(var r=0,n=e.length;r<n;r++)if(e[r]!==t[r])return!1;return!0},t.isNodeJS=void 0,t.normalizeUnicode=function(e){return A||(A=/([\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,C=new Map([["ſt","ſt"]])),e.replaceAll(A,(function(e,t,r){return t?t.normalize("NFKC"):C.get(r)}))},t.objectFromMap=function(e){var t,r=Object.create(null),n=x(e);try{for(n.s();!(t=n.n()).done;){var a=S(t.value,2),i=a[0],o=a[1];r[i]=o}}catch(e){n.e(e)}finally{n.f()}return r},t.objectSize=function(e){return Object.keys(e).length},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(o=e)},t.shadow=p,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=m,t.stringToPDFString=function(e){var t;if(e[0]>="ï"&&("þ"===e[0]&&"ÿ"===e[1]?t="utf-16be":"ÿ"===e[0]&&"þ"===e[1]?t="utf-16le":"ï"===e[0]&&"»"===e[1]&&"¿"===e[2]&&(t="utf-8"),t))try{var r=new TextDecoder(t,{fatal:!0}),n=m(e);return r.decode(n)}catch(e){c('stringToPDFString: "'.concat(e,'".'))}for(var a=[],i=0,o=e.length;i<o;i++){var s=w[e.charCodeAt(i)];a.push(s?String.fromCharCode(s):e.charAt(i))}return a.join("")},t.stringToUTF8String=k,t.unreachable=h,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=c,r(2),r(145),r(147),r(148),r(139),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var a=!("object"!=("undefined"==typeof process?"undefined":N(process))||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=a,t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.MAX_IMAGE_SIZE_TO_CACHE=1e7,t.LINE_FACTOR=1.35,t.LINE_DESCENT_FACTOR=.35,t.BASELINE_FACTOR=.25925925925925924,t.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},t.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},t.AnnotationEditorPrefix="pdfjs_internal_editor_",t.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,STAMP:13,INK:15},t.AnnotationEditorParamsType={RESIZE:1,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23},t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationActionEventType={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"},t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},t.PageActionEventType={O:"PageOpen",C:"PageClose"};var i={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=i,t.CMapCompressionType={NONE:0,BINARY:1},t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var o=i.WARNINGS;function c(e){o>=i.WARNINGS&&console.log("Warning: ".concat(e))}function h(e){throw new Error(e)}function p(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.defineProperty(e,t,{value:r,enumerable:!n,configurable:!0,writable:!1}),r}var g=function(){function e(t,r){this.constructor===e&&h("Cannot initialize BaseException."),this.message=t,this.name=r}return e.prototype=new Error,e.constructor=e,e}();function v(e){"object"==N(e)&&void 0!==(null==e?void 0:e.length)||h("Invalid argument for bytesToString");var t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);for(var n=[],a=0;a<t;a+=r){var i=Math.min(a+r,t),o=e.subarray(a,i);n.push(String.fromCharCode.apply(null,o))}return n.join("")}function m(e){"string"!=typeof e&&h("Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),n=0;n<t;++n)r[n]=255&e.charCodeAt(n);return r}t.BaseException=g,t.PasswordException=function(e){function t(e,r){var n;return M(this,t),(n=d(this,t,[e,"PasswordException"])).code=r,n}return y(t,e),P(t)}(g),t.UnknownErrorException=function(e){function t(e,r){var n;return M(this,t),(n=d(this,t,[e,"UnknownErrorException"])).details=r,n}return y(t,e),P(t)}(g),t.InvalidPDFException=function(e){function t(e){return M(this,t),d(this,t,[e,"InvalidPDFException"])}return y(t,e),P(t)}(g),t.MissingPDFException=function(e){function t(e){return M(this,t),d(this,t,[e,"MissingPDFException"])}return y(t,e),P(t)}(g),t.UnexpectedResponseException=function(e){function t(e,r){var n;return M(this,t),(n=d(this,t,[e,"UnexpectedResponseException"])).status=r,n}return y(t,e),P(t)}(g),t.FormatError=function(e){function t(e){return M(this,t),d(this,t,[e,"FormatError"])}return y(t,e),P(t)}(g),t.AbortException=function(e){function t(e){return M(this,t),d(this,t,[e,"AbortException"])}return y(t,e),P(t)}(g),t.FeatureTest=function(){function e(){M(this,e)}return P(e,null,[{key:"isLittleEndian",get:function(){return p(this,"isLittleEndian",function(){var e=new Uint8Array(4);return e[0]=1,1===new Uint32Array(e.buffer,0,1)[0]}())}},{key:"isEvalSupported",get:function(){return p(this,"isEvalSupported",function(){try{return new Function(""),!0}catch(e){return!1}}())}},{key:"isOffscreenCanvasSupported",get:function(){return p(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}},{key:"platform",get:function(){return"undefined"==typeof navigator?p(this,"platform",{isWin:!1,isMac:!1}):p(this,"platform",{isWin:navigator.platform.includes("Win"),isMac:navigator.platform.includes("Mac")})}}]),e}();var b=f(Array(256).keys()).map((function(e){return e.toString(16).padStart(2,"0")}));t.Util=function(){function e(){M(this,e)}return P(e,null,[{key:"makeHexColor",value:function(e,t,r){return"#".concat(b[e]).concat(b[t]).concat(b[r])}},{key:"scaleMinMax",value:function(e,t){var r;e[0]?(e[0]<0&&(r=t[0],t[0]=t[1],t[1]=r),t[0]*=e[0],t[1]*=e[0],e[3]<0&&(r=t[2],t[2]=t[3],t[3]=r),t[2]*=e[3],t[3]*=e[3]):(r=t[0],t[0]=t[2],t[2]=r,r=t[1],t[1]=t[3],t[3]=r,e[1]<0&&(r=t[2],t[2]=t[3],t[3]=r),t[2]*=e[1],t[3]*=e[1],e[2]<0&&(r=t[0],t[0]=t[1],t[1]=r),t[0]*=e[2],t[1]*=e[2]),t[0]+=e[4],t[1]+=e[4],t[2]+=e[5],t[3]+=e[5]}},{key:"transform",value:function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}},{key:"applyTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}},{key:"applyInverseTransform",value:function(e,t){var r=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]}},{key:"getAxialAlignedBoundingBox",value:function(e,t){var r=this.applyTransform(e,t),n=this.applyTransform(e.slice(2,4),t),a=this.applyTransform([e[0],e[3]],t),i=this.applyTransform([e[2],e[1]],t);return[Math.min(r[0],n[0],a[0],i[0]),Math.min(r[1],n[1],a[1],i[1]),Math.max(r[0],n[0],a[0],i[0]),Math.max(r[1],n[1],a[1],i[1])]}},{key:"inverseTransform",value:function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],n=e[0]*t[1]+e[1]*t[3],a=e[2]*t[0]+e[3]*t[2],i=e[2]*t[1]+e[3]*t[3],o=(r+i)/2,s=Math.sqrt(Math.pow(r+i,2)-4*(r*i-a*n))/2,c=o+s||1,u=o-s||1;return[Math.sqrt(c),Math.sqrt(u)]}},{key:"normalizeRect",value:function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}},{key:"intersect",value:function(e,t){var r=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),n=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(r>n)return null;var a=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),i=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return a>i?null:[r,a,n,i]}},{key:"bezierBoundingBox",value:function(e,t,r,n,a,i,o,s){for(var c,u,l,h,d,p,g,v,m=[],y=[[],[]],b=0;b<2;++b)if(0===b?(u=6*e-12*r+6*a,c=-3*e+9*r-9*a+3*o,l=3*r-3*e):(u=6*t-12*n+6*i,c=-3*t+9*n-9*i+3*s,l=3*n-3*t),Math.abs(c)<1e-12){if(Math.abs(u)<1e-12)continue;0<(h=-l/u)&&h<1&&m.push(h)}else g=u*u-4*l*c,v=Math.sqrt(g),g<0||(0<(d=(-u+v)/(2*c))&&d<1&&m.push(d),0<(p=(-u-v)/(2*c))&&p<1&&m.push(p));for(var w,k=m.length,x=k;k--;)w=1-(h=m[k]),y[0][k]=w*w*w*e+3*w*w*h*r+3*w*h*h*a+h*h*h*o,y[1][k]=w*w*w*t+3*w*w*h*n+3*w*h*h*i+h*h*h*s;return y[0][x]=e,y[1][x]=t,y[0][x+1]=o,y[1][x+1]=s,y[0].length=y[1].length=x+2,[Math.min.apply(Math,f(y[0])),Math.min.apply(Math,f(y[1])),Math.max.apply(Math,f(y[0])),Math.max.apply(Math,f(y[1]))]}}]),e}();var w=[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 k(e){return decodeURIComponent(escape(e))}t.PromiseCapability=(n=new WeakMap,function(){function e(){var t=this;M(this,e),s(this,n,{writable:!0,value:!1}),this.promise=new Promise((function(e,r){t.resolve=function(r){l(t,n,!0),e(r)},t.reject=function(e){l(t,n,!0),r(e)}}))}return P(e,[{key:"settled",get:function(){return u(this,n)}}]),e}());var A=null,C=null},function(e,t,r){var n=r(48),a=r(14),i=r(77),o=r(146),s=URLSearchParams,c=s.prototype,u=a(c.append),l=a(c.delete),h=a(c.forEach),f=a([].push),d=new s("a=1&a=2");d.delete("a",1),d+""!="a=2"&&n(c,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=[];h(this,(function(e,t){f(n,{key:t,value:e})})),o(t,1);for(var a,s=i(e),c=i(r),d=0,p=0,g=!1,v=n.length;d<v;)a=n[d++],g||a.key===s?(g=!0,l(this,a.key)):p++;for(;p<v;)(a=n[p++]).key===s&&a.value===c||u(this,a.key,a.value)}),{enumerable:!0,unsafe:!0})},function(e){var t=TypeError;e.exports=function(e,r){if(e<r)throw t("Not enough arguments");return e}},function(e,t,r){var n=r(48),a=r(14),i=r(77),o=r(146),s=URLSearchParams,c=s.prototype,u=a(c.getAll),l=a(c.has);new s("a=1").has("a",2)&&n(c,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=u(this,e);o(t,1);for(var a=i(r),s=0;s<n.length;)if(n[s++]===a)return!0;return!1}),{enumerable:!0,unsafe:!0})},function(e,t,r){var n=r(6),a=r(14),i=r(87),o=URLSearchParams.prototype,s=a(o.forEach);n&&!("size"in o)&&i(o,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XRefParseException=t.XRefEntryException=t.ParserEOFException=t.PDF_VERSION_REGEXP=t.MissingDataException=void 0,t.arrayBuffersToBytes=function(e){var t=e.length;if(0===t)return new Uint8Array(0);if(1===t)return new Uint8Array(e[0]);for(var r=0,n=0;n<t;n++)r+=e[n].byteLength;for(var a=new Uint8Array(r),i=0,o=0;o<t;o++){var s=new Uint8Array(e[o]);a.set(s,i),i+=s.byteLength}return a},t.collectActions=function(e,t,r){var i=Object.create(null),o=l({dict:t,key:"AA",stopWhenFound:!1});if(o)for(var s=o.length-1;s>=0;s--){var c=o[s];if(c instanceof a.Dict){var u,h=x(c.getKeys());try{for(h.s();!(u=h.n()).done;){var d=u.value,p=r[d];if(p){var g=[];f(c.getRaw(d),e,g,new a.RefSet),g.length>0&&(i[p]=g)}}}catch(e){h.e(e)}finally{h.f()}}}if(t.has("A")){var v=[];f(t.get("A"),e,v,new a.RefSet),v.length>0&&(i.Action=v)}return(0,n.objectSize)(i)>0?i:null},t.encodeToXmlString=function(e){for(var t=[],r=0,n=0,a=e.length;n<a;n++){var i=e.codePointAt(n);if(32<=i&&i<=126){var o=p[i];o&&(r<n&&t.push(e.substring(r,n)),t.push(o),r=n+1)}else r<n&&t.push(e.substring(r,n)),t.push("&#x".concat(i.toString(16).toUpperCase(),";")),i>55295&&(i<57344||i>65533)&&n++,r=n+1}return 0===t.length?e:(r<e.length&&t.push(e.substring(r,e.length)),t.join(""))},t.escapePDFName=function(e){for(var t=[],r=0,n=0,a=e.length;n<a;n++){var i=e.charCodeAt(n);(i<33||i>126||35===i||40===i||41===i||60===i||62===i||91===i||93===i||123===i||125===i||47===i||37===i)&&(r<n&&t.push(e.substring(r,n)),t.push("#".concat(i.toString(16))),r=n+1)}return 0===t.length?e:(r<e.length&&t.push(e.substring(r,e.length)),t.join(""))},t.escapeString=function(e){return e.replaceAll(/([()\\\n\r])/g,(function(e){return"\n"===e?"\\n":"\r"===e?"\\r":"\\".concat(e)}))},t.getInheritableProperty=l,t.getLookupTableFactory=function(e){var t;return function(){return e&&(t=Object.create(null),e(t),e=null),t}},t.getNewAnnotationsMap=function(e){if(!e)return null;var t,r=new Map,a=x(e);try{for(a.s();!(t=a.n()).done;){var i=S(t.value,2),o=i[0],s=i[1];if(o.startsWith(n.AnnotationEditorPrefix)){var c=r.get(s.pageIndex);c||(c=[],r.set(s.pageIndex,c)),c.push(s)}}}catch(e){a.e(e)}finally{a.f()}return r.size>0?r:null},t.getRotationMatrix=function(e,t,r){switch(e){case 90:return[0,1,-1,0,t,0];case 180:return[-1,0,0,-1,t,r];case 270:return[0,-1,1,0,0,r];default:throw new Error("Invalid rotation")}},t.isAscii=function(e){return/^[\x00-\x7F]*$/.test(e)},t.isWhiteSpace=function(e){return 32===e||9===e||13===e||10===e},t.log2=function(e){return e<=0?0:Math.ceil(Math.log2(e))},t.numberToString=function(e){if(Number.isInteger(e))return e.toString();var t=Math.round(100*e);return t%100==0?(t/100).toString():t%10==0?e.toFixed(1):e.toFixed(2)},t.parseXFAPath=function(e){var t=/(.+)\[(\d+)\]$/;return e.split(".").map((function(e){var r=e.match(t);return r?{name:r[1],pos:parseInt(r[2],10)}:{name:e,pos:0}}))},t.readInt8=function(e,t){return e[t]<<24>>24},t.readUint16=function(e,t){return e[t]<<8|e[t+1]},t.readUint32=function(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0},t.recoverJsURL=function(e){var t=new RegExp("^\\s*("+["app.launchURL","window.open","xfa.host.gotoURL"].join("|").replaceAll(".","\\.")+")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i").exec(e);if(null!=t&&t[2]){var r=t[2],n=!1;return"true"===t[3]&&"app.launchURL"===t[1]&&(n=!0),{url:r,newWindow:n}}return null},t.stringToUTF16HexString=function(e){for(var t=[],r=0,n=e.length;r<n;r++){var a=e.charCodeAt(r);t.push((a>>8&255).toString(16).padStart(2,"0"),(255&a).toString(16).padStart(2,"0"))}return t.join("")},t.stringToUTF16String=function(e){var t=[];arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&t.push("þÿ");for(var r=0,n=e.length;r<n;r++){var a=e.charCodeAt(r);t.push(String.fromCharCode(a>>8&255),String.fromCharCode(255&a))}return t.join("")},t.toRomanNumerals=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,n.assert)(Number.isInteger(e)&&e>0,"The number should be a positive integer.");for(var r,a=[];e>=1e3;)e-=1e3,a.push("M");r=e/100|0,e%=100,a.push(h[r]),r=e/10|0,e%=10,a.push(h[10+r]),a.push(h[20+e]);var i=a.join("");return t?i.toLowerCase():i},t.validateCSSFont=function(e){var t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),r=e.fontFamily,n=e.fontWeight,a=e.italicAngle;if(!g(r,!0))return!1;var i=n?n.toString():"";e.fontWeight=t.has(i)?i:"400";var o=parseFloat(a);return e.italicAngle=isNaN(o)||o<-90||o>90?"14":a.toString(),!0},t.validateFontName=g,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(139),r(116),r(126),r(128),r(131),r(133),r(135),r(137),r(2);var n=r(144),a=r(150),i=r(151);t.PDF_VERSION_REGEXP=/^[1-9]\.\d$/;var o=function(e){function t(e,r){var n;return M(this,t),(n=d(this,t,["Missing data [".concat(e,", ").concat(r,")"),"MissingDataException"])).begin=e,n.end=r,n}return y(t,e),P(t)}(n.BaseException);t.MissingDataException=o;var s=function(e){function t(e){return M(this,t),d(this,t,[e,"ParserEOFException"])}return y(t,e),P(t)}(n.BaseException);t.ParserEOFException=s;var c=function(e){function t(e){return M(this,t),d(this,t,[e,"XRefEntryException"])}return y(t,e),P(t)}(n.BaseException);t.XRefEntryException=c;var u=function(e){function t(e){return M(this,t),d(this,t,[e,"XRefParseException"])}return y(t,e),P(t)}(n.BaseException);function l(e){for(var t,r=e.dict,n=e.key,i=e.getArray,o=void 0!==i&&i,s=e.stopWhenFound,c=void 0===s||s,u=new a.RefSet;r instanceof a.Dict&&(!r.objId||!u.has(r.objId));){r.objId&&u.put(r.objId);var l=o?r.getArray(n):r.get(n);if(void 0!==l){if(c)return l;(t||(t=[])).push(l)}r=r.get("Parent")}return t}t.XRefParseException=u;var h=["","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 f(e,t,r,o){if(e){var s=null;if(e instanceof a.Ref){if(o.has(e))return;s=e,o.put(s),e=t.fetch(e)}if(Array.isArray(e)){var c,u=x(e);try{for(u.s();!(c=u.n()).done;)f(c.value,t,r,o)}catch(e){u.e(e)}finally{u.f()}}else if(e instanceof a.Dict){if((0,a.isName)(e.get("S"),"JavaScript")){var l,h=e.get("JS");h instanceof i.BaseStream?l=h.getString():"string"==typeof h&&(l=h),l&&(l=(0,n.stringToPDFString)(l).replaceAll("\0","")),l&&r.push(l)}f(e.getRaw("Next"),t,r,o)}s&&o.remove(s)}}var p={60:"<",62:">",38:"&",34:""",39:"'"};function g(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=/^("|').*("|')$/.exec(e);if(r&&r[1]===r[2]){if(new RegExp("[^\\\\]".concat(r[1])).test(e.slice(1,-1)))return t&&(0,n.warn)("FontFamily contains unescaped ".concat(r[1],": ").concat(e,".")),!1}else{var a,i=x(e.split(/[ \t]+/));try{for(i.s();!(a=i.n()).done;){var o=a.value;if(/^(\d|(-(\d|-)))/.test(o)||!/^[\w-\\]+$/.test(o))return t&&(0,n.warn)("FontFamily contains invalid <custom-ident>: ".concat(e,".")),!1}}catch(e){i.e(e)}finally{i.f()}}return!0}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.RefSetCache=t.RefSet=t.Ref=t.Name=t.EOF=t.Dict=t.Cmd=t.CIRCULAR_REF=void 0,t.clearPrimitiveCaches=function(){o=Object.create(null),s=Object.create(null),c=Object.create(null)},t.isCmd=function(e,t){return e instanceof l&&(void 0===t||e.cmd===t)},t.isDict=function(e,t){return e instanceof f&&(void 0===t||v(e.get("Type"),t))},t.isName=v,t.isRefsEqual=function(e,t){return e.num===t.num&&e.gen===t.gen},r(139),r(116),r(126),r(128),r(131),r(133),r(135),r(137);var n=r(144),a=Symbol("CIRCULAR_REF");t.CIRCULAR_REF=a;var i=Symbol("EOF");t.EOF=i;var o=Object.create(null),s=Object.create(null),c=Object.create(null),u=function(){function e(t){M(this,e),this.name=t}return P(e,null,[{key:"get",value:function(t){var r;return(r=s)[t]||(r[t]=new e(t))}}]),e}();t.Name=u;var l=function(){function e(t){M(this,e),this.cmd=t}return P(e,null,[{key:"get",value:function(t){var r;return(r=o)[t]||(r[t]=new e(t))}}]),e}();t.Cmd=l;var h=function(){return h},f=function(){function e(){M(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._map=Object.create(null),this.xref=t,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=h}var t;return P(e,[{key:"assignXref",value:function(e){this.xref=e}},{key:"size",get:function(){return Object.keys(this._map).length}},{key:"get",value:function(e,t,r){var n=this._map[e];return void 0===n&&void 0!==t&&void 0===(n=this._map[t])&&void 0!==r&&(n=this._map[r]),n instanceof d&&this.xref?this.xref.fetch(n,this.suppressEncryption):n}},{key:"getAsync",value:(t=T(k().mark((function e(t,r,n){var a;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===(a=this._map[t])&&void 0!==r&&void 0===(a=this._map[r])&&void 0!==n&&(a=this._map[n]),e.abrupt("return",a instanceof d&&this.xref?this.xref.fetchAsync(a,this.suppressEncryption):a);case 3:case"end":return e.stop()}}),e,this)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"getArray",value:function(e,t,r){var n=this._map[e];if(void 0===n&&void 0!==t&&void 0===(n=this._map[t])&&void 0!==r&&(n=this._map[r]),n instanceof d&&this.xref&&(n=this.xref.fetch(n,this.suppressEncryption)),Array.isArray(n))for(var a=0,i=(n=n.slice()).length;a<i;a++)n[a]instanceof d&&this.xref&&(n[a]=this.xref.fetch(n[a],this.suppressEncryption));return n}},{key:"getRaw",value:function(e){return this._map[e]}},{key:"getKeys",value:function(){return Object.keys(this._map)}},{key:"getRawValues",value:function(){return Object.values(this._map)}},{key:"set",value:function(e,t){this._map[e]=t}},{key:"has",value:function(e){return void 0!==this._map[e]}},{key:"forEach",value:function(e){for(var t in this._map)e(t,this.get(t))}}],[{key:"empty",get:function(){var t=new e(null);return t.set=function(e,t){(0,n.unreachable)("Should not call `set` on the empty dictionary.")},(0,n.shadow)(this,"empty",t)}},{key:"merge",value:function(t){var r,n=t.xref,a=t.dictArray,i=t.mergeSubDicts,o=void 0!==i&&i,s=new e(n),c=new Map,u=x(a);try{for(u.s();!(r=u.n()).done;){var l=r.value;if(l instanceof e)for(var h=0,f=Object.entries(l._map);h<f.length;h++){var d=S(f[h],2),p=d[0],g=d[1],v=c.get(p);if(void 0===v)v=[],c.set(p,v);else if(!(o&&g instanceof e))continue;v.push(g)}}}catch(e){u.e(e)}finally{u.f()}var m,y=x(c);try{for(y.s();!(m=y.n()).done;){var b=S(m.value,2),w=b[0],k=b[1];if(1!==k.length&&k[0]instanceof e){var A,C=new e(n),O=x(k);try{for(O.s();!(A=O.n()).done;)for(var F=A.value,I=0,T=Object.entries(F._map);I<T.length;I++){var M=S(T[I],2),E=M[0],P=M[1];void 0===C._map[E]&&(C._map[E]=P)}}catch(e){O.e(e)}finally{O.f()}C.size>0&&(s._map[w]=C)}else s._map[w]=k[0]}}catch(e){y.e(e)}finally{y.f()}return c.clear(),s.size>0?s:e.empty}}]),e}();t.Dict=f;var d=function(){function e(t,r){M(this,e),this.num=t,this.gen=r}return P(e,[{key:"toString",value:function(){return 0===this.gen?"".concat(this.num,"R"):"".concat(this.num,"R").concat(this.gen)}}],[{key:"fromString",value:function(t){var r=c[t];if(r)return r;var n=/^(\d+)R(\d*)$/.exec(t);return n&&"0"!==n[1]?c[t]=new e(parseInt(n[1]),n[2]?parseInt(n[2]):0):null}},{key:"get",value:function(t,r){var n,a=0===r?"".concat(t,"R"):"".concat(t,"R").concat(r);return(n=c)[a]||(n[a]=new e(t,r))}}]),e}();t.Ref=d;var p=function(e){function t(){M(this,t);var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._set=new Set(null==e?void 0:e._set)}return P(t,[{key:"has",value:function(e){return this._set.has(e.toString())}},{key:"put",value:function(e){this._set.add(e.toString())}},{key:"remove",value:function(e){this._set.delete(e.toString())}},{key:Symbol.iterator,value:function(){return this._set.values()}},{key:"clear",value:function(){this._set.clear()}}]),t}();t.RefSet=p;var g=function(e){function t(){M(this,t),this._map=new Map}return P(t,[{key:"size",get:function(){return this._map.size}},{key:"get",value:function(e){return this._map.get(e.toString())}},{key:"has",value:function(e){return this._map.has(e.toString())}},{key:"put",value:function(e,t){this._map.set(e.toString(),t)}},{key:"putAlias",value:function(e,t){this._map.set(e.toString(),this.get(t))}},{key:Symbol.iterator,value:function(){return this._map.values()}},{key:"clear",value:function(){this._map.clear()}}]),t}();function v(e,t){return e instanceof u&&(void 0===t||e.name===t)}t.RefSetCache=g},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.BaseStream=void 0;var n=r(144),a=function(){function e(){M(this,e),this.constructor===e&&(0,n.unreachable)("Cannot initialize BaseStream.")}return P(e,[{key:"length",get:function(){(0,n.unreachable)("Abstract getter `length` accessed")}},{key:"isEmpty",get:function(){(0,n.unreachable)("Abstract getter `isEmpty` accessed")}},{key:"isDataLoaded",get:function(){return(0,n.shadow)(this,"isDataLoaded",!0)}},{key:"getByte",value:function(){(0,n.unreachable)("Abstract method `getByte` called")}},{key:"getBytes",value:function(e){(0,n.unreachable)("Abstract method `getBytes` called")}},{key:"peekByte",value:function(){var e=this.getByte();return-1!==e&&this.pos--,e}},{key:"peekBytes",value:function(e){var t=this.getBytes(e);return this.pos-=t.length,t}},{key:"getUint16",value:function(){var e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t}},{key:"getInt32",value:function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}},{key:"getByteRange",value:function(e,t){(0,n.unreachable)("Abstract method `getByteRange` called")}},{key:"getString",value:function(e){return(0,n.bytesToString)(this.getBytes(e))}},{key:"skip",value:function(e){this.pos+=e||1}},{key:"reset",value:function(){(0,n.unreachable)("Abstract method `reset` called")}},{key:"moveStart",value:function(){(0,n.unreachable)("Abstract method `moveStart` called")}},{key:"makeSubStream",value:function(e,t){(0,n.unreachable)("Abstract method `makeSubStream` called")}},{key:"getBaseStreams",value:function(){return null}}]),e}();t.BaseStream=a},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkPdfManager=t.LocalPdfManager=void 0;var n=r(144),a=r(153),i=r(149),o=r(155),s=r(154),c=function(){function e(t){var r;M(this,e),this.constructor===e&&(0,n.unreachable)("Cannot initialize BasePdfManager."),this._docBaseUrl=function(e){if(e){var t=(0,n.createValidAbsoluteUrl)(e);if(t)return t.href;(0,n.warn)('Invalid absolute docBaseUrl: "'.concat(e,'".'))}return null}(t.docBaseUrl),this._docId=t.docId,this._password=t.password,this.enableXfa=t.enableXfa,(r=t.evaluatorOptions).isOffscreenCanvasSupported&&(r.isOffscreenCanvasSupported=n.FeatureTest.isOffscreenCanvasSupported),this.evaluatorOptions=t.evaluatorOptions}var t;return P(e,[{key:"docId",get:function(){return this._docId}},{key:"password",get:function(){return this._password}},{key:"docBaseUrl",get:function(){var e=this.pdfDocument.catalog;return(0,n.shadow)(this,"docBaseUrl",e.baseUrl||this._docBaseUrl)}},{key:"ensureDoc",value:function(e,t){return this.ensure(this.pdfDocument,e,t)}},{key:"ensureXRef",value:function(e,t){return this.ensure(this.pdfDocument.xref,e,t)}},{key:"ensureCatalog",value:function(e,t){return this.ensure(this.pdfDocument.catalog,e,t)}},{key:"getPage",value:function(e){return this.pdfDocument.getPage(e)}},{key:"fontFallback",value:function(e,t){return this.pdfDocument.fontFallback(e,t)}},{key:"loadXfaFonts",value:function(e,t){return this.pdfDocument.loadXfaFonts(e,t)}},{key:"loadXfaImages",value:function(){return this.pdfDocument.loadXfaImages()}},{key:"serializeXfaData",value:function(e){return this.pdfDocument.serializeXfaData(e)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pdfDocument.cleanup(e)}},{key:"ensure",value:(t=T(k().mark((function e(t,r,a){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(0,n.unreachable)("Abstract method `ensure` called");case 1:case"end":return e.stop()}}),e)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"requestRange",value:function(e,t){(0,n.unreachable)("Abstract method `requestRange` called")}},{key:"requestLoadedStream",value:function(){(0,n.unreachable)("Abstract method `requestLoadedStream` called")}},{key:"sendProgressiveData",value:function(e){(0,n.unreachable)("Abstract method `sendProgressiveData` called")}},{key:"updatePassword",value:function(e){this._password=e}},{key:"terminate",value:function(e){(0,n.unreachable)("Abstract method `terminate` called")}}]),e}();t.LocalPdfManager=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var n=new s.Stream(e.source);return r.pdfDocument=new o.PDFDocument(g(r),n),r._loadedStreamPromise=Promise.resolve(n),r}var r;return y(t,e),P(t,[{key:"ensure",value:(r=T(k().mark((function e(t,r,n){var a;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t[r],e.abrupt("return","function"==typeof a?a.apply(t,n):a);case 2:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"requestRange",value:function(e,t){return Promise.resolve()}},{key:"requestLoadedStream",value:function(){return this._loadedStreamPromise}},{key:"terminate",value:function(e){}}]),t}(c),t.NetworkPdfManager=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[e])).streamManager=new a.ChunkedStreamManager(e.source,{msgHandler:e.handler,length:e.length,disableAutoFetch:e.disableAutoFetch,rangeChunkSize:e.rangeChunkSize}),r.pdfDocument=new o.PDFDocument(g(r),r.streamManager.getStream()),r}var r;return y(t,e),P(t,[{key:"ensure",value:(r=T(k().mark((function e(t,r,n){var a;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,a=t[r],e.abrupt("return","function"==typeof a?a.apply(t,n):a);case 5:if(e.prev=5,e.t0=e.catch(0),e.t0 instanceof i.MissingDataException){e.next=9;break}throw e.t0;case 9:return e.next=11,this.requestRange(e.t0.begin,e.t0.end);case 11:return e.abrupt("return",this.ensure(t,r,n));case 12:case"end":return e.stop()}}),e,this,[[0,5]])}))),function(e,t,n){return r.apply(this,arguments)})},{key:"requestRange",value:function(e,t){return this.streamManager.requestRange(e,t)}},{key:"requestLoadedStream",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.streamManager.requestAllChunks(e)}},{key:"sendProgressiveData",value:function(e){this.streamManager.onReceiveData({chunk:e})}},{key:"terminate",value:function(e){this.streamManager.abort(e)}}]),t}(c)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkedStreamManager=t.ChunkedStream=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(116),r(126),r(128),r(131),r(133),r(135),r(137),r(139),r(2);var n=r(149),a=r(144),i=function(e){function t(e,r,n){var a;return M(this,t),(a=d(this,t,[new Uint8Array(e),0,e,null])).chunkSize=r,a._loadedChunks=new Set,a.numChunks=Math.ceil(e/r),a.manager=n,a.progressiveDataLength=0,a.lastSuccessfulEnsureByteChunk=-1,a}return y(t,e),P(t,[{key:"getMissingChunks",value:function(){for(var e=[],t=0,r=this.numChunks;t<r;++t)this._loadedChunks.has(t)||e.push(t);return e}},{key:"numChunksLoaded",get:function(){return this._loadedChunks.size}},{key:"isDataLoaded",get:function(){return this.numChunksLoaded===this.numChunks}},{key:"onReceiveData",value:function(e,t){var r=this.chunkSize;if(e%r!=0)throw new Error("Bad begin offset: ".concat(e));var n=e+t.byteLength;if(n%r!=0&&n!==this.bytes.length)throw new Error("Bad end offset: ".concat(n));this.bytes.set(new Uint8Array(t),e);for(var a=Math.floor(e/r),i=Math.floor((n-1)/r)+1,o=a;o<i;++o)this._loadedChunks.add(o)}},{key:"onReceiveProgressiveData",value:function(e){var t=this.progressiveDataLength,r=Math.floor(t/this.chunkSize);this.bytes.set(new Uint8Array(e),t),t+=e.byteLength,this.progressiveDataLength=t;for(var n=t>=this.end?this.numChunks:Math.floor(t/this.chunkSize),a=r;a<n;++a)this._loadedChunks.add(a)}},{key:"ensureByte",value:function(e){if(!(e<this.progressiveDataLength)){var t=Math.floor(e/this.chunkSize);if(!(t>this.numChunks)&&t!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(t))throw new n.MissingDataException(e,e+1);this.lastSuccessfulEnsureByteChunk=t}}}},{key:"ensureRange",value:function(e,t){if(!(e>=t||t<=this.progressiveDataLength)){var r=Math.floor(e/this.chunkSize);if(!(r>this.numChunks))for(var a=Math.min(Math.floor((t-1)/this.chunkSize)+1,this.numChunks),i=r;i<a;++i)if(!this._loadedChunks.has(i))throw new n.MissingDataException(e,t)}}},{key:"nextEmptyChunk",value:function(e){for(var t=this.numChunks,r=0;r<t;++r){var n=(e+r)%t;if(!this._loadedChunks.has(n))return n}return null}},{key:"hasChunk",value:function(e){return this._loadedChunks.has(e)}},{key:"getByte",value:function(){var e=this.pos;return e>=this.end?-1:(e>=this.progressiveDataLength&&this.ensureByte(e),this.bytes[this.pos++])}},{key:"getBytes",value:function(e){var t=this.bytes,r=this.pos,n=this.end;if(!e)return n>this.progressiveDataLength&&this.ensureRange(r,n),t.subarray(r,n);var a=r+e;return a>n&&(a=n),a>this.progressiveDataLength&&this.ensureRange(r,a),this.pos=a,t.subarray(r,a)}},{key:"getByteRange",value:function(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),t>this.progressiveDataLength&&this.ensureRange(e,t),this.bytes.subarray(e,t)}},{key:"makeSubStream",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;function n(){}t?e+t>this.progressiveDataLength&&this.ensureRange(e,e+t):e>=this.progressiveDataLength&&this.ensureByte(e),n.prototype=Object.create(this),n.prototype.getMissingChunks=function(){for(var e=this.chunkSize,t=Math.floor(this.start/e),r=Math.floor((this.end-1)/e)+1,n=[],a=t;a<r;++a)this._loadedChunks.has(a)||n.push(a);return n},Object.defineProperty(n.prototype,"isDataLoaded",{get:function(){return this.numChunksLoaded===this.numChunks||0===this.getMissingChunks().length},configurable:!0});var a=new n;return a.pos=a.start=e,a.end=e+t||this.end,a.dict=r,a}},{key:"getBaseStreams",value:function(){return[this]}}]),t}(r(154).Stream);t.ChunkedStream=i,t.ChunkedStreamManager=function(){function e(t,r){M(this,e),this.length=r.length,this.chunkSize=r.rangeChunkSize,this.stream=new i(this.length,this.chunkSize,this),this.pdfNetworkStream=t,this.disableAutoFetch=r.disableAutoFetch,this.msgHandler=r.msgHandler,this.currRequestId=0,this._chunksNeededByRequest=new Map,this._requestsByChunk=new Map,this._promisesByRequest=new Map,this.progressiveDataLength=0,this.aborted=!1,this._loadedStreamCapability=new a.PromiseCapability}return P(e,[{key:"sendRequest",value:function(e,t){var r=this,a=this.pdfNetworkStream.getRangeReader(e,t);a.isStreamingSupported||(a.onProgress=this.onProgress.bind(this));var i=[],o=0;return new Promise((function(e,t){a.read().then((function s(c){var u=c.value,l=c.done;try{if(l){var h=(0,n.arrayBuffersToBytes)(i);return i=null,void e(h)}o+=u.byteLength,a.isStreamingSupported&&r.onProgress({loaded:o}),i.push(u),a.read().then(s,t)}catch(e){t(e)}}),t)})).then((function(t){r.aborted||r.onReceiveData({chunk:t,begin:e})}))}},{key:"requestAllChunks",value:function(){if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])){var e=this.stream.getMissingChunks();this._requestChunks(e)}return this._loadedStreamCapability.promise}},{key:"_requestChunks",value:function(e){var t=this,r=this.currRequestId++,n=new Set;this._chunksNeededByRequest.set(r,n);var i,o=x(e);try{for(o.s();!(i=o.n()).done;){var s=i.value;this.stream.hasChunk(s)||n.add(s)}}catch(e){o.e(e)}finally{o.f()}if(0===n.size)return Promise.resolve();var c=new a.PromiseCapability;this._promisesByRequest.set(r,c);var u,l=[],h=x(n);try{for(h.s();!(u=h.n()).done;){var f=u.value,d=this._requestsByChunk.get(f);d||(d=[],this._requestsByChunk.set(f,d),l.push(f)),d.push(r)}}catch(e){h.e(e)}finally{h.f()}if(l.length>0){var p,g=x(this.groupChunks(l));try{for(g.s();!(p=g.n()).done;){var v=p.value,m=v.beginChunk*this.chunkSize,y=Math.min(v.endChunk*this.chunkSize,this.length);this.sendRequest(m,y).catch(c.reject)}}catch(e){g.e(e)}finally{g.f()}}return c.promise.catch((function(e){if(!t.aborted)throw e}))}},{key:"getStream",value:function(){return this.stream}},{key:"requestRange",value:function(e,t){t=Math.min(t,this.length);for(var r=this.getBeginChunk(e),n=this.getEndChunk(t),a=[],i=r;i<n;++i)a.push(i);return this._requestChunks(a)}},{key:"requestRanges",value:function(){var e,t=[],r=x(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]);try{for(r.s();!(e=r.n()).done;)for(var n=e.value,a=this.getBeginChunk(n.begin),i=this.getEndChunk(n.end),o=a;o<i;++o)t.includes(o)||t.push(o)}catch(e){r.e(e)}finally{r.f()}return t.sort((function(e,t){return e-t})),this._requestChunks(t)}},{key:"groupChunks",value:function(e){for(var t=[],r=-1,n=-1,a=0,i=e.length;a<i;++a){var o=e[a];r<0&&(r=o),n>=0&&n+1!==o&&(t.push({beginChunk:r,endChunk:n+1}),r=o),a+1===e.length&&t.push({beginChunk:r,endChunk:o+1}),n=o}return t}},{key:"onProgress",value:function(e){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+e.loaded,total:this.length})}},{key:"onReceiveData",value:function(e){var t=e.chunk,r=void 0===e.begin,n=r?this.progressiveDataLength:e.begin,a=n+t.byteLength,i=Math.floor(n/this.chunkSize),o=a<this.length?Math.floor(a/this.chunkSize):Math.ceil(a/this.chunkSize);r?(this.stream.onReceiveProgressiveData(t),this.progressiveDataLength=a):this.stream.onReceiveData(n,t),this.stream.isDataLoaded&&this._loadedStreamCapability.resolve(this.stream);for(var s=[],c=i;c<o;++c){var u=this._requestsByChunk.get(c);if(u){this._requestsByChunk.delete(c);var l,h=x(u);try{for(h.s();!(l=h.n()).done;){var f=l.value,d=this._chunksNeededByRequest.get(f);d.has(c)&&d.delete(c),d.size>0||s.push(f)}}catch(e){h.e(e)}finally{h.f()}}}if(!this.disableAutoFetch&&0===this._requestsByChunk.size){var p;if(1===this.stream.numChunksLoaded){var g=this.stream.numChunks-1;this.stream.hasChunk(g)||(p=g)}else p=this.stream.nextEmptyChunk(o);Number.isInteger(p)&&this._requestChunks([p])}for(var v=0,m=s;v<m.length;v++){var y=m[v],b=this._promisesByRequest.get(y);this._promisesByRequest.delete(y),b.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}},{key:"onError",value:function(e){this._loadedStreamCapability.reject(e)}},{key:"getBeginChunk",value:function(e){return Math.floor(e/this.chunkSize)}},{key:"getEndChunk",value:function(e){return Math.floor((e-1)/this.chunkSize)+1}},{key:"abort",value:function(e){this.aborted=!0,this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests(e);var t,r=x(this._promisesByRequest.values());try{for(r.s();!(t=r.n()).done;)t.value.reject(e)}catch(e){r.e(e)}finally{r.f()}}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.StringStream=t.Stream=t.NullStream=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(151),a=r(144),i=function(e){function t(e,r,n,a){var i;return M(this,t),(i=d(this,t)).bytes=e instanceof Uint8Array?e:new Uint8Array(e),i.start=r||0,i.pos=i.start,i.end=r+n||i.bytes.length,i.dict=a,i}return y(t,e),P(t,[{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(e){var t=this.bytes,r=this.pos,n=this.end;if(!e)return t.subarray(r,n);var a=r+e;return a>n&&(a=n),this.pos=a,t.subarray(r,a)}},{key:"getByteRange",value:function(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),this.bytes.subarray(e,t)}},{key:"reset",value:function(){this.pos=this.start}},{key:"moveStart",value:function(){this.start=this.pos}},{key:"makeSubStream",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new t(this.bytes.buffer,e,r,n)}}]),t}(n.BaseStream);t.Stream=i,t.StringStream=function(e){function t(e){return M(this,t),d(this,t,[(0,a.stringToBytes)(e)])}return y(t,e),P(t)}(i),t.NullStream=function(e){function t(){return M(this,t),d(this,t,[new Uint8Array(0)])}return y(t,e),P(t)}(i)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Page=t.PDFDocument=void 0,r(2),r(139),r(116),r(126),r(128),r(131),r(133),r(135),r(137),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(144),a=r(156),s=r(149),c=r(150),u=r(201),l=r(151),h=r(218),p=r(220),g=r(222),v=r(255),m=r(166),b=r(154),w=r(226),A=r(214),C=r(163),O=r(168),F=r(225),I=r(216),E=r(227),R=r(256),D=[0,0,612,792],B=new WeakSet,L=function(){function e(t){M(this,e),i(this,B);var r=t.pdfManager,n=t.xref,a=t.pageIndex,o=t.pageDict,s=t.ref,c=t.globalIdFactory,u=t.fontCache,l=t.builtInCMapCache,h=t.standardFontDataCache,f=t.globalImageCache,p=t.systemFontCache,g=t.nonBlendModesSet,v=t.xfaFactory;this.pdfManager=r,this.pageIndex=a,this.pageDict=o,this.xref=n,this.ref=s,this.fontCache=u,this.builtInCMapCache=l,this.standardFontDataCache=h,this.globalImageCache=f,this.systemFontCache=p,this.nonBlendModesSet=g,this.evaluatorOptions=r.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=v;var m={obj:0};this._localIdFactory=function(e){function t(){return M(this,t),d(this,t,arguments)}return y(t,e),P(t,null,[{key:"createObjId",value:function(){return"p".concat(a,"_").concat(++m.obj)}},{key:"getPageObjId",value:function(){return"p".concat(s.toString())}}]),t}(c)}var t,r,u;return P(e,[{key:"_getInheritableProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=(0,s.getInheritableProperty)({dict:this.pageDict,key:e,getArray:t,stopWhenFound:!1});return Array.isArray(r)?1!==r.length&&r[0]instanceof c.Dict?c.Dict.merge({xref:this.xref,dictArray:r}):r[0]:r}},{key:"content",get:function(){return this.pageDict.getArray("Contents")}},{key:"resources",get:function(){var e=this._getInheritableProperty("Resources");return(0,n.shadow)(this,"resources",e instanceof c.Dict?e:c.Dict.empty)}},{key:"_getBoundingBox",value:function(e){if(this.xfaData)return this.xfaData.bbox;var t=this._getInheritableProperty(e,!0);if(Array.isArray(t)&&4===t.length){if((t=n.Util.normalizeRect(t))[2]-t[0]>0&&t[3]-t[1]>0)return t;(0,n.warn)("Empty, or invalid, /".concat(e," entry."))}return null}},{key:"mediaBox",get:function(){return(0,n.shadow)(this,"mediaBox",this._getBoundingBox("MediaBox")||D)}},{key:"cropBox",get:function(){return(0,n.shadow)(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}},{key:"userUnit",get:function(){var e=this.pageDict.get("UserUnit");return("number"!=typeof e||e<=0)&&(e=1),(0,n.shadow)(this,"userUnit",e)}},{key:"view",get:function(){var e=this.cropBox,t=this.mediaBox;if(e!==t&&!(0,n.isArrayEqual)(e,t)){var r=n.Util.intersect(e,t);if(r&&r[2]-r[0]>0&&r[3]-r[1]>0)return(0,n.shadow)(this,"view",r);(0,n.warn)("Empty /CropBox and /MediaBox intersection.")}return(0,n.shadow)(this,"view",t)}},{key:"rotate",get:function(){var e=this._getInheritableProperty("Rotate")||0;return e%90!=0?e=0:e>=360?e%=360:e<0&&(e=(e%360+360)%360),(0,n.shadow)(this,"rotate",e)}},{key:"_onSubStreamError",value:function(e,t){if(!this.evaluatorOptions.ignoreErrors)throw e;(0,n.warn)("getContentStream - ignoring sub-stream (".concat(t,'): "').concat(e,'".'))}},{key:"getContentStream",value:function(){var e=this;return this.pdfManager.ensure(this,"content").then((function(t){return t instanceof l.BaseStream?t:Array.isArray(t)?new O.StreamsSequenceStream(t,e._onSubStreamError.bind(e)):new b.NullStream}))}},{key:"xfaData",get:function(){return(0,n.shadow)(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}},{key:"saveNewAnnotations",value:(u=T(k().mark((function e(t,r,n,i){var s,u,l,h,d,p,g,v,m,y,b,w,S;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.xfaFactory){e.next=2;break}throw new Error("XFA: Cannot save new annotations.");case 2:return s=new C.PartialEvaluator({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}),u=new c.RefSet,l=new c.RefSet,o(this,B,_).call(this,n,u,l),h=this.pageDict,d=this.annotations.filter((function(e){return!(e instanceof c.Ref&&u.has(e))})),e.next=8,a.AnnotationFactory.saveNewAnnotations(s,r,n,i);case 8:p=e.sent,g=x(p.annotations);try{for(g.s();!(v=g.n()).done;)(m=v.value.ref)instanceof c.Ref&&!l.has(m)&&d.push(m)}catch(e){g.e(e)}finally{g.f()}return y=h.get("Annots"),h.set("Annots",d),b=[],w=null,this.xref.encrypt&&(w=this.xref.encrypt.createCipherTransform(this.ref.num,this.ref.gen)),e.next=18,(0,I.writeObject)(this.ref,h,b,w);case 18:return y&&h.set("Annots",y),(S=p.dependencies).push.apply(S,[{ref:this.ref,data:b.join("")}].concat(f(p.annotations))),e.abrupt("return",S);case 22:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n){return u.apply(this,arguments)})},{key:"save",value:function(e,t,r){var a=new C.PartialEvaluator({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});return this._parsedAnnotations.then((function(e){var i,o=[],s=x(e);try{for(s.s();!(i=s.n()).done;){var c=i.value;c.mustBePrinted(r)&&o.push(c.save(a,t,r).catch((function(e){return(0,n.warn)('save - ignoring annotation data during "'.concat(t.name,'" task: "').concat(e,'".')),null})))}}catch(e){s.e(e)}finally{s.f()}return Promise.all(o).then((function(e){return e.filter((function(e){return!!e}))}))}))}},{key:"loadResources",value:function(e){var t=this;return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then((function(){return new w.ObjectLoader(t.resources,e,t.xref).load()}))}},{key:"getOperatorList",value:function(e){var t=this,r=e.handler,i=e.sink,u=e.task,l=e.intent,h=e.cacheKey,f=e.annotationStorage,d=void 0===f?null:f,p=this.getContentStream(),g=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),v=new C.PartialEvaluator({xref:this.xref,handler:r,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),m=this.xfaFactory?null:(0,s.getNewAnnotationsMap)(d),y=null,b=Promise.resolve(null);if(m){var w,k=m.get(this.pageIndex);if(k){var O,F=new Set,I=x(k);try{for(I.s();!(O=I.n()).done;){var T=O.value,M=T.bitmapId,E=T.bitmap;!M||E||F.has(M)||F.add(M)}}catch(e){I.e(e)}finally{I.f()}var P=this.evaluatorOptions.isOffscreenCanvasSupported;if(F.size>0){var R,N=k.slice(),D=x(d);try{for(D.s();!(R=D.n()).done;){var L=S(R.value,2),j=L[0],U=L[1];j.startsWith(n.AnnotationEditorPrefix)&&U.bitmap&&F.has(U.bitmapId)&&N.push(U)}}catch(e){D.e(e)}finally{D.f()}w=a.AnnotationFactory.generateImages(N,this.xref,P)}else w=a.AnnotationFactory.generateImages(k,this.xref,P);y=new c.RefSet,o(this,B,_).call(this,k,y,null),b=a.AnnotationFactory.printNewAnnotations(v,u,k,w)}}var $=Promise.all([p,g]).then((function(e){var n=S(e,1)[0],a=new A.OperatorList(l,i);return r.send("StartRenderPage",{transparency:v.hasBlendModes(t.resources,t.nonBlendModesSet),pageIndex:t.pageIndex,cacheKey:h}),v.getOperatorList({stream:n,task:u,resources:t.resources,operatorList:a}).then((function(){return a}))}));return Promise.all([$,this._parsedAnnotations,b]).then((function(e){var t=S(e,3),r=t[0],a=t[1],i=t[2];if(i){a=a.filter((function(e){return!(e.ref&&y.has(e.ref))}));for(var o=function(e,t){var r=i[e];if(r.refToReplace){var n=a.findIndex((function(e){return e.ref&&(0,c.isRefsEqual)(e.ref,r.refToReplace)}));n>=0&&(a.splice(n,1,r),i.splice(e--,1),t--)}s=e,h=t},s=0,h=i.length;s<h;s++)o(s,h);a=a.concat(i)}if(0===a.length||l&n.RenderingIntentFlag.ANNOTATIONS_DISABLE)return r.flush(!0),{length:r.totalLength};var f,p=!!(l&n.RenderingIntentFlag.ANNOTATIONS_FORMS),g=!!(l&n.RenderingIntentFlag.ANY),m=!!(l&n.RenderingIntentFlag.DISPLAY),b=!!(l&n.RenderingIntentFlag.PRINT),w=[],k=x(a);try{for(k.s();!(f=k.n()).done;){var A=f.value;(g||m&&A.mustBeViewed(d)||b&&A.mustBePrinted(d))&&w.push(A.getOperatorList(v,u,l,p,d).catch((function(e){return(0,n.warn)('getOperatorList - ignoring annotation data during "'.concat(u.name,'" task: "').concat(e,'".')),{opList:null,separateForm:!1,separateCanvas:!1}})))}}catch(e){k.e(e)}finally{k.f()}return Promise.all(w).then((function(e){var t,n=!1,a=!1,i=x(e);try{for(i.s();!(t=i.n()).done;){var o=t.value,s=o.opList,c=o.separateForm,u=o.separateCanvas;r.addOpList(s),n||(n=c),a||(a=u)}}catch(e){i.e(e)}finally{i.f()}return r.flush(!0,{form:n,canvas:a}),{length:r.totalLength}}))}))}},{key:"extractTextContent",value:function(e){var t=this,r=e.handler,n=e.task,a=e.includeMarkedContent,i=e.disableNormalization,o=e.sink,s=this.getContentStream(),c=this.loadResources(["ExtGState","Font","Properties","XObject"]);return Promise.all([s,c]).then((function(e){var s=S(e,1)[0];return new C.PartialEvaluator({xref:t.xref,handler:r,pageIndex:t.pageIndex,idFactory:t._localIdFactory,fontCache:t.fontCache,builtInCMapCache:t.builtInCMapCache,standardFontDataCache:t.standardFontDataCache,globalImageCache:t.globalImageCache,systemFontCache:t.systemFontCache,options:t.evaluatorOptions}).getTextContent({stream:s,task:n,resources:t.resources,includeMarkedContent:a,disableNormalization:i,sink:o,viewBox:t.view})}))}},{key:"getStructTree",value:(r=T(k().mark((function e(){var t;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("structTreeRoot");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return",null);case 5:return e.next=7,this.pdfManager.ensure(this,"_parseStructTree",[t]);case 7:return e.abrupt("return",e.sent.serializable);case 8:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"_parseStructTree",value:function(e){var t=new F.StructTreePage(e,this.pageDict);return t.parse(),t}},{key:"getAnnotationsData",value:(t=T(k().mark((function e(t,r,a){var i,o,s,c,u,l,h,f,d,p,g;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._parsedAnnotations;case 2:if(0!==(i=e.sent).length){e.next=5;break}return e.abrupt("return",[]);case 5:o=[],s=[],u=!!(a&n.RenderingIntentFlag.ANY),l=!!(a&n.RenderingIntentFlag.DISPLAY),h=!!(a&n.RenderingIntentFlag.PRINT),f=x(i);try{for(f.s();!(d=f.n()).done;)p=d.value,((g=u||l&&p.viewable)||h&&p.printable)&&o.push(p.data),p.hasTextContent&&g&&(c||(c=new C.PartialEvaluator({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})),s.push(p.extractTextContent(c,r,[-1/0,-1/0,1/0,1/0]).catch((function(e){(0,n.warn)('getAnnotationsData - ignoring textContent during "'.concat(r.name,'" task: "').concat(e,'".'))}))))}catch(e){f.e(e)}finally{f.f()}return e.next=11,Promise.all(s);case 11:return e.abrupt("return",o);case 12:case"end":return e.stop()}}),e,this)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"annotations",get:function(){var e=this._getInheritableProperty("Annots");return(0,n.shadow)(this,"annotations",Array.isArray(e)?e:[])}},{key:"_parsedAnnotations",get:function(){var e=this,t=this.pdfManager.ensure(this,"annotations").then((function(){var t,r=[],i=x(e.annotations);try{for(i.s();!(t=i.n()).done;){var o=t.value;r.push(a.AnnotationFactory.create(e.xref,o,e.pdfManager,e._localIdFactory,!1).catch((function(e){return(0,n.warn)('_parsedAnnotations: "'.concat(e,'".')),null})))}}catch(e){i.e(e)}finally{i.f()}return Promise.all(r).then((function(e){if(0===e.length)return e;var t,r,n=[],i=x(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;o&&(o instanceof a.PopupAnnotation?(t||(t=[])).push(o):n.push(o))}}catch(e){i.e(e)}finally{i.f()}return t&&n.push.apply(n,f(t)),n}))}));return(0,n.shadow)(this,"_parsedAnnotations",t)}},{key:"jsActions",get:function(){var e=(0,s.collectActions)(this.xref,this.pageDict,n.PageActionEventType);return(0,n.shadow)(this,"jsActions",e)}}]),e}();function _(e,t,r){var a,i=x(e);try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.id){var s=c.Ref.fromString(o.id);if(!s){(0,n.warn)("A non-linked annotation cannot be modified: ".concat(o.id));continue}if(o.deleted){t.put(s);continue}null==r||r.put(s),o.ref=s,delete o.id}}}catch(e){i.e(e)}finally{i.f()}}t.Page=L;var j=new Uint8Array([37,80,68,70,45]),U=new Uint8Array([115,116,97,114,116,120,114,101,102]),$=new Uint8Array([101,110,100,111,98,106]);function X(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1024,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=t.length,i=e.peekBytes(r),o=i.length-a;if(o<=0)return!1;if(n)for(var s=a-1,c=i.length-1;c>=s;){for(var u=0;u<a&&i[c-u]===t[s-u];)u++;if(u>=a)return e.pos+=c-s,!0;c--}else for(var l=0;l<=o;){for(var h=0;h<a&&i[l+h]===t[h];)h++;if(h>=a)return e.pos+=l,!0;l++}return!1}t.PDFDocument=function(){function e(t,r){if(M(this,e),r.length<=0)throw new n.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=t,this.stream=r,this.xref=new R.XRef(r,t),this._pagePromises=new Map,this._version=null;var a={font:0};this._globalIdFactory=function(){function e(){M(this,e)}return P(e,null,[{key:"getDocId",value:function(){return"g_".concat(t.docId)}},{key:"createFontId",value:function(){return"f"+ ++a.font}},{key:"createObjId",value:function(){(0,n.unreachable)("Abstract method `createObjId` called.")}},{key:"getPageObjId",value:function(){(0,n.unreachable)("Abstract method `getPageObjId` called.")}}]),e}()}var t,r,i,o,f,d,y,b;return P(e,[{key:"parse",value:function(e){this.xref.parse(e),this.catalog=new p.Catalog(this.pdfManager,this.xref)}},{key:"linearization",get:function(){var e=null;try{e=m.Linearization.create(this.stream)}catch(e){if(e instanceof s.MissingDataException)throw e;(0,n.info)(e)}return(0,n.shadow)(this,"linearization",e)}},{key:"startXRef",get:function(){var e=this.stream,t=0;if(this.linearization)e.reset(),X(e,$)&&(t=e.pos+6-e.start);else{for(var r=U.length,a=!1,i=e.end;!a&&i>0;)(i-=1024-r)<0&&(i=0),e.pos=i,a=X(e,U,1024,!0);if(a){var o;e.skip(9);do{o=e.getByte()}while((0,s.isWhiteSpace)(o));for(var c="";o>=32&&o<=57;)c+=String.fromCharCode(o),o=e.getByte();t=parseInt(c,10),isNaN(t)&&(t=0)}}return(0,n.shadow)(this,"startXRef",t)}},{key:"checkHeader",value:function(){var e=this.stream;if(e.reset(),X(e,j)){e.moveStart(),e.skip(j.length);for(var t,r="";(t=e.getByte())>32&&r.length<7;)r+=String.fromCharCode(t);s.PDF_VERSION_REGEXP.test(r)?this._version=r:(0,n.warn)("Invalid PDF header version: ".concat(r))}}},{key:"parseStartXRef",value:function(){this.xref.setStartXRef(this.startXRef)}},{key:"numPages",get:function(){var e;return e=this.catalog.hasActualNumPages?this.catalog.numPages:this.xfaFactory?this.xfaFactory.getNumPages():this.linearization?this.linearization.numPages:this.catalog.numPages,(0,n.shadow)(this,"numPages",e)}},{key:"_hasOnlyDocumentSignatures",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return!!Array.isArray(e)&&e.every((function(e){if(!((e=t.xref.fetchIfRef(e))instanceof c.Dict))return!1;if(e.has("Kids"))return++r>10?((0,n.warn)("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):t._hasOnlyDocumentSignatures(e.get("Kids"),r);var a=(0,c.isName)(e.get("FT"),"Sig"),i=e.get("Rect"),o=Array.isArray(i)&&i.every((function(e){return 0===e}));return a&&o}))}},{key:"_xfaStreams",get:function(){var e=this.catalog.acroForm;if(!e)return null;var t=e.get("XFA"),r={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if(t instanceof l.BaseStream&&!t.isEmpty)return r["xdp:xdp"]=t,r;if(!Array.isArray(t)||0===t.length)return null;for(var n=0,a=t.length;n<a;n+=2){var i;if(i=0===n?"xdp:xdp":n===a-2?"/xdp:xdp":t[n],r.hasOwnProperty(i)){var o=this.xref.fetchIfRef(t[n+1]);o instanceof l.BaseStream&&!o.isEmpty&&(r[i]=o)}}return r}},{key:"xfaDatasets",get:function(){var e=this._xfaStreams;if(!e)return(0,n.shadow)(this,"xfaDatasets",null);for(var t=0,r=["datasets","xdp:xdp"];t<r.length;t++){var a=r[t],i=e[a];if(i)try{var o={[a]:(0,n.stringToUTF8String)(i.getString())};return(0,n.shadow)(this,"xfaDatasets",new v.DatasetReader(o))}catch(e){(0,n.warn)("XFA - Invalid utf-8 string.");break}}return(0,n.shadow)(this,"xfaDatasets",null)}},{key:"xfaData",get:function(){var e=this._xfaStreams;if(!e)return null;for(var t=Object.create(null),r=0,a=Object.entries(e);r<a.length;r++){var i=S(a[r],2),o=i[0],s=i[1];if(s)try{t[o]=(0,n.stringToUTF8String)(s.getString())}catch(e){return(0,n.warn)("XFA - Invalid utf-8 string."),null}}return t}},{key:"xfaFactory",get:function(){var e;return this.pdfManager.enableXfa&&this.catalog.needsRendering&&this.formInfo.hasXfa&&!this.formInfo.hasAcroForm&&(e=this.xfaData),(0,n.shadow)(this,"xfaFactory",e?new E.XFAFactory(e):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:(b=T(k().mark((function e(){var t,r,n,a,i,o,s,c;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("xfaImages");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return");case 5:return r=t.getKeys(),n=new w.ObjectLoader(t,r,this.xref),e.next=8,n.load();case 8:a=new Map,i=x(r);try{for(i.s();!(o=i.n()).done;)s=o.value,(c=t.get(s))instanceof l.BaseStream&&a.set(s,c.getBytes())}catch(e){i.e(e)}finally{i.f()}this.xfaFactory.setImages(a);case 12:case"end":return e.stop()}}),e,this)}))),function(){return b.apply(this,arguments)})},{key:"loadXfaFonts",value:(y=T(k().mark((function e(t,r){var a,i,o,l,h,f,d,p,g,v,m,y,b,O,F,I,T,M,E,P,R,N,D,B,L,_,j,U,$,X,H,q;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("acroForm");case 2:if(a=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,a.getAsync("DR");case 7:if((i=e.sent)instanceof c.Dict){e.next=10;break}return e.abrupt("return");case 10:return o=new w.ObjectLoader(i,["Font"],this.xref),e.next=13,o.load();case 13:if((l=i.get("Font"))instanceof c.Dict){e.next=16;break}return e.abrupt("return");case 16:(h=Object.assign(Object.create(null),this.pdfManager.evaluatorOptions)).useSystemFonts=!1,f=new C.PartialEvaluator({xref:this.xref,handler:t,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:this.catalog.fontCache,builtInCMapCache:this.catalog.builtInCMapCache,standardFontDataCache:this.catalog.standardFontDataCache,options:h}),d=new A.OperatorList,p=[],e.t0=function(){return this},g={get font(){return p.at(-1)},set font(e){p.push(e)},clone:e.t0},v=new Map,l.forEach((function(e,t){v.set(e,t)})),m=[],y=x(v),e.prev=27,y.s();case 29:if((b=y.n()).done){e.next=40;break}if(O=S(b.value,2),F=O[0],I=O[1],(T=I.get("FontDescriptor"))instanceof c.Dict){e.next=34;break}return e.abrupt("continue",38);case 34:M=(M=T.get("FontFamily")).replaceAll(/[ ]+(\d)/g,"$1"),E={fontFamily:M,fontWeight:T.get("FontWeight"),italicAngle:-T.get("ItalicAngle")},(0,s.validateCSSFont)(E)&&m.push(f.handleSetFont(i,[c.Name.get(F),1],null,d,r,g,null,E).catch((function(e){return(0,n.warn)('loadXfaFonts: "'.concat(e,'".')),null})));case 38:e.next=29;break;case 40:e.next=45;break;case 42:e.prev=42,e.t1=e.catch(27),y.e(e.t1);case 45:return e.prev=45,y.f(),e.finish(45);case 48:return e.next=50,Promise.all(m);case 50:if(P=this.xfaFactory.setFonts(p)){e.next=53;break}return e.abrupt("return");case 53:h.ignoreErrors=!0,m.length=0,p.length=0,R=new Set,N=x(P);try{for(N.s();!(D=N.n()).done;)B=D.value,(0,u.getXfaFontName)("".concat(B,"-Regular"))||R.add(B)}catch(e){N.e(e)}finally{N.f()}R.size&&P.push("PdfJS-Fallback"),L=x(P);try{for(L.s();!(_=L.n()).done;)if(j=_.value,!R.has(j))for(U=0,$=[{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<$.length;U++)X=$[U],H="".concat(j,"-").concat(X.name),q=(0,u.getXfaFontDict)(H),m.push(f.handleSetFont(i,[c.Name.get(H),1],null,d,r,g,q,{fontFamily:j,fontWeight:X.fontWeight,italicAngle:X.italicAngle}).catch((function(e){return(0,n.warn)('loadXfaFonts: "'.concat(e,'".')),null})))}catch(e){L.e(e)}finally{L.f()}return e.next=64,Promise.all(m);case 64:this.xfaFactory.appendFonts(p,R);case 65:case"end":return e.stop()}}),e,this,[[27,42,45,48]])}))),function(e,t){return y.apply(this,arguments)})},{key:"serializeXfaData",value:(d=T(k().mark((function e(t){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.xfaFactory?this.xfaFactory.serializeData(t):null);case 1:case"end":return e.stop()}}),e,this)}))),function(e){return d.apply(this,arguments)})},{key:"version",get:function(){return this.catalog.version||this._version}},{key:"formInfo",get:function(){var e={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},t=this.catalog.acroForm;if(!t)return(0,n.shadow)(this,"formInfo",e);try{var r=t.get("Fields"),a=Array.isArray(r)&&r.length>0;e.hasFields=a;var i=t.get("XFA");e.hasXfa=Array.isArray(i)&&i.length>0||i instanceof l.BaseStream&&!i.isEmpty;var o=!!(1&t.get("SigFlags")),c=o&&this._hasOnlyDocumentSignatures(r);e.hasAcroForm=a&&!c,e.hasSignatures=o}catch(e){if(e instanceof s.MissingDataException)throw e;(0,n.warn)('Cannot fetch form information: "'.concat(e,'".'))}return(0,n.shadow)(this,"formInfo",e)}},{key:"documentInfo",get:function(){var e,t={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{e=this.xref.trailer.get("Info")}catch(t){if(t instanceof s.MissingDataException)throw t;(0,n.info)("The document information dictionary is invalid.")}if(!(e instanceof c.Dict))return(0,n.shadow)(this,"documentInfo",t);var r,a=x(e.getKeys());try{for(a.s();!(r=a.n()).done;){var i=r.value,o=e.get(i);switch(i){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if("string"==typeof o){t[i]=(0,n.stringToPDFString)(o);continue}break;case"Trapped":if(o instanceof c.Name){t[i]=o;continue}break;default:var u=void 0;switch(N(o)){case"string":u=(0,n.stringToPDFString)(o);break;case"number":case"boolean":u=o;break;default:o instanceof c.Name&&(u=o)}if(void 0===u){(0,n.warn)('Bad value, for custom key "'.concat(i,'", in Info: ').concat(o,"."));continue}t.Custom||(t.Custom=Object.create(null)),t.Custom[i]=u;continue}(0,n.warn)('Bad value, for key "'.concat(i,'", in Info: ').concat(o,"."))}}catch(e){a.e(e)}finally{a.f()}return(0,n.shadow)(this,"documentInfo",t)}},{key:"fingerprints",get:function(){function e(e){return"string"==typeof e&&e.length>0&&"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"!==e}function t(e){var t,r=[],n=x(e);try{for(n.s();!(t=n.n()).done;){var a=t.value.toString(16);r.push(a.padStart(2,"0"))}}catch(e){n.e(e)}finally{n.f()}return r.join("")}var r,a,i=this.xref.trailer.get("ID");return Array.isArray(i)&&e(i[0])?(r=(0,n.stringToBytes)(i[0]),i[1]!==i[0]&&e(i[1])&&(a=(0,n.stringToBytes)(i[1]))):r=(0,h.calculateMD5)(this.stream.getByteRange(0,1024),0,1024),(0,n.shadow)(this,"fingerprints",[t(r),a?t(a):null])}},{key:"_getLinearizationPage",value:(f=T(k().mark((function e(t){var r,a,i,o,s,u;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.catalog,a=this.linearization,i=this.xref,o=c.Ref.get(a.objectNumberFirst,0),e.prev=1,e.next=4,i.fetchAsync(o);case 4:if(!((s=e.sent)instanceof c.Dict)){e.next=16;break}if(u=s.getRaw("Type"),e.t0=u instanceof c.Ref,!e.t0){e.next=12;break}return e.next=11,i.fetchAsync(u);case 11:u=e.sent;case 12:if(!(0,c.isName)(u,"Page")&&(s.has("Type")||s.has("Kids"))){e.next=16;break}return r.pageKidsCountCache.has(o)||r.pageKidsCountCache.put(o,1),r.pageIndexCache.has(o)||r.pageIndexCache.put(o,0),e.abrupt("return",[s,o]);case 16:throw new n.FormatError("The Linearization dictionary doesn't point to a valid Page dictionary.");case 19:return e.prev=19,e.t1=e.catch(1),(0,n.warn)('_getLinearizationPage: "'.concat(e.t1.message,'".')),e.abrupt("return",r.getPageDict(t));case 23:case"end":return e.stop()}}),e,this,[[1,19]])}))),function(e){return f.apply(this,arguments)})},{key:"getPage",value:function(e){var t=this,r=this._pagePromises.get(e);if(r)return r;var n,a=this.catalog,i=this.linearization,o=this.xfaFactory;return n=(n=o?Promise.resolve([c.Dict.empty,null]):(null==i?void 0:i.pageFirst)===e?this._getLinearizationPage(e):a.getPageDict(e)).then((function(r){var n=S(r,2),i=n[0],s=n[1];return new L({pdfManager:t.pdfManager,xref:t.xref,pageIndex:e,pageDict:i,ref:s,globalIdFactory:t._globalIdFactory,fontCache:a.fontCache,builtInCMapCache:a.builtInCMapCache,standardFontDataCache:a.standardFontDataCache,globalImageCache:a.globalImageCache,systemFontCache:a.systemFontCache,nonBlendModesSet:a.nonBlendModesSet,xfaFactory:o})})),this._pagePromises.set(e,n),n}},{key:"checkFirstPage",value:(o=T(k().mark((function e(){var t=arguments;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.length>0&&void 0!==t[0]&&t[0]){e.next=13;break}return e.prev=1,e.next=4,this.getPage(0);case 4:e.next=13;break;case 6:if(e.prev=6,e.t0=e.catch(1),!(e.t0 instanceof s.XRefEntryException)){e.next=13;break}return this._pagePromises.delete(0),e.next=12,this.cleanup();case 12:throw new s.XRefParseException;case 13:case"end":return e.stop()}}),e,this,[[1,6]])}))),function(){return o.apply(this,arguments)})},{key:"checkLastPage",value:(i=T(k().mark((function e(){var t,r,a,i,o,c,u,l,h,f,d,p,g,v=arguments;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=v.length>0&&void 0!==v[0]&&v[0],r=this.catalog,a=this.pdfManager,r.setActualNumPages(),e.prev=3,e.next=6,Promise.all([a.ensureDoc("xfaFactory"),a.ensureDoc("linearization"),a.ensureCatalog("numPages")]);case 6:if(!this.xfaFactory){e.next=8;break}return e.abrupt("return");case 8:if(i=this.linearization?this.linearization.numPages:r.numPages,Number.isInteger(i)){e.next=11;break}throw new n.FormatError("Page count is not an integer.");case 11:if(!(i<=1)){e.next=13;break}return e.abrupt("return");case 13:return e.next=15,this.getPage(i-1);case 15:e.next=40;break;case 17:return e.prev=17,e.t0=e.catch(3),this._pagePromises.delete(i-1),e.next=22,this.cleanup();case 22:if(!(e.t0 instanceof s.XRefEntryException)||t){e.next=24;break}throw new s.XRefParseException;case 24:return(0,n.warn)("checkLastPage - invalid /Pages tree /Count: ".concat(i,".")),e.prev=25,e.next=28,r.getAllPageDicts(t);case 28:o=e.sent,e.next=37;break;case 31:if(e.prev=31,e.t1=e.catch(25),!(e.t1 instanceof s.XRefEntryException)||t){e.next=35;break}throw new s.XRefParseException;case 35:return r.setActualNumPages(1),e.abrupt("return");case 37:c=x(o);try{for(c.s();!(u=c.n()).done;)l=S(u.value,2),h=l[0],f=S(l[1],2),d=f[0],p=f[1],g=void 0,d instanceof Error?(g=Promise.reject(d)).catch((function(){})):g=Promise.resolve(new L({pdfManager:a,xref:this.xref,pageIndex:h,pageDict:d,ref:p,globalIdFactory:this._globalIdFactory,fontCache:r.fontCache,builtInCMapCache:r.builtInCMapCache,standardFontDataCache:r.standardFontDataCache,globalImageCache:r.globalImageCache,systemFontCache:r.systemFontCache,nonBlendModesSet:r.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(h,g)}catch(e){c.e(e)}finally{c.f()}r.setActualNumPages(o.size);case 40:case"end":return e.stop()}}),e,this,[[3,17],[25,31]])}))),function(){return i.apply(this,arguments)})},{key:"fontFallback",value:function(e,t){return this.catalog.fontFallback(e,t)}},{key:"cleanup",value:(r=T(k().mark((function e(){var t,r=arguments;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]&&r[0],e.abrupt("return",this.catalog?this.catalog.cleanup(t):(0,g.clearGlobalCaches)());case 2:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"_collectFieldObjects",value:function(e,t,r){var i=this.xref.fetchIfRef(t);if(i.has("T")){var o=(0,n.stringToPDFString)(i.get("T"));e=""===e?o:"".concat(e,".").concat(o)}if(!i.has("Kids")&&/\[\d+\]$/.test(e)&&(e=e.substring(0,e.lastIndexOf("["))),r.has(e)||r.set(e,[]),r.get(e).push(a.AnnotationFactory.create(this.xref,t,this.pdfManager,this._localIdFactory,!0).then((function(e){return null==e?void 0:e.getFieldObject()})).catch((function(e){return(0,n.warn)('_collectFieldObjects: "'.concat(e,'".')),null}))),i.has("Kids")){var s,c=x(i.get("Kids"));try{for(c.s();!(s=c.n()).done;){var u=s.value;this._collectFieldObjects(e,u,r)}}catch(e){c.e(e)}finally{c.f()}}}},{key:"fieldObjects",get:function(){if(!this.formInfo.hasFields)return(0,n.shadow)(this,"fieldObjects",Promise.resolve(null));var e,t=Object.create(null),r=new Map,a=x(this.catalog.acroForm.get("Fields"));try{for(a.s();!(e=a.n()).done;){var i=e.value;this._collectFieldObjects("",i,r)}}catch(e){a.e(e)}finally{a.f()}var o,s=[],c=x(r);try{var u=function(){var e=S(o.value,2),r=e[0],n=e[1];s.push(Promise.all(n).then((function(e){(e=e.filter((function(e){return!!e}))).length>0&&(t[r]=e)})))};for(c.s();!(o=c.n()).done;)u()}catch(e){c.e(e)}finally{c.f()}return(0,n.shadow)(this,"fieldObjects",Promise.all(s).then((function(){return t})))}},{key:"hasJSActions",get:function(){var e=this.pdfManager.ensureDoc("_parseHasJSActions");return(0,n.shadow)(this,"hasJSActions",e)}},{key:"_parseHasJSActions",value:(t=T(k().mark((function e(){var t,r,n,a;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);case 2:return t=e.sent,r=S(t,2),n=r[0],a=r[1],e.abrupt("return",!!n||!!a&&Object.values(a).some((function(e){return e.some((function(e){return null!==e.actions}))})));case 7:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"calculationOrderIds",get:function(){var e=this.catalog.acroForm;if(null==e||!e.has("CO"))return(0,n.shadow)(this,"calculationOrderIds",null);var t=e.get("CO");if(!Array.isArray(t)||0===t.length)return(0,n.shadow)(this,"calculationOrderIds",null);var r,a=[],i=x(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;o instanceof c.Ref&&a.push(o.toString())}}catch(e){i.e(e)}finally{i.f()}return 0===a.length?(0,n.shadow)(this,"calculationOrderIds",null):(0,n.shadow)(this,"calculationOrderIds",a)}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PopupAnnotation=t.MarkupAnnotation=t.AnnotationFactory=t.AnnotationBorderStyle=t.Annotation=void 0,t.getQuadPoints=E,r(139),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(157),r(159);var n=r(144),i=r(149),o=r(161),s=r(150),c=r(154),u=r(216),l=r(151),h=r(210),f=r(220),v=r(162),b=r(223),w=r(176),A=r(226),C=r(214),O=r(227);function F(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint8ClampedArray(3);if(!Array.isArray(e))return t;var r=t||new Uint8ClampedArray(3);switch(e.length){case 0:return null;case 1:return v.ColorSpace.singletons.gray.getRgbItem(e,0,r,0),r;case 3:return v.ColorSpace.singletons.rgb.getRgbItem(e,0,r,0),r;case 4:return v.ColorSpace.singletons.cmyk.getRgbItem(e,0,r,0),r;default:return t}}function I(e){return Array.from(e,(function(e){return e/255}))}function E(e,t){var r=e.getArray("QuadPoints");if(!Array.isArray(r)||0===r.length||r.length%8>0)return null;for(var n=[],a=0,i=r.length/8;a<i;a++){for(var o=1/0,s=-1/0,c=1/0,u=-1/0,l=8*a,h=8*a+8;l<h;l+=2){var f=r[l],d=r[l+1];o=Math.min(f,o),s=Math.max(f,s),c=Math.min(d,c),u=Math.max(d,u)}if(null!==t&&(o<t[0]||s>t[2]||c<t[1]||u>t[3]))return null;n.push([{x:o,y:u},{x:s,y:u},{x:o,y:c},{x:s,y:c}])}return n}function R(e,t,r){var a=S(n.Util.getAxialAlignedBoundingBox(t,r),4),i=a[0],o=a[1],s=a[2],c=a[3];if(i===s||o===c)return[1,0,0,1,e[0],e[1]];var u=(e[2]-e[0])/(s-i),l=(e[3]-e[1])/(c-o);return[u,0,0,l,e[0]-i*u,e[1]-o*l]}t.AnnotationFactory=function(){function e(){M(this,e)}var t,r,a;return P(e,null,[{key:"create",value:function(e,t,r,n,a){var i=this;return Promise.all([r.ensureCatalog("acroForm"),r.ensureCatalog("baseUrl"),r.ensureCatalog("attachments"),r.ensureDoc("xfaDatasets"),a?this._getPageIndex(e,t,r):-1]).then((function(o){var s=S(o,5),c=s[0],u=(s[1],s[2]),l=s[3],h=s[4];return r.ensure(i,"_create",[e,t,r,n,c,u,l,a,h])}))}},{key:"_create",value:function(e,t,r,a,o){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,u=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,h=arguments.length>8&&void 0!==arguments[8]?arguments[8]:-1,f=e.fetchIfRef(t);if(f instanceof s.Dict){var d=t instanceof s.Ref?t.toString():"annot_".concat(a.createObjId()),p=f.get("Subtype");p=p instanceof s.Name?p.name:null;var g=o instanceof s.Dict?o:s.Dict.empty,v={xref:e,ref:t,dict:f,subtype:p,id:d,pdfManager:r,acroForm:g,attachments:c,xfaDatasets:u,collectFields:l,needAppearances:!l&&!0===g.get("NeedAppearances"),pageIndex:h,evaluatorOptions:r.evaluatorOptions};switch(p){case"Link":return new H(v);case"Text":return new X(v);case"Widget":var m=(0,i.getInheritableProperty)({dict:f,key:"FT"});switch(m=m instanceof s.Name?m.name:null){case"Tx":return new _(v);case"Btn":return new j(v);case"Ch":return new U(v);case"Sig":return new $(v)}return(0,n.warn)('Unimplemented widget field type "'.concat(m,'", falling back to base field type.')),new L(v);case"Popup":return new q(v);case"FreeText":return new z(v);case"Line":return new G(v);case"Square":return new W(v);case"Circle":return new V(v);case"PolyLine":return new K(v);case"Polygon":return new Y(v);case"Caret":return new J(v);case"Ink":return new Z(v);case"Highlight":return new Q(v);case"Underline":return new ee(v);case"Squiggly":return new te(v);case"StrikeOut":return new re(v);case"Stamp":return new ne(v);case"FileAttachment":return new ae(v);default:return l||(p?(0,n.warn)('Unimplemented annotation type "'.concat(p,'", falling back to base annotation.')):(0,n.warn)("Annotation is missing the required /Subtype.")),new N(v)}}}},{key:"_getPageIndex",value:(a=T(k().mark((function e(t,r,a){var i,o;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.fetchIfRefAsync(r);case 3:if((i=e.sent)instanceof s.Dict){e.next=6;break}return e.abrupt("return",-1);case 6:if((o=i.getRaw("P"))instanceof s.Ref){e.next=9;break}return e.abrupt("return",-1);case 9:return e.next=11,a.ensureCatalog("getPageIndex",[o]);case 11:return e.abrupt("return",e.sent);case 14:return e.prev=14,e.t0=e.catch(0),(0,n.warn)('_getPageIndex: "'.concat(e.t0,'".')),e.abrupt("return",-1);case 18:case"end":return e.stop()}}),e,null,[[0,14]])}))),function(e,t,r){return a.apply(this,arguments)})},{key:"generateImages",value:function(e,t,r){if(!r)return(0,n.warn)("generateImages: OffscreenCanvas is not supported, cannot save or print some annotations with images."),null;var a,i,o=x(e);try{for(o.s();!(i=o.n()).done;){var s=i.value,c=s.bitmapId,u=s.bitmap;u&&(a||(a=new Map),a.set(c,ne.createImage(u,t)))}}catch(e){o.e(e)}finally{o.f()}return a}},{key:"saveNewAnnotations",value:(r=T(k().mark((function e(t,r,a,i){var o,c,l,h,f,d,p,g,v,m,y,b,w,S,A,C;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=t.xref,l=[],h=[],f=t.options.isOffscreenCanvasSupported,d=x(a),e.prev=3,d.s();case 5:if((p=d.n()).done){e.next=48;break}if((g=p.value).deleted){e.next=46;break}e.t0=g.annotationType,e.next=e.t0===n.AnnotationEditorType.FREETEXT?11:e.t0===n.AnnotationEditorType.INK?24:e.t0===n.AnnotationEditorType.STAMP?26:46;break;case 11:if(c){e.next=22;break}return(v=new s.Dict(o)).set("BaseFont",s.Name.get("Helvetica")),v.set("Type",s.Name.get("Font")),v.set("Subtype",s.Name.get("Type1")),v.set("Encoding",s.Name.get("WinAnsiEncoding")),m=[],c=o.getNewTemporaryRef(),e.next=21,(0,u.writeObject)(c,v,m,null);case 21:l.push({ref:c,data:m.join("")});case 22:return h.push(z.createNewAnnotation(o,g,l,{evaluator:t,task:r,baseFontRef:c})),e.abrupt("break",46);case 24:return h.push(Z.createNewAnnotation(o,g,l)),e.abrupt("break",46);case 26:if(f){e.next=28;break}return e.abrupt("break",46);case 28:return e.next=30,i.get(g.bitmapId);case 30:if(!(y=e.sent).imageStream){e.next=45;break}if(b=y.imageStream,w=y.smaskStream,S=[],!w){e.next=40;break}return A=o.getNewTemporaryRef(),e.next=37,(0,u.writeObject)(A,w,S,null);case 37:l.push({ref:A,data:S.join("")}),b.dict.set("SMask",A),S.length=0;case 40:return C=y.imageRef=o.getNewTemporaryRef(),e.next=43,(0,u.writeObject)(C,b,S,null);case 43:l.push({ref:C,data:S.join("")}),y.imageStream=y.smaskStream=null;case 45:h.push(ne.createNewAnnotation(o,g,l,{image:y}));case 46:e.next=5;break;case 48:e.next=53;break;case 50:e.prev=50,e.t1=e.catch(3),d.e(e.t1);case 53:return e.prev=53,d.f(),e.finish(53);case 56:return e.next=58,Promise.all(h);case 58:return e.t2=e.sent,e.t3=l,e.abrupt("return",{annotations:e.t2,dependencies:e.t3});case 61:case"end":return e.stop()}}),e,null,[[3,50,53,56]])}))),function(e,t,n,a){return r.apply(this,arguments)})},{key:"printNewAnnotations",value:(t=T(k().mark((function e(t,r,a,i){var o,s,c,u,l,h,f,d,p;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a){e.next=2;break}return e.abrupt("return",null);case 2:o=t.options,s=t.xref,c=[],u=x(a),e.prev=4,u.s();case 6:if((l=u.n()).done){e.next=25;break}if((h=l.value).deleted){e.next=23;break}e.t0=h.annotationType,e.next=e.t0===n.AnnotationEditorType.FREETEXT?12:e.t0===n.AnnotationEditorType.INK?14:e.t0===n.AnnotationEditorType.STAMP?16:23;break;case 12:return c.push(z.createNewPrintAnnotation(s,h,{evaluator:t,task:r,evaluatorOptions:o})),e.abrupt("break",23);case 14:return c.push(Z.createNewPrintAnnotation(s,h,{evaluatorOptions:o})),e.abrupt("break",23);case 16:if(o.isOffscreenCanvasSupported){e.next=18;break}return e.abrupt("break",23);case 18:return e.next=20,i.get(h.bitmapId);case 20:(f=e.sent).imageStream&&(d=f.imageStream,(p=f.smaskStream)&&d.dict.set("SMask",p),f.imageRef=new w.JpegStream(d,d.length),f.imageStream=f.smaskStream=null),c.push(ne.createNewPrintAnnotation(s,h,{image:f,evaluatorOptions:o}));case 23:e.next=6;break;case 25:e.next=30;break;case 27:e.prev=27,e.t1=e.catch(4),u.e(e.t1);case 30:return e.prev=30,u.f(),e.finish(30);case 33:return e.abrupt("return",Promise.all(c));case 34:case"end":return e.stop()}}),e,null,[[4,27,30,33]])}))),function(e,r,n,a){return t.apply(this,arguments)})}]),e}();var N=function(){function e(t){M(this,e);var r=t.dict,a=t.xref;this.setTitle(r.get("T")),this.setContents(r.get("Contents")),this.setModificationDate(r.get("M")),this.setFlags(r.get("F")),this.setRectangle(r.getArray("Rect")),this.setColor(r.getArray("C")),this.setBorderStyle(r),this.setAppearance(r),this.setOptionalContent(r);var o=r.get("MK");this.setBorderAndBackgroundColors(o),this.setRotation(o,r),this.ref=t.ref instanceof s.Ref?t.ref:null,this._streams=[],this.appearance&&this._streams.push(this.appearance);var c=!!(this.flags&n.AnnotationFlag.LOCKED),u=!!(this.flags&n.AnnotationFlag.LOCKEDCONTENTS);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:t.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:t.subtype,hasOwnCanvas:!1,noRotate:!!(this.flags&n.AnnotationFlag.NOROTATE),noHTML:c&&u},t.collectFields){var l=r.get("Kids");if(Array.isArray(l)){var h,f=[],d=x(l);try{for(d.s();!(h=d.n()).done;){var p=h.value;p instanceof s.Ref&&f.push(p.toString())}}catch(e){d.e(e)}finally{d.f()}0!==f.length&&(this.data.kidIds=f)}this.data.actions=(0,i.collectActions)(a,r,n.AnnotationActionEventType),this.data.fieldName=this._constructFieldName(r),this.data.pageIndex=t.pageIndex}this._isOffscreenCanvasSupported=t.evaluatorOptions.isOffscreenCanvasSupported,this._fallbackFontDict=null,this._needAppearances=!1}var t,r,a;return P(e,[{key:"_hasFlag",value:function(e,t){return!!(e&t)}},{key:"_isViewable",value:function(e){return!this._hasFlag(e,n.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,n.AnnotationFlag.NOVIEW)}},{key:"_isPrintable",value:function(e){return this._hasFlag(e,n.AnnotationFlag.PRINT)&&!this._hasFlag(e,n.AnnotationFlag.INVISIBLE)}},{key:"mustBeViewed",value:function(e){var t,r=null==e||null===(t=e.get(this.data.id))||void 0===t?void 0:t.hidden;return void 0!==r?!r:this.viewable&&!this._hasFlag(this.flags,n.AnnotationFlag.HIDDEN)}},{key:"mustBePrinted",value:function(e){var t,r=null==e||null===(t=e.get(this.data.id))||void 0===t?void 0:t.print;return void 0!==r?r: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(e){var t="string"==typeof e?(0,n.stringToPDFString)(e):"";return{str:t,dir:t&&"rtl"===(0,h.bidi)(t).dir?"rtl":"ltr"}}},{key:"setDefaultAppearance",value:function(e){var t=(0,i.getInheritableProperty)({dict:e.dict,key:"DA"})||e.acroForm.get("DA");this._defaultAppearance="string"==typeof t?t:"",this.data.defaultAppearanceData=(0,o.parseDefaultAppearance)(this._defaultAppearance)}},{key:"setTitle",value:function(e){this._title=this._parseStringHelper(e)}},{key:"setContents",value:function(e){this._contents=this._parseStringHelper(e)}},{key:"setModificationDate",value:function(e){this.modificationDate="string"==typeof e?e:null}},{key:"setFlags",value:function(e){this.flags=Number.isInteger(e)&&e>0?e:0}},{key:"hasFlag",value:function(e){return this._hasFlag(this.flags,e)}},{key:"setRectangle",value:function(e){this.rectangle=Array.isArray(e)&&4===e.length?n.Util.normalizeRect(e):[0,0,0,0]}},{key:"setColor",value:function(e){this.color=F(e)}},{key:"setLineEndings",value:function(e){if(this.lineEndings=["None","None"],Array.isArray(e)&&2===e.length)for(var t=0;t<2;t++){var r=e[t];if(r instanceof s.Name)switch(r.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[t]=r.name;continue}(0,n.warn)("Ignoring invalid lineEnding: ".concat(r))}}},{key:"setRotation",value:function(e,t){this.rotation=0;var r=e instanceof s.Dict?e.get("R")||0:t.get("Rotate")||0;Number.isInteger(r)&&0!==r&&((r%=360)<0&&(r+=360),r%90==0&&(this.rotation=r))}},{key:"setBorderAndBackgroundColors",value:function(e){e instanceof s.Dict?(this.borderColor=F(e.getArray("BC"),null),this.backgroundColor=F(e.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}},{key:"setBorderStyle",value:function(e){if(this.borderStyle=new D,e instanceof s.Dict)if(e.has("BS")){var t=e.get("BS"),r=t.get("Type");r&&!(0,s.isName)(r,"Border")||(this.borderStyle.setWidth(t.get("W"),this.rectangle),this.borderStyle.setStyle(t.get("S")),this.borderStyle.setDashArray(t.getArray("D")))}else if(e.has("Border")){var n=e.getArray("Border");Array.isArray(n)&&n.length>=3&&(this.borderStyle.setHorizontalCornerRadius(n[0]),this.borderStyle.setVerticalCornerRadius(n[1]),this.borderStyle.setWidth(n[2],this.rectangle),4===n.length&&this.borderStyle.setDashArray(n[3],!0))}else this.borderStyle.setWidth(0)}},{key:"setAppearance",value:function(e){this.appearance=null;var t=e.get("AP");if(t instanceof s.Dict){var r=t.get("N");if(r instanceof l.BaseStream)this.appearance=r;else if(r instanceof s.Dict){var n=e.get("AS");if(n instanceof s.Name&&r.has(n.name)){var a=r.get(n.name);a instanceof l.BaseStream&&(this.appearance=a)}}}}},{key:"setOptionalContent",value:function(e){this.oc=null;var t=e.get("OC");t instanceof s.Name?(0,n.warn)("setOptionalContent: Support for /Name-entry is not implemented."):t instanceof s.Dict&&(this.oc=t)}},{key:"loadResources",value:function(e,t){return t.dict.getAsync("Resources").then((function(t){if(t)return new A.ObjectLoader(t,e,t.xref).load().then((function(){return t}))}))}},{key:"getOperatorList",value:(a=T(k().mark((function e(t,r,a,i,o){var u,l,h,f,d,p,g,v,m,y;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u=this.data,l=this.appearance,h=!!(this.data.hasOwnCanvas&&a&n.RenderingIntentFlag.DISPLAY),l){e.next=8;break}if(h){e.next=6;break}return e.abrupt("return",{opList:new C.OperatorList,separateForm:!1,separateCanvas:!1});case 6:(l=new c.StringStream("")).dict=new s.Dict;case 8:return f=l.dict,e.next=11,this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],l);case 11:if(d=e.sent,p=f.getArray("BBox")||[0,0,1,1],g=f.getArray("Matrix")||[1,0,0,1,0,0],v=R(u.rect,p,g),m=new C.OperatorList,e.t0=this.oc,!e.t0){e.next=21;break}return e.next=20,t.parseMarkedContentProps(this.oc,null);case 20:y=e.sent;case 21:return void 0!==y&&m.addOp(n.OPS.beginMarkedContentProps,["OC",y]),m.addOp(n.OPS.beginAnnotation,[u.id,u.rect,v,g,h]),e.next=25,t.getOperatorList({stream:l,task:r,resources:d,operatorList:m,fallbackFontDict:this._fallbackFontDict});case 25:return m.addOp(n.OPS.endAnnotation,[]),void 0!==y&&m.addOp(n.OPS.endMarkedContent,[]),this.reset(),e.abrupt("return",{opList:m,separateForm:!1,separateCanvas:h});case 29:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n,i){return a.apply(this,arguments)})},{key:"save",value:(r=T(k().mark((function e(t,r,n){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"hasTextContent",get:function(){return!1}},{key:"extractTextContent",value:(t=T(k().mark((function e(t,r,a){var i,o,s,c,u,l,h,f,d,p;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.appearance){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.loadResources(["ExtGState","Font","Properties","XObject"],this.appearance);case 4:return i=e.sent,o=[],s=[],c=null,u={desiredSize:Math.Infinity,ready:!0,enqueue:function(e,t){var r,n=x(e.items);try{for(n.s();!(r=n.n()).done;){var a=r.value;void 0!==a.str&&(c||(c=a.transform.slice(-2)),s.push(a.str),a.hasEOL&&(o.push(s.join("")),s.length=0))}}catch(e){n.e(e)}finally{n.f()}}},e.next=11,t.getTextContent({stream:this.appearance,task:r,resources:i,includeMarkedContent:!0,sink:u,viewBox:a});case 11:this.reset(),s.length&&o.push(s.join("")),(o.length>1||o[0])&&(l=this.appearance.dict,h=l.getArray("BBox")||[0,0,1,1],f=l.getArray("Matrix")||[1,0,0,1,0,0],d=this.data.rect,(p=R(d,h,f))[4]-=d[0],p[5]-=d[1],c=n.Util.applyTransform(c,p),c=n.Util.applyTransform(c,f),this.data.textPosition=c,this.data.textContent=o);case 14:case"end":return e.stop()}}),e,this)}))),function(e,r,n){return t.apply(this,arguments)})},{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 e,t=x(this._streams);try{for(t.s();!(e=t.n()).done;)e.value.reset()}catch(e){t.e(e)}finally{t.f()}}},{key:"_constructFieldName",value:function(e){if(!e.has("T")&&!e.has("Parent"))return(0,n.warn)("Unknown field name, falling back to empty field name."),"";if(!e.has("Parent"))return(0,n.stringToPDFString)(e.get("T"));var t=[];e.has("T")&&t.unshift((0,n.stringToPDFString)(e.get("T")));var r=e,a=new s.RefSet;for(e.objId&&a.put(e.objId);r.has("Parent")&&(r=r.get("Parent"))instanceof s.Dict&&(!r.objId||!a.has(r.objId));)if(r.objId&&a.put(r.objId),r.has("T")){var i=(0,n.stringToPDFString)(r.get("T"));i.startsWith("#")||t.unshift(i)}return t.join(".")}}]),e}();t.Annotation=N;var D=function(){function e(){M(this,e),this.width=1,this.style=n.AnnotationBorderStyleType.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}return P(e,[{key:"setWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0,0];if(e instanceof s.Name)this.width=0;else if("number"==typeof e){if(e>0){var r=(t[2]-t[0])/2,a=(t[3]-t[1])/2;r>0&&a>0&&(e>r||e>a)&&((0,n.warn)("AnnotationBorderStyle.setWidth - ignoring width: ".concat(e)),e=1)}this.width=e}}},{key:"setStyle",value:function(e){if(e instanceof s.Name)switch(e.name){case"S":this.style=n.AnnotationBorderStyleType.SOLID;break;case"D":this.style=n.AnnotationBorderStyleType.DASHED;break;case"B":this.style=n.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=n.AnnotationBorderStyleType.INSET;break;case"U":this.style=n.AnnotationBorderStyleType.UNDERLINE}}},{key:"setDashArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(e)&&e.length>0){var r,n=!0,a=!0,i=x(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(!(+o>=0)){n=!1;break}o>0&&(a=!1)}}catch(e){i.e(e)}finally{i.f()}n&&!a?(this.dashArray=e,t&&this.setStyle(s.Name.get("D"))):this.width=0}else e&&(this.width=0)}},{key:"setHorizontalCornerRadius",value:function(e){Number.isInteger(e)&&(this.horizontalCornerRadius=e)}},{key:"setVerticalCornerRadius",value:function(e){Number.isInteger(e)&&(this.verticalCornerRadius=e)}}]),e}();t.AnnotationBorderStyle=D;var B=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict;if(a.has("IRT")){var i=a.getRaw("IRT");r.data.inReplyTo=i instanceof s.Ref?i.toString():null;var o=a.get("RT");r.data.replyType=o instanceof s.Name?o.name:n.AnnotationReplyType.REPLY}var c=null;if(r.data.replyType===n.AnnotationReplyType.GROUP){var u=a.get("IRT");r.setTitle(u.get("T")),r.data.titleObj=r._title,r.setContents(u.get("Contents")),r.data.contentsObj=r._contents,u.has("CreationDate")?(r.setCreationDate(u.get("CreationDate")),r.data.creationDate=r.creationDate):r.data.creationDate=null,u.has("M")?(r.setModificationDate(u.get("M")),r.data.modificationDate=r.modificationDate):r.data.modificationDate=null,c=u.getRaw("Popup"),u.has("C")?(r.setColor(u.getArray("C")),r.data.color=r.color):r.data.color=null}else r.data.titleObj=r._title,r.setCreationDate(a.get("CreationDate")),r.data.creationDate=r.creationDate,c=a.getRaw("Popup"),a.has("C")||(r.data.color=null);return r.data.popupRef=c instanceof s.Ref?c.toString():null,a.has("RC")&&(r.data.richText=O.XFAFactory.getRichTextAsHtml(a.get("RC"))),r}var r,a;return y(t,e),P(t,[{key:"setCreationDate",value:function(e){this.creationDate="string"==typeof e?e:null}},{key:"_setDefaultAppearance",value:function(e){var t=e.xref,r=e.extra,n=e.strokeColor,a=e.fillColor,i=e.blendMode,o=e.strokeAlpha,u=e.fillAlpha,l=e.pointsCallback,h=Number.MAX_VALUE,f=Number.MAX_VALUE,d=Number.MIN_VALUE,p=Number.MIN_VALUE,g=["q"];r&&g.push(r),n&&g.push("".concat(n[0]," ").concat(n[1]," ").concat(n[2]," RG")),a&&g.push("".concat(a[0]," ").concat(a[1]," ").concat(a[2]," rg"));var v=this.data.quadPoints;v||(v=[[{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 m,y=x(v);try{for(y.s();!(m=y.n()).done;){var b=S(l(g,m.value),4),w=b[0],k=b[1],A=b[2],C=b[3];h=Math.min(h,w),d=Math.max(d,k),f=Math.min(f,A),p=Math.max(p,C)}}catch(e){y.e(e)}finally{y.f()}g.push("Q");var O=new s.Dict(t),F=new s.Dict(t);F.set("Subtype",s.Name.get("Form"));var I=new c.StringStream(g.join(" "));I.dict=F,O.set("Fm0",I);var T=new s.Dict(t);i&&T.set("BM",s.Name.get(i)),"number"==typeof o&&T.set("CA",o),"number"==typeof u&&T.set("ca",u);var M=new s.Dict(t);M.set("GS0",T);var E=new s.Dict(t);E.set("ExtGState",M),E.set("XObject",O);var P=new s.Dict(t);P.set("Resources",E);var R=this.data.rect=[h,f,d,p];P.set("BBox",R),this.appearance=new c.StringStream("/GS0 gs /Fm0 Do"),this.appearance.dict=P,this._streams.push(this.appearance,I)}}],[{key:"createNewAnnotation",value:(a=T(k().mark((function e(t,r,n,a){var i,o,s,c,l,h,f;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.ref||t.getNewTemporaryRef(),e.next=3,this.createNewAppearanceStream(r,t,a);case 3:if(o=e.sent,s=[],!o){e.next=14;break}return l=t.getNewTemporaryRef(),c=this.createNewDict(r,t,{apRef:l}),h=t.encrypt?t.encrypt.createCipherTransform(l.num,l.gen):null,e.next=11,(0,u.writeObject)(l,o,s,h);case 11:n.push({ref:l,data:s.join("")}),e.next=15;break;case 14:c=this.createNewDict(r,t,{});case 15:return s.length=0,f=t.encrypt?t.encrypt.createCipherTransform(i.num,i.gen):null,e.next=19,(0,u.writeObject)(i,c,s,f);case 19:return e.abrupt("return",{ref:i,data:s.join("")});case 20:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n){return a.apply(this,arguments)})},{key:"createNewPrintAnnotation",value:(r=T(k().mark((function e(t,r,n){var a,i,o;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createNewAppearanceStream(r,t,n);case 2:return a=e.sent,i=this.createNewDict(r,t,{ap:a}),o=new this.prototype.constructor({dict:i,xref:t,evaluatorOptions:n.evaluatorOptions}),r.ref&&(o.ref=o.refToReplace=r.ref),e.abrupt("return",o);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t,n){return r.apply(this,arguments)})}]),t}(N);t.MarkupAnnotation=B;var L=function(e){function t(e){var r,a;M(this,t),a=d(this,t,[e]);var o=e.dict,c=e.xref,u=a.data;a._needAppearances=e.needAppearances,u.annotationType=n.AnnotationType.WIDGET,void 0===u.fieldName&&(u.fieldName=a._constructFieldName(o)),u.fieldName&&/\[\d+\]$/.test(u.fieldName)&&!o.has("Kids")&&(u.baseFieldName=u.fieldName.substring(0,u.fieldName.lastIndexOf("["))),void 0===u.actions&&(u.actions=(0,i.collectActions)(c,o,n.AnnotationActionEventType));var l=(0,i.getInheritableProperty)({dict:o,key:"V",getArray:!0});u.fieldValue=a._decodeFormValue(l);var h=(0,i.getInheritableProperty)({dict:o,key:"DV",getArray:!0});if(u.defaultFieldValue=a._decodeFormValue(h),void 0===l&&e.xfaDatasets){var f=a._title.str;f&&(a._hasValueFromXFA=!0,u.fieldValue=l=e.xfaDatasets.getValue(f))}void 0===l&&null!==u.defaultFieldValue&&(u.fieldValue=u.defaultFieldValue),u.alternativeText=(0,n.stringToPDFString)(o.get("TU")||""),a.setDefaultAppearance(e),u.hasAppearance||(u.hasAppearance=a._needAppearances&&void 0!==u.fieldValue&&null!==u.fieldValue);var p=(0,i.getInheritableProperty)({dict:o,key:"FT"});u.fieldType=p instanceof s.Name?p.name:null;var g=(0,i.getInheritableProperty)({dict:o,key:"DR"}),v=e.acroForm.get("DR"),m=null===(r=a.appearance)||void 0===r?void 0:r.dict.get("Resources");return a._fieldResources={localResources:g,acroFormResources:v,appearanceResources:m,mergedResources:s.Dict.merge({xref:c,dictArray:[g,m,v],mergeSubDicts:!0})},u.fieldFlags=(0,i.getInheritableProperty)({dict:o,key:"Ff"}),(!Number.isInteger(u.fieldFlags)||u.fieldFlags<0)&&(u.fieldFlags=0),u.readOnly=a.hasFieldFlag(n.AnnotationFieldFlag.READONLY),u.required=a.hasFieldFlag(n.AnnotationFieldFlag.REQUIRED),u.hidden=a._hasFlag(u.annotationFlags,n.AnnotationFlag.HIDDEN),a}var r,l,h,f;return y(t,e),P(t,[{key:"_decodeFormValue",value:function(e){return Array.isArray(e)?e.filter((function(e){return"string"==typeof e})).map((function(e){return(0,n.stringToPDFString)(e)})):e instanceof s.Name?(0,n.stringToPDFString)(e.name):"string"==typeof e?(0,n.stringToPDFString)(e):null}},{key:"hasFieldFlag",value:function(e){return!!(this.data.fieldFlags&e)}},{key:"getRotationMatrix",value:function(e){var t,r=null==e||null===(t=e.get(this.data.id))||void 0===t?void 0:t.rotation;if(void 0===r&&(r=this.rotation),0===r)return n.IDENTITY_MATRIX;var a=this.data.rect[2]-this.data.rect[0],o=this.data.rect[3]-this.data.rect[1];return(0,i.getRotationMatrix)(r,a,o)}},{key:"getBorderAndBackgroundAppearances",value:function(e){var t,r=null==e||null===(t=e.get(this.data.id))||void 0===t?void 0:t.rotation;if(void 0===r&&(r=this.rotation),!this.backgroundColor&&!this.borderColor)return"";var n=this.data.rect[2]-this.data.rect[0],a=this.data.rect[3]-this.data.rect[1],i=0===r||180===r?"0 0 ".concat(n," ").concat(a," re"):"0 0 ".concat(a," ").concat(n," re"),s="";return this.backgroundColor&&(s="".concat((0,o.getPdfColor)(this.backgroundColor,!0)," ").concat(i," f ")),this.borderColor&&(s+="".concat(this.borderStyle.width||1," w ").concat((0,o.getPdfColor)(this.borderColor,!1)," ").concat(i," S ")),s}},{key:"getOperatorList",value:(f=T(k().mark((function e(r,i,o,s,u){var l,h,f,d,p,g,v;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!s||this instanceof $||this.data.noHTML||this.data.hasOwnCanvas){e.next=2;break}return e.abrupt("return",{opList:new C.OperatorList,separateForm:!0,separateCanvas:!1});case 2:if(this._hasText){e.next=4;break}return e.abrupt("return",a(m(t.prototype),"getOperatorList",this).call(this,r,i,o,s,u));case 4:return e.next=6,this._getAppearance(r,i,o,u);case 6:if(l=e.sent,!this.appearance||null!==l){e.next=9;break}return e.abrupt("return",a(m(t.prototype),"getOperatorList",this).call(this,r,i,o,s,u));case 9:if(h=new C.OperatorList,this._defaultAppearance&&null!==l){e.next=12;break}return e.abrupt("return",{opList:h,separateForm:!1,separateCanvas:!1});case 12:if(f=!!(this.data.hasOwnCanvas&&o&n.RenderingIntentFlag.DISPLAY),d=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],p=R(this.data.rect,d,[1,0,0,1,0,0]),e.t0=this.oc,!e.t0){e.next=18;break}return e.next=17,r.parseMarkedContentProps(this.oc,null);case 17:g=e.sent;case 18:return void 0!==g&&h.addOp(n.OPS.beginMarkedContentProps,["OC",g]),h.addOp(n.OPS.beginAnnotation,[this.data.id,this.data.rect,p,this.getRotationMatrix(u),f]),v=new c.StringStream(l),e.next=23,r.getOperatorList({stream:v,task:i,resources:this._fieldResources.mergedResources,operatorList:h});case 23:return h.addOp(n.OPS.endAnnotation,[]),void 0!==g&&h.addOp(n.OPS.endMarkedContent,[]),e.abrupt("return",{opList:h,separateForm:!1,separateCanvas:f});case 26:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n,a){return f.apply(this,arguments)})},{key:"_getMKDict",value:function(e){var t=new s.Dict(null);return e&&t.set("R",e),this.borderColor&&t.set("BC",I(this.borderColor)),this.backgroundColor&&t.set("BG",I(this.backgroundColor)),t.size>0?t:null}},{key:"amendSavedDict",value:function(e,t){}},{key:"save",value:(h=T(k().mark((function e(t,r,a){var o,l,h,f,d,p,g,v,m,y,b,w,S,A,C,O,F,I,T,M,E,P,R,N,D,B,L=this;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=null==a?void 0:a.get(this.data.id),h=null==l?void 0:l.value,f=null==l?void 0:l.rotation,h!==this.data.fieldValue&&void 0!==h){e.next=6;break}if(this._hasValueFromXFA||void 0!==f){e.next=5;break}return e.abrupt("return",null);case 5:h||(h=this.data.fieldValue);case 6:if(void 0!==f||this._hasValueFromXFA||!Array.isArray(h)||!Array.isArray(this.data.fieldValue)||h.length!==this.data.fieldValue.length||!h.every((function(e,t){return e===L.data.fieldValue[t]}))){e.next=8;break}return e.abrupt("return",null);case 8:if(void 0===f&&(f=this.rotation),d=null,this._needAppearances){e.next=16;break}return e.next=13,this._getAppearance(t,r,n.RenderingIntentFlag.SAVE,a);case 13:if(null!==(d=e.sent)){e.next=16;break}return e.abrupt("return",null);case 16:if(p=!1,null!==(o=d)&&void 0!==o&&o.needAppearances&&(p=!0,d=null),g=t.xref,(v=g.fetchIfRef(this.ref))instanceof s.Dict){e.next=21;break}return e.abrupt("return",null);case 21:m=new s.Dict(g),y=x(v.getKeys());try{for(y.s();!(b=y.n()).done;)"AP"!==(w=b.value)&&m.set(w,v.getRaw(w))}catch(e){y.e(e)}finally{y.f()}if(S={path:this.data.fieldName,value:h},A=function(e){return(0,i.isAscii)(e)?e:(0,i.stringToUTF16String)(e,!0)},m.set("V",Array.isArray(h)?h.map(A):A(h)),this.amendSavedDict(a,m),(C=this._getMKDict(f))&&m.set("MK",C),O=g.encrypt,F=O?O.createCipherTransform(this.ref.num,this.ref.gen):null,I=[],T=[{ref:this.ref,data:"",xfa:S,needAppearances:p}],null===d){e.next=46;break}return M=g.getNewTemporaryRef(),E=new s.Dict(g),m.set("AP",E),E.set("N",M),P=null,O&&(P=O.createCipherTransform(M.num,M.gen)),R=this._getSaveFieldResources(g),N=new c.StringStream(d),(D=N.dict=new s.Dict(g)).set("Subtype",s.Name.get("Form")),D.set("Resources",R),D.set("BBox",[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]]),(B=this.getRotationMatrix(a))!==n.IDENTITY_MATRIX&&D.set("Matrix",B),e.next=44,(0,u.writeObject)(M,N,I,P);case 44:T.push({ref:M,data:I.join(""),xfa:null,needAppearances:!1}),I.length=0;case 46:return m.set("M","D:".concat((0,n.getModificationDate)())),e.next=49,(0,u.writeObject)(this.ref,m,I,F);case 49:return T[0].data=I.join(""),e.abrupt("return",T);case 51:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return h.apply(this,arguments)})},{key:"_getAppearance",value:(l=T(k().mark((function e(r,a,s,c){var u,l,h,f,d,p,g,v,m,y,b,w,A,C,O,F,I,T,M,E,P,R,N,D,B,L,_,j,U,$,X,H,q,z,G,W,V,K,Y,J;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.hasFieldFlag(n.AnnotationFieldFlag.PASSWORD)){e.next=2;break}return e.abrupt("return",null);case 2:if((l=null==c?void 0:c.get(this.data.id))&&(h=l.formattedValue||l.value,f=l.rotation),void 0!==f||void 0!==h||this._needAppearances||this._hasValueFromXFA&&!this.appearance){e.next=6;break}return e.abrupt("return",null);case 6:if(d=this.getBorderAndBackgroundAppearances(c),void 0!==h){e.next=11;break}if(h=this.data.fieldValue){e.next=11;break}return e.abrupt("return","/Tx BMC q ".concat(d,"Q EMC"));case 11:if(Array.isArray(h)&&1===h.length&&(h=h[0]),(0,n.assert)("string"==typeof h,"Expected `value` to be a string."),h=h.trim(),this.data.combo&&(p=this.data.options.find((function(e){var t=e.exportValue;return h===t})),h=(null==p?void 0:p.displayValue)||h),""!==h){e.next=17;break}return e.abrupt("return","/Tx BMC q ".concat(d,"Q EMC"));case 17:return void 0===f&&(f=this.rotation),v=-1,this.data.multiLine?(g=h.split(/\r\n?|\n/).map((function(e){return e.normalize("NFC")})),v=g.length):g=[h.replace(/\r\n?|\n/,"").normalize("NFC")],m=this.data.rect[3]-this.data.rect[1],y=this.data.rect[2]-this.data.rect[0],90!==f&&270!==f||(y=(u=[m,y])[0],m=u[1]),this._defaultAppearance||(this.data.defaultAppearanceData=(0,o.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g")),e.next=25,t._getFontData(r,a,this.data.defaultAppearanceData,this._fieldResources.mergedResources);case 25:C=e.sent,O=[],F=!1,I=x(g);try{for(I.s();!(T=I.n()).done;)M=T.value,(E=C.encodeString(M)).length>1&&(F=!0),O.push(E.join(""))}catch(e){I.e(e)}finally{I.f()}if(!(F&&s&n.RenderingIntentFlag.SAVE)){e.next=32;break}return e.abrupt("return",{needAppearances:!0});case 32:if(!F||!this._isOffscreenCanvasSupported){e.next=51;break}if(P=this.data.comb?"monospace":"sans-serif",R=new o.FakeUnicodeFont(r.xref,P),N=R.createFontResources(g.join("")),D=N.getRaw("Font"),this._fieldResources.mergedResources.has("Font")){B=this._fieldResources.mergedResources.get("Font"),L=x(D.getKeys());try{for(L.s();!(_=L.n()).done;)j=_.value,B.set(j,D.getRaw(j))}catch(e){L.e(e)}finally{L.f()}}else this._fieldResources.mergedResources.set("Font",D);return U=R.fontName.name,e.next=38,t._getFontData(r,a,{fontName:U,fontSize:0},N);case 38:for(C=e.sent,$=0,X=O.length;$<X;$++)O[$]=(0,i.stringToUTF16String)(g[$]);H=Object.assign(Object.create(null),this.data.defaultAppearanceData),this.data.defaultAppearanceData.fontSize=0,this.data.defaultAppearanceData.fontName=U,q=this._computeFontSize(m-2,y-4,h,C,v),z=S(q,3),b=z[0],w=z[1],A=z[2],this.data.defaultAppearanceData=H,e.next=57;break;case 51:this._isOffscreenCanvasSupported||(0,n.warn)("_getAppearance: OffscreenCanvas is not supported, annotation may not render correctly."),G=this._computeFontSize(m-2,y-4,h,C,v),W=S(G,3),b=W[0],w=W[1],A=W[2];case 57:if(V=C.descent,V=isNaN(V)?n.BASELINE_FACTOR*A:Math.max(n.BASELINE_FACTOR*A,Math.abs(V)*w),K=Math.min(Math.floor((m-w)/2),1),Y=this.data.textAlignment,!this.data.multiLine){e.next=62;break}return e.abrupt("return",this._getMultilineAppearance(b,O,C,w,y,m,Y,2,K,V,A,c));case 62:if(!this.data.comb){e.next=64;break}return e.abrupt("return",this._getCombAppearance(b,C,O[0],w,y,m,2,K,V,A,c));case 64:if(J=K+V,!(0===Y||Y>2)){e.next=67;break}return e.abrupt("return","/Tx BMC q ".concat(d,"BT ")+b+" 1 0 0 1 ".concat((0,i.numberToString)(2)," ").concat((0,i.numberToString)(J)," Tm (").concat((0,i.escapeString)(O[0]),") Tj ET Q EMC"));case 67:return e.abrupt("return","/Tx BMC q ".concat(d,"BT ")+b+" 1 0 0 1 0 0 Tm ".concat(this._renderText(O[0],C,w,y,Y,{shift:0},2,J)," ET Q EMC"));case 68:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n){return l.apply(this,arguments)})},{key:"_getTextWidth",value:function(e,t){return t.charsToGlyphs(e).reduce((function(e,t){return e+t.width}),0)/1e3}},{key:"_computeFontSize",value:function(e,t,r,a,i){var s=this,c=this.data.defaultAppearanceData.fontSize,u=(c||12)*n.LINE_FACTOR,l=Math.round(e/u);if(!c){var h=function(e){return Math.floor(100*e)/100};if(-1===i){var f=this._getTextWidth(r,a);c=h(Math.min(e/n.LINE_FACTOR,f>t?t/f:1/0)),l=1}else{var d,p=r.split(/\r\n?|\n/),g=[],v=x(p);try{for(v.s();!(d=v.n()).done;){var m=d.value,y=a.encodeString(m).join(""),b=a.charsToGlyphs(y),w=a.getCharPositions(y);g.push({line:y,glyphs:b,positions:w})}}catch(e){v.e(e)}finally{v.f()}var k=function(r){for(var n=0,i=0,o=g;i<o.length;i++){var c=o[i];if((n+=s._splitLine(null,a,r,t,c).length*r)>e)return!0}return!1};for(l=Math.max(l,i);k(c=h((u=e/l)/n.LINE_FACTOR));)l++}var S=this.data.defaultAppearanceData,A=S.fontName,C=S.fontColor;this._defaultAppearance=(0,o.createDefaultAppearance)({fontSize:c,fontName:A,fontColor:C})}return[this._defaultAppearance,c,e/l]}},{key:"_renderText",value:function(e,t,r,n,a,o,s,c){var u;u=1===a?(n-this._getTextWidth(e,t)*r)/2:2===a?n-this._getTextWidth(e,t)*r-s:s;var l=(0,i.numberToString)(u-o.shift);return o.shift=u,"".concat(l," ").concat(c=(0,i.numberToString)(c)," Td (").concat((0,i.escapeString)(e),") Tj")}},{key:"_getSaveFieldResources",value:function(e){var t,r=this._fieldResources,n=r.localResources,a=r.appearanceResources,i=r.acroFormResources,o=null===(t=this.data.defaultAppearanceData)||void 0===t?void 0:t.fontName;if(!o)return n||s.Dict.empty;for(var c=0,u=[n,a];c<u.length;c++){var l=u[c];if(l instanceof s.Dict){var h=l.get("Font");if(h instanceof s.Dict&&h.has(o))return l}}if(i instanceof s.Dict){var f=i.get("Font");if(f instanceof s.Dict&&f.has(o)){var d=new s.Dict(e);d.set(o,f.getRaw(o));var p=new s.Dict(e);return p.set("Font",d),s.Dict.merge({xref:e,dictArray:[p,n],mergeSubDicts:!0})}}return n||s.Dict.empty}},{key:"getFieldObject",value:function(){return null}}],[{key:"_getFontData",value:(r=T(k().mark((function e(t,r,n,a){var i,o,c,u;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=new C.OperatorList,o={font:null,clone:function(){return this}},c=n.fontName,u=n.fontSize,e.next=3,t.handleSetFont(a,[c&&s.Name.get(c),u],null,i,r,o,null);case 3:return e.abrupt("return",o.font);case 4:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return r.apply(this,arguments)})}]),t}(N),_=function(e){function t(e){var r;M(this,t),(r=d(this,t,[e])).data.hasOwnCanvas=r.data.readOnly&&!r.data.noHTML,r._hasText=!0;var a=e.dict;"string"!=typeof r.data.fieldValue&&(r.data.fieldValue="");var o=(0,i.getInheritableProperty)({dict:a,key:"Q"});(!Number.isInteger(o)||o<0||o>2)&&(o=null),r.data.textAlignment=o;var s=(0,i.getInheritableProperty)({dict:a,key:"MaxLen"});return(!Number.isInteger(s)||s<0)&&(s=0),r.data.maxLen=s,r.data.multiLine=r.hasFieldFlag(n.AnnotationFieldFlag.MULTILINE),r.data.comb=r.hasFieldFlag(n.AnnotationFieldFlag.COMB)&&!r.hasFieldFlag(n.AnnotationFieldFlag.MULTILINE)&&!r.hasFieldFlag(n.AnnotationFieldFlag.PASSWORD)&&!r.hasFieldFlag(n.AnnotationFieldFlag.FILESELECT)&&0!==r.data.maxLen,r.data.doNotScroll=r.hasFieldFlag(n.AnnotationFieldFlag.DONOTSCROLL),r}return y(t,e),P(t,[{key:"hasTextContent",get:function(){return!!this.appearance&&!this._needAppearances}},{key:"_getCombAppearance",value:function(e,t,r,n,a,o,s,c,u,l,h){var f,d=a/this.data.maxLen,p=this.getBorderAndBackgroundAppearances(h),g=[],v=x(t.getCharPositions(r));try{for(v.s();!(f=v.n()).done;){var m=S(f.value,2),y=m[0],b=m[1];g.push("(".concat((0,i.escapeString)(r.substring(y,b)),") Tj"))}}catch(e){v.e(e)}finally{v.f()}var w=g.join(" ".concat((0,i.numberToString)(d)," 0 Td "));return"/Tx BMC q ".concat(p,"BT ")+e+" 1 0 0 1 ".concat((0,i.numberToString)(s)," ").concat((0,i.numberToString)(c+u)," Tm ").concat(w," ET Q EMC")}},{key:"_getMultilineAppearance",value:function(e,t,r,n,a,o,s,c,u,l,h,f){for(var d=[],p=a-2*c,g={shift:0},v=0,m=t.length;v<m;v++)for(var y=t[v],b=this._splitLine(y,r,n,p),w=0,k=b.length;w<k;w++){var x=b[w],S=0===v&&0===w?-u-(h-l):-h;d.push(this._renderText(x,r,n,a,s,g,c,S))}var A=this.getBorderAndBackgroundAppearances(f),C=d.join("\n");return"/Tx BMC q ".concat(A,"BT ")+e+" 1 0 0 1 0 ".concat((0,i.numberToString)(o)," Tm ").concat(C," ET Q EMC")}},{key:"_splitLine",value:function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};e=a.line||e;var i=a.glyphs||t.charsToGlyphs(e);if(i.length<=1)return[e];for(var o=a.positions||t.getCharPositions(e),s=r/1e3,c=[],u=-1,l=-1,h=-1,f=0,d=0,p=0,g=i.length;p<g;p++){var v=S(o[p],2),m=v[0],y=v[1],b=i[p],w=b.width*s;" "===b.unicode?d+w>n?(c.push(e.substring(f,m)),f=m,d=w,u=-1,h=-1):(d+=w,u=m,l=y,h=p):d+w>n?-1!==u?(c.push(e.substring(f,l)),f=l,p=h+1,u=-1,d=0):(c.push(e.substring(f,m)),f=m,d=w):d+=w}return f<e.length&&c.push(e.substring(f,e.length)),c}},{key:"getFieldObject",value:function(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||"",multiline:this.data.multiLine,password:this.hasFieldFlag(n.AnnotationFieldFlag.PASSWORD),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"}}}]),t}(L),j=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[e])).checkedAppearance=null,r.uncheckedAppearance=null,r.data.checkBox=!r.hasFieldFlag(n.AnnotationFieldFlag.RADIO)&&!r.hasFieldFlag(n.AnnotationFieldFlag.PUSHBUTTON),r.data.radioButton=r.hasFieldFlag(n.AnnotationFieldFlag.RADIO)&&!r.hasFieldFlag(n.AnnotationFieldFlag.PUSHBUTTON),r.data.pushButton=r.hasFieldFlag(n.AnnotationFieldFlag.PUSHBUTTON),r.data.isTooltipOnly=!1,r.data.checkBox?r._processCheckBox(e):r.data.radioButton?r._processRadioButton(e):r.data.pushButton?(r.data.hasOwnCanvas=!0,r._processPushButton(e)):(0,n.warn)("Invalid field flags for button widget annotation"),r}var r,o,h,p;return y(t,e),P(t,[{key:"getOperatorList",value:(p=T(k().mark((function e(r,i,o,s,c){var u,l,h,f,d,p,g;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.pushButton){e.next=2;break}return e.abrupt("return",a(m(t.prototype),"getOperatorList",this).call(this,r,i,o,!1,c));case 2:if(u=null,l=null,c&&(h=c.get(this.data.id),u=h?h.value:null,l=h?h.rotation:null),null!==u||!this.appearance){e.next=6;break}return e.abrupt("return",a(m(t.prototype),"getOperatorList",this).call(this,r,i,o,s,c));case 6:if(null==u&&(u=this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue),!(f=u?this.checkedAppearance:this.uncheckedAppearance)){e.next=16;break}return d=this.appearance,p=f.dict.getArray("Matrix")||n.IDENTITY_MATRIX,l&&f.dict.set("Matrix",this.getRotationMatrix(c)),this.appearance=f,g=a(m(t.prototype),"getOperatorList",this).call(this,r,i,o,s,c),this.appearance=d,f.dict.set("Matrix",p),e.abrupt("return",g);case 16:return e.abrupt("return",{opList:new C.OperatorList,separateForm:!1,separateCanvas:!1});case 17:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n,a){return p.apply(this,arguments)})},{key:"save",value:(h=T(k().mark((function e(t,r,n){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.data.checkBox?this._saveCheckbox(t,r,n):this.data.radioButton?this._saveRadioButton(t,r,n):null);case 1:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return h.apply(this,arguments)})},{key:"_saveCheckbox",value:(o=T(k().mark((function e(t,r,a){var i,o,c,l,h,f,d,p,g,v;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a){e.next=2;break}return e.abrupt("return",null);case 2:if(i=a.get(this.data.id),o=null==i?void 0:i.rotation,c=null==i?void 0:i.value,void 0!==o){e.next=9;break}if(void 0!==c){e.next=7;break}return e.abrupt("return",null);case 7:if(this.data.fieldValue===this.data.exportValue!==c){e.next=9;break}return e.abrupt("return",null);case 9:if((l=t.xref.fetchIfRef(this.ref))instanceof s.Dict){e.next=12;break}return e.abrupt("return",null);case 12:return void 0===o&&(o=this.rotation),void 0===c&&(c=this.data.fieldValue===this.data.exportValue),h={path:this.data.fieldName,value:c?this.data.exportValue:""},f=s.Name.get(c?this.data.exportValue:"Off"),l.set("V",f),l.set("AS",f),l.set("M","D:".concat((0,n.getModificationDate)())),(d=this._getMKDict(o))&&l.set("MK",d),p=t.xref.encrypt,g=null,p&&(g=p.createCipherTransform(this.ref.num,this.ref.gen)),v=["".concat(this.ref.num," ").concat(this.ref.gen," obj\n")],e.next=26,(0,u.writeDict)(l,v,g);case 26:return v.push("\nendobj\n"),e.abrupt("return",[{ref:this.ref,data:v.join(""),xfa:h}]);case 28:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return o.apply(this,arguments)})},{key:"_saveRadioButton",value:(r=T(k().mark((function e(t,r,a){var i,o,c,l,h,f,d,p,g,v,m,y,b,w;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a){e.next=2;break}return e.abrupt("return",null);case 2:if(i=a.get(this.data.id),o=null==i?void 0:i.rotation,c=null==i?void 0:i.value,void 0!==o){e.next=9;break}if(void 0!==c){e.next=7;break}return e.abrupt("return",null);case 7:if(this.data.fieldValue===this.data.buttonValue!==c){e.next=9;break}return e.abrupt("return",null);case 9:if((l=t.xref.fetchIfRef(this.ref))instanceof s.Dict){e.next=12;break}return e.abrupt("return",null);case 12:if(void 0===c&&(c=this.data.fieldValue===this.data.buttonValue),void 0===o&&(o=this.rotation),h={path:this.data.fieldName,value:c?this.data.buttonValue:""},f=s.Name.get(c?this.data.buttonValue:"Off"),d=null,p=t.xref.encrypt,!c){e.next=30;break}if(!(this.parent instanceof s.Ref)){e.next=29;break}return g=t.xref.fetch(this.parent),v=null,p&&(v=p.createCipherTransform(this.parent.num,this.parent.gen)),g.set("V",f),d=["".concat(this.parent.num," ").concat(this.parent.gen," obj\n")],e.next=26,(0,u.writeDict)(g,d,v);case 26:d.push("\nendobj\n"),e.next=30;break;case 29:this.parent instanceof s.Dict&&this.parent.set("V",f);case 30:return l.set("AS",f),l.set("M","D:".concat((0,n.getModificationDate)())),(m=this._getMKDict(o))&&l.set("MK",m),y=null,p&&(y=p.createCipherTransform(this.ref.num,this.ref.gen)),b=["".concat(this.ref.num," ").concat(this.ref.gen," obj\n")],e.next=39,(0,u.writeDict)(l,b,y);case 39:return b.push("\nendobj\n"),w=[{ref:this.ref,data:b.join(""),xfa:h}],null!==d&&w.push({ref:this.parent,data:d.join(""),xfa:null}),e.abrupt("return",w);case 43:case"end":return e.stop()}}),e,this)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"_getDefaultCheckedAppearance",value:function(e,t){var r,a,o=this.data.rect[2]-this.data.rect[0],u=this.data.rect[3]-this.data.rect[1],l=[0,0,o,u],h=.8*Math.min(o,u);"check"===t?(r={width:.755*h,height:.705*h},a="3"):"disc"===t?(r={width:.791*h,height:.705*h},a="l"):(0,n.unreachable)("_getDefaultCheckedAppearance - unsupported type: ".concat(t));var f="q BT /PdfJsZaDb ".concat(h," Tf 0 g ").concat((0,i.numberToString)((o-r.width)/2)," ").concat((0,i.numberToString)((u-r.height)/2)," Td (").concat(a,") Tj ET Q"),d=new s.Dict(e.xref);d.set("FormType",1),d.set("Subtype",s.Name.get("Form")),d.set("Type",s.Name.get("XObject")),d.set("BBox",l),d.set("Matrix",[1,0,0,1,0,0]),d.set("Length",f.length);var p=new s.Dict(e.xref),g=new s.Dict(e.xref);g.set("PdfJsZaDb",this.fallbackFontDict),p.set("Font",g),d.set("Resources",p),this.checkedAppearance=new c.StringStream(f),this.checkedAppearance.dict=d,this._streams.push(this.checkedAppearance)}},{key:"_processCheckBox",value:function(e){var t=e.dict.get("AP");if(t instanceof s.Dict){var r=t.get("N");if(r instanceof s.Dict){var n=this._decodeFormValue(e.dict.get("AS"));"string"==typeof n&&(this.data.fieldValue=n);var a=null!==this.data.fieldValue&&"Off"!==this.data.fieldValue?this.data.fieldValue:"Yes",i=r.getKeys();if(0===i.length)i.push("Off",a);else if(1===i.length)"Off"===i[0]?i.push(a):i.unshift("Off");else if(i.includes(a))i.length=0,i.push("Off",a);else{var o=i.find((function(e){return"Off"!==e}));i.length=0,i.push("Off",o)}i.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=i[1];var c=r.get(this.data.exportValue);this.checkedAppearance=c instanceof l.BaseStream?c:null;var u=r.get("Off");this.uncheckedAppearance=u instanceof l.BaseStream?u:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}}},{key:"_processRadioButton",value:function(e){this.data.fieldValue=this.data.buttonValue=null;var t=e.dict.get("Parent");if(t instanceof s.Dict){this.parent=e.dict.getRaw("Parent");var r=t.get("V");r instanceof s.Name&&(this.data.fieldValue=this._decodeFormValue(r))}var n=e.dict.get("AP");if(n instanceof s.Dict){var a=n.get("N");if(a instanceof s.Dict){var i,o=x(a.getKeys());try{for(o.s();!(i=o.n()).done;){var c=i.value;if("Off"!==c){this.data.buttonValue=this._decodeFormValue(c);break}}}catch(e){o.e(e)}finally{o.f()}var u=a.get(this.data.buttonValue);this.checkedAppearance=u instanceof l.BaseStream?u:null;var h=a.get("Off");this.uncheckedAppearance=h instanceof l.BaseStream?h:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}}},{key:"_processPushButton",value:function(e){e.dict.has("A")||e.dict.has("AA")||this.data.alternativeText?(this.data.isTooltipOnly=!e.dict.has("A")&&!e.dict.has("AA"),f.Catalog.parseDestDictionary({destDict:e.dict,resultObj:this.data,docBaseUrl:e.pdfManager.docBaseUrl,docAttachments:e.attachments})):(0,n.warn)("Push buttons without action dictionaries are not supported")}},{key:"getFieldObject",value:function(){var e,t="button";return this.data.checkBox?(t="checkbox",e=this.data.exportValue):this.data.radioButton&&(t="radiobutton",e=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:e,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:t}}},{key:"fallbackFontDict",get:function(){var e=new s.Dict;return e.set("BaseFont",s.Name.get("ZapfDingbats")),e.set("Type",s.Name.get("FallbackType")),e.set("Subtype",s.Name.get("FallbackType")),e.set("Encoding",s.Name.get("ZapfDingbatsEncoding")),(0,n.shadow)(this,"fallbackFontDict",e)}}]),t}(L),U=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict,o=e.xref;r.indices=a.getArray("I"),r.hasIndices=Array.isArray(r.indices)&&r.indices.length>0,r.data.options=[];var s=(0,i.getInheritableProperty)({dict:a,key:"Opt"});if(Array.isArray(s))for(var c=0,u=s.length;c<u;c++){var l=o.fetchIfRef(s[c]),h=Array.isArray(l);r.data.options[c]={exportValue:r._decodeFormValue(h?o.fetchIfRef(l[0]):l),displayValue:r._decodeFormValue(h?o.fetchIfRef(l[1]):l)}}if(r.hasIndices){r.data.fieldValue=[];var f,p=r.data.options.length,g=x(r.indices);try{for(g.s();!(f=g.n()).done;){var v=f.value;Number.isInteger(v)&&v>=0&&v<p&&r.data.fieldValue.push(r.data.options[v].exportValue)}}catch(e){g.e(e)}finally{g.f()}}else"string"==typeof r.data.fieldValue?r.data.fieldValue=[r.data.fieldValue]:r.data.fieldValue||(r.data.fieldValue=[]);return r.data.combo=r.hasFieldFlag(n.AnnotationFieldFlag.COMBO),r.data.multiSelect=r.hasFieldFlag(n.AnnotationFieldFlag.MULTISELECT),r._hasText=!0,r}var r;return y(t,e),P(t,[{key:"getFieldObject",value:function(){var e=this.data.combo?"combobox":"listbox",t=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:t,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:e}}},{key:"amendSavedDict",value:function(e,t){var r;if(this.hasIndices){var n=null==e||null===(r=e.get(this.data.id))||void 0===r?void 0:r.value;Array.isArray(n)||(n=[n]);for(var a=[],i=this.data.options,o=0,s=0,c=i.length;o<c;o++)i[o].exportValue===n[s]&&(a.push(o),s+=1);t.set("I",a)}}},{key:"_getAppearance",value:(r=T(k().mark((function e(r,i,s,c){var u,l,h,f,d,p,g,v,y,b,w,A,C,O,F,I,T,M,E,P,R,N,D,B,_,j,U,$,X,H,q,z,G,W,V,K,Y;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.combo){e.next=2;break}return e.abrupt("return",a(m(t.prototype),"_getAppearance",this).call(this,r,i,s,c));case 2:if((f=null==c?void 0:c.get(this.data.id))&&(h=f.rotation,l=f.value),void 0!==h||void 0!==l||this._needAppearances){e.next=6;break}return e.abrupt("return",null);case 6:for(void 0===l?l=this.data.fieldValue:Array.isArray(l)||(l=[l]),d=this.data.rect[3]-this.data.rect[1],p=this.data.rect[2]-this.data.rect[0],90!==h&&270!==h||(p=(u=[d,p])[0],d=u[1]),g=this.data.options.length,v=[],y=0;y<g;y++)b=this.data.options[y].exportValue,l.includes(b)&&v.push(y);return this._defaultAppearance||(this.data.defaultAppearanceData=(0,o.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g")),e.next=14,L._getFontData(r,i,this.data.defaultAppearanceData,this._fieldResources.mergedResources);case 14:if(w=e.sent,C=this.data.defaultAppearanceData.fontSize)A=this._defaultAppearance;else{O=(d-1)/g,I=-1,T=x(this.data.options);try{for(T.s();!(M=T.n()).done;)E=M.value.displayValue,(P=this._getTextWidth(E,w))>I&&(I=P,F=E)}catch(e){T.e(e)}finally{T.f()}R=this._computeFontSize(O,p-4,F,w,-1),N=S(R,2),A=N[0],C=N[1]}if(D=C*n.LINE_FACTOR,B=(D-C)/2,_=Math.floor(d/D),j=0,v.length>0&&(U=Math.min.apply(Math,v),$=Math.max.apply(Math,v),(j=Math.max(0,$-_+1))>U&&(j=U)),X=Math.min(j+_+1,g),H=["/Tx BMC q","1 1 ".concat(p," ").concat(d," re W n")],v.length){H.push("0.600006 0.756866 0.854904 rg"),q=x(v);try{for(q.s();!(z=q.n()).done;)G=z.value,j<=G&&G<X&&H.push("1 ".concat(d-(G-j+1)*D," ").concat(p," ").concat(D," re f"))}catch(e){q.e(e)}finally{q.f()}}for(H.push("BT",A,"1 0 0 1 0 ".concat(d," Tm")),W={shift:0},V=j;V<X;V++)K=this.data.options[V].displayValue,Y=V===j?B:0,H.push(this._renderText(K,w,C,p,0,W,2,-D+Y));return H.push("ET Q EMC"),e.abrupt("return",H.join("\n"));case 27:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a){return r.apply(this,arguments)})}]),t}(L),$=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[e])).data.fieldValue=null,r.data.hasOwnCanvas=r.data.noRotate,r}return y(t,e),P(t,[{key:"getFieldObject",value:function(){return{id:this.data.id,value:null,page:this.data.pageIndex,type:"signature"}}}]),t}(L),X=function(e){function t(e){var r;M(this,t),(r=d(this,t,[e])).data.noRotate=!0,r.data.hasOwnCanvas=r.data.noRotate;var a=e.dict;return r.data.annotationType=n.AnnotationType.TEXT,r.data.hasAppearance?r.data.name="NoIcon":(r.data.rect[1]=r.data.rect[3]-22,r.data.rect[2]=r.data.rect[0]+22,r.data.name=a.has("Name")?a.get("Name").name:"Note"),a.has("State")?(r.data.state=a.get("State")||null,r.data.stateModel=a.get("StateModel")||null):(r.data.state=null,r.data.stateModel=null),r}return y(t,e),P(t)}(B),H=function(e){function t(e){var r,a;M(this,t),(a=d(this,t,[e])).data.annotationType=n.AnnotationType.LINK;var i=E(e.dict,a.rectangle);return i&&(a.data.quadPoints=i),(r=a.data).borderColor||(r.borderColor=a.data.color),f.Catalog.parseDestDictionary({destDict:e.dict,resultObj:a.data,docBaseUrl:e.pdfManager.docBaseUrl,docAttachments:e.attachments}),a}return y(t,e),P(t)}(N),q=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict;r.data.annotationType=n.AnnotationType.POPUP,r.data.rect[0]!==r.data.rect[2]&&r.data.rect[1]!==r.data.rect[3]||(r.data.rect=null);var i=a.get("Parent");if(!i)return(0,n.warn)("Popup annotation has a missing or invalid parent annotation."),p(r);var o=i.getArray("Rect");r.data.parentRect=Array.isArray(o)&&4===o.length?n.Util.normalizeRect(o):null;var c=i.get("RT");if((0,s.isName)(c,n.AnnotationReplyType.GROUP)&&(i=i.get("IRT")),i.has("M")?(r.setModificationDate(i.get("M")),r.data.modificationDate=r.modificationDate):r.data.modificationDate=null,i.has("C")?(r.setColor(i.getArray("C")),r.data.color=r.color):r.data.color=null,!r.viewable){var u=i.get("F");r._isViewable(u)&&r.setFlags(u)}return r.setTitle(i.get("T")),r.data.titleObj=r._title,r.setContents(i.get("Contents")),r.data.contentsObj=r._contents,i.has("RC")&&(r.data.richText=O.XFAFactory.getRichTextAsHtml(i.get("RC"))),r.data.open=!!a.get("Open"),r}return y(t,e),P(t)}(N);t.PopupAnnotation=q;var z=function(e){function t(e){var r;M(this,t),(r=d(this,t,[e])).data.hasOwnCanvas=!0;var a=e.evaluatorOptions,i=e.xref;if(r.data.annotationType=n.AnnotationType.FREETEXT,r.setDefaultAppearance(e),r.appearance){var s=(0,o.parseAppearanceStream)(r.appearance,a,i),c=s.fontColor,u=s.fontSize;r.data.defaultAppearanceData.fontColor=c,r.data.defaultAppearanceData.fontSize=u||10}else if(r._isOffscreenCanvasSupported){var l,h=e.dict.get("CA"),f=new o.FakeUnicodeFont(i,"sans-serif");(l=r.data.defaultAppearanceData).fontSize||(l.fontSize=10);var p=r.data.defaultAppearanceData,g=p.fontColor,v=p.fontSize;r.appearance=f.createAppearance(r._contents.str,r.rectangle,r.rotation,v,g,h),r._streams.push(r.appearance,o.FakeUnicodeFont.toUnicodeStream)}else(0,n.warn)("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.");return r}var r;return y(t,e),P(t,[{key:"hasTextContent",get:function(){return!!this.appearance}}],[{key:"createNewDict",value:function(e,t,r){var a=r.apRef,c=r.ap,u=e.color,l=e.fontSize,h=e.rect,f=e.rotation,d=e.user,p=e.value,g=new s.Dict(t);g.set("Type",s.Name.get("Annot")),g.set("Subtype",s.Name.get("FreeText")),g.set("CreationDate","D:".concat((0,n.getModificationDate)())),g.set("Rect",h);var v="/Helv ".concat(l," Tf ").concat((0,o.getPdfColor)(u,!0));if(g.set("DA",v),g.set("Contents",(0,i.isAscii)(p)?p:(0,i.stringToUTF16String)(p,!0)),g.set("F",4),g.set("Border",[0,0,0]),g.set("Rotate",f),d&&g.set("T",(0,i.isAscii)(d)?d:(0,i.stringToUTF16String)(d,!0)),a||c){var m=new s.Dict(t);g.set("AP",m),a?m.set("N",a):m.set("N",c)}return g}},{key:"createNewAppearanceStream",value:(r=T(k().mark((function e(t,r,a){var u,l,h,f,d,p,g,v,m,y,b,w,A,C,O,F,I,T,M,E,P,R,N,D,B,_,j,U,$,X,H,q,z,G,W,V,K,Y,J,Z,Q,ee,te,re,ne,ae,ie,oe,se,ce;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=a.baseFontRef,h=a.evaluator,f=a.task,d=t.color,p=t.fontSize,g=t.rect,v=t.rotation,m=t.value,y=new s.Dict(r),b=new s.Dict(r),l?b.set("Helv",l):((w=new s.Dict(r)).set("BaseFont",s.Name.get("Helvetica")),w.set("Type",s.Name.get("Font")),w.set("Subtype",s.Name.get("Type1")),w.set("Encoding",s.Name.get("WinAnsiEncoding")),b.set("Helv",w)),y.set("Font",b),e.next=5,L._getFontData(h,f,{fontName:"Helv",fontSize:p},y);case 5:A=e.sent,C=S(g,4),O=C[0],F=C[1],I=C[2],T=C[3],M=I-O,E=T-F,v%180!=0&&(M=(u=[E,M])[0],E=u[1]),P=m.split("\n"),R=p/1e3,N=-1/0,D=[],B=x(P),e.prev=17,B.s();case 19:if((_=B.n()).done){e.next=33;break}if(j=_.value,!((U=A.encodeString(j)).length>1)){e.next=24;break}return e.abrupt("return",null);case 24:j=U.join(""),D.push(j),$=0,X=A.charsToGlyphs(j),H=x(X);try{for(H.s();!(q=H.n()).done;)z=q.value,$+=z.width*R}catch(e){H.e(e)}finally{H.f()}N=Math.max(N,$);case 31:e.next=19;break;case 33:e.next=38;break;case 35:e.prev=35,e.t0=e.catch(17),B.e(e.t0);case 38:return e.prev=38,B.f(),e.finish(38);case 41:G=1,N>M&&(G=M/N),W=1,V=n.LINE_FACTOR*p,K=(n.LINE_FACTOR-n.LINE_DESCENT_FACTOR)*p,(Y=V*P.length)>E&&(W=E/Y),J=p*Math.min(G,W),e.t1=v,e.next=0===e.t1?50:90===e.t1?54:180===e.t1?58:270===e.t1?62:65;break;case 50:return ee=[1,0,0,1],Q=[g[0],g[1],M,E],Z=[g[0],g[3]-K],e.abrupt("break",65);case 54:return ee=[0,1,-1,0],Q=[g[1],-g[2],M,E],Z=[g[1],-g[0]-K],e.abrupt("break",65);case 58:return ee=[-1,0,0,-1],Q=[-g[2],-g[3],M,E],Z=[-g[2],-g[1]-K],e.abrupt("break",65);case 62:ee=[0,-1,1,0],Q=[-g[3],g[0],M,E],Z=[-g[3],g[2]-K];case 65:for((te=["q","".concat(ee.join(" ")," 0 0 cm"),"".concat(Q.join(" ")," re W n"),"BT","".concat((0,o.getPdfColor)(d,!0)),"0 Tc /Helv ".concat((0,i.numberToString)(J)," Tf")]).push("".concat(Z.join(" ")," Td (").concat((0,i.escapeString)(D[0]),") Tj")),re=(0,i.numberToString)(V),ne=1,ae=D.length;ne<ae;ne++)ie=D[ne],te.push("0 -".concat(re," Td (").concat((0,i.escapeString)(ie),") Tj"));return te.push("ET","Q"),oe=te.join("\n"),(se=new s.Dict(r)).set("FormType",1),se.set("Subtype",s.Name.get("Form")),se.set("Type",s.Name.get("XObject")),se.set("BBox",g),se.set("Resources",y),se.set("Matrix",[1,0,0,1,-g[0],-g[1]]),(ce=new c.StringStream(oe)).dict=se,e.abrupt("return",ce);case 80:case"end":return e.stop()}}),e,null,[[17,35,38,41]])}))),function(e,t,n){return r.apply(this,arguments)})}]),t}(B),G=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict,i=e.xref;r.data.annotationType=n.AnnotationType.LINE,r.data.hasOwnCanvas=r.data.noRotate;var o=a.getArray("L");if(r.data.lineCoordinates=n.Util.normalizeRect(o),r.setLineEndings(a.getArray("LE")),r.data.lineEndings=r.lineEndings,!r.appearance){var s=r.color?I(r.color):[0,0,0],c=a.get("CA"),u=F(a.getArray("IC"),null),l=u?I(u):null,h=l?c:null,f=r.borderStyle.width||1,p=2*f,g=[r.data.lineCoordinates[0]-p,r.data.lineCoordinates[1]-p,r.data.lineCoordinates[2]+p,r.data.lineCoordinates[3]+p];n.Util.intersect(r.rectangle,g)||(r.rectangle=g),r._setDefaultAppearance({xref:i,extra:"".concat(f," w"),strokeColor:s,fillColor:l,strokeAlpha:c,fillAlpha:h,pointsCallback:function(e,t){return e.push("".concat(o[0]," ").concat(o[1]," m"),"".concat(o[2]," ").concat(o[3]," l"),"S"),[t[0].x-f,t[1].x+f,t[3].y-f,t[1].y+f]}})}return r}return y(t,e),P(t)}(B),W=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict,i=e.xref;if(r.data.annotationType=n.AnnotationType.SQUARE,r.data.hasOwnCanvas=r.data.noRotate,!r.appearance){var o=r.color?I(r.color):[0,0,0],s=a.get("CA"),c=F(a.getArray("IC"),null),u=c?I(c):null,l=u?s:null;if(0===r.borderStyle.width&&!u)return p(r);r._setDefaultAppearance({xref:i,extra:"".concat(r.borderStyle.width," w"),strokeColor:o,fillColor:u,strokeAlpha:s,fillAlpha:l,pointsCallback:function(e,t){var n=t[2].x+r.borderStyle.width/2,a=t[2].y+r.borderStyle.width/2,i=t[3].x-t[2].x-r.borderStyle.width,o=t[1].y-t[3].y-r.borderStyle.width;return e.push("".concat(n," ").concat(a," ").concat(i," ").concat(o," re")),u?e.push("B"):e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}return r}return y(t,e),P(t)}(B),V=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict,i=e.xref;if(r.data.annotationType=n.AnnotationType.CIRCLE,!r.appearance){var o=r.color?I(r.color):[0,0,0],s=a.get("CA"),c=F(a.getArray("IC"),null),u=c?I(c):null,l=u?s:null;if(0===r.borderStyle.width&&!u)return p(r);var h=4/3*Math.tan(Math.PI/8);r._setDefaultAppearance({xref:i,extra:"".concat(r.borderStyle.width," w"),strokeColor:o,fillColor:u,strokeAlpha:s,fillAlpha:l,pointsCallback:function(e,t){var n=t[0].x+r.borderStyle.width/2,a=t[0].y-r.borderStyle.width/2,i=t[3].x-r.borderStyle.width/2,o=t[3].y+r.borderStyle.width/2,s=n+(i-n)/2,c=a+(o-a)/2,l=(i-n)/2*h,f=(o-a)/2*h;return e.push("".concat(s," ").concat(o," m"),"".concat(s+l," ").concat(o," ").concat(i," ").concat(c+f," ").concat(i," ").concat(c," c"),"".concat(i," ").concat(c-f," ").concat(s+l," ").concat(a," ").concat(s," ").concat(a," c"),"".concat(s-l," ").concat(a," ").concat(n," ").concat(c-f," ").concat(n," ").concat(c," c"),"".concat(n," ").concat(c+f," ").concat(s-l," ").concat(o," ").concat(s," ").concat(o," c"),"h"),u?e.push("B"):e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}return r}return y(t,e),P(t)}(B),K=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict,i=e.xref;r.data.annotationType=n.AnnotationType.POLYLINE,r.data.hasOwnCanvas=r.data.noRotate,r.data.vertices=[],g(r)instanceof Y||(r.setLineEndings(a.getArray("LE")),r.data.lineEndings=r.lineEndings);var o=a.getArray("Vertices");if(Array.isArray(o)){for(var s=0,c=o.length;s<c;s+=2)r.data.vertices.push({x:o[s],y:o[s+1]});if(!r.appearance){var u,l=r.color?I(r.color):[0,0,0],h=a.get("CA"),f=r.borderStyle.width||1,p=2*f,v=[1/0,1/0,-1/0,-1/0],m=x(r.data.vertices);try{for(m.s();!(u=m.n()).done;){var y=u.value;v[0]=Math.min(v[0],y.x-p),v[1]=Math.min(v[1],y.y-p),v[2]=Math.max(v[2],y.x+p),v[3]=Math.max(v[3],y.y+p)}}catch(e){m.e(e)}finally{m.f()}n.Util.intersect(r.rectangle,v)||(r.rectangle=v),r._setDefaultAppearance({xref:i,extra:"".concat(f," w"),strokeColor:l,strokeAlpha:h,pointsCallback:function(e,t){for(var n=r.data.vertices,a=0,i=n.length;a<i;a++)e.push("".concat(n[a].x," ").concat(n[a].y," ").concat(0===a?"m":"l"));return e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}return r}return y(t,e),P(t)}(B),Y=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[e])).data.annotationType=n.AnnotationType.POLYGON,r}return y(t,e),P(t)}(K),J=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[e])).data.annotationType=n.AnnotationType.CARET,r}return y(t,e),P(t)}(B),Z=function(e){function t(e){var r;M(this,t),(r=d(this,t,[e])).data.hasOwnCanvas=r.data.noRotate;var a=e.dict,i=e.xref;r.data.annotationType=n.AnnotationType.INK,r.data.inkLists=[];var o=a.getArray("InkList");if(Array.isArray(o)){for(var s=0,c=o.length;s<c;++s){r.data.inkLists.push([]);for(var u=0,l=o[s].length;u<l;u+=2)r.data.inkLists[s].push({x:i.fetchIfRef(o[s][u]),y:i.fetchIfRef(o[s][u+1])})}if(!r.appearance){var h,f=r.color?I(r.color):[0,0,0],p=a.get("CA"),g=r.borderStyle.width||1,v=2*g,m=[1/0,1/0,-1/0,-1/0],y=x(r.data.inkLists);try{for(y.s();!(h=y.n()).done;){var b,w=x(h.value);try{for(w.s();!(b=w.n()).done;){var k=b.value;m[0]=Math.min(m[0],k.x-v),m[1]=Math.min(m[1],k.y-v),m[2]=Math.max(m[2],k.x+v),m[3]=Math.max(m[3],k.y+v)}}catch(e){w.e(e)}finally{w.f()}}}catch(e){y.e(e)}finally{y.f()}n.Util.intersect(r.rectangle,m)||(r.rectangle=m),r._setDefaultAppearance({xref:i,extra:"".concat(g," w"),strokeColor:f,strokeAlpha:p,pointsCallback:function(e,t){var n,a=x(r.data.inkLists);try{for(a.s();!(n=a.n()).done;){for(var i=n.value,o=0,s=i.length;o<s;o++)e.push("".concat(i[o].x," ").concat(i[o].y," ").concat(0===o?"m":"l"));e.push("S")}}catch(e){a.e(e)}finally{a.f()}return[t[0].x,t[1].x,t[3].y,t[1].y]}})}}return r}var r;return y(t,e),P(t,null,[{key:"createNewDict",value:function(e,t,r){var a=r.apRef,i=r.ap,o=e.color,c=e.opacity,u=e.paths,l=e.rect,h=e.rotation,f=e.thickness,d=new s.Dict(t);d.set("Type",s.Name.get("Annot")),d.set("Subtype",s.Name.get("Ink")),d.set("CreationDate","D:".concat((0,n.getModificationDate)())),d.set("Rect",l),d.set("InkList",u.map((function(e){return e.points}))),d.set("F",4),d.set("Rotate",h);var p=new s.Dict(t);d.set("BS",p),p.set("W",f),d.set("C",Array.from(o,(function(e){return e/255}))),d.set("CA",c);var g=new s.Dict(t);return d.set("AP",g),a?g.set("N",a):g.set("N",i),d}},{key:"createNewAppearanceStream",value:(r=T(k().mark((function e(t,r,n){var a,u,l,h,f,d,p,g,v,m,y,b,w,S,A,C,O,F,I;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=t.color,u=t.rect,l=t.paths,h=t.thickness,f=t.opacity,d=["".concat(h," w 1 J 1 j"),"".concat((0,o.getPdfColor)(a,!1))],1!==f&&d.push("/R0 gs"),p=[],g=x(l);try{for(g.s();!(v=g.n()).done;){for(m=v.value.bezier,p.length=0,p.push("".concat((0,i.numberToString)(m[0])," ").concat((0,i.numberToString)(m[1])," m")),y=2,b=m.length;y<b;y+=6)w=m.slice(y,y+6).map(i.numberToString).join(" "),p.push("".concat(w," c"));p.push("S"),d.push(p.join("\n"))}}catch(e){g.e(e)}finally{g.f()}return S=d.join("\n"),(A=new s.Dict(r)).set("FormType",1),A.set("Subtype",s.Name.get("Form")),A.set("Type",s.Name.get("XObject")),A.set("BBox",u),A.set("Length",S.length),1!==f&&(C=new s.Dict(r),O=new s.Dict(r),(F=new s.Dict(r)).set("CA",f),F.set("Type",s.Name.get("ExtGState")),O.set("R0",F),C.set("ExtGState",O),A.set("Resources",C)),(I=new c.StringStream(S)).dict=A,e.abrupt("return",I);case 15:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})}]),t}(B),Q=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict,i=e.xref;if(r.data.annotationType=n.AnnotationType.HIGHLIGHT,r.data.quadPoints=E(a,null)){var o,s=null===(o=r.appearance)||void 0===o?void 0:o.dict.get("Resources");if(!r.appearance||null==s||!s.has("ExtGState")){r.appearance&&(0,n.warn)("HighlightAnnotation - ignoring built-in appearance stream.");var c=r.color?I(r.color):[1,1,0],u=a.get("CA");r._setDefaultAppearance({xref:i,fillColor:c,blendMode:"Multiply",fillAlpha:u,pointsCallback:function(e,t){return e.push("".concat(t[0].x," ").concat(t[0].y," m"),"".concat(t[1].x," ").concat(t[1].y," l"),"".concat(t[3].x," ").concat(t[3].y," l"),"".concat(t[2].x," ").concat(t[2].y," l"),"f"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}else r.data.popupRef=null;return r}return y(t,e),P(t)}(B),ee=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict,i=e.xref;if(r.data.annotationType=n.AnnotationType.UNDERLINE,r.data.quadPoints=E(a,null)){if(!r.appearance){var o=r.color?I(r.color):[0,0,0],s=a.get("CA");r._setDefaultAppearance({xref:i,extra:"[] 0 d 0.571 w",strokeColor:o,strokeAlpha:s,pointsCallback:function(e,t){return e.push("".concat(t[2].x," ").concat(t[2].y+1.3," m"),"".concat(t[3].x," ").concat(t[3].y+1.3," l"),"S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}else r.data.popupRef=null;return r}return y(t,e),P(t)}(B),te=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict,i=e.xref;if(r.data.annotationType=n.AnnotationType.SQUIGGLY,r.data.quadPoints=E(a,null)){if(!r.appearance){var o=r.color?I(r.color):[0,0,0],s=a.get("CA");r._setDefaultAppearance({xref:i,extra:"[] 0 d 1 w",strokeColor:o,strokeAlpha:s,pointsCallback:function(e,t){var r=(t[0].y-t[2].y)/6,n=r,a=t[2].x,i=t[2].y,o=t[3].x;e.push("".concat(a," ").concat(i+n," m"));do{a+=2,n=0===n?r:0,e.push("".concat(a," ").concat(i+n," l"))}while(a<o);return e.push("S"),[t[2].x,o,i-2*r,i+2*r]}})}}else r.data.popupRef=null;return r}return y(t,e),P(t)}(B),re=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict,i=e.xref;if(r.data.annotationType=n.AnnotationType.STRIKEOUT,r.data.quadPoints=E(a,null)){if(!r.appearance){var o=r.color?I(r.color):[0,0,0],s=a.get("CA");r._setDefaultAppearance({xref:i,extra:"[] 0 d 1 w",strokeColor:o,strokeAlpha:s,pointsCallback:function(e,t){return e.push((t[0].x+t[2].x)/2+" "+(t[0].y+t[2].y)/2+" m",(t[1].x+t[3].x)/2+" "+(t[1].y+t[3].y)/2+" l","S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}else r.data.popupRef=null;return r}return y(t,e),P(t)}(B),ne=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[e])).data.annotationType=n.AnnotationType.STAMP,r.data.hasOwnCanvas=r.data.noRotate,r}var r,a;return y(t,e),P(t,null,[{key:"createImage",value:(a=T(k().mark((function e(t,r){var a,i,o,u,l,h,f,d,p,g,v,m,y,b,w,x,S,A;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.width,i=t.height,o=new OffscreenCanvas(a,i),(u=o.getContext("2d",{alpha:!0})).drawImage(t,0,0),l=u.getImageData(0,0,a,i).data,h=new Uint32Array(l.buffer),f=h.some(n.FeatureTest.isLittleEndian?function(e){return e>>>24!=255}:function(e){return 255!=(255&e)}),f&&(u.fillStyle="white",u.fillRect(0,0,a,i),u.drawImage(t,0,0)),d=o.convertToBlob({type:"image/jpeg",quality:1}).then((function(e){return e.arrayBuffer()})),p=s.Name.get("XObject"),g=s.Name.get("Image"),(v=new s.Dict(r)).set("Type",p),v.set("Subtype",g),v.set("BitsPerComponent",8),v.set("ColorSpace",s.Name.get("DeviceRGB")),v.set("Filter",s.Name.get("DCTDecode")),v.set("BBox",[0,0,a,i]),v.set("Width",a),v.set("Height",i),m=null,f){if(y=new Uint8Array(h.length),n.FeatureTest.isLittleEndian)for(b=0,w=h.length;b<w;b++)y[b]=h[b]>>>24;else for(x=0,S=h.length;x<S;x++)y[x]=255&h[x];(A=new s.Dict(r)).set("Type",p),A.set("Subtype",g),A.set("BitsPerComponent",8),A.set("ColorSpace",s.Name.get("DeviceGray")),A.set("Width",a),A.set("Height",i),m=new c.Stream(y,0,0,A)}return e.t0=c.Stream,e.next=18,d;case 18:return e.t1=e.sent,e.t2=v,e.t3=new e.t0(e.t1,0,0,e.t2),e.t4=m,e.t5=a,e.t6=i,e.abrupt("return",{imageStream:e.t3,smaskStream:e.t4,width:e.t5,height:e.t6});case 25:case"end":return e.stop()}}),e)}))),function(e,t){return a.apply(this,arguments)})},{key:"createNewDict",value:function(e,t,r){var a=r.apRef,o=r.ap,c=e.rect,u=e.rotation,l=e.user,h=new s.Dict(t);if(h.set("Type",s.Name.get("Annot")),h.set("Subtype",s.Name.get("Stamp")),h.set("CreationDate","D:".concat((0,n.getModificationDate)())),h.set("Rect",c),h.set("F",4),h.set("Border",[0,0,0]),h.set("Rotate",u),l&&h.set("T",(0,i.isAscii)(l)?l:(0,i.stringToUTF16String)(l,!0)),a||o){var f=new s.Dict(t);h.set("AP",f),a?f.set("N",a):f.set("N",o)}return h}},{key:"createNewAppearanceStream",value:(r=T(k().mark((function e(t,r,n){var a,o,u,l,h,f,d,p,g,v,m;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.rotation,o=n.image,u=o.imageRef,l=o.width,h=o.height,f=new s.Dict(r),d=new s.Dict(r),f.set("XObject",d),d.set("Im0",u),p="q ".concat(l," 0 0 ").concat(h," 0 0 cm /Im0 Do Q"),(g=new s.Dict(r)).set("FormType",1),g.set("Subtype",s.Name.get("Form")),g.set("Type",s.Name.get("XObject")),g.set("BBox",[0,0,l,h]),g.set("Resources",f),a&&(v=(0,i.getRotationMatrix)(a,l,h),g.set("Matrix",v)),(m=new c.StringStream(p)).dict=g,e.abrupt("return",m);case 13:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})}]),t}(B),ae=function(e){function t(e){var r;M(this,t),r=d(this,t,[e]);var a=e.dict,i=e.xref,o=new b.FileSpec(a.get("FS"),i);r.data.annotationType=n.AnnotationType.FILEATTACHMENT,r.data.hasOwnCanvas=r.data.noRotate,r.data.file=o.serializable;var c=a.get("Name");return r.data.name=c instanceof s.Name?(0,n.stringToPDFString)(c.name):"PushPin",r}return y(t,e),P(t)}(B)},function(e,t,r){var n=r(4),a=r(6),i=r(87),o=r(158),s=r(7),c=n.RegExp,u=c.prototype;a&&s((function(){var e=!0;try{c(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",a=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in e&&(i.hasIndices="d"),i)a(o,i[o]);return Object.getOwnPropertyDescriptor(u,"flags").get.call(t)!==n||r!==n}))&&i(u,"flags",{configurable:!0,get:o})},function(e,t,r){var n=r(47);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},function(e,t,r){var n=r(3),a=r(40),i=r(64),o=r(140),s=r(160),c=r(142);n({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=a(this),r=i(t),n=arguments.length;if(n){c(r+n);for(var u=r;u--;){var l=u+n;u in t?t[l]=t[u]:s(t,l)}for(var h=0;h<n;h++)t[h]=arguments[h]}return o(t,r+n)}})},function(e,t,r){var n=r(32),a=TypeError;e.exports=function(e,t){if(!delete e[t])throw a("Cannot delete property "+n(t)+" of "+n(e))}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.FakeUnicodeFont=void 0,t.createDefaultAppearance=function(e){var t=e.fontSize,r=e.fontName,n=e.fontColor;return"/".concat((0,a.escapePDFName)(r)," ").concat(t," Tf ").concat(g(n,!0))},t.getPdfColor=g,t.parseAppearanceStream=function(e,t,r){return new p(e,t,r).parse()},t.parseDefaultAppearance=function(e){return new h(e).parse()},r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(139);var n=r(150),a=r(149),i=r(144),o=r(162),s=r(163),c=r(209),u=r(207),l=r(154),h=function(e){function t(e){return M(this,t),d(this,t,[new l.StringStream(e)])}return y(t,e),P(t,[{key:"parse",value:function(){var e={fn:0,args:[]},t={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;e.args.length=0,this.read(e);)if(0===this.savedStatesDepth){e.fn;var a=e.args;switch(0|r){case i.OPS.setFont:var s=S(a,2),c=s[0],u=s[1];c instanceof n.Name&&(t.fontName=c.name),"number"==typeof u&&u>0&&(t.fontSize=u);break;case i.OPS.setFillRGBColor:o.ColorSpace.singletons.rgb.getRgbItem(a,0,t.fontColor,0);break;case i.OPS.setFillGray:o.ColorSpace.singletons.gray.getRgbItem(a,0,t.fontColor,0);break;case i.OPS.setFillCMYKColor:o.ColorSpace.singletons.cmyk.getRgbItem(a,0,t.fontColor,0)}}}catch(e){(0,i.warn)('parseDefaultAppearance - ignoring errors: "'.concat(e,'".'))}return t}}]),t}(s.EvaluatorPreprocessor),p=function(e){function t(e,r,n){var a,i;return M(this,t),(i=d(this,t,[e])).stream=e,i.evaluatorOptions=r,i.xref=n,i.resources=null===(a=e.dict)||void 0===a?void 0:a.get("Resources"),i}return y(t,e),P(t,[{key:"parse",value:function(){var e={fn:0,args:[]},t={scaleFactor:1,fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3),fillColorSpace:o.ColorSpace.singletons.gray},r=!1,a=[];try{for(;e.args.length=0,!r&&this.read(e);){e.fn;var c=e.args;switch(0|s){case i.OPS.save:a.push({scaleFactor:t.scaleFactor,fontSize:t.fontSize,fontName:t.fontName,fontColor:t.fontColor.slice(),fillColorSpace:t.fillColorSpace});break;case i.OPS.restore:t=a.pop()||t;break;case i.OPS.setTextMatrix:t.scaleFactor*=Math.hypot(c[0],c[1]);break;case i.OPS.setFont:var u=S(c,2),l=u[0],h=u[1];l instanceof n.Name&&(t.fontName=l.name),"number"==typeof h&&h>0&&(t.fontSize=h*t.scaleFactor);break;case i.OPS.setFillColorSpace:t.fillColorSpace=o.ColorSpace.parse({cs:c[0],xref:this.xref,resources:this.resources,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:this._localColorSpaceCache});break;case i.OPS.setFillColor:t.fillColorSpace.getRgbItem(c,0,t.fontColor,0);break;case i.OPS.setFillRGBColor:o.ColorSpace.singletons.rgb.getRgbItem(c,0,t.fontColor,0);break;case i.OPS.setFillGray:o.ColorSpace.singletons.gray.getRgbItem(c,0,t.fontColor,0);break;case i.OPS.setFillCMYKColor:o.ColorSpace.singletons.cmyk.getRgbItem(c,0,t.fontColor,0);break;case i.OPS.showText:case i.OPS.showSpacedText:case i.OPS.nextLineShowText:case i.OPS.nextLineSetSpacingShowText:r=!0}}}catch(e){(0,i.warn)('parseAppearanceStream - ignoring errors: "'.concat(e,'".'))}return this.stream.reset(),delete t.scaleFactor,delete t.fillColorSpace,t}},{key:"_localColorSpaceCache",get:function(){return(0,i.shadow)(this,"_localColorSpaceCache",new c.LocalColorSpaceCache)}},{key:"_pdfFunctionFactory",get:function(){var e=new u.PDFFunctionFactory({xref:this.xref,isEvalSupported:this.evaluatorOptions.isEvalSupported});return(0,i.shadow)(this,"_pdfFunctionFactory",e)}}]),t}(s.EvaluatorPreprocessor);function g(e,t){if(e[0]===e[1]&&e[1]===e[2]){var r=e[0]/255;return"".concat((0,a.numberToString)(r)," ").concat(t?"g":"G")}return Array.from(e,(function(e){return(0,a.numberToString)(e/255)})).join(" ")+" "+(t?"rg":"RG")}var v=function(){function e(t,r){M(this,e),this.xref=t,this.widths=null,this.firstChar=1/0,this.lastChar=-1/0,this.fontFamily=r;var a=new OffscreenCanvas(1,1);this.ctxMeasure=a.getContext("2d"),e._fontNameId||(e._fontNameId=1),this.fontName=n.Name.get("InvalidPDFjsFont_".concat(r,"_").concat(e._fontNameId++))}return P(e,[{key:"toUnicodeRef",get:function(){if(!e._toUnicodeRef){var t=e.toUnicodeStream=new l.StringStream("/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo\n<< /Registry (Adobe)\n/Ordering (UCS) /Supplement 0 >> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000> <FFFF>\nendcodespacerange\n1 beginbfrange\n<0000> <FFFF> <0000>\nendbfrange\nendcmap CMapName currentdict /CMap defineresource pop end end"),r=new n.Dict(this.xref);t.dict=r,r.set("Length",346),e._toUnicodeRef=this.xref.getNewPersistentRef(t)}return e._toUnicodeRef}},{key:"fontDescriptorRef",get:function(){if(!e._fontDescriptorRef){var t=new n.Dict(this.xref);t.set("Type",n.Name.get("FontDescriptor")),t.set("FontName",this.fontName),t.set("FontFamily","MyriadPro Regular"),t.set("FontBBox",[0,0,0,0]),t.set("FontStretch",n.Name.get("Normal")),t.set("FontWeight",400),t.set("ItalicAngle",0),e._fontDescriptorRef=this.xref.getNewPersistentRef(t)}return e._fontDescriptorRef}},{key:"descendantFontRef",get:function(){var e=new n.Dict(this.xref);e.set("BaseFont",this.fontName),e.set("Type",n.Name.get("Font")),e.set("Subtype",n.Name.get("CIDFontType0")),e.set("CIDToGIDMap",n.Name.get("Identity")),e.set("FirstChar",this.firstChar),e.set("LastChar",this.lastChar),e.set("FontDescriptor",this.fontDescriptorRef),e.set("DW",1e3);var t,r=[],a=null,i=null,o=x(f(this.widths.entries()).sort());try{for(o.s();!(t=o.n()).done;){var s=S(t.value,2),c=s[0],u=s[1];a?c===a+i.length?i.push(u):(r.push(a,i),a=c,i=[u]):(a=c,i=[u])}}catch(e){o.e(e)}finally{o.f()}a&&r.push(a,i),e.set("W",r);var l=new n.Dict(this.xref);return l.set("Ordering","Identity"),l.set("Registry","Adobe"),l.set("Supplement",0),e.set("CIDSystemInfo",l),this.xref.getNewPersistentRef(e)}},{key:"baseFontRef",get:function(){var e=new n.Dict(this.xref);return e.set("BaseFont",this.fontName),e.set("Type",n.Name.get("Font")),e.set("Subtype",n.Name.get("Type0")),e.set("Encoding",n.Name.get("Identity-H")),e.set("DescendantFonts",[this.descendantFontRef]),e.set("ToUnicode",this.toUnicodeRef),this.xref.getNewPersistentRef(e)}},{key:"resources",get:function(){var e=new n.Dict(this.xref),t=new n.Dict(this.xref);return t.set(this.fontName.name,this.baseFontRef),e.set("Font",t),e}},{key:"_createContext",value:function(){return this.widths=new Map,this.ctxMeasure.font="1000px ".concat(this.fontFamily),this.ctxMeasure}},{key:"createFontResources",value:function(e){var t,r=this._createContext(),n=x(e.split(/\r\n?|\n/));try{for(n.s();!(t=n.n()).done;){var a,i=x(t.value.split(""));try{for(i.s();!(a=i.n()).done;){var o=a.value,s=o.charCodeAt(0);if(!this.widths.has(s)){var c=r.measureText(o),u=Math.ceil(c.width);this.widths.set(s,u),this.firstChar=Math.min(s,this.firstChar),this.lastChar=Math.max(s,this.lastChar)}}}catch(e){i.e(e)}finally{i.f()}}}catch(e){n.e(e)}finally{n.f()}return this.resources}},{key:"createAppearance",value:function(e,t,r,o,s,c){var u,h,f=this._createContext(),d=[],p=-1/0,v=x(e.split(/\r\n?|\n/));try{for(v.s();!(h=v.n()).done;){var m=h.value;d.push(m);var y=f.measureText(m).width;p=Math.max(p,y);var b,w=x(m.split(""));try{for(w.s();!(b=w.n()).done;){var k=b.value,A=k.charCodeAt(0),C=this.widths.get(A);if(void 0===C){var O=f.measureText(k);C=Math.ceil(O.width),this.widths.set(A,C),this.firstChar=Math.min(A,this.firstChar),this.lastChar=Math.max(A,this.lastChar)}}}catch(e){w.e(e)}finally{w.f()}}}catch(e){v.e(e)}finally{v.f()}p*=o/1e3;var F=S(t,4),I=F[0],T=F[1],M=F[2]-I,E=F[3]-T;r%180!=0&&(M=(u=[E,M])[0],E=u[1]);var P=1;p>M&&(P=M/p);var R=1,N=i.LINE_FACTOR*o,D=i.LINE_DESCENT_FACTOR*o,B=N*d.length;B>E&&(R=E/B);var L=o*Math.min(P,R),_=["q","0 0 ".concat((0,a.numberToString)(M)," ").concat((0,a.numberToString)(E)," re W n"),"BT","1 0 0 1 0 ".concat((0,a.numberToString)(E+D)," Tm 0 Tc ").concat(g(s,!0)),"/".concat(this.fontName.name," ").concat((0,a.numberToString)(L)," Tf")],j=this.resources;if(1!==(c="number"==typeof c&&c>=0&&c<=1?c:1)){_.push("/R0 gs");var U=new n.Dict(this.xref),$=new n.Dict(this.xref);$.set("ca",c),$.set("CA",c),$.set("Type",n.Name.get("ExtGState")),U.set("R0",$),j.set("ExtGState",U)}for(var X=(0,a.numberToString)(N),H=0,q=d;H<q.length;H++){var z=q[H];_.push("0 -".concat(X," Td <").concat((0,a.stringToUTF16HexString)(z),"> Tj"))}_.push("ET","Q");var G=_.join("\n"),W=new n.Dict(this.xref);if(W.set("Subtype",n.Name.get("Form")),W.set("Type",n.Name.get("XObject")),W.set("BBox",[0,0,M,E]),W.set("Length",G.length),W.set("Resources",j),r){var V=(0,a.getRotationMatrix)(r,M,E);W.set("Matrix",V)}var K=new l.StringStream(G);return K.dict=W,K}}]),e}();t.FakeUnicodeFont=v},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ColorSpace=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(2);var n=r(144),a=r(150),i=r(151),o=r(149),s=function(){function e(t,r){M(this,e),this.constructor===e&&(0,n.unreachable)("Cannot initialize ColorSpace."),this.name=t,this.numComps=r}var t;return P(e,[{key:"getRgb",value:function(e,t){var r=new Uint8ClampedArray(3);return this.getRgbItem(e,t,r,0),r}},{key:"getRgbItem",value:function(e,t,r,a){(0,n.unreachable)("Should not call ColorSpace.getRgbItem")}},{key:"getRgbBuffer",value:function(e,t,r,a,i,o,s){(0,n.unreachable)("Should not call ColorSpace.getRgbBuffer")}},{key:"getOutputLength",value:function(e,t){(0,n.unreachable)("Should not call ColorSpace.getOutputLength")}},{key:"isPassthrough",value:function(e){return!1}},{key:"isDefaultDecode",value:function(t,r){return e.isDefaultDecode(t,this.numComps)}},{key:"fillRgb",value:function(e,t,r,n,a,i,o,s,c){var u=t*r,l=null,h=1<<o,f=r!==a||t!==n;if(this.isPassthrough(o))l=s;else if(1===this.numComps&&u>h&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){for(var d=o<=8?new Uint8Array(h):new Uint16Array(h),p=0;p<h;p++)d[p]=p;var g=new Uint8ClampedArray(3*h);if(this.getRgbBuffer(d,0,h,g,0,o,0),f){l=new Uint8Array(3*u);for(var v=0,m=0;m<u;++m){var y=3*s[m];l[v++]=g[y],l[v++]=g[y+1],l[v++]=g[y+2]}}else for(var b=0,w=0;w<u;++w){var k=3*s[w];e[b++]=g[k],e[b++]=g[k+1],e[b++]=g[k+2],b+=c}}else f?(l=new Uint8ClampedArray(3*u),this.getRgbBuffer(s,0,u,l,0,o,0)):this.getRgbBuffer(s,0,n*i,e,0,o,c);if(l)if(f)!function(e,t,r,n,a,i,o){o=1!==o?0:o;for(var s,c=r/a,u=n/i,l=0,h=new Uint16Array(a),f=3*r,d=0;d<a;d++)h[d]=3*Math.floor(d*c);for(var p=0;p<i;p++)for(var g=Math.floor(p*u)*f,v=0;v<a;v++)s=g+h[v],t[l++]=e[s++],t[l++]=e[s++],t[l++]=e[s++],l+=o}(l,e,t,r,n,a,c);else for(var x=0,S=0,A=0,C=n*i;A<C;A++)e[x++]=l[S++],e[x++]=l[S++],e[x++]=l[S++],x+=c}},{key:"usesZeroToOneRange",get:function(){return(0,n.shadow)(this,"usesZeroToOneRange",!0)}}],[{key:"_cache",value:function(e,t,r,n){if(!r)throw new Error('ColorSpace._cache - expected "localColorSpaceCache" argument.');if(!n)throw new Error('ColorSpace._cache - expected "parsedColorSpace" argument.');var i,o;e instanceof a.Ref&&(o=e,e=t.fetch(e)),e instanceof a.Name&&(i=e.name),(i||o)&&r.set(i,o,n)}},{key:"getCached",value:function(e,t,r){if(!r)throw new Error('ColorSpace.getCached - expected "localColorSpaceCache" argument.');if(e instanceof a.Ref){var n=r.getByRef(e);if(n)return n;try{e=t.fetch(e)}catch(e){if(e instanceof o.MissingDataException)throw e}}if(e instanceof a.Name){var i=r.getByName(e.name);if(i)return i}return null}},{key:"parseAsync",value:(t=T(k().mark((function e(t){var r,n,a,i,o,s,c;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.cs,n=t.xref,a=t.resources,i=void 0===a?null:a,o=t.pdfFunctionFactory,s=t.localColorSpaceCache,c=this._parse(r,n,i,o),this._cache(r,n,s,c),e.abrupt("return",c);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"parse",value:function(e){var t=e.cs,r=e.xref,n=e.resources,a=void 0===n?null:n,i=e.pdfFunctionFactory,o=e.localColorSpaceCache,s=this.getCached(t,r,o);if(s)return s;var c=this._parse(t,r,a,i);return this._cache(t,r,o,c),c}},{key:"_parse",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;if((e=t.fetchIfRef(e))instanceof a.Name)switch(e.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 u(null);default:if(r instanceof a.Dict){var o=r.get("ColorSpace");if(o instanceof a.Dict){var s=o.get(e.name);if(s){if(s instanceof a.Name)return this._parse(s,t,r,i);e=s;break}}}throw new n.FormatError("Unrecognized ColorSpace: ".concat(e.name))}if(Array.isArray(e)){var h,f,d,p,y,b,w=t.fetchIfRef(e[0]).name;switch(w){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 p=(h=t.fetchIfRef(e[1])).getArray("WhitePoint"),y=h.getArray("BlackPoint"),b=h.get("Gamma"),new g(p,y,b);case"CalRGB":p=(h=t.fetchIfRef(e[1])).getArray("WhitePoint"),y=h.getArray("BlackPoint"),b=h.getArray("Gamma");var k=h.getArray("Matrix");return new v(p,y,b,k);case"ICCBased":var x=t.fetchIfRef(e[1]).dict;f=x.get("N");var S=x.get("Alternate");if(S){var A=this._parse(S,t,r,i);if(A.numComps===f)return A;(0,n.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===f)return this.singletons.gray;if(3===f)return this.singletons.rgb;if(4===f)return this.singletons.cmyk;break;case"Pattern":return(d=e[1]||null)&&(d=this._parse(d,t,r,i)),new u(d);case"I":case"Indexed":d=this._parse(e[1],t,r,i);var C=t.fetchIfRef(e[2])+1,O=t.fetchIfRef(e[3]);return new l(d,C,O);case"Separation":case"DeviceN":var F=t.fetchIfRef(e[1]);f=Array.isArray(F)?F.length:1,d=this._parse(e[2],t,r,i);var I=i.create(e[3]);return new c(f,d,I);case"Lab":p=(h=t.fetchIfRef(e[1])).getArray("WhitePoint"),y=h.getArray("BlackPoint");var T=h.getArray("Range");return new m(p,y,T);default:throw new n.FormatError("Unimplemented ColorSpace object: ".concat(w))}}throw new n.FormatError("Unrecognized ColorSpace object: ".concat(e))}},{key:"isDefaultDecode",value:function(e,t){if(!Array.isArray(e))return!0;if(2*t!==e.length)return(0,n.warn)("The decode map is not the correct length"),!0;for(var r=0,a=e.length;r<a;r+=2)if(0!==e[r]||1!==e[r+1])return!1;return!0}},{key:"singletons",get:function(){return(0,n.shadow)(this,"singletons",{get gray(){return(0,n.shadow)(this,"gray",new h)},get rgb(){return(0,n.shadow)(this,"rgb",new f)},get cmyk(){return(0,n.shadow)(this,"cmyk",new p)}})}}]),e}();t.ColorSpace=s;var c=function(e){function t(e,r,n){var a;return M(this,t),(a=d(this,t,["Alternate",e])).base=r,a.tintFn=n,a.tmpBuf=new Float32Array(r.numComps),a}return y(t,e),P(t,[{key:"getRgbItem",value:function(e,t,r,n){var a=this.tmpBuf;this.tintFn(e,t,a,0),this.base.getRgbItem(a,0,r,n)}},{key:"getRgbBuffer",value:function(e,t,r,n,a,i,o){var s,c,u=this.tintFn,l=this.base,h=1/((1<<i)-1),f=l.numComps,d=l.usesZeroToOneRange,p=(l.isPassthrough(8)||!d)&&0===o,g=p?a:0,v=p?n:new Uint8ClampedArray(f*r),m=this.numComps,y=new Float32Array(m),b=new Float32Array(f);for(s=0;s<r;s++){for(c=0;c<m;c++)y[c]=e[t++]*h;if(u(y,0,b,0),d)for(c=0;c<f;c++)v[g++]=255*b[c];else l.getRgbItem(b,0,v,g),g+=f}p||l.getRgbBuffer(v,0,r,n,a,8,o)}},{key:"getOutputLength",value:function(e,t){return this.base.getOutputLength(e*this.base.numComps/this.numComps,t)}}]),t}(s),u=function(e){function t(e){var r;return M(this,t),(r=d(this,t,["Pattern",null])).base=e,r}return y(t,e),P(t,[{key:"isDefaultDecode",value:function(e,t){(0,n.unreachable)("Should not call PatternCS.isDefaultDecode")}}]),t}(s),l=function(e){function t(e,r,a){var o;M(this,t),(o=d(this,t,["Indexed",1])).base=e,o.highVal=r;var s=e.numComps*r;if(o.lookup=new Uint8Array(s),a instanceof i.BaseStream){var c=a.getBytes(s);o.lookup.set(c)}else{if("string"!=typeof a)throw new n.FormatError("IndexedCS - unrecognized lookup table: ".concat(a));for(var u=0;u<s;++u)o.lookup[u]=255&a.charCodeAt(u)}return o}return y(t,e),P(t,[{key:"getRgbItem",value:function(e,t,r,n){var a=this.base.numComps,i=e[t]*a;this.base.getRgbBuffer(this.lookup,i,1,r,n,8,0)}},{key:"getRgbBuffer",value:function(e,t,r,n,a,i,o){for(var s=this.base,c=s.numComps,u=s.getOutputLength(c,o),l=this.lookup,h=0;h<r;++h){var f=e[t++]*c;s.getRgbBuffer(l,f,1,n,a,8,o),a+=u}}},{key:"getOutputLength",value:function(e,t){return this.base.getOutputLength(e*this.base.numComps,t)}},{key:"isDefaultDecode",value:function(e,t){return!Array.isArray(e)||(2!==e.length?((0,n.warn)("Decode map length is not correct"),!0):!Number.isInteger(t)||t<1?((0,n.warn)("Bits per component is not correct"),!0):0===e[0]&&e[1]===(1<<t)-1)}}]),t}(s),h=function(e){function t(){return M(this,t),d(this,t,["DeviceGray",1])}return y(t,e),P(t,[{key:"getRgbItem",value:function(e,t,r,n){var a=255*e[t];r[n]=r[n+1]=r[n+2]=a}},{key:"getRgbBuffer",value:function(e,t,r,n,a,i,o){for(var s=255/((1<<i)-1),c=t,u=a,l=0;l<r;++l){var h=s*e[c++];n[u++]=h,n[u++]=h,n[u++]=h,u+=o}}},{key:"getOutputLength",value:function(e,t){return e*(3+t)}}]),t}(s),f=function(e){function t(){return M(this,t),d(this,t,["DeviceRGB",3])}return y(t,e),P(t,[{key:"getRgbItem",value:function(e,t,r,n){r[n]=255*e[t],r[n+1]=255*e[t+1],r[n+2]=255*e[t+2]}},{key:"getRgbBuffer",value:function(e,t,r,n,a,i,o){if(8!==i||0!==o)for(var s=255/((1<<i)-1),c=t,u=a,l=0;l<r;++l)n[u++]=s*e[c++],n[u++]=s*e[c++],n[u++]=s*e[c++],u+=o;else n.set(e.subarray(t,t+3*r),a)}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}},{key:"isPassthrough",value:function(e){return 8===e}}]),t}(s),p=function(){function e(e,t,r,n,a){var i=e[t]*r,o=e[t+1]*r,s=e[t+2]*r,c=e[t+3]*r;n[a]=255+i*(-4.387332384609988*i+54.48615194189176*o+18.82290502165302*s+212.25662451639585*c-285.2331026137004)+o*(1.7149763477362134*o-5.6096736904047315*s+-17.873870861415444*c-5.497006427196366)+s*(-2.5217340131683033*s-21.248923337353073*c+17.5119270841813)+c*(-21.86122147463605*c-189.48180835922747),n[a+1]=255+i*(8.841041422036149*i+60.118027045597366*o+6.871425592049007*s+31.159100130055922*c-79.2970844816548)+o*(-15.310361306967817*o+17.575251261109482*s+131.35250912493976*c-190.9453302588951)+s*(4.444339102852739*s+9.8632861493405*c-24.86741582555878)+c*(-20.737325471181034*c-187.80453709719578),n[a+2]=255+i*(.8842522430003296*i+8.078677503112928*o+30.89978309703729*s-.23883238689178934*c-14.183576799673286)+o*(10.49593273432072*o+63.02378494754052*s+50.606957656360734*c-112.23884253719248)+s*(.03296041114873217*s+115.60384449646641*c-193.58209356861505)+c*(-22.33816807309886*c-180.12613974708367)}return function(t){function r(){return M(this,r),d(this,r,["DeviceCMYK",4])}return y(r,t),P(r,[{key:"getRgbItem",value:function(t,r,n,a){e(t,r,1,n,a)}},{key:"getRgbBuffer",value:function(t,r,n,a,i,o,s){for(var c=1/((1<<o)-1),u=0;u<n;u++)e(t,r,c,a,i),r+=4,i+=3+s}},{key:"getOutputLength",value:function(e,t){return e/4*(3+t)|0}}]),r}(s)}(),g=function(){function e(e,t,r,n,a,i){var o=Math.pow(t[r]*i,e.G),s=e.YW*o,c=Math.max(295.8*Math.pow(s,.3333333333333333)-40.8,0);n[a]=c,n[a+1]=c,n[a+2]=c}return function(t){function r(e,t,a){var i;if(M(this,r),i=d(this,r,["CalGray",1]),!e)throw new n.FormatError("WhitePoint missing - required for color space CalGray");if(t||(t=[0,0,0]),a||(a=1),i.XW=e[0],i.YW=e[1],i.ZW=e[2],i.XB=t[0],i.YB=t[1],i.ZB=t[2],i.G=a,i.XW<0||i.ZW<0||1!==i.YW)throw new n.FormatError("Invalid WhitePoint components for ".concat(i.name,", no fallback available"));return(i.XB<0||i.YB<0||i.ZB<0)&&((0,n.info)("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||(0,n.warn)("".concat(i.name,", BlackPoint: XB: ").concat(i.XB,", YB: ").concat(i.YB,", ZB: ").concat(i.ZB,", only default values are supported.")),i.G<1&&((0,n.info)("Invalid Gamma: ".concat(i.G," for ").concat(i.name,", falling back to default.")),i.G=1),i}return y(r,t),P(r,[{key:"getRgbItem",value:function(t,r,n,a){e(this,t,r,n,a,1)}},{key:"getRgbBuffer",value:function(t,r,n,a,i,o,s){for(var c=1/((1<<o)-1),u=0;u<n;++u)e(this,t,r,a,i,c),r+=1,i+=3+s}},{key:"getOutputLength",value:function(e,t){return e*(3+t)}}]),r}(s)}(),v=function(){var e=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]),t=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]),r=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]),a=new Float32Array([1,1,1]),i=new Float32Array(3),o=new Float32Array(3),c=new Float32Array(3),u=Math.pow(24/116,3)/8;function l(e,t,r){r[0]=e[0]*t[0]+e[1]*t[1]+e[2]*t[2],r[1]=e[3]*t[0]+e[4]*t[1]+e[5]*t[2],r[2]=e[6]*t[0]+e[7]*t[1]+e[8]*t[2]}function h(e){return e<=.0031308?f(0,1,12.92*e):e>=.99554525?1:f(0,1,1.055*Math.pow(e,1/2.4)-.055)}function f(e,t,r){return Math.max(e,Math.min(t,r))}function p(e){return e<0?-p(-e):e>8?Math.pow((e+16)/116,3):e*u}function g(n,s,u,d,g,v){var m=f(0,1,s[u]*v),y=f(0,1,s[u+1]*v),b=f(0,1,s[u+2]*v),w=1===m?1:Math.pow(m,n.GR),k=1===y?1:Math.pow(y,n.GG),x=1===b?1:Math.pow(b,n.GB),S=n.MXA*w+n.MXB*k+n.MXC*x,A=n.MYA*w+n.MYB*k+n.MYC*x,C=n.MZA*w+n.MZB*k+n.MZC*x,O=o;O[0]=S,O[1]=A,O[2]=C;var F=c;!function(r,n,a){if(1===r[0]&&1===r[2])return a[0]=n[0],a[1]=n[1],void(a[2]=n[2]);var o=a;l(e,n,o);var s=i;!function(e,t,r){r[0]=1*t[0]/e[0],r[1]=1*t[1]/e[1],r[2]=1*t[2]/e[2]}(r,o,s),l(t,s,a)}(n.whitePoint,O,F);var I=o;!function(e,t,r){if(0===e[0]&&0===e[1]&&0===e[2])return r[0]=t[0],r[1]=t[1],void(r[2]=t[2]);var n=p(0),a=(1-n)/(1-p(e[0])),i=1-a,o=(1-n)/(1-p(e[1])),s=1-o,c=(1-n)/(1-p(e[2])),u=1-c;r[0]=t[0]*a+i,r[1]=t[1]*o+s,r[2]=t[2]*c+u}(n.blackPoint,F,I);var T=c;!function(r,n,a){var o=a;l(e,n,o);var s=i;!function(e,t,r){r[0]=.95047*t[0]/e[0],r[1]=1*t[1]/e[1],r[2]=1.08883*t[2]/e[2]}(r,o,s),l(t,s,a)}(a,I,T);var M=o;l(r,T,M),d[g]=255*h(M[0]),d[g+1]=255*h(M[1]),d[g+2]=255*h(M[2])}return function(e){function t(e,r,a,i){var o;if(M(this,t),o=d(this,t,["CalRGB",3]),!e)throw new n.FormatError("WhitePoint missing - required for color space CalRGB");r||(r=new Float32Array(3)),a||(a=new Float32Array([1,1,1])),i||(i=new Float32Array([1,0,0,0,1,0,0,0,1]));var s=e[0],c=e[1],u=e[2];o.whitePoint=e;var l=r[0],h=r[1],f=r[2];if(o.blackPoint=r,o.GR=a[0],o.GG=a[1],o.GB=a[2],o.MXA=i[0],o.MYA=i[1],o.MZA=i[2],o.MXB=i[3],o.MYB=i[4],o.MZB=i[5],o.MXC=i[6],o.MYC=i[7],o.MZC=i[8],s<0||u<0||1!==c)throw new n.FormatError("Invalid WhitePoint components for ".concat(o.name,", no fallback available"));return(l<0||h<0||f<0)&&((0,n.info)("Invalid BlackPoint for ".concat(o.name," [").concat(l,", ").concat(h,", ").concat(f,"], falling back to default.")),o.blackPoint=new Float32Array(3)),(o.GR<0||o.GG<0||o.GB<0)&&((0,n.info)("Invalid Gamma [".concat(o.GR,", ").concat(o.GG,", ").concat(o.GB,"] for ").concat(o.name,", falling back to default.")),o.GR=o.GG=o.GB=1),o}return y(t,e),P(t,[{key:"getRgbItem",value:function(e,t,r,n){g(this,e,t,r,n,1)}},{key:"getRgbBuffer",value:function(e,t,r,n,a,i,o){for(var s=1/((1<<i)-1),c=0;c<r;++c)g(this,e,t,n,a,s),t+=3,a+=3+o}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}}]),t}(s)}(),m=function(){function e(e){return e>=6/29?Math.pow(e,3):108/841*(e-4/29)}function t(e,t,r,n){return r+e*(n-r)/t}function r(r,n,a,i,o,s){var c=n[a],u=n[a+1],l=n[a+2];!1!==i&&(c=t(c,i,0,100),u=t(u,i,r.amin,r.amax),l=t(l,i,r.bmin,r.bmax)),u>r.amax?u=r.amax:u<r.amin&&(u=r.amin),l>r.bmax?l=r.bmax:l<r.bmin&&(l=r.bmin);var h,f,d,p=(c+16)/116,g=p+u/500,v=p-l/200,m=r.XW*e(g),y=r.YW*e(p),b=r.ZW*e(v);r.ZW<1?(h=3.1339*m+-1.617*y+-.4906*b,f=-.9785*m+1.916*y+.0333*b,d=.072*m+-.229*y+1.4057*b):(h=3.2406*m+-1.5372*y+-.4986*b,f=-.9689*m+1.8758*y+.0415*b,d=.0557*m+-.204*y+1.057*b),o[s]=255*Math.sqrt(h),o[s+1]=255*Math.sqrt(f),o[s+2]=255*Math.sqrt(d)}return function(e){function t(e,r,a){var i;if(M(this,t),i=d(this,t,["Lab",3]),!e)throw new n.FormatError("WhitePoint missing - required for color space Lab");if(r||(r=[0,0,0]),a||(a=[-100,100,-100,100]),i.XW=e[0],i.YW=e[1],i.ZW=e[2],i.amin=a[0],i.amax=a[1],i.bmin=a[2],i.bmax=a[3],i.XB=r[0],i.YB=r[1],i.ZB=r[2],i.XW<0||i.ZW<0||1!==i.YW)throw new n.FormatError("Invalid WhitePoint components, no fallback available");return(i.XB<0||i.YB<0||i.ZB<0)&&((0,n.info)("Invalid BlackPoint, falling back to default"),i.XB=i.YB=i.ZB=0),(i.amin>i.amax||i.bmin>i.bmax)&&((0,n.info)("Invalid Range, falling back to defaults"),i.amin=-100,i.amax=100,i.bmin=-100,i.bmax=100),i}return y(t,e),P(t,[{key:"getRgbItem",value:function(e,t,n,a){r(this,e,t,!1,n,a)}},{key:"getRgbBuffer",value:function(e,t,n,a,i,o,s){for(var c=(1<<o)-1,u=0;u<n;u++)r(this,e,t,c,a,i),t+=3,i+=3+s}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}},{key:"isDefaultDecode",value:function(e,t){return!0}},{key:"usesZeroToOneRange",get:function(){return(0,n.shadow)(this,"usesZeroToOneRange",!1)}}]),t}(s)}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PartialEvaluator=t.EvaluatorPreprocessor=void 0,r(139),r(2),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(116),r(126),r(128),r(131),r(133),r(135),r(137),r(157),r(159);var a=r(144),i=r(164),o=r(150),s=r(184),c=r(187),u=r(191),l=r(200),h=r(201),d=r(192),p=r(207),g=r(166),v=r(209),m=r(154),y=r(151),b=r(210),w=r(162),A=r(168),C=r(188),O=r(211),F=r(189),I=r(149),E=r(195),R=r(190),N=r(212),D=r(213),B=r(214),L=r(215),_=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,isOffscreenCanvasSupported:!1,canvasMaxAreaInBytes:-1,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),j=Promise.resolve();function U(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(e)){var r,n=x(e);try{for(n.s();!(r=n.n()).done;){var i=U(r.value,!0);if(i)return i}}catch(e){n.e(e)}finally{n.f()}return(0,a.warn)("Unsupported blend mode Array: ".concat(e)),"source-over"}if(!(e instanceof o.Name))return t?null:"source-over";switch(e.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 t?null:((0,a.warn)("Unsupported blend mode: ".concat(e.name)),"source-over")}function $(e){var t;e.fn===a.OPS.paintImageMaskXObject&&(null===(t=e.args[0])||void 0===t?void 0:t.count)>0&&e.args[0].count++}var X=function(){function e(){M(this,e),this.reset()}return P(e,[{key:"check",value:function(){return!(++this.checked<e.CHECK_TIME_EVERY)&&(this.checked=0,this.endTime<=Date.now())}},{key:"reset",value:function(){this.endTime=Date.now()+e.TIME_SLOT_DURATION_MS,this.checked=0}}]),e}();n(X,"TIME_SLOT_DURATION_MS",20),n(X,"CHECK_TIME_EVERY",100);var H=function(){function e(t){M(this,e);var r=t.xref,n=t.handler,a=t.pageIndex,i=t.idFactory,o=t.fontCache,s=t.builtInCMapCache,c=t.standardFontDataCache,u=t.globalImageCache,l=t.systemFontCache,h=t.options,f=void 0===h?null:h;this.xref=r,this.handler=n,this.pageIndex=a,this.idFactory=i,this.fontCache=o,this.builtInCMapCache=s,this.standardFontDataCache=c,this.globalImageCache=u,this.systemFontCache=l,this.options=f||_,this.parsingType3Font=!1,this._regionalImageCache=new v.RegionalImageCache,this._fetchBuiltInCMapBound=this.fetchBuiltInCMap.bind(this),N.ImageResizer.setMaxArea(this.options.canvasMaxAreaInBytes)}var t,r,n,g,I,H,K,Y;return P(e,[{key:"_pdfFunctionFactory",get:function(){var e=new p.PDFFunctionFactory({xref:this.xref,isEvalSupported:this.options.isEvalSupported});return(0,a.shadow)(this,"_pdfFunctionFactory",e)}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=Object.create(this);return t.options=Object.assign(Object.create(null),this.options,e),t}},{key:"hasBlendModes",value:function(e,t){if(!(e instanceof o.Dict))return!1;if(e.objId&&t.has(e.objId))return!1;var r=new o.RefSet(t);e.objId&&r.put(e.objId);for(var n=[e],i=this.xref;n.length;){var s=n.shift(),c=s.get("ExtGState");if(c instanceof o.Dict){var u,l=x(c.getRawValues());try{for(l.s();!(u=l.n()).done;){var h=u.value;if(h instanceof o.Ref){if(r.has(h))continue;try{h=i.fetch(h)}catch(t){r.put(h),(0,a.info)('hasBlendModes - ignoring ExtGState: "'.concat(t,'".'));continue}}if(h instanceof o.Dict){h.objId&&r.put(h.objId);var f=h.get("BM");if(f instanceof o.Name){if("Normal"!==f.name)return!0}else if(void 0!==f&&Array.isArray(f)){var d,p=x(f);try{for(p.s();!(d=p.n()).done;){var g=d.value;if(g instanceof o.Name&&"Normal"!==g.name)return!0}}catch(e){p.e(e)}finally{p.f()}}}}}catch(e){l.e(e)}finally{l.f()}}var v=s.get("XObject");if(v instanceof o.Dict){var m,b=x(v.getRawValues());try{for(b.s();!(m=b.n()).done;){var w=m.value;if(w instanceof o.Ref){if(r.has(w))continue;try{w=i.fetch(w)}catch(t){r.put(w),(0,a.info)('hasBlendModes - ignoring XObject: "'.concat(t,'".'));continue}}if(w instanceof y.BaseStream){w.dict.objId&&r.put(w.dict.objId);var k=w.dict.get("Resources");!(k instanceof o.Dict)||k.objId&&r.has(k.objId)||(n.push(k),k.objId&&r.put(k.objId))}}}catch(e){b.e(e)}finally{b.f()}}}var S,A=x(r);try{for(A.s();!(S=A.n()).done;){var C=S.value;t.put(C)}}catch(e){A.e(e)}finally{A.f()}return!1}},{key:"fetchBuiltInCMap",value:(Y=T(k().mark((function e(t){var r,n,i,o;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this.builtInCMapCache.get(t))){e.next=3;break}return e.abrupt("return",r);case 3:if(null===this.options.cMapUrl){e.next=19;break}return i="".concat(this.options.cMapUrl).concat(t,".bcmap"),e.next=7,fetch(i);case 7:if((o=e.sent).ok){e.next=10;break}throw new Error('fetchBuiltInCMap: failed to fetch file "'.concat(i,'" with "').concat(o.statusText,'".'));case 10:return e.t0=Uint8Array,e.next=13,o.arrayBuffer();case 13:e.t1=e.sent,e.t2=new e.t0(e.t1),e.t3=a.CMapCompressionType.BINARY,n={cMapData:e.t2,compressionType:e.t3},e.next=22;break;case 19:return e.next=21,this.handler.sendWithPromise("FetchBuiltInCMap",{name:t});case 21:n=e.sent;case 22:return n.compressionType!==a.CMapCompressionType.NONE&&this.builtInCMapCache.set(t,n),e.abrupt("return",n);case 24:case"end":return e.stop()}}),e,this)}))),function(e){return Y.apply(this,arguments)})},{key:"fetchStandardFontData",value:(K=T(k().mark((function e(t){var r,n,i,o,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this.standardFontDataCache.get(t))){e.next=3;break}return e.abrupt("return",new m.Stream(r));case 3:if(!this.options.useSystemFonts||"Symbol"===t||"ZapfDingbats"===t){e.next=5;break}return e.abrupt("return",null);case 5:if(n=(0,u.getFontNameToFileMap)()[t],null===this.options.standardFontDataUrl){e.next=20;break}return o="".concat(this.options.standardFontDataUrl).concat(n),e.next=10,fetch(o);case 10:if(!(s=e.sent).ok){e.next=17;break}return e.next=14,s.arrayBuffer();case 14:i=e.sent,e.next=18;break;case 17:(0,a.warn)('fetchStandardFontData: failed to fetch file "'.concat(o,'" with "').concat(s.statusText,'".'));case 18:e.next=29;break;case 20:return e.prev=20,e.next=23,this.handler.sendWithPromise("FetchStandardFontData",{filename:n});case 23:i=e.sent,e.next=29;break;case 26:e.prev=26,e.t0=e.catch(20),(0,a.warn)('fetchStandardFontData: failed to fetch file "'.concat(n,'" with "').concat(e.t0,'".'));case 29:if(i){e.next=31;break}return e.abrupt("return",null);case 31:return this.standardFontDataCache.set(t,i),e.abrupt("return",new m.Stream(i));case 33:case"end":return e.stop()}}),e,this,[[20,26]])}))),function(e){return K.apply(this,arguments)})},{key:"buildFormXObject",value:(H=T(k().mark((function e(t,r,n,i,s,c,u){var l,h,f,d,p,g,v,m,y,b,x;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=r.dict,h=l.getArray("Matrix"),p=l.getArray("BBox"),p=Array.isArray(p)&&4===p.length?a.Util.normalizeRect(p):null,e.t0=l.has("OC"),!e.t0){e.next=8;break}return e.next=7,this.parseMarkedContentProps(l.get("OC"),t);case 7:f=e.sent;case 8:if(void 0!==f&&i.addOp(a.OPS.beginMarkedContentProps,["OC",f]),!(g=l.get("Group"))){e.next=27;break}if(d={matrix:h,bbox:p,smask:n,isolated:!1,knockout:!1},v=g.get("S"),m=null,!(0,o.isName)(v,"Transparency")){e.next=25;break}if(d.isolated=g.get("I")||!1,d.knockout=g.get("K")||!1,!g.has("CS")){e.next=25;break}if(y=g.getRaw("CS"),b=w.ColorSpace.getCached(y,this.xref,u),e.t1=b,e.t1){e.next=24;break}return e.next=23,this.parseColorSpace({cs:y,resources:t,localColorSpaceCache:u});case 23:e.t1=e.sent;case 24:m=e.t1;case 25:null!=n&&n.backdrop&&(m||(m=w.ColorSpace.singletons.rgb),n.backdrop=m.getRgb(n.backdrop,0)),i.addOp(a.OPS.beginGroup,[d]);case 27:return x=g?[h,null]:[h,p],i.addOp(a.OPS.paintFormXObjectBegin,x),e.abrupt("return",this.getOperatorList({stream:r,task:s,resources:l.get("Resources")||t,operatorList:i,initialState:c}).then((function(){i.addOp(a.OPS.paintFormXObjectEnd,[]),g&&i.addOp(a.OPS.endGroup,[d]),void 0!==f&&i.addOp(a.OPS.endMarkedContent,[])})));case 30:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n,a,i,o){return H.apply(this,arguments)})},{key:"_sendImgData",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t?[t.bitmap||t.data.buffer]:null;return this.parsingType3Font||r?this.handler.send("commonobj",[e,"Image",t],n):this.handler.send("obj",[e,this.pageIndex,"Image",t],n)}},{key:"buildPaintImageXObject",value:(I=T(k().mark((function e(t){var r,n,i,o,s,c,u,l,h,f,d,p,g,v,m,y,b,w,x,S,C,O,F,I,M,E,P,R,N,D=this;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.resources,n=t.image,i=t.isInline,o=void 0!==i&&i,s=t.operatorList,c=t.cacheKey,u=t.localImageCache,l=t.localColorSpaceCache,h=n.dict,f=h.objId,d=h.get("W","Width"),p=h.get("H","Height"),d&&"number"==typeof d&&p&&"number"==typeof p){e.next=5;break}return(0,a.warn)("Image dimensions are missing, or not numbers."),e.abrupt("return");case 5:if(!(-1!==(g=this.options.maxImageSize)&&d*p>g)){e.next=12;break}if(v="Image exceeded maximum allowed size and was removed.",!this.options.ignoreErrors){e.next=11;break}return(0,a.warn)(v),e.abrupt("return");case 11:throw new Error(v);case 12:if(e.t0=h.has("OC"),!e.t0){e.next=17;break}return e.next=16,this.parseMarkedContentProps(h.get("OC"),r);case 16:m=e.sent;case 17:if(!h.get("IM","ImageMask")){e.next=40;break}if(w=h.get("I","Interpolate"),x=d+7>>3,S=n.getBytes(x*p),C=h.getArray("D","Decode"),!this.parsingType3Font){e.next=26;break}return(y=L.PDFImage.createRawMask({imgArray:S,width:d,height:p,imageIsFromDecodeStream:n instanceof A.DecodeStream,inverseDecode:(null==C?void 0:C[0])>0,interpolate:w})).cached=!!c,b=[y],s.addImageOps(a.OPS.paintImageMaskXObject,b,m),c&&(O={fn:a.OPS.paintImageMaskXObject,args:b,optionalContent:m},u.set(c,f,O),f&&this._regionalImageCache.set(null,f,O)),e.abrupt("return");case 26:return e.next=28,L.PDFImage.createMask({imgArray:S,width:d,height:p,imageIsFromDecodeStream:n instanceof A.DecodeStream,inverseDecode:(null==C?void 0:C[0])>0,interpolate:w,isOffscreenCanvasSupported:this.options.isOffscreenCanvasSupported});case 28:if(!(y=e.sent).isSingleOpaquePixel){e.next=33;break}return s.addImageOps(a.OPS.paintSolidColorImageMask,[],m),c&&(F={fn:a.OPS.paintSolidColorImageMask,args:[],optionalContent:m},u.set(c,f,F),f&&this._regionalImageCache.set(null,f,F)),e.abrupt("return");case 33:return I="mask_".concat(this.idFactory.createObjId()),s.addDependency(I),this._sendImgData(I,y),b=[{data:I,width:y.width,height:y.height,interpolate:y.interpolate,count:1}],s.addImageOps(a.OPS.paintImageMaskXObject,b,m),c&&(M={fn:a.OPS.paintImageMaskXObject,args:b,optionalContent:m},u.set(c,f,M),f&&this._regionalImageCache.set(null,f,M)),e.abrupt("return");case 40:if(!o||h.has("SMask")||h.has("Mask")||!(d+p<200)){e.next=48;break}return E=new L.PDFImage({xref:this.xref,res:r,image:n,isInline:o,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:l}),e.next=44,E.createImageData(!0,!1);case 44:return y=e.sent,s.isOffscreenCanvasSupported=this.options.isOffscreenCanvasSupported,s.addImageOps(a.OPS.paintInlineImageXObject,[y],m),e.abrupt("return");case 48:P="img_".concat(this.idFactory.createObjId()),R=!1,this.parsingType3Font?P="".concat(this.idFactory.getDocId(),"_type3_").concat(P):f&&(R=this.globalImageCache.shouldCache(f,this.pageIndex))&&(P="".concat(this.idFactory.getDocId(),"_").concat(P)),s.addDependency(P),b=[P,d,p],L.PDFImage.buildImage({xref:this.xref,res:r,image:n,isInline:o,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:l}).then(function(){var e=T(k().mark((function e(t){var r;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.createImageData(!1,D.options.isOffscreenCanvasSupported);case 2:return y=e.sent,c&&f&&R&&(r=y.bitmap?y.width*y.height*4:y.data.length,D.globalImageCache.addByteSize(f,r)),e.abrupt("return",D._sendImgData(P,y,R));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){return(0,a.warn)('Unable to decode image "'.concat(P,'": "').concat(e,'".')),D._sendImgData(P,null,R)})),s.addImageOps(a.OPS.paintImageXObject,b,m),c&&(N={fn:a.OPS.paintImageXObject,args:b,optionalContent:m},u.set(c,f,N),f&&(this._regionalImageCache.set(null,f,N),R&&((0,a.assert)(!o,"Cannot cache an inline image globally."),this.globalImageCache.setData(f,{objId:P,fn:a.OPS.paintImageXObject,args:b,optionalContent:m,byteSize:0}))));case 55:case"end":return e.stop()}}),e,this)}))),function(e){return I.apply(this,arguments)})},{key:"handleSMask",value:function(e,t,r,n,a,i){var o=e.get("G"),s={subtype:e.get("S").name,backdrop:e.get("BC")},c=e.get("TR");if((0,p.isPDFFunction)(c)){for(var u=this._pdfFunctionFactory.create(c),l=new Uint8Array(256),h=new Float32Array(1),f=0;f<256;f++)h[0]=f/255,u(h,0,h,0),l[f]=255*h[0]|0;s.transferMap=l}return this.buildFormXObject(t,o,s,r,n,a.state.clone(),i)}},{key:"handleTransferFunction",value:function(e){var t;if(Array.isArray(e))t=e;else{if(!(0,p.isPDFFunction)(e))return null;t=[e]}var r,n=[],a=0,i=0,s=x(t);try{for(s.s();!(r=s.n()).done;){var c=r.value,u=this.xref.fetchIfRef(c);if(a++,(0,o.isName)(u,"Identity"))n.push(null);else{if(!(0,p.isPDFFunction)(u))return null;for(var l=this._pdfFunctionFactory.create(u),h=new Uint8Array(256),f=new Float32Array(1),d=0;d<256;d++)f[0]=d/255,l(f,0,f,0),h[d]=255*f[0]|0;n.push(h),i++}}}catch(e){s.e(e)}finally{s.f()}return 1!==a&&4!==a||0===i?null:n}},{key:"handleTilingType",value:function(e,t,r,n,i,s,c,u){var h=this,f=new B.OperatorList,d=o.Dict.merge({xref:this.xref,dictArray:[i.get("Resources"),r]});return this.getOperatorList({stream:n,task:c,resources:d,operatorList:f}).then((function(){var r=f.getIR(),n=(0,l.getTilingPatternIR)(r,i,t);s.addDependencies(f.dependencies),s.addOp(e,n),i.objId&&u.set(null,i.objId,{operatorListIR:r,dict:i})})).catch((function(e){if(!(e instanceof a.AbortException)){if(!h.options.ignoreErrors)throw e;(0,a.warn)('handleTilingType - ignoring pattern: "'.concat(e,'".'))}}))}},{key:"handleSetFont",value:function(e,t,r,n,a,i){var c=this,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,h=(null==t?void 0:t[0])instanceof o.Name?t[0].name:null;return this.loadFont(h,r,e,u,l).then((function(t){return t.font.isType3Font?t.loadType3Data(c,e,a).then((function(){return n.addDependencies(t.type3Dependencies),t})).catch((function(e){return new q({loadedName:"g_font_error",font:new s.ErrorFont("Type3 font load error: ".concat(e)),dict:t.font,evaluatorOptions:c.options})})):t})).then((function(e){return i.font=e.font,e.send(c.handler),e.loadedName}))}},{key:"handleText",value:function(t,r){var n=r.font,i=n.charsToGlyphs(t);return n.data&&(r.textRenderingMode&a.TextRenderingMode.ADD_TO_PATH_FLAG||"Pattern"===r.fillColorSpace.name||n.disableFontFace||this.options.disableFontFace)&&e.buildFontPaths(n,i,this.handler,this.options),i}},{key:"ensureStateFont",value:function(e){if(!e.font){var t=new a.FormatError("Missing setFont (Tf) operator before text rendering operator.");if(!this.options.ignoreErrors)throw t;(0,a.warn)('ensureStateFont: "'.concat(t,'".'))}}},{key:"setGState",value:(g=T(k().mark((function e(t){var r,n,i,s,c,u,l,h,f,d,p,g,v,m,y,b=this;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.resources,n=t.gState,i=t.operatorList,s=t.cacheKey,c=t.task,u=t.stateManager,l=t.localGStateCache,h=t.localColorSpaceCache,f=n.objId,d=!0,p=[],g=Promise.resolve(),v=x(n.getKeys()),e.prev=6,y=k().mark((function e(){var t,s,l;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=m.value,s=n.get(t),e.t0=t,e.next="Type"===e.t0?5:"LW"===e.t0||"LC"===e.t0||"LJ"===e.t0||"ML"===e.t0||"D"===e.t0||"RI"===e.t0||"FL"===e.t0||"CA"===e.t0||"ca"===e.t0?6:"Font"===e.t0?8:"BM"===e.t0?11:"SMask"===e.t0?13:"TR"===e.t0?18:"OP"===e.t0||"op"===e.t0||"OPM"===e.t0||"BG"===e.t0||"BG2"===e.t0||"UCR"===e.t0||"UCR2"===e.t0||"TR2"===e.t0||"HT"===e.t0||"SM"===e.t0||"SA"===e.t0||"AIS"===e.t0||"TK"===e.t0?21:23;break;case 5:return e.abrupt("break",24);case 6:return p.push([t,s]),e.abrupt("break",24);case 8:return d=!1,g=g.then((function(){return b.handleSetFont(r,null,s[0],i,c,u.state).then((function(e){i.addDependency(e),p.push([t,[e,s[1]]])}))})),e.abrupt("break",24);case 11:return p.push([t,U(s)]),e.abrupt("break",24);case 13:if(!(0,o.isName)(s,"None")){e.next=16;break}return p.push([t,!1]),e.abrupt("break",24);case 16:return s instanceof o.Dict?(d=!1,g=g.then((function(){return b.handleSMask(s,r,i,c,u,h)})),p.push([t,!0])):(0,a.warn)("Unsupported SMask type"),e.abrupt("break",24);case 18:return l=b.handleTransferFunction(s),p.push([t,l]),e.abrupt("break",24);case 21:return(0,a.info)("graphic state operator "+t),e.abrupt("break",24);case 23:(0,a.info)("Unknown graphic state operator "+t);case 24:case"end":return e.stop()}}),e)})),v.s();case 9:if((m=v.n()).done){e.next=13;break}return e.delegateYield(y(),"t0",11);case 11:e.next=9;break;case 13:e.next=18;break;case 15:e.prev=15,e.t1=e.catch(6),v.e(e.t1);case 18:return e.prev=18,v.f(),e.finish(18);case 21:return e.abrupt("return",g.then((function(){p.length>0&&i.addOp(a.OPS.setGState,[p]),d&&l.set(s,f,p)})));case 22:case"end":return e.stop()}}),e,null,[[6,15,18,21]])}))),function(e){return g.apply(this,arguments)})},{key:"loadFont",value:function(t,r,n){var i,c,u=this,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,h=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,f=function(){var e=T(k().mark((function e(){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new q({loadedName:"g_font_error",font:new s.ErrorFont('Font "'.concat(t,'" is not available.')),dict:r,evaluatorOptions:u.options}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(r)r instanceof o.Ref&&(c=r);else{var d=n.get("Font");d&&(c=d.getRaw(t))}if(c){if(this.parsingType3Font&&this.type3FontRefs.has(c))return f();if(this.fontCache.has(c))return this.fontCache.get(c);r=this.xref.fetchIfRef(c)}if(!(r instanceof o.Dict)){if(!this.options.ignoreErrors&&!this.parsingType3Font)return(0,a.warn)('Font "'.concat(t,'" is not available.')),f();(0,a.warn)('Font "'.concat(t,'" is not available -- attempting to fallback to a default font.')),r=l||e.fallbackFontDict}if(r.cacheKey&&this.fontCache.has(r.cacheKey))return this.fontCache.get(r.cacheKey);var p,g=new a.PromiseCapability;try{(p=this.preEvaluateFont(r)).cssFontInfo=h}catch(t){return(0,a.warn)('loadFont - preEvaluateFont failed: "'.concat(t,'".')),f()}var v,m=p,y=m.descriptor,b=m.hash,w=c instanceof o.Ref;if(b&&y instanceof o.Dict){var x=y.fontAliases||(y.fontAliases=Object.create(null));if(x[b]){var S=x[b].aliasRef;if(w&&S&&this.fontCache.has(S))return this.fontCache.putAlias(c,S),this.fontCache.get(c)}else x[b]={fontID:this.idFactory.createFontId()};w&&(x[b].aliasRef=c),v=x[b].fontID}else v=this.idFactory.createFontId();return(0,a.assert)(null===(i=v)||void 0===i?void 0:i.startsWith("f"),'The "fontID" must be (correctly) defined.'),w?this.fontCache.put(c,g.promise):(r.cacheKey="cacheKey_".concat(v),this.fontCache.put(r.cacheKey,g.promise)),r.loadedName="".concat(this.idFactory.getDocId(),"_").concat(v),this.translateFont(p).then((function(e){g.resolve(new q({loadedName:r.loadedName,font:e,dict:r,evaluatorOptions:u.options}))})).catch((function(e){(0,a.warn)('loadFont - translateFont failed: "'.concat(e,'".')),g.resolve(new q({loadedName:r.loadedName,font:new s.ErrorFont(e instanceof Error?e.message:e),dict:r,evaluatorOptions:u.options}))})),g.promise}},{key:"buildPath",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.length-1;if(r||(r=[]),i<0||e.fnArray[i]!==a.OPS.constructPath){var o;switch(n&&((0,a.warn)('Encountered path operator "'.concat(t,'" inside of a text object.')),e.addOp(a.OPS.save,null)),t){case a.OPS.rectangle:var s=r[0]+r[2],c=r[1]+r[3];o=[Math.min(r[0],s),Math.max(r[0],s),Math.min(r[1],c),Math.max(r[1],c)];break;case a.OPS.moveTo:case a.OPS.lineTo:o=[r[0],r[0],r[1],r[1]];break;default:o=[1/0,-1/0,1/0,-1/0]}e.addOp(a.OPS.constructPath,[[t],r,o]),n&&e.addOp(a.OPS.restore,null)}else{var u,l=e.argsArray[i];l[0].push(t),(u=l[1]).push.apply(u,f(r));var h=l[2];switch(t){case a.OPS.rectangle:var d=r[0]+r[2],p=r[1]+r[3];h[0]=Math.min(h[0],r[0],d),h[1]=Math.max(h[1],r[0],d),h[2]=Math.min(h[2],r[1],p),h[3]=Math.max(h[3],r[1],p);break;case a.OPS.moveTo:case a.OPS.lineTo:h[0]=Math.min(h[0],r[0]),h[1]=Math.max(h[1],r[0]),h[2]=Math.min(h[2],r[1]),h[3]=Math.max(h[3],r[1])}}}},{key:"parseColorSpace",value:function(e){var t=this,r=e.cs,n=e.resources,i=e.localColorSpaceCache;return w.ColorSpace.parseAsync({cs:r,xref:this.xref,resources:n,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:i}).catch((function(e){if(e instanceof a.AbortException)return null;if(t.options.ignoreErrors)return(0,a.warn)('parseColorSpace - ignoring ColorSpace: "'.concat(e,'".')),null;throw e}))}},{key:"parseShading",value:function(e){var t=e.shading,r=e.resources,n=e.localColorSpaceCache,a=e.localShadingPatternCache,i=a.get(t);if(!i){var o=l.Pattern.parseShading(t,this.xref,r,this._pdfFunctionFactory,n).getIR();i="pattern_".concat(this.idFactory.createObjId()),this.parsingType3Font&&(i="".concat(this.idFactory.getDocId(),"_type3_").concat(i)),a.set(t,i),this.parsingType3Font?this.handler.send("commonobj",[i,"Pattern",o]):this.handler.send("obj",[i,this.pageIndex,"Pattern",o])}return i}},{key:"handleColorN",value:function(e,t,r,n,i,s,c,u,h,f){var d=r.pop();if(d instanceof o.Name){var p=i.getRaw(d.name),g=p instanceof o.Ref&&h.getByRef(p);if(g)try{var v=n.base?n.base.getRgb(r,0):null,m=(0,l.getTilingPatternIR)(g.operatorListIR,g.dict,v);return void e.addOp(t,m)}catch(e){}var b=this.xref.fetchIfRef(p);if(b){var w=b instanceof y.BaseStream?b.dict:b,k=w.get("PatternType");if(1===k){var x=n.base?n.base.getRgb(r,0):null;return this.handleTilingType(t,x,s,b,w,e,c,h)}if(2===k){var S=w.get("Shading"),A=w.getArray("Matrix"),C=this.parseShading({shading:S,resources:s,localColorSpaceCache:u,localShadingPatternCache:f});return void e.addOp(t,["Shading",C,A])}throw new a.FormatError("Unknown PatternType: ".concat(k))}}throw new a.FormatError("Unknown PatternName: ".concat(d))}},{key:"_parseVisibilityExpression",value:function(e,t,r){if(++t>10)(0,a.warn)("Visibility expression is too deeply nested");else{var n=e.length,i=this.xref.fetchIfRef(e[0]);if(!(n<2)&&i instanceof o.Name){switch(i.name){case"And":case"Or":case"Not":r.push(i.name);break;default:return void(0,a.warn)("Invalid operator ".concat(i.name," in visibility expression"))}for(var s=1;s<n;s++){var c=e[s],u=this.xref.fetchIfRef(c);if(Array.isArray(u)){var l=[];r.push(l),this._parseVisibilityExpression(u,t,l)}else c instanceof o.Ref&&r.push(c.toString())}}else(0,a.warn)("Invalid visibility expression")}}},{key:"parseMarkedContentProps",value:(n=T(k().mark((function e(t,r){var n,i,s,c,u,l,h,f,d;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof o.Name)){e.next=4;break}n=r.get("Properties").get(t.name),e.next=7;break;case 4:if(t instanceof o.Dict){e.next=6;break}throw new a.FormatError("Optional content properties malformed.");case 6:n=t;case 7:if("OCG"!==(i=n.get("Type").name)){e.next=10;break}return e.abrupt("return",{type:i,id:n.objId});case 10:if("OCMD"!==i){e.next=24;break}if(s=n.get("VE"),!Array.isArray(s)){e.next=17;break}if(c=[],this._parseVisibilityExpression(s,0,c),!(c.length>0)){e.next=17;break}return e.abrupt("return",{type:"OCMD",expression:c});case 17:if(u=n.get("OCGs"),!(Array.isArray(u)||u instanceof o.Dict)){e.next=22;break}if(l=[],Array.isArray(u)){h=x(u);try{for(h.s();!(f=h.n()).done;)d=f.value,l.push(d.toString())}catch(e){h.e(e)}finally{h.f()}}else l.push(u.objId);return e.abrupt("return",{type:i,ids:l,policy:n.get("P")instanceof o.Name?n.get("P").name:null,expression:null});case 22:if(!(u instanceof o.Ref)){e.next=24;break}return e.abrupt("return",{type:i,id:u.toString()});case 24:return e.abrupt("return",null);case 25:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"getOperatorList",value:function(e){var t=this,r=e.stream,n=e.task,i=e.resources,s=e.operatorList,c=e.initialState,u=void 0===c?null:c,l=e.fallbackFontDict,h=void 0===l?null:l;if(i||(i=o.Dict.empty),u||(u=new W),!s)throw new Error('getOperatorList: missing "operatorList" parameter');var d=this,p=this.xref,g=!1,m=new v.LocalImageCache,b=new v.LocalColorSpaceCache,k=new v.LocalGStateCache,S=new v.LocalTilingPatternCache,A=new Map,C=i.get("XObject")||o.Dict.empty,O=i.get("Pattern")||o.Dict.empty,F=new z(u),I=new V(r,p,F),T=new X;function M(e){for(var t=0,r=I.savedStatesDepth;t<r;t++)s.addOp(a.OPS.restore,[])}return new Promise((function e(t,r){var c=function(n){Promise.all([n,s.ready]).then((function(){try{e(t,r)}catch(e){r(e)}}),r)};n.ensureNotTerminated(),T.reset();for(var u,l,v,E,P,R,N={};!(u=T.check())&&(N.args=null,I.read(N));){var D=N.args,B=N.fn;switch(0|B){case a.OPS.paintXObject:if(R=D[0]instanceof o.Name,P=D[0].name,R){var L=m.getByName(P);if(L){s.addImageOps(L.fn,L.args,L.optionalContent),$(L),D=null;continue}}return void c(new Promise((function(e,t){if(!R)throw new a.FormatError("XObject must be referred to by name.");var r=C.getRaw(P);if(r instanceof o.Ref){var c=m.getByRef(r)||d._regionalImageCache.getByRef(r);if(c)return s.addImageOps(c.fn,c.args,c.optionalContent),$(c),void e();var u=d.globalImageCache.getData(r,d.pageIndex);if(u)return s.addDependency(u.objId),s.addImageOps(u.fn,u.args,u.optionalContent),void e();r=p.fetch(r)}if(!(r instanceof y.BaseStream))throw new a.FormatError("XObject should be a stream");var l=r.dict.get("Subtype");if(!(l instanceof o.Name))throw new a.FormatError("XObject should have a Name subtype");if("Form"!==l.name)if("Image"!==l.name){if("PS"!==l.name)throw new a.FormatError("Unhandled XObject subtype ".concat(l.name));(0,a.info)("Ignored XObject subtype PS"),e()}else d.buildPaintImageXObject({resources:i,image:r,operatorList:s,cacheKey:P,localImageCache:m,localColorSpaceCache:b}).then(e,t);else F.save(),d.buildFormXObject(i,r,null,s,n,F.state.clone(),b).then((function(){F.restore(),e()}),t)})).catch((function(e){if(!(e instanceof a.AbortException)){if(!d.options.ignoreErrors)throw e;(0,a.warn)('getOperatorList - ignoring XObject: "'.concat(e,'".'))}})));case a.OPS.setFont:var _=D[1];return void c(d.handleSetFont(i,D,null,s,n,F.state,h).then((function(e){s.addDependency(e),s.addOp(a.OPS.setFont,[e,_])})));case a.OPS.beginText:g=!0;break;case a.OPS.endText:g=!1;break;case a.OPS.endInlineImage:var U=D[0].cacheKey;if(U){var X=m.getByName(U);if(X){s.addImageOps(X.fn,X.args,X.optionalContent),$(X),D=null;continue}}return void c(d.buildPaintImageXObject({resources:i,image:D[0],isInline:!0,operatorList:s,cacheKey:U,localImageCache:m,localColorSpaceCache:b}));case a.OPS.showText:if(!F.state.font){d.ensureStateFont(F.state);continue}D[0]=d.handleText(D[0],F.state);break;case a.OPS.showSpacedText:if(!F.state.font){d.ensureStateFont(F.state);continue}var H,q=[],z=F.state,G=x(D[0]);try{for(G.s();!(H=G.n()).done;){var W,V=H.value;"string"==typeof V?(W=q).push.apply(W,f(d.handleText(V,z))):"number"==typeof V&&q.push(V)}}catch(e){G.e(e)}finally{G.f()}D[0]=q,B=a.OPS.showText;break;case a.OPS.nextLineShowText:if(!F.state.font){d.ensureStateFont(F.state);continue}s.addOp(a.OPS.nextLine),D[0]=d.handleText(D[0],F.state),B=a.OPS.showText;break;case a.OPS.nextLineSetSpacingShowText:if(!F.state.font){d.ensureStateFont(F.state);continue}s.addOp(a.OPS.nextLine),s.addOp(a.OPS.setWordSpacing,[D.shift()]),s.addOp(a.OPS.setCharSpacing,[D.shift()]),D[0]=d.handleText(D[0],F.state),B=a.OPS.showText;break;case a.OPS.setTextRenderingMode:F.state.textRenderingMode=D[0];break;case a.OPS.setFillColorSpace:var K=w.ColorSpace.getCached(D[0],p,b);if(K){F.state.fillColorSpace=K;continue}return void c(d.parseColorSpace({cs:D[0],resources:i,localColorSpaceCache:b}).then((function(e){e&&(F.state.fillColorSpace=e)})));case a.OPS.setStrokeColorSpace:var Y=w.ColorSpace.getCached(D[0],p,b);if(Y){F.state.strokeColorSpace=Y;continue}return void c(d.parseColorSpace({cs:D[0],resources:i,localColorSpaceCache:b}).then((function(e){e&&(F.state.strokeColorSpace=e)})));case a.OPS.setFillColor:D=(E=F.state.fillColorSpace).getRgb(D,0),B=a.OPS.setFillRGBColor;break;case a.OPS.setStrokeColor:D=(E=F.state.strokeColorSpace).getRgb(D,0),B=a.OPS.setStrokeRGBColor;break;case a.OPS.setFillGray:F.state.fillColorSpace=w.ColorSpace.singletons.gray,D=w.ColorSpace.singletons.gray.getRgb(D,0),B=a.OPS.setFillRGBColor;break;case a.OPS.setStrokeGray:F.state.strokeColorSpace=w.ColorSpace.singletons.gray,D=w.ColorSpace.singletons.gray.getRgb(D,0),B=a.OPS.setStrokeRGBColor;break;case a.OPS.setFillCMYKColor:F.state.fillColorSpace=w.ColorSpace.singletons.cmyk,D=w.ColorSpace.singletons.cmyk.getRgb(D,0),B=a.OPS.setFillRGBColor;break;case a.OPS.setStrokeCMYKColor:F.state.strokeColorSpace=w.ColorSpace.singletons.cmyk,D=w.ColorSpace.singletons.cmyk.getRgb(D,0),B=a.OPS.setStrokeRGBColor;break;case a.OPS.setFillRGBColor:F.state.fillColorSpace=w.ColorSpace.singletons.rgb,D=w.ColorSpace.singletons.rgb.getRgb(D,0);break;case a.OPS.setStrokeRGBColor:F.state.strokeColorSpace=w.ColorSpace.singletons.rgb,D=w.ColorSpace.singletons.rgb.getRgb(D,0);break;case a.OPS.setFillColorN:if("Pattern"===(E=F.state.fillColorSpace).name)return void c(d.handleColorN(s,a.OPS.setFillColorN,D,E,O,i,n,b,S,A));D=E.getRgb(D,0),B=a.OPS.setFillRGBColor;break;case a.OPS.setStrokeColorN:if("Pattern"===(E=F.state.strokeColorSpace).name)return void c(d.handleColorN(s,a.OPS.setStrokeColorN,D,E,O,i,n,b,S,A));D=E.getRgb(D,0),B=a.OPS.setStrokeRGBColor;break;case a.OPS.shadingFill:var J=i.get("Shading");if(!J)throw new a.FormatError("No shading resource found");var Z=J.get(D[0].name);if(!Z)throw new a.FormatError("No shading object found");D=[d.parseShading({shading:Z,resources:i,localColorSpaceCache:b,localShadingPatternCache:A})],B=a.OPS.shadingFill;break;case a.OPS.setGState:if(R=D[0]instanceof o.Name,P=D[0].name,R){var Q=k.getByName(P);if(Q){Q.length>0&&s.addOp(a.OPS.setGState,[Q]),D=null;continue}}return void c(new Promise((function(e,t){if(!R)throw new a.FormatError("GState must be referred to by name.");var r=i.get("ExtGState");if(!(r instanceof o.Dict))throw new a.FormatError("ExtGState should be a dictionary.");var c=r.get(P);if(!(c instanceof o.Dict))throw new a.FormatError("GState should be a dictionary.");d.setGState({resources:i,gState:c,operatorList:s,cacheKey:P,task:n,stateManager:F,localGStateCache:k,localColorSpaceCache:b}).then(e,t)})).catch((function(e){if(!(e instanceof a.AbortException)){if(!d.options.ignoreErrors)throw e;(0,a.warn)('getOperatorList - ignoring ExtGState: "'.concat(e,'".'))}})));case a.OPS.moveTo:case a.OPS.lineTo:case a.OPS.curveTo:case a.OPS.curveTo2:case a.OPS.curveTo3:case a.OPS.closePath:case a.OPS.rectangle:d.buildPath(s,B,D,g);continue;case a.OPS.markPoint:case a.OPS.markPointProps:case a.OPS.beginCompat:case a.OPS.endCompat:continue;case a.OPS.beginMarkedContentProps:if(!(D[0]instanceof o.Name)){(0,a.warn)("Expected name for beginMarkedContentProps arg0=".concat(D[0]));continue}if("OC"===D[0].name)return void c(d.parseMarkedContentProps(D[1],i).then((function(e){s.addOp(a.OPS.beginMarkedContentProps,["OC",e])})).catch((function(e){if(!(e instanceof a.AbortException)){if(!d.options.ignoreErrors)throw e;(0,a.warn)('getOperatorList - ignoring beginMarkedContentProps: "'.concat(e,'".'))}})));D=[D[0].name,D[1]instanceof o.Dict?D[1].get("MCID"):null];break;case a.OPS.beginMarkedContent:case a.OPS.endMarkedContent:default:if(null!==D){for(l=0,v=D.length;l<v&&!(D[l]instanceof o.Dict);l++);if(l<v){(0,a.warn)("getOperatorList - ignoring operator: "+B);continue}}}s.addOp(B,D)}u?c(j):(M(),t())})).catch((function(e){if(!(e instanceof a.AbortException)){if(!t.options.ignoreErrors)throw e;(0,a.warn)('getOperatorList - ignoring errors during "'.concat(n.name,'" task: "').concat(e,'".')),M()}}))}},{key:"getTextContent",value:function(e){var t=this,r=e.stream,n=e.task,i=e.resources,s=e.stateManager,c=void 0===s?null:s,u=e.includeMarkedContent,l=void 0!==u&&u,h=e.sink,f=e.seenStyles,d=void 0===f?new Set:f,p=e.viewBox,g=e.markedContentData,m=void 0===g?null:g,w=e.disableNormalization,k=void 0!==w&&w;i||(i=o.Dict.empty),c||(c=new z(new G)),l&&(m||(m={level:0}));var x={items:[],styles:Object.create(null)},A={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},C=[" "," "],O=0;function F(e){var t=(O+1)%2,r=" "!==C[O]&&" "===C[t];return C[O]=e,O=t,r}function I(){return" "!==C[O]&&" "===C[(O+1)%2]}function T(){C[0]=C[1]=" ",O=0}var M,E=this,P=this.xref,R=[],N=null,D=new v.LocalImageCache,B=new v.LocalGStateCache,L=new V(r,P,c);function _(e){var t=e.width,r=void 0===t?0:t,n=e.height,a=void 0===n?0:n,i=e.transform,o=void 0===i?A.prevTransform:i,s=e.fontName,c=void 0===s?A.fontName:s;x.items.push({str:" ",dir:"ltr",width:r,height:a,transform:o,fontName:c,hasEOL:!1})}function U(){var e=M.font,t=[M.fontSize*M.textHScale,0,0,M.fontSize,0,M.textRise];if(e.isType3Font&&(M.fontSize<=1||e.isCharBBox)&&!(0,a.isArrayEqual)(M.fontMatrix,a.FONT_IDENTITY_MATRIX)){var r=e.bbox[3]-e.bbox[1];r>0&&(t[3]*=r*M.fontMatrix[3])}return a.Util.transform(M.ctm,a.Util.transform(M.textMatrix,t))}function $(){if(A.initialized)return A;var e=M,t=e.font,r=e.loadedName;d.has(r)||(d.add(r),x.styles[r]={fontFamily:t.fallbackName,ascent:t.ascent,descent:t.descent,vertical:t.vertical}),A.fontName=r;var n=A.transform=U();t.vertical?(A.width=A.totalWidth=Math.hypot(n[0],n[1]),A.height=A.totalHeight=0,A.vertical=!0):(A.width=A.totalWidth=0,A.height=A.totalHeight=Math.hypot(n[2],n[3]),A.vertical=!1);var a=Math.hypot(M.textLineMatrix[0],M.textLineMatrix[1]),i=Math.hypot(M.ctm[0],M.ctm[1]);A.textAdvanceScale=i*a;var o=M.fontSize;return A.trackingSpaceMin=.102*o,A.notASpace=.03*o,A.negativeSpaceMax=-.2*o,A.spaceInFlowMin=.102*o,A.spaceInFlowMax=.6*o,A.hasEOL=!1,A.initialized=!0,A}function H(){if(A.initialized){var e=Math.hypot(M.textLineMatrix[0],M.textLineMatrix[1]),t=Math.hypot(M.ctm[0],M.ctm[1])*e;t!==A.textAdvanceScale&&(A.vertical?(A.totalHeight+=A.height*A.textAdvanceScale,A.height=0):(A.totalWidth+=A.width*A.textAdvanceScale,A.width=0),A.textAdvanceScale=t)}}function q(e,t){return E.loadFont(e,t,i).then((function(e){return e.font.isType3Font?e.loadType3Data(E,i,n).catch((function(){})).then((function(){return e})):e})).then((function(e){M.loadedName=e.loadedName,M.font=e.font,M.fontMatrix=e.font.fontMatrix||a.FONT_IDENTITY_MATRIX}))}function W(e,t,r){var n=Math.hypot(r[0],r[1]);return[(r[0]*e+r[1]*t)/n,(r[2]*e+r[3]*t)/n]}function K(e){var t,r=U(),n=r[4],a=r[5];if(null!==(t=M.font)&&void 0!==t&&t.vertical){if(n<p[0]||n>p[2]||a+e<p[1]||a>p[3])return!1}else if(n+e<p[0]||n>p[2]||a<p[1]||a>p[3])return!1;if(!M.font||!A.prevTransform)return!0;var i=A.prevTransform[4],o=A.prevTransform[5];if(i===n&&o===a)return!0;var s=-1;switch(r[0]&&0===r[1]&&0===r[2]?s=r[0]>0?0:180:r[1]&&0===r[0]&&0===r[3]&&(s=r[1]>0?90:270),s){case 0:break;case 90:var c=[a,n];n=c[0],a=c[1];var u=[o,i];i=u[0],o=u[1];break;case 180:var l=[-n,-a,-i,-o];n=l[0],a=l[1],i=l[2],o=l[3];break;case 270:var h=[-a,-n];n=h[0],a=h[1];var f=[-o,-i];i=f[0],o=f[1];break;default:var d=S(W(n,a,r),2);n=d[0],a=d[1];var g=S(W(i,o,A.prevTransform),2);i=g[0],o=g[1]}if(M.font.vertical){var v=(o-a)/A.textAdvanceScale,m=n-i,y=Math.sign(A.height);return v<y*A.negativeSpaceMax?Math.abs(m)>.5*A.width?(J(),!0):(T(),Q(),!0):Math.abs(m)>A.width?(J(),!0):(v<=y*A.notASpace&&T(),v<=y*A.trackingSpaceMin?I()?(T(),Q(),_({height:Math.abs(v)})):A.height+=v:Z(v,A.prevTransform,y)||(0===A.str.length?(T(),_({height:Math.abs(v)})):A.height+=v),Math.abs(m)>.25*A.width&&Q(),!0)}var b=(n-i)/A.textAdvanceScale,w=a-o,k=Math.sign(A.width);return b<k*A.negativeSpaceMax?Math.abs(w)>.5*A.height?(J(),!0):(T(),Q(),!0):Math.abs(w)>A.height?(J(),!0):(b<=k*A.notASpace&&T(),b<=k*A.trackingSpaceMin?I()?(T(),Q(),_({width:Math.abs(b)})):A.width+=b:Z(b,A.prevTransform,k)||(0===A.str.length?(T(),_({width:Math.abs(b)})):A.width+=b),Math.abs(w)>.25*A.height&&Q(),!0)}function Y(e){var t=e.chars,r=e.extraSpacing,n=M.font;if(t)for(var a=n.charsToGlyphs(t),i=M.fontMatrix[0]*M.fontSize,o=0,s=a.length;o<s;o++){var c=a[o],u=c.category;if(!u.isInvisibleFormatMark){var l=M.charSpacing+(o+1===s?r:0),h=c.width;n.vertical&&(h=c.vmetric?c.vmetric[0]:-h);var f=h*i;if(u.isWhitespace)n.vertical?(l+=-f+M.wordSpacing,M.translateTextMatrix(0,-l)):(l+=f+M.wordSpacing,M.translateTextMatrix(l*M.textHScale,0)),F(" ");else if(u.isZeroWidthDiacritic||K(f)){var d=$();u.isZeroWidthDiacritic&&(f=0),n.vertical?(M.translateTextMatrix(0,f),f=Math.abs(f),d.height+=f):(f*=M.textHScale,M.translateTextMatrix(f,0),d.width+=f),f&&(d.prevTransform=U());var p=c.unicode;F(p)&&d.str.push(" "),d.str.push(p),l&&(n.vertical?M.translateTextMatrix(0,-l):M.translateTextMatrix(l*M.textHScale,0))}else n.vertical?M.translateTextMatrix(0,f):M.translateTextMatrix(f*M.textHScale,0)}}else{var g=M.charSpacing+r;g&&(n.vertical?M.translateTextMatrix(0,-g):M.translateTextMatrix(g*M.textHScale,0))}}function J(){T(),A.initialized?(A.hasEOL=!0,Q()):x.items.push({str:"",dir:"ltr",width:0,height:0,transform:U(),fontName:M.loadedName,hasEOL:!0})}function Z(e,t,r){if(r*A.spaceInFlowMin<=e&&e<=r*A.spaceInFlowMax)return A.initialized&&(T(),A.str.push(" ")),!1;var n=A.fontName,a=0;return A.vertical&&(a=e,e=0),Q(),T(),_({width:Math.abs(e),height:Math.abs(a),transform:t||U(),fontName:n}),!0}function Q(){A.initialized&&A.str&&(A.vertical?A.totalHeight+=A.height*A.textAdvanceScale:A.totalWidth+=A.width*A.textAdvanceScale,x.items.push(function(e){var t=e.str.join("");k||(t=(0,a.normalizeUnicode)(t));var r=(0,b.bidi)(t,-1,e.vertical);return{str:r.str,dir:r.dir,width:Math.abs(e.totalWidth),height:Math.abs(e.totalHeight),transform:e.transform,fontName:e.fontName,hasEOL:e.hasEOL}}(A)),A.initialized=!1,A.str.length=0)}function ee(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=x.items.length;0===t||e&&t<10||(h.enqueue(x,t),x.items=[],x.styles=Object.create(null))}var te=new X;return new Promise((function e(t,r){var s=function(n){ee(!0),Promise.all([n,h.ready]).then((function(){try{e(t,r)}catch(e){r(e)}}),r)};n.ensureNotTerminated(),te.reset();for(var u,f={},g=[];!(u=te.check())&&(g.length=0,f.args=g,L.read(f));){var v=M;switch(M=c.state,f.fn,g=f.args,0|r){case a.OPS.setFont:var b=g[0].name,w=g[1];if(M.font&&b===M.fontName&&w===M.fontSize)break;return Q(),M.fontName=b,M.fontSize=w,void s(q(b,null));case a.OPS.setTextRise:M.textRise=g[0];break;case a.OPS.setHScale:M.textHScale=g[0]/100;break;case a.OPS.setLeading:M.leading=g[0];break;case a.OPS.moveText:M.translateTextLineMatrix(g[0],g[1]),M.textMatrix=M.textLineMatrix.slice();break;case a.OPS.setLeadingMoveText:M.leading=-g[1],M.translateTextLineMatrix(g[0],g[1]),M.textMatrix=M.textLineMatrix.slice();break;case a.OPS.nextLine:M.carriageReturn();break;case a.OPS.setTextMatrix:M.setTextMatrix(g[0],g[1],g[2],g[3],g[4],g[5]),M.setTextLineMatrix(g[0],g[1],g[2],g[3],g[4],g[5]),H();break;case a.OPS.setCharSpacing:M.charSpacing=g[0];break;case a.OPS.setWordSpacing:M.wordSpacing=g[0];break;case a.OPS.beginText:M.textMatrix=a.IDENTITY_MATRIX.slice(),M.textLineMatrix=a.IDENTITY_MATRIX.slice();break;case a.OPS.showSpacedText:if(!c.state.font){E.ensureStateFont(c.state);continue}for(var S=(M.font.vertical?1:-1)*M.fontSize/1e3,A=g[0],C=0,O=A.length;C<O;C++){var F=A[C];if("string"==typeof F)R.push(F);else if("number"==typeof F&&0!==F){var I=R.join("");R.length=0,Y({chars:I,extraSpacing:F*S})}}if(R.length>0){var T=R.join("");R.length=0,Y({chars:T,extraSpacing:0})}break;case a.OPS.showText:if(!c.state.font){E.ensureStateFont(c.state);continue}Y({chars:g[0],extraSpacing:0});break;case a.OPS.nextLineShowText:if(!c.state.font){E.ensureStateFont(c.state);continue}M.carriageReturn(),Y({chars:g[0],extraSpacing:0});break;case a.OPS.nextLineSetSpacingShowText:if(!c.state.font){E.ensureStateFont(c.state);continue}M.wordSpacing=g[0],M.charSpacing=g[1],M.carriageReturn(),Y({chars:g[2],extraSpacing:0});break;case a.OPS.paintXObject:Q(),N||(N=i.get("XObject")||o.Dict.empty);var _=g[0]instanceof o.Name,U=g[0].name;if(_&&D.getByName(U))break;return void s(new Promise((function(e,t){if(!_)throw new a.FormatError("XObject must be referred to by name.");var r=N.getRaw(U);if(r instanceof o.Ref){if(D.getByRef(r))return void e();if(E.globalImageCache.getData(r,E.pageIndex))return void e();r=P.fetch(r)}if(!(r instanceof y.BaseStream))throw new a.FormatError("XObject should be a stream");var s=r.dict.get("Subtype");if(!(s instanceof o.Name))throw new a.FormatError("XObject should have a Name subtype");if("Form"!==s.name)return D.set(U,r.dict.objId,!0),void e();var u=c.state.clone(),f=new z(u),g=r.dict.getArray("Matrix");Array.isArray(g)&&6===g.length&&f.transform(g),ee();var v={enqueueInvoked:!1,enqueue:function(e,t){this.enqueueInvoked=!0,h.enqueue(e,t)},get desiredSize(){return h.desiredSize},get ready(){return h.ready}};E.getTextContent({stream:r,task:n,resources:r.dict.get("Resources")||i,stateManager:f,includeMarkedContent:l,sink:v,seenStyles:d,viewBox:p,markedContentData:m,disableNormalization:k}).then((function(){v.enqueueInvoked||D.set(U,r.dict.objId,!0),e()}),t)})).catch((function(e){if(!(e instanceof a.AbortException)){if(!E.options.ignoreErrors)throw e;(0,a.warn)('getTextContent - ignoring XObject: "'.concat(e,'".'))}})));case a.OPS.setGState:if(_=g[0]instanceof o.Name,U=g[0].name,_&&B.getByName(U))break;return void s(new Promise((function(e,t){if(!_)throw new a.FormatError("GState must be referred to by name.");var r=i.get("ExtGState");if(!(r instanceof o.Dict))throw new a.FormatError("ExtGState should be a dictionary.");var n=r.get(U);if(!(n instanceof o.Dict))throw new a.FormatError("GState should be a dictionary.");var s=n.get("Font");s?(Q(),M.fontName=null,M.fontSize=s[1],q(null,s[0]).then(e,t)):(B.set(U,n.objId,!0),e())})).catch((function(e){if(!(e instanceof a.AbortException)){if(!E.options.ignoreErrors)throw e;(0,a.warn)('getTextContent - ignoring ExtGState: "'.concat(e,'".'))}})));case a.OPS.beginMarkedContent:Q(),l&&(m.level++,x.items.push({type:"beginMarkedContent",tag:g[0]instanceof o.Name?g[0].name:null}));break;case a.OPS.beginMarkedContentProps:if(Q(),l){m.level++;var $=null;g[1]instanceof o.Dict&&($=g[1].get("MCID")),x.items.push({type:"beginMarkedContentProps",id:Number.isInteger($)?"".concat(E.idFactory.getPageObjId(),"_mc").concat($):null,tag:g[0]instanceof o.Name?g[0].name:null})}break;case a.OPS.endMarkedContent:if(Q(),l){if(0===m.level)break;m.level--,x.items.push({type:"endMarkedContent"})}break;case a.OPS.restore:!v||v.font===M.font&&v.fontSize===M.fontSize&&v.fontName===M.fontName||Q()}if(x.items.length>=h.desiredSize){u=!0;break}}u?s(j):(Q(),ee(),t())})).catch((function(e){if(!(e instanceof a.AbortException)){if(!t.options.ignoreErrors)throw e;(0,a.warn)('getTextContent - ignoring errors during "'.concat(n.name,'" task: "').concat(e,'".')),Q(),ee()}}))}},{key:"extractDataStructures",value:function(e,t,r){var n,i=this,s=this.xref,l=this.readToUnicode(r.toUnicode||e.get("ToUnicode")||t.get("ToUnicode"));if(r.composite){var h=e.get("CIDSystemInfo");h instanceof o.Dict&&(r.cidSystemInfo={registry:(0,a.stringToPDFString)(h.get("Registry")),ordering:(0,a.stringToPDFString)(h.get("Ordering")),supplement:h.get("Supplement")});try{var f=e.get("CIDToGIDMap");f instanceof y.BaseStream&&(n=f.getBytes())}catch(e){if(!this.options.ignoreErrors)throw e;(0,a.warn)('extractDataStructures - ignoring CIDToGIDMap data: "'.concat(e,'".'))}}var d,p=[],g=null;if(e.has("Encoding")){if((d=e.get("Encoding"))instanceof o.Dict){if(g=(g=d.get("BaseEncoding"))instanceof o.Name?g.name:null,d.has("Differences")){var v,m=0,b=x(d.get("Differences"));try{for(b.s();!(v=b.n()).done;){var w=v.value,k=s.fetchIfRef(w);if("number"==typeof k)m=k;else{if(!(k instanceof o.Name))throw new a.FormatError("Invalid entry in 'Differences' array: ".concat(k));p[m++]=k.name}}}catch(e){b.e(e)}finally{b.f()}}}else if(d instanceof o.Name)g=d.name;else{var S="Encoding is not a Name nor a Dict";if(!this.options.ignoreErrors)throw new a.FormatError(S);(0,a.warn)(S)}"MacRomanEncoding"!==g&&"MacExpertEncoding"!==g&&"WinAnsiEncoding"!==g&&(g=null)}var A=!r.file||r.isInternalFont,O=(0,u.getSymbolsFonts)()[r.name];if(g&&A&&O&&(g=null),g)r.defaultEncoding=(0,c.getEncoding)(g);else{var F=!!(r.flags&C.FontFlags.Symbolic),I=!!(r.flags&C.FontFlags.Nonsymbolic);d=c.StandardEncoding,"TrueType"!==r.type||I||(d=c.WinAnsiEncoding),(F||O)&&(d=c.MacRomanEncoding,A&&(/Symbol/i.test(r.name)?d=c.SymbolSetEncoding:/Dingbats/i.test(r.name)?d=c.ZapfDingbatsEncoding:/Wingdings/i.test(r.name)&&(d=c.WinAnsiEncoding))),r.defaultEncoding=d}return r.differences=p,r.baseEncodingName=g,r.hasEncoding=!!g||p.length>0,r.dict=e,l.then((function(e){return r.toUnicode=e,i.buildToUnicode(r)})).then((function(e){return r.toUnicode=e,n&&(r.cidToGidMap=i.readCidToGidMap(n,e)),r}))}},{key:"_simpleFontToUnicode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,a.assert)(!e.composite,"Must be a simple font.");var r=[],n=e.defaultEncoding.slice(),i=e.baseEncodingName,o=e.differences;for(var s in o){var u=o[s];".notdef"!==u&&(n[s]=u)}var l=(0,F.getGlyphsUnicode)();for(var h in n){var f=n[h];if(""!==f){var d=l[f];if(void 0===d){var p=0;switch(f[0]){case"G":3===f.length&&(p=parseInt(f.substring(1),16));break;case"g":5===f.length&&(p=parseInt(f.substring(1),16));break;case"C":case"c":if(f.length>=3&&f.length<=4){var g=f.substring(1);if(t){p=parseInt(g,16);break}if(p=+g,Number.isNaN(p)&&Number.isInteger(parseInt(g,16)))return this._simpleFontToUnicode(e,!0)}break;case"u":-1!==(d=(0,R.getUnicodeForGlyph)(f,l))&&(p=d);break;default:switch(f){case"f_h":case"f_t":case"T_h":r[h]=f.replaceAll("_","");continue}}if(p>0&&p<=1114111&&Number.isInteger(p)){if(i&&p===+h){var v=(0,c.getEncoding)(i);if(v&&(f=v[h])){r[h]=String.fromCharCode(l[f]);continue}}r[h]=String.fromCodePoint(p)}}else r[h]=String.fromCharCode(d)}}return r}},{key:"buildToUnicode",value:(r=T(k().mark((function e(t){var r,n,s,c,u,l,h,f;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.hasIncludedToUnicodeMap=(null===(r=t.toUnicode)||void 0===r?void 0:r.length)>0,!t.hasIncludedToUnicodeMap){e.next=4;break}return!t.composite&&t.hasEncoding&&(t.fallbackToUnicode=this._simpleFontToUnicode(t)),e.abrupt("return",t.toUnicode);case 4:if(t.composite){e.next=6;break}return e.abrupt("return",new d.ToUnicodeMap(this._simpleFontToUnicode(t)));case 6:if(!t.composite||(!t.cMap.builtInCMap||t.cMap instanceof i.IdentityCMap)&&("Adobe"!==t.cidSystemInfo.registry||"GB1"!==t.cidSystemInfo.ordering&&"CNS1"!==t.cidSystemInfo.ordering&&"Japan1"!==t.cidSystemInfo.ordering&&"Korea1"!==t.cidSystemInfo.ordering)){e.next=18;break}return n=t.cidSystemInfo,s=n.registry,c=n.ordering,u=o.Name.get("".concat(s,"-").concat(c,"-UCS2")),e.next=13,i.CMapFactory.create({encoding:u,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 13:return l=e.sent,h=[],f=[],t.cMap.forEach((function(e,t){if(t>65535)throw new a.FormatError("Max size of CID is 65,535");var r=l.lookup(t);if(r){f.length=0;for(var n=0,i=r.length;n<i;n+=2)f.push((r.charCodeAt(n)<<8)+r.charCodeAt(n+1));h[e]=String.fromCharCode.apply(String,f)}})),e.abrupt("return",new d.ToUnicodeMap(h));case 18:return e.abrupt("return",new d.IdentityToUnicodeMap(t.firstChar,t.lastChar));case 19:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"readToUnicode",value:function(e){var t=this;return e?e instanceof o.Name?i.CMapFactory.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then((function(e){return e instanceof i.IdentityCMap?new d.IdentityToUnicodeMap(0,65535):new d.ToUnicodeMap(e.getMap())})):e instanceof y.BaseStream?i.CMapFactory.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then((function(e){if(e instanceof i.IdentityCMap)return new d.IdentityToUnicodeMap(0,65535);var t=new Array(e.length);return e.forEach((function(e,r){if("number"!=typeof r){for(var n=[],a=0;a<r.length;a+=2){var i=r.charCodeAt(a)<<8|r.charCodeAt(a+1);if(55296==(63488&i)){a+=2;var o=r.charCodeAt(a)<<8|r.charCodeAt(a+1);n.push(((1023&i)<<10)+(1023&o)+65536)}else n.push(i)}t[e]=String.fromCodePoint.apply(String,n)}else t[e]=String.fromCodePoint(r)})),new d.ToUnicodeMap(t)}),(function(e){if(e instanceof a.AbortException)return null;if(t.options.ignoreErrors)return(0,a.warn)('readToUnicode - ignoring ToUnicode data: "'.concat(e,'".')),null;throw e})):Promise.resolve(null):Promise.resolve(null)}},{key:"readCidToGidMap",value:function(e,t){for(var r=[],n=0,a=e.length;n<a;n++){var i=e[n++]<<8|e[n],o=n>>1;(0!==i||t.has(o))&&(r[o]=i)}return r}},{key:"extractWidths",value:function(e,t,r){var n,a,i,s,c,u,l,h,f=this.xref,d=[],p=0,g=[];if(r.composite){if(p=e.has("DW")?e.get("DW"):1e3,h=e.get("W"))for(a=0,i=h.length;a<i;a++)if(u=f.fetchIfRef(h[a++]),l=f.fetchIfRef(h[a]),Array.isArray(l))for(s=0,c=l.length;s<c;s++)d[u++]=f.fetchIfRef(l[s]);else{var v=f.fetchIfRef(h[++a]);for(s=u;s<=l;s++)d[s]=v}if(r.vertical){var m=e.getArray("DW2")||[880,-1e3];if(n=[m[1],.5*p,m[0]],m=e.get("W2"))for(a=0,i=m.length;a<i;a++)if(u=f.fetchIfRef(m[a++]),l=f.fetchIfRef(m[a]),Array.isArray(l))for(s=0,c=l.length;s<c;s++)g[u++]=[f.fetchIfRef(l[s++]),f.fetchIfRef(l[s++]),f.fetchIfRef(l[s])];else{var y=[f.fetchIfRef(m[++a]),f.fetchIfRef(m[++a]),f.fetchIfRef(m[++a])];for(s=u;s<=l;s++)g[s]=y}}}else{var b=r.firstChar;if(h=e.get("Widths")){for(s=b,a=0,i=h.length;a<i;a++)d[s++]=f.fetchIfRef(h[a]);p=parseFloat(t.get("MissingWidth"))||0}else{var w=e.get("BaseFont");if(w instanceof o.Name){var k=this.getBaseFontMetrics(w.name);d=this.buildCharCodeToWidth(k.widths,r),p=k.defaultWidth}}}var x=!0,S=p;for(var A in d){var O=d[A];if(O)if(S){if(S!==O){x=!1;break}}else S=O}x?r.flags|=C.FontFlags.FixedPitch:r.flags&=~C.FontFlags.FixedPitch,r.defaultWidth=p,r.widths=d,r.defaultVMetrics=n,r.vmetrics=g}},{key:"isSerifFont",value:function(e){var t=e.split("-")[0];return t in(0,u.getSerifFonts)()||/serif/gi.test(t)}},{key:"getBaseFontMetrics",value:function(e){var t=0,r=Object.create(null),n=!1,a=(0,u.getStdFontMap)()[e]||e,i=(0,E.getMetrics)();a in i||(a=this.isSerifFont(e)?"Times-Roman":"Helvetica");var o=i[a];return"number"==typeof o?(t=o,n=!0):r=o(),{defaultWidth:t,monospace:n,widths:r}}},{key:"buildCharCodeToWidth",value:function(e,t){for(var r=Object.create(null),n=t.differences,a=t.defaultEncoding,i=0;i<256;i++)i in n&&e[n[i]]?r[i]=e[n[i]]:i in a&&e[a[i]]&&(r[i]=e[a[i]]);return r}},{key:"preEvaluateFont",value:function(e){var t=e,r=e.get("Subtype");if(!(r instanceof o.Name))throw new a.FormatError("invalid font Subtype");var n,i,s=!1;if("Type0"===r.name){var c=e.get("DescendantFonts");if(!c)throw new a.FormatError("Descendant fonts are not specified");if(!((e=Array.isArray(c)?this.xref.fetchIfRef(c[0]):c)instanceof o.Dict))throw new a.FormatError("Descendant font is not a dictionary.");if(!((r=e.get("Subtype"))instanceof o.Name))throw new a.FormatError("invalid font Subtype");s=!0}var u=e.get("FirstChar")||0,l=e.get("LastChar")||(s?65535:255),h=e.get("FontDescriptor");if(h){n=new D.MurmurHash3_64;var f=t.getRaw("Encoding");if(f instanceof o.Name)n.update(f.name);else if(f instanceof o.Ref)n.update(f.toString());else if(f instanceof o.Dict){var d,p=x(f.getRawValues());try{for(p.s();!(d=p.n()).done;){var g=d.value;if(g instanceof o.Name)n.update(g.name);else if(g instanceof o.Ref)n.update(g.toString());else if(Array.isArray(g)){for(var v=g.length,m=new Array(v),b=0;b<v;b++){var w=g[b];w instanceof o.Name?m[b]=w.name:("number"==typeof w||w instanceof o.Ref)&&(m[b]=w.toString())}n.update(m.join())}}}catch(e){p.e(e)}finally{p.f()}}if(n.update("".concat(u,"-").concat(l)),(i=e.get("ToUnicode")||t.get("ToUnicode"))instanceof y.BaseStream){var k=i.str||i,S=k.buffer?new Uint8Array(k.buffer.buffer,0,k.bufferLength):new Uint8Array(k.bytes.buffer,k.start,k.end-k.start);n.update(S)}else i instanceof o.Name&&n.update(i.name);var A=e.get("Widths")||t.get("Widths");if(Array.isArray(A)){var C,O=[],F=x(A);try{for(F.s();!(C=F.n()).done;){var I=C.value;("number"==typeof I||I instanceof o.Ref)&&O.push(I.toString())}}catch(e){F.e(e)}finally{F.f()}n.update(O.join())}if(s){n.update("compositeFont");var T=e.get("W")||t.get("W");if(Array.isArray(T)){var M,E=[],P=x(T);try{for(P.s();!(M=P.n()).done;){var R=M.value;if("number"==typeof R||R instanceof o.Ref)E.push(R.toString());else if(Array.isArray(R)){var N,B=[],L=x(R);try{for(L.s();!(N=L.n()).done;){var _=N.value;("number"==typeof _||_ instanceof o.Ref)&&B.push(_.toString())}}catch(e){L.e(e)}finally{L.f()}E.push("[".concat(B.join(),"]"))}}}catch(e){P.e(e)}finally{P.f()}n.update(E.join())}var j=e.getRaw("CIDToGIDMap")||t.getRaw("CIDToGIDMap");j instanceof o.Name?n.update(j.name):j instanceof o.Ref?n.update(j.toString()):j instanceof y.BaseStream&&n.update(j.peekBytes())}}return{descriptor:h,dict:e,baseDict:t,composite:s,type:r.name,firstChar:u,lastChar:l,toUnicode:i,hash:n?n.hexdigest():""}}},{key:"translateFont",value:(t=T(k().mark((function e(t){var r,n,c,l,f,d,p,g,v,y,b,w,S,A,F,I,T,M,E,P,R,N,D,B,L,_,j,U,$,X,H,q,z,G,W,V,K,Y=this;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=t.descriptor,l=t.dict,f=t.baseDict,d=t.composite,p=t.type,g=t.firstChar,v=t.lastChar,y=t.toUnicode,b=t.cssFontInfo,w="Type3"===p,c){e.next=22;break}if(w){e.next=19;break}if((A=l.get("BaseFont"))instanceof o.Name){e.next=7;break}throw new a.FormatError("Base font is not specified");case 7:if(A=A.name.replaceAll(/[,_]/g,"-"),F=this.getBaseFontMetrics(A),I=A.split("-")[0],T=(this.isSerifFont(I)?C.FontFlags.Serif:0)|(F.monospace?C.FontFlags.FixedPitch:0)|((0,u.getSymbolsFonts)()[I]?C.FontFlags.Symbolic:C.FontFlags.Nonsymbolic),S={type:p,name:A,loadedName:f.loadedName,systemFontInfo:null,widths:F.widths,defaultWidth:F.defaultWidth,isSimulatedFlags:!0,flags:T,firstChar:g,lastChar:v,toUnicode:y,xHeight:0,capHeight:0,italicAngle:0,isType3Font:w},M=l.get("Widths"),E=(0,u.getStandardFontName)(A),P=null,!E){e.next=17;break}return e.next=15,this.fetchStandardFontData(E);case 15:P=e.sent,S.isInternalFont=!!P;case 17:return!S.isInternalFont&&this.options.useSystemFonts&&(S.systemFontInfo=(0,O.getFontSubstitution)(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,A,E)),e.abrupt("return",this.extractDataStructures(l,l,S).then((function(e){if(M){var t,r=[],n=g,a=x(M);try{for(a.s();!(t=a.n()).done;){var i=t.value;r[n++]=Y.xref.fetchIfRef(i)}}catch(e){a.e(e)}finally{a.f()}e.widths=r}else e.widths=Y.buildCharCodeToWidth(F.widths,e);return new s.Font(A,P,e)})));case 19:(c=new o.Dict(null)).set("FontName",o.Name.get(p)),c.set("FontBBox",l.getArray("FontBBox")||[0,0,0,0]);case 22:if(R=c.get("FontName"),N=l.get("BaseFont"),"string"==typeof R&&(R=o.Name.get(R)),"string"==typeof N&&(N=o.Name.get(N)),D=null===(r=R)||void 0===r?void 0:r.name,B=null===(n=N)||void 0===n?void 0:n.name,w||D===B||((0,a.info)("The FontDescriptor's FontName is \"".concat(D,'" but should be the same as the Font\'s BaseFont "').concat(B,'".')),D&&B&&(B.startsWith(D)||!(0,u.isKnownFontName)(D)&&(0,u.isKnownFontName)(B))&&(R=null)),R||(R=N),R instanceof o.Name){e.next=30;break}throw new a.FormatError("invalid font name");case 30:e.prev=30,L=c.get("FontFile","FontFile2","FontFile3"),e.next=40;break;case 34:if(e.prev=34,e.t0=e.catch(30),this.options.ignoreErrors){e.next=38;break}throw e.t0;case 38:(0,a.warn)('translateFont - fetching "'.concat(R.name,'" font file: "').concat(e.t0,'".')),L=new m.NullStream;case 40:if(X=!1,H=null,q=null,!L){e.next=45;break}L.dict&&((z=L.dict.get("Subtype"))instanceof o.Name&&(_=z.name),j=L.dict.get("Length1"),U=L.dict.get("Length2"),$=L.dict.get("Length3")),e.next=67;break;case 45:if(!b){e.next=59;break}if(!(G=(0,h.getXfaFontName)(R.name))){e.next=57;break}return b.fontFamily="".concat(b.fontFamily,"-PdfJS-XFA"),b.metrics=G.metrics||null,H=G.factors||null,e.next=53,this.fetchStandardFontData(G.name);case 53:L=e.sent,X=!!L,f=l=(0,h.getXfaFontDict)(R.name),d=!0;case 57:e.next=67;break;case 59:if(w){e.next=67;break}if(!(W=(0,u.getStandardFontName)(R.name))){e.next=66;break}return e.next=64,this.fetchStandardFontData(W);case 64:L=e.sent,X=!!L;case 66:!X&&this.options.useSystemFonts&&(q=(0,O.getFontSubstitution)(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,R.name,W));case 67:if(S={type:p,name:R.name,subtype:_,file:L,length1:j,length2:U,length3:$,isInternalFont:X,loadedName:f.loadedName,composite:d,fixedPitch:!1,fontMatrix:l.getArray("FontMatrix")||a.FONT_IDENTITY_MATRIX,firstChar:g,lastChar:v,toUnicode:y,bbox:c.getArray("FontBBox")||l.getArray("FontBBox"),ascent:c.get("Ascent"),descent:c.get("Descent"),xHeight:c.get("XHeight")||0,capHeight:c.get("CapHeight")||0,flags:c.get("Flags"),italicAngle:c.get("ItalicAngle")||0,isType3Font:w,cssFontInfo:b,scaleFactors:H,systemFontInfo:q},!d){e.next=76;break}return(V=f.get("Encoding"))instanceof o.Name&&(S.cidEncoding=V.name),e.next=73,i.CMapFactory.create({encoding:V,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 73:K=e.sent,S.cMap=K,S.vertical=S.cMap.vertical;case 76:return e.abrupt("return",this.extractDataStructures(l,f,S).then((function(e){return Y.extractWidths(l,c,e),new s.Font(R.name,L,e)})));case 77:case"end":return e.stop()}}),e,this,[[30,34]])}))),function(e){return t.apply(this,arguments)})}],[{key:"buildFontPaths",value:function(e,t,r,n){function i(t){var i="".concat(e.loadedName,"_path_").concat(t);try{if(e.renderer.hasBuiltPath(t))return;r.send("commonobj",[i,"FontPath",e.renderer.getPathJs(t)])}catch(e){if(n.ignoreErrors)return void(0,a.warn)("buildFontPaths - ignoring ".concat(i,' glyph: "').concat(e,'".'));throw e}}var o,s=x(t);try{for(s.s();!(o=s.n()).done;){var c=o.value;i(c.fontChar);var u=c.accent;(null==u?void 0:u.fontChar)&&i(u.fontChar)}}catch(e){s.e(e)}finally{s.f()}}},{key:"fallbackFontDict",get:function(){var e=new o.Dict;return e.set("BaseFont",o.Name.get("Helvetica")),e.set("Type",o.Name.get("FallbackType")),e.set("Subtype",o.Name.get("FallbackType")),e.set("Encoding",o.Name.get("WinAnsiEncoding")),(0,a.shadow)(this,"fallbackFontDict",e)}}]),e}();t.PartialEvaluator=H;var q=function(){function e(t){M(this,e);var r=t.loadedName,n=t.font,a=t.dict,i=t.evaluatorOptions;this.loadedName=r,this.font=n,this.dict=a,this._evaluatorOptions=i||_,this.type3Loaded=null,this.type3Dependencies=n.isType3Font?new Set:null,this.sent=!1}return P(e,[{key:"send",value:function(e){this.sent||(this.sent=!0,e.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}},{key:"fallback",value:function(e){this.font.data&&(this.font.disableFontFace=!0,H.buildFontPaths(this.font,this.font.glyphCacheValues,e,this._evaluatorOptions))}},{key:"loadType3Data",value:function(e,t,r){var n=this;if(this.type3Loaded)return this.type3Loaded;if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");var i=e.clone({ignoreErrors:!1});i.parsingType3Font=!0;var s=new o.RefSet(e.type3FontRefs);this.dict.objId&&!s.has(this.dict.objId)&&s.put(this.dict.objId),i.type3FontRefs=s;var c,u=this.font,l=this.type3Dependencies,h=Promise.resolve(),f=this.dict.get("CharProcs"),d=this.dict.get("Resources")||t,p=Object.create(null),g=a.Util.normalizeRect(u.bbox||[0,0,0,0]),v=g[2]-g[0],m=g[3]-g[1],y=Math.hypot(v,m),b=x(f.getKeys());try{var w=function(){var e=c.value;h=h.then((function(){var t=f.get(e),o=new B.OperatorList;return i.getOperatorList({stream:t,task:r,resources:d,operatorList:o}).then((function(){o.fnArray[0]===a.OPS.setCharWidthAndBounds&&n._removeType3ColorOperators(o,y),p[e]=o.getIR();var t,r=x(o.dependencies);try{for(r.s();!(t=r.n()).done;){var i=t.value;l.add(i)}}catch(e){r.e(e)}finally{r.f()}})).catch((function(t){(0,a.warn)('Type3 font resource "'.concat(e,'" is not available.'));var r=new B.OperatorList;p[e]=r.getIR()}))}))};for(b.s();!(c=b.n()).done;)w()}catch(e){b.e(e)}finally{b.f()}return this.type3Loaded=h.then((function(){u.charProcOperatorList=p,n._bbox&&(u.isCharBBox=!0,u.bbox=n._bbox)})),this.type3Loaded}},{key:"_removeType3ColorOperators",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,r=a.Util.normalizeRect(e.argsArray[0].slice(2)),n=r[2]-r[0],i=r[3]-r[1],o=Math.hypot(n,i);0===n||0===i?(e.fnArray.splice(0,1),e.argsArray.splice(0,1)):(0===t||Math.round(o/t)>=10)&&(this._bbox||(this._bbox=[1/0,1/0,-1/0,-1/0]),this._bbox[0]=Math.min(this._bbox[0],r[0]),this._bbox[1]=Math.min(this._bbox[1],r[1]),this._bbox[2]=Math.max(this._bbox[2],r[2]),this._bbox[3]=Math.max(this._bbox[3],r[3]));for(var s=0,c=e.length;s<c;){switch(e.fnArray[s]){case a.OPS.setCharWidthAndBounds:break;case a.OPS.setStrokeColorSpace:case a.OPS.setFillColorSpace:case a.OPS.setStrokeColor:case a.OPS.setStrokeColorN:case a.OPS.setFillColor:case a.OPS.setFillColorN:case a.OPS.setStrokeGray:case a.OPS.setFillGray:case a.OPS.setStrokeRGBColor:case a.OPS.setFillRGBColor:case a.OPS.setStrokeCMYKColor:case a.OPS.setFillCMYKColor:case a.OPS.shadingFill:case a.OPS.setRenderingIntent:e.fnArray.splice(s,1),e.argsArray.splice(s,1),c--;continue;case a.OPS.setGState:for(var u=S(e.argsArray[s],1)[0],l=0,h=u.length;l<h;){switch(S(u[l],1)[0]){case"TR":case"TR2":case"HT":case"BG":case"BG2":case"UCR":case"UCR2":u.splice(l,1),h--;continue}l++}}s++}}}]),e}(),z=function(){function e(){M(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new W;this.state=t,this.stateStack=[]}return P(e,[{key:"save",value:function(){var e=this.state;this.stateStack.push(this.state),this.state=e.clone()}},{key:"restore",value:function(){var e=this.stateStack.pop();e&&(this.state=e)}},{key:"transform",value:function(e){this.state.ctm=a.Util.transform(this.state.ctm,e)}}]),e}(),G=function(){function e(){M(this,e),this.ctm=new Float32Array(a.IDENTITY_MATRIX),this.fontName=null,this.fontSize=0,this.loadedName=null,this.font=null,this.fontMatrix=a.FONT_IDENTITY_MATRIX,this.textMatrix=a.IDENTITY_MATRIX.slice(),this.textLineMatrix=a.IDENTITY_MATRIX.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}return P(e,[{key:"setTextMatrix",value:function(e,t,r,n,a,i){var o=this.textMatrix;o[0]=e,o[1]=t,o[2]=r,o[3]=n,o[4]=a,o[5]=i}},{key:"setTextLineMatrix",value:function(e,t,r,n,a,i){var o=this.textLineMatrix;o[0]=e,o[1]=t,o[2]=r,o[3]=n,o[4]=a,o[5]=i}},{key:"translateTextMatrix",value:function(e,t){var r=this.textMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5]}},{key:"translateTextLineMatrix",value:function(e,t){var r=this.textLineMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5]}},{key:"carriageReturn",value:function(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}},{key:"clone",value:function(){var e=Object.create(this);return e.textMatrix=this.textMatrix.slice(),e.textLineMatrix=this.textLineMatrix.slice(),e.fontMatrix=this.fontMatrix.slice(),e}}]),e}(),W=function(){function e(){M(this,e),this.ctm=new Float32Array(a.IDENTITY_MATRIX),this.font=null,this.textRenderingMode=a.TextRenderingMode.FILL,this.fillColorSpace=w.ColorSpace.singletons.gray,this.strokeColorSpace=w.ColorSpace.singletons.gray}return P(e,[{key:"clone",value:function(){return Object.create(this)}}]),e}(),V=function(){function e(t,r){M(this,e);var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new z;this.parser=new g.Parser({lexer:new g.Lexer(t,e.opMap),xref:r}),this.stateManager=n,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}return P(e,[{key:"savedStatesDepth",get:function(){return this.stateManager.stateStack.length}},{key:"read",value:function(t){for(var r=t.args;;){var n=this.parser.getObj();if(n instanceof o.Cmd){var i=n.cmd,s=e.opMap[i];if(!s){(0,a.warn)('Unknown command "'.concat(i,'".'));continue}var c=s.id,u=s.numArgs,l=null!==r?r.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=c>=a.OPS.moveTo&&c<=a.OPS.endPath,s.variableArgs)l>u&&(0,a.info)("Command ".concat(i,": expected [0, ").concat(u,"] args, but received ").concat(l," args."));else{if(l!==u){for(var h=this.nonProcessedArgs;l>u;)h.push(r.shift()),l--;for(;l<u&&0!==h.length;)null===r&&(r=[]),r.unshift(h.pop()),l++}if(l<u){var f="command ".concat(i,": expected ").concat(u," args, but received ").concat(l," args.");if(this._isPathOp&&++this._numInvalidPathOPS>e.MAX_INVALID_PATH_OPS)throw new a.FormatError("Invalid ".concat(f));(0,a.warn)("Skipping ".concat(f)),null!==r&&(r.length=0);continue}}return this.preprocessCommand(c,r),t.fn=c,t.args=r,!0}if(n===o.EOF)return!1;if(null!==n&&(null===r&&(r=[]),r.push(n),r.length>33))throw new a.FormatError("Too many arguments")}}},{key:"preprocessCommand",value:function(e,t){switch(0|e){case a.OPS.save:this.stateManager.save();break;case a.OPS.restore:this.stateManager.restore();break;case a.OPS.transform:this.stateManager.transform(t)}}}],[{key:"opMap",get:function(){var e=(0,I.getLookupTableFactory)((function(e){e.w={id:a.OPS.setLineWidth,numArgs:1,variableArgs:!1},e.J={id:a.OPS.setLineCap,numArgs:1,variableArgs:!1},e.j={id:a.OPS.setLineJoin,numArgs:1,variableArgs:!1},e.M={id:a.OPS.setMiterLimit,numArgs:1,variableArgs:!1},e.d={id:a.OPS.setDash,numArgs:2,variableArgs:!1},e.ri={id:a.OPS.setRenderingIntent,numArgs:1,variableArgs:!1},e.i={id:a.OPS.setFlatness,numArgs:1,variableArgs:!1},e.gs={id:a.OPS.setGState,numArgs:1,variableArgs:!1},e.q={id:a.OPS.save,numArgs:0,variableArgs:!1},e.Q={id:a.OPS.restore,numArgs:0,variableArgs:!1},e.cm={id:a.OPS.transform,numArgs:6,variableArgs:!1},e.m={id:a.OPS.moveTo,numArgs:2,variableArgs:!1},e.l={id:a.OPS.lineTo,numArgs:2,variableArgs:!1},e.c={id:a.OPS.curveTo,numArgs:6,variableArgs:!1},e.v={id:a.OPS.curveTo2,numArgs:4,variableArgs:!1},e.y={id:a.OPS.curveTo3,numArgs:4,variableArgs:!1},e.h={id:a.OPS.closePath,numArgs:0,variableArgs:!1},e.re={id:a.OPS.rectangle,numArgs:4,variableArgs:!1},e.S={id:a.OPS.stroke,numArgs:0,variableArgs:!1},e.s={id:a.OPS.closeStroke,numArgs:0,variableArgs:!1},e.f={id:a.OPS.fill,numArgs:0,variableArgs:!1},e.F={id:a.OPS.fill,numArgs:0,variableArgs:!1},e["f*"]={id:a.OPS.eoFill,numArgs:0,variableArgs:!1},e.B={id:a.OPS.fillStroke,numArgs:0,variableArgs:!1},e["B*"]={id:a.OPS.eoFillStroke,numArgs:0,variableArgs:!1},e.b={id:a.OPS.closeFillStroke,numArgs:0,variableArgs:!1},e["b*"]={id:a.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1},e.n={id:a.OPS.endPath,numArgs:0,variableArgs:!1},e.W={id:a.OPS.clip,numArgs:0,variableArgs:!1},e["W*"]={id:a.OPS.eoClip,numArgs:0,variableArgs:!1},e.BT={id:a.OPS.beginText,numArgs:0,variableArgs:!1},e.ET={id:a.OPS.endText,numArgs:0,variableArgs:!1},e.Tc={id:a.OPS.setCharSpacing,numArgs:1,variableArgs:!1},e.Tw={id:a.OPS.setWordSpacing,numArgs:1,variableArgs:!1},e.Tz={id:a.OPS.setHScale,numArgs:1,variableArgs:!1},e.TL={id:a.OPS.setLeading,numArgs:1,variableArgs:!1},e.Tf={id:a.OPS.setFont,numArgs:2,variableArgs:!1},e.Tr={id:a.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1},e.Ts={id:a.OPS.setTextRise,numArgs:1,variableArgs:!1},e.Td={id:a.OPS.moveText,numArgs:2,variableArgs:!1},e.TD={id:a.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1},e.Tm={id:a.OPS.setTextMatrix,numArgs:6,variableArgs:!1},e["T*"]={id:a.OPS.nextLine,numArgs:0,variableArgs:!1},e.Tj={id:a.OPS.showText,numArgs:1,variableArgs:!1},e.TJ={id:a.OPS.showSpacedText,numArgs:1,variableArgs:!1},e["'"]={id:a.OPS.nextLineShowText,numArgs:1,variableArgs:!1},e['"']={id:a.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},e.d0={id:a.OPS.setCharWidth,numArgs:2,variableArgs:!1},e.d1={id:a.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1},e.CS={id:a.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1},e.cs={id:a.OPS.setFillColorSpace,numArgs:1,variableArgs:!1},e.SC={id:a.OPS.setStrokeColor,numArgs:4,variableArgs:!0},e.SCN={id:a.OPS.setStrokeColorN,numArgs:33,variableArgs:!0},e.sc={id:a.OPS.setFillColor,numArgs:4,variableArgs:!0},e.scn={id:a.OPS.setFillColorN,numArgs:33,variableArgs:!0},e.G={id:a.OPS.setStrokeGray,numArgs:1,variableArgs:!1},e.g={id:a.OPS.setFillGray,numArgs:1,variableArgs:!1},e.RG={id:a.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1},e.rg={id:a.OPS.setFillRGBColor,numArgs:3,variableArgs:!1},e.K={id:a.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1},e.k={id:a.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1},e.sh={id:a.OPS.shadingFill,numArgs:1,variableArgs:!1},e.BI={id:a.OPS.beginInlineImage,numArgs:0,variableArgs:!1},e.ID={id:a.OPS.beginImageData,numArgs:0,variableArgs:!1},e.EI={id:a.OPS.endInlineImage,numArgs:1,variableArgs:!1},e.Do={id:a.OPS.paintXObject,numArgs:1,variableArgs:!1},e.MP={id:a.OPS.markPoint,numArgs:1,variableArgs:!1},e.DP={id:a.OPS.markPointProps,numArgs:2,variableArgs:!1},e.BMC={id:a.OPS.beginMarkedContent,numArgs:1,variableArgs:!1},e.BDC={id:a.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1},e.EMC={id:a.OPS.endMarkedContent,numArgs:0,variableArgs:!1},e.BX={id:a.OPS.beginCompat,numArgs:0,variableArgs:!1},e.EX={id:a.OPS.endCompat,numArgs:0,variableArgs:!1},e.BM=null,e.BD=null,e.true=null,e.fa=null,e.fal=null,e.fals=null,e.false=null,e.nu=null,e.nul=null,e.null=null}));return(0,a.shadow)(this,"opMap",e())}}]),e}();n(V,"MAX_INVALID_PATH_OPS",10),t.EvaluatorPreprocessor=V},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.IdentityCMap=t.CMapFactory=t.CMap=void 0,r(139),r(2);var n=r(144),a=r(150),i=r(151),o=r(165),s=r(166),c=r(149),u=r(154),l=["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"],h=Math.pow(2,24)-1,f=function(){function e(){M(this,e);var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=t}return P(e,[{key:"addCodespaceRange",value:function(e,t,r){this.codespaceRanges[e-1].push(t,r),this.numCodespaceRanges++}},{key:"mapCidRange",value:function(e,t,r){if(t-e>h)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;e<=t;)this._map[e++]=r++}},{key:"mapBfRange",value:function(e,t,r){if(t-e>h)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");for(var n=r.length-1;e<=t;){this._map[e++]=r;var a=r.charCodeAt(n)+1;r=a>255?r.substring(0,n-1)+String.fromCharCode(r.charCodeAt(n-1)+1)+"\0":r.substring(0,n)+String.fromCharCode(a)}}},{key:"mapBfRangeToArray",value:function(e,t,r){if(t-e>h)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");for(var n=r.length,a=0;e<=t&&a<n;)this._map[e]=r[a++],++e}},{key:"mapOne",value:function(e,t){this._map[e]=t}},{key:"lookup",value:function(e){return this._map[e]}},{key:"contains",value:function(e){return void 0!==this._map[e]}},{key:"forEach",value:function(e){var t=this._map,r=t.length;if(r<=65536)for(var n=0;n<r;n++)void 0!==t[n]&&e(n,t[n]);else for(var a in t)e(a,t[a])}},{key:"charCodeOf",value:function(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(var r in t)if(t[r]===e)return 0|r;return-1}},{key:"getMap",value:function(){return this._map}},{key:"readCharCode",value:function(e,t,r){for(var n=0,a=this.codespaceRanges,i=0,o=a.length;i<o;i++){n=(n<<8|e.charCodeAt(t+i))>>>0;for(var s=a[i],c=0,u=s.length;c<u;){var l=s[c++],h=s[c++];if(n>=l&&n<=h)return r.charcode=n,void(r.length=i+1)}}r.charcode=0,r.length=1}},{key:"getCharCodeLength",value:function(e){for(var t=this.codespaceRanges,r=0,n=t.length;r<n;r++)for(var a=t[r],i=0,o=a.length;i<o;){var s=a[i++],c=a[i++];if(e>=s&&e<=c)return r+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 e=0;e<65536;e++)if(this._map[e]!==e)return!1;return!0}}]),e}();t.CMap=f;var p=function(e){function t(e,r){var n;return M(this,t),(n=d(this,t)).vertical=e,n.addCodespaceRange(r,0,65535),n}return y(t,e),P(t,[{key:"mapCidRange",value:function(e,t,r){(0,n.unreachable)("should not call mapCidRange")}},{key:"mapBfRange",value:function(e,t,r){(0,n.unreachable)("should not call mapBfRange")}},{key:"mapBfRangeToArray",value:function(e,t,r){(0,n.unreachable)("should not call mapBfRangeToArray")}},{key:"mapOne",value:function(e,t){(0,n.unreachable)("should not call mapCidOne")}},{key:"lookup",value:function(e){return Number.isInteger(e)&&e<=65535?e:void 0}},{key:"contains",value:function(e){return Number.isInteger(e)&&e<=65535}},{key:"forEach",value:function(e){for(var t=0;t<=65535;t++)e(t,t)}},{key:"charCodeOf",value:function(e){return Number.isInteger(e)&&e<=65535?e:-1}},{key:"getMap",value:function(){for(var e=new Array(65536),t=0;t<=65535;t++)e[t]=t;return e}},{key:"length",get:function(){return 65536}},{key:"isIdentityCMap",get:function(){(0,n.unreachable)("should not access .isIdentityCMap")}}]),t}(f);function g(e){for(var t=0,r=0;r<e.length;r++)t=t<<8|e.charCodeAt(r);return t>>>0}function v(e){if("string"!=typeof e)throw new n.FormatError("Malformed CMap: expected string.")}function m(e){if(!Number.isInteger(e))throw new n.FormatError("Malformed CMap: expected int.")}function b(e,t){for(;;){var r=t.getObj();if(r===a.EOF)break;if((0,a.isCmd)(r,"endbfchar"))return;v(r);var n=g(r);v(r=t.getObj());var i=r;e.mapOne(n,i)}}function w(e,t){for(;;){var r=t.getObj();if(r===a.EOF)break;if((0,a.isCmd)(r,"endbfrange"))return;v(r);var i=g(r);v(r=t.getObj());var o=g(r);if(r=t.getObj(),Number.isInteger(r)||"string"==typeof r){var s=Number.isInteger(r)?String.fromCharCode(r):r;e.mapBfRange(i,o,s)}else{if(!(0,a.isCmd)(r,"["))break;r=t.getObj();for(var c=[];!(0,a.isCmd)(r,"]")&&r!==a.EOF;)c.push(r),r=t.getObj();e.mapBfRangeToArray(i,o,c)}}throw new n.FormatError("Invalid bf range.")}function x(e,t){for(;;){var r=t.getObj();if(r===a.EOF)break;if((0,a.isCmd)(r,"endcidchar"))return;v(r);var n=g(r);m(r=t.getObj());var i=r;e.mapOne(n,i)}}function S(e,t){for(;;){var r=t.getObj();if(r===a.EOF)break;if((0,a.isCmd)(r,"endcidrange"))return;v(r);var n=g(r);v(r=t.getObj());var i=g(r);m(r=t.getObj());var o=r;e.mapCidRange(n,i,o)}}function A(e,t){for(;;){var r=t.getObj();if(r===a.EOF)break;if((0,a.isCmd)(r,"endcodespacerange"))return;if("string"!=typeof r)break;var i=g(r);if("string"!=typeof(r=t.getObj()))break;var o=g(r);e.addCodespaceRange(r.length,i,o)}throw new n.FormatError("Invalid codespace range.")}function C(e,t){var r=t.getObj();Number.isInteger(r)&&(e.vertical=!!r)}function O(e,t){var r=t.getObj();r instanceof a.Name&&(e.name=r.name)}function F(e,t,r,n){return I.apply(this,arguments)}function I(){return I=T(k().mark((function e(t,r,i,o){var s,u,l;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,(l=r.getObj())!==a.EOF){e.next=4;break}return e.abrupt("break",35);case 4:if(!(l instanceof a.Name)){e.next=9;break}"WMode"===l.name?C(t,r):"CMapName"===l.name&&O(t,r),s=l,e.next=25;break;case 9:if(!(l instanceof a.Cmd)){e.next=25;break}e.t0=l.cmd,e.next="endcmap"===e.t0?13:"usecmap"===e.t0?14:"begincodespacerange"===e.t0?16:"beginbfchar"===e.t0?18:"begincidchar"===e.t0?20:"beginbfrange"===e.t0?22:"begincidrange"===e.t0?24:25;break;case 13:return e.abrupt("break",35);case 14:return s instanceof a.Name&&(u=s.name),e.abrupt("break",25);case 16:return A(t,r),e.abrupt("break",25);case 18:return b(t,r),e.abrupt("break",25);case 20:return x(t,r),e.abrupt("break",25);case 22:return w(t,r),e.abrupt("break",25);case 24:S(t,r);case 25:e.next=33;break;case 27:if(e.prev=27,e.t1=e.catch(0),!(e.t1 instanceof c.MissingDataException)){e.next=31;break}throw e.t1;case 31:return(0,n.warn)("Invalid cMap data: "+e.t1),e.abrupt("continue",33);case 33:e.next=0;break;case 35:return!o&&u&&(o=u),e.abrupt("return",o?E(t,i,o):t);case 37:case"end":return e.stop()}}),e,null,[[0,27]])}))),I.apply(this,arguments)}function E(e,t,r){return R.apply(this,arguments)}function R(){return R=T(k().mark((function e(t,r,n){var a,i;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N(n,r);case 2:if(t.useCMap=e.sent,0===t.numCodespaceRanges){for(a=t.useCMap.codespaceRanges,i=0;i<a.length;i++)t.codespaceRanges[i]=a[i].slice();t.numCodespaceRanges=t.useCMap.numCodespaceRanges}return t.useCMap.forEach((function(e,r){t.contains(e)||t.mapOne(e,t.useCMap.lookup(e))})),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}function N(e,t){return D.apply(this,arguments)}function D(){return D=T(k().mark((function e(t,r){var a,i,c,h,d;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Identity-H"!==t){e.next=2;break}return e.abrupt("return",new p(!1,2));case 2:if("Identity-V"!==t){e.next=4;break}return e.abrupt("return",new p(!0,2));case 4:if(l.includes(t)){e.next=6;break}throw new Error("Unknown CMap name: "+t);case 6:if(r){e.next=8;break}throw new Error("Built-in CMap parameters are not provided.");case 8:return e.next=10,r(t);case 10:if(a=e.sent,i=a.cMapData,c=a.compressionType,h=new f(!0),c!==n.CMapCompressionType.BINARY){e.next=16;break}return e.abrupt("return",(new o.BinaryCMapReader).process(i,h,(function(e){return E(h,r,e)})));case 16:if(c!==n.CMapCompressionType.NONE){e.next=19;break}return d=new s.Lexer(new u.Stream(i)),e.abrupt("return",F(h,d,r,null));case 19:throw new Error('Invalid CMap "compressionType" value: '.concat(c));case 20:case"end":return e.stop()}}),e)}))),D.apply(this,arguments)}t.IdentityCMap=p,t.CMapFactory=function(){function e(){M(this,e)}var t;return P(e,null,[{key:"create",value:(t=T(k().mark((function e(t){var r,n,o,c;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.encoding,n=t.fetchBuiltInCMap,o=t.useCMap,!(r instanceof a.Name)){e.next=3;break}return e.abrupt("return",N(r.name,n));case 3:if(!(r instanceof i.BaseStream)){e.next=8;break}return e.next=6,F(new f,new s.Lexer(r),n,o);case 6:return c=e.sent,e.abrupt("return",c.isIdentityCMap?N(c.name,n):c);case 8:throw new Error("Encoding required.");case 9:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.BinaryCMapReader=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(2);var n=r(144);function a(e,t){for(var r=0,n=0;n<=t;n++)r=r<<8|e[n];return r>>>0}function i(e,t){return 1===t?String.fromCharCode(e[0],e[1]):3===t?String.fromCharCode(e[0],e[1],e[2],e[3]):String.fromCharCode.apply(String,f(e.subarray(0,t+1)))}function o(e,t,r){for(var n=0,a=r;a>=0;a--)n+=e[a]+t[a],e[a]=255&n,n>>=8}function s(e,t){for(var r=1,n=t;n>=0&&r>0;n--)r+=e[n],e[n]=255&r,r>>=8}var c=16,u=function(){function e(t){M(this,e),this.buffer=t,this.pos=0,this.end=t.length,this.tmpBuf=new Uint8Array(19)}return P(e,[{key:"readByte",value:function(){return this.pos>=this.end?-1:this.buffer[this.pos++]}},{key:"readNumber",value:function(){var e,t=0;do{var r=this.readByte();if(r<0)throw new n.FormatError("unexpected EOF in bcmap");e=!(128&r),t=t<<7|127&r}while(!e);return t}},{key:"readSigned",value:function(){var e=this.readNumber();return 1&e?~(e>>>1):e>>>1}},{key:"readHex",value:function(e,t){e.set(this.buffer.subarray(this.pos,this.pos+t+1)),this.pos+=t+1}},{key:"readHexNumber",value:function(e,t){var r,a=this.tmpBuf,i=0;do{var o=this.readByte();if(o<0)throw new n.FormatError("unexpected EOF in bcmap");r=!(128&o),a[i++]=127&o}while(!r);for(var s=t,c=0,u=0;s>=0;){for(;u<8&&a.length>0;)c|=a[--i]<<u,u+=7;e[s]=255&c,s--,c>>=8,u-=8}}},{key:"readHexSigned",value:function(e,t){this.readHexNumber(e,t);for(var r=1&e[t]?255:0,n=0,a=0;a<=t;a++)n=(1&n)<<8|e[a],e[a]=n>>1^r}},{key:"readString",value:function(){for(var e=this.readNumber(),t=new Array(e),r=0;r<e;r++)t[r]=this.readNumber();return String.fromCharCode.apply(String,t)}}]),e}();t.BinaryCMapReader=function(){function e(){M(this,e)}var t;return P(e,[{key:"process",value:(t=T(k().mark((function e(t,r,n){var l,h,f,d,p,g,v,m,y,b,w,x,S,A,C,O,F,I,T,M,E;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=new u(t),h=l.readByte(),r.vertical=!!(1&h),f=null,d=new Uint8Array(c),p=new Uint8Array(c),g=new Uint8Array(c),v=new Uint8Array(c),m=new Uint8Array(c);case 4:if(!((b=l.readByte())>=0)){e.next=60;break}if(7!=(w=b>>5)){e.next=14;break}e.t0=31&b,e.next=0===e.t0?10:1===e.t0?12:13;break;case 10:return l.readString(),e.abrupt("break",13);case 12:f=l.readString();case 13:return e.abrupt("continue",58);case 14:if(x=!!(16&b),!(1+(S=15&b)>c)){e.next=17;break}throw new Error("BinaryCMapReader.process: Invalid dataSize.");case 17:A=1,C=l.readNumber(),e.t1=w,e.next=0===e.t1?21:1===e.t1?27:2===e.t1?33:3===e.t1?38:4===e.t1?45:5===e.t1?50:57;break;case 21:for(l.readHex(d,S),l.readHexNumber(p,S),o(p,d,S),r.addCodespaceRange(S+1,a(d,S),a(p,S)),O=1;O<C;O++)s(p,S),l.readHexNumber(d,S),o(d,p,S),l.readHexNumber(p,S),o(p,d,S),r.addCodespaceRange(S+1,a(d,S),a(p,S));return e.abrupt("break",58);case 27:for(l.readHex(d,S),l.readHexNumber(p,S),o(p,d,S),l.readNumber(),F=1;F<C;F++)s(p,S),l.readHexNumber(d,S),o(d,p,S),l.readHexNumber(p,S),o(p,d,S),l.readNumber();return e.abrupt("break",58);case 33:for(l.readHex(g,S),y=l.readNumber(),r.mapOne(a(g,S),y),I=1;I<C;I++)s(g,S),x||(l.readHexNumber(m,S),o(g,m,S)),y=l.readSigned()+(y+1),r.mapOne(a(g,S),y);return e.abrupt("break",58);case 38:for(l.readHex(d,S),l.readHexNumber(p,S),o(p,d,S),y=l.readNumber(),r.mapCidRange(a(d,S),a(p,S),y),T=1;T<C;T++)s(p,S),x?d.set(p):(l.readHexNumber(d,S),o(d,p,S)),l.readHexNumber(p,S),o(p,d,S),y=l.readNumber(),r.mapCidRange(a(d,S),a(p,S),y);return e.abrupt("break",58);case 45:for(l.readHex(g,A),l.readHex(v,S),r.mapOne(a(g,A),i(v,S)),M=1;M<C;M++)s(g,A),x||(l.readHexNumber(m,A),o(g,m,A)),s(v,S),l.readHexSigned(m,S),o(v,m,S),r.mapOne(a(g,A),i(v,S));return e.abrupt("break",58);case 50:for(l.readHex(d,A),l.readHexNumber(p,A),o(p,d,A),l.readHex(v,S),r.mapBfRange(a(d,A),a(p,A),i(v,S)),E=1;E<C;E++)s(p,A),x?d.set(p):(l.readHexNumber(d,A),o(d,p,A)),l.readHexNumber(p,A),o(p,d,A),l.readHex(v,S),r.mapBfRange(a(d,A),a(p,A),i(v,S));return e.abrupt("break",58);case 57:throw new Error("BinaryCMapReader.process - unknown type: ".concat(w));case 58:e.next=4;break;case 60:return e.abrupt("return",f?n(f):r);case 61:case"end":return e.stop()}}),e)}))),function(e,r,n){return t.apply(this,arguments)})}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=t.Linearization=t.Lexer=void 0,r(139),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(2);var n=r(144),a=r(150),i=r(149),o=r(154),s=r(167),c=r(169),u=r(170),l=r(172),h=r(173),f=r(176),d=r(179),p=r(181),g=r(182),v=r(183),m=function(){function e(t){M(this,e);var r=t.lexer,n=t.xref,a=t.allowStreams,i=void 0!==a&&a,o=t.recoveryMode,s=void 0!==o&&o;this.lexer=r,this.xref=n,this.allowStreams=i,this.recoveryMode=s,this.imageCache=Object.create(null),this._imageId=0,this.refill()}return P(e,[{key:"refill",value:function(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()}},{key:"shift",value:function(){this.buf2 instanceof a.Cmd&&"ID"===this.buf2.cmd?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())}},{key:"tryShift",value:function(){try{return this.shift(),!0}catch(e){if(e instanceof i.MissingDataException)throw e;return!1}}},{key:"getObj",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.buf1;if(this.shift(),t instanceof a.Cmd)switch(t.cmd){case"BI":return this.makeInlineImage(e);case"[":for(var r=[];!(0,a.isCmd)(this.buf1,"]")&&this.buf1!==a.EOF;)r.push(this.getObj(e));if(this.buf1===a.EOF){if(this.recoveryMode)return r;throw new i.ParserEOFException("End of file inside array.")}return this.shift(),r;case"<<":for(var o=new a.Dict(this.xref);!(0,a.isCmd)(this.buf1,">>")&&this.buf1!==a.EOF;)if(this.buf1 instanceof a.Name){var s=this.buf1.name;if(this.shift(),this.buf1===a.EOF)break;o.set(s,this.getObj(e))}else(0,n.info)("Malformed dictionary: key must be a name object"),this.shift();if(this.buf1===a.EOF){if(this.recoveryMode)return o;throw new i.ParserEOFException("End of file inside dictionary.")}return(0,a.isCmd)(this.buf2,"stream")?this.allowStreams?this.makeStream(o,e):o:(this.shift(),o);default:return t}if(Number.isInteger(t)){if(Number.isInteger(this.buf1)&&(0,a.isCmd)(this.buf2,"R")){var c=a.Ref.get(t,this.buf1);return this.shift(),this.shift(),c}return t}return"string"==typeof t&&e?e.decryptString(t):t}},{key:"findDefaultInlineStreamEnd",value:function(e){for(var t,r,s=this.lexer.knownCommands,c=e.pos,u=0;-1!==(t=e.getByte());)if(0===u)u=69===t?1:0;else if(1===u)u=73===t?2:0;else if(32===t||10===t||13===t){r=e.pos;var l=e.peekBytes(15),h=l.length;if(0===h)break;for(var f=0;f<h;f++)if((0!==(t=l[f])||0===l[f+1])&&10!==t&&13!==t&&(t<32||t>127)){u=0;break}if(2!==u)continue;if(!s){(0,n.warn)("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");continue}var d=new w(new o.Stream(l.slice()),s);d._hexStringWarn=function(){};for(var p=0;;){var g=d.getObj();if(g===a.EOF){u=0;break}if(g instanceof a.Cmd){var v=s[g.cmd];if(!v){u=0;break}if(v.variableArgs?p<=v.numArgs:p===v.numArgs)break;p=0}else p++}if(2===u)break}else u=0;-1===t&&((0,n.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),r&&((0,n.warn)('... trying to recover by using the last "EI" occurrence.'),e.skip(-(e.pos-r))));var m=4;return e.skip(-m),t=e.peekByte(),e.skip(m),(0,i.isWhiteSpace)(t)||m--,e.pos-m-c}},{key:"findDCTDecodeInlineStreamEnd",value:function(e){for(var t,r,a=e.pos,i=!1;-1!==(t=e.getByte());)if(255===t){switch(e.getByte()){case 0:break;case 255:e.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:(r=e.getUint16())>2?e.skip(r-2):e.skip(-2)}if(i)break}var o=e.pos-a;return-1===t?((0,n.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),e.skip(-o),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),o)}},{key:"findASCII85DecodeInlineStreamEnd",value:function(e){for(var t,r=e.pos;-1!==(t=e.getByte());)if(126===t){var a=e.pos;for(t=e.peekByte();(0,i.isWhiteSpace)(t);)e.skip(),t=e.peekByte();if(62===t){e.skip();break}if(e.pos>a){var o=e.peekBytes(2);if(69===o[0]&&73===o[1])break}}var s=e.pos-r;return-1===t?((0,n.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-s),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),s)}},{key:"findASCIIHexDecodeInlineStreamEnd",value:function(e){for(var t,r=e.pos;-1!==(t=e.getByte())&&62!==t;);var a=e.pos-r;return-1===t?((0,n.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-a),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),a)}},{key:"inlineStreamSkipEI",value:function(e){for(var t,r=0;-1!==(t=e.getByte());)if(0===r)r=69===t?1:0;else if(1===r)r=73===t?2:0;else if(2===r)break}},{key:"makeInlineImage",value:function(e){for(var t,r=this.lexer,i=r.stream,o=Object.create(null);!(0,a.isCmd)(this.buf1,"ID")&&this.buf1!==a.EOF;){if(!(this.buf1 instanceof a.Name))throw new n.FormatError("Dictionary key must be a name object");var s=this.buf1.name;if(this.shift(),this.buf1===a.EOF)break;o[s]=this.getObj(e)}-1!==r.beginInlineImagePos&&(t=i.pos-r.beginInlineImagePos);var c,u=this.xref.fetchIfRef(o.F||o.Filter);if(u instanceof a.Name)c=u.name;else if(Array.isArray(u)){var l=this.xref.fetchIfRef(u[0]);l instanceof a.Name&&(c=l.name)}var h,f,d=i.pos;switch(c){case"DCT":case"DCTDecode":h=this.findDCTDecodeInlineStreamEnd(i);break;case"A85":case"ASCII85Decode":h=this.findASCII85DecodeInlineStreamEnd(i);break;case"AHx":case"ASCIIHexDecode":h=this.findASCIIHexDecodeInlineStreamEnd(i);break;default:h=this.findDefaultInlineStreamEnd(i)}if(h<1e3&&t>0){var p=i.pos;i.pos=r.beginInlineImagePos,f=function(e){for(var t=[],r=e.length,n=0;n<r-1;)t.push(e[n++]<<8|e[n++]);return n<r&&t.push(e[n]),r+"_"+String.fromCharCode.apply(null,t)}(i.getBytes(t+h)),i.pos=p;var g=this.imageCache[f];if(void 0!==g)return this.buf2=a.Cmd.get("EI"),this.shift(),g.reset(),g}var v=new a.Dict(this.xref);for(var m in o)v.set(m,o[m]);var y=i.makeSubStream(d,h,v);return e&&(y=e.createStream(y,h)),(y=this.filter(y,v,h)).dict=v,void 0!==f&&(y.cacheKey="inline_img_"+ ++this._imageId,this.imageCache[f]=y),this.buf2=a.Cmd.get("EI"),this.shift(),y}},{key:"_findStreamLength",value:function(e,t){var r=this.lexer.stream;r.pos=e;for(var n=t.length;r.pos<r.end;){var a=r.peekBytes(2048),i=a.length-n;if(i<=0)break;for(var o=0;o<i;){for(var s=0;s<n&&a[o+s]===t[s];)s++;if(s>=n)return r.pos+=o,r.pos-e;o++}r.pos+=i}return-1}},{key:"makeStream",value:function(e,t){var r=this.lexer,o=r.stream;r.skipToNextLine();var s=o.pos-1,c=e.get("Length");if(Number.isInteger(c)||((0,n.info)('Bad length "'.concat(c&&c.toString(),'" in stream.')),c=0),o.pos=s+c,r.nextChar(),this.tryShift()&&(0,a.isCmd)(this.buf2,"endstream"))this.shift();else{var u=new Uint8Array([101,110,100,115,116,114,101,97,109]),l=this._findStreamLength(s,u);if(l<0){for(var h=1;h<=1;h++){var f=u.length-h,d=u.slice(0,f),p=this._findStreamLength(s,d);if(p>=0){var g=o.peekBytes(f+1)[f];if(!(0,i.isWhiteSpace)(g))break;(0,n.info)('Found "'.concat((0,n.bytesToString)(d),'" when searching for endstream command.')),l=p;break}}if(l<0)throw new n.FormatError("Missing endstream command.")}c=l,r.nextChar(),this.shift(),this.shift()}return this.shift(),o=o.makeSubStream(s,c,e),t&&(o=t.createStream(o,c)),(o=this.filter(o,e,c)).dict=e,o}},{key:"filter",value:function(e,t,r){var i=t.get("F","Filter"),o=t.get("DP","DecodeParms");if(i instanceof a.Name)return Array.isArray(o)&&(0,n.warn)("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(e,i.name,r,o);var s=r;if(Array.isArray(i))for(var c=i,u=o,l=0,h=c.length;l<h;++l){if(!((i=this.xref.fetchIfRef(c[l]))instanceof a.Name))throw new n.FormatError('Bad filter name "'.concat(i,'"'));o=null,Array.isArray(u)&&l in u&&(o=this.xref.fetchIfRef(u[l])),e=this.makeFilter(e,i.name,s,o),s=null}return e}},{key:"makeFilter",value:function(e,t,r,a){if(0===r)return(0,n.warn)('Empty "'.concat(t,'" stream.')),new o.NullStream;try{switch(t){case"Fl":case"FlateDecode":return a?new g.PredictorStream(new l.FlateStream(e,r),r,a):new l.FlateStream(e,r);case"LZW":case"LZWDecode":var m=1;return a?(a.has("EarlyChange")&&(m=a.get("EarlyChange")),new g.PredictorStream(new p.LZWStream(e,r,m),r,a)):new p.LZWStream(e,r,m);case"DCT":case"DCTDecode":return new f.JpegStream(e,r,a);case"JPX":case"JPXDecode":return new d.JpxStream(e,r,a);case"A85":case"ASCII85Decode":return new s.Ascii85Stream(e,r);case"AHx":case"ASCIIHexDecode":return new c.AsciiHexStream(e,r);case"CCF":case"CCITTFaxDecode":return new u.CCITTFaxStream(e,r,a);case"RL":case"RunLengthDecode":return new v.RunLengthStream(e,r);case"JBIG2Decode":return new h.Jbig2Stream(e,r,a)}return(0,n.warn)('Filter "'.concat(t,'" is not supported.')),e}catch(e){if(e instanceof i.MissingDataException)throw e;return(0,n.warn)('Invalid stream: "'.concat(e,'"')),new o.NullStream}}}]),e}();t.Parser=m;var y=[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 b(e){return e>=48&&e<=57?15&e:e>=65&&e<=70||e>=97&&e<=102?9+(15&e):-1}var w=function(){function e(t){M(this,e);var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.stream=t,this.nextChar(),this.strBuf=[],this.knownCommands=r,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}return P(e,[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"peekChar",value:function(){return this.stream.peekByte()}},{key:"getNumber",value:function(){var e=this.currentChar,t=!1,r=0,a=1;if(45===e?(a=-1,45===(e=this.nextChar())&&(e=this.nextChar())):43===e&&(e=this.nextChar()),10===e||13===e)do{e=this.nextChar()}while(10===e||13===e);if(46===e&&(r=10,e=this.nextChar()),e<48||e>57){var o="Invalid number: ".concat(String.fromCharCode(e)," (charCode ").concat(e,")");if((0,i.isWhiteSpace)(e)||-1===e)return(0,n.info)('Lexer.getNumber - "'.concat(o,'".')),0;throw new n.FormatError(o)}for(var s=e-48,c=0,u=1;(e=this.nextChar())>=0;)if(e>=48&&e<=57){var l=e-48;t?c=10*c+l:(0!==r&&(r*=10),s=10*s+l)}else if(46===e){if(0!==r)break;r=1}else if(45===e)(0,n.warn)("Badly formatted number: minus sign in the middle");else{if(69!==e&&101!==e)break;if(43===(e=this.peekChar())||45===e)u=45===e?-1:1,this.nextChar();else if(e<48||e>57)break;t=!0}return 0!==r&&(s/=r),t&&(s*=Math.pow(10,u*c)),a*s}},{key:"getString",value:function(){var e=1,t=!1,r=this.strBuf;r.length=0;for(var a=this.nextChar();;){var i=!1;switch(0|a){case-1:(0,n.warn)("Unterminated string"),t=!0;break;case 40:++e,r.push("(");break;case 41:0==--e?(this.nextChar(),t=!0):r.push(")");break;case 92:switch(a=this.nextChar()){case-1:(0,n.warn)("Unterminated string"),t=!0;break;case 110:r.push("\n");break;case 114:r.push("\r");break;case 116:r.push("\t");break;case 98:r.push("\b");break;case 102:r.push("\f");break;case 92:case 40:case 41:r.push(String.fromCharCode(a));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var o=15&a;i=!0,(a=this.nextChar())>=48&&a<=55&&(o=(o<<3)+(15&a),(a=this.nextChar())>=48&&a<=55&&(i=!1,o=(o<<3)+(15&a))),r.push(String.fromCharCode(o));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:r.push(String.fromCharCode(a))}break;default:r.push(String.fromCharCode(a))}if(t)break;i||(a=this.nextChar())}return r.join("")}},{key:"getName",value:function(){var e,t,r=this.strBuf;for(r.length=0;(e=this.nextChar())>=0&&!y[e];)if(35===e){if(e=this.nextChar(),y[e]){(0,n.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),r.push("#");break}var i=b(e);if(-1!==i){t=e;var o=b(e=this.nextChar());if(-1===o){if((0,n.warn)("Lexer_getName: Illegal digit (".concat(String.fromCharCode(e),") in hexadecimal number.")),r.push("#",String.fromCharCode(t)),y[e])break;r.push(String.fromCharCode(e));continue}r.push(String.fromCharCode(i<<4|o))}else r.push("#",String.fromCharCode(e))}else r.push(String.fromCharCode(e));return r.length>127&&(0,n.warn)("Name token is longer than allowed by the spec: ".concat(r.length)),a.Name.get(r.join(""))}},{key:"_hexStringWarn",value:function(e){5!=this._hexStringNumWarn++?this._hexStringNumWarn>5||(0,n.warn)("getHexString - ignoring invalid character: ".concat(e)):(0,n.warn)("getHexString - ignoring additional invalid characters.")}},{key:"getHexString",value:function(){var e=this.strBuf;e.length=0;var t,r,a=this.currentChar,i=!0;for(this._hexStringNumWarn=0;;){if(a<0){(0,n.warn)("Unterminated hex string");break}if(62===a){this.nextChar();break}if(1!==y[a]){if(i){if(-1===(t=b(a))){this._hexStringWarn(a),a=this.nextChar();continue}}else{if(-1===(r=b(a))){this._hexStringWarn(a),a=this.nextChar();continue}e.push(String.fromCharCode(t<<4|r))}i=!i,a=this.nextChar()}else a=this.nextChar()}return e.join("")}},{key:"getObj",value:function(){for(var e=!1,t=this.currentChar;;){if(t<0)return a.EOF;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(1!==y[t])break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),a.Cmd.get("[");case 93:return this.nextChar(),a.Cmd.get("]");case 60:return 60===(t=this.nextChar())?(this.nextChar(),a.Cmd.get("<<")):this.getHexString();case 62:return 62===(t=this.nextChar())?(this.nextChar(),a.Cmd.get(">>")):a.Cmd.get(">");case 123:return this.nextChar(),a.Cmd.get("{");case 125:return this.nextChar(),a.Cmd.get("}");case 41:throw this.nextChar(),new n.FormatError("Illegal character: ".concat(t))}var r=String.fromCharCode(t);if(t<32||t>127){var i=this.peekChar();if(i>=32&&i<=127)return this.nextChar(),a.Cmd.get(r)}for(var o=this.knownCommands,s=void 0!==(null==o?void 0:o[r]);(t=this.nextChar())>=0&&!y[t];){var c=r+String.fromCharCode(t);if(s&&void 0===o[c])break;if(128===r.length)throw new n.FormatError("Command token too long: ".concat(r.length));r=c,s=void 0!==(null==o?void 0:o[r])}return"true"===r||"false"!==r&&("null"===r?null:("BI"===r&&(this.beginInlineImagePos=this.stream.pos),a.Cmd.get(r)))}},{key:"skipToNextLine",value:function(){for(var e=this.currentChar;e>=0;){if(13===e){10===(e=this.nextChar())&&this.nextChar();break}if(10===e){this.nextChar();break}e=this.nextChar()}}}]),e}();t.Lexer=w,t.Linearization=function(){function e(){M(this,e)}return P(e,null,[{key:"create",value:function(e){function t(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.get(t);if(Number.isInteger(n)&&(r?n>=0:n>0))return n;throw new Error('The "'.concat(t,'" parameter in the linearization dictionary is invalid.'))}var r,n,i=new m({lexer:new w(e),xref:null}),o=i.getObj(),s=i.getObj(),c=i.getObj(),u=i.getObj();if(!(Number.isInteger(o)&&Number.isInteger(s)&&(0,a.isCmd)(c,"obj")&&u instanceof a.Dict&&"number"==typeof(r=u.get("Linearized"))&&r>0))return null;if((n=t(u,"L"))!==e.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:n,hints:function(e){var t,r=e.get("H");if(Array.isArray(r)&&(2===(t=r.length)||4===t)){for(var n=0;n<t;n++){var a=r[n];if(!(Number.isInteger(a)&&a>0))throw new Error("Hint (".concat(n,") in the linearization dictionary is invalid."))}return r}throw new Error("Hint array in the linearization dictionary is invalid.")}(u),objectNumberFirst:t(u,"O"),endFirst:t(u,"E"),numPages:t(u,"N"),mainXRefEntriesOffset:t(u,"T"),pageFirst:u.has("P")?t(u,"P",!0):0}}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Ascii85Stream=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(168),a=r(149),i=function(e){function t(e,r){var n;return M(this,t),r&&(r*=.8),(n=d(this,t,[r])).str=e,n.dict=e.dict,n.input=new Uint8Array(5),n}return y(t,e),P(t,[{key:"readBlock",value:function(){for(var e=this.str,t=e.getByte();(0,a.isWhiteSpace)(t);)t=e.getByte();if(-1!==t&&126!==t){var r,n,i=this.bufferLength;if(122===t){for(r=this.ensureBuffer(i+4),n=0;n<4;++n)r[i+n]=0;this.bufferLength+=4}else{var o=this.input;for(o[0]=t,n=1;n<5;++n){for(t=e.getByte();(0,a.isWhiteSpace)(t);)t=e.getByte();if(o[n]=t,-1===t||126===t)break}if(r=this.ensureBuffer(i+n-1),this.bufferLength+=n-1,n<5){for(;n<5;++n)o[n]=117;this.eof=!0}var s=0;for(n=0;n<5;++n)s=85*s+(o[n]-33);for(n=3;n>=0;--n)r[i+n]=255&s,s>>=8}}else this.eof=!0}}]),t}(n.DecodeStream);t.Ascii85Stream=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.StreamsSequenceStream=t.DecodeStream=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(139);var n=r(151),a=r(154),i=new Uint8Array(0),o=function(e){function t(e){var r;if(M(this,t),(r=d(this,t))._rawMinBufferLength=e||0,r.pos=0,r.bufferLength=0,r.eof=!1,r.buffer=i,r.minBufferLength=512,e)for(;r.minBufferLength<e;)r.minBufferLength*=2;return r}return y(t,e),P(t,[{key:"isEmpty",get:function(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength}},{key:"ensureBuffer",value:function(e){var t=this.buffer;if(e<=t.byteLength)return t;for(var r=this.minBufferLength;r<e;)r*=2;var n=new Uint8Array(r);return n.set(t),this.buffer=n}},{key:"getByte",value:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]}},{key:"getBytes",value:function(e){var t,r=this.pos;if(e){for(this.ensureBuffer(r+e),t=r+e;!this.eof&&this.bufferLength<t;)this.readBlock();var n=this.bufferLength;t>n&&(t=n)}else{for(;!this.eof;)this.readBlock();t=this.bufferLength}return this.pos=t,this.buffer.subarray(r,t)}},{key:"reset",value:function(){this.pos=0}},{key:"makeSubStream",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(void 0===t)for(;!this.eof;)this.readBlock();else for(var n=e+t;this.bufferLength<=n&&!this.eof;)this.readBlock();return new a.Stream(this.buffer,e,t,r)}},{key:"getBaseStreams",value:function(){return this.str?this.str.getBaseStreams():null}}]),t}(n.BaseStream);t.DecodeStream=o,t.StreamsSequenceStream=function(e){function t(e){var r;M(this,t);var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=0,s=x(e);try{for(s.s();!(n=s.n()).done;){var c=n.value;i+=c instanceof o?c._rawMinBufferLength:c.length}}catch(e){s.e(e)}finally{s.f()}return(r=d(this,t,[i])).streams=e,r._onError=a,r}return y(t,e),P(t,[{key:"readBlock",value:function(){var e=this.streams;if(0!==e.length){var t,r=e.shift();try{t=r.getBytes()}catch(e){var n;if(this._onError)return void this._onError(e,null===(n=r.dict)||void 0===n?void 0:n.objId);throw e}var a=this.bufferLength,i=a+t.length;this.ensureBuffer(i).set(t,a),this.bufferLength=i}else this.eof=!0}},{key:"getBaseStreams",value:function(){var e,t=[],r=x(this.streams);try{for(r.s();!(e=r.n()).done;){var n=e.value.getBaseStreams();n&&t.push.apply(t,f(n))}}catch(e){r.e(e)}finally{r.f()}return t.length>0?t:null}}]),t}(o)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.AsciiHexStream=void 0;var n=function(e){function t(e,r){var n;return M(this,t),r&&(r*=.5),(n=d(this,t,[r])).str=e,n.dict=e.dict,n.firstDigit=-1,n}return y(t,e),P(t,[{key:"readBlock",value:function(){var e=this.str.getBytes(8e3);if(e.length){var t,r=e.length+1>>1,n=this.ensureBuffer(this.bufferLength+r),a=this.bufferLength,i=this.firstDigit,o=x(e);try{for(o.s();!(t=o.n()).done;){var s=t.value,c=void 0;if(s>=48&&s<=57)c=15&s;else{if(!(s>=65&&s<=70||s>=97&&s<=102)){if(62===s){this.eof=!0;break}continue}c=9+(15&s)}i<0?i=c:(n[a++]=i<<4|c,i=-1)}}catch(e){o.e(e)}finally{o.f()}i>=0&&this.eof&&(n[a++]=i<<4,i=-1),this.firstDigit=i,this.bufferLength=a}else this.eof=!0}}]),t}(r(168).DecodeStream);t.AsciiHexStream=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.CCITTFaxStream=void 0;var n=r(171),a=r(168),i=r(150),o=function(e){function t(e,r,a){var o;M(this,t),(o=d(this,t,[r])).str=e,o.dict=e.dict,a instanceof i.Dict||(a=i.Dict.empty);var s={next:function(){return e.getByte()}};return o.ccittFaxDecoder=new n.CCITTFaxDecoder(s,{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")}),o}return y(t,e),P(t,[{key:"readBlock",value:function(){for(;!this.eof;){var e=this.ccittFaxDecoder.readNextChar();if(-1===e)return void(this.eof=!0);this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=e}}}]),t}(a.DecodeStream);t.CCITTFaxStream=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.CCITTFaxDecoder=void 0,r(2),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(144),a=-1,i=[[-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]],o=[[-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]],s=[[-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]],c=[[-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]],u=[[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]],l=[[-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]];t.CCITTFaxDecoder=function(){function e(t){var r;M(this,e);var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t||"function"!=typeof t.next)throw new Error('CCITTFaxDecoder - invalid "source" parameter.');for(this.source=t,this.eof=!1,this.encoding=a.K||0,this.eoline=a.EndOfLine||!1,this.byteAlign=a.EncodedByteAlign||!1,this.columns=a.Columns||1728,this.rows=a.Rows||0,this.eoblock=null===(r=a.EndOfBlock)||void 0===r||r,this.black=a.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===(n=this._lookBits(12));)this._eatBits(1);1===n&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}return P(e,[{key:"readNextChar",value:function(){if(this.eof)return-1;var e,t,r,i,o,s=this.refLine,c=this.codingLine,u=this.columns;if(0===this.outputBits){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;var l,h,f;if(this.err=!1,this.nextLine2D){for(i=0;c[i]<u;++i)s[i]=c[i];for(s[i++]=u,s[i]=u,c[0]=0,this.codingPos=0,e=0,t=0;c[this.codingPos]<u;)switch(l=this._getTwoDimCode()){case 0:this._addPixels(s[e+1],t),s[e+1]<u&&(e+=2);break;case 1:if(l=h=0,t){do{l+=f=this._getBlackCode()}while(f>=64);do{h+=f=this._getWhiteCode()}while(f>=64)}else{do{l+=f=this._getWhiteCode()}while(f>=64);do{h+=f=this._getBlackCode()}while(f>=64)}for(this._addPixels(c[this.codingPos]+l,t),c[this.codingPos]<u&&this._addPixels(c[this.codingPos]+h,1^t);s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 7:if(this._addPixels(s[e]+3,t),t^=1,c[this.codingPos]<u)for(++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 5:if(this._addPixels(s[e]+2,t),t^=1,c[this.codingPos]<u)for(++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 3:if(this._addPixels(s[e]+1,t),t^=1,c[this.codingPos]<u)for(++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 2:if(this._addPixels(s[e],t),t^=1,c[this.codingPos]<u)for(++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 8:if(this._addPixelsNeg(s[e]-3,t),t^=1,c[this.codingPos]<u)for(e>0?--e:++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 6:if(this._addPixelsNeg(s[e]-2,t),t^=1,c[this.codingPos]<u)for(e>0?--e:++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 4:if(this._addPixelsNeg(s[e]-1,t),t^=1,c[this.codingPos]<u)for(e>0?--e:++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case a:this._addPixels(u,0),this.eof=!0;break;default:(0,n.info)("bad 2d code"),this._addPixels(u,0),this.err=!0}}else for(c[0]=0,this.codingPos=0,t=0;c[this.codingPos]<u;){if(l=0,t)do{l+=f=this._getBlackCode()}while(f>=64);else do{l+=f=this._getWhiteCode()}while(f>=64);this._addPixels(c[this.codingPos]+l,t),t^=1}var d=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(l=this._lookBits(12),this.eoline)for(;l!==a&&1!==l;)this._eatBits(1),l=this._lookBits(12);else for(;0===l;)this._eatBits(1),l=this._lookBits(12);1===l?(this._eatBits(12),d=!0):l===a&&(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&&d&&this.byteAlign){if(1===(l=this._lookBits(12))){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(i=0;i<4;++i)1!==(l=this._lookBits(12))&&(0,n.info)("bad rtc code: "+l),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if((l=this._lookBits(13))===a)return this.eof=!0,-1;if(l>>1==1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(1&l))}this.outputBits=c[0]>0?c[this.codingPos=0]:c[this.codingPos=1],this.row++}if(this.outputBits>=8)o=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&c[this.codingPos]<u&&(this.codingPos++,this.outputBits=c[this.codingPos]-c[this.codingPos-1]);else{r=8,o=0;do{if("number"!=typeof this.outputBits)throw new n.FormatError('Invalid /CCITTFaxDecode data, "outputBits" must be a number.');this.outputBits>r?(o<<=r,1&this.codingPos||(o|=255>>8-r),this.outputBits-=r,r=0):(o<<=this.outputBits,1&this.codingPos||(o|=255>>8-this.outputBits),r-=this.outputBits,this.outputBits=0,c[this.codingPos]<u?(this.codingPos++,this.outputBits=c[this.codingPos]-c[this.codingPos-1]):r>0&&(o<<=r,r=0))}while(r)}return this.black&&(o^=255),o}},{key:"_addPixels",value:function(e,t){var r=this.codingLine,a=this.codingPos;e>r[a]&&(e>this.columns&&((0,n.info)("row is wrong length"),this.err=!0,e=this.columns),1&a^t&&++a,r[a]=e),this.codingPos=a}},{key:"_addPixelsNeg",value:function(e,t){var r=this.codingLine,a=this.codingPos;if(e>r[a])e>this.columns&&((0,n.info)("row is wrong length"),this.err=!0,e=this.columns),1&a^t&&++a,r[a]=e;else if(e<r[a]){for(e<0&&((0,n.info)("invalid code"),this.err=!0,e=0);a>0&&e<r[a-1];)--a;r[a]=e}this.codingPos=a}},{key:"_findTableCode",value:function(e,t,r,n){for(var i=n||0,o=e;o<=t;++o){var s=this._lookBits(o);if(s===a)return[!0,1,!1];if(o<t&&(s<<=t-o),!i||s>=i){var c=r[s-i];if(c[0]===o)return this._eatBits(o),[!0,c[1],!0]}}return[!1,0,!1]}},{key:"_getTwoDimCode",value:function(){var e,t=0;if(this.eoblock){var r;if(t=this._lookBits(7),(null===(r=e=i[t])||void 0===r?void 0:r[0])>0)return this._eatBits(e[0]),e[1]}else{var o=this._findTableCode(1,7,i);if(o[0]&&o[2])return o[1]}return(0,n.info)("Bad two dim code"),a}},{key:"_getWhiteCode",value:function(){var e,t=0;if(this.eoblock){if((t=this._lookBits(12))===a)return 1;if((e=t>>5==0?o[t]:s[t>>3])[0]>0)return this._eatBits(e[0]),e[1]}else{var r=this._findTableCode(1,9,s);if(r[0])return r[1];if((r=this._findTableCode(11,12,o))[0])return r[1]}return(0,n.info)("bad white code"),this._eatBits(1),1}},{key:"_getBlackCode",value:function(){var e,t;if(this.eoblock){if((e=this._lookBits(13))===a)return 1;if((t=e>>7==0?c[e]:e>>9==0&&e>>7!=0?u[(e>>1)-64]:l[e>>7])[0]>0)return this._eatBits(t[0]),t[1]}else{var r=this._findTableCode(2,6,l);if(r[0])return r[1];if((r=this._findTableCode(7,12,u,64))[0])return r[1];if((r=this._findTableCode(10,13,c))[0])return r[1]}return(0,n.info)("bad black code"),this._eatBits(1),1}},{key:"_lookBits",value:function(e){for(var t;this.inputBits<e;){if(-1===(t=this.source.next()))return 0===this.inputBits?a:this.inputBuf<<e-this.inputBits&65535>>16-e;this.inputBuf=this.inputBuf<<8|t,this.inputBits+=8}return this.inputBuf>>this.inputBits-e&65535>>16-e}},{key:"_eatBits",value:function(e){(this.inputBits-=e)<0&&(this.inputBits=0)}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.FlateStream=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(168),a=r(144),i=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=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]),s=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]),c=[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],u=[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],l=function(e){function t(e,r){var n;M(this,t),(n=d(this,t,[r])).str=e,n.dict=e.dict;var i=e.getByte(),o=e.getByte();if(-1===i||-1===o)throw new a.FormatError("Invalid header in flate stream: ".concat(i,", ").concat(o));if(8!=(15&i))throw new a.FormatError("Unknown compression method in flate stream: ".concat(i,", ").concat(o));if(((i<<8)+o)%31!=0)throw new a.FormatError("Bad FCHECK in flate stream: ".concat(i,", ").concat(o));if(32&o)throw new a.FormatError("FDICT bit set in flate stream: ".concat(i,", ").concat(o));return n.codeSize=0,n.codeBuf=0,n}return y(t,e),P(t,[{key:"getBits",value:function(e){for(var t,r=this.str,n=this.codeSize,i=this.codeBuf;n<e;){if(-1===(t=r.getByte()))throw new a.FormatError("Bad encoding in flate stream");i|=t<<n,n+=8}return t=i&(1<<e)-1,this.codeBuf=i>>e,this.codeSize=n-=e,t}},{key:"getCode",value:function(e){for(var t,r=this.str,n=e[0],i=e[1],o=this.codeSize,s=this.codeBuf;o<i&&-1!==(t=r.getByte());)s|=t<<o,o+=8;var c=n[s&(1<<i)-1],u=c>>16,l=65535&c;if(u<1||o<u)throw new a.FormatError("Bad encoding in flate stream");return this.codeBuf=s>>u,this.codeSize=o-u,l}},{key:"generateHuffmanTable",value:function(e){var t,r=e.length,n=0;for(t=0;t<r;++t)e[t]>n&&(n=e[t]);for(var a=1<<n,i=new Int32Array(a),o=1,s=0,c=2;o<=n;++o,s<<=1,c<<=1)for(var u=0;u<r;++u)if(e[u]===o){var l=0,h=s;for(t=0;t<o;++t)l=l<<1|1&h,h>>=1;for(t=l;t<a;t+=c)i[t]=o<<16|u;++s}return[i,n]}},{key:"readBlock",value:function(){var e,t,r,n,l=this.str,h=this.getBits(3);if(1&h&&(this.eof=!0),0!=(h>>=1)){if(1===h)r=c,n=u;else{if(2!==h)throw new a.FormatError("Unknown block type in flate stream");var f,d=this.getBits(5)+257,p=this.getBits(5)+1,g=this.getBits(4)+4,v=new Uint8Array(i.length);for(f=0;f<g;++f)v[i[f]]=this.getBits(3);var m=this.generateHuffmanTable(v);t=0,f=0;for(var y,b,w,k=d+p,x=new Uint8Array(k);f<k;){var S=this.getCode(m);if(16===S)y=2,b=3,w=t;else if(17===S)y=3,b=3,w=t=0;else{if(18!==S){x[f++]=t=S;continue}y=7,b=11,w=t=0}for(var A=this.getBits(y)+b;A-- >0;)x[f++]=w}r=this.generateHuffmanTable(x.subarray(0,d)),n=this.generateHuffmanTable(x.subarray(d,k))}for(var C=(e=this.buffer)?e.length:0,O=this.bufferLength;;){var F=this.getCode(r);if(F<256)O+1>=C&&(C=(e=this.ensureBuffer(O+1)).length),e[O++]=F;else{if(256===F)return void(this.bufferLength=O);var I=(F=o[F-=257])>>16;I>0&&(I=this.getBits(I)),t=(65535&F)+I,F=this.getCode(n),(I=(F=s[F])>>16)>0&&(I=this.getBits(I));var T=(65535&F)+I;O+t>=C&&(C=(e=this.ensureBuffer(O+t)).length);for(var M=0;M<t;++M,++O)e[O]=e[O-T]}}}else{var E;if(-1===(E=l.getByte()))throw new a.FormatError("Bad block header in flate stream");var P=E;if(-1===(E=l.getByte()))throw new a.FormatError("Bad block header in flate stream");if(P|=E<<8,-1===(E=l.getByte()))throw new a.FormatError("Bad block header in flate stream");var R=E;if(-1===(E=l.getByte()))throw new a.FormatError("Bad block header in flate stream");if((R|=E<<8)!=(65535&~P)&&(0!==P||0!==R))throw new a.FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var N=this.bufferLength,D=N+P;if(e=this.ensureBuffer(D),this.bufferLength=D,0===P)-1===l.peekByte()&&(this.eof=!0);else{var B=l.getBytes(P);e.set(B,N),B.length<P&&(this.eof=!0)}}}}]),t}(n.DecodeStream);t.FlateStream=l},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Jbig2Stream=void 0,r(139);var n=r(151),a=r(168),i=r(150),o=r(174),s=r(144),c=function(e){function t(e,r,n){var a;return M(this,t),(a=d(this,t,[r])).stream=e,a.dict=e.dict,a.maybeLength=r,a.params=n,a}return y(t,e),P(t,[{key:"bytes",get:function(){return(0,s.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){if(!this.eof){var e=new o.Jbig2Image,t=[];if(this.params instanceof i.Dict){var r=this.params.get("JBIG2Globals");if(r instanceof n.BaseStream){var a=r.getBytes();t.push({data:a,start:0,end:a.length})}}t.push({data:this.bytes,start:0,end:this.bytes.length});for(var s=e.parseChunks(t),c=s.length,u=0;u<c;u++)s[u]^=255;this.buffer=s,this.bufferLength=c,this.eof=!0}}}]),t}(a.DecodeStream);t.Jbig2Stream=c},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Jbig2Image=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(139),r(2);var n=r(144),a=r(149),i=r(175),o=r(171),s=function(e){function t(e){return M(this,t),d(this,t,["JBIG2 error: ".concat(e),"Jbig2Error"])}return y(t,e),P(t)}(n.BaseException),c=function(){function e(){M(this,e)}return P(e,[{key:"getContexts",value:function(e){return e in this?this[e]:this[e]=new Int8Array(65536)}}]),e}(),u=function(){function e(t,r,n){M(this,e),this.data=t,this.start=r,this.end=n}return P(e,[{key:"decoder",get:function(){var e=new i.ArithmeticDecoder(this.data,this.start,this.end);return(0,n.shadow)(this,"decoder",e)}},{key:"contextCache",get:function(){var e=new c;return(0,n.shadow)(this,"contextCache",e)}}]),e}(),l=Math.pow(2,31)-1,h=-Math.pow(2,31);function p(e,t,r){var n=e.getContexts(t),a=1;function i(e){for(var t=0,i=0;i<e;i++){var o=r.readBit(n,a);a=a<256?a<<1|o:511&(a<<1|o)|256,t=t<<1|o}return t>>>0}var o,s=i(1),c=i(1)?i(1)?i(1)?i(1)?i(1)?i(32)+4436:i(12)+340:i(8)+84:i(6)+20:i(4)+4:i(2);return 0===s?o=c:c>0&&(o=-c),o>=h&&o<=l?o:null}function g(e,t,r){for(var n=e.getContexts("IAID"),a=1,i=0;i<r;i++)a=a<<1|t.readBit(n,a);return r<31?a&(1<<r)-1:2147483647&a}var v=["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"],m=[[{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}]],b=[{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}]}],w=[39717,1941,229,405],k=[32,8];function S(e,t,r,n,a,i,o,s){if(e)return H(new U(s.data,s.start,s.end),t,r,!1);if(0===n&&!i&&!a&&4===o.length&&3===o[0].x&&-1===o[0].y&&-3===o[1].x&&-1===o[1].y&&2===o[2].x&&-2===o[2].y&&-2===o[3].x&&-2===o[3].y)return function(e,t,r){var n,a,i,o,s,c,u,l=r.decoder,h=r.contextCache.getContexts("GB"),f=[];for(a=0;a<t;a++)for(s=f[a]=new Uint8Array(e),c=a<1?s:f[a-1],n=(u=a<2?s:f[a-2])[0]<<13|u[1]<<12|u[2]<<11|c[0]<<7|c[1]<<6|c[2]<<5|c[3]<<4,i=0;i<e;i++)s[i]=o=l.readBit(h,n),n=(31735&n)<<1|(i+3<e?u[i+3]<<11:0)|(i+4<e?c[i+4]<<4:0)|o;return f}(t,r,s);var c=!!i,u=m[n].concat(o);u.sort((function(e,t){return e.y-t.y||e.x-t.x}));var l,h,f=u.length,d=new Int8Array(f),p=new Int8Array(f),g=[],v=0,y=0,b=0,k=0;for(h=0;h<f;h++)d[h]=u[h].x,p[h]=u[h].y,y=Math.min(y,u[h].x),b=Math.max(b,u[h].x),k=Math.min(k,u[h].y),h<f-1&&u[h].y===u[h+1].y&&u[h].x===u[h+1].x-1?v|=1<<f-1-h:g.push(h);var x=g.length,S=new Int8Array(x),A=new Int8Array(x),C=new Uint16Array(x);for(l=0;l<x;l++)h=g[l],S[l]=u[h].x,A[l]=u[h].y,C[l]=1<<f-1-h;for(var O,F,I,T,M,E=-y,P=-k,R=t-b,N=w[n],D=new Uint8Array(t),B=[],L=s.decoder,_=s.contextCache.getContexts("GB"),j=0,$=0,X=0;X<r;X++)if(a&&(j^=L.readBit(_,N)))B.push(D);else for(D=new Uint8Array(D),B.push(D),O=0;O<t;O++)if(c&&i[X][O])D[O]=0;else{if(O>=E&&O<R&&X>=P)for($=$<<1&v,h=0;h<x;h++)F=X+A[h],I=O+S[h],(T=B[F][I])&&($|=T=C[h]);else for($=0,M=f-1,h=0;h<f;h++,M--)(I=O+d[h])>=0&&I<t&&(F=X+p[h])>=0&&(T=B[F][I])&&($|=T<<M);var q=L.readBit(_,$);D[O]=q}return B}function A(e,t,r,n,a,i,o,c,u){var l=b[r].coding;0===r&&(l=l.concat([c[0]]));var h,f=l.length,d=new Int32Array(f),p=new Int32Array(f);for(h=0;h<f;h++)d[h]=l[h].x,p[h]=l[h].y;var g=b[r].reference;0===r&&(g=g.concat([c[1]]));var v=g.length,m=new Int32Array(v),y=new Int32Array(v);for(h=0;h<v;h++)m[h]=g[h].x,y[h]=g[h].y;for(var w=n[0].length,x=n.length,S=k[r],A=[],C=u.decoder,O=u.contextCache.getContexts("GR"),F=0,I=0;I<t;I++){if(o&&(F^=C.readBit(O,S)))throw new s("prediction is not supported");var T=new Uint8Array(e);A.push(T);for(var M=0;M<e;M++){var E=void 0,P=void 0,R=0;for(h=0;h<f;h++)E=I+p[h],P=M+d[h],E<0||P<0||P>=e?R<<=1:R=R<<1|A[E][P];for(h=0;h<v;h++)E=I+y[h]-i,P=M+m[h]-a,E<0||E>=x||P<0||P>=w?R<<=1:R=R<<1|n[E][P];var N=C.readBit(O,R);T[M]=N}}return A}function C(e,t,r,n,a,i,o,c,u,l,h,f,d,v,m,y,b,w,k){if(e&&t)throw new s("refinement with Huffman is not supported");var x,S,C=[];for(x=0;x<n;x++){if(S=new Uint8Array(r),a)for(var O=0;O<r;O++)S[O]=a;C.push(S)}var F=b.decoder,I=b.contextCache,T=e?-v.tableDeltaT.decode(k):-p(I,"IADT",F),M=0;for(x=0;x<i;){T+=e?v.tableDeltaT.decode(k):p(I,"IADT",F);for(var E=M+=e?v.tableFirstS.decode(k):p(I,"IAFS",F);;){var P=0;o>1&&(P=e?k.readBits(w):p(I,"IAIT",F));var R=o*T+P,N=e?v.symbolIDTable.decode(k):g(I,F,u),D=t&&(e?k.readBit():p(I,"IARI",F)),B=c[N],L=B[0].length,_=B.length;if(D){var j=p(I,"IARDW",F),U=p(I,"IARDH",F);B=A(L+=j,_+=U,m,B,(j>>1)+p(I,"IARDX",F),(U>>1)+p(I,"IARDY",F),!1,y,b)}var $=R-(1&f?0:_-1),X=E-(2&f?L-1:0),H=void 0,q=void 0,z=void 0;if(l){for(H=0;H<_;H++)if(S=C[X+H]){z=B[H];var G=Math.min(r-$,L);switch(d){case 0:for(q=0;q<G;q++)S[$+q]|=z[q];break;case 2:for(q=0;q<G;q++)S[$+q]^=z[q];break;default:throw new s("operator ".concat(d," is not supported"))}}E+=_-1}else{for(q=0;q<_;q++)if(S=C[$+q])switch(z=B[q],d){case 0:for(H=0;H<L;H++)S[X+H]|=z[H];break;case 2:for(H=0;H<L;H++)S[X+H]^=z[H];break;default:throw new s("operator ".concat(d," is not supported"))}E+=L-1}x++;var W=e?v.tableDeltaS.decode(k):p(I,"IADS",F);if(null===W)break;E+=W+h}}return C}function O(e,t){var r={};r.number=(0,a.readUint32)(e,t);var n=e[t+4],i=63&n;if(!v[i])throw new s("invalid segment type: "+i);r.type=i,r.typeName=v[i],r.deferredNonRetain=!!(128&n);var o=!!(64&n),c=e[t+5],u=c>>5&7,l=[31&c],h=t+6;if(7===c){u=536870911&(0,a.readUint32)(e,h-1),h+=3;var f=u+7>>3;for(l[0]=e[h++];--f>0;)l.push(e[h++])}else if(5===c||6===c)throw new s("invalid referred-to flags");r.retainBits=l;var d=4;r.number<=256?d=1:r.number<=65536&&(d=2);var p,g,m=[];for(p=0;p<u;p++){var y;y=1===d?e[h]:2===d?(0,a.readUint16)(e,h):(0,a.readUint32)(e,h),m.push(y),h+=d}if(r.referredTo=m,o?(r.pageAssociation=(0,a.readUint32)(e,h),h+=4):r.pageAssociation=e[h++],r.length=(0,a.readUint32)(e,h),h+=4,4294967295===r.length){if(38!==i)throw new s("invalid unknown segment length");var b=I(e,h),w=!!(1&e[h+T]),k=new Uint8Array(6);for(w||(k[0]=255,k[1]=172),k[2]=b.height>>>24&255,k[3]=b.height>>16&255,k[4]=b.height>>8&255,k[5]=255&b.height,p=h,g=e.length;p<g;p++){for(var x=0;x<6&&k[x]===e[p+x];)x++;if(6===x){r.length=p+6;break}}if(4294967295===r.length)throw new s("segment end was not found")}return r.headerEnd=h,r}function F(e,t,r,n){for(var a=[],i=r;i<n;){var o=O(t,i);i=o.headerEnd;var s={header:o,data:t};if(e.randomAccess||(s.start=i,i+=o.length,s.end=i),a.push(s),51===o.type)break}if(e.randomAccess)for(var c=0,u=a.length;c<u;c++)a[c].start=i,i+=a[c].header.length,a[c].end=i;return a}function I(e,t){return{width:(0,a.readUint32)(e,t),height:(0,a.readUint32)(e,t+4),x:(0,a.readUint32)(e,t+8),y:(0,a.readUint32)(e,t+12),combinationOperator:7&e[t+16]}}var T=17;function E(e,t){var r,n,i,o,c=e.header,u=e.data,l=e.end,h=e.start;switch(c.type){case 0:var f={},d=(0,a.readUint16)(u,h);if(f.huffman=!!(1&d),f.refinement=!!(2&d),f.huffmanDHSelector=d>>2&3,f.huffmanDWSelector=d>>4&3,f.bitmapSizeSelector=d>>6&1,f.aggregationInstancesSelector=d>>7&1,f.bitmapCodingContextUsed=!!(256&d),f.bitmapCodingContextRetained=!!(512&d),f.template=d>>10&3,f.refinementTemplate=d>>12&1,h+=2,!f.huffman){for(o=0===f.template?4:1,n=[],i=0;i<o;i++)n.push({x:(0,a.readInt8)(u,h),y:(0,a.readInt8)(u,h+1)}),h+=2;f.at=n}if(f.refinement&&!f.refinementTemplate){for(n=[],i=0;i<2;i++)n.push({x:(0,a.readInt8)(u,h),y:(0,a.readInt8)(u,h+1)}),h+=2;f.refinementAt=n}f.numberOfExportedSymbols=(0,a.readUint32)(u,h),h+=4,f.numberOfNewSymbols=(0,a.readUint32)(u,h),h+=4,r=[f,c.number,c.referredTo,u,h,l];break;case 6:case 7:var p={};p.info=I(u,h),h+=T;var g=(0,a.readUint16)(u,h);if(h+=2,p.huffman=!!(1&g),p.refinement=!!(2&g),p.logStripSize=g>>2&3,p.stripSize=1<<p.logStripSize,p.referenceCorner=g>>4&3,p.transposed=!!(64&g),p.combinationOperator=g>>7&3,p.defaultPixelValue=g>>9&1,p.dsOffset=g<<17>>27,p.refinementTemplate=g>>15&1,p.huffman){var v=(0,a.readUint16)(u,h);h+=2,p.huffmanFS=3&v,p.huffmanDS=v>>2&3,p.huffmanDT=v>>4&3,p.huffmanRefinementDW=v>>6&3,p.huffmanRefinementDH=v>>8&3,p.huffmanRefinementDX=v>>10&3,p.huffmanRefinementDY=v>>12&3,p.huffmanRefinementSizeSelector=!!(16384&v)}if(p.refinement&&!p.refinementTemplate){for(n=[],i=0;i<2;i++)n.push({x:(0,a.readInt8)(u,h),y:(0,a.readInt8)(u,h+1)}),h+=2;p.refinementAt=n}p.numberOfSymbolInstances=(0,a.readUint32)(u,h),h+=4,r=[p,c.referredTo,u,h,l];break;case 16:var m={},y=u[h++];m.mmr=!!(1&y),m.template=y>>1&3,m.patternWidth=u[h++],m.patternHeight=u[h++],m.maxPatternIndex=(0,a.readUint32)(u,h),h+=4,r=[m,c.number,u,h,l];break;case 22:case 23:var b={};b.info=I(u,h),h+=T;var w=u[h++];b.mmr=!!(1&w),b.template=w>>1&3,b.enableSkip=!!(8&w),b.combinationOperator=w>>4&7,b.defaultPixelValue=w>>7&1,b.gridWidth=(0,a.readUint32)(u,h),h+=4,b.gridHeight=(0,a.readUint32)(u,h),h+=4,b.gridOffsetX=4294967295&(0,a.readUint32)(u,h),h+=4,b.gridOffsetY=4294967295&(0,a.readUint32)(u,h),h+=4,b.gridVectorX=(0,a.readUint16)(u,h),h+=2,b.gridVectorY=(0,a.readUint16)(u,h),h+=2,r=[b,c.referredTo,u,h,l];break;case 38:case 39:var k={};k.info=I(u,h),h+=T;var x=u[h++];if(k.mmr=!!(1&x),k.template=x>>1&3,k.prediction=!!(8&x),!k.mmr){for(o=0===k.template?4:1,n=[],i=0;i<o;i++)n.push({x:(0,a.readInt8)(u,h),y:(0,a.readInt8)(u,h+1)}),h+=2;k.at=n}r=[k,u,h,l];break;case 48:var S={width:(0,a.readUint32)(u,h),height:(0,a.readUint32)(u,h+4),resolutionX:(0,a.readUint32)(u,h+8),resolutionY:(0,a.readUint32)(u,h+12)};4294967295===S.height&&delete S.height;var A=u[h+16];(0,a.readUint16)(u,h+17),S.lossless=!!(1&A),S.refinement=!!(2&A),S.defaultPixelValue=A>>2&1,S.combinationOperator=A>>3&3,S.requiresBuffer=!!(32&A),S.combinationOperatorOverride=!!(64&A),r=[S];break;case 49:case 50:case 51:case 62:break;case 53:r=[c.number,u,h,l];break;default:throw new s("segment type ".concat(c.typeName,"(").concat(c.type,") is not implemented"))}var C="on"+c.typeName;C in t&&t[C].apply(t,r)}function R(e,t){for(var r=0,n=e.length;r<n;r++)E(e[r],t)}var N=function(){function e(){M(this,e)}return P(e,[{key:"onPageInformation",value:function(e){this.currentPageInfo=e;var t=e.width+7>>3,r=new Uint8ClampedArray(t*e.height);e.defaultPixelValue&&r.fill(255),this.buffer=r}},{key:"drawBitmap",value:function(e,t){var r,n,a,i,o=this.currentPageInfo,c=e.width,u=e.height,l=o.width+7>>3,h=o.combinationOperatorOverride?e.combinationOperator:o.combinationOperator,f=this.buffer,d=128>>(7&e.x),p=e.y*l+(e.x>>3);switch(h){case 0:for(r=0;r<u;r++){for(a=d,i=p,n=0;n<c;n++)t[r][n]&&(f[i]|=a),(a>>=1)||(a=128,i++);p+=l}break;case 2:for(r=0;r<u;r++){for(a=d,i=p,n=0;n<c;n++)t[r][n]&&(f[i]^=a),(a>>=1)||(a=128,i++);p+=l}break;default:throw new s("operator ".concat(h," is not supported"))}}},{key:"onImmediateGenericRegion",value:function(e,t,r,n){var a=e.info,i=new u(t,r,n),o=S(e.mmr,a.width,a.height,e.template,e.prediction,null,e.at,i);this.drawBitmap(a,o)}},{key:"onImmediateLosslessGenericRegion",value:function(){this.onImmediateGenericRegion.apply(this,arguments)}},{key:"onSymbolDictionary",value:function(e,t,r,n,i,o){var c,l;e.huffman&&(c=function(e,t,r){var n,a,i,o=0;switch(e.huffmanDHSelector){case 0:case 1:n=j(e.huffmanDHSelector+4);break;case 3:n=$(o,t,r),o++;break;default:throw new s("invalid Huffman DH selector")}switch(e.huffmanDWSelector){case 0:case 1:a=j(e.huffmanDWSelector+2);break;case 3:a=$(o,t,r),o++;break;default:throw new s("invalid Huffman DW selector")}return e.bitmapSizeSelector?(i=$(o,t,r),o++):i=j(1),{tableDeltaHeight:n,tableDeltaWidth:a,tableBitmapSize:i,tableAggregateInstances:e.aggregationInstancesSelector?$(o,t,r):j(1)}}(e,r,this.customTables),l=new U(n,i,o));var h=this.symbols;h||(this.symbols=h={});var d,v=[],m=x(r);try{for(m.s();!(d=m.n()).done;){var y=h[d.value];y&&v.push.apply(v,f(y))}}catch(e){m.e(e)}finally{m.f()}var b=new u(n,i,o);h[t]=function(e,t,r,n,i,o,c,u,l,h,f,d){if(e&&t)throw new s("symbol refinement with Huffman is not supported");var v,m,y=[],b=0,w=(0,a.log2)(r.length+n),k=f.decoder,x=f.contextCache;for(e&&(v=j(1),m=[],w=Math.max(w,1));y.length<n;){b+=e?o.tableDeltaHeight.decode(d):p(x,"IADH",k);for(var O=0,F=0,I=e?m.length:0;;){var T=e?o.tableDeltaWidth.decode(d):p(x,"IADW",k);if(null===T)break;F+=O+=T;var M=void 0;if(t){var E=p(x,"IAAI",k);if(E>1)M=C(e,t,O,b,0,E,1,r.concat(y),w,0,0,1,0,o,l,h,f,0,d);else{var P=g(x,k,w),R=p(x,"IARDX",k),N=p(x,"IARDY",k);M=A(O,b,l,P<r.length?r[P]:y[P-r.length],R,N,!1,h,f)}y.push(M)}else e?m.push(O):(M=S(!1,O,b,c,!1,null,u,f),y.push(M))}if(e&&!t){var D=o.tableBitmapSize.decode(d);d.byteAlign();var B=void 0;if(0===D)B=X(d,F,b);else{var L=d.end,_=d.position+D;d.end=_,B=H(d,F,b,!1),d.end=L,d.position=_}var U=m.length;if(I===U-1)y.push(B);else{var $=void 0,q=void 0,z=void 0,G=void 0,W=0;for($=I;$<U;$++){for(z=W+m[$],G=[],q=0;q<b;q++)G.push(B[q].subarray(W,z));y.push(G),W=z}}}}for(var V,K,Y=[],J=[],Z=!1,Q=r.length+n;J.length<Q;){for(var ee=e?v.decode(d):p(x,"IAEX",k);ee--;)J.push(Z);Z=!Z}for(V=0,K=r.length;V<K;V++)J[V]&&Y.push(r[V]);for(var te=0;te<n;V++,te++)J[V]&&Y.push(y[te]);return Y}(e.huffman,e.refinement,v,e.numberOfNewSymbols,e.numberOfExportedSymbols,c,e.template,e.at,e.refinementTemplate,e.refinementAt,b,l)}},{key:"onImmediateTextRegion",value:function(e,t,r,n,i){var o,c,l,h=e.info,d=this.symbols,p=[],g=x(t);try{for(g.s();!(l=g.n()).done;){var v=d[l.value];v&&p.push.apply(p,f(v))}}catch(e){g.e(e)}finally{g.f()}var m=(0,a.log2)(p.length);e.huffman&&(c=new U(r,n,i),o=function(e,t,r,n,a){for(var i=[],o=0;o<=34;o++){var c=a.readBits(4);i.push(new D([o,c,0,0]))}var u=new L(i,!1);i.length=0;for(var l=0;l<n;){var h=u.decode(a);if(h>=32){var f=void 0,d=void 0,p=void 0;switch(h){case 32:if(0===l)throw new s("no previous value in symbol ID table");d=a.readBits(2)+3,f=i[l-1].prefixLength;break;case 33:d=a.readBits(3)+3,f=0;break;case 34:d=a.readBits(7)+11,f=0;break;default:throw new s("invalid code length in symbol ID table")}for(p=0;p<d;p++)i.push(new D([l,f,0,0])),l++}else i.push(new D([l,h,0,0])),l++}a.byteAlign();var g,v,m,y=new L(i,!1),b=0;switch(e.huffmanFS){case 0:case 1:g=j(e.huffmanFS+6);break;case 3:g=$(b,t,r),b++;break;default:throw new s("invalid Huffman FS selector")}switch(e.huffmanDS){case 0:case 1:case 2:v=j(e.huffmanDS+8);break;case 3:v=$(b,t,r),b++;break;default:throw new s("invalid Huffman DS selector")}switch(e.huffmanDT){case 0:case 1:case 2:m=j(e.huffmanDT+11);break;case 3:m=$(b,t,r),b++;break;default:throw new s("invalid Huffman DT selector")}if(e.refinement)throw new s("refinement with Huffman is not supported");return{symbolIDTable:y,tableFirstS:g,tableDeltaS:v,tableDeltaT:m}}(e,t,this.customTables,p.length,c));var y=new u(r,n,i),b=C(e.huffman,e.refinement,h.width,h.height,e.defaultPixelValue,e.numberOfSymbolInstances,e.stripSize,p,m,e.transposed,e.dsOffset,e.referenceCorner,e.combinationOperator,o,e.refinementTemplate,e.refinementAt,y,e.logStripSize,c);this.drawBitmap(h,b)}},{key:"onImmediateLosslessTextRegion",value:function(){this.onImmediateTextRegion.apply(this,arguments)}},{key:"onPatternDictionary",value:function(e,t,r,n,a){var i=this.patterns;i||(this.patterns=i={});var o=new u(r,n,a);i[t]=function(e,t,r,n,a,i){var o=[];e||(o.push({x:-t,y:0}),0===a&&o.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));for(var s=S(e,(n+1)*t,r,a,!1,null,o,i),c=[],u=0;u<=n;u++){for(var l=[],h=t*u,f=h+t,d=0;d<r;d++)l.push(s[d].subarray(h,f));c.push(l)}return c}(e.mmr,e.patternWidth,e.patternHeight,e.maxPatternIndex,e.template,o)}},{key:"onImmediateHalftoneRegion",value:function(e,t,r,n,i){var o=this.patterns[t[0]],c=e.info,l=new u(r,n,i),h=function(e,t,r,n,i,o,c,u,l,h,f,d,p,g,v){if(c)throw new s("skip is not supported");if(0!==u)throw new s('operator "'.concat(u,'" is not supported in halftone region'));var m,y,b,w=[];for(m=0;m<i;m++){if(b=new Uint8Array(n),o)for(y=0;y<n;y++)b[y]=o;w.push(b)}var k=t.length,x=t[0],A=x[0].length,C=x.length,O=(0,a.log2)(k),F=[];e||(F.push({x:r<=1?3:2,y:-1}),0===r&&F.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));var I,T,M,E,P,R,N,D,B,L,_,j=[];for(e&&(I=new U(v.data,v.start,v.end)),m=O-1;m>=0;m--)T=e?H(I,l,h,!0):S(!1,l,h,r,!1,null,F,v),j[m]=T;for(M=0;M<h;M++)for(E=0;E<l;E++){for(P=0,R=0,y=O-1;y>=0;y--)R|=(P^=j[y][M][E])<<y;if(N=t[R],B=d+M*p-E*g>>8,(D=f+M*g+E*p>>8)>=0&&D+A<=n&&B>=0&&B+C<=i)for(m=0;m<C;m++)for(_=w[B+m],L=N[m],y=0;y<A;y++)_[D+y]|=L[y];else{var $=void 0,X=void 0;for(m=0;m<C;m++)if(!((X=B+m)<0||X>=i))for(_=w[X],L=N[m],y=0;y<A;y++)($=D+y)>=0&&$<n&&(_[$]|=L[y])}}return w}(e.mmr,o,e.template,c.width,c.height,e.defaultPixelValue,e.enableSkip,e.combinationOperator,e.gridWidth,e.gridHeight,e.gridOffsetX,e.gridOffsetY,e.gridVectorX,e.gridVectorY,l);this.drawBitmap(c,h)}},{key:"onImmediateLosslessHalftoneRegion",value:function(){this.onImmediateHalftoneRegion.apply(this,arguments)}},{key:"onTables",value:function(e,t,r,n){var i=this.customTables;i||(this.customTables=i={}),i[e]=function(e,t,r){var n,i,o=e[t],s=4294967295&(0,a.readUint32)(e,t+1),c=4294967295&(0,a.readUint32)(e,t+5),u=new U(e,t+9,r),l=1+(o>>1&7),h=1+(o>>4&7),f=[],d=s;do{n=u.readBits(l),i=u.readBits(h),f.push(new D([d,n,i,0])),d+=1<<i}while(d<c);return n=u.readBits(l),f.push(new D([s-1,n,32,0,"lower"])),n=u.readBits(l),f.push(new D([c,n,32,0])),1&o&&(n=u.readBits(l),f.push(new D([n,0]))),new L(f,!1)}(t,r,n)}}]),e}(),D=P((function e(t){M(this,e),2===t.length?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=t[0],this.rangeLength=0,this.prefixCode=t[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=t[0],this.prefixLength=t[1],this.rangeLength=t[2],this.prefixCode=t[3],this.isLowerRange="lower"===t[4])})),B=function(){function e(t){M(this,e),this.children=[],t?(this.isLeaf=!0,this.rangeLength=t.rangeLength,this.rangeLow=t.rangeLow,this.isLowerRange=t.isLowerRange,this.isOOB=t.isOOB):this.isLeaf=!1}return P(e,[{key:"buildTree",value:function(t,r){var n=t.prefixCode>>r&1;if(r<=0)this.children[n]=new e(t);else{var a=this.children[n];a||(this.children[n]=a=new e(null)),a.buildTree(t,r-1)}}},{key:"decodeNode",value:function(e){if(this.isLeaf){if(this.isOOB)return null;var t=e.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-t:t)}var r=this.children[e.readBit()];if(!r)throw new s("invalid Huffman data");return r.decodeNode(e)}}]),e}(),L=function(){function e(t,r){M(this,e),r||this.assignPrefixCodes(t),this.rootNode=new B(null);for(var n=0,a=t.length;n<a;n++){var i=t[n];i.prefixLength>0&&this.rootNode.buildTree(i,i.prefixLength-1)}}return P(e,[{key:"decode",value:function(e){return this.rootNode.decodeNode(e)}},{key:"assignPrefixCodes",value:function(e){for(var t=e.length,r=0,n=0;n<t;n++)r=Math.max(r,e[n].prefixLength);for(var a=new Uint32Array(r+1),i=0;i<t;i++)a[e[i].prefixLength]++;var o,s,c,u=1,l=0;for(a[0]=0;u<=r;){for(o=l=l+a[u-1]<<1,s=0;s<t;)(c=e[s]).prefixLength===u&&(c.prefixCode=o,o++),s++;u++}}}]),e}(),_={};function j(e){var t,r=_[e];if(r)return r;switch(e){case 1:t=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:t=[[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:t=[[-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:t=[[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:t=[[-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:t=[[-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:t=[[-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:t=[[-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:t=[[-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:t=[[-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:t=[[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:t=[[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:t=[[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:t=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:t=[[-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 s("standard table B.".concat(e," does not exist"))}for(var n=0,a=t.length;n<a;n++)t[n]=new D(t[n]);return r=new L(t,!0),_[e]=r,r}var U=function(){function e(t,r,n){M(this,e),this.data=t,this.start=r,this.end=n,this.position=r,this.shift=-1,this.currentByte=0}return P(e,[{key:"readBit",value:function(){if(this.shift<0){if(this.position>=this.end)throw new s("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}var e=this.currentByte>>this.shift&1;return this.shift--,e}},{key:"readBits",value:function(e){var t,r=0;for(t=e-1;t>=0;t--)r|=this.readBit()<<t;return r}},{key:"byteAlign",value:function(){this.shift=-1}},{key:"next",value:function(){return this.position>=this.end?-1:this.data[this.position++]}}]),e}();function $(e,t,r){for(var n=0,a=0,i=t.length;a<i;a++){var o=r[t[a]];if(o){if(e===n)return o;n++}}throw new s("can't find custom Huffman table")}function X(e,t,r){for(var n=[],a=0;a<r;a++){var i=new Uint8Array(t);n.push(i);for(var o=0;o<t;o++)i[o]=e.readBit();e.byteAlign()}return n}function H(e,t,r,n){for(var a,i={K:-1,Columns:t,Rows:r,BlackIs1:!0,EndOfBlock:n},s=new o.CCITTFaxDecoder(e,i),c=[],u=!1,l=0;l<r;l++){var h=new Uint8Array(t);c.push(h);for(var f=-1,d=0;d<t;d++)f<0&&(-1===(a=s.readNextChar())&&(a=0,u=!0),f=7),h[d]=a>>f&1,f--}if(n&&!u)for(var p=0;p<5&&-1!==s.readNextChar();p++);return c}t.Jbig2Image=function(){function e(){M(this,e)}return P(e,[{key:"parseChunks",value:function(e){return function(e){for(var t=new N,r=0,n=e.length;r<n;r++){var a=e[r];R(F({},a.data,a.start,a.end),t)}return t.buffer}(e)}},{key:"parse",value:function(e){throw new Error("Not implemented: Jbig2Image.parse")}}]),e}()},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArithmeticDecoder=void 0;var r=[{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}];t.ArithmeticDecoder=function(){function e(t,r,n){M(this,e),this.data=t,this.bp=r,this.dataEnd=n,this.chigh=t[r],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}return P(e,[{key:"byteIn",value:function(){var e=this.data,t=this.bp;255===e[t]?e[t+1]>143?(this.clow+=65280,this.ct=8):(t++,this.clow+=e[t]<<9,this.ct=7,this.bp=t):(t++,this.clow+=t<this.dataEnd?e[t]<<8:65280,this.ct=8,this.bp=t),this.clow>65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}},{key:"readBit",value:function(e,t){var n,a=e[t]>>1,i=1&e[t],o=r[a],s=o.qe,c=this.a-s;if(this.chigh<s)c<s?(c=s,n=i,a=o.nmps):(c=s,n=1^i,1===o.switchFlag&&(i=n),a=o.nlps);else{if(this.chigh-=s,0!=(32768&c))return this.a=c,i;c<s?(n=1^i,1===o.switchFlag&&(i=n),a=o.nlps):(n=i,a=o.nmps)}do{0===this.ct&&this.byteIn(),c<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--}while(0==(32768&c));return this.a=c,e[t]=a<<1|i,n}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.JpegStream=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(168),a=r(150),i=r(177),o=r(144),s=function(e){function t(e,r,n){var a,i;for(M(this,t);-1!==(i=e.getByte());)if(255===i){e.skip(-1);break}return(a=d(this,t,[r])).stream=e,a.dict=e.dict,a.maybeLength=r,a.params=n,a}return y(t,e),P(t,[{key:"bytes",get:function(){return(0,o.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){if(!this.eof){var e={decodeTransform:void 0,colorTransform:void 0},t=this.dict.getArray("D","Decode");if((this.forceRGBA||this.forceRGB)&&Array.isArray(t)){for(var r=this.dict.get("BPC","BitsPerComponent")||8,n=t.length,o=new Int32Array(n),s=!1,c=(1<<r)-1,u=0;u<n;u+=2)o[u]=256*(t[u+1]-t[u])|0,o[u+1]=t[u]*c|0,256===o[u]&&0===o[u+1]||(s=!0);s&&(e.decodeTransform=o)}if(this.params instanceof a.Dict){var l=this.params.get("ColorTransform");Number.isInteger(l)&&(e.colorTransform=l)}var h=new i.JpegImage(e);h.parse(this.bytes);var f=h.getData({width:this.drawWidth,height:this.drawHeight,forceRGBA:this.forceRGBA,forceRGB:this.forceRGB,isSourcePDF:!0});this.buffer=f,this.bufferLength=f.length,this.eof=!0}}}]),t}(n.DecodeStream);t.JpegStream=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.JpegImage=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(139);var n=r(144),a=r(178),i=r(149),o=function(e){function t(e){return M(this,t),d(this,t,["JPEG error: ".concat(e),"JpegError"])}return y(t,e),P(t)}(n.BaseException),s=function(e){function t(e,r){var n;return M(this,t),(n=d(this,t,[e,"DNLMarkerError"])).scanLines=r,n}return y(t,e),P(t)}(n.BaseException),c=function(e){function t(e){return M(this,t),d(this,t,[e,"EOIMarkerError"])}return y(t,e),P(t)}(n.BaseException),u=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),l=4017,h=799,f=3406,p=2276,g=1567,v=3784,m=5793,b=2896;function w(e,t){for(var r,n,a=0,i=16;i>0&&!e[i-1];)i--;var o,s=[{children:[],index:0}],c=s[0];for(r=0;r<i;r++){for(n=0;n<e[r];n++){for((c=s.pop()).children[c.index]=t[a];c.index>0;)c=s.pop();for(c.index++,s.push(c);s.length<=r;)s.push(o={children:[],index:0}),c.children[c.index]=o.children,c=o;a++}r+1<i&&(s.push(o={children:[],index:0}),c.children[c.index]=o.children,c=o)}return s[0].children}function k(e,t,r){return 64*((e.blocksPerLine+1)*t+r)}function S(e,t,r,a,l,h,f,d,p){var g=arguments.length>9&&void 0!==arguments[9]&&arguments[9],v=r.mcusPerLine,m=r.progressive,y=t,b=0,w=0;function x(){if(w>0)return w--,b>>w&1;if(255===(b=e[t++])){var n=e[t++];if(n){if(220===n&&g){t+=2;var a=(0,i.readUint16)(e,t);if(t+=2,a>0&&a!==r.scanLines)throw new s("Found DNL marker (0xFFDC) while parsing scan data",a)}else if(217===n){if(g){var u=M*(8===r.precision?8:0);if(u>0&&Math.round(r.scanLines/u)>=5)throw new s("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",u)}throw new c("Found EOI marker (0xFFD9) while parsing scan data")}throw new o("unexpected marker ".concat((b<<8|n).toString(16)))}}return w=7,b>>>7}function S(e){for(var t=e;;){switch(N(t=t[x()])){case"number":return t;case"object":continue}throw new o("invalid huffman sequence")}}function A(e){for(var t=0;e>0;)t=t<<1|x(),e--;return t}function C(e){if(1===e)return 1===x()?1:-1;var t=A(e);return t>=1<<e-1?t:t+(-1<<e)+1}var F,I=0,T=0,M=0;function E(e,t,r,n,a){var i=r%v;M=(r/v|0)*e.v+n;var o=i*e.h+a;t(e,k(e,M,o))}function P(e,t,r){M=r/e.blocksPerLine|0;var n=r%e.blocksPerLine;t(e,k(e,M,n))}var R,D,B,L,_,j,U=a.length;j=m?0===h?0===d?function(e,t){var r=S(e.huffmanTableDC),n=0===r?0:C(r)<<p;e.blockData[t]=e.pred+=n}:function(e,t){e.blockData[t]|=x()<<p}:0===d?function(e,t){if(I>0)I--;else for(var r=h,n=f;r<=n;){var a=S(e.huffmanTableAC),i=15&a,o=a>>4;if(0!==i){var s=u[r+=o];e.blockData[t+s]=C(i)*(1<<p),r++}else{if(o<15){I=A(o)+(1<<o)-1;break}r+=16}}}:function(e,t){for(var r,n,a=h,i=f,s=0;a<=i;){var c=t+u[a],l=e.blockData[c]<0?-1:1;switch(T){case 0:if(s=(n=S(e.huffmanTableAC))>>4,0==(r=15&n))s<15?(I=A(s)+(1<<s),T=4):(s=16,T=1);else{if(1!==r)throw new o("invalid ACn encoding");F=C(r),T=s?2:3}continue;case 1:case 2:e.blockData[c]?e.blockData[c]+=l*(x()<<p):0==--s&&(T=2===T?3:0);break;case 3:e.blockData[c]?e.blockData[c]+=l*(x()<<p):(e.blockData[c]=F<<p,T=0);break;case 4:e.blockData[c]&&(e.blockData[c]+=l*(x()<<p))}a++}4===T&&0==--I&&(T=0)}:function(e,t){var r=S(e.huffmanTableDC),n=0===r?0:C(r);e.blockData[t]=e.pred+=n;for(var a=1;a<64;){var i=S(e.huffmanTableAC),o=15&i,s=i>>4;if(0!==o){var c=u[a+=s];e.blockData[t+c]=C(o),a++}else{if(s<15)break;a+=16}}};for(var $,X,H,q=0,z=1===U?a[0].blocksPerLine*a[0].blocksPerColumn:v*r.mcusPerColumn;q<=z;){var G=l?Math.min(z-q,l):z;if(G>0){for(D=0;D<U;D++)a[D].pred=0;if(I=0,1===U)for(R=a[0],_=0;_<G;_++)P(R,j,q),q++;else for(_=0;_<G;_++){for(D=0;D<U;D++)for(X=(R=a[D]).h,H=R.v,B=0;B<H;B++)for(L=0;L<X;L++)E(R,j,q,B,L);q++}}if(w=0,!($=O(e,t)))break;if($.invalid){var W=G>0?"unexpected":"excessive";(0,n.warn)("decodeScan - ".concat(W," MCU data, current marker is: ").concat($.invalid)),t=$.offset}if(!($.marker>=65488&&$.marker<=65495))break;t+=2}return t-y}function A(e,t,r){var n,a,i,s,c,u,d,y,w,k,x,S,A,C,O,F,I,T=e.quantizationTable,M=e.blockData;if(!T)throw new o("missing required Quantization Table.");for(var E=0;E<64;E+=8)w=M[t+E],k=M[t+E+1],x=M[t+E+2],S=M[t+E+3],A=M[t+E+4],C=M[t+E+5],O=M[t+E+6],F=M[t+E+7],w*=T[E],0!=(k|x|S|A|C|O|F)?(k*=T[E+1],x*=T[E+2],S*=T[E+3],A*=T[E+4],C*=T[E+5],O*=T[E+6],F*=T[E+7],a=(n=(n=m*w+128>>8)+(a=m*A+128>>8)+1>>1)-a,I=(i=x)*v+(s=O)*g+128>>8,i=i*g-s*v+128>>8,d=(c=(c=b*(k-F)+128>>8)+(d=C<<4)+1>>1)-d,u=(y=(y=b*(k+F)+128>>8)+(u=S<<4)+1>>1)-u,s=(n=n+(s=I)+1>>1)-s,i=(a=a+i+1>>1)-i,I=c*p+y*f+2048>>12,c=c*f-y*p+2048>>12,y=I,I=u*h+d*l+2048>>12,u=u*l-d*h+2048>>12,d=I,r[E]=n+y,r[E+7]=n-y,r[E+1]=a+d,r[E+6]=a-d,r[E+2]=i+u,r[E+5]=i-u,r[E+3]=s+c,r[E+4]=s-c):(I=m*w+512>>10,r[E]=I,r[E+1]=I,r[E+2]=I,r[E+3]=I,r[E+4]=I,r[E+5]=I,r[E+6]=I,r[E+7]=I);for(var P=0;P<8;++P)w=r[P],0!=((k=r[P+8])|(x=r[P+16])|(S=r[P+24])|(A=r[P+32])|(C=r[P+40])|(O=r[P+48])|(F=r[P+56]))?(a=(n=4112+((n=m*w+2048>>12)+(a=m*A+2048>>12)+1>>1))-a,I=(i=x)*v+(s=O)*g+2048>>12,i=i*g-s*v+2048>>12,s=I,d=(c=(c=b*(k-F)+2048>>12)+(d=C)+1>>1)-d,u=(y=(y=b*(k+F)+2048>>12)+(u=S)+1>>1)-u,I=c*p+y*f+2048>>12,c=c*f-y*p+2048>>12,y=I,I=u*h+d*l+2048>>12,u=u*l-d*h+2048>>12,(w=(n=n+s+1>>1)+y)<16?w=0:w>=4080?w=255:w>>=4,(k=(a=a+i+1>>1)+(d=I))<16?k=0:k>=4080?k=255:k>>=4,(x=(i=a-i)+u)<16?x=0:x>=4080?x=255:x>>=4,(S=(s=n-s)+c)<16?S=0:S>=4080?S=255:S>>=4,(A=s-c)<16?A=0:A>=4080?A=255:A>>=4,(C=i-u)<16?C=0:C>=4080?C=255:C>>=4,(O=a-d)<16?O=0:O>=4080?O=255:O>>=4,(F=n-y)<16?F=0:F>=4080?F=255:F>>=4,M[t+P]=w,M[t+P+8]=k,M[t+P+16]=x,M[t+P+24]=S,M[t+P+32]=A,M[t+P+40]=C,M[t+P+48]=O,M[t+P+56]=F):(I=(I=m*w+8192>>14)<-2040?0:I>=2024?255:I+2056>>4,M[t+P]=I,M[t+P+8]=I,M[t+P+16]=I,M[t+P+24]=I,M[t+P+32]=I,M[t+P+40]=I,M[t+P+48]=I,M[t+P+56]=I)}function C(e,t){for(var r=t.blocksPerLine,n=t.blocksPerColumn,a=new Int16Array(64),i=0;i<n;i++)for(var o=0;o<r;o++)A(t,k(t,i,o),a);return t.blockData}function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=e.length-1,a=r<t?r:t;if(t>=n)return null;var o=(0,i.readUint16)(e,t);if(o>=65472&&o<=65534)return{invalid:null,marker:o,offset:t};for(var s=(0,i.readUint16)(e,a);!(s>=65472&&s<=65534);){if(++a>=n)return null;s=(0,i.readUint16)(e,a)}return{invalid:o.toString(16),marker:s,offset:a}}t.JpegImage=function(){function e(){M(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.decodeTransform,n=void 0===r?null:r,a=t.colorTransform,i=void 0===a?-1:a;this._decodeTransform=n,this._colorTransform=i}return P(e,[{key:"parse",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).dnlScanLines,r=void 0===t?null:t;function a(){var t=(0,i.readUint16)(e,d),r=(d+=2)+t-2,a=O(e,r,d);null!=a&&a.invalid&&((0,n.warn)("readDataBlock - incorrect length, current marker is: "+a.invalid),r=a.offset);var o=e.subarray(d,r);return d+=o.length,o}function l(e){var t,r=Math.ceil(e.samplesPerLine/8/e.maxH),n=Math.ceil(e.scanLines/8/e.maxV),a=x(e.components);try{for(a.s();!(t=a.n()).done;){var i=t.value,o=Math.ceil(Math.ceil(e.samplesPerLine/8)*i.h/e.maxH),s=Math.ceil(Math.ceil(e.scanLines/8)*i.v/e.maxV),c=r*i.h,u=n*i.v*64*(c+1);i.blockData=new Int16Array(u),i.blocksPerLine=o,i.blocksPerColumn=s}}catch(e){a.e(e)}finally{a.f()}e.mcusPerLine=r,e.mcusPerColumn=n}var h,f,d=0,p=null,g=null,v=0,m=[],y=[],b=[],k=(0,i.readUint16)(e,d);if(d+=2,65496!==k)throw new o("SOI not found");k=(0,i.readUint16)(e,d),d+=2;e:for(;65497!==k;){var A=void 0,F=void 0,I=void 0;switch(k){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 T=a();65504===k&&74===T[0]&&70===T[1]&&73===T[2]&&70===T[3]&&0===T[4]&&(p={version:{major:T[5],minor:T[6]},densityUnits:T[7],xDensity:T[8]<<8|T[9],yDensity:T[10]<<8|T[11],thumbWidth:T[12],thumbHeight:T[13],thumbData:T.subarray(14,14+3*T[12]*T[13])}),65518===k&&65===T[0]&&100===T[1]&&111===T[2]&&98===T[3]&&101===T[4]&&(g={version:T[5]<<8|T[6],flags0:T[7]<<8|T[8],flags1:T[9]<<8|T[10],transformCode:T[11]});break;case 65499:for(var M=(0,i.readUint16)(e,d)+(d+=2)-2;d<M;){var E=e[d++],P=new Uint16Array(64);if(E>>4==0)for(F=0;F<64;F++)P[u[F]]=e[d++];else{if(E>>4!=1)throw new o("DQT - invalid table spec");for(F=0;F<64;F++)P[u[F]]=(0,i.readUint16)(e,d),d+=2}m[15&E]=P}break;case 65472:case 65473:case 65474:if(h)throw new o("Only single frame JPEGs supported");d+=2,(h={}).extended=65473===k,h.progressive=65474===k,h.precision=e[d++];var R=(0,i.readUint16)(e,d);d+=2,h.scanLines=r||R,h.samplesPerLine=(0,i.readUint16)(e,d),d+=2,h.components=[],h.componentIds={};var N=e[d++],D=0,B=0;for(A=0;A<N;A++){var L=e[d],_=e[d+1]>>4,j=15&e[d+1];D<_&&(D=_),B<j&&(B=j);var U=e[d+2];I=h.components.push({h:_,v:j,quantizationId:U,quantizationTable:null}),h.componentIds[L]=I-1,d+=3}h.maxH=D,h.maxV=B,l(h);break;case 65476:var $=(0,i.readUint16)(e,d);for(d+=2,A=2;A<$;){var X=e[d++],H=new Uint8Array(16),q=0;for(F=0;F<16;F++,d++)q+=H[F]=e[d];var z=new Uint8Array(q);for(F=0;F<q;F++,d++)z[F]=e[d];A+=17+q,(X>>4==0?b:y)[15&X]=w(H,z)}break;case 65501:d+=2,f=(0,i.readUint16)(e,d),d+=2;break;case 65498:var G=1==++v&&!r;d+=2;var W=e[d++],V=[];for(A=0;A<W;A++){var K=e[d++],Y=h.componentIds[K],J=h.components[Y];J.index=K;var Z=e[d++];J.huffmanTableDC=b[Z>>4],J.huffmanTableAC=y[15&Z],V.push(J)}var Q=e[d++],ee=e[d++],te=e[d++];try{var re=S(e,d,h,V,f,Q,ee,te>>4,15&te,G);d+=re}catch(r){if(r instanceof s)return(0,n.warn)("".concat(r.message," -- attempting to re-parse the JPEG image.")),this.parse(e,{dnlScanLines:r.scanLines});if(r instanceof c){(0,n.warn)("".concat(r.message," -- ignoring the rest of the image data."));break e}throw r}break;case 65500:d+=4;break;case 65535:255!==e[d]&&d--;break;default:var ne=O(e,d-2,d-3);if(null!=ne&&ne.invalid){(0,n.warn)("JpegImage.parse - unexpected data, current marker is: "+ne.invalid),d=ne.offset;break}if(!ne||d>=e.length-1){(0,n.warn)("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new o("JpegImage.parse - unknown marker: "+k.toString(16))}k=(0,i.readUint16)(e,d),d+=2}this.width=h.samplesPerLine,this.height=h.scanLines,this.jfif=p,this.adobe=g,this.components=[];var ae,ie=x(h.components);try{for(ie.s();!(ae=ie.n()).done;){var oe=ae.value,se=m[oe.quantizationId];se&&(oe.quantizationTable=se),this.components.push({index:oe.index,output:C(0,oe),scaleX:oe.h/h.maxH,scaleY:oe.v/h.maxV,blocksPerLine:oe.blocksPerLine,blocksPerColumn:oe.blocksPerColumn})}}catch(e){ie.e(e)}finally{ie.f()}this.numComponents=this.components.length}},{key:"_getLinearizedBlockData",value:function(e,t){var r,n,a,i,o,s,c,u,l,h,f,d,p=arguments.length>2&&void 0!==arguments[2]&&arguments[2],g=this.width/e,v=this.height/t,m=0,y=this.components.length,b=e*t*y,w=new Uint8ClampedArray(b),k=new Uint32Array(e),x=4294967288;for(c=0;c<y;c++){if(n=(r=this.components[c]).scaleX*g,a=r.scaleY*v,m=c,f=r.output,i=r.blocksPerLine+1<<3,n!==d){for(o=0;o<e;o++)u=0|o*n,k[o]=(u&x)<<3|7&u;d=n}for(s=0;s<t;s++)for(h=i*((u=0|s*a)&x)|(7&u)<<3,o=0;o<e;o++)w[m]=f[h+k[o]],m+=y}var S=this._decodeTransform;if(p||4!==y||S||(S=new Int32Array([-256,255,-256,255,-256,255,-256,255])),S)for(c=0;c<b;)for(u=0,l=0;u<y;u++,c++,l+=2)w[c]=(w[c]*S[l]>>8)+S[l+1];return w}},{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(e){for(var t,r,n,a=0,i=e.length;a<i;a+=3)t=e[a],r=e[a+1],n=e[a+2],e[a]=t-179.456+1.402*n,e[a+1]=t+135.459-.344*r-.714*n,e[a+2]=t-226.816+1.772*r;return e}},{key:"_convertYccToRgba",value:function(e,t){for(var r=0,n=0,a=e.length;r<a;r+=3,n+=4){var i=e[r],o=e[r+1],s=e[r+2];t[n]=i-179.456+1.402*s,t[n+1]=i+135.459-.344*o-.714*s,t[n+2]=i-226.816+1.772*o,t[n+3]=255}return t}},{key:"_convertYcckToRgb",value:function(e){for(var t,r,n,a,i=0,o=0,s=e.length;o<s;o+=4)t=e[o],r=e[o+1],n=e[o+2],a=e[o+3],e[i++]=r*(-660635669420364e-19*r+.000437130475926232*n-54080610064599e-18*t+.00048449797120281*a-.154362151871126)-122.67195406894+n*(-.000957964378445773*n+.000817076911346625*t-.00477271405408747*a+1.53380253221734)+t*(.000961250184130688*t-.00266257332283933*a+.48357088451265)+a*(-.000336197177618394*a+.484791561490776),e[i++]=107.268039397724+r*(219927104525741e-19*r-.000640992018297945*n+.000659397001245577*t+.000426105652938837*a-.176491792462875)+n*(-.000778269941513683*n+.00130872261408275*t+.000770482631801132*a-.151051492775562)+t*(.00126935368114843*t-.00265090189010898*a+.25802910206845)+a*(-.000318913117588328*a-.213742400323665),e[i++]=r*(-.000570115196973677*r-263409051004589e-19*n+.0020741088115012*t-.00288260236853442*a+.814272968359295)-20.810012546947+n*(-153496057440975e-19*n-.000132689043961446*t+.000560833691242812*a-.195152027534049)+t*(.00174418132927582*t-.00255243321439347*a+.116935020465145)+a*(-.000343531996510555*a+.24165260232407);return e.subarray(0,i)}},{key:"_convertYcckToRgba",value:function(e){for(var t=0,r=e.length;t<r;t+=4){var n=e[t],a=e[t+1],i=e[t+2],o=e[t+3];e[t]=a*(-660635669420364e-19*a+.000437130475926232*i-54080610064599e-18*n+.00048449797120281*o-.154362151871126)-122.67195406894+i*(-.000957964378445773*i+.000817076911346625*n-.00477271405408747*o+1.53380253221734)+n*(.000961250184130688*n-.00266257332283933*o+.48357088451265)+o*(-.000336197177618394*o+.484791561490776),e[t+1]=107.268039397724+a*(219927104525741e-19*a-.000640992018297945*i+.000659397001245577*n+.000426105652938837*o-.176491792462875)+i*(-.000778269941513683*i+.00130872261408275*n+.000770482631801132*o-.151051492775562)+n*(.00126935368114843*n-.00265090189010898*o+.25802910206845)+o*(-.000318913117588328*o-.213742400323665),e[t+2]=a*(-.000570115196973677*a-263409051004589e-19*i+.0020741088115012*n-.00288260236853442*o+.814272968359295)-20.810012546947+i*(-153496057440975e-19*i-.000132689043961446*n+.000560833691242812*o-.195152027534049)+n*(.00174418132927582*n-.00255243321439347*o+.116935020465145)+o*(-.000343531996510555*o+.24165260232407),e[t+3]=255}return e}},{key:"_convertYcckToCmyk",value:function(e){for(var t,r,n,a=0,i=e.length;a<i;a+=4)t=e[a],r=e[a+1],n=e[a+2],e[a]=434.456-t-1.402*n,e[a+1]=119.541-t+.344*r+.714*n,e[a+2]=481.816-t-1.772*r;return e}},{key:"_convertCmykToRgb",value:function(e){for(var t,r,n,a,i=0,o=0,s=e.length;o<s;o+=4)t=e[o],r=e[o+1],n=e[o+2],a=e[o+3],e[i++]=255+t*(-6747147073602441e-20*t+.0008379262121013727*r+.0002894718188643294*n+.003264231057537806*a-1.1185611867203937)+r*(26374107616089405e-21*r-8626949158638572e-20*n-.0002748769067499491*a-.02155688794978967)+n*(-3878099212869363e-20*n-.0003267808279485286*a+.0686742238595345)-a*(.0003361971776183937*a+.7430659151342254),e[i++]=255+t*(.00013596372813588848*t+.000924537132573585*r+.00010567359618683593*n+.0004791864687436512*a-.3109689587515875)+r*(-.00023545346108370344*r+.0002702845253534714*n+.0020200308977307156*a-.7488052167015494)+n*(6834815998235662e-20*n+.00015168452363460973*a-.09751927774728933)-a*(.0003189131175883281*a+.7364883807733168),e[i++]=255+t*(13598650411385307e-21*t+.00012423956175490851*r+.0004751985097583589*n-36729317476630422e-22*a-.05562186980264034)+r*(.00016141380598724676*r+.0009692239130725186*n+.0007782692450036253*a-.44015232367526463)+n*(5.068882914068769e-7*n+.0017778369011375071*a-.7591454649749609)-a*(.0003435319965105553*a+.7063770186160144);return e.subarray(0,i)}},{key:"_convertCmykToRgba",value:function(e){for(var t=0,r=e.length;t<r;t+=4){var n=e[t],a=e[t+1],i=e[t+2],o=e[t+3];e[t]=255+n*(-6747147073602441e-20*n+.0008379262121013727*a+.0002894718188643294*i+.003264231057537806*o-1.1185611867203937)+a*(26374107616089405e-21*a-8626949158638572e-20*i-.0002748769067499491*o-.02155688794978967)+i*(-3878099212869363e-20*i-.0003267808279485286*o+.0686742238595345)-o*(.0003361971776183937*o+.7430659151342254),e[t+1]=255+n*(.00013596372813588848*n+.000924537132573585*a+.00010567359618683593*i+.0004791864687436512*o-.3109689587515875)+a*(-.00023545346108370344*a+.0002702845253534714*i+.0020200308977307156*o-.7488052167015494)+i*(6834815998235662e-20*i+.00015168452363460973*o-.09751927774728933)-o*(.0003189131175883281*o+.7364883807733168),e[t+2]=255+n*(13598650411385307e-21*n+.00012423956175490851*a+.0004751985097583589*i-36729317476630422e-22*o-.05562186980264034)+a*(.00016141380598724676*a+.0009692239130725186*i+.0007782692450036253*o-.44015232367526463)+i*(5.068882914068769e-7*i+.0017778369011375071*o-.7591454649749609)-o*(.0003435319965105553*o+.7063770186160144),e[t+3]=255}return e}},{key:"getData",value:function(e){var t=e.width,r=e.height,n=e.forceRGBA,i=void 0!==n&&n,s=e.forceRGB,c=void 0!==s&&s,u=e.isSourcePDF,l=void 0!==u&&u;if(this.numComponents>4)throw new o("Unsupported color mode");var h=this._getLinearizedBlockData(t,r,l);if(1===this.numComponents&&(i||c)){var f=h.length*(i?4:3),d=new Uint8ClampedArray(f),p=0;if(i)(0,a.grayToRGBA)(h,new Uint32Array(d.buffer));else{var g,v=x(h);try{for(v.s();!(g=v.n()).done;){var m=g.value;d[p++]=m,d[p++]=m,d[p++]=m}}catch(e){v.e(e)}finally{v.f()}}return d}if(3===this.numComponents&&this._isColorConversionNeeded){if(i){var y=new Uint8ClampedArray(h.length/3*4);return this._convertYccToRgba(h,y)}return this._convertYccToRgb(h)}if(4===this.numComponents){if(this._isColorConversionNeeded)return i?this._convertYcckToRgba(h):c?this._convertYcckToRgb(h):this._convertYcckToCmyk(h);if(i)return this._convertCmykToRgba(h);if(c)return this._convertCmykToRgb(h)}return h}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.convertBlackAndWhiteToRGBA=a,t.convertToRGBA=function(e){switch(e.kind){case n.ImageKind.GRAYSCALE_1BPP:return a(e);case n.ImageKind.RGB_24BPP:return function(e){var t=e.src,r=e.srcPos,a=void 0===r?0:r,i=e.dest,o=e.destPos,s=void 0===o?0:o,c=(e.width,e.height,0),u=t.length>>2,l=new Uint32Array(t.buffer,a,u);if(n.FeatureTest.isLittleEndian){for(;c<u-2;c+=3,s+=4){var h=l[c],f=l[c+1],d=l[c+2];i[s]=4278190080|h,i[s+1]=h>>>24|f<<8|4278190080,i[s+2]=f>>>16|d<<16|4278190080,i[s+3]=d>>>8|4278190080}for(var p=4*c,g=t.length;p<g;p+=3)i[s++]=t[p]|t[p+1]<<8|t[p+2]<<16|4278190080}else{for(;c<u-2;c+=3,s+=4){var v=l[c],m=l[c+1],y=l[c+2];i[s]=255|v,i[s+1]=v<<24|m>>>8|255,i[s+2]=m<<16|y>>>16|255,i[s+3]=y<<8|255}for(var b=4*c,w=t.length;b<w;b+=3)i[s++]=t[b]<<24|t[b+1]<<16|t[b+2]<<8|255}return{srcPos:a,destPos:s}}(e)}return null},t.grayToRGBA=function(e,t){if(n.FeatureTest.isLittleEndian)for(var r=0,a=e.length;r<a;r++)t[r]=65793*e[r]|4278190080;else for(var i=0,o=e.length;i<o;i++)t[i]=16843008*e[i]|255},r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(144);function a(e){var t=e.src,r=e.srcPos,a=void 0===r?0:r,i=e.dest,o=e.width,s=e.height,c=e.nonBlackColor,u=void 0===c?4294967295:c,l=e.inverseDecode,h=void 0!==l&&l,f=n.FeatureTest.isLittleEndian?4278190080:255,d=S(h?[u,f]:[f,u],2),p=d[0],g=d[1],v=o>>3,m=7&o,y=t.length;i=new Uint32Array(i.buffer);for(var b=0,w=0;w<s;w++){for(var k=a+v;a<k;a++){var x=a<y?t[a]:255;i[b++]=128&x?g:p,i[b++]=64&x?g:p,i[b++]=32&x?g:p,i[b++]=16&x?g:p,i[b++]=8&x?g:p,i[b++]=4&x?g:p,i[b++]=2&x?g:p,i[b++]=1&x?g:p}if(0!==m)for(var A=a<y?t[a++]:255,C=0;C<m;C++)i[b++]=A&1<<7-C?g:p}return{srcPos:a,destPos:b}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.JpxStream=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(168),a=r(180),i=r(144),o=function(e){function t(e,r,n){var a;return M(this,t),(a=d(this,t,[r])).stream=e,a.dict=e.dict,a.maybeLength=r,a.params=n,a}return y(t,e),P(t,[{key:"bytes",get:function(){return(0,i.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){if(!this.eof){var e=new a.JpxImage;e.parse(this.bytes);var t=e.width,r=e.height,n=e.componentsCount,i=e.tiles.length;if(1===i)this.buffer=e.tiles[0].items;else{for(var o=new Uint8ClampedArray(t*r*n),s=0;s<i;s++)for(var c=e.tiles[s],u=c.width,l=c.height,h=c.left,f=c.top,d=c.items,p=0,g=(t*f+h)*n,v=t*n,m=u*n,y=0;y<l;y++){var b=d.subarray(p,p+m);o.set(b,g),p+=m,g+=v}this.buffer=o}this.bufferLength=this.buffer.length,this.eof=!0}}}]),t}(n.DecodeStream);t.JpxStream=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.JpxImage=void 0,r(139),r(2),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var a=r(144),i=r(149),o=r(175),s=function(e){function t(e){return M(this,t),d(this,t,["JPX error: ".concat(e),"JpxError"])}return y(t,e),P(t)}(a.BaseException),c={LL:0,LH:1,HL:1,HH:2};function u(e,t){e.x0=Math.ceil(t.XOsiz/e.XRsiz),e.x1=Math.ceil(t.Xsiz/e.XRsiz),e.y0=Math.ceil(t.YOsiz/e.YRsiz),e.y1=Math.ceil(t.Ysiz/e.YRsiz),e.width=e.x1-e.x0,e.height=e.y1-e.y0}function l(e,t){for(var r,n=e.SIZ,a=[],i=Math.ceil((n.Xsiz-n.XTOsiz)/n.XTsiz),o=Math.ceil((n.Ysiz-n.YTOsiz)/n.YTsiz),s=0;s<o;s++)for(var c=0;c<i;c++)(r={}).tx0=Math.max(n.XTOsiz+c*n.XTsiz,n.XOsiz),r.ty0=Math.max(n.YTOsiz+s*n.YTsiz,n.YOsiz),r.tx1=Math.min(n.XTOsiz+(c+1)*n.XTsiz,n.Xsiz),r.ty1=Math.min(n.YTOsiz+(s+1)*n.YTsiz,n.Ysiz),r.width=r.tx1-r.tx0,r.height=r.ty1-r.ty0,r.components=[],a.push(r);e.tiles=a;for(var u=0,l=n.Csiz;u<l;u++)for(var h=t[u],f=0,d=a.length;f<d;f++){var p={};r=a[f],p.tcx0=Math.ceil(r.tx0/h.XRsiz),p.tcy0=Math.ceil(r.ty0/h.YRsiz),p.tcx1=Math.ceil(r.tx1/h.XRsiz),p.tcy1=Math.ceil(r.ty1/h.YRsiz),p.width=p.tcx1-p.tcx0,p.height=p.tcy1-p.tcy0,r.components[u]=p}}function h(e,t,r){var n=t.codingStyleParameters,a={};return n.entropyCoderWithCustomPrecincts?(a.PPx=n.precinctsSizes[r].PPx,a.PPy=n.precinctsSizes[r].PPy):(a.PPx=15,a.PPy=15),a.xcb_=r>0?Math.min(n.xcb,a.PPx-1):Math.min(n.xcb,a.PPx),a.ycb_=r>0?Math.min(n.ycb,a.PPy-1):Math.min(n.ycb,a.PPy),a}function f(e,t,r){var n=1<<r.PPx,a=1<<r.PPy,i=0===t.resLevel,o=1<<r.PPx+(i?0:-1),s=1<<r.PPy+(i?0:-1),c=t.trx1>t.trx0?Math.ceil(t.trx1/n)-Math.floor(t.trx0/n):0,u=t.try1>t.try0?Math.ceil(t.try1/a)-Math.floor(t.try0/a):0,l=c*u;t.precinctParameters={precinctWidth:n,precinctHeight:a,numprecinctswide:c,numprecinctshigh:u,numprecincts:l,precinctWidthInSubband:o,precinctHeightInSubband:s}}function p(e,t,r){var n,a,i,o,s=r.xcb_,c=r.ycb_,u=1<<s,l=1<<c,h=t.tbx0>>s,f=t.tby0>>c,d=t.tbx1+u-1>>s,p=t.tby1+l-1>>c,g=t.resolution.precinctParameters,v=[],m=[];for(a=f;a<p;a++)for(n=h;n<d;n++)if((i={cbx:n,cby:a,tbx0:u*n,tby0:l*a,tbx1:u*(n+1),tby1:l*(a+1)}).tbx0_=Math.max(t.tbx0,i.tbx0),i.tby0_=Math.max(t.tby0,i.tby0),i.tbx1_=Math.min(t.tbx1,i.tbx1),i.tby1_=Math.min(t.tby1,i.tby1),o=Math.floor((i.tbx0_-t.tbx0)/g.precinctWidthInSubband)+Math.floor((i.tby0_-t.tby0)/g.precinctHeightInSubband)*g.numprecinctswide,i.precinctNumber=o,i.subbandType=t.type,i.Lblock=3,!(i.tbx1_<=i.tbx0_||i.tby1_<=i.tby0_)){v.push(i);var y=m[o];void 0!==y?(n<y.cbxMin?y.cbxMin=n:n>y.cbxMax&&(y.cbxMax=n),a<y.cbyMin?y.cbxMin=a:a>y.cbyMax&&(y.cbyMax=a)):m[o]=y={cbxMin:n,cbyMin:a,cbxMax:n,cbyMax:a},i.precinct=y}t.codeblockParameters={codeblockWidth:s,codeblockHeight:c,numcodeblockwide:d-h+1,numcodeblockhigh:p-f+1},t.codeblocks=v,t.precincts=m}function g(e,t,r){for(var n=[],a=e.subbands,i=0,o=a.length;i<o;i++)for(var s=a[i].codeblocks,c=0,u=s.length;c<u;c++){var l=s[c];l.precinctNumber===t&&n.push(l)}return{layerNumber:r,codeblocks:n}}function v(e){for(var t=e.SIZ,r=e.currentTile.index,n=e.tiles[r],a=n.codingStyleDefaultParameters.layersCount,i=t.Csiz,o=0,c=0;c<i;c++)o=Math.max(o,n.components[c].codingStyleParameters.decompositionLevelsCount);var u=0,l=0,h=0,f=0;this.nextPacket=function(){for(;u<a;u++){for(;l<=o;l++){for(;h<i;h++){var e=n.components[h];if(!(l>e.codingStyleParameters.decompositionLevelsCount)){for(var t=e.resolutions[l],r=t.precinctParameters.numprecincts;f<r;){var c=g(t,f,u);return f++,c}f=0}}h=0}l=0}throw new s("Out of packets")}}function m(e){for(var t=e.SIZ,r=e.currentTile.index,n=e.tiles[r],a=n.codingStyleDefaultParameters.layersCount,i=t.Csiz,o=0,c=0;c<i;c++)o=Math.max(o,n.components[c].codingStyleParameters.decompositionLevelsCount);var u=0,l=0,h=0,f=0;this.nextPacket=function(){for(;u<=o;u++){for(;l<a;l++){for(;h<i;h++){var e=n.components[h];if(!(u>e.codingStyleParameters.decompositionLevelsCount)){for(var t=e.resolutions[u],r=t.precinctParameters.numprecincts;f<r;){var c=g(t,f,l);return f++,c}f=0}}h=0}l=0}throw new s("Out of packets")}}function b(e){var t,r,n,a,i=e.SIZ,o=e.currentTile.index,c=e.tiles[o],u=c.codingStyleDefaultParameters.layersCount,l=i.Csiz,h=0;for(n=0;n<l;n++){var f=c.components[n];h=Math.max(h,f.codingStyleParameters.decompositionLevelsCount)}var d=new Int32Array(h+1);for(r=0;r<=h;++r){var p=0;for(n=0;n<l;++n){var v=c.components[n].resolutions;r<v.length&&(p=Math.max(p,v[r].precinctParameters.numprecincts))}d[r]=p}t=0,r=0,n=0,a=0,this.nextPacket=function(){for(;r<=h;r++){for(;a<d[r];a++){for(;n<l;n++){var e=c.components[n];if(!(r>e.codingStyleParameters.decompositionLevelsCount)){var i=e.resolutions[r],o=i.precinctParameters.numprecincts;if(!(a>=o)){for(;t<u;){var f=g(i,a,t);return t++,f}t=0}}}n=0}a=0}throw new s("Out of packets")}}function w(e){var t=e.SIZ,r=e.currentTile.index,n=e.tiles[r],a=n.codingStyleDefaultParameters.layersCount,i=t.Csiz,o=S(n),c=o,u=0,l=0,h=0,f=0,d=0;this.nextPacket=function(){for(;d<c.maxNumHigh;d++){for(;f<c.maxNumWide;f++){for(;h<i;h++){for(var e=n.components[h],t=e.codingStyleParameters.decompositionLevelsCount;l<=t;l++){var r=e.resolutions[l],p=o.components[h].resolutions[l],v=x(f,d,p,c,r);if(null!==v){for(;u<a;){var m=g(r,v,u);return u++,m}u=0}}l=0}h=0}f=0}throw new s("Out of packets")}}function k(e){var t=e.SIZ,r=e.currentTile.index,n=e.tiles[r],a=n.codingStyleDefaultParameters.layersCount,i=t.Csiz,o=S(n),c=0,u=0,l=0,h=0,f=0;this.nextPacket=function(){for(;l<i;++l){for(var e=n.components[l],t=o.components[l],r=e.codingStyleParameters.decompositionLevelsCount;f<t.maxNumHigh;f++){for(;h<t.maxNumWide;h++){for(;u<=r;u++){var d=e.resolutions[u],p=t.resolutions[u],v=x(h,f,p,t,d);if(null!==v){for(;c<a;){var m=g(d,v,c);return c++,m}c=0}}u=0}h=0}f=0}throw new s("Out of packets")}}function x(e,t,r,n,a){var i=e*n.minWidth,o=t*n.minHeight;if(i%r.width!=0||o%r.height!=0)return null;var s=o/r.width*a.precinctParameters.numprecinctswide;return i/r.height+s}function S(e){for(var t=e.components.length,r=Number.MAX_VALUE,n=Number.MAX_VALUE,a=0,i=0,o=new Array(t),s=0;s<t;s++){for(var c=e.components[s],u=c.codingStyleParameters.decompositionLevelsCount,l=new Array(u+1),h=Number.MAX_VALUE,f=Number.MAX_VALUE,d=0,p=0,g=1,v=u;v>=0;--v){var m=c.resolutions[v],y=g*m.precinctParameters.precinctWidth,b=g*m.precinctParameters.precinctHeight;h=Math.min(h,y),f=Math.min(f,b),d=Math.max(d,m.precinctParameters.numprecinctswide),p=Math.max(p,m.precinctParameters.numprecinctshigh),l[v]={width:y,height:b},g<<=1}r=Math.min(r,h),n=Math.min(n,f),a=Math.max(a,d),i=Math.max(i,p),o[s]={resolutions:l,minWidth:h,minHeight:f,maxNumWide:d,maxNumHigh:p}}return{components:o,minWidth:r,minHeight:n,maxNumWide:a,maxNumHigh:i}}function A(e){for(var t=e.SIZ,r=e.currentTile.index,n=e.tiles[r],a=t.Csiz,i=0;i<a;i++){for(var o=n.components[i],c=o.codingStyleParameters.decompositionLevelsCount,u=[],l=[],d=0;d<=c;d++){var g=h(0,o,d),y={},x=1<<c-d;y.trx0=Math.ceil(o.tcx0/x),y.try0=Math.ceil(o.tcy0/x),y.trx1=Math.ceil(o.tcx1/x),y.try1=Math.ceil(o.tcy1/x),y.resLevel=d,f(0,y,g),u.push(y);var S=void 0;if(0===d)(S={}).type="LL",S.tbx0=Math.ceil(o.tcx0/x),S.tby0=Math.ceil(o.tcy0/x),S.tbx1=Math.ceil(o.tcx1/x),S.tby1=Math.ceil(o.tcy1/x),S.resolution=y,p(0,S,g),l.push(S),y.subbands=[S];else{var A=1<<c-d+1,C=[];(S={}).type="HL",S.tbx0=Math.ceil(o.tcx0/A-.5),S.tby0=Math.ceil(o.tcy0/A),S.tbx1=Math.ceil(o.tcx1/A-.5),S.tby1=Math.ceil(o.tcy1/A),S.resolution=y,p(0,S,g),l.push(S),C.push(S),(S={}).type="LH",S.tbx0=Math.ceil(o.tcx0/A),S.tby0=Math.ceil(o.tcy0/A-.5),S.tbx1=Math.ceil(o.tcx1/A),S.tby1=Math.ceil(o.tcy1/A-.5),S.resolution=y,p(0,S,g),l.push(S),C.push(S),(S={}).type="HH",S.tbx0=Math.ceil(o.tcx0/A-.5),S.tby0=Math.ceil(o.tcy0/A-.5),S.tbx1=Math.ceil(o.tcx1/A-.5),S.tby1=Math.ceil(o.tcy1/A-.5),S.resolution=y,p(0,S,g),l.push(S),C.push(S),y.subbands=C}}o.resolutions=u,o.subbands=l}var O=n.codingStyleDefaultParameters.progressionOrder;switch(O){case 0:n.packetsIterator=new v(e);break;case 1:n.packetsIterator=new m(e);break;case 2:n.packetsIterator=new b(e);break;case 3:n.packetsIterator=new w(e);break;case 4:n.packetsIterator=new k(e);break;default:throw new s("Unsupported progression order ".concat(O))}}function C(e,t,r,n){var a,o=0,c=0,u=!1;function l(e){for(;c<e;){var n=t[r+o];o++,u?(a=a<<7|n,c+=7,u=!1):(a=a<<8|n,c+=8),255===n&&(u=!0)}return a>>>(c-=e)&(1<<e)-1}function h(e){return 255===t[r+o-1]&&t[r+o]===e?(f(1),!0):255===t[r+o]&&t[r+o+1]===e&&(f(2),!0)}function f(e){o+=e}function d(){c=0,u&&(o++,u=!1)}function p(){if(0===l(1))return 1;if(0===l(1))return 2;var e=l(2);return e<3?e+3:(e=l(5))<31?e+6:(e=l(7))+37}for(var g=e.currentTile.index,v=e.tiles[g],m=e.COD.sopMarkerUsed,y=e.COD.ephMarkerUsed,b=v.packetsIterator;o<n;){d(),m&&h(145)&&f(4);var w=b.nextPacket();if(l(1)){for(var k=w.layerNumber,x=[],S=void 0,A=0,C=w.codeblocks.length;A<C;A++){var O=(S=w.codeblocks[A]).precinct,F=S.cbx-O.cbxMin,I=S.cby-O.cbyMin,M=void 0,P=!1,R=!1;if(void 0!==S.included)P=!!l(1);else{var N=void 0;if(void 0!==(O=S.precinct).inclusionTree)N=O.inclusionTree;else{var D=O.cbxMax-O.cbxMin+1,B=O.cbyMax-O.cbyMin+1;N=new E(D,B,k),M=new T(D,B),O.inclusionTree=N,O.zeroBitPlanesTree=M;for(var L=0;L<k;L++)if(0!==l(1))throw new s("Invalid tag tree")}if(N.reset(F,I,k))for(;;){if(!l(1)){N.incrementValue(k);break}if(!N.nextLevel()){S.included=!0,P=R=!0;break}}}if(P){if(R){for((M=O.zeroBitPlanesTree).reset(F,I);;)if(l(1)){if(!M.nextLevel())break}else M.incrementValue();S.zeroBitPlanes=M.value}for(var _=p();l(1);)S.Lblock++;var j=(0,i.log2)(_),U=l((_<1<<j?j-1:j)+S.Lblock);x.push({codeblock:S,codingpasses:_,dataLength:U})}}for(d(),y&&h(146);x.length>0;){var $=x.shift();void 0===(S=$.codeblock).data&&(S.data=[]),S.data.push({data:t,start:r+o,end:r+o+$.dataLength,codingpasses:$.codingpasses}),o+=$.dataLength}}}return o}function O(e,t,r,n,a,i,s,c,u){for(var l=n.tbx0,h=n.tby0,f=n.tbx1-n.tbx0,d=n.codeblocks,p="H"===n.type.charAt(0)?1:0,g="H"===n.type.charAt(1)?t:0,v=0,m=d.length;v<m;++v){var y=d[v],b=y.tbx1_-y.tbx0_,w=y.tby1_-y.tby0_;if(0!==b&&0!==w&&void 0!==y.data){var k=new R(b,w,y.subbandType,y.zeroBitPlanes,i),x=2,S=y.data,A=void 0,C=void 0,O=void 0,F=0,I=0;for(A=0,C=S.length;A<C;A++)F+=(O=S[A]).end-O.start,I+=O.codingpasses;var T=new Uint8Array(F),M=0;for(A=0,C=S.length;A<C;A++){var E=(O=S[A]).data.subarray(O.start,O.end);T.set(E,M),M+=E.length}var P=new o.ArithmeticDecoder(T,0,F);for(k.setDecoder(P),A=0;A<I;A++){switch(x){case 0:k.runSignificancePropagationPass();break;case 1:k.runMagnitudeRefinementPass();break;case 2:k.runCleanupPass(),c&&k.checkSegmentationSymbol()}u&&k.reset(),x=(x+1)%3}var N=y.tbx0_-l+(y.tby0_-h)*f,D=k.coefficentsSign,B=k.coefficentsMagnitude,L=k.bitsDecoded,_=s?0:.5,j=void 0,U=void 0,$=void 0;M=0;var X="LL"!==n.type;for(A=0;A<w;A++){var H=2*(N/f|0)*(t-f)+p+g;for(j=0;j<b;j++)0!==(U=B[M])&&(U=(U+_)*a,0!==D[M]&&(U=-U),$=L[M],e[X?H+(N<<1):N]=s&&$>=i?U:U*(1<<i-$)),N++,M++;N+=f-b}}}}function F(e,t,r){for(var n=t.components[r],a=n.codingStyleParameters,i=n.quantizationParameters,o=a.decompositionLevelsCount,s=i.SPqcds,u=i.scalarExpounded,l=i.guardBits,h=a.segmentationSymbolUsed,f=a.resetContextProbabilities,d=e.components[r].precision,p=a.reversibleTransformation,g=p?new B:new D,v=[],m=0,y=0;y<=o;y++){for(var b=n.resolutions[y],w=b.trx1-b.trx0,k=b.try1-b.try0,x=new Float32Array(w*k),S=0,A=b.subbands.length;S<A;S++){var C=void 0,F=void 0;u?(C=s[m].mu,F=s[m].epsilon,m++):(C=s[0].mu,F=s[0].epsilon+(y>0?1-y:0));var I=b.subbands[S],T=c[I.type];O(x,w,0,I,p?1:Math.pow(2,d+T-F)*(1+C/2048),l+F-1,p,h,f)}v.push({width:w,height:k,items:x})}var M=g.calculate(v,n.tcx0,n.tcy0);return{left:n.tcx0,top:n.tcy0,width:M.width,height:M.height,items:M.items}}function I(e,t){for(var r=e.SIZ.Csiz,n=e.tiles[t],a=0;a<r;a++){var i=n.components[a],o=void 0!==e.currentTile.QCC[a]?e.currentTile.QCC[a]:e.currentTile.QCD;i.quantizationParameters=o;var s=void 0!==e.currentTile.COC[a]?e.currentTile.COC[a]:e.currentTile.COD;i.codingStyleParameters=s}n.codingStyleDefaultParameters=e.currentTile.COD}t.JpxImage=function(){function e(){M(this,e),this.failOnCorruptedImage=!1}return P(e,[{key:"parse",value:function(e){if(65359!==(0,i.readUint16)(e,0))for(var t=e.length,r=0;r<t;){var n=8,o=(0,i.readUint32)(e,r),c=(0,i.readUint32)(e,r+4);if(r+=n,1===o&&(o=4294967296*(0,i.readUint32)(e,r)+(0,i.readUint32)(e,r+4),r+=8,n+=8),0===o&&(o=t-r+n),o<n)throw new s("Invalid box field size");var u=o-n,l=!0;switch(c){case 1785737832:l=!1;break;case 1668246642:var h=e[r];if(1===h){var f=(0,i.readUint32)(e,r+3);switch(f){case 16:case 17:case 18:break;default:(0,a.warn)("Unknown colorspace "+f)}}else 2===h&&(0,a.info)("ICC profile not supported");break;case 1785737827:this.parseCodestream(e,r,r+u);break;case 1783636e3:218793738!==(0,i.readUint32)(e,r)&&(0,a.warn)("Invalid JP2 signature");break;case 1783634458:case 1718909296:case 1920099697:case 1919251232:case 1768449138:break;default:var d=String.fromCharCode(c>>24&255,c>>16&255,c>>8&255,255&c);(0,a.warn)("Unsupported header type ".concat(c," (").concat(d,")."))}l&&(r+=u)}else this.parseCodestream(e,0,e.length)}},{key:"parseImageProperties",value:function(e){for(var t=e.getByte();t>=0;)if(65361==(t<<8|(t=e.getByte()))){e.skip(4);var r=e.getInt32()>>>0,n=e.getInt32()>>>0,a=e.getInt32()>>>0,i=e.getInt32()>>>0;e.skip(16);var o=e.getUint16();return this.width=r-a,this.height=n-i,this.componentsCount=o,void(this.bitsPerComponent=8)}throw new s("No size marker found in JPX stream")}},{key:"parseCodestream",value:function(e,t,r){var n={},o=!1;try{for(var c=t;c+1<r;){var h=(0,i.readUint16)(e,c);c+=2;var f=void 0,d=void 0,p=void 0,g=void 0,v=void 0,m=void 0,y=0;switch(h){case 65359:n.mainHeader=!0;break;case 65497:break;case 65361:y=(0,i.readUint16)(e,c);var b={};b.Xsiz=(0,i.readUint32)(e,c+4),b.Ysiz=(0,i.readUint32)(e,c+8),b.XOsiz=(0,i.readUint32)(e,c+12),b.YOsiz=(0,i.readUint32)(e,c+16),b.XTsiz=(0,i.readUint32)(e,c+20),b.YTsiz=(0,i.readUint32)(e,c+24),b.XTOsiz=(0,i.readUint32)(e,c+28),b.YTOsiz=(0,i.readUint32)(e,c+32);var w=(0,i.readUint16)(e,c+36);b.Csiz=w;var k=[];f=c+38;for(var x=0;x<w;x++){var S={precision:1+(127&e[f]),isSigned:!!(128&e[f]),XRsiz:e[f+1],YRsiz:e[f+2]};f+=3,u(S,b),k.push(S)}n.SIZ=b,n.components=k,l(n,k),n.QCC=[],n.COC=[];break;case 65372:y=(0,i.readUint16)(e,c);var O={};switch(f=c+2,31&(d=e[f++])){case 0:g=8,v=!0;break;case 1:g=16,v=!1;break;case 2:g=16,v=!0;break;default:throw new Error("Invalid SQcd value "+d)}for(O.noQuantization=8===g,O.scalarExpounded=v,O.guardBits=d>>5,p=[];f<y+c;){var T={};8===g?(T.epsilon=e[f++]>>3,T.mu=0):(T.epsilon=e[f]>>3,T.mu=(7&e[f])<<8|e[f+1],f+=2),p.push(T)}O.SPqcds=p,n.mainHeader?n.QCD=O:(n.currentTile.QCD=O,n.currentTile.QCC=[]);break;case 65373:y=(0,i.readUint16)(e,c);var M={};f=c+2;var E=void 0;switch(n.SIZ.Csiz<257?E=e[f++]:(E=(0,i.readUint16)(e,f),f+=2),31&(d=e[f++])){case 0:g=8,v=!0;break;case 1:g=16,v=!1;break;case 2:g=16,v=!0;break;default:throw new Error("Invalid SQcd value "+d)}for(M.noQuantization=8===g,M.scalarExpounded=v,M.guardBits=d>>5,p=[];f<y+c;){var P={};8===g?(P.epsilon=e[f++]>>3,P.mu=0):(P.epsilon=e[f]>>3,P.mu=(7&e[f])<<8|e[f+1],f+=2),p.push(P)}M.SPqcds=p,n.mainHeader?n.QCC[E]=M:n.currentTile.QCC[E]=M;break;case 65362:y=(0,i.readUint16)(e,c);var R={};f=c+2;var N=e[f++];R.entropyCoderWithCustomPrecincts=!!(1&N),R.sopMarkerUsed=!!(2&N),R.ephMarkerUsed=!!(4&N),R.progressionOrder=e[f++],R.layersCount=(0,i.readUint16)(e,f),f+=2,R.multipleComponentTransform=e[f++],R.decompositionLevelsCount=e[f++],R.xcb=2+(15&e[f++]),R.ycb=2+(15&e[f++]);var D=e[f++];if(R.selectiveArithmeticCodingBypass=!!(1&D),R.resetContextProbabilities=!!(2&D),R.terminationOnEachCodingPass=!!(4&D),R.verticallyStripe=!!(8&D),R.predictableTermination=!!(16&D),R.segmentationSymbolUsed=!!(32&D),R.reversibleTransformation=e[f++],R.entropyCoderWithCustomPrecincts){for(var B=[];f<y+c;){var L=e[f++];B.push({PPx:15&L,PPy:L>>4})}R.precinctsSizes=B}var _=[];R.selectiveArithmeticCodingBypass&&_.push("selectiveArithmeticCodingBypass"),R.terminationOnEachCodingPass&&_.push("terminationOnEachCodingPass"),R.verticallyStripe&&_.push("verticallyStripe"),R.predictableTermination&&_.push("predictableTermination"),_.length>0&&(o=!0,(0,a.warn)("JPX: Unsupported COD options (".concat(_.join(", "),")."))),n.mainHeader?n.COD=R:(n.currentTile.COD=R,n.currentTile.COC=[]);break;case 65424:y=(0,i.readUint16)(e,c),(m={}).index=(0,i.readUint16)(e,c+2),m.length=(0,i.readUint32)(e,c+4),m.dataEnd=m.length+c-2,m.partIndex=e[c+8],m.partsCount=e[c+9],n.mainHeader=!1,0===m.partIndex&&(m.COD=n.COD,m.COC=n.COC.slice(0),m.QCD=n.QCD,m.QCC=n.QCC.slice(0)),n.currentTile=m;break;case 65427:0===(m=n.currentTile).partIndex&&(I(n,m.index),A(n)),C(n,e,c,y=m.dataEnd-c);break;case 65363:(0,a.warn)("JPX: Codestream code 0xFF53 (COC) is not implemented.");case 65365:case 65367:case 65368:case 65380:y=(0,i.readUint16)(e,c);break;default:throw new Error("Unknown codestream code: "+h.toString(16))}c+=y}}catch(e){if(o||this.failOnCorruptedImage)throw new s(e.message);(0,a.warn)('JPX: Trying to recover from: "'.concat(e.message,'".'))}this.tiles=function(e){for(var t=e.SIZ,r=e.components,n=t.Csiz,a=[],i=0,o=e.tiles.length;i<o;i++){for(var s=e.tiles[i],c=[],u=0;u<n;u++)c[u]=F(e,s,u);var l=c[0],h=new Uint8ClampedArray(l.items.length*n),f={left:l.left,top:l.top,width:l.width,height:l.height,items:h},d=void 0,p=void 0,g=void 0,v=void 0,m=void 0,y=void 0,b=void 0,w=0;if(s.codingStyleDefaultParameters.multipleComponentTransform){var k=4===n,x=c[0].items,S=c[1].items,A=c[2].items,C=k?c[3].items:null;p=.5+(128<<(d=r[0].precision-8));var O=s.components[0],I=n-3;if(v=x.length,O.codingStyleParameters.reversibleTransformation)for(g=0;g<v;g++,w+=I){m=x[g]+p,y=S[g];var T=m-((b=A[g])+y>>2);h[w++]=T+b>>d,h[w++]=T>>d,h[w++]=T+y>>d}else for(g=0;g<v;g++,w+=I)m=x[g]+p,y=S[g],b=A[g],h[w++]=m+1.402*b>>d,h[w++]=m-.34413*y-.71414*b>>d,h[w++]=m+1.772*y>>d;if(k)for(g=0,w=3;g<v;g++,w+=4)h[w]=C[g]+p>>d}else for(var M=0;M<n;M++){var E=c[M].items;for(p=.5+(128<<(d=r[M].precision-8)),w=M,g=0,v=E.length;g<v;g++)h[w]=E[g]+p>>d,w+=n}a.push(f)}return a}(n),this.width=n.SIZ.Xsiz-n.SIZ.XOsiz,this.height=n.SIZ.Ysiz-n.SIZ.YOsiz,this.componentsCount=n.SIZ.Csiz}}]),e}();var T=function(){function e(t,r){M(this,e);var n=(0,i.log2)(Math.max(t,r))+1;this.levels=[];for(var a=0;a<n;a++){var o={width:t,height:r,items:[]};this.levels.push(o),t=Math.ceil(t/2),r=Math.ceil(r/2)}}return P(e,[{key:"reset",value:function(e,t){for(var r,n=0,a=0;n<this.levels.length;){var i=e+t*(r=this.levels[n]).width;if(void 0!==r.items[i]){a=r.items[i];break}r.index=i,e>>=1,t>>=1,n++}n--,(r=this.levels[n]).items[r.index]=a,this.currentLevel=n,delete this.value}},{key:"incrementValue",value:function(){var e=this.levels[this.currentLevel];e.items[e.index]++}},{key:"nextLevel",value:function(){var e=this.currentLevel,t=this.levels[e],r=t.items[t.index];return--e<0?(this.value=r,!1):(this.currentLevel=e,(t=this.levels[e]).items[t.index]=r,!0)}}]),e}(),E=function(){function e(t,r,n){M(this,e);var a=(0,i.log2)(Math.max(t,r))+1;this.levels=[];for(var o=0;o<a;o++){for(var s=new Uint8Array(t*r),c=0,u=s.length;c<u;c++)s[c]=n;var l={width:t,height:r,items:s};this.levels.push(l),t=Math.ceil(t/2),r=Math.ceil(r/2)}}return P(e,[{key:"reset",value:function(e,t,r){for(var n=0;n<this.levels.length;){var a=this.levels[n],i=e+t*a.width;a.index=i;var o=a.items[i];if(255===o)break;if(o>r)return this.currentLevel=n,this.propagateValues(),!1;e>>=1,t>>=1,n++}return this.currentLevel=n-1,!0}},{key:"incrementValue",value:function(e){var t=this.levels[this.currentLevel];t.items[t.index]=e+1,this.propagateValues()}},{key:"propagateValues",value:function(){for(var e=this.currentLevel,t=this.levels[e],r=t.items[t.index];--e>=0;)(t=this.levels[e]).items[t.index]=r}},{key:"nextLevel",value:function(){var e=this.currentLevel,t=this.levels[e],r=t.items[t.index];return t.items[t.index]=255,!(--e<0||(this.currentLevel=e,(t=this.levels[e]).items[t.index]=r,0))}}]),e}(),R=function(){function e(t,r,n,a,i){var o;M(this,e),this.width=t,this.height=r,o="HH"===n?e.HHContextLabel:"HL"===n?e.HLContextLabel:e.LLAndLHContextsLabel,this.contextLabelTable=o;var s,c=t*r;this.neighborsSignificance=new Uint8Array(c),this.coefficentsSign=new Uint8Array(c),s=i>14?new Uint32Array(c):i>6?new Uint16Array(c):new Uint8Array(c),this.coefficentsMagnitude=s,this.processingFlags=new Uint8Array(c);var u=new Uint8Array(c);if(0!==a)for(var l=0;l<c;l++)u[l]=a;this.bitsDecoded=u,this.reset()}return P(e,[{key:"setDecoder",value:function(e){this.decoder=e}},{key:"reset",value:function(){this.contexts=new Int8Array(19),this.contexts[0]=8,this.contexts[e.UNIFORM_CONTEXT]=92,this.contexts[e.RUNLENGTH_CONTEXT]=6}},{key:"setNeighborsSignificance",value:function(e,t,r){var n,a=this.neighborsSignificance,i=this.width,o=this.height,s=t>0,c=t+1<i;e>0&&(n=r-i,s&&(a[n-1]+=16),c&&(a[n+1]+=16),a[n]+=4),e+1<o&&(n=r+i,s&&(a[n-1]+=16),c&&(a[n+1]+=16),a[n]+=4),s&&(a[r-1]+=1),c&&(a[r+1]+=1),a[r]|=128}},{key:"runSignificancePropagationPass",value:function(){for(var e=this.decoder,t=this.width,r=this.height,n=this.coefficentsMagnitude,a=this.coefficentsSign,i=this.neighborsSignificance,o=this.processingFlags,s=this.contexts,c=this.contextLabelTable,u=this.bitsDecoded,l=0;l<r;l+=4)for(var h=0;h<t;h++)for(var f=l*t+h,d=0;d<4;d++,f+=t){var p=l+d;if(p>=r)break;if(o[f]&=-2,!n[f]&&i[f]){var g=c[i[f]];if(e.readBit(s,g)){var v=this.decodeSignBit(p,h,f);a[f]=v,n[f]=1,this.setNeighborsSignificance(p,h,f),o[f]|=2}u[f]++,o[f]|=1}}}},{key:"decodeSignBit",value:function(e,t,r){var n,a,i,o,s,c,u=this.width,l=this.height,h=this.coefficentsMagnitude,f=this.coefficentsSign;o=t>0&&0!==h[r-1],t+1<u&&0!==h[r+1]?(i=f[r+1],n=o?1-i-(a=f[r-1]):1-i-i):n=o?1-(a=f[r-1])-a:0;var d=3*n;return o=e>0&&0!==h[r-u],e+1<l&&0!==h[r+u]?(i=f[r+u],n=o?1-i-(a=f[r-u])+d:1-i-i+d):n=o?1-(a=f[r-u])-a+d:d,n>=0?(s=9+n,c=this.decoder.readBit(this.contexts,s)):(s=9-n,c=1^this.decoder.readBit(this.contexts,s)),c}},{key:"runMagnitudeRefinementPass",value:function(){for(var e,t=this.decoder,r=this.width,n=this.height,a=this.coefficentsMagnitude,i=this.neighborsSignificance,o=this.contexts,s=this.bitsDecoded,c=this.processingFlags,u=r*n,l=4*r,h=0;h<u;h=e){e=Math.min(u,h+l);for(var f=0;f<r;f++)for(var d=h+f;d<e;d+=r)if(a[d]&&0==(1&c[d])){var p=16;0!=(2&c[d])&&(c[d]^=2,p=0==(127&i[d])?15:14);var g=t.readBit(o,p);a[d]=a[d]<<1|g,s[d]++,c[d]|=1}}}},{key:"runCleanupPass",value:function(){for(var t,r=this.decoder,n=this.width,a=this.height,i=this.neighborsSignificance,o=this.coefficentsMagnitude,s=this.coefficentsSign,c=this.contexts,u=this.contextLabelTable,l=this.bitsDecoded,h=this.processingFlags,f=n,d=2*n,p=3*n,g=0;g<a;g=t){t=Math.min(g+4,a);for(var v=g*n,m=g+3<a,y=0;y<n;y++){var b=v+y,w=void 0,k=0,x=b,S=g;if(m&&0===h[b]&&0===h[b+f]&&0===h[b+d]&&0===h[b+p]&&0===i[b]&&0===i[b+f]&&0===i[b+d]&&0===i[b+p]){if(!r.readBit(c,e.RUNLENGTH_CONTEXT)){l[b]++,l[b+f]++,l[b+d]++,l[b+p]++;continue}0!=(k=r.readBit(c,e.UNIFORM_CONTEXT)<<1|r.readBit(c,e.UNIFORM_CONTEXT))&&(S=g+k,x+=k*n),w=this.decodeSignBit(S,y,x),s[x]=w,o[x]=1,this.setNeighborsSignificance(S,y,x),h[x]|=2,x=b;for(var A=g;A<=S;A++,x+=n)l[x]++;k++}for(S=g+k;S<t;S++,x+=n)if(!o[x]&&0==(1&h[x])){var C=u[i[x]];1===r.readBit(c,C)&&(w=this.decodeSignBit(S,y,x),s[x]=w,o[x]=1,this.setNeighborsSignificance(S,y,x),h[x]|=2),l[x]++}}}}},{key:"checkSegmentationSymbol",value:function(){var t=this.decoder,r=this.contexts;if(10!=(t.readBit(r,e.UNIFORM_CONTEXT)<<3|t.readBit(r,e.UNIFORM_CONTEXT)<<2|t.readBit(r,e.UNIFORM_CONTEXT)<<1|t.readBit(r,e.UNIFORM_CONTEXT)))throw new s("Invalid segmentation symbol")}}]),e}();n(R,"UNIFORM_CONTEXT",17),n(R,"RUNLENGTH_CONTEXT",18),n(R,"LLAndLHContextsLabel",new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8])),n(R,"HLContextLabel",new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8])),n(R,"HHContextLabel",new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]));var N=function(){function e(){M(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize Transform.")}return P(e,[{key:"calculate",value:function(e,t,r){for(var n=e[0],a=1,i=e.length;a<i;a++)n=this.iterate(n,e[a],t,r);return n}},{key:"extend",value:function(e,t,r){var n=t-1,a=t+1,i=t+r-2,o=t+r;e[n--]=e[a++],e[o++]=e[i--],e[n--]=e[a++],e[o++]=e[i--],e[n--]=e[a++],e[o++]=e[i--],e[n]=e[a],e[o]=e[i]}},{key:"filter",value:function(e,t,r){(0,a.unreachable)("Abstract method `filter` called")}},{key:"iterate",value:function(e,t,r,n){var a,i,o,s,c,u,l=e.width,h=e.height,f=e.items,d=t.width,p=t.height,g=t.items;for(o=0,a=0;a<h;a++)for(s=2*a*d,i=0;i<l;i++,o++,s+=2)g[s]=f[o];f=e.items=null;var v=new Float32Array(d+8);if(1===d){if(0!=(1&r))for(u=0,o=0;u<p;u++,o+=d)g[o]*=.5}else for(u=0,o=0;u<p;u++,o+=d)v.set(g.subarray(o,o+d),4),this.extend(v,4,d),this.filter(v,4,d),g.set(v.subarray(4,4+d),o);var m=16,y=[];for(a=0;a<m;a++)y.push(new Float32Array(p+8));var b,w=0;if(e=4+p,1===p){if(0!=(1&n))for(c=0;c<d;c++)g[c]*=.5}else for(c=0;c<d;c++){if(0===w){for(m=Math.min(d-c,m),o=c,s=4;s<e;o+=d,s++)for(b=0;b<m;b++)y[b][s]=g[o+b];w=m}var k=y[--w];if(this.extend(k,4,p),this.filter(k,4,p),0===w)for(o=c-m+1,s=4;s<e;o+=d,s++)for(b=0;b<m;b++)g[o+b]=y[b][s]}return{width:d,height:p,items:g}}}]),e}(),D=function(e){function t(){return M(this,t),d(this,t,arguments)}return y(t,e),P(t,[{key:"filter",value:function(e,t,r){var n,a,i,o,s=r>>1,c=-1.586134342059924,u=-.052980118572961,l=.882911075530934,h=.443506852043971,f=1.230174104914001;for(n=(t|=0)-3,a=s+4;a--;n+=2)e[n]*=.8128930661159609;for(i=h*e[(n=t-2)-1],a=s+3;a--&&(o=h*e[n+1],e[n]=f*e[n]-i-o,a--);n+=2)i=h*e[(n+=2)+1],e[n]=f*e[n]-i-o;for(i=l*e[(n=t-1)-1],a=s+2;a--&&(o=l*e[n+1],e[n]-=i+o,a--);n+=2)i=l*e[(n+=2)+1],e[n]-=i+o;for(i=u*e[(n=t)-1],a=s+1;a--&&(o=u*e[n+1],e[n]-=i+o,a--);n+=2)i=u*e[(n+=2)+1],e[n]-=i+o;if(0!==s)for(i=c*e[(n=t+1)-1],a=s;a--&&(o=c*e[n+1],e[n]-=i+o,a--);n+=2)i=c*e[(n+=2)+1],e[n]-=i+o}}]),t}(N),B=function(e){function t(){return M(this,t),d(this,t,arguments)}return y(t,e),P(t,[{key:"filter",value:function(e,t,r){var n,a,i=r>>1;for(n=t|=0,a=i+1;a--;n+=2)e[n]-=e[n-1]+e[n+1]+2>>2;for(n=t+1,a=i;a--;n+=2)e[n]+=e[n-1]+e[n+1]>>1}}]),t}(N)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.LZWStream=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=function(e){function t(e,r,n){var a;M(this,t),(a=d(this,t,[r])).str=e,a.dict=e.dict,a.cachedData=0,a.bitsCached=0;for(var i=4096,o={earlyChange:n,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(i),dictionaryLengths:new Uint16Array(i),dictionaryPrevCodes:new Uint16Array(i),currentSequence:new Uint8Array(i),currentSequenceLength:0},s=0;s<256;++s)o.dictionaryValues[s]=s,o.dictionaryLengths[s]=1;return a.lzwState=o,a}return y(t,e),P(t,[{key:"readBits",value:function(e){for(var t=this.bitsCached,r=this.cachedData;t<e;){var n=this.str.getByte();if(-1===n)return this.eof=!0,null;r=r<<8|n,t+=8}return this.bitsCached=t-=e,this.cachedData=r,this.lastCode=null,r>>>t&(1<<e)-1}},{key:"readBlock",value:function(){var e,t,r,n=1024,a=this.lzwState;if(a){var i=a.earlyChange,o=a.nextCode,s=a.dictionaryValues,c=a.dictionaryLengths,u=a.dictionaryPrevCodes,l=a.codeLength,h=a.prevCode,f=a.currentSequence,d=a.currentSequenceLength,p=0,g=this.bufferLength,v=this.ensureBuffer(this.bufferLength+n);for(e=0;e<512;e++){var m=this.readBits(l),y=d>0;if(m<256)f[0]=m,d=1;else{if(!(m>=258)){if(256===m){l=9,o=258,d=0;continue}this.eof=!0,delete this.lzwState;break}if(m<o)for(t=(d=c[m])-1,r=m;t>=0;t--)f[t]=s[r],r=u[r];else f[d++]=f[0]}if(y&&(u[o]=h,c[o]=c[h]+1,s[o]=f[0],l=++o+i&o+i-1?l:0|Math.min(Math.log(o+i)/.6931471805599453+1,12)),h=m,n<(p+=d)){do{n+=512}while(n<p);v=this.ensureBuffer(this.bufferLength+n)}for(t=0;t<d;t++)v[g++]=f[t]}a.nextCode=o,a.codeLength=l,a.prevCode=h,a.currentSequenceLength=d,this.bufferLength=g}}}]),t}(r(168).DecodeStream);t.LZWStream=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PredictorStream=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(168),a=r(150),i=r(144),o=function(e){function t(e,r,n){var o;if(M(this,t),o=d(this,t,[r]),!(n instanceof a.Dict))return p(o,e);var s=o.predictor=n.get("Predictor")||1;if(s<=1)return p(o,e);if(2!==s&&(s<10||s>15))throw new i.FormatError("Unsupported predictor: ".concat(s));o.readBlock=2===s?o.readBlockTiff:o.readBlockPng,o.str=e,o.dict=e.dict;var c=o.colors=n.get("Colors")||1,u=o.bits=n.get("BPC","BitsPerComponent")||8,l=o.columns=n.get("Columns")||1;return o.pixBytes=c*u+7>>3,o.rowBytes=l*c*u+7>>3,p(o,g(o))}return y(t,e),P(t,[{key:"readBlockTiff",value:function(){var e=this.rowBytes,t=this.bufferLength,r=this.ensureBuffer(t+e),n=this.bits,a=this.colors,i=this.str.getBytes(e);if(this.eof=!i.length,!this.eof){var o,s=0,c=0,u=0,l=0,h=t;if(1===n&&1===a)for(o=0;o<e;++o){var f=i[o]^s;f^=f>>1,f^=f>>2,s=(1&(f^=f>>4))<<7,r[h++]=f}else if(8===n){for(o=0;o<a;++o)r[h++]=i[o];for(;o<e;++o)r[h]=r[h-a]+i[o],h++}else if(16===n){var d=2*a;for(o=0;o<d;++o)r[h++]=i[o];for(;o<e;o+=2){var p=((255&i[o])<<8)+(255&i[o+1])+((255&r[h-d])<<8)+(255&r[h-d+1]);r[h++]=p>>8&255,r[h++]=255&p}}else{var g=new Uint8Array(a+1),v=(1<<n)-1,m=0,y=t,b=this.columns;for(o=0;o<b;++o)for(var w=0;w<a;++w)u<n&&(s=s<<8|255&i[m++],u+=8),g[w]=g[w]+(s>>u-n)&v,u-=n,c=c<<n|g[w],(l+=n)>=8&&(r[y++]=c>>l-8&255,l-=8);l>0&&(r[y++]=(c<<8-l)+(s&(1<<8-l)-1))}this.bufferLength+=e}}},{key:"readBlockPng",value:function(){var e=this.rowBytes,t=this.pixBytes,r=this.str.getByte(),n=this.str.getBytes(e);if(this.eof=!n.length,!this.eof){var a=this.bufferLength,o=this.ensureBuffer(a+e),s=o.subarray(a-e,a);0===s.length&&(s=new Uint8Array(e));var c,u,l,h=a;switch(r){case 0:for(c=0;c<e;++c)o[h++]=n[c];break;case 1:for(c=0;c<t;++c)o[h++]=n[c];for(;c<e;++c)o[h]=o[h-t]+n[c]&255,h++;break;case 2:for(c=0;c<e;++c)o[h++]=s[c]+n[c]&255;break;case 3:for(c=0;c<t;++c)o[h++]=(s[c]>>1)+n[c];for(;c<e;++c)o[h]=(s[c]+o[h-t]>>1)+n[c]&255,h++;break;case 4:for(c=0;c<t;++c)u=s[c],l=n[c],o[h++]=u+l;for(;c<e;++c){u=s[c];var f=s[c-t],d=o[h-t],p=d+u-f,g=p-d;g<0&&(g=-g);var v=p-u;v<0&&(v=-v);var m=p-f;m<0&&(m=-m),l=n[c],o[h++]=g<=v&&g<=m?d+l:v<=m?u+l:f+l}break;default:throw new i.FormatError("Unsupported predictor: ".concat(r))}this.bufferLength+=e}}}]),t}(n.DecodeStream);t.PredictorStream=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.RunLengthStream=void 0;var n=function(e){function t(e,r){var n;return M(this,t),(n=d(this,t,[r])).str=e,n.dict=e.dict,n}return y(t,e),P(t,[{key:"readBlock",value:function(){var e=this.str.getBytes(2);if(!e||e.length<2||128===e[0])this.eof=!0;else{var t,r=this.bufferLength,n=e[0];if(n<128){if((t=this.ensureBuffer(r+n+1))[r++]=e[1],n>0){var a=this.str.getBytes(n);t.set(a,r),r+=n}}else{n=257-n;var i=e[1];t=this.ensureBuffer(r+n+1);for(var o=0;o<n;o++)t[r++]=i}this.bufferLength=r}}}]),t}(r(168).DecodeStream);t.RunLengthStream=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Font=t.ErrorFont=void 0,r(116),r(126),r(128),r(131),r(133),r(135),r(137),r(139),r(157),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(144),a=r(185),i=r(188),o=r(190),s=r(189),c=r(187),u=r(191),l=r(192),h=r(193),f=r(194),d=r(195),p=r(196),g=r(164),v=r(197),m=r(149),y=r(154),b=r(198),w=[[57344,63743],[1048576,1114109]],k=1e3,A=["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"],C=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function O(e){if(e.fontMatrix&&e.fontMatrix[0]!==n.FONT_IDENTITY_MATRIX[0]){var t=.001/e.fontMatrix[0],r=e.widths;for(var a in r)r[a]*=t;e.defaultWidth*=t}}function F(e){if(e.fallbackToUnicode&&!(e.toUnicode instanceof l.IdentityToUnicodeMap)){var t=[];for(var r in e.fallbackToUnicode)e.toUnicode.has(r)||(t[r]=e.fallbackToUnicode[r]);t.length>0&&e.toUnicode.amend(t)}}var I=function(){function e(t,r,n,a,i,o,s,c,u){M(this,e),this.originalCharCode=t,this.fontChar=r,this.unicode=n,this.accent=a,this.width=i,this.vmetric=o,this.operatorListId=s,this.isSpace=c,this.isInFont=u}return P(e,[{key:"category",get:function(){return(0,n.shadow)(this,"category",(0,o.getCharUnicodeCategory)(this.unicode),!0)}}]),e}();function T(e,t){return(e<<8)+t}function E(e,t,r){e[t+1]=r,e[t]=r>>>8}function R(e,t){var r=(e<<8)+t;return 32768&r?r-65536:r}function N(e){return String.fromCharCode(e>>8&255,255&e)}function D(e){return e>32767?e=32767:e<-32768&&(e=-32768),String.fromCharCode(e>>8&255,255&e)}function B(e){var t=e.peekBytes(4);return"ttcf"===(0,n.bytesToString)(t)}function L(e,t){for(var r in t)e[+r]=t[r]}function _(e,t,r){for(var n,a=[],i=0,s=e.length;i<s;i++)-1!==(n=(0,o.getUnicodeForGlyph)(e[i],t))&&(a[i]=n);for(var c in r)-1!==(n=(0,o.getUnicodeForGlyph)(r[c],t))&&(a[+c]=n);return a}function j(e){return 1===e.platform&&0===e.encoding&&0===e.language}function U(e){return 3===e.platform&&1===e.encoding&&1033===e.language}function $(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];switch(t.length){case 1:return t.charCodeAt(0);case 2:return t.charCodeAt(0)<<8|t.charCodeAt(1)}var a="Unsupported CID string (charCode ".concat(e,'): "').concat(t,'".');if(r)throw new n.FormatError(a);return(0,n.warn)(a),t}function X(e,t,r,a){var i,o=Object.create(null),s=new Map,c=[],u=new Set,l=0,h=w[l][0],f=w[l][1];for(var d in e){var p=e[d|=0];if(t(p)){if(h>f){if(++l>=w.length){(0,n.warn)("Ran out of space in font private use area.");break}h=w[l][0],f=w[l][1]}var g=h++;0===p&&(p=r);var v=a.get(d);"string"==typeof v&&(v=v.codePointAt(0)),!v||(i=v,w[0][0]<=i&&i<=w[0][1]||w[1][0]<=i&&i<=w[1][1])||u.has(p)||(s.set(v,p),u.add(p)),o[g]=p,c[d]=g}}return{toFontChar:c,charCodeToGlyphId:o,toUnicodeExtraMap:s,nextAvailableFontCharCode:h}}function H(e,t,r){var a,i,o,s,c=function(e,t,r){var n=[];for(var a in e)e[a]>=r||n.push({fontCharCode:0|a,glyphId:e[a]});if(t){var i,o=x(t);try{for(o.s();!(i=o.n()).done;){var s=S(i.value,2),c=s[0],u=s[1];u>=r||n.push({fontCharCode:c,glyphId:u})}}catch(e){o.e(e)}finally{o.f()}}0===n.length&&n.push({fontCharCode:0,glyphId:0}),n.sort((function(e,t){return e.fontCharCode-t.fontCharCode}));for(var l=[],h=n.length,f=0;f<h;){var d=n[f].fontCharCode,p=[n[f].glyphId];++f;for(var g=d;f<h&&g+1===n[f].fontCharCode&&(p.push(n[f].glyphId),++f,65535!=++g););l.push([d,g,p])}return l}(e,t,r),u=c.at(-1)[1]>65535?2:1,l="\0\0"+N(u)+"\0\0"+(0,n.string32)(4+8*u);for(a=c.length-1;a>=0&&!(c[a][0]<=65535);--a);var h=a+1;c[a][0]<65535&&65535===c[a][1]&&(c[a][1]=65534);var f,d,p,g,m=c[a][1]<65535?1:0,y=h+m,b=v.OpenTypeFileBuilder.getSearchParams(y,2),w="",k="",A="",C="",O="",F=0;for(a=0,i=h;a<i;a++){d=(f=c[a])[0],p=f[1],w+=N(d),k+=N(p);var I=!0;for(o=1,s=(g=f[2]).length;o<s;++o)if(g[o]!==g[o-1]+1){I=!1;break}if(I)A+=N(g[0]-d&65535),C+=N(0);else{var T=2*(y-a)+2*F;for(F+=p-d+1,A+=N(0),C+=N(T),o=0,s=g.length;o<s;++o)O+=N(g[o])}}m>0&&(k+="ÿÿ",w+="ÿÿ",A+="\0",C+="\0\0");var M="\0\0"+N(2*y)+N(b.range)+N(b.entry)+N(b.rangeShift)+k+"\0\0"+w+A+C+O,E="",P="";if(u>1){for(l+="\0\0\n"+(0,n.string32)(4+8*u+4+M.length),E="",a=0,i=c.length;a<i;a++){d=(f=c[a])[0];var R=(g=f[2])[0];for(o=1,s=g.length;o<s;++o)g[o]!==g[o-1]+1&&(p=f[0]+o-1,E+=(0,n.string32)(d)+(0,n.string32)(p)+(0,n.string32)(R),d=p+1,R=g[o]);E+=(0,n.string32)(d)+(0,n.string32)(f[1])+(0,n.string32)(R)}P="\0\f\0\0"+(0,n.string32)(E.length+16)+"\0\0\0\0"+(0,n.string32)(E.length/12)}return l+"\0"+N(M.length+4)+M+P+E}function q(e,t,r){r||(r={unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0});var a=0,i=0,s=0,c=0,u=null,l=0,h=-1;if(t){for(var f in t)if((u>(f|=0)||!u)&&(u=f),l<f&&(l=f),(h=(0,o.getUnicodeRangeFor)(f,h))<32)a|=1<<h;else if(h<64)i|=1<<h-32;else if(h<96)s|=1<<h-64;else{if(!(h<123))throw new n.FormatError("Unicode ranges Bits > 123 are reserved for internal usage");c|=1<<h-96}l>65535&&(l=65535)}else u=0,l=255;var d=e.bbox||[0,0,0,0],p=r.unitsPerEm||1/(e.fontMatrix||n.FONT_IDENTITY_MATRIX)[0],g=e.ascentScaled?1:p/k,v=r.ascent||Math.round(g*(e.ascent||d[3])),m=r.descent||Math.round(g*(e.descent||d[1]));m>0&&e.descent>0&&d[1]<0&&(m=-m);var y=r.yMax||v,b=-r.yMin||-m;return"\0$ô\0\0\0»\0\0\0»\0\0ß\x001\0\0\0\0"+String.fromCharCode(e.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,n.string32)(a)+(0,n.string32)(i)+(0,n.string32)(s)+(0,n.string32)(c)+"*21*"+N(e.italicAngle?1:0)+N(u||e.firstChar)+N(l||e.lastChar)+N(v)+N(m)+"\0d"+N(y)+N(b)+"\0\0\0\0\0\0\0\0"+N(e.xHeight)+N(e.capHeight)+N(0)+N(u||e.firstChar)+"\0"}function z(e){var t=Math.floor(65536*e.italicAngle);return"\0\0\0"+(0,n.string32)(t)+"\0\0\0\0"+(0,n.string32)(e.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function G(e){return e.replaceAll(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}function W(e,t){t||(t=[[],[]]);var r,n,a,i,o,s=[t[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||G(e),t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],c=[];for(r=0,n=s.length;r<n;r++){var u=[];for(a=0,i=(o=t[1][r]||s[r]).length;a<i;a++)u.push(N(o.charCodeAt(a)));c.push(u.join(""))}var l=[s,c],h=["\0","\0"],f=["\0\0","\0"],d=["\0\0","\t"],p=s.length*h.length,g="\0\0"+N(p)+N(12*p+6),v=0;for(r=0,n=h.length;r<n;r++){var m=l[r];for(a=0,i=m.length;a<i;a++)o=m[a],g+=h[r]+f[r]+d[r]+N(a)+N(o.length)+N(v),v+=o.length}return g+(s.join("")+c.join(""))}t.Font=function(){function e(t,r,a){var o;M(this,e),this.name=t,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 s=!!(a.flags&i.FontFlags.Serif);if(!s&&!a.isSimulatedFlags){var c,l=t.replaceAll(/[,_]/g,"-").split("-")[0],f=(0,u.getSerifFonts)(),d=x(l.split("+"));try{for(d.s();!(c=d.n()).done;)if(f[c.value]){s=!0;break}}catch(e){d.e(e)}finally{d.f()}}this.isSerifFont=s,this.isSymbolicFont=!!(a.flags&i.FontFlags.Symbolic),this.isMonospace=!!(a.flags&i.FontFlags.FixedPitch);var p=a.type,g=a.subtype;this.type=p,this.subtype=g,this.systemFontInfo=a.systemFontInfo;var v=t.match(/^InvalidPDFjsFont_(.*)_\d+$/);if(this.isInvalidPDFjsFont=!!v,this.isInvalidPDFjsFont?this.fallbackName=v[1]:this.isMonospace?this.fallbackName="monospace":this.isSerifFont?this.fallbackName="serif":this.fallbackName="sans-serif",null!==(o=this.systemFontInfo)&&void 0!==o&&o.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/k,this.ascent=a.ascent/k,this.descent=a.descent/k,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),!r||r.isEmpty)return r&&(0,n.warn)('Font file is empty in "'+t+'" ('+this.loadedName+")"),void this.fallbackToSystemFont(a);var y,w=function(e,t){var r,a,i=t.type,o=t.subtype,s=t.composite;return function(e){var t=e.peekBytes(4);return 65536===(0,m.readUint32)(t,0)||"true"===(0,n.bytesToString)(t)}(e)||B(e)?r=s?"CIDFontType2":"TrueType":function(e){var t=e.peekBytes(4);return"OTTO"===(0,n.bytesToString)(t)}(e)?r=s?"CIDFontType2":"OpenType":function(e){var t=e.peekBytes(2);return 37===t[0]&&33===t[1]||128===t[0]&&1===t[1]}(e)?r=s?"CIDFontType0":"MMType1"===i?"MMType1":"Type1":function(e){var t=e.peekBytes(4);return t[0]>=1&&t[3]>=1&&t[3]<=4}(e)?s?(r="CIDFontType0",a="CIDFontType0C"):(r="MMType1"===i?"MMType1":"Type1",a="Type1C"):((0,n.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."),r=i,a=o),[r,a]}(r,a),A=S(w,2);p=A[0],g=A[1],p===this.type&&g===this.subtype||(0,n.info)("Inconsistent font file Type/SubType, expected: ".concat(this.type,"/").concat(this.subtype," but found: ").concat(p,"/").concat(g,"."));try{switch(p){case"MMType1":(0,n.info)("MMType1 font ("+t+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";var C="Type1C"===g||"CIDFontType0C"===g?new h.CFFFont(r,a):new b.Type1Font(t,r,a);O(a),y=this.convert(t,C,a);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",y=this.checkAndRepair(t,r,a),this.isOpenType&&(O(a),p="OpenType");break;default:throw new n.FormatError("Font ".concat(p," is not supported"))}}catch(t){return(0,n.warn)(t),void this.fallbackToSystemFont(a)}F(a),this.data=y,this.type=p,this.subtype=g,this.fontMatrix=a.fontMatrix,this.widths=a.widths,this.defaultWidth=a.defaultWidth,this.toUnicode=a.toUnicode,this.seacMap=a.seacMap}else for(var I=0;I<256;I++)this.toFontChar[I]=this.differences[I]||a.defaultEncoding[I]}return P(e,[{key:"renderer",get:function(){var e=f.FontRendererFactory.create(this,i.SEAC_ANALYSIS_ENABLED);return(0,n.shadow)(this,"renderer",e)}},{key:"exportData",value:function(){var e,t,r,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0]?[].concat(A,C):A,a=Object.create(null),i=x(n);try{for(i.s();!(r=i.n()).done;)void 0!==(t=this[e=r.value])&&(a[e]=t)}catch(e){i.e(e)}finally{i.f()}return a}},{key:"fallbackToSystemFont",value:function(e){var t=this;this.missingFile=!0;var r=this.name,n=this.type,a=(0,i.normalizeFontName)(r),h=(0,u.getStdFontMap)(),f=(0,u.getNonStdFontMap)(),p=!!h[a],g=!(!f[a]||!h[f[a]]);a=h[a]||f[a]||a;var v=(0,d.getFontBasicMetrics)()[a];v&&(isNaN(this.ascent)&&(this.ascent=v.ascent/k),isNaN(this.descent)&&(this.descent=v.descent/k),isNaN(this.capHeight)&&(this.capHeight=v.capHeight/k)),this.bold=/bold/gi.test(a),this.italic=/oblique|italic/gi.test(a),this.black=/Black/g.test(r);var m=/Narrow/g.test(r);if(this.remeasure=(!p||m)&&Object.keys(this.widths).length>0,(p||g)&&"CIDFontType2"===n&&this.cidEncoding.startsWith("Identity-")){var y=e.cidToGidMap,b=[];if(L(b,(0,u.getGlyphMapForStandardFonts)()),/Arial-?Black/i.test(r)?L(b,(0,u.getSupplementalGlyphMapForArialBlack)()):/Calibri/i.test(r)&&L(b,(0,u.getSupplementalGlyphMapForCalibri)()),y){for(var w in b){var x=b[w];void 0!==y[x]&&(b[+w]=y[x])}y.length!==this.toUnicode.length&&e.hasIncludedToUnicodeMap&&this.toUnicode instanceof l.IdentityToUnicodeMap&&this.toUnicode.forEach((function(e,t){var r=b[e];void 0===y[r]&&(b[+e]=t)}))}this.toUnicode instanceof l.IdentityToUnicodeMap||this.toUnicode.forEach((function(e,t){b[+e]=t})),this.toFontChar=b,this.toUnicode=new l.ToUnicodeMap(b)}else if(/Symbol/i.test(a))this.toFontChar=_(c.SymbolSetEncoding,(0,s.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(a))this.toFontChar=_(c.ZapfDingbatsEncoding,(0,s.getDingbatsGlyphsUnicode)(),this.differences);else if(p){var S=_(this.defaultEncoding,(0,s.getGlyphsUnicode)(),this.differences);"CIDFontType2"!==n||this.cidEncoding.startsWith("Identity-")||this.toUnicode instanceof l.IdentityToUnicodeMap||this.toUnicode.forEach((function(e,t){S[+e]=t})),this.toFontChar=S}else{var A=(0,s.getGlyphsUnicode)(),C=[];this.toUnicode.forEach((function(e,r){if(!t.composite){var n=t.differences[e]||t.defaultEncoding[e],a=(0,o.getUnicodeForGlyph)(n,A);-1!==a&&(r=a)}C[+e]=r})),this.composite&&this.toUnicode instanceof l.IdentityToUnicodeMap&&/Tahoma|Verdana/i.test(r)&&L(C,(0,u.getGlyphMapForStandardFonts)()),this.toFontChar=C}F(e),this.loadedName=a.split("-")[0]}},{key:"checkAndRepair",value:function(e,t,r){var o,u,f=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function d(e,t){var r=Object.create(null);r["OS/2"]=null,r.cmap=null,r.head=null,r.hhea=null,r.hmtx=null,r.maxp=null,r.name=null,r.post=null;for(var n=0;n<t;n++){var a=m(e);f.includes(a.tag)&&0!==a.length&&(r[a.tag]=a)}return r}function m(e){var t=e.getString(4),r=e.getInt32()>>>0,n=e.getInt32()>>>0,a=e.getInt32()>>>0,i=e.pos;e.pos=e.start||0,e.skip(n);var o=e.getBytes(a);return e.pos=i,"head"===t&&(o[8]=o[9]=o[10]=o[11]=0,o[17]|=32),{tag:t,checksum:r,length:a,offset:n,data:o}}function b(e){return{version:e.getString(4),numTables:e.getUint16(),searchRange:e.getUint16(),entrySelector:e.getUint16(),rangeShift:e.getUint16()}}function w(e,t,r,n,a,i){var o={length:0,sizeOfInstructions:0};if(t<0||t>=e.length||r>e.length||r-t<=12)return o;var s=e.subarray(t,r),c=R(s[2],s[3]),u=R(s[4],s[5]),l=R(s[6],s[7]),h=R(s[8],s[9]);c>l&&(E(s,2,l),E(s,6,c)),u>h&&(E(s,4,h),E(s,8,u));var f=R(s[0],s[1]);if(f<0)return f<-1||(n.set(s,a),o.length=s.length),o;var d,p=10,g=0;for(d=0;d<f;d++)g=1+(s[p]<<8|s[p+1]),p+=2;var v=p,m=s[p]<<8|s[p+1];o.sizeOfInstructions=m;var y=p+=2+m,b=0;for(d=0;d<g;d++){var w=s[p++];192&w&&(s[p-1]=63&w);var k=2;2&w?k=1:16&w&&(k=0);var x=2;4&w?x=1:32&w&&(x=0);var S=k+x;if(b+=S,8&w){var A=s[p++];0===A&&(s[p-1]^=8),d+=A,b+=A*S}}if(0===b)return o;var C=p+b;return C>s.length?o:!i&&m>0?(n.set(s.subarray(0,v),a),n.set([0,0],a+v),n.set(s.subarray(y,C),a+v+2),C-=m,s.length-C>3&&(C=C+3&-4),o.length=C,o):s.length-C>3?(C=C+3&-4,n.set(s.subarray(0,C),a),o.length=C,o):(n.set(s,a),o.length=s.length,o)}function k(e){var r=(t.start||0)+e.offset;t.pos=r;var n=[[],[]],a=[],i=e.length,o=r+i;if(0!==t.getUint16()||i<6)return[n,a];var s,c,u=t.getUint16(),l=t.getUint16();for(s=0;s<u&&t.pos+12<=o;s++){var h={platform:t.getUint16(),encoding:t.getUint16(),language:t.getUint16(),name:t.getUint16(),length:t.getUint16(),offset:t.getUint16()};(j(h)||U(h))&&a.push(h)}for(s=0,c=a.length;s<c;s++){var f=a[s];if(!(f.length<=0)){var d=r+l+f.offset;if(!(d+f.length>o)){t.pos=d;var p=f.name;if(f.encoding){for(var g="",v=0,m=f.length;v<m;v+=2)g+=String.fromCharCode(t.getUint16());n[1][p]=g}else n[0][p]=t.getString(f.length)}}}return[n,a]}var A,C,F,I,M=[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 P(e,t){for(var r,a,i,o,s,c=e.data,u=0,l=0,h=0,f=[],d=[],p=[],g=t.tooComplexToFollowFunctions,v=!1,m=0,y=0,b=c.length;u<b;){var w=c[u++];if(64===w)if(a=c[u++],v||y)u+=a;else for(r=0;r<a;r++)f.push(c[u++]);else if(65===w)if(a=c[u++],v||y)u+=2*a;else for(r=0;r<a;r++)i=c[u++],f.push(i<<8|c[u++]);else if(176==(248&w))if(a=w-176+1,v||y)u+=a;else for(r=0;r<a;r++)f.push(c[u++]);else if(184==(248&w))if(a=w-184+1,v||y)u+=2*a;else for(r=0;r<a;r++)i=c[u++],f.push(i<<8|c[u++]);else if(43!==w||g)if(44!==w||g){if(45===w)if(v)v=!1,l=u;else{if(!(s=d.pop()))return(0,n.warn)("TT: ENDF bad stack"),void(t.hintsValid=!1);o=p.pop(),c=s.data,u=s.i,t.functionsStackDeltas[o]=f.length-s.stackTop}else if(137===w)(v||y)&&((0,n.warn)("TT: nested IDEFs not allowed"),g=!0),v=!0,h=u;else if(88===w)++m;else if(27===w)y=m;else if(89===w)y===m&&(y=0),--m;else if(28===w&&!v&&!y){var k=f.at(-1);k>0&&(u+=k-1)}}else(v||y)&&((0,n.warn)("TT: nested FDEFs not allowed"),g=!0),v=!0,h=u,o=f.pop(),t.functionsDefined[o]={data:c,i:u};else if(!v&&!y)if(o=f.at(-1),isNaN(o))(0,n.info)("TT: CALL empty stack (or invalid entry).");else if(t.functionsUsed[o]=!0,o in t.functionsStackDeltas){var x=f.length+t.functionsStackDeltas[o];if(x<0)return(0,n.warn)("TT: CALL invalid functions stack delta."),void(t.hintsValid=!1);f.length=x}else if(o in t.functionsDefined&&!p.includes(o)){if(d.push({data:c,i:u,stackTop:f.length-1}),p.push(o),!(s=t.functionsDefined[o]))return(0,n.warn)("TT: CALL non-existent function"),void(t.hintsValid=!1);c=s.data,u=s.i}if(!v&&!y){var S=0;for(w<=142?S=M[w]:w>=192&&w<=223?S=-1:w>=224&&(S=-2),w>=113&&w<=117&&(a=f.pop(),isNaN(a)||(S=2*-a));S<0&&f.length>0;)f.pop(),S++;for(;S>0;)f.push(NaN),S--}}t.tooComplexToFollowFunctions=g;var A=[c];u>c.length&&A.push(new Uint8Array(u-c.length)),h>l&&((0,n.warn)("TT: complementing a missing function tail"),A.push(new Uint8Array([34,45]))),function(e,t){if(t.length>1){var r,n,a=0;for(r=0,n=t.length;r<n;r++)a+=t[r].length;a=a+3&-4;var i=new Uint8Array(a),o=0;for(r=0,n=t.length;r<n;r++)i.set(t[r],o),o+=t[r].length;e.data=i,e.length=a}}(e,A)}if(B(t=new y.Stream(new Uint8Array(t.getBytes())))){var N=function(e,t){for(var r,a=function(e){var t=e.getString(4);(0,n.assert)("ttcf"===t,"Must be a TrueType Collection font.");for(var r=e.getUint16(),a=e.getUint16(),i=e.getInt32()>>>0,o=[],s=0;s<i;s++)o.push(e.getInt32()>>>0);var c={ttcTag:t,majorVersion:r,minorVersion:a,numFonts:i,offsetTable:o};switch(r){case 1:return c;case 2:return c.dsigTag=e.getInt32()>>>0,c.dsigLength=e.getInt32()>>>0,c.dsigOffset=e.getInt32()>>>0,c}throw new n.FormatError("Invalid TrueType Collection majorVersion: ".concat(r,"."))}(e),i=a.numFonts,o=a.offsetTable,s=t.split("+"),c=0;c<i;c++){e.pos=(e.start||0)+o[c];var u=b(e),l=d(e,u.numTables);if(!l.name)throw new n.FormatError('TrueType Collection font must contain a "name" table.');for(var h=S(k(l.name),1)[0],f=0,p=h.length;f<p;f++)for(var g=0,v=h[f].length;g<v;g++){var m,y=null===(m=h[f][g])||void 0===m?void 0:m.replaceAll(/\s/g,"");if(y){if(y===t)return{header:u,tables:l};if(!(s.length<2)){var w,A=x(s);try{for(A.s();!(w=A.n()).done;){var C=w.value;y===C&&(r={name:C,header:u,tables:l})}}catch(e){A.e(e)}finally{A.f()}}}}}if(r)return(0,n.warn)('TrueType Collection does not contain "'.concat(t,'" font, falling back to "').concat(r.name,'" font instead.')),{header:r.header,tables:r.tables};throw new n.FormatError('TrueType Collection does not contain "'.concat(t,'" font.'))}(t,this.name);A=N.header,C=N.tables}else A=b(t),C=d(t,A.numTables);var D=!C["CFF "];if(D){if(!C.loca)throw new n.FormatError('Required "loca" table is not found');C.glyf||((0,n.warn)('Required "glyf" table is not found -- trying to recover.'),C.glyf={tag:"glyf",data:new Uint8Array(0)}),this.isOpenType=!1}else{var L,_=r.composite&&((null===(L=r.cidToGidMap)||void 0===L?void 0:L.length)>0||!(r.cMap instanceof g.IdentityCMap));if("OTTO"===A.version&&!_||!C.head||!C.hhea||!C.maxp||!C.post)return I=new y.Stream(C["CFF "].data),F=new h.CFFFont(I,r),O(r),this.convert(e,F,r);delete C.glyf,delete C.loca,delete C.fpgm,delete C.prep,delete C["cvt "],this.isOpenType=!0}if(!C.maxp)throw new n.FormatError('Required "maxp" table is not found');t.pos=(t.start||0)+C.maxp.offset;var G=t.getInt32(),V=t.getUint16();if((null===(o=r.scaleFactors)||void 0===o?void 0:o.length)===V&&D){var K=r.scaleFactors,Y=T(C.head.data[50],C.head.data[51]),J=new p.GlyfTable({glyfTable:C.glyf.data,isGlyphLocationsLong:Y,locaTable:C.loca.data,numGlyphs:V});J.scale(K);var Z=J.write(),Q=Z.glyf,ee=Z.loca,te=Z.isLocationLong;C.glyf.data=Q,C.loca.data=ee,te!==!!Y&&(C.head.data[50]=0,C.head.data[51]=te?1:0);for(var re=C.hmtx.data,ne=0;ne<V;ne++){var ae=4*ne,ie=Math.round(K[ne]*T(re[ae],re[ae+1]));re[ae]=ie>>8&255,re[ae+1]=255&ie,E(re,ae+2,Math.round(K[ne]*R(re[ae+2],re[ae+3])))}}var oe=V+1,se=!0;oe>65535&&(se=!1,oe=V,(0,n.warn)("Not enough space in glyfs to duplicate first glyph."));var ce=0,ue=0;G>=65536&&C.maxp.length>=22&&(t.pos+=8,t.getUint16()>2&&(C.maxp.data[14]=0,C.maxp.data[15]=2),t.pos+=4,ce=t.getUint16(),t.pos+=4,ue=t.getUint16()),C.maxp.data[4]=oe>>8,C.maxp.data[5]=255&oe;var le=function(e,t,r,a){var i={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(e&&P(e,i),t&&P(t,i),e&&function(e,t){if(!e.tooComplexToFollowFunctions)if(e.functionsDefined.length>t)(0,n.warn)("TT: more functions defined than expected"),e.hintsValid=!1;else for(var r=0,a=e.functionsUsed.length;r<a;r++){if(r>t)return(0,n.warn)("TT: invalid function id: "+r),void(e.hintsValid=!1);if(e.functionsUsed[r]&&!e.functionsDefined[r])return(0,n.warn)("TT: undefined function: "+r),void(e.hintsValid=!1)}}(i,a),r&&1&r.length){var o=new Uint8Array(r.length+1);o.set(r.data),r.data=o}return i.hintsValid}(C.fpgm,C.prep,C["cvt "],ce);if(le||(delete C.fpgm,delete C.prep,delete C["cvt "]),function(e,t,r,a,i,o){if(t){e.pos=(e.start||0)+t.offset,e.pos+=4,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2;var s=e.getUint16();e.pos+=8,e.pos+=2;var c=e.getUint16();0!==s&&(2&T(a.data[44],a.data[45])||(t.data[22]=0,t.data[23]=0)),c>i&&((0,n.info)("The numOfMetrics (".concat(c,") should not be greater than the numGlyphs (").concat(i,").")),c=i,t.data[34]=(65280&c)>>8,t.data[35]=255&c);var u=i-c-(r.length-4*c>>1);if(u>0){var l=new Uint8Array(r.length+2*u);l.set(r.data),o&&(l[r.length]=r.data[2],l[r.length+1]=r.data[3]),r.data=l}}else r&&(r.data=null)}(t,C.hhea,C.hmtx,C.head,oe,se),!C.head)throw new n.FormatError('Required "head" table is not found');!function(e,t,r){var a=e.data,i=function(e,t,r,n){return(e<<24)+(t<<16)+(r<<8)+n}(a[0],a[1],a[2],a[3]);i>>16!=1&&((0,n.info)("Attempting to fix invalid version in head table: "+i),a[0]=0,a[1]=1,a[2]=0,a[3]=0);var o=T(a[50],a[51]);if(o<0||o>1){(0,n.info)("Attempting to fix invalid indexToLocFormat in head table: "+o);var s=t+1;if(r===s<<1)a[50]=0,a[51]=0;else{if(r!==s<<2)throw new n.FormatError("Could not fix indexToLocFormat: "+o);a[50]=0,a[51]=1}}}(C.head,V,D?C.loca.length:0);var he=Object.create(null);if(D){var fe=T(C.head.data[50],C.head.data[51]),de=function(e,t,r,n,a,i,o){var s,c,u;n?(s=4,c=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]},u=function(e,t,r){e[t]=r>>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}):(s=2,c=function(e,t){return e[t]<<9|e[t+1]<<1},u=function(e,t,r){e[t]=r>>9&255,e[t+1]=r>>1&255});var l=i?r+1:r,h=s*(1+l),f=new Uint8Array(h);f.set(e.data.subarray(0,h)),e.data=f;var d,p,g=t.data,v=g.length,m=new Uint8Array(v),y=[];for(d=0,p=0;d<r+1;d++,p+=s){var b=c(f,p);b>v&&(b=v),y.push({index:d,offset:b,endOffset:0})}for(y.sort((function(e,t){return e.offset-t.offset})),d=0;d<r;d++)y[d].endOffset=y[d+1].offset;for(y.sort((function(e,t){return e.index-t.index})),d=0;d<r;d++){var k=y[d],x=k.offset,S=k.endOffset;if(0!==x||0!==S)break;var A=y[d+1].offset;if(0!==A){y[d].endOffset=A;break}}var C=Object.create(null),O=0;for(u(f,0,O),d=0,p=s;d<r;d++,p+=s){var F=w(g,y[d].offset,y[d].endOffset,m,O,a),I=F.length;0===I&&(C[d]=!0),F.sizeOfInstructions>o&&(o=F.sizeOfInstructions),u(f,p,O+=I)}if(0===O){var T=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(d=0,p=s;d<l;d++,p+=s)u(f,p,T.length);t.data=T}else if(i){var M=c(f,s);m.length>M+O?t.data=m.subarray(0,M+O):(t.data=new Uint8Array(M+O),t.data.set(m.subarray(0,O))),t.data.set(m.subarray(0,M),O),u(e.data,f.length-s,O+M)}else t.data=m.subarray(0,O);return{missingGlyphs:C,maxSizeOfInstructions:o}}(C.loca,C.glyf,V,fe,le,se,ue);he=de.missingGlyphs,G>=65536&&C.maxp.length>=22&&(C.maxp.data[26]=de.maxSizeOfInstructions>>8,C.maxp.data[27]=255&de.maxSizeOfInstructions)}if(!C.hhea)throw new n.FormatError('Required "hhea" table is not found');0===C.hhea.data[10]&&0===C.hhea.data[11]&&(C.hhea.data[10]=255,C.hhea.data[11]=255);var pe={unitsPerEm:T(C.head.data[18],C.head.data[19]),yMax:R(C.head.data[42],C.head.data[43]),yMin:R(C.head.data[38],C.head.data[39]),ascent:R(C.hhea.data[4],C.hhea.data[5]),descent:R(C.hhea.data[6],C.hhea.data[7]),lineGap:R(C.hhea.data[8],C.hhea.data[9])};this.ascent=pe.ascent/pe.unitsPerEm,this.descent=pe.descent/pe.unitsPerEm,this.lineGap=pe.lineGap/pe.unitsPerEm,null!==(u=this.cssFontInfo)&&void 0!==u&&u.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,C.post&&function(e,r,a){var o=(t.start||0)+e.offset;t.pos=o;var s=o+e.length,c=t.getInt32();t.skip(28);var u,l,h=!0;switch(c){case 65536:u=i.MacStandardGlyphOrdering;break;case 131072:var f=t.getUint16();if(f!==a){h=!1;break}var d=[];for(l=0;l<f;++l){var p=t.getUint16();if(p>=32768){h=!1;break}d.push(p)}if(!h)break;for(var g=[],v=[];t.pos<s;){var m=t.getByte();for(v.length=m,l=0;l<m;++l)v[l]=String.fromCharCode(t.getByte());g.push(v.join(""))}for(u=[],l=0;l<f;++l){var y=d[l];y<258?u.push(i.MacStandardGlyphOrdering[y]):u.push(g[y-258])}break;case 196608:break;default:(0,n.warn)("Unknown/unsupported post table version "+c),h=!1,r.defaultEncoding&&(u=r.defaultEncoding)}r.glyphNames=u}(C.post,r,V),C.post={tag:"post",data:z(r)};var ge=[];function ve(e){return!he[e]}if(r.composite){var me=r.cidToGidMap||[],ye=0===me.length;r.cMap.forEach((function(e,t){if("string"==typeof t&&(t=$(e,t,!0)),t>65535)throw new n.FormatError("Max size of CID is 65,535");var r=-1;ye?r=t:void 0!==me[t]&&(r=me[t]),r>=0&&r<V&&ve(r)&&(ge[e]=r)}))}else{var be=function(e,t,r,a){if(!e)return(0,n.warn)("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var i,o=(t.start||0)+e.offset;t.pos=o,t.skip(2);for(var s,c=t.getUint16(),u=!1,l=0;l<c;l++){var h,f,d=t.getUint16(),p=t.getUint16(),g=t.getInt32()>>>0,v=!1;if((null===(h=s)||void 0===h?void 0:h.platformId)!==d||(null===(f=s)||void 0===f?void 0:f.encodingId)!==p){if(0!==d||0!==p&&1!==p&&3!==p)if(1===d&&0===p)v=!0;else if(3!==d||1!==p||!a&&s){if(r&&3===d&&0===p){v=!0;var m=!0;if(l<c-1){var y=t.peekBytes(2);T(y[0],y[1])<d&&(m=!1)}m&&(u=!0)}}else v=!0,r||(u=!0);else v=!0;if(v&&(s={platformId:d,encodingId:p,offset:g}),u)break}}if(s&&(t.pos=o+s.offset),!s||-1===t.peekByte())return(0,n.warn)("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var b,w,k=t.getUint16(),x=!1,S=[];if(0===k){for(t.skip(4),b=0;b<256;b++){var A=t.getByte();A&&S.push({charCode:b,glyphId:A})}x=!0}else if(2===k){t.skip(4);for(var C=[],O=0,F=0;F<256;F++){var I=t.getUint16()>>3;C.push(I),O=Math.max(I,O)}for(var M=[],E=0;E<=O;E++)M.push({firstCode:t.getUint16(),entryCount:t.getUint16(),idDelta:R(t.getByte(),t.getByte()),idRangePos:t.pos+t.getUint16()});for(var P=0;P<256;P++)if(0===C[P])t.pos=M[0].idRangePos+2*P,w=t.getUint16(),S.push({charCode:P,glyphId:w});else{var N=M[C[P]];for(b=0;b<N.entryCount;b++){var D=(P<<8)+b+N.firstCode;t.pos=N.idRangePos+2*b,0!==(w=t.getUint16())&&(w=(w+N.idDelta)%65536),S.push({charCode:D,glyphId:w})}}}else if(4===k){t.skip(4);var B=t.getUint16()>>1;t.skip(6);var L,_=[];for(L=0;L<B;L++)_.push({end:t.getUint16()});for(t.skip(2),L=0;L<B;L++)_[L].start=t.getUint16();for(L=0;L<B;L++)_[L].delta=t.getUint16();var j,U=0;for(L=0;L<B;L++){i=_[L];var $=t.getUint16();$?(j=($>>1)-(B-L),i.offsetIndex=j,U=Math.max(U,j+i.end-i.start+1)):i.offsetIndex=-1}var X=[];for(b=0;b<U;b++)X.push(t.getUint16());for(L=0;L<B;L++){o=(i=_[L]).start;var H=i.end,q=i.delta;for(j=i.offsetIndex,b=o;b<=H;b++)65535!==b&&(w=(w=j<0?b:X[j+b-o])+q&65535,S.push({charCode:b,glyphId:w}))}}else if(6===k){t.skip(4);var z=t.getUint16(),G=t.getUint16();for(b=0;b<G;b++){w=t.getUint16();var W=z+b;S.push({charCode:W,glyphId:w})}}else{if(12!==k)return(0,n.warn)("cmap table has unsupported format: "+k),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};t.skip(10);var V=t.getInt32()>>>0;for(b=0;b<V;b++)for(var K=t.getInt32()>>>0,Y=t.getInt32()>>>0,J=t.getInt32()>>>0,Z=K;Z<=Y;Z++)S.push({charCode:Z,glyphId:J++})}S.sort((function(e,t){return e.charCode-t.charCode}));for(var Q=1;Q<S.length;Q++)S[Q-1].charCode===S[Q].charCode&&(S.splice(Q,1),Q--);return{platformId:s.platformId,encodingId:s.encodingId,mappings:S,hasShortCmap:x}}(C.cmap,t,this.isSymbolicFont,r.hasEncoding),we=be.platformId,ke=be.encodingId,xe=be.mappings,Se=[],Ae=!1;if(!r.hasEncoding||"MacRomanEncoding"!==r.baseEncodingName&&"WinAnsiEncoding"!==r.baseEncodingName||(Se=(0,c.getEncoding)(r.baseEncodingName)),r.hasEncoding&&!this.isSymbolicFont&&(3===we&&1===ke||1===we&&0===ke))for(var Ce=(0,s.getGlyphsUnicode)(),Oe=0;Oe<256;Oe++){var Fe;if(Fe=void 0!==this.differences[Oe]?this.differences[Oe]:Se.length&&""!==Se[Oe]?Se[Oe]:c.StandardEncoding[Oe]){var Ie=(0,i.recoverGlyphName)(Fe,Ce),Te=void 0;if(3===we&&1===ke?Te=Ce[Ie]:1===we&&0===ke&&(Te=c.MacRomanEncoding.indexOf(Ie)),void 0===Te){if(!r.glyphNames&&r.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof l.IdentityToUnicodeMap)){var Me=this.toUnicode.get(Oe);Me&&(Te=Me.codePointAt(0))}if(void 0===Te)continue}var Ee,Pe=x(xe);try{for(Pe.s();!(Ee=Pe.n()).done;){var Re=Ee.value;if(Re.charCode===Te){ge[Oe]=Re.glyphId;break}}}catch(e){Pe.e(e)}finally{Pe.f()}}}else if(0===we){var Ne,De=x(xe);try{for(De.s();!(Ne=De.n()).done;){var Be=Ne.value;ge[Be.charCode]=Be.glyphId}}catch(e){De.e(e)}finally{De.f()}Ae=!0}else{var Le,_e=x(xe);try{for(_e.s();!(Le=_e.n()).done;){var je=Le.value,Ue=je.charCode;3===we&&Ue>=61440&&Ue<=61695&&(Ue&=255),ge[Ue]=je.glyphId}}catch(e){_e.e(e)}finally{_e.f()}}if(r.glyphNames&&(Se.length||this.differences.length))for(var $e=0;$e<256;++$e)if(Ae||void 0===ge[$e]){var Xe=this.differences[$e]||Se[$e];if(Xe){var He=r.glyphNames.indexOf(Xe);He>0&&ve(He)&&(ge[$e]=He)}}}0===ge.length&&(ge[0]=0);var qe=oe-1;if(se||(qe=0),!r.cssFontInfo){var ze=X(ge,ve,qe,this.toUnicode);this.toFontChar=ze.toFontChar,C.cmap={tag:"cmap",data:H(ze.charCodeToGlyphId,ze.toUnicodeExtraMap,oe)},C["OS/2"]&&function(e,t){t.pos=(t.start||0)+e.offset;var r=t.getUint16();t.skip(60);var n=t.getUint16();return!(r<4&&768&n||t.getUint16()>t.getUint16()||(t.skip(6),0===t.getUint16()||(e.data[8]=e.data[9]=0,0)))}(C["OS/2"],t)||(C["OS/2"]={tag:"OS/2",data:q(r,ze.charCodeToGlyphId,pe)})}if(!D)try{I=new y.Stream(C["CFF "].data),(F=new a.CFFParser(I,r,i.SEAC_ANALYSIS_ENABLED).parse()).duplicateFirstGlyph();var Ge=new a.CFFCompiler(F);C["CFF "].data=Ge.compile()}catch(e){(0,n.warn)("Failed to compile font "+r.loadedName)}if(C.name){var We=S(k(C.name),2),Ve=We[0],Ke=We[1];C.name.data=W(e,Ve),this.psName=Ve[0][6]||null,r.composite||function(e,t,r){if(!e.isInternalFont&&!e.hasIncludedToUnicodeMap&&!e.hasEncoding&&!(e.toUnicode instanceof l.IdentityToUnicodeMap)&&t&&0!==r.length&&e.defaultEncoding!==c.WinAnsiEncoding){var n,a=x(r);try{for(a.s();!(n=a.n()).done;)if(!U(n.value))return}catch(e){a.e(e)}finally{a.f()}var i=c.WinAnsiEncoding,o=[],u=(0,s.getGlyphsUnicode)();for(var h in i){var f=i[h];if(""!==f){var d=u[f];void 0!==d&&(o[h]=String.fromCharCode(d))}}o.length>0&&e.toUnicode.amend(o)}}(r,this.isSymbolicFont,Ke)}else C.name={tag:"name",data:W(this.name)};var Ye=new v.OpenTypeFileBuilder(A.version);for(var Je in C)Ye.addTable(Je,C[Je].data);return Ye.toArray()}},{key:"convert",value:function(e,t,r){r.fixedPitch=!1,r.builtInEncoding&&function(e,t){if(!e.isInternalFont&&!(e.hasIncludedToUnicodeMap||t===e.defaultEncoding||e.toUnicode instanceof l.IdentityToUnicodeMap)){var r=[],n=(0,s.getGlyphsUnicode)();for(var a in t)if(!e.hasEncoding||!e.baseEncodingName&&void 0===e.differences[a]){var i=t[a],c=(0,o.getUnicodeForGlyph)(i,n);-1!==c&&(r[a]=String.fromCharCode(c))}r.length>0&&e.toUnicode.amend(r)}}(r,r.builtInEncoding);var a=1;t instanceof h.CFFFont&&(a=t.numGlyphs-1);var u=t.getGlyphMapping(r),f=null,d=u,p=null;r.cssFontInfo||(f=X(u,t.hasGlyphId.bind(t),a,this.toUnicode),this.toFontChar=f.toFontChar,d=f.charCodeToGlyphId,p=f.toUnicodeExtraMap);var g=t.numGlyphs;function m(e,t){var r=null;for(var n in e)t===e[n]&&(r||(r=[])).push(0|n);return r}function y(e,t){for(var r in e)if(t===e[r])return 0|r;return f.charCodeToGlyphId[f.nextAvailableFontCharCode]=t,f.nextAvailableFontCharCode++}var b=t.seacs;if(f&&i.SEAC_ANALYSIS_ENABLED&&null!=b&&b.length){var w=r.fontMatrix||n.FONT_IDENTITY_MATRIX,k=t.getCharset(),S=Object.create(null);for(var A in b){var C=b[A|=0],O=c.StandardEncoding[C[2]],F=c.StandardEncoding[C[3]],I=k.indexOf(O),T=k.indexOf(F);if(!(I<0||T<0)){var M={x:C[0]*w[0]+C[1]*w[2]+w[4],y:C[0]*w[1]+C[1]*w[3]+w[5]},E=m(u,A);if(E){var P,R=x(E);try{for(R.s();!(P=R.n()).done;){var B=P.value,L=f.charCodeToGlyphId,_=y(L,I),j=y(L,T);S[B]={baseFontCharCode:_,accentFontCharCode:j,accentOffset:M}}}catch(e){R.e(e)}finally{R.f()}}}}r.seacMap=S}var U=1/(r.fontMatrix||n.FONT_IDENTITY_MATRIX)[0],$=new v.OpenTypeFileBuilder("OTTO");return $.addTable("CFF ",t.data),$.addTable("OS/2",q(r,d)),$.addTable("cmap",H(d,p,g)),$.addTable("head","\0\0\0\0\0\0\0\0\0\0_<õ\0\0"+D(U)+"\0\0\0\0\v~'\0\0\0\0\v~'\0\0"+D(r.descent)+"ÿ"+D(r.ascent)+N(r.italicAngle?2:0)+"\0\0\0\0\0\0\0"),$.addTable("hhea","\0\0\0"+D(r.ascent)+D(r.descent)+"\0\0ÿÿ\0\0\0\0\0\0"+D(r.capHeight)+D(Math.tan(r.italicAngle)*r.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+N(g)),$.addTable("hmtx",function(){for(var e=t.charstrings,r=t.cff?t.cff.widths:null,n="\0\0\0\0",a=1,i=g;a<i;a++){var o=0;if(e){var s=e[a-1];o="width"in s?s.width:0}else r&&(o=Math.ceil(r[a]||0));n+=N(o)+N(0)}return n}()),$.addTable("maxp","\0\0P\0"+N(g)),$.addTable("name",W(e)),$.addTable("post",z(r)),$.toArray()}},{key:"spaceWidth",get:function(){for(var e,t=0,r=["space","minus","one","i","I"];t<r.length;t++){var a=r[t];if(a in this.widths){e=this.widths[a];break}var i=(0,s.getGlyphsUnicode)()[a],o=0;if(this.composite&&this.cMap.contains(i)&&"string"==typeof(o=this.cMap.lookup(i))&&(o=$(i,o)),!o&&this.toUnicode&&(o=this.toUnicode.charCodeOf(i)),o<=0&&(o=i),e=this.widths[o])break}return(0,n.shadow)(this,"spaceWidth",e||this.defaultWidth)}},{key:"_charToGlyph",value:function(e){var t,r,a,i,s,c,u,l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this._glyphCache[e];if((null===(t=h)||void 0===t?void 0:t.isSpace)===l)return h;var f=e;null!==(r=this.cMap)&&void 0!==r&&r.contains(e)&&"string"==typeof(f=this.cMap.lookup(e))&&(f=$(e,f)),"number"!=typeof(c=this.widths[f])&&(c=this.defaultWidth);var d=null===(a=this.vmetrics)||void 0===a?void 0:a[f],p=this.toUnicode.get(e)||e;"number"==typeof p&&(p=String.fromCharCode(p));var g=void 0!==this.toFontChar[e];if(s=this.toFontChar[e]||e,this.missingFile){var v=this.differences[e]||this.defaultEncoding[e];".notdef"!==v&&""!==v||"Type1"!==this.type||(s=32),s=(0,o.mapSpecialUnicodeValues)(s)}this.isType3Font&&(u=s);var m=null;if(null!==(i=this.seacMap)&&void 0!==i&&i[e]){g=!0;var y=this.seacMap[e];s=y.baseFontCharCode,m={fontChar:String.fromCodePoint(y.accentFontCharCode),offset:y.accentOffset}}var b="";return"number"==typeof s&&(s<=1114111?b=String.fromCodePoint(s):(0,n.warn)("charToGlyph - invalid fontCharCode: ".concat(s))),h=new I(e,b,p,m,c,d,u,l,g),this._glyphCache[e]=h}},{key:"charsToGlyphs",value:function(e){var t=this._charsCache[e];if(t)return t;if(t=[],this.cMap)for(var r=Object.create(null),n=e.length,a=0;a<n;){this.cMap.readCharCode(e,a,r);var i=r.charcode,o=r.length;a+=o;var s=this._charToGlyph(i,1===o&&32===e.charCodeAt(a-1));t.push(s)}else for(var c=0,u=e.length;c<u;++c){var l=e.charCodeAt(c),h=this._charToGlyph(l,32===l);t.push(h)}return this._charsCache[e]=t}},{key:"getCharPositions",value:function(e){var t=[];if(this.cMap)for(var r=Object.create(null),n=0;n<e.length;){this.cMap.readCharCode(e,n,r);var a=r.length;t.push([n,n+a]),n+=a}else for(var i=0,o=e.length;i<o;++i)t.push([i,i+1]);return t}},{key:"glyphCacheValues",get:function(){return Object.values(this._glyphCache)}},{key:"encodeString",value:function(e){for(var t=this,r=[],n=[],a=function(){return r.length%2==1},i=this.toUnicode instanceof l.IdentityToUnicodeMap?function(e){return t.toUnicode.charCodeOf(e)}:function(e){return t.toUnicode.charCodeOf(String.fromCodePoint(e))},o=0,s=e.length;o<s;o++){var c=e.codePointAt(o);if(c>55295&&(c<57344||c>65533)&&o++,this.toUnicode){var u=i(c);if(-1!==u){a()&&(r.push(n.join("")),n.length=0);for(var h=(this.cMap?this.cMap.getCharCodeLength(u):1)-1;h>=0;h--)n.push(String.fromCharCode(u>>8*h&255));continue}}a()||(r.push(n.join("")),n.length=0),n.push(String.fromCodePoint(c))}return r.push(n.join("")),r}}]),e}(),t.ErrorFont=function(){function e(t){M(this,e),this.error=t,this.loadedName="g_font_error",this.missingFile=!0}return P(e,[{key:"charsToGlyphs",value:function(){return[]}},{key:"encodeString",value:function(e){return[e]}},{key:"exportData",value:function(){return{error:this.error}}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.CFFTopDict=t.CFFStrings=t.CFFStandardStrings=t.CFFPrivateDict=t.CFFParser=t.CFFIndex=t.CFFHeader=t.CFFFDSelect=t.CFFCompiler=t.CFFCharset=t.CFF=void 0,r(139),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(144),a=r(186),i=r(187),o=[".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"];t.CFFStandardStrings=o;var s=[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}],c=[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(e,t){e[t-2]=e[t-2]+e[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]-e[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]/e[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn:function(e,t){e[t-1]=-e[t-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]*e[t-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];t.CFFParser=function(){function e(t,r,n){M(this,e),this.bytes=t.getBytes(),this.properties=r,this.seacAnalysisEnabled=!!n}return P(e,[{key:"parse",value:function(){var e=this.properties,t=new u;this.cff=t;var r=this.parseHeader(),n=this.parseIndex(r.endPos),a=this.parseIndex(n.endPos),i=this.parseIndex(a.endPos),o=this.parseIndex(i.endPos),s=this.parseDict(a.obj.get(0)),c=this.createDict(m,s,t.strings);t.header=r.obj,t.names=this.parseNameIndex(n.obj),t.strings=this.parseStringIndex(i.obj),t.topDict=c,t.globalSubrIndex=o.obj,this.parsePrivateDict(t.topDict),t.isCIDFont=c.hasName("ROS");var l=c.getByName("CharStrings"),h=this.parseIndex(l).obj,f=c.getByName("FontMatrix");f&&(e.fontMatrix=f);var d,p,g=c.getByName("FontBBox");if(g&&(e.ascent=Math.max(g[3],g[1]),e.descent=Math.min(g[1],g[3]),e.ascentScaled=!0),t.isCIDFont){for(var v=this.parseIndex(c.getByName("FDArray")).obj,y=0,b=v.count;y<b;++y){var w=v.get(y),k=this.createDict(m,this.parseDict(w),t.strings);this.parsePrivateDict(k),t.fdArray.push(k)}p=null,d=this.parseCharsets(c.getByName("charset"),h.count,t.strings,!0),t.fdSelect=this.parseFDSelect(c.getByName("FDSelect"),h.count)}else d=this.parseCharsets(c.getByName("charset"),h.count,t.strings,!1),p=this.parseEncoding(c.getByName("Encoding"),e,t.strings,d.charset);t.charset=d,t.encoding=p;var x=this.parseCharStrings({charStrings:h,localSubrIndex:c.privateDict.subrsIndex,globalSubrIndex:o.obj,fdSelect:t.fdSelect,fdArray:t.fdArray,privateDict:c.privateDict});return t.charStrings=x.charStrings,t.seacs=x.seacs,t.widths=x.widths,t}},{key:"parseHeader",value:function(){for(var e=this.bytes,t=e.length,r=0;r<t&&1!==e[r];)++r;if(r>=t)throw new n.FormatError("Invalid CFF header");0!==r&&((0,n.info)("cff data is shifted"),e=e.subarray(r),this.bytes=e);var a=e[0],i=e[1],o=e[2],s=e[3];return{obj:new l(a,i,o,s),endPos:o}}},{key:"parseDict",value:function(e){var t=0;function r(){var r=e[t++];return 30===r?function(){for(var r="",n=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],a=e.length;t<a;){var i=e[t++],o=i>>4,s=15&i;if(15===o)break;if(r+=n[o],15===s)break;r+=n[s]}return parseFloat(r)}():28===r?r=((r=e[t++])<<24|e[t++]<<16)>>16:29===r?r=(r=(r=(r=e[t++])<<8|e[t++])<<8|e[t++])<<8|e[t++]:r>=32&&r<=246?r-139:r>=247&&r<=250?256*(r-247)+e[t++]+108:r>=251&&r<=254?-256*(r-251)-e[t++]-108:((0,n.warn)('CFFParser_parseDict: "'+r+'" is a reserved command.'),NaN)}var a=[],i=[];t=0;for(var o=e.length;t<o;){var s=e[t];s<=21?(12===s&&(s=s<<8|e[++t]),i.push([s,a]),a=[],++t):a.push(r())}return i}},{key:"parseIndex",value:function(e){var t,r,n=new p,a=this.bytes,i=a[e++]<<8|a[e++],o=[],s=e;if(0!==i){var c=a[e++],u=e+(i+1)*c-1;for(t=0,r=i+1;t<r;++t){for(var l=0,h=0;h<c;++h)l<<=8,l+=a[e++];o.push(u+l)}s=o[i]}for(t=0,r=o.length-1;t<r;++t){var f=o[t],d=o[t+1];n.add(a.subarray(f,d))}return{obj:n,endPos:s}}},{key:"parseNameIndex",value:function(e){for(var t=[],r=0,a=e.count;r<a;++r){var i=e.get(r);t.push((0,n.bytesToString)(i))}return t}},{key:"parseStringIndex",value:function(e){for(var t=new h,r=0,a=e.count;r<a;++r){var i=e.get(r);t.add((0,n.bytesToString)(i))}return t}},{key:"createDict",value:function(e,t,r){var n,a=new e(r),i=x(t);try{for(i.s();!(n=i.n()).done;){var o=S(n.value,2),s=o[0],c=o[1];a.setByKey(s,c)}}catch(e){i.e(e)}finally{i.f()}return a}},{key:"parseCharString",value:function(e,t,r,a){if(!t||e.callDepth>10)return!1;for(var i=e.stackSize,o=e.stack,u=t.length,l=0;l<u;){var h=t[l++],f=null;if(12===h){var d=t[l++];0===d?(t[l-2]=139,t[l-1]=22,i=0):f=c[d]}else if(28===h)o[i]=(t[l]<<24|t[l+1]<<16)>>16,l+=2,i++;else if(14===h){if(i>=4&&(i-=4,this.seacAnalysisEnabled))return e.seac=o.slice(i,i+4),!1;f=s[h]}else if(h>=32&&h<=246)o[i]=h-139,i++;else if(h>=247&&h<=254)o[i]=h<251?(h-247<<8)+t[l]+108:-(h-251<<8)-t[l]-108,l++,i++;else if(255===h)o[i]=(t[l]<<24|t[l+1]<<16|t[l+2]<<8|t[l+3])/65536,l+=4,i++;else if(19===h||20===h){if(e.hints+=i>>1,0===e.hints){t.copyWithin(l-1,l,-1),l-=1,u-=1;continue}l+=e.hints+7>>3,i%=2,f=s[h]}else{if(10===h||29===h){var p=10===h?r:a;if(!p)return f=s[h],(0,n.warn)("Missing subrsIndex for "+f.id),!1;var g=32768;p.count<1240?g=107:p.count<33900&&(g=1131);var v=o[--i]+g;if(v<0||v>=p.count||isNaN(v))return f=s[h],(0,n.warn)("Out of bounds subrIndex for "+f.id),!1;if(e.stackSize=i,e.callDepth++,!this.parseCharString(e,p.get(v),r,a))return!1;e.callDepth--,i=e.stackSize;continue}if(11===h)return e.stackSize=i,!0;if(0===h&&l===t.length)t[l-1]=14,f=s[14];else{if(9===h){t.copyWithin(l-1,l,-1),l-=1,u-=1;continue}f=s[h]}}if(f){if(f.stem&&(e.hints+=i>>1,3===h||23===h?e.hasVStems=!0:!e.hasVStems||1!==h&&18!==h||((0,n.warn)("CFF stem hints are in wrong order"),t[l-1]=1===h?3:23)),"min"in f&&!e.undefStack&&i<f.min)return(0,n.warn)("Not enough parameters for "+f.id+"; actual: "+i+", expected: "+f.min),0===i&&(t[l-1]=14,!0);e.firstStackClearing&&f.stackClearing&&(e.firstStackClearing=!1,(i-=f.min)>=2&&f.stem?i%=2:i>1&&(0,n.warn)("Found too many parameters for stack-clearing command"),i>0&&(e.width=o[i-1])),"stackDelta"in f?("stackFn"in f&&f.stackFn(o,i),i+=f.stackDelta):f.stackClearing?i=0:f.resetStack?(i=0,e.undefStack=!1):f.undefStack&&(i=0,e.undefStack=!0,e.firstStackClearing=!1)}}return u<t.length&&t.fill(14,u),e.stackSize=i,!0}},{key:"parseCharStrings",value:function(e){for(var t=e.charStrings,r=e.localSubrIndex,a=e.globalSubrIndex,i=e.fdSelect,o=e.fdArray,s=e.privateDict,c=[],u=[],l=t.count,h=0;h<l;h++){var f=t.get(h),d={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1},p=!0,g=null,v=s;if(i&&o.length){var m=i.getFDIndex(h);-1===m&&((0,n.warn)("Glyph index is not in fd select."),p=!1),m>=o.length&&((0,n.warn)("Invalid fd index for glyph index."),p=!1),p&&(g=(v=o[m].privateDict).subrsIndex)}else r&&(g=r);if(p&&(p=this.parseCharString(d,f,g,a)),null!==d.width){var y=v.getByName("nominalWidthX");u[h]=y+d.width}else{var b=v.getByName("defaultWidthX");u[h]=b}null!==d.seac&&(c[h]=d.seac),p||t.set(h,new Uint8Array([14]))}return{charStrings:t,seacs:c,widths:u}}},{key:"emptyPrivateDictionary",value:function(e){var t=this.createDict(w,[],e.strings);e.setByKey(18,[0,0]),e.privateDict=t}},{key:"parsePrivateDict",value:function(e){if(e.hasName("Private")){var t=e.getByName("Private");if(Array.isArray(t)&&2===t.length){var r=t[0],n=t[1];if(0===r||n>=this.bytes.length)this.emptyPrivateDictionary(e);else{var a=n+r,i=this.bytes.subarray(n,a),o=this.parseDict(i),s=this.createDict(w,o,e.strings);if(e.privateDict=s,0===s.getByName("ExpansionFactor")&&s.setByName("ExpansionFactor",.06),s.getByName("Subrs")){var c=s.getByName("Subrs"),u=n+c;if(0===c||u>=this.bytes.length)this.emptyPrivateDictionary(e);else{var l=this.parseIndex(u);s.subrsIndex=l.obj}}}}else e.removeByName("Private")}else this.emptyPrivateDictionary(e)}},{key:"parseCharsets",value:function(e,t,r,i){if(0===e)return new A(!0,k.ISO_ADOBE,a.ISOAdobeCharset);if(1===e)return new A(!0,k.EXPERT,a.ExpertCharset);if(2===e)return new A(!0,k.EXPERT_SUBSET,a.ExpertSubsetCharset);var o,s,c,u=this.bytes,l=e,h=u[e++],f=[i?0:".notdef"];switch(t-=1,h){case 0:for(c=0;c<t;c++)o=u[e++]<<8|u[e++],f.push(i?o:r.get(o));break;case 1:for(;f.length<=t;)for(o=u[e++]<<8|u[e++],s=u[e++],c=0;c<=s;c++)f.push(i?o++:r.get(o++));break;case 2:for(;f.length<=t;)for(o=u[e++]<<8|u[e++],s=u[e++]<<8|u[e++],c=0;c<=s;c++)f.push(i?o++:r.get(o++));break;default:throw new n.FormatError("Unknown charset format")}var d=e,p=u.subarray(l,d);return new A(!1,h,f,p)}},{key:"parseEncoding",value:function(e,t,r,a){var o,s,c,u=Object.create(null),l=this.bytes,h=!1,f=null;if(0===e||1===e){h=!0,o=e;var d=e?i.ExpertEncoding:i.StandardEncoding;for(s=0,c=a.length;s<c;s++){var p=d.indexOf(a[s]);-1!==p&&(u[p]=s)}}else{var g=e;switch(127&(o=l[e++])){case 0:var v=l[e++];for(s=1;s<=v;s++)u[l[e++]]=s;break;case 1:var m=l[e++],y=1;for(s=0;s<m;s++)for(var b=l[e++],w=l[e++],k=b;k<=b+w;k++)u[k]=y++;break;default:throw new n.FormatError("Unknown encoding format: ".concat(o," in CFF"))}var x=e;128&o&&(l[g]&=127,function(){var t=l[e++];for(s=0;s<t;s++){var n=l[e++],i=(l[e++]<<8)+(255&l[e++]);u[n]=a.indexOf(r.get(i))}}()),f=l.subarray(g,x)}return new C(h,o&=127,u,f)}},{key:"parseFDSelect",value:function(e,t){var r,a=this.bytes,i=a[e++],o=[];switch(i){case 0:for(r=0;r<t;++r){var s=a[e++];o.push(s)}break;case 3:var c=a[e++]<<8|a[e++];for(r=0;r<c;++r){var u=a[e++]<<8|a[e++];0===r&&0!==u&&((0,n.warn)("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),u=0);for(var l=a[e++],h=a[e]<<8|a[e+1],f=u;f<h;++f)o.push(l)}e+=2;break;default:throw new n.FormatError('parseFDSelect: Unknown format "'.concat(i,'".'))}if(o.length!==t)throw new n.FormatError("parseFDSelect: Invalid font data.");return new O(i,o)}}]),e}();var u=function(){function e(){M(this,e),this.header=null,this.names=[],this.topDict=null,this.strings=new h,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}return P(e,[{key:"duplicateFirstGlyph",value:function(){if(this.charStrings.count>=65535)(0,n.warn)("Not enough space in charstrings to duplicate first glyph.");else{var e=this.charStrings.get(0);this.charStrings.add(e),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}}},{key:"hasGlyphId",value:function(e){return!(e<0||e>=this.charStrings.count)&&this.charStrings.get(e).length>0}}]),e}();t.CFF=u;var l=P((function e(t,r,n,a){M(this,e),this.major=t,this.minor=r,this.hdrSize=n,this.offSize=a}));t.CFFHeader=l;var h=function(){function e(){M(this,e),this.strings=[]}return P(e,[{key:"get",value:function(e){return e>=0&&e<=390?o[e]:e-391<=this.strings.length?this.strings[e-391]:o[0]}},{key:"getSID",value:function(e){var t=o.indexOf(e);return-1!==t?t:-1!==(t=this.strings.indexOf(e))?t+391:-1}},{key:"add",value:function(e){this.strings.push(e)}},{key:"count",get:function(){return this.strings.length}}]),e}();t.CFFStrings=h;var p=function(){function e(){M(this,e),this.objects=[],this.length=0}return P(e,[{key:"add",value:function(e){this.length+=e.length,this.objects.push(e)}},{key:"set",value:function(e,t){this.length+=t.length-this.objects[e].length,this.objects[e]=t}},{key:"get",value:function(e){return this.objects[e]}},{key:"count",get:function(){return this.objects.length}}]),e}();t.CFFIndex=p;var g=function(){function e(t,r){M(this,e),this.keyToNameMap=t.keyToNameMap,this.nameToKeyMap=t.nameToKeyMap,this.defaults=t.defaults,this.types=t.types,this.opcodes=t.opcodes,this.order=t.order,this.strings=r,this.values=Object.create(null)}return P(e,[{key:"setByKey",value:function(e,t){if(!(e in this.keyToNameMap))return!1;if(0===t.length)return!0;var r,a=x(t);try{for(a.s();!(r=a.n()).done;){var i=r.value;if(isNaN(i))return(0,n.warn)('Invalid CFFDict value: "'.concat(t,'" for key "').concat(e,'".')),!0}}catch(e){a.e(e)}finally{a.f()}var o=this.types[e];return"num"!==o&&"sid"!==o&&"offset"!==o||(t=t[0]),this.values[e]=t,!0}},{key:"setByName",value:function(e,t){if(!(e in this.nameToKeyMap))throw new n.FormatError('Invalid dictionary name "'.concat(e,'"'));this.values[this.nameToKeyMap[e]]=t}},{key:"hasName",value:function(e){return this.nameToKeyMap[e]in this.values}},{key:"getByName",value:function(e){if(!(e in this.nameToKeyMap))throw new n.FormatError("Invalid dictionary name ".concat(e,'"'));var t=this.nameToKeyMap[e];return t in this.values?this.values[t]:this.defaults[t]}},{key:"removeByName",value:function(e){delete this.values[this.nameToKeyMap[e]]}}],[{key:"createTables",value:function(e){var t,r={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},n=x(e);try{for(n.s();!(t=n.n()).done;){var a=t.value,i=Array.isArray(a[0])?(a[0][0]<<8)+a[0][1]:a[0];r.keyToNameMap[i]=a[1],r.nameToKeyMap[a[1]]=i,r.types[i]=a[2],r.defaults[i]=a[3],r.opcodes[i]=Array.isArray(a[0])?a[0]:[a[0]],r.order.push(i)}}catch(e){n.e(e)}finally{n.f()}return r}}]),e}(),v=[[[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]],m=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[t.tables,e])).privateDict=null,r}return y(t,e),P(t,null,[{key:"tables",get:function(){return(0,n.shadow)(this,"tables",this.createTables(v))}}]),t}(g);t.CFFTopDict=m;var b=[[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]],w=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[t.tables,e])).subrsIndex=null,r}return y(t,e),P(t,null,[{key:"tables",get:function(){return(0,n.shadow)(this,"tables",this.createTables(b))}}]),t}(g);t.CFFPrivateDict=w;var k={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},A=P((function e(t,r,n,a){M(this,e),this.predefined=t,this.format=r,this.charset=n,this.raw=a}));t.CFFCharset=A;var C=P((function e(t,r,n,a){M(this,e),this.predefined=t,this.format=r,this.encoding=n,this.raw=a})),O=function(){function e(t,r){M(this,e),this.format=t,this.fdSelect=r}return P(e,[{key:"getFDIndex",value:function(e){return e<0||e>=this.fdSelect.length?-1:this.fdSelect[e]}}]),e}();t.CFFFDSelect=O;var F=function(){function e(){M(this,e),this.offsets=Object.create(null)}return P(e,[{key:"isTracking",value:function(e){return e in this.offsets}},{key:"track",value:function(e,t){if(e in this.offsets)throw new n.FormatError("Already tracking location of ".concat(e));this.offsets[e]=t}},{key:"offset",value:function(e){for(var t in this.offsets)this.offsets[t]+=e}},{key:"setEntryLocation",value:function(e,t,r){if(!(e in this.offsets))throw new n.FormatError("Not tracking location of ".concat(e));for(var a=r.data,i=this.offsets[e],o=0,s=t.length;o<s;++o){var c=5*o+i,u=c+1,l=c+2,h=c+3,f=c+4;if(29!==a[c]||0!==a[u]||0!==a[l]||0!==a[h]||0!==a[f])throw new n.FormatError("writing to an offset that is not empty");var d=t[o];a[c]=29,a[u]=d>>24&255,a[l]=d>>16&255,a[h]=d>>8&255,a[f]=255&d}}}]),e}(),I=function(){function e(t){M(this,e),this.cff=t}return P(e,[{key:"compile",value:function(){var e=this.cff,t={data:[],length:0,add:function(e){try{var t;(t=this.data).push.apply(t,f(e))}catch(t){this.data=this.data.concat(e)}this.length=this.data.length}},r=this.compileHeader(e.header);t.add(r);var a=this.compileNameIndex(e.names);if(t.add(a),e.isCIDFont&&e.topDict.hasName("FontMatrix")){var i=e.topDict.getByName("FontMatrix");e.topDict.removeByName("FontMatrix");var o,s=x(e.fdArray);try{for(s.s();!(o=s.n()).done;){var c=o.value,u=i.slice(0);c.hasName("FontMatrix")&&(u=n.Util.transform(u,c.getByName("FontMatrix"))),c.setByName("FontMatrix",u)}}catch(e){s.e(e)}finally{s.f()}}var l=e.topDict.getByName("XUID");(null==l?void 0:l.length)>16&&e.topDict.removeByName("XUID"),e.topDict.setByName("charset",0);var h=this.compileTopDicts([e.topDict],t.length,e.isCIDFont);t.add(h.output);var d=h.trackers[0],p=this.compileStringIndex(e.strings.strings);t.add(p);var g=this.compileIndex(e.globalSubrIndex);if(t.add(g),e.encoding&&e.topDict.hasName("Encoding"))if(e.encoding.predefined)d.setEntryLocation("Encoding",[e.encoding.format],t);else{var v=this.compileEncoding(e.encoding);d.setEntryLocation("Encoding",[t.length],t),t.add(v)}var m=this.compileCharset(e.charset,e.charStrings.count,e.strings,e.isCIDFont);d.setEntryLocation("charset",[t.length],t),t.add(m);var y=this.compileCharStrings(e.charStrings);if(d.setEntryLocation("CharStrings",[t.length],t),t.add(y),e.isCIDFont){d.setEntryLocation("FDSelect",[t.length],t);var b=this.compileFDSelect(e.fdSelect);t.add(b),h=this.compileTopDicts(e.fdArray,t.length,!0),d.setEntryLocation("FDArray",[t.length],t),t.add(h.output);var w=h.trackers;this.compilePrivateDicts(e.fdArray,w,t)}return this.compilePrivateDicts([e.topDict],[d],t),t.add([0]),t.data}},{key:"encodeNumber",value:function(e){return Number.isInteger(e)?this.encodeInteger(e):this.encodeFloat(e)}},{key:"encodeFloat",value:function(t){var r=t.toString(),n=e.EncodeFloatRegExp.exec(r);if(n){var a=parseFloat("1e"+((n[2]?+n[2]:0)+n[1].length));r=(Math.round(t*a)/a).toString()}var i,o,s="";for(i=0,o=r.length;i<o;++i){var c=r[i];s+="e"===c?"-"===r[++i]?"c":"b":"."===c?"a":"-"===c?"e":c}var u=[30];for(i=0,o=(s+=1&s.length?"f":"ff").length;i<o;i+=2)u.push(parseInt(s.substring(i,i+2),16));return u}},{key:"encodeInteger",value:function(e){return e>=-107&&e<=107?[e+139]:e>=108&&e<=1131?[247+((e-=108)>>8),255&e]:e>=-1131&&e<=-108?[251+((e=-e-108)>>8),255&e]:e>=-32768&&e<=32767?[28,e>>8&255,255&e]:[29,e>>24&255,e>>16&255,e>>8&255,255&e]}},{key:"compileHeader",value:function(e){return[e.major,e.minor,4,e.offSize]}},{key:"compileNameIndex",value:function(e){var t,r=new p,a=x(e);try{for(a.s();!(t=a.n()).done;){for(var i=t.value,o=Math.min(i.length,127),s=new Array(o),c=0;c<o;c++){var u=i[c];(u<"!"||u>"~"||"["===u||"]"===u||"("===u||")"===u||"{"===u||"}"===u||"<"===u||">"===u||"/"===u||"%"===u)&&(u="_"),s[c]=u}""===(s=s.join(""))&&(s="Bad_Font_Name"),r.add((0,n.stringToBytes)(s))}}catch(e){a.e(e)}finally{a.f()}return this.compileIndex(r)}},{key:"compileTopDicts",value:function(e,t,r){var n,a=[],i=new p,o=x(e);try{for(o.s();!(n=o.n()).done;){var s=n.value;r&&(s.removeByName("CIDFontVersion"),s.removeByName("CIDFontRevision"),s.removeByName("CIDFontType"),s.removeByName("CIDCount"),s.removeByName("UIDBase"));var c=new F,u=this.compileDict(s,c);a.push(c),i.add(u),c.offset(t)}}catch(e){o.e(e)}finally{o.f()}return{trackers:a,output:i=this.compileIndex(i,a)}}},{key:"compilePrivateDicts",value:function(e,t,r){for(var a=0,i=e.length;a<i;++a){var o=e[a],s=o.privateDict;if(!s||!o.hasName("Private"))throw new n.FormatError("There must be a private dictionary.");var c=new F,u=this.compileDict(s,c),l=r.length;if(c.offset(l),u.length||(l=0),t[a].setEntryLocation("Private",[u.length,l],r),r.add(u),s.subrsIndex&&s.hasName("Subrs")){var h=this.compileIndex(s.subrsIndex);c.setEntryLocation("Subrs",[u.length],r),r.add(h)}}}},{key:"compileDict",value:function(e,t){var r,a=[],i=x(e.order);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o in e.values){var s=e.values[o],c=e.types[o];if(Array.isArray(c)||(c=[c]),Array.isArray(s)||(s=[s]),0!==s.length){for(var u=0,l=c.length;u<l;++u){var h=c[u],d=s[u];switch(h){case"num":case"sid":a.push.apply(a,f(this.encodeNumber(d)));break;case"offset":var p=e.keyToNameMap[o];t.isTracking(p)||t.track(p,a.length),a.push(29,0,0,0,0);break;case"array":case"delta":a.push.apply(a,f(this.encodeNumber(d)));for(var g=1,v=s.length;g<v;++g)a.push.apply(a,f(this.encodeNumber(s[g])));break;default:throw new n.FormatError("Unknown data type of ".concat(h))}}a.push.apply(a,f(e.opcodes[o]))}}}}catch(e){i.e(e)}finally{i.f()}return a}},{key:"compileStringIndex",value:function(e){var t,r=new p,a=x(e);try{for(a.s();!(t=a.n()).done;){var i=t.value;r.add((0,n.stringToBytes)(i))}}catch(e){a.e(e)}finally{a.f()}return this.compileIndex(r)}},{key:"compileCharStrings",value:function(e){for(var t=new p,r=0;r<e.count;r++){var n=e.get(r);0!==n.length?t.add(n):t.add(new Uint8Array([139,14]))}return this.compileIndex(t)}},{key:"compileCharset",value:function(e,t,r,a){var i,o=t-1;if(a)i=new Uint8Array([2,0,0,o>>8&255,255&o]);else{(i=new Uint8Array(1+2*o))[0]=0;for(var s=0,c=e.charset.length,u=!1,l=1;l<i.length;l+=2){var h=0;if(s<c){var f=e.charset[s++];-1===(h=r.getSID(f))&&(h=0,u||(u=!0,(0,n.warn)("Couldn't find ".concat(f," in CFF strings"))))}i[l]=h>>8&255,i[l+1]=255&h}}return this.compileTypedArray(i)}},{key:"compileEncoding",value:function(e){return this.compileTypedArray(e.raw)}},{key:"compileFDSelect",value:function(e){var t,r,n=e.format;switch(n){case 0:for((t=new Uint8Array(1+e.fdSelect.length))[0]=n,r=0;r<e.fdSelect.length;r++)t[r+1]=e.fdSelect[r];break;case 3:var a=e.fdSelect[0],i=[n,0,0,0,0,a];for(r=1;r<e.fdSelect.length;r++){var o=e.fdSelect[r];o!==a&&(i.push(r>>8&255,255&r,o),a=o)}var s=(i.length-3)/3;i[1]=s>>8&255,i[2]=255&s,i.push(r>>8&255,255&r),t=new Uint8Array(i)}return this.compileTypedArray(t)}},{key:"compileTypedArray",value:function(e){return Array.from(e)}},{key:"compileIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.objects,n=r.length;if(0===n)return[0,0];var a,i,o=[n>>8&255,255&n],s=1;for(a=0;a<n;++a)s+=r[a].length;i=s<256?1:s<65536?2:s<16777216?3:4,o.push(i);var c=1;for(a=0;a<n+1;a++)1===i?o.push(255&c):2===i?o.push(c>>8&255,255&c):3===i?o.push(c>>16&255,c>>8&255,255&c):o.push(c>>>24&255,c>>16&255,c>>8&255,255&c),r[a]&&(c+=r[a].length);for(a=0;a<n;a++)t[a]&&t[a].offset(o.length),o.push.apply(o,f(r[a]));return o}}],[{key:"EncodeFloatRegExp",get:function(){return(0,n.shadow)(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}}]),e}();t.CFFCompiler=I},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ISOAdobeCharset=t.ExpertSubsetCharset=t.ExpertCharset=void 0,t.ISOAdobeCharset=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],t.ExpertCharset=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],t.ExpertSubsetCharset=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"]},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ZapfDingbatsEncoding=t.WinAnsiEncoding=t.SymbolSetEncoding=t.StandardEncoding=t.MacRomanEncoding=t.ExpertEncoding=void 0,t.getEncoding=function(e){switch(e){case"WinAnsiEncoding":return o;case"StandardEncoding":return i;case"MacRomanEncoding":return a;case"SymbolSetEncoding":return s;case"ZapfDingbatsEncoding":return c;case"ExpertEncoding":return r;case"MacExpertEncoding":return n;default:return null}};var r=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];t.ExpertEncoding=r;var n=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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","","","",""],a=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];t.MacRomanEncoding=a;var i=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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","","","",""];t.StandardEncoding=i;var o=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];t.WinAnsiEncoding=o;var s=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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",""];t.SymbolSetEncoding=s;var c=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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",""];t.ZapfDingbatsEncoding=c},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.SEAC_ANALYSIS_ENABLED=t.MacStandardGlyphOrdering=t.FontFlags=void 0,t.normalizeFontName=function(e){return e.replaceAll(/[,_]/g,"-").replaceAll(/\s/g,"")},t.recoverGlyphName=c,t.type1FontGlyphMapping=function(e,t,r){var i,o,u,l=Object.create(null),h=!!(e.flags&s.Symbolic);if(e.isInternalFont)for(u=t,o=0;o<u.length;o++)i=r.indexOf(u[o]),l[o]=i>=0?i:0;else if(e.baseEncodingName)for(u=(0,n.getEncoding)(e.baseEncodingName),o=0;o<u.length;o++)i=r.indexOf(u[o]),l[o]=i>=0?i:0;else if(h)for(o in t)l[o]=t[o];else for(u=n.StandardEncoding,o=0;o<u.length;o++)i=r.indexOf(u[o]),l[o]=i>=0?i:0;var f,d=e.differences;if(d)for(o in d){var p=d[o];if(-1===(i=r.indexOf(p))){f||(f=(0,a.getGlyphsUnicode)());var g=c(p,f);g!==p&&(i=r.indexOf(g))}l[o]=i>=0?i:0}return l},r(157);var n=r(187),a=r(189),i=r(190),o=r(144);t.SEAC_ANALYSIS_ENABLED=!0;var s={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};function c(e,t){if(void 0!==t[e])return e;var r=(0,i.getUnicodeForGlyph)(e,t);if(-1!==r)for(var n in t)if(t[n]===r)return n;return(0,o.info)("Unable to recover a standard glyph name for: "+e),e}t.FontFlags=s,t.MacStandardGlyphOrdering=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"]},function(e,t,r){r.r(t),r.d(t,{getDingbatsGlyphsUnicode:function(){return i},getGlyphsUnicode:function(){return a}});var n=r(149),a=(0,n.getLookupTableFactory)((function(e){e.A=65,e.AE=198,e.AEacute=508,e.AEmacron=482,e.AEsmall=63462,e.Aacute=193,e.Aacutesmall=63457,e.Abreve=258,e.Abreveacute=7854,e.Abrevecyrillic=1232,e.Abrevedotbelow=7862,e.Abrevegrave=7856,e.Abrevehookabove=7858,e.Abrevetilde=7860,e.Acaron=461,e.Acircle=9398,e.Acircumflex=194,e.Acircumflexacute=7844,e.Acircumflexdotbelow=7852,e.Acircumflexgrave=7846,e.Acircumflexhookabove=7848,e.Acircumflexsmall=63458,e.Acircumflextilde=7850,e.Acute=63177,e.Acutesmall=63412,e.Acyrillic=1040,e.Adblgrave=512,e.Adieresis=196,e.Adieresiscyrillic=1234,e.Adieresismacron=478,e.Adieresissmall=63460,e.Adotbelow=7840,e.Adotmacron=480,e.Agrave=192,e.Agravesmall=63456,e.Ahookabove=7842,e.Aiecyrillic=1236,e.Ainvertedbreve=514,e.Alpha=913,e.Alphatonos=902,e.Amacron=256,e.Amonospace=65313,e.Aogonek=260,e.Aring=197,e.Aringacute=506,e.Aringbelow=7680,e.Aringsmall=63461,e.Asmall=63329,e.Atilde=195,e.Atildesmall=63459,e.Aybarmenian=1329,e.B=66,e.Bcircle=9399,e.Bdotaccent=7682,e.Bdotbelow=7684,e.Becyrillic=1041,e.Benarmenian=1330,e.Beta=914,e.Bhook=385,e.Blinebelow=7686,e.Bmonospace=65314,e.Brevesmall=63220,e.Bsmall=63330,e.Btopbar=386,e.C=67,e.Caarmenian=1342,e.Cacute=262,e.Caron=63178,e.Caronsmall=63221,e.Ccaron=268,e.Ccedilla=199,e.Ccedillaacute=7688,e.Ccedillasmall=63463,e.Ccircle=9400,e.Ccircumflex=264,e.Cdot=266,e.Cdotaccent=266,e.Cedillasmall=63416,e.Chaarmenian=1353,e.Cheabkhasiancyrillic=1212,e.Checyrillic=1063,e.Chedescenderabkhasiancyrillic=1214,e.Chedescendercyrillic=1206,e.Chedieresiscyrillic=1268,e.Cheharmenian=1347,e.Chekhakassiancyrillic=1227,e.Cheverticalstrokecyrillic=1208,e.Chi=935,e.Chook=391,e.Circumflexsmall=63222,e.Cmonospace=65315,e.Coarmenian=1361,e.Csmall=63331,e.D=68,e.DZ=497,e.DZcaron=452,e.Daarmenian=1332,e.Dafrican=393,e.Dcaron=270,e.Dcedilla=7696,e.Dcircle=9401,e.Dcircumflexbelow=7698,e.Dcroat=272,e.Ddotaccent=7690,e.Ddotbelow=7692,e.Decyrillic=1044,e.Deicoptic=1006,e.Delta=8710,e.Deltagreek=916,e.Dhook=394,e.Dieresis=63179,e.DieresisAcute=63180,e.DieresisGrave=63181,e.Dieresissmall=63400,e.Digammagreek=988,e.Djecyrillic=1026,e.Dlinebelow=7694,e.Dmonospace=65316,e.Dotaccentsmall=63223,e.Dslash=272,e.Dsmall=63332,e.Dtopbar=395,e.Dz=498,e.Dzcaron=453,e.Dzeabkhasiancyrillic=1248,e.Dzecyrillic=1029,e.Dzhecyrillic=1039,e.E=69,e.Eacute=201,e.Eacutesmall=63465,e.Ebreve=276,e.Ecaron=282,e.Ecedillabreve=7708,e.Echarmenian=1333,e.Ecircle=9402,e.Ecircumflex=202,e.Ecircumflexacute=7870,e.Ecircumflexbelow=7704,e.Ecircumflexdotbelow=7878,e.Ecircumflexgrave=7872,e.Ecircumflexhookabove=7874,e.Ecircumflexsmall=63466,e.Ecircumflextilde=7876,e.Ecyrillic=1028,e.Edblgrave=516,e.Edieresis=203,e.Edieresissmall=63467,e.Edot=278,e.Edotaccent=278,e.Edotbelow=7864,e.Efcyrillic=1060,e.Egrave=200,e.Egravesmall=63464,e.Eharmenian=1335,e.Ehookabove=7866,e.Eightroman=8551,e.Einvertedbreve=518,e.Eiotifiedcyrillic=1124,e.Elcyrillic=1051,e.Elevenroman=8554,e.Emacron=274,e.Emacronacute=7702,e.Emacrongrave=7700,e.Emcyrillic=1052,e.Emonospace=65317,e.Encyrillic=1053,e.Endescendercyrillic=1186,e.Eng=330,e.Enghecyrillic=1188,e.Enhookcyrillic=1223,e.Eogonek=280,e.Eopen=400,e.Epsilon=917,e.Epsilontonos=904,e.Ercyrillic=1056,e.Ereversed=398,e.Ereversedcyrillic=1069,e.Escyrillic=1057,e.Esdescendercyrillic=1194,e.Esh=425,e.Esmall=63333,e.Eta=919,e.Etarmenian=1336,e.Etatonos=905,e.Eth=208,e.Ethsmall=63472,e.Etilde=7868,e.Etildebelow=7706,e.Euro=8364,e.Ezh=439,e.Ezhcaron=494,e.Ezhreversed=440,e.F=70,e.Fcircle=9403,e.Fdotaccent=7710,e.Feharmenian=1366,e.Feicoptic=996,e.Fhook=401,e.Fitacyrillic=1138,e.Fiveroman=8548,e.Fmonospace=65318,e.Fourroman=8547,e.Fsmall=63334,e.G=71,e.GBsquare=13191,e.Gacute=500,e.Gamma=915,e.Gammaafrican=404,e.Gangiacoptic=1002,e.Gbreve=286,e.Gcaron=486,e.Gcedilla=290,e.Gcircle=9404,e.Gcircumflex=284,e.Gcommaaccent=290,e.Gdot=288,e.Gdotaccent=288,e.Gecyrillic=1043,e.Ghadarmenian=1346,e.Ghemiddlehookcyrillic=1172,e.Ghestrokecyrillic=1170,e.Gheupturncyrillic=1168,e.Ghook=403,e.Gimarmenian=1331,e.Gjecyrillic=1027,e.Gmacron=7712,e.Gmonospace=65319,e.Grave=63182,e.Gravesmall=63328,e.Gsmall=63335,e.Gsmallhook=667,e.Gstroke=484,e.H=72,e.H18533=9679,e.H18543=9642,e.H18551=9643,e.H22073=9633,e.HPsquare=13259,e.Haabkhasiancyrillic=1192,e.Hadescendercyrillic=1202,e.Hardsigncyrillic=1066,e.Hbar=294,e.Hbrevebelow=7722,e.Hcedilla=7720,e.Hcircle=9405,e.Hcircumflex=292,e.Hdieresis=7718,e.Hdotaccent=7714,e.Hdotbelow=7716,e.Hmonospace=65320,e.Hoarmenian=1344,e.Horicoptic=1e3,e.Hsmall=63336,e.Hungarumlaut=63183,e.Hungarumlautsmall=63224,e.Hzsquare=13200,e.I=73,e.IAcyrillic=1071,e.IJ=306,e.IUcyrillic=1070,e.Iacute=205,e.Iacutesmall=63469,e.Ibreve=300,e.Icaron=463,e.Icircle=9406,e.Icircumflex=206,e.Icircumflexsmall=63470,e.Icyrillic=1030,e.Idblgrave=520,e.Idieresis=207,e.Idieresisacute=7726,e.Idieresiscyrillic=1252,e.Idieresissmall=63471,e.Idot=304,e.Idotaccent=304,e.Idotbelow=7882,e.Iebrevecyrillic=1238,e.Iecyrillic=1045,e.Ifraktur=8465,e.Igrave=204,e.Igravesmall=63468,e.Ihookabove=7880,e.Iicyrillic=1048,e.Iinvertedbreve=522,e.Iishortcyrillic=1049,e.Imacron=298,e.Imacroncyrillic=1250,e.Imonospace=65321,e.Iniarmenian=1339,e.Iocyrillic=1025,e.Iogonek=302,e.Iota=921,e.Iotaafrican=406,e.Iotadieresis=938,e.Iotatonos=906,e.Ismall=63337,e.Istroke=407,e.Itilde=296,e.Itildebelow=7724,e.Izhitsacyrillic=1140,e.Izhitsadblgravecyrillic=1142,e.J=74,e.Jaarmenian=1345,e.Jcircle=9407,e.Jcircumflex=308,e.Jecyrillic=1032,e.Jheharmenian=1355,e.Jmonospace=65322,e.Jsmall=63338,e.K=75,e.KBsquare=13189,e.KKsquare=13261,e.Kabashkircyrillic=1184,e.Kacute=7728,e.Kacyrillic=1050,e.Kadescendercyrillic=1178,e.Kahookcyrillic=1219,e.Kappa=922,e.Kastrokecyrillic=1182,e.Kaverticalstrokecyrillic=1180,e.Kcaron=488,e.Kcedilla=310,e.Kcircle=9408,e.Kcommaaccent=310,e.Kdotbelow=7730,e.Keharmenian=1364,e.Kenarmenian=1343,e.Khacyrillic=1061,e.Kheicoptic=998,e.Khook=408,e.Kjecyrillic=1036,e.Klinebelow=7732,e.Kmonospace=65323,e.Koppacyrillic=1152,e.Koppagreek=990,e.Ksicyrillic=1134,e.Ksmall=63339,e.L=76,e.LJ=455,e.LL=63167,e.Lacute=313,e.Lambda=923,e.Lcaron=317,e.Lcedilla=315,e.Lcircle=9409,e.Lcircumflexbelow=7740,e.Lcommaaccent=315,e.Ldot=319,e.Ldotaccent=319,e.Ldotbelow=7734,e.Ldotbelowmacron=7736,e.Liwnarmenian=1340,e.Lj=456,e.Ljecyrillic=1033,e.Llinebelow=7738,e.Lmonospace=65324,e.Lslash=321,e.Lslashsmall=63225,e.Lsmall=63340,e.M=77,e.MBsquare=13190,e.Macron=63184,e.Macronsmall=63407,e.Macute=7742,e.Mcircle=9410,e.Mdotaccent=7744,e.Mdotbelow=7746,e.Menarmenian=1348,e.Mmonospace=65325,e.Msmall=63341,e.Mturned=412,e.Mu=924,e.N=78,e.NJ=458,e.Nacute=323,e.Ncaron=327,e.Ncedilla=325,e.Ncircle=9411,e.Ncircumflexbelow=7754,e.Ncommaaccent=325,e.Ndotaccent=7748,e.Ndotbelow=7750,e.Nhookleft=413,e.Nineroman=8552,e.Nj=459,e.Njecyrillic=1034,e.Nlinebelow=7752,e.Nmonospace=65326,e.Nowarmenian=1350,e.Nsmall=63342,e.Ntilde=209,e.Ntildesmall=63473,e.Nu=925,e.O=79,e.OE=338,e.OEsmall=63226,e.Oacute=211,e.Oacutesmall=63475,e.Obarredcyrillic=1256,e.Obarreddieresiscyrillic=1258,e.Obreve=334,e.Ocaron=465,e.Ocenteredtilde=415,e.Ocircle=9412,e.Ocircumflex=212,e.Ocircumflexacute=7888,e.Ocircumflexdotbelow=7896,e.Ocircumflexgrave=7890,e.Ocircumflexhookabove=7892,e.Ocircumflexsmall=63476,e.Ocircumflextilde=7894,e.Ocyrillic=1054,e.Odblacute=336,e.Odblgrave=524,e.Odieresis=214,e.Odieresiscyrillic=1254,e.Odieresissmall=63478,e.Odotbelow=7884,e.Ogoneksmall=63227,e.Ograve=210,e.Ogravesmall=63474,e.Oharmenian=1365,e.Ohm=8486,e.Ohookabove=7886,e.Ohorn=416,e.Ohornacute=7898,e.Ohorndotbelow=7906,e.Ohorngrave=7900,e.Ohornhookabove=7902,e.Ohorntilde=7904,e.Ohungarumlaut=336,e.Oi=418,e.Oinvertedbreve=526,e.Omacron=332,e.Omacronacute=7762,e.Omacrongrave=7760,e.Omega=8486,e.Omegacyrillic=1120,e.Omegagreek=937,e.Omegaroundcyrillic=1146,e.Omegatitlocyrillic=1148,e.Omegatonos=911,e.Omicron=927,e.Omicrontonos=908,e.Omonospace=65327,e.Oneroman=8544,e.Oogonek=490,e.Oogonekmacron=492,e.Oopen=390,e.Oslash=216,e.Oslashacute=510,e.Oslashsmall=63480,e.Osmall=63343,e.Ostrokeacute=510,e.Otcyrillic=1150,e.Otilde=213,e.Otildeacute=7756,e.Otildedieresis=7758,e.Otildesmall=63477,e.P=80,e.Pacute=7764,e.Pcircle=9413,e.Pdotaccent=7766,e.Pecyrillic=1055,e.Peharmenian=1354,e.Pemiddlehookcyrillic=1190,e.Phi=934,e.Phook=420,e.Pi=928,e.Piwrarmenian=1363,e.Pmonospace=65328,e.Psi=936,e.Psicyrillic=1136,e.Psmall=63344,e.Q=81,e.Qcircle=9414,e.Qmonospace=65329,e.Qsmall=63345,e.R=82,e.Raarmenian=1356,e.Racute=340,e.Rcaron=344,e.Rcedilla=342,e.Rcircle=9415,e.Rcommaaccent=342,e.Rdblgrave=528,e.Rdotaccent=7768,e.Rdotbelow=7770,e.Rdotbelowmacron=7772,e.Reharmenian=1360,e.Rfraktur=8476,e.Rho=929,e.Ringsmall=63228,e.Rinvertedbreve=530,e.Rlinebelow=7774,e.Rmonospace=65330,e.Rsmall=63346,e.Rsmallinverted=641,e.Rsmallinvertedsuperior=694,e.S=83,e.SF010000=9484,e.SF020000=9492,e.SF030000=9488,e.SF040000=9496,e.SF050000=9532,e.SF060000=9516,e.SF070000=9524,e.SF080000=9500,e.SF090000=9508,e.SF100000=9472,e.SF110000=9474,e.SF190000=9569,e.SF200000=9570,e.SF210000=9558,e.SF220000=9557,e.SF230000=9571,e.SF240000=9553,e.SF250000=9559,e.SF260000=9565,e.SF270000=9564,e.SF280000=9563,e.SF360000=9566,e.SF370000=9567,e.SF380000=9562,e.SF390000=9556,e.SF400000=9577,e.SF410000=9574,e.SF420000=9568,e.SF430000=9552,e.SF440000=9580,e.SF450000=9575,e.SF460000=9576,e.SF470000=9572,e.SF480000=9573,e.SF490000=9561,e.SF500000=9560,e.SF510000=9554,e.SF520000=9555,e.SF530000=9579,e.SF540000=9578,e.Sacute=346,e.Sacutedotaccent=7780,e.Sampigreek=992,e.Scaron=352,e.Scarondotaccent=7782,e.Scaronsmall=63229,e.Scedilla=350,e.Schwa=399,e.Schwacyrillic=1240,e.Schwadieresiscyrillic=1242,e.Scircle=9416,e.Scircumflex=348,e.Scommaaccent=536,e.Sdotaccent=7776,e.Sdotbelow=7778,e.Sdotbelowdotaccent=7784,e.Seharmenian=1357,e.Sevenroman=8550,e.Shaarmenian=1351,e.Shacyrillic=1064,e.Shchacyrillic=1065,e.Sheicoptic=994,e.Shhacyrillic=1210,e.Shimacoptic=1004,e.Sigma=931,e.Sixroman=8549,e.Smonospace=65331,e.Softsigncyrillic=1068,e.Ssmall=63347,e.Stigmagreek=986,e.T=84,e.Tau=932,e.Tbar=358,e.Tcaron=356,e.Tcedilla=354,e.Tcircle=9417,e.Tcircumflexbelow=7792,e.Tcommaaccent=354,e.Tdotaccent=7786,e.Tdotbelow=7788,e.Tecyrillic=1058,e.Tedescendercyrillic=1196,e.Tenroman=8553,e.Tetsecyrillic=1204,e.Theta=920,e.Thook=428,e.Thorn=222,e.Thornsmall=63486,e.Threeroman=8546,e.Tildesmall=63230,e.Tiwnarmenian=1359,e.Tlinebelow=7790,e.Tmonospace=65332,e.Toarmenian=1337,e.Tonefive=444,e.Tonesix=388,e.Tonetwo=423,e.Tretroflexhook=430,e.Tsecyrillic=1062,e.Tshecyrillic=1035,e.Tsmall=63348,e.Twelveroman=8555,e.Tworoman=8545,e.U=85,e.Uacute=218,e.Uacutesmall=63482,e.Ubreve=364,e.Ucaron=467,e.Ucircle=9418,e.Ucircumflex=219,e.Ucircumflexbelow=7798,e.Ucircumflexsmall=63483,e.Ucyrillic=1059,e.Udblacute=368,e.Udblgrave=532,e.Udieresis=220,e.Udieresisacute=471,e.Udieresisbelow=7794,e.Udieresiscaron=473,e.Udieresiscyrillic=1264,e.Udieresisgrave=475,e.Udieresismacron=469,e.Udieresissmall=63484,e.Udotbelow=7908,e.Ugrave=217,e.Ugravesmall=63481,e.Uhookabove=7910,e.Uhorn=431,e.Uhornacute=7912,e.Uhorndotbelow=7920,e.Uhorngrave=7914,e.Uhornhookabove=7916,e.Uhorntilde=7918,e.Uhungarumlaut=368,e.Uhungarumlautcyrillic=1266,e.Uinvertedbreve=534,e.Ukcyrillic=1144,e.Umacron=362,e.Umacroncyrillic=1262,e.Umacrondieresis=7802,e.Umonospace=65333,e.Uogonek=370,e.Upsilon=933,e.Upsilon1=978,e.Upsilonacutehooksymbolgreek=979,e.Upsilonafrican=433,e.Upsilondieresis=939,e.Upsilondieresishooksymbolgreek=980,e.Upsilonhooksymbol=978,e.Upsilontonos=910,e.Uring=366,e.Ushortcyrillic=1038,e.Usmall=63349,e.Ustraightcyrillic=1198,e.Ustraightstrokecyrillic=1200,e.Utilde=360,e.Utildeacute=7800,e.Utildebelow=7796,e.V=86,e.Vcircle=9419,e.Vdotbelow=7806,e.Vecyrillic=1042,e.Vewarmenian=1358,e.Vhook=434,e.Vmonospace=65334,e.Voarmenian=1352,e.Vsmall=63350,e.Vtilde=7804,e.W=87,e.Wacute=7810,e.Wcircle=9420,e.Wcircumflex=372,e.Wdieresis=7812,e.Wdotaccent=7814,e.Wdotbelow=7816,e.Wgrave=7808,e.Wmonospace=65335,e.Wsmall=63351,e.X=88,e.Xcircle=9421,e.Xdieresis=7820,e.Xdotaccent=7818,e.Xeharmenian=1341,e.Xi=926,e.Xmonospace=65336,e.Xsmall=63352,e.Y=89,e.Yacute=221,e.Yacutesmall=63485,e.Yatcyrillic=1122,e.Ycircle=9422,e.Ycircumflex=374,e.Ydieresis=376,e.Ydieresissmall=63487,e.Ydotaccent=7822,e.Ydotbelow=7924,e.Yericyrillic=1067,e.Yerudieresiscyrillic=1272,e.Ygrave=7922,e.Yhook=435,e.Yhookabove=7926,e.Yiarmenian=1349,e.Yicyrillic=1031,e.Yiwnarmenian=1362,e.Ymonospace=65337,e.Ysmall=63353,e.Ytilde=7928,e.Yusbigcyrillic=1130,e.Yusbigiotifiedcyrillic=1132,e.Yuslittlecyrillic=1126,e.Yuslittleiotifiedcyrillic=1128,e.Z=90,e.Zaarmenian=1334,e.Zacute=377,e.Zcaron=381,e.Zcaronsmall=63231,e.Zcircle=9423,e.Zcircumflex=7824,e.Zdot=379,e.Zdotaccent=379,e.Zdotbelow=7826,e.Zecyrillic=1047,e.Zedescendercyrillic=1176,e.Zedieresiscyrillic=1246,e.Zeta=918,e.Zhearmenian=1338,e.Zhebrevecyrillic=1217,e.Zhecyrillic=1046,e.Zhedescendercyrillic=1174,e.Zhedieresiscyrillic=1244,e.Zlinebelow=7828,e.Zmonospace=65338,e.Zsmall=63354,e.Zstroke=437,e.a=97,e.aabengali=2438,e.aacute=225,e.aadeva=2310,e.aagujarati=2694,e.aagurmukhi=2566,e.aamatragurmukhi=2622,e.aarusquare=13059,e.aavowelsignbengali=2494,e.aavowelsigndeva=2366,e.aavowelsigngujarati=2750,e.abbreviationmarkarmenian=1375,e.abbreviationsigndeva=2416,e.abengali=2437,e.abopomofo=12570,e.abreve=259,e.abreveacute=7855,e.abrevecyrillic=1233,e.abrevedotbelow=7863,e.abrevegrave=7857,e.abrevehookabove=7859,e.abrevetilde=7861,e.acaron=462,e.acircle=9424,e.acircumflex=226,e.acircumflexacute=7845,e.acircumflexdotbelow=7853,e.acircumflexgrave=7847,e.acircumflexhookabove=7849,e.acircumflextilde=7851,e.acute=180,e.acutebelowcmb=791,e.acutecmb=769,e.acutecomb=769,e.acutedeva=2388,e.acutelowmod=719,e.acutetonecmb=833,e.acyrillic=1072,e.adblgrave=513,e.addakgurmukhi=2673,e.adeva=2309,e.adieresis=228,e.adieresiscyrillic=1235,e.adieresismacron=479,e.adotbelow=7841,e.adotmacron=481,e.ae=230,e.aeacute=509,e.aekorean=12624,e.aemacron=483,e.afii00208=8213,e.afii08941=8356,e.afii10017=1040,e.afii10018=1041,e.afii10019=1042,e.afii10020=1043,e.afii10021=1044,e.afii10022=1045,e.afii10023=1025,e.afii10024=1046,e.afii10025=1047,e.afii10026=1048,e.afii10027=1049,e.afii10028=1050,e.afii10029=1051,e.afii10030=1052;e.afii10031=1053,e.afii10032=1054,e.afii10033=1055,e.afii10034=1056,e.afii10035=1057,e.afii10036=1058,e.afii10037=1059,e.afii10038=1060,e.afii10039=1061,e.afii10040=1062,e.afii10041=1063,e.afii10042=1064,e.afii10043=1065,e.afii10044=1066,e.afii10045=1067,e.afii10046=1068,e.afii10047=1069,e.afii10048=1070,e.afii10049=1071,e.afii10050=1168,e.afii10051=1026,e.afii10052=1027,e.afii10053=1028,e.afii10054=1029,e.afii10055=1030,e.afii10056=1031,e.afii10057=1032,e.afii10058=1033,e.afii10059=1034,e.afii10060=1035,e.afii10061=1036,e.afii10062=1038,e.afii10063=63172,e.afii10064=63173,e.afii10065=1072,e.afii10066=1073,e.afii10067=1074,e.afii10068=1075,e.afii10069=1076,e.afii10070=1077,e.afii10071=1105,e.afii10072=1078,e.afii10073=1079,e.afii10074=1080,e.afii10075=1081,e.afii10076=1082,e.afii10077=1083,e.afii10078=1084,e.afii10079=1085,e.afii10080=1086,e.afii10081=1087,e.afii10082=1088,e.afii10083=1089,e.afii10084=1090,e.afii10085=1091,e.afii10086=1092,e.afii10087=1093,e.afii10088=1094,e.afii10089=1095,e.afii10090=1096,e.afii10091=1097,e.afii10092=1098,e.afii10093=1099,e.afii10094=1100,e.afii10095=1101,e.afii10096=1102,e.afii10097=1103,e.afii10098=1169,e.afii10099=1106,e.afii10100=1107,e.afii10101=1108,e.afii10102=1109,e.afii10103=1110,e.afii10104=1111,e.afii10105=1112,e.afii10106=1113,e.afii10107=1114,e.afii10108=1115,e.afii10109=1116,e.afii10110=1118,e.afii10145=1039,e.afii10146=1122,e.afii10147=1138,e.afii10148=1140,e.afii10192=63174,e.afii10193=1119,e.afii10194=1123,e.afii10195=1139,e.afii10196=1141,e.afii10831=63175,e.afii10832=63176,e.afii10846=1241,e.afii299=8206,e.afii300=8207,e.afii301=8205,e.afii57381=1642,e.afii57388=1548,e.afii57392=1632,e.afii57393=1633,e.afii57394=1634,e.afii57395=1635,e.afii57396=1636,e.afii57397=1637,e.afii57398=1638,e.afii57399=1639,e.afii57400=1640,e.afii57401=1641,e.afii57403=1563,e.afii57407=1567,e.afii57409=1569,e.afii57410=1570,e.afii57411=1571,e.afii57412=1572,e.afii57413=1573,e.afii57414=1574,e.afii57415=1575,e.afii57416=1576,e.afii57417=1577,e.afii57418=1578,e.afii57419=1579,e.afii57420=1580,e.afii57421=1581,e.afii57422=1582,e.afii57423=1583,e.afii57424=1584,e.afii57425=1585,e.afii57426=1586,e.afii57427=1587,e.afii57428=1588,e.afii57429=1589,e.afii57430=1590,e.afii57431=1591,e.afii57432=1592,e.afii57433=1593,e.afii57434=1594,e.afii57440=1600,e.afii57441=1601,e.afii57442=1602,e.afii57443=1603,e.afii57444=1604,e.afii57445=1605,e.afii57446=1606,e.afii57448=1608,e.afii57449=1609,e.afii57450=1610,e.afii57451=1611,e.afii57452=1612,e.afii57453=1613,e.afii57454=1614,e.afii57455=1615,e.afii57456=1616,e.afii57457=1617,e.afii57458=1618,e.afii57470=1607,e.afii57505=1700,e.afii57506=1662,e.afii57507=1670,e.afii57508=1688,e.afii57509=1711,e.afii57511=1657,e.afii57512=1672,e.afii57513=1681,e.afii57514=1722,e.afii57519=1746,e.afii57534=1749,e.afii57636=8362,e.afii57645=1470,e.afii57658=1475,e.afii57664=1488,e.afii57665=1489,e.afii57666=1490,e.afii57667=1491,e.afii57668=1492,e.afii57669=1493,e.afii57670=1494,e.afii57671=1495,e.afii57672=1496,e.afii57673=1497,e.afii57674=1498,e.afii57675=1499,e.afii57676=1500,e.afii57677=1501,e.afii57678=1502,e.afii57679=1503,e.afii57680=1504,e.afii57681=1505,e.afii57682=1506,e.afii57683=1507,e.afii57684=1508,e.afii57685=1509,e.afii57686=1510,e.afii57687=1511,e.afii57688=1512,e.afii57689=1513,e.afii57690=1514,e.afii57694=64298,e.afii57695=64299,e.afii57700=64331,e.afii57705=64287,e.afii57716=1520,e.afii57717=1521,e.afii57718=1522,e.afii57723=64309,e.afii57793=1460,e.afii57794=1461,e.afii57795=1462,e.afii57796=1467,e.afii57797=1464,e.afii57798=1463,e.afii57799=1456,e.afii57800=1458,e.afii57801=1457,e.afii57802=1459,e.afii57803=1474,e.afii57804=1473,e.afii57806=1465,e.afii57807=1468,e.afii57839=1469,e.afii57841=1471,e.afii57842=1472,e.afii57929=700,e.afii61248=8453,e.afii61289=8467,e.afii61352=8470,e.afii61573=8236,e.afii61574=8237,e.afii61575=8238,e.afii61664=8204,e.afii63167=1645,e.afii64937=701,e.agrave=224,e.agujarati=2693,e.agurmukhi=2565,e.ahiragana=12354,e.ahookabove=7843,e.aibengali=2448,e.aibopomofo=12574,e.aideva=2320,e.aiecyrillic=1237,e.aigujarati=2704,e.aigurmukhi=2576,e.aimatragurmukhi=2632,e.ainarabic=1593,e.ainfinalarabic=65226,e.aininitialarabic=65227,e.ainmedialarabic=65228,e.ainvertedbreve=515,e.aivowelsignbengali=2504,e.aivowelsigndeva=2376,e.aivowelsigngujarati=2760,e.akatakana=12450,e.akatakanahalfwidth=65393,e.akorean=12623,e.alef=1488,e.alefarabic=1575,e.alefdageshhebrew=64304,e.aleffinalarabic=65166,e.alefhamzaabovearabic=1571,e.alefhamzaabovefinalarabic=65156,e.alefhamzabelowarabic=1573,e.alefhamzabelowfinalarabic=65160,e.alefhebrew=1488,e.aleflamedhebrew=64335,e.alefmaddaabovearabic=1570,e.alefmaddaabovefinalarabic=65154,e.alefmaksuraarabic=1609,e.alefmaksurafinalarabic=65264,e.alefmaksurainitialarabic=65267,e.alefmaksuramedialarabic=65268,e.alefpatahhebrew=64302,e.alefqamatshebrew=64303,e.aleph=8501,e.allequal=8780,e.alpha=945,e.alphatonos=940,e.amacron=257,e.amonospace=65345,e.ampersand=38,e.ampersandmonospace=65286,e.ampersandsmall=63270,e.amsquare=13250,e.anbopomofo=12578,e.angbopomofo=12580,e.angbracketleft=12296,e.angbracketright=12297,e.angkhankhuthai=3674,e.angle=8736,e.anglebracketleft=12296,e.anglebracketleftvertical=65087,e.anglebracketright=12297,e.anglebracketrightvertical=65088,e.angleleft=9001,e.angleright=9002,e.angstrom=8491,e.anoteleia=903,e.anudattadeva=2386,e.anusvarabengali=2434,e.anusvaradeva=2306,e.anusvaragujarati=2690,e.aogonek=261,e.apaatosquare=13056,e.aparen=9372,e.apostrophearmenian=1370,e.apostrophemod=700,e.apple=63743,e.approaches=8784,e.approxequal=8776,e.approxequalorimage=8786,e.approximatelyequal=8773,e.araeaekorean=12686,e.araeakorean=12685,e.arc=8978,e.arighthalfring=7834,e.aring=229,e.aringacute=507,e.aringbelow=7681,e.arrowboth=8596,e.arrowdashdown=8675,e.arrowdashleft=8672,e.arrowdashright=8674,e.arrowdashup=8673,e.arrowdblboth=8660,e.arrowdbldown=8659,e.arrowdblleft=8656,e.arrowdblright=8658,e.arrowdblup=8657,e.arrowdown=8595,e.arrowdownleft=8601,e.arrowdownright=8600,e.arrowdownwhite=8681,e.arrowheaddownmod=709,e.arrowheadleftmod=706,e.arrowheadrightmod=707,e.arrowheadupmod=708,e.arrowhorizex=63719,e.arrowleft=8592,e.arrowleftdbl=8656,e.arrowleftdblstroke=8653,e.arrowleftoverright=8646,e.arrowleftwhite=8678,e.arrowright=8594,e.arrowrightdblstroke=8655,e.arrowrightheavy=10142,e.arrowrightoverleft=8644,e.arrowrightwhite=8680,e.arrowtableft=8676,e.arrowtabright=8677,e.arrowup=8593,e.arrowupdn=8597,e.arrowupdnbse=8616,e.arrowupdownbase=8616,e.arrowupleft=8598,e.arrowupleftofdown=8645,e.arrowupright=8599,e.arrowupwhite=8679,e.arrowvertex=63718,e.asciicircum=94,e.asciicircummonospace=65342,e.asciitilde=126,e.asciitildemonospace=65374,e.ascript=593,e.ascriptturned=594,e.asmallhiragana=12353,e.asmallkatakana=12449,e.asmallkatakanahalfwidth=65383,e.asterisk=42,e.asteriskaltonearabic=1645,e.asteriskarabic=1645,e.asteriskmath=8727,e.asteriskmonospace=65290,e.asterisksmall=65121,e.asterism=8258,e.asuperior=63209,e.asymptoticallyequal=8771,e.at=64,e.atilde=227,e.atmonospace=65312,e.atsmall=65131,e.aturned=592,e.aubengali=2452,e.aubopomofo=12576,e.audeva=2324,e.augujarati=2708,e.augurmukhi=2580,e.aulengthmarkbengali=2519,e.aumatragurmukhi=2636,e.auvowelsignbengali=2508,e.auvowelsigndeva=2380,e.auvowelsigngujarati=2764,e.avagrahadeva=2365,e.aybarmenian=1377,e.ayin=1506,e.ayinaltonehebrew=64288,e.ayinhebrew=1506,e.b=98,e.babengali=2476,e.backslash=92,e.backslashmonospace=65340,e.badeva=2348,e.bagujarati=2732,e.bagurmukhi=2604,e.bahiragana=12400,e.bahtthai=3647,e.bakatakana=12496,e.bar=124,e.barmonospace=65372,e.bbopomofo=12549,e.bcircle=9425,e.bdotaccent=7683,e.bdotbelow=7685,e.beamedsixteenthnotes=9836,e.because=8757,e.becyrillic=1073,e.beharabic=1576,e.behfinalarabic=65168,e.behinitialarabic=65169,e.behiragana=12409,e.behmedialarabic=65170,e.behmeeminitialarabic=64671,e.behmeemisolatedarabic=64520,e.behnoonfinalarabic=64621,e.bekatakana=12505,e.benarmenian=1378,e.bet=1489,e.beta=946,e.betasymbolgreek=976,e.betdagesh=64305,e.betdageshhebrew=64305,e.bethebrew=1489,e.betrafehebrew=64332,e.bhabengali=2477,e.bhadeva=2349,e.bhagujarati=2733,e.bhagurmukhi=2605,e.bhook=595,e.bihiragana=12403,e.bikatakana=12499,e.bilabialclick=664,e.bindigurmukhi=2562,e.birusquare=13105,e.blackcircle=9679,e.blackdiamond=9670,e.blackdownpointingtriangle=9660,e.blackleftpointingpointer=9668,e.blackleftpointingtriangle=9664,e.blacklenticularbracketleft=12304,e.blacklenticularbracketleftvertical=65083,e.blacklenticularbracketright=12305,e.blacklenticularbracketrightvertical=65084,e.blacklowerlefttriangle=9699,e.blacklowerrighttriangle=9698,e.blackrectangle=9644,e.blackrightpointingpointer=9658,e.blackrightpointingtriangle=9654,e.blacksmallsquare=9642,e.blacksmilingface=9787,e.blacksquare=9632,e.blackstar=9733,e.blackupperlefttriangle=9700,e.blackupperrighttriangle=9701,e.blackuppointingsmalltriangle=9652,e.blackuppointingtriangle=9650,e.blank=9251,e.blinebelow=7687,e.block=9608,e.bmonospace=65346,e.bobaimaithai=3610,e.bohiragana=12412,e.bokatakana=12508,e.bparen=9373,e.bqsquare=13251,e.braceex=63732,e.braceleft=123,e.braceleftbt=63731,e.braceleftmid=63730,e.braceleftmonospace=65371,e.braceleftsmall=65115,e.bracelefttp=63729,e.braceleftvertical=65079,e.braceright=125,e.bracerightbt=63742,e.bracerightmid=63741,e.bracerightmonospace=65373,e.bracerightsmall=65116,e.bracerighttp=63740,e.bracerightvertical=65080,e.bracketleft=91,e.bracketleftbt=63728,e.bracketleftex=63727,e.bracketleftmonospace=65339,e.bracketlefttp=63726,e.bracketright=93,e.bracketrightbt=63739,e.bracketrightex=63738,e.bracketrightmonospace=65341,e.bracketrighttp=63737,e.breve=728,e.brevebelowcmb=814,e.brevecmb=774,e.breveinvertedbelowcmb=815,e.breveinvertedcmb=785,e.breveinverteddoublecmb=865,e.bridgebelowcmb=810,e.bridgeinvertedbelowcmb=826,e.brokenbar=166,e.bstroke=384,e.bsuperior=63210,e.btopbar=387,e.buhiragana=12406,e.bukatakana=12502,e.bullet=8226,e.bulletinverse=9688,e.bulletoperator=8729,e.bullseye=9678,e.c=99,e.caarmenian=1390,e.cabengali=2458,e.cacute=263,e.cadeva=2330,e.cagujarati=2714,e.cagurmukhi=2586,e.calsquare=13192,e.candrabindubengali=2433,e.candrabinducmb=784,e.candrabindudeva=2305,e.candrabindugujarati=2689,e.capslock=8682,e.careof=8453,e.caron=711,e.caronbelowcmb=812,e.caroncmb=780,e.carriagereturn=8629,e.cbopomofo=12568,e.ccaron=269,e.ccedilla=231,e.ccedillaacute=7689,e.ccircle=9426,e.ccircumflex=265,e.ccurl=597,e.cdot=267,e.cdotaccent=267,e.cdsquare=13253,e.cedilla=184,e.cedillacmb=807,e.cent=162,e.centigrade=8451,e.centinferior=63199,e.centmonospace=65504,e.centoldstyle=63394,e.centsuperior=63200,e.chaarmenian=1401,e.chabengali=2459,e.chadeva=2331,e.chagujarati=2715,e.chagurmukhi=2587,e.chbopomofo=12564,e.cheabkhasiancyrillic=1213,e.checkmark=10003,e.checyrillic=1095,e.chedescenderabkhasiancyrillic=1215,e.chedescendercyrillic=1207,e.chedieresiscyrillic=1269,e.cheharmenian=1395,e.chekhakassiancyrillic=1228,e.cheverticalstrokecyrillic=1209,e.chi=967,e.chieuchacirclekorean=12919,e.chieuchaparenkorean=12823,e.chieuchcirclekorean=12905,e.chieuchkorean=12618,e.chieuchparenkorean=12809,e.chochangthai=3594,e.chochanthai=3592,e.chochingthai=3593,e.chochoethai=3596,e.chook=392,e.cieucacirclekorean=12918,e.cieucaparenkorean=12822,e.cieuccirclekorean=12904,e.cieuckorean=12616,e.cieucparenkorean=12808,e.cieucuparenkorean=12828,e.circle=9675,e.circlecopyrt=169,e.circlemultiply=8855,e.circleot=8857,e.circleplus=8853,e.circlepostalmark=12342,e.circlewithlefthalfblack=9680,e.circlewithrighthalfblack=9681,e.circumflex=710,e.circumflexbelowcmb=813,e.circumflexcmb=770,e.clear=8999,e.clickalveolar=450,e.clickdental=448,e.clicklateral=449,e.clickretroflex=451,e.club=9827,e.clubsuitblack=9827,e.clubsuitwhite=9831,e.cmcubedsquare=13220,e.cmonospace=65347,e.cmsquaredsquare=13216,e.coarmenian=1409,e.colon=58,e.colonmonetary=8353,e.colonmonospace=65306,e.colonsign=8353,e.colonsmall=65109,e.colontriangularhalfmod=721,e.colontriangularmod=720,e.comma=44,e.commaabovecmb=787,e.commaaboverightcmb=789,e.commaaccent=63171,e.commaarabic=1548,e.commaarmenian=1373,e.commainferior=63201,e.commamonospace=65292,e.commareversedabovecmb=788,e.commareversedmod=701,e.commasmall=65104,e.commasuperior=63202,e.commaturnedabovecmb=786,e.commaturnedmod=699,e.compass=9788,e.congruent=8773,e.contourintegral=8750,e.control=8963,e.controlACK=6,e.controlBEL=7,e.controlBS=8,e.controlCAN=24,e.controlCR=13,e.controlDC1=17,e.controlDC2=18,e.controlDC3=19,e.controlDC4=20,e.controlDEL=127,e.controlDLE=16,e.controlEM=25,e.controlENQ=5,e.controlEOT=4,e.controlESC=27,e.controlETB=23,e.controlETX=3,e.controlFF=12,e.controlFS=28,e.controlGS=29,e.controlHT=9,e.controlLF=10,e.controlNAK=21,e.controlNULL=0,e.controlRS=30,e.controlSI=15,e.controlSO=14,e.controlSOT=2,e.controlSTX=1,e.controlSUB=26,e.controlSYN=22,e.controlUS=31,e.controlVT=11,e.copyright=169,e.copyrightsans=63721,e.copyrightserif=63193,e.cornerbracketleft=12300,e.cornerbracketlefthalfwidth=65378,e.cornerbracketleftvertical=65089,e.cornerbracketright=12301,e.cornerbracketrighthalfwidth=65379,e.cornerbracketrightvertical=65090,e.corporationsquare=13183,e.cosquare=13255,e.coverkgsquare=13254,e.cparen=9374,e.cruzeiro=8354,e.cstretched=663,e.curlyand=8911,e.curlyor=8910,e.currency=164,e.cyrBreve=63185,e.cyrFlex=63186,e.cyrbreve=63188,e.cyrflex=63189,e.d=100,e.daarmenian=1380,e.dabengali=2470,e.dadarabic=1590,e.dadeva=2342,e.dadfinalarabic=65214,e.dadinitialarabic=65215,e.dadmedialarabic=65216,e.dagesh=1468,e.dageshhebrew=1468,e.dagger=8224,e.daggerdbl=8225,e.dagujarati=2726,e.dagurmukhi=2598,e.dahiragana=12384,e.dakatakana=12480,e.dalarabic=1583,e.dalet=1491,e.daletdagesh=64307,e.daletdageshhebrew=64307,e.dalethebrew=1491,e.dalfinalarabic=65194,e.dammaarabic=1615,e.dammalowarabic=1615,e.dammatanaltonearabic=1612,e.dammatanarabic=1612,e.danda=2404,e.dargahebrew=1447,e.dargalefthebrew=1447,e.dasiapneumatacyrilliccmb=1157,e.dblGrave=63187,e.dblanglebracketleft=12298,e.dblanglebracketleftvertical=65085,e.dblanglebracketright=12299,e.dblanglebracketrightvertical=65086,e.dblarchinvertedbelowcmb=811,e.dblarrowleft=8660,e.dblarrowright=8658,e.dbldanda=2405,e.dblgrave=63190,e.dblgravecmb=783,e.dblintegral=8748,e.dbllowline=8215,e.dbllowlinecmb=819,e.dbloverlinecmb=831,e.dblprimemod=698,e.dblverticalbar=8214,e.dblverticallineabovecmb=782,e.dbopomofo=12553,e.dbsquare=13256,e.dcaron=271,e.dcedilla=7697,e.dcircle=9427,e.dcircumflexbelow=7699,e.dcroat=273,e.ddabengali=2465,e.ddadeva=2337,e.ddagujarati=2721,e.ddagurmukhi=2593,e.ddalarabic=1672,e.ddalfinalarabic=64393,e.dddhadeva=2396,e.ddhabengali=2466,e.ddhadeva=2338,e.ddhagujarati=2722,e.ddhagurmukhi=2594,e.ddotaccent=7691,e.ddotbelow=7693,e.decimalseparatorarabic=1643,e.decimalseparatorpersian=1643,e.decyrillic=1076,e.degree=176,e.dehihebrew=1453,e.dehiragana=12391,e.deicoptic=1007,e.dekatakana=12487,e.deleteleft=9003,e.deleteright=8998,e.delta=948,e.deltaturned=397,e.denominatorminusonenumeratorbengali=2552,e.dezh=676,e.dhabengali=2471,e.dhadeva=2343,e.dhagujarati=2727,e.dhagurmukhi=2599,e.dhook=599,e.dialytikatonos=901,e.dialytikatonoscmb=836,e.diamond=9830,e.diamondsuitwhite=9826,e.dieresis=168,e.dieresisacute=63191,e.dieresisbelowcmb=804,e.dieresiscmb=776,e.dieresisgrave=63192,e.dieresistonos=901,e.dihiragana=12386,e.dikatakana=12482,e.dittomark=12291,e.divide=247,e.divides=8739,e.divisionslash=8725,e.djecyrillic=1106,e.dkshade=9619,e.dlinebelow=7695,e.dlsquare=13207,e.dmacron=273,e.dmonospace=65348,e.dnblock=9604,e.dochadathai=3598,e.dodekthai=3604,e.dohiragana=12393,e.dokatakana=12489,e.dollar=36;e.dollarinferior=63203,e.dollarmonospace=65284,e.dollaroldstyle=63268,e.dollarsmall=65129,e.dollarsuperior=63204,e.dong=8363,e.dorusquare=13094,e.dotaccent=729,e.dotaccentcmb=775,e.dotbelowcmb=803,e.dotbelowcomb=803,e.dotkatakana=12539,e.dotlessi=305,e.dotlessj=63166,e.dotlessjstrokehook=644,e.dotmath=8901,e.dottedcircle=9676,e.doubleyodpatah=64287,e.doubleyodpatahhebrew=64287,e.downtackbelowcmb=798,e.downtackmod=725,e.dparen=9375,e.dsuperior=63211,e.dtail=598,e.dtopbar=396,e.duhiragana=12389,e.dukatakana=12485,e.dz=499,e.dzaltone=675,e.dzcaron=454,e.dzcurl=677,e.dzeabkhasiancyrillic=1249,e.dzecyrillic=1109,e.dzhecyrillic=1119,e.e=101,e.eacute=233,e.earth=9793,e.ebengali=2447,e.ebopomofo=12572,e.ebreve=277,e.ecandradeva=2317,e.ecandragujarati=2701,e.ecandravowelsigndeva=2373,e.ecandravowelsigngujarati=2757,e.ecaron=283,e.ecedillabreve=7709,e.echarmenian=1381,e.echyiwnarmenian=1415,e.ecircle=9428,e.ecircumflex=234,e.ecircumflexacute=7871,e.ecircumflexbelow=7705,e.ecircumflexdotbelow=7879,e.ecircumflexgrave=7873,e.ecircumflexhookabove=7875,e.ecircumflextilde=7877,e.ecyrillic=1108,e.edblgrave=517,e.edeva=2319,e.edieresis=235,e.edot=279,e.edotaccent=279,e.edotbelow=7865,e.eegurmukhi=2575,e.eematragurmukhi=2631,e.efcyrillic=1092,e.egrave=232,e.egujarati=2703,e.eharmenian=1383,e.ehbopomofo=12573,e.ehiragana=12360,e.ehookabove=7867,e.eibopomofo=12575,e.eight=56,e.eightarabic=1640,e.eightbengali=2542,e.eightcircle=9319,e.eightcircleinversesansserif=10129,e.eightdeva=2414,e.eighteencircle=9329,e.eighteenparen=9349,e.eighteenperiod=9369,e.eightgujarati=2798,e.eightgurmukhi=2670,e.eighthackarabic=1640,e.eighthangzhou=12328,e.eighthnotebeamed=9835,e.eightideographicparen=12839,e.eightinferior=8328,e.eightmonospace=65304,e.eightoldstyle=63288,e.eightparen=9339,e.eightperiod=9359,e.eightpersian=1784,e.eightroman=8567,e.eightsuperior=8312,e.eightthai=3672,e.einvertedbreve=519,e.eiotifiedcyrillic=1125,e.ekatakana=12456,e.ekatakanahalfwidth=65396,e.ekonkargurmukhi=2676,e.ekorean=12628,e.elcyrillic=1083,e.element=8712,e.elevencircle=9322,e.elevenparen=9342,e.elevenperiod=9362,e.elevenroman=8570,e.ellipsis=8230,e.ellipsisvertical=8942,e.emacron=275,e.emacronacute=7703,e.emacrongrave=7701,e.emcyrillic=1084,e.emdash=8212,e.emdashvertical=65073,e.emonospace=65349,e.emphasismarkarmenian=1371,e.emptyset=8709,e.enbopomofo=12579,e.encyrillic=1085,e.endash=8211,e.endashvertical=65074,e.endescendercyrillic=1187,e.eng=331,e.engbopomofo=12581,e.enghecyrillic=1189,e.enhookcyrillic=1224,e.enspace=8194,e.eogonek=281,e.eokorean=12627,e.eopen=603,e.eopenclosed=666,e.eopenreversed=604,e.eopenreversedclosed=606,e.eopenreversedhook=605,e.eparen=9376,e.epsilon=949,e.epsilontonos=941,e.equal=61,e.equalmonospace=65309,e.equalsmall=65126,e.equalsuperior=8316,e.equivalence=8801,e.erbopomofo=12582,e.ercyrillic=1088,e.ereversed=600,e.ereversedcyrillic=1101,e.escyrillic=1089,e.esdescendercyrillic=1195,e.esh=643,e.eshcurl=646,e.eshortdeva=2318,e.eshortvowelsigndeva=2374,e.eshreversedloop=426,e.eshsquatreversed=645,e.esmallhiragana=12359,e.esmallkatakana=12455,e.esmallkatakanahalfwidth=65386,e.estimated=8494,e.esuperior=63212,e.eta=951,e.etarmenian=1384,e.etatonos=942,e.eth=240,e.etilde=7869,e.etildebelow=7707,e.etnahtafoukhhebrew=1425,e.etnahtafoukhlefthebrew=1425,e.etnahtahebrew=1425,e.etnahtalefthebrew=1425,e.eturned=477,e.eukorean=12641,e.euro=8364,e.evowelsignbengali=2503,e.evowelsigndeva=2375,e.evowelsigngujarati=2759,e.exclam=33,e.exclamarmenian=1372,e.exclamdbl=8252,e.exclamdown=161,e.exclamdownsmall=63393,e.exclammonospace=65281,e.exclamsmall=63265,e.existential=8707,e.ezh=658,e.ezhcaron=495,e.ezhcurl=659,e.ezhreversed=441,e.ezhtail=442,e.f=102,e.fadeva=2398,e.fagurmukhi=2654,e.fahrenheit=8457,e.fathaarabic=1614,e.fathalowarabic=1614,e.fathatanarabic=1611,e.fbopomofo=12552,e.fcircle=9429,e.fdotaccent=7711,e.feharabic=1601,e.feharmenian=1414,e.fehfinalarabic=65234,e.fehinitialarabic=65235,e.fehmedialarabic=65236,e.feicoptic=997,e.female=9792,e.ff=64256,e.f_f=64256,e.ffi=64259,e.f_f_i=64259,e.ffl=64260,e.f_f_l=64260,e.fi=64257,e.f_i=64257,e.fifteencircle=9326,e.fifteenparen=9346,e.fifteenperiod=9366,e.figuredash=8210,e.filledbox=9632,e.filledrect=9644,e.finalkaf=1498,e.finalkafdagesh=64314,e.finalkafdageshhebrew=64314,e.finalkafhebrew=1498,e.finalmem=1501,e.finalmemhebrew=1501,e.finalnun=1503,e.finalnunhebrew=1503,e.finalpe=1507,e.finalpehebrew=1507,e.finaltsadi=1509,e.finaltsadihebrew=1509,e.firsttonechinese=713,e.fisheye=9673,e.fitacyrillic=1139,e.five=53,e.fivearabic=1637,e.fivebengali=2539,e.fivecircle=9316,e.fivecircleinversesansserif=10126,e.fivedeva=2411,e.fiveeighths=8541,e.fivegujarati=2795,e.fivegurmukhi=2667,e.fivehackarabic=1637,e.fivehangzhou=12325,e.fiveideographicparen=12836,e.fiveinferior=8325,e.fivemonospace=65301,e.fiveoldstyle=63285,e.fiveparen=9336,e.fiveperiod=9356,e.fivepersian=1781,e.fiveroman=8564,e.fivesuperior=8309,e.fivethai=3669,e.fl=64258,e.f_l=64258,e.florin=402,e.fmonospace=65350,e.fmsquare=13209,e.fofanthai=3615,e.fofathai=3613,e.fongmanthai=3663,e.forall=8704,e.four=52,e.fourarabic=1636,e.fourbengali=2538,e.fourcircle=9315,e.fourcircleinversesansserif=10125,e.fourdeva=2410,e.fourgujarati=2794,e.fourgurmukhi=2666,e.fourhackarabic=1636,e.fourhangzhou=12324,e.fourideographicparen=12835,e.fourinferior=8324,e.fourmonospace=65300,e.fournumeratorbengali=2551,e.fouroldstyle=63284,e.fourparen=9335,e.fourperiod=9355,e.fourpersian=1780,e.fourroman=8563,e.foursuperior=8308,e.fourteencircle=9325,e.fourteenparen=9345,e.fourteenperiod=9365,e.fourthai=3668,e.fourthtonechinese=715,e.fparen=9377,e.fraction=8260,e.franc=8355,e.g=103,e.gabengali=2455,e.gacute=501,e.gadeva=2327,e.gafarabic=1711,e.gaffinalarabic=64403,e.gafinitialarabic=64404,e.gafmedialarabic=64405,e.gagujarati=2711,e.gagurmukhi=2583,e.gahiragana=12364,e.gakatakana=12460,e.gamma=947,e.gammalatinsmall=611,e.gammasuperior=736,e.gangiacoptic=1003,e.gbopomofo=12557,e.gbreve=287,e.gcaron=487,e.gcedilla=291,e.gcircle=9430,e.gcircumflex=285,e.gcommaaccent=291,e.gdot=289,e.gdotaccent=289,e.gecyrillic=1075,e.gehiragana=12370,e.gekatakana=12466,e.geometricallyequal=8785,e.gereshaccenthebrew=1436,e.gereshhebrew=1523,e.gereshmuqdamhebrew=1437,e.germandbls=223,e.gershayimaccenthebrew=1438,e.gershayimhebrew=1524,e.getamark=12307,e.ghabengali=2456,e.ghadarmenian=1394,e.ghadeva=2328,e.ghagujarati=2712,e.ghagurmukhi=2584,e.ghainarabic=1594,e.ghainfinalarabic=65230,e.ghaininitialarabic=65231,e.ghainmedialarabic=65232,e.ghemiddlehookcyrillic=1173,e.ghestrokecyrillic=1171,e.gheupturncyrillic=1169,e.ghhadeva=2394,e.ghhagurmukhi=2650,e.ghook=608,e.ghzsquare=13203,e.gihiragana=12366,e.gikatakana=12462,e.gimarmenian=1379,e.gimel=1490,e.gimeldagesh=64306,e.gimeldageshhebrew=64306,e.gimelhebrew=1490,e.gjecyrillic=1107,e.glottalinvertedstroke=446,e.glottalstop=660,e.glottalstopinverted=662,e.glottalstopmod=704,e.glottalstopreversed=661,e.glottalstopreversedmod=705,e.glottalstopreversedsuperior=740,e.glottalstopstroke=673,e.glottalstopstrokereversed=674,e.gmacron=7713,e.gmonospace=65351,e.gohiragana=12372,e.gokatakana=12468,e.gparen=9378,e.gpasquare=13228,e.gradient=8711,e.grave=96,e.gravebelowcmb=790,e.gravecmb=768,e.gravecomb=768,e.gravedeva=2387,e.gravelowmod=718,e.gravemonospace=65344,e.gravetonecmb=832,e.greater=62,e.greaterequal=8805,e.greaterequalorless=8923,e.greatermonospace=65310,e.greaterorequivalent=8819,e.greaterorless=8823,e.greateroverequal=8807,e.greatersmall=65125,e.gscript=609,e.gstroke=485,e.guhiragana=12368,e.guillemotleft=171,e.guillemotright=187,e.guilsinglleft=8249,e.guilsinglright=8250,e.gukatakana=12464,e.guramusquare=13080,e.gysquare=13257,e.h=104,e.haabkhasiancyrillic=1193,e.haaltonearabic=1729,e.habengali=2489,e.hadescendercyrillic=1203,e.hadeva=2361,e.hagujarati=2745,e.hagurmukhi=2617,e.haharabic=1581,e.hahfinalarabic=65186,e.hahinitialarabic=65187,e.hahiragana=12399,e.hahmedialarabic=65188,e.haitusquare=13098,e.hakatakana=12495,e.hakatakanahalfwidth=65418,e.halantgurmukhi=2637,e.hamzaarabic=1569,e.hamzalowarabic=1569,e.hangulfiller=12644,e.hardsigncyrillic=1098,e.harpoonleftbarbup=8636,e.harpoonrightbarbup=8640,e.hasquare=13258,e.hatafpatah=1458,e.hatafpatah16=1458,e.hatafpatah23=1458,e.hatafpatah2f=1458,e.hatafpatahhebrew=1458,e.hatafpatahnarrowhebrew=1458,e.hatafpatahquarterhebrew=1458,e.hatafpatahwidehebrew=1458,e.hatafqamats=1459,e.hatafqamats1b=1459,e.hatafqamats28=1459,e.hatafqamats34=1459,e.hatafqamatshebrew=1459,e.hatafqamatsnarrowhebrew=1459,e.hatafqamatsquarterhebrew=1459,e.hatafqamatswidehebrew=1459,e.hatafsegol=1457,e.hatafsegol17=1457,e.hatafsegol24=1457,e.hatafsegol30=1457,e.hatafsegolhebrew=1457,e.hatafsegolnarrowhebrew=1457,e.hatafsegolquarterhebrew=1457,e.hatafsegolwidehebrew=1457,e.hbar=295,e.hbopomofo=12559,e.hbrevebelow=7723,e.hcedilla=7721,e.hcircle=9431,e.hcircumflex=293,e.hdieresis=7719,e.hdotaccent=7715,e.hdotbelow=7717,e.he=1492,e.heart=9829,e.heartsuitblack=9829,e.heartsuitwhite=9825,e.hedagesh=64308,e.hedageshhebrew=64308,e.hehaltonearabic=1729,e.heharabic=1607,e.hehebrew=1492,e.hehfinalaltonearabic=64423,e.hehfinalalttwoarabic=65258,e.hehfinalarabic=65258,e.hehhamzaabovefinalarabic=64421,e.hehhamzaaboveisolatedarabic=64420,e.hehinitialaltonearabic=64424,e.hehinitialarabic=65259,e.hehiragana=12408,e.hehmedialaltonearabic=64425,e.hehmedialarabic=65260,e.heiseierasquare=13179,e.hekatakana=12504,e.hekatakanahalfwidth=65421,e.hekutaarusquare=13110,e.henghook=615,e.herutusquare=13113,e.het=1495,e.hethebrew=1495,e.hhook=614,e.hhooksuperior=689,e.hieuhacirclekorean=12923,e.hieuhaparenkorean=12827,e.hieuhcirclekorean=12909,e.hieuhkorean=12622,e.hieuhparenkorean=12813,e.hihiragana=12402,e.hikatakana=12498,e.hikatakanahalfwidth=65419,e.hiriq=1460,e.hiriq14=1460,e.hiriq21=1460,e.hiriq2d=1460,e.hiriqhebrew=1460,e.hiriqnarrowhebrew=1460,e.hiriqquarterhebrew=1460,e.hiriqwidehebrew=1460,e.hlinebelow=7830,e.hmonospace=65352,e.hoarmenian=1392,e.hohipthai=3627,e.hohiragana=12411,e.hokatakana=12507,e.hokatakanahalfwidth=65422,e.holam=1465,e.holam19=1465,e.holam26=1465,e.holam32=1465,e.holamhebrew=1465,e.holamnarrowhebrew=1465,e.holamquarterhebrew=1465,e.holamwidehebrew=1465,e.honokhukthai=3630,e.hookabovecomb=777,e.hookcmb=777,e.hookpalatalizedbelowcmb=801,e.hookretroflexbelowcmb=802,e.hoonsquare=13122,e.horicoptic=1001,e.horizontalbar=8213,e.horncmb=795,e.hotsprings=9832,e.house=8962,e.hparen=9379,e.hsuperior=688,e.hturned=613,e.huhiragana=12405,e.huiitosquare=13107,e.hukatakana=12501,e.hukatakanahalfwidth=65420,e.hungarumlaut=733,e.hungarumlautcmb=779,e.hv=405,e.hyphen=45,e.hypheninferior=63205,e.hyphenmonospace=65293,e.hyphensmall=65123,e.hyphensuperior=63206,e.hyphentwo=8208,e.i=105,e.iacute=237,e.iacyrillic=1103,e.ibengali=2439,e.ibopomofo=12583,e.ibreve=301,e.icaron=464,e.icircle=9432,e.icircumflex=238,e.icyrillic=1110,e.idblgrave=521,e.ideographearthcircle=12943,e.ideographfirecircle=12939,e.ideographicallianceparen=12863,e.ideographiccallparen=12858,e.ideographiccentrecircle=12965,e.ideographicclose=12294,e.ideographiccomma=12289,e.ideographiccommaleft=65380,e.ideographiccongratulationparen=12855,e.ideographiccorrectcircle=12963,e.ideographicearthparen=12847,e.ideographicenterpriseparen=12861,e.ideographicexcellentcircle=12957,e.ideographicfestivalparen=12864,e.ideographicfinancialcircle=12950,e.ideographicfinancialparen=12854,e.ideographicfireparen=12843,e.ideographichaveparen=12850,e.ideographichighcircle=12964,e.ideographiciterationmark=12293,e.ideographiclaborcircle=12952,e.ideographiclaborparen=12856,e.ideographicleftcircle=12967,e.ideographiclowcircle=12966,e.ideographicmedicinecircle=12969,e.ideographicmetalparen=12846,e.ideographicmoonparen=12842,e.ideographicnameparen=12852,e.ideographicperiod=12290,e.ideographicprintcircle=12958,e.ideographicreachparen=12867,e.ideographicrepresentparen=12857,e.ideographicresourceparen=12862,e.ideographicrightcircle=12968,e.ideographicsecretcircle=12953,e.ideographicselfparen=12866,e.ideographicsocietyparen=12851,e.ideographicspace=12288,e.ideographicspecialparen=12853,e.ideographicstockparen=12849,e.ideographicstudyparen=12859,e.ideographicsunparen=12848,e.ideographicsuperviseparen=12860,e.ideographicwaterparen=12844,e.ideographicwoodparen=12845,e.ideographiczero=12295,e.ideographmetalcircle=12942,e.ideographmooncircle=12938,e.ideographnamecircle=12948,e.ideographsuncircle=12944,e.ideographwatercircle=12940,e.ideographwoodcircle=12941,e.ideva=2311,e.idieresis=239,e.idieresisacute=7727,e.idieresiscyrillic=1253,e.idotbelow=7883,e.iebrevecyrillic=1239,e.iecyrillic=1077,e.ieungacirclekorean=12917,e.ieungaparenkorean=12821,e.ieungcirclekorean=12903,e.ieungkorean=12615,e.ieungparenkorean=12807,e.igrave=236,e.igujarati=2695,e.igurmukhi=2567,e.ihiragana=12356,e.ihookabove=7881,e.iibengali=2440,e.iicyrillic=1080,e.iideva=2312,e.iigujarati=2696,e.iigurmukhi=2568,e.iimatragurmukhi=2624,e.iinvertedbreve=523,e.iishortcyrillic=1081,e.iivowelsignbengali=2496,e.iivowelsigndeva=2368,e.iivowelsigngujarati=2752,e.ij=307,e.ikatakana=12452,e.ikatakanahalfwidth=65394,e.ikorean=12643,e.ilde=732,e.iluyhebrew=1452,e.imacron=299,e.imacroncyrillic=1251,e.imageorapproximatelyequal=8787,e.imatragurmukhi=2623,e.imonospace=65353,e.increment=8710,e.infinity=8734,e.iniarmenian=1387,e.integral=8747,e.integralbottom=8993,e.integralbt=8993,e.integralex=63733,e.integraltop=8992,e.integraltp=8992,e.intersection=8745,e.intisquare=13061,e.invbullet=9688,e.invcircle=9689,e.invsmileface=9787,e.iocyrillic=1105,e.iogonek=303,e.iota=953,e.iotadieresis=970,e.iotadieresistonos=912,e.iotalatin=617,e.iotatonos=943,e.iparen=9380,e.irigurmukhi=2674,e.ismallhiragana=12355,e.ismallkatakana=12451,e.ismallkatakanahalfwidth=65384,e.issharbengali=2554,e.istroke=616,e.isuperior=63213,e.iterationhiragana=12445,e.iterationkatakana=12541,e.itilde=297,e.itildebelow=7725,e.iubopomofo=12585,e.iucyrillic=1102,e.ivowelsignbengali=2495,e.ivowelsigndeva=2367,e.ivowelsigngujarati=2751,e.izhitsacyrillic=1141,e.izhitsadblgravecyrillic=1143,e.j=106,e.jaarmenian=1393,e.jabengali=2460,e.jadeva=2332,e.jagujarati=2716,e.jagurmukhi=2588,e.jbopomofo=12560,e.jcaron=496,e.jcircle=9433,e.jcircumflex=309,e.jcrossedtail=669,e.jdotlessstroke=607,e.jecyrillic=1112,e.jeemarabic=1580,e.jeemfinalarabic=65182,e.jeeminitialarabic=65183,e.jeemmedialarabic=65184,e.jeharabic=1688,e.jehfinalarabic=64395,e.jhabengali=2461,e.jhadeva=2333,e.jhagujarati=2717,e.jhagurmukhi=2589,e.jheharmenian=1403,e.jis=12292,e.jmonospace=65354,e.jparen=9381,e.jsuperior=690,e.k=107,e.kabashkircyrillic=1185,e.kabengali=2453,e.kacute=7729,e.kacyrillic=1082,e.kadescendercyrillic=1179,e.kadeva=2325,e.kaf=1499,e.kafarabic=1603,e.kafdagesh=64315,e.kafdageshhebrew=64315,e.kaffinalarabic=65242,e.kafhebrew=1499,e.kafinitialarabic=65243,e.kafmedialarabic=65244,e.kafrafehebrew=64333,e.kagujarati=2709,e.kagurmukhi=2581,e.kahiragana=12363,e.kahookcyrillic=1220,e.kakatakana=12459,e.kakatakanahalfwidth=65398,e.kappa=954,e.kappasymbolgreek=1008,e.kapyeounmieumkorean=12657,e.kapyeounphieuphkorean=12676,e.kapyeounpieupkorean=12664,e.kapyeounssangpieupkorean=12665,e.karoriisquare=13069,e.kashidaautoarabic=1600,e.kashidaautonosidebearingarabic=1600,e.kasmallkatakana=12533,e.kasquare=13188,e.kasraarabic=1616,e.kasratanarabic=1613,e.kastrokecyrillic=1183,e.katahiraprolongmarkhalfwidth=65392,e.kaverticalstrokecyrillic=1181,e.kbopomofo=12558,e.kcalsquare=13193,e.kcaron=489,e.kcedilla=311,e.kcircle=9434,e.kcommaaccent=311,e.kdotbelow=7731,e.keharmenian=1412,e.kehiragana=12369,e.kekatakana=12465,e.kekatakanahalfwidth=65401,e.kenarmenian=1391,e.kesmallkatakana=12534,e.kgreenlandic=312,e.khabengali=2454,e.khacyrillic=1093,e.khadeva=2326,e.khagujarati=2710,e.khagurmukhi=2582,e.khaharabic=1582,e.khahfinalarabic=65190,e.khahinitialarabic=65191,e.khahmedialarabic=65192,e.kheicoptic=999,e.khhadeva=2393,e.khhagurmukhi=2649,e.khieukhacirclekorean=12920,e.khieukhaparenkorean=12824,e.khieukhcirclekorean=12906,e.khieukhkorean=12619,e.khieukhparenkorean=12810,e.khokhaithai=3586,e.khokhonthai=3589,e.khokhuatthai=3587,e.khokhwaithai=3588,e.khomutthai=3675,e.khook=409,e.khorakhangthai=3590,e.khzsquare=13201,e.kihiragana=12365,e.kikatakana=12461,e.kikatakanahalfwidth=65399,e.kiroguramusquare=13077,e.kiromeetorusquare=13078,e.kirosquare=13076,e.kiyeokacirclekorean=12910,e.kiyeokaparenkorean=12814,e.kiyeokcirclekorean=12896,e.kiyeokkorean=12593,e.kiyeokparenkorean=12800,e.kiyeoksioskorean=12595;e.kjecyrillic=1116,e.klinebelow=7733,e.klsquare=13208,e.kmcubedsquare=13222,e.kmonospace=65355,e.kmsquaredsquare=13218,e.kohiragana=12371,e.kohmsquare=13248,e.kokaithai=3585,e.kokatakana=12467,e.kokatakanahalfwidth=65402,e.kooposquare=13086,e.koppacyrillic=1153,e.koreanstandardsymbol=12927,e.koroniscmb=835,e.kparen=9382,e.kpasquare=13226,e.ksicyrillic=1135,e.ktsquare=13263,e.kturned=670,e.kuhiragana=12367,e.kukatakana=12463,e.kukatakanahalfwidth=65400,e.kvsquare=13240,e.kwsquare=13246,e.l=108,e.labengali=2482,e.lacute=314,e.ladeva=2354,e.lagujarati=2738,e.lagurmukhi=2610,e.lakkhangyaothai=3653,e.lamaleffinalarabic=65276,e.lamalefhamzaabovefinalarabic=65272,e.lamalefhamzaaboveisolatedarabic=65271,e.lamalefhamzabelowfinalarabic=65274,e.lamalefhamzabelowisolatedarabic=65273,e.lamalefisolatedarabic=65275,e.lamalefmaddaabovefinalarabic=65270,e.lamalefmaddaaboveisolatedarabic=65269,e.lamarabic=1604,e.lambda=955,e.lambdastroke=411,e.lamed=1500,e.lameddagesh=64316,e.lameddageshhebrew=64316,e.lamedhebrew=1500,e.lamfinalarabic=65246,e.lamhahinitialarabic=64714,e.laminitialarabic=65247,e.lamjeeminitialarabic=64713,e.lamkhahinitialarabic=64715,e.lamlamhehisolatedarabic=65010,e.lammedialarabic=65248,e.lammeemhahinitialarabic=64904,e.lammeeminitialarabic=64716,e.largecircle=9711,e.lbar=410,e.lbelt=620,e.lbopomofo=12556,e.lcaron=318,e.lcedilla=316,e.lcircle=9435,e.lcircumflexbelow=7741,e.lcommaaccent=316,e.ldot=320,e.ldotaccent=320,e.ldotbelow=7735,e.ldotbelowmacron=7737,e.leftangleabovecmb=794,e.lefttackbelowcmb=792,e.less=60,e.lessequal=8804,e.lessequalorgreater=8922,e.lessmonospace=65308,e.lessorequivalent=8818,e.lessorgreater=8822,e.lessoverequal=8806,e.lesssmall=65124,e.lezh=622,e.lfblock=9612,e.lhookretroflex=621,e.lira=8356,e.liwnarmenian=1388,e.lj=457,e.ljecyrillic=1113,e.ll=63168,e.lladeva=2355,e.llagujarati=2739,e.llinebelow=7739,e.llladeva=2356,e.llvocalicbengali=2529,e.llvocalicdeva=2401,e.llvocalicvowelsignbengali=2531,e.llvocalicvowelsigndeva=2403,e.lmiddletilde=619,e.lmonospace=65356,e.lmsquare=13264,e.lochulathai=3628,e.logicaland=8743,e.logicalnot=172,e.logicalnotreversed=8976,e.logicalor=8744,e.lolingthai=3621,e.longs=383,e.lowlinecenterline=65102,e.lowlinecmb=818,e.lowlinedashed=65101,e.lozenge=9674,e.lparen=9383,e.lslash=322,e.lsquare=8467,e.lsuperior=63214,e.ltshade=9617,e.luthai=3622,e.lvocalicbengali=2444,e.lvocalicdeva=2316,e.lvocalicvowelsignbengali=2530,e.lvocalicvowelsigndeva=2402,e.lxsquare=13267,e.m=109,e.mabengali=2478,e.macron=175,e.macronbelowcmb=817,e.macroncmb=772,e.macronlowmod=717,e.macronmonospace=65507,e.macute=7743,e.madeva=2350,e.magujarati=2734,e.magurmukhi=2606,e.mahapakhhebrew=1444,e.mahapakhlefthebrew=1444,e.mahiragana=12414,e.maichattawalowleftthai=63637,e.maichattawalowrightthai=63636,e.maichattawathai=3659,e.maichattawaupperleftthai=63635,e.maieklowleftthai=63628,e.maieklowrightthai=63627,e.maiekthai=3656,e.maiekupperleftthai=63626,e.maihanakatleftthai=63620,e.maihanakatthai=3633,e.maitaikhuleftthai=63625,e.maitaikhuthai=3655,e.maitholowleftthai=63631,e.maitholowrightthai=63630,e.maithothai=3657,e.maithoupperleftthai=63629,e.maitrilowleftthai=63634,e.maitrilowrightthai=63633,e.maitrithai=3658,e.maitriupperleftthai=63632,e.maiyamokthai=3654,e.makatakana=12510,e.makatakanahalfwidth=65423,e.male=9794,e.mansyonsquare=13127,e.maqafhebrew=1470,e.mars=9794,e.masoracirclehebrew=1455,e.masquare=13187,e.mbopomofo=12551,e.mbsquare=13268,e.mcircle=9436,e.mcubedsquare=13221,e.mdotaccent=7745,e.mdotbelow=7747,e.meemarabic=1605,e.meemfinalarabic=65250,e.meeminitialarabic=65251,e.meemmedialarabic=65252,e.meemmeeminitialarabic=64721,e.meemmeemisolatedarabic=64584,e.meetorusquare=13133,e.mehiragana=12417,e.meizierasquare=13182,e.mekatakana=12513,e.mekatakanahalfwidth=65426,e.mem=1502,e.memdagesh=64318,e.memdageshhebrew=64318,e.memhebrew=1502,e.menarmenian=1396,e.merkhahebrew=1445,e.merkhakefulahebrew=1446,e.merkhakefulalefthebrew=1446,e.merkhalefthebrew=1445,e.mhook=625,e.mhzsquare=13202,e.middledotkatakanahalfwidth=65381,e.middot=183,e.mieumacirclekorean=12914,e.mieumaparenkorean=12818,e.mieumcirclekorean=12900,e.mieumkorean=12609,e.mieumpansioskorean=12656,e.mieumparenkorean=12804,e.mieumpieupkorean=12654,e.mieumsioskorean=12655,e.mihiragana=12415,e.mikatakana=12511,e.mikatakanahalfwidth=65424,e.minus=8722,e.minusbelowcmb=800,e.minuscircle=8854,e.minusmod=727,e.minusplus=8723,e.minute=8242,e.miribaarusquare=13130,e.mirisquare=13129,e.mlonglegturned=624,e.mlsquare=13206,e.mmcubedsquare=13219,e.mmonospace=65357,e.mmsquaredsquare=13215,e.mohiragana=12418,e.mohmsquare=13249,e.mokatakana=12514,e.mokatakanahalfwidth=65427,e.molsquare=13270,e.momathai=3617,e.moverssquare=13223,e.moverssquaredsquare=13224,e.mparen=9384,e.mpasquare=13227,e.mssquare=13235,e.msuperior=63215,e.mturned=623,e.mu=181,e.mu1=181,e.muasquare=13186,e.muchgreater=8811,e.muchless=8810,e.mufsquare=13196,e.mugreek=956,e.mugsquare=13197,e.muhiragana=12416,e.mukatakana=12512,e.mukatakanahalfwidth=65425,e.mulsquare=13205,e.multiply=215,e.mumsquare=13211,e.munahhebrew=1443,e.munahlefthebrew=1443,e.musicalnote=9834,e.musicalnotedbl=9835,e.musicflatsign=9837,e.musicsharpsign=9839,e.mussquare=13234,e.muvsquare=13238,e.muwsquare=13244,e.mvmegasquare=13241,e.mvsquare=13239,e.mwmegasquare=13247,e.mwsquare=13245,e.n=110,e.nabengali=2472,e.nabla=8711,e.nacute=324,e.nadeva=2344,e.nagujarati=2728,e.nagurmukhi=2600,e.nahiragana=12394,e.nakatakana=12490,e.nakatakanahalfwidth=65413,e.napostrophe=329,e.nasquare=13185,e.nbopomofo=12555,e.nbspace=160,e.ncaron=328,e.ncedilla=326,e.ncircle=9437,e.ncircumflexbelow=7755,e.ncommaaccent=326,e.ndotaccent=7749,e.ndotbelow=7751,e.nehiragana=12397,e.nekatakana=12493,e.nekatakanahalfwidth=65416,e.newsheqelsign=8362,e.nfsquare=13195,e.ngabengali=2457,e.ngadeva=2329,e.ngagujarati=2713,e.ngagurmukhi=2585,e.ngonguthai=3591,e.nhiragana=12435,e.nhookleft=626,e.nhookretroflex=627,e.nieunacirclekorean=12911,e.nieunaparenkorean=12815,e.nieuncieuckorean=12597,e.nieuncirclekorean=12897,e.nieunhieuhkorean=12598,e.nieunkorean=12596,e.nieunpansioskorean=12648,e.nieunparenkorean=12801,e.nieunsioskorean=12647,e.nieuntikeutkorean=12646,e.nihiragana=12395,e.nikatakana=12491,e.nikatakanahalfwidth=65414,e.nikhahitleftthai=63641,e.nikhahitthai=3661,e.nine=57,e.ninearabic=1641,e.ninebengali=2543,e.ninecircle=9320,e.ninecircleinversesansserif=10130,e.ninedeva=2415,e.ninegujarati=2799,e.ninegurmukhi=2671,e.ninehackarabic=1641,e.ninehangzhou=12329,e.nineideographicparen=12840,e.nineinferior=8329,e.ninemonospace=65305,e.nineoldstyle=63289,e.nineparen=9340,e.nineperiod=9360,e.ninepersian=1785,e.nineroman=8568,e.ninesuperior=8313,e.nineteencircle=9330,e.nineteenparen=9350,e.nineteenperiod=9370,e.ninethai=3673,e.nj=460,e.njecyrillic=1114,e.nkatakana=12531,e.nkatakanahalfwidth=65437,e.nlegrightlong=414,e.nlinebelow=7753,e.nmonospace=65358,e.nmsquare=13210,e.nnabengali=2467,e.nnadeva=2339,e.nnagujarati=2723,e.nnagurmukhi=2595,e.nnnadeva=2345,e.nohiragana=12398,e.nokatakana=12494,e.nokatakanahalfwidth=65417,e.nonbreakingspace=160,e.nonenthai=3603,e.nonuthai=3609,e.noonarabic=1606,e.noonfinalarabic=65254,e.noonghunnaarabic=1722,e.noonghunnafinalarabic=64415,e.nooninitialarabic=65255,e.noonjeeminitialarabic=64722,e.noonjeemisolatedarabic=64587,e.noonmedialarabic=65256,e.noonmeeminitialarabic=64725,e.noonmeemisolatedarabic=64590,e.noonnoonfinalarabic=64653,e.notcontains=8716,e.notelement=8713,e.notelementof=8713,e.notequal=8800,e.notgreater=8815,e.notgreaternorequal=8817,e.notgreaternorless=8825,e.notidentical=8802,e.notless=8814,e.notlessnorequal=8816,e.notparallel=8742,e.notprecedes=8832,e.notsubset=8836,e.notsucceeds=8833,e.notsuperset=8837,e.nowarmenian=1398,e.nparen=9385,e.nssquare=13233,e.nsuperior=8319,e.ntilde=241,e.nu=957,e.nuhiragana=12396,e.nukatakana=12492,e.nukatakanahalfwidth=65415,e.nuktabengali=2492,e.nuktadeva=2364,e.nuktagujarati=2748,e.nuktagurmukhi=2620,e.numbersign=35,e.numbersignmonospace=65283,e.numbersignsmall=65119,e.numeralsigngreek=884,e.numeralsignlowergreek=885,e.numero=8470,e.nun=1504,e.nundagesh=64320,e.nundageshhebrew=64320,e.nunhebrew=1504,e.nvsquare=13237,e.nwsquare=13243,e.nyabengali=2462,e.nyadeva=2334,e.nyagujarati=2718,e.nyagurmukhi=2590,e.o=111,e.oacute=243,e.oangthai=3629,e.obarred=629,e.obarredcyrillic=1257,e.obarreddieresiscyrillic=1259,e.obengali=2451,e.obopomofo=12571,e.obreve=335,e.ocandradeva=2321,e.ocandragujarati=2705,e.ocandravowelsigndeva=2377,e.ocandravowelsigngujarati=2761,e.ocaron=466,e.ocircle=9438,e.ocircumflex=244,e.ocircumflexacute=7889,e.ocircumflexdotbelow=7897,e.ocircumflexgrave=7891,e.ocircumflexhookabove=7893,e.ocircumflextilde=7895,e.ocyrillic=1086,e.odblacute=337,e.odblgrave=525,e.odeva=2323,e.odieresis=246,e.odieresiscyrillic=1255,e.odotbelow=7885,e.oe=339,e.oekorean=12634,e.ogonek=731,e.ogonekcmb=808,e.ograve=242,e.ogujarati=2707,e.oharmenian=1413,e.ohiragana=12362,e.ohookabove=7887,e.ohorn=417,e.ohornacute=7899,e.ohorndotbelow=7907,e.ohorngrave=7901,e.ohornhookabove=7903,e.ohorntilde=7905,e.ohungarumlaut=337,e.oi=419,e.oinvertedbreve=527,e.okatakana=12458,e.okatakanahalfwidth=65397,e.okorean=12631,e.olehebrew=1451,e.omacron=333,e.omacronacute=7763,e.omacrongrave=7761,e.omdeva=2384,e.omega=969,e.omega1=982,e.omegacyrillic=1121,e.omegalatinclosed=631,e.omegaroundcyrillic=1147,e.omegatitlocyrillic=1149,e.omegatonos=974,e.omgujarati=2768,e.omicron=959,e.omicrontonos=972,e.omonospace=65359,e.one=49,e.onearabic=1633,e.onebengali=2535,e.onecircle=9312,e.onecircleinversesansserif=10122,e.onedeva=2407,e.onedotenleader=8228,e.oneeighth=8539,e.onefitted=63196,e.onegujarati=2791,e.onegurmukhi=2663,e.onehackarabic=1633,e.onehalf=189,e.onehangzhou=12321,e.oneideographicparen=12832,e.oneinferior=8321,e.onemonospace=65297,e.onenumeratorbengali=2548,e.oneoldstyle=63281,e.oneparen=9332,e.oneperiod=9352,e.onepersian=1777,e.onequarter=188,e.oneroman=8560,e.onesuperior=185,e.onethai=3665,e.onethird=8531,e.oogonek=491,e.oogonekmacron=493,e.oogurmukhi=2579,e.oomatragurmukhi=2635,e.oopen=596,e.oparen=9386,e.openbullet=9702,e.option=8997,e.ordfeminine=170,e.ordmasculine=186,e.orthogonal=8735,e.oshortdeva=2322,e.oshortvowelsigndeva=2378,e.oslash=248,e.oslashacute=511,e.osmallhiragana=12361,e.osmallkatakana=12457,e.osmallkatakanahalfwidth=65387,e.ostrokeacute=511,e.osuperior=63216,e.otcyrillic=1151,e.otilde=245,e.otildeacute=7757,e.otildedieresis=7759,e.oubopomofo=12577,e.overline=8254,e.overlinecenterline=65098,e.overlinecmb=773,e.overlinedashed=65097,e.overlinedblwavy=65100,e.overlinewavy=65099,e.overscore=175,e.ovowelsignbengali=2507,e.ovowelsigndeva=2379,e.ovowelsigngujarati=2763,e.p=112,e.paampssquare=13184,e.paasentosquare=13099,e.pabengali=2474,e.pacute=7765,e.padeva=2346,e.pagedown=8671,e.pageup=8670,e.pagujarati=2730,e.pagurmukhi=2602,e.pahiragana=12401,e.paiyannoithai=3631,e.pakatakana=12497,e.palatalizationcyrilliccmb=1156,e.palochkacyrillic=1216,e.pansioskorean=12671,e.paragraph=182,e.parallel=8741,e.parenleft=40,e.parenleftaltonearabic=64830,e.parenleftbt=63725,e.parenleftex=63724,e.parenleftinferior=8333,e.parenleftmonospace=65288,e.parenleftsmall=65113,e.parenleftsuperior=8317,e.parenlefttp=63723,e.parenleftvertical=65077,e.parenright=41,e.parenrightaltonearabic=64831,e.parenrightbt=63736,e.parenrightex=63735,e.parenrightinferior=8334,e.parenrightmonospace=65289,e.parenrightsmall=65114,e.parenrightsuperior=8318,e.parenrighttp=63734,e.parenrightvertical=65078,e.partialdiff=8706,e.paseqhebrew=1472,e.pashtahebrew=1433,e.pasquare=13225,e.patah=1463,e.patah11=1463,e.patah1d=1463,e.patah2a=1463,e.patahhebrew=1463,e.patahnarrowhebrew=1463,e.patahquarterhebrew=1463,e.patahwidehebrew=1463,e.pazerhebrew=1441,e.pbopomofo=12550,e.pcircle=9439,e.pdotaccent=7767,e.pe=1508,e.pecyrillic=1087,e.pedagesh=64324,e.pedageshhebrew=64324,e.peezisquare=13115,e.pefinaldageshhebrew=64323,e.peharabic=1662,e.peharmenian=1402,e.pehebrew=1508,e.pehfinalarabic=64343,e.pehinitialarabic=64344,e.pehiragana=12410,e.pehmedialarabic=64345,e.pekatakana=12506,e.pemiddlehookcyrillic=1191,e.perafehebrew=64334,e.percent=37,e.percentarabic=1642,e.percentmonospace=65285,e.percentsmall=65130,e.period=46,e.periodarmenian=1417,e.periodcentered=183,e.periodhalfwidth=65377,e.periodinferior=63207,e.periodmonospace=65294,e.periodsmall=65106,e.periodsuperior=63208,e.perispomenigreekcmb=834,e.perpendicular=8869,e.perthousand=8240,e.peseta=8359,e.pfsquare=13194,e.phabengali=2475,e.phadeva=2347,e.phagujarati=2731,e.phagurmukhi=2603,e.phi=966,e.phi1=981,e.phieuphacirclekorean=12922,e.phieuphaparenkorean=12826,e.phieuphcirclekorean=12908,e.phieuphkorean=12621,e.phieuphparenkorean=12812,e.philatin=632,e.phinthuthai=3642,e.phisymbolgreek=981,e.phook=421,e.phophanthai=3614,e.phophungthai=3612,e.phosamphaothai=3616,e.pi=960,e.pieupacirclekorean=12915,e.pieupaparenkorean=12819,e.pieupcieuckorean=12662,e.pieupcirclekorean=12901,e.pieupkiyeokkorean=12658,e.pieupkorean=12610,e.pieupparenkorean=12805,e.pieupsioskiyeokkorean=12660,e.pieupsioskorean=12612,e.pieupsiostikeutkorean=12661,e.pieupthieuthkorean=12663,e.pieuptikeutkorean=12659,e.pihiragana=12404,e.pikatakana=12500,e.pisymbolgreek=982,e.piwrarmenian=1411,e.planckover2pi=8463,e.planckover2pi1=8463,e.plus=43,e.plusbelowcmb=799,e.pluscircle=8853,e.plusminus=177,e.plusmod=726,e.plusmonospace=65291,e.plussmall=65122,e.plussuperior=8314,e.pmonospace=65360,e.pmsquare=13272,e.pohiragana=12413,e.pointingindexdownwhite=9759,e.pointingindexleftwhite=9756,e.pointingindexrightwhite=9758,e.pointingindexupwhite=9757,e.pokatakana=12509,e.poplathai=3611,e.postalmark=12306,e.postalmarkface=12320,e.pparen=9387,e.precedes=8826,e.prescription=8478,e.primemod=697,e.primereversed=8245,e.product=8719,e.projective=8965,e.prolongedkana=12540,e.propellor=8984,e.propersubset=8834,e.propersuperset=8835,e.proportion=8759,e.proportional=8733,e.psi=968,e.psicyrillic=1137,e.psilipneumatacyrilliccmb=1158,e.pssquare=13232,e.puhiragana=12407,e.pukatakana=12503,e.pvsquare=13236,e.pwsquare=13242,e.q=113,e.qadeva=2392,e.qadmahebrew=1448,e.qafarabic=1602,e.qaffinalarabic=65238,e.qafinitialarabic=65239,e.qafmedialarabic=65240,e.qamats=1464,e.qamats10=1464,e.qamats1a=1464,e.qamats1c=1464,e.qamats27=1464,e.qamats29=1464,e.qamats33=1464,e.qamatsde=1464,e.qamatshebrew=1464,e.qamatsnarrowhebrew=1464,e.qamatsqatanhebrew=1464,e.qamatsqatannarrowhebrew=1464,e.qamatsqatanquarterhebrew=1464,e.qamatsqatanwidehebrew=1464,e.qamatsquarterhebrew=1464,e.qamatswidehebrew=1464,e.qarneyparahebrew=1439,e.qbopomofo=12561,e.qcircle=9440,e.qhook=672,e.qmonospace=65361,e.qof=1511,e.qofdagesh=64327,e.qofdageshhebrew=64327,e.qofhebrew=1511,e.qparen=9388,e.quarternote=9833,e.qubuts=1467,e.qubuts18=1467,e.qubuts25=1467,e.qubuts31=1467,e.qubutshebrew=1467,e.qubutsnarrowhebrew=1467,e.qubutsquarterhebrew=1467,e.qubutswidehebrew=1467,e.question=63,e.questionarabic=1567,e.questionarmenian=1374,e.questiondown=191,e.questiondownsmall=63423,e.questiongreek=894,e.questionmonospace=65311,e.questionsmall=63295,e.quotedbl=34,e.quotedblbase=8222,e.quotedblleft=8220,e.quotedblmonospace=65282,e.quotedblprime=12318,e.quotedblprimereversed=12317,e.quotedblright=8221,e.quoteleft=8216,e.quoteleftreversed=8219,e.quotereversed=8219,e.quoteright=8217,e.quoterightn=329,e.quotesinglbase=8218,e.quotesingle=39,e.quotesinglemonospace=65287,e.r=114,e.raarmenian=1404,e.rabengali=2480,e.racute=341,e.radeva=2352,e.radical=8730,e.radicalex=63717,e.radoverssquare=13230,e.radoverssquaredsquare=13231,e.radsquare=13229,e.rafe=1471,e.rafehebrew=1471,e.ragujarati=2736,e.ragurmukhi=2608,e.rahiragana=12425,e.rakatakana=12521,e.rakatakanahalfwidth=65431,e.ralowerdiagonalbengali=2545,e.ramiddlediagonalbengali=2544,e.ramshorn=612,e.ratio=8758,e.rbopomofo=12566,e.rcaron=345,e.rcedilla=343,e.rcircle=9441,e.rcommaaccent=343,e.rdblgrave=529,e.rdotaccent=7769,e.rdotbelow=7771,e.rdotbelowmacron=7773,e.referencemark=8251,e.reflexsubset=8838,e.reflexsuperset=8839,e.registered=174,e.registersans=63720,e.registerserif=63194,e.reharabic=1585,e.reharmenian=1408,e.rehfinalarabic=65198,e.rehiragana=12428,e.rekatakana=12524;e.rekatakanahalfwidth=65434,e.resh=1512,e.reshdageshhebrew=64328,e.reshhebrew=1512,e.reversedtilde=8765,e.reviahebrew=1431,e.reviamugrashhebrew=1431,e.revlogicalnot=8976,e.rfishhook=638,e.rfishhookreversed=639,e.rhabengali=2525,e.rhadeva=2397,e.rho=961,e.rhook=637,e.rhookturned=635,e.rhookturnedsuperior=693,e.rhosymbolgreek=1009,e.rhotichookmod=734,e.rieulacirclekorean=12913,e.rieulaparenkorean=12817,e.rieulcirclekorean=12899,e.rieulhieuhkorean=12608,e.rieulkiyeokkorean=12602,e.rieulkiyeoksioskorean=12649,e.rieulkorean=12601,e.rieulmieumkorean=12603,e.rieulpansioskorean=12652,e.rieulparenkorean=12803,e.rieulphieuphkorean=12607,e.rieulpieupkorean=12604,e.rieulpieupsioskorean=12651,e.rieulsioskorean=12605,e.rieulthieuthkorean=12606,e.rieultikeutkorean=12650,e.rieulyeorinhieuhkorean=12653,e.rightangle=8735,e.righttackbelowcmb=793,e.righttriangle=8895,e.rihiragana=12426,e.rikatakana=12522,e.rikatakanahalfwidth=65432,e.ring=730,e.ringbelowcmb=805,e.ringcmb=778,e.ringhalfleft=703,e.ringhalfleftarmenian=1369,e.ringhalfleftbelowcmb=796,e.ringhalfleftcentered=723,e.ringhalfright=702,e.ringhalfrightbelowcmb=825,e.ringhalfrightcentered=722,e.rinvertedbreve=531,e.rittorusquare=13137,e.rlinebelow=7775,e.rlongleg=636,e.rlonglegturned=634,e.rmonospace=65362,e.rohiragana=12429,e.rokatakana=12525,e.rokatakanahalfwidth=65435,e.roruathai=3619,e.rparen=9389,e.rrabengali=2524,e.rradeva=2353,e.rragurmukhi=2652,e.rreharabic=1681,e.rrehfinalarabic=64397,e.rrvocalicbengali=2528,e.rrvocalicdeva=2400,e.rrvocalicgujarati=2784,e.rrvocalicvowelsignbengali=2500,e.rrvocalicvowelsigndeva=2372,e.rrvocalicvowelsigngujarati=2756,e.rsuperior=63217,e.rtblock=9616,e.rturned=633,e.rturnedsuperior=692,e.ruhiragana=12427,e.rukatakana=12523,e.rukatakanahalfwidth=65433,e.rupeemarkbengali=2546,e.rupeesignbengali=2547,e.rupiah=63197,e.ruthai=3620,e.rvocalicbengali=2443,e.rvocalicdeva=2315,e.rvocalicgujarati=2699,e.rvocalicvowelsignbengali=2499,e.rvocalicvowelsigndeva=2371,e.rvocalicvowelsigngujarati=2755,e.s=115,e.sabengali=2488,e.sacute=347,e.sacutedotaccent=7781,e.sadarabic=1589,e.sadeva=2360,e.sadfinalarabic=65210,e.sadinitialarabic=65211,e.sadmedialarabic=65212,e.sagujarati=2744,e.sagurmukhi=2616,e.sahiragana=12373,e.sakatakana=12469,e.sakatakanahalfwidth=65403,e.sallallahoualayhewasallamarabic=65018,e.samekh=1505,e.samekhdagesh=64321,e.samekhdageshhebrew=64321,e.samekhhebrew=1505,e.saraaathai=3634,e.saraaethai=3649,e.saraaimaimalaithai=3652,e.saraaimaimuanthai=3651,e.saraamthai=3635,e.saraathai=3632,e.saraethai=3648,e.saraiileftthai=63622,e.saraiithai=3637,e.saraileftthai=63621,e.saraithai=3636,e.saraothai=3650,e.saraueeleftthai=63624,e.saraueethai=3639,e.saraueleftthai=63623,e.sarauethai=3638,e.sarauthai=3640,e.sarauuthai=3641,e.sbopomofo=12569,e.scaron=353,e.scarondotaccent=7783,e.scedilla=351,e.schwa=601,e.schwacyrillic=1241,e.schwadieresiscyrillic=1243,e.schwahook=602,e.scircle=9442,e.scircumflex=349,e.scommaaccent=537,e.sdotaccent=7777,e.sdotbelow=7779,e.sdotbelowdotaccent=7785,e.seagullbelowcmb=828,e.second=8243,e.secondtonechinese=714,e.section=167,e.seenarabic=1587,e.seenfinalarabic=65202,e.seeninitialarabic=65203,e.seenmedialarabic=65204,e.segol=1462,e.segol13=1462,e.segol1f=1462,e.segol2c=1462,e.segolhebrew=1462,e.segolnarrowhebrew=1462,e.segolquarterhebrew=1462,e.segoltahebrew=1426,e.segolwidehebrew=1462,e.seharmenian=1405,e.sehiragana=12379,e.sekatakana=12475,e.sekatakanahalfwidth=65406,e.semicolon=59,e.semicolonarabic=1563,e.semicolonmonospace=65307,e.semicolonsmall=65108,e.semivoicedmarkkana=12444,e.semivoicedmarkkanahalfwidth=65439,e.sentisquare=13090,e.sentosquare=13091,e.seven=55,e.sevenarabic=1639,e.sevenbengali=2541,e.sevencircle=9318,e.sevencircleinversesansserif=10128,e.sevendeva=2413,e.seveneighths=8542,e.sevengujarati=2797,e.sevengurmukhi=2669,e.sevenhackarabic=1639,e.sevenhangzhou=12327,e.sevenideographicparen=12838,e.seveninferior=8327,e.sevenmonospace=65303,e.sevenoldstyle=63287,e.sevenparen=9338,e.sevenperiod=9358,e.sevenpersian=1783,e.sevenroman=8566,e.sevensuperior=8311,e.seventeencircle=9328,e.seventeenparen=9348,e.seventeenperiod=9368,e.seventhai=3671,e.sfthyphen=173,e.shaarmenian=1399,e.shabengali=2486,e.shacyrillic=1096,e.shaddaarabic=1617,e.shaddadammaarabic=64609,e.shaddadammatanarabic=64606,e.shaddafathaarabic=64608,e.shaddakasraarabic=64610,e.shaddakasratanarabic=64607,e.shade=9618,e.shadedark=9619,e.shadelight=9617,e.shademedium=9618,e.shadeva=2358,e.shagujarati=2742,e.shagurmukhi=2614,e.shalshelethebrew=1427,e.shbopomofo=12565,e.shchacyrillic=1097,e.sheenarabic=1588,e.sheenfinalarabic=65206,e.sheeninitialarabic=65207,e.sheenmedialarabic=65208,e.sheicoptic=995,e.sheqel=8362,e.sheqelhebrew=8362,e.sheva=1456,e.sheva115=1456,e.sheva15=1456,e.sheva22=1456,e.sheva2e=1456,e.shevahebrew=1456,e.shevanarrowhebrew=1456,e.shevaquarterhebrew=1456,e.shevawidehebrew=1456,e.shhacyrillic=1211,e.shimacoptic=1005,e.shin=1513,e.shindagesh=64329,e.shindageshhebrew=64329,e.shindageshshindot=64300,e.shindageshshindothebrew=64300,e.shindageshsindot=64301,e.shindageshsindothebrew=64301,e.shindothebrew=1473,e.shinhebrew=1513,e.shinshindot=64298,e.shinshindothebrew=64298,e.shinsindot=64299,e.shinsindothebrew=64299,e.shook=642,e.sigma=963,e.sigma1=962,e.sigmafinal=962,e.sigmalunatesymbolgreek=1010,e.sihiragana=12375,e.sikatakana=12471,e.sikatakanahalfwidth=65404,e.siluqhebrew=1469,e.siluqlefthebrew=1469,e.similar=8764,e.sindothebrew=1474,e.siosacirclekorean=12916,e.siosaparenkorean=12820,e.sioscieuckorean=12670,e.sioscirclekorean=12902,e.sioskiyeokkorean=12666,e.sioskorean=12613,e.siosnieunkorean=12667,e.siosparenkorean=12806,e.siospieupkorean=12669,e.siostikeutkorean=12668,e.six=54,e.sixarabic=1638,e.sixbengali=2540,e.sixcircle=9317,e.sixcircleinversesansserif=10127,e.sixdeva=2412,e.sixgujarati=2796,e.sixgurmukhi=2668,e.sixhackarabic=1638,e.sixhangzhou=12326,e.sixideographicparen=12837,e.sixinferior=8326,e.sixmonospace=65302,e.sixoldstyle=63286,e.sixparen=9337,e.sixperiod=9357,e.sixpersian=1782,e.sixroman=8565,e.sixsuperior=8310,e.sixteencircle=9327,e.sixteencurrencydenominatorbengali=2553,e.sixteenparen=9347,e.sixteenperiod=9367,e.sixthai=3670,e.slash=47,e.slashmonospace=65295,e.slong=383,e.slongdotaccent=7835,e.smileface=9786,e.smonospace=65363,e.sofpasuqhebrew=1475,e.softhyphen=173,e.softsigncyrillic=1100,e.sohiragana=12381,e.sokatakana=12477,e.sokatakanahalfwidth=65407,e.soliduslongoverlaycmb=824,e.solidusshortoverlaycmb=823,e.sorusithai=3625,e.sosalathai=3624,e.sosothai=3595,e.sosuathai=3626,e.space=32,e.spacehackarabic=32,e.spade=9824,e.spadesuitblack=9824,e.spadesuitwhite=9828,e.sparen=9390,e.squarebelowcmb=827,e.squarecc=13252,e.squarecm=13213,e.squarediagonalcrosshatchfill=9641,e.squarehorizontalfill=9636,e.squarekg=13199,e.squarekm=13214,e.squarekmcapital=13262,e.squareln=13265,e.squarelog=13266,e.squaremg=13198,e.squaremil=13269,e.squaremm=13212,e.squaremsquared=13217,e.squareorthogonalcrosshatchfill=9638,e.squareupperlefttolowerrightfill=9639,e.squareupperrighttolowerleftfill=9640,e.squareverticalfill=9637,e.squarewhitewithsmallblack=9635,e.srsquare=13275,e.ssabengali=2487,e.ssadeva=2359,e.ssagujarati=2743,e.ssangcieuckorean=12617,e.ssanghieuhkorean=12677,e.ssangieungkorean=12672,e.ssangkiyeokkorean=12594,e.ssangnieunkorean=12645,e.ssangpieupkorean=12611,e.ssangsioskorean=12614,e.ssangtikeutkorean=12600,e.ssuperior=63218,e.sterling=163,e.sterlingmonospace=65505,e.strokelongoverlaycmb=822,e.strokeshortoverlaycmb=821,e.subset=8834,e.subsetnotequal=8842,e.subsetorequal=8838,e.succeeds=8827,e.suchthat=8715,e.suhiragana=12377,e.sukatakana=12473,e.sukatakanahalfwidth=65405,e.sukunarabic=1618,e.summation=8721,e.sun=9788,e.superset=8835,e.supersetnotequal=8843,e.supersetorequal=8839,e.svsquare=13276,e.syouwaerasquare=13180,e.t=116,e.tabengali=2468,e.tackdown=8868,e.tackleft=8867,e.tadeva=2340,e.tagujarati=2724,e.tagurmukhi=2596,e.taharabic=1591,e.tahfinalarabic=65218,e.tahinitialarabic=65219,e.tahiragana=12383,e.tahmedialarabic=65220,e.taisyouerasquare=13181,e.takatakana=12479,e.takatakanahalfwidth=65408,e.tatweelarabic=1600,e.tau=964,e.tav=1514,e.tavdages=64330,e.tavdagesh=64330,e.tavdageshhebrew=64330,e.tavhebrew=1514,e.tbar=359,e.tbopomofo=12554,e.tcaron=357,e.tccurl=680,e.tcedilla=355,e.tcheharabic=1670,e.tchehfinalarabic=64379,e.tchehinitialarabic=64380,e.tchehmedialarabic=64381,e.tcircle=9443,e.tcircumflexbelow=7793,e.tcommaaccent=355,e.tdieresis=7831,e.tdotaccent=7787,e.tdotbelow=7789,e.tecyrillic=1090,e.tedescendercyrillic=1197,e.teharabic=1578,e.tehfinalarabic=65174,e.tehhahinitialarabic=64674,e.tehhahisolatedarabic=64524,e.tehinitialarabic=65175,e.tehiragana=12390,e.tehjeeminitialarabic=64673,e.tehjeemisolatedarabic=64523,e.tehmarbutaarabic=1577,e.tehmarbutafinalarabic=65172,e.tehmedialarabic=65176,e.tehmeeminitialarabic=64676,e.tehmeemisolatedarabic=64526,e.tehnoonfinalarabic=64627,e.tekatakana=12486,e.tekatakanahalfwidth=65411,e.telephone=8481,e.telephoneblack=9742,e.telishagedolahebrew=1440,e.telishaqetanahebrew=1449,e.tencircle=9321,e.tenideographicparen=12841,e.tenparen=9341,e.tenperiod=9361,e.tenroman=8569,e.tesh=679,e.tet=1496,e.tetdagesh=64312,e.tetdageshhebrew=64312,e.tethebrew=1496,e.tetsecyrillic=1205,e.tevirhebrew=1435,e.tevirlefthebrew=1435,e.thabengali=2469,e.thadeva=2341,e.thagujarati=2725,e.thagurmukhi=2597,e.thalarabic=1584,e.thalfinalarabic=65196,e.thanthakhatlowleftthai=63640,e.thanthakhatlowrightthai=63639,e.thanthakhatthai=3660,e.thanthakhatupperleftthai=63638,e.theharabic=1579,e.thehfinalarabic=65178,e.thehinitialarabic=65179,e.thehmedialarabic=65180,e.thereexists=8707,e.therefore=8756,e.theta=952,e.theta1=977,e.thetasymbolgreek=977,e.thieuthacirclekorean=12921,e.thieuthaparenkorean=12825,e.thieuthcirclekorean=12907,e.thieuthkorean=12620,e.thieuthparenkorean=12811,e.thirteencircle=9324,e.thirteenparen=9344,e.thirteenperiod=9364,e.thonangmonthothai=3601,e.thook=429,e.thophuthaothai=3602,e.thorn=254,e.thothahanthai=3607,e.thothanthai=3600,e.thothongthai=3608,e.thothungthai=3606,e.thousandcyrillic=1154,e.thousandsseparatorarabic=1644,e.thousandsseparatorpersian=1644,e.three=51,e.threearabic=1635,e.threebengali=2537,e.threecircle=9314,e.threecircleinversesansserif=10124,e.threedeva=2409,e.threeeighths=8540,e.threegujarati=2793,e.threegurmukhi=2665,e.threehackarabic=1635,e.threehangzhou=12323,e.threeideographicparen=12834,e.threeinferior=8323,e.threemonospace=65299,e.threenumeratorbengali=2550,e.threeoldstyle=63283,e.threeparen=9334,e.threeperiod=9354,e.threepersian=1779,e.threequarters=190,e.threequartersemdash=63198,e.threeroman=8562,e.threesuperior=179,e.threethai=3667,e.thzsquare=13204,e.tihiragana=12385,e.tikatakana=12481,e.tikatakanahalfwidth=65409,e.tikeutacirclekorean=12912,e.tikeutaparenkorean=12816,e.tikeutcirclekorean=12898,e.tikeutkorean=12599,e.tikeutparenkorean=12802,e.tilde=732,e.tildebelowcmb=816,e.tildecmb=771,e.tildecomb=771,e.tildedoublecmb=864,e.tildeoperator=8764,e.tildeoverlaycmb=820,e.tildeverticalcmb=830,e.timescircle=8855,e.tipehahebrew=1430,e.tipehalefthebrew=1430,e.tippigurmukhi=2672,e.titlocyrilliccmb=1155,e.tiwnarmenian=1407,e.tlinebelow=7791,e.tmonospace=65364,e.toarmenian=1385,e.tohiragana=12392,e.tokatakana=12488,e.tokatakanahalfwidth=65412,e.tonebarextrahighmod=741,e.tonebarextralowmod=745,e.tonebarhighmod=742,e.tonebarlowmod=744,e.tonebarmidmod=743,e.tonefive=445,e.tonesix=389,e.tonetwo=424,e.tonos=900,e.tonsquare=13095,e.topatakthai=3599,e.tortoiseshellbracketleft=12308,e.tortoiseshellbracketleftsmall=65117,e.tortoiseshellbracketleftvertical=65081,e.tortoiseshellbracketright=12309,e.tortoiseshellbracketrightsmall=65118,e.tortoiseshellbracketrightvertical=65082,e.totaothai=3605,e.tpalatalhook=427,e.tparen=9391,e.trademark=8482,e.trademarksans=63722,e.trademarkserif=63195,e.tretroflexhook=648,e.triagdn=9660,e.triaglf=9668,e.triagrt=9658,e.triagup=9650,e.ts=678,e.tsadi=1510,e.tsadidagesh=64326,e.tsadidageshhebrew=64326,e.tsadihebrew=1510,e.tsecyrillic=1094,e.tsere=1461,e.tsere12=1461,e.tsere1e=1461,e.tsere2b=1461,e.tserehebrew=1461,e.tserenarrowhebrew=1461,e.tserequarterhebrew=1461,e.tserewidehebrew=1461,e.tshecyrillic=1115,e.tsuperior=63219,e.ttabengali=2463,e.ttadeva=2335,e.ttagujarati=2719,e.ttagurmukhi=2591,e.tteharabic=1657,e.ttehfinalarabic=64359,e.ttehinitialarabic=64360,e.ttehmedialarabic=64361,e.tthabengali=2464,e.tthadeva=2336,e.tthagujarati=2720,e.tthagurmukhi=2592,e.tturned=647,e.tuhiragana=12388,e.tukatakana=12484,e.tukatakanahalfwidth=65410,e.tusmallhiragana=12387,e.tusmallkatakana=12483,e.tusmallkatakanahalfwidth=65391,e.twelvecircle=9323,e.twelveparen=9343,e.twelveperiod=9363,e.twelveroman=8571,e.twentycircle=9331,e.twentyhangzhou=21316,e.twentyparen=9351,e.twentyperiod=9371,e.two=50,e.twoarabic=1634,e.twobengali=2536,e.twocircle=9313,e.twocircleinversesansserif=10123,e.twodeva=2408,e.twodotenleader=8229,e.twodotleader=8229,e.twodotleadervertical=65072,e.twogujarati=2792,e.twogurmukhi=2664,e.twohackarabic=1634,e.twohangzhou=12322,e.twoideographicparen=12833,e.twoinferior=8322,e.twomonospace=65298,e.twonumeratorbengali=2549,e.twooldstyle=63282,e.twoparen=9333,e.twoperiod=9353,e.twopersian=1778,e.tworoman=8561,e.twostroke=443,e.twosuperior=178,e.twothai=3666,e.twothirds=8532,e.u=117,e.uacute=250,e.ubar=649,e.ubengali=2441,e.ubopomofo=12584,e.ubreve=365,e.ucaron=468,e.ucircle=9444,e.ucircumflex=251,e.ucircumflexbelow=7799,e.ucyrillic=1091,e.udattadeva=2385,e.udblacute=369,e.udblgrave=533,e.udeva=2313,e.udieresis=252,e.udieresisacute=472,e.udieresisbelow=7795,e.udieresiscaron=474,e.udieresiscyrillic=1265,e.udieresisgrave=476,e.udieresismacron=470,e.udotbelow=7909,e.ugrave=249,e.ugujarati=2697,e.ugurmukhi=2569,e.uhiragana=12358,e.uhookabove=7911,e.uhorn=432,e.uhornacute=7913,e.uhorndotbelow=7921,e.uhorngrave=7915,e.uhornhookabove=7917,e.uhorntilde=7919,e.uhungarumlaut=369,e.uhungarumlautcyrillic=1267,e.uinvertedbreve=535,e.ukatakana=12454,e.ukatakanahalfwidth=65395,e.ukcyrillic=1145,e.ukorean=12636,e.umacron=363,e.umacroncyrillic=1263,e.umacrondieresis=7803,e.umatragurmukhi=2625,e.umonospace=65365,e.underscore=95,e.underscoredbl=8215,e.underscoremonospace=65343,e.underscorevertical=65075,e.underscorewavy=65103,e.union=8746,e.universal=8704,e.uogonek=371,e.uparen=9392,e.upblock=9600,e.upperdothebrew=1476,e.upsilon=965,e.upsilondieresis=971,e.upsilondieresistonos=944,e.upsilonlatin=650,e.upsilontonos=973,e.uptackbelowcmb=797,e.uptackmod=724,e.uragurmukhi=2675,e.uring=367,e.ushortcyrillic=1118,e.usmallhiragana=12357,e.usmallkatakana=12453,e.usmallkatakanahalfwidth=65385,e.ustraightcyrillic=1199,e.ustraightstrokecyrillic=1201,e.utilde=361,e.utildeacute=7801,e.utildebelow=7797,e.uubengali=2442,e.uudeva=2314,e.uugujarati=2698,e.uugurmukhi=2570,e.uumatragurmukhi=2626,e.uuvowelsignbengali=2498,e.uuvowelsigndeva=2370,e.uuvowelsigngujarati=2754,e.uvowelsignbengali=2497,e.uvowelsigndeva=2369,e.uvowelsigngujarati=2753,e.v=118,e.vadeva=2357,e.vagujarati=2741,e.vagurmukhi=2613,e.vakatakana=12535,e.vav=1493,e.vavdagesh=64309,e.vavdagesh65=64309,e.vavdageshhebrew=64309,e.vavhebrew=1493,e.vavholam=64331,e.vavholamhebrew=64331,e.vavvavhebrew=1520,e.vavyodhebrew=1521,e.vcircle=9445,e.vdotbelow=7807,e.vecyrillic=1074,e.veharabic=1700,e.vehfinalarabic=64363,e.vehinitialarabic=64364,e.vehmedialarabic=64365,e.vekatakana=12537,e.venus=9792,e.verticalbar=124,e.verticallineabovecmb=781,e.verticallinebelowcmb=809,e.verticallinelowmod=716,e.verticallinemod=712,e.vewarmenian=1406,e.vhook=651,e.vikatakana=12536,e.viramabengali=2509,e.viramadeva=2381,e.viramagujarati=2765,e.visargabengali=2435,e.visargadeva=2307,e.visargagujarati=2691,e.vmonospace=65366,e.voarmenian=1400,e.voicediterationhiragana=12446,e.voicediterationkatakana=12542,e.voicedmarkkana=12443,e.voicedmarkkanahalfwidth=65438,e.vokatakana=12538,e.vparen=9393,e.vtilde=7805,e.vturned=652,e.vuhiragana=12436,e.vukatakana=12532,e.w=119,e.wacute=7811,e.waekorean=12633,e.wahiragana=12431,e.wakatakana=12527,e.wakatakanahalfwidth=65436,e.wakorean=12632,e.wasmallhiragana=12430,e.wasmallkatakana=12526,e.wattosquare=13143,e.wavedash=12316,e.wavyunderscorevertical=65076,e.wawarabic=1608,e.wawfinalarabic=65262,e.wawhamzaabovearabic=1572,e.wawhamzaabovefinalarabic=65158,e.wbsquare=13277,e.wcircle=9446,e.wcircumflex=373,e.wdieresis=7813,e.wdotaccent=7815,e.wdotbelow=7817,e.wehiragana=12433,e.weierstrass=8472,e.wekatakana=12529,e.wekorean=12638,e.weokorean=12637,e.wgrave=7809,e.whitebullet=9702,e.whitecircle=9675,e.whitecircleinverse=9689,e.whitecornerbracketleft=12302,e.whitecornerbracketleftvertical=65091,e.whitecornerbracketright=12303,e.whitecornerbracketrightvertical=65092,e.whitediamond=9671,e.whitediamondcontainingblacksmalldiamond=9672,e.whitedownpointingsmalltriangle=9663;e.whitedownpointingtriangle=9661,e.whiteleftpointingsmalltriangle=9667,e.whiteleftpointingtriangle=9665,e.whitelenticularbracketleft=12310,e.whitelenticularbracketright=12311,e.whiterightpointingsmalltriangle=9657,e.whiterightpointingtriangle=9655,e.whitesmallsquare=9643,e.whitesmilingface=9786,e.whitesquare=9633,e.whitestar=9734,e.whitetelephone=9743,e.whitetortoiseshellbracketleft=12312,e.whitetortoiseshellbracketright=12313,e.whiteuppointingsmalltriangle=9653,e.whiteuppointingtriangle=9651,e.wihiragana=12432,e.wikatakana=12528,e.wikorean=12639,e.wmonospace=65367,e.wohiragana=12434,e.wokatakana=12530,e.wokatakanahalfwidth=65382,e.won=8361,e.wonmonospace=65510,e.wowaenthai=3623,e.wparen=9394,e.wring=7832,e.wsuperior=695,e.wturned=653,e.wynn=447,e.x=120,e.xabovecmb=829,e.xbopomofo=12562,e.xcircle=9447,e.xdieresis=7821,e.xdotaccent=7819,e.xeharmenian=1389,e.xi=958,e.xmonospace=65368,e.xparen=9395,e.xsuperior=739,e.y=121,e.yaadosquare=13134,e.yabengali=2479,e.yacute=253,e.yadeva=2351,e.yaekorean=12626,e.yagujarati=2735,e.yagurmukhi=2607,e.yahiragana=12420,e.yakatakana=12516,e.yakatakanahalfwidth=65428,e.yakorean=12625,e.yamakkanthai=3662,e.yasmallhiragana=12419,e.yasmallkatakana=12515,e.yasmallkatakanahalfwidth=65388,e.yatcyrillic=1123,e.ycircle=9448,e.ycircumflex=375,e.ydieresis=255,e.ydotaccent=7823,e.ydotbelow=7925,e.yeharabic=1610,e.yehbarreearabic=1746,e.yehbarreefinalarabic=64431,e.yehfinalarabic=65266,e.yehhamzaabovearabic=1574,e.yehhamzaabovefinalarabic=65162,e.yehhamzaaboveinitialarabic=65163,e.yehhamzaabovemedialarabic=65164,e.yehinitialarabic=65267,e.yehmedialarabic=65268,e.yehmeeminitialarabic=64733,e.yehmeemisolatedarabic=64600,e.yehnoonfinalarabic=64660,e.yehthreedotsbelowarabic=1745,e.yekorean=12630,e.yen=165,e.yenmonospace=65509,e.yeokorean=12629,e.yeorinhieuhkorean=12678,e.yerahbenyomohebrew=1450,e.yerahbenyomolefthebrew=1450,e.yericyrillic=1099,e.yerudieresiscyrillic=1273,e.yesieungkorean=12673,e.yesieungpansioskorean=12675,e.yesieungsioskorean=12674,e.yetivhebrew=1434,e.ygrave=7923,e.yhook=436,e.yhookabove=7927,e.yiarmenian=1397,e.yicyrillic=1111,e.yikorean=12642,e.yinyang=9775,e.yiwnarmenian=1410,e.ymonospace=65369,e.yod=1497,e.yoddagesh=64313,e.yoddageshhebrew=64313,e.yodhebrew=1497,e.yodyodhebrew=1522,e.yodyodpatahhebrew=64287,e.yohiragana=12424,e.yoikorean=12681,e.yokatakana=12520,e.yokatakanahalfwidth=65430,e.yokorean=12635,e.yosmallhiragana=12423,e.yosmallkatakana=12519,e.yosmallkatakanahalfwidth=65390,e.yotgreek=1011,e.yoyaekorean=12680,e.yoyakorean=12679,e.yoyakthai=3618,e.yoyingthai=3597,e.yparen=9396,e.ypogegrammeni=890,e.ypogegrammenigreekcmb=837,e.yr=422,e.yring=7833,e.ysuperior=696,e.ytilde=7929,e.yturned=654,e.yuhiragana=12422,e.yuikorean=12684,e.yukatakana=12518,e.yukatakanahalfwidth=65429,e.yukorean=12640,e.yusbigcyrillic=1131,e.yusbigiotifiedcyrillic=1133,e.yuslittlecyrillic=1127,e.yuslittleiotifiedcyrillic=1129,e.yusmallhiragana=12421,e.yusmallkatakana=12517,e.yusmallkatakanahalfwidth=65389,e.yuyekorean=12683,e.yuyeokorean=12682,e.yyabengali=2527,e.yyadeva=2399,e.z=122,e.zaarmenian=1382,e.zacute=378,e.zadeva=2395,e.zagurmukhi=2651,e.zaharabic=1592,e.zahfinalarabic=65222,e.zahinitialarabic=65223,e.zahiragana=12374,e.zahmedialarabic=65224,e.zainarabic=1586,e.zainfinalarabic=65200,e.zakatakana=12470,e.zaqefgadolhebrew=1429,e.zaqefqatanhebrew=1428,e.zarqahebrew=1432,e.zayin=1494,e.zayindagesh=64310,e.zayindageshhebrew=64310,e.zayinhebrew=1494,e.zbopomofo=12567,e.zcaron=382,e.zcircle=9449,e.zcircumflex=7825,e.zcurl=657,e.zdot=380,e.zdotaccent=380,e.zdotbelow=7827,e.zecyrillic=1079,e.zedescendercyrillic=1177,e.zedieresiscyrillic=1247,e.zehiragana=12380,e.zekatakana=12476,e.zero=48,e.zeroarabic=1632,e.zerobengali=2534,e.zerodeva=2406,e.zerogujarati=2790,e.zerogurmukhi=2662,e.zerohackarabic=1632,e.zeroinferior=8320,e.zeromonospace=65296,e.zerooldstyle=63280,e.zeropersian=1776,e.zerosuperior=8304,e.zerothai=3664,e.zerowidthjoiner=65279,e.zerowidthnonjoiner=8204,e.zerowidthspace=8203,e.zeta=950,e.zhbopomofo=12563,e.zhearmenian=1386,e.zhebrevecyrillic=1218,e.zhecyrillic=1078,e.zhedescendercyrillic=1175,e.zhedieresiscyrillic=1245,e.zihiragana=12376,e.zikatakana=12472,e.zinorhebrew=1454,e.zlinebelow=7829,e.zmonospace=65370,e.zohiragana=12382,e.zokatakana=12478,e.zparen=9397,e.zretroflexhook=656,e.zstroke=438,e.zuhiragana=12378,e.zukatakana=12474,e[".notdef"]=0,e.angbracketleftbig=9001,e.angbracketleftBig=9001,e.angbracketleftbigg=9001,e.angbracketleftBigg=9001,e.angbracketrightBig=9002,e.angbracketrightbig=9002,e.angbracketrightBigg=9002,e.angbracketrightbigg=9002,e.arrowhookleft=8618,e.arrowhookright=8617,e.arrowlefttophalf=8636,e.arrowleftbothalf=8637,e.arrownortheast=8599,e.arrownorthwest=8598,e.arrowrighttophalf=8640,e.arrowrightbothalf=8641,e.arrowsoutheast=8600,e.arrowsouthwest=8601,e.backslashbig=8726,e.backslashBig=8726,e.backslashBigg=8726,e.backslashbigg=8726,e.bardbl=8214,e.bracehtipdownleft=65079,e.bracehtipdownright=65079,e.bracehtipupleft=65080,e.bracehtipupright=65080,e.braceleftBig=123,e.braceleftbig=123,e.braceleftbigg=123,e.braceleftBigg=123,e.bracerightBig=125,e.bracerightbig=125,e.bracerightbigg=125,e.bracerightBigg=125,e.bracketleftbig=91,e.bracketleftBig=91,e.bracketleftbigg=91,e.bracketleftBigg=91,e.bracketrightBig=93,e.bracketrightbig=93,e.bracketrightbigg=93,e.bracketrightBigg=93,e.ceilingleftbig=8968,e.ceilingleftBig=8968,e.ceilingleftBigg=8968,e.ceilingleftbigg=8968,e.ceilingrightbig=8969,e.ceilingrightBig=8969,e.ceilingrightbigg=8969,e.ceilingrightBigg=8969,e.circledotdisplay=8857,e.circledottext=8857,e.circlemultiplydisplay=8855,e.circlemultiplytext=8855,e.circleplusdisplay=8853,e.circleplustext=8853,e.contintegraldisplay=8750,e.contintegraltext=8750,e.coproductdisplay=8720,e.coproducttext=8720,e.floorleftBig=8970,e.floorleftbig=8970,e.floorleftbigg=8970,e.floorleftBigg=8970,e.floorrightbig=8971,e.floorrightBig=8971,e.floorrightBigg=8971,e.floorrightbigg=8971,e.hatwide=770,e.hatwider=770,e.hatwidest=770,e.intercal=7488,e.integraldisplay=8747,e.integraltext=8747,e.intersectiondisplay=8898,e.intersectiontext=8898,e.logicalanddisplay=8743,e.logicalandtext=8743,e.logicalordisplay=8744,e.logicalortext=8744,e.parenleftBig=40,e.parenleftbig=40,e.parenleftBigg=40,e.parenleftbigg=40,e.parenrightBig=41,e.parenrightbig=41,e.parenrightBigg=41,e.parenrightbigg=41,e.prime=8242,e.productdisplay=8719,e.producttext=8719,e.radicalbig=8730,e.radicalBig=8730,e.radicalBigg=8730,e.radicalbigg=8730,e.radicalbt=8730,e.radicaltp=8730,e.radicalvertex=8730,e.slashbig=47,e.slashBig=47,e.slashBigg=47,e.slashbigg=47,e.summationdisplay=8721,e.summationtext=8721,e.tildewide=732,e.tildewider=732,e.tildewidest=732,e.uniondisplay=8899,e.unionmultidisplay=8846,e.unionmultitext=8846,e.unionsqdisplay=8852,e.unionsqtext=8852,e.uniontext=8899,e.vextenddouble=8741,e.vextendsingle=8739})),i=(0,n.getLookupTableFactory)((function(e){e.space=32,e.a1=9985,e.a2=9986,e.a202=9987,e.a3=9988,e.a4=9742,e.a5=9990,e.a119=9991,e.a118=9992,e.a117=9993,e.a11=9755,e.a12=9758,e.a13=9996,e.a14=9997,e.a15=9998,e.a16=9999,e.a105=1e4,e.a17=10001,e.a18=10002,e.a19=10003,e.a20=10004,e.a21=10005,e.a22=10006,e.a23=10007,e.a24=10008,e.a25=10009,e.a26=10010,e.a27=10011,e.a28=10012,e.a6=10013,e.a7=10014,e.a8=10015,e.a9=10016,e.a10=10017,e.a29=10018,e.a30=10019,e.a31=10020,e.a32=10021,e.a33=10022,e.a34=10023,e.a35=9733,e.a36=10025,e.a37=10026,e.a38=10027,e.a39=10028,e.a40=10029,e.a41=10030,e.a42=10031,e.a43=10032,e.a44=10033,e.a45=10034,e.a46=10035,e.a47=10036,e.a48=10037,e.a49=10038,e.a50=10039,e.a51=10040,e.a52=10041,e.a53=10042,e.a54=10043,e.a55=10044,e.a56=10045,e.a57=10046,e.a58=10047,e.a59=10048,e.a60=10049,e.a61=10050,e.a62=10051,e.a63=10052,e.a64=10053,e.a65=10054,e.a66=10055,e.a67=10056,e.a68=10057,e.a69=10058,e.a70=10059,e.a71=9679,e.a72=10061,e.a73=9632,e.a74=10063,e.a203=10064,e.a75=10065,e.a204=10066,e.a76=9650,e.a77=9660,e.a78=9670,e.a79=10070,e.a81=9687,e.a82=10072,e.a83=10073,e.a84=10074,e.a97=10075,e.a98=10076,e.a99=10077,e.a100=10078,e.a101=10081,e.a102=10082,e.a103=10083,e.a104=10084,e.a106=10085,e.a107=10086,e.a108=10087,e.a112=9827,e.a111=9830,e.a110=9829,e.a109=9824,e.a120=9312,e.a121=9313,e.a122=9314,e.a123=9315,e.a124=9316,e.a125=9317,e.a126=9318,e.a127=9319,e.a128=9320,e.a129=9321,e.a130=10102,e.a131=10103,e.a132=10104,e.a133=10105,e.a134=10106,e.a135=10107,e.a136=10108,e.a137=10109,e.a138=10110,e.a139=10111,e.a140=10112,e.a141=10113,e.a142=10114,e.a143=10115,e.a144=10116,e.a145=10117,e.a146=10118,e.a147=10119,e.a148=10120,e.a149=10121,e.a150=10122,e.a151=10123,e.a152=10124,e.a153=10125,e.a154=10126,e.a155=10127,e.a156=10128,e.a157=10129,e.a158=10130,e.a159=10131,e.a160=10132,e.a161=8594,e.a163=8596,e.a164=8597,e.a196=10136,e.a165=10137,e.a192=10138,e.a166=10139,e.a167=10140,e.a168=10141,e.a169=10142,e.a170=10143,e.a171=10144,e.a172=10145,e.a173=10146,e.a162=10147,e.a174=10148,e.a175=10149,e.a176=10150,e.a177=10151,e.a178=10152,e.a179=10153,e.a193=10154,e.a180=10155,e.a199=10156,e.a181=10157,e.a200=10158,e.a182=10159,e.a201=10161,e.a183=10162,e.a184=10163,e.a197=10164,e.a185=10165,e.a194=10166,e.a198=10167,e.a186=10168,e.a195=10169,e.a187=10170,e.a188=10171,e.a189=10172,e.a190=10173,e.a191=10174,e.a89=10088,e.a90=10089,e.a93=10090,e.a94=10091,e.a91=10092,e.a92=10093,e.a205=10094,e.a85=10095,e.a206=10096,e.a86=10097,e.a87=10098,e.a88=10099,e.a95=10100,e.a96=10101,e[".notdef"]=0}))},function(e,t,r){r.r(t),r.d(t,{clearUnicodeCaches:function(){return h},getCharUnicodeCategory:function(){return l},getUnicodeForGlyph:function(){return i},getUnicodeRangeFor:function(){return s},mapSpecialUnicodeValues:function(){return a}});var n=(0,r(149).getLookupTableFactory)((function(e){e[63721]=169,e[63193]=169,e[63720]=174,e[63194]=174,e[63722]=8482,e[63195]=8482,e[63729]=9127,e[63730]=9128,e[63731]=9129,e[63740]=9131,e[63741]=9132,e[63742]=9133,e[63726]=9121,e[63727]=9122,e[63728]=9123,e[63737]=9124,e[63738]=9125,e[63739]=9126,e[63723]=9115,e[63724]=9116,e[63725]=9117,e[63734]=9118,e[63735]=9119,e[63736]=9120}));function a(e){return e>=65520&&e<=65535?0:e>=62976&&e<=63743?n()[e]||e:173===e?45:e}function i(e,t){var r=t[e];if(void 0!==r)return r;if(!e)return-1;if("u"===e[0]){var n,a=e.length;if(7===a&&"n"===e[1]&&"i"===e[2])n=e.substring(3);else{if(!(a>=5&&a<=7))return-1;n=e.substring(1)}if(n===n.toUpperCase()&&(r=parseInt(n,16))>=0)return r}return-1}var o=[[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 s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(-1!==t)for(var r=o[t],n=0,a=r.length;n<a;n+=2)if(e>=r[n]&&e<=r[n+1])return t;for(var i=0,s=o.length;i<s;i++)for(var c=o[i],u=0,l=c.length;u<l;u+=2)if(e>=c[u]&&e<=c[u+1])return i;return-1}var c=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),u=new Map;function l(e){var t=u.get(e);if(t)return t;var r=e.match(c),n={isWhitespace:!(null==r||!r[1]),isZeroWidthDiacritic:!(null==r||!r[2]),isInvisibleFormatMark:!(null==r||!r[3])};return u.set(e,n),n}function h(){u.clear()}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.getSerifFonts=t.getNonStdFontMap=t.getGlyphMapForStandardFonts=t.getFontNameToFileMap=void 0,t.getStandardFontName=function(e){var t=(0,a.normalizeFontName)(e);return i()[t]},t.getSymbolsFonts=t.getSupplementalGlyphMapForCalibri=t.getSupplementalGlyphMapForArialBlack=t.getStdFontMap=void 0,t.isKnownFontName=function(e){var t=(0,a.normalizeFontName)(e);return!!(i()[t]||s()[t]||c()[t]||u()[t])};var n=r(149),a=r(188),i=(0,n.getLookupTableFactory)((function(e){e["Times-Roman"]="Times-Roman",e.Helvetica="Helvetica",e.Courier="Courier",e.Symbol="Symbol",e["Times-Bold"]="Times-Bold",e["Helvetica-Bold"]="Helvetica-Bold",e["Courier-Bold"]="Courier-Bold",e.ZapfDingbats="ZapfDingbats",e["Times-Italic"]="Times-Italic",e["Helvetica-Oblique"]="Helvetica-Oblique",e["Courier-Oblique"]="Courier-Oblique",e["Times-BoldItalic"]="Times-BoldItalic",e["Helvetica-BoldOblique"]="Helvetica-BoldOblique",e["Courier-BoldOblique"]="Courier-BoldOblique",e.ArialNarrow="Helvetica",e["ArialNarrow-Bold"]="Helvetica-Bold",e["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",e["ArialNarrow-Italic"]="Helvetica-Oblique",e.ArialBlack="Helvetica",e["ArialBlack-Bold"]="Helvetica-Bold",e["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",e["ArialBlack-Italic"]="Helvetica-Oblique",e["Arial-Black"]="Helvetica",e["Arial-Black-Bold"]="Helvetica-Bold",e["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Black-Italic"]="Helvetica-Oblique",e.Arial="Helvetica",e["Arial-Bold"]="Helvetica-Bold",e["Arial-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Italic"]="Helvetica-Oblique",e.ArialMT="Helvetica",e["Arial-BoldItalicMT"]="Helvetica-BoldOblique",e["Arial-BoldMT"]="Helvetica-Bold",e["Arial-ItalicMT"]="Helvetica-Oblique",e["Arial-BoldItalicMT-BoldItalic"]="Helvetica-BoldOblique",e["Arial-BoldMT-Bold"]="Helvetica-Bold",e["Arial-ItalicMT-Italic"]="Helvetica-Oblique",e.ArialUnicodeMS="Helvetica",e["ArialUnicodeMS-Bold"]="Helvetica-Bold",e["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",e["ArialUnicodeMS-Italic"]="Helvetica-Oblique",e["Courier-BoldItalic"]="Courier-BoldOblique",e["Courier-Italic"]="Courier-Oblique",e.CourierNew="Courier",e["CourierNew-Bold"]="Courier-Bold",e["CourierNew-BoldItalic"]="Courier-BoldOblique",e["CourierNew-Italic"]="Courier-Oblique",e["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",e["CourierNewPS-BoldMT"]="Courier-Bold",e["CourierNewPS-ItalicMT"]="Courier-Oblique",e.CourierNewPSMT="Courier",e["Helvetica-BoldItalic"]="Helvetica-BoldOblique",e["Helvetica-Italic"]="Helvetica-Oblique",e["Symbol-Bold"]="Symbol",e["Symbol-BoldItalic"]="Symbol",e["Symbol-Italic"]="Symbol",e.TimesNewRoman="Times-Roman",e["TimesNewRoman-Bold"]="Times-Bold",e["TimesNewRoman-BoldItalic"]="Times-BoldItalic",e["TimesNewRoman-Italic"]="Times-Italic",e.TimesNewRomanPS="Times-Roman",e["TimesNewRomanPS-Bold"]="Times-Bold",e["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",e["TimesNewRomanPS-BoldMT"]="Times-Bold",e["TimesNewRomanPS-Italic"]="Times-Italic",e["TimesNewRomanPS-ItalicMT"]="Times-Italic",e.TimesNewRomanPSMT="Times-Roman",e["TimesNewRomanPSMT-Bold"]="Times-Bold",e["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPSMT-Italic"]="Times-Italic"}));t.getStdFontMap=i;var o=(0,n.getLookupTableFactory)((function(e){e.Courier="FoxitFixed.pfb",e["Courier-Bold"]="FoxitFixedBold.pfb",e["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",e["Courier-Oblique"]="FoxitFixedItalic.pfb",e.Helvetica="LiberationSans-Regular.ttf",e["Helvetica-Bold"]="LiberationSans-Bold.ttf",e["Helvetica-BoldOblique"]="LiberationSans-BoldItalic.ttf",e["Helvetica-Oblique"]="LiberationSans-Italic.ttf",e["Times-Roman"]="FoxitSerif.pfb",e["Times-Bold"]="FoxitSerifBold.pfb",e["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",e["Times-Italic"]="FoxitSerifItalic.pfb",e.Symbol="FoxitSymbol.pfb",e.ZapfDingbats="FoxitDingbats.pfb",e["LiberationSans-Regular"]="LiberationSans-Regular.ttf",e["LiberationSans-Bold"]="LiberationSans-Bold.ttf",e["LiberationSans-Italic"]="LiberationSans-Italic.ttf",e["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"}));t.getFontNameToFileMap=o;var s=(0,n.getLookupTableFactory)((function(e){e.Calibri="Helvetica",e["Calibri-Bold"]="Helvetica-Bold",e["Calibri-BoldItalic"]="Helvetica-BoldOblique",e["Calibri-Italic"]="Helvetica-Oblique",e.CenturyGothic="Helvetica",e["CenturyGothic-Bold"]="Helvetica-Bold",e["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",e["CenturyGothic-Italic"]="Helvetica-Oblique",e.ComicSansMS="Comic Sans MS",e["ComicSansMS-Bold"]="Comic Sans MS-Bold",e["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",e["ComicSansMS-Italic"]="Comic Sans MS-Italic",e.Impact="Helvetica",e["ItcSymbol-Bold"]="Helvetica-Bold",e["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",e["ItcSymbol-Book"]="Helvetica",e["ItcSymbol-BookItalic"]="Helvetica-Oblique",e["ItcSymbol-Medium"]="Helvetica",e["ItcSymbol-MediumItalic"]="Helvetica-Oblique",e.LucidaConsole="Courier",e["LucidaConsole-Bold"]="Courier-Bold",e["LucidaConsole-BoldItalic"]="Courier-BoldOblique",e["LucidaConsole-Italic"]="Courier-Oblique",e["LucidaSans-Demi"]="Helvetica-Bold",e["MS-Gothic"]="MS Gothic",e["MS-Gothic-Bold"]="MS Gothic-Bold",e["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",e["MS-Gothic-Italic"]="MS Gothic-Italic",e["MS-Mincho"]="MS Mincho",e["MS-Mincho-Bold"]="MS Mincho-Bold",e["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",e["MS-Mincho-Italic"]="MS Mincho-Italic",e["MS-PGothic"]="MS PGothic",e["MS-PGothic-Bold"]="MS PGothic-Bold",e["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",e["MS-PGothic-Italic"]="MS PGothic-Italic",e["MS-PMincho"]="MS PMincho",e["MS-PMincho-Bold"]="MS PMincho-Bold",e["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",e["MS-PMincho-Italic"]="MS PMincho-Italic",e.NuptialScript="Times-Italic",e.SegoeUISymbol="Helvetica"}));t.getNonStdFontMap=s;var c=(0,n.getLookupTableFactory)((function(e){e["Adobe Jenson"]=!0,e["Adobe Text"]=!0,e.Albertus=!0,e.Aldus=!0,e.Alexandria=!0,e.Algerian=!0,e["American Typewriter"]=!0,e.Antiqua=!0,e.Apex=!0,e.Arno=!0,e.Aster=!0,e.Aurora=!0,e.Baskerville=!0,e.Bell=!0,e.Bembo=!0,e["Bembo Schoolbook"]=!0,e.Benguiat=!0,e["Berkeley Old Style"]=!0,e["Bernhard Modern"]=!0,e["Berthold City"]=!0,e.Bodoni=!0,e["Bauer Bodoni"]=!0,e["Book Antiqua"]=!0,e.Bookman=!0,e["Bordeaux Roman"]=!0,e["Californian FB"]=!0,e.Calisto=!0,e.Calvert=!0,e.Capitals=!0,e.Cambria=!0,e.Cartier=!0,e.Caslon=!0,e.Catull=!0,e.Centaur=!0,e["Century Old Style"]=!0,e["Century Schoolbook"]=!0,e.Chaparral=!0,e["Charis SIL"]=!0,e.Cheltenham=!0,e["Cholla Slab"]=!0,e.Clarendon=!0,e.Clearface=!0,e.Cochin=!0,e.Colonna=!0,e["Computer Modern"]=!0,e["Concrete Roman"]=!0,e.Constantia=!0,e["Cooper Black"]=!0,e.Corona=!0,e.Ecotype=!0,e.Egyptienne=!0,e.Elephant=!0,e.Excelsior=!0,e.Fairfield=!0,e["FF Scala"]=!0,e.Folkard=!0,e.Footlight=!0,e.FreeSerif=!0,e["Friz Quadrata"]=!0,e.Garamond=!0,e.Gentium=!0,e.Georgia=!0,e.Gloucester=!0,e["Goudy Old Style"]=!0,e["Goudy Schoolbook"]=!0,e["Goudy Pro Font"]=!0,e.Granjon=!0,e["Guardian Egyptian"]=!0,e.Heather=!0,e.Hercules=!0,e["High Tower Text"]=!0,e.Hiroshige=!0,e["Hoefler Text"]=!0,e["Humana Serif"]=!0,e.Imprint=!0,e["Ionic No. 5"]=!0,e.Janson=!0,e.Joanna=!0,e.Korinna=!0,e.Lexicon=!0,e.LiberationSerif=!0,e["Liberation Serif"]=!0,e["Linux Libertine"]=!0,e.Literaturnaya=!0,e.Lucida=!0,e["Lucida Bright"]=!0,e.Melior=!0,e.Memphis=!0,e.Miller=!0,e.Minion=!0,e.Modern=!0,e["Mona Lisa"]=!0,e["Mrs Eaves"]=!0,e["MS Serif"]=!0,e["Museo Slab"]=!0,e["New York"]=!0,e["Nimbus Roman"]=!0,e["NPS Rawlinson Roadway"]=!0,e.NuptialScript=!0,e.Palatino=!0,e.Perpetua=!0,e.Plantin=!0,e["Plantin Schoolbook"]=!0,e.Playbill=!0,e["Poor Richard"]=!0,e["Rawlinson Roadway"]=!0,e.Renault=!0,e.Requiem=!0,e.Rockwell=!0,e.Roman=!0,e["Rotis Serif"]=!0,e.Sabon=!0,e.Scala=!0,e.Seagull=!0,e.Sistina=!0,e.Souvenir=!0,e.STIX=!0,e["Stone Informal"]=!0,e["Stone Serif"]=!0,e.Sylfaen=!0,e.Times=!0,e.Trajan=!0,e["Trinité"]=!0,e["Trump Mediaeval"]=!0,e.Utopia=!0,e["Vale Type"]=!0,e["Bitstream Vera"]=!0,e["Vera Serif"]=!0,e.Versailles=!0,e.Wanted=!0,e.Weiss=!0,e["Wide Latin"]=!0,e.Windsor=!0,e.XITS=!0}));t.getSerifFonts=c;var u=(0,n.getLookupTableFactory)((function(e){e.Dingbats=!0,e.Symbol=!0,e.ZapfDingbats=!0,e.Wingdings=!0,e["Wingdings-Bold"]=!0,e["Wingdings-Regular"]=!0}));t.getSymbolsFonts=u;var l=(0,n.getLookupTableFactory)((function(e){e[2]=10,e[3]=32,e[4]=33,e[5]=34,e[6]=35,e[7]=36,e[8]=37,e[9]=38,e[10]=39,e[11]=40,e[12]=41,e[13]=42,e[14]=43,e[15]=44,e[16]=45,e[17]=46,e[18]=47,e[19]=48,e[20]=49,e[21]=50,e[22]=51,e[23]=52,e[24]=53,e[25]=54,e[26]=55,e[27]=56,e[28]=57,e[29]=58,e[30]=894,e[31]=60,e[32]=61,e[33]=62,e[34]=63,e[35]=64,e[36]=65,e[37]=66,e[38]=67,e[39]=68,e[40]=69,e[41]=70,e[42]=71,e[43]=72,e[44]=73,e[45]=74,e[46]=75,e[47]=76,e[48]=77,e[49]=78,e[50]=79,e[51]=80,e[52]=81,e[53]=82,e[54]=83,e[55]=84,e[56]=85,e[57]=86,e[58]=87,e[59]=88,e[60]=89,e[61]=90,e[62]=91,e[63]=92,e[64]=93,e[65]=94,e[66]=95,e[67]=96,e[68]=97,e[69]=98,e[70]=99,e[71]=100,e[72]=101,e[73]=102,e[74]=103,e[75]=104,e[76]=105,e[77]=106,e[78]=107,e[79]=108,e[80]=109,e[81]=110,e[82]=111,e[83]=112,e[84]=113,e[85]=114,e[86]=115,e[87]=116,e[88]=117,e[89]=118,e[90]=119,e[91]=120,e[92]=121,e[93]=122,e[94]=123,e[95]=124,e[96]=125,e[97]=126,e[98]=196,e[99]=197,e[100]=199,e[101]=201,e[102]=209,e[103]=214,e[104]=220,e[105]=225,e[106]=224,e[107]=226,e[108]=228,e[109]=227,e[110]=229,e[111]=231,e[112]=233,e[113]=232,e[114]=234,e[115]=235,e[116]=237,e[117]=236,e[118]=238,e[119]=239,e[120]=241,e[121]=243,e[122]=242,e[123]=244,e[124]=246,e[125]=245,e[126]=250,e[127]=249,e[128]=251,e[129]=252,e[130]=8224,e[131]=176,e[132]=162,e[133]=163,e[134]=167,e[135]=8226,e[136]=182,e[137]=223,e[138]=174,e[139]=169,e[140]=8482,e[141]=180,e[142]=168,e[143]=8800,e[144]=198,e[145]=216,e[146]=8734,e[147]=177,e[148]=8804,e[149]=8805,e[150]=165,e[151]=181,e[152]=8706,e[153]=8721,e[154]=8719,e[156]=8747,e[157]=170,e[158]=186,e[159]=8486,e[160]=230,e[161]=248,e[162]=191,e[163]=161,e[164]=172,e[165]=8730,e[166]=402,e[167]=8776,e[168]=8710,e[169]=171,e[170]=187,e[171]=8230,e[179]=8220,e[180]=8221,e[181]=8216,e[182]=8217,e[200]=193,e[203]=205,e[207]=211,e[210]=218,e[223]=711,e[224]=321,e[225]=322,e[226]=352,e[227]=353,e[228]=381,e[229]=382,e[233]=221,e[234]=253,e[252]=263,e[253]=268,e[254]=269,e[258]=258,e[260]=260,e[261]=261,e[265]=280,e[266]=281,e[267]=282,e[268]=283,e[269]=313,e[275]=323,e[276]=324,e[278]=328,e[283]=344,e[284]=345,e[285]=346,e[286]=347,e[292]=367,e[295]=377,e[296]=378,e[298]=380,e[305]=963,e[306]=964,e[307]=966,e[308]=8215,e[309]=8252,e[310]=8319,e[311]=8359,e[312]=8592,e[313]=8593,e[337]=9552,e[493]=1039,e[494]=1040,e[672]=1488,e[673]=1489,e[674]=1490,e[675]=1491,e[676]=1492,e[677]=1493,e[678]=1494,e[679]=1495,e[680]=1496,e[681]=1497,e[682]=1498,e[683]=1499,e[684]=1500,e[685]=1501,e[686]=1502,e[687]=1503,e[688]=1504,e[689]=1505,e[690]=1506,e[691]=1507,e[692]=1508,e[693]=1509,e[694]=1510,e[695]=1511,e[696]=1512,e[697]=1513,e[698]=1514,e[705]=1524,e[706]=8362,e[710]=64288,e[711]=64298,e[759]=1617,e[761]=1776,e[763]=1778,e[775]=1652,e[777]=1764,e[778]=1780,e[779]=1781,e[780]=1782,e[782]=771,e[783]=64726,e[786]=8363,e[788]=8532,e[790]=768,e[791]=769,e[792]=768,e[795]=803,e[797]=64336,e[798]=64337,e[799]=64342,e[800]=64343,e[801]=64344,e[802]=64345,e[803]=64362,e[804]=64363,e[805]=64364,e[2424]=7821,e[2425]=7822,e[2426]=7823,e[2427]=7824,e[2428]=7825,e[2429]=7826,e[2430]=7827,e[2433]=7682,e[2678]=8045,e[2679]=8046,e[2830]=1552,e[2838]=686,e[2840]=751,e[2842]=753,e[2843]=754,e[2844]=755,e[2846]=757,e[2856]=767,e[2857]=848,e[2858]=849,e[2862]=853,e[2863]=854,e[2864]=855,e[2865]=861,e[2866]=862,e[2906]=7460,e[2908]=7462,e[2909]=7463,e[2910]=7464,e[2912]=7466,e[2913]=7467,e[2914]=7468,e[2916]=7470,e[2917]=7471,e[2918]=7472,e[2920]=7474,e[2921]=7475,e[2922]=7476,e[2924]=7478,e[2925]=7479,e[2926]=7480,e[2928]=7482,e[2929]=7483,e[2930]=7484,e[2932]=7486,e[2933]=7487,e[2934]=7488,e[2936]=7490,e[2937]=7491,e[2938]=7492,e[2940]=7494,e[2941]=7495,e[2942]=7496,e[2944]=7498,e[2946]=7500,e[2948]=7502,e[2950]=7504,e[2951]=7505,e[2952]=7506,e[2954]=7508,e[2955]=7509,e[2956]=7510,e[2958]=7512,e[2959]=7513,e[2960]=7514,e[2962]=7516,e[2963]=7517,e[2964]=7518,e[2966]=7520,e[2967]=7521,e[2968]=7522,e[2970]=7524,e[2971]=7525,e[2972]=7526,e[2974]=7528,e[2975]=7529,e[2976]=7530,e[2978]=1537,e[2979]=1538,e[2980]=1539,e[2982]=1549,e[2983]=1551,e[2984]=1552,e[2986]=1554,e[2987]=1555,e[2988]=1556,e[2990]=1623,e[2991]=1624,e[2995]=1775,e[2999]=1791,e[3002]=64290,e[3003]=64291,e[3004]=64292,e[3006]=64294,e[3007]=64295,e[3008]=64296,e[3011]=1900,e[3014]=8223,e[3015]=8244,e[3017]=7532,e[3018]=7533,e[3019]=7534,e[3075]=7590,e[3076]=7591,e[3079]=7594,e[3080]=7595,e[3083]=7598,e[3084]=7599,e[3087]=7602,e[3088]=7603,e[3091]=7606,e[3092]=7607,e[3095]=7610,e[3096]=7611,e[3099]=7614,e[3100]=7615,e[3103]=7618,e[3104]=7619,e[3107]=8337,e[3108]=8338,e[3116]=1884,e[3119]=1885,e[3120]=1885,e[3123]=1886,e[3124]=1886,e[3127]=1887,e[3128]=1887,e[3131]=1888,e[3132]=1888,e[3135]=1889,e[3136]=1889,e[3139]=1890,e[3140]=1890,e[3143]=1891,e[3144]=1891,e[3147]=1892,e[3148]=1892,e[3153]=580,e[3154]=581,e[3157]=584,e[3158]=585,e[3161]=588,e[3162]=589,e[3165]=891,e[3166]=892,e[3169]=1274,e[3170]=1275,e[3173]=1278,e[3174]=1279,e[3181]=7622,e[3182]=7623,e[3282]=11799,e[3316]=578,e[3379]=42785,e[3393]=1159,e[3416]=8377}));t.getGlyphMapForStandardFonts=l;var h=(0,n.getLookupTableFactory)((function(e){e[227]=322,e[264]=261,e[291]=346}));t.getSupplementalGlyphMapForArialBlack=h;var f=(0,n.getLookupTableFactory)((function(e){e[1]=32,e[4]=65,e[5]=192,e[6]=193,e[9]=196,e[17]=66,e[18]=67,e[21]=268,e[24]=68,e[28]=69,e[29]=200,e[30]=201,e[32]=282,e[38]=70,e[39]=71,e[44]=72,e[47]=73,e[48]=204,e[49]=205,e[58]=74,e[60]=75,e[62]=76,e[68]=77,e[69]=78,e[75]=79,e[76]=210,e[80]=214,e[87]=80,e[89]=81,e[90]=82,e[92]=344,e[94]=83,e[97]=352,e[100]=84,e[104]=85,e[109]=220,e[115]=86,e[116]=87,e[121]=88,e[122]=89,e[124]=221,e[127]=90,e[129]=381,e[258]=97,e[259]=224,e[260]=225,e[263]=228,e[268]=261,e[271]=98,e[272]=99,e[273]=263,e[275]=269,e[282]=100,e[286]=101,e[287]=232,e[288]=233,e[290]=283,e[295]=281,e[296]=102,e[336]=103,e[346]=104,e[349]=105,e[350]=236,e[351]=237,e[361]=106,e[364]=107,e[367]=108,e[371]=322,e[373]=109,e[374]=110,e[381]=111,e[382]=242,e[383]=243,e[386]=246,e[393]=112,e[395]=113,e[396]=114,e[398]=345,e[400]=115,e[401]=347,e[403]=353,e[410]=116,e[437]=117,e[442]=252,e[448]=118,e[449]=119,e[454]=120,e[455]=121,e[457]=253,e[460]=122,e[462]=382,e[463]=380,e[853]=44,e[855]=58,e[856]=46,e[876]=47,e[878]=45,e[882]=45,e[894]=40,e[895]=41,e[896]=91,e[897]=93,e[923]=64,e[1004]=48,e[1005]=49,e[1006]=50,e[1007]=51,e[1008]=52,e[1009]=53,e[1010]=54,e[1011]=55,e[1012]=56,e[1013]=57,e[1081]=37,e[1085]=43,e[1086]=45}));t.getSupplementalGlyphMapForCalibri=f},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ToUnicodeMap=t.IdentityToUnicodeMap=void 0;var n=r(144);t.ToUnicodeMap=function(){function e(){M(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this._map=t}return P(e,[{key:"length",get:function(){return this._map.length}},{key:"forEach",value:function(e){for(var t in this._map)e(t,this._map[t].charCodeAt(0))}},{key:"has",value:function(e){return void 0!==this._map[e]}},{key:"get",value:function(e){return this._map[e]}},{key:"charCodeOf",value:function(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(var r in t)if(t[r]===e)return 0|r;return-1}},{key:"amend",value:function(e){for(var t in e)this._map[t]=e[t]}}]),e}(),t.IdentityToUnicodeMap=function(){function e(t,r){M(this,e),this.firstChar=t,this.lastChar=r}return P(e,[{key:"length",get:function(){return this.lastChar+1-this.firstChar}},{key:"forEach",value:function(e){for(var t=this.firstChar,r=this.lastChar;t<=r;t++)e(t,t)}},{key:"has",value:function(e){return this.firstChar<=e&&e<=this.lastChar}},{key:"get",value:function(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}},{key:"charCodeOf",value:function(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}},{key:"amend",value:function(e){(0,n.unreachable)("Should not call amend()")}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.CFFFont=void 0;var n=r(185),a=r(188),i=r(144);t.CFFFont=function(){function e(t,r){M(this,e),this.properties=r;var o=new n.CFFParser(t,r,a.SEAC_ANALYSIS_ENABLED);this.cff=o.parse(),this.cff.duplicateFirstGlyph();var s=new n.CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=s.compile()}catch(e){(0,i.warn)("Failed to compile font "+r.loadedName),this.data=t}this._createBuiltInEncoding()}return P(e,[{key:"numGlyphs",get:function(){return this.cff.charStrings.count}},{key:"getCharset",value:function(){return this.cff.charset.charset}},{key:"getGlyphMapping",value:function(){var e,t,r=this.cff,n=this.properties,i=n.cidToGidMap,o=n.cMap,s=r.charset.charset;if(n.composite){var c,u;if((null==i?void 0:i.length)>0){c=Object.create(null);for(var l=0,h=i.length;l<h;l++){var f=i[l];void 0!==f&&(c[f]=l)}}if(e=Object.create(null),r.isCIDFont)for(t=0;t<s.length;t++){var d,p=s[t];u=o.charCodeOf(p),void 0!==(null===(d=c)||void 0===d?void 0:d[u])&&(u=c[u]),e[u]=t}else for(t=0;t<r.charStrings.count;t++)e[u=o.charCodeOf(t)]=t;return e}var g=r.encoding?r.encoding.encoding:null;return n.isInternalFont&&(g=n.defaultEncoding),(0,a.type1FontGlyphMapping)(n,g,s)}},{key:"hasGlyphId",value:function(e){return this.cff.hasGlyphId(e)}},{key:"_createBuiltInEncoding",value:function(){var e=this.cff,t=e.charset,r=e.encoding;if(t&&r){var n=t.charset,a=r.encoding,i=[];for(var o in a){var s=a[o];if(s>=0){var c=n[s];c&&(i[o]=c)}}i.length>0&&(this.properties.builtInEncoding=i)}}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.FontRendererFactory=void 0,r(139),r(157),r(159),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(144),a=r(185),i=r(189),o=r(187),s=r(154);function c(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function u(e,t){return e[t]<<8|e[t+1]}function l(e,t){return(e[t]<<24|e[t+1]<<16)>>16}function h(e,t){return e[t]<<24>>24}function f(e,t){return l(e,t)/16384}function p(e){var t=e.length,r=32768;return t<1240?r=107:t<33900&&(r=1131),r}function g(e,t,r){var a,i,o,s=1===u(e,t+2)?c(e,t+8):c(e,t+16),l=u(e,t+s);if(4===l){u(e,t+s+2);var h=u(e,t+s+6)>>1;for(i=t+s+14,a=[],o=0;o<h;o++,i+=2)a[o]={end:u(e,i)};for(i+=2,o=0;o<h;o++,i+=2)a[o].start=u(e,i);for(o=0;o<h;o++,i+=2)a[o].idDelta=u(e,i);for(o=0;o<h;o++,i+=2){var f=u(e,i);if(0!==f){a[o].ids=[];for(var d=0,p=a[o].end-a[o].start+1;d<p;d++)a[o].ids[d]=u(e,i+f),f+=2}}return a}if(12===l){var g=c(e,t+s+12);for(i=t+s+16,a=[],o=0;o<g;o++)t=c(e,i),a.push({start:t,end:c(e,i+4),idDelta:c(e,i+8)-t}),i+=12;return a}throw new n.FormatError("unsupported cmap: ".concat(l))}function v(e,t,r,n){var i,o,c=new a.CFFParser(new s.Stream(e,t,r-t),{},n).parse();return{glyphs:c.charStrings.objects,subrs:null===(i=c.topDict.privateDict)||void 0===i||null===(i=i.subrsIndex)||void 0===i?void 0:i.objects,gsubrs:null===(o=c.globalSubrIndex)||void 0===o?void 0:o.objects,isCFFCIDFont:c.isCIDFont,fdSelect:c.fdSelect,fdArray:c.fdArray}}function m(e,t){for(var r=t.codePointAt(0),n=0,a=0,i=e.length-1;a<i;){var o=a+i+1>>1;r<e[o].start?i=o-1:a=o}return e[a].start<=r&&r<=e[a].end&&(n=e[a].idDelta+(e[a].ids?e[a].ids[r-e[a].start]:r)&65535),{charCode:r,glyphId:n}}function b(e,t,r){function n(e,r){t.push({cmd:"moveTo",args:[e,r]})}function a(e,r){t.push({cmd:"lineTo",args:[e,r]})}function i(e,r,n,a){t.push({cmd:"quadraticCurveTo",args:[e,r,n,a]})}var o,s=0,c=l(e,s),d=0,p=0;if(s+=10,c<0)do{o=u(e,s);var g=u(e,s+2);s+=4;var v=void 0,m=void 0;1&o?(2&o?(v=l(e,s),m=l(e,s+2)):(v=u(e,s),m=u(e,s+2)),s+=4):2&o?(v=h(e,s++),m=h(e,s++)):(v=e[s++],m=e[s++]),2&o?(d=v,p=m):(d=0,p=0);var y=1,w=1,k=0,x=0;8&o?(y=w=f(e,s),s+=2):64&o?(y=f(e,s),w=f(e,s+2),s+=4):128&o&&(y=f(e,s),k=f(e,s+2),x=f(e,s+4),w=f(e,s+6),s+=8);var S=r.glyphs[g];S&&(t.push({cmd:"save"},{cmd:"transform",args:[y,k,x,w,d,p]}),b(S,t,r),t.push({cmd:"restore"}))}while(32&o);else{var A,C,O=[];for(A=0;A<c;A++)O.push(u(e,s)),s+=2;s+=2+u(e,s);for(var F=O.at(-1)+1,I=[];I.length<F;){var T=1;for(8&(o=e[s++])&&(T+=e[s++]);T-- >0;)I.push({flags:o})}for(A=0;A<F;A++){switch(18&I[A].flags){case 0:d+=l(e,s),s+=2;break;case 2:d-=e[s++];break;case 18:d+=e[s++]}I[A].x=d}for(A=0;A<F;A++){switch(36&I[A].flags){case 0:p+=l(e,s),s+=2;break;case 4:p-=e[s++];break;case 36:p+=e[s++]}I[A].y=p}var M=0;for(s=0;s<c;s++){var E=O[s],P=I.slice(M,E+1);if(1&P[0].flags)P.push(P[0]);else if(1&P.at(-1).flags)P.unshift(P.at(-1));else{var R={flags:1,x:(P[0].x+P.at(-1).x)/2,y:(P[0].y+P.at(-1).y)/2};P.unshift(R),P.push(R)}for(n(P[0].x,P[0].y),A=1,C=P.length;A<C;A++)1&P[A].flags?a(P[A].x,P[A].y):1&P[A+1].flags?(i(P[A].x,P[A].y,P[A+1].x,P[A+1].y),A++):i(P[A].x,P[A].y,(P[A].x+P[A+1].x)/2,(P[A].y+P[A+1].y)/2);M=E+1}}}function w(e,t,r,a){function i(e,r){t.push({cmd:"moveTo",args:[e,r]})}function s(e,r){t.push({cmd:"lineTo",args:[e,r]})}function c(e,r,n,a,i,o){t.push({cmd:"bezierCurveTo",args:[e,r,n,a,i,o]})}var u=[],l=0,h=0,f=0;!function e(d){for(var g=0;g<d.length;){var v=void 0,y=void 0,b=void 0,k=void 0,x=void 0,S=void 0,A=void 0,C=void 0,O=!1,F=d[g++];switch(F){case 1:case 3:case 18:case 23:f+=u.length>>1,O=!0;break;case 4:h+=u.pop(),i(l,h),O=!0;break;case 5:for(;u.length>0;)l+=u.shift(),h+=u.shift(),s(l,h);break;case 6:for(;u.length>0&&(s(l+=u.shift(),h),0!==u.length);)h+=u.shift(),s(l,h);break;case 7:for(;u.length>0&&(h+=u.shift(),s(l,h),0!==u.length);)s(l+=u.shift(),h);break;case 8:for(;u.length>0;)v=l+u.shift(),b=h+u.shift(),y=v+u.shift(),k=b+u.shift(),l=y+u.shift(),h=k+u.shift(),c(v,b,y,k,l,h);break;case 10:if(A=u.pop(),C=null,r.isCFFCIDFont){var I=r.fdSelect.getFDIndex(a);if(I>=0&&I<r.fdArray.length){var T,M=r.fdArray[I],E=void 0;(null===(T=M.privateDict)||void 0===T?void 0:T.subrsIndex)&&(E=M.privateDict.subrsIndex.objects),E&&(C=E[A+=p(E)])}else(0,n.warn)("Invalid fd index for glyph index.")}else C=r.subrs[A+r.subrsBias];C&&e(C);break;case 11:return;case 12:switch(F=d[g++]){case 34:y=(v=l+u.shift())+u.shift(),x=h+u.shift(),l=y+u.shift(),c(v,h,y,x,l,x),y=(v=l+u.shift())+u.shift(),l=y+u.shift(),c(v,x,y,h,l,h);break;case 35:v=l+u.shift(),b=h+u.shift(),y=v+u.shift(),k=b+u.shift(),l=y+u.shift(),h=k+u.shift(),c(v,b,y,k,l,h),v=l+u.shift(),b=h+u.shift(),y=v+u.shift(),k=b+u.shift(),l=y+u.shift(),h=k+u.shift(),c(v,b,y,k,l,h),u.pop();break;case 36:c(v=l+u.shift(),x=h+u.shift(),y=v+u.shift(),S=x+u.shift(),l=y+u.shift(),S),c(v=l+u.shift(),S,y=v+u.shift(),S+u.shift(),l=y+u.shift(),h);break;case 37:var P=l,R=h;v=l+u.shift(),b=h+u.shift(),y=v+u.shift(),k=b+u.shift(),l=y+u.shift(),h=k+u.shift(),c(v,b,y,k,l,h),v=l+u.shift(),b=h+u.shift(),y=v+u.shift(),k=b+u.shift(),l=y,h=k,Math.abs(l-P)>Math.abs(h-R)?l+=u.shift():h+=u.shift(),c(v,b,y,k,l,h);break;default:throw new n.FormatError("unknown operator: 12 ".concat(F))}break;case 14:if(u.length>=4){var N=u.pop(),D=u.pop();h=u.pop(),l=u.pop(),t.push({cmd:"save"},{cmd:"translate",args:[l,h]});var B=m(r.cmap,String.fromCharCode(r.glyphNameMap[o.StandardEncoding[N]]));w(r.glyphs[B.glyphId],t,r,B.glyphId),t.push({cmd:"restore"}),B=m(r.cmap,String.fromCharCode(r.glyphNameMap[o.StandardEncoding[D]])),w(r.glyphs[B.glyphId],t,r,B.glyphId)}return;case 19:case 20:g+=(f+=u.length>>1)+7>>3,O=!0;break;case 21:h+=u.pop(),i(l+=u.pop(),h),O=!0;break;case 22:i(l+=u.pop(),h),O=!0;break;case 24:for(;u.length>2;)v=l+u.shift(),b=h+u.shift(),y=v+u.shift(),k=b+u.shift(),l=y+u.shift(),h=k+u.shift(),c(v,b,y,k,l,h);l+=u.shift(),h+=u.shift(),s(l,h);break;case 25:for(;u.length>6;)l+=u.shift(),h+=u.shift(),s(l,h);v=l+u.shift(),b=h+u.shift(),y=v+u.shift(),k=b+u.shift(),l=y+u.shift(),h=k+u.shift(),c(v,b,y,k,l,h);break;case 26:for(u.length%2&&(l+=u.shift());u.length>0;)v=l,b=h+u.shift(),y=v+u.shift(),k=b+u.shift(),l=y,h=k+u.shift(),c(v,b,y,k,l,h);break;case 27:for(u.length%2&&(h+=u.shift());u.length>0;)c(v=l+u.shift(),b=h,y=v+u.shift(),k=b+u.shift(),l=y+u.shift(),h=k);break;case 28:u.push((d[g]<<24|d[g+1]<<16)>>16),g+=2;break;case 29:A=u.pop()+r.gsubrsBias,(C=r.gsubrs[A])&&e(C);break;case 30:for(;u.length>0&&(v=l,b=h+u.shift(),y=v+u.shift(),k=b+u.shift(),l=y+u.shift(),h=k+(1===u.length?u.shift():0),c(v,b,y,k,l,h),0!==u.length);)v=l+u.shift(),b=h,y=v+u.shift(),k=b+u.shift(),h=k+u.shift(),c(v,b,y,k,l=y+(1===u.length?u.shift():0),h);break;case 31:for(;u.length>0&&(v=l+u.shift(),b=h,y=v+u.shift(),k=b+u.shift(),h=k+u.shift(),c(v,b,y,k,l=y+(1===u.length?u.shift():0),h),0!==u.length);)v=l,b=h+u.shift(),y=v+u.shift(),k=b+u.shift(),l=y+u.shift(),h=k+(1===u.length?u.shift():0),c(v,b,y,k,l,h);break;default:if(F<32)throw new n.FormatError("unknown operator: ".concat(F));F<247?u.push(F-139):F<251?u.push(256*(F-247)+d[g++]+108):F<255?u.push(256*-(F-251)-d[g++]-108):(u.push((d[g]<<24|d[g+1]<<16|d[g+2]<<8|d[g+3])/65536),g+=4)}O&&(u.length=0)}}(e)}var k=[],x=function(){function e(t){M(this,e),this.constructor===e&&(0,n.unreachable)("Cannot initialize CompiledFont."),this.fontMatrix=t,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}return P(e,[{key:"getPathJs",value:function(e){var t=m(this.cmap,e),r=t.charCode,n=t.glyphId,a=this.compiledGlyphs[n];if(!a)try{a=this.compileGlyph(this.glyphs[n],n),this.compiledGlyphs[n]=a}catch(e){throw this.compiledGlyphs[n]=k,void 0===this.compiledCharCodeToGlyphId[r]&&(this.compiledCharCodeToGlyphId[r]=n),e}return void 0===this.compiledCharCodeToGlyphId[r]&&(this.compiledCharCodeToGlyphId[r]=n),a}},{key:"compileGlyph",value:function(e,t){if(!e||0===e.length||14===e[0])return k;var r=this.fontMatrix;if(this.isCFFCIDFont){var a=this.fdSelect.getFDIndex(t);a>=0&&a<this.fdArray.length?r=this.fdArray[a].getByName("FontMatrix")||n.FONT_IDENTITY_MATRIX:(0,n.warn)("Invalid fd index for glyph index.")}var i=[{cmd:"save"},{cmd:"transform",args:r.slice()},{cmd:"scale",args:["size","-size"]}];return this.compileGlyphImpl(e,i,t),i.push({cmd:"restore"}),i}},{key:"compileGlyphImpl",value:function(){(0,n.unreachable)("Children classes should implement this.")}},{key:"hasBuiltPath",value:function(e){var t=m(this.cmap,e),r=t.charCode,n=t.glyphId;return void 0!==this.compiledGlyphs[n]&&void 0!==this.compiledCharCodeToGlyphId[r]}}]),e}(),S=function(e){function t(e,r,n){var a;return M(this,t),(a=d(this,t,[n||[488e-6,0,0,488e-6,0,0]])).glyphs=e,a.cmap=r,a}return y(t,e),P(t,[{key:"compileGlyphImpl",value:function(e,t){b(e,t,this)}}]),t}(x),A=function(e){function t(e,r,n,a){var o;return M(this,t),(o=d(this,t,[n||[.001,0,0,.001,0,0]])).glyphs=e.glyphs,o.gsubrs=e.gsubrs||[],o.subrs=e.subrs||[],o.cmap=r,o.glyphNameMap=a||(0,i.getGlyphsUnicode)(),o.gsubrsBias=p(o.gsubrs),o.subrsBias=p(o.subrs),o.isCFFCIDFont=e.isCFFCIDFont,o.fdSelect=e.fdSelect,o.fdArray=e.fdArray,o}return y(t,e),P(t,[{key:"compileGlyphImpl",value:function(e,t,r){w(e,t,this,r)}}]),t}(x);t.FontRendererFactory=function(){function e(){M(this,e)}return P(e,null,[{key:"create",value:function(e,t){for(var r,a,i,o,s,l,h=new Uint8Array(e.data),f=u(h,4),d=0,p=12;d<f;d++,p+=16){var m=(0,n.bytesToString)(h.subarray(p,p+4)),y=c(h,p+8),b=c(h,p+12);switch(m){case"cmap":r=g(h,y);break;case"glyf":a=h.subarray(y,y+b);break;case"loca":i=h.subarray(y,y+b);break;case"head":l=u(h,y+18),s=u(h,y+50);break;case"CFF ":o=v(h,y,y+b,t)}}if(a){var w=l?[1/l,0,0,1/l,0,0]:e.fontMatrix;return new S(function(e,t,r){var n,a;r?(n=4,a=c):(n=2,a=function(e,t){return 2*u(e,t)});for(var i=[],o=a(t,0),s=n;s<t.length;s+=n){var l=a(t,s);i.push(e.subarray(o,l)),o=l}return i}(a,i,s),r,w)}return new A(o,r,e.fontMatrix,e.glyphNameMap)}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.getMetrics=t.getFontBasicMetrics=void 0;var n=r(149),a=(0,n.getLookupTableFactory)((function(e){e.Courier=600,e["Courier-Bold"]=600,e["Courier-BoldOblique"]=600,e["Courier-Oblique"]=600,e.Helvetica=(0,n.getLookupTableFactory)((function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-Bold"]=(0,n.getLookupTableFactory)((function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-BoldOblique"]=(0,n.getLookupTableFactory)((function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-Oblique"]=(0,n.getLookupTableFactory)((function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556})),e.Symbol=(0,n.getLookupTableFactory)((function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790})),e["Times-Roman"]=(0,n.getLookupTableFactory)((function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-Bold"]=(0,n.getLookupTableFactory)((function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-BoldItalic"]=(0,n.getLookupTableFactory)((function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-Italic"]=(0,n.getLookupTableFactory)((function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500})),e.ZapfDingbats=(0,n.getLookupTableFactory)((function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918}))}));t.getMetrics=a;var i=(0,n.getLookupTableFactory)((function(e){e.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},e["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},e["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},e["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},e["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},e["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},e.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},e.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}}));t.getFontBasicMetrics=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.GlyfTable=void 0,r(139),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(157),t.GlyfTable=function(){function e(t){M(this,e);var r=t.glyfTable,a=t.isGlyphLocationsLong,i=t.locaTable,o=t.numGlyphs;this.glyphs=[];for(var s=new DataView(i.buffer,i.byteOffset,i.byteLength),c=new DataView(r.buffer,r.byteOffset,r.byteLength),u=a?4:2,l=a?s.getUint32(0):2*s.getUint16(0),h=0,f=0;f<o;f++){h+=u;var d=a?s.getUint32(h):2*s.getUint16(h);if(d!==l){var p=n.parse(l,c);this.glyphs.push(p),l=d}else this.glyphs.push(new n({}))}}return P(e,[{key:"getSize",value:function(){return this.glyphs.reduce((function(e,t){return e+(t.getSize()+3&-4)}),0)}},{key:"write",value:function(){var e=this.getSize(),t=new DataView(new ArrayBuffer(e)),r=e>131070,n=r?4:2,a=new DataView(new ArrayBuffer((this.glyphs.length+1)*n));r?a.setUint32(0,0):a.setUint16(0,0);var i,o=0,s=0,c=x(this.glyphs);try{for(c.s();!(i=c.n()).done;)o=(o+=i.value.write(o,t))+3&-4,s+=n,r?a.setUint32(s,o):a.setUint16(s,o>>1)}catch(e){c.e(e)}finally{c.f()}return{isLocationLong:r,loca:new Uint8Array(a.buffer),glyf:new Uint8Array(t.buffer)}}},{key:"scale",value:function(e){for(var t=0,r=this.glyphs.length;t<r;t++)this.glyphs[t].scale(e[t])}}]),e}();var n=function(){function e(t){M(this,e);var r=t.header,n=void 0===r?null:r,a=t.simple,i=void 0===a?null:a,o=t.composites,s=void 0===o?null:o;this.header=n,this.simple=i,this.composites=s}return P(e,[{key:"getSize",value:function(){if(!this.header)return 0;var e=this.simple?this.simple.getSize():this.composites.reduce((function(e,t){return e+t.getSize()}),0);return this.header.getSize()+e}},{key:"write",value:function(e,t){if(!this.header)return 0;var r=e;if(e+=this.header.write(e,t),this.simple)e+=this.simple.write(e,t);else{var n,a=x(this.composites);try{for(a.s();!(n=a.n()).done;)e+=n.value.write(e,t)}catch(e){a.e(e)}finally{a.f()}}return e-r}},{key:"scale",value:function(e){if(this.header){var t=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(t,e),this.simple)this.simple.scale(t,e);else{var r,n=x(this.composites);try{for(n.s();!(r=n.n()).done;)r.value.scale(t,e)}catch(e){n.e(e)}finally{n.f()}}}}}],[{key:"parse",value:function(t,r){var n=S(a.parse(t,r),2),i=n[0],c=n[1];if(t+=i,c.numberOfContours<0){for(var u=[];;){var l=S(s.parse(t,r),2),h=l[0],f=l[1];if(t+=h,u.push(f),!(32&f.flags))break}return new e({header:c,composites:u})}return new e({header:c,simple:o.parse(t,r,c.numberOfContours)})}}]),e}(),a=function(){function e(t){M(this,e);var r=t.numberOfContours,n=t.xMin,a=t.yMin,i=t.xMax,o=t.yMax;this.numberOfContours=r,this.xMin=n,this.yMin=a,this.xMax=i,this.yMax=o}return P(e,[{key:"getSize",value:function(){return 10}},{key:"write",value:function(e,t){return t.setInt16(e,this.numberOfContours),t.setInt16(e+2,this.xMin),t.setInt16(e+4,this.yMin),t.setInt16(e+6,this.xMax),t.setInt16(e+8,this.yMax),10}},{key:"scale",value:function(e,t){this.xMin=Math.round(e+(this.xMin-e)*t),this.xMax=Math.round(e+(this.xMax-e)*t)}}],[{key:"parse",value:function(t,r){return[10,new e({numberOfContours:r.getInt16(t),xMin:r.getInt16(t+2),yMin:r.getInt16(t+4),xMax:r.getInt16(t+6),yMax:r.getInt16(t+8)})]}}]),e}(),i=P((function e(t){M(this,e);var r=t.flags,n=t.xCoordinates,a=t.yCoordinates;this.xCoordinates=n,this.yCoordinates=a,this.flags=r})),o=function(){function e(t){M(this,e);var r=t.contours,n=t.instructions;this.contours=r,this.instructions=n}return P(e,[{key:"getSize",value:function(){var e,t=2*this.contours.length+2+this.instructions.length,r=0,n=0,a=x(this.contours);try{for(a.s();!(e=a.n()).done;){var i=e.value;t+=i.flags.length;for(var o=0,s=i.xCoordinates.length;o<s;o++){var c=i.xCoordinates[o],u=i.yCoordinates[o],l=Math.abs(c-r);l>255?t+=2:l>0&&(t+=1),r=c,(l=Math.abs(u-n))>255?t+=2:l>0&&(t+=1),n=u}}}catch(e){a.e(e)}finally{a.f()}return t}},{key:"write",value:function(e,t){var r,n=e,a=[],i=[],o=[],s=0,c=0,u=x(this.contours);try{for(u.s();!(r=u.n()).done;){for(var l=r.value,h=0,f=l.xCoordinates.length;h<f;h++){var d=l.flags[h],p=l.xCoordinates[h],g=p-s;if(0===g)d|=16,a.push(0);else{var v=Math.abs(g);v<=255?(d|=g>=0?18:2,a.push(v)):a.push(g)}s=p;var m=l.yCoordinates[h];if(0==(g=m-c))d|=32,i.push(0);else{var y=Math.abs(g);y<=255?(d|=g>=0?36:4,i.push(y)):i.push(g)}c=m,o.push(d)}t.setUint16(e,a.length-1),e+=2}}catch(e){u.e(e)}finally{u.f()}t.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length);for(var b=0,w=o;b<w.length;b++){var k=w[b];t.setUint8(e++,k)}for(var S=0,A=a.length;S<A;S++){var C=a[S],O=o[S];2&O?t.setUint8(e++,C):16&O||(t.setInt16(e,C),e+=2)}for(var F=0,I=i.length;F<I;F++){var T=i[F],M=o[F];4&M?t.setUint8(e++,T):32&M||(t.setInt16(e,T),e+=2)}return e-n}},{key:"scale",value:function(e,t){var r,n=x(this.contours);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(0!==a.xCoordinates.length)for(var i=0,o=a.xCoordinates.length;i<o;i++)a.xCoordinates[i]=Math.round(e+(a.xCoordinates[i]-e)*t)}}catch(e){n.e(e)}finally{n.f()}}}],[{key:"parse",value:function(t,r,n){for(var a=[],o=0;o<n;o++){var s=r.getUint16(t);t+=2,a.push(s)}var c=a[n-1]+1,u=r.getUint16(t);t+=2;var l=new Uint8Array(r).slice(t,t+u);t+=u;for(var h=[],f=0;f<c;t++,f++){var d=r.getUint8(t);if(h.push(d),8&d){var p=r.getUint8(++t);d^=8;for(var g=0;g<p;g++)h.push(d);f+=p}}for(var v=[],m=[],y=[],b=[],w=[],k=0,x=0,S=0;S<c;S++){var A=h[S];if(2&A){var C=r.getUint8(t++);x+=16&A?C:-C,m.push(x)}else 16&A||(x+=r.getInt16(t),t+=2),m.push(x);a[k]===S&&(k++,v.push(m),m=[])}x=0,k=0;for(var O=0;O<c;O++){var F=h[O];if(4&F){var I=r.getUint8(t++);x+=32&F?I:-I,y.push(x)}else 32&F||(x+=r.getInt16(t),t+=2),y.push(x);b.push(1&F|64&F),a[k]===O&&(m=v[k],k++,w.push(new i({flags:b,xCoordinates:m,yCoordinates:y})),y=[],b=[])}return new e({contours:w,instructions:l})}}]),e}(),s=function(){function e(t){M(this,e);var r=t.flags,n=t.glyphIndex,a=t.argument1,i=t.argument2,o=t.transf,s=t.instructions;this.flags=r,this.glyphIndex=n,this.argument1=a,this.argument2=i,this.transf=o,this.instructions=s}return P(e,[{key:"getSize",value:function(){var e=4+2*this.transf.length;return 256&this.flags&&(e+=2+this.instructions.length),e+=2,2&this.flags?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(e+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(e+=2),e}},{key:"write",value:function(e,t){var r=e;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),t.setUint16(e,this.flags),t.setUint16(e+2,this.glyphIndex),e+=4,1&this.flags?(2&this.flags?(t.setInt16(e,this.argument1),t.setInt16(e+2,this.argument2)):(t.setUint16(e,this.argument1),t.setUint16(e+2,this.argument2)),e+=4):(t.setUint8(e,this.argument1),t.setUint8(e+1,this.argument2),e+=2),256&this.flags&&(t.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length)),e-r}},{key:"scale",value:function(e,t){}}],[{key:"parse",value:function(t,r){var n,a,i=t,o=[],s=r.getUint16(t),c=r.getUint16(t+2);t+=4,1&s?(2&s?(n=r.getInt16(t),a=r.getInt16(t+2)):(n=r.getUint16(t),a=r.getUint16(t+2)),t+=4,s^=1):(2&s?(n=r.getInt8(t),a=r.getInt8(t+1)):(n=r.getUint8(t),a=r.getUint8(t+1)),t+=2),8&s?(o.push(r.getUint16(t)),t+=2):64&s?(o.push(r.getUint16(t),r.getUint16(t+2)),t+=4):128&s&&(o.push(r.getUint16(t),r.getUint16(t+2),r.getUint16(t+4),r.getUint16(t+6)),t+=8);var u=null;if(256&s){var l=r.getUint16(t);t+=2,u=new Uint8Array(r).slice(t,t+l),t+=l}return[t-i,new e({flags:s,glyphIndex:c,argument1:n,argument2:a,transf:o,instructions:u})]}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.OpenTypeFileBuilder=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(139),r(2);var n=r(149),a=r(144);function i(e,t,r){e[t]=r>>8&255,e[t+1]=255&r}function o(e,t,r){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}function s(e,t,r){if(r instanceof Uint8Array)e.set(r,t);else if("string"==typeof r)for(var n=0,a=r.length;n<a;n++)e[t++]=255&r.charCodeAt(n);else{var i,o=x(r);try{for(o.s();!(i=o.n()).done;){var s=i.value;e[t++]=255&s}}catch(e){o.e(e)}finally{o.f()}}}var c=function(){function e(t){M(this,e),this.sfnt=t,this.tables=Object.create(null)}return P(e,[{key:"toArray",value:function(){var t=this.sfnt,r=this.tables,c=Object.keys(r);c.sort();var u,l,h,f,d,p=c.length,g=12+16*p,v=[g];for(u=0;u<p;u++)g+=((f=r[c[u]]).length+3&-4)>>>0,v.push(g);var m=new Uint8Array(g);for(u=0;u<p;u++)f=r[c[u]],s(m,v[u],f);"true"===t&&(t=(0,a.string32)(65536)),m[0]=255&t.charCodeAt(0),m[1]=255&t.charCodeAt(1),m[2]=255&t.charCodeAt(2),m[3]=255&t.charCodeAt(3),i(m,4,p);var y=e.getSearchParams(p,16);for(i(m,6,y.range),i(m,8,y.entry),i(m,10,y.rangeShift),g=12,u=0;u<p;u++){d=c[u],m[g]=255&d.charCodeAt(0),m[g+1]=255&d.charCodeAt(1),m[g+2]=255&d.charCodeAt(2),m[g+3]=255&d.charCodeAt(3);var b=0;for(l=v[u],h=v[u+1];l<h;l+=4)b=b+(0,n.readUint32)(m,l)>>>0;o(m,g+4,b),o(m,g+8,v[u]),o(m,g+12,r[d].length),g+=16}return m}},{key:"addTable",value:function(e,t){if(e in this.tables)throw new Error("Table "+e+" already exists");this.tables[e]=t}}],[{key:"getSearchParams",value:function(e,t){for(var r=1,n=0;(r^e)>r;)r<<=1,n++;var a=r*t;return{range:a,entry:n,rangeShift:t*e-a}}}]),e}();t.OpenTypeFileBuilder=c},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Type1Font=void 0,r(139);var n=r(185),a=r(144),i=r(188),o=r(149),s=r(154),c=r(199);function u(e,t,r){for(var n=e.length,a=t.length,i=n-a,s=r,c=!1;s<i;){for(var u=0;u<a&&e[s+u]===t[u];)u++;if(u>=a){for(s+=u;s<n&&(0,o.isWhiteSpace)(e[s]);)s++;c=!0;break}s++}return{found:c,length:s}}t.Type1Font=function(){function e(t,r,n){M(this,e);var o=n.length1,l=(n.length2,r.peekBytes(6)),h=128===l[0]&&1===l[1];h&&(r.skip(6),o=l[5]<<24|l[4]<<16|l[3]<<8|l[2]);var f=function(e,t){var r,n,i,o,c=[101,101,120,101,99],l=e.pos;try{n=(r=e.getBytes(t)).length}catch(e){}if(n===t&&(i=u(r,c,t-2*c.length)).found&&i.length===t)return{stream:new s.Stream(r),length:t};for((0,a.warn)('Invalid "Length1" property in Type1 font -- trying to recover.'),e.pos=l;0!==(i=u(e.peekBytes(2048),c,0)).length;)if(e.pos+=i.length,i.found){o=e.pos-l;break}return e.pos=l,o?{stream:new s.Stream(e.getBytes(o)),length:o}:((0,a.warn)('Unable to recover "Length1" property in Type1 font -- using as is.'),{stream:new s.Stream(e.getBytes(t)),length:t})}(r,o);new c.Type1Parser(f.stream,!1,i.SEAC_ANALYSIS_ENABLED).extractFontHeader(n),h&&((l=r.getBytes(6))[5],l[4],l[3],l[2]);var d=function(e,t){var r=e.getBytes();if(0===r.length)throw new a.FormatError("getEexecBlock - no font program found.");return{stream:new s.Stream(r),length:r.length}}(r),p=new c.Type1Parser(d.stream,!0,i.SEAC_ANALYSIS_ENABLED).extractFontProgram(n);for(var g in p.properties)n[g]=p.properties[g];var v=p.charstrings,m=this.getType2Charstrings(v),y=this.getType2Subrs(p.subrs);this.charstrings=v,this.data=this.wrap(t,m,this.charstrings,y,n),this.seacs=this.getSeacs(p.charstrings)}return P(e,[{key:"numGlyphs",get:function(){return this.charstrings.length+1}},{key:"getCharset",value:function(){var e,t=[".notdef"],r=x(this.charstrings);try{for(r.s();!(e=r.n()).done;){var n=e.value.glyphName;t.push(n)}}catch(e){r.e(e)}finally{r.f()}return t}},{key:"getGlyphMapping",value:function(e){var t=this.charstrings;if(e.composite){for(var r=Object.create(null),n=0,a=t.length;n<a;n++)r[e.cMap.charCodeOf(n)]=n+1;return r}var o,s,c=[".notdef"];for(s=0;s<t.length;s++)c.push(t[s].glyphName);var u=e.builtInEncoding;if(u)for(var l in o=Object.create(null),u)(s=c.indexOf(u[l]))>=0&&(o[l]=s);return(0,i.type1FontGlyphMapping)(e,o,c)}},{key:"hasGlyphId",value:function(e){return!(e<0||e>=this.numGlyphs)&&(0===e||this.charstrings[e-1].charstring.length>0)}},{key:"getSeacs",value:function(e){for(var t=[],r=0,n=e.length;r<n;r++){var a=e[r];a.seac&&(t[r+1]=a.seac)}return t}},{key:"getType2Charstrings",value:function(e){var t,r=[],n=x(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;r.push(a.charstring)}}catch(e){n.e(e)}finally{n.f()}return r}},{key:"getType2Subrs",value:function(e){var t,r=e.length;t=r<1133?107:r<33769?1131:32768;var n,a=[];for(n=0;n<t;n++)a.push([11]);for(n=0;n<r;n++)a.push(e[n]);return a}},{key:"wrap",value:function(e,t,r,a,i){var o=new n.CFF;o.header=new n.CFFHeader(1,0,4,4),o.names=[e];var s=new n.CFFTopDict;s.setByName("version",391),s.setByName("Notice",392),s.setByName("FullName",393),s.setByName("FamilyName",394),s.setByName("Weight",395),s.setByName("Encoding",null),s.setByName("FontMatrix",i.fontMatrix),s.setByName("FontBBox",i.bbox),s.setByName("charset",null),s.setByName("CharStrings",null),s.setByName("Private",null),o.topDict=s;var c=new n.CFFStrings;c.add("Version 0.11"),c.add("See original notice"),c.add(e),c.add(e),c.add("Medium"),o.strings=c,o.globalSubrIndex=new n.CFFIndex;var u,l,h=t.length,f=[".notdef"];for(u=0;u<h;u++){var d=r[u].glyphName;-1===n.CFFStandardStrings.indexOf(d)&&c.add(d),f.push(d)}o.charset=new n.CFFCharset(!1,0,f);var p=new n.CFFIndex;for(p.add([139,14]),u=0;u<h;u++)p.add(t[u]);o.charStrings=p;var g=new n.CFFPrivateDict;g.setByName("Subrs",null);var v=["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"];for(u=0,l=v.length;u<l;u++){var m=v[u];if(m in i.privateData){var y=i.privateData[m];if(Array.isArray(y))for(var b=y.length-1;b>0;b--)y[b]-=y[b-1];g.setByName(m,y)}}o.topDict.privateDict=g;var w=new n.CFFIndex;for(u=0,l=a.length;u<l;u++)w.add(a[u]);return g.subrsIndex=w,new n.CFFCompiler(o).compile()}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Type1Parser=void 0,r(139),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(159);var n=r(187),a=r(149),i=r(154),o=r(144),s=[4],c=[5],u=[6],l=[7],h=[8],d=[12,35],p=[14],g=[21],v=[22],m=[30],y=[31],b=function(){function e(){M(this,e),this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}return P(e,[{key:"convert",value:function(e,t,r){for(var n,a,i,f=e.length,b=!1,w=0;w<f;w++){var k=e[w];if(k<32){switch(12===k&&(k=(k<<8)+e[++w]),k){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){b=!0;break}var x=this.stack.pop();this.stack.push(0,x);break}b=this.executeCommand(1,s);break;case 5:b=this.executeCommand(2,c);break;case 6:b=this.executeCommand(1,u);break;case 7:b=this.executeCommand(1,l);break;case 8:b=this.executeCommand(6,h);break;case 10:if(this.stack.length<1){b=!0;break}if(!t[i=this.stack.pop()]){b=!0;break}b=this.convert(t[i],t,r);break;case 11:return b;case 13:if(this.stack.length<2){b=!0;break}n=this.stack.pop(),a=this.stack.pop(),this.lsb=a,this.width=n,this.stack.push(n,a),b=this.executeCommand(2,v);break;case 14:this.output.push(p[0]);break;case 21:if(this.flexing)break;b=this.executeCommand(2,g);break;case 22:if(this.flexing){this.stack.push(0);break}b=this.executeCommand(1,v);break;case 30:b=this.executeCommand(4,m);break;case 31:b=this.executeCommand(4,y);break;case 3078:if(r){var S=this.stack.at(-5);this.seac=this.stack.splice(-4,4),this.seac[0]+=this.lsb-S,b=this.executeCommand(0,p)}else b=this.executeCommand(4,p);break;case 3079:if(this.stack.length<4){b=!0;break}this.stack.pop(),n=this.stack.pop();var A=this.stack.pop();a=this.stack.pop(),this.lsb=a,this.width=n,this.stack.push(n,a,A),b=this.executeCommand(3,g);break;case 3084:if(this.stack.length<2){b=!0;break}var C=this.stack.pop(),O=this.stack.pop();this.stack.push(O/C);break;case 3088:if(this.stack.length<2){b=!0;break}i=this.stack.pop();var F=this.stack.pop();if(0===i&&3===F){var I=this.stack.splice(-17,17);this.stack.push(I[2]+I[0],I[3]+I[1],I[4],I[5],I[6],I[7],I[8],I[9],I[10],I[11],I[12],I[13],I[14]),b=this.executeCommand(13,d,!0),this.flexing=!1,this.stack.push(I[15],I[16])}else 1===i&&0===F&&(this.flexing=!0);break;case 3089:break;default:(0,o.warn)('Unknown type 1 charstring command of "'+k+'"')}if(b)break}else k<=246?k-=139:k=k<=250?256*(k-247)+e[++w]+108:k<=254?-256*(k-251)-e[++w]-108:(255&e[++w])<<24|(255&e[++w])<<16|(255&e[++w])<<8|(255&e[++w])<<0,this.stack.push(k)}return b}},{key:"executeCommand",value:function(e,t,r){var n,a=this.stack.length;if(e>a)return!0;for(var i=a-e,o=i;o<a;o++){var s=this.stack[o];Number.isInteger(s)?this.output.push(28,s>>8&255,255&s):(s=65536*s|0,this.output.push(255,s>>24&255,s>>16&255,s>>8&255,255&s))}return(n=this.output).push.apply(n,f(t)),r?this.stack.splice(i,e):this.stack.length=0,!1}}]),e}();function w(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function k(e,t,r){if(r>=e.length)return new Uint8Array(0);var n,a,i=0|t;for(n=0;n<r;n++)i=52845*(e[n]+i)+22719&65535;var o=e.length-r,s=new Uint8Array(o);for(n=r,a=0;a<o;n++,a++){var c=e[n];s[a]=c^i>>8,i=52845*(c+i)+22719&65535}return s}function x(e){return 47===e||91===e||93===e||123===e||125===e||40===e||41===e}t.Type1Parser=function(){function e(t,r,n){if(M(this,e),r){var o=t.getBytes(),s=!((w(o[0])||(0,a.isWhiteSpace)(o[0]))&&w(o[1])&&w(o[2])&&w(o[3])&&w(o[4])&&w(o[5])&&w(o[6])&&w(o[7]));t=new i.Stream(s?k(o,55665,4):function(e,t,r){var n,a,i=55665,o=e.length,s=new Uint8Array(o>>>1);for(n=0,a=0;n<o;n++){var c=e[n];if(w(c)){n++;for(var u=void 0;n<o&&!w(u=e[n]);)n++;if(n<o){var l=parseInt(String.fromCharCode(c,u),16);s[a++]=l^i>>8,i=52845*(l+i)+22719&65535}}}return s.slice(4,a)}(o))}this.seacAnalysisEnabled=!!n,this.stream=t,this.nextChar()}return P(e,[{key:"readNumberArray",value:function(){this.getToken();for(var e=[];;){var t=this.getToken();if(null===t||"]"===t||"}"===t)break;e.push(parseFloat(t||0))}return e}},{key:"readNumber",value:function(){var e=this.getToken();return parseFloat(e||0)}},{key:"readInt",value:function(){var e=this.getToken();return 0|parseInt(e||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 e=!1,t=this.currentChar;;){if(-1===t)return null;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!(0,a.isWhiteSpace)(t))break;t=this.nextChar()}if(x(t))return this.nextChar(),String.fromCharCode(t);var r="";do{r+=String.fromCharCode(t),t=this.nextChar()}while(t>=0&&!(0,a.isWhiteSpace)(t)&&!x(t));return r}},{key:"readCharStrings",value:function(e,t){return-1===t?e:k(e,4330,t)}},{key:"extractFontProgram",value:function(e){var t=this.stream,r=[],n=[],a=Object.create(null);a.lenIV=4;for(var i,o,s,c,u={subrs:[],charstrings:[],properties:{privateData:a}};null!==(i=this.getToken());)if("/"===i)switch(i=this.getToken()){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();null!==(i=this.getToken())&&"end"!==i;)if("/"===i){var l=this.getToken();o=this.readInt(),this.getToken(),s=o>0?t.getBytes(o):new Uint8Array(0),c=u.properties.privateData.lenIV;var h=this.readCharStrings(s,c);this.nextChar(),"noaccess"===(i=this.getToken())?this.getToken():"/"===i&&this.prevChar(),n.push({glyph:l,encoded:h})}break;case"Subrs":for(this.readInt(),this.getToken();"dup"===this.getToken();){var f=this.readInt();o=this.readInt(),this.getToken(),s=o>0?t.getBytes(o):new Uint8Array(0),c=u.properties.privateData.lenIV;var d=this.readCharStrings(s,c);this.nextChar(),"noaccess"===(i=this.getToken())&&this.getToken(),r[f]=d}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":var p=this.readNumberArray();p.length>0&&p.length;break;case"StemSnapH":case"StemSnapV":u.properties.privateData[i]=this.readNumberArray();break;case"StdHW":case"StdVW":u.properties.privateData[i]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":u.properties.privateData[i]=this.readNumber();break;case"ExpansionFactor":u.properties.privateData[i]=this.readNumber()||.06;break;case"ForceBold":u.properties.privateData[i]=this.readBoolean()}for(var g=0,v=n;g<v.length;g++){var m=v[g],y=m.encoded,w=m.glyph,k=new b,x=k.convert(y,r,this.seacAnalysisEnabled),S=k.output;x&&(S=[14]);var A={glyphName:w,charstring:S,width:k.width,lsb:k.lsb,seac:k.seac};if(".notdef"===w?u.charstrings.unshift(A):u.charstrings.push(A),e.builtInEncoding){var C=e.builtInEncoding.indexOf(w);C>-1&&void 0===e.widths[C]&&C>=e.firstChar&&C<=e.lastChar&&(e.widths[C]=k.width)}}return u}},{key:"extractFontHeader",value:function(e){for(var t;null!==(t=this.getToken());)if("/"===t)switch(t=this.getToken()){case"FontMatrix":var r=this.readNumberArray();e.fontMatrix=r;break;case"Encoding":var a=this.getToken(),i=void 0;if(/^\d+$/.test(a)){i=[];var o=0|parseInt(a,10);this.getToken();for(var s=0;s<o;s++){for(t=this.getToken();"dup"!==t&&"def"!==t;)if(null===(t=this.getToken()))return;if("def"===t)break;var c=this.readInt();this.getToken();var u=this.getToken();i[c]=u,this.getToken()}}else i=(0,n.getEncoding)(a);e.builtInEncoding=i;break;case"FontBBox":var l=this.readNumberArray();e.ascent=Math.max(l[3],l[1]),e.descent=Math.min(l[1],l[3]),e.ascentScaled=!0}}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Pattern=void 0,t.getTilingPatternIR=function(e,t,r){var n=t.getArray("Matrix"),i=a.Util.normalizeRect(t.getArray("BBox")),o=t.get("XStep"),s=t.get("YStep"),c=t.get("PaintType"),u=t.get("TilingType");if(i[2]-i[0]==0||i[3]-i[1]==0)throw new a.FormatError("Invalid getTilingPatternIR /BBox array: [".concat(i,"]."));return["TilingPattern",r,e,n,i,o,s,c,u]},r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(139),r(159);var a=r(144),i=r(151),o=r(162),s=r(149);t.Pattern=function(){function e(){M(this,e),(0,a.unreachable)("Cannot initialize Pattern.")}return P(e,null,[{key:"parseShading",value:function(e,t,r,n,o){var c=e instanceof i.BaseStream?e.dict:e,l=c.get("ShadingType");try{switch(l){case 2:case 3:return new u(c,t,r,n,o);case 4:case 5:case 6:case 7:return new f(e,t,r,n,o);default:throw new a.FormatError("Unsupported ShadingType: "+l)}}catch(e){if(e instanceof s.MissingDataException)throw e;return(0,a.warn)(e),new g}}}]),e}();var c=function(){function e(){M(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseShading.")}return P(e,[{key:"getIR",value:function(){(0,a.unreachable)("Abstract method `getIR` called.")}}]),e}();n(c,"SMALL_NUMBER",1e-6);var u=function(e){function t(e,r,n,i,s){var u;M(this,t),(u=d(this,t)).coordsArr=e.getArray("Coords"),u.shadingType=e.get("ShadingType");var l=o.ColorSpace.parse({cs:e.getRaw("CS")||e.getRaw("ColorSpace"),xref:r,resources:n,pdfFunctionFactory:i,localColorSpaceCache:s}),h=e.getArray("BBox");u.bbox=Array.isArray(h)&&4===h.length?a.Util.normalizeRect(h):null;var f=0,g=1;if(e.has("Domain")){var v=e.getArray("Domain");f=v[0],g=v[1]}var m=!1,y=!1;if(e.has("Extend")){var b=e.getArray("Extend");m=b[0],y=b[1]}if(!(3!==u.shadingType||m&&y)){var w=S(u.coordsArr,6),k=w[0],x=w[1],A=w[2],C=w[3],O=w[4],F=w[5],I=Math.hypot(k-C,x-O);A<=F+I&&F<=A+I&&(0,a.warn)("Unsupported radial gradient.")}u.extendStart=m,u.extendEnd=y;var T=e.getRaw("Function"),E=i.createFromArray(T),P=(g-f)/840,R=u.colorStops=[];if(f>=g||P<=0)return(0,a.info)("Bad shading domain."),p(u);var N,D=new Float32Array(l.numComps),B=new Float32Array(1),L=0;B[0]=f,E(B,0,D,0);var _=l.getRgb(D,0),j=a.Util.makeHexColor(_[0],_[1],_[2]);R.push([0,j]);var U=1;B[0]=f+P,E(B,0,D,0);for(var $=l.getRgb(D,0),X=$[0]-_[0]+1,H=$[1]-_[1]+1,q=$[2]-_[2]+1,z=$[0]-_[0]-1,G=$[1]-_[1]-1,W=$[2]-_[2]-1,V=2;V<840;V++){B[0]=f+V*P,E(B,0,D,0),N=l.getRgb(D,0);var K=V-L;if(X=Math.min(X,(N[0]-_[0]+1)/K),H=Math.min(H,(N[1]-_[1]+1)/K),q=Math.min(q,(N[2]-_[2]+1)/K),z=Math.max(z,(N[0]-_[0]-1)/K),G=Math.max(G,(N[1]-_[1]-1)/K),W=Math.max(W,(N[2]-_[2]-1)/K),!(z<=X&&G<=H&&W<=q)){var Y=a.Util.makeHexColor($[0],$[1],$[2]);R.push([U/840,Y]),X=N[0]-$[0]+1,H=N[1]-$[1]+1,q=N[2]-$[2]+1,z=N[0]-$[0]-1,G=N[1]-$[1]-1,W=N[2]-$[2]-1,L=U,_=$}U=V,$=N}var J=a.Util.makeHexColor($[0],$[1],$[2]);R.push([1,J]);var Z="transparent";return e.has("Background")&&(N=l.getRgb(e.get("Background"),0),Z=a.Util.makeHexColor(N[0],N[1],N[2])),m||(R.unshift([0,Z]),R[1][0]+=c.SMALL_NUMBER),y||(R.at(-1)[0]-=c.SMALL_NUMBER,R.push([1,Z])),u.colorStops=R,u}return y(t,e),P(t,[{key:"getIR",value:function(){var e,t,r,n,i,o=this.coordsArr,s=this.shadingType;return 2===s?(t=[o[0],o[1]],r=[o[2],o[3]],n=null,i=null,e="axial"):3===s?(t=[o[0],o[1]],r=[o[3],o[4]],n=o[2],i=o[5],e="radial"):(0,a.unreachable)("getPattern type unknown: ".concat(s)),["RadialAxial",e,this.bbox,this.colorStops,t,r,n,i]}}]),t}(c),l=function(){function e(t,r){M(this,e),this.stream=t,this.context=r,this.buffer=0,this.bufferLength=0;var n=r.numComps;this.tmpCompsBuf=new Float32Array(n);var a=r.colorSpace.numComps;this.tmpCsCompsBuf=r.colorFn?new Float32Array(a):this.tmpCompsBuf}return P(e,[{key:"hasData",get:function(){if(this.stream.end)return this.stream.pos<this.stream.end;if(this.bufferLength>0)return!0;var e=this.stream.getByte();return!(e<0||(this.buffer=e,this.bufferLength=8,0))}},{key:"readBits",value:function(e){var t=this.buffer,r=this.bufferLength;if(32===e){if(0===r)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;t=t<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();var n=this.stream.getByte();return this.buffer=n&(1<<r)-1,(t<<8-r|(255&n)>>r)>>>0}if(8===e&&0===r)return this.stream.getByte();for(;r<e;)t=t<<8|this.stream.getByte(),r+=8;return r-=e,this.bufferLength=r,this.buffer=t&(1<<r)-1,t>>r}},{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 e=this.context.bitsPerCoordinate,t=this.readBits(e),r=this.readBits(e),n=this.context.decode,a=e<32?1/((1<<e)-1):2.3283064365386963e-10;return[t*a*(n[1]-n[0])+n[0],r*a*(n[3]-n[2])+n[2]]}},{key:"readComponents",value:function(){for(var e=this.context.numComps,t=this.context.bitsPerComponent,r=t<32?1/((1<<t)-1):2.3283064365386963e-10,n=this.context.decode,a=this.tmpCompsBuf,i=0,o=4;i<e;i++,o+=2){var s=this.readBits(t);a[i]=s*r*(n[o+1]-n[o])+n[o]}var c=this.tmpCsCompsBuf;return this.context.colorFn&&this.context.colorFn(a,0,c,0),this.context.colorSpace.getRgb(c,0)}}]),e}(),h=function(){var e=Object.create(null);return function(t){return e[t]||(e[t]=function(e){for(var t=[],r=0;r<=e;r++){var n=r/e,a=1-n;t.push(new Float32Array([a*a*a,3*n*a*a,3*n*n*a,n*n*n]))}return t}(t))}}(),f=function(e){function t(e,r,n,s,c){var u;if(M(this,t),u=d(this,t),!(e instanceof i.BaseStream))throw new a.FormatError("Mesh data is not a stream");var h=e.dict;u.shadingType=h.get("ShadingType");var f=h.getArray("BBox");u.bbox=Array.isArray(f)&&4===f.length?a.Util.normalizeRect(f):null;var p=o.ColorSpace.parse({cs:h.getRaw("CS")||h.getRaw("ColorSpace"),xref:r,resources:n,pdfFunctionFactory:s,localColorSpaceCache:c});u.background=h.has("Background")?p.getRgb(h.get("Background"),0):null;var g=h.getRaw("Function"),v=g?s.createFromArray(g):null;u.coords=[],u.colors=[],u.figures=[];var m={bitsPerCoordinate:h.get("BitsPerCoordinate"),bitsPerComponent:h.get("BitsPerComponent"),bitsPerFlag:h.get("BitsPerFlag"),decode:h.getArray("Decode"),colorFn:v,colorSpace:p,numComps:v?1:p.numComps},y=new l(e,m),b=!1;switch(u.shadingType){case 4:u._decodeType4Shading(y);break;case 5:var w=0|h.get("VerticesPerRow");if(w<2)throw new a.FormatError("Invalid VerticesPerRow");u._decodeType5Shading(y,w);break;case 6:u._decodeType6Shading(y),b=!0;break;case 7:u._decodeType7Shading(y),b=!0;break;default:(0,a.unreachable)("Unsupported mesh type.")}if(b){u._updateBounds();for(var k=0,x=u.figures.length;k<x;k++)u._buildFigureFromPatch(k)}return u._updateBounds(),u._packData(),u}return y(t,e),P(t,[{key:"_decodeType4Shading",value:function(e){for(var t=this.coords,r=this.colors,n=[],i=[],o=0;e.hasData;){var s=e.readFlag(),c=e.readCoordinate(),u=e.readComponents();if(0===o){if(!(0<=s&&s<=2))throw new a.FormatError("Unknown type4 flag");switch(s){case 0:o=3;break;case 1:i.push(i.at(-2),i.at(-1)),o=1;break;case 2:i.push(i.at(-3),i.at(-1)),o=1}n.push(s)}i.push(t.length),t.push(c),r.push(u),o--,e.align()}this.figures.push({type:"triangles",coords:new Int32Array(i),colors:new Int32Array(i)})}},{key:"_decodeType5Shading",value:function(e,t){for(var r=this.coords,n=this.colors,a=[];e.hasData;){var i=e.readCoordinate(),o=e.readComponents();a.push(r.length),r.push(i),n.push(o)}this.figures.push({type:"lattice",coords:new Int32Array(a),colors:new Int32Array(a),verticesPerRow:t})}},{key:"_decodeType6Shading",value:function(e){for(var t=this.coords,r=this.colors,n=new Int32Array(16),i=new Int32Array(4);e.hasData;){var o=e.readFlag();if(!(0<=o&&o<=3))throw new a.FormatError("Unknown type6 flag");for(var s=t.length,c=0,u=0!==o?8:12;c<u;c++)t.push(e.readCoordinate());for(var l=r.length,h=0,f=0!==o?2:4;h<f;h++)r.push(e.readComponents());var d=void 0,p=void 0,g=void 0,v=void 0;switch(o){case 0:n[12]=s+3,n[13]=s+4,n[14]=s+5,n[15]=s+6,n[8]=s+2,n[11]=s+7,n[4]=s+1,n[7]=s+8,n[0]=s,n[1]=s+11,n[2]=s+10,n[3]=s+9,i[2]=l+1,i[3]=l+2,i[0]=l,i[1]=l+3;break;case 1:d=n[12],p=n[13],g=n[14],v=n[15],n[12]=v,n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=g,n[11]=s+3,n[4]=p,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[2],p=i[3],i[2]=p,i[3]=l,i[0]=d,i[1]=l+1;break;case 2:d=n[15],p=n[11],n[12]=n[3],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[7],n[11]=s+3,n[4]=p,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[3],i[2]=i[1],i[3]=l,i[0]=d,i[1]=l+1;break;case 3:n[12]=n[0],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[1],n[11]=s+3,n[4]=n[2],n[7]=s+4,n[0]=n[3],n[1]=s+7,n[2]=s+6,n[3]=s+5,i[2]=i[0],i[3]=l,i[0]=i[1],i[1]=l+1}n[5]=t.length,t.push([(-4*t[n[0]][0]-t[n[15]][0]+6*(t[n[4]][0]+t[n[1]][0])-2*(t[n[12]][0]+t[n[3]][0])+3*(t[n[13]][0]+t[n[7]][0]))/9,(-4*t[n[0]][1]-t[n[15]][1]+6*(t[n[4]][1]+t[n[1]][1])-2*(t[n[12]][1]+t[n[3]][1])+3*(t[n[13]][1]+t[n[7]][1]))/9]),n[6]=t.length,t.push([(-4*t[n[3]][0]-t[n[12]][0]+6*(t[n[2]][0]+t[n[7]][0])-2*(t[n[0]][0]+t[n[15]][0])+3*(t[n[4]][0]+t[n[14]][0]))/9,(-4*t[n[3]][1]-t[n[12]][1]+6*(t[n[2]][1]+t[n[7]][1])-2*(t[n[0]][1]+t[n[15]][1])+3*(t[n[4]][1]+t[n[14]][1]))/9]),n[9]=t.length,t.push([(-4*t[n[12]][0]-t[n[3]][0]+6*(t[n[8]][0]+t[n[13]][0])-2*(t[n[0]][0]+t[n[15]][0])+3*(t[n[11]][0]+t[n[1]][0]))/9,(-4*t[n[12]][1]-t[n[3]][1]+6*(t[n[8]][1]+t[n[13]][1])-2*(t[n[0]][1]+t[n[15]][1])+3*(t[n[11]][1]+t[n[1]][1]))/9]),n[10]=t.length,t.push([(-4*t[n[15]][0]-t[n[0]][0]+6*(t[n[11]][0]+t[n[14]][0])-2*(t[n[12]][0]+t[n[3]][0])+3*(t[n[2]][0]+t[n[8]][0]))/9,(-4*t[n[15]][1]-t[n[0]][1]+6*(t[n[11]][1]+t[n[14]][1])-2*(t[n[12]][1]+t[n[3]][1])+3*(t[n[2]][1]+t[n[8]][1]))/9]),this.figures.push({type:"patch",coords:new Int32Array(n),colors:new Int32Array(i)})}}},{key:"_decodeType7Shading",value:function(e){for(var t=this.coords,r=this.colors,n=new Int32Array(16),i=new Int32Array(4);e.hasData;){var o=e.readFlag();if(!(0<=o&&o<=3))throw new a.FormatError("Unknown type7 flag");for(var s=t.length,c=0,u=0!==o?12:16;c<u;c++)t.push(e.readCoordinate());for(var l=r.length,h=0,f=0!==o?2:4;h<f;h++)r.push(e.readComponents());var d=void 0,p=void 0,g=void 0,v=void 0;switch(o){case 0:n[12]=s+3,n[13]=s+4,n[14]=s+5,n[15]=s+6,n[8]=s+2,n[9]=s+13,n[10]=s+14,n[11]=s+7,n[4]=s+1,n[5]=s+12,n[6]=s+15,n[7]=s+8,n[0]=s,n[1]=s+11,n[2]=s+10,n[3]=s+9,i[2]=l+1,i[3]=l+2,i[0]=l,i[1]=l+3;break;case 1:d=n[12],p=n[13],g=n[14],v=n[15],n[12]=v,n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=g,n[9]=s+9,n[10]=s+10,n[11]=s+3,n[4]=p,n[5]=s+8,n[6]=s+11,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[2],p=i[3],i[2]=p,i[3]=l,i[0]=d,i[1]=l+1;break;case 2:d=n[15],p=n[11],n[12]=n[3],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[7],n[9]=s+9,n[10]=s+10,n[11]=s+3,n[4]=p,n[5]=s+8,n[6]=s+11,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[3],i[2]=i[1],i[3]=l,i[0]=d,i[1]=l+1;break;case 3:n[12]=n[0],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[1],n[9]=s+9,n[10]=s+10,n[11]=s+3,n[4]=n[2],n[5]=s+8,n[6]=s+11,n[7]=s+4,n[0]=n[3],n[1]=s+7,n[2]=s+6,n[3]=s+5,i[2]=i[0],i[3]=l,i[0]=i[1],i[1]=l+1}this.figures.push({type:"patch",coords:new Int32Array(n),colors:new Int32Array(i)})}}},{key:"_buildFigureFromPatch",value:function(e){var r=this.figures[e];(0,a.assert)("patch"===r.type,"Unexpected patch mesh figure");var n=this.coords,i=this.colors,o=r.coords,s=r.colors,c=Math.min(n[o[0]][0],n[o[3]][0],n[o[12]][0],n[o[15]][0]),u=Math.min(n[o[0]][1],n[o[3]][1],n[o[12]][1],n[o[15]][1]),l=Math.max(n[o[0]][0],n[o[3]][0],n[o[12]][0],n[o[15]][0]),f=Math.max(n[o[0]][1],n[o[3]][1],n[o[12]][1],n[o[15]][1]),d=Math.ceil((l-c)*t.TRIANGLE_DENSITY/(this.bounds[2]-this.bounds[0]));d=Math.max(t.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(t.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,d));var p=Math.ceil((f-u)*t.TRIANGLE_DENSITY/(this.bounds[3]-this.bounds[1]));p=Math.max(t.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(t.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,p));for(var g=d+1,v=new Int32Array((p+1)*g),m=new Int32Array((p+1)*g),y=0,b=new Uint8Array(3),w=new Uint8Array(3),k=i[s[0]],x=i[s[1]],S=i[s[2]],A=i[s[3]],C=h(p),O=h(d),F=0;F<=p;F++){b[0]=(k[0]*(p-F)+S[0]*F)/p|0,b[1]=(k[1]*(p-F)+S[1]*F)/p|0,b[2]=(k[2]*(p-F)+S[2]*F)/p|0,w[0]=(x[0]*(p-F)+A[0]*F)/p|0,w[1]=(x[1]*(p-F)+A[1]*F)/p|0,w[2]=(x[2]*(p-F)+A[2]*F)/p|0;for(var I=0;I<=d;I++,y++)if(0!==F&&F!==p||0!==I&&I!==d){for(var T=0,M=0,E=0,P=0;P<=3;P++)for(var R=0;R<=3;R++,E++){var N=C[F][P]*O[I][R];T+=n[o[E]][0]*N,M+=n[o[E]][1]*N}v[y]=n.length,n.push([T,M]),m[y]=i.length;var D=new Uint8Array(3);D[0]=(b[0]*(d-I)+w[0]*I)/d|0,D[1]=(b[1]*(d-I)+w[1]*I)/d|0,D[2]=(b[2]*(d-I)+w[2]*I)/d|0,i.push(D)}}v[0]=o[0],m[0]=s[0],v[d]=o[3],m[d]=s[1],v[g*p]=o[12],m[g*p]=s[2],v[g*p+d]=o[15],m[g*p+d]=s[3],this.figures[e]={type:"lattice",coords:v,colors:m,verticesPerRow:g}}},{key:"_updateBounds",value:function(){for(var e=this.coords[0][0],t=this.coords[0][1],r=e,n=t,a=1,i=this.coords.length;a<i;a++){var o=this.coords[a][0],s=this.coords[a][1];e=e>o?o:e,t=t>s?s:t,r=r<o?o:r,n=n<s?s:n}this.bounds=[e,t,r,n]}},{key:"_packData",value:function(){var e,t,r,n,a=this.coords,i=new Float32Array(2*a.length);for(e=0,r=0,t=a.length;e<t;e++){var o=a[e];i[r++]=o[0],i[r++]=o[1]}this.coords=i;var s=this.colors,c=new Uint8Array(3*s.length);for(e=0,r=0,t=s.length;e<t;e++){var u=s[e];c[r++]=u[0],c[r++]=u[1],c[r++]=u[2]}this.colors=c;var l=this.figures;for(e=0,t=l.length;e<t;e++){var h=l[e],f=h.coords,d=h.colors;for(r=0,n=f.length;r<n;r++)f[r]*=2,d[r]*=3}}},{key:"getIR",value:function(){return["Mesh",this.shadingType,this.coords,this.colors,this.figures,this.bounds,this.bbox,this.background]}}]),t}(c);n(f,"MIN_SPLIT_PATCH_CHUNKS_AMOUNT",3),n(f,"MAX_SPLIT_PATCH_CHUNKS_AMOUNT",20),n(f,"TRIANGLE_DENSITY",20);var g=function(e){function t(){return M(this,t),d(this,t,arguments)}return y(t,e),P(t,[{key:"getIR",value:function(){return["Dummy"]}}]),t}(c)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.getXfaFontDict=function(e){var t=function(e){var t=f(e);if(!t)return null;var r,n,a=t.baseWidths,i=t.baseMapping,o=t.factors,s=o?a.map((function(e,t){return e*o[t]})):a,c=-2,u=[],l=x(i.map((function(e,t){return[e,t]})).sort((function(e,t){return S(e,1)[0]-S(t,1)[0]})));try{for(l.s();!(n=l.n()).done;){var h=S(n.value,2),d=h[0],p=h[1];-1!==d&&(d===c+1?(r.push(s[p]),c+=1):(c=d,r=[s[p]],u.push(d,r)))}}catch(e){l.e(e)}finally{l.f()}return u}(e),r=new a.Dict(null);r.set("BaseFont",a.Name.get(e)),r.set("Type",a.Name.get("Font")),r.set("Subtype",a.Name.get("CIDFontType2")),r.set("Encoding",a.Name.get("Identity-H")),r.set("CIDToGIDMap",a.Name.get("Identity")),r.set("W",t),r.set("FirstChar",t[0]),r.set("LastChar",t.at(-2)+t.at(-1).length-1);var n=new a.Dict(null);r.set("FontDescriptor",n);var i=new a.Dict(null);return i.set("Ordering","Identity"),i.set("Registry","Adobe"),i.set("Supplement",0),r.set("CIDSystemInfo",i),r},t.getXfaFontName=f,r(139);var n=r(202),a=r(150),i=r(203),o=r(204),s=r(205),c=r(206),u=r(149),l=r(188),h=(0,u.getLookupTableFactory)((function(e){e["MyriadPro-Regular"]=e["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:s.MyriadProRegularFactors,baseWidths:o.LiberationSansRegularWidths,baseMapping:o.LiberationSansRegularMapping,metrics:s.MyriadProRegularMetrics},e["MyriadPro-Bold"]=e["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:s.MyriadProBoldFactors,baseWidths:o.LiberationSansBoldWidths,baseMapping:o.LiberationSansBoldMapping,metrics:s.MyriadProBoldMetrics},e["MyriadPro-It"]=e["MyriadPro-Italic"]=e["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:s.MyriadProItalicFactors,baseWidths:o.LiberationSansItalicWidths,baseMapping:o.LiberationSansItalicMapping,metrics:s.MyriadProItalicMetrics},e["MyriadPro-BoldIt"]=e["MyriadPro-BoldItalic"]=e["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:s.MyriadProBoldItalicFactors,baseWidths:o.LiberationSansBoldItalicWidths,baseMapping:o.LiberationSansBoldItalicMapping,metrics:s.MyriadProBoldItalicMetrics},e.ArialMT=e.Arial=e["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:o.LiberationSansRegularWidths,baseMapping:o.LiberationSansRegularMapping},e["Arial-BoldMT"]=e["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:o.LiberationSansBoldWidths,baseMapping:o.LiberationSansBoldMapping},e["Arial-ItalicMT"]=e["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:o.LiberationSansItalicWidths,baseMapping:o.LiberationSansItalicMapping},e["Arial-BoldItalicMT"]=e["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:o.LiberationSansBoldItalicWidths,baseMapping:o.LiberationSansBoldItalicMapping},e["Calibri-Regular"]={name:"LiberationSans-Regular",factors:n.CalibriRegularFactors,baseWidths:o.LiberationSansRegularWidths,baseMapping:o.LiberationSansRegularMapping,metrics:n.CalibriRegularMetrics},e["Calibri-Bold"]={name:"LiberationSans-Bold",factors:n.CalibriBoldFactors,baseWidths:o.LiberationSansBoldWidths,baseMapping:o.LiberationSansBoldMapping,metrics:n.CalibriBoldMetrics},e["Calibri-Italic"]={name:"LiberationSans-Italic",factors:n.CalibriItalicFactors,baseWidths:o.LiberationSansItalicWidths,baseMapping:o.LiberationSansItalicMapping,metrics:n.CalibriItalicMetrics},e["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:n.CalibriBoldItalicFactors,baseWidths:o.LiberationSansBoldItalicWidths,baseMapping:o.LiberationSansBoldItalicMapping,metrics:n.CalibriBoldItalicMetrics},e["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:c.SegoeuiRegularFactors,baseWidths:o.LiberationSansRegularWidths,baseMapping:o.LiberationSansRegularMapping,metrics:c.SegoeuiRegularMetrics},e["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:c.SegoeuiBoldFactors,baseWidths:o.LiberationSansBoldWidths,baseMapping:o.LiberationSansBoldMapping,metrics:c.SegoeuiBoldMetrics},e["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:c.SegoeuiItalicFactors,baseWidths:o.LiberationSansItalicWidths,baseMapping:o.LiberationSansItalicMapping,metrics:c.SegoeuiItalicMetrics},e["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:c.SegoeuiBoldItalicFactors,baseWidths:o.LiberationSansBoldItalicWidths,baseMapping:o.LiberationSansBoldItalicMapping,metrics:c.SegoeuiBoldItalicMetrics},e["Helvetica-Regular"]=e.Helvetica={name:"LiberationSans-Regular",factors:i.HelveticaRegularFactors,baseWidths:o.LiberationSansRegularWidths,baseMapping:o.LiberationSansRegularMapping,metrics:i.HelveticaRegularMetrics},e["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:i.HelveticaBoldFactors,baseWidths:o.LiberationSansBoldWidths,baseMapping:o.LiberationSansBoldMapping,metrics:i.HelveticaBoldMetrics},e["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:i.HelveticaItalicFactors,baseWidths:o.LiberationSansItalicWidths,baseMapping:o.LiberationSansItalicMapping,metrics:i.HelveticaItalicMetrics},e["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:i.HelveticaBoldItalicFactors,baseWidths:o.LiberationSansBoldItalicWidths,baseMapping:o.LiberationSansBoldItalicMapping,metrics:i.HelveticaBoldItalicMetrics}}));function f(e){var t=(0,l.normalizeFontName)(e);return h()[t]}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CalibriRegularMetrics=t.CalibriRegularFactors=t.CalibriItalicMetrics=t.CalibriItalicFactors=t.CalibriBoldMetrics=t.CalibriBoldItalicMetrics=t.CalibriBoldItalicFactors=t.CalibriBoldFactors=void 0,t.CalibriBoldFactors=[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],t.CalibriBoldMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriBoldItalicFactors=[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],t.CalibriBoldItalicMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriItalicFactors=[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],t.CalibriItalicMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriRegularFactors=[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],t.CalibriRegularMetrics={lineHeight:1.2207,lineGap:.2207}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.HelveticaRegularMetrics=t.HelveticaRegularFactors=t.HelveticaItalicMetrics=t.HelveticaItalicFactors=t.HelveticaBoldMetrics=t.HelveticaBoldItalicMetrics=t.HelveticaBoldItalicFactors=t.HelveticaBoldFactors=void 0,t.HelveticaBoldFactors=[.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],t.HelveticaBoldMetrics={lineHeight:1.2,lineGap:.2},t.HelveticaBoldItalicFactors=[.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],t.HelveticaBoldItalicMetrics={lineHeight:1.35,lineGap:.2},t.HelveticaItalicFactors=[.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],t.HelveticaItalicMetrics={lineHeight:1.35,lineGap:.2},t.HelveticaRegularFactors=[.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],t.HelveticaRegularMetrics={lineHeight:1.2,lineGap:.2}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.LiberationSansRegularWidths=t.LiberationSansRegularMapping=t.LiberationSansItalicWidths=t.LiberationSansItalicMapping=t.LiberationSansBoldWidths=t.LiberationSansBoldMapping=t.LiberationSansBoldItalicWidths=t.LiberationSansBoldItalicMapping=void 0,t.LiberationSansBoldWidths=[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],t.LiberationSansBoldMapping=[-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],t.LiberationSansBoldItalicWidths=[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],t.LiberationSansBoldItalicMapping=[-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],t.LiberationSansItalicWidths=[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],t.LiberationSansItalicMapping=[-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],t.LiberationSansRegularWidths=[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],t.LiberationSansRegularMapping=[-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]},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MyriadProRegularMetrics=t.MyriadProRegularFactors=t.MyriadProItalicMetrics=t.MyriadProItalicFactors=t.MyriadProBoldMetrics=t.MyriadProBoldItalicMetrics=t.MyriadProBoldItalicFactors=t.MyriadProBoldFactors=void 0,t.MyriadProBoldFactors=[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],t.MyriadProBoldMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProBoldItalicFactors=[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],t.MyriadProBoldItalicMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProItalicFactors=[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],t.MyriadProItalicMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProRegularFactors=[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],t.MyriadProRegularMetrics={lineHeight:1.2,lineGap:.2}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SegoeuiRegularMetrics=t.SegoeuiRegularFactors=t.SegoeuiItalicMetrics=t.SegoeuiItalicFactors=t.SegoeuiBoldMetrics=t.SegoeuiBoldItalicMetrics=t.SegoeuiBoldItalicFactors=t.SegoeuiBoldFactors=void 0,t.SegoeuiBoldFactors=[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],t.SegoeuiBoldMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiBoldItalicFactors=[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],t.SegoeuiBoldItalicMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiItalicFactors=[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],t.SegoeuiItalicMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiRegularFactors=[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],t.SegoeuiRegularMetrics={lineHeight:1.33008,lineGap:0}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PostScriptEvaluator=t.PostScriptCompiler=t.PDFFunctionFactory=void 0,t.isPDFFunction=function(e){var t;if(e instanceof a.Dict)t=e;else{if(!(e instanceof s.BaseStream))return!1;t=e.dict}return t.has("FunctionType")},r(2),r(139),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(159);var a=r(150),i=r(144),o=r(208),s=r(151),c=r(209);function u(e){if(!Array.isArray(e))return null;for(var t=e.length,r=0;r<t;r++)if("number"!=typeof e[r]){for(var n=new Array(t),a=0;a<t;a++)n[a]=+e[a];return n}return e}t.PDFFunctionFactory=function(){function e(t){M(this,e);var r=t.xref,n=t.isEvalSupported,a=void 0===n||n;this.xref=r,this.isEvalSupported=!1!==a}return P(e,[{key:"create",value:function(e){var t=this.getCached(e);if(t)return t;var r=l.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:e instanceof a.Ref?this.xref.fetch(e):e});return this._cache(e,r),r}},{key:"createFromArray",value:function(e){var t=this.getCached(e);if(t)return t;var r=l.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:e instanceof a.Ref?this.xref.fetch(e):e});return this._cache(e,r),r}},{key:"getCached",value:function(e){var t,r;if(e instanceof a.Ref?r=e:e instanceof a.Dict?r=e.objId:e instanceof s.BaseStream&&(r=null===(t=e.dict)||void 0===t?void 0:t.objId),r){var n=this._localFunctionCache.getByRef(r);if(n)return n}return null}},{key:"_cache",value:function(e,t){var r,n;if(!t)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');e instanceof a.Ref?n=e:e instanceof a.Dict?n=e.objId:e instanceof s.BaseStream&&(n=null===(r=e.dict)||void 0===r?void 0:r.objId),n&&this._localFunctionCache.set(null,n,t)}},{key:"_localFunctionCache",get:function(){return(0,i.shadow)(this,"_localFunctionCache",new c.LocalFunctionCache)}}]),e}();var l=function(){function e(){M(this,e)}return P(e,null,[{key:"getSampleArray",value:function(e,t,r,n){var a,i,o=1;for(a=0,i=e.length;a<i;a++)o*=e[a];o*=t;var s=new Array(o),c=0,u=0,l=1/(Math.pow(2,r)-1),h=n.getBytes((o*r+7)/8),f=0;for(a=0;a<o;a++){for(;c<r;)u<<=8,u|=h[f++],c+=8;c-=r,s[a]=(u>>c)*l,u&=(1<<c)-1}return s}},{key:"parse",value:function(e){var t=e.xref,r=e.isEvalSupported,n=e.fn,a=n.dict||n;switch(a.get("FunctionType")){case 0:return this.constructSampled({xref:t,isEvalSupported:r,fn:n,dict:a});case 1:break;case 2:return this.constructInterpolated({xref:t,isEvalSupported:r,dict:a});case 3:return this.constructStiched({xref:t,isEvalSupported:r,dict:a});case 4:return this.constructPostScript({xref:t,isEvalSupported:r,fn:n,dict:a})}throw new i.FormatError("Unknown type of function")}},{key:"parseArray",value:function(e){var t=e.xref,r=e.isEvalSupported,n=e.fnObj;if(!Array.isArray(n))return this.parse({xref:t,isEvalSupported:r,fn:n});var a,i=[],o=x(n);try{for(o.s();!(a=o.n()).done;){var s=a.value;i.push(this.parse({xref:t,isEvalSupported:r,fn:t.fetchIfRef(s)}))}}catch(e){o.e(e)}finally{o.f()}return function(e,t,r,n){for(var a=0,o=i.length;a<o;a++)i[a](e,t,r,n+a)}}},{key:"constructSampled",value:function(e){e.xref,e.isEvalSupported;var t=e.fn,r=e.dict;function n(e){for(var t=e.length,r=[],n=0,a=0;a<t;a+=2)r[n++]=[e[a],e[a+1]];return r}function a(e,t,r,n,a){return n+(a-n)/(r-t)*(e-t)}var o=u(r.getArray("Domain")),s=u(r.getArray("Range"));if(!o||!s)throw new i.FormatError("No domain or range");var c=o.length/2,l=s.length/2;o=n(o),s=n(s);var h=u(r.getArray("Size")),f=r.get("BitsPerSample"),d=r.get("Order")||1;1!==d&&(0,i.info)("No support for cubic spline interpolation: "+d);var p=u(r.getArray("Encode"));if(p)p=n(p);else{p=[];for(var g=0;g<c;++g)p.push([0,h[g]-1])}var v=u(r.getArray("Decode"));v=v?n(v):s;var m=this.getSampleArray(h,l,f,t);return function(e,t,r,n){var i,u,f=1<<c,d=new Float64Array(f),g=new Uint32Array(f);for(u=0;u<f;u++)d[u]=1;var y=l,b=1;for(i=0;i<c;++i){var w=o[i][0],k=o[i][1],x=a(Math.min(Math.max(e[t+i],w),k),w,k,p[i][0],p[i][1]),S=h[i],A=(x=Math.min(Math.max(x,0),S-1))<S-1?Math.floor(x):x-1,C=A+1-x,O=x-A,F=A*y,I=F+y;for(u=0;u<f;u++)u&b?(d[u]*=O,g[u]+=I):(d[u]*=C,g[u]+=F);y*=S,b<<=1}for(u=0;u<l;++u){var T=0;for(i=0;i<f;i++)T+=m[g[i]+u]*d[i];T=a(T,0,1,v[u][0],v[u][1]),r[n+u]=Math.min(Math.max(T,s[u][0]),s[u][1])}}}},{key:"constructInterpolated",value:function(e){e.xref,e.isEvalSupported;for(var t=e.dict,r=u(t.getArray("C0"))||[0],n=u(t.getArray("C1"))||[1],a=t.get("N"),i=[],o=0,s=r.length;o<s;++o)i.push(n[o]-r[o]);var c=i.length;return function(e,t,n,o){for(var s=1===a?e[t]:Math.pow(e[t],a),u=0;u<c;++u)n[o+u]=r[u]+s*i[u]}}},{key:"constructStiched",value:function(e){var t=e.xref,r=e.isEvalSupported,n=e.dict,a=u(n.getArray("Domain"));if(!a)throw new i.FormatError("No domain");if(1!=a.length/2)throw new i.FormatError("Bad domain for stiched function");var o,s=[],c=x(n.get("Functions"));try{for(c.s();!(o=c.n()).done;){var l=o.value;s.push(this.parse({xref:t,isEvalSupported:r,fn:t.fetchIfRef(l)}))}}catch(e){c.e(e)}finally{c.f()}var h=u(n.getArray("Bounds")),f=u(n.getArray("Encode")),d=new Float32Array(1);return function(e,t,r,n){var i,o=function(e,t,r){return e>r?e=r:e<t&&(e=t),e}(e[t],a[0],a[1]),c=h.length;for(i=0;i<c&&!(o<h[i]);++i);var u=a[0];i>0&&(u=h[i-1]);var l=a[1];i<h.length&&(l=h[i]);var p=f[2*i],g=f[2*i+1];d[0]=u===l?p:p+(o-u)*(g-p)/(l-u),s[i](d,0,r,n)}}},{key:"constructPostScript",value:function(e){e.xref;var t=e.isEvalSupported,r=e.fn,n=e.dict,a=u(n.getArray("Domain")),s=u(n.getArray("Range"));if(!a)throw new i.FormatError("No domain.");if(!s)throw new i.FormatError("No range.");var c=new o.PostScriptLexer(r),l=new o.PostScriptParser(c).parse();if(t&&i.FeatureTest.isEvalSupported){var h=(new T).compile(l,a,s);if(h)return new Function("src","srcOffset","dest","destOffset",h)}(0,i.info)("Unable to compile PS function");var f=s.length>>1,d=a.length>>1,g=new p(l),v=Object.create(null),m=8192,y=new Float32Array(d);return function(e,t,r,n){var a,i,o="",c=y;for(a=0;a<d;a++)i=e[t+a],c[a]=i,o+=i+"_";var u=v[o];if(void 0===u){var l=new Float32Array(f),h=g.execute(c),p=h.length-f;for(a=0;a<f;a++){i=h[p+a];var b=s[2*a];(i<b||i>(b=s[2*a+1]))&&(i=b),l[a]=i}m>0&&(m--,v[o]=l),r.set(l,n)}else r.set(u,n)}}}]),e}(),h=function(){function e(t){M(this,e),this.stack=t?Array.from(t):[]}return P(e,[{key:"push",value:function(t){if(this.stack.length>=e.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(t)}},{key:"pop",value:function(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}},{key:"copy",value:function(t){if(this.stack.length+t>=e.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");for(var r=this.stack,n=r.length-t,a=t-1;a>=0;a--,n++)r.push(r[n])}},{key:"index",value:function(e){this.push(this.stack[this.stack.length-e-1])}},{key:"roll",value:function(e,t){for(var r=this.stack,n=r.length-e,a=r.length-1,i=n+(t-Math.floor(t/e)*e),o=n,s=a;o<s;o++,s--){var c=r[o];r[o]=r[s],r[s]=c}for(var u=n,l=i-1;u<l;u++,l--){var h=r[u];r[u]=r[l],r[l]=h}for(var f=i,d=a;f<d;f++,d--){var p=r[f];r[f]=r[d],r[d]=p}}}]),e}();n(h,"MAX_STACK_SIZE",100);var p=function(){function e(t){M(this,e),this.operators=t}return P(e,[{key:"execute",value:function(e){for(var t,r,n,a=new h(e),o=0,s=this.operators,c=s.length;o<c;)if("number"!=typeof(t=s[o++]))switch(t){case"jz":n=a.pop(),(r=a.pop())||(o=n);break;case"j":o=r=a.pop();break;case"abs":r=a.pop(),a.push(Math.abs(r));break;case"add":n=a.pop(),r=a.pop(),a.push(r+n);break;case"and":n=a.pop(),"boolean"==typeof(r=a.pop())&&"boolean"==typeof n?a.push(r&&n):a.push(r&n);break;case"atan":n=a.pop(),r=a.pop(),(r=Math.atan2(r,n)/Math.PI*180)<0&&(r+=360),a.push(r);break;case"bitshift":n=a.pop(),(r=a.pop())>0?a.push(r<<n):a.push(r>>n);break;case"ceiling":r=a.pop(),a.push(Math.ceil(r));break;case"copy":r=a.pop(),a.copy(r);break;case"cos":r=a.pop(),a.push(Math.cos(r%360/180*Math.PI));break;case"cvi":r=0|a.pop(),a.push(r);break;case"cvr":break;case"div":n=a.pop(),r=a.pop(),a.push(r/n);break;case"dup":a.copy(1);break;case"eq":n=a.pop(),r=a.pop(),a.push(r===n);break;case"exch":a.roll(2,1);break;case"exp":n=a.pop(),r=a.pop(),a.push(Math.pow(r,n));break;case"false":a.push(!1);break;case"floor":r=a.pop(),a.push(Math.floor(r));break;case"ge":n=a.pop(),r=a.pop(),a.push(r>=n);break;case"gt":n=a.pop(),r=a.pop(),a.push(r>n);break;case"idiv":n=a.pop(),r=a.pop(),a.push(r/n|0);break;case"index":r=a.pop(),a.index(r);break;case"le":n=a.pop(),r=a.pop(),a.push(r<=n);break;case"ln":r=a.pop(),a.push(Math.log(r));break;case"log":r=a.pop(),a.push(Math.log10(r));break;case"lt":n=a.pop(),r=a.pop(),a.push(r<n);break;case"mod":n=a.pop(),r=a.pop(),a.push(r%n);break;case"mul":n=a.pop(),r=a.pop(),a.push(r*n);break;case"ne":n=a.pop(),r=a.pop(),a.push(r!==n);break;case"neg":r=a.pop(),a.push(-r);break;case"not":"boolean"==typeof(r=a.pop())?a.push(!r):a.push(~r);break;case"or":n=a.pop(),"boolean"==typeof(r=a.pop())&&"boolean"==typeof n?a.push(r||n):a.push(r|n);break;case"pop":a.pop();break;case"roll":n=a.pop(),r=a.pop(),a.roll(r,n);break;case"round":r=a.pop(),a.push(Math.round(r));break;case"sin":r=a.pop(),a.push(Math.sin(r%360/180*Math.PI));break;case"sqrt":r=a.pop(),a.push(Math.sqrt(r));break;case"sub":n=a.pop(),r=a.pop(),a.push(r-n);break;case"true":a.push(!0);break;case"truncate":r=(r=a.pop())<0?Math.ceil(r):Math.floor(r),a.push(r);break;case"xor":n=a.pop(),"boolean"==typeof(r=a.pop())&&"boolean"==typeof n?a.push(r!==n):a.push(r^n);break;default:throw new i.FormatError("Unknown operator ".concat(t))}else a.push(t);return a.stack}}]),e}();t.PostScriptEvaluator=p;var g=function(){function e(t){M(this,e),this.type=t}return P(e,[{key:"visit",value:function(e){(0,i.unreachable)("abstract method")}}]),e}(),v=function(e){function t(e,r,n){var a;return M(this,t),(a=d(this,t,["args"])).index=e,a.min=r,a.max=n,a}return y(t,e),P(t,[{key:"visit",value:function(e){e.visitArgument(this)}}]),t}(g),m=function(e){function t(e){var r;return M(this,t),(r=d(this,t,["literal"])).number=e,r.min=e,r.max=e,r}return y(t,e),P(t,[{key:"visit",value:function(e){e.visitLiteral(this)}}]),t}(g),b=function(e){function t(e,r,n,a,i){var o;return M(this,t),(o=d(this,t,["binary"])).op=e,o.arg1=r,o.arg2=n,o.min=a,o.max=i,o}return y(t,e),P(t,[{key:"visit",value:function(e){e.visitBinaryOperation(this)}}]),t}(g),w=function(e){function t(e,r){var n;return M(this,t),(n=d(this,t,["max"])).arg=e,n.min=e.min,n.max=r,n}return y(t,e),P(t,[{key:"visit",value:function(e){e.visitMin(this)}}]),t}(g),k=function(e){function t(e,r,n){var a;return M(this,t),(a=d(this,t,["var"])).index=e,a.min=r,a.max=n,a}return y(t,e),P(t,[{key:"visit",value:function(e){e.visitVariable(this)}}]),t}(g),S=function(e){function t(e,r){var n;return M(this,t),(n=d(this,t,["definition"])).variable=e,n.arg=r,n}return y(t,e),P(t,[{key:"visit",value:function(e){e.visitVariableDefinition(this)}}]),t}(g),A=function(){function e(){M(this,e),this.parts=[]}return P(e,[{key:"visitArgument",value:function(e){this.parts.push("Math.max(",e.min,", Math.min(",e.max,", src[srcOffset + ",e.index,"]))")}},{key:"visitVariable",value:function(e){this.parts.push("v",e.index)}},{key:"visitLiteral",value:function(e){this.parts.push(e.number)}},{key:"visitBinaryOperation",value:function(e){this.parts.push("("),e.arg1.visit(this),this.parts.push(" ",e.op," "),e.arg2.visit(this),this.parts.push(")")}},{key:"visitVariableDefinition",value:function(e){this.parts.push("var "),e.variable.visit(this),this.parts.push(" = "),e.arg.visit(this),this.parts.push(";")}},{key:"visitMin",value:function(e){this.parts.push("Math.min("),e.arg.visit(this),this.parts.push(", ",e.max,")")}},{key:"toString",value:function(){return this.parts.join("")}}]),e}();function C(e,t){return"literal"===t.type&&0===t.number?e:"literal"===e.type&&0===e.number?t:"literal"===t.type&&"literal"===e.type?new m(e.number+t.number):new b("+",e,t,e.min+t.min,e.max+t.max)}function O(e,t){if("literal"===t.type){if(0===t.number)return new m(0);if(1===t.number)return e;if("literal"===e.type)return new m(e.number*t.number)}if("literal"===e.type){if(0===e.number)return new m(0);if(1===e.number)return t}var r=Math.min(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max),n=Math.max(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max);return new b("*",e,t,r,n)}function F(e,t){if("literal"===t.type){if(0===t.number)return e;if("literal"===e.type)return new m(e.number-t.number)}return"binary"===t.type&&"-"===t.op&&"literal"===e.type&&1===e.number&&"literal"===t.arg1.type&&1===t.arg1.number?t.arg2:new b("-",e,t,e.min-t.max,e.max-t.min)}function I(e,t){return e.min>=t?new m(t):e.max<=t?e:new w(e,t)}var T=function(){function e(){M(this,e)}return P(e,[{key:"compile",value:function(e,t,r){for(var n,a,i,o,s,c,u,l,h=[],d=[],p=t.length>>1,g=r.length>>1,y=0,b=0;b<p;b++)h.push(new v(b,t[2*b],t[2*b+1]));for(var w=0,x=e.length;w<x;w++)if("number"!=typeof(l=e[w]))switch(l){case"add":if(h.length<2)return null;o=h.pop(),i=h.pop(),h.push(C(i,o));break;case"cvr":if(h.length<1)return null;break;case"mul":if(h.length<2)return null;o=h.pop(),i=h.pop(),h.push(O(i,o));break;case"sub":if(h.length<2)return null;o=h.pop(),i=h.pop(),h.push(F(i,o));break;case"exch":if(h.length<2)return null;s=h.pop(),c=h.pop(),h.push(s,c);break;case"pop":if(h.length<1)return null;h.pop();break;case"index":if(h.length<1)return null;if("literal"!==(i=h.pop()).type)return null;if((n=i.number)<0||!Number.isInteger(n)||h.length<n)return null;if("literal"===(s=h[h.length-n-1]).type||"var"===s.type){h.push(s);break}u=new k(y++,s.min,s.max),h[h.length-n-1]=u,h.push(u),d.push(new S(u,s));break;case"dup":if(h.length<1)return null;if("number"==typeof e[w+1]&&"gt"===e[w+2]&&e[w+3]===w+7&&"jz"===e[w+4]&&"pop"===e[w+5]&&e[w+6]===e[w+1]){i=h.pop(),h.push(I(i,e[w+1])),w+=6;break}if("literal"===(s=h.at(-1)).type||"var"===s.type){h.push(s);break}u=new k(y++,s.min,s.max),h[h.length-1]=u,h.push(u),d.push(new S(u,s));break;case"roll":if(h.length<2)return null;if(o=h.pop(),i=h.pop(),"literal"!==o.type||"literal"!==i.type)return null;if(a=o.number,(n=i.number)<=0||!Number.isInteger(n)||!Number.isInteger(a)||h.length<n)return null;if(0==(a=(a%n+n)%n))break;h.push.apply(h,f(h.splice(h.length-n,n-a)));break;default:return null}else h.push(new m(l));if(h.length!==g)return null;for(var T=[],M=0,E=d;M<E.length;M++){var P=E[M],R=new A;P.visit(R),T.push(R.toString())}for(var N=0,D=h.length;N<D;N++){var B=h[N],L=new A;B.visit(L);var _=r[2*N],j=r[2*N+1],U=[L.toString()];_>B.min&&(U.unshift("Math.max(",_,", "),U.push(")")),j<B.max&&(U.unshift("Math.min(",j,", "),U.push(")")),U.unshift("dest[destOffset + ",N,"] = "),U.push(";"),T.push(U.join(""))}return T.join("\n")}}]),e}();t.PostScriptCompiler=T},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PostScriptParser=t.PostScriptLexer=void 0,r(139);var n=r(144),a=r(150),i=r(149);t.PostScriptParser=function(){function e(t){M(this,e),this.lexer=t,this.operators=[],this.token=null,this.prev=null}return P(e,[{key:"nextToken",value:function(){this.prev=this.token,this.token=this.lexer.getToken()}},{key:"accept",value:function(e){return this.token.type===e&&(this.nextToken(),!0)}},{key:"expect",value:function(e){if(this.accept(e))return!0;throw new n.FormatError("Unexpected symbol: found ".concat(this.token.type," expected ").concat(e,"."))}},{key:"parse",value:function(){return this.nextToken(),this.expect(o.LBRACE),this.parseBlock(),this.expect(o.RBRACE),this.operators}},{key:"parseBlock",value:function(){for(;;)if(this.accept(o.NUMBER))this.operators.push(this.prev.value);else if(this.accept(o.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(o.LBRACE))return;this.parseCondition()}}},{key:"parseCondition",value:function(){var e=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(o.RBRACE),this.accept(o.IF))this.operators[e]=this.operators.length,this.operators[e+1]="jz";else{if(!this.accept(o.LBRACE))throw new n.FormatError("PS Function: error parsing conditional.");var t=this.operators.length;this.operators.push(null,null);var r=this.operators.length;this.parseBlock(),this.expect(o.RBRACE),this.expect(o.IFELSE),this.operators[t]=this.operators.length,this.operators[t+1]="j",this.operators[e]=r,this.operators[e+1]="jz"}}}]),e}();var o={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},s=function(){function e(t,r){M(this,e),this.type=t,this.value=r}return P(e,null,[{key:"opCache",get:function(){return(0,n.shadow)(this,"opCache",Object.create(null))}},{key:"getOperator",value:function(t){var r;return(r=e.opCache)[t]||(r[t]=new e(o.OPERATOR,t))}},{key:"LBRACE",get:function(){return(0,n.shadow)(this,"LBRACE",new e(o.LBRACE,"{"))}},{key:"RBRACE",get:function(){return(0,n.shadow)(this,"RBRACE",new e(o.RBRACE,"}"))}},{key:"IF",get:function(){return(0,n.shadow)(this,"IF",new e(o.IF,"IF"))}},{key:"IFELSE",get:function(){return(0,n.shadow)(this,"IFELSE",new e(o.IFELSE,"IFELSE"))}}]),e}();t.PostScriptLexer=function(){function e(t){M(this,e),this.stream=t,this.nextChar(),this.strBuf=[]}return P(e,[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var e=!1,t=this.currentChar;;){if(t<0)return a.EOF;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!(0,i.isWhiteSpace)(t))break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new s(o.NUMBER,this.getNumber());case 123:return this.nextChar(),s.LBRACE;case 125:return this.nextChar(),s.RBRACE}var r=this.strBuf;for(r.length=0,r[0]=String.fromCharCode(t);(t=this.nextChar())>=0&&(t>=65&&t<=90||t>=97&&t<=122);)r.push(String.fromCharCode(t));var n=r.join("");switch(n.toLowerCase()){case"if":return s.IF;case"ifelse":return s.IFELSE;default:return s.getOperator(n)}}},{key:"getNumber",value:function(){var e=this.currentChar,t=this.strBuf;for(t.length=0,t[0]=String.fromCharCode(e);(e=this.nextChar())>=0&&(e>=48&&e<=57||45===e||46===e);)t.push(String.fromCharCode(e));var r=parseFloat(t.join(""));if(isNaN(r))throw new n.FormatError("Invalid floating point number: ".concat(r));return r}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.RegionalImageCache=t.LocalTilingPatternCache=t.LocalImageCache=t.LocalGStateCache=t.LocalFunctionCache=t.LocalColorSpaceCache=t.GlobalImageCache=void 0,r(2),r(116),r(126),r(128),r(131),r(133),r(135),r(137);var a=r(144),i=r(150),o=function(){function e(t){M(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseLocalCache."),this._onlyRefs=!0===(null==t?void 0:t.onlyRefs),this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new i.RefSetCache}return P(e,[{key:"getByName",value:function(e){this._onlyRefs&&(0,a.unreachable)("Should not call `getByName` method.");var t=this._nameRefMap.get(e);return t?this.getByRef(t):this._imageMap.get(e)||null}},{key:"getByRef",value:function(e){return this._imageCache.get(e)||null}},{key:"set",value:function(e,t,r){(0,a.unreachable)("Abstract method `set` called.")}}]),e}();t.LocalImageCache=function(e){function t(){return M(this,t),d(this,t,arguments)}return y(t,e),P(t,[{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!=typeof e)throw new Error('LocalImageCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;this._nameRefMap.set(e,t),this._imageCache.put(t,r)}else this._imageMap.has(e)||this._imageMap.set(e,r)}}]),t}(o),t.LocalColorSpaceCache=function(e){function t(){return M(this,t),d(this,t,arguments)}return y(t,e),P(t,[{key:"set",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!=typeof e&&!t)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(t){if(this._imageCache.has(t))return;null!==e&&this._nameRefMap.set(e,t),this._imageCache.put(t,r)}else this._imageMap.has(e)||this._imageMap.set(e,r)}}]),t}(o),t.LocalFunctionCache=function(e){function t(e){return M(this,t),d(this,t,[{onlyRefs:!0}])}return y(t,e),P(t,[{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,t)}}]),t}(o),t.LocalGStateCache=function(e){function t(){return M(this,t),d(this,t,arguments)}return y(t,e),P(t,[{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!=typeof e)throw new Error('LocalGStateCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;this._nameRefMap.set(e,t),this._imageCache.put(t,r)}else this._imageMap.has(e)||this._imageMap.set(e,r)}}]),t}(o),t.LocalTilingPatternCache=function(e){function t(e){return M(this,t),d(this,t,[{onlyRefs:!0}])}return y(t,e),P(t,[{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,t)}}]),t}(o),t.RegionalImageCache=function(e){function t(e){return M(this,t),d(this,t,[{onlyRefs:!0}])}return y(t,e),P(t,[{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error('RegionalImageCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,t)}}]),t}(o);var s=function(){function e(){M(this,e),this._refCache=new i.RefSetCache,this._imageCache=new i.RefSetCache}return P(e,[{key:"_byteSize",get:function(){var e,t=0,r=x(this._imageCache);try{for(r.s();!(e=r.n()).done;)t+=e.value.byteSize}catch(e){r.e(e)}finally{r.f()}return t}},{key:"_cacheLimitReached",get:function(){return!(this._imageCache.size<e.MIN_IMAGES_TO_CACHE||this._byteSize<e.MAX_BYTE_SIZE)}},{key:"shouldCache",value:function(t,r){var n=this._refCache.get(t);return n||(n=new Set,this._refCache.put(t,n)),n.add(r),!(n.size<e.NUM_PAGES_THRESHOLD||!this._imageCache.has(t)&&this._cacheLimitReached)}},{key:"addByteSize",value:function(e,t){var r=this._imageCache.get(e);r&&(r.byteSize||(r.byteSize=t))}},{key:"getData",value:function(t,r){var n=this._refCache.get(t);if(!n)return null;if(n.size<e.NUM_PAGES_THRESHOLD)return null;var a=this._imageCache.get(t);return a?(n.add(r),a):null}},{key:"setData",value:function(e,t){if(!this._refCache.has(e))throw new Error('GlobalImageCache.setData - expected "shouldCache" to have been called.');this._imageCache.has(e)||(this._cacheLimitReached?(0,a.warn)("GlobalImageCache.setData - cache limit reached."):this._imageCache.put(e,t))}},{key:"clear",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||this._refCache.clear(),this._imageCache.clear()}}]),e}();n(s,"NUM_PAGES_THRESHOLD",2),n(s,"MIN_IMAGES_TO_CACHE",10),n(s,"MAX_BYTE_SIZE",5*a.MAX_IMAGE_SIZE_TO_CACHE),t.GlobalImageCache=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.bidi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],p=!0,g=e.length;if(0===g||r)return h(e,p,r);f.length=g,d.length=g;var v,m,y=0;for(v=0;v<g;++v){f[v]=e.charAt(v);var b=e.charCodeAt(v),w="L";b<=255?w=a[b]:1424<=b&&b<=1524?w="R":1536<=b&&b<=1791?(w=i[255&b])||(0,n.warn)("Bidi: invalid Unicode character "+b.toString(16)):(1792<=b&&b<=2220||64336<=b&&b<=65023||65136<=b&&b<=65279)&&(w="AL"),"R"!==w&&"AL"!==w&&"AN"!==w||y++,d[v]=w}if(0===y)return h(e,p=!0);-1===t&&(y/g<.3&&g>4?(p=!0,t=0):(p=!1,t=1));var k=[];for(v=0;v<g;++v)k[v]=t;var x,S=o(t)?"R":"L",A=S,C=A,O=A;for(v=0;v<g;++v)"NSM"===d[v]?d[v]=O:O=d[v];for(O=A,v=0;v<g;++v)"EN"===(x=d[v])?d[v]="AL"===O?"AN":"EN":"R"!==x&&"L"!==x&&"AL"!==x||(O=x);for(v=0;v<g;++v)"AL"===(x=d[v])&&(d[v]="R");for(v=1;v<g-1;++v)"ES"===d[v]&&"EN"===d[v-1]&&"EN"===d[v+1]&&(d[v]="EN"),"CS"!==d[v]||"EN"!==d[v-1]&&"AN"!==d[v-1]||d[v+1]!==d[v-1]||(d[v]=d[v-1]);for(v=0;v<g;++v)if("EN"===d[v]){for(var F=v-1;F>=0&&"ET"===d[F];--F)d[F]="EN";for(var I=v+1;I<g&&"ET"===d[I];++I)d[I]="EN"}for(v=0;v<g;++v)"WS"!==(x=d[v])&&"ES"!==x&&"ET"!==x&&"CS"!==x||(d[v]="ON");for(O=A,v=0;v<g;++v)"EN"===(x=d[v])?d[v]="L"===O?"L":"EN":"R"!==x&&"L"!==x||(O=x);for(v=0;v<g;++v)if("ON"===d[v]){var T=c(d,v+1,"ON"),M=A;v>0&&(M=d[v-1]);var E=C;T+1<g&&(E=d[T+1]),"L"!==M&&(M="R"),"L"!==E&&(E="R"),M===E&&u(d,v,T,M),v=T-1}for(v=0;v<g;++v)"ON"===d[v]&&(d[v]=S);for(v=0;v<g;++v)x=d[v],s(k[v])?"R"===x?k[v]+=1:"AN"!==x&&"EN"!==x||(k[v]+=2):"L"!==x&&"AN"!==x&&"EN"!==x||(k[v]+=1);var P,R=-1,N=99;for(v=0,m=k.length;v<m;++v)R<(P=k[v])&&(R=P),N>P&&o(P)&&(N=P);for(P=R;P>=N;--P){var D=-1;for(v=0,m=k.length;v<m;++v)k[v]<P?D>=0&&(l(f,D,v),D=-1):D<0&&(D=v);D>=0&&l(f,D,k.length)}for(v=0,m=f.length;v<m;++v){var B=f[v];"<"!==B&&">"!==B||(f[v]="")}return h(f.join(""),p)};var n=r(144),a=["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"],i=["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(e){return 0!=(1&e)}function s(e){return 0==(1&e)}function c(e,t,r){var n,a;for(n=t,a=e.length;n<a;++n)if(e[n]!==r)return n;return n}function u(e,t,r,n){for(var a=t;a<r;++a)e[a]=n}function l(e,t,r){for(var n=t,a=r-1;n<a;++n,--a){var i=e[n];e[n]=e[a],e[a]=i}}function h(e,t){var r="ltr";return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?r="ttb":t||(r="rtl"),{str:e,dir:r}}var f=[],d=[]},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.getFontSubstitution=function(e,t,r,f,d){var p=f=(0,n.normalizeFontName)(f),g=e.get(p);if(g)return g;var v=u.get(f);if(!v){var m,y=x(l);try{for(y.s();!(m=y.n()).done;){var b=S(m.value,2),w=b[0],k=b[1];if(f.startsWith(w)){f="".concat(k).concat(f.substring(w.length)),v=u.get(f);break}}}catch(e){y.e(e)}finally{y.f()}}var A=!1;v||(v=u.get(d),A=!0);var C="".concat(t.getDocId(),"_s").concat(t.createFontId());if(!v){if(!(0,a.validateFontName)(f))return e.set(p,null),null;var O=/bold/gi.test(f),F=/oblique|italic/gi.test(f);return g={css:C,guessFallback:!0,loadedName:C,baseFontName:f,src:"local(".concat(f,")"),style:O&&F&&c||O&&o||F&&s||i},e.set(p,g),g}var I=[];A&&(0,a.validateFontName)(f)&&I.push("local(".concat(f,")"));var T=h(v,I,r),M=T.style,E=T.ultimate,P=null===E;return g={css:"".concat(C).concat(P?"":",".concat(E)),guessFallback:P,loadedName:C,baseFontName:f,src:I.join(","),style:M},e.set(p,g),g},r(139);var n=r(188),a=r(149),i={style:"normal",weight:"normal"},o={style:"normal",weight:"bold"},s={style:"italic",weight:"normal"},c={style:"italic",weight:"bold"},u=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:i,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:o,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:s,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:c,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:i,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:o,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:s,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:c,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono"],style:i,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:o,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:s,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:c,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:i,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:o,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:s,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:c,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:i,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:o,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:s,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:c,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:i}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}]]),l=new Map([["Arial-Black","ArialBlack"]]);function h(e,t,r){var n=e.alias,a=e.local,i=e.path,l=e.fallback,f=e.style,d=e.ultimate,p=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],g=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],v=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",m={style:null,ultimate:null};if(a){var y,b=v?" ".concat(v):"",w=x(a);try{for(w.s();!(y=w.n()).done;){var k=y.value;t.push("local(".concat(k).concat(b,")"))}}catch(e){w.e(e)}finally{w.f()}}if(n){var S=u.get(n),A=v||function(e){switch(e){case o:return"Bold";case s:return"Italic";case c:return"Bold Italic";default:if("bold"===(null==e?void 0:e.weight))return"Bold";if("italic"===(null==e?void 0:e.style))return"Italic"}return""}(f);Object.assign(m,h(S,t,r,p&&!l,g&&!i,A))}if(f&&(m.style=f),d&&(m.ultimate=d),p&&l){var C=h(u.get(l),t,r,p,g&&!i,v).ultimate;m.ultimate||(m.ultimate=C)}return g&&i&&r&&t.push("url(".concat(r).concat(i,")")),m}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ImageResizer=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(2);var n=r(144),a=function(){function e(t,r){M(this,e),this._imgData=t,this._isMask=r}var t,r;return P(e,[{key:"_createImage",value:(r=T(k().mark((function t(){var r,n,a,i,o,s,c,u,l,h,f,d,p,g,v,m,y,b,w,S,A,C;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this._encodeBMP(),n=new Blob([r.buffer],{type:"image/bmp"}),a=createImageBitmap(n),i=e.MAX_AREA,o=e.MAX_DIM,s=this._imgData,c=s.width,u=s.height,l=Math.max(c/o,u/o,Math.sqrt(c*u/i)),h=Math.max(l,2),f=Math.round(10*(l+1.25))/10/h,d=Math.floor(Math.log2(f)),(p=new Array(d+2).fill(2))[0]=h,p.splice(-1,1,f/(1<<d)),g=c,v=u,t.next=7,a;case 7:m=t.sent,y=x(p);try{for(y.s();!(b=y.n()).done;)w=b.value,S=g,A=v,g=Math.floor(g/w)-1,v=Math.floor(v/w)-1,(C=new OffscreenCanvas(g,v)).getContext("2d").drawImage(m,0,0,S,A,0,0,g,v),m=C.transferToImageBitmap()}catch(e){y.e(e)}finally{y.f()}return s.data=null,s.bitmap=m,s.width=g,s.height=v,t.abrupt("return",s);case 15:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"_encodeBMP",value:function(){var e,t=this._imgData,r=t.width,a=t.height,i=t.kind,o=this._imgData.data,s=new Uint8Array(0),c=s,u=0;switch(i){case n.ImageKind.GRAYSCALE_1BPP:e=1,s=new Uint8Array(this._isMask?[255,255,255,255,0,0,0,0]:[0,0,0,0,255,255,255,255]);var l=r+7>>3,h=l+3&-4;if(l!==h){for(var f=new Uint8Array(h*a),d=0,p=0,g=a*l;p<g;p+=l,d+=h)f.set(o.subarray(p,p+l),d);o=f}break;case n.ImageKind.RGB_24BPP:if(e=24,3&r){for(var v=3*r,m=v+3&-4,y=m-v,b=new Uint8Array(m*a),w=0,k=0,x=a*v;k<x;k+=v){for(var S=o.subarray(k,k+v),A=0;A<v;A+=3)b[w++]=S[A+2],b[w++]=S[A+1],b[w++]=S[A];w+=y}o=b}else for(var C=0,O=o.length;C<O;C+=3){var F=o[C];o[C]=o[C+2],o[C+2]=F}break;case n.ImageKind.RGBA_32BPP:e=32,u=3,c=new Uint8Array(68);var I=new DataView(c.buffer);n.FeatureTest.isLittleEndian?(I.setUint32(0,255,!0),I.setUint32(4,65280,!0),I.setUint32(8,16711680,!0),I.setUint32(12,4278190080,!0)):(I.setUint32(0,4278190080,!0),I.setUint32(4,16711680,!0),I.setUint32(8,65280,!0),I.setUint32(12,255,!0));break;default:throw new Error("invalid format")}var T=0,M=40+c.length,E=14+M+s.length+o.length,P=new Uint8Array(E),R=new DataView(P.buffer);return R.setUint16(T,19778,!0),T+=2,R.setUint32(T,E,!0),T+=4,R.setUint32(T,0,!0),T+=4,R.setUint32(T,14+M+s.length,!0),T+=4,R.setUint32(T,M,!0),T+=4,R.setInt32(T,r,!0),T+=4,R.setInt32(T,-a,!0),T+=4,R.setUint16(T,1,!0),T+=2,R.setUint16(T,e,!0),T+=2,R.setUint32(T,u,!0),T+=4,R.setUint32(T,0,!0),T+=4,R.setInt32(T,0,!0),T+=4,R.setInt32(T,0,!0),T+=4,R.setUint32(T,s.length/4,!0),T+=4,R.setUint32(T,0,!0),T+=4,P.set(c,T),T+=c.length,P.set(s,T),T+=s.length,P.set(o,T),P}}],[{key:"needsToBeResized",value:function(e,t){if(e<=this._goodSquareLength&&t<=this._goodSquareLength)return!1;var r=this.MAX_DIM;if(e>r||t>r)return!0;var n=e*t;return this._hasMaxArea?n>this.MAX_AREA:!(n<Math.pow(this._goodSquareLength,2))&&(this._areGoodDims(e,t)?(this._goodSquareLength=Math.max(this._goodSquareLength,Math.floor(Math.sqrt(e*t))),!1):(this._goodSquareLength=this._guessMax(this._goodSquareLength,r,128,0),n>(this.MAX_AREA=Math.pow(this._goodSquareLength,2))))}},{key:"MAX_DIM",get:function(){return(0,n.shadow)(this,"MAX_DIM",this._guessMax(2048,65537,0,1))}},{key:"MAX_AREA",get:function(){return this._hasMaxArea=!0,(0,n.shadow)(this,"MAX_AREA",Math.pow(this._guessMax(e._goodSquareLength,this.MAX_DIM,128,0),2))},set:function(e){e>=0&&(this._hasMaxArea=!0,(0,n.shadow)(this,"MAX_AREA",e))}},{key:"setMaxArea",value:function(e){this._hasMaxArea||(this.MAX_AREA=e>>2)}},{key:"_areGoodDims",value:function(e,t){try{var r=new OffscreenCanvas(e,t),n=r.getContext("2d");n.fillRect(0,0,1,1);var a=n.getImageData(0,0,1,1).data[3];return r.width=r.height=1,0!==a}catch(e){return!1}}},{key:"_guessMax",value:function(e,t,r,n){for(;e+r+1<t;){var a=Math.floor((e+t)/2),i=n||a;this._areGoodDims(a,i)?e=a:t=a}return e}},{key:"createImage",value:(t=T(k().mark((function t(r){var n=arguments;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new e(r,n.length>1&&void 0!==n[1]&&n[1])._createImage());case 1:case"end":return t.stop()}}),t)}))),function(e){return t.apply(this,arguments)})}]),e}();t.ImageResizer=a,a._goodSquareLength=2048},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.MurmurHash3_64=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(2);var n=r(144),a=3285377520,i=4294901760,o=65535;t.MurmurHash3_64=function(){function e(t){M(this,e),this.h1=t?4294967295&t:a,this.h2=t?4294967295&t:a}return P(e,[{key:"update",value:function(e){var t,r;if("string"==typeof e){t=new Uint8Array(2*e.length),r=0;for(var a=0,s=e.length;a<s;a++){var c=e.charCodeAt(a);c<=255?t[r++]=c:(t[r++]=c>>>8,t[r++]=255&c)}}else{if(!(0,n.isArrayBuffer)(e))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");r=(t=e.slice()).byteLength}for(var u=r>>2,l=r-4*u,h=new Uint32Array(t.buffer,0,u),f=0,d=0,p=this.h1,g=this.h2,v=3432918353,m=461845907,y=11601,b=13715,w=0;w<u;w++)1&w?p=5*(p=(p^=f=(f=(f=(f=h[w])*v&i|f*y&o)<<15|f>>>17)*m&i|f*b&o)<<13|p>>>19)+3864292196:g=5*(g=(g^=d=(d=(d=(d=h[w])*v&i|d*y&o)<<15|d>>>17)*m&i|d*b&o)<<13|g>>>19)+3864292196;switch(f=0,l){case 3:f^=t[4*u+2]<<16;case 2:f^=t[4*u+1]<<8;case 1:f=(f=(f=(f^=t[4*u])*v&i|f*y&o)<<15|f>>>17)*m&i|f*b&o,1&u?p^=f:g^=f}this.h1=p,this.h2=g}},{key:"hexdigest",value:function(){var e=this.h1,t=this.h2;return e=3981806797*(e^=t>>>1)&i|36045*e&o,e=444984403*(e^=(t=4283543511*t&i|(2950163797*(t<<16|e>>>16)&i)>>>16)>>>1)&i|60499*e&o,((e^=(t=3301882366*t&i|(3120437893*(t<<16|e>>>16)&i)>>>16)>>>1)>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}]),e}()},function(e,t,r){var a;Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorList=void 0,r(2),r(139),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(116),r(126),r(128),r(131),r(133),r(135),r(137);var i=r(144);function o(e,t,r,n,a){for(var i=e,o=0,s=t.length-1;o<s;o++){var c,u=t[o];i=(c=i)[u]||(c[u]=[])}i[t.at(-1)]={checkFn:r,iterateFn:n,processFn:a}}var s=[];o(s,[i.OPS.save,i.OPS.transform,i.OPS.paintInlineImageXObject,i.OPS.restore],null,(function(e,t){var r=e.fnArray,n=(t-(e.iCurr-3))%4;switch(n){case 0:return r[t]===i.OPS.save;case 1:return r[t]===i.OPS.transform;case 2:return r[t]===i.OPS.paintInlineImageXObject;case 3:return r[t]===i.OPS.restore}throw new Error("iterateInlineImageGroup - invalid pos: ".concat(n))}),(function(e,t){var r=e.fnArray,n=e.argsArray,a=e.iCurr,o=a-3,s=a-2,c=a-1,u=Math.min(Math.floor((t-o)/4),200);if(u<10)return t-(t-o)%4;for(var l=0,h=[],f=0,d=1,p=1,g=0;g<u;g++){var v=n[s+(g<<2)],m=n[c+(g<<2)][0];d+m.width>1e3&&(l=Math.max(l,d),p+=f+2,d=0,f=0),h.push({transform:v,x:d,y:p,w:m.width,h:m.height}),d+=m.width+2,f=Math.max(f,m.height)}for(var y=Math.max(l,d)+1,b=p+f+1,w=new Uint8Array(y*b*4),k=y<<2,x=0;x<u;x++){var S=n[c+(x<<2)][0].data,A=h[x].w<<2,C=0,O=h[x].x+h[x].y*y<<2;w.set(S.subarray(0,A),O-k);for(var F=0,I=h[x].h;F<I;F++)w.set(S.subarray(C,C+A),O),C+=A,O+=k;for(w.set(S.subarray(C-A,C),O);O>=0;)S[O-4]=S[O],S[O-3]=S[O+1],S[O-2]=S[O+2],S[O-1]=S[O+3],S[O+A]=S[O+A-4],S[O+A+1]=S[O+A-3],S[O+A+2]=S[O+A-2],S[O+A+3]=S[O+A-1],O-=k}var T={width:y,height:b};if(e.isOffscreenCanvasSupported){var M=new OffscreenCanvas(y,b);M.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(w.buffer),y,b),0,0),T.bitmap=M.transferToImageBitmap(),T.data=null}else T.kind=i.ImageKind.RGBA_32BPP,T.data=w;return r.splice(o,4*u,i.OPS.paintInlineImageXObjectGroup),n.splice(o,4*u,[T,h]),o+1})),o(s,[i.OPS.save,i.OPS.transform,i.OPS.paintImageMaskXObject,i.OPS.restore],null,(function(e,t){var r=e.fnArray,n=(t-(e.iCurr-3))%4;switch(n){case 0:return r[t]===i.OPS.save;case 1:return r[t]===i.OPS.transform;case 2:return r[t]===i.OPS.paintImageMaskXObject;case 3:return r[t]===i.OPS.restore}throw new Error("iterateImageMaskGroup - invalid pos: ".concat(n))}),(function(e,t){var r=e.fnArray,n=e.argsArray,a=e.iCurr,o=a-3,s=a-2,c=a-1,u=Math.floor((t-o)/4);if(u<10)return t-(t-o)%4;var l,h,f=!1,d=n[c][0],p=n[s][0],g=n[s][1],v=n[s][2],m=n[s][3];if(g===v){f=!0,l=s+4;for(var y=c+4,b=1;b<u;b++,l+=4,y+=4)if(h=n[l],n[y][0]!==d||h[0]!==p||h[1]!==g||h[2]!==v||h[3]!==m){b<10?f=!1:u=b;break}}if(f){u=Math.min(u,1e3);var w=new Float32Array(2*u);l=s;for(var k=0;k<u;k++,l+=4)h=n[l],w[k<<1]=h[4],w[1+(k<<1)]=h[5];r.splice(o,4*u,i.OPS.paintImageMaskXObjectRepeat),n.splice(o,4*u,[d,p,g,v,m,w])}else{u=Math.min(u,100);for(var x=[],S=0;S<u;S++){h=n[s+(S<<2)];var A=n[c+(S<<2)][0];x.push({data:A.data,width:A.width,height:A.height,interpolate:A.interpolate,count:A.count,transform:h})}r.splice(o,4*u,i.OPS.paintImageMaskXObjectGroup),n.splice(o,4*u,[x])}return o+1})),o(s,[i.OPS.save,i.OPS.transform,i.OPS.paintImageXObject,i.OPS.restore],(function(e){var t=e.argsArray,r=e.iCurr-2;return 0===t[r][1]&&0===t[r][2]}),(function(e,t){var r=e.fnArray,n=e.argsArray,a=(t-(e.iCurr-3))%4;switch(a){case 0:return r[t]===i.OPS.save;case 1:if(r[t]!==i.OPS.transform)return!1;var o=e.iCurr-2,s=n[o][0],c=n[o][3];return n[t][0]===s&&0===n[t][1]&&0===n[t][2]&&n[t][3]===c;case 2:if(r[t]!==i.OPS.paintImageXObject)return!1;var u=n[e.iCurr-1][0];return n[t][0]===u;case 3:return r[t]===i.OPS.restore}throw new Error("iterateImageGroup - invalid pos: ".concat(a))}),(function(e,t){var r=e.fnArray,n=e.argsArray,a=e.iCurr,o=a-3,s=a-2,c=n[a-1][0],u=n[s][0],l=n[s][3],h=Math.min(Math.floor((t-o)/4),1e3);if(h<3)return t-(t-o)%4;for(var f=new Float32Array(2*h),d=s,p=0;p<h;p++,d+=4){var g=n[d];f[p<<1]=g[4],f[1+(p<<1)]=g[5]}var v=[c,u,l,f];return r.splice(o,4*h,i.OPS.paintImageXObjectRepeat),n.splice(o,4*h,v),o+1})),o(s,[i.OPS.beginText,i.OPS.setFont,i.OPS.setTextMatrix,i.OPS.showText,i.OPS.endText],null,(function(e,t){var r=e.fnArray,n=e.argsArray,a=(t-(e.iCurr-4))%5;switch(a){case 0:return r[t]===i.OPS.beginText;case 1:return r[t]===i.OPS.setFont;case 2:return r[t]===i.OPS.setTextMatrix;case 3:if(r[t]!==i.OPS.showText)return!1;var o=e.iCurr-3,s=n[o][0],c=n[o][1];return n[t][0]===s&&n[t][1]===c;case 4:return r[t]===i.OPS.endText}throw new Error("iterateShowTextGroup - invalid pos: ".concat(a))}),(function(e,t){var r=e.fnArray,n=e.argsArray,a=e.iCurr,i=a-4,o=a-3,s=a-2,c=a-1,u=a,l=n[o][0],h=n[o][1],f=Math.min(Math.floor((t-i)/5),1e3);if(f<3)return t-(t-i)%5;var d=i;i>=4&&r[i-4]===r[o]&&r[i-3]===r[s]&&r[i-2]===r[c]&&r[i-1]===r[u]&&n[i-4][0]===l&&n[i-4][1]===h&&(f++,d-=5);for(var p=d+4,g=1;g<f;g++)r.splice(p,3),n.splice(p,3),p+=2;return p+1}));var c=function(){function e(t){M(this,e),this.queue=t}return P(e,[{key:"_optimize",value:function(){}},{key:"push",value:function(e,t){this.queue.fnArray.push(e),this.queue.argsArray.push(t),this._optimize()}},{key:"flush",value:function(){}},{key:"reset",value:function(){}}]),e}(),u=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[e])).state=null,r.context={iCurr:0,fnArray:e.fnArray,argsArray:e.argsArray,isOffscreenCanvasSupported:!1},r.match=null,r.lastProcessed=0,r}return y(t,e),P(t,[{key:"isOffscreenCanvasSupported",set:function(e){this.context.isOffscreenCanvasSupported=e}},{key:"_optimize",value:function(){var e=this.queue.fnArray,t=this.lastProcessed,r=e.length,n=this.state,a=this.match;if(n||a||t+1!==r||s[e[t]]){for(var i=this.context;t<r;){if(a){if((0,a.iterateFn)(i,t)){t++;continue}if(t=(0,a.processFn)(i,t+1),a=null,n=null,t>=(r=e.length))break}(n=(n||s)[e[t]])&&!Array.isArray(n)?(i.iCurr=t,t++,!n.checkFn||(0,n.checkFn)(i)?(a=n,n=null):n=null):t++}this.state=n,this.match=a,this.lastProcessed=t}else this.lastProcessed=r}},{key:"flush",value:function(){for(;this.match;){var e=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,e),this.match=null,this.state=null,this._optimize()}}},{key:"reset",value:function(){this.state=null,this.match=null,this.lastProcessed=0}}]),t}(c),l=function(){function e(){M(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1?arguments[1]:void 0;this._streamSink=r,this.fnArray=[],this.argsArray=[],this.optimizer=!r||t&i.RenderingIntentFlag.OPLIST?new c(this):new u(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=r?null:Promise.resolve()}return P(e,[{key:"isOffscreenCanvasSupported",set:function(e){this.optimizer.isOffscreenCanvasSupported=e}},{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(t,r){this.optimizer.push(t,r),this.weight++,this._streamSink&&(this.weight>=e.CHUNK_SIZE||this.weight>=e.CHUNK_SIZE_ABOUT&&(t===i.OPS.restore||t===i.OPS.endText))&&this.flush()}},{key:"addImageOps",value:function(e,t,r){void 0!==r&&this.addOp(i.OPS.beginMarkedContentProps,["OC",r]),this.addOp(e,t),void 0!==r&&this.addOp(i.OPS.endMarkedContent,[])}},{key:"addDependency",value:function(e){this.dependencies.has(e)||(this.dependencies.add(e),this.addOp(i.OPS.dependency,[e]))}},{key:"addDependencies",value:function(e){var t,r=x(e);try{for(r.s();!(t=r.n()).done;){var n=t.value;this.addDependency(n)}}catch(e){r.e(e)}finally{r.f()}}},{key:"addOpList",value:function(t){if(t instanceof e){var r,n=x(t.dependencies);try{for(n.s();!(r=n.n()).done;){var a=r.value;this.dependencies.add(a)}}catch(e){n.e(e)}finally{n.f()}for(var o=0,s=t.length;o<s;o++)this.addOp(t.fnArray[o],t.argsArray[o])}else(0,i.warn)('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 e,t=[],r=this.fnArray,n=this.argsArray,a=this.length,o=0;o<a;o++)switch(r[o]){case i.OPS.paintInlineImageXObject:case i.OPS.paintInlineImageXObjectGroup:case i.OPS.paintImageMaskXObject:var s=n[o][0];!s.cached&&(null===(e=s.data)||void 0===e?void 0:e.buffer)instanceof ArrayBuffer&&t.push(s.data.buffer)}return t}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.optimizer.flush();var r=this.length;this._totalLength+=r,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:e,separateAnnots:t,length:r},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}]),e}();a=l,n(l,"CHUNK_SIZE",1e3),n(l,"CHUNK_SIZE_ABOUT",a.CHUNK_SIZE-5),t.OperatorList=l},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PDFImage=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(2);var n=r(144),a=r(178),i=r(151),o=r(162),s=r(168),c=r(212),u=r(176),l=r(180),h=r(150);function f(e,t,r,n){return(e=t+e*r)<0?e=0:e>n&&(e=n),e}function d(e,t,r,n,a,i){var o,s=a*i;o=t<=8?new Uint8Array(s):t<=16?new Uint16Array(s):new Uint32Array(s);var c,u,l,h,f=r/a,d=n/i,p=0,g=new Uint16Array(a),v=r;for(c=0;c<a;c++)g[c]=Math.floor(c*f);for(c=0;c<i;c++)for(l=Math.floor(c*d)*v,u=0;u<a;u++)h=l+g[u],o[p++]=e[h];return o}var p=function(){function e(t){M(this,e);var r=t.xref,a=t.res,s=t.image,c=t.isInline,u=void 0!==c&&c,f=t.smask,d=void 0===f?null:f,p=t.mask,g=void 0===p?null:p,v=t.isMask,m=void 0!==v&&v,y=t.pdfFunctionFactory,b=t.localColorSpaceCache;this.image=s;var w,k=s.dict,x=k.get("F","Filter");if(x instanceof h.Name)w=x.name;else if(Array.isArray(x)){var S=r.fetchIfRef(x[0]);S instanceof h.Name&&(w=S.name)}switch(w){case"JPXDecode":var A=new l.JpxImage;A.parseImageProperties(s.stream),s.stream.reset(),s.width=A.width,s.height=A.height,s.bitsPerComponent=A.bitsPerComponent,s.numComps=A.componentsCount;break;case"JBIG2Decode":s.bitsPerComponent=1,s.numComps=1}var C=k.get("W","Width"),O=k.get("H","Height");if(Number.isInteger(s.width)&&s.width>0&&Number.isInteger(s.height)&&s.height>0&&(s.width!==C||s.height!==O)&&((0,n.warn)("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),C=s.width,O=s.height),C<1||O<1)throw new n.FormatError("Invalid image width: ".concat(C," or height: ").concat(O));this.width=C,this.height=O,this.interpolate=k.get("I","Interpolate"),this.imageMask=k.get("IM","ImageMask")||!1,this.matte=k.get("Matte")||!1;var F=s.bitsPerComponent;if(!F&&!(F=k.get("BPC","BitsPerComponent"))){if(!this.imageMask)throw new n.FormatError("Bits per component missing in image: ".concat(this.imageMask));F=1}if(this.bpc=F,!this.imageMask){var I=k.getRaw("CS")||k.getRaw("ColorSpace");if(!I)switch((0,n.info)("JPX images (which do not require color spaces)"),s.numComps){case 1:I=h.Name.get("DeviceGray");break;case 3:I=h.Name.get("DeviceRGB");break;case 4:I=h.Name.get("DeviceCMYK");break;default:throw new Error("JPX images with ".concat(s.numComps," color components not supported."))}this.colorSpace=o.ColorSpace.parse({cs:I,xref:r,resources:u?a:null,pdfFunctionFactory:y,localColorSpaceCache:b}),this.numComps=this.colorSpace.numComps}if(this.decode=k.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,F)||m&&!o.ColorSpace.isDefaultDecode(this.decode,1))){var T;this.needsDecode=!0;var E=(1<<F)-1;this.decodeCoefficients=[],this.decodeAddends=[];for(var P="Indexed"===(null===(T=this.colorSpace)||void 0===T?void 0:T.name),R=0,N=0;R<this.decode.length;R+=2,++N){var D=this.decode[R],B=this.decode[R+1];this.decodeCoefficients[N]=P?(B-D)/E:B-D,this.decodeAddends[N]=P?D:E*D}}d?this.smask=new e({xref:r,res:a,image:d,isInline:u,pdfFunctionFactory:y,localColorSpaceCache:b}):g&&(g instanceof i.BaseStream?g.dict.get("IM","ImageMask")?this.mask=new e({xref:r,res:a,image:g,isInline:u,isMask:!0,pdfFunctionFactory:y,localColorSpaceCache:b}):(0,n.warn)("Ignoring /Mask in image without /ImageMask."):this.mask=g)}var t,r,p;return P(e,[{key:"drawWidth",get:function(){var e,t;return Math.max(this.width,(null===(e=this.smask)||void 0===e?void 0:e.width)||0,(null===(t=this.mask)||void 0===t?void 0:t.width)||0)}},{key:"drawHeight",get:function(){var e,t;return Math.max(this.height,(null===(e=this.smask)||void 0===e?void 0:e.height)||0,(null===(t=this.mask)||void 0===t?void 0:t.height)||0)}},{key:"decodeBuffer",value:function(e){var t,r,n=this.bpc,a=this.numComps,i=this.decodeAddends,o=this.decodeCoefficients,s=(1<<n)-1;if(1!==n){var c=0;for(t=0,r=this.width*this.height;t<r;t++)for(var u=0;u<a;u++)e[c]=f(e[c],i[u],o[u],s),c++}else for(t=0,r=e.length;t<r;t++)e[t]=+!e[t]}},{key:"getComponents",value:function(e){var t=this.bpc;if(8===t)return e;var r,n=this.width,a=this.height,i=this.numComps,o=n*a*i,s=0;r=t<=8?new Uint8Array(o):t<=16?new Uint16Array(o):new Uint32Array(o);var c,u,l=n*i,h=(1<<t)-1,f=0;if(1===t)for(var d,p,g,v=0;v<a;v++){for(p=f+(-8&l),g=f+l;f<p;)u=e[s++],r[f]=u>>7&1,r[f+1]=u>>6&1,r[f+2]=u>>5&1,r[f+3]=u>>4&1,r[f+4]=u>>3&1,r[f+5]=u>>2&1,r[f+6]=u>>1&1,r[f+7]=1&u,f+=8;if(f<g)for(u=e[s++],d=128;f<g;)r[f++]=+!!(u&d),d>>=1}else{var m=0;for(u=0,f=0,c=o;f<c;++f){for(f%l==0&&(u=0,m=0);m<t;)u=u<<8|e[s++],m+=8;var y=m-t,b=u>>y;b<0?b=0:b>h&&(b=h),r[f]=b,u&=(1<<y)-1,m=y}}return r}},{key:"fillOpacity",value:function(t,r,a,i,o){var s,c,u,l,h,f,p=this.smask,g=this.mask;if(p)c=p.width,u=p.height,s=new Uint8ClampedArray(c*u),p.fillGrayBuffer(s),c===r&&u===a||(s=d(s,p.bpc,c,u,r,a));else if(g)if(g instanceof e){for(c=g.width,u=g.height,s=new Uint8ClampedArray(c*u),g.numComps=1,g.fillGrayBuffer(s),l=0,h=c*u;l<h;++l)s[l]=255-s[l];c===r&&u===a||(s=d(s,g.bpc,c,u,r,a))}else{if(!Array.isArray(g))throw new n.FormatError("Unknown mask format.");s=new Uint8ClampedArray(r*a);var v=this.numComps;for(l=0,h=r*a;l<h;++l){var m=0,y=l*v;for(f=0;f<v;++f){var b=o[y+f],w=2*f;if(b<g[w]||b>g[w+1]){m=255;break}}s[l]=m}}if(s)for(l=0,f=3,h=r*i;l<h;++l,f+=4)t[f]=s[l];else for(l=0,f=3,h=r*i;l<h;++l,f+=4)t[f]=255}},{key:"undoPreblend",value:function(e,t,r){var n,a=null===(n=this.smask)||void 0===n?void 0:n.matte;if(a)for(var i=this.colorSpace.getRgb(a,0),o=i[0],s=i[1],c=i[2],u=t*r*4,l=0;l<u;l+=4){var h=e[l+3];if(0!==h){var f=255/h;e[l]=(e[l]-o)*f+o,e[l+1]=(e[l+1]-s)*f+s,e[l+2]=(e[l+2]-c)*f+c}else e[l]=255,e[l+1]=255,e[l+2]=255}}},{key:"createImageData",value:(p=T(k().mark((function e(){var t,r,a,i,o,s,l,h,f,d,p,g,v,m,y,b,w,x,S,A,C,O,F,I,T,M,E,P,R=arguments;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=R.length>0&&void 0!==R[0]&&R[0],r=R.length>1&&void 0!==R[1]&&R[1],a=this.drawWidth,i=this.drawHeight,o={width:a,height:i,interpolate:this.interpolate,kind:0,data:null},s=this.numComps,l=this.width,h=this.height,f=this.bpc,d=l*s*f+7>>3,p=r&&c.ImageResizer.needsToBeResized(a,i),t){e.next=38;break}if("DeviceGray"===this.colorSpace.name&&1===f?g=n.ImageKind.GRAYSCALE_1BPP:"DeviceRGB"!==this.colorSpace.name||8!==f||this.needsDecode||(g=n.ImageKind.RGB_24BPP),!g||this.smask||this.mask||a!==l||i!==h){e.next=12;break}if(v=this.getImageBytes(h*d,{}),!r){e.next=8;break}return e.abrupt("return",p?c.ImageResizer.createImage({data:v,kind:g,width:a,height:i,interpolate:this.interpolate},this.needsDecode):this.createBitmap(g,l,h,v));case 8:if(o.kind=g,o.data=v,this.needsDecode)for((0,n.assert)(g===n.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale."),m=o.data,y=0,b=m.length;y<b;y++)m[y]^=255;return e.abrupt("return",o);case 12:if(!(this.image instanceof u.JpegStream)||this.smask||this.mask||this.needsDecode){e.next=38;break}if(w=h*d,!r||p){e.next=31;break}x=!1,e.t0=this.colorSpace.name,e.next="DeviceGray"===e.t0?19:"DeviceRGB"===e.t0?22:"DeviceCMYK"===e.t0?25:26;break;case 19:return w*=4,x=!0,e.abrupt("break",26);case 22:return w=w/3*4,x=!0,e.abrupt("break",26);case 25:x=!0;case 26:if(!x){e.next=29;break}return S=this.getImageBytes(w,{drawWidth:a,drawHeight:i,forceRGBA:!0}),e.abrupt("return",this.createBitmap(n.ImageKind.RGBA_32BPP,a,i,S));case 29:e.next=38;break;case 31:e.t1=this.colorSpace.name,e.next="DeviceGray"===e.t1?34:"DeviceRGB"===e.t1||"DeviceCMYK"===e.t1?35:38;break;case 34:w*=3;case 35:return o.kind=n.ImageKind.RGB_24BPP,o.data=this.getImageBytes(w,{drawWidth:a,drawHeight:i,forceRGB:!0}),e.abrupt("return",p?c.ImageResizer.createImage(o):o);case 38:if(A=this.getImageBytes(h*d,{internal:!0}),C=0|A.length/d*i/h,O=this.getComponents(A),r&&!p&&(T=new OffscreenCanvas(a,i),M=T.getContext("2d"),E=M.createImageData(a,i),P=E.data),o.kind=n.ImageKind.RGBA_32BPP,t||this.smask||this.mask?(r&&!p||(P=new Uint8ClampedArray(a*i*4)),F=1,I=!0,this.fillOpacity(P,a,i,C,O)):(!r||p?(o.kind=n.ImageKind.RGB_24BPP,P=new Uint8ClampedArray(a*i*3),F=0):(new Uint32Array(P.buffer).fill(n.FeatureTest.isLittleEndian?4278190080:255),F=1),I=!1),this.needsDecode&&this.decodeBuffer(O),this.colorSpace.fillRgb(P,l,h,a,i,C,f,O,F),I&&this.undoPreblend(P,a,C),!r||p){e.next=48;break}return M.putImageData(E,0,0),e.abrupt("return",{data:null,width:a,height:i,bitmap:T.transferToImageBitmap(),interpolate:this.interpolate});case 48:return o.data=P,e.abrupt("return",p?c.ImageResizer.createImage(o):o);case 50:case"end":return e.stop()}}),e,this)}))),function(){return p.apply(this,arguments)})},{key:"fillGrayBuffer",value:function(e){var t=this.numComps;if(1!==t)throw new n.FormatError("Reading gray scale from a color image: ".concat(t));var r,a,i=this.width,o=this.height,s=this.bpc,c=i*t*s+7>>3,u=this.getImageBytes(o*c,{internal:!0}),l=this.getComponents(u);if(1!==s){this.needsDecode&&this.decodeBuffer(l),a=i*o;var h=255/((1<<s)-1);for(r=0;r<a;++r)e[r]=h*l[r]}else if(a=i*o,this.needsDecode)for(r=0;r<a;++r)e[r]=l[r]-1&255;else for(r=0;r<a;++r)e[r]=255&-l[r]}},{key:"createBitmap",value:function(e,t,r,i){var o,s=new OffscreenCanvas(t,r),c=s.getContext("2d");return e===n.ImageKind.RGBA_32BPP?o=new ImageData(i,t,r):(o=c.createImageData(t,r),(0,a.convertToRGBA)({kind:e,src:i,dest:new Uint32Array(o.data.buffer),width:t,height:r,inverseDecode:this.needsDecode})),c.putImageData(o,0,0),{data:null,width:t,height:r,bitmap:s.transferToImageBitmap(),interpolate:this.interpolate}}},{key:"getImageBytes",value:function(e,t){var r=t.drawWidth,a=t.drawHeight,i=t.forceRGBA,o=void 0!==i&&i,c=t.forceRGB,u=void 0!==c&&c,l=t.internal,h=void 0!==l&&l;this.image.reset(),this.image.drawWidth=r||this.width,this.image.drawHeight=a||this.height,this.image.forceRGBA=!!o,this.image.forceRGB=!!u;var f=this.image.getBytes(e);return h||this.image instanceof s.DecodeStream?f:((0,n.assert)(f instanceof Uint8Array,'PDFImage.getImageBytes: Unsupported "imageBytes" type.'),new Uint8Array(f))}}],[{key:"buildImage",value:(r=T(k().mark((function t(r){var a,o,s,c,u,l,h,f,d,p,g,v;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=r.xref,o=r.res,s=r.image,c=r.isInline,u=void 0!==c&&c,l=r.pdfFunctionFactory,h=r.localColorSpaceCache,f=s,d=null,p=null,g=s.dict.get("SMask"),v=s.dict.get("Mask"),g?g instanceof i.BaseStream?d=g:(0,n.warn)("Unsupported /SMask format."):v&&(v instanceof i.BaseStream||Array.isArray(v)?p=v:(0,n.warn)("Unsupported /Mask format.")),t.abrupt("return",new e({xref:a,res:o,image:f,isInline:u,smask:d,mask:p,pdfFunctionFactory:l,localColorSpaceCache:h}));case 6:case"end":return t.stop()}}),t)}))),function(e){return r.apply(this,arguments)})},{key:"createRawMask",value:function(e){var t,r,n=e.imgArray,a=e.width,i=e.height,o=e.imageIsFromDecodeStream,s=e.inverseDecode,c=e.interpolate,u=(a+7>>3)*i,l=n.byteLength;if(!o||s&&u!==l?s?((t=new Uint8Array(u)).set(n),t.fill(255,l)):t=new Uint8Array(n):t=n,s)for(r=0;r<l;r++)t[r]^=255;return{data:t,width:a,height:i,interpolate:c}}},{key:"createMask",value:(t=T(k().mark((function e(t){var r,i,o,s,u,l,h,f,d,p,g,v,m;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.imgArray,i=t.width,o=t.height,s=t.imageIsFromDecodeStream,u=t.inverseDecode,l=t.interpolate,h=t.isOffscreenCanvasSupported,f=void 0!==h&&h,!(d=1===i&&1===o&&u===(0===r.length||!!(128&r[0])))){e.next=4;break}return e.abrupt("return",{isSingleOpaquePixel:d});case 4:if(!f){e.next=13;break}if(!c.ImageResizer.needsToBeResized(i,o)){e.next=9;break}return p=new Uint8ClampedArray(i*o*4),(0,a.convertBlackAndWhiteToRGBA)({src:r,dest:p,width:i,height:o,nonBlackColor:0,inverseDecode:u}),e.abrupt("return",c.ImageResizer.createImage({kind:n.ImageKind.RGBA_32BPP,data:p,width:i,height:o,interpolate:l}));case 9:return g=new OffscreenCanvas(i,o),v=g.getContext("2d"),m=v.createImageData(i,o),(0,a.convertBlackAndWhiteToRGBA)({src:r,dest:m.data,width:i,height:o,nonBlackColor:0,inverseDecode:u}),v.putImageData(m,0,0),e.abrupt("return",{data:null,width:i,height:o,interpolate:l,bitmap:g.transferToImageBitmap()});case 13:return e.abrupt("return",this.createRawMask({imgArray:r,width:i,height:o,inverseDecode:u,imageIsFromDecodeStream:s,interpolate:l}));case 14:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),e}();t.PDFImage=p},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.incrementalUpdate=function(){var e=T(k().mark((function e(t){var r,s,l,f,d,p,g,v,m,w,A,C,O,F,I,M,E,P,R,N,D,B,L,_,j,U,$,X,H,q,z,G,W,V,K,Y,J,Z,Q,ee,te,re,ne,ae,ie,oe,se;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.originalData,s=t.xrefInfo,l=t.newRefs,f=t.xref,d=void 0===f?null:f,p=t.hasXfa,g=void 0!==p&&p,v=t.xfaDatasetsRef,m=void 0===v?null:v,w=t.hasXfaDatasetsEntry,A=void 0!==w&&w,C=t.needAppearances,O=t.acroFormRef,F=void 0===O?null:O,I=t.acroForm,M=void 0===I?null:I,E=t.xfaData,P=void 0===E?null:E,e.next=3,function(){var e=T(k().mark((function e(t){var r,i,o,s,c,l,h,f,d,p,g,v,m,y,b,w;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.xref,i=t.acroForm,o=t.acroFormRef,s=t.hasXfa,c=t.hasXfaDatasetsEntry,l=t.xfaDatasetsRef,h=t.needAppearances,f=t.newRefs,!s||c||l||(0,n.warn)("XFA - Cannot save it"),h||s&&l&&!c){e.next=4;break}return e.abrupt("return");case 4:d=new a.Dict(r),p=x(i.getKeys());try{for(p.s();!(g=p.n()).done;)v=g.value,d.set(v,i.getRaw(v))}catch(e){p.e(e)}finally{p.f()}return s&&!c&&((m=i.get("XFA").slice()).splice(2,0,"datasets"),m.splice(3,0,l),d.set("XFA",m)),h&&d.set("NeedAppearances",!0),y=r.encrypt,b=null,y&&(b=y.createCipherTransform(o.num,o.gen)),w=[],e.next=15,u(o,d,w,b);case 15:f.push({ref:o,data:w.join("")});case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()({xref:d,acroForm:M,acroFormRef:F,hasXfa:g,hasXfaDatasetsEntry:A,xfaDatasetsRef:m,needAppearances:C,newRefs:l});case 3:g&&function(e){var t=e.xfaData,r=e.xfaDatasetsRef,a=e.newRefs,s=e.xref;null===t&&(t=function(e,t){var r,a=new o.SimpleXMLParser({hasAttributes:!0}).parseFromString(e),s=x(t);try{for(s.s();!(r=s.n()).done;){var c=r.value.xfa;if(c){var u=c.path,l=c.value;if(u){var h=(0,i.parseXFAPath)(u),f=a.documentElement.searchNode(h,0);!f&&h.length>1&&(f=a.documentElement.searchNode([h.at(-1)],0)),f?f.childNodes=Array.isArray(l)?l.map((function(e){return new o.SimpleDOMNode("value",e)})):[new o.SimpleDOMNode("#text",l)]:(0,n.warn)("Node not found for path: ".concat(u))}}}}catch(e){s.e(e)}finally{s.f()}var d=[];return a.documentElement.dump(d),d.join("")}(s.fetchIfRef(r).getString(),a));var c=s.encrypt;c&&(t=c.createCipherTransform(r.num,r.gen).encryptString(t));var u="".concat(r.num," ").concat(r.gen," obj\n<< /Type /EmbeddedFile /Length ").concat(t.length,">>\nstream\n")+t+"\nendstream\nendobj\n";a.push({ref:r,data:u})}({xfaData:P,xfaDatasetsRef:m,newRefs:l,xref:d}),R=new a.Dict(null),N=s.newRef,10===(L=r.at(-1))||13===L?(D=[],B=r.length):(D=["\n"],B=r.length+1),R.set("Size",N.num+1),R.set("Prev",s.startXRef),R.set("Type",a.Name.get("XRef")),null!==s.rootRef&&R.set("Root",s.rootRef),null!==s.infoRef&&R.set("Info",s.infoRef),null!==s.encryptRef&&R.set("Encrypt",s.encryptRef),l.push({ref:N,data:""}),l=l.sort((function(e,t){return e.ref.num-t.ref.num})),_=[[0,1,65535]],j=[0,1],U=0,$=x(l);try{for($.s();!(X=$.n()).done;)H=X.value,q=H.ref,z=H.data,U=Math.max(U,B),_.push([1,B,Math.min(q.gen,65535)]),B+=z.length,j.push(q.num,1),D.push(z)}catch(e){$.e(e)}finally{$.f()}return R.set("Index",j),Array.isArray(s.fileIds)&&s.fileIds.length>0&&(G=function(e,t){for(var r=Math.floor(Date.now()/1e3),a=t.filename||"",i=[r.toString(),a,e.toString()],o=i.reduce((function(e,t){return e+t.length}),0),s=0,u=Object.values(t.info);s<u.length;s++){var l=u[s];i.push(l),o+=l.length}for(var h=new Uint8Array(o),f=0,d=0,p=i;d<p.length;d++){var g=p[d];b(g,f,h),f+=g.length}return(0,n.bytesToString)((0,c.calculateMD5)(h))}(B,s),R.set("ID",[s.fileIds[0],G])),W=[1,Math.ceil(Math.log2(U)/8),2],V=(W[0]+W[1]+W[2])*_.length,R.set("W",W),R.set("Length",V),D.push("".concat(N.num," ").concat(N.gen," obj\n")),e.next=27,h(R,D,null);case 27:D.push(" stream\n"),K=D.reduce((function(e,t){return e+t.length}),0),Y="\nendstream\nendobj\nstartxref\n".concat(B,"\n%%EOF\n"),(J=new Uint8Array(r.length+K+V+Y.length)).set(r),Z=r.length,Q=x(D);try{for(Q.s();!(ee=Q.n()).done;)b(te=ee.value,Z,J),Z+=te.length}catch(e){Q.e(e)}finally{Q.f()}for(re=0,ne=_;re<ne.length;re++)ae=S(ne[re],3),ie=ae[0],oe=ae[1],se=ae[2],Z=y(ie,W[0],Z,J),Z=y(oe,W[1],Z,J),Z=y(se,W[2],Z,J);return b(Y,Z,J),e.abrupt("return",J);case 36:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.writeDict=h,t.writeObject=u,r(139),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115);var n=r(144),a=r(150),i=r(149),o=r(217),s=r(151),c=r(218);function u(e,t,r,n){return l.apply(this,arguments)}function l(){return l=T(k().mark((function e(t,r,n,i){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.push("".concat(t.num," ").concat(t.gen," obj\n")),!(r instanceof a.Dict)){e.next=6;break}return e.next=4,h(r,n,i);case 4:e.next=10;break;case 6:if(e.t0=r instanceof s.BaseStream,!e.t0){e.next=10;break}return e.next=10,p(r,n,i);case 10:n.push("\nendobj\n");case 11:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function h(e,t,r){return d.apply(this,arguments)}function d(){return d=T(k().mark((function e(t,r,n){var a,o,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r.push("<<"),a=x(t.getKeys()),e.prev=2,a.s();case 4:if((o=a.n()).done){e.next=11;break}return s=o.value,r.push(" /".concat((0,i.escapePDFName)(s)," ")),e.next=9,v(t.getRaw(s),r,n);case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),a.e(e.t0);case 16:return e.prev=16,a.f(),e.finish(16);case 19:r.push(">>");case 20:case"end":return e.stop()}}),e,null,[[2,13,16,19]])}))),d.apply(this,arguments)}function p(e,t,r){return g.apply(this,arguments)}function g(){return g=T(k().mark((function e(t,r,i){var o,s,c,u,l,d,p,g,v,m,y,b,w,x;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.getString(),null!==i&&(o=i.encryptString(o)),s=t.dict,e.next=5,Promise.all([s.getAsync("Filter"),s.getAsync("DecodeParms")]);case 5:if(c=e.sent,u=S(c,2),l=u[0],d=u[1],!Array.isArray(l)){e.next=15;break}return e.next=12,s.xref.fetchIfRefAsync(l[0]);case 12:e.t0=e.sent,e.next=16;break;case 15:e.t0=l;case 16:if(p=e.t0,g=(0,a.isName)(p,"FlateDecode"),"undefined"==typeof CompressionStream||!(o.length>=256||g)){e.next=35;break}return e.prev=19,v=(0,n.stringToBytes)(o),m=new CompressionStream("deflate"),(y=m.writable.getWriter()).write(v),y.close(),e.next=25,new Response(m.readable).arrayBuffer();case 25:b=e.sent,o=(0,n.bytesToString)(new Uint8Array(b)),l?g||(w=Array.isArray(l)?[a.Name.get("FlateDecode")].concat(f(l)):[a.Name.get("FlateDecode"),l],d&&(x=Array.isArray(d)?[null].concat(f(d)):[null,d])):w=a.Name.get("FlateDecode"),w&&s.set("Filter",w),x&&s.set("DecodeParms",x),e.next=35;break;case 32:e.prev=32,e.t1=e.catch(19),(0,n.info)('writeStream - cannot compress data: "'.concat(e.t1,'".'));case 35:return s.set("Length",o.length),e.next=38,h(s,r,i);case 38:r.push(" stream\n",o,"\nendstream");case 39:case"end":return e.stop()}}),e,null,[[19,32]])}))),g.apply(this,arguments)}function v(e,t,r){return m.apply(this,arguments)}function m(){return m=T(k().mark((function e(t,r,o){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof a.Name)){e.next=4;break}r.push("/".concat((0,i.escapePDFName)(t.name))),e.next=37;break;case 4:if(!(t instanceof a.Ref)){e.next=8;break}r.push("".concat(t.num," ").concat(t.gen," R")),e.next=37;break;case 8:if(!Array.isArray(t)){e.next=13;break}return e.next=11,function(){var e=T(k().mark((function e(t,r,n){var a,i,o,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r.push("["),a=!0,i=x(t),e.prev=3,i.s();case 5:if((o=i.n()).done){e.next=12;break}return s=o.value,a?a=!1:r.push(" "),e.next=10,v(s,r,n);case 10:e.next=5;break;case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(3),i.e(e.t0);case 17:return e.prev=17,i.f(),e.finish(17);case 20:r.push("]");case 21:case"end":return e.stop()}}),e,null,[[3,14,17,20]])})));return function(t,r,n){return e.apply(this,arguments)}}()(t,r,o);case 11:e.next=37;break;case 13:if("string"!=typeof t){e.next=18;break}null!==o&&(t=o.encryptString(t)),r.push("(".concat((0,i.escapeString)(t),")")),e.next=37;break;case 18:if("number"!=typeof t){e.next=22;break}r.push((0,i.numberToString)(t)),e.next=37;break;case 22:if("boolean"!=typeof t){e.next=26;break}r.push(t.toString()),e.next=37;break;case 26:if(!(t instanceof a.Dict)){e.next=31;break}return e.next=29,h(t,r,o);case 29:e.next=37;break;case 31:if(!(t instanceof s.BaseStream)){e.next=36;break}return e.next=34,p(t,r,o);case 34:e.next=37;break;case 36:null===t?r.push("null"):(0,n.warn)("Unhandled value in writer: ".concat(N(t),", please file a bug."));case 37:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function y(e,t,r,n){for(var a=t+r-1;a>r-1;a--)n[a]=255&e,e>>=8;return r+t}function b(e,t,r){for(var n=0,a=e.length;n<a;n++)r[t+n]=255&e.charCodeAt(n)}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XMLParserErrorCode=t.XMLParserBase=t.SimpleXMLParser=t.SimpleDOMNode=void 0,r(139);var n=r(149),a={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};function i(e,t){var r=e[t];return" "===r||"\n"===r||"\r"===r||"\t"===r}t.XMLParserErrorCode=a;var o=function(){function e(){M(this,e)}return P(e,[{key:"_resolveEntities",value:function(e){var t=this;return e.replaceAll(/&([^;]+);/g,(function(e,r){if("#x"===r.substring(0,2))return String.fromCodePoint(parseInt(r.substring(2),16));if("#"===r.substring(0,1))return String.fromCodePoint(parseInt(r.substring(1),10));switch(r){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return t.onResolveEntity(r)}))}},{key:"_parseContent",value:function(e,t){var r=[],n=t;function a(){for(;n<e.length&&i(e,n);)++n}for(;n<e.length&&!i(e,n)&&">"!==e[n]&&"/"!==e[n];)++n;var o=e.substring(t,n);for(a();n<e.length&&">"!==e[n]&&"/"!==e[n]&&"?"!==e[n];){a();for(var s,c="";n<e.length&&!i(e,n)&&"="!==e[n];)c+=e[n],++n;if(a(),"="!==e[n])return null;++n,a();var u=e[n];if('"'!==u&&"'"!==u)return null;var l=e.indexOf(u,++n);if(l<0)return null;s=e.substring(n,l),r.push({name:c,value:this._resolveEntities(s)}),n=l+1,a()}return{name:o,attributes:r,parsed:n-t}}},{key:"_parseProcessingInstruction",value:function(e,t){for(var r=t;r<e.length&&!i(e,r)&&">"!==e[r]&&"?"!==e[r]&&"/"!==e[r];)++r;var n=e.substring(t,r);!function(){for(;r<e.length&&i(e,r);)++r}();for(var a=r;r<e.length&&("?"!==e[r]||">"!==e[r+1]);)++r;return{name:n,value:e.substring(a,r),parsed:r-t}}},{key:"parseXml",value:function(e){for(var t=0;t<e.length;){var r=t;if("<"===e[t]){var n=void 0;switch(e[++r]){case"/":if(++r,(n=e.indexOf(">",r))<0)return void this.onError(a.UnterminatedElement);this.onEndElement(e.substring(r,n)),r=n+1;break;case"?":++r;var i=this._parseProcessingInstruction(e,r);if("?>"!==e.substring(r+i.parsed,r+i.parsed+2))return void this.onError(a.UnterminatedXmlDeclaration);this.onPi(i.name,i.value),r+=i.parsed+2;break;case"!":if("--"===e.substring(r+1,r+3)){if((n=e.indexOf("--\x3e",r+3))<0)return void this.onError(a.UnterminatedComment);this.onComment(e.substring(r+3,n)),r=n+3}else if("[CDATA["===e.substring(r+1,r+8)){if((n=e.indexOf("]]>",r+8))<0)return void this.onError(a.UnterminatedCdat);this.onCdata(e.substring(r+8,n)),r=n+3}else{if("DOCTYPE"!==e.substring(r+1,r+8))return void this.onError(a.MalformedElement);var o=e.indexOf("[",r+8),s=!1;if((n=e.indexOf(">",r+8))<0)return void this.onError(a.UnterminatedDoctypeDeclaration);if(o>0&&n>o){if((n=e.indexOf("]>",r+8))<0)return void this.onError(a.UnterminatedDoctypeDeclaration);s=!0}var c=e.substring(r+8,n+(s?1:0));this.onDoctype(c),r=n+(s?2:1)}break;default:var u=this._parseContent(e,r);if(null===u)return void this.onError(a.MalformedElement);var l=!1;if("/>"===e.substring(r+u.parsed,r+u.parsed+2))l=!0;else if(">"!==e.substring(r+u.parsed,r+u.parsed+1))return void this.onError(a.UnterminatedElement);this.onBeginElement(u.name,u.attributes,l),r+=u.parsed+(l?2:1)}}else{for(;r<e.length&&"<"!==e[r];)r++;var h=e.substring(t,r);this.onText(this._resolveEntities(h))}t=r}}},{key:"onResolveEntity",value:function(e){return"&".concat(e,";")}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,r){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}]),e}();t.XMLParserBase=o;var s=function(){function e(t,r){M(this,e),this.nodeName=t,this.nodeValue=r,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return P(e,[{key:"firstChild",get:function(){var e;return null===(e=this.childNodes)||void 0===e?void 0:e[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes;if(e){var t=e.indexOf(this);return-1!==t?e[t+1]:void 0}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(e){return e.textContent})).join(""):this.nodeValue||""}},{key:"children",get:function(){return this.childNodes||[]}},{key:"hasChildNodes",value:function(){var e;return(null===(e=this.childNodes)||void 0===e?void 0:e.length)>0}},{key:"searchNode",value:function(e,t){if(t>=e.length)return this;for(var r=e[t],n=[],a=this;;){var i;if(r.name===a.nodeName){if(0!==r.pos){if(0===n.length)return null;var o,s=0,c=x(S(n.pop(),1)[0].childNodes);try{for(c.s();!(o=c.n()).done;){var u=o.value;if(r.name===u.nodeName){if(s===r.pos)return u.searchNode(e,t+1);s++}}}catch(e){c.e(e)}finally{c.f()}return a.searchNode(e,t+1)}var l=a.searchNode(e,t+1);if(null!==l)return l}if((null===(i=a.childNodes)||void 0===i?void 0:i.length)>0)n.push([a,0]),a=a.childNodes[0];else{if(0===n.length)return null;for(;0!==n.length;){var h=S(n.pop(),2),f=h[0],d=h[1]+1;if(d<f.childNodes.length){n.push([f,d]),a=f.childNodes[d];break}}if(0===n.length)return null}}}},{key:"dump",value:function(e){if("#text"!==this.nodeName){if(e.push("<".concat(this.nodeName)),this.attributes){var t,r=x(this.attributes);try{for(r.s();!(t=r.n()).done;){var a=t.value;e.push(" ".concat(a.name,'="').concat((0,n.encodeToXmlString)(a.value),'"'))}}catch(e){r.e(e)}finally{r.f()}}if(this.hasChildNodes()){e.push(">");var i,o=x(this.childNodes);try{for(o.s();!(i=o.n()).done;)i.value.dump(e)}catch(e){o.e(e)}finally{o.f()}e.push("</".concat(this.nodeName,">"))}else this.nodeValue?e.push(">".concat((0,n.encodeToXmlString)(this.nodeValue),"</").concat(this.nodeName,">")):e.push("/>")}else e.push((0,n.encodeToXmlString)(this.nodeValue))}}]),e}();t.SimpleDOMNode=s,t.SimpleXMLParser=function(e){function t(e){var r;M(this,t);var n=e.hasAttributes,i=void 0!==n&&n,o=e.lowerCaseName,s=void 0!==o&&o;return(r=d(this,t))._currentFragment=null,r._stack=null,r._errorCode=a.NoError,r._hasAttributes=i,r._lowerCaseName=s,r}return y(t,e),P(t,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=a.NoError,this.parseXml(e),this._errorCode===a.NoError){var t=S(this._currentFragment,1)[0];return t?{documentElement:t}:void 0}}},{key:"onText",value:function(e){if(!function(e){for(var t=0,r=e.length;t<r;t++)if(!i(e,t))return!1;return!0}(e)){var t=new s("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new s("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,r){this._lowerCaseName&&(e=e.toLowerCase());var n=new s(e);n.childNodes=[],this._hasAttributes&&(n.attributes=t),this._currentFragment.push(n),r||(this._stack.push(this._currentFragment),this._currentFragment=n.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop()||[];var t=this._currentFragment.at(-1);if(!t)return null;var r,n=x(t.childNodes);try{for(n.s();!(r=n.n()).done;)r.value.parentNode=t}catch(e){n.e(e)}finally{n.f()}return t}},{key:"onError",value:function(e){this._errorCode=e}}]),t}(o)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.calculateSHA256=t.calculateMD5=t.PDF20=t.PDF17=t.CipherTransformFactory=t.ARCFourCipher=t.AES256Cipher=t.AES128Cipher=void 0,t.calculateSHA384=h,t.calculateSHA512=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(139);var n=r(144),a=r(150),i=r(219),o=function(){function e(t){M(this,e),this.a=0,this.b=0;for(var r=new Uint8Array(256),n=t.length,a=0;a<256;++a)r[a]=a;for(var i=0,o=0;i<256;++i){var s=r[i];o=o+s+t[i%n]&255,r[i]=r[o],r[o]=s}this.s=r}return P(e,[{key:"encryptBlock",value:function(e){for(var t=this.a,r=this.b,n=this.s,a=e.length,i=new Uint8Array(a),o=0;o<a;++o){var s=n[t=t+1&255],c=n[r=r+s&255];n[t]=c,n[r]=s,i[o]=e[o]^n[s+c&255]}return this.a=t,this.b=r,i}},{key:"decryptBlock",value:function(e){return this.encryptBlock(e)}},{key:"encrypt",value:function(e){return this.encryptBlock(e)}}]),e}();t.ARCFourCipher=o;var s=function(){var e=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]),t=new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]);return function(r,n,a){var i,o,s=1732584193,c=-271733879,u=-1732584194,l=271733878,h=a+72&-64,f=new Uint8Array(h);for(i=0;i<a;++i)f[i]=r[n++];f[i++]=128;for(var d=h-8;i<d;)f[i++]=0;f[i++]=a<<3&255,f[i++]=a>>5&255,f[i++]=a>>13&255,f[i++]=a>>21&255,f[i++]=a>>>29&255,f[i++]=0,f[i++]=0,f[i++]=0;var p=new Int32Array(16);for(i=0;i<h;){for(o=0;o<16;++o,i+=4)p[o]=f[i]|f[i+1]<<8|f[i+2]<<16|f[i+3]<<24;var g=void 0,v=void 0,m=s,y=c,b=u,w=l;for(o=0;o<64;++o){o<16?(g=y&b|~y&w,v=o):o<32?(g=w&y|~w&b,v=5*o+1&15):o<48?(g=y^b^w,v=3*o+5&15):(g=b^(y|~w),v=7*o&15);var k=w,x=m+g+t[o]+p[v]|0,S=e[o];w=b,b=y,y=y+(x<<S|x>>>32-S)|0,m=k}s=s+m|0,c=c+y|0,u=u+b|0,l=l+w|0}return new Uint8Array([255&s,s>>8&255,s>>16&255,s>>>24&255,255&c,c>>8&255,c>>16&255,c>>>24&255,255&u,u>>8&255,u>>16&255,u>>>24&255,255&l,l>>8&255,l>>16&255,l>>>24&255])}}();t.calculateMD5=s;var c=function(){function e(t,r){M(this,e),this.high=0|t,this.low=0|r}return P(e,[{key:"and",value:function(e){this.high&=e.high,this.low&=e.low}},{key:"xor",value:function(e){this.high^=e.high,this.low^=e.low}},{key:"or",value:function(e){this.high|=e.high,this.low|=e.low}},{key:"shiftRight",value:function(e){e>=32?(this.low=this.high>>>e-32|0,this.high=0):(this.low=this.low>>>e|this.high<<32-e,this.high=this.high>>>e|0)}},{key:"shiftLeft",value:function(e){e>=32?(this.high=this.low<<e-32,this.low=0):(this.high=this.high<<e|this.low>>>32-e,this.low<<=e)}},{key:"rotateRight",value:function(e){var t,r;32&e?(r=this.low,t=this.high):(t=this.low,r=this.high),e&=31,this.low=t>>>e|r<<32-e,this.high=r>>>e|t<<32-e}},{key:"not",value:function(){this.high=~this.high,this.low=~this.low}},{key:"add",value:function(e){var t=(this.low>>>0)+(e.low>>>0),r=(this.high>>>0)+(e.high>>>0);t>4294967295&&(r+=1),this.low=0|t,this.high=0|r}},{key:"copyTo",value:function(e,t){e[t]=this.high>>>24&255,e[t+1]=this.high>>16&255,e[t+2]=this.high>>8&255,e[t+3]=255&this.high,e[t+4]=this.low>>>24&255,e[t+5]=this.low>>16&255,e[t+6]=this.low>>8&255,e[t+7]=255&this.low}},{key:"assign",value:function(e){this.high=e.high,this.low=e.low}}]),e}(),u=function(){function e(e,t){return e>>>t|e<<32-t}function t(e,t,r){return e&t^~e&r}function r(e,t,r){return e&t^e&r^t&r}function n(t){return e(t,2)^e(t,13)^e(t,22)}function a(t){return e(t,6)^e(t,11)^e(t,25)}function i(t){return e(t,7)^e(t,18)^t>>>3}var o=[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(s,c,u){var l,h,f=1779033703,d=3144134277,p=1013904242,g=2773480762,v=1359893119,m=2600822924,y=528734635,b=1541459225,w=64*Math.ceil((u+9)/64),k=new Uint8Array(w);for(l=0;l<u;++l)k[l]=s[c++];k[l++]=128;for(var x=w-8;l<x;)k[l++]=0;k[l++]=0,k[l++]=0,k[l++]=0,k[l++]=u>>>29&255,k[l++]=u>>21&255,k[l++]=u>>13&255,k[l++]=u>>5&255,k[l++]=u<<3&255;var S,A=new Uint32Array(64);for(l=0;l<w;){for(h=0;h<16;++h)A[h]=k[l]<<24|k[l+1]<<16|k[l+2]<<8|k[l+3],l+=4;for(h=16;h<64;++h)A[h]=(e(S=A[h-2],17)^e(S,19)^S>>>10)+A[h-7]+i(A[h-15])+A[h-16]|0;var C=void 0,O=void 0,F=f,I=d,T=p,M=g,E=v,P=m,R=y,N=b;for(h=0;h<64;++h)C=N+a(E)+t(E,P,R)+o[h]+A[h],O=n(F)+r(F,I,T),N=R,R=P,P=E,E=M+C|0,M=T,T=I,I=F,F=C+O|0;f=f+F|0,d=d+I|0,p=p+T|0,g=g+M|0,v=v+E|0,m=m+P|0,y=y+R|0,b=b+N|0}return new Uint8Array([f>>24&255,f>>16&255,f>>8&255,255&f,d>>24&255,d>>16&255,d>>8&255,255&d,p>>24&255,p>>16&255,p>>8&255,255&p,g>>24&255,g>>16&255,g>>8&255,255&g,v>>24&255,v>>16&255,v>>8&255,255&v,m>>24&255,m>>16&255,m>>8&255,255&m,y>>24&255,y>>16&255,y>>8&255,255&y,b>>24&255,b>>16&255,b>>8&255,255&b])}}();t.calculateSHA256=u;var l=function(){function e(e,t,r,n,a){e.assign(t),e.and(r),a.assign(t),a.not(),a.and(n),e.xor(a)}function t(e,t,r,n,a){e.assign(t),e.and(r),a.assign(t),a.and(n),e.xor(a),a.assign(r),a.and(n),e.xor(a)}function r(e,t,r){e.assign(t),e.rotateRight(28),r.assign(t),r.rotateRight(34),e.xor(r),r.assign(t),r.rotateRight(39),e.xor(r)}function n(e,t,r){e.assign(t),e.rotateRight(14),r.assign(t),r.rotateRight(18),e.xor(r),r.assign(t),r.rotateRight(41),e.xor(r)}function a(e,t,r){e.assign(t),e.rotateRight(1),r.assign(t),r.rotateRight(8),e.xor(r),r.assign(t),r.shiftRight(7),e.xor(r)}function i(e,t,r){e.assign(t),e.rotateRight(19),r.assign(t),r.rotateRight(61),e.xor(r),r.assign(t),r.shiftRight(6),e.xor(r)}var o=[new c(1116352408,3609767458),new c(1899447441,602891725),new c(3049323471,3964484399),new c(3921009573,2173295548),new c(961987163,4081628472),new c(1508970993,3053834265),new c(2453635748,2937671579),new c(2870763221,3664609560),new c(3624381080,2734883394),new c(310598401,1164996542),new c(607225278,1323610764),new c(1426881987,3590304994),new c(1925078388,4068182383),new c(2162078206,991336113),new c(2614888103,633803317),new c(3248222580,3479774868),new c(3835390401,2666613458),new c(4022224774,944711139),new c(264347078,2341262773),new c(604807628,2007800933),new c(770255983,1495990901),new c(1249150122,1856431235),new c(1555081692,3175218132),new c(1996064986,2198950837),new c(2554220882,3999719339),new c(2821834349,766784016),new c(2952996808,2566594879),new c(3210313671,3203337956),new c(3336571891,1034457026),new c(3584528711,2466948901),new c(113926993,3758326383),new c(338241895,168717936),new c(666307205,1188179964),new c(773529912,1546045734),new c(1294757372,1522805485),new c(1396182291,2643833823),new c(1695183700,2343527390),new c(1986661051,1014477480),new c(2177026350,1206759142),new c(2456956037,344077627),new c(2730485921,1290863460),new c(2820302411,3158454273),new c(3259730800,3505952657),new c(3345764771,106217008),new c(3516065817,3606008344),new c(3600352804,1432725776),new c(4094571909,1467031594),new c(275423344,851169720),new c(430227734,3100823752),new c(506948616,1363258195),new c(659060556,3750685593),new c(883997877,3785050280),new c(958139571,3318307427),new c(1322822218,3812723403),new c(1537002063,2003034995),new c(1747873779,3602036899),new c(1955562222,1575990012),new c(2024104815,1125592928),new c(2227730452,2716904306),new c(2361852424,442776044),new c(2428436474,593698344),new c(2756734187,3733110249),new c(3204031479,2999351573),new c(3329325298,3815920427),new c(3391569614,3928383900),new c(3515267271,566280711),new c(3940187606,3454069534),new c(4118630271,4000239992),new c(116418474,1914138554),new c(174292421,2731055270),new c(289380356,3203993006),new c(460393269,320620315),new c(685471733,587496836),new c(852142971,1086792851),new c(1017036298,365543100),new c(1126000580,2618297676),new c(1288033470,3409855158),new c(1501505948,4234509866),new c(1607167915,987167468),new c(1816402316,1246189591)];return function(s,u,l){var h,f,d,p,g,v,m,y,b=arguments.length>3&&void 0!==arguments[3]&&arguments[3];b?(h=new c(3418070365,3238371032),f=new c(1654270250,914150663),d=new c(2438529370,812702999),p=new c(355462360,4144912697),g=new c(1731405415,4290775857),v=new c(2394180231,1750603025),m=new c(3675008525,1694076839),y=new c(1203062813,3204075428)):(h=new c(1779033703,4089235720),f=new c(3144134277,2227873595),d=new c(1013904242,4271175723),p=new c(2773480762,1595750129),g=new c(1359893119,2917565137),v=new c(2600822924,725511199),m=new c(528734635,4215389547),y=new c(1541459225,327033209));var w,k,x=128*Math.ceil((l+17)/128),S=new Uint8Array(x);for(w=0;w<l;++w)S[w]=s[u++];S[w++]=128;for(var A=x-16;w<A;)S[w++]=0;S[w++]=0,S[w++]=0,S[w++]=0,S[w++]=0,S[w++]=0,S[w++]=0,S[w++]=0,S[w++]=0,S[w++]=0,S[w++]=0,S[w++]=0,S[w++]=l>>>29&255,S[w++]=l>>21&255,S[w++]=l>>13&255,S[w++]=l>>5&255,S[w++]=l<<3&255;var C=new Array(80);for(w=0;w<80;w++)C[w]=new c(0,0);var O,F,I=new c(0,0),T=new c(0,0),M=new c(0,0),E=new c(0,0),P=new c(0,0),R=new c(0,0),N=new c(0,0),D=new c(0,0),B=new c(0,0),L=new c(0,0),_=new c(0,0),j=new c(0,0);for(w=0;w<x;){for(k=0;k<16;++k)C[k].high=S[w]<<24|S[w+1]<<16|S[w+2]<<8|S[w+3],C[k].low=S[w+4]<<24|S[w+5]<<16|S[w+6]<<8|S[w+7],w+=8;for(k=16;k<80;++k)i(O=C[k],C[k-2],j),O.add(C[k-7]),a(_,C[k-15],j),O.add(_),O.add(C[k-16]);for(I.assign(h),T.assign(f),M.assign(d),E.assign(p),P.assign(g),R.assign(v),N.assign(m),D.assign(y),k=0;k<80;++k)B.assign(D),n(_,P,j),B.add(_),e(_,P,R,N,j),B.add(_),B.add(o[k]),B.add(C[k]),r(L,I,j),t(_,I,T,M,j),L.add(_),O=D,D=N,N=R,R=P,E.add(B),P=E,E=M,M=T,T=I,O.assign(B),O.add(L),I=O;h.add(I),f.add(T),d.add(M),p.add(E),g.add(P),v.add(R),m.add(N),y.add(D)}return b?(F=new Uint8Array(48),h.copyTo(F,0),f.copyTo(F,8),d.copyTo(F,16),p.copyTo(F,24),g.copyTo(F,32),v.copyTo(F,40)):(F=new Uint8Array(64),h.copyTo(F,0),f.copyTo(F,8),d.copyTo(F,16),p.copyTo(F,24),g.copyTo(F,32),v.copyTo(F,40),m.copyTo(F,48),y.copyTo(F,56)),F}}();function h(e,t,r){return l(e,t,r,!0)}t.calculateSHA512=l;var f=function(){function e(){M(this,e)}return P(e,[{key:"decryptBlock",value:function(e){return e}},{key:"encrypt",value:function(e){return e}}]),e}(),p=function(){function e(){M(this,e),this.constructor===e&&(0,n.unreachable)("Cannot initialize AESBaseCipher."),this._s=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),this._inv_s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]),this._mix=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]),this._mixCol=new Uint8Array(256);for(var t=0;t<256;t++)this._mixCol[t]=t<128?t<<1:t<<1^27;this.buffer=new Uint8Array(16),this.bufferPosition=0}return P(e,[{key:"_expandKey",value:function(e){(0,n.unreachable)("Cannot call `_expandKey` on the base class")}},{key:"_decrypt",value:function(e,t){var r,n,a,i=new Uint8Array(16);i.set(e);for(var o=0,s=this._keySize;o<16;++o,++s)i[o]^=t[s];for(var c=this._cyclesOfRepetition-1;c>=1;--c){r=i[13],i[13]=i[9],i[9]=i[5],i[5]=i[1],i[1]=r,r=i[14],n=i[10],i[14]=i[6],i[10]=i[2],i[6]=r,i[2]=n,r=i[15],n=i[11],a=i[7],i[15]=i[3],i[11]=r,i[7]=n,i[3]=a;for(var u=0;u<16;++u)i[u]=this._inv_s[i[u]];for(var l=0,h=16*c;l<16;++l,++h)i[l]^=t[h];for(var f=0;f<16;f+=4){var d=this._mix[i[f]],p=this._mix[i[f+1]],g=this._mix[i[f+2]],v=this._mix[i[f+3]];r=d^p>>>8^p<<24^g>>>16^g<<16^v>>>24^v<<8,i[f]=r>>>24&255,i[f+1]=r>>16&255,i[f+2]=r>>8&255,i[f+3]=255&r}}r=i[13],i[13]=i[9],i[9]=i[5],i[5]=i[1],i[1]=r,r=i[14],n=i[10],i[14]=i[6],i[10]=i[2],i[6]=r,i[2]=n,r=i[15],n=i[11],a=i[7],i[15]=i[3],i[11]=r,i[7]=n,i[3]=a;for(var m=0;m<16;++m)i[m]=this._inv_s[i[m]],i[m]^=t[m];return i}},{key:"_encrypt",value:function(e,t){var r,n,a,i=this._s,o=new Uint8Array(16);o.set(e);for(var s=0;s<16;++s)o[s]^=t[s];for(var c=1;c<this._cyclesOfRepetition;c++){for(var u=0;u<16;++u)o[u]=i[o[u]];a=o[1],o[1]=o[5],o[5]=o[9],o[9]=o[13],o[13]=a,a=o[2],n=o[6],o[2]=o[10],o[6]=o[14],o[10]=a,o[14]=n,a=o[3],n=o[7],r=o[11],o[3]=o[15],o[7]=a,o[11]=n,o[15]=r;for(var l=0;l<16;l+=4){var h=o[l+0],f=o[l+1],d=o[l+2],p=o[l+3];r=h^f^d^p,o[l+0]^=r^this._mixCol[h^f],o[l+1]^=r^this._mixCol[f^d],o[l+2]^=r^this._mixCol[d^p],o[l+3]^=r^this._mixCol[p^h]}for(var g=0,v=16*c;g<16;++g,++v)o[g]^=t[v]}for(var m=0;m<16;++m)o[m]=i[o[m]];a=o[1],o[1]=o[5],o[5]=o[9],o[9]=o[13],o[13]=a,a=o[2],n=o[6],o[2]=o[10],o[6]=o[14],o[10]=a,o[14]=n,a=o[3],n=o[7],r=o[11],o[3]=o[15],o[7]=a,o[11]=n,o[15]=r;for(var y=0,b=this._keySize;y<16;++y,++b)o[y]^=t[b];return o}},{key:"_decryptBlock2",value:function(e,t){for(var r=e.length,n=this.buffer,a=this.bufferPosition,i=[],o=this.iv,s=0;s<r;++s)if(n[a]=e[s],!(++a<16)){for(var c=this._decrypt(n,this._key),u=0;u<16;++u)c[u]^=o[u];o=n,i.push(c),n=new Uint8Array(16),a=0}if(this.buffer=n,this.bufferLength=a,this.iv=o,0===i.length)return new Uint8Array(0);var l=16*i.length;if(t){var h=i.at(-1),f=h[15];if(f<=16){for(var d=15,p=16-f;d>=p;--d)if(h[d]!==f){f=0;break}l-=f,i[i.length-1]=h.subarray(0,16-f)}}for(var g=new Uint8Array(l),v=0,m=0,y=i.length;v<y;++v,m+=16)g.set(i[v],m);return g}},{key:"decryptBlock",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=e.length,a=this.buffer,i=this.bufferPosition;if(r)this.iv=r;else{for(var o=0;i<16&&o<n;++o,++i)a[i]=e[o];if(i<16)return this.bufferLength=i,new Uint8Array(0);this.iv=a,e=e.subarray(16)}return this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=this._decryptBlock2,this.decryptBlock(e,t)}},{key:"encrypt",value:function(e,t){var r=e.length,n=this.buffer,a=this.bufferPosition,i=[];t||(t=new Uint8Array(16));for(var o=0;o<r;++o)if(n[a]=e[o],!(++a<16)){for(var s=0;s<16;++s)n[s]^=t[s];var c=this._encrypt(n,this._key);t=c,i.push(c),n=new Uint8Array(16),a=0}if(this.buffer=n,this.bufferLength=a,this.iv=t,0===i.length)return new Uint8Array(0);for(var u=16*i.length,l=new Uint8Array(u),h=0,f=0,d=i.length;h<d;++h,f+=16)l.set(i[h],f);return l}}]),e}(),g=function(e){function t(e){var r;return M(this,t),(r=d(this,t))._cyclesOfRepetition=10,r._keySize=160,r._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]),r._key=r._expandKey(e),r}return y(t,e),P(t,[{key:"_expandKey",value:function(e){var t=this._s,r=this._rcon,n=new Uint8Array(176);n.set(e);for(var a=16,i=1;a<176;++i){var o=n[a-3],s=n[a-2],c=n[a-1],u=n[a-4];o=t[o],s=t[s],c=t[c],u=t[u],o^=r[i];for(var l=0;l<4;++l)n[a]=o^=n[a-16],n[++a]=s^=n[a-16],n[++a]=c^=n[a-16],n[++a]=u^=n[a-16],a++}return n}}]),t}(p);t.AES128Cipher=g;var v=function(e){function t(e){var r;return M(this,t),(r=d(this,t))._cyclesOfRepetition=14,r._keySize=224,r._key=r._expandKey(e),r}return y(t,e),P(t,[{key:"_expandKey",value:function(e){var t=this._s,r=new Uint8Array(240);r.set(e);for(var n,a,i,o,s=1,c=32,u=1;c<240;++u){c%32==16?(n=t[n],a=t[a],i=t[i],o=t[o]):c%32==0&&(n=r[c-3],a=r[c-2],i=r[c-1],o=r[c-4],n=t[n],a=t[a],i=t[i],o=t[o],n^=s,(s<<=1)>=256&&(s=255&(27^s)));for(var l=0;l<4;++l)r[c]=n^=r[c-32],r[++c]=a^=r[c-32],r[++c]=i^=r[c-32],r[++c]=o^=r[c-32],c++}return r}}]),t}(p);t.AES256Cipher=v;var m=function(){function e(){M(this,e)}return P(e,[{key:"checkOwnerPassword",value:function(e,t,r,a){var i=new Uint8Array(e.length+56);i.set(e,0),i.set(t,e.length),i.set(r,e.length+t.length);var o=u(i,0,i.length);return(0,n.isArrayEqual)(o,a)}},{key:"checkUserPassword",value:function(e,t,r){var a=new Uint8Array(e.length+8);a.set(e,0),a.set(t,e.length);var i=u(a,0,a.length);return(0,n.isArrayEqual)(i,r)}},{key:"getOwnerKey",value:function(e,t,r,n){var a=new Uint8Array(e.length+56);a.set(e,0),a.set(t,e.length),a.set(r,e.length+t.length);var i=u(a,0,a.length);return new v(i).decryptBlock(n,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(e,t,r){var n=new Uint8Array(e.length+8);n.set(e,0),n.set(t,e.length);var a=u(n,0,n.length);return new v(a).decryptBlock(r,!1,new Uint8Array(16))}}]),e}();t.PDF17=m;var b=function(){function e(){M(this,e)}return P(e,[{key:"_hash",value:function(e,t,r){for(var n=u(t,0,t.length).subarray(0,32),a=[0],i=0;i<64||a.at(-1)>i-32;){var o=e.length+n.length+r.length,s=new Uint8Array(o),c=0;s.set(e,c),c+=e.length,s.set(n,c),c+=n.length,s.set(r,c);for(var f=new Uint8Array(64*o),d=0,p=0;d<64;d++,p+=o)f.set(s,p);var v=(a=new g(n.subarray(0,16)).encrypt(f,n.subarray(16,32))).slice(0,16).reduce((function(e,t){return e+t}),0)%3;0===v?n=u(a,0,a.length):1===v?n=h(a,0,a.length):2===v&&(n=l(a,0,a.length)),i++}return n.subarray(0,32)}},{key:"checkOwnerPassword",value:function(e,t,r,a){var i=new Uint8Array(e.length+56);i.set(e,0),i.set(t,e.length),i.set(r,e.length+t.length);var o=this._hash(e,i,r);return(0,n.isArrayEqual)(o,a)}},{key:"checkUserPassword",value:function(e,t,r){var a=new Uint8Array(e.length+8);a.set(e,0),a.set(t,e.length);var i=this._hash(e,a,[]);return(0,n.isArrayEqual)(i,r)}},{key:"getOwnerKey",value:function(e,t,r,n){var a=new Uint8Array(e.length+56);a.set(e,0),a.set(t,e.length),a.set(r,e.length+t.length);var i=this._hash(e,a,r);return new v(i).decryptBlock(n,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(e,t,r){var n=new Uint8Array(e.length+8);n.set(e,0),n.set(t,e.length);var a=this._hash(e,n,[]);return new v(a).decryptBlock(r,!1,new Uint8Array(16))}}]),e}();t.PDF20=b;var w=function(){function e(t,r){M(this,e),this.StringCipherConstructor=t,this.StreamCipherConstructor=r}return P(e,[{key:"createStream",value:function(e,t){var r=new this.StreamCipherConstructor;return new i.DecryptStream(e,t,(function(e,t){return r.decryptBlock(e,t)}))}},{key:"decryptString",value:function(e){var t=new this.StringCipherConstructor,r=(0,n.stringToBytes)(e);return r=t.decryptBlock(r,!0),(0,n.bytesToString)(r)}},{key:"encryptString",value:function(e){var t=new this.StringCipherConstructor;if(t instanceof p){var r=16-e.length%16;e+=String.fromCharCode(r).repeat(r);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 o=(0,n.stringToBytes)(e);o=t.encrypt(o,a);var s=new Uint8Array(16+o.length);return s.set(a),s.set(o,16),(0,n.bytesToString)(s)}var c=(0,n.stringToBytes)(e);return c=t.encrypt(c),(0,n.bytesToString)(c)}}]),e}(),k=function(){var e=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 t(t,r,n,a,i,c,u,l){var h,f,d=40+n.length+t.length,p=new Uint8Array(d),g=0;if(r)for(f=Math.min(32,r.length);g<f;++g)p[g]=r[g];for(h=0;g<32;)p[g++]=e[h++];for(h=0,f=n.length;h<f;++h)p[g++]=n[h];for(p[g++]=255&i,p[g++]=i>>8&255,p[g++]=i>>16&255,p[g++]=i>>>24&255,h=0,f=t.length;h<f;++h)p[g++]=t[h];c>=4&&!l&&(p[g++]=255,p[g++]=255,p[g++]=255,p[g++]=255);var v=s(p,0,g),m=u>>3;if(c>=3)for(h=0;h<50;++h)v=s(v,0,m);var y,b=v.subarray(0,m);if(c>=3){for(g=0;g<32;++g)p[g]=e[g];for(h=0,f=t.length;h<f;++h)p[g++]=t[h];y=new o(b).encryptBlock(s(p,0,g)),f=b.length;var w=new Uint8Array(f);for(h=1;h<=19;++h){for(var k=0;k<f;++k)w[k]=b[k]^h;y=new o(w).encryptBlock(y)}for(h=0,f=y.length;h<f;++h)if(a[h]!==y[h])return null}else for(h=0,f=(y=new o(b).encryptBlock(e)).length;h<f;++h)if(a[h]!==y[h])return null;return b}var r=a.Name.get("Identity");function i(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=new Uint8Array(r.length+9),o=r.length;for(n=0;n<o;++n)i[n]=r[n];return i[n++]=255&e,i[n++]=e>>8&255,i[n++]=e>>16&255,i[n++]=255&t,i[n++]=t>>8&255,a&&(i[n++]=115,i[n++]=65,i[n++]=108,i[n++]=84),s(i,0,n).subarray(0,Math.min(r.length+5,16))}function c(e,t,r,s,c){if(!(t instanceof a.Name))throw new n.FormatError("Invalid crypt filter name.");var u,l=e.get(t.name);if(null!=l&&(u=l.get("CFM")),!u||"None"===u.name)return function(){return new f};if("V2"===u.name)return function(){return new o(i(r,s,c,!1))};if("AESV2"===u.name)return function(){return new g(i(r,s,c,!0))};if("AESV3"===u.name)return function(){return new v(c)};throw new n.FormatError("Unknown crypto method")}return function(){function u(i,c,l){M(this,u);var h=i.get("Filter");if(!(0,a.isName)(h,"Standard"))throw new n.FormatError("unknown encryption method");this.filterName=h.name,this.dict=i;var f=i.get("V");if(!Number.isInteger(f)||1!==f&&2!==f&&4!==f&&5!==f)throw new n.FormatError("unsupported encryption algorithm");this.algorithm=f;var d=i.get("Length");if(!d)if(f<=3)d=40;else{var p=i.get("CF"),g=i.get("StmF");if(p instanceof a.Dict&&g instanceof a.Name){p.suppressEncryption=!0;var v=p.get(g.name);(d=(null==v?void 0:v.get("Length"))||128)<40&&(d<<=3)}}if(!Number.isInteger(d)||d<40||d%8!=0)throw new n.FormatError("invalid key length");var y=(0,n.stringToBytes)(i.get("O")),w=(0,n.stringToBytes)(i.get("U")),k=y.subarray(0,32),x=w.subarray(0,32),S=i.get("P"),A=i.get("R"),C=(4===f||5===f)&&!1!==i.get("EncryptMetadata");this.encryptMetadata=C;var O,F,I=(0,n.stringToBytes)(c);if(l){if(6===A)try{l=(0,n.utf8StringToString)(l)}catch(e){(0,n.warn)("CipherTransformFactory: Unable to convert UTF8 encoded password.")}O=(0,n.stringToBytes)(l)}if(5!==f)F=t(I,O,k,x,S,A,d,C);else{var T=y.subarray(32,40),E=y.subarray(40,48),P=w.subarray(0,48),R=w.subarray(32,40),N=w.subarray(40,48),D=(0,n.stringToBytes)(i.get("OE")),B=(0,n.stringToBytes)(i.get("UE"));(0,n.stringToBytes)(i.get("Perms")),F=function(e,t,r,n,a,i,o,s,c,u,l,h){if(t){var f=Math.min(127,t.length);t=t.subarray(0,f)}else t=[];var d=6===e?new b:new m;return d.checkUserPassword(t,s,o)?d.getUserKey(t,c,l):t.length&&d.checkOwnerPassword(t,n,i,r)?d.getOwnerKey(t,a,i,u):null}(A,O,k,T,E,P,x,R,N,D,B)}if(!F&&!l)throw new n.PasswordException("No password given",n.PasswordResponses.NEED_PASSWORD);if(!F&&l){var L=function(t,r,n,a){for(var i=new Uint8Array(32),c=0,u=Math.min(32,t.length);c<u;++c)i[c]=t[c];for(var l=0;c<32;)i[c++]=e[l++];var h,f=s(i,0,c),d=a>>3;if(n>=3)for(l=0;l<50;++l)f=s(f,0,f.length);if(n>=3){h=r;var p=new Uint8Array(d);for(l=19;l>=0;l--){for(var g=0;g<d;++g)p[g]=f[g]^l;h=new o(p).encryptBlock(h)}}else h=new o(f.subarray(0,d)).encryptBlock(r);return h}(O,k,A,d);F=t(I,L,k,x,S,A,d,C)}if(!F)throw new n.PasswordException("Incorrect Password",n.PasswordResponses.INCORRECT_PASSWORD);if(this.encryptionKey=F,f>=4){var _=i.get("CF");_ instanceof a.Dict&&(_.suppressEncryption=!0),this.cf=_,this.stmf=i.get("StmF")||r,this.strf=i.get("StrF")||r,this.eff=i.get("EFF")||this.stmf}}return P(u,[{key:"createCipherTransform",value:function(e,t){if(4===this.algorithm||5===this.algorithm)return new w(c(this.cf,this.strf,e,t,this.encryptionKey),c(this.cf,this.stmf,e,t,this.encryptionKey));var r=i(e,t,this.encryptionKey,!1),n=function(){return new o(r)};return new w(n,n)}}]),u}()}();t.CipherTransformFactory=k},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.DecryptStream=void 0;var n=function(e){function t(e,r,n){var a;return M(this,t),(a=d(this,t,[r])).str=e,a.dict=e.dict,a.decrypt=n,a.nextChunk=null,a.initialized=!1,a}return y(t,e),P(t,[{key:"readBlock",value:function(){var e,t;if(this.initialized?t=this.nextChunk:(t=this.str.getBytes(512),this.initialized=!0),t&&0!==t.length){this.nextChunk=this.str.getBytes(512);var r=(null===(e=this.nextChunk)||void 0===e?void 0:e.length)>0;t=(0,this.decrypt)(t,!r);var n=this.bufferLength,a=n+t.length;this.ensureBuffer(a).set(t,n),this.bufferLength=a}else this.eof=!0}}]),t}(r(168).DecodeStream);t.DecryptStream=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Catalog=void 0,r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(139),r(2);var n=r(149),a=r(144),i=r(150),o=r(221),s=r(151),c=r(222),u=r(162),l=r(223),h=r(209),d=r(224),p=r(225);function g(e){return e instanceof i.Dict&&(e=e.get("D")),Array.isArray(e)?e:null}var v=function(){function e(t,r){if(M(this,e),this.pdfManager=t,this.xref=r,this._catDict=r.getCatalogObj(),!(this._catDict instanceof i.Dict))throw new a.FormatError("Catalog object is not a dictionary.");this.toplevelPagesDict,this._actualNumPages=null,this.fontCache=new i.RefSetCache,this.builtInCMapCache=new Map,this.standardFontDataCache=new Map,this.globalImageCache=new h.GlobalImageCache,this.pageKidsCountCache=new i.RefSetCache,this.pageIndexCache=new i.RefSetCache,this.nonBlendModesSet=new i.RefSet,this.systemFontCache=new Map}var t,r,v,m;return P(e,[{key:"version",get:function(){var e=this._catDict.get("Version");if(e instanceof i.Name){if(n.PDF_VERSION_REGEXP.test(e.name))return(0,a.shadow)(this,"version",e.name);(0,a.warn)("Invalid PDF catalog version: ".concat(e.name))}return(0,a.shadow)(this,"version",null)}},{key:"lang",get:function(){var e=this._catDict.get("Lang");return(0,a.shadow)(this,"lang","string"==typeof e?(0,a.stringToPDFString)(e):null)}},{key:"needsRendering",get:function(){var e=this._catDict.get("NeedsRendering");return(0,a.shadow)(this,"needsRendering","boolean"==typeof e&&e)}},{key:"collection",get:function(){var e=null;try{var t=this._catDict.get("Collection");t instanceof i.Dict&&t.size>0&&(e=t)}catch(e){if(e instanceof n.MissingDataException)throw e;(0,a.info)("Cannot fetch Collection entry; assuming no collection is present.")}return(0,a.shadow)(this,"collection",e)}},{key:"acroForm",get:function(){var e=null;try{var t=this._catDict.get("AcroForm");t instanceof i.Dict&&t.size>0&&(e=t)}catch(e){if(e instanceof n.MissingDataException)throw e;(0,a.info)("Cannot fetch AcroForm entry; assuming no forms are present.")}return(0,a.shadow)(this,"acroForm",e)}},{key:"acroFormRef",get:function(){var e=this._catDict.getRaw("AcroForm");return(0,a.shadow)(this,"acroFormRef",e instanceof i.Ref?e:null)}},{key:"metadata",get:function(){var e=this._catDict.getRaw("Metadata");if(!(e instanceof i.Ref))return(0,a.shadow)(this,"metadata",null);var t=null;try{var r,o=this.xref.fetch(e,!(null!==(r=this.xref.encrypt)&&void 0!==r&&r.encryptMetadata));if(o instanceof s.BaseStream&&o.dict instanceof i.Dict){var c=o.dict.get("Type"),u=o.dict.get("Subtype");if((0,i.isName)(c,"Metadata")&&(0,i.isName)(u,"XML")){var l=(0,a.stringToUTF8String)(o.getString());l&&(t=new d.MetadataParser(l).serializable)}}}catch(e){if(e instanceof n.MissingDataException)throw e;(0,a.info)('Skipping invalid Metadata: "'.concat(e,'".'))}return(0,a.shadow)(this,"metadata",t)}},{key:"markInfo",get:function(){var e=null;try{e=this._readMarkInfo()}catch(e){if(e instanceof n.MissingDataException)throw e;(0,a.warn)("Unable to read mark info.")}return(0,a.shadow)(this,"markInfo",e)}},{key:"_readMarkInfo",value:function(){var e=this._catDict.get("MarkInfo");if(!(e instanceof i.Dict))return null;var t={Marked:!1,UserProperties:!1,Suspects:!1};for(var r in t){var n=e.get(r);"boolean"==typeof n&&(t[r]=n)}return t}},{key:"structTreeRoot",get:function(){var e=null;try{e=this._readStructTreeRoot()}catch(e){if(e instanceof n.MissingDataException)throw e;(0,a.warn)("Unable read to structTreeRoot info.")}return(0,a.shadow)(this,"structTreeRoot",e)}},{key:"_readStructTreeRoot",value:function(){var e=this._catDict.get("StructTreeRoot");if(!(e instanceof i.Dict))return null;var t=new p.StructTreeRoot(e);return t.init(),t}},{key:"toplevelPagesDict",get:function(){var e=this._catDict.get("Pages");if(!(e instanceof i.Dict))throw new a.FormatError("Invalid top-level pages dictionary.");return(0,a.shadow)(this,"toplevelPagesDict",e)}},{key:"documentOutline",get:function(){var e=null;try{e=this._readDocumentOutline()}catch(e){if(e instanceof n.MissingDataException)throw e;(0,a.warn)("Unable to read document outline.")}return(0,a.shadow)(this,"documentOutline",e)}},{key:"_readDocumentOutline",value:function(){var t=this._catDict.get("Outlines");if(!(t instanceof i.Dict))return null;if(!((t=t.getRaw("First"))instanceof i.Ref))return null;var r={items:[]},n=[{obj:t,parent:r}],o=new i.RefSet;o.put(t);for(var s=this.xref,c=new Uint8ClampedArray(3);n.length>0;){var l=n.shift(),h=s.fetchIfRef(l.obj);if(null!==h){if(!h.has("Title"))throw new a.FormatError("Invalid outline item encountered.");var f={url:null,dest:null,action:null};e.parseDestDictionary({destDict:h,resultObj:f,docBaseUrl:this.pdfManager.docBaseUrl,docAttachments:this.attachments});var d=h.get("Title"),p=h.get("F")||0,g=h.getArray("C"),v=h.get("Count"),m=c;!Array.isArray(g)||3!==g.length||0===g[0]&&0===g[1]&&0===g[2]||(m=u.ColorSpace.singletons.rgb.getRgb(g,0));var y={action:f.action,attachment:f.attachment,dest:f.dest,url:f.url,unsafeUrl:f.unsafeUrl,newWindow:f.newWindow,setOCGState:f.setOCGState,title:(0,a.stringToPDFString)(d),color:m,count:Number.isInteger(v)?v:void 0,bold:!!(2&p),italic:!!(1&p),items:[]};l.parent.items.push(y),(t=h.getRaw("First"))instanceof i.Ref&&!o.has(t)&&(n.push({obj:t,parent:y}),o.put(t)),(t=h.getRaw("Next"))instanceof i.Ref&&!o.has(t)&&(n.push({obj:t,parent:l.parent}),o.put(t))}}return r.items.length>0?r.items:null}},{key:"permissions",get:function(){var e=null;try{e=this._readPermissions()}catch(e){if(e instanceof n.MissingDataException)throw e;(0,a.warn)("Unable to read permissions.")}return(0,a.shadow)(this,"permissions",e)}},{key:"_readPermissions",value:function(){var e=this.xref.trailer.get("Encrypt");if(!(e instanceof i.Dict))return null;var t=e.get("P");if("number"!=typeof t)return null;t+=Math.pow(2,32);var r=[];for(var n in a.PermissionFlag){var o=a.PermissionFlag[n];t&o&&r.push(o)}return r}},{key:"optionalContentConfig",get:function(){var e=null;try{var t=this._catDict.get("OCProperties");if(!t)return(0,a.shadow)(this,"optionalContentConfig",null);var r=t.get("D");if(!r)return(0,a.shadow)(this,"optionalContentConfig",null);var o=t.get("OCGs");if(!Array.isArray(o))return(0,a.shadow)(this,"optionalContentConfig",null);var s,c=[],u=[],l=x(o);try{for(l.s();!(s=l.n()).done;){var h=s.value;if(h instanceof i.Ref){u.push(h);var f=this.xref.fetchIfRef(h);c.push({id:h.toString(),name:"string"==typeof f.get("Name")?(0,a.stringToPDFString)(f.get("Name")):null,intent:"string"==typeof f.get("Intent")?(0,a.stringToPDFString)(f.get("Intent")):null})}}}catch(e){l.e(e)}finally{l.f()}(e=this._readOptionalContentConfig(r,u)).groups=c}catch(e){if(e instanceof n.MissingDataException)throw e;(0,a.warn)("Unable to read optional content config: ".concat(e))}return(0,a.shadow)(this,"optionalContentConfig",e)}},{key:"_readOptionalContentConfig",value:function(e,t){function r(e){var r=[];if(Array.isArray(e)){var n,a=x(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;o instanceof i.Ref&&t.includes(o)&&r.push(o.toString())}}catch(e){a.e(e)}finally{a.f()}}return r}function n(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Array.isArray(e))return null;var n,a=[],s=x(e);try{for(s.s();!(n=s.n()).done;){var u=n.value;if(u instanceof i.Ref&&t.includes(u))c.put(u),a.push(u.toString());else{var l=o(u,r);l&&a.push(l)}}}catch(e){s.e(e)}finally{s.f()}if(r>0)return a;var h,f=[],d=x(t);try{for(d.s();!(h=d.n()).done;){var p=h.value;c.has(p)||f.push(p.toString())}}catch(e){d.e(e)}finally{d.f()}return f.length&&a.push({name:null,order:f}),a}function o(e,t){if(++t>u)return(0,a.warn)("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;var r=s.fetchIfRef(e);if(!Array.isArray(r))return null;var i=s.fetchIfRef(r[0]);if("string"!=typeof i)return null;var o=n(r.slice(1),t);return o&&o.length?{name:(0,a.stringToPDFString)(i),order:o}:null}var s=this.xref,c=new i.RefSet,u=10;return{name:"string"==typeof e.get("Name")?(0,a.stringToPDFString)(e.get("Name")):null,creator:"string"==typeof e.get("Creator")?(0,a.stringToPDFString)(e.get("Creator")):null,baseState:e.get("BaseState")instanceof i.Name?e.get("BaseState").name:null,on:r(e.get("ON")),off:r(e.get("OFF")),order:n(e.get("Order")),groups:null}}},{key:"setActualNumPages",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._actualNumPages=e}},{key:"hasActualNumPages",get:function(){return null!==this._actualNumPages}},{key:"_pagesCount",get:function(){var e=this.toplevelPagesDict.get("Count");if(!Number.isInteger(e))throw new a.FormatError("Page count in top-level pages dictionary is not an integer.");return(0,a.shadow)(this,"_pagesCount",e)}},{key:"numPages",get:function(){return this.hasActualNumPages?this._actualNumPages:this._pagesCount}},{key:"destinations",get:function(){var e=this._readDests(),t=Object.create(null);if(e instanceof o.NameTree){var r,n=x(e.getAll());try{for(n.s();!(r=n.n()).done;){var s=S(r.value,2),c=s[0],u=g(s[1]);u&&(t[(0,a.stringToPDFString)(c)]=u)}}catch(e){n.e(e)}finally{n.f()}}else e instanceof i.Dict&&e.forEach((function(e,r){var n=g(r);n&&(t[e]=n)}));return(0,a.shadow)(this,"destinations",t)}},{key:"getDestination",value:function(e){var t=this._readDests();if(t instanceof o.NameTree){var r=g(t.get(e));if(r)return r;var n=this.destinations[e];if(n)return(0,a.warn)('Found "'.concat(e,'" at an incorrect position in the NameTree.')),n}else if(t instanceof i.Dict){var s=g(t.get(e));if(s)return s}return null}},{key:"_readDests",value:function(){var e=this._catDict.get("Names");return null!=e&&e.has("Dests")?new o.NameTree(e.getRaw("Dests"),this.xref):this._catDict.has("Dests")?this._catDict.get("Dests"):void 0}},{key:"pageLabels",get:function(){var e=null;try{e=this._readPageLabels()}catch(e){if(e instanceof n.MissingDataException)throw e;(0,a.warn)("Unable to read page labels.")}return(0,a.shadow)(this,"pageLabels",e)}},{key:"_readPageLabels",value:function(){var e=this._catDict.getRaw("PageLabels");if(!e)return null;for(var t=new Array(this.numPages),r=null,s="",c=new o.NumberTree(e,this.xref).getAll(),u="",l=1,h=0,f=this.numPages;h<f;h++){var d=c.get(h);if(void 0!==d){if(!(d instanceof i.Dict))throw new a.FormatError("PageLabel is not a dictionary.");if(d.has("Type")&&!(0,i.isName)(d.get("Type"),"PageLabel"))throw new a.FormatError("Invalid type in PageLabel dictionary.");if(d.has("S")){var p=d.get("S");if(!(p instanceof i.Name))throw new a.FormatError("Invalid style in PageLabel dictionary.");r=p.name}else r=null;if(d.has("P")){var g=d.get("P");if("string"!=typeof g)throw new a.FormatError("Invalid prefix in PageLabel dictionary.");s=(0,a.stringToPDFString)(g)}else s="";if(d.has("St")){var v=d.get("St");if(!(Number.isInteger(v)&&v>=1))throw new a.FormatError("Invalid start in PageLabel dictionary.");l=v}else l=1}switch(r){case"D":u=l;break;case"R":case"r":u=(0,n.toRomanNumerals)(l,"r"===r);break;case"A":case"a":var m="a"===r?97:65,y=l-1;u=String.fromCharCode(m+y%26).repeat(Math.floor(y/26)+1);break;default:if(r)throw new a.FormatError('Invalid style "'.concat(r,'" in PageLabel dictionary.'));u=""}t[h]=s+u,l++}return t}},{key:"pageLayout",get:function(){var e=this._catDict.get("PageLayout"),t="";if(e instanceof i.Name)switch(e.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":t=e.name}return(0,a.shadow)(this,"pageLayout",t)}},{key:"pageMode",get:function(){var e=this._catDict.get("PageMode"),t="UseNone";if(e instanceof i.Name)switch(e.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":t=e.name}return(0,a.shadow)(this,"pageMode",t)}},{key:"viewerPreferences",get:function(){var e=this,t=this._catDict.get("ViewerPreferences");if(!(t instanceof i.Dict))return(0,a.shadow)(this,"viewerPreferences",null);var r,n=null,o=x(t.getKeys());try{for(o.s();!(r=o.n()).done;){var s=r.value,c=t.get(s),u=void 0;switch(s){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":"boolean"==typeof c&&(u=c);break;case"NonFullScreenPageMode":if(c instanceof i.Name)switch(c.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":u=c.name;break;default:u="UseNone"}break;case"Direction":if(c instanceof i.Name)switch(c.name){case"L2R":case"R2L":u=c.name;break;default:u="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(c instanceof i.Name)switch(c.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":u=c.name;break;default:u="CropBox"}break;case"PrintScaling":if(c instanceof i.Name)switch(c.name){case"None":case"AppDefault":u=c.name;break;default:u="AppDefault"}break;case"Duplex":if(c instanceof i.Name)switch(c.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":u=c.name;break;default:u="None"}break;case"PrintPageRange":Array.isArray(c)&&c.length%2==0&&c.every((function(t,r,n){return Number.isInteger(t)&&t>0&&(0===r||t>=n[r-1])&&t<=e.numPages}))&&(u=c);break;case"NumCopies":Number.isInteger(c)&&c>0&&(u=c);break;default:(0,a.warn)("Ignoring non-standard key in ViewerPreferences: ".concat(s,"."));continue}void 0!==u?(n||(n=Object.create(null)),n[s]=u):(0,a.warn)('Bad value, for key "'.concat(s,'", in ViewerPreferences: ').concat(c,"."))}}catch(e){o.e(e)}finally{o.f()}return(0,a.shadow)(this,"viewerPreferences",n)}},{key:"openAction",get:function(){var t=this._catDict.get("OpenAction"),r=Object.create(null);if(t instanceof i.Dict){var n=new i.Dict(this.xref);n.set("A",t);var o={url:null,dest:null,action:null};e.parseDestDictionary({destDict:n,resultObj:o}),Array.isArray(o.dest)?r.dest=o.dest:o.action&&(r.action=o.action)}else Array.isArray(t)&&(r.dest=t);return(0,a.shadow)(this,"openAction",(0,a.objectSize)(r)>0?r:null)}},{key:"attachments",get:function(){var e=this._catDict.get("Names"),t=null;if(e instanceof i.Dict&&e.has("EmbeddedFiles")){var r,n=x(new o.NameTree(e.getRaw("EmbeddedFiles"),this.xref).getAll());try{for(n.s();!(r=n.n()).done;){var s=S(r.value,2),c=s[0],u=s[1],h=new l.FileSpec(u,this.xref);t||(t=Object.create(null)),t[(0,a.stringToPDFString)(c)]=h.serializable}}catch(e){n.e(e)}finally{n.f()}}return(0,a.shadow)(this,"attachments",t)}},{key:"xfaImages",get:function(){var e=this._catDict.get("Names"),t=null;if(e instanceof i.Dict&&e.has("XFAImages")){var r,n=x(new o.NameTree(e.getRaw("XFAImages"),this.xref).getAll());try{for(n.s();!(r=n.n()).done;){var s=S(r.value,2),c=s[0],u=s[1];t||(t=new i.Dict(this.xref)),t.set((0,a.stringToPDFString)(c),u)}}catch(e){n.e(e)}finally{n.f()}}return(0,a.shadow)(this,"xfaImages",t)}},{key:"_collectJavaScript",value:function(){var e=this._catDict.get("Names"),t=null;function r(e,r){if(r instanceof i.Dict&&(0,i.isName)(r.get("S"),"JavaScript")){var n=r.get("JS");if(n instanceof s.BaseStream)n=n.getString();else if("string"!=typeof n)return;n=(0,a.stringToPDFString)(n).replaceAll("\0",""),(t||(t=new Map)).set(e,n)}}if(e instanceof i.Dict&&e.has("JavaScript")){var n,c=x(new o.NameTree(e.getRaw("JavaScript"),this.xref).getAll());try{for(c.s();!(n=c.n()).done;){var u=S(n.value,2),l=u[0],h=u[1];r((0,a.stringToPDFString)(l),h)}}catch(e){c.e(e)}finally{c.f()}}var f=this._catDict.get("OpenAction");return f&&r("OpenAction",f),t}},{key:"javaScript",get:function(){var e=this._collectJavaScript();return(0,a.shadow)(this,"javaScript",e?f(e.values()):null)}},{key:"jsActions",get:function(){var e=this._collectJavaScript(),t=(0,n.collectActions)(this.xref,this._catDict,a.DocumentActionEventType);if(e){t||(t=Object.create(null));var r,i=x(e);try{for(i.s();!(r=i.n()).done;){var o=S(r.value,2),s=o[0],c=o[1];s in t?t[s].push(c):t[s]=[c]}}catch(e){i.e(e)}finally{i.f()}}return(0,a.shadow)(this,"jsActions",t)}},{key:"fontFallback",value:(m=T(k().mark((function e(t,r){var n,a,i,o;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(this.fontCache);case 2:n=e.sent,a=x(n),e.prev=4,a.s();case 6:if((i=a.n()).done){e.next=13;break}if((o=i.value).loadedName!==t){e.next=11;break}return o.fallback(r),e.abrupt("return");case 11:e.next=6;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),a.e(e.t0);case 18:return e.prev=18,a.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[4,15,18,21]])}))),function(e,t){return m.apply(this,arguments)})},{key:"cleanup",value:(v=T(k().mark((function e(){var t,r,n,a,i=arguments;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]&&i[0],(0,c.clearGlobalCaches)(),this.globalImageCache.clear(t),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.nonBlendModesSet.clear(),e.next=8,Promise.all(this.fontCache);case 8:r=e.sent,n=x(r);try{for(n.s();!(a=n.n()).done;)delete a.value.dict.cacheKey}catch(e){n.e(e)}finally{n.f()}this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear(),this.systemFontCache.clear();case 15:case"end":return e.stop()}}),e,this)}))),function(){return v.apply(this,arguments)})},{key:"getPageDict",value:(r=T(k().mark((function e(t){var r,n,o,s,c,u,l,h,f,d,p,g,v,m,y,b;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=[this.toplevelPagesDict],n=new i.RefSet,(o=this._catDict.getRaw("Pages"))instanceof i.Ref&&n.put(o),s=this.xref,c=this.pageKidsCountCache,u=this.pageIndexCache,l=0;case 4:if(!r.length){e.next=69;break}if(!((h=r.pop())instanceof i.Ref)){e.next=33;break}if(!((f=c.get(h))>=0&&l+f<=t)){e.next=11;break}return l+=f,e.abrupt("continue",67);case 11:if(!n.has(h)){e.next=13;break}throw new a.FormatError("Pages tree contains circular reference.");case 13:return n.put(h),e.next=16,s.fetchAsync(h);case 16:if(!((d=e.sent)instanceof i.Dict)){e.next=31;break}if(p=d.getRaw("Type"),e.t0=p instanceof i.Ref,!e.t0){e.next=24;break}return e.next=23,s.fetchAsync(p);case 23:p=e.sent;case 24:if(!(0,i.isName)(p,"Page")&&d.has("Kids")){e.next=31;break}if(c.has(h)||c.put(h,1),u.has(h)||u.put(h,l),l!==t){e.next=29;break}return e.abrupt("return",[d,h]);case 29:return l++,e.abrupt("continue",67);case 31:return r.push(d),e.abrupt("continue",67);case 33:if(h instanceof i.Dict){e.next=35;break}throw new a.FormatError("Page dictionary kid reference points to wrong type of object.");case 35:if(g=h.objId,v=h.getRaw("Count"),e.t1=v instanceof i.Ref,!e.t1){e.next=42;break}return e.next=41,s.fetchAsync(v);case 41:v=e.sent;case 42:if(!(Number.isInteger(v)&&v>=0)){e.next=47;break}if(g&&!c.has(g)&&c.put(g,v),!(l+v<=t)){e.next=47;break}return l+=v,e.abrupt("continue",67);case 47:if(m=h.getRaw("Kids"),e.t2=m instanceof i.Ref,!e.t2){e.next=53;break}return e.next=52,s.fetchAsync(m);case 52:m=e.sent;case 53:if(Array.isArray(m)){e.next=66;break}if(y=h.getRaw("Type"),e.t3=y instanceof i.Ref,!e.t3){e.next=60;break}return e.next=59,s.fetchAsync(y);case 59:y=e.sent;case 60:if(!(0,i.isName)(y,"Page")&&h.has("Kids")){e.next=65;break}if(l!==t){e.next=63;break}return e.abrupt("return",[h,null]);case 63:return l++,e.abrupt("continue",67);case 65:throw new a.FormatError("Page dictionary kids object is not an array.");case 66:for(b=m.length-1;b>=0;b--)r.push(m[b]);case 67:e.next=4;break;case 69:throw new Error("Page index ".concat(t," not found."));case 70:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"getAllPageDicts",value:(t=T(k().mark((function e(){var t,r,o,s,c,u,l,h,f,d,p,g,v,m,y,b,w,x,S=arguments;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:p=function(e){if(e instanceof n.XRefEntryException&&!t)throw e;t&&r&&0===f&&((0,a.warn)('getAllPageDicts - Skipping invalid first page: "'.concat(e,'".')),e=i.Dict.empty),u.set(f++,[e,null])},d=function(e,t){t&&!h.has(t)&&h.put(t,f),u.set(f++,[e,t])},t=S.length>0&&void 0!==S[0]&&S[0],r=this.pdfManager.evaluatorOptions.ignoreErrors,o=[{currentNode:this.toplevelPagesDict,posInKids:0}],s=new i.RefSet,(c=this._catDict.getRaw("Pages"))instanceof i.Ref&&s.put(c),u=new Map,l=this.xref,h=this.pageIndexCache,f=0;case 7:if(!(o.length>0)){e.next=66;break}if(g=o.at(-1),v=g.currentNode,m=g.posInKids,!((y=v.getRaw("Kids"))instanceof i.Ref)){e.next=21;break}return e.prev=11,e.next=14,l.fetchAsync(y);case 14:y=e.sent,e.next=21;break;case 17:return e.prev=17,e.t0=e.catch(11),p(e.t0),e.abrupt("break",66);case 21:if(Array.isArray(y)){e.next=24;break}return p(new a.FormatError("Page dictionary kids object is not an array.")),e.abrupt("break",66);case 24:if(!(m>=y.length)){e.next=27;break}return o.pop(),e.abrupt("continue",64);case 27:if(b=y[m],w=void 0,!(b instanceof i.Ref)){e.next=46;break}if(!s.has(b)){e.next=33;break}return p(new a.FormatError("Pages tree contains circular reference.")),e.abrupt("break",66);case 33:return s.put(b),e.prev=34,e.next=37,l.fetchAsync(b);case 37:w=e.sent,e.next=44;break;case 40:return e.prev=40,e.t1=e.catch(34),p(e.t1),e.abrupt("break",66);case 44:e.next=47;break;case 46:w=b;case 47:if(w instanceof i.Dict){e.next=50;break}return p(new a.FormatError("Page dictionary kid reference points to wrong type of object.")),e.abrupt("break",66);case 50:if(!((x=w.getRaw("Type"))instanceof i.Ref)){e.next=62;break}return e.prev=52,e.next=55,l.fetchAsync(x);case 55:x=e.sent,e.next=62;break;case 58:return e.prev=58,e.t2=e.catch(52),p(e.t2),e.abrupt("break",66);case 62:(0,i.isName)(x,"Page")||!w.has("Kids")?d(w,b instanceof i.Ref?b:null):o.push({currentNode:w,posInKids:0}),g.posInKids++;case 64:e.next=7;break;case 66:return e.abrupt("return",u);case 67:case"end":return e.stop()}}),e,this,[[11,17],[34,40],[52,58]])}))),function(){return t.apply(this,arguments)})},{key:"getPageIndex",value:function(e){var t=this,r=this.pageIndexCache.get(e);if(void 0!==r)return Promise.resolve(r);var n=this.xref,o=0;return function r(s){return function(t){var r,o=0;return n.fetchAsync(t).then((function(n){if((0,i.isRefsEqual)(t,e)&&!(0,i.isDict)(n,"Page")&&!(n instanceof i.Dict&&!n.has("Type")&&n.has("Contents")))throw new a.FormatError("The reference does not point to a /Page dictionary.");if(!n)return null;if(!(n instanceof i.Dict))throw new a.FormatError("Node must be a dictionary.");return r=n.getRaw("Parent"),n.getAsync("Parent")})).then((function(e){if(!e)return null;if(!(e instanceof i.Dict))throw new a.FormatError("Parent must be a dictionary.");return e.getAsync("Kids")})).then((function(e){if(!e)return null;var s,c=[],u=!1,l=x(e);try{for(l.s();!(s=l.n()).done;){var h=s.value;if(!(h instanceof i.Ref))throw new a.FormatError("Kid must be a reference.");if((0,i.isRefsEqual)(h,t)){u=!0;break}c.push(n.fetchAsync(h).then((function(e){if(!(e instanceof i.Dict))throw new a.FormatError("Kid node must be a dictionary.");e.has("Count")?o+=e.get("Count"):o++})))}}catch(e){l.e(e)}finally{l.f()}if(!u)throw new a.FormatError("Kid reference not found in parent's kids.");return Promise.all(c).then((function(){return[o,r]}))}))}(s).then((function(n){if(!n)return t.pageIndexCache.put(e,o),o;var a=S(n,2),i=a[0],s=a[1];return o+=i,r(s)}))}(e)}},{key:"baseUrl",get:function(){var e=this._catDict.get("URI");if(e instanceof i.Dict){var t=e.get("Base");if("string"==typeof t){var r=(0,a.createValidAbsoluteUrl)(t,null,{tryConvertEncoding:!0});if(r)return(0,a.shadow)(this,"baseUrl",r.href)}}return(0,a.shadow)(this,"baseUrl",null)}}],[{key:"parseDestDictionary",value:function(e){var t=e.destDict;if(t instanceof i.Dict){var r=e.resultObj;if("object"==N(r)){var o,c,u=e.docBaseUrl||null,l=e.docAttachments||null,h=t.get("A");if(h instanceof i.Dict||(t.has("Dest")?h=t.get("Dest"):(h=t.get("AA"))instanceof i.Dict&&(h.has("D")?h=h.get("D"):h.has("U")&&(h=h.get("U")))),h instanceof i.Dict){var f=h.get("S");if(!(f instanceof i.Name))return void(0,a.warn)("parseDestDictionary: Invalid type in Action dictionary.");var d=f.name;switch(d){case"ResetForm":var p,g=h.get("Flags"),v=0==(1&("number"==typeof g?g:0)),m=[],y=[],b=x(h.get("Fields")||[]);try{for(b.s();!(p=b.n()).done;){var w=p.value;w instanceof i.Ref?y.push(w.toString()):"string"==typeof w&&m.push((0,a.stringToPDFString)(w))}}catch(e){b.e(e)}finally{b.f()}r.resetForm={fields:m,refs:y,include:v};break;case"URI":(o=h.get("URI"))instanceof i.Name&&(o="/"+o.name);break;case"GoTo":c=h.get("D");break;case"Launch":case"GoToR":var k=h.get("F");k instanceof i.Dict?o=k.get("F")||null:"string"==typeof k&&(o=k);var S=h.get("D");if(S&&(S instanceof i.Name&&(S=S.name),"string"==typeof o)){var A=o.split("#")[0];"string"==typeof S?o=A+"#"+S:Array.isArray(S)&&(o=A+"#"+JSON.stringify(S))}var C=h.get("NewWindow");"boolean"==typeof C&&(r.newWindow=C);break;case"GoToE":var O,F=h.get("T");if(l&&F instanceof i.Dict){var I=F.get("R"),T=F.get("N");(0,i.isName)(I,"C")&&"string"==typeof T&&(O=l[(0,a.stringToPDFString)(T)])}O?r.attachment=O:(0,a.warn)('parseDestDictionary - unimplemented "GoToE" action.');break;case"Named":var M=h.get("N");M instanceof i.Name&&(r.action=M.name);break;case"SetOCGState":var E=h.get("State"),P=h.get("PreserveRB");if(!Array.isArray(E)||0===E.length)break;var R,D=[],B=x(E);try{for(B.s();!(R=B.n()).done;){var L=R.value;if(L instanceof i.Name)switch(L.name){case"ON":case"OFF":case"Toggle":D.push(L.name)}else L instanceof i.Ref&&D.push(L.toString())}}catch(e){B.e(e)}finally{B.f()}if(D.length!==E.length)break;r.setOCGState={state:D,preserveRB:"boolean"!=typeof P||P};break;case"JavaScript":var _,j=h.get("JS");j instanceof s.BaseStream?_=j.getString():"string"==typeof j&&(_=j);var U=_&&(0,n.recoverJsURL)((0,a.stringToPDFString)(_));if(U){o=U.url,r.newWindow=U.newWindow;break}default:if("JavaScript"===d||"SubmitForm"===d)break;(0,a.warn)('parseDestDictionary - unsupported action: "'.concat(d,'".'))}}else t.has("Dest")&&(c=t.get("Dest"));if("string"==typeof o){var $=(0,a.createValidAbsoluteUrl)(o,u,{addDefaultProtocol:!0,tryConvertEncoding:!0});$&&(r.url=$.href),r.unsafeUrl=o}c&&(c instanceof i.Name&&(c=c.name),"string"==typeof c?r.dest=(0,a.stringToPDFString)(c):Array.isArray(c)&&(r.dest=c))}else(0,a.warn)("parseDestDictionary: `resultObj` must be an object.")}else(0,a.warn)("parseDestDictionary: `destDict` must be a dictionary.")}}]),e}();t.Catalog=v},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.NumberTree=t.NameTree=void 0,r(139);var n=r(150),a=r(144),i=function(){function e(t,r,n){M(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize NameOrNumberTree."),this.root=t,this.xref=r,this._type=n}return P(e,[{key:"getAll",value:function(){var e=new Map;if(!this.root)return e;var t=this.xref,r=new n.RefSet;r.put(this.root);for(var i=[this.root];i.length>0;){var o=t.fetchIfRef(i.shift());if(o instanceof n.Dict)if(o.has("Kids")){var s=o.get("Kids");if(!Array.isArray(s))continue;var c,u=x(s);try{for(u.s();!(c=u.n()).done;){var l=c.value;if(r.has(l))throw new a.FormatError('Duplicate entry in "'.concat(this._type,'" tree.'));i.push(l),r.put(l)}}catch(e){u.e(e)}finally{u.f()}}else{var h=o.get(this._type);if(Array.isArray(h))for(var f=0,d=h.length;f<d;f+=2)e.set(t.fetchIfRef(h[f]),t.fetchIfRef(h[f+1]))}}return e}},{key:"get",value:function(e){if(!this.root)return null;for(var t=this.xref,r=t.fetchIfRef(this.root),n=0;r.has("Kids");){if(++n>10)return(0,a.warn)('Search depth limit reached for "'.concat(this._type,'" tree.')),null;var i=r.get("Kids");if(!Array.isArray(i))return null;for(var o=0,s=i.length-1;o<=s;){var c=o+s>>1,u=t.fetchIfRef(i[c]),l=u.get("Limits");if(e<t.fetchIfRef(l[0]))s=c-1;else{if(!(e>t.fetchIfRef(l[1]))){r=u;break}o=c+1}}if(o>s)return null}var h=r.get(this._type);if(Array.isArray(h))for(var f=0,d=h.length-2;f<=d;){var p=f+d>>1,g=p+(1&p),v=t.fetchIfRef(h[g]);if(e<v)d=g-2;else{if(!(e>v))return t.fetchIfRef(h[g+1]);f=g+2}}return null}}]),e}();t.NameTree=function(e){function t(e,r){return M(this,t),d(this,t,[e,r,"Names"])}return y(t,e),P(t)}(i),t.NumberTree=function(e){function t(e,r){return M(this,t),d(this,t,[e,r,"Nums"])}return y(t,e),P(t)}(i)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.clearGlobalCaches=function(){(0,n.clearPrimitiveCaches)(),(0,a.clearUnicodeCaches)()};var n=r(150),a=r(190)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.FileSpec=void 0;var n=r(144),a=r(151),i=r(150);function o(e){return e.has("UF")?e.get("UF"):e.has("F")?e.get("F"):e.has("Unix")?e.get("Unix"):e.has("Mac")?e.get("Mac"):e.has("DOS")?e.get("DOS"):null}t.FileSpec=function(){function e(t,r){M(this,e),t instanceof i.Dict&&(this.xref=r,this.root=t,t.has("FS")&&(this.fs=t.get("FS")),this.description=t.has("Desc")?(0,n.stringToPDFString)(t.get("Desc")):"",t.has("RF")&&(0,n.warn)("Related file specifications are not supported"),this.contentAvailable=!0,t.has("EF")||(this.contentAvailable=!1,(0,n.warn)("Non-embedded file specifications are not supported")))}return P(e,[{key:"filename",get:function(){if(!this._filename&&this.root){var e=o(this.root)||"unnamed";this._filename=(0,n.stringToPDFString)(e).replaceAll("\\\\","\\").replaceAll("\\/","/").replaceAll("\\","/")}return this._filename}},{key:"content",get:function(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=o(this.root.get("EF")));var e=null;if(this.contentRef){var t=this.xref.fetchIfRef(this.contentRef);t instanceof a.BaseStream?e=t.getBytes():(0,n.warn)("Embedded file specification points to non-existing/invalid content")}else(0,n.warn)("Embedded file specification does not have a content");return e}},{key:"serializable",get:function(){return{filename:this.filename,content:this.content}}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.MetadataParser=void 0,r(2),r(139);var n=r(217);t.MetadataParser=function(){function e(t){M(this,e),t=this._repair(t);var r=new n.SimpleXMLParser({lowerCaseName:!0}).parseFromString(t);this._metadataMap=new Map,this._data=t,r&&this._parse(r)}return P(e,[{key:"_repair",value:function(e){return e.replace(/^[^<]+/,"").replaceAll(/>\\376\\377([^<]+)/g,(function(e,t){for(var r=t.replaceAll(/\\([0-3])([0-7])([0-7])/g,(function(e,t,r,n){return String.fromCharCode(64*t+8*r+1*n)})).replaceAll(/&(amp|apos|gt|lt|quot);/g,(function(e,t){switch(t){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(t," isn't defined."))})),n=[">"],a=0,i=r.length;a<i;a+=2){var o=256*r.charCodeAt(a)+r.charCodeAt(a+1);o>=32&&o<127&&60!==o&&62!==o&&38!==o?n.push(String.fromCharCode(o)):n.push("&#x"+(65536+o).toString(16).substring(1)+";")}return n.join("")}))}},{key:"_getSequence",value:function(e){var t=e.nodeName;return"rdf:bag"!==t&&"rdf:seq"!==t&&"rdf:alt"!==t?null:e.childNodes.filter((function(e){return"rdf:li"===e.nodeName}))}},{key:"_parseArray",value:function(e){if(e.hasChildNodes()){var t=S(e.childNodes,1)[0],r=this._getSequence(t)||[];this._metadataMap.set(e.nodeName,r.map((function(e){return e.textContent.trim()})))}}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName)for(t=t.firstChild;t&&"rdf:rdf"!==t.nodeName;)t=t.nextSibling;if(t&&"rdf:rdf"===t.nodeName&&t.hasChildNodes()){var r,n=x(t.childNodes);try{for(n.s();!(r=n.n()).done;){var a=r.value;if("rdf:description"===a.nodeName){var i,o=x(a.childNodes);try{for(o.s();!(i=o.n()).done;){var s=i.value,c=s.nodeName;switch(c){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(s);continue}this._metadataMap.set(c,s.textContent.trim())}}catch(e){o.e(e)}finally{o.f()}}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"serializable",get:function(){return{parsedData:this._metadataMap,rawData:this._data}}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.StructTreeRoot=t.StructTreePage=void 0,r(139);var n=r(150),a=r(144),i=r(221),o="PAGE_CONTENT",s="STREAM_CONTENT",c="OBJECT",u="ELEMENT";t.StructTreeRoot=function(){function e(t){M(this,e),this.dict=t,this.roleMap=new Map}return P(e,[{key:"init",value:function(){this.readRoleMap()}},{key:"readRoleMap",value:function(){var e=this,t=this.dict.get("RoleMap");t instanceof n.Dict&&t.forEach((function(t,r){r instanceof n.Name&&e.roleMap.set(t,r.name)}))}}]),e}();var l=function(){function e(t,r){M(this,e),this.tree=t,this.dict=r,this.kids=[],this.parseKids()}return P(e,[{key:"role",get:function(){var e=this.dict.get("S"),t=e instanceof n.Name?e.name:"",r=this.tree.root;return r.roleMap.has(t)?r.roleMap.get(t):t}},{key:"parseKids",value:function(){var e=null,t=this.dict.getRaw("Pg");t instanceof n.Ref&&(e=t.toString());var r=this.dict.get("K");if(Array.isArray(r)){var a,i=x(r);try{for(i.s();!(a=i.n()).done;){var o=a.value,s=this.parseKid(e,o);s&&this.kids.push(s)}}catch(e){i.e(e)}finally{i.f()}}else{var c=this.parseKid(e,r);c&&this.kids.push(c)}}},{key:"parseKid",value:function(e,t){if(Number.isInteger(t))return this.tree.pageDict.objId!==e?null:new h({type:o,mcid:t,pageObjId:e});var r=null;if(t instanceof n.Ref?r=this.dict.xref.fetch(t):t instanceof n.Dict&&(r=t),!r)return null;var a=r.getRaw("Pg");a instanceof n.Ref&&(e=a.toString());var i=r.get("Type")instanceof n.Name?r.get("Type").name:null;return"MCR"===i?this.tree.pageDict.objId!==e?null:new h({type:s,refObjId:r.getRaw("Stm")instanceof n.Ref?r.getRaw("Stm").toString():null,pageObjId:e,mcid:r.get("MCID")}):"OBJR"===i?this.tree.pageDict.objId!==e?null:new h({type:c,refObjId:r.getRaw("Obj")instanceof n.Ref?r.getRaw("Obj").toString():null,pageObjId:e}):new h({type:u,dict:r})}}]),e}(),h=P((function e(t){M(this,e);var r=t.type,n=t.dict,a=void 0===n?null:n,i=t.mcid,o=void 0===i?null:i,s=t.pageObjId,c=void 0===s?null:s,u=t.refObjId,l=void 0===u?null:u;this.type=r,this.dict=a,this.mcid=o,this.pageObjId=c,this.refObjId=l,this.parentNode=null}));t.StructTreePage=function(){function e(t,r){M(this,e),this.root=t,this.rootDict=t?t.dict:null,this.pageDict=r,this.nodes=[]}return P(e,[{key:"parse",value:function(){if(this.root&&this.rootDict){var e=this.rootDict.get("ParentTree");if(e){var t=this.pageDict.get("StructParents");if(Number.isInteger(t)){var r=new i.NumberTree(e,this.rootDict.xref).get(t);if(Array.isArray(r)){var a,o=new Map,s=x(r);try{for(s.s();!(a=s.n()).done;){var c=a.value;c instanceof n.Ref&&this.addNode(this.rootDict.xref.fetch(c),o)}}catch(e){s.e(e)}finally{s.f()}}}}}}},{key:"addNode",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r>40)return(0,a.warn)("StructTree MAX_DEPTH reached."),null;if(t.has(e))return t.get(e);var i=new l(this,e);t.set(e,i);var o=e.get("P");if(!o||(0,n.isName)(o.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(e,i)||t.delete(e),i;var s=this.addNode(o,t,r+1);if(!s)return i;var c,h=!1,f=x(s.kids);try{for(f.s();!(c=f.n()).done;){var d=c.value;d.type===u&&d.dict===e&&(d.parentNode=i,h=!0)}}catch(e){f.e(e)}finally{f.f()}return h||t.delete(e),i}},{key:"addTopLevelNode",value:function(e,t){var r=this.rootDict.get("K");if(!r)return!1;if(r instanceof n.Dict)return r.objId===e.objId&&(this.nodes[0]=t,!0);if(!Array.isArray(r))return!0;for(var a=!1,i=0;i<r.length;i++){var o=r[i];(null==o?void 0:o.toString())===e.objId&&(this.nodes[i]=t,a=!0)}return a}},{key:"serializable",get:function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n>40)(0,a.warn)("StructTree too deep to be fully serialized.");else{var i=Object.create(null);i.role=t.role,i.children=[],r.children.push(i);var l=t.dict.get("Alt");"string"==typeof l&&(i.alt=(0,a.stringToPDFString)(l));var h=t.dict.get("Lang");"string"==typeof h&&(i.lang=(0,a.stringToPDFString)(h));var f,d=x(t.kids);try{for(d.s();!(f=d.n()).done;){var p=f.value,g=p.type===u?p.parentNode:null;g?e(g,i,n+1):p.type===o||p.type===s?i.children.push({type:"content",id:"p".concat(p.pageObjId,"_mc").concat(p.mcid)}):p.type===c&&i.children.push({type:"object",id:p.refObjId})}}catch(e){d.e(e)}finally{d.f()}}}var t=Object.create(null);t.children=[],t.role="Root";var r,n=x(this.nodes);try{for(n.s();!(r=n.n()).done;){var i=r.value;i&&e(i,t)}}catch(e){n.e(e)}finally{n.f()}return t}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectLoader=void 0,r(139);var n=r(150),a=r(151),i=r(149),o=r(144);function s(e,t){if(e instanceof n.Dict)e=e.getRawValues();else if(e instanceof a.BaseStream)e=e.dict.getRawValues();else if(!Array.isArray(e))return;var r,i,o=x(e);try{for(o.s();!(r=o.n()).done;){var s=r.value;((i=s)instanceof n.Ref||i instanceof n.Dict||i instanceof a.BaseStream||Array.isArray(i))&&t.push(s)}}catch(e){o.e(e)}finally{o.f()}}t.ObjectLoader=function(){function e(t,r,n){M(this,e),this.dict=t,this.keys=r,this.xref=n,this.refSet=null}var t,r;return P(e,[{key:"load",value:(r=T(k().mark((function e(){var t,r,a,i,o,s,c;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.xref.stream.isDataLoaded){e.next=2;break}return e.abrupt("return");case 2:t=this.keys,r=this.dict,this.refSet=new n.RefSet,a=[],i=x(t);try{for(i.s();!(o=i.n()).done;)s=o.value,void 0!==(c=r.getRaw(s))&&a.push(c)}catch(e){i.e(e)}finally{i.f()}return e.abrupt("return",this._walk(a));case 8:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"_walk",value:(t=T(k().mark((function e(t){var r,c,u,l,h,f,d,p,g,v,m,y;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=[],c=[];case 1:if(!t.length){e.next=24;break}if(!((u=t.pop())instanceof n.Ref)){e.next=20;break}if(!this.refSet.has(u)){e.next=6;break}return e.abrupt("continue",22);case 6:e.prev=6,this.refSet.put(u),u=this.xref.fetch(u),e.next=20;break;case 11:if(e.prev=11,e.t0=e.catch(6),e.t0 instanceof i.MissingDataException){e.next=18;break}return(0,o.warn)('ObjectLoader._walk - requesting all data: "'.concat(e.t0,'".')),this.refSet=null,l=this.xref.stream.manager,e.abrupt("return",l.requestAllChunks());case 18:r.push(u),c.push({begin:e.t0.begin,end:e.t0.end});case 20:if(u instanceof a.BaseStream&&(h=u.getBaseStreams())){f=!1,d=x(h);try{for(d.s();!(p=d.n()).done;)(g=p.value).isDataLoaded||(f=!0,c.push({begin:g.start,end:g.end}))}catch(e){d.e(e)}finally{d.f()}f&&r.push(u)}s(u,t);case 22:e.next=1;break;case 24:if(!c.length){e.next=30;break}return e.next=27,this.xref.stream.manager.requestRanges(c);case 27:v=x(r);try{for(v.s();!(m=v.n()).done;)(y=m.value)instanceof n.Ref&&this.refSet.remove(y)}catch(e){v.e(e)}finally{v.f()}return e.abrupt("return",this._walk(r));case 30:this.refSet=null;case 31:case"end":return e.stop()}}),e,this,[[6,11]])}))),function(e){return t.apply(this,arguments)})}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XFAFactory=void 0,r(139);var n=r(228),a=r(229),i=r(242),o=r(238),s=r(237),c=r(144),u=r(243),l=r(253),h=function(){function e(t){M(this,e);try{this.root=(new u.XFAParser).parse(e._createDocument(t));var r=new a.Binder(this.root);this.form=r.bind(),this.dataHandler=new i.DataHandler(this.root,r.getData()),this.form[n.$globalData].template=this.form}catch(t){(0,c.warn)("XFA - an error occurred during parsing and binding: ".concat(t))}}var t,r,h;return P(e,[{key:"isValid",value:function(){return this.root&&this.form}},{key:"_createPagesHelper",value:function(){var e=this.form[n.$toPages]();return new Promise((function(t,r){setTimeout((function n(){try{var a=e.next();a.done?t(a.value):setTimeout(n,0)}catch(e){r(e)}}),0)}))}},{key:"_createPages",value:(h=T(k().mark((function e(){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._createPagesHelper();case 3:this.pages=e.sent,this.dims=this.pages.children.map((function(e){var t=e.attributes.style,r=t.width,n=t.height;return[0,0,parseInt(r),parseInt(n)]})),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),(0,c.warn)("XFA - an error occurred during layout: ".concat(e.t0));case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(){return h.apply(this,arguments)})},{key:"getBoundingBox",value:function(e){return this.dims[e]}},{key:"getNumPages",value:(r=T(k().mark((function e(){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=this.pages,e.t0){e.next=4;break}return e.next=4,this._createPages();case 4:return e.abrupt("return",this.dims.length);case 5:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"setImages",value:function(e){this.form[n.$globalData].images=e}},{key:"setFonts",value:function(e){this.form[n.$globalData].fontFinder=new o.FontFinder(e);var t,r=[],a=x(this.form[n.$globalData].usedTypefaces);try{for(a.s();!(t=a.n()).done;){var i=t.value;i=(0,s.stripQuotes)(i),this.form[n.$globalData].fontFinder.find(i)||r.push(i)}}catch(e){a.e(e)}finally{a.f()}return r.length>0?r:null}},{key:"appendFonts",value:function(e,t){this.form[n.$globalData].fontFinder.add(e,t)}},{key:"getPages",value:(t=T(k().mark((function e(){var t;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=this.pages,e.t0){e.next=4;break}return e.next=4,this._createPages();case 4:return t=this.pages,this.pages=null,e.abrupt("return",t);case 7:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"serializeData",value:function(e){return this.dataHandler.serialize(e)}}],[{key:"_createDocument",value:function(e){return e["/xdp:xdp"]?Object.values(e).join(""):e["xdp:xdp"]}},{key:"getRichTextAsHtml",value:function(e){if(!e||"string"!=typeof e)return null;try{var t=new u.XFAParser(l.XhtmlNamespace,!0).parse(e);if(!["body","xhtml"].includes(t[n.$nodeName])){var r=l.XhtmlNamespace.body({});r[n.$appendChild](t),t=r}var a=t[n.$toHTML]();if(!a.success)return null;var i=a.html,o=i.attributes;return o&&(o.class&&(o.class=o.class.filter((function(e){return!e.startsWith("xfa")}))),o.dir="auto"),{html:i,str:t[n.$text]()}}catch(e){(0,c.warn)("XFA - an error occurred during parsing of rich text: ".concat(e))}return null}}]),e}();t.XFAFactory=h},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.$uid=t.$toStyle=t.$toString=t.$toPages=t.$toHTML=t.$text=t.$tabIndex=t.$setValue=t.$setSetAttributes=t.$setId=t.$searchNode=t.$root=t.$resolvePrototypes=t.$removeChild=t.$pushPara=t.$pushGlyphs=t.$popPara=t.$onText=t.$onChildCheck=t.$onChild=t.$nsAttributes=t.$nodeName=t.$namespaceId=t.$lastAttribute=t.$isUsable=t.$isTransparent=t.$isThereMoreWidth=t.$isSplittable=t.$isNsAgnostic=t.$isDescendent=t.$isDataValue=t.$isCDATAXml=t.$isBindable=t.$insertAt=t.$indexOf=t.$ids=t.$hasSettableValue=t.$globalData=t.$getTemplateRoot=t.$getSubformParent=t.$getRealChildrenByNameIt=t.$getParent=t.$getNextPage=t.$getExtra=t.$getDataValue=t.$getContainedChildren=t.$getChildrenByNameIt=t.$getChildrenByName=t.$getChildrenByClass=t.$getChildren=t.$getAvailableSpace=t.$getAttributes=t.$getAttributeIt=t.$flushHTML=t.$finalize=t.$extra=t.$dump=t.$data=t.$content=t.$consumed=t.$clone=t.$cleanup=t.$cleanPage=t.$clean=t.$childrenToHTML=t.$appendChild=t.$addHTML=t.$acceptWhitespace=void 0;var r=Symbol();t.$acceptWhitespace=r;var n=Symbol();t.$addHTML=n;var a=Symbol();t.$appendChild=a;var i=Symbol();t.$childrenToHTML=i;var o=Symbol();t.$clean=o;var s=Symbol();t.$cleanPage=s;var c=Symbol();t.$cleanup=c;var u=Symbol();t.$clone=u;var l=Symbol();t.$consumed=l;var h=Symbol("content");t.$content=h;var f=Symbol("data");t.$data=f;var d=Symbol();t.$dump=d;var p=Symbol("extra");t.$extra=p;var g=Symbol();t.$finalize=g;var v=Symbol();t.$flushHTML=v;var m=Symbol();t.$getAttributeIt=m;var y=Symbol();t.$getAttributes=y;var b=Symbol();t.$getAvailableSpace=b;var w=Symbol();t.$getChildrenByClass=w;var k=Symbol();t.$getChildrenByName=k;var x=Symbol();t.$getChildrenByNameIt=x;var S=Symbol();t.$getDataValue=S;var A=Symbol();t.$getExtra=A;var C=Symbol();t.$getRealChildrenByNameIt=C;var O=Symbol();t.$getChildren=O;var F=Symbol();t.$getContainedChildren=F;var I=Symbol();t.$getNextPage=I;var T=Symbol();t.$getSubformParent=T;var M=Symbol();t.$getParent=M;var E=Symbol();t.$getTemplateRoot=E;var P=Symbol();t.$globalData=P;var R=Symbol();t.$hasSettableValue=R;var N=Symbol();t.$ids=N;var D=Symbol();t.$indexOf=D;var B=Symbol();t.$insertAt=B;var L=Symbol();t.$isCDATAXml=L;var _=Symbol();t.$isBindable=_;var j=Symbol();t.$isDataValue=j;var U=Symbol();t.$isDescendent=U;var $=Symbol();t.$isNsAgnostic=$;var X=Symbol();t.$isSplittable=X;var H=Symbol();t.$isThereMoreWidth=H;var q=Symbol();t.$isTransparent=q;var z=Symbol();t.$isUsable=z;var G=Symbol();t.$lastAttribute=G;var W=Symbol("namespaceId");t.$namespaceId=W;var V=Symbol("nodeName");t.$nodeName=V;var K=Symbol();t.$nsAttributes=K;var Y=Symbol();t.$onChild=Y;var J=Symbol();t.$onChildCheck=J;var Z=Symbol();t.$onText=Z;var Q=Symbol();t.$pushGlyphs=Q;var ee=Symbol();t.$popPara=ee;var te=Symbol();t.$pushPara=te;var re=Symbol();t.$removeChild=re;var ne=Symbol("root");t.$root=ne;var ae=Symbol();t.$resolvePrototypes=ae;var ie=Symbol();t.$searchNode=ie;var oe=Symbol();t.$setId=oe;var se=Symbol();t.$setSetAttributes=se;var ce=Symbol();t.$setValue=ce;var ue=Symbol();t.$tabIndex=ue;var le=Symbol();t.$text=le;var he=Symbol();t.$toPages=he;var fe=Symbol();t.$toHTML=fe;var de=Symbol();t.$toString=de;var pe=Symbol();t.$toStyle=pe;var ge=Symbol("uid");t.$uid=ge},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Binder=void 0,r(139);var n=r(228),a=r(230),i=r(241),o=r(240),s=r(234),c=r(144),u=s.NamespaceIds.datasets.id;function l(e){var t=new a.Text({});return t[n.$content]=e,t}t.Binder=function(){function e(t){var r;M(this,e),this.root=t,this.datasets=t.datasets,this.data=(null===(r=t.datasets)||void 0===r?void 0:r.data)||new o.XmlObject(s.NamespaceIds.datasets.id,"data"),this.emptyMerge=0===this.data[n.$getChildren]().length,this.root.form=this.form=t.template[n.$clone]()}return P(e,[{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(e,t,r){var i;if(e[n.$data]=t,e[n.$hasSettableValue]())if(t[n.$isDataValue]()){var o=t[n.$getDataValue]();e[n.$setValue](l(o))}else if(e instanceof a.Field&&"multiSelect"===(null===(i=e.ui)||void 0===i||null===(i=i.choiceList)||void 0===i?void 0:i.open)){var s=t[n.$getChildren]().map((function(e){return e[n.$content].trim()})).join("\n");e[n.$setValue](l(s))}else this._isConsumeData()&&(0,c.warn)("XFA - Nodes haven't the same type.");else!t[n.$isDataValue]()||this._isMatchTemplate()?this._bindElement(e,t):(0,c.warn)("XFA - Nodes haven't the same type.")}},{key:"_findDataByNameToConsume",value:function(e,t,r,a){var i,o,c;if(!e)return null;for(var u=0;u<3;u++){for(o=r[n.$getRealChildrenByNameIt](e,!1,!0);c=o.next().value;)if(t===c[n.$isDataValue]())return c;if(r[n.$namespaceId]===s.NamespaceIds.datasets.id&&"data"===r[n.$nodeName])break;r=r[n.$getParent]()}return a&&((c=(o=this.data[n.$getRealChildrenByNameIt](e,!0,!1)).next().value)||null!==(i=c=(o=this.data[n.$getAttributeIt](e,!0)).next().value)&&void 0!==i&&i[n.$isDataValue]())?c:null}},{key:"_setProperties",value:function(e,t){if(e.hasOwnProperty("setProperty")){var r,s=x(e.setProperty.children);try{for(s.s();!(r=s.n()).done;){var u=r.value,l=u.ref,h=u.target;if(!u.connection&&l){var f=(0,i.searchNode)(this.root,t,l,!1,!1);if(f){var d=S(f,1)[0];if(d[n.$isDescendent](this.data)){var p=(0,i.searchNode)(this.root,e,h,!1,!1);if(p){var g=S(p,1)[0];if(g[n.$isDescendent](e)){var v=g[n.$getParent]();if(g instanceof a.SetProperty||v instanceof a.SetProperty)(0,c.warn)("XFA - Invalid target: cannot be a setProperty or one of its properties.");else if(g instanceof a.BindItems||v instanceof a.BindItems)(0,c.warn)("XFA - Invalid target: cannot be a bindItems or one of its properties.");else{var m=d[n.$text](),y=g[n.$nodeName];if(g instanceof o.XFAAttribute){var b=Object.create(null);b[y]=m;var w=Reflect.construct(Object.getPrototypeOf(v).constructor,[b]);v[y]=w[y]}else g.hasOwnProperty(n.$content)?(g[n.$data]=d,g[n.$content]=m,g[n.$finalize]()):(0,c.warn)("XFA - Invalid node to use in setProperty")}}else(0,c.warn)("XFA - Invalid target: must be a property or subproperty.")}else(0,c.warn)("XFA - Invalid target: ".concat(h,"."))}else(0,c.warn)("XFA - Invalid node: must be a data node.")}else(0,c.warn)("XFA - Invalid reference: ".concat(l,"."))}}}catch(e){s.e(e)}finally{s.f()}}}},{key:"_bindItems",value:function(e,t){if(e.hasOwnProperty("items")&&e.hasOwnProperty("bindItems")&&!e.bindItems.isEmpty()){var r,o=x(e.items.children);try{for(o.s();!(r=o.n()).done;){var s=r.value;e[n.$removeChild](s)}}catch(e){o.e(e)}finally{o.f()}e.items.clear();var u=new a.Items({}),h=new a.Items({});e[n.$appendChild](u),e.items.push(u),e[n.$appendChild](h),e.items.push(h);var f,d=x(e.bindItems.children);try{for(d.s();!(f=d.n()).done;){var p=f.value,g=p.ref,v=p.labelRef,m=p.valueRef;if(!p.connection&&g){var y=(0,i.searchNode)(this.root,t,g,!1,!1);if(y){var b,w=x(y);try{for(w.s();!(b=w.n()).done;){var k=b.value;if(k[n.$isDescendent](this.datasets)){var A=(0,i.searchNode)(this.root,k,v,!0,!1);if(A){var C=S(A,1)[0];if(C[n.$isDescendent](this.datasets)){var O=(0,i.searchNode)(this.root,k,m,!0,!1);if(O){var F=S(O,1)[0];if(F[n.$isDescendent](this.datasets)){var I=l(C[n.$text]()),T=l(F[n.$text]());u[n.$appendChild](I),u.text.push(I),h[n.$appendChild](T),h.text.push(T)}else(0,c.warn)("XFA - Invalid value: must be a datasets child.")}else(0,c.warn)("XFA - Invalid value: ".concat(m,"."))}else(0,c.warn)("XFA - Invalid label: must be a datasets child.")}else(0,c.warn)("XFA - Invalid label: ".concat(v,"."))}else(0,c.warn)("XFA - Invalid ref (".concat(g,"): must be a datasets child."))}}catch(e){w.e(e)}finally{w.f()}}else(0,c.warn)("XFA - Invalid reference: ".concat(g,"."))}}}catch(e){d.e(e)}finally{d.f()}}}},{key:"_bindOccurrences",value:function(e,t,r){var a;if(t.length>1&&((a=e[n.$clone]())[n.$removeChild](a.occur),a.occur=null),this._bindValue(e,t[0],r),this._setProperties(e,t[0]),this._bindItems(e,t[0]),1!==t.length)for(var i=e[n.$getParent](),o=e[n.$nodeName],s=i[n.$indexOf](e),c=1,u=t.length;c<u;c++){var l=t[c],h=a[n.$clone]();i[o].push(h),i[n.$insertAt](s+c,h),this._bindValue(h,l,r),this._setProperties(h,l),this._bindItems(h,l)}}},{key:"_createOccurrences",value:function(e){if(this.emptyMerge){var t=e.occur;if(t&&!(t.initial<=1)){var r=e[n.$getParent](),a=e[n.$nodeName];if(r[a]instanceof o.XFAObjectArray){var i;i=e.name?r[a].children.filter((function(t){return t.name===e.name})).length:r[a].children.length;var s=r[n.$indexOf](e)+1,c=t.initial-i;if(c){var u=e[n.$clone]();u[n.$removeChild](u.occur),u.occur=null,r[a].push(u),r[n.$insertAt](s,u);for(var l=1;l<c;l++){var h=u[n.$clone]();r[a].push(h),r[n.$insertAt](s+l,h)}}}}}}},{key:"_getOccurInfo",value:function(e){var t=e.name,r=e.occur;if(!r||!t)return[1,1];var n=-1===r.max?1/0:r.max;return[r.min,n]}},{key:"_setAndBind",value:function(e,t){this._setProperties(e,t),this._bindItems(e,t),this._bindElement(e,t)}},{key:"_bindElement",value:function(e,t){var r=[];this._createOccurrences(e);var a,s=x(e[n.$getChildren]());try{for(s.s();!(a=s.n()).done;){var l=a.value;if(!l[n.$data])if(void 0!==this._mergeMode||"subform"!==l[n.$nodeName]){if(l[n.$isBindable]()){var h=!1,f=null,d=null,p=null;if(l.bind){switch(l.bind.match){case"none":this._setAndBind(l,t);continue;case"global":h=!0;break;case"dataRef":if(!l.bind.ref){(0,c.warn)("XFA - ref is empty in node ".concat(l[n.$nodeName],".")),this._setAndBind(l,t);continue}d=l.bind.ref}l.bind.picture&&(f=l.bind.picture[n.$content])}var g=S(this._getOccurInfo(l),2),v=g[0],m=g[1];if(d){if(null===(p=(0,i.searchNode)(this.root,t,d,!0,!1))){if(!(p=(0,i.createDataNode)(this.data,t,d)))continue;this._isConsumeData()&&(p[n.$consumed]=!0),this._setAndBind(l,p);continue}this._isConsumeData()&&(p=p.filter((function(e){return!e[n.$consumed]}))),p.length>m?p=p.slice(0,m):0===p.length&&(p=null),p&&this._isConsumeData()&&p.forEach((function(e){e[n.$consumed]=!0}))}else{if(!l.name){this._setAndBind(l,t);continue}if(this._isConsumeData()){for(var y=[];y.length<m;){var b=this._findDataByNameToConsume(l.name,l[n.$hasSettableValue](),t,h);if(!b)break;b[n.$consumed]=!0,y.push(b)}p=y.length>0?y:null}else{if(!(p=t[n.$getRealChildrenByNameIt](l.name,!1,this.emptyMerge).next().value)){if(0===v){r.push(l);continue}var w=t[n.$namespaceId]===u?-1:t[n.$namespaceId];p=l[n.$data]=new o.XmlObject(w,l.name),this.emptyMerge&&(p[n.$consumed]=!0),t[n.$appendChild](p),this._setAndBind(l,p);continue}this.emptyMerge&&(p[n.$consumed]=!0),p=[p]}}p?this._bindOccurrences(l,p,f):v>0?this._setAndBind(l,t):r.push(l)}}else{this._mergeMode="consumeData"===l.mergeMode;var k=t[n.$getChildren]();if(k.length>0)this._bindOccurrences(l,[k[0]],null);else if(this.emptyMerge){var A=t[n.$namespaceId]===u?-1:t[n.$namespaceId],C=l[n.$data]=new o.XmlObject(A,l.name||"root");t[n.$appendChild](C),this._bindElement(l,C)}}}}catch(e){s.e(e)}finally{s.f()}r.forEach((function(e){return e[n.$getParent]()[n.$removeChild](e)}))}}]),e}()},function(e,t,r){var n=k().mark(T);Object.defineProperty(t,"__esModule",{value:!0}),t.Value=t.Text=t.TemplateNamespace=t.Template=t.SetProperty=t.Items=t.Field=t.BindItems=void 0,r(116),r(126),r(128),r(131),r(133),r(135),r(137),r(139),r(231),r(145),r(147),r(148);var i=r(228),o=r(234),s=r(235),c=r(236),u=r(240),l=r(237),h=r(144),f=r(238),p=r(149),g=r(241),v=o.NamespaceIds.template.id,b="http://www.w3.org/2000/svg",w=/^H(\d+)$/,A=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"]),C=[[[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 O(e){if(!e||!e.border)return{w:0,h:0};var t=e.border[i.$getExtra]();return t?{w:t.widths[0]+t.widths[2]+t.insets[0]+t.insets[2],h:t.widths[1]+t.widths[3]+t.insets[1]+t.insets[3]}:{w:0,h:0}}function F(e){return e.margin&&(e.margin.topInset||e.margin.rightInset||e.margin.bottomInset||e.margin.leftInset)}function I(e,t){if(!e.value){var r=new qt({});e[i.$appendChild](r),e.value=r}e.value[i.$setValue](t)}function T(e){var t,r,a;return k().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=x(e[i.$getChildren]()),n.prev=1,t.s();case 3:if((r=t.n()).done){n.next=13;break}if(!((a=r.value)instanceof Mt)){n.next=9;break}return n.delegateYield(a[i.$getContainedChildren](),"t0",7);case 7:n.next=11;break;case 9:return n.next=11,a;case 11:n.next=3;break;case 13:n.next=18;break;case 15:n.prev=15,n.t1=n.catch(1),t.e(n.t1);case 18:return n.prev=18,t.f(),n.finish(18);case 21:case"end":return n.stop()}}),n,null,[[1,15,18,21]])}function E(e){var t;return"error"===(null===(t=e.validate)||void 0===t?void 0:t.nullTest)}function R(e){for(;e;){if(!e.traversal)return void(e[i.$tabIndex]=e[i.$getParent]()[i.$tabIndex]);if(e[i.$tabIndex])return;var t,r=null,n=x(e.traversal[i.$getChildren]());try{for(n.s();!(t=n.n()).done;){var a=t.value;if("next"===a.operation){r=a;break}}}catch(e){n.e(e)}finally{n.f()}if(!r||!r.ref)return void(e[i.$tabIndex]=e[i.$getParent]()[i.$tabIndex]);var o=e[i.$getTemplateRoot]();e[i.$tabIndex]=++o[i.$tabIndex];var s=o[i.$searchNode](r.ref,e);if(!s)return;e=s[0]}}function N(e,t){var r=e.assist;if(r){var n=r[i.$toHTML]();n&&(t.title=n);var a=r.role.match(w);if(a){var o=a[1];t.role="heading",t["aria-level"]=o}}if("table"===e.layout)t.role="table";else if("row"===e.layout)t.role="row";else{var s,c=e[i.$getParent]();"row"===c.layout&&(t.role="TH"===(null===(s=c.assist)||void 0===s?void 0:s.role)?"columnheader":"cell")}}function D(e){if(!e.assist)return null;var t=e.assist;return t.speak&&""!==t.speak[i.$content]?t.speak[i.$content]:t.toolTip?t.toolTip[i.$content]:null}function B(e){return l.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:e}]})}function L(e){var t=e[i.$getTemplateRoot]();null===t[i.$extra].firstUnsplittable&&(t[i.$extra].firstUnsplittable=e,t[i.$extra].noLayoutFailure=!0)}function _(e){var t=e[i.$getTemplateRoot]();t[i.$extra].firstUnsplittable===e&&(t[i.$extra].noLayoutFailure=!1)}function j(e){if(e[i.$extra])return!1;if(e[i.$extra]=Object.create(null),"auto"===e.targetType)return!1;var t=e[i.$getTemplateRoot](),r=null;if(e.target){if(!(r=t[i.$searchNode](e.target,e[i.$getParent]())))return!1;r=r[0]}var n=t[i.$extra],a=n.currentPageArea,o=n.currentContentArea;if("pageArea"===e.targetType)return r instanceof ut||(r=null),e.startNew?(e[i.$extra].target=r||a,!0):!(!r||r===a||(e[i.$extra].target=r,0));r instanceof le||(r=null);var s,c=r&&r[i.$getParent](),u=c;if(e.startNew)if(r){var l=c.contentArea.children,h=l.indexOf(o),f=l.indexOf(r);-1!==h&&h<f&&(u=null),s=f-1}else s=a.contentArea.children.indexOf(o);else{if(!r||r===o)return!1;s=c.contentArea.children.indexOf(r)-1,u=c===a?null:c}return e[i.$extra].target=u,e[i.$extra].index=s,!0}function U(e,t,r){var n=e[i.$getTemplateRoot](),a=n[i.$extra].noLayoutFailure,o=t[i.$getSubformParent];t[i.$getSubformParent]=function(){return e},n[i.$extra].noLayoutFailure=!0;var s=t[i.$toHTML](r);e[i.$addHTML](s.html,s.bbox),n[i.$extra].noLayoutFailure=a,t[i.$getSubformParent]=o}var $=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"appearanceFilter"])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.StringObject),X=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"arc",!0])).circular=(0,l.getInteger)({data:e.circular,defaultValue:0,validate:function(e){return 1===e}}),t.hand=(0,l.getStringOption)(e.hand,["even","left","right"]),t.id=e.id||"",t.startAngle=(0,l.getFloat)({data:e.startAngle,defaultValue:0,validate:function(e){return!0}}),t.sweepAngle=(0,l.getFloat)({data:e.sweepAngle,defaultValue:360,validate:function(e){return!0}}),t.use=e.use||"",t.usehref=e.usehref||"",t.edge=null,t.fill=null,t}return y(r,e),P(r,[{key:t,value:function(){var e,t,r=this.edge||new ke({}),n=r[i.$toStyle](),a=Object.create(null);"visible"===(null===(e=this.fill)||void 0===e?void 0:e.presence)?Object.assign(a,this.fill[i.$toStyle]()):a.fill="transparent",a.strokeWidth=(0,c.measureToString)("visible"===r.presence?r.thickness:0),a.stroke=n.color;var o={xmlns:b,style:{width:"100%",height:"100%",overflow:"visible"}};if(360===this.sweepAngle)t={name:"ellipse",attributes:{xmlns:b,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:a}};else{var s=this.startAngle*Math.PI/180,u=this.sweepAngle*Math.PI/180,h=this.sweepAngle>180?1:0,f=50*(1+Math.cos(s)),d=50*(1-Math.sin(s)),p=50*(1+Math.cos(s+u)),g=50*(1-Math.sin(s+u));t={name:"path",attributes:{xmlns:b,d:"M ".concat(f," ").concat(d," A 50 50 0 ").concat(h," 0 ").concat(p," ").concat(g),vectorEffect:"non-scaling-stroke",style:a}},Object.assign(o,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}var v={name:"svg",children:[t],attributes:o};return F(this[i.$getParent]()[i.$getParent]())?l.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[v]}):(v.attributes.style.position="absolute",l.HTMLResult.success(v))}}]),r}(u.XFAObject,i.$toHTML),H=function(e,t,r,n,a,o,s){function h(e){var t;return M(this,h),(t=d(this,h,[v,"area",!0])).colSpan=(0,l.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),t.id=e.id||"",t.name=e.name||"",t.relevant=(0,l.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.x=(0,l.getMeasurement)(e.x,"0pt"),t.y=(0,l.getMeasurement)(e.y,"0pt"),t.desc=null,t.extras=null,t.area=new u.XFAObjectArray,t.draw=new u.XFAObjectArray,t.exObject=new u.XFAObjectArray,t.exclGroup=new u.XFAObjectArray,t.field=new u.XFAObjectArray,t.subform=new u.XFAObjectArray,t.subformSet=new u.XFAObjectArray,t}return y(h,e),P(h,[{key:t,value:k().mark((function e(){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(T(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:r,value:function(){return!0}},{key:n,value:function(){return!0}},{key:a,value:function(e,t){var r=S(t,4),n=r[0],a=r[1],o=r[2],s=r[3];this[i.$extra].width=Math.max(this[i.$extra].width,n+o),this[i.$extra].height=Math.max(this[i.$extra].height,a+s),this[i.$extra].children.push(e)}},{key:o,value:function(){return this[i.$extra].availableSpace}},{key:s,value:function(e){var t=(0,c.toStyle)(this,"position"),r={style:t,id:this[i.$uid],class:["xfaArea"]};(0,c.isPrintOnly)(this)&&r.class.push("xfaPrintOnly"),this.name&&(r.xfaName=this.name);var n=[];this[i.$extra]={children:n,width:0,height:0,availableSpace:e};var a=this[i.$childrenToHTML]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!a.success)return a.isBreak()?a:(delete this[i.$extra],l.HTMLResult.FAILURE);t.width=(0,c.measureToString)(this[i.$extra].width),t.height=(0,c.measureToString)(this[i.$extra].height);var o={name:"div",attributes:r,children:n},s=[this.x,this.y,this[i.$extra].width,this[i.$extra].height];return delete this[i.$extra],l.HTMLResult.success(o,s)}}]),h}(u.XFAObject,i.$getContainedChildren,i.$isTransparent,i.$isBindable,i.$addHTML,i.$getAvailableSpace,i.$toHTML),q=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"assist",!0])).id=e.id||"",t.role=e.role||"",t.use=e.use||"",t.usehref=e.usehref||"",t.speak=null,t.toolTip=null,t}return y(r,e),P(r,[{key:t,value:function(){var e;return(null===(e=this.toolTip)||void 0===e?void 0:e[i.$content])||null}}]),r}(u.XFAObject,i.$toHTML),z=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"barcode",!0])).charEncoding=(0,l.getKeyword)({data:e.charEncoding?e.charEncoding.toLowerCase():"",defaultValue:"",validate:function(e){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\d{2}/)}}),r.checksum=(0,l.getStringOption)(e.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),r.dataColumnCount=(0,l.getInteger)({data:e.dataColumnCount,defaultValue:-1,validate:function(e){return e>=0}}),r.dataLength=(0,l.getInteger)({data:e.dataLength,defaultValue:-1,validate:function(e){return e>=0}}),r.dataPrep=(0,l.getStringOption)(e.dataPrep,["none","flateCompress"]),r.dataRowCount=(0,l.getInteger)({data:e.dataRowCount,defaultValue:-1,validate:function(e){return e>=0}}),r.endChar=e.endChar||"",r.errorCorrectionLevel=(0,l.getInteger)({data:e.errorCorrectionLevel,defaultValue:-1,validate:function(e){return e>=0&&e<=8}}),r.id=e.id||"",r.moduleHeight=(0,l.getMeasurement)(e.moduleHeight,"5mm"),r.moduleWidth=(0,l.getMeasurement)(e.moduleWidth,"0.25mm"),r.printCheckDigit=(0,l.getInteger)({data:e.printCheckDigit,defaultValue:0,validate:function(e){return 1===e}}),r.rowColumnRatio=(0,l.getRatio)(e.rowColumnRatio),r.startChar=e.startChar||"",r.textLocation=(0,l.getStringOption)(e.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),r.truncate=(0,l.getInteger)({data:e.truncate,defaultValue:0,validate:function(e){return 1===e}}),r.type=(0,l.getStringOption)(e.type?e.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"]),r.upsMode=(0,l.getStringOption)(e.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),r.use=e.use||"",r.usehref=e.usehref||"",r.wideNarrowRatio=(0,l.getRatio)(e.wideNarrowRatio),r.encrypt=null,r.extras=null,r}return y(t,e),P(t)}(u.XFAObject),G=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"bind",!0])).match=(0,l.getStringOption)(e.match,["once","dataRef","global","none"]),r.ref=e.ref||"",r.picture=null,r}return y(t,e),P(t)}(u.XFAObject),W=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"bindItems"])).connection=e.connection||"",r.labelRef=e.labelRef||"",r.ref=e.ref||"",r.valueRef=e.valueRef||"",r}return y(t,e),P(t)}(u.XFAObject);t.BindItems=W;var V=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"bookend"])).id=e.id||"",r.leader=e.leader||"",r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.XFAObject),K=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"boolean"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return y(r,e),P(r,[{key:t,value:function(e){return B(1===this[i.$content]?"1":"0")}}]),r}(u.Option01,i.$toHTML),Y=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[v,"border",!0])).break=(0,l.getStringOption)(e.break,["close","open"]),t.hand=(0,l.getStringOption)(e.hand,["even","left","right"]),t.id=e.id||"",t.presence=(0,l.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.relevant=(0,l.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.corner=new u.XFAObjectArray(4),t.edge=new u.XFAObjectArray(4),t.extras=null,t.fill=null,t.margin=null,t}return y(n,e),P(n,[{key:t,value:function(){if(!this[i.$extra]){var e=this.edge.children.slice();if(e.length<4)for(var t=e.at(-1)||new ke({}),r=e.length;r<4;r++)e.push(t);var n=e.map((function(e){return e.thickness})),a=[0,0,0,0];this.margin&&(a[0]=this.margin.topInset,a[1]=this.margin.rightInset,a[2]=this.margin.bottomInset,a[3]=this.margin.leftInset),this[i.$extra]={widths:n,insets:a,edges:e}}return this[i.$extra]}},{key:r,value:function(){var e,t=this[i.$getExtra]().edges.map((function(e){var t=e[i.$toStyle]();return t.color||(t.color="#000000"),t})),r=Object.create(null);if(this.margin&&Object.assign(r,this.margin[i.$toStyle]()),"visible"===(null===(e=this.fill)||void 0===e?void 0:e.presence)&&Object.assign(r,this.fill[i.$toStyle]()),this.corner.children.some((function(e){return 0!==e.radius}))){var n=this.corner.children.map((function(e){return e[i.$toStyle]()}));if(2===n.length||3===n.length)for(var a=n.at(-1),o=n.length;o<4;o++)n.push(a);r.borderRadius=n.map((function(e){return e.radius})).join(" ")}switch(this.presence){case"invisible":case"hidden":r.borderStyle="";break;case"inactive":r.borderStyle="none";break;default:r.borderStyle=t.map((function(e){return e.style})).join(" ")}return r.borderWidth=t.map((function(e){return e.width})).join(" "),r.borderColor=t.map((function(e){return e.color})).join(" "),r}}]),n}(u.XFAObject,i.$getExtra,i.$toStyle),J=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"break",!0])).after=(0,l.getStringOption)(e.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),r.afterTarget=e.afterTarget||"",r.before=(0,l.getStringOption)(e.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),r.beforeTarget=e.beforeTarget||"",r.bookendLeader=e.bookendLeader||"",r.bookendTrailer=e.bookendTrailer||"",r.id=e.id||"",r.overflowLeader=e.overflowLeader||"",r.overflowTarget=e.overflowTarget||"",r.overflowTrailer=e.overflowTrailer||"",r.startNew=(0,l.getInteger)({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return y(t,e),P(t)}(u.XFAObject),Z=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"breakAfter",!0])).id=e.id||"",r.leader=e.leader||"",r.startNew=(0,l.getInteger)({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),r.target=e.target||"",r.targetType=(0,l.getStringOption)(e.targetType,["auto","contentArea","pageArea"]),r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r.script=null,r}return y(t,e),P(t)}(u.XFAObject),Q=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"breakBefore",!0])).id=e.id||"",t.leader=e.leader||"",t.startNew=(0,l.getInteger)({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),t.target=e.target||"",t.targetType=(0,l.getStringOption)(e.targetType,["auto","contentArea","pageArea"]),t.trailer=e.trailer||"",t.use=e.use||"",t.usehref=e.usehref||"",t.script=null,t}return y(r,e),P(r,[{key:t,value:function(e){return this[i.$extra]={},l.HTMLResult.FAILURE}}]),r}(u.XFAObject,i.$toHTML),ee=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"button",!0])).highlight=(0,l.getStringOption)(e.highlight,["inverted","none","outline","push"]),t.id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t}return y(r,e),P(r,[{key:t,value:function(e){var t,r=this[i.$getParent]()[i.$getParent](),n={name:"button",attributes:{id:this[i.$uid],class:["xfaButton"],style:{}},children:[]},a=x(r.event.children);try{for(a.s();!(t=a.n()).done;){var o=t.value;if("click"===o.activity&&o.script){var s=(0,p.recoverJsURL)(o.script[i.$content]);if(s){var u=(0,c.fixURL)(s.url);u&&n.children.push({name:"a",attributes:{id:"link"+this[i.$uid],href:u,newWindow:s.newWindow,class:["xfaLink"],style:{}},children:[]})}}}}catch(e){a.e(e)}finally{a.f()}return l.HTMLResult.success(n)}}]),r}(u.XFAObject,i.$toHTML),te=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"calculate",!0])).id=e.id||"",r.override=(0,l.getStringOption)(e.override,["disabled","error","ignore","warning"]),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.message=null,r.script=null,r}return y(t,e),P(t)}(u.XFAObject),re=function(e,t,r,n){function a(e){var t;return M(this,a),(t=d(this,a,[v,"caption",!0])).id=e.id||"",t.placement=(0,l.getStringOption)(e.placement,["left","bottom","inline","right","top"]),t.presence=(0,l.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.reserve=Math.ceil((0,l.getMeasurement)(e.reserve)),t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t.font=null,t.margin=null,t.para=null,t.value=null,t}return y(a,e),P(a,[{key:t,value:function(e){I(this,e)}},{key:r,value:function(e){if(!this[i.$extra]){var t=e.width,r=e.height;switch(this.placement){case"left":case"right":case"inline":t=this.reserve<=0?t:this.reserve;break;case"top":case"bottom":r=this.reserve<=0?r:this.reserve}this[i.$extra]=(0,c.layoutNode)(this,{width:t,height:r})}return this[i.$extra]}},{key:n,value:function(e){if(!this.value)return l.HTMLResult.EMPTY;this[i.$pushPara]();var t=this.value[i.$toHTML](e).html;if(!t)return this[i.$popPara](),l.HTMLResult.EMPTY;var r=this.reserve;if(this.reserve<=0){var n=this[i.$getExtra](e),a=n.w,o=n.h;switch(this.placement){case"left":case"right":case"inline":this.reserve=a;break;case"top":case"bottom":this.reserve=o}}var s=[];"string"==typeof t?s.push({name:"#text",value:t}):s.push(t);var u=(0,c.toStyle)(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(u.width=(0,c.measureToString)(this.reserve));break;case"top":case"bottom":this.reserve>0&&(u.height=(0,c.measureToString)(this.reserve))}return(0,c.setPara)(this,null,t),this[i.$popPara](),this.reserve=r,l.HTMLResult.success({name:"div",attributes:{style:u,class:["xfaCaption"]},children:s})}}]),a}(u.XFAObject,i.$setValue,i.$getExtra,i.$toHTML),ne=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"certificate"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.StringObject),ae=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"certificates",!0])).credentialServerPolicy=(0,l.getStringOption)(e.credentialServerPolicy,["optional","required"]),r.id=e.id||"",r.url=e.url||"",r.urlPolicy=e.urlPolicy||"",r.use=e.use||"",r.usehref=e.usehref||"",r.encryption=null,r.issuers=null,r.keyUsage=null,r.oids=null,r.signing=null,r.subjectDNs=null,r}return y(t,e),P(t)}(u.XFAObject),ie=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"checkButton",!0])).id=e.id||"",t.mark=(0,l.getStringOption)(e.mark,["default","check","circle","cross","diamond","square","star"]),t.shape=(0,l.getStringOption)(e.shape,["square","round"]),t.size=(0,l.getMeasurement)(e.size,"10pt"),t.use=e.use||"",t.usehref=e.usehref||"",t.border=null,t.extras=null,t.margin=null,t}return y(r,e),P(r,[{key:t,value:function(e){var t,r,n,a,o=(0,c.toStyle)("margin"),s=(0,c.measureToString)(this.size);o.width=o.height=s;var u,h,f,d=this[i.$getParent]()[i.$getParent](),p=d.items.children.length&&d.items.children[0][i.$toHTML]().html||[],g={on:(void 0!==p[0]?p[0]:"on").toString(),off:(void 0!==p[1]?p[1]:"off").toString()},v=((null===(t=d.value)||void 0===t?void 0:t[i.$text]())||"off")===g.on||void 0,m=d[i.$getSubformParent](),y=d[i.$uid];m instanceof Pe?(a=m[i.$uid],r="radio",n="xfaRadio",u=(null===(h=m[i.$data])||void 0===h?void 0:h[i.$uid])||m[i.$uid]):(r="checkbox",n="xfaCheckbox",u=(null===(f=d[i.$data])||void 0===f?void 0:f[i.$uid])||d[i.$uid]);var b={name:"input",attributes:{class:[n],style:o,fieldId:y,dataId:u,type:r,checked:v,xfaOn:g.on,xfaOff:g.off,"aria-label":D(d),"aria-required":!1}};return a&&(b.attributes.name=a),E(d)&&(b.attributes["aria-required"]=!0,b.attributes.required=!0),l.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[b]})}}]),r}(u.XFAObject,i.$toHTML),oe=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"choiceList",!0])).commitOn=(0,l.getStringOption)(e.commitOn,["select","exit"]),t.id=e.id||"",t.open=(0,l.getStringOption)(e.open,["userControl","always","multiSelect","onEntry"]),t.textEntry=(0,l.getInteger)({data:e.textEntry,defaultValue:0,validate:function(e){return 1===e}}),t.use=e.use||"",t.usehref=e.usehref||"",t.border=null,t.extras=null,t.margin=null,t}return y(r,e),P(r,[{key:t,value:function(e){var t,r,n=(0,c.toStyle)(this,"border","margin"),a=this[i.$getParent]()[i.$getParent](),o={fontSize:"calc(".concat((null===(t=a.font)||void 0===t?void 0:t.size)||10,"px * var(--scale-factor))")},s=[];if(a.items.children.length>0){var u,h=a.items,f=0,d=0;2===h.children.length&&(d=1-(f=h.children[0].save));for(var p=h.children[f][i.$toHTML]().html,g=h.children[d][i.$toHTML]().html,v=!1,m=(null===(u=a.value)||void 0===u?void 0:u[i.$text]())||"",y=0,b=p.length;y<b;y++){var w={name:"option",attributes:{value:g[y]||p[y],style:o},value:p[y]};g[y]===m&&(w.attributes.selected=v=!0),s.push(w)}v||s.splice(0,0,{name:"option",attributes:{hidden:!0,selected:!0},value:" "})}var k={class:["xfaSelect"],fieldId:a[i.$uid],dataId:(null===(r=a[i.$data])||void 0===r?void 0:r[i.$uid])||a[i.$uid],style:n,"aria-label":D(a),"aria-required":!1};return E(a)&&(k["aria-required"]=!0,k.required=!0),"multiSelect"===this.open&&(k.multiple=!0),l.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[{name:"select",children:s,attributes:k}]})}}]),r}(u.XFAObject,i.$toHTML),se=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[v,"color",!0])).cSpace=(0,l.getStringOption)(e.cSpace,["SRGB"]),t.id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.value=e.value?(0,l.getColor)(e.value):"",t.extras=null,t}return y(n,e),P(n,[{key:t,value:function(){return!1}},{key:r,value:function(){return this.value?h.Util.makeHexColor(this.value.r,this.value.g,this.value.b):null}}]),n}(u.XFAObject,i.$hasSettableValue,i.$toStyle),ce=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"comb"])).id=e.id||"",r.numberOfCells=(0,l.getInteger)({data:e.numberOfCells,defaultValue:0,validate:function(e){return e>=0}}),r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.XFAObject),ue=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"connect",!0])).connection=e.connection||"",r.id=e.id||"",r.ref=e.ref||"",r.usage=(0,l.getStringOption)(e.usage,["exportAndImport","exportOnly","importOnly"]),r.use=e.use||"",r.usehref=e.usehref||"",r.picture=null,r}return y(t,e),P(t)}(u.XFAObject),le=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"contentArea",!0])).h=(0,l.getMeasurement)(e.h),t.id=e.id||"",t.name=e.name||"",t.relevant=(0,l.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.w=(0,l.getMeasurement)(e.w),t.x=(0,l.getMeasurement)(e.x,"0pt"),t.y=(0,l.getMeasurement)(e.y,"0pt"),t.desc=null,t.extras=null,t}return y(r,e),P(r,[{key:t,value:function(e){var t={left:(0,c.measureToString)(this.x),top:(0,c.measureToString)(this.y),width:(0,c.measureToString)(this.w),height:(0,c.measureToString)(this.h)},r=["xfaContentarea"];return(0,c.isPrintOnly)(this)&&r.push("xfaPrintOnly"),l.HTMLResult.success({name:"div",children:[],attributes:{style:t,class:r,id:this[i.$uid]}})}}]),r}(u.XFAObject,i.$toHTML),he=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"corner",!0])).id=e.id||"",t.inverted=(0,l.getInteger)({data:e.inverted,defaultValue:0,validate:function(e){return 1===e}}),t.join=(0,l.getStringOption)(e.join,["square","round"]),t.presence=(0,l.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.radius=(0,l.getMeasurement)(e.radius),t.stroke=(0,l.getStringOption)(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),t.thickness=(0,l.getMeasurement)(e.thickness,"0.5pt"),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}return y(r,e),P(r,[{key:t,value:function(){var e=(0,c.toStyle)(this,"visibility");return e.radius=(0,c.measureToString)("square"===this.join?0:this.radius),e}}]),r}(u.XFAObject,i.$toStyle),fe=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[v,"date"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return y(n,e),P(n,[{key:t,value:function(){var e=this[i.$content].trim();this[i.$content]=e?new Date(e):null}},{key:r,value:function(e){return B(this[i.$content]?this[i.$content].toString():"")}}]),n}(u.ContentObject,i.$finalize,i.$toHTML),de=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[v,"dateTime"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return y(n,e),P(n,[{key:t,value:function(){var e=this[i.$content].trim();this[i.$content]=e?new Date(e):null}},{key:r,value:function(e){return B(this[i.$content]?this[i.$content].toString():"")}}]),n}(u.ContentObject,i.$finalize,i.$toHTML),pe=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"dateTimeEdit",!0])).hScrollPolicy=(0,l.getStringOption)(e.hScrollPolicy,["auto","off","on"]),t.id=e.id||"",t.picker=(0,l.getStringOption)(e.picker,["host","none"]),t.use=e.use||"",t.usehref=e.usehref||"",t.border=null,t.comb=null,t.extras=null,t.margin=null,t}return y(r,e),P(r,[{key:t,value:function(e){var t,r=(0,c.toStyle)(this,"border","font","margin"),n=this[i.$getParent]()[i.$getParent](),a={name:"input",attributes:{type:"text",fieldId:n[i.$uid],dataId:(null===(t=n[i.$data])||void 0===t?void 0:t[i.$uid])||n[i.$uid],class:["xfaTextfield"],style:r,"aria-label":D(n),"aria-required":!1}};return E(n)&&(a.attributes["aria-required"]=!0,a.attributes.required=!0),l.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[a]})}}]),r}(u.XFAObject,i.$toHTML),ge=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[v,"decimal"])).fracDigits=(0,l.getInteger)({data:e.fracDigits,defaultValue:2,validate:function(e){return!0}}),t.id=e.id||"",t.leadDigits=(0,l.getInteger)({data:e.leadDigits,defaultValue:-1,validate:function(e){return!0}}),t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return y(n,e),P(n,[{key:t,value:function(){var e=parseFloat(this[i.$content].trim());this[i.$content]=isNaN(e)?null:e}},{key:r,value:function(e){return B(null!==this[i.$content]?this[i.$content].toString():"")}}]),n}(u.ContentObject,i.$finalize,i.$toHTML),ve=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"defaultUi",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return y(t,e),P(t)}(u.XFAObject),me=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"desc",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new u.XFAObjectArray,r.date=new u.XFAObjectArray,r.dateTime=new u.XFAObjectArray,r.decimal=new u.XFAObjectArray,r.exData=new u.XFAObjectArray,r.float=new u.XFAObjectArray,r.image=new u.XFAObjectArray,r.integer=new u.XFAObjectArray,r.text=new u.XFAObjectArray,r.time=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),ye=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.OptionObject),be=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"digestMethods",!0])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.digestMethod=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),we=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[v,"draw",!0])).anchorType=(0,l.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=(0,l.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),t.h=e.h?(0,l.getMeasurement)(e.h):"",t.hAlign=(0,l.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=e.id||"",t.locale=e.locale||"",t.maxH=(0,l.getMeasurement)(e.maxH,"0pt"),t.maxW=(0,l.getMeasurement)(e.maxW,"0pt"),t.minH=(0,l.getMeasurement)(e.minH,"0pt"),t.minW=(0,l.getMeasurement)(e.minW,"0pt"),t.name=e.name||"",t.presence=(0,l.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.relevant=(0,l.getRelevant)(e.relevant),t.rotate=(0,l.getInteger)({data:e.rotate,defaultValue:0,validate:function(e){return e%90==0}}),t.use=e.use||"",t.usehref=e.usehref||"",t.w=e.w?(0,l.getMeasurement)(e.w):"",t.x=(0,l.getMeasurement)(e.x,"0pt"),t.y=(0,l.getMeasurement)(e.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 u.XFAObjectArray,t}return y(n,e),P(n,[{key:t,value:function(e){I(this,e)}},{key:r,value:function(e){if(R(this),"hidden"===this.presence||"inactive"===this.presence)return l.HTMLResult.EMPTY;(0,c.fixDimensions)(this),this[i.$pushPara]();var t=this.w,r=this.h,n=(0,c.layoutNode)(this,e),a=n.w,o=n.h,u=n.isBroken;if(a&&""===this.w){if(u&&this[i.$getSubformParent]()[i.$isThereMoreWidth]())return this[i.$popPara](),l.HTMLResult.FAILURE;this.w=a}if(o&&""===this.h&&(this.h=o),L(this),!(0,s.checkDimensions)(this,e))return this.w=t,this.h=r,this[i.$popPara](),l.HTMLResult.FAILURE;_(this);var h=(0,c.toStyle)(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");(0,c.setMinMaxDimensions)(this,h),h.margin&&(h.padding=h.margin,delete h.margin);var f=["xfaDraw"];this.font&&f.push("xfaFont"),(0,c.isPrintOnly)(this)&&f.push("xfaPrintOnly");var d={style:h,id:this[i.$uid],class:f};this.name&&(d.xfaName=this.name);var p={name:"div",attributes:d,children:[]};N(this,d);var g=(0,c.computeBbox)(this,p,e),v=this.value?this.value[i.$toHTML](e).html:null;return null===v?(this.w=t,this.h=r,this[i.$popPara](),l.HTMLResult.success((0,c.createWrapper)(this,p),g)):(p.children.push(v),(0,c.setPara)(this,h,v),this.w=t,this.h=r,this[i.$popPara](),l.HTMLResult.success((0,c.createWrapper)(this,p),g))}}]),n}(u.XFAObject,i.$setValue,i.$toHTML),ke=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"edge",!0])).cap=(0,l.getStringOption)(e.cap,["square","butt","round"]),t.id=e.id||"",t.presence=(0,l.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.stroke=(0,l.getStringOption)(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),t.thickness=(0,l.getMeasurement)(e.thickness,"0.5pt"),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}return y(r,e),P(r,[{key:t,value:function(){var e=(0,c.toStyle)(this,"visibility");if(Object.assign(e,{linecap:this.cap,width:(0,c.measureToString)(this.thickness),color:this.color?this.color[i.$toStyle]():"#000000",style:""}),"visible"!==this.presence)e.style="none";else switch(this.stroke){case"solid":e.style="solid";break;case"dashDot":case"dashDotDot":case"dashed":e.style="dashed";break;case"dotted":e.style="dotted";break;case"embossed":e.style="ridge";break;case"etched":e.style="groove";break;case"lowered":e.style="inset";break;case"raised":e.style="outset"}return e}}]),r}(u.XFAObject,i.$toStyle),xe=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.OptionObject),Se=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"encodings",!0])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.encoding=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),Ae=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"encrypt",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=null,r}return y(t,e),P(t)}(u.XFAObject),Ce=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"encryptData",!0])).id=e.id||"",r.operation=(0,l.getStringOption)(e.operation,["encrypt","decrypt"]),r.target=e.target||"",r.use=e.use||"",r.usehref=e.usehref||"",r.filter=null,r.manifest=null,r}return y(t,e),P(t)}(u.XFAObject),Oe=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"encryption",!0])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),Fe=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.OptionObject),Ie=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"encryptionMethods",!0])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.encryptionMethod=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),Te=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"event",!0])).activity=(0,l.getStringOption)(e.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"]),r.id=e.id||"",r.listen=(0,l.getStringOption)(e.listen,["refOnly","refAndDescendents"]),r.name=e.name||"",r.ref=e.ref||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.encryptData=null,r.execute=null,r.script=null,r.signData=null,r.submit=null,r}return y(t,e),P(t)}(u.XFAObject),Me=function(e,t,r,n){function a(e){var t;return M(this,a),(t=d(this,a,[v,"exData"])).contentType=e.contentType||"",t.href=e.href||"",t.id=e.id||"",t.maxLength=(0,l.getInteger)({data:e.maxLength,defaultValue:-1,validate:function(e){return e>=-1}}),t.name=e.name||"",t.rid=e.rid||"",t.transferEncoding=(0,l.getStringOption)(e.transferEncoding,["none","base64","package"]),t.use=e.use||"",t.usehref=e.usehref||"",t}return y(a,e),P(a,[{key:t,value:function(){return"text/html"===this.contentType}},{key:r,value:function(e){return("text/html"===this.contentType&&e[i.$namespaceId]===o.NamespaceIds.xhtml.id||"text/xml"===this.contentType)&&(this[i.$content]=e,!0)}},{key:n,value:function(e){return"text/html"===this.contentType&&this[i.$content]?this[i.$content][i.$toHTML](e):l.HTMLResult.EMPTY}}]),a}(u.ContentObject,i.$isCDATAXml,i.$onChild,i.$toHTML),Ee=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"exObject",!0])).archive=e.archive||"",r.classId=e.classId||"",r.codeBase=e.codeBase||"",r.codeType=e.codeType||"",r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.boolean=new u.XFAObjectArray,r.date=new u.XFAObjectArray,r.dateTime=new u.XFAObjectArray,r.decimal=new u.XFAObjectArray,r.exData=new u.XFAObjectArray,r.exObject=new u.XFAObjectArray,r.float=new u.XFAObjectArray,r.image=new u.XFAObjectArray,r.integer=new u.XFAObjectArray,r.text=new u.XFAObjectArray,r.time=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),Pe=function(e,t,r,n,a,o,h,f,p,g){function m(e){var t;return M(this,m),(t=d(this,m,[v,"exclGroup",!0])).access=(0,l.getStringOption)(e.access,["open","nonInteractive","protected","readOnly"]),t.accessKey=e.accessKey||"",t.anchorType=(0,l.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=(0,l.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),t.h=e.h?(0,l.getMeasurement)(e.h):"",t.hAlign=(0,l.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=e.id||"",t.layout=(0,l.getStringOption)(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),t.maxH=(0,l.getMeasurement)(e.maxH,"0pt"),t.maxW=(0,l.getMeasurement)(e.maxW,"0pt"),t.minH=(0,l.getMeasurement)(e.minH,"0pt"),t.minW=(0,l.getMeasurement)(e.minW,"0pt"),t.name=e.name||"",t.presence=(0,l.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.relevant=(0,l.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.w=e.w?(0,l.getMeasurement)(e.w):"",t.x=(0,l.getMeasurement)(e.x,"0pt"),t.y=(0,l.getMeasurement)(e.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 u.XFAObjectArray,t.event=new u.XFAObjectArray,t.field=new u.XFAObjectArray,t.setProperty=new u.XFAObjectArray,t}return y(m,e),P(m,[{key:t,value:function(){return!0}},{key:r,value:function(){return!0}},{key:n,value:function(e){var t,r=x(this.field.children);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(!n.value){var a=new qt({});n[i.$appendChild](a),n.value=a}n.value[i.$setValue](e)}}catch(e){r.e(e)}finally{r.f()}}},{key:a,value:function(){return this.layout.endsWith("-tb")&&0===this[i.$extra].attempt&&this[i.$extra].numberInLine>0||this[i.$getParent]()[i.$isThereMoreWidth]()}},{key:o,value:function(){var e,t=this[i.$getSubformParent]();return!!t[i.$isSplittable]()&&(void 0!==this[i.$extra]._isSplittable?this[i.$extra]._isSplittable:"position"===this.layout||this.layout.includes("row")?(this[i.$extra]._isSplittable=!1,!1):!(null!==(e=t.layout)&&void 0!==e&&e.endsWith("-tb")&&0!==t[i.$extra].numberInLine||(this[i.$extra]._isSplittable=!0,0)))}},{key:h,value:function(){return(0,s.flushHTML)(this)}},{key:f,value:function(e,t){(0,s.addHTML)(this,e,t)}},{key:p,value:function(){return(0,s.getAvailableSpace)(this)}},{key:g,value:function(e){if(R(this),"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return l.HTMLResult.EMPTY;(0,c.fixDimensions)(this);var t=[],r={id:this[i.$uid],class:[]};(0,c.setAccess)(this,r.class),this[i.$extra]||(this[i.$extra]=Object.create(null)),Object.assign(this[i.$extra],{children:t,attributes:r,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});var n=this[i.$isSplittable]();if(n||L(this),!(0,s.checkDimensions)(this,e))return l.HTMLResult.FAILURE;var a=new Set(["field"]);if(this.layout.includes("row")){var o=this[i.$getSubformParent]().columnWidths;Array.isArray(o)&&o.length>0&&(this[i.$extra].columnWidths=o,this[i.$extra].currentColumn=0)}var u=(0,c.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),h=["xfaExclgroup"],f=(0,c.layoutClass)(this);f&&h.push(f),(0,c.isPrintOnly)(this)&&h.push("xfaPrintOnly"),r.style=u,r.class=h,this.name&&(r.xfaName=this.name),this[i.$pushPara]();for(var d="lr-tb"===this.layout||"rl-tb"===this.layout,p=d?2:1;this[i.$extra].attempt<p;this[i.$extra].attempt++){d&&1===this[i.$extra].attempt&&(this[i.$extra].numberInLine=0);var g=this[i.$childrenToHTML]({filter:a,include:!0});if(g.success)break;if(g.isBreak())return this[i.$popPara](),g;if(d&&0===this[i.$extra].attempt&&0===this[i.$extra].numberInLine&&!this[i.$getTemplateRoot]()[i.$extra].noLayoutFailure){this[i.$extra].attempt=p;break}}if(this[i.$popPara](),n||_(this),this[i.$extra].attempt===p)return n||delete this[i.$extra],l.HTMLResult.FAILURE;var v=0,m=0;this.margin&&(v=this.margin.leftInset+this.margin.rightInset,m=this.margin.topInset+this.margin.bottomInset);var y=Math.max(this[i.$extra].width+v,this.w||0),b=Math.max(this[i.$extra].height+m,this.h||0),w=[this.x,this.y,y,b];""===this.w&&(u.width=(0,c.measureToString)(y)),""===this.h&&(u.height=(0,c.measureToString)(b));var k={name:"div",attributes:r,children:t};return N(this,r),delete this[i.$extra],l.HTMLResult.success((0,c.createWrapper)(this,k),w)}}]),m}(u.XFAObject,i.$isBindable,i.$hasSettableValue,i.$setValue,i.$isThereMoreWidth,i.$isSplittable,i.$flushHTML,i.$addHTML,i.$getAvailableSpace,i.$toHTML),Re=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"execute"])).connection=e.connection||"",r.executeType=(0,l.getStringOption)(e.executeType,["import","remerge"]),r.id=e.id||"",r.runAt=(0,l.getStringOption)(e.runAt,["client","both","server"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.XFAObject),Ne=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"extras",!0])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new u.XFAObjectArray,r.date=new u.XFAObjectArray,r.dateTime=new u.XFAObjectArray,r.decimal=new u.XFAObjectArray,r.exData=new u.XFAObjectArray,r.extras=new u.XFAObjectArray,r.float=new u.XFAObjectArray,r.image=new u.XFAObjectArray,r.integer=new u.XFAObjectArray,r.text=new u.XFAObjectArray,r.time=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),De=function(e,t,r,n){function a(e){var t;return M(this,a),(t=d(this,a,[v,"field",!0])).access=(0,l.getStringOption)(e.access,["open","nonInteractive","protected","readOnly"]),t.accessKey=e.accessKey||"",t.anchorType=(0,l.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=(0,l.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),t.h=e.h?(0,l.getMeasurement)(e.h):"",t.hAlign=(0,l.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=e.id||"",t.locale=e.locale||"",t.maxH=(0,l.getMeasurement)(e.maxH,"0pt"),t.maxW=(0,l.getMeasurement)(e.maxW,"0pt"),t.minH=(0,l.getMeasurement)(e.minH,"0pt"),t.minW=(0,l.getMeasurement)(e.minW,"0pt"),t.name=e.name||"",t.presence=(0,l.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.relevant=(0,l.getRelevant)(e.relevant),t.rotate=(0,l.getInteger)({data:e.rotate,defaultValue:0,validate:function(e){return e%90==0}}),t.use=e.use||"",t.usehref=e.usehref||"",t.w=e.w?(0,l.getMeasurement)(e.w):"",t.x=(0,l.getMeasurement)(e.x,"0pt"),t.y=(0,l.getMeasurement)(e.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 u.XFAObjectArray(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 u.XFAObjectArray,t.connect=new u.XFAObjectArray,t.event=new u.XFAObjectArray,t.setProperty=new u.XFAObjectArray,t}return y(a,e),P(a,[{key:t,value:function(){return!0}},{key:r,value:function(e){I(this,e)}},{key:n,value:function(e){var t,r;if(R(this),!this.ui){var n;switch(this.ui=new Xt({}),this.ui[i.$globalData]=this[i.$globalData],this[i.$appendChild](this.ui),this.items.children.length){case 0:n=new Bt({}),this.ui.textEdit=n;break;case 1:n=new ie({}),this.ui.checkButton=n;break;case 2:n=new oe({}),this.ui.choiceList=n}this.ui[i.$appendChild](n)}if(!this.ui||"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return l.HTMLResult.EMPTY;this.caption&&delete this.caption[i.$extra],this[i.$pushPara]();var a=this.caption?this.caption[i.$toHTML](e).html:null,o=this.w,u=this.h,h=0,d=0;this.margin&&(h=this.margin.leftInset+this.margin.rightInset,d=this.margin.topInset+this.margin.bottomInset);var p=null;if(""===this.w||""===this.h){var g=null,v=null,m=0,y=0;if(this.ui.checkButton)m=y=this.ui.checkButton.size;else{var b=(0,c.layoutNode)(this,e),w=b.w,k=b.h;null!==w?(m=w,y=k):y=(0,f.getMetrics)(this.font,!0).lineNoGap}if(m+=(p=O(this.ui[i.$getExtra]())).w,y+=p.h,this.caption){var x=this.caption[i.$getExtra](e),A=x.w,C=x.h;if(x.isBroken&&this[i.$getSubformParent]()[i.$isThereMoreWidth]())return this[i.$popPara](),l.HTMLResult.FAILURE;switch(g=A,v=C,this.caption.placement){case"left":case"right":case"inline":g+=m;break;case"top":case"bottom":v+=y}}else g=m,v=y;g&&""===this.w&&(g+=h,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1<g?g:this.minW)),v&&""===this.h&&(v+=d,this.h=Math.min(this.maxH<=0?1/0:this.maxH,this.minH+1<v?v:this.minH))}if(this[i.$popPara](),(0,c.fixDimensions)(this),L(this),!(0,s.checkDimensions)(this,e))return this.w=o,this.h=u,this[i.$popPara](),l.HTMLResult.FAILURE;_(this);var F=(0,c.toStyle)(this,"font","dimensions","position","rotate","anchorType","presence","margin","hAlign");(0,c.setMinMaxDimensions)(this,F);var I=["xfaField"];this.font&&I.push("xfaFont"),(0,c.isPrintOnly)(this)&&I.push("xfaPrintOnly");var T={style:F,id:this[i.$uid],class:I};F.margin&&(F.padding=F.margin,delete F.margin),(0,c.setAccess)(this,I),this.name&&(T.xfaName=this.name);var M=[],E={name:"div",attributes:T,children:M};N(this,T);var P=this.border?this.border[i.$toStyle]():null,D=(0,c.computeBbox)(this,E,e),B=this.ui[i.$toHTML]().html;if(!B)return Object.assign(F,P),l.HTMLResult.success((0,c.createWrapper)(this,E),D);this[i.$tabIndex]&&(null!==(t=B.children)&&void 0!==t&&t[0]?B.children[0].attributes.tabindex=this[i.$tabIndex]:B.attributes.tabindex=this[i.$tabIndex]),B.attributes.style||(B.attributes.style=Object.create(null));var j=null;if(this.ui.button?(1===B.children.length&&(j=S(B.children.splice(0,1),1)[0]),Object.assign(B.attributes.style,P)):Object.assign(F,P),M.push(B),this.value)if(this.ui.imageEdit)B.children.push(this.value[i.$toHTML]().html);else if(!this.ui.button){var U,$="";if(this.value.exData)$=this.value.exData[i.$text]();else if(this.value.text)$=this.value.text[i.$getExtra]();else{var X=this.value[i.$toHTML]().html;null!==X&&($=X.children[0].value)}this.ui.textEdit&&(null===(U=this.value.text)||void 0===U?void 0:U.maxChars)&&(B.children[0].attributes.maxLength=this.value.text.maxChars),$&&(this.ui.numericEdit&&($=parseFloat($),$=isNaN($)?"":$.toString()),"textarea"===B.children[0].name?B.children[0].attributes.textContent=$:B.children[0].attributes.value=$)}if(!this.ui.imageEdit&&null!==(r=B.children)&&void 0!==r&&r[0]&&this.h){p=p||O(this.ui[i.$getExtra]());var H=0;if(this.caption&&["top","bottom"].includes(this.caption.placement)){(H=this.caption.reserve)<=0&&(H=this.caption[i.$getExtra](e).h);var q=this.h-H-d-p.h;B.children[0].attributes.style.height=(0,c.measureToString)(q)}else B.children[0].attributes.style.height="100%"}if(j&&B.children.push(j),!a)return B.attributes.class&&B.attributes.class.push("xfaLeft"),this.w=o,this.h=u,l.HTMLResult.success((0,c.createWrapper)(this,E),D);if(this.ui.button)return F.padding&&delete F.padding,"div"===a.name&&(a.name="span"),B.children.push(a),l.HTMLResult.success(E,D);switch(this.ui.checkButton&&(a.attributes.class[0]="xfaCaptionForCheckButton"),B.attributes.class||(B.attributes.class=[]),B.children.splice(0,0,a),this.caption.placement){case"left":case"inline":B.attributes.class.push("xfaLeft");break;case"right":B.attributes.class.push("xfaRight");break;case"top":B.attributes.class.push("xfaTop");break;case"bottom":B.attributes.class.push("xfaBottom")}return this.w=o,this.h=u,l.HTMLResult.success((0,c.createWrapper)(this,E),D)}}]),a}(u.XFAObject,i.$isBindable,i.$setValue,i.$toHTML);t.Field=De;var Be=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"fill",!0])).id=e.id||"",t.presence=(0,l.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t.linear=null,t.pattern=null,t.radial=null,t.solid=null,t.stipple=null,t}return y(r,e),P(r,[{key:t,value:function(){var e,t=this[i.$getParent](),r=t[i.$getParent]()[i.$getParent](),n=Object.create(null),a="color",o=a;t instanceof Y&&(a="background-color",o="background",r instanceof Xt&&(n.backgroundColor="white")),(t instanceof bt||t instanceof X)&&(a=o="fill",n.fill="white");var s,c=x(Object.getOwnPropertyNames(this));try{for(c.s();!(s=c.n()).done;){var l=s.value;if("extras"!==l&&"color"!==l){var h=this[l];if(h instanceof u.XFAObject){var f=h[i.$toStyle](this.color);return f&&(n[f.startsWith("#")?a:o]=f),n}}}}catch(e){c.e(e)}finally{c.f()}if(null!==(e=this.color)&&void 0!==e&&e.value){var d=this.color[i.$toStyle]();n[d.startsWith("#")?a:o]=d}return n}}]),r}(u.XFAObject,i.$toStyle),Le=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"filter",!0])).addRevocationInfo=(0,l.getStringOption)(e.addRevocationInfo,["","required","optional","none"]),r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.version=(0,l.getInteger)({data:r.version,defaultValue:5,validate:function(e){return e>=1&&e<=5}}),r.appearanceFilter=null,r.certificates=null,r.digestMethods=null,r.encodings=null,r.encryptionMethods=null,r.handler=null,r.lockDocument=null,r.mdp=null,r.reasons=null,r.timeStamp=null,r}return y(t,e),P(t)}(u.XFAObject),_e=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[v,"float"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return y(n,e),P(n,[{key:t,value:function(){var e=parseFloat(this[i.$content].trim());this[i.$content]=isNaN(e)?null:e}},{key:r,value:function(e){return B(null!==this[i.$content]?this[i.$content].toString():"")}}]),n}(u.ContentObject,i.$finalize,i.$toHTML),je=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[v,"font",!0])).baselineShift=(0,l.getMeasurement)(e.baselineShift),t.fontHorizontalScale=(0,l.getFloat)({data:e.fontHorizontalScale,defaultValue:100,validate:function(e){return e>=0}}),t.fontVerticalScale=(0,l.getFloat)({data:e.fontVerticalScale,defaultValue:100,validate:function(e){return e>=0}}),t.id=e.id||"",t.kerningMode=(0,l.getStringOption)(e.kerningMode,["none","pair"]),t.letterSpacing=(0,l.getMeasurement)(e.letterSpacing,"0"),t.lineThrough=(0,l.getInteger)({data:e.lineThrough,defaultValue:0,validate:function(e){return 1===e||2===e}}),t.lineThroughPeriod=(0,l.getStringOption)(e.lineThroughPeriod,["all","word"]),t.overline=(0,l.getInteger)({data:e.overline,defaultValue:0,validate:function(e){return 1===e||2===e}}),t.overlinePeriod=(0,l.getStringOption)(e.overlinePeriod,["all","word"]),t.posture=(0,l.getStringOption)(e.posture,["normal","italic"]),t.size=(0,l.getMeasurement)(e.size,"10pt"),t.typeface=e.typeface||"Courier",t.underline=(0,l.getInteger)({data:e.underline,defaultValue:0,validate:function(e){return 1===e||2===e}}),t.underlinePeriod=(0,l.getStringOption)(e.underlinePeriod,["all","word"]),t.use=e.use||"",t.usehref=e.usehref||"",t.weight=(0,l.getStringOption)(e.weight,["normal","bold"]),t.extras=null,t.fill=null,t}return y(n,e),P(n,[{key:t,value:function(e){a(m(n.prototype),i.$clean,this).call(this,e),this[i.$globalData].usedTypefaces.add(this.typeface)}},{key:r,value:function(){var e=(0,c.toStyle)(this,"fill"),t=e.color;return t&&("#000000"===t?delete e.color:t.startsWith("#")||(e.background=t,e.backgroundClip="text",e.color="transparent")),this.baselineShift&&(e.verticalAlign=(0,c.measureToString)(this.baselineShift)),e.fontKerning="none"===this.kerningMode?"none":"normal",e.letterSpacing=(0,c.measureToString)(this.letterSpacing),0!==this.lineThrough&&(e.textDecoration="line-through",2===this.lineThrough&&(e.textDecorationStyle="double")),0!==this.overline&&(e.textDecoration="overline",2===this.overline&&(e.textDecorationStyle="double")),e.fontStyle=this.posture,e.fontSize=(0,c.measureToString)(.99*this.size),(0,c.setFontFamily)(this,this,this[i.$globalData].fontFinder,e),0!==this.underline&&(e.textDecoration="underline",2===this.underline&&(e.textDecorationStyle="double")),e.fontWeight=this.weight,e}}]),n}(u.XFAObject,i.$clean,i.$toStyle),Ue=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"format",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.picture=null,r}return y(t,e),P(t)}(u.XFAObject),$e=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"handler"])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.StringObject),Xe=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"hyphenation"])).excludeAllCaps=(0,l.getInteger)({data:e.excludeAllCaps,defaultValue:0,validate:function(e){return 1===e}}),r.excludeInitialCap=(0,l.getInteger)({data:e.excludeInitialCap,defaultValue:0,validate:function(e){return 1===e}}),r.hyphenate=(0,l.getInteger)({data:e.hyphenate,defaultValue:0,validate:function(e){return 1===e}}),r.id=e.id||"",r.pushCharacterCount=(0,l.getInteger)({data:e.pushCharacterCount,defaultValue:3,validate:function(e){return e>=0}}),r.remainCharacterCount=(0,l.getInteger)({data:e.remainCharacterCount,defaultValue:3,validate:function(e){return e>=0}}),r.use=e.use||"",r.usehref=e.usehref||"",r.wordCharacterCount=(0,l.getInteger)({data:e.wordCharacterCount,defaultValue:7,validate:function(e){return e>=0}}),r}return y(t,e),P(t)}(u.XFAObject),He=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"image"])).aspect=(0,l.getStringOption)(e.aspect,["fit","actual","height","none","width"]),t.contentType=e.contentType||"",t.href=e.href||"",t.id=e.id||"",t.name=e.name||"",t.transferEncoding=(0,l.getStringOption)(e.transferEncoding,["base64","none","package"]),t.use=e.use||"",t.usehref=e.usehref||"",t}return y(r,e),P(r,[{key:t,value:function(){if(this.contentType&&!A.has(this.contentType.toLowerCase()))return l.HTMLResult.EMPTY;var e=this[i.$globalData].images&&this[i.$globalData].images.get(this.href);if(!e&&(this.href||!this[i.$content]))return l.HTMLResult.EMPTY;if(e||"base64"!==this.transferEncoding||(e=(0,h.stringToBytes)(atob(this[i.$content]))),!e)return l.HTMLResult.EMPTY;if(!this.contentType){for(var t=0,r=C;t<r.length;t++){var n=S(r[t],2),a=n[0],o=n[1];if(e.length>a.length&&a.every((function(t,r){return t===e[r]}))){this.contentType=o;break}}if(!this.contentType)return l.HTMLResult.EMPTY}var s,c=new Blob([e],{type:this.contentType});switch(this.aspect){case"fit":case"actual":break;case"height":s={height:"100%",objectFit:"fill"};break;case"none":s={width:"100%",height:"100%",objectFit:"fill"};break;case"width":s={width:"100%",objectFit:"fill"}}var u=this[i.$getParent]();return l.HTMLResult.success({name:"img",attributes:{class:["xfaImage"],style:s,src:URL.createObjectURL(c),alt:u?D(u[i.$getParent]()):null}})}}]),r}(u.StringObject,i.$toHTML),qe=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"imageEdit",!0])).data=(0,l.getStringOption)(e.data,["link","embed"]),t.id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.border=null,t.extras=null,t.margin=null,t}return y(r,e),P(r,[{key:t,value:function(e){return"embed"===this.data?l.HTMLResult.success({name:"div",children:[],attributes:{}}):l.HTMLResult.EMPTY}}]),r}(u.XFAObject,i.$toHTML),ze=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[v,"integer"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return y(n,e),P(n,[{key:t,value:function(){var e=parseInt(this[i.$content].trim(),10);this[i.$content]=isNaN(e)?null:e}},{key:r,value:function(e){return B(null!==this[i.$content]?this[i.$content].toString():"")}}]),n}(u.ContentObject,i.$finalize,i.$toHTML),Ge=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"issuers",!0])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),We=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"items",!0])).id=e.id||"",t.name=e.name||"",t.presence=(0,l.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.ref=e.ref||"",t.save=(0,l.getInteger)({data:e.save,defaultValue:0,validate:function(e){return 1===e}}),t.use=e.use||"",t.usehref=e.usehref||"",t.boolean=new u.XFAObjectArray,t.date=new u.XFAObjectArray,t.dateTime=new u.XFAObjectArray,t.decimal=new u.XFAObjectArray,t.exData=new u.XFAObjectArray,t.float=new u.XFAObjectArray,t.image=new u.XFAObjectArray,t.integer=new u.XFAObjectArray,t.text=new u.XFAObjectArray,t.time=new u.XFAObjectArray,t}return y(r,e),P(r,[{key:t,value:function(){var e,t=[],r=x(this[i.$getChildren]());try{for(r.s();!(e=r.n()).done;){var n=e.value;t.push(n[i.$text]())}}catch(e){r.e(e)}finally{r.f()}return l.HTMLResult.success(t)}}]),r}(u.XFAObject,i.$toHTML);t.Items=We;var Ve=function(e){function t(e){var r;M(this,t),(r=d(this,t,[v,"keep",!0])).id=e.id||"";var n=["none","contentArea","pageArea"];return r.intact=(0,l.getStringOption)(e.intact,n),r.next=(0,l.getStringOption)(e.next,n),r.previous=(0,l.getStringOption)(e.previous,n),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return y(t,e),P(t)}(u.XFAObject),Ke=function(e){function t(e){var r;M(this,t);var n=["","yes","no"];return(r=d(this,t,[v,"keyUsage"])).crlSign=(0,l.getStringOption)(e.crlSign,n),r.dataEncipherment=(0,l.getStringOption)(e.dataEncipherment,n),r.decipherOnly=(0,l.getStringOption)(e.decipherOnly,n),r.digitalSignature=(0,l.getStringOption)(e.digitalSignature,n),r.encipherOnly=(0,l.getStringOption)(e.encipherOnly,n),r.id=e.id||"",r.keyAgreement=(0,l.getStringOption)(e.keyAgreement,n),r.keyCertSign=(0,l.getStringOption)(e.keyCertSign,n),r.keyEncipherment=(0,l.getStringOption)(e.keyEncipherment,n),r.nonRepudiation=(0,l.getStringOption)(e.nonRepudiation,n),r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.XFAObject),Ye=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"line",!0])).hand=(0,l.getStringOption)(e.hand,["even","left","right"]),t.id=e.id||"",t.slope=(0,l.getStringOption)(e.slope,["\\","/"]),t.use=e.use||"",t.usehref=e.usehref||"",t.edge=null,t}return y(r,e),P(r,[{key:t,value:function(){var e,t,r=this[i.$getParent]()[i.$getParent](),n=this.edge||new ke({}),a=n[i.$toStyle](),o=Object.create(null),s="visible"===n.presence?n.thickness:0;o.strokeWidth=(0,c.measureToString)(s),o.stroke=a.color;var u,h,f,d,p="100%",g="100%";r.w<=s?(u="50%",h=0,f="50%",d="100%",p=o.strokeWidth):r.h<=s?(u=0,h="50%",f="100%",d="50%",g=o.strokeWidth):"\\"===this.slope?(u=(e=[0,0,"100%","100%"])[0],h=e[1],f=e[2],d=e[3]):(u=(t=[0,"100%","100%",0])[0],h=t[1],f=t[2],d=t[3]);var v={name:"svg",children:[{name:"line",attributes:{xmlns:b,x1:u,y1:h,x2:f,y2:d,style:o}}],attributes:{xmlns:b,width:p,height:g,style:{overflow:"visible"}}};return F(r)?l.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[v]}):(v.attributes.style.position="absolute",l.HTMLResult.success(v))}}]),r}(u.XFAObject,i.$toHTML),Je=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"linear",!0])).id=e.id||"",t.type=(0,l.getStringOption)(e.type,["toRight","toBottom","toLeft","toTop"]),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}return y(r,e),P(r,[{key:t,value:function(e){return e=e?e[i.$toStyle]():"#FFFFFF","linear-gradient(".concat(this.type.replace(/([RBLT])/," $1").toLowerCase(),", ").concat(e,", ").concat(this.color?this.color[i.$toStyle]():"#000000",")")}}]),r}(u.XFAObject,i.$toStyle),Ze=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"lockDocument"])).id=e.id||"",t.type=(0,l.getStringOption)(e.type,["optional","required"]),t.use=e.use||"",t.usehref=e.usehref||"",t}return y(r,e),P(r,[{key:t,value:function(){this[i.$content]=(0,l.getStringOption)(this[i.$content],["auto","0","1"])}}]),r}(u.ContentObject,i.$finalize),Qe=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"manifest",!0])).action=(0,l.getStringOption)(e.action,["include","all","exclude"]),r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.ref=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),et=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"margin",!0])).bottomInset=(0,l.getMeasurement)(e.bottomInset,"0"),t.id=e.id||"",t.leftInset=(0,l.getMeasurement)(e.leftInset,"0"),t.rightInset=(0,l.getMeasurement)(e.rightInset,"0"),t.topInset=(0,l.getMeasurement)(e.topInset,"0"),t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t}return y(r,e),P(r,[{key:t,value:function(){return{margin:(0,c.measureToString)(this.topInset)+" "+(0,c.measureToString)(this.rightInset)+" "+(0,c.measureToString)(this.bottomInset)+" "+(0,c.measureToString)(this.leftInset)}}}]),r}(u.XFAObject,i.$toStyle),tt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"mdp"])).id=e.id||"",r.permissions=(0,l.getInteger)({data:e.permissions,defaultValue:2,validate:function(e){return 1===e||3===e}}),r.signatureType=(0,l.getStringOption)(e.signatureType,["filler","author"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.XFAObject),rt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"medium"])).id=e.id||"",r.imagingBBox=(0,l.getBBox)(e.imagingBBox),r.long=(0,l.getMeasurement)(e.long),r.orientation=(0,l.getStringOption)(e.orientation,["portrait","landscape"]),r.short=(0,l.getMeasurement)(e.short),r.stock=e.stock||"",r.trayIn=(0,l.getStringOption)(e.trayIn,["auto","delegate","pageFront"]),r.trayOut=(0,l.getStringOption)(e.trayOut,["auto","delegate"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.XFAObject),nt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"message",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.text=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),at=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"numericEdit",!0])).hScrollPolicy=(0,l.getStringOption)(e.hScrollPolicy,["auto","off","on"]),t.id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.border=null,t.comb=null,t.extras=null,t.margin=null,t}return y(r,e),P(r,[{key:t,value:function(e){var t,r=(0,c.toStyle)(this,"border","font","margin"),n=this[i.$getParent]()[i.$getParent](),a={name:"input",attributes:{type:"text",fieldId:n[i.$uid],dataId:(null===(t=n[i.$data])||void 0===t?void 0:t[i.$uid])||n[i.$uid],class:["xfaTextfield"],style:r,"aria-label":D(n),"aria-required":!1}};return E(n)&&(a.attributes["aria-required"]=!0,a.attributes.required=!0),l.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[a]})}}]),r}(u.XFAObject,i.$toHTML),it=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"occur",!0])).id=e.id||"",t.initial=""!==e.initial?(0,l.getInteger)({data:e.initial,defaultValue:"",validate:function(e){return!0}}):"",t.max=""!==e.max?(0,l.getInteger)({data:e.max,defaultValue:1,validate:function(e){return!0}}):"",t.min=""!==e.min?(0,l.getInteger)({data:e.min,defaultValue:1,validate:function(e){return!0}}):"",t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t}return y(r,e),P(r,[{key:t,value:function(){var e=this[i.$getParent](),t=this.min;""===this.min&&(this.min=e instanceof ut||e instanceof lt?0:1),""===this.max&&(this.max=""===t?e instanceof ut||e instanceof lt?-1:1:this.min),-1!==this.max&&this.max<this.min&&(this.max=this.min),""===this.initial&&(this.initial=e instanceof Nt?1:this.min)}}]),r}(u.XFAObject,i.$clean),ot=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"oid"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.StringObject),st=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"oids",!0])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.oid=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),ct=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"overflow"])).id=e.id||"",t.leader=e.leader||"",t.target=e.target||"",t.trailer=e.trailer||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return y(r,e),P(r,[{key:t,value:function(){if(!this[i.$extra]){var e=this[i.$getParent](),t=this[i.$getTemplateRoot](),r=t[i.$searchNode](this.target,e),n=t[i.$searchNode](this.leader,e),a=t[i.$searchNode](this.trailer,e);this[i.$extra]={target:(null==r?void 0:r[0])||null,leader:(null==n?void 0:n[0])||null,trailer:(null==a?void 0:a[0])||null,addLeader:!1,addTrailer:!1}}return this[i.$extra]}}]),r}(u.XFAObject,i.$getExtra),ut=function(e,t,r,n,a,o){function s(e){var t;return M(this,s),(t=d(this,s,[v,"pageArea",!0])).blankOrNotBlank=(0,l.getStringOption)(e.blankOrNotBlank,["any","blank","notBlank"]),t.id=e.id||"",t.initialNumber=(0,l.getInteger)({data:e.initialNumber,defaultValue:1,validate:function(e){return!0}}),t.name=e.name||"",t.numbered=(0,l.getInteger)({data:e.numbered,defaultValue:1,validate:function(e){return!0}}),t.oddOrEven=(0,l.getStringOption)(e.oddOrEven,["any","even","odd"]),t.pagePosition=(0,l.getStringOption)(e.pagePosition,["any","first","last","only","rest"]),t.relevant=(0,l.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.desc=null,t.extras=null,t.medium=null,t.occur=null,t.area=new u.XFAObjectArray,t.contentArea=new u.XFAObjectArray,t.draw=new u.XFAObjectArray,t.exclGroup=new u.XFAObjectArray,t.field=new u.XFAObjectArray,t.subform=new u.XFAObjectArray,t}return y(s,e),P(s,[{key:t,value:function(){return this[i.$extra]?!this.occur||-1===this.occur.max||this[i.$extra].numberOfUse<this.occur.max:(this[i.$extra]={numberOfUse:0},!0)}},{key:r,value:function(){delete this[i.$extra]}},{key:n,value:function(){this[i.$extra]||(this[i.$extra]={numberOfUse:0});var e=this[i.$getParent]();return"orderedOccurrence"===e.relation&&this[i.$isUsable]()?(this[i.$extra].numberOfUse+=1,this):e[i.$getNextPage]()}},{key:a,value:function(){return this[i.$extra].space||{width:0,height:0}}},{key:o,value:function(){this[i.$extra]||(this[i.$extra]={numberOfUse:1});var e=[];this[i.$extra].children=e;var t=Object.create(null);if(this.medium&&this.medium.short&&this.medium.long){if(t.width=(0,c.measureToString)(this.medium.short),t.height=(0,c.measureToString)(this.medium.long),this[i.$extra].space={width:this.medium.short,height:this.medium.long},"landscape"===this.medium.orientation){var r=t.width;t.width=t.height,t.height=r,this[i.$extra].space={width:this.medium.long,height:this.medium.short}}}else(0,h.warn)("XFA - No medium specified in pageArea: please file a bug.");return this[i.$childrenToHTML]({filter:new Set(["area","draw","field","subform"]),include:!0}),this[i.$childrenToHTML]({filter:new Set(["contentArea"]),include:!0}),l.HTMLResult.success({name:"div",children:e,attributes:{class:["xfaPage"],id:this[i.$uid],style:t,xfaName:this.name}})}}]),s}(u.XFAObject,i.$isUsable,i.$cleanPage,i.$getNextPage,i.$getAvailableSpace,i.$toHTML),lt=function(e,t,r,n){function a(e){var t;return M(this,a),(t=d(this,a,[v,"pageSet",!0])).duplexImposition=(0,l.getStringOption)(e.duplexImposition,["longEdge","shortEdge"]),t.id=e.id||"",t.name=e.name||"",t.relation=(0,l.getStringOption)(e.relation,["orderedOccurrence","duplexPaginated","simplexPaginated"]),t.relevant=(0,l.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t.occur=null,t.pageArea=new u.XFAObjectArray,t.pageSet=new u.XFAObjectArray,t}return y(a,e),P(a,[{key:t,value:function(){var e,t=x(this.pageArea.children);try{for(t.s();!(e=t.n()).done;)e.value[i.$cleanPage]()}catch(e){t.e(e)}finally{t.f()}var r,n=x(this.pageSet.children);try{for(n.s();!(r=n.n()).done;)r.value[i.$cleanPage]()}catch(e){n.e(e)}finally{n.f()}}},{key:r,value:function(){return!this.occur||-1===this.occur.max||this[i.$extra].numberOfUse<this.occur.max}},{key:n,value:function(){if(this[i.$extra]||(this[i.$extra]={numberOfUse:1,pageIndex:-1,pageSetIndex:-1}),"orderedOccurrence"===this.relation){if(this[i.$extra].pageIndex+1<this.pageArea.children.length)return this[i.$extra].pageIndex+=1,this.pageArea.children[this[i.$extra].pageIndex][i.$getNextPage]();if(this[i.$extra].pageSetIndex+1<this.pageSet.children.length)return this[i.$extra].pageSetIndex+=1,this.pageSet.children[this[i.$extra].pageSetIndex][i.$getNextPage]();if(this[i.$isUsable]())return this[i.$extra].numberOfUse+=1,this[i.$extra].pageIndex=-1,this[i.$extra].pageSetIndex=-1,this[i.$getNextPage]();var e=this[i.$getParent]();return e instanceof a?e[i.$getNextPage]():(this[i.$cleanPage](),this[i.$getNextPage]())}var t=this[i.$getTemplateRoot]()[i.$extra].pageNumber,r=t%2==0?"even":"odd",n=0===t?"first":"rest",o=this.pageArea.children.find((function(e){return e.oddOrEven===r&&e.pagePosition===n}));return o||(o=this.pageArea.children.find((function(e){return"any"===e.oddOrEven&&e.pagePosition===n})),o||(o=this.pageArea.children.find((function(e){return"any"===e.oddOrEven&&"any"===e.pagePosition})),o||this.pageArea.children[0]))}}]),a}(u.XFAObject,i.$cleanPage,i.$isUsable,i.$getNextPage),ht=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"para",!0])).hAlign=(0,l.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=e.id||"",t.lineHeight=e.lineHeight?(0,l.getMeasurement)(e.lineHeight,"0pt"):"",t.marginLeft=e.marginLeft?(0,l.getMeasurement)(e.marginLeft,"0pt"):"",t.marginRight=e.marginRight?(0,l.getMeasurement)(e.marginRight,"0pt"):"",t.orphans=(0,l.getInteger)({data:e.orphans,defaultValue:0,validate:function(e){return e>=0}}),t.preserve=e.preserve||"",t.radixOffset=e.radixOffset?(0,l.getMeasurement)(e.radixOffset,"0pt"):"",t.spaceAbove=e.spaceAbove?(0,l.getMeasurement)(e.spaceAbove,"0pt"):"",t.spaceBelow=e.spaceBelow?(0,l.getMeasurement)(e.spaceBelow,"0pt"):"",t.tabDefault=e.tabDefault?(0,l.getMeasurement)(t.tabDefault):"",t.tabStops=(e.tabStops||"").trim().split(/\s+/).map((function(e,t){return t%2==1?(0,l.getMeasurement)(e):e})),t.textIndent=e.textIndent?(0,l.getMeasurement)(e.textIndent,"0pt"):"",t.use=e.use||"",t.usehref=e.usehref||"",t.vAlign=(0,l.getStringOption)(e.vAlign,["top","bottom","middle"]),t.widows=(0,l.getInteger)({data:e.widows,defaultValue:0,validate:function(e){return e>=0}}),t.hyphenation=null,t}return y(r,e),P(r,[{key:t,value:function(){var e=(0,c.toStyle)(this,"hAlign");return""!==this.marginLeft&&(e.paddingLeft=(0,c.measureToString)(this.marginLeft)),""!==this.marginRight&&(e.paddingight=(0,c.measureToString)(this.marginRight)),""!==this.spaceAbove&&(e.paddingTop=(0,c.measureToString)(this.spaceAbove)),""!==this.spaceBelow&&(e.paddingBottom=(0,c.measureToString)(this.spaceBelow)),""!==this.textIndent&&(e.textIndent=(0,c.measureToString)(this.textIndent),(0,c.fixTextIndent)(e)),this.lineHeight>0&&(e.lineHeight=(0,c.measureToString)(this.lineHeight)),""!==this.tabDefault&&(e.tabSize=(0,c.measureToString)(this.tabDefault)),this.tabStops.length,this.hyphenatation&&Object.assign(e,this.hyphenatation[i.$toStyle]()),e}}]),r}(u.XFAObject,i.$toStyle),ft=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"passwordEdit",!0])).hScrollPolicy=(0,l.getStringOption)(e.hScrollPolicy,["auto","off","on"]),r.id=e.id||"",r.passwordChar=e.passwordChar||"*",r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return y(t,e),P(t)}(u.XFAObject),dt=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"pattern",!0])).id=e.id||"",t.type=(0,l.getStringOption)(e.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}return y(r,e),P(r,[{key:t,value:function(e){e=e?e[i.$toStyle]():"#FFFFFF";var t=this.color?this.color[i.$toStyle]():"#000000",r="repeating-linear-gradient",n="".concat(e,",").concat(e," 5px,").concat(t," 5px,").concat(t," 10px");switch(this.type){case"crossHatch":return"".concat(r,"(to top,").concat(n,") ").concat(r,"(to right,").concat(n,")");case"crossDiagonal":return"".concat(r,"(45deg,").concat(n,") ").concat(r,"(-45deg,").concat(n,")");case"diagonalLeft":return"".concat(r,"(45deg,").concat(n,")");case"diagonalRight":return"".concat(r,"(-45deg,").concat(n,")");case"horizontal":return"".concat(r,"(to top,").concat(n,")");case"vertical":return"".concat(r,"(to right,").concat(n,")")}return""}}]),r}(u.XFAObject,i.$toStyle),pt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"picture"])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.StringObject),gt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"proto",!0])).appearanceFilter=new u.XFAObjectArray,r.arc=new u.XFAObjectArray,r.area=new u.XFAObjectArray,r.assist=new u.XFAObjectArray,r.barcode=new u.XFAObjectArray,r.bindItems=new u.XFAObjectArray,r.bookend=new u.XFAObjectArray,r.boolean=new u.XFAObjectArray,r.border=new u.XFAObjectArray,r.break=new u.XFAObjectArray,r.breakAfter=new u.XFAObjectArray,r.breakBefore=new u.XFAObjectArray,r.button=new u.XFAObjectArray,r.calculate=new u.XFAObjectArray,r.caption=new u.XFAObjectArray,r.certificate=new u.XFAObjectArray,r.certificates=new u.XFAObjectArray,r.checkButton=new u.XFAObjectArray,r.choiceList=new u.XFAObjectArray,r.color=new u.XFAObjectArray,r.comb=new u.XFAObjectArray,r.connect=new u.XFAObjectArray,r.contentArea=new u.XFAObjectArray,r.corner=new u.XFAObjectArray,r.date=new u.XFAObjectArray,r.dateTime=new u.XFAObjectArray,r.dateTimeEdit=new u.XFAObjectArray,r.decimal=new u.XFAObjectArray,r.defaultUi=new u.XFAObjectArray,r.desc=new u.XFAObjectArray,r.digestMethod=new u.XFAObjectArray,r.digestMethods=new u.XFAObjectArray,r.draw=new u.XFAObjectArray,r.edge=new u.XFAObjectArray,r.encoding=new u.XFAObjectArray,r.encodings=new u.XFAObjectArray,r.encrypt=new u.XFAObjectArray,r.encryptData=new u.XFAObjectArray,r.encryption=new u.XFAObjectArray,r.encryptionMethod=new u.XFAObjectArray,r.encryptionMethods=new u.XFAObjectArray,r.event=new u.XFAObjectArray,r.exData=new u.XFAObjectArray,r.exObject=new u.XFAObjectArray,r.exclGroup=new u.XFAObjectArray,r.execute=new u.XFAObjectArray,r.extras=new u.XFAObjectArray,r.field=new u.XFAObjectArray,r.fill=new u.XFAObjectArray,r.filter=new u.XFAObjectArray,r.float=new u.XFAObjectArray,r.font=new u.XFAObjectArray,r.format=new u.XFAObjectArray,r.handler=new u.XFAObjectArray,r.hyphenation=new u.XFAObjectArray,r.image=new u.XFAObjectArray,r.imageEdit=new u.XFAObjectArray,r.integer=new u.XFAObjectArray,r.issuers=new u.XFAObjectArray,r.items=new u.XFAObjectArray,r.keep=new u.XFAObjectArray,r.keyUsage=new u.XFAObjectArray,r.line=new u.XFAObjectArray,r.linear=new u.XFAObjectArray,r.lockDocument=new u.XFAObjectArray,r.manifest=new u.XFAObjectArray,r.margin=new u.XFAObjectArray,r.mdp=new u.XFAObjectArray,r.medium=new u.XFAObjectArray,r.message=new u.XFAObjectArray,r.numericEdit=new u.XFAObjectArray,r.occur=new u.XFAObjectArray,r.oid=new u.XFAObjectArray,r.oids=new u.XFAObjectArray,r.overflow=new u.XFAObjectArray,r.pageArea=new u.XFAObjectArray,r.pageSet=new u.XFAObjectArray,r.para=new u.XFAObjectArray,r.passwordEdit=new u.XFAObjectArray,r.pattern=new u.XFAObjectArray,r.picture=new u.XFAObjectArray,r.radial=new u.XFAObjectArray,r.reason=new u.XFAObjectArray,r.reasons=new u.XFAObjectArray,r.rectangle=new u.XFAObjectArray,r.ref=new u.XFAObjectArray,r.script=new u.XFAObjectArray,r.setProperty=new u.XFAObjectArray,r.signData=new u.XFAObjectArray,r.signature=new u.XFAObjectArray,r.signing=new u.XFAObjectArray,r.solid=new u.XFAObjectArray,r.speak=new u.XFAObjectArray,r.stipple=new u.XFAObjectArray,r.subform=new u.XFAObjectArray,r.subformSet=new u.XFAObjectArray,r.subjectDN=new u.XFAObjectArray,r.subjectDNs=new u.XFAObjectArray,r.submit=new u.XFAObjectArray,r.text=new u.XFAObjectArray,r.textEdit=new u.XFAObjectArray,r.time=new u.XFAObjectArray,r.timeStamp=new u.XFAObjectArray,r.toolTip=new u.XFAObjectArray,r.traversal=new u.XFAObjectArray,r.traverse=new u.XFAObjectArray,r.ui=new u.XFAObjectArray,r.validate=new u.XFAObjectArray,r.value=new u.XFAObjectArray,r.variables=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),vt=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"radial",!0])).id=e.id||"",t.type=(0,l.getStringOption)(e.type,["toEdge","toCenter"]),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}return y(r,e),P(r,[{key:t,value:function(e){e=e?e[i.$toStyle]():"#FFFFFF";var t=this.color?this.color[i.$toStyle]():"#000000";return"radial-gradient(circle at center, ".concat("toEdge"===this.type?"".concat(e,",").concat(t):"".concat(t,",").concat(e),")")}}]),r}(u.XFAObject,i.$toStyle),mt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"reason"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.StringObject),yt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"reasons",!0])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.reason=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),bt=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"rectangle",!0])).hand=(0,l.getStringOption)(e.hand,["even","left","right"]),t.id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.corner=new u.XFAObjectArray(4),t.edge=new u.XFAObjectArray(4),t.fill=null,t}return y(r,e),P(r,[{key:t,value:function(){var e,t=this.edge.children.length?this.edge.children[0]:new ke({}),r=t[i.$toStyle](),n=Object.create(null);"visible"===(null===(e=this.fill)||void 0===e?void 0:e.presence)?Object.assign(n,this.fill[i.$toStyle]()):n.fill="transparent",n.strokeWidth=(0,c.measureToString)("visible"===t.presence?t.thickness:0),n.stroke=r.color;var a=(this.corner.children.length?this.corner.children[0]:new he({}))[i.$toStyle](),o={name:"svg",children:[{name:"rect",attributes:{xmlns:b,width:"100%",height:"100%",x:0,y:0,rx:a.radius,ry:a.radius,style:n}}],attributes:{xmlns:b,style:{overflow:"visible"},width:"100%",height:"100%"}};return F(this[i.$getParent]()[i.$getParent]())?l.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[o]}):(o.attributes.style.position="absolute",l.HTMLResult.success(o))}}]),r}(u.XFAObject,i.$toHTML),wt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"ref"])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.StringObject),kt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"script"])).binding=e.binding||"",r.contentType=e.contentType||"",r.id=e.id||"",r.name=e.name||"",r.runAt=(0,l.getStringOption)(e.runAt,["client","both","server"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.StringObject),xt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"setProperty"])).connection=e.connection||"",r.ref=e.ref||"",r.target=e.target||"",r}return y(t,e),P(t)}(u.XFAObject);t.SetProperty=xt;var St=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"signData",!0])).id=e.id||"",r.operation=(0,l.getStringOption)(e.operation,["sign","clear","verify"]),r.ref=e.ref||"",r.target=e.target||"",r.use=e.use||"",r.usehref=e.usehref||"",r.filter=null,r.manifest=null,r}return y(t,e),P(t)}(u.XFAObject),At=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"signature",!0])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["PDF1.3","PDF1.6"]),r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.filter=null,r.manifest=null,r.margin=null,r}return y(t,e),P(t)}(u.XFAObject),Ct=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"signing",!0])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),Ot=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"solid",!0])).id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t}return y(r,e),P(r,[{key:t,value:function(e){return e?e[i.$toStyle]():"#FFFFFF"}}]),r}(u.XFAObject,i.$toStyle),Ft=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"speak"])).disable=(0,l.getInteger)({data:e.disable,defaultValue:0,validate:function(e){return 1===e}}),r.id=e.id||"",r.priority=(0,l.getStringOption)(e.priority,["custom","caption","name","toolTip"]),r.rid=e.rid||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.StringObject),It=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"stipple",!0])).id=e.id||"",t.rate=(0,l.getInteger)({data:e.rate,defaultValue:50,validate:function(e){return e>=0&&e<=100}}),t.use=e.use||"",t.usehref=e.usehref||"",t.color=null,t.extras=null,t}return y(r,e),P(r,[{key:t,value:function(e){var t=this.rate/100;return h.Util.makeHexColor(Math.round(e.value.r*(1-t)+this.value.r*t),Math.round(e.value.g*(1-t)+this.value.g*t),Math.round(e.value.b*(1-t)+this.value.b*t))}}]),r}(u.XFAObject,i.$toStyle),Tt=function(e,t,r,n,a,o,f,p,g,m){function b(e){var t;return M(this,b),(t=d(this,b,[v,"subform",!0])).access=(0,l.getStringOption)(e.access,["open","nonInteractive","protected","readOnly"]),t.allowMacro=(0,l.getInteger)({data:e.allowMacro,defaultValue:0,validate:function(e){return 1===e}}),t.anchorType=(0,l.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),t.colSpan=(0,l.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),t.columnWidths=(e.columnWidths||"").trim().split(/\s+/).map((function(e){return"-1"===e?-1:(0,l.getMeasurement)(e)})),t.h=e.h?(0,l.getMeasurement)(e.h):"",t.hAlign=(0,l.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),t.id=e.id||"",t.layout=(0,l.getStringOption)(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),t.locale=e.locale||"",t.maxH=(0,l.getMeasurement)(e.maxH,"0pt"),t.maxW=(0,l.getMeasurement)(e.maxW,"0pt"),t.mergeMode=(0,l.getStringOption)(e.mergeMode,["consumeData","matchTemplate"]),t.minH=(0,l.getMeasurement)(e.minH,"0pt"),t.minW=(0,l.getMeasurement)(e.minW,"0pt"),t.name=e.name||"",t.presence=(0,l.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),t.relevant=(0,l.getRelevant)(e.relevant),t.restoreState=(0,l.getStringOption)(e.restoreState,["manual","auto"]),t.scope=(0,l.getStringOption)(e.scope,["name","none"]),t.use=e.use||"",t.usehref=e.usehref||"",t.w=e.w?(0,l.getMeasurement)(e.w):"",t.x=(0,l.getMeasurement)(e.x,"0pt"),t.y=(0,l.getMeasurement)(e.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 u.XFAObjectArray,t.breakAfter=new u.XFAObjectArray,t.breakBefore=new u.XFAObjectArray,t.connect=new u.XFAObjectArray,t.draw=new u.XFAObjectArray,t.event=new u.XFAObjectArray,t.exObject=new u.XFAObjectArray,t.exclGroup=new u.XFAObjectArray,t.field=new u.XFAObjectArray,t.proto=new u.XFAObjectArray,t.setProperty=new u.XFAObjectArray,t.subform=new u.XFAObjectArray,t.subformSet=new u.XFAObjectArray,t}return y(b,e),P(b,[{key:t,value:function(){var e=this[i.$getParent]();return e instanceof Mt?e[i.$getSubformParent]():e}},{key:r,value:function(){return!0}},{key:n,value:function(){return this.layout.endsWith("-tb")&&0===this[i.$extra].attempt&&this[i.$extra].numberInLine>0||this[i.$getParent]()[i.$isThereMoreWidth]()}},{key:a,value:k().mark((function e(){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(T(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:o,value:function(){return(0,s.flushHTML)(this)}},{key:f,value:function(e,t){(0,s.addHTML)(this,e,t)}},{key:p,value:function(){return(0,s.getAvailableSpace)(this)}},{key:g,value:function(){var e,t=this[i.$getSubformParent]();return!!t[i.$isSplittable]()&&(void 0!==this[i.$extra]._isSplittable?this[i.$extra]._isSplittable:"position"===this.layout||this.layout.includes("row")||this.keep&&"none"!==this.keep.intact?(this[i.$extra]._isSplittable=!1,!1):!(null!==(e=t.layout)&&void 0!==e&&e.endsWith("-tb")&&0!==t[i.$extra].numberInLine||(this[i.$extra]._isSplittable=!0,0)))}},{key:m,value:function(e){var t;if(R(this),this.break){if("auto"!==this.break.after||""!==this.break.afterTarget){var r=new Z({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});r[i.$globalData]=this[i.$globalData],this[i.$appendChild](r),this.breakAfter.push(r)}if("auto"!==this.break.before||""!==this.break.beforeTarget){var n=new Q({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});n[i.$globalData]=this[i.$globalData],this[i.$appendChild](n),this.breakBefore.push(n)}if(""!==this.break.overflowTarget){var a=new ct({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});a[i.$globalData]=this[i.$globalData],this[i.$appendChild](a),this.overflow.push(a)}this[i.$removeChild](this.break),this.break=null}if("hidden"===this.presence||"inactive"===this.presence)return l.HTMLResult.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&(0,h.warn)("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){var o=this.breakBefore.children[0];if(j(o))return l.HTMLResult.breakNode(o)}if(null!==(t=this[i.$extra])&&void 0!==t&&t.afterBreakAfter)return l.HTMLResult.EMPTY;(0,c.fixDimensions)(this);var u=[],f={id:this[i.$uid],class:[]};(0,c.setAccess)(this,f.class),this[i.$extra]||(this[i.$extra]=Object.create(null)),Object.assign(this[i.$extra],{children:u,line:null,attributes:f,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});var d=this[i.$getTemplateRoot](),p=d[i.$extra].noLayoutFailure,g=this[i.$isSplittable]();if(g||L(this),!(0,s.checkDimensions)(this,e))return l.HTMLResult.FAILURE;var v=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){var m=this[i.$getSubformParent]().columnWidths;Array.isArray(m)&&m.length>0&&(this[i.$extra].columnWidths=m,this[i.$extra].currentColumn=0)}var y=(0,c.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),b=["xfaSubform"],w=(0,c.layoutClass)(this);if(w&&b.push(w),f.style=y,f.class=b,this.name&&(f.xfaName=this.name),this.overflow){var k=this.overflow[i.$getExtra]();k.addLeader&&(k.addLeader=!1,U(this,k.leader,e))}this[i.$pushPara]();for(var x="lr-tb"===this.layout||"rl-tb"===this.layout,S=x?2:1;this[i.$extra].attempt<S;this[i.$extra].attempt++){x&&1===this[i.$extra].attempt&&(this[i.$extra].numberInLine=0);var A=this[i.$childrenToHTML]({filter:v,include:!0});if(A.success)break;if(A.isBreak())return this[i.$popPara](),A;if(x&&0===this[i.$extra].attempt&&0===this[i.$extra].numberInLine&&!d[i.$extra].noLayoutFailure){this[i.$extra].attempt=S;break}}if(this[i.$popPara](),g||_(this),d[i.$extra].noLayoutFailure=p,this[i.$extra].attempt===S)return this.overflow&&(this[i.$getTemplateRoot]()[i.$extra].overflowNode=this.overflow),g||delete this[i.$extra],l.HTMLResult.FAILURE;if(this.overflow){var C=this.overflow[i.$getExtra]();C.addTrailer&&(C.addTrailer=!1,U(this,C.trailer,e))}var O=0,F=0;this.margin&&(O=this.margin.leftInset+this.margin.rightInset,F=this.margin.topInset+this.margin.bottomInset);var I=Math.max(this[i.$extra].width+O,this.w||0),T=Math.max(this[i.$extra].height+F,this.h||0),M=[this.x,this.y,I,T];if(""===this.w&&(y.width=(0,c.measureToString)(I)),""===this.h&&(y.height=(0,c.measureToString)(T)),("0px"===y.width||"0px"===y.height)&&0===u.length)return l.HTMLResult.EMPTY;var E={name:"div",attributes:f,children:u};N(this,f);var P=l.HTMLResult.success((0,c.createWrapper)(this,E),M);if(this.breakAfter.children.length>=1){var D=this.breakAfter.children[0];if(j(D))return this[i.$extra].afterBreakAfter=P,l.HTMLResult.breakNode(D)}return delete this[i.$extra],P}}]),b}(u.XFAObject,i.$getSubformParent,i.$isBindable,i.$isThereMoreWidth,i.$getContainedChildren,i.$flushHTML,i.$addHTML,i.$getAvailableSpace,i.$isSplittable,i.$toHTML),Mt=function(e,t,r,n){function a(e){var t;return M(this,a),(t=d(this,a,[v,"subformSet",!0])).id=e.id||"",t.name=e.name||"",t.relation=(0,l.getStringOption)(e.relation,["ordered","choice","unordered"]),t.relevant=(0,l.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.usehref||"",t.bookend=null,t.break=null,t.desc=null,t.extras=null,t.occur=null,t.overflow=null,t.breakAfter=new u.XFAObjectArray,t.breakBefore=new u.XFAObjectArray,t.subform=new u.XFAObjectArray,t.subformSet=new u.XFAObjectArray,t}return y(a,e),P(a,[{key:t,value:k().mark((function e(){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(T(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:r,value:function(){for(var e=this[i.$getParent]();!(e instanceof Tt);)e=e[i.$getParent]();return e}},{key:n,value:function(){return!0}}]),a}(u.XFAObject,i.$getContainedChildren,i.$getSubformParent,i.$isBindable),Et=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"subjectDN"])).delimiter=e.delimiter||",",t.id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return y(r,e),P(r,[{key:t,value:function(){this[i.$content]=new Map(this[i.$content].split(this.delimiter).map((function(e){return(e=e.split("=",2))[0]=e[0].trim(),e})))}}]),r}(u.ContentObject,i.$finalize),Pt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"subjectDNs",!0])).id=e.id||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.subjectDN=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),Rt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"submit",!0])).embedPDF=(0,l.getInteger)({data:e.embedPDF,defaultValue:0,validate:function(e){return 1===e}}),r.format=(0,l.getStringOption)(e.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),r.id=e.id||"",r.target=e.target||"",r.textEncoding=(0,l.getKeyword)({data:e.textEncoding?e.textEncoding.toLowerCase():"",defaultValue:"",validate:function(e){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\d{2}/)}}),r.use=e.use||"",r.usehref=e.usehref||"",r.xdpContent=e.xdpContent||"",r.encrypt=null,r.encryptData=new u.XFAObjectArray,r.signData=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),Nt=function(e,t,r,n,a){function o(e){var t;return M(this,o),(t=d(this,o,[v,"template",!0])).baseProfile=(0,l.getStringOption)(e.baseProfile,["full","interactiveForms"]),t.extras=null,t.subform=new u.XFAObjectArray,t}return y(o,e),P(o,[{key:t,value:function(){0===this.subform.children.length&&(0,h.warn)("XFA - No subforms in template node."),this.subform.children.length>=2&&(0,h.warn)("XFA - Several subforms in template node: please file a bug."),this[i.$tabIndex]=5e3}},{key:r,value:function(){return!0}},{key:n,value:function(e,t){return e.startsWith("#")?[this[i.$ids].get(e.slice(1))]:(0,g.searchNode)(this,t,e,!0,!0)}},{key:a,value:k().mark((function e(){var t,r,n,a,o,s,c,u,f,d,p,g,v,m,y,b,w,x,S=this;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.subform.children.length){e.next=2;break}return e.abrupt("return",l.HTMLResult.success({name:"div",children:[]}));case 2:this[i.$extra]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]},(n=this.subform.children[0]).pageSet[i.$cleanPage](),a=n.pageSet.pageArea.children,o={name:"div",children:[]},s=null,c=null,u=null,n.breakBefore.children.length>=1?(c=n.breakBefore.children[0],u=c.target):n.subform.children.length>=1&&n.subform.children[0].breakBefore.children.length>=1?(c=n.subform.children[0].breakBefore.children[0],u=c.target):null!==(t=n.break)&&void 0!==t&&t.beforeTarget?(c=n.break,u=c.beforeTarget):n.subform.children.length>=1&&null!==(r=n.subform.children[0].break)&&void 0!==r&&r.beforeTarget&&(c=n.subform.children[0].break,u=c.beforeTarget),c&&(f=this[i.$searchNode](u,c[i.$getParent]()))instanceof ut&&(s=f,c[i.$extra]={}),s||(s=a[0]),s[i.$extra]={numberOfUse:1},(d=s[i.$getParent]())[i.$extra]={numberOfUse:1,pageIndex:d.pageArea.children.indexOf(s),pageSetIndex:0},g=null,v=null,m=!0,y=0,b=0,w=k().mark((function e(){var t,r,a,c,u,l,f,d,w,x,A,C,O,F,I,T;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!m){e.next=4;break}y=0,e.next=8;break;case 4:if(o.children.pop(),3!=++y){e.next=8;break}return(0,h.warn)("XFA - Something goes wrong: please file a bug."),e.abrupt("return",{v:o});case 8:p=null,S[i.$extra].currentPageArea=s,t=s[i.$toHTML]().html,o.children.push(t),g&&(S[i.$extra].noLayoutFailure=!0,t.children.push(g[i.$toHTML](s[i.$extra].space).html),g=null),v&&(S[i.$extra].noLayoutFailure=!0,t.children.push(v[i.$toHTML](s[i.$extra].space).html),v=null),r=s.contentArea.children,a=t.children.filter((function(e){return e.attributes.class.includes("xfaContentarea")})),m=!1,S[i.$extra].firstUnsplittable=null,S[i.$extra].noLayoutFailure=!1,c=function(e){var t,r=n[i.$flushHTML]();r&&(m||(m=(null===(t=r.children)||void 0===t?void 0:t.length)>0),a[e].children.push(r))},u=b,l=r.length;case 20:if(!(u<l)){e.next=43;break}if(f=S[i.$extra].currentContentArea=r[u],d={width:f.w,height:f.h},b=0,g&&(a[u].children.push(g[i.$toHTML](d).html),g=null),v&&(a[u].children.push(v[i.$toHTML](d).html),v=null),!(w=n[i.$toHTML](d)).success){e.next=29;break}return w.html?(m||(m=(null===(x=w.html.children)||void 0===x?void 0:x.length)>0),a[u].children.push(w.html)):!m&&o.children.length>1&&o.children.pop(),e.abrupt("return",{v:o});case 29:if(!w.isBreak()){e.next=39;break}if(A=w.breakNode,c(u),"auto"!==A.targetType){e.next=34;break}return e.abrupt("continue",40);case 34:A.leader&&(g=(g=S[i.$searchNode](A.leader,A[i.$getParent]()))?g[0]:null),A.trailer&&(v=(v=S[i.$searchNode](A.trailer,A[i.$getParent]()))?v[0]:null),"pageArea"===A.targetType?(p=A[i.$extra].target,u=1/0):A[i.$extra].target?(p=A[i.$extra].target,b=A[i.$extra].index+1,u=1/0):u=A[i.$extra].index,e.next=40;break;case 39:S[i.$extra].overflowNode?(C=S[i.$extra].overflowNode,S[i.$extra].overflowNode=null,O=C[i.$getExtra](),F=O.target,O.addLeader=null!==O.leader,O.addTrailer=null!==O.trailer,c(u),I=u,u=1/0,F instanceof ut?p=F:F instanceof le&&(-1!==(T=r.indexOf(F))?T>I?u=T-1:b=T:(p=F[i.$getParent](),b=p.contentArea.children.indexOf(F)))):c(u);case 40:u++,e.next=20;break;case 43:return S[i.$extra].pageNumber+=1,p&&(p[i.$isUsable]()?p[i.$extra].numberOfUse+=1:p=null),s=p||s[i.$getNextPage](),e.next=48,null;case 48:case"end":return e.stop()}}),e)}));case 15:return e.delegateYield(w(),"t0",16);case 16:if(!(x=e.t0)){e.next=19;break}return e.abrupt("return",x.v);case 19:e.next=15;break;case 21:case"end":return e.stop()}}),e,this)}))}]),o}(u.XFAObject,i.$finalize,i.$isSplittable,i.$searchNode,i.$toPages);t.Template=Nt;var Dt=function(e,t,r,n,s,c,f){function p(e){var t;return M(this,p),(t=d(this,p,[v,"text"])).id=e.id||"",t.maxChars=(0,l.getInteger)({data:e.maxChars,defaultValue:0,validate:function(e){return e>=0}}),t.name=e.name||"",t.rid=e.rid||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return y(p,e),P(p,[{key:t,value:function(){return!0}},{key:r,value:function(e){return e[i.$namespaceId]===o.NamespaceIds.xhtml.id?(this[i.$content]=e,!0):((0,h.warn)("XFA - Invalid content in Text: ".concat(e[i.$nodeName],".")),!1)}},{key:n,value:function(e){this[i.$content]instanceof u.XFAObject||a(m(p.prototype),i.$onText,this).call(this,e)}},{key:s,value:function(){"string"==typeof this[i.$content]&&(this[i.$content]=this[i.$content].replaceAll("\r\n","\n"))}},{key:c,value:function(){return"string"==typeof this[i.$content]?this[i.$content].split(/[\u2029\u2028\n]/).reduce((function(e,t){return t&&e.push(t),e}),[]).join("\n"):this[i.$content][i.$text]()}},{key:f,value:function(e){if("string"==typeof this[i.$content]){var t=B(this[i.$content]).html;return this[i.$content].includes("\u2029")?(t.name="div",t.children=[],this[i.$content].split("\u2029").map((function(e){return e.split(/[\u2028\n]/).reduce((function(e,t){return e.push({name:"span",value:t},{name:"br"}),e}),[])})).forEach((function(e){t.children.push({name:"p",children:e})}))):/[\u2028\n]/.test(this[i.$content])&&(t.name="div",t.children=[],this[i.$content].split(/[\u2028\n]/).forEach((function(e){t.children.push({name:"span",value:e},{name:"br"})}))),l.HTMLResult.success(t)}return this[i.$content][i.$toHTML](e)}}]),p}(u.ContentObject,i.$acceptWhitespace,i.$onChild,i.$onText,i.$finalize,i.$getExtra,i.$toHTML);t.Text=Dt;var Bt=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"textEdit",!0])).allowRichText=(0,l.getInteger)({data:e.allowRichText,defaultValue:0,validate:function(e){return 1===e}}),t.hScrollPolicy=(0,l.getStringOption)(e.hScrollPolicy,["auto","off","on"]),t.id=e.id||"",t.multiLine=(0,l.getInteger)({data:e.multiLine,defaultValue:"",validate:function(e){return 0===e||1===e}}),t.use=e.use||"",t.usehref=e.usehref||"",t.vScrollPolicy=(0,l.getStringOption)(e.vScrollPolicy,["auto","off","on"]),t.border=null,t.comb=null,t.extras=null,t.margin=null,t}return y(r,e),P(r,[{key:t,value:function(e){var t,r,n,a=(0,c.toStyle)(this,"border","font","margin"),o=this[i.$getParent]()[i.$getParent]();return""===this.multiLine&&(this.multiLine=o instanceof we?1:0),n=1===this.multiLine?{name:"textarea",attributes:{dataId:(null===(t=o[i.$data])||void 0===t?void 0:t[i.$uid])||o[i.$uid],fieldId:o[i.$uid],class:["xfaTextfield"],style:a,"aria-label":D(o),"aria-required":!1}}:{name:"input",attributes:{type:"text",dataId:(null===(r=o[i.$data])||void 0===r?void 0:r[i.$uid])||o[i.$uid],fieldId:o[i.$uid],class:["xfaTextfield"],style:a,"aria-label":D(o),"aria-required":!1}},E(o)&&(n.attributes["aria-required"]=!0,n.attributes.required=!0),l.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[n]})}}]),r}(u.XFAObject,i.$toHTML),Lt=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[v,"time"])).id=e.id||"",t.name=e.name||"",t.use=e.use||"",t.usehref=e.usehref||"",t}return y(n,e),P(n,[{key:t,value:function(){var e=this[i.$content].trim();this[i.$content]=e?new Date(e):null}},{key:r,value:function(e){return B(this[i.$content]?this[i.$content].toString():"")}}]),n}(u.StringObject,i.$finalize,i.$toHTML),_t=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"timeStamp"])).id=e.id||"",r.server=e.server||"",r.type=(0,l.getStringOption)(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.XFAObject),jt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"toolTip"])).id=e.id||"",r.rid=e.rid||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(u.StringObject),Ut=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"traversal",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.traverse=new u.XFAObjectArray,r}return y(t,e),P(t)}(u.XFAObject),$t=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"traverse",!0])).id=e.id||"",t.operation=(0,l.getStringOption)(e.operation,["next","back","down","first","left","right","up"]),t.ref=e.ref||"",t.use=e.use||"",t.usehref=e.usehref||"",t.extras=null,t.script=null,t}return y(r,e),P(r,[{key:"name",get:function(){return this.operation}},{key:t,value:function(){return!1}}]),r}(u.XFAObject,i.$isTransparent),Xt=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[v,"ui",!0])).id=e.id||"",t.use=e.use||"",t.usehref=e.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 y(n,e),P(n,[{key:t,value:function(){if(void 0===this[i.$extra]){var e,t=x(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;){var r=e.value;if("extras"!==r&&"picture"!==r){var n=this[r];if(n instanceof u.XFAObject)return this[i.$extra]=n,n}}}catch(e){t.e(e)}finally{t.f()}this[i.$extra]=null}return this[i.$extra]}},{key:r,value:function(e){var t=this[i.$getExtra]();return t?t[i.$toHTML](e):l.HTMLResult.EMPTY}}]),n}(u.XFAObject,i.$getExtra,i.$toHTML),Ht=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[v,"validate",!0])).formatTest=(0,l.getStringOption)(e.formatTest,["warning","disabled","error"]),r.id=e.id||"",r.nullTest=(0,l.getStringOption)(e.nullTest,["disabled","error","warning"]),r.scriptTest=(0,l.getStringOption)(e.scriptTest,["error","disabled","warning"]),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.message=null,r.picture=null,r.script=null,r}return y(t,e),P(t)}(u.XFAObject),qt=function(e,t,r,n){function a(e){var t;return M(this,a),(t=d(this,a,[v,"value",!0])).id=e.id||"",t.override=(0,l.getInteger)({data:e.override,defaultValue:0,validate:function(e){return 1===e}}),t.relevant=(0,l.getRelevant)(e.relevant),t.use=e.use||"",t.usehref=e.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 y(a,e),P(a,[{key:t,value:function(e){var t,r=this[i.$getParent]();if(r instanceof De&&null!==(t=r.ui)&&void 0!==t&&t.imageEdit)return this.image||(this.image=new He({}),this[i.$appendChild](this.image)),void(this.image[i.$content]=e[i.$content]);var n=e[i.$nodeName];if(null===this[n]){var a,o=x(Object.getOwnPropertyNames(this));try{for(o.s();!(a=o.n()).done;){var s=a.value,c=this[s];c instanceof u.XFAObject&&(this[s]=null,this[i.$removeChild](c))}}catch(e){o.e(e)}finally{o.f()}this[e[i.$nodeName]]=e,this[i.$appendChild](e)}else this[n][i.$content]=e[i.$content]}},{key:r,value:function(){if(this.exData)return"string"==typeof this.exData[i.$content]?this.exData[i.$content].trim():this.exData[i.$content][i.$text]().trim();var e,t=x(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;){var r=e.value;if("image"!==r){var n=this[r];if(n instanceof u.XFAObject)return(n[i.$content]||"").toString().trim()}}}catch(e){t.e(e)}finally{t.f()}return null}},{key:n,value:function(e){var t,r=x(Object.getOwnPropertyNames(this));try{for(r.s();!(t=r.n()).done;){var n=this[t.value];if(n instanceof u.XFAObject)return n[i.$toHTML](e)}}catch(e){r.e(e)}finally{r.f()}return l.HTMLResult.EMPTY}}]),a}(u.XFAObject,i.$setValue,i.$text,i.$toHTML);t.Value=qt;var zt=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[v,"variables",!0])).id=e.id||"",t.use=e.use||"",t.usehref=e.usehref||"",t.boolean=new u.XFAObjectArray,t.date=new u.XFAObjectArray,t.dateTime=new u.XFAObjectArray,t.decimal=new u.XFAObjectArray,t.exData=new u.XFAObjectArray,t.float=new u.XFAObjectArray,t.image=new u.XFAObjectArray,t.integer=new u.XFAObjectArray,t.manifest=new u.XFAObjectArray,t.script=new u.XFAObjectArray,t.text=new u.XFAObjectArray,t.time=new u.XFAObjectArray,t}return y(r,e),P(r,[{key:t,value:function(){return!0}}]),r}(u.XFAObject,i.$isTransparent),Gt=function(e){function t(){M(this,t)}return P(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e)){var n=t[e](r);return n[i.$setSetAttributes](r),n}}},{key:"appearanceFilter",value:function(e){return new $(e)}},{key:"arc",value:function(e){return new X(e)}},{key:"area",value:function(e){return new H(e)}},{key:"assist",value:function(e){return new q(e)}},{key:"barcode",value:function(e){return new z(e)}},{key:"bind",value:function(e){return new G(e)}},{key:"bindItems",value:function(e){return new W(e)}},{key:"bookend",value:function(e){return new V(e)}},{key:"boolean",value:function(e){return new K(e)}},{key:"border",value:function(e){return new Y(e)}},{key:"break",value:function(e){return new J(e)}},{key:"breakAfter",value:function(e){return new Z(e)}},{key:"breakBefore",value:function(e){return new Q(e)}},{key:"button",value:function(e){return new ee(e)}},{key:"calculate",value:function(e){return new te(e)}},{key:"caption",value:function(e){return new re(e)}},{key:"certificate",value:function(e){return new ne(e)}},{key:"certificates",value:function(e){return new ae(e)}},{key:"checkButton",value:function(e){return new ie(e)}},{key:"choiceList",value:function(e){return new oe(e)}},{key:"color",value:function(e){return new se(e)}},{key:"comb",value:function(e){return new ce(e)}},{key:"connect",value:function(e){return new ue(e)}},{key:"contentArea",value:function(e){return new le(e)}},{key:"corner",value:function(e){return new he(e)}},{key:"date",value:function(e){return new fe(e)}},{key:"dateTime",value:function(e){return new de(e)}},{key:"dateTimeEdit",value:function(e){return new pe(e)}},{key:"decimal",value:function(e){return new ge(e)}},{key:"defaultUi",value:function(e){return new ve(e)}},{key:"desc",value:function(e){return new me(e)}},{key:"digestMethod",value:function(e){return new ye(e)}},{key:"digestMethods",value:function(e){return new be(e)}},{key:"draw",value:function(e){return new we(e)}},{key:"edge",value:function(e){return new ke(e)}},{key:"encoding",value:function(e){return new xe(e)}},{key:"encodings",value:function(e){return new Se(e)}},{key:"encrypt",value:function(e){return new Ae(e)}},{key:"encryptData",value:function(e){return new Ce(e)}},{key:"encryption",value:function(e){return new Oe(e)}},{key:"encryptionMethod",value:function(e){return new Fe(e)}},{key:"encryptionMethods",value:function(e){return new Ie(e)}},{key:"event",value:function(e){return new Te(e)}},{key:"exData",value:function(e){return new Me(e)}},{key:"exObject",value:function(e){return new Ee(e)}},{key:"exclGroup",value:function(e){return new Pe(e)}},{key:"execute",value:function(e){return new Re(e)}},{key:"extras",value:function(e){return new Ne(e)}},{key:"field",value:function(e){return new De(e)}},{key:"fill",value:function(e){return new Be(e)}},{key:"filter",value:function(e){return new Le(e)}},{key:"float",value:function(e){return new _e(e)}},{key:"font",value:function(e){return new je(e)}},{key:"format",value:function(e){return new Ue(e)}},{key:"handler",value:function(e){return new $e(e)}},{key:"hyphenation",value:function(e){return new Xe(e)}},{key:"image",value:function(e){return new He(e)}},{key:"imageEdit",value:function(e){return new qe(e)}},{key:"integer",value:function(e){return new ze(e)}},{key:"issuers",value:function(e){return new Ge(e)}},{key:"items",value:function(e){return new We(e)}},{key:"keep",value:function(e){return new Ve(e)}},{key:"keyUsage",value:function(e){return new Ke(e)}},{key:"line",value:function(e){return new Ye(e)}},{key:"linear",value:function(e){return new Je(e)}},{key:"lockDocument",value:function(e){return new Ze(e)}},{key:"manifest",value:function(e){return new Qe(e)}},{key:"margin",value:function(e){return new et(e)}},{key:"mdp",value:function(e){return new tt(e)}},{key:"medium",value:function(e){return new rt(e)}},{key:"message",value:function(e){return new nt(e)}},{key:"numericEdit",value:function(e){return new at(e)}},{key:"occur",value:function(e){return new it(e)}},{key:"oid",value:function(e){return new ot(e)}},{key:"oids",value:function(e){return new st(e)}},{key:"overflow",value:function(e){return new ct(e)}},{key:"pageArea",value:function(e){return new ut(e)}},{key:"pageSet",value:function(e){return new lt(e)}},{key:"para",value:function(e){return new ht(e)}},{key:"passwordEdit",value:function(e){return new ft(e)}},{key:"pattern",value:function(e){return new dt(e)}},{key:"picture",value:function(e){return new pt(e)}},{key:"proto",value:function(e){return new gt(e)}},{key:"radial",value:function(e){return new vt(e)}},{key:"reason",value:function(e){return new mt(e)}},{key:"reasons",value:function(e){return new yt(e)}},{key:"rectangle",value:function(e){return new bt(e)}},{key:"ref",value:function(e){return new wt(e)}},{key:"script",value:function(e){return new kt(e)}},{key:"setProperty",value:function(e){return new xt(e)}},{key:"signData",value:function(e){return new St(e)}},{key:"signature",value:function(e){return new At(e)}},{key:"signing",value:function(e){return new Ct(e)}},{key:"solid",value:function(e){return new Ot(e)}},{key:"speak",value:function(e){return new Ft(e)}},{key:"stipple",value:function(e){return new It(e)}},{key:"subform",value:function(e){return new Tt(e)}},{key:"subformSet",value:function(e){return new Mt(e)}},{key:"subjectDN",value:function(e){return new Et(e)}},{key:"subjectDNs",value:function(e){return new Pt(e)}},{key:"submit",value:function(e){return new Rt(e)}},{key:"template",value:function(e){return new Nt(e)}},{key:"text",value:function(e){return new Dt(e)}},{key:"textEdit",value:function(e){return new Bt(e)}},{key:"time",value:function(e){return new Lt(e)}},{key:"timeStamp",value:function(e){return new _t(e)}},{key:"toolTip",value:function(e){return new jt(e)}},{key:"traversal",value:function(e){return new Ut(e)}},{key:"traverse",value:function(e){return new $t(e)}},{key:"ui",value:function(e){return new Xt(e)}},{key:"validate",value:function(e){return new Ht(e)}},{key:"value",value:function(e){return new qt(e)}},{key:"variables",value:function(e){return new zt(e)}}]),t}(o.$buildXFAObject);t.TemplateNamespace=Gt},function(e,t,r){var n=r(3),a=r(4),i=r(24),o=r(11),s=r(45).f,c=r(39),u=r(232),l=r(75),h=r(76),f=r(233),d=r(82),p=r(6),g=r(36),v="DOMException",m=i("Error"),y=i(v),b=function(){u(this,w);var e=arguments.length,t=h(e<1?void 0:arguments[0]),r=h(e<2?void 0:arguments[1],"Error"),n=new y(t,r),a=m(t);return a.name=v,s(n,"stack",o(1,d(a.stack,1))),l(n,this,b),n},w=b.prototype=y.prototype,k="stack"in m(v),x="stack"in new y(1,2),S=y&&p&&Object.getOwnPropertyDescriptor(a,v),A=!(!S||S.writable&&S.configurable),C=k&&!A&&!x;n({global:!0,constructor:!0,forced:g||C},{DOMException:C?b:y});var O=i(v),F=O.prototype;if(F.constructor!==O)for(var I in g||s(F,"constructor",o(1,O)),f)if(c(f,I)){var T=f[I],M=T.s;c(O,M)||s(O,M,o(6,T.c))}},function(e,t,r){var n=r(25),a=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw a("Incorrect invocation")}},function(e){e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.NamespaceIds=t.$buildXFAObject=void 0;var r=Symbol();t.$buildXFAObject=r,t.NamespaceIds={config:{id:0,check:function(e){return e.startsWith("http://www.xfa.org/schema/xci/")}},connectionSet:{id:1,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-connection-set/")}},datasets:{id:2,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-data/")}},form:{id:3,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-form/")}},localeSet:{id:4,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-locale-set/")}},pdf:{id:5,check:function(e){return"http://ns.adobe.com/xdp/pdf/"===e}},signature:{id:6,check:function(e){return"http://www.w3.org/2000/09/xmldsig#"===e}},sourceSet:{id:7,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-source-set/")}},stylesheet:{id:8,check:function(e){return"http://www.w3.org/1999/XSL/Transform"===e}},template:{id:9,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-template/")}},xdc:{id:10,check:function(e){return e.startsWith("http://www.xfa.org/schema/xdc/")}},xdp:{id:11,check:function(e){return"http://ns.adobe.com/xdp/"===e}},xfdf:{id:12,check:function(e){return"http://ns.adobe.com/xfdf/"===e}},xhtml:{id:13,check:function(e){return"http://www.w3.org/1999/xhtml"===e}},xmpmeta:{id:14,check:function(e){return"http://ns.adobe.com/xmpmeta/"===e}}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.addHTML=function(e,t,r){var o=e[n.$extra],s=o.availableSpace,c=S(r,4),u=c[0],l=c[1],h=c[2],f=c[3];switch(e.layout){case"position":o.width=Math.max(o.width,u+h),o.height=Math.max(o.height,l+f),o.children.push(t);break;case"lr-tb":case"rl-tb":o.line&&1!==o.attempt||(o.line=i(e,[]),o.children.push(o.line),o.numberInLine=0),o.numberInLine+=1,o.line.children.push(t),0===o.attempt?(o.currentWidth+=h,o.height=Math.max(o.height,o.prevHeight+f)):(o.currentWidth=h,o.prevHeight=o.height,o.height+=f,o.attempt=0),o.width=Math.max(o.width,o.currentWidth);break;case"rl-row":case"row":o.children.push(t),o.width+=h,o.height=Math.max(o.height,f);var d,p=(0,a.measureToString)(o.height),g=x(o.children);try{for(g.s();!(d=g.n()).done;)d.value.attributes.style.height=p}catch(e){g.e(e)}finally{g.f()}break;case"table":case"tb":o.width=Math.min(s.width,Math.max(o.width,h)),o.height+=f,o.children.push(t)}},t.checkDimensions=function(e,t){var r;if(null===e[n.$getTemplateRoot]()[n.$extra].firstUnsplittable)return!0;if(0===e.w||0===e.h)return!0;var a=e[n.$getSubformParent](),i=(null===(r=a[n.$extra])||void 0===r?void 0:r.attempt)||0,o=function(e){var t,r,n=""===e.w?NaN:e.w,a=""===e.h?NaN:e.h,i=0,o=0;switch(e.anchorType||""){case"bottomCenter":i=n/2,o=a;break;case"bottomLeft":i=0,o=a;break;case"bottomRight":i=n,o=a;break;case"middleCenter":i=n/2,o=a/2;break;case"middleLeft":i=0,o=a/2;break;case"middleRight":i=n,o=a/2;break;case"topCenter":i=n/2,o=0;break;case"topRight":i=n,o=0}switch(e.rotate||0){case 0:t=-i,r=-o;break;case 90:t=-o,r=i;var s=[a,-n];n=s[0],a=s[1];break;case 180:t=i,r=o;var c=[-n,-a];n=c[0],a=c[1];break;case 270:t=o,r=-i;var u=[-a,n];n=u[0],a=u[1]}return[e.x+t+Math.min(0,n),e.y+r+Math.min(0,a),Math.abs(n),Math.abs(a)]}(e),s=S(o,4),c=s[1],u=s[2],l=s[3];switch(a.layout){case"lr-tb":case"rl-tb":return 0===i?e[n.$getTemplateRoot]()[n.$extra].noLayoutFailure?""!==e.w?Math.round(u-t.width)<=2:t.width>2:!(""!==e.h&&Math.round(l-t.height)>2)&&(""!==e.w?Math.round(u-t.width)<=2||0===a[n.$extra].numberInLine&&t.height>2:t.width>2):!!e[n.$getTemplateRoot]()[n.$extra].noLayoutFailure||!(""!==e.h&&Math.round(l-t.height)>2)&&(""===e.w||Math.round(u-t.width)<=2||!a[n.$isThereMoreWidth]())&&t.height>2;case"table":case"tb":return!!e[n.$getTemplateRoot]()[n.$extra].noLayoutFailure||(""===e.h||e[n.$isSplittable]()?(""===e.w||Math.round(u-t.width)<=2||!a[n.$isThereMoreWidth]())&&t.height>2:Math.round(l-t.height)<=2);case"position":return!!e[n.$getTemplateRoot]()[n.$extra].noLayoutFailure||""===e.h||Math.round(l+c-t.height)<=2||l+c>e[n.$getTemplateRoot]()[n.$extra].currentContentArea.h;case"rl-row":case"row":return!!e[n.$getTemplateRoot]()[n.$extra].noLayoutFailure||""===e.h||Math.round(l-t.height)<=2;default:return!0}},t.flushHTML=function(e){if(!e[n.$extra])return null;var t={name:"div",attributes:e[n.$extra].attributes,children:e[n.$extra].children};if(e[n.$extra].failingNode){var r=e[n.$extra].failingNode[n.$flushHTML]();r&&(e.layout.endsWith("-tb")?t.children.push(i(e,[r])):t.children.push(r))}return 0===t.children.length?null:t},t.getAvailableSpace=function(e){var t=e[n.$extra].availableSpace,r=e.margin?e.margin.topInset+e.margin.bottomInset:0,a=e.margin?e.margin.leftInset+e.margin.rightInset:0;switch(e.layout){case"lr-tb":case"rl-tb":return 0===e[n.$extra].attempt?{width:t.width-a-e[n.$extra].currentWidth,height:t.height-r-e[n.$extra].prevHeight}:{width:t.width-a,height:t.height-r-e[n.$extra].height};case"rl-row":case"row":return{width:e[n.$extra].columnWidths.slice(e[n.$extra].currentColumn).reduce((function(e,t){return e+t})),height:t.height-a};case"table":case"tb":return{width:t.width-a,height:t.height-r-e[n.$extra].height};default:return t}},r(139);var n=r(228),a=r(236);function i(e,t){return{name:"div",attributes:{class:["lr-tb"===e.layout?"xfaLr":"xfaRl"]},children:t}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.computeBbox=function(e,t,r){var a;if(""!==e.w&&""!==e.h)a=[e.x,e.y,e.w,e.h];else{if(!r)return null;var i=e.w;if(""===i){if(0===e.maxW){var o=e[n.$getSubformParent]();i="position"===o.layout&&""!==o.w?0:e.minW}else i=Math.min(e.maxW,r.width);t.attributes.style.width=u(i)}var s=e.h;if(""===s){if(0===e.maxH){var c=e[n.$getSubformParent]();s="position"===c.layout&&""!==c.h?0:e.minH}else s=Math.min(e.maxH,r.height);t.attributes.style.height=u(s)}a=[e.x,e.y,i,s]}return a},t.createWrapper=function(e,t){var r=t.attributes,a=r.style,i={name:"div",attributes:{class:["xfaWrapper"],style:Object.create(null)},children:[]};if(r.class.push("xfaWrapped"),e.border){var o,s,c=e.border[n.$extra],u=c.widths,l=c.insets,h=l[0],d=l[3],p=l[0]+l[2],g=l[1]+l[3];switch(e.border.hand){case"even":h-=u[0]/2,d-=u[3]/2,o="calc(100% + ".concat((u[1]+u[3])/2-g,"px)"),s="calc(100% + ".concat((u[0]+u[2])/2-p,"px)");break;case"left":h-=u[0],d-=u[3],o="calc(100% + ".concat(u[1]+u[3]-g,"px)"),s="calc(100% + ".concat(u[0]+u[2]-p,"px)");break;case"right":o=g?"calc(100% - ".concat(g,"px)"):"100%",s=p?"calc(100% - ".concat(p,"px)"):"100%"}var v=["xfaBorder"];f(e.border)&&v.push("xfaPrintOnly");for(var m={name:"div",attributes:{class:v,style:{top:"".concat(h,"px"),left:"".concat(d,"px"),width:o,height:s}},children:[]},y=0,b=["border","borderWidth","borderColor","borderRadius","borderStyle"];y<b.length;y++){var w=b[y];void 0!==a[w]&&(m.attributes.style[w]=a[w],delete a[w])}i.children.push(m,t)}else i.children.push(t);for(var k=0,x=["background","backgroundClip","top","left","width","height","minWidth","minHeight","maxWidth","maxHeight","transform","transformOrigin","visibility"];k<x.length;k++){var S=x[k];void 0!==a[S]&&(i.attributes.style[S]=a[S],delete a[S])}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},t.fixDimensions=function(e){var t,r=e[n.$getSubformParent]();if(null!==(t=r.layout)&&void 0!==t&&t.includes("row")){var a,i=r[n.$extra],o=e.colSpan;a=-1===o?i.columnWidths.slice(i.currentColumn).reduce((function(e,t){return e+t}),0):i.columnWidths.slice(i.currentColumn,i.currentColumn+o).reduce((function(e,t){return e+t}),0),isNaN(a)||(e.w=a)}r.layout&&"position"!==r.layout&&(e.x=e.y=0),"table"===e.layout&&""===e.w&&Array.isArray(e.columnWidths)&&(e.w=e.columnWidths.reduce((function(e,t){return e+t}),0))},t.fixTextIndent=function(e){var t=(0,i.getMeasurement)(e.textIndent,"0px");if(!(t>=0)){var r="padding"+("left"==("right"===e.textAlign?"right":"left")?"Left":"Right"),n=(0,i.getMeasurement)(e[r],"0px");e[r]=n-t+"px"}},t.fixURL=function(e){var t=(0,a.createValidAbsoluteUrl)(e,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return t?t.href:null},t.isPrintOnly=f,t.layoutClass=function(e){switch(e.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"}},t.layoutNode=function(e,t){var r=null,a=null,i=!1;if((!e.w||!e.h)&&e.value){var o=0,s=0;e.margin&&(o=e.margin.leftInset+e.margin.rightInset,s=e.margin.topInset+e.margin.bottomInset);var c=null,u=null;e.para&&(u=Object.create(null),c=""===e.para.lineHeight?null:e.para.lineHeight,u.top=""===e.para.spaceAbove?0:e.para.spaceAbove,u.bottom=""===e.para.spaceBelow?0:e.para.spaceBelow,u.left=""===e.para.marginLeft?0:e.para.marginLeft,u.right=""===e.para.marginRight?0:e.para.marginRight);var l=e.font;if(!l)for(var f=e[n.$getTemplateRoot](),d=e[n.$getParent]();d&&d!==f;){if(d.font){l=d.font;break}d=d[n.$getParent]()}var p=(e.w||t.width)-o,g=e[n.$globalData].fontFinder;if(e.value.exData&&e.value.exData[n.$content]&&"text/html"===e.value.exData.contentType){var v=h(e.value.exData[n.$content],l,u,c,g,p);a=v.width,r=v.height,i=v.isBroken}else{var m=e.value[n.$text]();if(m){var y=h(m,l,u,c,g,p);a=y.width,r=y.height,i=y.isBroken}}null===a||e.w||(a+=o),null===r||e.h||(r+=s)}return{w:a,h:r,isBroken:i}},t.measureToString=u,t.setAccess=function(e,t){switch(e.access){case"nonInteractive":t.push("xfaNonInteractive");break;case"readOnly":t.push("xfaReadOnly");break;case"protected":t.push("xfaDisabled")}},t.setFontFamily=function(e,t,r,n){if(r){var a=(0,i.stripQuotes)(e.typeface);n.fontFamily='"'.concat(a,'"');var s=r.find(a);if(s){var c=s.regular.cssFontInfo.fontFamily;c!==a&&(n.fontFamily='"'.concat(c,'"'));var u=d(t);if(u&&""!==u.lineHeight)return;if(n.lineHeight)return;var l=(0,o.selectFont)(e,s);l&&(n.lineHeight=Math.max(1.2,l.lineHeight))}}else delete n.fontFamily},t.setMinMaxDimensions=function(e,t){"position"===e[n.$getSubformParent]().layout&&(e.minW>0&&(t.minWidth=u(e.minW)),e.maxW>0&&(t.maxWidth=u(e.maxW)),e.minH>0&&(t.minHeight=u(e.minH)),e.maxH>0&&(t.maxHeight=u(e.maxH)))},t.setPara=function(e,t,r){var a;if(null!==(a=r.attributes.class)&&void 0!==a&&a.includes("xfaRich")){t&&(""===e.h&&(t.height="auto"),""===e.w&&(t.width="auto"));var i=d(e);if(i){var o=r.attributes.style;switch(o.display="flex",o.flexDirection="column",i.vAlign){case"top":o.justifyContent="start";break;case"bottom":o.justifyContent="end";break;case"middle":o.justifyContent="center"}for(var s=i[n.$toStyle](),c=0,u=Object.entries(s);c<u.length;c++){var l=S(u[c],2),h=l[0],f=l[1];h in o||(o[h]=f)}}}},t.toStyle=function(e){for(var t=Object.create(null),r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];for(var s=0,u=i;s<u.length;s++){var h=u[s],f=e[h];if(null!==f)if(l.hasOwnProperty(h))l[h](e,t);else if(f instanceof c.XFAObject){var d=f[n.$toStyle]();d?Object.assign(t,d):(0,a.warn)("(DEBUG) - XFA - style for ".concat(h," not implemented yet"))}}return t},r(139);var n=r(228),a=r(144),i=r(237),o=r(238),s=r(239),c=r(240);function u(e){return"string"==typeof e?"0px":Number.isInteger(e)?"".concat(e,"px"):"".concat(e.toFixed(2),"px")}var l={anchorType:function(e,t){var r=e[n.$getSubformParent]();if(r&&(!r.layout||"position"===r.layout))switch("transform"in t||(t.transform=""),e.anchorType){case"bottomCenter":t.transform+="translate(-50%, -100%)";break;case"bottomLeft":t.transform+="translate(0,-100%)";break;case"bottomRight":t.transform+="translate(-100%,-100%)";break;case"middleCenter":t.transform+="translate(-50%,-50%)";break;case"middleLeft":t.transform+="translate(0,-50%)";break;case"middleRight":t.transform+="translate(-100%,-50%)";break;case"topCenter":t.transform+="translate(-50%,0)";break;case"topRight":t.transform+="translate(-100%,0)"}},dimensions:function(e,t){var r,a=e[n.$getSubformParent](),i=e.w,o=e.h;if(null!==(r=a.layout)&&void 0!==r&&r.includes("row")){var s,c=a[n.$extra],l=e.colSpan;-1===l?(s=c.columnWidths.slice(c.currentColumn).reduce((function(e,t){return e+t}),0),c.currentColumn=0):(s=c.columnWidths.slice(c.currentColumn,c.currentColumn+l).reduce((function(e,t){return e+t}),0),c.currentColumn=(c.currentColumn+e.colSpan)%c.columnWidths.length),isNaN(s)||(i=e.w=s)}t.width=""!==i?u(i):"auto",t.height=""!==o?u(o):"auto"},position:function(e,t){var r=e[n.$getSubformParent]();null!=r&&r.layout&&"position"!==r.layout||(t.position="absolute",t.left=u(e.x),t.top=u(e.y))},rotate:function(e,t){e.rotate&&("transform"in t||(t.transform=""),t.transform+="rotate(-".concat(e.rotate,"deg)"),t.transformOrigin="top left")},presence:function(e,t){switch(e.presence){case"invisible":t.visibility="hidden";break;case"hidden":case"inactive":t.display="none"}},hAlign:function(e,t){if("para"===e[n.$nodeName])switch(e.hAlign){case"justifyAll":t.textAlign="justify-all";break;case"radix":t.textAlign="left";break;default:t.textAlign=e.hAlign}else switch(e.hAlign){case"left":t.alignSelf="start";break;case"center":t.alignSelf="center";break;case"right":t.alignSelf="end"}},margin:function(e,t){e.margin&&(t.margin=e.margin[n.$toStyle]().margin)}};function h(e,t,r,a,i,o){var c=new s.TextMeasure(t,r,a,i);return"string"==typeof e?c.addString(e):e[n.$pushGlyphs](c),c.compute(o)}function f(e){return e.relevant.length>0&&!e.relevant[0].excluded&&"print"===e.relevant[0].viewname}function d(e){var t=e[n.$getTemplateRoot]()[n.$extra].paraStack;return t.length?t.at(-1):null}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLResult=void 0,t.getBBox=function(e){var t=-1;if(!e)return{x:t,y:t,width:t,height:t};var r=e.trim().split(/\s*,\s*/).map((function(e){return s(e,"-1")}));if(r.length<4||r[2]<0||r[3]<0)return{x:t,y:t,width:t,height:t};var n=S(r,4);return{x:n[0],y:n[1],width:n[2],height:n[3]}},t.getColor=function(e){var t=S(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0],3),r=t[0],n=t[1],a=t[2];if(!e)return{r,g:n,b:a};var i=e.trim().split(/\s*,\s*/).map((function(e){return Math.min(Math.max(0,parseInt(e.trim(),10)),255)})).map((function(e){return isNaN(e)?0:e}));if(i.length<3)return{r,g:n,b:a};var o=S(i,3);return{r:r=o[0],g:n=o[1],b:a=o[2]}},t.getFloat=function(e){var t=e.data,r=e.defaultValue,n=e.validate;if(!t)return r;t=t.trim();var a=parseFloat(t);return!isNaN(a)&&n(a)?a:r},t.getInteger=function(e){var t=e.data,r=e.defaultValue,n=e.validate;if(!t)return r;t=t.trim();var a=parseInt(t,10);return!isNaN(a)&&n(a)?a:r},t.getKeyword=o,t.getMeasurement=s,t.getRatio=function(e){if(!e)return{num:1,den:1};var t=e.trim().split(/\s*:\s*/).map((function(e){return parseFloat(e)})).filter((function(e){return!isNaN(e)}));if(1===t.length&&t.push(1),0===t.length)return{num:1,den:1};var r=S(t,2);return{num:r[0],den:r[1]}},t.getRelevant=function(e){return e?e.trim().split(/\s+/).map((function(e){return{excluded:"-"===e[0],viewname:e.substring(1)}})):[]},t.getStringOption=function(e,t){return o({data:e,defaultValue:t[0],validate:function(e){return t.includes(e)}})},t.stripQuotes=function(e){return e.startsWith("'")||e.startsWith('"')?e.slice(1,-1):e},r(139);var n=r(144),a={pt:function(e){return e},cm:function(e){return e/2.54*72},mm:function(e){return e/25.4*72},in:function(e){return 72*e},px:function(e){return e}},i=/([+-]?\d+\.?\d*)(.*)/;function o(e){var t=e.data,r=e.defaultValue,n=e.validate;return t&&n(t=t.trim())?t:r}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(t||(t="0"),!e)return s(t);var r=e.trim().match(i);if(!r)return s(t);var n=S(r,3),o=n[1],c=n[2],u=parseFloat(o);if(isNaN(u))return s(t);if(0===u)return 0;var l=a[c];return l?l(u):u}var c=function(){function e(t,r,n,a){M(this,e),this.success=t,this.html=r,this.bbox=n,this.breakNode=a}return P(e,[{key:"isBreak",value:function(){return!!this.breakNode}}],[{key:"FAILURE",get:function(){return(0,n.shadow)(this,"FAILURE",new e(!1,null,null,null))}},{key:"EMPTY",get:function(){return(0,n.shadow)(this,"EMPTY",new e(!0,null,null,null))}},{key:"breakNode",value:function(t){return new e(!1,null,null,t)}},{key:"success",value:function(t){return new e(!0,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,null)}}]),e}();t.HTMLResult=c},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.FontFinder=void 0,t.getMetrics=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=null;if(e){var i=(0,a.stripQuotes)(e.typeface),s=e[n.$globalData].fontFinder.find(i);r=o(e,s)}if(!r)return{lineHeight:12,lineGap:2,lineNoGap:10};var c=e.size||10,u=r.lineHeight?Math.max(t?0:1.2,r.lineHeight):1.2,l=void 0===r.lineGap?.2:r.lineGap;return{lineHeight:u*c,lineGap:l*c,lineNoGap:Math.max(1,u-l)*c}},t.selectFont=o,r(116),r(126),r(128),r(131),r(133),r(135),r(137),r(139);var n=r(228),a=r(237),i=r(144);function o(e,t){return"italic"===e.posture?"bold"===e.weight?t.bolditalic:t.italic:"bold"===e.weight?t.bold:t.regular}t.FontFinder=function(){function e(t){M(this,e),this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(t)}return P(e,[{key:"add",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=x(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;this.addPdfFont(a)}}catch(e){n.e(e)}finally{n.f()}var i,o=x(this.fonts.values());try{for(o.s();!(i=o.n()).done;){var s=i.value;s.regular||(s.regular=s.italic||s.bold||s.bolditalic)}}catch(e){o.e(e)}finally{o.f()}if(r&&0!==r.size){var c,u=this.fonts.get("PdfJS-Fallback-PdfJS-XFA"),l=x(r);try{for(l.s();!(c=l.n()).done;){var h=c.value;this.fonts.set(h,u)}}catch(e){l.e(e)}finally{l.f()}}}},{key:"addPdfFont",value:function(e){var t=e.cssFontInfo,r=t.fontFamily,n=this.fonts.get(r);n||(n=Object.create(null),this.fonts.set(r,n),this.defaultFont||(this.defaultFont=n));var a,i,o,s="",c=parseFloat(t.fontWeight);0!==parseFloat(t.italicAngle)?s=c>=700?"bolditalic":"italic":c>=700&&(s="bold"),s||((e.name.includes("Bold")||(null===(a=e.psName)||void 0===a?void 0:a.includes("Bold")))&&(s="bold"),(e.name.includes("Italic")||e.name.endsWith("It")||(null===(i=e.psName)||void 0===i?void 0:i.includes("Italic"))||(null===(o=e.psName)||void 0===o?void 0:o.endsWith("It")))&&(s+="italic")),s||(s="regular"),n[s]=e}},{key:"getDefault",value:function(){return this.defaultFont}},{key:"find",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.fonts.get(e)||this.cache.get(e);if(r)return r;var n=/,|-|_| |bolditalic|bold|italic|regular|it/gi,a=e.replaceAll(n,"");if(r=this.fonts.get(a))return this.cache.set(e,r),r;a=a.toLowerCase();var o,s=[],c=x(this.fonts.entries());try{for(c.s();!(o=c.n()).done;){var u=S(o.value,2),l=u[0],h=u[1];l.replaceAll(n,"").toLowerCase().startsWith(a)&&s.push(h)}}catch(e){c.e(e)}finally{c.f()}if(0===s.length){var f,d=x(this.fonts.entries());try{for(d.s();!(f=d.n()).done;){var p,g=S(f.value,2)[1];(null===(p=g.regular.name)||void 0===p?void 0:p.replaceAll(n,"").toLowerCase().startsWith(a))&&s.push(g)}}catch(e){d.e(e)}finally{d.f()}}if(0===s.length){a=a.replaceAll(/psmt|mt/gi,"");var v,m=x(this.fonts.entries());try{for(m.s();!(v=m.n()).done;){var y=S(v.value,2),b=y[0],w=y[1];b.replaceAll(n,"").toLowerCase().startsWith(a)&&s.push(w)}}catch(e){m.e(e)}finally{m.f()}}if(0===s.length){var k,A=x(this.fonts.values());try{for(A.s();!(k=A.n()).done;){var C,O=k.value;(null===(C=O.regular.name)||void 0===C?void 0:C.replaceAll(n,"").toLowerCase().startsWith(a))&&s.push(O)}}catch(e){A.e(e)}finally{A.f()}}return s.length>=1?(1!==s.length&&t&&(0,i.warn)("XFA - Too many choices to guess the correct font: ".concat(e)),this.cache.set(e,s[0]),s[0]):(t&&!this.warned.has(e)&&(this.warned.add(e),(0,i.warn)("XFA - Cannot find the font: ".concat(e))),null)}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.TextMeasure=void 0,r(139);var n=r(238),a=function(){function e(t,r,a,i){if(M(this,e),this.lineHeight=a,this.paraMargin=r||{top:0,bottom:0,left:0,right:0},!t){var o=S(this.defaultFont(i),2);return this.pdfFont=o[0],void(this.xfaFont=o[1])}this.xfaFont={typeface:t.typeface,posture:t.posture,weight:t.weight,size:t.size,letterSpacing:t.letterSpacing};var s=i.find(t.typeface);if(s){var c;this.pdfFont=(0,n.selectFont)(t,s),this.pdfFont||(c=S(this.defaultFont(i),2),this.pdfFont=c[0],this.xfaFont=c[1])}else{var u=S(this.defaultFont(i),2);this.pdfFont=u[0],this.xfaFont=u[1]}}return P(e,[{key:"defaultFont",value:function(e){var t=e.find("Helvetica",!1)||e.find("Myriad Pro",!1)||e.find("Arial",!1)||e.getDefault();if(null!=t&&t.regular){var r=t.regular;return[r,{typeface:r.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0}]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}]),e}(),i=function(){function e(t,r,n,i){M(this,e),this.fontFinder=i,this.stack=[new a(t,r,n,i)]}return P(e,[{key:"pushData",value:function(e,t,r){for(var n=this.stack.at(-1),i=0,o=["typeface","posture","weight","size","letterSpacing"];i<o.length;i++){var s=o[i];e[s]||(e[s]=n.xfaFont[s])}for(var c=0,u=["top","bottom","left","right"];c<u.length;c++){var l=u[c];isNaN(t[l])&&(t[l]=n.paraMargin[l])}var h=new a(e,t,r||n.lineHeight,this.fontFinder);h.pdfFont||(h.pdfFont=n.pdfFont),this.stack.push(h)}},{key:"popFont",value:function(){this.stack.pop()}},{key:"topFont",value:function(){return this.stack.at(-1)}}]),e}();t.TextMeasure=function(){function e(t,r,n,a){M(this,e),this.glyphs=[],this.fontSelector=new i(t,r,n,a),this.extraHeight=0}return P(e,[{key:"pushData",value:function(e,t,r){this.fontSelector.pushData(e,t,r)}},{key:"popFont",value:function(e){return this.fontSelector.popFont()}},{key:"addPara",value:function(){var e=this.fontSelector.topFont();this.extraHeight+=e.paraMargin.top+e.paraMargin.bottom}},{key:"addString",value:function(e){if(e){var t=this.fontSelector.topFont(),r=t.xfaFont.size;if(t.pdfFont){var n,a=t.xfaFont.letterSpacing,i=t.pdfFont,o=i.lineHeight||1.2,s=t.lineHeight||Math.max(1.2,o)*r,c=o-(void 0===i.lineGap?.2:i.lineGap),u=Math.max(1,c)*r,l=r/1e3,h=i.defaultWidth||i.charsToGlyphs(" ")[0].width,f=x(e.split(/[\u2029\n]/));try{for(f.s();!(n=f.n()).done;){var d,p=n.value,g=i.encodeString(p).join(""),v=x(i.charsToGlyphs(g));try{for(v.s();!(d=v.n()).done;){var m=d.value,y=m.width||h;this.glyphs.push([y*l+a,s,u,m.unicode,!1])}}catch(e){v.e(e)}finally{v.f()}this.glyphs.push([0,0,0,"\n",!0])}}catch(e){f.e(e)}finally{f.f()}this.glyphs.pop()}else{var b,w=x(e.split(/[\u2029\n]/));try{for(w.s();!(b=w.n()).done;){var k,S=x(b.value.split(""));try{for(S.s();!(k=S.n()).done;){var A=k.value;this.glyphs.push([r,1.2*r,r,A,!1])}}catch(e){S.e(e)}finally{S.f()}this.glyphs.push([0,0,0,"\n",!0])}}catch(e){w.e(e)}finally{w.f()}this.glyphs.pop()}}}},{key:"compute",value:function(e){for(var t=-1,r=0,n=0,a=0,i=0,o=0,s=!1,c=!0,u=0,l=this.glyphs.length;u<l;u++){var h=S(this.glyphs[u],5),f=h[0],d=h[1],p=h[2],g=" "===h[3],v=c?p:d;h[4]?(n=Math.max(n,i),i=0,a+=o,o=v,t=-1,r=0,c=!1):g?i+f>e?(n=Math.max(n,i),i=0,a+=o,o=v,t=-1,r=0,s=!0,c=!1):(o=Math.max(v,o),r=i,i+=f,t=u):i+f>e?(a+=o,o=v,-1!==t?(u=t,n=Math.max(n,r),i=0,t=-1,r=0):(n=Math.max(n,i),i=f),s=!0,c=!1):(i+=f,o=Math.max(v,o))}return{width:1.02*(n=Math.max(n,i)),height:a+=o+this.extraHeight,isBroken:s}}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XmlObject=t.XFAObjectArray=t.XFAObject=t.XFAAttribute=t.StringObject=t.OptionObject=t.Option10=t.Option01=t.IntegerObject=t.ContentObject=void 0,r(139),r(116),r(126),r(128),r(131),r(133),r(135),r(137);var n=r(228),i=r(237),o=r(144),s=r(149),c=r(234),u=r(241),l=Symbol(),h=Symbol(),p=Symbol(),v=Symbol("_children"),b=Symbol(),w=Symbol(),A=Symbol(),C=Symbol(),O=Symbol(),F=Symbol(),I=Symbol(),T=Symbol(),E=Symbol(),R=Symbol("parent"),D=Symbol(),B=Symbol(),L=Symbol(),_=0,j=c.NamespaceIds.datasets.id,U=function(e,t,r,a,s,h,d,g,m,y,w,S,A,E,L,U,q,z,G,W,V,K,Y,J,Z,Q,ee,te,re,ne,ae,ie,oe,se,ce,ue,le,he,fe,de,pe,ge,ve){function me(e,t){M(this,me);var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this[n.$namespaceId]=e,this[n.$nodeName]=t,this[I]=r,this[R]=null,this[v]=[],this[n.$uid]="".concat(t).concat(_++),this[n.$globalData]=null}return P(me,[{key:"isXFAObject",get:function(){return!0}},{key:"isXFAObjectArray",get:function(){return!1}},{key:"createNodes",value:function(e){var t,r=this,a=null,i=x(e);try{for(i.s();!(t=i.n()).done;){for(var o=t.value,s=o.name,c=o.index,u=0,l=isFinite(c)?c:0;u<=l;u++){var h=r[n.$namespaceId]===j?-1:r[n.$namespaceId];a=new H(h,s),r[n.$appendChild](a)}r=a}}catch(e){i.e(e)}finally{i.f()}return a}},{key:e,value:function(e){if(!this[I]||!this[n.$onChildCheck](e))return!1;var t=e[n.$nodeName],r=this[t];if(!(r instanceof $))return null!==r&&this[n.$removeChild](r),this[t]=e,this[n.$appendChild](e),!0;if(r.push(e))return this[n.$appendChild](e),!0;var a="";return this.id?a=" (id: ".concat(this.id,")"):this.name&&(a=" (name: ".concat(this.name," ").concat(this.h.value,")")),(0,o.warn)('XFA - node "'.concat(this[n.$nodeName],'"').concat(a,' has already enough "').concat(t,'"!')),!1}},{key:t,value:function(e){return this.hasOwnProperty(e[n.$nodeName])&&e[n.$namespaceId]===this[n.$namespaceId]}},{key:r,value:function(){return!1}},{key:a,value:function(){return!1}},{key:s,value:function(){return!1}},{key:h,value:function(){return!1}},{key:d,value:function(){this.para&&this[n.$getTemplateRoot]()[n.$extra].paraStack.pop()}},{key:g,value:function(){this[n.$getTemplateRoot]()[n.$extra].paraStack.push(this.para)}},{key:m,value:function(e){this.id&&this[n.$namespaceId]===c.NamespaceIds.template.id&&e.set(this.id,this)}},{key:y,value:function(){return this[n.$globalData].template}},{key:w,value:function(){return!1}},{key:S,value:function(){return!1}},{key:A,value:function(e){e[R]=this,this[v].push(e),!e[n.$globalData]&&this[n.$globalData]&&(e[n.$globalData]=this[n.$globalData])}},{key:E,value:function(e){var t=this[v].indexOf(e);this[v].splice(t,1)}},{key:L,value:function(){return this.hasOwnProperty("value")}},{key:U,value:function(e){}},{key:q,value:function(e){}},{key:z,value:function(){}},{key:G,value:function(e){delete this[I],this[n.$cleanup]&&(e.clean(this[n.$cleanup]),delete this[n.$cleanup])}},{key:W,value:function(e){return this[v].indexOf(e)}},{key:V,value:function(e,t){t[R]=this,this[v].splice(e,0,t),!t[n.$globalData]&&this[n.$globalData]&&(t[n.$globalData]=this[n.$globalData])}},{key:K,value:function(){return!this.name}},{key:Y,value:function(){return""}},{key:J,value:function(){return 0===this[v].length?this[n.$content]:this[v].map((function(e){return e[n.$text]()})).join("")}},{key:p,get:function(){var e=Object.getPrototypeOf(this);if(!e._attributes){var t,r=e._attributes=new Set,n=x(Object.getOwnPropertyNames(this));try{for(n.s();!(t=n.n()).done;){var a=t.value;if(null===this[a]||this[a]instanceof me||this[a]instanceof $)break;r.add(a)}}catch(e){n.e(e)}finally{n.f()}}return(0,o.shadow)(this,p,e._attributes)}},{key:Z,value:function(e){for(var t=this;t;){if(t===e)return!0;t=t[n.$getParent]()}return!1}},{key:Q,value:function(){return this[R]}},{key:ee,value:function(){return this[n.$getParent]()}},{key:te,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[e]:this[v]}},{key:re,value:function(){var e=Object.create(null);this[n.$content]&&(e.$content=this[n.$content]);var t,r=x(Object.getOwnPropertyNames(this));try{for(r.s();!(t=r.n()).done;){var a=t.value,i=this[a];null!==i&&(i instanceof me?e[a]=i[n.$dump]():i instanceof $?i.isEmpty()||(e[a]=i.dump()):e[a]=i)}}catch(e){r.e(e)}finally{r.f()}return e}},{key:ne,value:function(){return null}},{key:ae,value:function(){return i.HTMLResult.EMPTY}},{key:ie,value:k().mark((function e(){var t,r,a;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=x(this[n.$getChildren]()),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=9;break}return a=r.value,e.next=7,a;case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))},{key:C,value:k().mark((function e(t,r){var a,i,o,s,c;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=x(this[n.$getContainedChildren]()),e.prev=1,a.s();case 3:if((i=a.n()).done){e.next=12;break}if(o=i.value,t&&r!==t.has(o[n.$nodeName])){e.next=10;break}return s=this[n.$getAvailableSpace](),(c=o[n.$toHTML](s)).success||(this[n.$extra].failingNode=o),e.next=10,c;case 10:e.next=3;break;case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(1),a.e(e.t0);case 17:return e.prev=17,a.f(),e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[1,14,17,20]])}))},{key:oe,value:function(){return null}},{key:se,value:function(e,t){this[n.$extra].children.push(e)}},{key:ce,value:function(){}},{key:ue,value:function(e){var t=e.filter,r=void 0===t?null:t,a=e.include,o=void 0===a||a;if(this[n.$extra].generator){var s=this[n.$getAvailableSpace](),c=this[n.$extra].failingNode[n.$toHTML](s);if(!c.success)return c;c.html&&this[n.$addHTML](c.html,c.bbox),delete this[n.$extra].failingNode}else this[n.$extra].generator=this[C](r,o);for(;;){var u=this[n.$extra].generator.next();if(u.done)break;var l=u.value;if(!l.success)return l;l.html&&this[n.$addHTML](l.html,l.bbox)}return this[n.$extra].generator=null,i.HTMLResult.EMPTY}},{key:le,value:function(e){this[B]=new Set(Object.keys(e))}},{key:F,value:function(e){var t=this[p],r=this[B];return f(e).filter((function(e){return t.has(e)&&!r.has(e)}))}},{key:he,value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,n=x(this[v]);try{for(n.s();!(t=n.n()).done;)t.value[D](e,r)}catch(e){n.e(e)}finally{n.f()}}},{key:D,value:function(e,t){var r=this[O](e,t);r?this[l](r,e,t):this[n.$resolvePrototypes](e,t)}},{key:O,value:function(e,t){var r=this.use,a=this.usehref;if(!r&&!a)return null;var i=null,s=null,c=null,h=r;if(a?(h=a,a.startsWith("#som(")&&a.endsWith(")")?s=a.slice(5,-1):a.startsWith(".#som(")&&a.endsWith(")")?s=a.slice(6,-1):a.startsWith("#")?c=a.slice(1):a.startsWith(".#")&&(c=a.slice(2))):r.startsWith("#")?c=r.slice(1):s=r,this.use=this.usehref="",c?i=e.get(c):(i=(0,u.searchNode)(e.get(n.$root),this,s,!0,!1))&&(i=i[0]),!i)return(0,o.warn)("XFA - Invalid prototype reference: ".concat(h,".")),null;if(i[n.$nodeName]!==this[n.$nodeName])return(0,o.warn)("XFA - Incompatible prototype: ".concat(i[n.$nodeName]," !== ").concat(this[n.$nodeName],".")),null;if(t.has(i))return(0,o.warn)("XFA - Cycle detected in prototypes use."),null;t.add(i);var f=i[O](e,t);return f&&i[l](f,e,t),i[n.$resolvePrototypes](e,t),t.delete(i),i}},{key:l,value:function(e,t,r){if(r.has(e))(0,o.warn)("XFA - Cycle detected in prototypes use.");else{!this[n.$content]&&e[n.$content]&&(this[n.$content]=e[n.$content]),new Set(r).add(e);var a,i=x(this[F](e[B]));try{for(i.s();!(a=i.n()).done;){var s=a.value;this[s]=e[s],this[B]&&this[B].add(s)}}catch(e){i.e(e)}finally{i.f()}var c,u=x(Object.getOwnPropertyNames(this));try{for(u.s();!(c=u.n()).done;){var h=c.value;if(!this[p].has(h)){var f=this[h],d=e[h];if(f instanceof $){var g,m=x(f[v]);try{for(m.s();!(g=m.n()).done;)g.value[D](t,r)}catch(e){m.e(e)}finally{m.f()}for(var y=f[v].length,b=d[v].length;y<b;y++){var w=e[v][y][n.$clone]();if(!f.push(w))break;w[R]=this,this[v].push(w),w[D](t,r)}}else if(null===f){if(null!==d){var k=d[n.$clone]();k[R]=this,this[h]=k,this[v].push(k),k[D](t,r)}}else f[n.$resolvePrototypes](t,r),d&&f[l](d,t,r)}}}catch(e){u.e(e)}finally{u.f()}}}},{key:fe,value:function(){var e,t=Object.create(Object.getPrototypeOf(this)),r=x(Object.getOwnPropertySymbols(this));try{for(r.s();!(e=r.n()).done;){var a=e.value;try{t[a]=this[a]}catch(e){(0,o.shadow)(t,a,this[a])}}}catch(e){r.e(e)}finally{r.f()}t[n.$uid]="".concat(t[n.$nodeName]).concat(_++),t[v]=[];var i,s=x(Object.getOwnPropertyNames(this));try{for(s.s();!(i=s.n()).done;){var c=i.value;if(this[p].has(c))t[c]=me[b](this[c]);else{var u=this[c];t[c]=u instanceof $?new $(u[T]):null}}}catch(e){s.e(e)}finally{s.f()}var l,h=x(this[v]);try{for(h.s();!(l=h.n()).done;){var f=l.value,d=f[n.$nodeName],g=f[n.$clone]();t[v].push(g),g[R]=t,null===t[d]?t[d]=g:t[d][v].push(g)}}catch(e){h.e(e)}finally{h.f()}return t}},{key:de,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[v].filter((function(t){return t[n.$nodeName]===e})):this[v]}},{key:pe,value:function(e){return this[e]}},{key:ge,value:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Array.from(this[n.$getChildrenByNameIt](e,t,r))}},{key:ve,value:function(e,t){var r=this,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return k().mark((function i(){var o,s,c;return k().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if("parent"===e){i.next=33;break}o=x(r[v]),i.prev=2,o.s();case 4:if((s=o.n()).done){i.next=19;break}if(c=s.value,i.t0=c[n.$nodeName]===e,!i.t0){i.next=10;break}return i.next=10,c;case 10:if(i.t1=c.name===e,!i.t1){i.next=14;break}return i.next=14,c;case 14:if(i.t2=t||c[n.$isTransparent](),!i.t2){i.next=17;break}return i.delegateYield(c[n.$getChildrenByNameIt](e,t,!1),"t3",17);case 17:i.next=4;break;case 19:i.next=24;break;case 21:i.prev=21,i.t4=i.catch(2),o.e(i.t4);case 24:return i.prev=24,o.f(),i.finish(24);case 27:if(i.t5=a&&r[p].has(e),!i.t5){i.next=31;break}return i.next=31,new X(r,e,r[e]);case 31:i.next=35;break;case 33:return i.next=35,r[R];case 35:case"end":return i.stop()}}),i,null,[[2,21,24,27]])}))()}}],[{key:b,value:function(e){return Array.isArray(e)?e.map((function(e){return me[b](e)})):"object"==N(e)&&null!==e?Object.assign({},e):e}}]),me}(n.$onChild,n.$onChildCheck,n.$isNsAgnostic,n.$acceptWhitespace,n.$isCDATAXml,n.$isBindable,n.$popPara,n.$pushPara,n.$setId,n.$getTemplateRoot,n.$isSplittable,n.$isThereMoreWidth,n.$appendChild,n.$removeChild,n.$hasSettableValue,n.$setValue,n.$onText,n.$finalize,n.$clean,n.$indexOf,n.$insertAt,n.$isTransparent,n.$lastAttribute,n.$text,n.$isDescendent,n.$getParent,n.$getSubformParent,n.$getChildren,n.$dump,n.$toStyle,n.$toHTML,n.$getContainedChildren,n.$flushHTML,n.$addHTML,n.$getAvailableSpace,n.$childrenToHTML,n.$setSetAttributes,n.$resolvePrototypes,n.$clone,n.$getChildren,n.$getChildrenByClass,n.$getChildrenByName,n.$getChildrenByNameIt);t.XFAObject=U;var $=function(e){function t(){M(this,t);var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0;this[T]=e,this[v]=[]}return P(t,[{key:"isXFAObject",get:function(){return!1}},{key:"isXFAObjectArray",get:function(){return!0}},{key:"push",value:function(e){return this[v].length<=this[T]?(this[v].push(e),!0):((0,o.warn)('XFA - node "'.concat(e[n.$nodeName],'" accepts no more than ').concat(this[T]," children")),!1)}},{key:"isEmpty",value:function(){return 0===this[v].length}},{key:"dump",value:function(){return 1===this[v].length?this[v][0][n.$dump]():this[v].map((function(e){return e[n.$dump]()}))}},{key:e,value:function(){var e=new t(this[T]);return e[v]=this[v].map((function(e){return e[n.$clone]()})),e}},{key:"children",get:function(){return this[v]}},{key:"clear",value:function(){this[v].length=0}}]),t}(n.$clone);t.XFAObjectArray=$;var X=function(e,t,r,a,i,o){function s(e,t,r){M(this,s),this[R]=e,this[n.$nodeName]=t,this[n.$content]=r,this[n.$consumed]=!1,this[n.$uid]="attribute"+_++}return P(s,[{key:e,value:function(){return this[R]}},{key:t,value:function(){return!0}},{key:r,value:function(){return this[n.$content].trim()}},{key:a,value:function(e){e=e.value||"",this[n.$content]=e.toString()}},{key:i,value:function(){return this[n.$content]}},{key:o,value:function(e){return this[R]===e||this[R][n.$isDescendent](e)}}]),s}(n.$getParent,n.$isDataValue,n.$getDataValue,n.$setValue,n.$text,n.$isDescendent);t.XFAAttribute=X;var H=function(e,t,r,a,u,l,f,p,m,b,A,C,O,F,I,T){function E(e,t){var r;M(this,E);var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if((r=d(this,E,[e,t]))[n.$content]="",r[w]=null,"#text"!==t){var i=new Map;r[h]=i;for(var o=0,s=Object.entries(a);o<s.length;o++){var c=S(s[o],2),u=c[0],l=c[1];i.set(u,new X(g(r),u,l))}if(a.hasOwnProperty(n.$nsAttributes)){var f=a[n.$nsAttributes].xfa.dataNode;void 0!==f&&("dataGroup"===f?r[w]=!1:"dataValue"===f&&(r[w]=!0))}}return r[n.$consumed]=!1,r}return y(E,e),P(E,[{key:t,value:function(e){var t=this[n.$nodeName];if("#text"!==t){var r=(0,o.utf8StringToString)(t),a=this[n.$namespaceId]===j?"xfa:":"";e.push("<".concat(a).concat(r));var i,c=x(this[h].entries());try{for(c.s();!(i=c.n()).done;){var u=S(i.value,2),l=u[0],f=u[1],d=(0,o.utf8StringToString)(l);e.push(" ".concat(d,'="').concat((0,s.encodeToXmlString)(f[n.$content]),'"'))}}catch(e){c.e(e)}finally{c.f()}if(null!==this[w]&&(this[w]?e.push(' xfa:dataNode="dataValue"'):e.push(' xfa:dataNode="dataGroup"')),this[n.$content]||0!==this[v].length){if(e.push(">"),this[n.$content])"string"==typeof this[n.$content]?e.push((0,s.encodeToXmlString)(this[n.$content])):this[n.$content][n.$toString](e);else{var p,g=x(this[v]);try{for(g.s();!(p=g.n()).done;)p.value[n.$toString](e)}catch(e){g.e(e)}finally{g.f()}}e.push("</".concat(a).concat(r,">"))}else e.push("/>")}else e.push((0,s.encodeToXmlString)(this[n.$content]))}},{key:r,value:function(e){if(this[n.$content]){var t=new E(this[n.$namespaceId],"#text");this[n.$appendChild](t),t[n.$content]=this[n.$content],this[n.$content]=""}return this[n.$appendChild](e),!0}},{key:a,value:function(e){this[n.$content]+=e}},{key:u,value:function(){if(this[n.$content]&&this[v].length>0){var e=new E(this[n.$namespaceId],"#text");this[n.$appendChild](e),e[n.$content]=this[n.$content],delete this[n.$content]}}},{key:l,value:function(){return"#text"===this[n.$nodeName]?i.HTMLResult.success({name:"#text",value:this[n.$content]}):i.HTMLResult.EMPTY}},{key:f,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[v].filter((function(t){return t[n.$nodeName]===e})):this[v]}},{key:p,value:function(){return this[h]}},{key:m,value:function(e){var t=this[h].get(e);return void 0!==t?t:this[n.$getChildren](e)}},{key:b,value:k().mark((function e(t,r){var a,i,o,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=this[h].get(t),e.t0=a,!e.t0){e.next=5;break}return e.next=5,a;case 5:i=x(this[v]),e.prev=6,i.s();case 8:if((o=i.n()).done){e.next=19;break}if(s=o.value,e.t1=s[n.$nodeName]===t,!e.t1){e.next=14;break}return e.next=14,s;case 14:if(e.t2=r,!e.t2){e.next=17;break}return e.delegateYield(s[n.$getChildrenByNameIt](t,r),"t3",17);case 17:e.next=8;break;case 19:e.next=24;break;case 21:e.prev=21,e.t4=e.catch(6),i.e(e.t4);case 24:return e.prev=24,i.f(),e.finish(24);case 27:case"end":return e.stop()}}),e,this,[[6,21,24,27]])}))},{key:A,value:k().mark((function e(t,r){var a,i,o,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=this[h].get(t),e.t0=!a||r&&a[n.$consumed],e.t0){e.next=5;break}return e.next=5,a;case 5:i=x(this[v]),e.prev=6,i.s();case 8:if((o=i.n()).done){e.next=13;break}return s=o.value,e.delegateYield(s[n.$getAttributeIt](t,r),"t1",11);case 11:e.next=8;break;case 13:e.next=18;break;case 15:e.prev=15,e.t2=e.catch(6),i.e(e.t2);case 18:return e.prev=18,i.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[6,15,18,21]])}))},{key:C,value:k().mark((function e(t,r,a){var i,o,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=x(this[v]),e.prev=1,i.s();case 3:if((o=i.n()).done){e.next=14;break}if(s=o.value,e.t0=s[n.$nodeName]!==t||a&&s[n.$consumed],e.t0){e.next=9;break}return e.next=9,s;case 9:if(e.t1=r,!e.t1){e.next=12;break}return e.delegateYield(s[n.$getRealChildrenByNameIt](t,r,a),"t2",12);case 12:e.next=3;break;case 14:e.next=19;break;case 16:e.prev=16,e.t3=e.catch(1),i.e(e.t3);case 19:return e.prev=19,i.f(),e.finish(19);case 22:case"end":return e.stop()}}),e,this,[[1,16,19,22]])}))},{key:O,value:function(){return null===this[w]?0===this[v].length||this[v][0][n.$namespaceId]===c.NamespaceIds.xhtml.id:this[w]}},{key:F,value:function(){return null===this[w]?0===this[v].length?this[n.$content].trim():this[v][0][n.$namespaceId]===c.NamespaceIds.xhtml.id?this[v][0][n.$text]().trim():null:this[n.$content].trim()}},{key:I,value:function(e){e=e.value||"",this[n.$content]=e.toString()}},{key:T,value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=Object.create(null);e&&(t.$ns=this[n.$namespaceId]),this[n.$content]&&(t.$content=this[n.$content]),t.$name=this[n.$nodeName],t.children=[];var r,a=x(this[v]);try{for(a.s();!(r=a.n()).done;){var i=r.value;t.children.push(i[n.$dump](e))}}catch(e){a.e(e)}finally{a.f()}t.attributes=Object.create(null);var o,s=x(this[h]);try{for(s.s();!(o=s.n()).done;){var c=S(o.value,2),u=c[0],l=c[1];t.attributes[u]=l[n.$content]}}catch(e){s.e(e)}finally{s.f()}return t}}]),E}(U,n.$toString,n.$onChild,n.$onText,n.$finalize,n.$toHTML,n.$getChildren,n.$getAttributes,n.$getChildrenByClass,n.$getChildrenByNameIt,n.$getAttributeIt,n.$getRealChildrenByNameIt,n.$isDataValue,n.$getDataValue,n.$setValue,n.$dump);t.XmlObject=H;var q=function(e,t,r){function a(e,t){var r;return M(this,a),(r=d(this,a,[e,t]))[n.$content]="",r}return y(a,e),P(a,[{key:t,value:function(e){this[n.$content]+=e}},{key:r,value:function(){}}]),a}(U,n.$onText,n.$finalize);t.ContentObject=q;var z=function(e,t,r){function o(e,t,r){var n;return M(this,o),(n=d(this,o,[e,t]))[E]=r,n}return y(o,e),P(o,[{key:t,value:function(){var e=this;this[n.$content]=(0,i.getKeyword)({data:this[n.$content],defaultValue:this[E][0],validate:function(t){return e[E].includes(t)}})}},{key:r,value:function(e){a(m(o.prototype),n.$clean,this).call(this,e),delete this[E]}}]),o}(q,n.$finalize,n.$clean);t.OptionObject=z;var G=function(e,t){function r(){return M(this,r),d(this,r,arguments)}return y(r,e),P(r,[{key:t,value:function(){this[n.$content]=this[n.$content].trim()}}]),r}(q,n.$finalize);t.StringObject=G;var W=function(e,t,r){function o(e,t,r,n){var a;return M(this,o),(a=d(this,o,[e,t]))[A]=r,a[L]=n,a}return y(o,e),P(o,[{key:t,value:function(){this[n.$content]=(0,i.getInteger)({data:this[n.$content],defaultValue:this[A],validate:this[L]})}},{key:r,value:function(e){a(m(o.prototype),n.$clean,this).call(this,e),delete this[A],delete this[L]}}]),o}(q,n.$finalize,n.$clean);t.IntegerObject=W,t.Option01=function(e){function t(e,r){return M(this,t),d(this,t,[e,r,0,function(e){return 1===e}])}return y(t,e),P(t)}(W),t.Option10=function(e){function t(e,r){return M(this,t),d(this,t,[e,r,1,function(e){return 0===e}])}return y(t,e),P(t)}(W)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.createDataNode=function(e,t,r){var i=l(r);if(!i)return null;if(i.some((function(e){return e.operator===s.dotDot})))return null;var o=c.get(i[0].name),u=0;o?(e=o(e,t),u=1):e=t||e;for(var h=i.length;u<h;u++){var f=i[u],d=f.name,p=f.operator,g=f.index;if(!isFinite(g))return i[u].index=0,e.createNodes(i.slice(u));var v=void 0;switch(p){case s.dot:v=e[n.$getChildrenByName](d,!1);break;case s.dotDot:v=e[n.$getChildrenByName](d,!0);break;case s.dotHash:v=(v=e[n.$getChildrenByClass](d)).isXFAObjectArray?v.children:[v]}if(0===v.length)return e.createNodes(i.slice(u));if(!(g<v.length))return i[u].index=g-v.length,e.createNodes(i.slice(u));var m=v[g];if(!m.isXFAObject)return(0,a.warn)("XFA - Cannot create a node."),null;e=m}return null},t.searchNode=function(e,t,r){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=l(r,!(arguments.length>3&&void 0!==arguments[3])||arguments[3]);if(!i)return null;var o,h=c.get(i[0].name),f=0;h?(o=!0,e=[h(e,t)],f=1):(o=null===t,e=[t||e]);for(var d,p=function(){var r,c=i[f],l=c.name,h=c.cacheName,d=c.operator,p=c.index,g=[],v=x(e);try{for(v.s();!(r=v.n()).done;){var m=r.value;if(m.isXFAObject){var y=void 0,b=void 0;if(a&&((b=u.get(m))||(b=new Map,u.set(m,b)),y=b.get(h)),!y){switch(d){case s.dot:y=m[n.$getChildrenByName](l,!1);break;case s.dotDot:y=m[n.$getChildrenByName](l,!0);break;case s.dotHash:y=(y=m[n.$getChildrenByClass](l)).isXFAObjectArray?y.children:[y]}a&&b.set(h,y)}y.length>0&&g.push(y)}}}catch(e){v.e(e)}finally{v.f()}if(0!==g.length||o||0!==f)e=isFinite(p)?g.filter((function(e){return p<e.length})).map((function(e){return e[p]})):g.flat();else{var w=t[n.$getParent]();if(!(t=w))return{v:null};f=-1,e=[t]}},g=i.length;f<g;f++)if(d=p())return d.v;return 0===e.length?null:e},r(139);var n=r(228),a=r(144),i=/^[^.[]+/,o=/^[^\]]+/,s={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},c=new Map([["$data",function(e,t){return e.datasets?e.datasets.data:e}],["$record",function(e,t){return(e.datasets?e.datasets.data:e)[n.$getChildren]()[0]}],["$template",function(e,t){return e.template}],["$connectionSet",function(e,t){return e.connectionSet}],["$form",function(e,t){return e.form}],["$layout",function(e,t){return e.layout}],["$host",function(e,t){return e.host}],["$dataWindow",function(e,t){return e.dataWindow}],["$event",function(e,t){return e.event}],["!",function(e,t){return e.datasets}],["$xfa",function(e,t){return e}],["xfa",function(e,t){return e}],["$",function(e,t){return t}]]),u=new WeakMap;function l(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=e.match(i);if(!n)return null;for(var c,u=S(n,1)[0],l=[{name:u,cacheName:"."+u,index:0,js:null,formCalc:null,operator:s.dot}],h=u.length;h<e.length;){var f=h;if("["!==e.charAt(h++)){var d=void 0;switch(e.charAt(h)){case".":if(!t)return null;h++,d=s.dotDot;break;case"#":h++,d=s.dotHash;break;case"[":if(r)return(0,a.warn)("XFA - SOM expression contains a FormCalc subexpression which is not supported for now."),null;d=s.dotBracket;break;case"(":if(r)return(0,a.warn)("XFA - SOM expression contains a JavaScript subexpression which is not supported for now."),null;d=s.dotParen;break;default:d=s.dot}if(!(n=e.slice(h).match(i)))break;h+=(u=S(n,1)[0]).length,l.push({name:u,cacheName:e.slice(f,h),operator:d,index:0,js:null,formCalc:null})}else{if(!(n=e.slice(h).match(o)))return(0,a.warn)("XFA - Invalid index in SOM expression"),null;l.at(-1).index="*"===(c=(c=n[0]).trim())?1/0:parseInt(c,10)||0,h+=n[0].length+1}}return l}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.DataHandler=void 0,r(139);var n=r(228);t.DataHandler=function(){function e(t,r){M(this,e),this.data=r,this.dataset=t.datasets||null}return P(e,[{key:"serialize",value:function(e){for(var t=[[-1,this.data[n.$getChildren]()]];t.length>0;){var r=t.at(-1),a=S(r,2),i=a[0],o=a[1];if(i+1!==o.length){var s=o[++r[0]],c=e.get(s[n.$uid]);if(c)s[n.$setValue](c);else{var u,l=x(s[n.$getAttributes]().values());try{for(l.s();!(u=l.n()).done;){var h=u.value,f=e.get(h[n.$uid]);if(f){h[n.$setValue](f);break}}}catch(e){l.e(e)}finally{l.f()}}var d=s[n.$getChildren]();d.length>0&&t.push([-1,d])}else t.pop()}var p=['<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">'];if(this.dataset){var g,v=x(this.dataset[n.$getChildren]());try{for(v.s();!(g=v.n()).done;){var m=g.value;"data"!==m[n.$nodeName]&&m[n.$toString](p)}}catch(e){v.e(e)}finally{v.f()}}return this.data[n.$toString](p),p.push("</xfa:datasets>"),p.join("")}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XFAParser=void 0,r(116),r(126),r(128),r(131),r(133),r(135),r(137),r(139);var n=r(228),a=r(217),i=r(244),o=r(144),s=function(e){function t(){var e;M(this,t);var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(e=d(this,t))._builder=new i.Builder(r),e._stack=[],e._globalData={usedTypefaces:new Set},e._ids=new Map,e._current=e._builder.buildRoot(e._ids),e._errorCode=a.XMLParserErrorCode.NoError,e._whiteRegex=/^\s+$/,e._nbsps=/\xa0+/g,e._richText=n,e}return y(t,e),P(t,[{key:"parse",value:function(e){if(this.parseXml(e),this._errorCode===a.XMLParserErrorCode.NoError)return this._current[n.$finalize](),this._current.element}},{key:"onText",value:function(e){e=e.replace(this._nbsps,(function(e){return e.slice(1)+" "})),this._richText||this._current[n.$acceptWhitespace]()?this._current[n.$onText](e,this._richText):this._whiteRegex.test(e)||this._current[n.$onText](e.trim())}},{key:"onCdata",value:function(e){this._current[n.$onText](e)}},{key:"_mkAttributes",value:function(e,t){var r,a=null,i=null,s=Object.create({}),c=x(e);try{for(c.s();!(r=c.n()).done;){var u=r.value,l=u.name,h=u.value;if("xmlns"===l)a?(0,o.warn)("XFA - multiple namespace definition in <".concat(t,">")):a=h;else if(l.startsWith("xmlns:")){var f=l.substring(6);i||(i=[]),i.push({prefix:f,value:h})}else{var d=l.indexOf(":");if(-1===d)s[l]=h;else{var p,g=s[n.$nsAttributes];g||(g=s[n.$nsAttributes]=Object.create(null));var v=[l.slice(0,d),l.slice(d+1)],m=v[0],y=v[1];((p=g)[m]||(p[m]=Object.create(null)))[y]=h}}}}catch(e){c.e(e)}finally{c.f()}return[a,i,s]}},{key:"_getNameAndPrefix",value:function(e,t){var r=e.indexOf(":");return-1===r?[e,null]:[e.substring(r+1),t?"":e.substring(0,r)]}},{key:"onBeginElement",value:function(e,t,r){var a=S(this._mkAttributes(t,e),3),i=a[0],o=a[1],s=a[2],c=S(this._getNameAndPrefix(e,this._builder.isNsAgnostic()),2),u=c[0],l=c[1],h=this._builder.build({nsPrefix:l,name:u,attributes:s,namespace:i,prefixes:o});h[n.$globalData]=this._globalData,r?(h[n.$finalize](),this._current[n.$onChild](h)&&h[n.$setId](this._ids),h[n.$clean](this._builder)):(this._stack.push(this._current),this._current=h)}},{key:"onEndElement",value:function(e){var r=this._current;if(r[n.$isCDATAXml]()&&"string"==typeof r[n.$content]){var a=new t;a._globalData=this._globalData;var i=a.parse(r[n.$content]);r[n.$content]=null,r[n.$onChild](i)}r[n.$finalize](),this._current=this._stack.pop(),this._current[n.$onChild](r)&&r[n.$setId](this._ids),r[n.$clean](this._builder)}},{key:"onError",value:function(e){this._errorCode=e}}]),t}(a.XMLParserBase);t.XFAParser=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Builder=void 0,r(139);var n=r(234),i=r(228),o=r(245),s=r(230),c=r(254),u=r(144),l=r(240),h=function(e,t,r){function n(e){var t;return M(this,n),(t=d(this,n,[-1,"root",Object.create(null)])).element=null,t[i.$ids]=e,t}return y(n,e),P(n,[{key:t,value:function(e){return this.element=e,!0}},{key:r,value:function(){a(m(n.prototype),i.$finalize,this).call(this),this.element.template instanceof s.Template&&(this[i.$ids].set(i.$root,this.element),this.element.template[i.$resolvePrototypes](this[i.$ids]),this.element.template[i.$ids]=this[i.$ids])}}]),n}(l.XFAObject,i.$onChild,i.$finalize),p=function(e,t){function r(){return M(this,r),d(this,r,[-1,"",Object.create(null)])}return y(r,e),P(r,[{key:t,value:function(e){return!1}}]),r}(l.XFAObject,i.$onChild);t.Builder=function(){function e(){M(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max.apply(Math,f(Object.values(n.NamespaceIds).map((function(e){return e.id})))),this._currentNamespace=t||new c.UnknownNamespace(++this._nextNsId)}return P(e,[{key:"buildRoot",value:function(e){return new h(e)}},{key:"build",value:function(e){var t=e.nsPrefix,r=e.name,a=e.attributes,s=e.namespace,c=e.prefixes,u=null!==s;if(u&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(s)),c&&this._addNamespacePrefix(c),a.hasOwnProperty(i.$nsAttributes)){for(var l=o.NamespaceSetUp.datasets,h=a[i.$nsAttributes],f=null,d=0,g=Object.entries(h);d<g.length;d++){var v=S(g[d],2),m=v[0],y=v[1];if(this._getNamespaceToUse(m)===l){f={xfa:y};break}}f?a[i.$nsAttributes]=f:delete a[i.$nsAttributes]}var b=this._getNamespaceToUse(t),w=(null==b?void 0:b[n.$buildXFAObject](r,a))||new p;return w[i.$isNsAgnostic]()&&this._nsAgnosticLevel++,(u||c||w[i.$isNsAgnostic]())&&(w[i.$cleanup]={hasNamespace:u,prefixes:c,nsAgnostic:w[i.$isNsAgnostic]()}),w}},{key:"isNsAgnostic",value:function(){return this._nsAgnosticLevel>0}},{key:"_searchNamespace",value:function(e){var t=this._namespaces.get(e);if(t)return t;for(var r=0,a=Object.entries(n.NamespaceIds);r<a.length;r++){var i=S(a[r],2),s=i[0];if((0,i[1].check)(e)){if(t=o.NamespaceSetUp[s])return this._namespaces.set(e,t),t;break}}return t=new c.UnknownNamespace(++this._nextNsId),this._namespaces.set(e,t),t}},{key:"_addNamespacePrefix",value:function(e){var t,r=x(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,a=n.prefix,i=n.value,o=this._searchNamespace(i),s=this._namespacePrefixes.get(a);s||(s=[],this._namespacePrefixes.set(a,s)),s.push(o)}}catch(e){r.e(e)}finally{r.f()}}},{key:"_getNamespaceToUse",value:function(e){if(!e)return this._currentNamespace;var t=this._namespacePrefixes.get(e);return(null==t?void 0:t.length)>0?t.at(-1):((0,u.warn)("Unknown namespace prefix: ".concat(e,".")),null)}},{key:"clean",value:function(e){var t=this,r=e.hasNamespace,n=e.prefixes,a=e.nsAgnostic;r&&(this._currentNamespace=this._namespaceStack.pop()),n&&n.forEach((function(e){var r=e.prefix;t._namespacePrefixes.get(r).pop()})),a&&this._nsAgnosticLevel--}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.NamespaceSetUp=void 0;var n=r(246),a=r(247),i=r(248),o=r(249),s=r(250),c=r(251),u=r(230),l=r(252),h=r(253),f={config:n.ConfigNamespace,connection:a.ConnectionSetNamespace,datasets:i.DatasetsNamespace,localeSet:o.LocaleSetNamespace,signature:s.SignatureNamespace,stylesheet:c.StylesheetNamespace,template:u.TemplateNamespace,xdp:l.XdpNamespace,xhtml:h.XhtmlNamespace};t.NamespaceSetUp=f},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigNamespace=void 0,r(139);var n=r(234),a=r(228),i=r(240),o=r(237),s=r(144),c=n.NamespaceIds.config.id,u=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"acrobat",!0])).acrobat7=null,r.autoSave=null,r.common=null,r.validate=null,r.validateApprovalSignatures=null,r.submitUrl=new i.XFAObjectArray,r}return y(t,e),P(t)}(i.XFAObject),l=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"acrobat7",!0])).dynamicRender=null,r}return y(t,e),P(t)}(i.XFAObject),h=function(e){function t(e){return M(this,t),d(this,t,[c,"ADBE_JSConsole",["delegate","Enable","Disable"]])}return y(t,e),P(t)}(i.OptionObject),f=function(e){function t(e){return M(this,t),d(this,t,[c,"ADBE_JSDebugger",["delegate","Enable","Disable"]])}return y(t,e),P(t)}(i.OptionObject),p=function(e){function t(e){return M(this,t),d(this,t,[c,"addSilentPrint"])}return y(t,e),P(t)}(i.Option01),g=function(e){function t(e){return M(this,t),d(this,t,[c,"addViewerPreferences"])}return y(t,e),P(t)}(i.Option01),v=function(e){function t(e){return M(this,t),d(this,t,[c,"adjustData"])}return y(t,e),P(t)}(i.Option10),m=function(e){function t(e){return M(this,t),d(this,t,[c,"adobeExtensionLevel",0,function(e){return e>=1&&e<=8}])}return y(t,e),P(t)}(i.IntegerObject),b=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"agent",!0])).name=e.name?e.name.trim():"",r.common=new i.XFAObjectArray,r}return y(t,e),P(t)}(i.XFAObject),w=function(e){function t(e){return M(this,t),d(this,t,[c,"alwaysEmbed"])}return y(t,e),P(t)}(i.ContentObject),k=function(e){function t(e){return M(this,t),d(this,t,[c,"amd"])}return y(t,e),P(t)}(i.StringObject),S=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"area"])).level=(0,o.getInteger)({data:e.level,defaultValue:0,validate:function(e){return e>=1&&e<=3}}),r.name=(0,o.getStringOption)(e.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"]),r}return y(t,e),P(t)}(i.XFAObject),A=function(e){function t(e){return M(this,t),d(this,t,[c,"attributes",["preserve","delegate","ignore"]])}return y(t,e),P(t)}(i.OptionObject),C=function(e){function t(e){return M(this,t),d(this,t,[c,"autoSave",["disabled","enabled"]])}return y(t,e),P(t)}(i.OptionObject),O=function(e){function t(e){return M(this,t),d(this,t,[c,"base"])}return y(t,e),P(t)}(i.StringObject),F=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"batchOutput"])).format=(0,o.getStringOption)(e.format,["none","concat","zip","zipCompress"]),r}return y(t,e),P(t)}(i.XFAObject),I=function(e,t){function r(e){return M(this,r),d(this,r,[c,"behaviorOverride"])}return y(r,e),P(r,[{key:t,value:function(){this[a.$content]=new Map(this[a.$content].trim().split(/\s+/).filter((function(e){return e.includes(":")})).map((function(e){return e.split(":",2)})))}}]),r}(i.ContentObject,a.$finalize),T=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"cache",!0])).templateCache=null,r}return y(t,e),P(t)}(i.XFAObject),E=function(e){function t(e){return M(this,t),d(this,t,[c,"change"])}return y(t,e),P(t)}(i.Option01),R=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"common",!0])).data=null,r.locale=null,r.localeSet=null,r.messaging=null,r.suppressBanner=null,r.template=null,r.validationMessaging=null,r.versionControl=null,r.log=new i.XFAObjectArray,r}return y(t,e),P(t)}(i.XFAObject),N=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"compress"])).scope=(0,o.getStringOption)(e.scope,["imageOnly","document"]),r}return y(t,e),P(t)}(i.XFAObject),D=function(e){function t(e){return M(this,t),d(this,t,[c,"compressLogicalStructure"])}return y(t,e),P(t)}(i.Option01),B=function(e){function t(e){return M(this,t),d(this,t,[c,"compressObjectStream"])}return y(t,e),P(t)}(i.Option10),L=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"compression",!0])).compressLogicalStructure=null,r.compressObjectStream=null,r.level=null,r.type=null,r}return y(t,e),P(t)}(i.XFAObject),_=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"config",!0])).acrobat=null,r.present=null,r.trace=null,r.agent=new i.XFAObjectArray,r}return y(t,e),P(t)}(i.XFAObject),j=function(e){function t(e){return M(this,t),d(this,t,[c,"conformance",["A","B"]])}return y(t,e),P(t)}(i.OptionObject),U=function(e){function t(e){return M(this,t),d(this,t,[c,"contentCopy"])}return y(t,e),P(t)}(i.Option01),$=function(e){function t(e){return M(this,t),d(this,t,[c,"copies",1,function(e){return e>=1}])}return y(t,e),P(t)}(i.IntegerObject),X=function(e){function t(e){return M(this,t),d(this,t,[c,"creator"])}return y(t,e),P(t)}(i.StringObject),H=function(e){function t(e){return M(this,t),d(this,t,[c,"currentPage",0,function(e){return e>=0}])}return y(t,e),P(t)}(i.IntegerObject),q=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"data",!0])).adjustData=null,r.attributes=null,r.incrementalLoad=null,r.outputXSL=null,r.range=null,r.record=null,r.startNode=null,r.uri=null,r.window=null,r.xsl=null,r.excludeNS=new i.XFAObjectArray,r.transform=new i.XFAObjectArray,r}return y(t,e),P(t)}(i.XFAObject),z=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"debug",!0])).uri=null,r}return y(t,e),P(t)}(i.XFAObject),G=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"defaultTypeface"])).writingScript=(0,o.getStringOption)(e.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"]),r}return y(t,e),P(t)}(i.ContentObject),W=function(e){function t(e){return M(this,t),d(this,t,[c,"destination",["pdf","pcl","ps","webClient","zpl"]])}return y(t,e),P(t)}(i.OptionObject),V=function(e){function t(e){return M(this,t),d(this,t,[c,"documentAssembly"])}return y(t,e),P(t)}(i.Option01),K=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"driver",!0])).name=e.name?e.name.trim():"",r.fontInfo=null,r.xdc=null,r}return y(t,e),P(t)}(i.XFAObject),Y=function(e){function t(e){return M(this,t),d(this,t,[c,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"]])}return y(t,e),P(t)}(i.OptionObject),J=function(e){function t(e){return M(this,t),d(this,t,[c,"dynamicRender",["forbidden","required"]])}return y(t,e),P(t)}(i.OptionObject),Z=function(e){function t(e){return M(this,t),d(this,t,[c,"embed"])}return y(t,e),P(t)}(i.Option01),Q=function(e){function t(e){return M(this,t),d(this,t,[c,"encrypt"])}return y(t,e),P(t)}(i.Option01),ee=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"encryption",!0])).encrypt=null,r.encryptionLevel=null,r.permissions=null,r}return y(t,e),P(t)}(i.XFAObject),te=function(e){function t(e){return M(this,t),d(this,t,[c,"encryptionLevel",["40bit","128bit"]])}return y(t,e),P(t)}(i.OptionObject),re=function(e){function t(e){return M(this,t),d(this,t,[c,"enforce"])}return y(t,e),P(t)}(i.StringObject),ne=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"equate"])).force=(0,o.getInteger)({data:e.force,defaultValue:1,validate:function(e){return 0===e}}),r.from=e.from||"",r.to=e.to||"",r}return y(t,e),P(t)}(i.XFAObject),ae=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"equateRange"])).from=e.from||"",r.to=e.to||"",r._unicodeRange=e.unicodeRange||"",r}return y(t,e),P(t,[{key:"unicodeRange",get:function(){var e,t=[],r=/U\+([0-9a-fA-F]+)/,n=x(this._unicodeRange.split(",").map((function(e){return e.trim()})).filter((function(e){return!!e})));try{for(n.s();!(e=n.n()).done;){var a=e.value;a=a.split("-",2).map((function(e){var t=e.match(r);return t?parseInt(t[1],16):0})),1===a.length&&a.push(a[0]),t.push(a)}}catch(e){n.e(e)}finally{n.f()}return(0,s.shadow)(this,"unicodeRange",t)}}]),t}(i.XFAObject),ie=function(e,t){function r(e){return M(this,r),d(this,r,[c,"exclude"])}return y(r,e),P(r,[{key:t,value:function(){this[a.$content]=this[a.$content].trim().split(/\s+/).filter((function(e){return e&&["calculate","close","enter","exit","initialize","ready","validate"].includes(e)}))}}]),r}(i.ContentObject,a.$finalize),oe=function(e){function t(e){return M(this,t),d(this,t,[c,"excludeNS"])}return y(t,e),P(t)}(i.StringObject),se=function(e){function t(e){return M(this,t),d(this,t,[c,"flipLabel",["usePrinterSetting","on","off"]])}return y(t,e),P(t)}(i.OptionObject),ce=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"fontInfo",!0])).embed=null,r.map=null,r.subsetBelow=null,r.alwaysEmbed=new i.XFAObjectArray,r.defaultTypeface=new i.XFAObjectArray,r.neverEmbed=new i.XFAObjectArray,r}return y(t,e),P(t)}(i.XFAObject),ue=function(e){function t(e){return M(this,t),d(this,t,[c,"formFieldFilling"])}return y(t,e),P(t)}(i.Option01),le=function(e){function t(e){return M(this,t),d(this,t,[c,"groupParent"])}return y(t,e),P(t)}(i.StringObject),he=function(e){function t(e){return M(this,t),d(this,t,[c,"ifEmpty",["dataValue","dataGroup","ignore","remove"]])}return y(t,e),P(t)}(i.OptionObject),fe=function(e){function t(e){return M(this,t),d(this,t,[c,"includeXDPContent"])}return y(t,e),P(t)}(i.StringObject),de=function(e){function t(e){return M(this,t),d(this,t,[c,"incrementalLoad",["none","forwardOnly"]])}return y(t,e),P(t)}(i.OptionObject),pe=function(e){function t(e){return M(this,t),d(this,t,[c,"incrementalMerge"])}return y(t,e),P(t)}(i.Option01),ge=function(e){function t(e){return M(this,t),d(this,t,[c,"interactive"])}return y(t,e),P(t)}(i.Option01),ve=function(e){function t(e){return M(this,t),d(this,t,[c,"jog",["usePrinterSetting","none","pageSet"]])}return y(t,e),P(t)}(i.OptionObject),me=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"labelPrinter",!0])).name=(0,o.getStringOption)(e.name,["zpl","dpl","ipl","tcpl"]),r.batchOutput=null,r.flipLabel=null,r.fontInfo=null,r.xdc=null,r}return y(t,e),P(t)}(i.XFAObject),ye=function(e){function t(e){return M(this,t),d(this,t,[c,"layout",["paginate","panel"]])}return y(t,e),P(t)}(i.OptionObject),be=function(e){function t(e){return M(this,t),d(this,t,[c,"level",0,function(e){return e>0}])}return y(t,e),P(t)}(i.IntegerObject),we=function(e){function t(e){return M(this,t),d(this,t,[c,"linearized"])}return y(t,e),P(t)}(i.Option01),ke=function(e){function t(e){return M(this,t),d(this,t,[c,"locale"])}return y(t,e),P(t)}(i.StringObject),xe=function(e){function t(e){return M(this,t),d(this,t,[c,"localeSet"])}return y(t,e),P(t)}(i.StringObject),Se=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"log",!0])).mode=null,r.threshold=null,r.to=null,r.uri=null,r}return y(t,e),P(t)}(i.XFAObject),Ae=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"map",!0])).equate=new i.XFAObjectArray,r.equateRange=new i.XFAObjectArray,r}return y(t,e),P(t)}(i.XFAObject),Ce=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"mediumInfo",!0])).map=null,r}return y(t,e),P(t)}(i.XFAObject),Oe=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"message",!0])).msgId=null,r.severity=null,r}return y(t,e),P(t)}(i.XFAObject),Fe=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"messaging",!0])).message=new i.XFAObjectArray,r}return y(t,e),P(t)}(i.XFAObject),Ie=function(e){function t(e){return M(this,t),d(this,t,[c,"mode",["append","overwrite"]])}return y(t,e),P(t)}(i.OptionObject),Te=function(e){function t(e){return M(this,t),d(this,t,[c,"modifyAnnots"])}return y(t,e),P(t)}(i.Option01),Me=function(e){function t(e){return M(this,t),d(this,t,[c,"msgId",1,function(e){return e>=1}])}return y(t,e),P(t)}(i.IntegerObject),Ee=function(e){function t(e){return M(this,t),d(this,t,[c,"nameAttr"])}return y(t,e),P(t)}(i.StringObject),Pe=function(e){function t(e){return M(this,t),d(this,t,[c,"neverEmbed"])}return y(t,e),P(t)}(i.ContentObject),Re=function(e){function t(e){return M(this,t),d(this,t,[c,"numberOfCopies",null,function(e){return e>=2&&e<=5}])}return y(t,e),P(t)}(i.IntegerObject),Ne=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"openAction",!0])).destination=null,r}return y(t,e),P(t)}(i.XFAObject),De=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"output",!0])).to=null,r.type=null,r.uri=null,r}return y(t,e),P(t)}(i.XFAObject),Be=function(e){function t(e){return M(this,t),d(this,t,[c,"outputBin"])}return y(t,e),P(t)}(i.StringObject),Le=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"outputXSL",!0])).uri=null,r}return y(t,e),P(t)}(i.XFAObject),_e=function(e){function t(e){return M(this,t),d(this,t,[c,"overprint",["none","both","draw","field"]])}return y(t,e),P(t)}(i.OptionObject),je=function(e,t){function r(e){return M(this,r),d(this,r,[c,"packets"])}return y(r,e),P(r,[{key:t,value:function(){"*"!==this[a.$content]&&(this[a.$content]=this[a.$content].trim().split(/\s+/).filter((function(e){return["config","datasets","template","xfdf","xslt"].includes(e)})))}}]),r}(i.StringObject,a.$finalize),Ue=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"pageOffset"])).x=(0,o.getInteger)({data:e.x,defaultValue:"useXDCSetting",validate:function(e){return!0}}),r.y=(0,o.getInteger)({data:e.y,defaultValue:"useXDCSetting",validate:function(e){return!0}}),r}return y(t,e),P(t)}(i.XFAObject),$e=function(e,t){function r(e){return M(this,r),d(this,r,[c,"pageRange"])}return y(r,e),P(r,[{key:t,value:function(){for(var e=this[a.$content].trim().split(/\s+/).map((function(e){return parseInt(e,10)})),t=[],r=0,n=e.length;r<n;r+=2)t.push(e.slice(r,r+2));this[a.$content]=t}}]),r}(i.StringObject,a.$finalize),Xe=function(e){function t(e){return M(this,t),d(this,t,[c,"pagination",["simplex","duplexShortEdge","duplexLongEdge"]])}return y(t,e),P(t)}(i.OptionObject),He=function(e){function t(e){return M(this,t),d(this,t,[c,"paginationOverride",["none","forceDuplex","forceDuplexLongEdge","forceDuplexShortEdge","forceSimplex"]])}return y(t,e),P(t)}(i.OptionObject),qe=function(e){function t(e){return M(this,t),d(this,t,[c,"part",1,function(e){return!1}])}return y(t,e),P(t)}(i.IntegerObject),ze=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"pcl",!0])).name=e.name||"",r.batchOutput=null,r.fontInfo=null,r.jog=null,r.mediumInfo=null,r.outputBin=null,r.pageOffset=null,r.staple=null,r.xdc=null,r}return y(t,e),P(t)}(i.XFAObject),Ge=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"pdf",!0])).name=e.name||"",r.adobeExtensionLevel=null,r.batchOutput=null,r.compression=null,r.creator=null,r.encryption=null,r.fontInfo=null,r.interactive=null,r.linearized=null,r.openAction=null,r.pdfa=null,r.producer=null,r.renderPolicy=null,r.scriptModel=null,r.silentPrint=null,r.submitFormat=null,r.tagged=null,r.version=null,r.viewerPreferences=null,r.xdc=null,r}return y(t,e),P(t)}(i.XFAObject),We=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"pdfa",!0])).amd=null,r.conformance=null,r.includeXDPContent=null,r.part=null,r}return y(t,e),P(t)}(i.XFAObject),Ve=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"permissions",!0])).accessibleContent=null,r.change=null,r.contentCopy=null,r.documentAssembly=null,r.formFieldFilling=null,r.modifyAnnots=null,r.plaintextMetadata=null,r.print=null,r.printHighQuality=null,r}return y(t,e),P(t)}(i.XFAObject),Ke=function(e){function t(e){return M(this,t),d(this,t,[c,"pickTrayByPDFSize"])}return y(t,e),P(t)}(i.Option01),Ye=function(e){function t(e){return M(this,t),d(this,t,[c,"picture"])}return y(t,e),P(t)}(i.StringObject),Je=function(e){function t(e){return M(this,t),d(this,t,[c,"plaintextMetadata"])}return y(t,e),P(t)}(i.Option01),Ze=function(e){function t(e){return M(this,t),d(this,t,[c,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"]])}return y(t,e),P(t)}(i.OptionObject),Qe=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"present",!0])).behaviorOverride=null,r.cache=null,r.common=null,r.copies=null,r.destination=null,r.incrementalMerge=null,r.layout=null,r.output=null,r.overprint=null,r.pagination=null,r.paginationOverride=null,r.script=null,r.validate=null,r.xdp=null,r.driver=new i.XFAObjectArray,r.labelPrinter=new i.XFAObjectArray,r.pcl=new i.XFAObjectArray,r.pdf=new i.XFAObjectArray,r.ps=new i.XFAObjectArray,r.submitUrl=new i.XFAObjectArray,r.webClient=new i.XFAObjectArray,r.zpl=new i.XFAObjectArray,r}return y(t,e),P(t)}(i.XFAObject),et=function(e){function t(e){return M(this,t),d(this,t,[c,"print"])}return y(t,e),P(t)}(i.Option01),tt=function(e){function t(e){return M(this,t),d(this,t,[c,"printHighQuality"])}return y(t,e),P(t)}(i.Option01),rt=function(e){function t(e){return M(this,t),d(this,t,[c,"printScaling",["appdefault","noScaling"]])}return y(t,e),P(t)}(i.OptionObject),nt=function(e){function t(e){return M(this,t),d(this,t,[c,"printerName"])}return y(t,e),P(t)}(i.StringObject),at=function(e){function t(e){return M(this,t),d(this,t,[c,"producer"])}return y(t,e),P(t)}(i.StringObject),it=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"ps",!0])).name=e.name||"",r.batchOutput=null,r.fontInfo=null,r.jog=null,r.mediumInfo=null,r.outputBin=null,r.staple=null,r.xdc=null,r}return y(t,e),P(t)}(i.XFAObject),ot=function(e,t){function r(e){return M(this,r),d(this,r,[c,"range"])}return y(r,e),P(r,[{key:t,value:function(){this[a.$content]=this[a.$content].trim().split(/\s*,\s*/,2).map((function(e){return e.split("-").map((function(e){return parseInt(e.trim(),10)}))})).filter((function(e){return e.every((function(e){return!isNaN(e)}))})).map((function(e){return 1===e.length&&e.push(e[0]),e}))}}]),r}(i.ContentObject,a.$finalize),st=function(e,t){function r(e){return M(this,r),d(this,r,[c,"record"])}return y(r,e),P(r,[{key:t,value:function(){this[a.$content]=this[a.$content].trim();var e=parseInt(this[a.$content],10);!isNaN(e)&&e>=0&&(this[a.$content]=e)}}]),r}(i.ContentObject,a.$finalize),ct=function(e,t){function r(e){return M(this,r),d(this,r,[c,"relevant"])}return y(r,e),P(r,[{key:t,value:function(){this[a.$content]=this[a.$content].trim().split(/\s+/)}}]),r}(i.ContentObject,a.$finalize),ut=function(e,t){function r(e){return M(this,r),d(this,r,[c,"rename"])}return y(r,e),P(r,[{key:t,value:function(){this[a.$content]=this[a.$content].trim(),(this[a.$content].toLowerCase().startsWith("xml")||new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*","u").test(this[a.$content]))&&(0,s.warn)("XFA - Rename: invalid XFA name")}}]),r}(i.ContentObject,a.$finalize),lt=function(e){function t(e){return M(this,t),d(this,t,[c,"renderPolicy",["server","client"]])}return y(t,e),P(t)}(i.OptionObject),ht=function(e){function t(e){return M(this,t),d(this,t,[c,"runScripts",["both","client","none","server"]])}return y(t,e),P(t)}(i.OptionObject),ft=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"script",!0])).currentPage=null,r.exclude=null,r.runScripts=null,r}return y(t,e),P(t)}(i.XFAObject),dt=function(e){function t(e){return M(this,t),d(this,t,[c,"scriptModel",["XFA","none"]])}return y(t,e),P(t)}(i.OptionObject),pt=function(e){function t(e){return M(this,t),d(this,t,[c,"severity",["ignore","error","information","trace","warning"]])}return y(t,e),P(t)}(i.OptionObject),gt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"silentPrint",!0])).addSilentPrint=null,r.printerName=null,r}return y(t,e),P(t)}(i.XFAObject),vt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"staple"])).mode=(0,o.getStringOption)(e.mode,["usePrinterSetting","on","off"]),r}return y(t,e),P(t)}(i.XFAObject),mt=function(e){function t(e){return M(this,t),d(this,t,[c,"startNode"])}return y(t,e),P(t)}(i.StringObject),yt=function(e){function t(e){return M(this,t),d(this,t,[c,"startPage",0,function(e){return!0}])}return y(t,e),P(t)}(i.IntegerObject),bt=function(e){function t(e){return M(this,t),d(this,t,[c,"submitFormat",["html","delegate","fdf","xml","pdf"]])}return y(t,e),P(t)}(i.OptionObject),wt=function(e){function t(e){return M(this,t),d(this,t,[c,"submitUrl"])}return y(t,e),P(t)}(i.StringObject),kt=function(e){function t(e){return M(this,t),d(this,t,[c,"subsetBelow",100,function(e){return e>=0&&e<=100}])}return y(t,e),P(t)}(i.IntegerObject),xt=function(e){function t(e){return M(this,t),d(this,t,[c,"suppressBanner"])}return y(t,e),P(t)}(i.Option01),St=function(e){function t(e){return M(this,t),d(this,t,[c,"tagged"])}return y(t,e),P(t)}(i.Option01),At=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"template",!0])).base=null,r.relevant=null,r.startPage=null,r.uri=null,r.xsl=null,r}return y(t,e),P(t)}(i.XFAObject),Ct=function(e){function t(e){return M(this,t),d(this,t,[c,"threshold",["trace","error","information","warning"]])}return y(t,e),P(t)}(i.OptionObject),Ot=function(e){function t(e){return M(this,t),d(this,t,[c,"to",["null","memory","stderr","stdout","system","uri"]])}return y(t,e),P(t)}(i.OptionObject),Ft=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"templateCache"])).maxEntries=(0,o.getInteger)({data:e.maxEntries,defaultValue:5,validate:function(e){return e>=0}}),r}return y(t,e),P(t)}(i.XFAObject),It=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"trace",!0])).area=new i.XFAObjectArray,r}return y(t,e),P(t)}(i.XFAObject),Tt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"transform",!0])).groupParent=null,r.ifEmpty=null,r.nameAttr=null,r.picture=null,r.presence=null,r.rename=null,r.whitespace=null,r}return y(t,e),P(t)}(i.XFAObject),Mt=function(e){function t(e){return M(this,t),d(this,t,[c,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"]])}return y(t,e),P(t)}(i.OptionObject),Et=function(e){function t(e){return M(this,t),d(this,t,[c,"uri"])}return y(t,e),P(t)}(i.StringObject),Pt=function(e){function t(e){return M(this,t),d(this,t,[c,"validate",["preSubmit","prePrint","preExecute","preSave"]])}return y(t,e),P(t)}(i.OptionObject),Rt=function(e,t){function r(e){return M(this,r),d(this,r,[c,"validateApprovalSignatures"])}return y(r,e),P(r,[{key:t,value:function(){this[a.$content]=this[a.$content].trim().split(/\s+/).filter((function(e){return["docReady","postSign"].includes(e)}))}}]),r}(i.ContentObject,a.$finalize),Nt=function(e){function t(e){return M(this,t),d(this,t,[c,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"]])}return y(t,e),P(t)}(i.OptionObject),Dt=function(e){function t(e){return M(this,t),d(this,t,[c,"version",["1.7","1.6","1.5","1.4","1.3","1.2"]])}return y(t,e),P(t)}(i.OptionObject),Bt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"VersionControl"])).outputBelow=(0,o.getStringOption)(e.outputBelow,["warn","error","update"]),r.sourceAbove=(0,o.getStringOption)(e.sourceAbove,["warn","error"]),r.sourceBelow=(0,o.getStringOption)(e.sourceBelow,["update","maintain"]),r}return y(t,e),P(t)}(i.XFAObject),Lt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"viewerPreferences",!0])).ADBE_JSConsole=null,r.ADBE_JSDebugger=null,r.addViewerPreferences=null,r.duplexOption=null,r.enforce=null,r.numberOfCopies=null,r.pageRange=null,r.pickTrayByPDFSize=null,r.printScaling=null,r}return y(t,e),P(t)}(i.XFAObject),_t=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"webClient",!0])).name=e.name?e.name.trim():"",r.fontInfo=null,r.xdc=null,r}return y(t,e),P(t)}(i.XFAObject),jt=function(e){function t(e){return M(this,t),d(this,t,[c,"whitespace",["preserve","ltrim","normalize","rtrim","trim"]])}return y(t,e),P(t)}(i.OptionObject),Ut=function(e,t){function r(e){return M(this,r),d(this,r,[c,"window"])}return y(r,e),P(r,[{key:t,value:function(){var e=this[a.$content].trim().split(/\s*,\s*/,2).map((function(e){return parseInt(e,10)}));e.some((function(e){return isNaN(e)}))?this[a.$content]=[0,0]:(1===e.length&&e.push(e[0]),this[a.$content]=e)}}]),r}(i.ContentObject,a.$finalize),$t=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"xdc",!0])).uri=new i.XFAObjectArray,r.xsl=new i.XFAObjectArray,r}return y(t,e),P(t)}(i.XFAObject),Xt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"xdp",!0])).packets=null,r}return y(t,e),P(t)}(i.XFAObject),Ht=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"xsl",!0])).debug=null,r.uri=null,r}return y(t,e),P(t)}(i.XFAObject),qt=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[c,"zpl",!0])).name=e.name?e.name.trim():"",r.batchOutput=null,r.flipLabel=null,r.fontInfo=null,r.xdc=null,r}return y(t,e),P(t)}(i.XFAObject),zt=function(e){function t(){M(this,t)}return P(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"acrobat",value:function(e){return new u(e)}},{key:"acrobat7",value:function(e){return new l(e)}},{key:"ADBE_JSConsole",value:function(e){return new h(e)}},{key:"ADBE_JSDebugger",value:function(e){return new f(e)}},{key:"addSilentPrint",value:function(e){return new p(e)}},{key:"addViewerPreferences",value:function(e){return new g(e)}},{key:"adjustData",value:function(e){return new v(e)}},{key:"adobeExtensionLevel",value:function(e){return new m(e)}},{key:"agent",value:function(e){return new b(e)}},{key:"alwaysEmbed",value:function(e){return new w(e)}},{key:"amd",value:function(e){return new k(e)}},{key:"area",value:function(e){return new S(e)}},{key:"attributes",value:function(e){return new A(e)}},{key:"autoSave",value:function(e){return new C(e)}},{key:"base",value:function(e){return new O(e)}},{key:"batchOutput",value:function(e){return new F(e)}},{key:"behaviorOverride",value:function(e){return new I(e)}},{key:"cache",value:function(e){return new T(e)}},{key:"change",value:function(e){return new E(e)}},{key:"common",value:function(e){return new R(e)}},{key:"compress",value:function(e){return new N(e)}},{key:"compressLogicalStructure",value:function(e){return new D(e)}},{key:"compressObjectStream",value:function(e){return new B(e)}},{key:"compression",value:function(e){return new L(e)}},{key:"config",value:function(e){return new _(e)}},{key:"conformance",value:function(e){return new j(e)}},{key:"contentCopy",value:function(e){return new U(e)}},{key:"copies",value:function(e){return new $(e)}},{key:"creator",value:function(e){return new X(e)}},{key:"currentPage",value:function(e){return new H(e)}},{key:"data",value:function(e){return new q(e)}},{key:"debug",value:function(e){return new z(e)}},{key:"defaultTypeface",value:function(e){return new G(e)}},{key:"destination",value:function(e){return new W(e)}},{key:"documentAssembly",value:function(e){return new V(e)}},{key:"driver",value:function(e){return new K(e)}},{key:"duplexOption",value:function(e){return new Y(e)}},{key:"dynamicRender",value:function(e){return new J(e)}},{key:"embed",value:function(e){return new Z(e)}},{key:"encrypt",value:function(e){return new Q(e)}},{key:"encryption",value:function(e){return new ee(e)}},{key:"encryptionLevel",value:function(e){return new te(e)}},{key:"enforce",value:function(e){return new re(e)}},{key:"equate",value:function(e){return new ne(e)}},{key:"equateRange",value:function(e){return new ae(e)}},{key:"exclude",value:function(e){return new ie(e)}},{key:"excludeNS",value:function(e){return new oe(e)}},{key:"flipLabel",value:function(e){return new se(e)}},{key:"fontInfo",value:function(e){return new ce(e)}},{key:"formFieldFilling",value:function(e){return new ue(e)}},{key:"groupParent",value:function(e){return new le(e)}},{key:"ifEmpty",value:function(e){return new he(e)}},{key:"includeXDPContent",value:function(e){return new fe(e)}},{key:"incrementalLoad",value:function(e){return new de(e)}},{key:"incrementalMerge",value:function(e){return new pe(e)}},{key:"interactive",value:function(e){return new ge(e)}},{key:"jog",value:function(e){return new ve(e)}},{key:"labelPrinter",value:function(e){return new me(e)}},{key:"layout",value:function(e){return new ye(e)}},{key:"level",value:function(e){return new be(e)}},{key:"linearized",value:function(e){return new we(e)}},{key:"locale",value:function(e){return new ke(e)}},{key:"localeSet",value:function(e){return new xe(e)}},{key:"log",value:function(e){return new Se(e)}},{key:"map",value:function(e){return new Ae(e)}},{key:"mediumInfo",value:function(e){return new Ce(e)}},{key:"message",value:function(e){return new Oe(e)}},{key:"messaging",value:function(e){return new Fe(e)}},{key:"mode",value:function(e){return new Ie(e)}},{key:"modifyAnnots",value:function(e){return new Te(e)}},{key:"msgId",value:function(e){return new Me(e)}},{key:"nameAttr",value:function(e){return new Ee(e)}},{key:"neverEmbed",value:function(e){return new Pe(e)}},{key:"numberOfCopies",value:function(e){return new Re(e)}},{key:"openAction",value:function(e){return new Ne(e)}},{key:"output",value:function(e){return new De(e)}},{key:"outputBin",value:function(e){return new Be(e)}},{key:"outputXSL",value:function(e){return new Le(e)}},{key:"overprint",value:function(e){return new _e(e)}},{key:"packets",value:function(e){return new je(e)}},{key:"pageOffset",value:function(e){return new Ue(e)}},{key:"pageRange",value:function(e){return new $e(e)}},{key:"pagination",value:function(e){return new Xe(e)}},{key:"paginationOverride",value:function(e){return new He(e)}},{key:"part",value:function(e){return new qe(e)}},{key:"pcl",value:function(e){return new ze(e)}},{key:"pdf",value:function(e){return new Ge(e)}},{key:"pdfa",value:function(e){return new We(e)}},{key:"permissions",value:function(e){return new Ve(e)}},{key:"pickTrayByPDFSize",value:function(e){return new Ke(e)}},{key:"picture",value:function(e){return new Ye(e)}},{key:"plaintextMetadata",value:function(e){return new Je(e)}},{key:"presence",value:function(e){return new Ze(e)}},{key:"present",value:function(e){return new Qe(e)}},{key:"print",value:function(e){return new et(e)}},{key:"printHighQuality",value:function(e){return new tt(e)}},{key:"printScaling",value:function(e){return new rt(e)}},{key:"printerName",value:function(e){return new nt(e)}},{key:"producer",value:function(e){return new at(e)}},{key:"ps",value:function(e){return new it(e)}},{key:"range",value:function(e){return new ot(e)}},{key:"record",value:function(e){return new st(e)}},{key:"relevant",value:function(e){return new ct(e)}},{key:"rename",value:function(e){return new ut(e)}},{key:"renderPolicy",value:function(e){return new lt(e)}},{key:"runScripts",value:function(e){return new ht(e)}},{key:"script",value:function(e){return new ft(e)}},{key:"scriptModel",value:function(e){return new dt(e)}},{key:"severity",value:function(e){return new pt(e)}},{key:"silentPrint",value:function(e){return new gt(e)}},{key:"staple",value:function(e){return new vt(e)}},{key:"startNode",value:function(e){return new mt(e)}},{key:"startPage",value:function(e){return new yt(e)}},{key:"submitFormat",value:function(e){return new bt(e)}},{key:"submitUrl",value:function(e){return new wt(e)}},{key:"subsetBelow",value:function(e){return new kt(e)}},{key:"suppressBanner",value:function(e){return new xt(e)}},{key:"tagged",value:function(e){return new St(e)}},{key:"template",value:function(e){return new At(e)}},{key:"templateCache",value:function(e){return new Ft(e)}},{key:"threshold",value:function(e){return new Ct(e)}},{key:"to",value:function(e){return new Ot(e)}},{key:"trace",value:function(e){return new It(e)}},{key:"transform",value:function(e){return new Tt(e)}},{key:"type",value:function(e){return new Mt(e)}},{key:"uri",value:function(e){return new Et(e)}},{key:"validate",value:function(e){return new Pt(e)}},{key:"validateApprovalSignatures",value:function(e){return new Rt(e)}},{key:"validationMessaging",value:function(e){return new Nt(e)}},{key:"version",value:function(e){return new Dt(e)}},{key:"versionControl",value:function(e){return new Bt(e)}},{key:"viewerPreferences",value:function(e){return new Lt(e)}},{key:"webClient",value:function(e){return new _t(e)}},{key:"whitespace",value:function(e){return new jt(e)}},{key:"window",value:function(e){return new Ut(e)}},{key:"xdc",value:function(e){return new $t(e)}},{key:"xdp",value:function(e){return new Xt(e)}},{key:"xsl",value:function(e){return new Ht(e)}},{key:"zpl",value:function(e){return new qt(e)}}]),t}(n.$buildXFAObject);t.ConfigNamespace=zt},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionSetNamespace=void 0;var n=r(234),a=r(240),i=n.NamespaceIds.connectionSet.id,o=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"connectionSet",!0])).wsdlConnection=new a.XFAObjectArray,r.xmlConnection=new a.XFAObjectArray,r.xsdConnection=new a.XFAObjectArray,r}return y(t,e),P(t)}(a.XFAObject),s=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"effectiveInputPolicy"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(a.XFAObject),c=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"effectiveOutputPolicy"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(a.XFAObject),u=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"operation"])).id=e.id||"",r.input=e.input||"",r.name=e.name||"",r.output=e.output||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(a.StringObject),l=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"rootElement"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(a.StringObject),h=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"soapAction"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(a.StringObject),f=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"soapAddress"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(a.StringObject),p=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"uri"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(a.StringObject),g=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"wsdlAddress"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return y(t,e),P(t)}(a.StringObject),v=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"wsdlConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.effectiveInputPolicy=null,r.effectiveOutputPolicy=null,r.operation=null,r.soapAction=null,r.soapAddress=null,r.wsdlAddress=null,r}return y(t,e),P(t)}(a.XFAObject),m=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"xmlConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.uri=null,r}return y(t,e),P(t)}(a.XFAObject),b=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[i,"xsdConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.rootElement=null,r.uri=null,r}return y(t,e),P(t)}(a.XFAObject),w=function(e){function t(){M(this,t)}return P(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"connectionSet",value:function(e){return new o(e)}},{key:"effectiveInputPolicy",value:function(e){return new s(e)}},{key:"effectiveOutputPolicy",value:function(e){return new c(e)}},{key:"operation",value:function(e){return new u(e)}},{key:"rootElement",value:function(e){return new l(e)}},{key:"soapAction",value:function(e){return new h(e)}},{key:"soapAddress",value:function(e){return new f(e)}},{key:"uri",value:function(e){return new p(e)}},{key:"wsdlAddress",value:function(e){return new g(e)}},{key:"wsdlConnection",value:function(e){return new v(e)}},{key:"xmlConnection",value:function(e){return new m(e)}},{key:"xsdConnection",value:function(e){return new b(e)}}]),t}(n.$buildXFAObject);t.ConnectionSetNamespace=w},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.DatasetsNamespace=void 0;var n=r(228),a=r(234),i=r(240),o=a.NamespaceIds.datasets.id,s=function(e,t){function r(e){return M(this,r),d(this,r,[o,"data",e])}return y(r,e),P(r,[{key:t,value:function(){return!0}}]),r}(i.XmlObject,n.$isNsAgnostic),c=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[o,"datasets",!0])).data=null,t.Signature=null,t}return y(r,e),P(r,[{key:t,value:function(e){var t=e[n.$nodeName];("data"===t&&e[n.$namespaceId]===o||"Signature"===t&&e[n.$namespaceId]===a.NamespaceIds.signature.id)&&(this[t]=e),this[n.$appendChild](e)}}]),r}(i.XFAObject,n.$onChild),u=function(e){function t(){M(this,t)}return P(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"datasets",value:function(e){return new c(e)}},{key:"data",value:function(e){return new s(e)}}]),t}(a.$buildXFAObject);t.DatasetsNamespace=u},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.LocaleSetNamespace=void 0;var n=r(234),a=r(240),i=r(237),o=n.NamespaceIds.localeSet.id,s=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"calendarSymbols",!0])).name="gregorian",r.dayNames=new a.XFAObjectArray(2),r.eraNames=null,r.meridiemNames=null,r.monthNames=new a.XFAObjectArray(2),r}return y(t,e),P(t)}(a.XFAObject),c=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"currencySymbol"])).name=(0,i.getStringOption)(e.name,["symbol","isoname","decimal"]),r}return y(t,e),P(t)}(a.StringObject),u=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"currencySymbols",!0])).currencySymbol=new a.XFAObjectArray(3),r}return y(t,e),P(t)}(a.XFAObject),l=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"datePattern"])).name=(0,i.getStringOption)(e.name,["full","long","med","short"]),r}return y(t,e),P(t)}(a.StringObject),h=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"datePatterns",!0])).datePattern=new a.XFAObjectArray(4),r}return y(t,e),P(t)}(a.XFAObject),f=function(e){function t(e){return M(this,t),d(this,t,[o,"dateTimeSymbols"])}return y(t,e),P(t)}(a.ContentObject),p=function(e){function t(e){return M(this,t),d(this,t,[o,"day"])}return y(t,e),P(t)}(a.StringObject),g=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"dayNames",!0])).abbr=(0,i.getInteger)({data:e.abbr,defaultValue:0,validate:function(e){return 1===e}}),r.day=new a.XFAObjectArray(7),r}return y(t,e),P(t)}(a.XFAObject),v=function(e){function t(e){return M(this,t),d(this,t,[o,"era"])}return y(t,e),P(t)}(a.StringObject),m=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"eraNames",!0])).era=new a.XFAObjectArray(2),r}return y(t,e),P(t)}(a.XFAObject),b=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"locale",!0])).desc=e.desc||"",r.name="isoname",r.calendarSymbols=null,r.currencySymbols=null,r.datePatterns=null,r.dateTimeSymbols=null,r.numberPatterns=null,r.numberSymbols=null,r.timePatterns=null,r.typeFaces=null,r}return y(t,e),P(t)}(a.XFAObject),w=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"localeSet",!0])).locale=new a.XFAObjectArray,r}return y(t,e),P(t)}(a.XFAObject),k=function(e){function t(e){return M(this,t),d(this,t,[o,"meridiem"])}return y(t,e),P(t)}(a.StringObject),x=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"meridiemNames",!0])).meridiem=new a.XFAObjectArray(2),r}return y(t,e),P(t)}(a.XFAObject),S=function(e){function t(e){return M(this,t),d(this,t,[o,"month"])}return y(t,e),P(t)}(a.StringObject),A=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"monthNames",!0])).abbr=(0,i.getInteger)({data:e.abbr,defaultValue:0,validate:function(e){return 1===e}}),r.month=new a.XFAObjectArray(12),r}return y(t,e),P(t)}(a.XFAObject),C=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"numberPattern"])).name=(0,i.getStringOption)(e.name,["full","long","med","short"]),r}return y(t,e),P(t)}(a.StringObject),O=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"numberPatterns",!0])).numberPattern=new a.XFAObjectArray(4),r}return y(t,e),P(t)}(a.XFAObject),F=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"numberSymbol"])).name=(0,i.getStringOption)(e.name,["decimal","grouping","percent","minus","zero"]),r}return y(t,e),P(t)}(a.StringObject),I=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"numberSymbols",!0])).numberSymbol=new a.XFAObjectArray(5),r}return y(t,e),P(t)}(a.XFAObject),T=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"timePattern"])).name=(0,i.getStringOption)(e.name,["full","long","med","short"]),r}return y(t,e),P(t)}(a.StringObject),E=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"timePatterns",!0])).timePattern=new a.XFAObjectArray(4),r}return y(t,e),P(t)}(a.XFAObject),R=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"typeFace",!0])).name=""|e.name,r}return y(t,e),P(t)}(a.XFAObject),N=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[o,"typeFaces",!0])).typeFace=new a.XFAObjectArray,r}return y(t,e),P(t)}(a.XFAObject),D=function(e){function t(){M(this,t)}return P(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"calendarSymbols",value:function(e){return new s(e)}},{key:"currencySymbol",value:function(e){return new c(e)}},{key:"currencySymbols",value:function(e){return new u(e)}},{key:"datePattern",value:function(e){return new l(e)}},{key:"datePatterns",value:function(e){return new h(e)}},{key:"dateTimeSymbols",value:function(e){return new f(e)}},{key:"day",value:function(e){return new p(e)}},{key:"dayNames",value:function(e){return new g(e)}},{key:"era",value:function(e){return new v(e)}},{key:"eraNames",value:function(e){return new m(e)}},{key:"locale",value:function(e){return new b(e)}},{key:"localeSet",value:function(e){return new w(e)}},{key:"meridiem",value:function(e){return new k(e)}},{key:"meridiemNames",value:function(e){return new x(e)}},{key:"month",value:function(e){return new S(e)}},{key:"monthNames",value:function(e){return new A(e)}},{key:"numberPattern",value:function(e){return new C(e)}},{key:"numberPatterns",value:function(e){return new O(e)}},{key:"numberSymbol",value:function(e){return new F(e)}},{key:"numberSymbols",value:function(e){return new I(e)}},{key:"timePattern",value:function(e){return new T(e)}},{key:"timePatterns",value:function(e){return new E(e)}},{key:"typeFace",value:function(e){return new R(e)}},{key:"typeFaces",value:function(e){return new N(e)}}]),t}(n.$buildXFAObject);t.LocaleSetNamespace=D},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.SignatureNamespace=void 0;var n=r(234),a=r(240),i=n.NamespaceIds.signature.id,o=function(e){function t(e){return M(this,t),d(this,t,[i,"signature",!0])}return y(t,e),P(t)}(a.XFAObject),s=function(e){function t(){M(this,t)}return P(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"signature",value:function(e){return new o(e)}}]),t}(n.$buildXFAObject);t.SignatureNamespace=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.StylesheetNamespace=void 0;var n=r(234),a=r(240),i=n.NamespaceIds.stylesheet.id,o=function(e){function t(e){return M(this,t),d(this,t,[i,"stylesheet",!0])}return y(t,e),P(t)}(a.XFAObject),s=function(e){function t(){M(this,t)}return P(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"stylesheet",value:function(e){return new o(e)}}]),t}(n.$buildXFAObject);t.StylesheetNamespace=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XdpNamespace=void 0;var n=r(234),a=r(228),i=r(240),o=n.NamespaceIds.xdp.id,s=function(e,t){function r(e){var t;return M(this,r),(t=d(this,r,[o,"xdp",!0])).uuid=e.uuid||"",t.timeStamp=e.timeStamp||"",t.config=null,t.connectionSet=null,t.datasets=null,t.localeSet=null,t.stylesheet=new i.XFAObjectArray,t.template=null,t}return y(r,e),P(r,[{key:t,value:function(e){var t=n.NamespaceIds[e[a.$nodeName]];return t&&e[a.$namespaceId]===t.id}}]),r}(i.XFAObject,a.$onChildCheck),c=function(e){function t(){M(this,t)}return P(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"xdp",value:function(e){return new s(e)}}]),t}(n.$buildXFAObject);t.XdpNamespace=c},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.XhtmlNamespace=void 0,r(116),r(126),r(128),r(131),r(133),r(135),r(137);var n=r(228),i=r(234),o=r(236),s=r(237),c=r(240),u=i.NamespaceIds.xhtml.id,l=Symbol(),h=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"]),f=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",function(e){return"none"===e?"none":"normal"}],["xfa-font-horizontal-scale",function(e){return"scaleX(".concat(Math.max(0,Math.min(parseInt(e)/100)).toFixed(2),")")}],["xfa-font-vertical-scale",function(e){return"scaleY(".concat(Math.max(0,Math.min(parseInt(e)/100)).toFixed(2),")")}],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",function(e,t){return e=t.fontSize=(0,s.getMeasurement)(e),(0,o.measureToString)(.99*e)}],["letter-spacing",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["line-height",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["margin",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["margin-bottom",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["margin-left",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["margin-right",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["margin-top",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["text-indent",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["font-family",function(e){return e}],["vertical-align",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}]]),p=/\s+/g,g=/[\r\n]+/g,v=/\r\n?/g;function b(e,t,r){var a=Object.create(null);if(!e)return a;var i,c=Object.create(null),u=x(e.split(";").map((function(e){return e.split(":",2)})));try{for(u.s();!(i=u.n()).done;){var l=S(i.value,2),h=l[0],d=l[1],p=f.get(h);if(""!==p){var g=d;p&&(g="string"==typeof p?p:p(d,c)),h.endsWith("scale")?a.transform=a.transform?"".concat(a[h]," ").concat(g):g:a[h.replaceAll(/-([a-zA-Z])/g,(function(e,t){return t.toUpperCase()}))]=g}}}catch(e){u.e(e)}finally{u.f()}if(a.fontFamily&&(0,o.setFontFamily)({typeface:a.fontFamily,weight:a.fontWeight||"normal",posture:a.fontStyle||"normal",size:c.fontSize||0},t,t[n.$globalData].fontFinder,a),r&&a.verticalAlign&&"0px"!==a.verticalAlign&&a.fontSize){var v=(0,s.getMeasurement)(a.fontSize);a.fontSize=(0,o.measureToString)(.583*v),a.verticalAlign=(0,o.measureToString)(Math.sign((0,s.getMeasurement)(a.verticalAlign))*v*.333)}return r&&a.fontSize&&(a.fontSize="calc(".concat(a.fontSize," * var(--scale-factor))")),(0,o.fixTextIndent)(a),a}var w=new Set(["body","html"]),k=function(e,t,r,i,o,c){function f(e,t){var r;return M(this,f),(r=d(this,f,[u,t]))[l]=!1,r.style=e.style||"",r}return y(f,e),P(f,[{key:t,value:function(e){a(m(f.prototype),n.$clean,this).call(this,e),this.style=function(e){return e.style?e.style.trim().split(/\s*;\s*/).filter((function(e){return!!e})).map((function(e){return e.split(/\s*:\s*/,2)})).filter((function(t){var r=S(t,2),a=r[0],i=r[1];return"font-family"===a&&e[n.$globalData].usedTypefaces.add(i),h.has(a)})).map((function(e){return e.join(":")})).join(";"):""}(this)}},{key:r,value:function(){return!w.has(this[n.$nodeName])}},{key:i,value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]?this[l]=!0:(e=e.replaceAll(g,""),this.style.includes("xfa-spacerun:yes")||(e=e.replaceAll(p," "))),e&&(this[n.$content]+=e)}},{key:o,value:function(e){var t,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=Object.create(null),i={top:NaN,bottom:NaN,left:NaN,right:NaN},o=null,c=x(this.style.split(";").map((function(e){return e.split(":",2)})));try{for(c.s();!(t=c.n()).done;){var u=S(t.value,2),l=(u[0],u[1]);switch(e){case"font-family":a.typeface=(0,s.stripQuotes)(l);break;case"font-size":a.size=(0,s.getMeasurement)(l);break;case"font-weight":a.weight=l;break;case"font-style":a.posture=l;break;case"letter-spacing":a.letterSpacing=(0,s.getMeasurement)(l);break;case"margin":var h=l.split(/ \t/).map((function(e){return(0,s.getMeasurement)(e)}));switch(h.length){case 1:i.top=i.bottom=i.left=i.right=h[0];break;case 2:i.top=i.bottom=h[0],i.left=i.right=h[1];break;case 3:i.top=h[0],i.bottom=h[2],i.left=i.right=h[1];break;case 4:i.top=h[0],i.left=h[1],i.bottom=h[2],i.right=h[3]}break;case"margin-top":i.top=(0,s.getMeasurement)(l);break;case"margin-bottom":i.bottom=(0,s.getMeasurement)(l);break;case"margin-left":i.left=(0,s.getMeasurement)(l);break;case"margin-right":i.right=(0,s.getMeasurement)(l);break;case"line-height":o=(0,s.getMeasurement)(l)}}}catch(e){c.e(e)}finally{c.f()}if(e.pushData(a,i,o),this[n.$content])e.addString(this[n.$content]);else{var f,d=x(this[n.$getChildren]());try{for(d.s();!(f=d.n()).done;){var p=f.value;"#text"!==p[n.$nodeName]?p[n.$pushGlyphs](e):e.addString(p[n.$content])}}catch(e){d.e(e)}finally{d.f()}}r&&e.popFont()}},{key:c,value:function(e){var t,r=[];return this[n.$extra]={children:r},this[n.$childrenToHTML]({}),0!==r.length||this[n.$content]?(t=this[l]?this[n.$content]?this[n.$content].replaceAll(v,"\n"):void 0:this[n.$content]||void 0,s.HTMLResult.success({name:this[n.$nodeName],attributes:{href:this.href,style:b(this.style,this,this[l])},children:r,value:t})):s.HTMLResult.EMPTY}}]),f}(c.XmlObject,n.$clean,n.$acceptWhitespace,n.$onText,n.$pushGlyphs,n.$toHTML),A=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[e,"a"])).href=(0,o.fixURL)(e.href)||"",r}return y(t,e),P(t)}(k),C=function(e,t){function r(e){return M(this,r),d(this,r,[e,"b"])}return y(r,e),P(r,[{key:t,value:function(e){e.pushFont({weight:"bold"}),a(m(r.prototype),n.$pushGlyphs,this).call(this,e),e.popFont()}}]),r}(k,n.$pushGlyphs),O=function(e,t){function r(e){return M(this,r),d(this,r,[e,"body"])}return y(r,e),P(r,[{key:t,value:function(e){var t=a(m(r.prototype),n.$toHTML,this).call(this,e),i=t.html;return i?(i.name="div",i.attributes.class=["xfaRich"],t):s.HTMLResult.EMPTY}}]),r}(k,n.$toHTML),F=function(e,t,r,n){function a(e){return M(this,a),d(this,a,[e,"br"])}return y(a,e),P(a,[{key:t,value:function(){return"\n"}},{key:r,value:function(e){e.addString("\n")}},{key:n,value:function(e){return s.HTMLResult.success({name:"br"})}}]),a}(k,n.$text,n.$pushGlyphs,n.$toHTML),I=function(e,t){function r(e){return M(this,r),d(this,r,[e,"html"])}return y(r,e),P(r,[{key:t,value:function(e){var t=[];if(this[n.$extra]={children:t},this[n.$childrenToHTML]({}),0===t.length)return s.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[n.$content]||""});if(1===t.length){var r,a=t[0];if(null!==(r=a.attributes)&&void 0!==r&&r.class.includes("xfaRich"))return s.HTMLResult.success(a)}return s.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:t})}}]),r}(k,n.$toHTML),T=function(e,t){function r(e){return M(this,r),d(this,r,[e,"i"])}return y(r,e),P(r,[{key:t,value:function(e){e.pushFont({posture:"italic"}),a(m(r.prototype),n.$pushGlyphs,this).call(this,e),e.popFont()}}]),r}(k,n.$pushGlyphs),E=function(e){function t(e){return M(this,t),d(this,t,[e,"li"])}return y(t,e),P(t)}(k),R=function(e){function t(e){return M(this,t),d(this,t,[e,"ol"])}return y(t,e),P(t)}(k),N=function(e,t,r){function i(e){return M(this,i),d(this,i,[e,"p"])}return y(i,e),P(i,[{key:t,value:function(e){a(m(i.prototype),n.$pushGlyphs,this).call(this,e,!1),e.addString("\n"),e.addPara(),e.popFont()}},{key:r,value:function(){return this[n.$getParent]()[n.$getChildren]().at(-1)===this?a(m(i.prototype),n.$text,this).call(this):a(m(i.prototype),n.$text,this).call(this)+"\n"}}]),i}(k,n.$pushGlyphs,n.$text),D=function(e){function t(e){return M(this,t),d(this,t,[e,"span"])}return y(t,e),P(t)}(k),B=function(e){function t(e){return M(this,t),d(this,t,[e,"sub"])}return y(t,e),P(t)}(k),L=function(e){function t(e){return M(this,t),d(this,t,[e,"sup"])}return y(t,e),P(t)}(k),_=function(e){function t(e){return M(this,t),d(this,t,[e,"ul"])}return y(t,e),P(t)}(k),j=function(e){function t(){M(this,t)}return P(t,null,[{key:e,value:function(e,r){if(t.hasOwnProperty(e))return t[e](r)}},{key:"a",value:function(e){return new A(e)}},{key:"b",value:function(e){return new C(e)}},{key:"body",value:function(e){return new O(e)}},{key:"br",value:function(e){return new F(e)}},{key:"html",value:function(e){return new I(e)}},{key:"i",value:function(e){return new T(e)}},{key:"li",value:function(e){return new E(e)}},{key:"ol",value:function(e){return new R(e)}},{key:"p",value:function(e){return new N(e)}},{key:"span",value:function(e){return new D(e)}},{key:"sub",value:function(e){return new B(e)}},{key:"sup",value:function(e){return new L(e)}},{key:"ul",value:function(e){return new _(e)}}]),t}(i.$buildXFAObject);t.XhtmlNamespace=j},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownNamespace=void 0;var n=r(234),a=r(240),i=function(e){function t(e){M(this,t),this.namespaceId=e}return P(t,[{key:e,value:function(e,t){return new a.XmlObject(this.namespaceId,e,t)}}]),t}(n.$buildXFAObject);t.UnknownNamespace=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.DatasetReader=void 0,r(2);var n=r(144),i=r(149),o=r(217);function s(e){try{return(0,n.stringToUTF8String)(e)}catch(t){return(0,n.warn)('UTF-8 decoding failed: "'.concat(t,'".')),e}}var c=function(e){function t(e){var r;return M(this,t),(r=d(this,t,[e])).node=null,r}return y(t,e),P(t,[{key:"onEndElement",value:function(e){var r=a(m(t.prototype),"onEndElement",this).call(this,e);if(r&&"xfa:datasets"===e)throw this.node=r,new Error("Aborting DatasetXMLParser.")}}]),t}(o.SimpleXMLParser);t.DatasetReader=function(){function e(t){if(M(this,e),t.datasets)this.node=new o.SimpleXMLParser({hasAttributes:!0}).parseFromString(t.datasets).documentElement;else{var r=new c({hasAttributes:!0});try{r.parseFromString(t["xdp:xdp"])}catch(e){}this.node=r.node}}return P(e,[{key:"getValue",value:function(e){if(!this.node||!e)return"";var t=this.node.searchNode((0,i.parseXFAPath)(e),0);if(!t)return"";var r=t.firstChild;return"value"===(null==r?void 0:r.nodeName)?t.children.map((function(e){return s(e.textContent)})):s(t.textContent)}}]),e}()},function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.XRef=void 0,r(116),r(126),r(128),r(131),r(133),r(135),r(137),r(84),r(93),r(94),r(97),r(99),r(101),r(105),r(108),r(115),r(139),r(2);var a=r(144),i=r(150),o=r(166),c=r(149),h=r(151),d=r(218);t.XRef=(n=new WeakMap,function(){function e(t,r){M(this,e),s(this,n,{writable:!0,value:null}),this.stream=t,this.pdfManager=r,this.entries=[],this._xrefStms=new Set,this._cacheMap=new Map,this._pendingRefs=new i.RefSet,this._newPersistentRefNum=null,this._newTemporaryRefNum=null}var t,r;return P(e,[{key:"getNewPersistentRef",value:function(e){null===this._newPersistentRefNum&&(this._newPersistentRefNum=this.entries.length||1);var t=this._newPersistentRefNum++;return this._cacheMap.set(t,e),i.Ref.get(t,0)}},{key:"getNewTemporaryRef",value:function(){return null===this._newTemporaryRefNum&&(this._newTemporaryRefNum=this.entries.length||1),i.Ref.get(this._newTemporaryRefNum++,0)}},{key:"resetNewTemporaryRef",value:function(){this._newTemporaryRefNum=null}},{key:"setStartXRef",value:function(e){this.startXRefQueue=[e]}},{key:"parse",value:function(){var e,t,r,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n?((0,a.warn)("Indexing all PDF objects"),e=this.indexObjects()):e=this.readXRef(),e.assignXref(this),this.trailer=e;try{t=e.get("Encrypt")}catch(e){if(e instanceof c.MissingDataException)throw e;(0,a.warn)('XRef.parse - Invalid "Encrypt" reference: "'.concat(e,'".'))}if(t instanceof i.Dict){var o=e.get("ID"),s=null!=o&&o.length?o[0]:"";t.suppressEncryption=!0,this.encrypt=new d.CipherTransformFactory(t,s,this.pdfManager.password)}try{r=e.get("Root")}catch(e){if(e instanceof c.MissingDataException)throw e;(0,a.warn)('XRef.parse - Invalid "Root" reference: "'.concat(e,'".'))}if(r instanceof i.Dict)try{if(r.get("Pages")instanceof i.Dict)return void(this.root=r)}catch(e){if(e instanceof c.MissingDataException)throw e;(0,a.warn)('XRef.parse - Invalid "Pages" reference: "'.concat(e,'".'))}if(!n)throw new c.XRefParseException;throw new a.InvalidPDFException("Invalid Root reference.")}},{key:"processXRefTable",value:function(e){"tableState"in this||(this.tableState={entryNum:0,streamPos:e.lexer.stream.pos,parserBuf1:e.buf1,parserBuf2:e.buf2});var t=this.readXRefTable(e);if(!(0,i.isCmd)(t,"trailer"))throw new a.FormatError("Invalid XRef table: could not find trailer dictionary");var r=e.getObj();if(r instanceof i.Dict||!r.dict||(r=r.dict),!(r instanceof i.Dict))throw new a.FormatError("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,r}},{key:"readXRefTable",value:function(e){var t,r=e.lexer.stream,n=this.tableState;for(r.pos=n.streamPos,e.buf1=n.parserBuf1,e.buf2=n.parserBuf2;;){if(!("firstEntryNum"in n)||!("entryCount"in n)){if((0,i.isCmd)(t=e.getObj(),"trailer"))break;n.firstEntryNum=t,n.entryCount=e.getObj()}var o=n.firstEntryNum,s=n.entryCount;if(!Number.isInteger(o)||!Number.isInteger(s))throw new a.FormatError("Invalid XRef table: wrong types in subsection header");for(var c=n.entryNum;c<s;c++){n.streamPos=r.pos,n.entryNum=c,n.parserBuf1=e.buf1,n.parserBuf2=e.buf2;var u={};u.offset=e.getObj(),u.gen=e.getObj();var l=e.getObj();if(l instanceof i.Cmd)switch(l.cmd){case"f":u.free=!0;break;case"n":u.uncompressed=!0}if(!Number.isInteger(u.offset)||!Number.isInteger(u.gen)||!u.free&&!u.uncompressed)throw new a.FormatError("Invalid entry in XRef subsection: ".concat(o,", ").concat(s));0===c&&u.free&&1===o&&(o=0),this.entries[c+o]||(this.entries[c+o]=u)}n.entryNum=0,n.streamPos=r.pos,n.parserBuf1=e.buf1,n.parserBuf2=e.buf2,delete n.firstEntryNum,delete n.entryCount}if(this.entries[0]&&!this.entries[0].free)throw new a.FormatError("Invalid XRef table: unexpected first object");return t}},{key:"processXRefStream",value:function(e){if(!("streamState"in this)){var t=e.dict,r=t.get("W"),n=t.get("Index");n||(n=[0,t.get("Size")]),this.streamState={entryRanges:n,byteWidths:r,entryNum:0,streamPos:e.pos}}return this.readXRefStream(e),delete this.streamState,e.dict}},{key:"readXRefStream",value:function(e){var t=this.streamState;e.pos=t.streamPos;for(var r=S(t.byteWidths,3),n=r[0],i=r[1],o=r[2],s=t.entryRanges;s.length>0;){var c=S(s,2),u=c[0],l=c[1];if(!Number.isInteger(u)||!Number.isInteger(l))throw new a.FormatError("Invalid XRef range fields: ".concat(u,", ").concat(l));if(!Number.isInteger(n)||!Number.isInteger(i)||!Number.isInteger(o))throw new a.FormatError("Invalid XRef entry fields length: ".concat(u,", ").concat(l));for(var h=t.entryNum;h<l;++h){t.entryNum=h,t.streamPos=e.pos;for(var f=0,d=0,p=0,g=0;g<n;++g){var v=e.getByte();if(-1===v)throw new a.FormatError("Invalid XRef byteWidths 'type'.");f=f<<8|v}0===n&&(f=1);for(var m=0;m<i;++m){var y=e.getByte();if(-1===y)throw new a.FormatError("Invalid XRef byteWidths 'offset'.");d=d<<8|y}for(var b=0;b<o;++b){var w=e.getByte();if(-1===w)throw new a.FormatError("Invalid XRef byteWidths 'generation'.");p=p<<8|w}var k={};switch(k.offset=d,k.gen=p,f){case 0:k.free=!0;break;case 1:k.uncompressed=!0;break;case 2:break;default:throw new a.FormatError("Invalid XRef entry type: ".concat(f))}this.entries[u+h]||(this.entries[u+h]=k)}t.entryNum=0,t.streamPos=e.pos,s.splice(0,2)}}},{key:"indexObjects",value:function(){function e(e,t){for(var r="",n=e[t];10!==n&&13!==n&&60!==n&&!(++t>=e.length);)r+=String.fromCharCode(n),n=e[t];return r}function t(e,t,r){for(var n=r.length,a=e.length,i=0;t<a;){for(var o=0;o<n&&e[t+o]===r[o];)++o;if(o>=n)break;t++,i++}return i}var r=/\b(endobj|\d+\s+\d+\s+obj|xref|trailer\s*<<)\b/g,n=/\b(startxref|\d+\s+\d+\s+obj)\b/g,s=/^(\d+)\s+(\d+)\s+obj\b/,u=new Uint8Array([116,114,97,105,108,101,114]),l=new Uint8Array([115,116,97,114,116,120,114,101,102]),h=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();var f=this.stream;f.pos=0;for(var d=f.getBytes(),p=(0,a.bytesToString)(d),g=d.length,v=f.start,m=[],y=[];v<g;){var b=d[v];if(9!==b&&10!==b&&13!==b&&32!==b)if(37!==b){var w=e(d,v),k=void 0;if(w.startsWith("xref")&&(4===w.length||/\s/.test(w[4])))v+=t(d,v,u),m.push(v),v+=t(d,v,l);else if(k=s.exec(w)){var x=0|k[1],S=0|k[2],A=v+w.length,C=void 0,O=!1;if(this.entries[x]){if(this.entries[x].gen===S)try{new o.Parser({lexer:new o.Lexer(f.makeSubStream(A))}).getObj(),O=!0}catch(r){r instanceof c.ParserEOFException?(0,a.warn)("indexObjects -- checking object (".concat(w,'): "').concat(r,'".')):O=!0}}else O=!0;O&&(this.entries[x]={offset:v-f.start,gen:S,uncompressed:!0}),r.lastIndex=A;var F=r.exec(p);F?(C=r.lastIndex+1-v,"endobj"!==F[1]&&((0,a.warn)('indexObjects: Found "'.concat(F[1],'" inside of another "obj", caused by missing "endobj" -- trying to recover.')),C-=F[1].length+1)):C=g-v;var I=d.subarray(v,v+C),T=t(I,0,h);T<C&&I[T+5]<64&&(y.push(v-f.start),this._xrefStms.add(v-f.start)),v+=C}else if(w.startsWith("trailer")&&(7===w.length||/\s/.test(w[7]))){m.push(v);var M=v+w.length,E=void 0;n.lastIndex=M;var P=n.exec(p);P?(E=n.lastIndex+1-v,"startxref"!==P[1]&&((0,a.warn)('indexObjects: Found "'.concat(P[1],'" after "trailer", caused by missing "startxref" -- trying to recover.')),E-=P[1].length+1)):E=g-v,v+=E}else v+=w.length+1}else do{if(++v>=g)break;b=d[v]}while(10!==b&&13!==b);else++v}for(var R=0,N=y;R<N.length;R++){var D=N[R];this.startXRefQueue.push(D),this.readXRef(!0)}for(var B,L,_=[],j=!1,U=0,$=m;U<$.length;U++){var X=$[U];f.pos=X;var H=new o.Parser({lexer:new o.Lexer(f),xref:this,allowStreams:!0,recoveryMode:!0}),q=H.getObj();if((0,i.isCmd)(q,"trailer")){var z=H.getObj();z instanceof i.Dict&&(_.push(z),z.has("Encrypt")&&(j=!0))}}for(var G=0,W=[].concat(_,["genFallback"],_);G<W.length;G++){var V=W[G];if("genFallback"!==V){var K=!1;try{var Y=V.get("Root");if(!(Y instanceof i.Dict))continue;var J=Y.get("Pages");if(!(J instanceof i.Dict))continue;var Z=J.get("Count");Number.isInteger(Z)&&(K=!0)}catch(r){L=r;continue}if(K&&(!j||V.has("Encrypt"))&&V.has("ID"))return V;B=V}else{if(!L)break;this._generationFallback=!0}}if(B)return B;if(this.topDict)return this.topDict;throw new a.InvalidPDFException("Invalid PDF structure.")}},{key:"readXRef",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.stream,r=new Set;this.startXRefQueue.length;){try{var s=this.startXRefQueue[0];if(r.has(s)){(0,a.warn)("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();continue}r.add(s),t.pos=s+t.start;var f=new o.Parser({lexer:new o.Lexer(t),xref:this,allowStreams:!0}),d=void 0,p=f.getObj();if((0,i.isCmd)(p,"xref")){var g;d=this.processXRefTable(f),this.topDict||(this.topDict=d),p=d.get("XRefStm"),Number.isInteger(p)&&!this._xrefStms.has(p)&&(this._xrefStms.add(p),this.startXRefQueue.push(p),null!==(g=u(this,n))&&void 0!==g||l(this,n,p))}else{if(!Number.isInteger(p))throw new a.FormatError("Invalid XRef stream header");if(!(Number.isInteger(f.getObj())&&(0,i.isCmd)(f.getObj(),"obj")&&(p=f.getObj())instanceof h.BaseStream))throw new a.FormatError("Invalid XRef stream");if(d=this.processXRefStream(p),this.topDict||(this.topDict=d),!d)throw new a.FormatError("Failed to read XRef stream")}p=d.get("Prev"),Number.isInteger(p)?this.startXRefQueue.push(p):p instanceof i.Ref&&this.startXRefQueue.push(p.num)}catch(e){if(e instanceof c.MissingDataException)throw e;(0,a.info)("(while reading XRef): "+e)}this.startXRefQueue.shift()}if(this.topDict)return this.topDict;if(!e)throw new c.XRefParseException}},{key:"lastXRefStreamPos",get:function(){var e;return null!==(e=u(this,n))&&void 0!==e?e:this._xrefStms.size>0?Math.max.apply(Math,f(this._xrefStms)):null}},{key:"getEntry",value:function(e){var t=this.entries[e];return t&&!t.free&&t.offset?t:null}},{key:"fetchIfRef",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e instanceof i.Ref?this.fetch(e,t):e}},{key:"fetch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(e instanceof i.Ref))throw new Error("ref object is not a reference");var r=e.num,n=this._cacheMap.get(r);if(void 0!==n)return n instanceof i.Dict&&!n.objId&&(n.objId=e.toString()),n;var o=this.getEntry(r);if(null===o)return this._cacheMap.set(r,o),o;if(this._pendingRefs.has(e))return this._pendingRefs.remove(e),(0,a.warn)("Ignoring circular reference: ".concat(e,".")),i.CIRCULAR_REF;this._pendingRefs.put(e);try{o=o.uncompressed?this.fetchUncompressed(e,o,t):this.fetchCompressed(e,o,t),this._pendingRefs.remove(e)}catch(t){throw this._pendingRefs.remove(e),t}return o instanceof i.Dict?o.objId=e.toString():o instanceof h.BaseStream&&(o.dict.objId=e.toString()),o}},{key:"fetchUncompressed",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.gen,s=e.num;if(t.gen!==n){var u="Inconsistent generation in XRef: ".concat(e);if(this._generationFallback&&t.gen<n)return(0,a.warn)(u),this.fetchUncompressed(i.Ref.get(s,t.gen),t,r);throw new c.XRefEntryException(u)}var l=this.stream.makeSubStream(t.offset+this.stream.start),f=new o.Parser({lexer:new o.Lexer(l),xref:this,allowStreams:!0}),d=f.getObj(),p=f.getObj(),g=f.getObj();if(d!==s||p!==n||!(g instanceof i.Cmd))throw new c.XRefEntryException("Bad (uncompressed) XRef entry: ".concat(e));if("obj"!==g.cmd){if(g.cmd.startsWith("obj")&&(s=parseInt(g.cmd.substring(3),10),!Number.isNaN(s)))return s;throw new c.XRefEntryException("Bad (uncompressed) XRef entry: ".concat(e))}return(t=this.encrypt&&!r?f.getObj(this.encrypt.createCipherTransform(s,n)):f.getObj())instanceof h.BaseStream||this._cacheMap.set(s,t),t}},{key:"fetchCompressed",value:function(e,t){var r=t.offset,n=this.fetch(i.Ref.get(r,0));if(!(n instanceof h.BaseStream))throw new a.FormatError("bad ObjStm stream");var s=n.dict.get("First"),u=n.dict.get("N");if(!Number.isInteger(s)||!Number.isInteger(u))throw new a.FormatError("invalid first and n parameters for ObjStm stream");for(var l=new o.Parser({lexer:new o.Lexer(n),xref:this,allowStreams:!0}),f=new Array(u),d=new Array(u),p=0;p<u;++p){var g=l.getObj();if(!Number.isInteger(g))throw new a.FormatError("invalid object number in the ObjStm stream: ".concat(g));var v=l.getObj();if(!Number.isInteger(v))throw new a.FormatError("invalid object offset in the ObjStm stream: ".concat(v));f[p]=g,d[p]=v}for(var m=(n.start||0)+s,y=new Array(u),b=0;b<u;++b){var w=b<u-1?d[b+1]-d[b]:void 0;if(w<0)throw new a.FormatError("Invalid offset in the ObjStm stream.");var k=(l=new o.Parser({lexer:new o.Lexer(n.makeSubStream(m+d[b],w,n.dict)),xref:this,allowStreams:!0})).getObj();if(y[b]=k,!(k instanceof h.BaseStream)){var x=f[b],S=this.entries[x];S&&S.offset===r&&S.gen===b&&this._cacheMap.set(x,k)}}if(void 0===(t=y[t.gen]))throw new c.XRefEntryException("Bad (compressed) XRef entry: ".concat(e));return t}},{key:"fetchIfRefAsync",value:(r=T(k().mark((function e(t,r){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t instanceof i.Ref?this.fetchAsync(t,r):t);case 1:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"fetchAsync",value:(t=T(k().mark((function e(t,r){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",this.fetch(t,r));case 4:if(e.prev=4,e.t0=e.catch(0),e.t0 instanceof c.MissingDataException){e.next=8;break}throw e.t0;case 8:return e.next=10,this.pdfManager.requestRange(e.t0.begin,e.t0.end);case 10:return e.abrupt("return",this.fetchAsync(t,r));case 11:case"end":return e.stop()}}),e,this,[[0,4]])}))),function(e,r){return t.apply(this,arguments)})},{key:"getCatalogObj",value:function(){return this.root}}]),e}())},function(e,t,r){var n,a,s;Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0,r(2);var c=r(144);function u(e){switch(e instanceof Error||"object"==N(e)&&null!==e||(0,c.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new c.AbortException(e.message);case"MissingPDFException":return new c.MissingPDFException(e.message);case"PasswordException":return new c.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new c.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new c.UnknownErrorException(e.message,e.details);default:return new c.UnknownErrorException(e.message,e.toString())}}function l(e){var t=e.streamId,r=this.sourceName,n=e.sourceName,a=this.comObj,i=this,o=this.actionHandler[e.action],s={enqueue:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var s=this.desiredSize;this.desiredSize-=i,s>0&&this.desiredSize<=0&&(this.sinkCapability=new c.PromiseCapability,this.ready=this.sinkCapability.promise),a.postMessage({sourceName:r,targetName:n,stream:4,streamId:t,chunk:e},o)}},close:function(){this.isCancelled||(this.isCancelled=!0,a.postMessage({sourceName:r,targetName:n,stream:3,streamId:t}),delete i.streamSinks[t])},error:function(e){(0,c.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,a.postMessage({sourceName:r,targetName:n,stream:5,streamId:t,reason:u(e)}))},sinkCapability:new c.PromiseCapability,onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};s.sinkCapability.resolve(),s.ready=s.sinkCapability.promise,this.streamSinks[t]=s,new Promise((function(t){t(o(e.data,s))})).then((function(){a.postMessage({sourceName:r,targetName:n,stream:8,streamId:t,success:!0})}),(function(e){a.postMessage({sourceName:r,targetName:n,stream:8,streamId:t,reason:u(e)})}))}function h(e){var t=e.streamId,r=this.sourceName,n=e.sourceName,a=this.comObj,i=this.streamControllers[t],l=this.streamSinks[t];switch(e.stream){case 8:e.success?i.startCall.resolve():i.startCall.reject(u(e.reason));break;case 7:e.success?i.pullCall.resolve():i.pullCall.reject(u(e.reason));break;case 6:if(!l){a.postMessage({sourceName:r,targetName:n,stream:7,streamId:t,success:!0});break}l.desiredSize<=0&&e.desiredSize>0&&l.sinkCapability.resolve(),l.desiredSize=e.desiredSize,new Promise((function(e){var t;e(null===(t=l.onPull)||void 0===t?void 0:t.call(l))})).then((function(){a.postMessage({sourceName:r,targetName:n,stream:7,streamId:t,success:!0})}),(function(e){a.postMessage({sourceName:r,targetName:n,stream:7,streamId:t,reason:u(e)})}));break;case 4:if((0,c.assert)(i,"enqueue should have stream controller"),i.isClosed)break;i.controller.enqueue(e.chunk);break;case 3:if((0,c.assert)(i,"close should have stream controller"),i.isClosed)break;i.isClosed=!0,i.controller.close(),o(this,s,f).call(this,i,t);break;case 5:(0,c.assert)(i,"error should have stream controller"),i.controller.error(u(e.reason)),o(this,s,f).call(this,i,t);break;case 2:e.success?i.cancelCall.resolve():i.cancelCall.reject(u(e.reason)),o(this,s,f).call(this,i,t);break;case 1:if(!l)break;new Promise((function(t){var r;t(null===(r=l.onCancel)||void 0===r?void 0:r.call(l,u(e.reason)))})).then((function(){a.postMessage({sourceName:r,targetName:n,stream:2,streamId:t,success:!0})}),(function(e){a.postMessage({sourceName:r,targetName:n,stream:2,streamId:t,reason:u(e)})})),l.sinkCapability.reject(u(e.reason)),l.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}function f(e,t){return d.apply(this,arguments)}function d(){return d=T(k().mark((function e(t,r){var n,a,i;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.allSettled([null===(n=t.startCall)||void 0===n?void 0:n.promise,null===(a=t.pullCall)||void 0===a?void 0:a.promise,null===(i=t.cancelCall)||void 0===i?void 0:i.promise]);case 2:delete this.streamControllers[r];case 3:case"end":return e.stop()}}),e,this)}))),d.apply(this,arguments)}t.MessageHandler=(n=new WeakSet,a=new WeakSet,s=new WeakSet,function(){function e(t,r,c){var f=this;M(this,e),i(this,s),i(this,a),i(this,n),this.sourceName=t,this.targetName=r,this.comObj=c,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(e){var t=e.data;if(t.targetName===f.sourceName)if(t.stream)o(f,a,h).call(f,t);else if(t.callback){var r=t.callbackId,i=f.callbackCapabilities[r];if(!i)throw new Error("Cannot resolve callback ".concat(r));if(delete f.callbackCapabilities[r],1===t.callback)i.resolve(t.data);else{if(2!==t.callback)throw new Error("Unexpected callback case");i.reject(u(t.reason))}}else{var s=f.actionHandler[t.action];if(!s)throw new Error("Unknown action from worker: ".concat(t.action));if(t.callbackId){var d=f.sourceName,p=t.sourceName;new Promise((function(e){e(s(t.data))})).then((function(e){c.postMessage({sourceName:d,targetName:p,callback:1,callbackId:t.callbackId,data:e})}),(function(e){c.postMessage({sourceName:d,targetName:p,callback:2,callbackId:t.callbackId,reason:u(e)})}))}else t.streamId?o(f,n,l).call(f,t):s(t.data)}},c.addEventListener("message",this._onComObjOnMessage)}return P(e,[{key:"on",value:function(e,t){var r=this.actionHandler;if(r[e])throw new Error('There is already an actionName called "'.concat(e,'"'));r[e]=t}},{key:"send",value:function(e,t,r){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},r)}},{key:"sendWithPromise",value:function(e,t,r){var n=this.callbackId++,a=new c.PromiseCapability;this.callbackCapabilities[n]=a;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:n,data:t},r)}catch(e){a.reject(e)}return a.promise}},{key:"sendWithStream",value:function(e,t,r,n){var a=this,i=this.streamId++,o=this.sourceName,s=this.targetName,l=this.comObj;return new ReadableStream({start:function(r){var u=new c.PromiseCapability;return a.streamControllers[i]={controller:r,startCall:u,pullCall:null,cancelCall:null,isClosed:!1},l.postMessage({sourceName:o,targetName:s,action:e,streamId:i,data:t,desiredSize:r.desiredSize},n),u.promise},pull:function(e){var t=new c.PromiseCapability;return a.streamControllers[i].pullCall=t,l.postMessage({sourceName:o,targetName:s,stream:6,streamId:i,desiredSize:e.desiredSize}),t.promise},cancel:function(e){(0,c.assert)(e instanceof Error,"cancel must have a valid reason");var t=new c.PromiseCapability;return a.streamControllers[i].cancelCall=t,a.streamControllers[i].isClosed=!0,l.postMessage({sourceName:o,targetName:s,stream:1,streamId:i,reason:u(e)}),t.promise}},r)}},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}]),e}())},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PDFWorkerStream=void 0,r(139);var n=r(144);t.PDFWorkerStream=function(){function e(t){M(this,e),this._msgHandler=t,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}return P(e,[{key:"getFullReader",value:function(){return(0,n.assert)(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new a(this._msgHandler),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new i(e,t,this._msgHandler);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,r=x(this._rangeRequestReaders.slice(0));try{for(r.s();!(t=r.n()).done;)t.value.cancel(e)}catch(e){r.e(e)}finally{r.f()}}}]),e}();var a=function(){function e(t){var r=this;M(this,e),this._msgHandler=t,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;var n=this._msgHandler.sendWithStream("GetReader");this._reader=n.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then((function(e){r._isStreamingSupported=e.isStreamingSupported,r._isRangeSupported=e.isRangeSupported,r._contentLength=e.contentLength}))}var t;return P(e,[{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:(t=T(k().mark((function e(){var t,r,n;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.read();case 2:return t=e.sent,r=t.value,n=t.done,e.abrupt("return",n?{value:void 0,done:!0}:{value:r.buffer,done:!1});case 6:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader.cancel(e)}}]),e}(),i=function(){function e(t,r,n){M(this,e),this._msgHandler=n,this.onProgress=null;var a=this._msgHandler.sendWithStream("GetRangeReader",{begin:t,end:r});this._reader=a.getReader()}var t;return P(e,[{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=T(k().mark((function e(){var t,r,n;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.read();case 2:return t=e.sent,r=t.value,n=t.done,e.abrupt("return",n?{value:void 0,done:!0}:{value:r.buffer,done:!1});case 6:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader.cancel(e)}}]),e}()}],t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return function(){var e=c;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"WorkerMessageHandler",{enumerable:!0,get:function(){return t.WorkerMessageHandler}});var t=r(1)}(),c}()},"object"==("undefined"==typeof exports?"undefined":N(exports))&&"object"==("undefined"==typeof module?"undefined":N(module))?module.exports=t():"function"==typeof define&&define.amd?define("pdfjs-dist/build/pdf.worker",[],t):"object"==("undefined"==typeof exports?"undefined":N(exports))?exports["pdfjs-dist/build/pdf.worker"]=t():e["pdfjs-dist/build/pdf.worker"]=e.pdfjsWorker=t()})(); |