/*! pdfmake v0.3.3, @license MIT, @link http://pdfmake.org */ !function webpackUniversalModuleDefinition(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var i in n)("object"==typeof exports?exports:t)[i]=n[i]}}(Object("undefined"!=typeof self?self:this),()=>(()=>{var t={78(t){"use strict";t.exports=Function.prototype.call},182(t,r,n){"use strict";function ownKeys(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function _objectSpread(t){for(var r=1;r0?this.tail.next=r:this.head=r,this.tail=r,++this.length}},{key:"unshift",value:function unshift(t){var r={data:t,next:this.head};0===this.length&&(this.tail=r),this.head=r,++this.length}},{key:"shift",value:function shift(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function clear(){this.head=this.tail=null,this.length=0}},{key:"join",value:function join(t){if(0===this.length)return"";for(var r=this.head,n=""+r.data;r=r.next;)n+=t+r.data;return n}},{key:"concat",value:function concat(t){if(0===this.length)return i.alloc(0);for(var r=i.allocUnsafe(t>>>0),n=this.head,a=0;n;)copyBuffer(n.data,r,a),a+=n.data.length,n=n.next;return r}},{key:"consume",value:function consume(t,r){var n;return ta.length?a.length:t;if(o===a.length?i+=a:i+=a.slice(0,t),0===(t-=o)){o===a.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=a.slice(o));break}++n}return this.length-=n,i}},{key:"_getBuffer",value:function _getBuffer(t){var r=i.allocUnsafe(t),n=this.head,a=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var o=n.data,s=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,s),0===(t-=s)){s===o.length?(++a,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(s));break}++a}return this.length-=a,r}},{key:o,value:function value(t,r){return a(this,_objectSpread(_objectSpread({},r),{},{depth:0,customInspect:!1}))}}]),BufferList}()},290(t,r,n){"use strict";var i=n(8993),a=n(8681),o=n(3598),s=TypeError;t.exports=function(t,r){var n,l;if("string"===r&&a(n=t.toString)&&!o(l=i(n,t)))return l;if(a(n=t.valueOf)&&!o(l=i(n,t)))return l;if("string"!==r&&a(n=t.toString)&&!o(l=i(n,t)))return l;throw new s("Can't convert object to primitive value")}},299(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},321(t,r,n){"use strict";var i;t.exports=(i=n(6861),function(t){var r=i,n=r.lib,a=n.WordArray,o=n.Hasher,s=r.algo,l=[],u=[];!function(){function isPrime(r){for(var n=t.sqrt(r),i=2;i<=n;i++)if(!(r%i))return!1;return!0}function getFractionalBits(t){return 4294967296*(t-(0|t))|0}for(var r=2,n=0;n<64;)isPrime(r)&&(n<8&&(l[n]=getFractionalBits(t.pow(r,.5))),u[n]=getFractionalBits(t.pow(r,1/3)),n++),r++}();var h=[],p=s.SHA256=o.extend({_doReset:function(){this._hash=new a.init(l.slice(0))},_doProcessBlock:function(t,r){for(var n=this._hash.words,i=n[0],a=n[1],o=n[2],s=n[3],l=n[4],p=n[5],g=n[6],m=n[7],y=0;y<64;y++){if(y<16)h[y]=0|t[r+y];else{var w=h[y-15],v=(w<<25|w>>>7)^(w<<14|w>>>18)^w>>>3,x=h[y-2],_=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;h[y]=v+h[y-7]+_+h[y-16]}var S=i&a^i&o^a&o,A=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),C=m+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&p^~l&g)+u[y]+h[y];m=g,g=p,p=l,l=s+C|0,s=o,o=a,a=i,i=C+(A+S)|0}n[0]=n[0]+i|0,n[1]=n[1]+a|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0,n[5]=n[5]+p|0,n[6]=n[6]+g|0,n[7]=n[7]+m|0},_doFinalize:function(){var r=this._data,n=r.words,i=8*this._nDataBytes,a=8*r.sigBytes;return n[a>>>5]|=128<<24-a%32,n[14+(a+64>>>9<<4)]=t.floor(i/4294967296),n[15+(a+64>>>9<<4)]=i,r.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});r.SHA256=o._createHelper(p),r.HmacSHA256=o._createHmacHelper(p)}(Math),i.SHA256)},336(t,r,n){"use strict";var i=n(783).Buffer;const a=n(2416),o=n(6729);t.exports=class PNG{static decode(t,r){return a.readFile(t,function(t,n){return new PNG(n).decode(t=>r(t))})}static load(t){const r=a.readFileSync(t);return new PNG(r)}constructor(t){let r;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.text={};;){const t=this.readUInt32();let u="";for(r=0;r<4;r++)u+=String.fromCharCode(this.data[this.pos++]);switch(u){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"PLTE":this.palette=this.read(t);break;case"IDAT":for(r=0;r0)for(r=0;rthis.data.length)throw new Error("Incomplete or corrupt PNG file")}}read(t){const r=new Array(t);for(let n=0;n{if(r)throw r;const{width:a,height:o}=this,s=this.pixelBitlength/8,l=new i(a*o*s),{length:u}=n;let h=0;function pass(t,r,p,g,m){void 0===m&&(m=!1);const y=Math.ceil((a-t)/p),w=Math.ceil((o-r)/g),v=s*y,x=m?l:new i(v*w);let _=0,S=0;for(;_(this.copyToImageData(r,n),t(r)))}}},378(t){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},443(t,r,n){"use strict";var i=n(4494),a=n(3598),o=n(5034),s=n(7222);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,n={};try{(t=i(Object.prototype,"__proto__","set"))(n,[]),r=n instanceof Array}catch(t){}return function setPrototypeOf(n,i){return o(n),s(i),a(n)?(r?t(n,i):n.__proto__=i,n):n}}():void 0)},453(t){"use strict";t.exports=function equal(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,a;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!==i--;)if(!equal(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(a=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!==i--;)if(!Object.prototype.hasOwnProperty.call(r,a[i]))return!1;for(i=n;0!==i--;){var o=a[i];if(!equal(t[o],r[o]))return!1}return!0}return t!=t&&r!=r}},477(){},517(t,r,n){"use strict";var i,a,o,s,l,u,h,p;t.exports=(p=n(6861),n(3144),n(8692),a=(i=p).x64,o=a.Word,s=a.WordArray,l=i.algo,u=l.SHA512,h=l.SHA384=u.extend({_doReset:function(){this._hash=new s.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var t=u._doFinalize.call(this);return t.sigBytes-=16,t}}),i.SHA384=u._createHelper(h),i.HmacSHA384=u._createHmacHelper(h),p.SHA384)},614(t,r,n){var i=n(4543);r.init=function(){r.dictionary=i.init()},r.offsetsByLength=new Uint32Array([0,0,0,0,0,4096,9216,21504,35840,44032,53248,63488,74752,87040,93696,100864,104704,106752,108928,113536,115968,118528,119872,121280,122016]),r.sizeBitsByLength=new Uint8Array([0,0,0,0,10,10,11,11,10,10,10,10,10,9,9,8,7,7,8,7,7,6,6,5,5]),r.minDictionaryWordLength=4,r.maxDictionaryWordLength=24},644(t,r,n){"use strict";var i=n(2740),a=Math.floor,sort=function(t,r){var n=t.length;if(n<8)for(var o,s,l=1;l0;)t[s]=t[--s];s!==l++&&(t[s]=o)}else for(var u=a(n/2),h=sort(i(t,0,u),r),p=sort(i(t,u),r),g=h.length,m=p.length,y=0,w=0;ys)throw new RangeError('The value "'+t+'" is invalid for option "size"');const r=new Uint8Array(t);return Object.setPrototypeOf(r,Buffer.prototype),r}function Buffer(t,r,n){if("number"==typeof t){if("string"==typeof r)throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(t)}return from(t,r,n)}function from(t,r,n){if("string"==typeof t)return function fromString(t,r){"string"==typeof r&&""!==r||(r="utf8");if(!Buffer.isEncoding(r))throw new TypeError("Unknown encoding: "+r);const n=0|byteLength(t,r);let i=createBuffer(n);const a=i.write(t,r);a!==n&&(i=i.slice(0,a));return i}(t,r);if(ArrayBuffer.isView(t))return function fromArrayView(t){if(isInstance(t,Uint8Array)){const r=new Uint8Array(t);return fromArrayBuffer(r.buffer,r.byteOffset,r.byteLength)}return fromArrayLike(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(isInstance(t,ArrayBuffer)||t&&isInstance(t.buffer,ArrayBuffer))return fromArrayBuffer(t,r,n);if("undefined"!=typeof SharedArrayBuffer&&(isInstance(t,SharedArrayBuffer)||t&&isInstance(t.buffer,SharedArrayBuffer)))return fromArrayBuffer(t,r,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const i=t.valueOf&&t.valueOf();if(null!=i&&i!==t)return Buffer.from(i,r,n);const a=function fromObject(t){if(Buffer.isBuffer(t)){const r=0|checked(t.length),n=createBuffer(r);return 0===n.length||t.copy(n,0,0,r),n}if(void 0!==t.length)return"number"!=typeof t.length||numberIsNaN(t.length)?createBuffer(0):fromArrayLike(t);if("Buffer"===t.type&&Array.isArray(t.data))return fromArrayLike(t.data)}(t);if(a)return a;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return Buffer.from(t[Symbol.toPrimitive]("string"),r,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function assertSize(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function allocUnsafe(t){return assertSize(t),createBuffer(t<0?0:0|checked(t))}function fromArrayLike(t){const r=t.length<0?0:0|checked(t.length),n=createBuffer(r);for(let i=0;i=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function byteLength(t,r){if(Buffer.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||isInstance(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const n=t.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;let a=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return utf8ToBytes(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return base64ToBytes(t).length;default:if(a)return i?-1:utf8ToBytes(t).length;r=(""+r).toLowerCase(),a=!0}}function slowToString(t,r,n){let i=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(r>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return hexSlice(this,r,n);case"utf8":case"utf-8":return utf8Slice(this,r,n);case"ascii":return asciiSlice(this,r,n);case"latin1":case"binary":return latin1Slice(this,r,n);case"base64":return base64Slice(this,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,r,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function swap(t,r,n){const i=t[r];t[r]=t[n],t[n]=i}function bidirectionalIndexOf(t,r,n,i,a){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),numberIsNaN(n=+n)&&(n=a?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(a)return-1;n=t.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof r&&(r=Buffer.from(r,i)),Buffer.isBuffer(r))return 0===r.length?-1:arrayIndexOf(t,r,n,i,a);if("number"==typeof r)return r&=255,"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(t,r,n):Uint8Array.prototype.lastIndexOf.call(t,r,n):arrayIndexOf(t,[r],n,i,a);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(t,r,n,i,a){let o,s=1,l=t.length,u=r.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||r.length<2)return-1;s=2,l/=2,u/=2,n/=2}function read(t,r){return 1===s?t[r]:t.readUInt16BE(r*s)}if(a){let i=-1;for(o=n;ol&&(n=l-u),o=n;o>=0;o--){let n=!0;for(let i=0;ia&&(i=a):i=a;const o=r.length;let s;for(i>o/2&&(i=o/2),s=0;s>8,a=n%256,o.push(a),o.push(i);return o}(r,t.length-n),t,n,i)}function base64Slice(t,r,n){return 0===r&&n===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(r,n))}function utf8Slice(t,r,n){n=Math.min(t.length,n);const i=[];let a=r;for(;a239?4:r>223?3:r>191?2:1;if(a+s<=n){let n,i,l,u;switch(s){case 1:r<128&&(o=r);break;case 2:n=t[a+1],128==(192&n)&&(u=(31&r)<<6|63&n,u>127&&(o=u));break;case 3:n=t[a+1],i=t[a+2],128==(192&n)&&128==(192&i)&&(u=(15&r)<<12|(63&n)<<6|63&i,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:n=t[a+1],i=t[a+2],l=t[a+3],128==(192&n)&&128==(192&i)&&128==(192&l)&&(u=(15&r)<<18|(63&n)<<12|(63&i)<<6|63&l,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,s=1):o>65535&&(o-=65536,i.push(o>>>10&1023|55296),o=56320|1023&o),i.push(o),a+=s}return function decodeCodePointsArray(t){const r=t.length;if(r<=l)return String.fromCharCode.apply(String,t);let n="",i=0;for(;ii.length?(Buffer.isBuffer(r)||(r=Buffer.from(r)),r.copy(i,a)):Uint8Array.prototype.set.call(i,r,a);else{if(!Buffer.isBuffer(r))throw new TypeError('"list" argument must be an Array of Buffers');r.copy(i,a)}a+=r.length}return i},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function swap16(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;rn&&(t+=" ... "),""},o&&(Buffer.prototype[o]=Buffer.prototype.inspect),Buffer.prototype.compare=function compare(t,r,n,i,a){if(isInstance(t,Uint8Array)&&(t=Buffer.from(t,t.offset,t.byteLength)),!Buffer.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===r&&(r=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===a&&(a=this.length),r<0||n>t.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(this===t)return 0;let o=(a>>>=0)-(i>>>=0),s=(n>>>=0)-(r>>>=0);const l=Math.min(o,s),u=this.slice(i,a),h=t.slice(r,n);for(let t=0;t>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}const a=this.length-r;if((void 0===n||n>a)&&(n=a),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let o=!1;for(;;)switch(i){case"hex":return hexWrite(this,t,r,n);case"utf8":case"utf-8":return utf8Write(this,t,r,n);case"ascii":case"latin1":case"binary":return asciiWrite(this,t,r,n);case"base64":return base64Write(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,t,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const l=4096;function asciiSlice(t,r,n){let i="";n=Math.min(t.length,n);for(let a=r;ai)&&(n=i);let a="";for(let i=r;in)throw new RangeError("Trying to access beyond buffer length")}function checkInt(t,r,n,i,a,o){if(!Buffer.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>a||rt.length)throw new RangeError("Index out of range")}function wrtBigUInt64LE(t,r,n,i,a){checkIntBI(r,i,a,t,n,7);let o=Number(r&BigInt(4294967295));t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o;let s=Number(r>>BigInt(32)&BigInt(4294967295));return t[n++]=s,s>>=8,t[n++]=s,s>>=8,t[n++]=s,s>>=8,t[n++]=s,n}function wrtBigUInt64BE(t,r,n,i,a){checkIntBI(r,i,a,t,n,7);let o=Number(r&BigInt(4294967295));t[n+7]=o,o>>=8,t[n+6]=o,o>>=8,t[n+5]=o,o>>=8,t[n+4]=o;let s=Number(r>>BigInt(32)&BigInt(4294967295));return t[n+3]=s,s>>=8,t[n+2]=s,s>>=8,t[n+1]=s,s>>=8,t[n]=s,n+8}function checkIEEE754(t,r,n,i,a,o){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function writeFloat(t,r,n,i,o){return r=+r,n>>>=0,o||checkIEEE754(t,0,n,4),a.write(t,r,n,i,23,4),n+4}function writeDouble(t,r,n,i,o){return r=+r,n>>>=0,o||checkIEEE754(t,0,n,8),a.write(t,r,n,i,52,8),n+8}Buffer.prototype.slice=function slice(t,r){const n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(r=void 0===r?n:~~r)<0?(r+=n)<0&&(r=0):r>n&&(r=n),r>>=0,r>>>=0,n||checkOffset(t,r,this.length);let i=this[t],a=1,o=0;for(;++o>>=0,r>>>=0,n||checkOffset(t,r,this.length);let i=this[t+--r],a=1;for(;r>0&&(a*=256);)i+=this[t+--r]*a;return i},Buffer.prototype.readUint8=Buffer.prototype.readUInt8=function readUInt8(t,r){return t>>>=0,r||checkOffset(t,1,this.length),this[t]},Buffer.prototype.readUint16LE=Buffer.prototype.readUInt16LE=function readUInt16LE(t,r){return t>>>=0,r||checkOffset(t,2,this.length),this[t]|this[t+1]<<8},Buffer.prototype.readUint16BE=Buffer.prototype.readUInt16BE=function readUInt16BE(t,r){return t>>>=0,r||checkOffset(t,2,this.length),this[t]<<8|this[t+1]},Buffer.prototype.readUint32LE=Buffer.prototype.readUInt32LE=function readUInt32LE(t,r){return t>>>=0,r||checkOffset(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Buffer.prototype.readUint32BE=Buffer.prototype.readUInt32BE=function readUInt32BE(t,r){return t>>>=0,r||checkOffset(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Buffer.prototype.readBigUInt64LE=defineBigIntMethod(function readBigUInt64LE(t){validateNumber(t>>>=0,"offset");const r=this[t],n=this[t+7];void 0!==r&&void 0!==n||boundsError(t,this.length-8);const i=r+256*this[++t]+65536*this[++t]+this[++t]*2**24,a=this[++t]+256*this[++t]+65536*this[++t]+n*2**24;return BigInt(i)+(BigInt(a)<>>=0,"offset");const r=this[t],n=this[t+7];void 0!==r&&void 0!==n||boundsError(t,this.length-8);const i=r*2**24+65536*this[++t]+256*this[++t]+this[++t],a=this[++t]*2**24+65536*this[++t]+256*this[++t]+n;return(BigInt(i)<>>=0,r>>>=0,n||checkOffset(t,r,this.length);let i=this[t],a=1,o=0;for(;++o=a&&(i-=Math.pow(2,8*r)),i},Buffer.prototype.readIntBE=function readIntBE(t,r,n){t>>>=0,r>>>=0,n||checkOffset(t,r,this.length);let i=r,a=1,o=this[t+--i];for(;i>0&&(a*=256);)o+=this[t+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o},Buffer.prototype.readInt8=function readInt8(t,r){return t>>>=0,r||checkOffset(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Buffer.prototype.readInt16LE=function readInt16LE(t,r){t>>>=0,r||checkOffset(t,2,this.length);const n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt16BE=function readInt16BE(t,r){t>>>=0,r||checkOffset(t,2,this.length);const n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt32LE=function readInt32LE(t,r){return t>>>=0,r||checkOffset(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(t,r){return t>>>=0,r||checkOffset(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Buffer.prototype.readBigInt64LE=defineBigIntMethod(function readBigInt64LE(t){validateNumber(t>>>=0,"offset");const r=this[t],n=this[t+7];void 0!==r&&void 0!==n||boundsError(t,this.length-8);const i=this[t+4]+256*this[t+5]+65536*this[t+6]+(n<<24);return(BigInt(i)<>>=0,"offset");const r=this[t],n=this[t+7];void 0!==r&&void 0!==n||boundsError(t,this.length-8);const i=(r<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(i)<>>=0,r||checkOffset(t,4,this.length),a.read(this,t,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(t,r){return t>>>=0,r||checkOffset(t,4,this.length),a.read(this,t,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(t,r){return t>>>=0,r||checkOffset(t,8,this.length),a.read(this,t,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(t,r){return t>>>=0,r||checkOffset(t,8,this.length),a.read(this,t,!1,52,8)},Buffer.prototype.writeUintLE=Buffer.prototype.writeUIntLE=function writeUIntLE(t,r,n,i){if(t=+t,r>>>=0,n>>>=0,!i){checkInt(this,t,r,n,Math.pow(2,8*n)-1,0)}let a=1,o=0;for(this[r]=255&t;++o>>=0,n>>>=0,!i){checkInt(this,t,r,n,Math.pow(2,8*n)-1,0)}let a=n-1,o=1;for(this[r+a]=255&t;--a>=0&&(o*=256);)this[r+a]=t/o&255;return r+n},Buffer.prototype.writeUint8=Buffer.prototype.writeUInt8=function writeUInt8(t,r,n){return t=+t,r>>>=0,n||checkInt(this,t,r,1,255,0),this[r]=255&t,r+1},Buffer.prototype.writeUint16LE=Buffer.prototype.writeUInt16LE=function writeUInt16LE(t,r,n){return t=+t,r>>>=0,n||checkInt(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},Buffer.prototype.writeUint16BE=Buffer.prototype.writeUInt16BE=function writeUInt16BE(t,r,n){return t=+t,r>>>=0,n||checkInt(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},Buffer.prototype.writeUint32LE=Buffer.prototype.writeUInt32LE=function writeUInt32LE(t,r,n){return t=+t,r>>>=0,n||checkInt(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},Buffer.prototype.writeUint32BE=Buffer.prototype.writeUInt32BE=function writeUInt32BE(t,r,n){return t=+t,r>>>=0,n||checkInt(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},Buffer.prototype.writeBigUInt64LE=defineBigIntMethod(function writeBigUInt64LE(t,r){return void 0===r&&(r=0),wrtBigUInt64LE(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))}),Buffer.prototype.writeBigUInt64BE=defineBigIntMethod(function writeBigUInt64BE(t,r){return void 0===r&&(r=0),wrtBigUInt64BE(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))}),Buffer.prototype.writeIntLE=function writeIntLE(t,r,n,i){if(t=+t,r>>>=0,!i){const i=Math.pow(2,8*n-1);checkInt(this,t,r,n,i-1,-i)}let a=0,o=1,s=0;for(this[r]=255&t;++a>>=0,!i){const i=Math.pow(2,8*n-1);checkInt(this,t,r,n,i-1,-i)}let a=n-1,o=1,s=0;for(this[r+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[r+a+1]&&(s=1),this[r+a]=(t/o|0)-s&255;return r+n},Buffer.prototype.writeInt8=function writeInt8(t,r,n){return t=+t,r>>>=0,n||checkInt(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=255&t,r+1},Buffer.prototype.writeInt16LE=function writeInt16LE(t,r,n){return t=+t,r>>>=0,n||checkInt(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},Buffer.prototype.writeInt16BE=function writeInt16BE(t,r,n){return t=+t,r>>>=0,n||checkInt(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},Buffer.prototype.writeInt32LE=function writeInt32LE(t,r,n){return t=+t,r>>>=0,n||checkInt(this,t,r,4,2147483647,-2147483648),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},Buffer.prototype.writeInt32BE=function writeInt32BE(t,r,n){return t=+t,r>>>=0,n||checkInt(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},Buffer.prototype.writeBigInt64LE=defineBigIntMethod(function writeBigInt64LE(t,r){return void 0===r&&(r=0),wrtBigUInt64LE(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),Buffer.prototype.writeBigInt64BE=defineBigIntMethod(function writeBigInt64BE(t,r){return void 0===r&&(r=0),wrtBigUInt64BE(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),Buffer.prototype.writeFloatLE=function writeFloatLE(t,r,n){return writeFloat(this,t,r,!0,n)},Buffer.prototype.writeFloatBE=function writeFloatBE(t,r,n){return writeFloat(this,t,r,!1,n)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(t,r,n){return writeDouble(this,t,r,!0,n)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(t,r,n){return writeDouble(this,t,r,!1,n)},Buffer.prototype.copy=function copy(t,r,n,i){if(!Buffer.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=r;a=i+4;n-=3)r=`_${t.slice(n-3,n)}${r}`;return`${t.slice(0,n)}${r}`}function checkIntBI(t,r,n,i,a,o){if(t>n||t3?0===r||r===BigInt(0)?`>= 0${i} and < 2${i} ** ${8*(o+1)}${i}`:`>= -(2${i} ** ${8*(o+1)-1}${i}) and < 2 ** ${8*(o+1)-1}${i}`:`>= ${r}${i} and <= ${n}${i}`,new u.ERR_OUT_OF_RANGE("value",a,t)}!function checkBounds(t,r,n){validateNumber(r,"offset"),void 0!==t[r]&&void 0!==t[r+n]||boundsError(r,t.length-(n+1))}(i,a,o)}function validateNumber(t,r){if("number"!=typeof t)throw new u.ERR_INVALID_ARG_TYPE(r,"number",t)}function boundsError(t,r,n){if(Math.floor(t)!==t)throw validateNumber(t,n),new u.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(r<0)throw new u.ERR_BUFFER_OUT_OF_BOUNDS;throw new u.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${r}`,t)}E("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),E("ERR_INVALID_ARG_TYPE",function(t,r){return`The "${t}" argument must be of type number. Received type ${typeof r}`},TypeError),E("ERR_OUT_OF_RANGE",function(t,r,n){let i=`The value of "${t}" is out of range.`,a=n;return Number.isInteger(n)&&Math.abs(n)>2**32?a=addNumericalSeparator(String(n)):"bigint"==typeof n&&(a=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(a=addNumericalSeparator(a)),a+="n"),i+=` It must be ${r}. Received ${a}`,i},RangeError);const h=/[^+/0-9A-Za-z-_]/g;function utf8ToBytes(t,r){let n;r=r||1/0;const i=t.length;let a=null;const o=[];for(let s=0;s55295&&n<57344){if(!a){if(n>56319){(r-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(r-=3)>-1&&o.push(239,191,189);continue}a=n;continue}if(n<56320){(r-=3)>-1&&o.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(r-=3)>-1&&o.push(239,191,189);if(a=null,n<128){if((r-=1)<0)break;o.push(n)}else if(n<2048){if((r-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((r-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function base64ToBytes(t){return i.toByteArray(function base64clean(t){if((t=(t=t.split("=")[0]).trim().replace(h,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function blitBuffer(t,r,n,i){let a;for(a=0;a=r.length||a>=t.length);++a)r[a+n]=t[a];return a}function isInstance(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}function numberIsNaN(t){return t!=t}const p=function(){const t="0123456789abcdef",r=new Array(256);for(let n=0;n<16;++n){const i=16*n;for(let a=0;a<16;++a)r[i+a]=t[n]+t[a]}return r}();function defineBigIntMethod(t){return"undefined"==typeof BigInt?BufferBigIntNotDefined:t}function BufferBigIntNotDefined(){throw new Error("BigInt not supported")}},821(t,r,n){"use strict";var i=n(884),a="undefined"==typeof globalThis?n.g:globalThis;t.exports=function availableTypedArrays(){for(var t=[],r=0;r0?17+r:(r=t.readBits(3))>0?8+r:17}function DecodeVarLenUint8(t){if(t.readBits(1)){var r=t.readBits(3);return 0===r?1:t.readBits(r)+(1<1&&0===o)throw new Error("Invalid size byte");a.meta_block_length|=o<<8*i}}else for(i=0;i4&&0===s)throw new Error("Invalid size nibble");a.meta_block_length|=s<<4*i}return++a.meta_block_length,a.input_end||a.is_metadata||(a.is_uncompressed=t.readBits(1)),a}function ReadSymbol(t,r,n){var i;return n.fillBitWindow(),(i=t[r+=n.val_>>>n.bit_pos_&255].bits-8)>0&&(n.bit_pos_+=8,r+=t[r].value,r+=n.val_>>>n.bit_pos_&(1<>=1,++p;for(w=0;w0;++w){var A,C=y[w],P=0;i.fillBitWindow(),P+=i.val_>>>i.bit_pos_&15,i.bit_pos_+=S[P].bits,A=S[P].value,v[C]=A,0!==A&&(x-=32>>A,++_)}if(1!==_&&0!==x)throw new Error("[ReadHuffmanCode] invalid num_codes or space");!function ReadHuffmanCodeLengths(t,r,n,i){for(var a=0,o=8,s=0,h=0,p=32768,g=[],m=0;m<32;m++)g.push(new l(0,0));for(u(g,0,5,t,18);a0;){var y,w=0;if(i.readMoreInput(),i.fillBitWindow(),w+=i.val_>>>i.bit_pos_&31,i.bit_pos_+=g[w].bits,(y=255&g[w].value)<16)s=0,n[a++]=y,0!==y&&(o=y,p-=32768>>y);else{var v,x,_=y-14,S=0;if(16===y&&(S=o),h!==S&&(s=0,h=S),v=s,s>0&&(s-=2,s<<=_),a+(x=(s+=i.readBits(_)+3)-v)>r)throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols");for(var A=0;A>>5]),this.htrees=new Uint32Array(r)}function DecodeContextMap(t,r){var n,i,a={num_htrees:null,context_map:null},o=0;r.readMoreInput();var s=a.num_htrees=DecodeVarLenUint8(r)+1,u=a.context_map=new Uint8Array(t);if(s<=1)return a;for(r.readBits(1)&&(o=r.readBits(4)+1),n=[],i=0;i=t)throw new Error("[DecodeContextMap] i >= context_map_size");u[i]=0,++i}else u[i]=h-o,++i}return r.readBits(1)&&function InverseMoveToFrontTransform(t,r){var n,i=new Uint8Array(256);for(n=0;n<256;++n)i[n]=n;for(n=0;n=t&&(l-=t),i[n]=l,a[u+(1&o[h])]=l,++o[h]}function CopyUncompressedBlockToOutput(t,r,n,i,a,s){var l,u=a+1,h=n&a,p=s.pos_&o.IBUF_MASK;if(r<8||s.bit_pos_+(r<<3)0;)s.readMoreInput(),i[h++]=s.readBits(8),h===u&&(t.write(i,u),h=0);else{if(s.bit_end_pos_<32)throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32");for(;s.bit_pos_<32;)i[h]=s.val_>>>s.bit_pos_,s.bit_pos_+=8,++h,--r;if(p+(l=s.bit_end_pos_-s.bit_pos_>>3)>o.IBUF_MASK){for(var g=o.IBUF_MASK+1-p,m=0;m=u){t.write(i,u),h-=u;for(m=0;m=u;){if(l=u-h,s.input_.read(i,h,l)r.buffer.length){var se=new Uint8Array(A+q);se.set(r.buffer),r.buffer=se}if(C=oe.input_end,L=oe.is_uncompressed,oe.is_metadata)for(JumpToByteBoundary(S);q>0;--q)S.readMoreInput(),S.readBits(8);else if(0!==q)if(L)S.bit_pos_=S.bit_pos_+7&-8,CopyUncompressedBlockToOutput(r,q,A,w,y,S),A+=q;else{for(n=0;n<3;++n)Y[n]=DecodeVarLenUint8(S)+1,Y[n]>=2&&(ReadHuffmanCode(Y[n]+2,x,n*m,S),ReadHuffmanCode(26,_,n*m,S),X[n]=ReadBlockLength(_,n*m,S),J[n]=1);for(S.readMoreInput(),$=(1<<(M=S.readBits(2)))-1,z=(N=16+(S.readBits(4)<0;){var ue,he,fe,de,pe,ge,be,me,ye,we,ve,xe;for(S.readMoreInput(),0===X[1]&&(DecodeBlockType(Y[1],x,1,Z,K,J,S),X[1]=ReadBlockLength(_,m,S),H=O[1].htrees[Z[1]]),--X[1],(he=(ue=ReadSymbol(O[1].codes,H,S))>>6)>=2?(he-=2,be=-1):be=0,fe=p.kInsertRangeLut[he]+(ue>>3&7),de=p.kCopyRangeLut[he]+(7&ue),pe=p.kInsertLengthPrefixCode[fe].offset+S.readBits(p.kInsertLengthPrefixCode[fe].nbits),ge=p.kCopyLengthPrefixCode[de].offset+S.readBits(p.kCopyLengthPrefixCode[de].nbits),B=w[A-1&y],I=w[A-2&y],ye=0;ye4?3:ge-2))],(be=ReadSymbol(O[2].codes,O[2].htrees[ne],S))>=N)xe=(be-=N)&$,be=N+((_e=(2+(1&(be>>=M))<<(ve=1+(be>>1)))-4)+S.readBits(ve)<(P=A=s.minDictionaryWordLength&&ge<=s.maxDictionaryWordLength))throw new Error("Invalid backward reference. pos: "+A+" distance: "+me+" len: "+ge+" bytes left: "+q);var _e=s.offsetsByLength[ge],Se=me-P-1,Ae=s.sizeBitsByLength[ge],Ce=Se>>Ae;if(_e+=(Se&(1<=v){r.write(w,u);for(var ke=0;ke0&&(k[3&T]=me,++T),ge>q)throw new Error("Invalid backward reference. pos: "+A+" distance: "+me+" len: "+ge+" bytes left: "+q);for(ye=0;ye>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(t){for(var r=t.words,n=t.sigBytes,i=[],a=0;a>>2]>>>16-a%4*8&65535;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var n=t.length,i=[],a=0;a>>1]|=t.charCodeAt(a)<<16-a%2*16;return r.create(i,2*n)}},n.Utf16LE={stringify:function(t){for(var r=t.words,n=t.sigBytes,i=[],a=0;a>>2]>>>16-a%4*8&65535);i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var n=t.length,i=[],a=0;a>>1]|=swapEndian(t.charCodeAt(a)<<16-a%2*16);return r.create(i,2*n)}}}(),i.enc.Utf16)},1201(t){t.exports=function isBuffer(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},1212(t,r,n){"use strict";var i=n(1676),a=Function.prototype,o=a.call,s=i&&a.bind.bind(o,o);t.exports=i?s:function(t){return function(){return o.apply(t,arguments)}}},1220(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(2858),i.mode.CTRGladman=function(){var t=i.lib.BlockCipherMode.extend();function incWord(t){if(255&~(t>>24))t+=1<<24;else{var r=t>>16&255,n=t>>8&255,i=255&t;255===r?(r=0,255===n?(n=0,255===i?i=0:++i):++n):++r,t=0,t+=r<<16,t+=n<<8,t+=i}return t}function incCounter(t){return 0===(t[0]=incWord(t[0]))&&(t[1]=incWord(t[1])),t}var r=t.Encryptor=t.extend({processBlock:function(t,r){var n=this._cipher,i=n.blockSize,a=this._iv,o=this._counter;a&&(o=this._counter=a.slice(0),this._iv=void 0),incCounter(o);var s=o.slice(0);n.encryptBlock(s,0);for(var l=0;l>=1;return(t&n-1)+n}function ReplicateValue(t,r,n,i,a){do{t[r+(i-=n)]=new HuffmanCode(a.bits,a.value)}while(i>0)}function NextTableBitSize(t,r,i){for(var a=1<0;--_[s])ReplicateValue(t,r+u,h,y,new HuffmanCode(255&s,65535&v[l++])),u=GetNextKey(u,s);for(g=w-1,p=-1,s=i+1,h=2;s<=n;++s,h<<=1)for(;_[s]>0;--_[s])(u&g)!==p&&(r+=y,w+=y=1<<(m=NextTableBitSize(_,s,i)),t[x+(p=u&g)]=new HuffmanCode(m+i&255,r-x-p&65535)),ReplicateValue(t,r+(u>>i),h,y,new HuffmanCode(s-i&255,65535&v[l++])),u=GetNextKey(u,s);return w}},1607(t){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},1613(t,r,n){var i=n(783).Buffer,a=function(){"use strict";function _instanceof(t,r){return null!=r&&t instanceof r}var t,r,n;try{t=Map}catch(r){t=function(){}}try{r=Set}catch(t){r=function(){}}try{n=Promise}catch(t){n=function(){}}function clone(a,o,s,l,u){"object"==typeof o&&(s=o.depth,l=o.prototype,u=o.includeNonEnumerable,o=o.circular);var h=[],p=[],g=void 0!==i;return void 0===o&&(o=!0),void 0===s&&(s=1/0),function _clone(a,s){if(null===a)return null;if(0===s)return a;var m,y;if("object"!=typeof a)return a;if(_instanceof(a,t))m=new t;else if(_instanceof(a,r))m=new r;else if(_instanceof(a,n))m=new n(function(t,r){a.then(function(r){t(_clone(r,s-1))},function(t){r(_clone(t,s-1))})});else if(clone.__isArray(a))m=[];else if(clone.__isRegExp(a))m=new RegExp(a.source,__getRegExpFlags(a)),a.lastIndex&&(m.lastIndex=a.lastIndex);else if(clone.__isDate(a))m=new Date(a.getTime());else{if(g&&i.isBuffer(a))return m=i.allocUnsafe?i.allocUnsafe(a.length):new i(a.length),a.copy(m),m;_instanceof(a,Error)?m=Object.create(a):void 0===l?(y=Object.getPrototypeOf(a),m=Object.create(y)):(m=Object.create(l),y=l)}if(o){var w=h.indexOf(a);if(-1!=w)return p[w];h.push(a),p.push(m)}for(var v in _instanceof(a,t)&&a.forEach(function(t,r){var n=_clone(r,s-1),i=_clone(t,s-1);m.set(n,i)}),_instanceof(a,r)&&a.forEach(function(t){var r=_clone(t,s-1);m.add(r)}),a){var x;y&&(x=Object.getOwnPropertyDescriptor(y,v)),x&&null==x.set||(m[v]=_clone(a[v],s-1))}if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(a);for(v=0;v<_.length;v++){var S=_[v];(!(C=Object.getOwnPropertyDescriptor(a,S))||C.enumerable||u)&&(m[S]=_clone(a[S],s-1),C.enumerable||Object.defineProperty(m,S,{enumerable:!1}))}}if(u){var A=Object.getOwnPropertyNames(a);for(v=0;v__decorate});function __decorate(t,r,n,i){var a,o=arguments.length,s=o<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,n,i);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(o<3?a(s):o>3?a(r,n,s):a(r,n))||s);return o>3&&s&&Object.defineProperty(r,n,s),s}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError},1676(t,r,n){"use strict";var i=n(299);t.exports=!i(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},1689(t,r,n){"use strict";var i,a=n(2774),o=n(6626)(),s=n(5215),l=n(8109);if(o){var u=a("RegExp.prototype.exec"),h={},throwRegexMarker=function(){throw h},p={toString:throwRegexMarker,valueOf:throwRegexMarker};"symbol"==typeof Symbol.toPrimitive&&(p[Symbol.toPrimitive]=throwRegexMarker),i=function isRegex(t){if(!t||"object"!=typeof t)return!1;var r=l(t,"lastIndex");if(!(r&&s(r,"value")))return!1;try{u(t,p)}catch(t){return t===h}}}else{var g=a("Object.prototype.toString");i=function isRegex(t){return!(!t||"object"!=typeof t&&"function"!=typeof t)&&"[object RegExp]"===g(t)}}t.exports=i},1715(t,r,n){var i=n(5233),a=n(4415),o=n(8395),s=n(453),l=n(4766),u=n(7571),h=n(4406),p=n(1613),g=n(3483),m=n(4460);function $parcel$export(t,r,n,i){Object.defineProperty(t,r,{get:n,set:i,enumerable:!0,configurable:!0})}function $parcel$interopDefault(t){return t&&t.__esModule?t.default:t}var y={};$parcel$export(y,"logErrors",()=>w),$parcel$export(y,"registerFormat",()=>$59aa4ed98453e1d4$export$36b2f24e97d43be),$parcel$export(y,"create",()=>$59aa4ed98453e1d4$export$185802fd694ee1f5),$parcel$export(y,"defaultLanguage",()=>x),$parcel$export(y,"setDefaultLanguage",()=>$59aa4ed98453e1d4$export$5157e7780d44cc36);let w=!1,v=[];function $59aa4ed98453e1d4$export$36b2f24e97d43be(t){v.push(t)}function $59aa4ed98453e1d4$export$185802fd694ee1f5(t,r){for(let n=0;n0?r[0]:"value";if(n.has(i))return n.get(i);let a=t.apply(this,r);return n.set(i,a),a}return Object.defineProperty(this,r,{value:memoized}),memoized}}}}let _=new i.Struct({firstCode:i.uint16,entryCount:i.uint16,idDelta:i.int16,idRangeOffset:i.uint16}),S=new i.Struct({startCharCode:i.uint32,endCharCode:i.uint32,glyphID:i.uint32}),A=new i.Struct({startUnicodeValue:i.uint24,additionalCount:i.uint8}),C=new i.Struct({unicodeValue:i.uint24,glyphID:i.uint16}),P=new i.Array(A,i.uint32),k=new i.Array(C,i.uint32),T=new i.Struct({varSelector:i.uint24,defaultUVS:new i.Pointer(i.uint32,P,{type:"parent"}),nonDefaultUVS:new i.Pointer(i.uint32,k,{type:"parent"})}),B=new i.VersionedStruct(i.uint16,{0:{length:i.uint16,language:i.uint16,codeMap:new i.LazyArray(i.uint8,256)},2:{length:i.uint16,language:i.uint16,subHeaderKeys:new i.Array(i.uint16,256),subHeaderCount:t=>Math.max.apply(Math,t.subHeaderKeys),subHeaders:new i.LazyArray(_,"subHeaderCount"),glyphIndexArray:new i.LazyArray(i.uint16,"subHeaderCount")},4:{length:i.uint16,language:i.uint16,segCountX2:i.uint16,segCount:t=>t.segCountX2>>1,searchRange:i.uint16,entrySelector:i.uint16,rangeShift:i.uint16,endCode:new i.LazyArray(i.uint16,"segCount"),reservedPad:new i.Reserved(i.uint16),startCode:new i.LazyArray(i.uint16,"segCount"),idDelta:new i.LazyArray(i.int16,"segCount"),idRangeOffset:new i.LazyArray(i.uint16,"segCount"),glyphIndexArray:new i.LazyArray(i.uint16,t=>(t.length-t._currentOffset)/2)},6:{length:i.uint16,language:i.uint16,firstCode:i.uint16,entryCount:i.uint16,glyphIndices:new i.LazyArray(i.uint16,"entryCount")},8:{reserved:new i.Reserved(i.uint16),length:i.uint32,language:i.uint16,is32:new i.LazyArray(i.uint8,8192),nGroups:i.uint32,groups:new i.LazyArray(S,"nGroups")},10:{reserved:new i.Reserved(i.uint16),length:i.uint32,language:i.uint32,firstCode:i.uint32,entryCount:i.uint32,glyphIndices:new i.LazyArray(i.uint16,"numChars")},12:{reserved:new i.Reserved(i.uint16),length:i.uint32,language:i.uint32,nGroups:i.uint32,groups:new i.LazyArray(S,"nGroups")},13:{reserved:new i.Reserved(i.uint16),length:i.uint32,language:i.uint32,nGroups:i.uint32,groups:new i.LazyArray(S,"nGroups")},14:{length:i.uint32,numRecords:i.uint32,varSelectors:new i.LazyArray(T,"numRecords")}}),I=new i.Struct({platformID:i.uint16,encodingID:i.uint16,table:new i.Pointer(i.uint32,B,{type:"parent",lazy:!0})});var O=new i.Struct({version:i.uint16,numSubtables:i.uint16,tables:new i.Array(I,"numSubtables")}),R=new i.Struct({version:i.int32,revision:i.int32,checkSumAdjustment:i.uint32,magicNumber:i.uint32,flags:i.uint16,unitsPerEm:i.uint16,created:new i.Array(i.int32,2),modified:new i.Array(i.int32,2),xMin:i.int16,yMin:i.int16,xMax:i.int16,yMax:i.int16,macStyle:new i.Bitfield(i.uint16,["bold","italic","underline","outline","shadow","condensed","extended"]),lowestRecPPEM:i.uint16,fontDirectionHint:i.int16,indexToLocFormat:i.int16,glyphDataFormat:i.int16}),D=new i.Struct({version:i.int32,ascent:i.int16,descent:i.int16,lineGap:i.int16,advanceWidthMax:i.uint16,minLeftSideBearing:i.int16,minRightSideBearing:i.int16,xMaxExtent:i.int16,caretSlopeRise:i.int16,caretSlopeRun:i.int16,caretOffset:i.int16,reserved:new i.Reserved(i.int16,4),metricDataFormat:i.int16,numberOfMetrics:i.uint16});let L=new i.Struct({advance:i.uint16,bearing:i.int16});var M=new i.Struct({metrics:new i.LazyArray(L,t=>t.parent.hhea.numberOfMetrics),bearings:new i.LazyArray(i.int16,t=>t.parent.maxp.numGlyphs-t.parent.hhea.numberOfMetrics)}),N=new i.Struct({version:i.int32,numGlyphs:i.uint16,maxPoints:i.uint16,maxContours:i.uint16,maxComponentPoints:i.uint16,maxComponentContours:i.uint16,maxZones:i.uint16,maxTwilightPoints:i.uint16,maxStorage:i.uint16,maxFunctionDefs:i.uint16,maxInstructionDefs:i.uint16,maxStackElements:i.uint16,maxSizeOfInstructions:i.uint16,maxComponentElements:i.uint16,maxComponentDepth:i.uint16});function $e2613b812f052cbe$export$badc544e0651b6b1(t,r,n=0){return 1===t&&j[n]?j[n]:U[t][r]}const $=new Set(["x-mac-roman","x-mac-cyrillic","iso-8859-6","iso-8859-8"]),z={"x-mac-croatian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ","x-mac-gaelic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæøṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ","x-mac-greek":"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ­","x-mac-icelandic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-inuit":"ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł","x-mac-ce":"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ","x-mac-romanian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-turkish":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ"},W=new Map;function $e2613b812f052cbe$export$1dceb3c14ed68bee(t){let r=W.get(t);if(r)return r;let n=z[t];if(n){let r=new Map;for(let t=0;t$e2613b812f052cbe$export$badc544e0651b6b1(t.platformID,t.encodingID,t.languageID)),{type:"parent",relativeTo:t=>t.parent.stringOffset,allowNull:!1})}),H=new i.Struct({length:i.uint16,tag:new i.Pointer(i.uint16,new i.String("length","utf16be"),{type:"parent",relativeTo:t=>t.stringOffset})});var q=new i.VersionedStruct(i.uint16,{0:{count:i.uint16,stringOffset:i.uint16,records:new i.Array(G,"count")},1:{count:i.uint16,stringOffset:i.uint16,records:new i.Array(G,"count"),langTagCount:i.uint16,langTags:new i.Array(H,"langTagCount")}}),X=q;const Z=["copyright","fontFamily","fontSubfamily","uniqueSubfamily","fullName","version","postscriptName","trademark","manufacturer","designer","description","vendorURL","designerURL","license","licenseURL",null,"preferredFamily","preferredSubfamily","compatibleFull","sampleText","postscriptCIDFontName","wwsFamilyName","wwsSubfamilyName"];q.process=function(t){var r={};for(let t of this.records){let n=V[t.platformID][t.languageID];null==n&&null!=this.langTags&&t.languageID>=32768&&(n=this.langTags[t.languageID-32768].tag),null==n&&(n=t.platformID+"-"+t.languageID);let i=t.nameID>=256?"fontFeatures":Z[t.nameID]||t.nameID;null==r[i]&&(r[i]={});let a=r[i];t.nameID>=256&&(a=a[t.nameID]||(a[t.nameID]={})),"string"!=typeof t.string&&"string"==typeof a[n]||(a[n]=t.string)}this.records=r},q.preEncode=function(){if(Array.isArray(this.records))return;this.version=0;let t=[];for(let r in this.records){let n=this.records[r];"fontFeatures"!==r&&(t.push({platformID:3,encodingID:1,languageID:1033,nameID:Z.indexOf(r),length:2*n.en.length,string:n.en}),"postscriptName"===r&&t.push({platformID:1,encodingID:0,languageID:0,nameID:Z.indexOf(r),length:n.en.length,string:n.en}))}this.records=t,this.count=t.length,this.stringOffset=q.size(this,null,!1)};var Y=new i.VersionedStruct(i.uint16,{header:{xAvgCharWidth:i.int16,usWeightClass:i.uint16,usWidthClass:i.uint16,fsType:new i.Bitfield(i.uint16,[null,"noEmbedding","viewOnly","editable",null,null,null,null,"noSubsetting","bitmapOnly"]),ySubscriptXSize:i.int16,ySubscriptYSize:i.int16,ySubscriptXOffset:i.int16,ySubscriptYOffset:i.int16,ySuperscriptXSize:i.int16,ySuperscriptYSize:i.int16,ySuperscriptXOffset:i.int16,ySuperscriptYOffset:i.int16,yStrikeoutSize:i.int16,yStrikeoutPosition:i.int16,sFamilyClass:i.int16,panose:new i.Array(i.uint8,10),ulCharRange:new i.Array(i.uint32,4),vendorID:new i.String(4),fsSelection:new i.Bitfield(i.uint16,["italic","underscore","negative","outlined","strikeout","bold","regular","useTypoMetrics","wws","oblique"]),usFirstCharIndex:i.uint16,usLastCharIndex:i.uint16},0:{},1:{typoAscender:i.int16,typoDescender:i.int16,typoLineGap:i.int16,winAscent:i.uint16,winDescent:i.uint16,codePageRange:new i.Array(i.uint32,2)},2:{typoAscender:i.int16,typoDescender:i.int16,typoLineGap:i.int16,winAscent:i.uint16,winDescent:i.uint16,codePageRange:new i.Array(i.uint32,2),xHeight:i.int16,capHeight:i.int16,defaultChar:i.uint16,breakChar:i.uint16,maxContent:i.uint16},5:{typoAscender:i.int16,typoDescender:i.int16,typoLineGap:i.int16,winAscent:i.uint16,winDescent:i.uint16,codePageRange:new i.Array(i.uint32,2),xHeight:i.int16,capHeight:i.int16,defaultChar:i.uint16,breakChar:i.uint16,maxContent:i.uint16,usLowerOpticalPointSize:i.uint16,usUpperOpticalPointSize:i.uint16}});let K=Y.versions;K[3]=K[4]=K[2];var J=Y,Q=new i.VersionedStruct(i.fixed32,{header:{italicAngle:i.fixed32,underlinePosition:i.int16,underlineThickness:i.int16,isFixedPitch:i.uint32,minMemType42:i.uint32,maxMemType42:i.uint32,minMemType1:i.uint32,maxMemType1:i.uint32},1:{},2:{numberOfGlyphs:i.uint16,glyphNameIndex:new i.Array(i.uint16,"numberOfGlyphs"),names:new i.Array(new i.String(i.uint8))},2.5:{numberOfGlyphs:i.uint16,offsets:new i.Array(i.uint8,"numberOfGlyphs")},3:{},4:{map:new i.Array(i.uint32,t=>t.parent.maxp.numGlyphs)}}),ee=new i.Struct({controlValues:new i.Array(i.int16)}),te=new i.Struct({instructions:new i.Array(i.uint8)});let re=new i.VersionedStruct("head.indexToLocFormat",{0:{offsets:new i.Array(i.uint16)},1:{offsets:new i.Array(i.uint32)}});re.process=function(){if(0===this.version&&!this._processed){for(let t=0;t>>=1;this._processed=!1}};var ne=re,ie=new i.Struct({controlValueProgram:new i.Array(i.uint8)}),ae=new i.Array(new i.Buffer);class $9eaea3754914a290$export$2e2bcd8739ae039{getCFFVersion(t){for(;t&&!t.hdrSize;)t=t.parent;return t?t.version:-1}decode(t,r){let n=this.getCFFVersion(r)>=2?t.readUInt32BE():t.readUInt16BE();if(0===n)return[];let a,o=t.readUInt8();if(1===o)a=i.uint8;else if(2===o)a=i.uint16;else if(3===o)a=i.uint24;else{if(4!==o)throw new Error(`Bad offset size in CFFIndex: ${o} ${t.pos}`);a=i.uint32}let s=[],l=t.pos+(n+1)*o-1,u=a.decode(t);for(let i=0;i>4;if(15===i)break;r+=oe[i];let a=15&n;if(15===a)break;r+=oe[a]}return parseFloat(r)}return null}static size(t){if(t.forceLarge&&(t=32768),(0|t)!==t){let r=""+t;return 1+Math.ceil((r.length+1)/2)}return-107<=t&&t<=107?1:108<=t&&t<=1131||-1131<=t&&t<=-108?2:-32768<=t&&t<=32767?3:5}static encode(t,r){let n=Number(r);if(r.forceLarge)return t.writeUInt8(29),t.writeInt32BE(n);if((0|n)===n)return-107<=n&&n<=107?t.writeUInt8(n+139):108<=n&&n<=1131?(n-=108,t.writeUInt8(247+(n>>8)),t.writeUInt8(255&n)):-1131<=n&&n<=-108?(n=-n-108,t.writeUInt8(251+(n>>8)),t.writeUInt8(255&n)):-32768<=n&&n<=32767?(t.writeUInt8(28),t.writeInt16BE(n)):(t.writeUInt8(29),t.writeInt32BE(n));{t.writeUInt8(30);let r=""+n;for(let n=0;nthis.decodeOperands(t[a],r,n,[i]));if(null!=t.decode)return t.decode(r,n,i);switch(t){case"number":case"offset":case"sid":return i[0];case"boolean":return!!i[0];default:return i}}encodeOperands(t,r,n,i){return Array.isArray(t)?i.map((i,a)=>this.encodeOperands(t[a],r,n,i)[0]):null!=t.encode?t.encode(r,i,n):"number"==typeof i?[i]:"boolean"==typeof i?[+i]:Array.isArray(i)?i:[i]}decode(t,r){let n=t.pos+r.length,a={},o=[];Object.defineProperties(a,{parent:{value:r},_startOffset:{value:t.pos}});for(let t in this.fields){let r=this.fields[t];a[r[1]]=r[3]}for(;t.posn[0]},super.decode(t,r,n)}encode(t,r,n){if(!t)return this.offsetType={size:()=>0},this.size(r,n),[new $4aa1b0749c2770f8$var$Ptr(0)];let i=null;return this.offsetType={encode:(t,r)=>i=r},super.encode(t,r,n),[new $4aa1b0749c2770f8$var$Ptr(i)]}constructor(t,r={}){null==r.type&&(r.type="global"),super(null,t,r)}}class $4aa1b0749c2770f8$var$Ptr{valueOf(){return this.val}constructor(t){this.val=t,this.forceLarge=!0}}var le=new $efe622f40a9c35bd$export$2e2bcd8739ae039([[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","number",.039625],[[12,10],"BlueShift","number",7],[[12,11],"BlueFuzz","number",1],[10,"StdHW","number",null],[11,"StdVW","number",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","boolean",!1],[[12,17],"LanguageGroup","number",0],[[12,18],"ExpansionFactor","number",.06],[[12,19],"initialRandomSeed","number",0],[20,"defaultWidthX","number",0],[21,"nominalWidthX","number",0],[22,"vsindex","number",0],[23,"blend",class $15a0cbb3d09cf7ee$var$CFFBlendOp{static decode(t,r,n){let i=n.pop();for(;n.length>i;)n.pop()}},null],[19,"Subrs",new $4aa1b0749c2770f8$export$2e2bcd8739ae039(new $9eaea3754914a290$export$2e2bcd8739ae039,{type:"local"}),null]]),ce=[".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"];let ue=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"],he=[".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"],fe=new i.Struct({reserved:new i.Reserved(i.uint16),reqFeatureIndex:i.uint16,featureCount:i.uint16,featureIndexes:new i.Array(i.uint16,"featureCount")}),de=new i.Struct({tag:new i.String(4),langSys:new i.Pointer(i.uint16,fe,{type:"parent"})}),pe=new i.Struct({defaultLangSys:new i.Pointer(i.uint16,fe),count:i.uint16,langSysRecords:new i.Array(de,"count")}),ge=new i.Struct({tag:new i.String(4),script:new i.Pointer(i.uint16,pe,{type:"parent"})}),be=new i.Array(ge,i.uint16),me=new i.Struct({version:i.uint16,nameID:i.uint16}),ye=new i.Struct({featureParams:new i.Pointer(i.uint16,me),lookupCount:i.uint16,lookupListIndexes:new i.Array(i.uint16,"lookupCount")}),we=new i.Struct({tag:new i.String(4),feature:new i.Pointer(i.uint16,ye,{type:"parent"})}),ve=new i.Array(we,i.uint16),xe=new i.Struct({markAttachmentType:i.uint8,flags:new i.Bitfield(i.uint8,["rightToLeft","ignoreBaseGlyphs","ignoreLigatures","ignoreMarks","useMarkFilteringSet"])});function $b6dd765146ad212a$export$df0008c6ff2da22a(t){let r=new i.Struct({lookupType:i.uint16,flags:xe,subTableCount:i.uint16,subTables:new i.Array(new i.Pointer(i.uint16,t),"subTableCount"),markFilteringSet:new i.Optional(i.uint16,t=>t.flags.flags.useMarkFilteringSet)});return new i.LazyArray(new i.Pointer(i.uint16,r),i.uint16)}let _e=new i.Struct({start:i.uint16,end:i.uint16,startCoverageIndex:i.uint16}),Se=new i.VersionedStruct(i.uint16,{1:{glyphCount:i.uint16,glyphs:new i.Array(i.uint16,"glyphCount")},2:{rangeCount:i.uint16,rangeRecords:new i.Array(_e,"rangeCount")}}),Ae=new i.Struct({start:i.uint16,end:i.uint16,class:i.uint16}),Ce=new i.VersionedStruct(i.uint16,{1:{startGlyph:i.uint16,glyphCount:i.uint16,classValueArray:new i.Array(i.uint16,"glyphCount")},2:{classRangeCount:i.uint16,classRangeRecord:new i.Array(Ae,"classRangeCount")}}),Pe=new i.Struct({a:i.uint16,b:i.uint16,deltaFormat:i.uint16}),ke=new i.Struct({sequenceIndex:i.uint16,lookupListIndex:i.uint16}),Ee=new i.Struct({glyphCount:i.uint16,lookupCount:i.uint16,input:new i.Array(i.uint16,t=>t.glyphCount-1),lookupRecords:new i.Array(ke,"lookupCount")}),Te=new i.Array(new i.Pointer(i.uint16,Ee),i.uint16),Be=new i.Struct({glyphCount:i.uint16,lookupCount:i.uint16,classes:new i.Array(i.uint16,t=>t.glyphCount-1),lookupRecords:new i.Array(ke,"lookupCount")}),Ie=new i.Array(new i.Pointer(i.uint16,Be),i.uint16),Oe=new i.VersionedStruct(i.uint16,{1:{coverage:new i.Pointer(i.uint16,Se),ruleSetCount:i.uint16,ruleSets:new i.Array(new i.Pointer(i.uint16,Te),"ruleSetCount")},2:{coverage:new i.Pointer(i.uint16,Se),classDef:new i.Pointer(i.uint16,Ce),classSetCnt:i.uint16,classSet:new i.Array(new i.Pointer(i.uint16,Ie),"classSetCnt")},3:{glyphCount:i.uint16,lookupCount:i.uint16,coverages:new i.Array(new i.Pointer(i.uint16,Se),"glyphCount"),lookupRecords:new i.Array(ke,"lookupCount")}}),Re=new i.Struct({backtrackGlyphCount:i.uint16,backtrack:new i.Array(i.uint16,"backtrackGlyphCount"),inputGlyphCount:i.uint16,input:new i.Array(i.uint16,t=>t.inputGlyphCount-1),lookaheadGlyphCount:i.uint16,lookahead:new i.Array(i.uint16,"lookaheadGlyphCount"),lookupCount:i.uint16,lookupRecords:new i.Array(ke,"lookupCount")}),De=new i.Array(new i.Pointer(i.uint16,Re),i.uint16),Le=new i.VersionedStruct(i.uint16,{1:{coverage:new i.Pointer(i.uint16,Se),chainCount:i.uint16,chainRuleSets:new i.Array(new i.Pointer(i.uint16,De),"chainCount")},2:{coverage:new i.Pointer(i.uint16,Se),backtrackClassDef:new i.Pointer(i.uint16,Ce),inputClassDef:new i.Pointer(i.uint16,Ce),lookaheadClassDef:new i.Pointer(i.uint16,Ce),chainCount:i.uint16,chainClassSet:new i.Array(new i.Pointer(i.uint16,De),"chainCount")},3:{backtrackGlyphCount:i.uint16,backtrackCoverage:new i.Array(new i.Pointer(i.uint16,Se),"backtrackGlyphCount"),inputGlyphCount:i.uint16,inputCoverage:new i.Array(new i.Pointer(i.uint16,Se),"inputGlyphCount"),lookaheadGlyphCount:i.uint16,lookaheadCoverage:new i.Array(new i.Pointer(i.uint16,Se),"lookaheadGlyphCount"),lookupCount:i.uint16,lookupRecords:new i.Array(ke,"lookupCount")}}),Me=new i.Fixed(16,"BE",14),Fe=new i.Struct({startCoord:Me,peakCoord:Me,endCoord:Me}),Ne=new i.Struct({axisCount:i.uint16,regionCount:i.uint16,variationRegions:new i.Array(new i.Array(Fe,"axisCount"),"regionCount")}),$e=new i.Struct({shortDeltas:new i.Array(i.int16,t=>t.parent.shortDeltaCount),regionDeltas:new i.Array(i.int8,t=>t.parent.regionIndexCount-t.parent.shortDeltaCount),deltas:t=>t.shortDeltas.concat(t.regionDeltas)}),ze=new i.Struct({itemCount:i.uint16,shortDeltaCount:i.uint16,regionIndexCount:i.uint16,regionIndexes:new i.Array(i.uint16,"regionIndexCount"),deltaSets:new i.Array($e,"itemCount")}),We=new i.Struct({format:i.uint16,variationRegionList:new i.Pointer(i.uint32,Ne),variationDataCount:i.uint16,itemVariationData:new i.Array(new i.Pointer(i.uint32,ze),"variationDataCount")}),Ue=new i.VersionedStruct(i.uint16,{1:{axisIndex:i.uint16,axisIndex:i.uint16,filterRangeMinValue:Me,filterRangeMaxValue:Me}}),je=new i.Struct({conditionCount:i.uint16,conditionTable:new i.Array(new i.Pointer(i.uint32,Ue),"conditionCount")}),Ve=new i.Struct({featureIndex:i.uint16,alternateFeatureTable:new i.Pointer(i.uint32,ye,{type:"parent"})}),Ge=new i.Struct({version:i.fixed32,substitutionCount:i.uint16,substitutions:new i.Array(Ve,"substitutionCount")}),He=new i.Struct({conditionSet:new i.Pointer(i.uint32,je,{type:"parent"}),featureTableSubstitution:new i.Pointer(i.uint32,Ge,{type:"parent"})}),qe=new i.Struct({majorVersion:i.uint16,minorVersion:i.uint16,featureVariationRecordCount:i.uint32,featureVariationRecords:new i.Array(He,"featureVariationRecordCount")});class $5b547cf9e5da519b$var$PredefinedOp{decode(t,r,n){return this.predefinedOps[n[0]]?this.predefinedOps[n[0]]:this.type.decode(t,r,n)}size(t,r){return this.type.size(t,r)}encode(t,r,n){let i=this.predefinedOps.indexOf(r);return-1!==i?i:this.type.encode(t,r,n)}constructor(t,r){this.predefinedOps=t,this.type=r}}class $5b547cf9e5da519b$var$CFFEncodingVersion extends i.Number{decode(t){return 127&i.uint8.decode(t)}constructor(){super("UInt8")}}let Xe=new i.Struct({first:i.uint16,nLeft:i.uint8}),Ze=new i.Struct({first:i.uint16,nLeft:i.uint16}),Ye=new $5b547cf9e5da519b$var$PredefinedOp([ue,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"]],new $4aa1b0749c2770f8$export$2e2bcd8739ae039(new i.VersionedStruct(new $5b547cf9e5da519b$var$CFFEncodingVersion,{0:{nCodes:i.uint8,codes:new i.Array(i.uint8,"nCodes")},1:{nRanges:i.uint8,ranges:new i.Array(Xe,"nRanges")}}),{lazy:!0}));class $5b547cf9e5da519b$var$RangeArray extends i.Array{decode(t,r){let n=(0,i.resolveLength)(this.length,t,r),a=0,o=[];for(;at.parent.CharStrings.length-1)},1:{ranges:new $5b547cf9e5da519b$var$RangeArray(Xe,t=>t.parent.CharStrings.length-1)},2:{ranges:new $5b547cf9e5da519b$var$RangeArray(Ze,t=>t.parent.CharStrings.length-1)}}),{lazy:!0})),Je=new i.Struct({first:i.uint16,fd:i.uint8}),Qe=new i.Struct({first:i.uint32,fd:i.uint16}),et=new i.VersionedStruct(i.uint8,{0:{fds:new i.Array(i.uint8,t=>t.parent.CharStrings.length)},3:{nRanges:i.uint16,ranges:new i.Array(Je,"nRanges"),sentinel:i.uint16},4:{nRanges:i.uint32,ranges:new i.Array(Qe,"nRanges"),sentinel:i.uint32}}),tt=new $4aa1b0749c2770f8$export$2e2bcd8739ae039(le);class $5b547cf9e5da519b$var$CFFPrivateOp{decode(t,r,n){return r.length=n[0],tt.decode(t,r,[n[1]])}size(t,r){return[le.size(t,r,!1),tt.size(t,r)[0]]}encode(t,r,n){return[le.size(r,n,!1),tt.encode(t,r,n)[0]]}}let rt=new $efe622f40a9c35bd$export$2e2bcd8739ae039([[18,"Private",new $5b547cf9e5da519b$var$CFFPrivateOp,null],[[12,38],"FontName","sid",null],[[12,7],"FontMatrix","array",[.001,0,0,.001,0,0]],[[12,5],"PaintType","number",0]]),nt=new $efe622f40a9c35bd$export$2e2bcd8739ae039([[[12,30],"ROS",["sid","sid","number"],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","boolean",!1],[[12,2],"ItalicAngle","number",0],[[12,3],"UnderlinePosition","number",-100],[[12,4],"UnderlineThickness","number",50],[[12,5],"PaintType","number",0],[[12,6],"CharstringType","number",2],[[12,7],"FontMatrix","array",[.001,0,0,.001,0,0]],[13,"UniqueID","number",null],[5,"FontBBox","array",[0,0,0,0]],[[12,8],"StrokeWidth","number",0],[14,"XUID","array",null],[15,"charset",Ke,he],[16,"Encoding",Ye,ue],[17,"CharStrings",new $4aa1b0749c2770f8$export$2e2bcd8739ae039(new $9eaea3754914a290$export$2e2bcd8739ae039),null],[18,"Private",new $5b547cf9e5da519b$var$CFFPrivateOp,null],[[12,20],"SyntheticBase","number",null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","number",0],[[12,32],"CIDFontRevision","number",0],[[12,33],"CIDFontType","number",0],[[12,34],"CIDCount","number",8720],[[12,35],"UIDBase","number",null],[[12,37],"FDSelect",new $4aa1b0749c2770f8$export$2e2bcd8739ae039(et),null],[[12,36],"FDArray",new $4aa1b0749c2770f8$export$2e2bcd8739ae039(new $9eaea3754914a290$export$2e2bcd8739ae039(rt)),null],[[12,38],"FontName","sid",null]]),it=new i.Struct({length:i.uint16,itemVariationStore:We}),at=new $efe622f40a9c35bd$export$2e2bcd8739ae039([[[12,7],"FontMatrix","array",[.001,0,0,.001,0,0]],[17,"CharStrings",new $4aa1b0749c2770f8$export$2e2bcd8739ae039(new $9eaea3754914a290$export$2e2bcd8739ae039),null],[[12,37],"FDSelect",new $4aa1b0749c2770f8$export$2e2bcd8739ae039(et),null],[[12,36],"FDArray",new $4aa1b0749c2770f8$export$2e2bcd8739ae039(new $9eaea3754914a290$export$2e2bcd8739ae039(rt)),null],[24,"vstore",new $4aa1b0749c2770f8$export$2e2bcd8739ae039(it),null],[25,"maxstack","number",193]]);var ot=new i.VersionedStruct(i.fixed16,{1:{hdrSize:i.uint8,offSize:i.uint8,nameIndex:new $9eaea3754914a290$export$2e2bcd8739ae039(new i.String("length")),topDictIndex:new $9eaea3754914a290$export$2e2bcd8739ae039(nt),stringIndex:new $9eaea3754914a290$export$2e2bcd8739ae039(new i.String("length")),globalSubrIndex:new $9eaea3754914a290$export$2e2bcd8739ae039},2:{hdrSize:i.uint8,length:i.uint16,topDict:at,globalSubrIndex:new $9eaea3754914a290$export$2e2bcd8739ae039}});class $f717432b360040c7$var$CFFFont{static decode(t){return new $f717432b360040c7$var$CFFFont(t)}decode(){this.stream.pos;let t=ot.decode(this.stream);for(let r in t){let n=t[r];this[r]=n}if(this.version<2){if(1!==this.topDictIndex.length)throw new Error("Only a single font is allowed in CFF");this.topDict=this.topDictIndex[0]}return this.isCIDFont=null!=this.topDict.ROS,this}string(t){return this.version>=2?null:t=2)return null;if(this.isCIDFont)return null;let{charset:r}=this.topDict;if(Array.isArray(r))return r[t];if(0===t)return".notdef";switch(t-=1,r.version){case 0:return this.string(r.glyphs[t]);case 1:case 2:for(let n=0;n>1;if(t=r[a+1].first))return r[a].fd;n=a+1}}default:throw new Error(`Unknown FDSelect version: ${this.topDict.FDSelect.version}`)}}privateDictForGlyph(t){if(this.topDict.FDSelect){let r=this.fdForGlyph(t);return this.topDict.FDArray[r]?this.topDict.FDArray[r].Private:null}return this.version<2?this.topDict.Private:this.topDict.FDArray[0].Private}constructor(t){this.stream=t,this.decode()}}var st=$f717432b360040c7$var$CFFFont;let lt=new i.Struct({glyphIndex:i.uint16,vertOriginY:i.int16});var ct=new i.Struct({majorVersion:i.uint16,minorVersion:i.uint16,defaultVertOriginY:i.int16,numVertOriginYMetrics:i.uint16,metrics:new i.Array(lt,"numVertOriginYMetrics")});let ut=new i.Struct({height:i.uint8,width:i.uint8,horiBearingX:i.int8,horiBearingY:i.int8,horiAdvance:i.uint8,vertBearingX:i.int8,vertBearingY:i.int8,vertAdvance:i.uint8}),ht=new i.Struct({height:i.uint8,width:i.uint8,bearingX:i.int8,bearingY:i.int8,advance:i.uint8}),ft=new i.Struct({glyph:i.uint16,xOffset:i.int8,yOffset:i.int8});class $20e0c7bbecb76d75$var$ByteAligned{}class $20e0c7bbecb76d75$var$BitAligned{}new i.VersionedStruct("version",{1:{metrics:ht,data:$20e0c7bbecb76d75$var$ByteAligned},2:{metrics:ht,data:$20e0c7bbecb76d75$var$BitAligned},5:{data:$20e0c7bbecb76d75$var$BitAligned},6:{metrics:ut,data:$20e0c7bbecb76d75$var$ByteAligned},7:{metrics:ut,data:$20e0c7bbecb76d75$var$BitAligned},8:{metrics:ht,pad:new i.Reserved(i.uint8),numComponents:i.uint16,components:new i.Array(ft,"numComponents")},9:{metrics:ut,pad:new i.Reserved(i.uint8),numComponents:i.uint16,components:new i.Array(ft,"numComponents")},17:{metrics:ht,dataLen:i.uint32,data:new i.Buffer("dataLen")},18:{metrics:ut,dataLen:i.uint32,data:new i.Buffer("dataLen")},19:{dataLen:i.uint32,data:new i.Buffer("dataLen")}});let dt=new i.Struct({ascender:i.int8,descender:i.int8,widthMax:i.uint8,caretSlopeNumerator:i.int8,caretSlopeDenominator:i.int8,caretOffset:i.int8,minOriginSB:i.int8,minAdvanceSB:i.int8,maxBeforeBL:i.int8,minAfterBL:i.int8,pad:new i.Reserved(i.int8,2)}),pt=new i.Struct({glyphCode:i.uint16,offset:i.uint16}),gt=new i.VersionedStruct(i.uint16,{header:{imageFormat:i.uint16,imageDataOffset:i.uint32},1:{offsetArray:new i.Array(i.uint32,t=>t.parent.lastGlyphIndex-t.parent.firstGlyphIndex+1)},2:{imageSize:i.uint32,bigMetrics:ut},3:{offsetArray:new i.Array(i.uint16,t=>t.parent.lastGlyphIndex-t.parent.firstGlyphIndex+1)},4:{numGlyphs:i.uint32,glyphArray:new i.Array(pt,t=>t.numGlyphs+1)},5:{imageSize:i.uint32,bigMetrics:ut,numGlyphs:i.uint32,glyphCodeArray:new i.Array(i.uint16,"numGlyphs")}}),bt=new i.Struct({firstGlyphIndex:i.uint16,lastGlyphIndex:i.uint16,subtable:new i.Pointer(i.uint32,gt)}),mt=new i.Struct({indexSubTableArray:new i.Pointer(i.uint32,new i.Array(bt,1),{type:"parent"}),indexTablesSize:i.uint32,numberOfIndexSubTables:i.uint32,colorRef:i.uint32,hori:dt,vert:dt,startGlyphIndex:i.uint16,endGlyphIndex:i.uint16,ppemX:i.uint8,ppemY:i.uint8,bitDepth:i.uint8,flags:new i.Bitfield(i.uint8,["horizontal","vertical"])});var yt=new i.Struct({version:i.uint32,numSizes:i.uint32,sizes:new i.Array(mt,"numSizes")});let wt=new i.Struct({ppem:i.uint16,resolution:i.uint16,imageOffsets:new i.Array(new i.Pointer(i.uint32,"void"),t=>t.parent.parent.maxp.numGlyphs+1)});var vt=new i.Struct({version:i.uint16,flags:new i.Bitfield(i.uint16,["renderOutlines"]),numImgTables:i.uint32,imageTables:new i.Array(new i.Pointer(i.uint32,wt),"numImgTables")});let xt=new i.Struct({gid:i.uint16,paletteIndex:i.uint16}),_t=new i.Struct({gid:i.uint16,firstLayerIndex:i.uint16,numLayers:i.uint16});var St=new i.Struct({version:i.uint16,numBaseGlyphRecords:i.uint16,baseGlyphRecord:new i.Pointer(i.uint32,new i.Array(_t,"numBaseGlyphRecords")),layerRecords:new i.Pointer(i.uint32,new i.Array(xt,"numLayerRecords"),{lazy:!0}),numLayerRecords:i.uint16});let At=new i.Struct({blue:i.uint8,green:i.uint8,red:i.uint8,alpha:i.uint8});var Ct=new i.VersionedStruct(i.uint16,{header:{numPaletteEntries:i.uint16,numPalettes:i.uint16,numColorRecords:i.uint16,colorRecords:new i.Pointer(i.uint32,new i.Array(At,"numColorRecords")),colorRecordIndices:new i.Array(i.uint16,"numPalettes")},0:{},1:{offsetPaletteTypeArray:new i.Pointer(i.uint32,new i.Array(i.uint32,"numPalettes")),offsetPaletteLabelArray:new i.Pointer(i.uint32,new i.Array(i.uint16,"numPalettes")),offsetPaletteEntryLabelArray:new i.Pointer(i.uint32,new i.Array(i.uint16,"numPaletteEntries"))}});let Pt=new i.VersionedStruct(i.uint16,{1:{coordinate:i.int16},2:{coordinate:i.int16,referenceGlyph:i.uint16,baseCoordPoint:i.uint16},3:{coordinate:i.int16,deviceTable:new i.Pointer(i.uint16,Pe)}}),kt=new i.Struct({defaultIndex:i.uint16,baseCoordCount:i.uint16,baseCoords:new i.Array(new i.Pointer(i.uint16,Pt),"baseCoordCount")}),Et=new i.Struct({tag:new i.String(4),minCoord:new i.Pointer(i.uint16,Pt,{type:"parent"}),maxCoord:new i.Pointer(i.uint16,Pt,{type:"parent"})}),Tt=new i.Struct({minCoord:new i.Pointer(i.uint16,Pt),maxCoord:new i.Pointer(i.uint16,Pt),featMinMaxCount:i.uint16,featMinMaxRecords:new i.Array(Et,"featMinMaxCount")}),Bt=new i.Struct({tag:new i.String(4),minMax:new i.Pointer(i.uint16,Tt,{type:"parent"})}),It=new i.Struct({baseValues:new i.Pointer(i.uint16,kt),defaultMinMax:new i.Pointer(i.uint16,Tt),baseLangSysCount:i.uint16,baseLangSysRecords:new i.Array(Bt,"baseLangSysCount")}),Ot=new i.Struct({tag:new i.String(4),script:new i.Pointer(i.uint16,It,{type:"parent"})}),Rt=new i.Array(Ot,i.uint16),Dt=new i.Array(new i.String(4),i.uint16),Lt=new i.Struct({baseTagList:new i.Pointer(i.uint16,Dt),baseScriptList:new i.Pointer(i.uint16,Rt)});var Mt=new i.VersionedStruct(i.uint32,{header:{horizAxis:new i.Pointer(i.uint16,Lt),vertAxis:new i.Pointer(i.uint16,Lt)},65536:{},65537:{itemVariationStore:new i.Pointer(i.uint32,We)}});let Ft=new i.Array(i.uint16,i.uint16),Nt=new i.Struct({coverage:new i.Pointer(i.uint16,Se),glyphCount:i.uint16,attachPoints:new i.Array(new i.Pointer(i.uint16,Ft),"glyphCount")}),$t=new i.VersionedStruct(i.uint16,{1:{coordinate:i.int16},2:{caretValuePoint:i.uint16},3:{coordinate:i.int16,deviceTable:new i.Pointer(i.uint16,Pe)}}),zt=new i.Array(new i.Pointer(i.uint16,$t),i.uint16),Wt=new i.Struct({coverage:new i.Pointer(i.uint16,Se),ligGlyphCount:i.uint16,ligGlyphs:new i.Array(new i.Pointer(i.uint16,zt),"ligGlyphCount")}),Ut=new i.Struct({markSetTableFormat:i.uint16,markSetCount:i.uint16,coverage:new i.Array(new i.Pointer(i.uint32,Se),"markSetCount")});var jt=new i.VersionedStruct(i.uint32,{header:{glyphClassDef:new i.Pointer(i.uint16,Ce),attachList:new i.Pointer(i.uint16,Nt),ligCaretList:new i.Pointer(i.uint16,Wt),markAttachClassDef:new i.Pointer(i.uint16,Ce)},65536:{},65538:{markGlyphSetsDef:new i.Pointer(i.uint16,Ut)},65539:{markGlyphSetsDef:new i.Pointer(i.uint16,Ut),itemVariationStore:new i.Pointer(i.uint32,We)}});let Vt=new i.Bitfield(i.uint16,["xPlacement","yPlacement","xAdvance","yAdvance","xPlaDevice","yPlaDevice","xAdvDevice","yAdvDevice"]),Gt={xPlacement:i.int16,yPlacement:i.int16,xAdvance:i.int16,yAdvance:i.int16,xPlaDevice:new i.Pointer(i.uint16,Pe,{type:"global",relativeTo:t=>t.rel}),yPlaDevice:new i.Pointer(i.uint16,Pe,{type:"global",relativeTo:t=>t.rel}),xAdvDevice:new i.Pointer(i.uint16,Pe,{type:"global",relativeTo:t=>t.rel}),yAdvDevice:new i.Pointer(i.uint16,Pe,{type:"global",relativeTo:t=>t.rel})};class $b687332511a4da75$var$ValueRecord{buildStruct(t){let r=t;for(;!r[this.key]&&r.parent;)r=r.parent;if(!r[this.key])return;let n={rel:()=>r._startOffset},a=r[this.key];for(let t in a)a[t]&&(n[t]=Gt[t]);return new i.Struct(n)}size(t,r){return this.buildStruct(r).size(t,r)}decode(t,r){let n=this.buildStruct(r).decode(t,r);return delete n.rel,n}constructor(t="valueFormat"){this.key=t}}let Ht=new i.Struct({secondGlyph:i.uint16,value1:new $b687332511a4da75$var$ValueRecord("valueFormat1"),value2:new $b687332511a4da75$var$ValueRecord("valueFormat2")}),qt=new i.Array(Ht,i.uint16),Xt=new i.Struct({value1:new $b687332511a4da75$var$ValueRecord("valueFormat1"),value2:new $b687332511a4da75$var$ValueRecord("valueFormat2")}),Zt=new i.VersionedStruct(i.uint16,{1:{xCoordinate:i.int16,yCoordinate:i.int16},2:{xCoordinate:i.int16,yCoordinate:i.int16,anchorPoint:i.uint16},3:{xCoordinate:i.int16,yCoordinate:i.int16,xDeviceTable:new i.Pointer(i.uint16,Pe),yDeviceTable:new i.Pointer(i.uint16,Pe)}}),Yt=new i.Struct({entryAnchor:new i.Pointer(i.uint16,Zt,{type:"parent"}),exitAnchor:new i.Pointer(i.uint16,Zt,{type:"parent"})}),Kt=new i.Struct({class:i.uint16,markAnchor:new i.Pointer(i.uint16,Zt,{type:"parent"})}),Jt=new i.Array(Kt,i.uint16),Qt=new i.Array(new i.Pointer(i.uint16,Zt),t=>t.parent.classCount),er=new i.Array(Qt,i.uint16),tr=new i.Array(new i.Pointer(i.uint16,Zt),t=>t.parent.parent.classCount),rr=new i.Array(tr,i.uint16),nr=new i.Array(new i.Pointer(i.uint16,rr),i.uint16),ir=new i.VersionedStruct("lookupType",{1:new i.VersionedStruct(i.uint16,{1:{coverage:new i.Pointer(i.uint16,Se),valueFormat:Vt,value:new $b687332511a4da75$var$ValueRecord},2:{coverage:new i.Pointer(i.uint16,Se),valueFormat:Vt,valueCount:i.uint16,values:new i.LazyArray(new $b687332511a4da75$var$ValueRecord,"valueCount")}}),2:new i.VersionedStruct(i.uint16,{1:{coverage:new i.Pointer(i.uint16,Se),valueFormat1:Vt,valueFormat2:Vt,pairSetCount:i.uint16,pairSets:new i.LazyArray(new i.Pointer(i.uint16,qt),"pairSetCount")},2:{coverage:new i.Pointer(i.uint16,Se),valueFormat1:Vt,valueFormat2:Vt,classDef1:new i.Pointer(i.uint16,Ce),classDef2:new i.Pointer(i.uint16,Ce),class1Count:i.uint16,class2Count:i.uint16,classRecords:new i.LazyArray(new i.LazyArray(Xt,"class2Count"),"class1Count")}}),3:{format:i.uint16,coverage:new i.Pointer(i.uint16,Se),entryExitCount:i.uint16,entryExitRecords:new i.Array(Yt,"entryExitCount")},4:{format:i.uint16,markCoverage:new i.Pointer(i.uint16,Se),baseCoverage:new i.Pointer(i.uint16,Se),classCount:i.uint16,markArray:new i.Pointer(i.uint16,Jt),baseArray:new i.Pointer(i.uint16,er)},5:{format:i.uint16,markCoverage:new i.Pointer(i.uint16,Se),ligatureCoverage:new i.Pointer(i.uint16,Se),classCount:i.uint16,markArray:new i.Pointer(i.uint16,Jt),ligatureArray:new i.Pointer(i.uint16,nr)},6:{format:i.uint16,mark1Coverage:new i.Pointer(i.uint16,Se),mark2Coverage:new i.Pointer(i.uint16,Se),classCount:i.uint16,mark1Array:new i.Pointer(i.uint16,Jt),mark2Array:new i.Pointer(i.uint16,er)},7:Oe,8:Le,9:{posFormat:i.uint16,lookupType:i.uint16,extension:new i.Pointer(i.uint32,null)}});ir.versions[9].extension.type=ir;var ar=new i.VersionedStruct(i.uint32,{header:{scriptList:new i.Pointer(i.uint16,be),featureList:new i.Pointer(i.uint16,ve),lookupList:new i.Pointer(i.uint16,new $b6dd765146ad212a$export$df0008c6ff2da22a(ir))},65536:{},65537:{featureVariations:new i.Pointer(i.uint32,qe)}});let or=new i.Array(i.uint16,i.uint16),sr=or,lr=new i.Struct({glyph:i.uint16,compCount:i.uint16,components:new i.Array(i.uint16,t=>t.compCount-1)}),cr=new i.Array(new i.Pointer(i.uint16,lr),i.uint16),ur=new i.VersionedStruct("lookupType",{1:new i.VersionedStruct(i.uint16,{1:{coverage:new i.Pointer(i.uint16,Se),deltaGlyphID:i.int16},2:{coverage:new i.Pointer(i.uint16,Se),glyphCount:i.uint16,substitute:new i.LazyArray(i.uint16,"glyphCount")}}),2:{substFormat:i.uint16,coverage:new i.Pointer(i.uint16,Se),count:i.uint16,sequences:new i.LazyArray(new i.Pointer(i.uint16,or),"count")},3:{substFormat:i.uint16,coverage:new i.Pointer(i.uint16,Se),count:i.uint16,alternateSet:new i.LazyArray(new i.Pointer(i.uint16,sr),"count")},4:{substFormat:i.uint16,coverage:new i.Pointer(i.uint16,Se),count:i.uint16,ligatureSets:new i.LazyArray(new i.Pointer(i.uint16,cr),"count")},5:Oe,6:Le,7:{substFormat:i.uint16,lookupType:i.uint16,extension:new i.Pointer(i.uint32,null)},8:{substFormat:i.uint16,coverage:new i.Pointer(i.uint16,Se),backtrackCoverage:new i.Array(new i.Pointer(i.uint16,Se),"backtrackGlyphCount"),lookaheadGlyphCount:i.uint16,lookaheadCoverage:new i.Array(new i.Pointer(i.uint16,Se),"lookaheadGlyphCount"),glyphCount:i.uint16,substitutes:new i.Array(i.uint16,"glyphCount")}});ur.versions[7].extension.type=ur;var hr=new i.VersionedStruct(i.uint32,{header:{scriptList:new i.Pointer(i.uint16,be),featureList:new i.Pointer(i.uint16,ve),lookupList:new i.Pointer(i.uint16,new $b6dd765146ad212a$export$df0008c6ff2da22a(ur))},65536:{},65537:{featureVariations:new i.Pointer(i.uint32,qe)}});let fr=new i.Array(i.uint16,i.uint16),dr=new i.Struct({shrinkageEnableGSUB:new i.Pointer(i.uint16,fr),shrinkageDisableGSUB:new i.Pointer(i.uint16,fr),shrinkageEnableGPOS:new i.Pointer(i.uint16,fr),shrinkageDisableGPOS:new i.Pointer(i.uint16,fr),shrinkageJstfMax:new i.Pointer(i.uint16,new $b6dd765146ad212a$export$df0008c6ff2da22a(ir)),extensionEnableGSUB:new i.Pointer(i.uint16,fr),extensionDisableGSUB:new i.Pointer(i.uint16,fr),extensionEnableGPOS:new i.Pointer(i.uint16,fr),extensionDisableGPOS:new i.Pointer(i.uint16,fr),extensionJstfMax:new i.Pointer(i.uint16,new $b6dd765146ad212a$export$df0008c6ff2da22a(ir))}),pr=new i.Array(new i.Pointer(i.uint16,dr),i.uint16),gr=new i.Struct({tag:new i.String(4),jstfLangSys:new i.Pointer(i.uint16,pr)}),br=new i.Struct({extenderGlyphs:new i.Pointer(i.uint16,new i.Array(i.uint16,i.uint16)),defaultLangSys:new i.Pointer(i.uint16,pr),langSysCount:i.uint16,langSysRecords:new i.Array(gr,"langSysCount")}),mr=new i.Struct({tag:new i.String(4),script:new i.Pointer(i.uint16,br,{type:"parent"})});var yr=new i.Struct({version:i.uint32,scriptCount:i.uint16,scriptList:new i.Array(mr,"scriptCount")});let wr=new i.Struct({entry:new class $a5875b80d6087f61$var$VariableSizeNumber{decode(t,r){switch(this.size(0,r)){case 1:return t.readUInt8();case 2:return t.readUInt16BE();case 3:return t.readUInt24BE();case 4:return t.readUInt32BE()}}size(t,r){return(0,i.resolveLength)(this._size,null,r)}constructor(t){this._size=t}}(t=>1+((48&t.parent.entryFormat)>>4)),outerIndex:t=>t.entry>>1+(15&t.parent.entryFormat),innerIndex:t=>t.entry&(1<<1+(15&t.parent.entryFormat))-1}),vr=new i.Struct({entryFormat:i.uint16,mapCount:i.uint16,mapData:new i.Array(wr,"mapCount")});var xr=new i.Struct({majorVersion:i.uint16,minorVersion:i.uint16,itemVariationStore:new i.Pointer(i.uint32,We),advanceWidthMapping:new i.Pointer(i.uint32,vr),LSBMapping:new i.Pointer(i.uint32,vr),RSBMapping:new i.Pointer(i.uint32,vr)});let _r=new i.Struct({format:i.uint32,length:i.uint32,offset:i.uint32}),Sr=new i.Struct({reserved:new i.Reserved(i.uint16,2),cbSignature:i.uint32,signature:new i.Buffer("cbSignature")});var Ar=new i.Struct({ulVersion:i.uint32,usNumSigs:i.uint16,usFlag:i.uint16,signatures:new i.Array(_r,"usNumSigs"),signatureBlocks:new i.Array(Sr,"usNumSigs")});let Cr=new i.Struct({rangeMaxPPEM:i.uint16,rangeGaspBehavior:new i.Bitfield(i.uint16,["grayscale","gridfit","symmetricSmoothing","symmetricGridfit"])});var Pr=new i.Struct({version:i.uint16,numRanges:i.uint16,gaspRanges:new i.Array(Cr,"numRanges")});let kr=new i.Struct({pixelSize:i.uint8,maximumWidth:i.uint8,widths:new i.Array(i.uint8,t=>t.parent.parent.maxp.numGlyphs)});var Er=new i.Struct({version:i.uint16,numRecords:i.int16,sizeDeviceRecord:i.int32,records:new i.Array(kr,"numRecords")});let Tr=new i.Struct({left:i.uint16,right:i.uint16,value:i.int16}),Br=new i.Struct({firstGlyph:i.uint16,nGlyphs:i.uint16,offsets:new i.Array(i.uint16,"nGlyphs"),max:t=>t.offsets.length&&Math.max.apply(Math,t.offsets)}),Ir=new i.Struct({off:t=>t._startOffset-t.parent.parent._startOffset,len:t=>((t.parent.leftTable.max-t.off)/t.parent.rowWidth+1)*(t.parent.rowWidth/2),values:new i.LazyArray(i.int16,"len")}),Or=new i.VersionedStruct("format",{0:{nPairs:i.uint16,searchRange:i.uint16,entrySelector:i.uint16,rangeShift:i.uint16,pairs:new i.Array(Tr,"nPairs")},2:{rowWidth:i.uint16,leftTable:new i.Pointer(i.uint16,Br,{type:"parent"}),rightTable:new i.Pointer(i.uint16,Br,{type:"parent"}),array:new i.Pointer(i.uint16,Ir,{type:"parent"})},3:{glyphCount:i.uint16,kernValueCount:i.uint8,leftClassCount:i.uint8,rightClassCount:i.uint8,flags:i.uint8,kernValue:new i.Array(i.int16,"kernValueCount"),leftClass:new i.Array(i.uint8,"glyphCount"),rightClass:new i.Array(i.uint8,"glyphCount"),kernIndex:new i.Array(i.uint8,t=>t.leftClassCount*t.rightClassCount)}}),Rr=new i.VersionedStruct("version",{0:{subVersion:i.uint16,length:i.uint16,format:i.uint8,coverage:new i.Bitfield(i.uint8,["horizontal","minimum","crossStream","override"]),subtable:Or,padding:new i.Reserved(i.uint8,t=>t.length-t._currentOffset)},1:{length:i.uint32,coverage:new i.Bitfield(i.uint8,[null,null,null,null,null,"variation","crossStream","vertical"]),format:i.uint8,tupleIndex:i.uint16,subtable:Or,padding:new i.Reserved(i.uint8,t=>t.length-t._currentOffset)}});var Dr=new i.VersionedStruct(i.uint16,{0:{nTables:i.uint16,tables:new i.Array(Rr,"nTables")},1:{reserved:new i.Reserved(i.uint16),nTables:i.uint32,tables:new i.Array(Rr,"nTables")}}),Lr=new i.Struct({version:i.uint16,numGlyphs:i.uint16,yPels:new i.Array(i.uint8,"numGlyphs")}),Mr=new i.Struct({version:i.uint16,fontNumber:i.uint32,pitch:i.uint16,xHeight:i.uint16,style:i.uint16,typeFamily:i.uint16,capHeight:i.uint16,symbolSet:i.uint16,typeface:new i.String(16),characterComplement:new i.String(8),fileName:new i.String(6),strokeWeight:new i.String(1),widthType:new i.String(1),serifStyle:i.uint8,reserved:new i.Reserved(i.uint8)});let Fr=new i.Struct({bCharSet:i.uint8,xRatio:i.uint8,yStartRatio:i.uint8,yEndRatio:i.uint8}),Nr=new i.Struct({yPelHeight:i.uint16,yMax:i.int16,yMin:i.int16}),$r=new i.Struct({recs:i.uint16,startsz:i.uint8,endsz:i.uint8,entries:new i.Array(Nr,"recs")});var zr=new i.Struct({version:i.uint16,numRecs:i.uint16,numRatios:i.uint16,ratioRanges:new i.Array(Fr,"numRatios"),offsets:new i.Array(i.uint16,"numRatios"),groups:new i.Array($r,"numRecs")}),Wr=new i.Struct({version:i.uint16,ascent:i.int16,descent:i.int16,lineGap:i.int16,advanceHeightMax:i.int16,minTopSideBearing:i.int16,minBottomSideBearing:i.int16,yMaxExtent:i.int16,caretSlopeRise:i.int16,caretSlopeRun:i.int16,caretOffset:i.int16,reserved:new i.Reserved(i.int16,4),metricDataFormat:i.int16,numberOfMetrics:i.uint16});let Ur=new i.Struct({advance:i.uint16,bearing:i.int16});var jr=new i.Struct({metrics:new i.LazyArray(Ur,t=>t.parent.vhea.numberOfMetrics),bearings:new i.LazyArray(i.int16,t=>t.parent.maxp.numGlyphs-t.parent.vhea.numberOfMetrics)});let Vr=new i.Fixed(16,"BE",14),Gr=new i.Struct({fromCoord:Vr,toCoord:Vr}),Hr=new i.Struct({pairCount:i.uint16,correspondence:new i.Array(Gr,"pairCount")});var qr=new i.Struct({version:i.fixed32,axisCount:i.uint32,segment:new i.Array(Hr,"axisCount")});class $22801616bd931ca3$var$UnboundedArrayAccessor{getItem(t){if(null==this._items[t]){let r=this.stream.pos;this.stream.pos=this.base+this.type.size(null,this.parent)*t,this._items[t]=this.type.decode(this.stream,this.parent),this.stream.pos=r}return this._items[t]}inspect(){return`[UnboundedArray ${this.type.constructor.name}]`}constructor(t,r,n){this.type=t,this.stream=r,this.parent=n,this.base=this.stream.pos,this._items=[]}}class $22801616bd931ca3$export$c5af1eebc882e39a extends i.Array{decode(t,r){return new $22801616bd931ca3$var$UnboundedArrayAccessor(this.type,t,r)}constructor(t){super(t,0)}}let $22801616bd931ca3$export$8351f8c2ae2f103c=function(t=i.uint16){t=new class Shadow{decode(t,r){return r=r.parent.parent,this.type.decode(t,r)}size(t,r){return r=r.parent.parent,this.type.size(t,r)}encode(t,r,n){return n=n.parent.parent,this.type.encode(t,r,n)}constructor(t){this.type=t}}(t);let r=new i.Struct({unitSize:i.uint16,nUnits:i.uint16,searchRange:i.uint16,entrySelector:i.uint16,rangeShift:i.uint16}),n=new i.Struct({lastGlyph:i.uint16,firstGlyph:i.uint16,value:t}),a=new i.Struct({lastGlyph:i.uint16,firstGlyph:i.uint16,values:new i.Pointer(i.uint16,new i.Array(t,t=>t.lastGlyph-t.firstGlyph+1),{type:"parent"})}),o=new i.Struct({glyph:i.uint16,value:t});return new i.VersionedStruct(i.uint16,{0:{values:new $22801616bd931ca3$export$c5af1eebc882e39a(t)},2:{binarySearchHeader:r,segments:new i.Array(n,t=>t.binarySearchHeader.nUnits)},4:{binarySearchHeader:r,segments:new i.Array(a,t=>t.binarySearchHeader.nUnits)},6:{binarySearchHeader:r,segments:new i.Array(o,t=>t.binarySearchHeader.nUnits)},8:{firstGlyph:i.uint16,count:i.uint16,values:new i.Array(t,"count")}})};function $22801616bd931ca3$export$79f7d93d790934ba(t={},r=i.uint16){let n=Object.assign({newState:i.uint16,flags:i.uint16},t),a=new i.Struct(n),o=new $22801616bd931ca3$export$c5af1eebc882e39a(new i.Array(i.uint16,t=>t.nClasses));return new i.Struct({nClasses:i.uint32,classTable:new i.Pointer(i.uint32,new $22801616bd931ca3$export$8351f8c2ae2f103c(r)),stateArray:new i.Pointer(i.uint32,o),entryTable:new i.Pointer(i.uint32,new $22801616bd931ca3$export$c5af1eebc882e39a(a))})}let Xr=new i.VersionedStruct("format",{0:{deltas:new i.Array(i.int16,32)},1:{deltas:new i.Array(i.int16,32),mappingData:new $22801616bd931ca3$export$8351f8c2ae2f103c(i.uint16)},2:{standardGlyph:i.uint16,controlPoints:new i.Array(i.uint16,32)},3:{standardGlyph:i.uint16,controlPoints:new i.Array(i.uint16,32),mappingData:new $22801616bd931ca3$export$8351f8c2ae2f103c(i.uint16)}});var Zr=new i.Struct({version:i.fixed32,format:i.uint16,defaultBaseline:i.uint16,subtable:Xr});let Yr=new i.Struct({setting:i.uint16,nameIndex:i.int16,name:t=>t.parent.parent.parent.name.records.fontFeatures[t.nameIndex]}),Kr=new i.Struct({feature:i.uint16,nSettings:i.uint16,settingTable:new i.Pointer(i.uint32,new i.Array(Yr,"nSettings"),{type:"parent"}),featureFlags:new i.Bitfield(i.uint8,[null,null,null,null,null,null,"hasDefault","exclusive"]),defaultSetting:i.uint8,nameIndex:i.int16,name:t=>t.parent.parent.name.records.fontFeatures[t.nameIndex]});var Jr=new i.Struct({version:i.fixed32,featureNameCount:i.uint16,reserved1:new i.Reserved(i.uint16),reserved2:new i.Reserved(i.uint32),featureNames:new i.Array(Kr,"featureNameCount")});let Qr=new i.Struct({axisTag:new i.String(4),minValue:i.fixed32,defaultValue:i.fixed32,maxValue:i.fixed32,flags:i.uint16,nameID:i.uint16,name:t=>t.parent.parent.name.records.fontFeatures[t.nameID]}),en=new i.Struct({nameID:i.uint16,name:t=>t.parent.parent.name.records.fontFeatures[t.nameID],flags:i.uint16,coord:new i.Array(i.fixed32,t=>t.parent.axisCount),postscriptNameID:new i.Optional(i.uint16,t=>t.parent.instanceSize-t._currentOffset>0)});var tn=new i.Struct({version:i.fixed32,offsetToData:i.uint16,countSizePairs:i.uint16,axisCount:i.uint16,axisSize:i.uint16,instanceCount:i.uint16,instanceSize:i.uint16,axis:new i.Array(Qr,"axisCount"),instance:new i.Array(en,"instanceCount")});let rn=new i.Fixed(16,"BE",14);var nn=new i.Struct({version:i.uint16,reserved:new i.Reserved(i.uint16),axisCount:i.uint16,globalCoordCount:i.uint16,globalCoords:new i.Pointer(i.uint32,new i.Array(new i.Array(rn,"axisCount"),"globalCoordCount")),glyphCount:i.uint16,flags:i.uint16,offsetToData:i.uint32,offsets:new i.Array(new i.Pointer(class $3f36f1a5e6989457$var$Offset{static decode(t,r){return r.flags?t.readUInt32BE():2*t.readUInt16BE()}},"void",{relativeTo:t=>t.offsetToData,allowNull:!1}),t=>t.glyphCount+1)});let an=new i.Struct({length:i.uint16,coverage:i.uint16,subFeatureFlags:i.uint32,stateTable:new function $22801616bd931ca3$export$105027425199cc51(t={},r=i.uint16){let n=new i.Struct({version:()=>8,firstGlyph:i.uint16,values:new i.Array(i.uint8,i.uint16)}),a=Object.assign({newStateOffset:i.uint16,newState:t=>(t.newStateOffset-(t.parent.stateArray.base-t.parent._startOffset))/t.parent.nClasses,flags:i.uint16},t),o=new i.Struct(a),s=new $22801616bd931ca3$export$c5af1eebc882e39a(new i.Array(i.uint8,t=>t.nClasses));return new i.Struct({nClasses:i.uint16,classTable:new i.Pointer(i.uint16,n),stateArray:new i.Pointer(i.uint16,s),entryTable:new i.Pointer(i.uint16,new $22801616bd931ca3$export$c5af1eebc882e39a(o))})}}),on=new i.Struct({justClass:i.uint32,beforeGrowLimit:i.fixed32,beforeShrinkLimit:i.fixed32,afterGrowLimit:i.fixed32,afterShrinkLimit:i.fixed32,growFlags:i.uint16,shrinkFlags:i.uint16}),sn=new i.Array(on,i.uint32),ln=new i.VersionedStruct("actionType",{0:{lowerLimit:i.fixed32,upperLimit:i.fixed32,order:i.uint16,glyphs:new i.Array(i.uint16,i.uint16)},1:{addGlyph:i.uint16},2:{substThreshold:i.fixed32,addGlyph:i.uint16,substGlyph:i.uint16},3:{},4:{variationAxis:i.uint32,minimumLimit:i.fixed32,noStretchValue:i.fixed32,maximumLimit:i.fixed32},5:{flags:i.uint16,glyph:i.uint16}}),cn=new i.Struct({actionClass:i.uint16,actionType:i.uint16,actionLength:i.uint32,actionData:ln,padding:new i.Reserved(i.uint8,t=>t.actionLength-t._currentOffset)}),un=new i.Array(cn,i.uint32),hn=new i.Struct({lookupTable:new $22801616bd931ca3$export$8351f8c2ae2f103c(new i.Pointer(i.uint16,un))}),fn=new i.Struct({classTable:new i.Pointer(i.uint16,an,{type:"parent"}),wdcOffset:i.uint16,postCompensationTable:new i.Pointer(i.uint16,hn,{type:"parent"}),widthDeltaClusters:new $22801616bd931ca3$export$8351f8c2ae2f103c(new i.Pointer(i.uint16,sn,{type:"parent",relativeTo:t=>t.wdcOffset}))});var dn=new i.Struct({version:i.uint32,format:i.uint16,horizontal:new i.Pointer(i.uint16,fn),vertical:new i.Pointer(i.uint16,fn)});let pn={action:i.uint16},gn={markIndex:i.uint16,currentIndex:i.uint16},bn={currentInsertIndex:i.uint16,markedInsertIndex:i.uint16},mn=new i.Struct({items:new $22801616bd931ca3$export$c5af1eebc882e39a(new i.Pointer(i.uint32,new $22801616bd931ca3$export$8351f8c2ae2f103c))}),yn=new i.VersionedStruct("type",{0:{stateTable:new $22801616bd931ca3$export$79f7d93d790934ba},1:{stateTable:new $22801616bd931ca3$export$79f7d93d790934ba(gn),substitutionTable:new i.Pointer(i.uint32,mn)},2:{stateTable:new $22801616bd931ca3$export$79f7d93d790934ba(pn),ligatureActions:new i.Pointer(i.uint32,new $22801616bd931ca3$export$c5af1eebc882e39a(i.uint32)),components:new i.Pointer(i.uint32,new $22801616bd931ca3$export$c5af1eebc882e39a(i.uint16)),ligatureList:new i.Pointer(i.uint32,new $22801616bd931ca3$export$c5af1eebc882e39a(i.uint16))},4:{lookupTable:new $22801616bd931ca3$export$8351f8c2ae2f103c},5:{stateTable:new $22801616bd931ca3$export$79f7d93d790934ba(bn),insertionActions:new i.Pointer(i.uint32,new $22801616bd931ca3$export$c5af1eebc882e39a(i.uint16))}}),wn=new i.Struct({length:i.uint32,coverage:i.uint24,type:i.uint8,subFeatureFlags:i.uint32,table:yn,padding:new i.Reserved(i.uint8,t=>t.length-t._currentOffset)}),vn=new i.Struct({featureType:i.uint16,featureSetting:i.uint16,enableFlags:i.uint32,disableFlags:i.uint32}),xn=new i.Struct({defaultFlags:i.uint32,chainLength:i.uint32,nFeatureEntries:i.uint32,nSubtables:i.uint32,features:new i.Array(vn,"nFeatureEntries"),subtables:new i.Array(wn,"nSubtables")});var _n=new i.Struct({version:i.uint16,unused:new i.Reserved(i.uint16),nChains:i.uint32,chains:new i.Array(xn,"nChains")});let Sn=new i.Struct({left:i.int16,top:i.int16,right:i.int16,bottom:i.int16});var An=new i.Struct({version:i.fixed32,format:i.uint16,lookupTable:new $22801616bd931ca3$export$8351f8c2ae2f103c(Sn)});let Cn={};var Pn=Cn;Cn.cmap=O,Cn.head=R,Cn.hhea=D,Cn.hmtx=M,Cn.maxp=N,Cn.name=X,Cn["OS/2"]=J,Cn.post=Q,Cn.fpgm=te,Cn.loca=ne,Cn.prep=ie,Cn["cvt "]=ee,Cn.glyf=ae,Cn["CFF "]=st,Cn.CFF2=st,Cn.VORG=ct,Cn.EBLC=yt,Cn.CBLC=Cn.EBLC,Cn.sbix=vt,Cn.COLR=St,Cn.CPAL=Ct,Cn.BASE=Mt,Cn.GDEF=jt,Cn.GPOS=ar,Cn.GSUB=hr,Cn.JSTF=yr,Cn.HVAR=xr,Cn.DSIG=Ar,Cn.gasp=Pr,Cn.hdmx=Er,Cn.kern=Dr,Cn.LTSH=Lr,Cn.PCLT=Mr,Cn.VDMX=zr,Cn.vhea=Wr,Cn.vmtx=jr,Cn.avar=qr,Cn.bsln=Zr,Cn.feat=Jr,Cn.fvar=tn,Cn.gvar=nn,Cn.just=dn,Cn.morx=_n,Cn.opbd=An;let kn=new i.Struct({tag:new i.String(4),checkSum:i.uint32,offset:new i.Pointer(i.uint32,"void",{type:"global"}),length:i.uint32}),En=new i.Struct({tag:new i.String(4),numTables:i.uint16,searchRange:i.uint16,entrySelector:i.uint16,rangeShift:i.uint16,tables:new i.Array(kn,"numTables")});En.process=function(){let t={};for(let r of this.tables)t[r.tag]=r;this.tables=t},En.preEncode=function(){if(!Array.isArray(this.tables)){let t=[];for(let r in this.tables){let n=this.tables[r];n&&t.push({tag:r,checkSum:0,offset:new i.VoidPointer(Pn[r],n),length:Pn[r].size(n)})}this.tables=t}this.tag="true",this.numTables=this.tables.length;let t=Math.floor(Math.log(this.numTables)/Math.LN2),r=Math.pow(2,t);this.searchRange=16*r,this.entrySelector=Math.log(r)/Math.LN2,this.rangeShift=16*this.numTables-this.searchRange};var Tn=En;function $66a5b9fb5318558a$export$2e0ae67339d5f1ac(t,r){let n=0,i=t.length-1;for(;n<=i;){let a=n+i>>1,o=r(t[a]);if(o<0)i=a-1;else{if(!(o>0))return a;n=a+1}}return-1}function $66a5b9fb5318558a$export$d02631cccf789723(t,r){let n=[];for(;t>4,n[i++]=(15&o)<<4|s>>2,n[i++]=(3&s)<<6|63&l}return n}class $0d6e160064c86e50$export$2e2bcd8739ae039{findSubtable(t,r){for(let[n,i]of r)for(let r of t.tables)if(r.platformID===n&&r.encodingID===i)return r.table;return null}lookup(t,r){if(this.encoding)t=this.encoding.get(t)||t;else if(r){let n=this.getVariationSelector(t,r);if(n)return n}let n=this.cmap;switch(n.version){case 0:return n.codeMap.get(t)||0;case 4:{let r=0,i=n.segCount-1;for(;r<=i;){let a=r+i>>1;if(tn.endCode.get(a))){let r,i=n.idRangeOffset.get(a);if(0===i)r=t+n.idDelta.get(a);else{let o=i/2+(t-n.startCode.get(a))-(n.segCount-a);r=n.glyphIndexArray.get(o)||0,0!==r&&(r+=n.idDelta.get(a))}return 65535&r}r=a+1}}return 0}case 8:throw new Error("TODO: cmap format 8");case 6:case 10:return n.glyphIndices.get(t-n.firstCode)||0;case 12:case 13:{let r=0,i=n.nGroups-1;for(;r<=i;){let a=r+i>>1,o=n.groups.get(a);if(to.endCharCode))return 12===n.version?o.glyphID+(t-o.startCharCode):o.glyphID;r=a+1}}return 0}case 14:throw new Error("TODO: cmap format 14");default:throw new Error(`Unknown cmap format ${n.version}`)}}getVariationSelector(t,r){if(!this.uvs)return 0;let n=this.uvs.varSelectors.toArray(),i=$66a5b9fb5318558a$export$2e0ae67339d5f1ac(n,t=>r-t.varSelector),a=n[i];return-1!==i&&a.defaultUVS&&(i=$66a5b9fb5318558a$export$2e0ae67339d5f1ac(a.defaultUVS,r=>tr.startUnicodeValue+r.additionalCount?1:0)),-1!==i&&a.nonDefaultUVS&&(i=$66a5b9fb5318558a$export$2e0ae67339d5f1ac(a.nonDefaultUVS,r=>t-r.unicodeValue),-1!==i)?a.nonDefaultUVS[i].glyphID:0}getCharacterSet(){let t=this.cmap;switch(t.version){case 0:return $66a5b9fb5318558a$export$d02631cccf789723(0,t.codeMap.length);case 4:{let r=[],n=t.endCode.toArray();for(let i=0;i=i.glyphID&&t<=i.glyphID+(i.endCharCode-i.startCharCode)&&n.push(i.startCharCode+(t-i.glyphID));return n}case 13:{let n=[];for(let i of r.groups.toArray())t===i.glyphID&&n.push(...$66a5b9fb5318558a$export$d02631cccf789723(i.startCharCode,i.endCharCode+1));return n}default:throw new Error(`Unknown cmap format ${r.version}`)}}constructor(t){if(this.encoding=null,this.cmap=this.findSubtable(t,[[3,10],[0,6],[0,4],[3,1],[0,3],[0,2],[0,1],[0,0]]),!this.cmap)for(let r of t.tables){let t=$e2613b812f052cbe$export$1dceb3c14ed68bee($e2613b812f052cbe$export$badc544e0651b6b1(r.platformID,r.encodingID,r.table.language-1));t&&(this.cmap=r.table,this.encoding=t)}if(!this.cmap)throw new Error("Could not find a supported cmap table");this.uvs=this.findSubtable(t,[[0,5]]),this.uvs&&14!==this.uvs.version&&(this.uvs=null)}}(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0d6e160064c86e50$export$2e2bcd8739ae039.prototype,"getCharacterSet",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0d6e160064c86e50$export$2e2bcd8739ae039.prototype,"codePointsForGlyph",null);class $4646d52c2a559cdb$export$2e2bcd8739ae039{process(t,r){for(let n=0;n=0&&(a=o.pairs[n].value);break;case 2:let s=0,l=0;s=t>=o.leftTable.firstGlyph&&t=o.rightTable.firstGlyph&&r=o.glyphCount||r>=o.glyphCount)return 0;a=o.kernValue[o.kernIndex[o.leftClass[t]*o.rightClassCount+o.rightClass[r]]];break;default:throw new Error(`Unsupported kerning sub-table format ${i.format}`)}i.coverage.override?n=a:n+=a}return n}constructor(t){this.kern=t.kern}}class $a57a26817cd35108$export$2e2bcd8739ae039{positionGlyphs(t,r){let n=0,i=0;for(let a=0;a1&&(o.minX+=(a.codePoints.length-1)*o.width/a.codePoints.length);let s=-r[n].xAdvance,l=0,u=this.font.unitsPerEm/16;for(let a=n+1;a<=i;a++){let n=t[a],i=n.cbox,h=r[a],p=this.getCombiningClass(n.codePoints[0]);if("Not_Reordered"!==p){switch(h.xOffset=h.yOffset=0,p){case"Double_Above":case"Double_Below":h.xOffset+=o.minX-i.width/2-i.minX;break;case"Attached_Below_Left":case"Below_Left":case"Above_Left":h.xOffset+=o.minX-i.minX;break;case"Attached_Above_Right":case"Below_Right":case"Above_Right":h.xOffset+=o.maxX-i.width-i.minX;break;default:h.xOffset+=o.minX+(o.width-i.width)/2-i.minX}switch(p){case"Double_Below":case"Below_Left":case"Below":case"Below_Right":case"Attached_Below_Left":case"Attached_Below":"Attached_Below_Left"!==p&&"Attached_Below"!==p||(o.minY+=u),h.yOffset=-o.minY-i.maxY,o.minY+=i.height;break;case"Double_Above":case"Above_Left":case"Above":case"Above_Right":case"Attached_Above":case"Attached_Above_Right":"Attached_Above"!==p&&"Attached_Above_Right"!==p||(o.maxY+=u),h.yOffset=o.maxY-i.minY,o.maxY+=i.height}h.xAdvance=h.yAdvance=0,h.xOffset+=s,h.yOffset+=l}else s-=h.xAdvance,l-=h.yAdvance}}getCombiningClass(t){let r=(0,l.getCombiningClass)(t);if(3584==(-256&t))if("Not_Reordered"===r)switch(t){case 3633:case 3636:case 3637:case 3638:case 3639:case 3655:case 3660:case 3645:case 3662:return"Above_Right";case 3761:case 3764:case 3765:case 3766:case 3767:case 3771:case 3788:case 3789:return"Above";case 3772:return"Below"}else if(3642===t)return"Below_Right";switch(r){case"CCC10":case"CCC11":case"CCC12":case"CCC13":case"CCC14":case"CCC15":case"CCC16":case"CCC17":case"CCC18":case"CCC20":case"CCC22":case"CCC29":case"CCC32":case"CCC118":case"CCC129":case"CCC132":return"Below";case"CCC23":return"Attached_Above";case"CCC24":case"CCC107":return"Above_Right";case"CCC25":case"CCC19":return"Above_Left";case"CCC26":case"CCC27":case"CCC28":case"CCC30":case"CCC31":case"CCC33":case"CCC34":case"CCC35":case"CCC36":case"CCC122":case"CCC130":return"Above";case"CCC21":break;case"CCC103":return"Below_Right"}return r}constructor(t){this.font=t}}class $0e2da1c4ce69e8ad$export$2e2bcd8739ae039{get width(){return this.maxX-this.minX}get height(){return this.maxY-this.minY}addPoint(t,r){Math.abs(t)!==1/0&&(tthis.maxX&&(this.maxX=t)),Math.abs(r)!==1/0&&(rthis.maxY&&(this.maxY=r))}copy(){return new $0e2da1c4ce69e8ad$export$2e2bcd8739ae039(this.minX,this.minY,this.maxX,this.maxY)}constructor(t=1/0,r=1/0,n=-1/0,i=-1/0){this.minX=t,this.minY=r,this.maxX=n,this.maxY=i}}const Rn={Caucasian_Albanian:"aghb",Arabic:"arab",Imperial_Aramaic:"armi",Armenian:"armn",Avestan:"avst",Balinese:"bali",Bamum:"bamu",Bassa_Vah:"bass",Batak:"batk",Bengali:["bng2","beng"],Bopomofo:"bopo",Brahmi:"brah",Braille:"brai",Buginese:"bugi",Buhid:"buhd",Chakma:"cakm",Canadian_Aboriginal:"cans",Carian:"cari",Cham:"cham",Cherokee:"cher",Coptic:"copt",Cypriot:"cprt",Cyrillic:"cyrl",Devanagari:["dev2","deva"],Deseret:"dsrt",Duployan:"dupl",Egyptian_Hieroglyphs:"egyp",Elbasan:"elba",Ethiopic:"ethi",Georgian:"geor",Glagolitic:"glag",Gothic:"goth",Grantha:"gran",Greek:"grek",Gujarati:["gjr2","gujr"],Gurmukhi:["gur2","guru"],Hangul:"hang",Han:"hani",Hanunoo:"hano",Hebrew:"hebr",Hiragana:"hira",Pahawh_Hmong:"hmng",Katakana_Or_Hiragana:"hrkt",Old_Italic:"ital",Javanese:"java",Kayah_Li:"kali",Katakana:"kana",Kharoshthi:"khar",Khmer:"khmr",Khojki:"khoj",Kannada:["knd2","knda"],Kaithi:"kthi",Tai_Tham:"lana",Lao:"lao ",Latin:"latn",Lepcha:"lepc",Limbu:"limb",Linear_A:"lina",Linear_B:"linb",Lisu:"lisu",Lycian:"lyci",Lydian:"lydi",Mahajani:"mahj",Mandaic:"mand",Manichaean:"mani",Mende_Kikakui:"mend",Meroitic_Cursive:"merc",Meroitic_Hieroglyphs:"mero",Malayalam:["mlm2","mlym"],Modi:"modi",Mongolian:"mong",Mro:"mroo",Meetei_Mayek:"mtei",Myanmar:["mym2","mymr"],Old_North_Arabian:"narb",Nabataean:"nbat",Nko:"nko ",Ogham:"ogam",Ol_Chiki:"olck",Old_Turkic:"orkh",Oriya:["ory2","orya"],Osmanya:"osma",Palmyrene:"palm",Pau_Cin_Hau:"pauc",Old_Permic:"perm",Phags_Pa:"phag",Inscriptional_Pahlavi:"phli",Psalter_Pahlavi:"phlp",Phoenician:"phnx",Miao:"plrd",Inscriptional_Parthian:"prti",Rejang:"rjng",Runic:"runr",Samaritan:"samr",Old_South_Arabian:"sarb",Saurashtra:"saur",Shavian:"shaw",Sharada:"shrd",Siddham:"sidd",Khudawadi:"sind",Sinhala:"sinh",Sora_Sompeng:"sora",Sundanese:"sund",Syloti_Nagri:"sylo",Syriac:"syrc",Tagbanwa:"tagb",Takri:"takr",Tai_Le:"tale",New_Tai_Lue:"talu",Tamil:["tml2","taml"],Tai_Viet:"tavt",Telugu:["tel2","telu"],Tifinagh:"tfng",Tagalog:"tglg",Thaana:"thaa",Thai:"thai",Tibetan:"tibt",Tirhuta:"tirh",Ugaritic:"ugar",Vai:"vai ",Warang_Citi:"wara",Old_Persian:"xpeo",Cuneiform:"xsux",Yi:"yi ",Inherited:"zinh",Common:"zyyy",Unknown:"zzzz"},Dn={};for(let t in Rn){let r=Rn[t];if(Array.isArray(r))for(let n of r)Dn[n]=t;else Dn[r]=t}const Ln={arab:!0,hebr:!0,syrc:!0,thaa:!0,cprt:!0,khar:!0,phnx:!0,"nko ":!0,lydi:!0,avst:!0,armi:!0,phli:!0,prti:!0,sarb:!0,orkh:!0,samr:!0,mand:!0,merc:!0,mero:!0,mani:!0,mend:!0,nbat:!0,narb:!0,palm:!0,phlp:!0};function $e38a1a895f6aeb54$export$9fddb9d0dd7d8a54(t){return Ln[t]?"rtl":"ltr"}class $b19c79ec7a94fa39$export$2e2bcd8739ae039{get advanceWidth(){let t=0;for(let r of this.positions)t+=r.xAdvance;return t}get advanceHeight(){let t=0;for(let r of this.positions)t+=r.yAdvance;return t}get bbox(){let t=new $0e2da1c4ce69e8ad$export$2e2bcd8739ae039,r=0,n=0;for(let i=0;i[Mn[t].code,Mn[t][r]],Fn={rlig:$2b7f887ebcb5888a$var$feature("ligatures","requiredLigatures"),clig:$2b7f887ebcb5888a$var$feature("ligatures","contextualLigatures"),dlig:$2b7f887ebcb5888a$var$feature("ligatures","rareLigatures"),hlig:$2b7f887ebcb5888a$var$feature("ligatures","historicalLigatures"),liga:$2b7f887ebcb5888a$var$feature("ligatures","commonLigatures"),hist:$2b7f887ebcb5888a$var$feature("ligatures","historicalLigatures"),smcp:$2b7f887ebcb5888a$var$feature("lowerCase","lowerCaseSmallCaps"),pcap:$2b7f887ebcb5888a$var$feature("lowerCase","lowerCasePetiteCaps"),frac:$2b7f887ebcb5888a$var$feature("fractions","diagonalFractions"),dnom:$2b7f887ebcb5888a$var$feature("fractions","diagonalFractions"),numr:$2b7f887ebcb5888a$var$feature("fractions","diagonalFractions"),afrc:$2b7f887ebcb5888a$var$feature("fractions","verticalFractions"),case:$2b7f887ebcb5888a$var$feature("caseSensitiveLayout","caseSensitiveLayout"),ccmp:$2b7f887ebcb5888a$var$feature("unicodeDecomposition","canonicalComposition"),cpct:$2b7f887ebcb5888a$var$feature("CJKVerticalRomanPlacement","CJKVerticalRomanCentered"),valt:$2b7f887ebcb5888a$var$feature("CJKVerticalRomanPlacement","CJKVerticalRomanCentered"),swsh:$2b7f887ebcb5888a$var$feature("contextualAlternates","swashAlternates"),cswh:$2b7f887ebcb5888a$var$feature("contextualAlternates","contextualSwashAlternates"),curs:$2b7f887ebcb5888a$var$feature("cursiveConnection","cursive"),c2pc:$2b7f887ebcb5888a$var$feature("upperCase","upperCasePetiteCaps"),c2sc:$2b7f887ebcb5888a$var$feature("upperCase","upperCaseSmallCaps"),init:$2b7f887ebcb5888a$var$feature("smartSwash","wordInitialSwashes"),fin2:$2b7f887ebcb5888a$var$feature("smartSwash","wordFinalSwashes"),medi:$2b7f887ebcb5888a$var$feature("smartSwash","nonFinalSwashes"),med2:$2b7f887ebcb5888a$var$feature("smartSwash","nonFinalSwashes"),fin3:$2b7f887ebcb5888a$var$feature("smartSwash","wordFinalSwashes"),fina:$2b7f887ebcb5888a$var$feature("smartSwash","wordFinalSwashes"),pkna:$2b7f887ebcb5888a$var$feature("kanaSpacing","proportionalKana"),half:$2b7f887ebcb5888a$var$feature("textSpacing","halfWidthText"),halt:$2b7f887ebcb5888a$var$feature("textSpacing","altHalfWidthText"),hkna:$2b7f887ebcb5888a$var$feature("alternateKana","alternateHorizKana"),vkna:$2b7f887ebcb5888a$var$feature("alternateKana","alternateVertKana"),ital:$2b7f887ebcb5888a$var$feature("italicCJKRoman","CJKItalicRoman"),lnum:$2b7f887ebcb5888a$var$feature("numberCase","upperCaseNumbers"),onum:$2b7f887ebcb5888a$var$feature("numberCase","lowerCaseNumbers"),mgrk:$2b7f887ebcb5888a$var$feature("mathematicalExtras","mathematicalGreek"),calt:$2b7f887ebcb5888a$var$feature("contextualAlternates","contextualAlternates"),vrt2:$2b7f887ebcb5888a$var$feature("verticalSubstitution","substituteVerticalForms"),vert:$2b7f887ebcb5888a$var$feature("verticalSubstitution","substituteVerticalForms"),tnum:$2b7f887ebcb5888a$var$feature("numberSpacing","monospacedNumbers"),pnum:$2b7f887ebcb5888a$var$feature("numberSpacing","proportionalNumbers"),sups:$2b7f887ebcb5888a$var$feature("verticalPosition","superiors"),subs:$2b7f887ebcb5888a$var$feature("verticalPosition","inferiors"),ordn:$2b7f887ebcb5888a$var$feature("verticalPosition","ordinals"),pwid:$2b7f887ebcb5888a$var$feature("textSpacing","proportionalText"),hwid:$2b7f887ebcb5888a$var$feature("textSpacing","halfWidthText"),qwid:$2b7f887ebcb5888a$var$feature("textSpacing","quarterWidthText"),twid:$2b7f887ebcb5888a$var$feature("textSpacing","thirdWidthText"),fwid:$2b7f887ebcb5888a$var$feature("textSpacing","proportionalText"),palt:$2b7f887ebcb5888a$var$feature("textSpacing","altProportionalText"),trad:$2b7f887ebcb5888a$var$feature("characterShape","traditionalCharacters"),smpl:$2b7f887ebcb5888a$var$feature("characterShape","simplifiedCharacters"),jp78:$2b7f887ebcb5888a$var$feature("characterShape","JIS1978Characters"),jp83:$2b7f887ebcb5888a$var$feature("characterShape","JIS1983Characters"),jp90:$2b7f887ebcb5888a$var$feature("characterShape","JIS1990Characters"),jp04:$2b7f887ebcb5888a$var$feature("characterShape","JIS2004Characters"),expt:$2b7f887ebcb5888a$var$feature("characterShape","expertCharacters"),hojo:$2b7f887ebcb5888a$var$feature("characterShape","hojoCharacters"),nlck:$2b7f887ebcb5888a$var$feature("characterShape","NLCCharacters"),tnam:$2b7f887ebcb5888a$var$feature("characterShape","traditionalNamesCharacters"),ruby:$2b7f887ebcb5888a$var$feature("rubyKana","rubyKana"),titl:$2b7f887ebcb5888a$var$feature("styleOptions","titlingCaps"),zero:$2b7f887ebcb5888a$var$feature("typographicExtras","slashedZero"),ss01:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltOne"),ss02:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltTwo"),ss03:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltThree"),ss04:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltFour"),ss05:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltFive"),ss06:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltSix"),ss07:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltSeven"),ss08:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltEight"),ss09:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltNine"),ss10:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltTen"),ss11:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltEleven"),ss12:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltTwelve"),ss13:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltThirteen"),ss14:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltFourteen"),ss15:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltFifteen"),ss16:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltSixteen"),ss17:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltSeventeen"),ss18:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltEighteen"),ss19:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltNineteen"),ss20:$2b7f887ebcb5888a$var$feature("stylisticAlternatives","stylisticAltTwenty")};for(let t=1;t<=99;t++)Fn[`cv${`00${t}`.slice(-2)}`]=[Mn.characterAlternatives.code,t];let Nn={};for(let t in Fn){let r=Fn[t];null==Nn[r[0]]&&(Nn[r[0]]={}),Nn[r[0]][r[1]]=t}function $2b7f887ebcb5888a$var$mapFeatureStrings(t){let[r,n]=t;if(isNaN(r))var i=Mn[r]&&Mn[r].code;else i=r;if(isNaN(n))var a=Mn[r]&&Mn[r][n];else a=n;return[i,a]}class $f3d63ae925545400$export$2e2bcd8739ae039{lookup(t){switch(this.table.version){case 0:return this.table.values.getItem(t);case 2:case 4:{let i=0,a=this.table.binarySearchHeader.nUnits-1;for(;i<=a;){var r=i+a>>1;if(65535===(n=this.table.segments[r]).firstGlyph)return null;if(tn.lastGlyph))return 2===this.table.version?n.value:n.values[t-n.firstGlyph];i=r+1}}return null}case 6:{let i=0,a=this.table.binarySearchHeader.nUnits-1;for(;i<=a;){var n;r=i+a>>1;if(65535===(n=this.table.segments[r]).glyph)return null;if(tn.glyph))return n.value;i=r+1}}return null}case 8:return this.table.values[t-this.table.firstGlyph];default:throw new Error(`Unknown lookup table format: ${this.table.version}`)}}glyphsForValue(t){let r=[];switch(this.table.version){case 2:case 4:for(let n of this.table.segments)if(2===this.table.version&&n.value===t)r.push(...$66a5b9fb5318558a$export$d02631cccf789723(n.firstGlyph,n.lastGlyph+1));else for(let i=0;i=-1;){let r=null,s=1,l=!0;a===t.length||-1===a?s=0:(r=t[a],65535===r.id?s=2:(s=this.lookupTable.lookup(r.id),null==s&&(s=1)));let u=this.stateTable.stateArray.getItem(i)[s],h=this.stateTable.entryTable.getItem(u);0!==s&&2!==s&&(n(r,h,a),l=!(16384&h.flags)),i=h.newState,l&&(a+=o)}return t}traverse(t,r=0,n=new Set){if(n.has(r))return;n.add(r);let{nClasses:i,stateArray:a,entryTable:o}=this.stateTable,s=a.getItem(r);for(let r=4;r=0;)65535===t[n].id&&t.splice(n,1),n--;return t}processSubtable(t,r){if(this.subtable=t,this.glyphs=r,4===this.subtable.type)return void this.processNoncontextualSubstitutions(this.subtable,this.glyphs);this.ligatureStack=[],this.markedGlyph=null,this.firstGlyph=null,this.lastGlyph=null,this.markedIndex=null;let n=this.getStateMachine(t),i=this.getProcessor(),a=!!(this.subtable.coverage&$n);return n.process(this.glyphs,a,i)}getStateMachine(t){return new $860c6347bb941b91$export$2e2bcd8739ae039(t.table.stateTable)}getProcessor(){switch(this.subtable.type){case 0:return this.processIndicRearragement;case 1:return this.processContextualSubstitution;case 2:return this.processLigature;case 4:return this.processNoncontextualSubstitutions;case 5:return this.processGlyphInsertion;default:throw new Error(`Invalid morx subtable type: ${this.subtable.type}`)}}processIndicRearragement(t,r,n){32768&r.flags&&(this.firstGlyph=n),8192&r.flags&&(this.lastGlyph=n),function $99be642f82069918$var$reorderGlyphs(t,r,n,i){switch(r){case 0:return t;case 1:return $99be642f82069918$var$swap(t,[n,1],[i,0]);case 2:return $99be642f82069918$var$swap(t,[n,0],[i,1]);case 3:return $99be642f82069918$var$swap(t,[n,1],[i,1]);case 4:return $99be642f82069918$var$swap(t,[n,2],[i,0]);case 5:return $99be642f82069918$var$swap(t,[n,2],[i,0],!0,!1);case 6:return $99be642f82069918$var$swap(t,[n,0],[i,2]);case 7:return $99be642f82069918$var$swap(t,[n,0],[i,2],!1,!0);case 8:return $99be642f82069918$var$swap(t,[n,1],[i,2]);case 9:return $99be642f82069918$var$swap(t,[n,1],[i,2],!1,!0);case 10:return $99be642f82069918$var$swap(t,[n,2],[i,1]);case 11:return $99be642f82069918$var$swap(t,[n,2],[i,1],!0,!1);case 12:return $99be642f82069918$var$swap(t,[n,2],[i,2]);case 13:return $99be642f82069918$var$swap(t,[n,2],[i,2],!0,!1);case 14:return $99be642f82069918$var$swap(t,[n,2],[i,2],!1,!0);case 15:return $99be642f82069918$var$swap(t,[n,2],[i,2],!0,!0);default:throw new Error(`Unknown verb: ${r}`)}}(this.glyphs,15&r.flags,this.firstGlyph,this.lastGlyph)}processContextualSubstitution(t,r,n){let i=this.subtable.table.substitutionTable.items;if(65535!==r.markIndex){let n=i.getItem(r.markIndex),o=new $f3d63ae925545400$export$2e2bcd8739ae039(n);t=this.glyphs[this.markedGlyph],(a=o.lookup(t.id))&&(this.glyphs[this.markedGlyph]=this.font.getGlyph(a,t.codePoints))}if(65535!==r.currentIndex){let o=i.getItem(r.currentIndex),s=new $f3d63ae925545400$export$2e2bcd8739ae039(o);var a;t=this.glyphs[n],(a=s.lookup(t.id))&&(this.glyphs[n]=this.font.getGlyph(a,t.codePoints))}32768&r.flags&&(this.markedGlyph=n)}processLigature(t,r,n){if(32768&r.flags&&this.ligatureStack.push(n),8192&r.flags){let t=this.subtable.table.ligatureActions,n=this.subtable.table.components,i=this.subtable.table.ligatureList,a=r.action,o=!1,s=0,l=[],u=[];for(;!o;){let r=this.ligatureStack.pop();l.unshift(...this.glyphs[r].codePoints);let h=t.getItem(a++);o=!!(2147483648&h);let p=!!(1073741824&h),g=(1073741823&h)<<2>>2;if(g+=this.glyphs[r].id,s+=n.getItem(g),o||p){let t=i.getItem(s);this.glyphs[r]=this.font.getGlyph(t,l),u.push(r),s=0,l=[]}else this.glyphs[r]=this.font.getGlyph(65535)}this.ligatureStack.push(...u)}}processNoncontextualSubstitutions(t,r,n){let i=new $f3d63ae925545400$export$2e2bcd8739ae039(t.table.lookupTable);for(n=0;n>>5,n=!!(1024&r.flags);this._insertGlyphs(this.markedIndex,r.markedInsertIndex,t,n)}if(65535!==r.currentInsertIndex){let t=(992&r.flags)>>>5,i=!!(2048&r.flags);this._insertGlyphs(n,r.currentInsertIndex,t,i)}}getSupportedFeatures(){let t=[];for(let r of this.morx.chains)for(let n of r.features)t.push([n.featureType,n.featureSetting]);return t}generateInputs(t){return this.inputCache||this.generateInputCache(),this.inputCache[t]||[]}generateInputCache(){this.inputCache={};for(let t of this.morx.chains){let r=t.defaultFlags;for(let n of t.subtables)n.subFeatureFlags&r&&this.generateInputsForSubtable(n)}}generateInputsForSubtable(t){if(2!==t.type)return;if(!!(t.coverage&$n))throw new Error("Reverse subtable, not supported.");this.subtable=t,this.ligatureStack=[];let r=this.getStateMachine(t),n=this.getProcessor(),i=[],a=[];this.glyphs=[],r.traverse({enter:(t,r)=>{let o=this.glyphs;a.push({glyphs:o.slice(),ligatureStack:this.ligatureStack.slice()});let s=this.font.getGlyph(t);i.push(s),o.push(i[i.length-1]),n(o[o.length-1],r,o.length-1);let l=0,u=0;for(let t=0;tt.id),r=this.inputCache[u];r?r.push(t):this.inputCache[u]=[t]}},exit:()=>{({glyphs:this.glyphs,ligatureStack:this.ligatureStack}=a.pop()),i.pop()}})}constructor(t){this.processIndicRearragement=this.processIndicRearragement.bind(this),this.processContextualSubstitution=this.processContextualSubstitution.bind(this),this.processLigature=this.processLigature.bind(this),this.processNoncontextualSubstitutions=this.processNoncontextualSubstitutions.bind(this),this.processGlyphInsertion=this.processGlyphInsertion.bind(this),this.font=t,this.morx=t.morx,this.inputCache=null}}function $99be642f82069918$var$swap(t,r,n,i=!1,a=!1){let o=t.splice(n[0]-(n[1]-1),n[1]);a&&o.reverse();let s=t.splice(r[0],r[1],...o);return i&&s.reverse(),t.splice(n[0]-(r[1]-1),0,...s),t}(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$99be642f82069918$export$2e2bcd8739ae039.prototype,"getStateMachine",null);class $860fcbd64bc12fbc$export$2e2bcd8739ae039{substitute(t){"rtl"===t.direction&&t.glyphs.reverse(),this.morxProcessor.process(t.glyphs,function $2b7f887ebcb5888a$export$b813f7d2a1677c16(t){let r={};for(let n in t){let i;(i=Fn[n])&&(null==r[i[0]]&&(r[i[0]]={}),r[i[0]][i[1]]=t[n])}return r}(t.features))}getAvailableFeatures(t,r){return function $2b7f887ebcb5888a$export$bd6df347a4f391c4(t){let r={};if(Array.isArray(t))for(let n=0;n0&&t.applyFeatures(i,r,n)}constructor(t,r,n){this.font=t,this.script=r,this.direction=n,this.stages=[],this.globalFeatures={},this.allFeatures={}}}const zn=["rvrn"],Wn=["ccmp","locl","rlig","mark","mkmk"],Un=["frac","numr","dnom"],jn=["calt","clig","liga","rclt","curs","kern"],Vn={ltr:["ltra","ltrm"],rtl:["rtla","rtlm"]};class $d28fb665ee343afc$export$2e2bcd8739ae039{static plan(t,r,n){this.planPreprocessing(t),this.planFeatures(t),this.planPostprocessing(t,n),t.assignGlobalFeatures(r),this.assignFeatures(t,r)}static planPreprocessing(t){t.add({global:[...zn,...Vn[t.direction]],local:Un})}static planFeatures(t){}static planPostprocessing(t,r){t.add([...Wn,...jn]),t.setFeatureOverrides(r)}static assignFeatures(t,r){for(let t=0;t0&&(0,l.isDigit)(r[i-1].codePoints[0]);)r[i-1].features.numr=!0,r[i-1].features.frac=!0,i--;for(;athis.index||this.index>=this.glyphs.length?null:this.glyphs[this.index]}next(){return this.move(1)}prev(){return this.move(-1)}peek(t=1){let r=this.index,n=this.increment(t);return this.index=r,n}peekIndex(t=1){let r=this.index;this.increment(t);let n=this.index;return this.index=r,n}increment(t=1){let r=t<0?-1:1;for(t=Math.abs(t);t--;)this.move(r);return this.glyphs[this.index]}constructor(t,r){this.glyphs=t,this.reset(r)}}const ni=["DFLT","dflt","latn"];class $7b226e6bbeadedeb$export$2e2bcd8739ae039{findScript(t){if(null==this.table.scriptList)return null;Array.isArray(t)||(t=[t]);for(let r of t)for(let t of this.table.scriptList)if(t.tag===r)return t;return null}selectScript(t,r,n){let i,a=!1;if(!this.script||t!==this.scriptTag){if(i=this.findScript(t),i||(i=this.findScript(ni)),!i)return this.scriptTag;this.scriptTag=i.tag,this.script=i.script,this.language=null,this.languageTag=null,a=!0}if(n&&n===this.direction||(this.direction=n||$e38a1a895f6aeb54$export$9fddb9d0dd7d8a54(t)),r&&r.length<4&&(r+=" ".repeat(4-r.length)),!r||r!==this.languageTag){this.language=null;for(let t of this.script.langSysRecords)if(t.tag===r){this.language=t.langSys,this.languageTag=t.tag;break}this.language||(this.language=this.script.defaultLangSys,this.languageTag=null),a=!0}if(a&&(this.features={},this.language))for(let t of this.language.featureIndexes){let r=this.table.featureList[t],n=this.substituteFeatureForVariations(t);this.features[r.tag]=n||r.feature}return this.scriptTag}lookupsForFeatures(t=[],r){let n=[];for(let i of t){let t=this.features[i];if(t)for(let a of t.lookupListIndexes)r&&-1!==r.indexOf(a)||n.push({feature:i,index:a,lookup:this.table.lookupList.get(a)})}return n.sort((t,r)=>t.index-r.index),n}substituteFeatureForVariations(t){if(-1===this.variationsIndex)return null;let r=this.table.featureVariations.featureVariationRecords[this.variationsIndex].featureTableSubstitution.substitutions;for(let n of r)if(n.featureIndex===t)return n.alternateFeatureTable;return null}findVariationsIndex(t){let r=this.table.featureVariations;if(!r)return-1;let n=r.featureVariationRecords;for(let r=0;r{let n=t.axisIndext===r.id)}sequenceMatchIndices(t,r){return this.match(t,r,(t,r)=>this.currentFeature in r.features&&t===r.id,[])}coverageSequenceMatches(t,r){return this.match(t,r,(t,r)=>this.coverageIndex(t,r.id)>=0)}getClassID(t,r){switch(r.version){case 1:let n=t-r.startGlyph;if(n>=0&&nt===this.getClassID(r.id,n))}applyContext(t){let r,n;switch(t.version){case 1:if(r=this.coverageIndex(t.coverage),-1===r)return!1;n=t.ruleSets[r];for(let t of n)if(this.sequenceMatches(1,t.input))return this.applyLookupList(t.lookupRecords);break;case 2:if(-1===this.coverageIndex(t.coverage))return!1;if(r=this.getClassID(this.glyphIterator.cur.id,t.classDef),-1===r)return!1;n=t.classSet[r];for(let r of n)if(this.classSequenceMatches(1,r.classes,t.classDef))return this.applyLookupList(r.lookupRecords);break;case 3:if(this.coverageSequenceMatches(0,t.coverages))return this.applyLookupList(t.lookupRecords)}return!1}applyChainingContext(t){let r;switch(t.version){case 1:if(r=this.coverageIndex(t.coverage),-1===r)return!1;let n=t.chainRuleSets[r];for(let t of n)if(this.sequenceMatches(-t.backtrack.length,t.backtrack)&&this.sequenceMatches(1,t.input)&&this.sequenceMatches(1+t.input.length,t.lookahead))return this.applyLookupList(t.lookupRecords);break;case 2:if(-1===this.coverageIndex(t.coverage))return!1;r=this.getClassID(this.glyphIterator.cur.id,t.inputClassDef);let i=t.chainClassSet[r];if(!i)return!1;for(let r of i)if(this.classSequenceMatches(-r.backtrack.length,r.backtrack,t.backtrackClassDef)&&this.classSequenceMatches(1,r.input,t.inputClassDef)&&this.classSequenceMatches(1+r.input.length,r.lookahead,t.lookaheadClassDef))return this.applyLookupList(r.lookupRecords);break;case 3:if(this.coverageSequenceMatches(-t.backtrackGlyphCount,t.backtrackCoverage)&&this.coverageSequenceMatches(0,t.inputCoverage)&&this.coverageSequenceMatches(t.inputGlyphCount,t.lookaheadCoverage))return this.applyLookupList(t.lookupRecords)}return!1}constructor(t,r){this.font=t,this.table=r,this.script=null,this.scriptTag=null,this.language=null,this.languageTag=null,this.features={},this.lookups={},this.variationsIndex=t._variationProcessor?this.findVariationsIndex(t._variationProcessor.normalizedCoords):-1,this.selectScript(),this.glyphs=[],this.positions=[],this.ligatureID=1,this.currentFeature=null}}class $f22bb23c9fd478d8$export$2e2bcd8739ae039{get id(){return this._id}set id(t){this._id=t,this.substituted=!0;let r=this._font.GDEF;if(r&&r.glyphClassDef){let n=$7b226e6bbeadedeb$export$2e2bcd8739ae039.prototype.getClassID(t,r.glyphClassDef);this.isBase=1===n,this.isLigature=2===n,this.isMark=3===n,this.markAttachmentType=r.markAttachClassDef?$7b226e6bbeadedeb$export$2e2bcd8739ae039.prototype.getClassID(t,r.markAttachClassDef):0}else this.isMark=this.codePoints.length>0&&this.codePoints.every(l.isMark),this.isBase=!this.isMark,this.isLigature=this.codePoints.length>1,this.markAttachmentType=0}copy(){return new $f22bb23c9fd478d8$export$2e2bcd8739ae039(this._font,this.id,this.codePoints,this.features)}constructor(t,r,n=[],i){if(this._font=t,this.codePoints=n,this.id=r,this.features={},Array.isArray(i))for(let t=0;t4352<=t&&t<=4447||43360<=t&&t<=43388)(t)?1:(t=>4448<=t&&t<=4519||55216<=t&&t<=55238)(t)?2:(t=>4520<=t&&t<=4607||55243<=t&&t<=55291)(t)?3:(t=>t-ii<11173&&(t-ii)%28==0)(t)?4:(t=>ii<=t&&t<=55204)(t)?5:(t=>12334<=t&&t<=12335)(t)?6:0}const li=1,ci=2,ui=4,hi=5,fi=[[[0,0],[0,1],[0,0],[0,0],[li,2],[li,3],[hi,0]],[[0,0],[0,1],[ci,2],[0,0],[li,2],[li,3],[hi,0]],[[0,0],[0,1],[0,0],[ci,3],[li,2],[li,3],[ui,0]],[[0,0],[0,1],[0,0],[0,0],[li,2],[li,3],[ui,0]]];function $fa1d9fd80dd7279e$var$getGlyph(t,r,n){return new $f22bb23c9fd478d8$export$2e2bcd8739ae039(t,t.glyphForCodePoint(r).id,[r],n)}function $fa1d9fd80dd7279e$var$decompose(t,r,n){let i=t[r],a=i.codePoints[0]-ii,o=si+a%28;a=a/28|0;let s=ai+a/21|0,l=oi+a%21;if(!n.hasGlyphForCodePoint(s)||!n.hasGlyphForCodePoint(l)||o!==si&&!n.hasGlyphForCodePoint(o))return r;let u=$fa1d9fd80dd7279e$var$getGlyph(n,s,i.features);u.features.ljmo=!0;let h=$fa1d9fd80dd7279e$var$getGlyph(n,l,i.features);h.features.vjmo=!0;let p=[u,h];if(o>si){let t=$fa1d9fd80dd7279e$var$getGlyph(n,o,i.features);t.features.tjmo=!0,p.push(t)}return t.splice(r,1,...p),r+p.length-1}function $fa1d9fd80dd7279e$var$compose(t,r,n){let i,a,o,s,l=t[r],u=$fa1d9fd80dd7279e$var$getType(t[r].codePoints[0]),h=t[r-1].codePoints[0],p=$fa1d9fd80dd7279e$var$getType(h);if(4===p&&3===u)i=h,s=l;else{2===u?(a=t[r-1],o=l):(a=t[r-2],o=t[r-1],s=l);let n=a.codePoints[0],h=o.codePoints[0];(t=>ai<=t&&t<=4370)(n)&&(t=>oi<=t&&t<=4469)(h)&&(i=ii+28*(21*(n-ai)+(h-oi)))}let g=s&&s.codePoints[0]||si;if(null!=i&&(g===si||(t=>1<=t&&t<=4546)(g))){let a=i+(g-si);if(n.hasGlyphForCodePoint(a)){let i=2===p?3:2;return t.splice(r-i+1,i,$fa1d9fd80dd7279e$var$getGlyph(n,a,l.features)),r-i+1}}return a&&(a.features.ljmo=!0),o&&(o.features.vjmo=!0),s&&(s.features.tjmo=!0),4===p?($fa1d9fd80dd7279e$var$decompose(t,r-1,n),r+1):r}function $fa1d9fd80dd7279e$var$reorderToneMark(t,r,n){let i=t[r],a=t[r].codePoints[0];if(0===n.glyphForCodePoint(a).advanceWidth)return;let o=function $fa1d9fd80dd7279e$var$getLength(t){switch($fa1d9fd80dd7279e$var$getType(t)){case 4:case 5:return 1;case 2:return 2;case 3:return 3}}(t[r-1].codePoints[0]);return t.splice(r,1),t.splice(r-o,0,i)}function $fa1d9fd80dd7279e$var$insertDottedCircle(t,r,n){let i=t[r],a=t[r].codePoints[0];if(n.hasGlyphForCodePoint(9676)){let o=$fa1d9fd80dd7279e$var$getGlyph(n,9676,i.features),s=0===n.glyphForCodePoint(a).advanceWidth?r:r+1;t.splice(s,0,o),r++}return r}var di;di=JSON.parse('{"stateTable":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,14,15,16,17],[0,0,0,18,19,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,28,29,30,31,32,33,0,34,0,0,35,36,0,0,37,0],[0,0,0,38,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,39,0,0,0,40,41,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,12,43,0,0,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,0,43,0,0,0,0],[0,0,0,45,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,50,0,0,51,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,52,0,0,0,0,0,0,0,0],[0,0,0,53,54,55,56,57,58,0,59,0,0,60,61,0,0,62,0],[0,0,0,4,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,63,64,0,0,40,41,0,9,0,10,0,0,0,42,0,63,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,0,2,16,0],[0,0,0,18,65,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,0,0],[0,0,0,69,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,73,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,75,0,0,0,76,77,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,25,79,0,0,0,0],[0,0,0,18,19,20,74,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,81,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,86,0,0,87,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,88,0,0,0,0,0,0,0,0],[0,0,0,18,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,89,90,0,0,76,77,0,23,0,24,0,0,0,78,0,89,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,0,0],[0,0,0,94,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,96,0,0,0,97,98,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,35,100,0,0,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,102,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,107,0,0,108,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,109,0,0,0,0,0,0,0,0],[0,0,0,28,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,110,111,0,0,97,98,0,33,0,34,0,0,0,99,0,110,0,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,0,0],[0,0,0,0,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,0,0,115,116,117,118,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,39,0,122,0,123,123,8,9,0,10,0,0,0,42,0,39,0,0],[0,124,64,0,0,0,0,0,0,0,0,0,0,0,0,0,124,0,0],[0,39,0,0,0,121,125,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,126,126,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,47,47,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,128,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,129,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,50,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,134,0,0,0,0,0,0,0,0],[0,0,0,135,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,136,0,0,0,137,138,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,60,140,0,0,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,0,140,0,0,0,0],[0,0,0,142,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,147,0,0,148,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,149,0,0,0,0,0,0,0,0],[0,0,0,53,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,150,151,0,0,137,138,0,58,0,59,0,0,0,139,0,150,0,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,0,0],[0,0,0,155,116,156,157,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,75,3,4,5,159,160,8,161,0,162,0,11,12,163,0,75,16,0],[0,0,0,0,0,40,164,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,0,165,0,0,0,0],[0,124,64,0,0,40,164,0,9,0,10,0,0,0,42,0,124,0,0],[0,0,0,0,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,71,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,167,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,168,0,0,0,0,0,0,0,0],[0,0,0,0,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,0,79,0,0,0,0],[0,0,0,169,170,171,172,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,75,0,176,0,177,177,22,23,0,24,0,0,0,78,0,75,0,0],[0,178,90,0,0,0,0,0,0,0,0,0,0,0,0,0,178,0,0],[0,75,0,0,0,175,179,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,180,180,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,83,83,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,182,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,183,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,86,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,188,0,0,0,0,0,0,0,0],[0,0,0,189,170,190,191,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,76,193,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,0,194,0,0,0,0],[0,178,90,0,0,76,193,0,23,0,24,0,0,0,78,0,178,0,0],[0,0,0,0,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,195,196,197,198,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,96,0,202,0,203,203,32,33,0,34,0,0,0,99,0,96,0,0],[0,204,111,0,0,0,0,0,0,0,0,0,0,0,0,0,204,0,0],[0,96,0,0,0,201,205,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,206,206,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,104,104,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,208,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,209,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,107,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0],[0,0,0,215,196,216,217,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,97,219,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,0,220,0,0,0,0],[0,204,111,0,0,97,219,0,33,0,34,0,0,0,99,0,204,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,223,0,0,0,40,224,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,119,225,0,0,0,0],[0,0,0,115,116,117,222,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,115,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,226,64,0,0,40,224,0,9,0,10,0,0,0,42,0,226,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,39,0,0,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,44,44,8,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,227,0,228,229,0,9,0,10,0,0,230,0,0,0,0,0],[0,39,0,122,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,231,231,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,232,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,131,131,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,234,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,235,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,0,0,240,241,242,243,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,136,0,247,0,248,248,57,58,0,59,0,0,0,139,0,136,0,0],[0,249,151,0,0,0,0,0,0,0,0,0,0,0,0,0,249,0,0],[0,136,0,0,0,246,250,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,251,251,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,144,144,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,253,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,254,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,147,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,259,0,0,0,0,0,0,0,0],[0,0,0,260,241,261,262,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,137,264,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,0,265,0,0,0,0],[0,249,151,0,0,137,264,0,58,0,59,0,0,0,139,0,249,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,158,225,0,0,0,0],[0,0,0,155,116,156,222,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,155,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,43,266,266,8,161,0,24,0,0,12,267,0,0,0,0],[0,75,0,176,43,268,268,269,161,0,24,0,0,0,267,0,75,0,0],[0,0,0,0,0,270,0,0,271,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,272,0,0,0,0,0,0,0,0],[0,273,274,0,0,40,41,0,9,0,10,0,0,0,42,0,273,0,0],[0,0,0,40,0,123,123,8,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,121,275,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,276,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,279,0,0,0,76,280,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,173,281,0,0,0,0],[0,0,0,169,170,171,278,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,169,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,282,90,0,0,76,280,0,23,0,24,0,0,0,78,0,282,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,75,0,0,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,80,80,22,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,283,0,284,285,0,23,0,24,0,0,286,0,0,0,0,0],[0,75,0,176,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,287,287,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,288,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,185,185,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,290,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,291,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,192,281,0,0,0,0],[0,0,0,189,170,190,278,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,189,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,76,0,177,177,22,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,175,296,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,299,0,0,0,97,300,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,199,301,0,0,0,0],[0,0,0,195,196,197,298,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,195,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,302,111,0,0,97,300,0,33,0,34,0,0,0,99,0,302,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,96,0,0,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,101,101,32,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,303,0,304,305,0,33,0,34,0,0,306,0,0,0,0,0],[0,96,0,202,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,307,307,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,308,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,211,211,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,310,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,311,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,218,301,0,0,0,0],[0,0,0,215,196,216,298,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,215,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,97,0,203,203,32,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,201,316,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,0,225,0,0,0,0],[0,0,0,317,318,319,320,8,9,0,10,0,0,321,322,0,0,16,0],[0,223,0,323,0,123,123,8,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,0,0,121,324,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,325,318,326,327,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,64,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,230,0,0,0,0,0],[0,0,0,227,0,228,121,0,9,0,10,0,0,230,0,0,0,0,0],[0,0,0,227,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,0,0],[0,0,0,0,0,329,329,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,330,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,237,237,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,332,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,333,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,337,0,0,0,137,338,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,244,339,0,0,0,0],[0,0,0,240,241,242,336,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,240,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,340,151,0,0,137,338,0,58,0,59,0,0,0,139,0,340,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,136,0,0,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,141,141,57,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,341,0,342,343,0,58,0,59,0,0,344,0,0,0,0,0],[0,136,0,247,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,0,0,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,345,345,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,346,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,256,256,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,348,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,349,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,263,339,0,0,0,0],[0,0,0,260,241,261,336,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,260,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,137,0,248,248,57,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,246,354,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,126,126,8,23,0,0,0,0,0,0,0,0,0,0],[0,355,90,0,0,121,125,0,9,0,10,0,0,0,42,0,355,0,0],[0,0,0,0,0,356,356,269,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,357,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,270,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,363,0,0,0,0,0,0,0,0],[0,0,0,364,116,365,366,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,40,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,0,281,0,0,0,0],[0,0,0,369,370,371,372,22,23,0,24,0,0,373,374,0,0,27,0],[0,279,0,375,0,177,177,22,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,0,0,175,376,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,377,370,378,379,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,90,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,286,0,0,0,0,0],[0,0,0,283,0,284,175,0,23,0,24,0,0,286,0,0,0,0,0],[0,0,0,283,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,82,0,0],[0,0,0,0,0,381,381,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,382,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,293,293,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,384,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,385,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,76,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,0,301,0,0,0,0],[0,0,0,387,388,389,390,32,33,0,34,0,0,391,392,0,0,37,0],[0,299,0,393,0,203,203,32,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,0,0,201,394,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,395,388,396,397,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,111,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,306,0,0,0,0,0],[0,0,0,303,0,304,201,0,33,0,34,0,0,306,0,0,0,0,0],[0,0,0,303,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,103,0,0],[0,0,0,0,0,399,399,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,400,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,313,313,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,402,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,403,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,97,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,407,0,0,0,40,408,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,321,409,0,0,0,0],[0,0,0,317,318,319,406,8,9,0,10,0,0,321,322,0,0,16,0],[0,0,0,317,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,410,64,0,0,40,408,0,9,0,10,0,0,0,42,0,410,0,0],[0,223,0,0,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,323,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,328,409,0,0,0,0],[0,0,0,325,318,326,406,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,325,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,0,0,0,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,130,0,0],[0,0,0,0,0,411,411,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,412,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,413,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,0,339,0,0,0,0],[0,0,0,414,415,416,417,57,58,0,59,0,0,418,419,0,0,62,0],[0,337,0,420,0,248,248,57,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,0,0,246,421,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,422,415,423,424,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,151,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,344,0,0,0,0,0],[0,0,0,341,0,342,246,0,58,0,59,0,0,344,0,0,0,0,0],[0,0,0,341,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0],[0,0,0,0,0,426,426,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,427,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,351,351,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,429,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,430,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,137,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,432,116,433,434,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,0,0,180,180,269,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,359,359,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,437,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,438,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,443,274,0,0,0,0,0,0,0,0,0,0,0,0,0,443,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,367,225,0,0,0,0],[0,0,0,364,116,365,445,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,364,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,448,0,0,0,76,449,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,373,450,0,0,0,0],[0,0,0,369,370,371,447,22,23,0,24,0,0,373,374,0,0,27,0],[0,0,0,369,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,451,90,0,0,76,449,0,23,0,24,0,0,0,78,0,451,0,0],[0,279,0,0,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,375,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,380,450,0,0,0,0],[0,0,0,377,370,378,447,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,377,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,0,0,0,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,184,0,0],[0,0,0,0,0,452,452,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,453,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,454,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,457,0,0,0,97,458,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,391,459,0,0,0,0],[0,0,0,387,388,389,456,32,33,0,34,0,0,391,392,0,0,37,0],[0,0,0,387,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,460,111,0,0,97,458,0,33,0,34,0,0,0,99,0,460,0,0],[0,299,0,0,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,393,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,398,459,0,0,0,0],[0,0,0,395,388,396,456,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,395,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,0,0,0,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,210,0,0],[0,0,0,0,0,461,461,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,462,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,463,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,0,409,0,0,0,0],[0,0,0,464,465,466,467,8,9,0,10,0,0,468,469,0,0,16,0],[0,407,0,470,0,123,123,8,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,0,0,121,471,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,472,465,473,474,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,0,0,0,0,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,236,0,0],[0,0,0,0,0,0,476,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,479,0,0,0,137,480,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,418,481,0,0,0,0],[0,0,0,414,415,416,478,57,58,0,59,0,0,418,419,0,0,62,0],[0,0,0,414,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,482,151,0,0,137,480,0,58,0,59,0,0,0,139,0,482,0,0],[0,337,0,0,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,420,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,425,481,0,0,0,0],[0,0,0,422,415,423,478,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,422,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,0,0,0,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0],[0,0,0,0,0,483,483,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,484,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,485,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,435,225,0,0,0,0],[0,0,0,432,116,433,445,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,432,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,486,486,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,487,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,440,440,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,489,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,490,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,495,0,496,497,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,0,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,0,225,0,0,0,0],[0,0,0,0,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,0,450,0,0,0,0],[0,0,0,499,500,501,502,22,23,0,24,0,0,503,504,0,0,27,0],[0,448,0,505,0,177,177,22,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,0,0,175,506,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,507,500,508,509,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,0,0,0,0,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,292,0,0],[0,0,0,0,0,0,511,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,0,459,0,0,0,0],[0,0,0,512,513,514,515,32,33,0,34,0,0,516,517,0,0,37,0],[0,457,0,518,0,203,203,32,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,0,0,201,519,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,520,513,521,522,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,0,0,0,0,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,312,0,0],[0,0,0,0,0,0,524,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,527,0,0,0,40,528,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,468,529,0,0,0,0],[0,0,0,464,465,466,526,8,9,0,10,0,0,468,469,0,0,16,0],[0,0,0,464,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,530,64,0,0,40,528,0,9,0,10,0,0,0,42,0,530,0,0],[0,407,0,0,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,470,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,475,529,0,0,0,0],[0,0,0,472,465,473,526,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,472,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0],[0,0,0,0,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,0,481,0,0,0,0],[0,0,0,531,532,533,534,57,58,0,59,0,0,535,536,0,0,62,0],[0,479,0,537,0,248,248,57,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,0,0,246,538,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,539,532,540,541,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,0,0,0,0,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,350,0,0],[0,0,0,0,0,0,543,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,358,0,0],[0,0,0,0,0,544,544,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,545,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,492,492,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,547,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,548,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,274,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,498,0,0,0,0,0],[0,0,0,495,0,496,368,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,495,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,553,0,0,0,76,554,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,503,555,0,0,0,0],[0,0,0,499,500,501,552,22,23,0,24,0,0,503,504,0,0,27,0],[0,0,0,499,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,556,90,0,0,76,554,0,23,0,24,0,0,0,78,0,556,0,0],[0,448,0,0,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,505,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,510,555,0,0,0,0],[0,0,0,507,500,508,552,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,507,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,559,0,0,0,97,560,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,516,561,0,0,0,0],[0,0,0,512,513,514,558,32,33,0,34,0,0,516,517,0,0,37,0],[0,0,0,512,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,562,111,0,0,97,560,0,33,0,34,0,0,0,99,0,562,0,0],[0,457,0,0,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,518,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,523,561,0,0,0,0],[0,0,0,520,513,521,558,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,520,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,97,0,0],[0,0,0,0,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,0,529,0,0,0,0],[0,0,0,563,66,564,565,8,9,0,10,0,0,566,68,0,0,16,0],[0,527,0,567,0,123,123,8,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,0,0,121,568,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,569,66,570,571,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,575,0,0,0,137,576,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,535,577,0,0,0,0],[0,0,0,531,532,533,574,57,58,0,59,0,0,535,536,0,0,62,0],[0,0,0,531,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,578,151,0,0,137,576,0,58,0,59,0,0,0,139,0,578,0,0],[0,479,0,0,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,537,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,542,577,0,0,0,0],[0,0,0,539,532,540,574,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,539,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,137,0,0],[0,0,0,0,0,0,0,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,439,0,0],[0,0,0,0,0,579,579,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,580,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,581,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,0,555,0,0,0,0],[0,0,0,582,91,583,584,22,23,0,24,0,0,585,93,0,0,27,0],[0,553,0,586,0,177,177,22,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,0,0,175,587,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,588,91,589,590,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,0,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,0,561,0,0,0,0],[0,0,0,592,112,593,594,32,33,0,34,0,0,595,114,0,0,37,0],[0,559,0,596,0,203,203,32,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,0,0,201,597,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,598,112,599,600,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,566,165,0,0,0,0],[0,0,0,563,66,564,67,8,9,0,10,0,0,566,68,0,0,16,0],[0,0,0,563,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,527,0,0,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,567,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,572,165,0,0,0,0],[0,0,0,569,66,570,67,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,569,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,0,577,0,0,0,0],[0,0,0,603,152,604,605,57,58,0,59,0,0,606,154,0,0,62,0],[0,575,0,607,0,248,248,57,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,0,0,246,608,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,609,152,610,611,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,0,0,0,0,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,491,0,0],[0,0,0,0,0,0,613,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,585,194,0,0,0,0],[0,0,0,582,91,583,92,22,23,0,24,0,0,585,93,0,0,27,0],[0,0,0,582,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,553,0,0,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,586,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,591,194,0,0,0,0],[0,0,0,588,91,589,92,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,588,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,595,220,0,0,0,0],[0,0,0,592,112,593,113,32,33,0,34,0,0,595,114,0,0,37,0],[0,0,0,592,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,559,0,0,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,596,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,601,220,0,0,0,0],[0,0,0,598,112,599,113,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,598,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,606,265,0,0,0,0],[0,0,0,603,152,604,153,57,58,0,59,0,0,606,154,0,0,62,0],[0,0,0,603,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,575,0,0,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,607,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,612,265,0,0,0,0],[0,0,0,609,152,610,153,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,609,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,549,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0]],"accepting":[false,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,false,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,false,false,true,false,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,false,false,true,true,false,false,true,true,true,false,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,false,false,false,false,false,false,false,true,true,false,false,true,true,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,false,true,true,false,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,false,true,true,true,true,true,false,true,true,false,true,true,true],"tags":[[],["broken_cluster"],["consonant_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],[],["broken_cluster"],["symbol_cluster"],[],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["symbol_cluster"],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],[],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],[],[],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],["consonant_syllable"],["vowel_syllable"],["standalone_cluster"]]}');var pi;pi=JSON.parse('{"categories":["O","IND","S","GB","B","FM","CGJ","VMAbv","VMPst","VAbv","VPst","CMBlw","VPre","VBlw","H","VMBlw","CMAbv","MBlw","CS","R","SUB","MPst","MPre","FAbv","FPst","FBlw","null","SMAbv","SMBlw","VMPre","ZWNJ","ZWJ","WJ","M","VS","N","HN","MAbv"],"decompositions":{"2507":[2503,2494],"2508":[2503,2519],"2888":[2887,2902],"2891":[2887,2878],"2892":[2887,2903],"3018":[3014,3006],"3019":[3015,3006],"3020":[3014,3031],"3144":[3142,3158],"3264":[3263,3285],"3271":[3270,3285],"3272":[3270,3286],"3274":[3270,3266],"3275":[3270,3266,3285],"3402":[3398,3390],"3403":[3399,3390],"3404":[3398,3415],"3546":[3545,3530],"3548":[3545,3535],"3549":[3545,3535,3530],"3550":[3545,3551],"3635":[3661,3634],"3763":[3789,3762],"3955":[3953,3954],"3957":[3953,3956],"3958":[4018,3968],"3959":[4018,3953,3968],"3960":[4019,3968],"3961":[4019,3953,3968],"3969":[3953,3968],"6971":[6970,6965],"6973":[6972,6965],"6976":[6974,6965],"6977":[6975,6965],"6979":[6978,6965],"69934":[69937,69927],"69935":[69938,69927],"70475":[70471,70462],"70476":[70471,70487],"70843":[70841,70842],"70844":[70841,70832],"70846":[70841,70845],"71098":[71096,71087],"71099":[71097,71087]},"stateTable":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,2,3,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,17,18,11,19,20,21,22,0,0,0,23,0,0,2,0,0,24,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,27,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,39,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,49,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,53,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,51,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,54,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0]],"accepting":[false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],"tags":[[],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["symbol_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["virama_terminated_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["number_joiner_terminated_cluster"],["standard_cluster"],["standard_cluster"],["numeral_cluster"]]}');const gi={X:1,C:2,V:4,N:8,H:16,ZWNJ:32,ZWJ:64,M:128,SM:256,VD:512,A:1024,Placeholder:2048,Dotted_Circle:4096,RS:8192,Coeng:16384,Repha:32768,Ra:65536,CM:131072,Symbol:262144},bi={Start:1,Ra_To_Become_Reph:2,Pre_M:4,Pre_C:8,Base_C:16,After_Main:32,Above_C:64,Before_Sub:128,Below_C:256,After_Sub:512,Before_Post:1024,Post_C:2048,After_Post:4096,Final_C:8192,SMVD:16384,End:32768},mi=gi.C|gi.Ra|gi.CM|gi.V|gi.Placeholder|gi.Dotted_Circle,yi=gi.ZWJ|gi.ZWNJ,wi=gi.H|gi.Coeng,vi={Default:{hasOldSpec:!1,virama:0,basePos:"Last",rephPos:bi.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Devanagari:{hasOldSpec:!0,virama:2381,basePos:"Last",rephPos:bi.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Bengali:{hasOldSpec:!0,virama:2509,basePos:"Last",rephPos:bi.After_Sub,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Gurmukhi:{hasOldSpec:!0,virama:2637,basePos:"Last",rephPos:bi.Before_Sub,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Gujarati:{hasOldSpec:!0,virama:2765,basePos:"Last",rephPos:bi.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Oriya:{hasOldSpec:!0,virama:2893,basePos:"Last",rephPos:bi.After_Main,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Tamil:{hasOldSpec:!0,virama:3021,basePos:"Last",rephPos:bi.After_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Telugu:{hasOldSpec:!0,virama:3149,basePos:"Last",rephPos:bi.After_Post,rephMode:"Explicit",blwfMode:"Post_Only"},Kannada:{hasOldSpec:!0,virama:3277,basePos:"Last",rephPos:bi.After_Post,rephMode:"Implicit",blwfMode:"Post_Only"},Malayalam:{hasOldSpec:!0,virama:3405,basePos:"Last",rephPos:bi.After_Main,rephMode:"Log_Repha",blwfMode:"Pre_And_Post"},Khmer:{hasOldSpec:!1,virama:6098,basePos:"First",rephPos:bi.Ra_To_Become_Reph,rephMode:"Vis_Repha",blwfMode:"Pre_And_Post"}},xi={6078:[6081,6078],6079:[6081,6079],6080:[6081,6080],6084:[6081,6084],6085:[6081,6085]},{decompositions:_i}=$parcel$interopDefault(pi),Si=new($parcel$interopDefault(u))($66a5b9fb5318558a$export$94fdf11bafc8de6b("AAARAAAAAABg2AAAAWYPmfDtnXuMXFUdx+/uzs7M7szudAtECGJRIMRQbUAithQWkGAKiVhNpFVRRAmIQVCDkDYICGotIA9BTCz8IeUviv7BQ2PBtBIRLBBQIWAUsKg1BKxRAqIgfs/cc+aeOXPej3tnZX7JJ/dxzj3nd36/8753Z5fUsuxgsAwcAU4Gp4BPgM+Cd4P3RjieDs4GXwLrHJ5bDy4DG8A14LvgZrAZbAF3gns0z18ALgY/B78C94NHwBPgabAE/AX8DbwM5sF/QX0yD5vFcU/wVnAgWAoOAyvAceBE8CGwBpwGzgJfAF8BXwXfAFeC68EmsBlsAXeCreA+8CB4DDwF/gh2gd3gFfAGmKxn2QzYC+wHDgRLweFgJTgWrKrnuq/GcQ04jV6fheN54EJwEbgcXAG+Q8O/j+Mt4DZwB9haz8t9Hz3a8iCN/xiOvwRP0evH6fE68AzOH+Ke2eWYhw3PcGnuxvkr4A3QaGRZB7wFLAEHg2XgiEZ/fHKcp/ceBh/A+cngFPCpRm6vM3E8l8a5gN67GMdvgqsbeX2ap9yI601gM7gN3AG20mfuo8cdOP6GpvdUg9oKxz839GV90RDO2/glxN1B790NXsN1rZll7WYRdw+c70uvTwIHNAfTO0RyL5TDmnnbc3lmRQI9UnM0dD5eovfz4FpJ/BNpXNYWV+N6Lfg0hY97JK1vn+Pur9DoQur2F7m436bHDUK8C5t5/8vruo4+97WmXG+GLmzEiBF+PDwEOowYMWLEiBEjRoxYeBw5BDqIPEfXut9yWN+vVNxfrnnmWqR/PdgENoMt4E5wD9gOHgCPgifBs2BXM99b2o3jP8F/wMRUlrXAHNgHvH0q3895J46HguXgWHAGLctmLv9VuL96qnp7jxgxYsSbCbJvuRZ97/tqxT59VVRtixEjRsThBG7OSt5zzoPT0M+cBc4T5noXOs79TqLHeZrHUeCSqeJ96gacXy2kecNU8V6Hh7yXuQlhtw7B/PO1RTkr52Aj8JNFZjYg3gOKuC/g/v6Ls2wNuAY8urg//PcIb+6RZXuDNeCS6SzbBrJWlh0DLiFHco8ed9IjzzvaWfa9sZzTcf6D9mCcnbg3PlNcH4fzS8F2MDaLdQG4dLZIJxbbaZqv4ri8k58f3+mPs66T6/TTzqDeI0aMGDGiHP5dcR8ce/xxYcWi6vOfr725uRzcjnngXVOD61Hync+9uL+Nmyfej/NHpvL56A5Jeuz7uyfo+pqcPz2Vf1NH0ttJ03pekt8SmuY/EPYy9zzbN319ym/9TL6ZIt9MHCXRdxJtoAkWTRdz472n87D9cTwYLJvuz++I6WIePo/zE8AHp4v8WLyP0nufnM6/+zoDx8+DL08P6r9+urheRtO+jD6/cdrsx3mqu8w+xH4PScKIXa5D2jeCm8Et4DbwI/BjcC/4BXgI/Bb8DuwEu8Bu8Ap4A9RaRZptnO8J9gUHgEPAoWA5OLY1qMO90GEV7q+mYWtxPBWcIYnL4p+DsPNbxfVFOP86uAr8DNc34HgTDb8Vx9sVaRFI/LtagzYjnCqpb908EX87eBA8Bh4Hf2jle/9/wvGFVv787rrZZy8h7qtgDOuFOmiBuXYRvg/O9wMHgXeB97SLspk4sq0OI/q9v13+ek+sh3zYSRp9jrYorw9ll1/GRzR+KotYZSHf8laVP2lvpA/8OGdPMk59hqtXZ+L8nHbxvWwqO65ryu+fT3VZz+l4dET7L0R072ljsMyzTpaJqQxsbL8M9WajY789DO85XMp/Dcp3Qztdn+9qf/a97ZWK8PXc3G+TpC/nv8Mncy7ZvICF302P5O+aNiOtLdTXd+D4Q7DVwfcvWvx9zTEJ/o5iG3R8YAjGNFseha5PGuZKz7b7xxXbOrXMcu5eJSo//rXdH/73Enz6L1q/X+fyIu8wZGtNBmkjkzNZNgP2AvuBg2bysKUzduXn/66JtNeN4PCZvO0/x7Ujdn4VnYOvRJzjZ/I+9sQZeftX2Tc1RPcPz/Tf4/si0g+t5Mq+kfZjZL34Mc5ul3PPnE7TOxvHK2qDaZ+L++db2HyYqMo/qVnb/P8uH8/rmnFxR0k6DCu/rjj/RxT7KGUSWgbd+LMQuEgYB1zsk2qtvJD8v5AhdfdttbEunSxbcJD9Zf7chqp1Hlbe7FK1/aPVTfp7FgtC1yGGiSncFK/DhZvi+epZta0WWjlsfDZMyPRdSPrryqSSKnXx1bkq/Ye9TlRpk7Lrjq1UrfdC9X+MtKqwP6+3a/4pJFUZF0pZZpv91MYjMBaRRXbxpho5zQmUY3F+Pt4o7rvQrBXPdm00TaE24uMadaM2meLSI7iu071t3er3b6ZLi8JEde3qw+6zGv+ycF5kaRBh/m1T/7Yl/mMyTuMwadP4xL9ifjJpNwbvDZRJ8G8vnqV/Wf12aa/kyOdl69+BspTsXzGueE6E+JfZnvmXIfNPW+FfXkjb1YmqPNpnLP3b61fHCj/X5tzGANf2y3yqvC7Jv7btV4TVbdammI9l/g0dS5lNxLrk2j9r8xjjxhBQnygg0lgg/bOrfyct+udJi/Yrk0lFnxC7f+5kRbsNmcexfrubt0X/rGvLqrGSnYv3ZPHEe8r7lvMvUfi2LOu/2dg8LrRtQt2yfcv8r5IU70VkIs6nbebUXf0M/o7Znl39Sdoz+X1oEb5N8ffF67qhPfPP6eoUbxf+GRf/6sRnvaSdmw+Bf1VxmbD+2sa//DU7t/Gv2PfKpKdrBP92Ojk+IvqX16ks/2qxbL8EZnc2HqsgYuqPuzZV+I3RbujbDm+T0PmWCVO/5jqftp1zy+wSA6s0JWtp2z5e1oZV+yMsjB3ZXolsv0Ulrv01v3/iKrF94Qtbt9siCnmeb6fjjf59KnLk1xaEbvtvFnFirGvEOqmycQrbm/IMsXd3P28uh4nM3swXRER717OiX8kc7K2qqyn2p3maFGU/aruP5VCv+PraoTYU8yUmmbDwcYo6pusnM486xdoga4dkPCb1pK7Sfc6ebvkd4qeAtQcd/N63bB3lU3dlUnUf38VyvqCqK7JxlNSd7lydrDlm+/uqHiRvl30Nrp/n9zpkZRjoJ3V1diyP05rIYXHYs+w+D5+WMS8b5gZtKcuX0KT5d/WwtB97VnyvY6rjMukI56HI0rFJPwt8PjT/1OXzSbcMeEmdh294qvKK4rNu7j4n3LNZg8TKXwafv025U+XvKjHsT8Q7/7LGaJt9lAh7Asz3uv0XEX6t0duDoWN/93wmh92XpUHmCKb9GALbG+rZP3AfNbQPKKv/jpF/bP0JXfuW1QYk7dhljcyvk5mw+933Hpo1g26PQ2ZP6zVmTJt47P25jncD9vPwGS+q9QS/V6RaY8j8K8LmvUr9HfYCpH5OWL9lZY+Sv6pesHCJHbtrf9k6etZvf0G1L0ja4cAe1UT/s3zdCe3/Q5/n372wMc97/E1Qh0Tbmfwh3m/V9On72tNnrCF1sJkVe1EyXMdBa7+lHMsk44zMF6St9e2djNnbm8ybpHkq+gbbemMaH0UZmD8obKGrk7r+nt+3bE7o83YZp/vqOKdv6PzJNN6mTJsI/51XR7i2ZrGA5B6zFwnjzxmqPjaGfW3tZNrz1eljq29mOOqeCfF/irRt87PNw0uXSVAvrmOMNT569MptsYaV0sic/wbY13e8hPrb9K2ySUJ0j6G/Lu0U4qpTrR23jMp6m5hU+YTaWCeh9aIsm/rqUHV4bFv42kgnZdfH1PUj1D7DVH9d8khRN1zFRl/+/TW//qxL1uH83+mk3H+SvRtS2TDU90nX2TpM6/1xzZpZtoYdK763dqlz0f6uNeFehcs+H/nbGP77MpX06n/ofpzP+tVmTUvRtVuX/cjS67OE5kRBrxyJ+w/dPo7r+9cO1160e3gqu0S2uW7PjN/L6ns/UfMf10Lai87frJ+3KndAfc8yTf1M3T4s6qm4/yh7/2GSkG8UMw//DvRLgbYZSEOxr0LCWvRdjfh9XGzfqN4NivfZd7rsmFp08zmbssrKJEuTfVMZopdpbuwSrhNv3/N2s+0PDG3KNB6RMrFvJHv6B85HXObAoWsd3zm3i+6uZYytv+5+pohbpo6+tpZJFfmGlrcMf4c8b1Pe2OUIsaXJrinCTfaxtZOt+NYnU3hIfQlN20Z/1+dt7JaqLsbIzycNWZmrlNg2Dc2/LJ1T+T6WrrYSml4Ku7ik7yIx2opJD51vU9UfVRmrqL8u/olZj0PyCLV5irxcdKoi/6rKb8qTrHsnhW9jyZH/nSpeWDzxd9769uQ016lgUuf2pAfKPhu2FpfZL2Yb9snLNl/fNIepXaUsj4vNXCXUZ75px8ojNP8UPvAta2g6fb+F1ckZuneshv1vGXXDeyRRrN/bBPS1Jul+l+7zW86R7Wv63WXyDpt/RxraRjvC+TC3O61/Sqj/prag8x372yQivn+XwudrI2X2E2KdtJEov52e0L+uv4FO3p/rvssgsL8F4d/z9PzlWS94m8fqS3361Fi+6qaVYHwi9Yz4iH2fobIj+45cpz/TUaarr/4+z+vaWtVtyAX2d1LG8W9C3f+F1mnf36/k4w3YPrLv+XBVXCJs3cr+n4MKJuLv/fN9GhNdXVP5pJMN9vFi3rpv3/r8Ywg3SYp66zNOsO8QGcxPpnmRS/1mvmJjju3v7absI2xspQrvs1dNbjOj/wP7h1RlZyKGy8occ408UL8En4v6xfC/K3z52XzJd62T8vuZGGsxo/6O46ntmNqqFb/jps2/hHV4rPKH0svT4pstU7t2tZ9u/ZdqbJL1MwP6O86Fyt4jYaIrGz9mjEt8lFL4PtVE6votG2P6fpdf/GZRse7s3bf4BtSl/DIbKMctx++Z+8o6K6z9FPOwKsRmXiaNl7C+6NYRpjlbqG1j72f49qsuY4brd/amb4ZVc8TQ+sSH985LrEe8iPWJnfPrJRbWbb+dwn4x6o+r/aS2S7w3qWt//LnYz2ntE0vH1uDcyKatx1rH+EiMPEN1SZG/iz6+9o01Rob6O7Q+xLZ1jHobK61U+pWVvo2EpuWqzzD6Poa+pvhli0wn8Zq/72Mzm2d90o5VN1x9ZKuzbTgvqWwUIin8FSpl1CXXvFRxU0iozVPYJDRtF3uFphn6XAyJUUdD7SjTJ8v6n9fVbVObkKWp001lc9VRlqdOf5v0ZM+bymdbfp1NfG0bq27Y5JMyfxeJkU6o/inKH8O2Zfgidb6h/g3VJ7QcVbWL0Pxt6rlrPqa4KfQ25a2zl4/E8GdM/4fK/wA=")),Ai=new($parcel$interopDefault(h))($parcel$interopDefault(di));class $d203e6b9523d0071$export$2e2bcd8739ae039 extends $d28fb665ee343afc$export$2e2bcd8739ae039{static planFeatures(t){t.addStage($d203e6b9523d0071$var$setupSyllables),t.addStage(["locl","ccmp"]),t.addStage($d203e6b9523d0071$var$initialReordering),t.addStage("nukt"),t.addStage("akhn"),t.addStage("rphf",!1),t.addStage("rkrf"),t.addStage("pref",!1),t.addStage("blwf",!1),t.addStage("abvf",!1),t.addStage("half",!1),t.addStage("pstf",!1),t.addStage("vatu"),t.addStage("cjct"),t.addStage("cfar",!1),t.addStage($d203e6b9523d0071$var$finalReordering),t.addStage({local:["init"],global:["pres","abvs","blws","psts","haln","dist","abvm","blwm","calt","clig"]}),t.unicodeScript=function $e38a1a895f6aeb54$export$ce50e82f12a827a4(t){return Dn[t]}(t.script),t.indicConfig=vi[t.unicodeScript]||vi.Default,t.isOldSpec=t.indicConfig.hasOldSpec&&"2"!==t.script[t.script.length-1]}static assignFeatures(t,r){for(let n=r.length-1;n>=0;n--){let i=r[n].codePoints[0],a=xi[i]||_i[i];if(a){let i=a.map(i=>{let a=t.font.glyphForCodePoint(i);return new $f22bb23c9fd478d8$export$2e2bcd8739ae039(t.font,a.id,[i],r[n].features)});r.splice(n,1,...i)}}}}function $d203e6b9523d0071$var$indicCategory(t){return Si.get(t.codePoints[0])>>8}function $d203e6b9523d0071$var$indicPosition(t){return 1<<(255&Si.get(t.codePoints[0]))}(0,a._)($d203e6b9523d0071$export$2e2bcd8739ae039,"zeroMarkWidths","NONE");class $d203e6b9523d0071$var$IndicInfo{constructor(t,r,n,i){this.category=t,this.position=r,this.syllableType=n,this.syllable=i}}function $d203e6b9523d0071$var$setupSyllables(t,r){let n=0,i=0;for(let[t,a,o]of Ai.match(r.map($d203e6b9523d0071$var$indicCategory))){if(t>i){++n;for(let a=i;ag);break}case"First":p=s;for(let t=p+1;tn&&!($d203e6b9523d0071$var$isConsonant(r[i])||t&&r[i].shaperInfo.category===gi.H);i--);if(r[i].shaperInfo.category!==gi.H&&i>n){let t=r[n];r.splice(n,0,...r.splice(n+1,i-n)),r[i]=t}break}}let y=bi.Start;for(let t=s;ts;i--)if(r[i-1].shaperInfo.position!==bi.Pre_M){n.position=r[i-1].shaperInfo.position;break}}else n.position!==bi.SMVD&&(y=n.position)}let w=p;for(let t=p+1;tt.shaperInfo.position-r.shaperInfo.position),r.splice(s,v.length,...v);for(let t=s;ts&&!$d203e6b9523d0071$var$isConsonant(r[i]))}}}function $d203e6b9523d0071$var$finalReordering(t,r,n){let i=n.indicConfig,a=t._layoutEngine.engine.GSUBProcessor.features;for(let t=0,o=$d203e6b9523d0071$var$nextSyllable(r,0);t=bi.Base_C){if(s&&u+1bi.Base_C&&u--;break}if(u===o&&tt&&!(r[i].shaperInfo.category&(gi.M|wi));)i--;$d203e6b9523d0071$var$isHalantOrCoeng(r[i])&&r[i].shaperInfo.position!==bi.Pre_M?i+1t;n--)if(r[n-1].shaperInfo.position===bi.Pre_M){let t=n-1;tt&&r[n].shaperInfo.position===bi.SMVD;)n--;if($d203e6b9523d0071$var$isHalantOrCoeng(r[n]))for(let t=u+1;tt&&!(r[a-1].shaperInfo.category&(gi.M|wi));)a--;if(a>t&&r[a-1].shaperInfo.category===gi.M){let t=i;for(let n=u+1;nt&&$d203e6b9523d0071$var$isHalantOrCoeng(r[a-1])&&a=t.length)return r;let n=t[r].shaperInfo.syllable;for(;++r=0;n--){let i=r[n].codePoints[0];if(Pi[i]){let a=Pi[i].map(i=>{let a=t.font.glyphForCodePoint(i);return new $f22bb23c9fd478d8$export$2e2bcd8739ae039(t.font,a.id,[i],r[n].features)});r.splice(n,1,...a)}}}}function $9b772791ccede8a5$var$useCategory(t){return ki.get(t.codePoints[0])}(0,a._)($9b772791ccede8a5$export$2e2bcd8739ae039,"zeroMarkWidths","BEFORE_GPOS");class $9b772791ccede8a5$var$USEInfo{constructor(t,r,n){this.category=t,this.syllableType=r,this.syllable=n}}function $9b772791ccede8a5$var$setupSyllables(t,r){let n=0;for(let[t,i,a]of Ei.match(r.map($9b772791ccede8a5$var$useCategory))){++n;for(let o=t;o<=i;o++)r[o].shaperInfo=new $9b772791ccede8a5$var$USEInfo(Ci[$9b772791ccede8a5$var$useCategory(r[o])],a[0],n);let o="R"===r[t].shaperInfo.category?1:Math.min(3,i-t);for(let n=t;n1)for(o=i+1;o=t.length)return r;let n=t[r].shaperInfo.syllable;for(;++r{let n=new $f22bb23c9fd478d8$export$2e2bcd8739ae039(this.font,t,void 0,i);return n.shaperInfo=a.shaperInfo,n.isLigated=a.isLigated,n.ligatureComponent=r+1,n.substituted=!0,n.isMultiplied=!0,n});return this.glyphs.splice(this.glyphIterator.index+1,0,...o),!0}return!1}case 3:{let t=this.coverageIndex(r.coverage);if(-1!==t){let n=0;return this.glyphIterator.cur.id=r.alternateSet.get(t)[n],!0}return!1}case 4:{let t=this.coverageIndex(r.coverage);if(-1===t)return!1;for(let i of r.ligatureSets.get(t)){let t=this.sequenceMatchIndices(1,i.components);if(!t)continue;let r=this.glyphIterator.cur,a=r.codePoints.slice();for(let r of t)a.push(...this.glyphs[r].codePoints);let o=new $f22bb23c9fd478d8$export$2e2bcd8739ae039(this.font,i.glyph,a,r.features);o.shaperInfo=r.shaperInfo,o.isLigated=!0,o.substituted=!0;let s=r.isMark;for(let r=0;r=0;r--)this.glyphs.splice(t[r],1);return this.glyphs[this.glyphIterator.index]=o,!0}return!1}case 5:return this.applyContext(r);case 6:return this.applyChainingContext(r);case 7:return this.applyLookup(r.lookupType,r.extension);default:throw new Error(`GSUB lookupType ${t} is not supported`)}}}class $79ea6270f0a90256$export$2e2bcd8739ae039 extends $7b226e6bbeadedeb$export$2e2bcd8739ae039{applyPositionValue(t,r){let n=this.positions[this.glyphIterator.peekIndex(t)];null!=r.xAdvance&&(n.xAdvance+=r.xAdvance),null!=r.yAdvance&&(n.yAdvance+=r.yAdvance),null!=r.xPlacement&&(n.xOffset+=r.xPlacement),null!=r.yPlacement&&(n.yOffset+=r.yPlacement);let i=this.font._variationProcessor,a=this.font.GDEF&&this.font.GDEF.itemVariationStore;i&&a&&(r.xPlaDevice&&(n.xOffset+=i.getDelta(a,r.xPlaDevice.a,r.xPlaDevice.b)),r.yPlaDevice&&(n.yOffset+=i.getDelta(a,r.yPlaDevice.a,r.yPlaDevice.b)),r.xAdvDevice&&(n.xAdvance+=i.getDelta(a,r.xAdvDevice.a,r.xAdvDevice.b)),r.yAdvDevice&&(n.yAdvance+=i.getDelta(a,r.yAdvDevice.a,r.yAdvDevice.b)))}applyLookup(t,r){switch(t){case 1:{let t=this.coverageIndex(r.coverage);if(-1===t)return!1;switch(r.version){case 1:this.applyPositionValue(0,r.value);break;case 2:this.applyPositionValue(0,r.values.get(t))}return!0}case 2:{let t=this.glyphIterator.peek();if(!t)return!1;let i=this.coverageIndex(r.coverage);if(-1===i)return!1;switch(r.version){case 1:let a=r.pairSets.get(i);for(let r of a)if(r.secondGlyph===t.id)return this.applyPositionValue(0,r.value1),this.applyPositionValue(1,r.value2),!0;return!1;case 2:let o=this.getClassID(this.glyphIterator.cur.id,r.classDef1),s=this.getClassID(t.id,r.classDef2);if(-1===o||-1===s)return!1;var n=r.classRecords.get(o).get(s);return this.applyPositionValue(0,n.value1),this.applyPositionValue(1,n.value2),!0}}case 3:{let t=this.glyphIterator.peekIndex(),n=this.glyphs[t];if(!n)return!1;let i=r.entryExitRecords[this.coverageIndex(r.coverage)];if(!i||!i.exitAnchor)return!1;let a=r.entryExitRecords[this.coverageIndex(r.coverage,n.id)];if(!a||!a.entryAnchor)return!1;let o,s=this.getAnchor(a.entryAnchor),l=this.getAnchor(i.exitAnchor),u=this.positions[this.glyphIterator.index],h=this.positions[t];switch(this.direction){case"ltr":u.xAdvance=l.x+u.xOffset,o=s.x+h.xOffset,h.xAdvance-=o,h.xOffset-=o;break;case"rtl":o=l.x+u.xOffset,u.xAdvance-=o,u.xOffset-=o,h.xAdvance=s.x+h.xOffset}return this.glyphIterator.flags.rightToLeft?(this.glyphIterator.cur.cursiveAttachment=t,u.yOffset=s.y-l.y):(n.cursiveAttachment=this.glyphIterator.index,u.yOffset=l.y-s.y),!0}case 4:{let t=this.coverageIndex(r.markCoverage);if(-1===t)return!1;let n=this.glyphIterator.index;for(;--n>=0&&(this.glyphs[n].isMark||this.glyphs[n].ligatureComponent>0););if(n<0)return!1;let i=this.coverageIndex(r.baseCoverage,this.glyphs[n].id);if(-1===i)return!1;let a=r.markArray[t],o=r.baseArray[i][a.class];return this.applyAnchor(a,o,n),!0}case 5:{let t=this.coverageIndex(r.markCoverage);if(-1===t)return!1;let n=this.glyphIterator.index;for(;--n>=0&&this.glyphs[n].isMark;);if(n<0)return!1;let i=this.coverageIndex(r.ligatureCoverage,this.glyphs[n].id);if(-1===i)return!1;let a=r.ligatureArray[i],o=this.glyphIterator.cur,s=this.glyphs[n],l=s.ligatureID&&s.ligatureID===o.ligatureID&&o.ligatureComponent>0?Math.min(o.ligatureComponent,s.codePoints.length)-1:s.codePoints.length-1,u=r.markArray[t],h=a[l][u.class];return this.applyAnchor(u,h,n),!0}case 6:{let t=this.coverageIndex(r.mark1Coverage);if(-1===t)return!1;let n=this.glyphIterator.peekIndex(-1),i=this.glyphs[n];if(!i||!i.isMark)return!1;let a=this.glyphIterator.cur,o=!1;if(a.ligatureID===i.ligatureID?a.ligatureID?a.ligatureComponent===i.ligatureComponent&&(o=!0):o=!0:(a.ligatureID&&!a.ligatureComponent||i.ligatureID&&!i.ligatureComponent)&&(o=!0),!o)return!1;let s=this.coverageIndex(r.mark2Coverage,i.id);if(-1===s)return!1;let l=r.mark1Array[t],u=r.mark2Array[s][l.class];return this.applyAnchor(l,u,n),!0}case 7:return this.applyContext(r);case 8:return this.applyChainingContext(r);case 9:return this.applyLookup(r.lookupType,r.extension);default:throw new Error(`Unsupported GPOS table: ${t}`)}}applyAnchor(t,r,n){let i=this.getAnchor(r),a=this.getAnchor(t.markAnchor),o=(this.positions[n],this.positions[this.glyphIterator.index]);o.xOffset=i.x-a.x,o.yOffset=i.y-a.y,this.glyphIterator.cur.markAttachment=n}getAnchor(t){let r=t.xCoordinate,n=t.yCoordinate,i=this.font._variationProcessor,a=this.font.GDEF&&this.font.GDEF.itemVariationStore;return i&&a&&(t.xDeviceTable&&(r+=i.getDelta(a,t.xDeviceTable.a,t.xDeviceTable.b)),t.yDeviceTable&&(n+=i.getDelta(a,t.yDeviceTable.a,t.yDeviceTable.b))),{x:r,y:n}}applyFeatures(t,r,n){super.applyFeatures(t,r,n);for(var i=0;inew $f22bb23c9fd478d8$export$2e2bcd8739ae039(this.font,t.id,[...t.codePoints]));let r=null;this.GPOSProcessor&&(r=this.GPOSProcessor.selectScript(t.script,t.language,t.direction)),this.GSUBProcessor&&(r=this.GSUBProcessor.selectScript(t.script,t.language,t.direction)),this.shaper=function $fdb4471fc82bc2c2$export$7877a478dd30fd3d(t){Array.isArray(t)||(t=[t]);for(let r of t){let t=Ti[r];if(t)return t}return $d28fb665ee343afc$export$2e2bcd8739ae039}(r),this.plan=new $d7e93cca3cf8ce8a$export$2e2bcd8739ae039(this.font,r,t.direction),this.shaper.plan(this.plan,this.glyphInfos,t.features);for(let r in this.plan.allFeatures)t.features[r]=!0}substitute(t){this.GSUBProcessor&&(this.plan.process(this.GSUBProcessor,this.glyphInfos),t.glyphs=this.glyphInfos.map(t=>this.font.getGlyph(t.id,t.codePoints)))}position(t){return"BEFORE_GPOS"===this.shaper.zeroMarkWidths&&this.zeroMarkAdvances(t.positions),this.GPOSProcessor&&this.plan.process(this.GPOSProcessor,this.glyphInfos,t.positions),"AFTER_GPOS"===this.shaper.zeroMarkWidths&&this.zeroMarkAdvances(t.positions),"rtl"===t.direction&&(t.glyphs.reverse(),t.positions.reverse()),this.GPOSProcessor&&this.GPOSProcessor.features}zeroMarkAdvances(t){for(let r=0;rnew $9195cf1266c12ea5$export$2e2bcd8739ae039(t.advanceWidth));let r=null;this.engine&&this.engine.position&&(r=this.engine.position(t)),r||this.engine&&!this.engine.fallbackPosition||(this.unicodeLayoutEngine||(this.unicodeLayoutEngine=new $a57a26817cd35108$export$2e2bcd8739ae039(this.font)),this.unicodeLayoutEngine.positionGlyphs(t.glyphs,t.positions)),r&&r.kern||!1===t.features.kern||!this.font.kern||(this.kernProcessor||(this.kernProcessor=new $4646d52c2a559cdb$export$2e2bcd8739ae039(this.font)),this.kernProcessor.process(t.glyphs,t.positions),t.features.kern=!0)}hideDefaultIgnorables(t,r){let n=this.font.glyphForCodePoint(32);for(let i=0;i>16;if(0===r)switch(t>>8){case 0:return 173===t;case 3:return 847===t;case 6:return 1564===t;case 23:return 6068<=t&&t<=6069;case 24:return 6155<=t&&t<=6158;case 32:return 8203<=t&&t<=8207||8234<=t&&t<=8238||8288<=t&&t<=8303;case 254:return 65024<=t&&t<=65039||65279===t;case 255:return 65520<=t&&t<=65528;default:return!1}else switch(r){case 1:return 113824<=t&&t<=113827||119155<=t&&t<=119162;case 14:return 917504<=t&&t<=921599;default:return!1}}getAvailableFeatures(t,r){let n=[];return this.engine&&n.push(...this.engine.getAvailableFeatures(t,r)),this.font.kern&&-1===n.indexOf("kern")&&n.push("kern"),n}stringsForGlyph(t){let r=new Set,n=this.font._cmapProcessor.codePointsForGlyph(t);for(let t of n)r.add(String.fromCodePoint(t));if(this.engine&&this.engine.stringsForGlyph)for(let n of this.engine.stringsForGlyph(t))r.add(n);return Array.from(r)}constructor(t){this.font=t,this.unicodeLayoutEngine=null,this.kernProcessor=null,this.font.morx?this.engine=new $860fcbd64bc12fbc$export$2e2bcd8739ae039(this.font):(this.font.GSUB||this.font.GPOS)&&(this.engine=new $b2f26a32cb9ab2fa$export$2e2bcd8739ae039(this.font))}}const Bi={moveTo:"M",lineTo:"L",quadraticCurveTo:"Q",bezierCurveTo:"C",closePath:"Z"};class $67ee4828d81adb28$export$2e2bcd8739ae039{toFunction(){return t=>{this.commands.forEach(r=>t[r.command].apply(t,r.args))}}toSVG(){return this.commands.map(t=>{let r=t.args.map(t=>Math.round(100*t)/100);return`${Bi[t.command]}${r.join(" ")}`}).join("")}get cbox(){if(!this._cbox){let t=new $0e2da1c4ce69e8ad$export$2e2bcd8739ae039;for(let r of this.commands)for(let n=0;nMath.pow(1-t,3)*g[v]+3*Math.pow(1-t,2)*t*m[v]+3*(1-t)*Math.pow(t,2)*y[v]+Math.pow(t,3)*w[v];for(let x of this.commands)switch(x.command){case"moveTo":case"lineTo":let[_,S]=x.args;t.addPoint(_,S),r=_,n=S;break;case"quadraticCurveTo":case"bezierCurveTo":if("quadraticCurveTo"===x.command)var[i,a,o,s]=x.args,l=r+2/3*(i-r),u=n+2/3*(a-n),h=o+2/3*(i-o),p=s+2/3*(a-s);else var[l,u,h,p,o,s]=x.args;t.addPoint(o,s);for(var g=[r,n],m=[l,u],y=[h,p],w=[o,s],v=0;v<=1;v++){let r=6*g[v]-12*m[v]+6*y[v],n=-3*g[v]+9*m[v]-9*y[v]+3*w[v];if(x=3*m[v]-3*g[v],0===n){if(0===r)continue;let n=-x/r;0[t*s+n*l+a,r*s+i*l+o])}translate(t,r){return this.transform(1,0,0,1,t,r)}rotate(t){let r=Math.cos(t),n=Math.sin(t);return this.transform(r,n,-n,r,0,0)}scale(t,r=t){return this.transform(t,0,0,r,0,0)}constructor(){this.commands=[],this._bbox=null,this._cbox=null}}for(let t of["moveTo","lineTo","quadraticCurveTo","bezierCurveTo","closePath"])$67ee4828d81adb28$export$2e2bcd8739ae039.prototype[t]=function(...r){return this._bbox=this._cbox=null,this.commands.push({command:t,args:r}),this};var Ii=[".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"];class $0e4f52d7996e478b$export$2e2bcd8739ae039{_getPath(){return new $67ee4828d81adb28$export$2e2bcd8739ae039}_getCBox(){return this.path.cbox}_getBBox(){return this.path.bbox}_getTableMetrics(t){if(this.id0)i=Math.abs(r.typoAscender-r.typoDescender),a=r.typoAscender-t.maxY;else{let{hhea:r}=this._font;var i=Math.abs(r.ascent-r.descent),a=r.ascent-t.maxY}}return this._font._variationProcessor&&this._font.HVAR&&(r+=this._font._variationProcessor.getAdvanceAdjustment(this.id,this._font.HVAR)),this._metrics={advanceWidth:r,advanceHeight:i,leftBearing:n,topBearing:a}}get cbox(){return this._getCBox()}get bbox(){return this._getBBox()}get path(){return this._getPath()}getScaledPath(t){let r=1/this._font.unitsPerEm*t;return this.path.scale(r)}get advanceWidth(){return this._getMetrics().advanceWidth}get advanceHeight(){return this._getMetrics().advanceHeight}get ligatureCaretPositions(){}_getName(){let{post:t}=this._font;if(!t)return null;switch(t.version){case 1:return Ii[this.id];case 2:let r=t.glyphNameIndex[this.id];return r0&&this.codePoints.every(l.isMark),this.isLigature=this.codePoints.length>1}}(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0e4f52d7996e478b$export$2e2bcd8739ae039.prototype,"cbox",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0e4f52d7996e478b$export$2e2bcd8739ae039.prototype,"bbox",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0e4f52d7996e478b$export$2e2bcd8739ae039.prototype,"path",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0e4f52d7996e478b$export$2e2bcd8739ae039.prototype,"advanceWidth",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0e4f52d7996e478b$export$2e2bcd8739ae039.prototype,"advanceHeight",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0e4f52d7996e478b$export$2e2bcd8739ae039.prototype,"name",null);let Oi=new i.Struct({numberOfContours:i.int16,xMin:i.int16,yMin:i.int16,xMax:i.int16,yMax:i.int16});class $f680320fa07ef53d$export$baf26146a414f24a{copy(){return new $f680320fa07ef53d$export$baf26146a414f24a(this.onCurve,this.endContour,this.x,this.y)}constructor(t,r,n=0,i=0){this.onCurve=t,this.endContour=r,this.x=n,this.y=i}}class $f680320fa07ef53d$var$Component{constructor(t,r,n){this.glyphID=t,this.dx=r,this.dy=n,this.pos=0,this.scaleX=this.scaleY=1,this.scale01=this.scale10=0}}class $f680320fa07ef53d$export$2e2bcd8739ae039 extends $0e4f52d7996e478b$export$2e2bcd8739ae039{_getCBox(t){if(this._font._variationProcessor&&!t)return this.path.cbox;let r=this._font._getTableStream("glyf");r.pos+=this._font.loca.offsets[this.id];let n=Oi.decode(r),i=new $0e2da1c4ce69e8ad$export$2e2bcd8739ae039(n.xMin,n.yMin,n.xMax,n.yMax);return Object.freeze(i)}_parseGlyphCoord(t,r,n,i){if(n){var a=t.readUInt8();i||(a=-a),a+=r}else if(i)a=r;else a=r+t.readInt16BE();return a}_decode(){let t=this._font.loca.offsets[this.id];if(t===this._font.loca.offsets[this.id+1])return null;let r=this._font._getTableStream("glyf");r.pos+=t;let n=r.pos,i=Oi.decode(r);return i.numberOfContours>0?this._decodeSimple(i,r):i.numberOfContours<0&&this._decodeComposite(i,r,n),i}_decodeSimple(t,r){t.points=[];let n=new i.Array(i.uint16,t.numberOfContours).decode(r);t.instructions=new i.Array(i.uint8,i.uint16).decode(r);let a=[],o=n[n.length-1]+1;for(;a.length=0,0,0);t.points.push(r)}let u=0;for(l=0;l>1,l.length=0}function moveTo(t,r){y&&s.closePath(),s.moveTo(t,r),y=!0}let parse=function(){for(;r.pos1&&checkWidth(),m+=l.shift(),moveTo(g,m);break;case 5:for(;l.length>=2;)g+=l.shift(),m+=l.shift(),s.lineTo(g,m);break;case 6:case 7:for(T=6===x;l.length>=1;)T?g+=l.shift():m+=l.shift(),s.lineTo(g,m),T=!T;break;case 8:for(;l.length>0;)B=g+l.shift(),I=m+l.shift(),O=B+l.shift(),R=I+l.shift(),g=O+l.shift(),m=R+l.shift(),s.bezierCurveTo(B,I,O,R,g,m);break;case 10:if(h=l.pop()+S,k=_[h],k){o[h]=!0;let t=r.pos,n=i;r.pos=k.offset,i=k.offset+k.length,parse(),r.pos=t,i=n}break;case 11:if(t.version>=2)break;return;case 14:if(t.version>=2)break;l.length>0&&checkWidth(),y&&(s.closePath(),y=!1);break;case 15:if(t.version<2)throw new Error("vsindex operator not supported in CFF v1");C=l.pop();break;case 16:{if(t.version<2)throw new Error("blend operator not supported in CFF v1");if(!P)throw new Error("blend operator in non-variation font");let r=P.getBlendVector(A,C),n=l.pop(),i=n*r.length,a=l.length-i,o=a-n;for(let t=0;t>3;break;case 21:l.length>2&&checkWidth(),g+=l.shift(),m+=l.shift(),moveTo(g,m);break;case 22:l.length>1&&checkWidth(),g+=l.shift(),moveTo(g,m);break;case 24:for(;l.length>=8;)B=g+l.shift(),I=m+l.shift(),O=B+l.shift(),R=I+l.shift(),g=O+l.shift(),m=R+l.shift(),s.bezierCurveTo(B,I,O,R,g,m);g+=l.shift(),m+=l.shift(),s.lineTo(g,m);break;case 25:for(;l.length>=8;)g+=l.shift(),m+=l.shift(),s.lineTo(g,m);B=g+l.shift(),I=m+l.shift(),O=B+l.shift(),R=I+l.shift(),g=O+l.shift(),m=R+l.shift(),s.bezierCurveTo(B,I,O,R,g,m);break;case 26:for(l.length%2&&(g+=l.shift());l.length>=4;)B=g,I=m+l.shift(),O=B+l.shift(),R=I+l.shift(),g=O,m=R+l.shift(),s.bezierCurveTo(B,I,O,R,g,m);break;case 27:for(l.length%2&&(m+=l.shift());l.length>=4;)B=g+l.shift(),I=m,O=B+l.shift(),R=I+l.shift(),g=O+l.shift(),m=R,s.bezierCurveTo(B,I,O,R,g,m);break;case 28:l.push(r.readInt16BE());break;case 29:if(h=l.pop()+v,k=w[h],k){a[h]=!0;let t=r.pos,n=i;r.pos=k.offset,i=k.offset+k.length,parse(),r.pos=t,i=n}break;case 30:case 31:for(T=31===x;l.length>=4;)T?(B=g+l.shift(),I=m,O=B+l.shift(),R=I+l.shift(),m=R+l.shift(),g=O+(1===l.length?l.shift():0)):(B=g,I=m+l.shift(),O=B+l.shift(),R=I+l.shift(),g=O+l.shift(),m=R+(1===l.length?l.shift():0)),s.bezierCurveTo(B,I,O,R,g,m),T=!T;break;case 12:switch(x=r.readUInt8(),x){case 3:let t=l.pop(),r=l.pop();l.push(t&&r?1:0);break;case 4:t=l.pop(),r=l.pop(),l.push(t||r?1:0);break;case 5:t=l.pop(),l.push(t?0:1);break;case 9:t=l.pop(),l.push(Math.abs(t));break;case 10:t=l.pop(),r=l.pop(),l.push(t+r);break;case 11:t=l.pop(),r=l.pop(),l.push(t-r);break;case 12:t=l.pop(),r=l.pop(),l.push(t/r);break;case 14:t=l.pop(),l.push(-t);break;case 15:t=l.pop(),r=l.pop(),l.push(t===r?1:0);break;case 18:l.pop();break;case 20:let i=l.pop(),a=l.pop();u[a]=i;break;case 21:a=l.pop(),l.push(u[a]||0);break;case 22:let o=l.pop(),h=l.pop(),p=l.pop(),y=l.pop();l.push(p<=y?o:h);break;case 23:l.push(Math.random());break;case 24:t=l.pop(),r=l.pop(),l.push(t*r);break;case 26:t=l.pop(),l.push(Math.sqrt(t));break;case 27:t=l.pop(),l.push(t,t);break;case 28:t=l.pop(),r=l.pop(),l.push(r,t);break;case 29:a=l.pop(),a<0?a=0:a>l.length-1&&(a=l.length-1),l.push(l[a]);break;case 30:let w=l.pop(),v=l.pop();if(v>=0)for(;v>0;){var n=l[w-1];for(let t=w-2;t>=0;t--)l[t+1]=l[t];l[0]=n,v--}else for(;v<0;){n=l[0];for(let t=0;t<=w;t++)l[t]=l[t+1];l[w-1]=n,v++}break;case 34:B=g+l.shift(),I=m,O=B+l.shift(),R=I+l.shift(),D=O+l.shift(),L=R,M=D+l.shift(),N=L,$=M+l.shift(),z=N,W=$+l.shift(),U=z,g=W,m=U,s.bezierCurveTo(B,I,O,R,D,L),s.bezierCurveTo(M,N,$,z,W,U);break;case 35:j=[];for(let t=0;t<=5;t++)g+=l.shift(),m+=l.shift(),j.push(g,m);s.bezierCurveTo(...j.slice(0,6)),s.bezierCurveTo(...j.slice(6)),l.shift();break;case 36:B=g+l.shift(),I=m+l.shift(),O=B+l.shift(),R=I+l.shift(),D=O+l.shift(),L=R,M=D+l.shift(),N=L,$=M+l.shift(),z=N+l.shift(),W=$+l.shift(),U=z,g=W,m=U,s.bezierCurveTo(B,I,O,R,D,L),s.bezierCurveTo(M,N,$,z,W,U);break;case 37:let _=g,S=m;j=[];for(let t=0;t<=4;t++)g+=l.shift(),m+=l.shift(),j.push(g,m);Math.abs(g-_)>Math.abs(m-S)?(g+=l.shift(),m=S):(g=_,m+=l.shift()),j.push(g,m),s.bezierCurveTo(...j.slice(0,6)),s.bezierCurveTo(...j.slice(6));break;default:throw new Error(`Unknown op: 12 ${x}`)}break;default:throw new Error(`Unknown op: ${x}`)}}else if(x<247)l.push(x-139);else if(x<251){var h=r.readUInt8();l.push(256*(x-247)+h+108)}else if(x<255){h=r.readUInt8();l.push(256*-(x-251)-h-108)}else l.push(r.readInt32BE()/65536)}};return parse(),y&&s.closePath(),s}constructor(...t){super(...t),(0,a._)(this,"type","CFF")}}let Ri=new i.Struct({originX:i.uint16,originY:i.uint16,type:new i.String(4),data:new i.Buffer(t=>t.parent.buflen-t._currentOffset)});class $55855d6d316b015e$export$2e2bcd8739ae039 extends $f680320fa07ef53d$export$2e2bcd8739ae039{getImageForSize(t){for(let n=0;n=t)break}let n=r.imageOffsets,i=n[this.id],a=n[this.id+1];return i===a?null:(this._font.stream.pos=i,Ri.decode(this._font.stream,{buflen:a-i}))}render(t,r){let n=this.getImageForSize(r);if(null!=n){let i=r/this._font.unitsPerEm;t.image(n.data,{height:r,x:n.originX,y:(this.bbox.minY-n.originY)*i})}this._font.sbix.flags.renderOutlines&&super.render(t,r)}constructor(...t){super(...t),(0,a._)(this,"type","SBIX")}}class $42d9dbd2de9ee2d8$var$COLRLayer{constructor(t,r){this.glyph=t,this.color=r}}class $42d9dbd2de9ee2d8$export$2e2bcd8739ae039 extends $0e4f52d7996e478b$export$2e2bcd8739ae039{_getBBox(){let t=new $0e2da1c4ce69e8ad$export$2e2bcd8739ae039;for(let r=0;r>1;var a=r.baseGlyphRecord[t];if(this.ida.gid)){var o=a;break}n=t+1}}if(null==o){var s=this._font._getBaseGlyph(this.id);return[new $42d9dbd2de9ee2d8$var$COLRLayer(s,u={red:0,green:0,blue:0,alpha:255})]}let l=[];for(let n=o.firstLayerIndex;n=1&&r[n]=n.glyphCount)return;let i=n.offsets[t];if(i===n.offsets[t+1])return;let{stream:a}=this.font;if(a.pos=i,a.pos>=a.length)return;let o=a.readUInt16BE(),s=i+a.readUInt16BE();if(32768&o){var l=a.pos;a.pos=s;var u=this.decodePoints();s=a.pos,a.pos=l}let h=r.map(t=>t.copy());o&=4095;for(let t=0;t=n.globalCoordCount)throw new Error("Invalid gvar table");p=n.globalCoords[4095&i]}if(16384&i){var g=[];for(let t=0;tt.copy()),n=r.map(()=>!1);for(let i=0;ii[l])return 0;s=a[l]Math.max(0,r[l]))return 0;s=(s*a[l]+Number.EPSILON)/(r[l]+Number.EPSILON)}}return s}interpolateMissingDeltas(t,r,n){if(0===t.length)return;let i=0;for(;io)continue;let l=i,u=i;for(i++;i<=o;)n[i]&&(this.deltaInterpolate(u+1,i-1,u,i,r,t),u=i),i++;u===l?this.deltaShift(a,o,u,r,t):(this.deltaInterpolate(u+1,o,u,l,r,t),l>0&&this.deltaInterpolate(a,l-1,u,l,r,t)),i=o+1}}deltaInterpolate(t,r,n,i,a,o){if(t>r)return;let s=["x","y"];for(let u=0;ua[i][h]){var l=n;n=i,i=l}let p=a[n][h],g=a[i][h],m=o[n][h],y=o[i][h];if(p!==g||m===y){let n=p===g?0:(y-m)/(g-p);for(let i=t;i<=r;i++){let t=a[i][h];t<=p?t+=m-p:t>=g?t+=y-g:t=m+(t-p)*n,o[i][h]=t}}}}deltaShift(t,r,n,i,a){let o=a[n].x-i[n].x,s=a[n].y-i[n].y;if(0!==o||0!==s)for(let i=t;i<=r;i++)i!==n&&(a[i].x+=o,a[i].y+=s)}getAdvanceAdjustment(t,r){let n,i;if(r.advanceWidthMapping){let a=t;a>=r.advanceWidthMapping.mapCount&&(a=r.advanceWidthMapping.mapCount-1);r.advanceWidthMapping.entryFormat;({outerIndex:n,innerIndex:i}=r.advanceWidthMapping.mapData[a])}else n=0,i=t;return this.getDelta(r.itemVariationStore,n,i)}getDelta(t,r,n){if(r>=t.itemVariationData.length)return 0;let i=t.itemVariationData[r];if(n>=i.deltaSets.length)return 0;let a=i.deltaSets[n],o=this.getBlendVector(t,r),s=0;for(let t=0;tn.peakCoord||n.peakCoord>n.endCoord||n.startCoord<0&&n.endCoord>0&&0!==n.peakCoord||0===n.peakCoord?1:i[t]n.endCoord?0:i[t]===n.peakCoord?1:i[t]=0&&t<=255?1:2}static encode(t,r){r>=0&&r<=255?t.writeUInt8(r):t.writeInt16BE(r)}}let Di=new i.Struct({numberOfContours:i.int16,xMin:i.int16,yMin:i.int16,xMax:i.int16,yMax:i.int16,endPtsOfContours:new i.Array(i.uint16,"numberOfContours"),instructions:new i.Array(i.uint8,i.uint16),flags:new i.Array(i.uint8,0),xPoints:new i.Array($2784eedf0b35a048$var$Point,0),yPoints:new i.Array($2784eedf0b35a048$var$Point,0)});class $2784eedf0b35a048$export$2e2bcd8739ae039{encodeSimple(t,r=[]){let n=[],a=[],o=[],s=[],l=0,u=0,h=0,p=0,g=0;for(let r=0;r0&&(s.push(l),l=0),s.push(w),p=w),u=m,h=y,g++}"closePath"===i.command&&n.push(g-1)}t.commands.length>1&&"closePath"!==t.commands[t.commands.length-1].command&&n.push(g-1);let m=t.bbox,y={numberOfContours:n.length,xMin:m.minX,yMin:m.minY,xMax:m.maxX,yMax:m.maxY,endPtsOfContours:n,instructions:r,flags:s,xPoints:a,yPoints:o},w=Di.size(y),v=4-w%4,x=new i.EncodeStream(w+v);return Di.encode(x,y),0!==v&&x.fill(0,v),x.buffer}_encodePoint(t,r,n,i,a,o){let s=t-r;return t===r?i|=o:(-255<=s&&s<=255&&(i|=a,s<0?s=-s:i|=o),n.push(s)),i}}class $fe042f4b88f46896$export$2e2bcd8739ae039 extends $a8ac370803cb82cf$export$2e2bcd8739ae039{_addGlyph(t){let r=this.font.getGlyph(t),n=r._decode(),i=this.font.loca.offsets[t],a=this.font.loca.offsets[t+1],o=this.font._getTableStream("glyf");o.pos+=i;let s=o.readBuffer(a-i);if(n&&n.numberOfContours<0){s=new Uint8Array(s);let r=new DataView(s.buffer);for(let i of n.components)t=this.includeGlyph(i.glyphID),r.setUint16(i.pos,t)}else n&&this.font._variationProcessor&&(s=this.glyphEncoder.encodeSimple(r.path,n.instructions));return this.glyf.push(s),this.loca.offsets.push(this.offset),this.hmtx.metrics.push({advance:r.advanceWidth,bearing:r._getMetrics().leftBearing}),this.offset+=s.length,this.glyf.length-1}encode(){this.glyf=[],this.offset=0,this.loca={offsets:[],version:this.font.loca.version},this.hmtx={metrics:[],bearings:[]};let t=0;for(;t255?2:1,ranges:[{first:1,nLeft:this.charstrings.length-2}]},r=Object.assign({},this.cff.topDict);r.Private=null,r.charset=t,r.Encoding=null,r.CharStrings=this.charstrings;for(let t of["version","Notice","Copyright","FullName","FamilyName","Weight","PostScript","BaseFontName","FontName"])r[t]=this.addString(this.cff.string(r[t]));r.ROS=[this.addString("Adobe"),this.addString("Identity"),0],r.CIDCount=this.charstrings.length,this.cff.isCIDFont?this.subsetFontdict(r):this.createCIDFontdict(r);let n={version:1,hdrSize:this.cff.hdrSize,offSize:4,header:this.cff.header,nameIndex:[this.cff.postscriptName],topDictIndex:[r],stringIndex:this.strings,globalSubrIndex:this.gsubrs};return ot.toBuffer(n)}constructor(t){if(super(t),this.cff=this.font["CFF "],!this.cff)throw new Error("Not a CFF Font")}}class $0a8ef2660a6ce4b6$export$2e2bcd8739ae039{static probe(t){let r=Bn.decode(t.slice(0,4));return"true"===r||"OTTO"===r||r===String.fromCharCode(0,1,0,0)}setDefaultLanguage(t=null){this.defaultLanguage=t}_getTable(t){if(!(t.tag in this._tables))try{this._tables[t.tag]=this._decodeTable(t)}catch(t){}return this._tables[t.tag]}_getTableStream(t){let r=this.directory.tables[t];return r?(this.stream.pos=r.offset,this.stream):null}_decodeDirectory(){return this.directory=Tn.decode(this.stream,{_startOffset:0})}_decodeTable(t){let r=this.stream.pos,n=this._getTableStream(t.tag),i=Pn[t.tag].decode(n,this,t.length);return this.stream.pos=r,i}getName(t,r=this.defaultLanguage||x){let n=this.name&&this.name.records[t];return n&&(n[r]||n[this.defaultLanguage]||n[x]||n.en||n[Object.keys(n)[0]])||null}get postscriptName(){return this.getName("postscriptName")}get fullName(){return this.getName("fullName")}get familyName(){return this.getName("fontFamily")}get subfamilyName(){return this.getName("fontSubfamily")}get copyright(){return this.getName("copyright")}get version(){return this.getName("version")}get ascent(){return this.hhea.ascent}get descent(){return this.hhea.descent}get lineGap(){return this.hhea.lineGap}get underlinePosition(){return this.post.underlinePosition}get underlineThickness(){return this.post.underlineThickness}get italicAngle(){return this.post.italicAngle}get capHeight(){let t=this["OS/2"];return t?t.capHeight:this.ascent}get xHeight(){let t=this["OS/2"];return t?t.xHeight:0}get numGlyphs(){return this.maxp.numGlyphs}get unitsPerEm(){return this.head.unitsPerEm}get bbox(){return Object.freeze(new $0e2da1c4ce69e8ad$export$2e2bcd8739ae039(this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax))}get _cmapProcessor(){return new $0d6e160064c86e50$export$2e2bcd8739ae039(this.cmap)}get characterSet(){return this._cmapProcessor.getCharacterSet()}hasGlyphForCodePoint(t){return!!this._cmapProcessor.lookup(t)}glyphForCodePoint(t){return this.getGlyph(this._cmapProcessor.lookup(t),[t])}glyphsForString(t){let r=[],n=t.length,i=0,a=-1,o=-1;for(;i<=n;){let s=0,l=0;if(i{let i=r.axisTag.trim();return i in t?Math.max(r.minValue,Math.min(r.maxValue,t[i])):r.defaultValue}),n=new i.DecodeStream(this.stream.buffer);n.pos=this._directoryPos;let a=new $0a8ef2660a6ce4b6$export$2e2bcd8739ae039(n,r);return a._tables=this._tables,a}get _variationProcessor(){if(!this.fvar)return null;let t=this.variationCoords;return t||this.CFF2?(t||(t=this.fvar.axis.map(t=>t.defaultValue)),new $7586bb9ea67c41d8$export$2e2bcd8739ae039(this,t)):null}getFont(t){return this.getVariation(t)}constructor(t,r=null){(0,a._)(this,"type","TTF"),this.defaultLanguage=null,this.stream=t,this.variationCoords=r,this._directoryPos=this.stream.pos,this._tables={},this._glyphs={},this._decodeDirectory();for(let t in this.directory.tables){let r=this.directory.tables[t];Pn[t]&&r.length>0&&Object.defineProperty(this,t,{get:this._getTable.bind(this,r)})}}}(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0a8ef2660a6ce4b6$export$2e2bcd8739ae039.prototype,"bbox",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0a8ef2660a6ce4b6$export$2e2bcd8739ae039.prototype,"_cmapProcessor",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0a8ef2660a6ce4b6$export$2e2bcd8739ae039.prototype,"characterSet",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0a8ef2660a6ce4b6$export$2e2bcd8739ae039.prototype,"_layoutEngine",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0a8ef2660a6ce4b6$export$2e2bcd8739ae039.prototype,"variationAxes",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0a8ef2660a6ce4b6$export$2e2bcd8739ae039.prototype,"namedVariations",null),(0,o._)([$3bda6911913b43f0$export$69a3209f1a06c04d],$0a8ef2660a6ce4b6$export$2e2bcd8739ae039.prototype,"_variationProcessor",null);let Li=new i.Struct({tag:new i.String(4),offset:new i.Pointer(i.uint32,"void",{type:"global"}),compLength:i.uint32,length:i.uint32,origChecksum:i.uint32}),Mi=new i.Struct({tag:new i.String(4),flavor:i.uint32,length:i.uint32,numTables:i.uint16,reserved:new i.Reserved(i.uint16),totalSfntSize:i.uint32,majorVersion:i.uint16,minorVersion:i.uint16,metaOffset:i.uint32,metaLength:i.uint32,metaOrigLength:i.uint32,privOffset:i.uint32,privLength:i.uint32,tables:new i.Array(Li,"numTables")});Mi.process=function(){let t={};for(let r of this.tables)t[r.tag]=r;this.tables=t};var Fi=Mi;class $44b9edca0e403d6d$export$2e2bcd8739ae039 extends $f680320fa07ef53d$export$2e2bcd8739ae039{_decode(){return this._font._transformedGlyphs[this.id]}_getCBox(){return this.path.bbox}constructor(...t){super(...t),(0,a._)(this,"type","WOFF2")}}const Ni={decode(t){let r=0,n=[0,1,2,3,4];for(let i=0;i!(63&~t.flags)),tag:t=>t.customTag||$i[63&t.flags],length:Ni,transformVersion:t=>t.flags>>>6&3,transformed:t=>"glyf"===t.tag||"loca"===t.tag?0===t.transformVersion:0!==t.transformVersion,transformLength:new i.Optional(Ni,t=>t.transformed)}),Wi=new i.Struct({tag:new i.String(4),flavor:i.uint32,length:i.uint32,numTables:i.uint16,reserved:new i.Reserved(i.uint16),totalSfntSize:i.uint32,totalCompressedSize:i.uint32,majorVersion:i.uint16,minorVersion:i.uint16,metaOffset:i.uint32,metaLength:i.uint32,metaOrigLength:i.uint32,privOffset:i.uint32,privLength:i.uint32,tables:new i.Array(zi,"numTables")});Wi.process=function(){let t={};for(let r=0;r>7);if(h&=127,h<10)n=0,u=$333fb94547d9fb5c$var$withSign(h,((14&h)<<7)+r.readUInt8());else if(h<20)n=$333fb94547d9fb5c$var$withSign(h,((h-10&14)<<7)+r.readUInt8()),u=0;else if(h<84){n=$333fb94547d9fb5c$var$withSign(h,1+(48&(s=h-20))+((l=r.readUInt8())>>4)),u=$333fb94547d9fb5c$var$withSign(h>>1,1+((12&s)<<2)+(15&l))}else if(h<120){var s;n=$333fb94547d9fb5c$var$withSign(h,1+((s=h-84)/12<<8)+r.readUInt8()),u=$333fb94547d9fb5c$var$withSign(h>>1,1+(s%12>>2<<8)+r.readUInt8())}else if(h<124){var l=r.readUInt8();let t=r.readUInt8();n=$333fb94547d9fb5c$var$withSign(h,(l<<4)+(t>>4)),u=$333fb94547d9fb5c$var$withSign(h>>1,((15&t)<<8)+r.readUInt8())}else n=$333fb94547d9fb5c$var$withSign(h,r.readUInt16BE()),u=$333fb94547d9fb5c$var$withSign(h>>1,r.readUInt16BE());a+=n,i+=u,o.push(new $f680320fa07ef53d$export$baf26146a414f24a(p,!1,a,i))}return o}let Vi=new i.VersionedStruct(i.uint32,{65536:{numFonts:i.uint32,offsets:new i.Array(i.uint32,"numFonts")},131072:{numFonts:i.uint32,offsets:new i.Array(i.uint32,"numFonts"),dsigTag:i.uint32,dsigLength:i.uint32,dsigOffset:i.uint32}});let Gi=new i.String(i.uint8),Hi=(new i.Struct({len:i.uint32,buf:new i.Buffer("len")}),new i.Struct({id:i.uint16,nameOffset:i.int16,attr:i.uint8,dataOffset:i.uint24,handle:i.uint32})),qi=new i.Struct({name:new i.String(4),maxTypeIndex:i.uint16,refList:new i.Pointer(i.uint16,new i.Array(Hi,t=>t.maxTypeIndex+1),{type:"parent"})}),Xi=new i.Struct({length:i.uint16,types:new i.Array(qi,t=>t.length+1)}),Zi=new i.Struct({reserved:new i.Reserved(i.uint8,24),typeList:new i.Pointer(i.uint16,Xi),nameListOffset:new i.Pointer(i.uint16,"void")}),Yi=new i.Struct({dataOffset:i.uint32,map:new i.Pointer(i.uint32,Zi),dataLength:i.uint32,mapLength:i.uint32});$59aa4ed98453e1d4$export$36b2f24e97d43be($0a8ef2660a6ce4b6$export$2e2bcd8739ae039),$59aa4ed98453e1d4$export$36b2f24e97d43be(class $8a0a49baaf5d834d$export$2e2bcd8739ae039 extends $0a8ef2660a6ce4b6$export$2e2bcd8739ae039{static probe(t){return"wOFF"===Bn.decode(t.slice(0,4))}_decodeDirectory(){this.directory=Fi.decode(this.stream,{_startOffset:0})}_getTableStream(t){let r=this.directory.tables[t];if(r){if(this.stream.pos=r.offset,r.compLength0){let r=[],a=0;for(let n=0;nt[n]===r))return a}return null}get fonts(){let t=[];for(let r of this.header.offsets){let n=new i.DecodeStream(this.stream.buffer);n.pos=r,t.push(new $0a8ef2660a6ce4b6$export$2e2bcd8739ae039(n))}return t}constructor(t){if((0,a._)(this,"type","TTC"),this.stream=t,"ttcf"!==t.readString(4))throw new Error("Not a TrueType collection");this.header=Vi.decode(t)}}),$59aa4ed98453e1d4$export$36b2f24e97d43be(class $d0fe640dc6c78783$export$2e2bcd8739ae039{static probe(t){let r=new i.DecodeStream(t);try{var n=Yi.decode(r)}catch(t){return!1}for(let t of n.map.typeList.types)if("sfnt"===t.name)return!0;return!1}getFont(t){if(!this.sfnt)return null;for(let r of this.sfnt.refList){let n=this.header.dataOffset+r.dataOffset+4,a=new i.DecodeStream(this.stream.buffer.slice(n)),o=new $0a8ef2660a6ce4b6$export$2e2bcd8739ae039(a);if(o.postscriptName===t||o.postscriptName instanceof Uint8Array&&t instanceof Uint8Array&&o.postscriptName.every((r,n)=>t[n]===r))return o}return null}get fonts(){let t=[];for(let r of this.sfnt.refList){let n=this.header.dataOffset+r.dataOffset+4,a=new i.DecodeStream(this.stream.buffer.slice(n));t.push(new $0a8ef2660a6ce4b6$export$2e2bcd8739ae039(a))}return t}constructor(t){(0,a._)(this,"type","DFont"),this.stream=t,this.header=Yi.decode(this.stream);for(let t of this.header.map.typeList.types){for(let r of t.refList)r.nameOffset>=0?(this.stream.pos=r.nameOffset+this.header.map.nameListOffset,r.name=Gi.decode(this.stream)):r.name=null;"sfnt"===t.name&&(this.sfnt=t)}}}),function $parcel$exportWildcard(t,r){return Object.keys(r).forEach(function(n){"default"===n||"__esModule"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:function get(){return r[n]}})}),t}(t.exports,y)},1733(t,r,n){var i=n(783).Buffer;!function(t){t.parser=function(t,r){return new SAXParser(t,r)},t.SAXParser=SAXParser,t.SAXStream=SAXStream,t.createStream=function createStream(t,r){return new SAXStream(t,r)},t.MAX_BUFFER_LENGTH=65536;var r,a=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function SAXParser(r,n){if(!(this instanceof SAXParser))return new SAXParser(r,n);var i=this;!function clearBuffers(t){for(var r=0,n=a.length;r"===o?(emitNode(n,"onsgmldeclaration",n.sgmlDecl),n.sgmlDecl="",n.state=S.TEXT):isQuote(o)?(n.state=S.SGML_DECL_QUOTED,n.sgmlDecl+=o):n.sgmlDecl+=o;continue;case S.SGML_DECL_QUOTED:o===n.q&&(n.state=S.SGML_DECL,n.q=""),n.sgmlDecl+=o;continue;case S.DOCTYPE:">"===o?(n.state=S.TEXT,emitNode(n,"ondoctype",n.doctype),n.doctype=!0):(n.doctype+=o,"["===o?n.state=S.DOCTYPE_DTD:isQuote(o)&&(n.state=S.DOCTYPE_QUOTED,n.q=o));continue;case S.DOCTYPE_QUOTED:n.doctype+=o,o===n.q&&(n.q="",n.state=S.DOCTYPE);continue;case S.DOCTYPE_DTD:"]"===o?(n.doctype+=o,n.state=S.DOCTYPE):"<"===o?(n.state=S.OPEN_WAKA,n.startTagPosition=n.position):isQuote(o)?(n.doctype+=o,n.state=S.DOCTYPE_DTD_QUOTED,n.q=o):n.doctype+=o;continue;case S.DOCTYPE_DTD_QUOTED:n.doctype+=o,o===n.q&&(n.state=S.DOCTYPE_DTD,n.q="");continue;case S.COMMENT:"-"===o?n.state=S.COMMENT_ENDING:n.comment+=o;continue;case S.COMMENT_ENDING:"-"===o?(n.state=S.COMMENT_ENDED,n.comment=textopts(n.opt,n.comment),n.comment&&emitNode(n,"oncomment",n.comment),n.comment=""):(n.comment+="-"+o,n.state=S.COMMENT);continue;case S.COMMENT_ENDED:">"!==o?(strictFail(n,"Malformed comment"),n.comment+="--"+o,n.state=S.COMMENT):n.doctype&&!0!==n.doctype?n.state=S.DOCTYPE_DTD:n.state=S.TEXT;continue;case S.CDATA:for(u=i-1;o&&"]"!==o;)(o=charAt(r,i++))&&n.trackPosition&&(n.position++,"\n"===o?(n.line++,n.column=0):n.column++);n.cdata+=r.substring(u,i-1),"]"===o&&(n.state=S.CDATA_ENDING);continue;case S.CDATA_ENDING:"]"===o?n.state=S.CDATA_ENDING_2:(n.cdata+="]"+o,n.state=S.CDATA);continue;case S.CDATA_ENDING_2:">"===o?(n.cdata&&emitNode(n,"oncdata",n.cdata),emitNode(n,"onclosecdata"),n.cdata="",n.state=S.TEXT):"]"===o?n.cdata+="]":(n.cdata+="]]"+o,n.state=S.CDATA);continue;case S.PROC_INST:"?"===o?n.state=S.PROC_INST_ENDING:isWhitespace(o)?n.state=S.PROC_INST_BODY:n.procInstName+=o;continue;case S.PROC_INST_BODY:if(!n.procInstBody&&isWhitespace(o))continue;"?"===o?n.state=S.PROC_INST_ENDING:n.procInstBody+=o;continue;case S.PROC_INST_ENDING:">"===o?(emitNode(n,"onprocessinginstruction",{name:n.procInstName,body:n.procInstBody}),n.procInstName=n.procInstBody="",n.state=S.TEXT):(n.procInstBody+="?"+o,n.state=S.PROC_INST_BODY);continue;case S.OPEN_TAG:isMatch(m,o)?n.tagName+=o:(newTag(n),">"===o?openTag(n):"/"===o?n.state=S.OPEN_TAG_SLASH:(isWhitespace(o)||strictFail(n,"Invalid character in tag name"),n.state=S.ATTRIB));continue;case S.OPEN_TAG_SLASH:">"===o?(openTag(n,!0),closeTag(n)):(strictFail(n,"Forward-slash in opening tag not followed by >"),n.state=S.ATTRIB);continue;case S.ATTRIB:if(isWhitespace(o))continue;">"===o?openTag(n):"/"===o?n.state=S.OPEN_TAG_SLASH:isMatch(g,o)?(n.attribName=o,n.attribValue="",n.state=S.ATTRIB_NAME):strictFail(n,"Invalid attribute name");continue;case S.ATTRIB_NAME:"="===o?n.state=S.ATTRIB_VALUE:">"===o?(strictFail(n,"Attribute without value"),n.attribValue=n.attribName,attrib(n),openTag(n)):isWhitespace(o)?n.state=S.ATTRIB_NAME_SAW_WHITE:isMatch(m,o)?n.attribName+=o:strictFail(n,"Invalid attribute name");continue;case S.ATTRIB_NAME_SAW_WHITE:if("="===o)n.state=S.ATTRIB_VALUE;else{if(isWhitespace(o))continue;strictFail(n,"Attribute without value"),n.tag.attributes[n.attribName]="",n.attribValue="",emitNode(n,"onattribute",{name:n.attribName,value:""}),n.attribName="",">"===o?openTag(n):isMatch(g,o)?(n.attribName=o,n.state=S.ATTRIB_NAME):(strictFail(n,"Invalid attribute name"),n.state=S.ATTRIB)}continue;case S.ATTRIB_VALUE:if(isWhitespace(o))continue;isQuote(o)?(n.q=o,n.state=S.ATTRIB_VALUE_QUOTED):(n.opt.unquotedAttributeValues||error(n,"Unquoted attribute value"),n.state=S.ATTRIB_VALUE_UNQUOTED,n.attribValue=o);continue;case S.ATTRIB_VALUE_QUOTED:if(o!==n.q){"&"===o?n.state=S.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=o;continue}attrib(n),n.q="",n.state=S.ATTRIB_VALUE_CLOSED;continue;case S.ATTRIB_VALUE_CLOSED:isWhitespace(o)?n.state=S.ATTRIB:">"===o?openTag(n):"/"===o?n.state=S.OPEN_TAG_SLASH:isMatch(g,o)?(strictFail(n,"No whitespace between attributes"),n.attribName=o,n.attribValue="",n.state=S.ATTRIB_NAME):strictFail(n,"Invalid attribute name");continue;case S.ATTRIB_VALUE_UNQUOTED:if(!isAttribEnd(o)){"&"===o?n.state=S.ATTRIB_VALUE_ENTITY_U:n.attribValue+=o;continue}attrib(n),">"===o?openTag(n):n.state=S.ATTRIB;continue;case S.CLOSE_TAG:if(n.tagName)">"===o?closeTag(n):isMatch(m,o)?n.tagName+=o:n.script?(n.script+=""===o?closeTag(n):strictFail(n,"Invalid characters in closing tag");continue;case S.TEXT_ENTITY:case S.ATTRIB_VALUE_ENTITY_Q:case S.ATTRIB_VALUE_ENTITY_U:var p,v;switch(n.state){case S.TEXT_ENTITY:p=S.TEXT,v="textNode";break;case S.ATTRIB_VALUE_ENTITY_Q:p=S.ATTRIB_VALUE_QUOTED,v="attribValue";break;case S.ATTRIB_VALUE_ENTITY_U:p=S.ATTRIB_VALUE_UNQUOTED,v="attribValue"}if(";"===o){var x=parseEntity(n);n.opt.unparsedEntities&&!Object.values(t.XML_ENTITIES).includes(x)?(n.entity="",n.state=p,n.write(x)):(n[v]+=x,n.entity="",n.state=p)}else isMatch(n.entity.length?w:y,o)?n.entity+=o:(strictFail(n,"Invalid character in entity name"),n[v]+="&"+n.entity+o,n.entity="",n.state=p);continue;default:throw new Error(n,"Unknown state: "+n.state)}n.position>=n.bufferCheckPosition&&function checkBufferLength(r){for(var n=Math.max(t.MAX_BUFFER_LENGTH,10),i=0,o=0,s=a.length;on)switch(a[o]){case"textNode":closeText(r);break;case"cdata":emitNode(r,"oncdata",r.cdata),r.cdata="";break;case"script":emitNode(r,"onscript",r.script),r.script="";break;default:error(r,"Max buffer length exceeded: "+a[o])}i=Math.max(i,l)}var u=t.MAX_BUFFER_LENGTH-i;r.bufferCheckPosition=u+r.position}(n);return n},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){!function flushBuffers(t){closeText(t),""!==t.cdata&&(emitNode(t,"oncdata",t.cdata),t.cdata=""),""!==t.script&&(emitNode(t,"onscript",t.script),t.script="")}(this)}};try{r=n(9760).Stream}catch(t){r=function(){}}r||(r=function(){});var o=t.EVENTS.filter(function(t){return"error"!==t&&"end"!==t});function SAXStream(t,n){if(!(this instanceof SAXStream))return new SAXStream(t,n);r.apply(this),this._parser=new SAXParser(t,n),this.writable=!0,this.readable=!0;var i=this;this._parser.onend=function(){i.emit("end")},this._parser.onerror=function(t){i.emit("error",t),i._parser.error=null},this._decoder=null,o.forEach(function(t){Object.defineProperty(i,"on"+t,{get:function(){return i._parser["on"+t]},set:function(r){if(!r)return i.removeAllListeners(t),i._parser["on"+t]=r,r;i.on(t,r)},enumerable:!0,configurable:!1})})}SAXStream.prototype=Object.create(r.prototype,{constructor:{value:SAXStream}}),SAXStream.prototype.write=function(t){return"function"==typeof i&&"function"==typeof i.isBuffer&&i.isBuffer(t)&&(this._decoder||(this._decoder=new TextDecoder("utf8")),t=this._decoder.decode(t,{stream:!0})),this._parser.write(t.toString()),this.emit("data",t),!0},SAXStream.prototype.end=function(t){if(t&&t.length&&this.write(t),this._decoder){var r=this._decoder.decode();r&&(this._parser.write(r),this.emit("data",r))}return this._parser.end(),!0},SAXStream.prototype.on=function(t,n){var i=this;return i._parser["on"+t]||-1===o.indexOf(t)||(i._parser["on"+t]=function(){var r=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);r.splice(0,0,t),i.emit.apply(i,r)}),r.prototype.on.call(i,t,n)};var s="[CDATA[",l="DOCTYPE",u="http://www.w3.org/XML/1998/namespace",h="http://www.w3.org/2000/xmlns/",p={xml:u,xmlns:h},g=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,m=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,y=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,w=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function isWhitespace(t){return" "===t||"\n"===t||"\r"===t||"\t"===t}function isQuote(t){return'"'===t||"'"===t}function isAttribEnd(t){return">"===t||isWhitespace(t)}function isMatch(t,r){return t.test(r)}function notMatch(t,r){return!isMatch(t,r)}var v,x,_,S=0;for(var A in t.STATE={BEGIN:S++,BEGIN_WHITESPACE:S++,TEXT:S++,TEXT_ENTITY:S++,OPEN_WAKA:S++,SGML_DECL:S++,SGML_DECL_QUOTED:S++,DOCTYPE:S++,DOCTYPE_QUOTED:S++,DOCTYPE_DTD:S++,DOCTYPE_DTD_QUOTED:S++,COMMENT_STARTING:S++,COMMENT:S++,COMMENT_ENDING:S++,COMMENT_ENDED:S++,CDATA:S++,CDATA_ENDING:S++,CDATA_ENDING_2:S++,PROC_INST:S++,PROC_INST_BODY:S++,PROC_INST_ENDING:S++,OPEN_TAG:S++,OPEN_TAG_SLASH:S++,ATTRIB:S++,ATTRIB_NAME:S++,ATTRIB_NAME_SAW_WHITE:S++,ATTRIB_VALUE:S++,ATTRIB_VALUE_QUOTED:S++,ATTRIB_VALUE_CLOSED:S++,ATTRIB_VALUE_UNQUOTED:S++,ATTRIB_VALUE_ENTITY_Q:S++,ATTRIB_VALUE_ENTITY_U:S++,CLOSE_TAG:S++,CLOSE_TAG_SAW_WHITE:S++,SCRIPT:S++,SCRIPT_ENDING:S++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(r){var n=t.ENTITIES[r],i="number"==typeof n?String.fromCharCode(n):n;t.ENTITIES[r]=i}),t.STATE)t.STATE[t.STATE[A]]=A;function emit(t,r,n){t[r]&&t[r](n)}function emitNode(t,r,n){t.textNode&&closeText(t),emit(t,r,n)}function closeText(t){t.textNode=textopts(t.opt,t.textNode),t.textNode&&emit(t,"ontext",t.textNode),t.textNode=""}function textopts(t,r){return t.trim&&(r=r.trim()),t.normalize&&(r=r.replace(/\s+/g," ")),r}function error(t,r){return closeText(t),t.trackPosition&&(r+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),r=new Error(r),t.error=r,emit(t,"onerror",r),t}function end(t){return t.sawRoot&&!t.closedRoot&&strictFail(t,"Unclosed root tag"),t.state!==S.BEGIN&&t.state!==S.BEGIN_WHITESPACE&&t.state!==S.TEXT&&error(t,"Unexpected end"),closeText(t),t.c="",t.closed=!0,emit(t,"onend"),SAXParser.call(t,t.strict,t.opt),t}function strictFail(t,r){if("object"!=typeof t||!(t instanceof SAXParser))throw new Error("bad call to strictFail");t.strict&&error(t,r)}function newTag(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var r=t.tags[t.tags.length-1]||t,n=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(n.ns=r.ns),t.attribList.length=0,emitNode(t,"onopentagstart",n)}function qname(t,r){var n=t.indexOf(":")<0?["",t]:t.split(":"),i=n[0],a=n[1];return r&&"xmlns"===t&&(i="xmlns",a=""),{prefix:i,local:a}}function attrib(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName))t.attribName=t.attribValue="";else{if(t.opt.xmlns){var r=qname(t.attribName,!0),n=r.prefix,i=r.local;if("xmlns"===n)if("xml"===i&&t.attribValue!==u)strictFail(t,"xml: prefix must be bound to "+u+"\nActual: "+t.attribValue);else if("xmlns"===i&&t.attribValue!==h)strictFail(t,"xmlns: prefix must be bound to "+h+"\nActual: "+t.attribValue);else{var a=t.tag,o=t.tags[t.tags.length-1]||t;a.ns===o.ns&&(a.ns=Object.create(o.ns)),a.ns[i]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,emitNode(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}}function openTag(t,r){if(t.opt.xmlns){var n=t.tag,i=qname(t.tagName);n.prefix=i.prefix,n.local=i.local,n.uri=n.ns[i.prefix]||"",n.prefix&&!n.uri&&(strictFail(t,"Unbound namespace prefix: "+JSON.stringify(t.tagName)),n.uri=i.prefix);var a=t.tags[t.tags.length-1]||t;n.ns&&a.ns!==n.ns&&Object.keys(n.ns).forEach(function(r){emitNode(t,"onopennamespace",{prefix:r,uri:n.ns[r]})});for(var o=0,s=t.attribList.length;o",t.tagName="",void(t.state=S.SCRIPT);emitNode(t,"onscript",t.script),t.script=""}var r=t.tags.length,n=t.tagName;t.strict||(n=n[t.looseCase]());for(var i=n;r--;){if(t.tags[r].name===i)break;strictFail(t,"Unexpected close tag")}if(r<0)return strictFail(t,"Unmatched closing tag: "+t.tagName),t.textNode+="",void(t.state=S.TEXT);t.tagName=n;for(var a=t.tags.length;a-- >r;){var o=t.tag=t.tags.pop();t.tagName=t.tag.name,emitNode(t,"onclosetag",t.tagName);var s={};for(var l in o.ns)s[l]=o.ns[l];var u=t.tags[t.tags.length-1]||t;t.opt.xmlns&&o.ns!==u.ns&&Object.keys(o.ns).forEach(function(r){var n=o.ns[r];emitNode(t,"onclosenamespace",{prefix:r,uri:n})})}0===r&&(t.closedRoot=!0),t.tagName=t.attribValue=t.attribName="",t.attribList.length=0,t.state=S.TEXT}function parseEntity(t){var r,n=t.entity,i=n.toLowerCase(),a="";return t.ENTITIES[n]?t.ENTITIES[n]:t.ENTITIES[i]?t.ENTITIES[i]:("#"===(n=i).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),a=(r=parseInt(n,16)).toString(16)):(n=n.slice(1),a=(r=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(r)||a.toLowerCase()!==n||r<0||r>1114111?(strictFail(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCodePoint(r))}function beginWhiteSpace(t,r){"<"===r?(t.state=S.OPEN_WAKA,t.startTagPosition=t.position):isWhitespace(r)||(strictFail(t,"Non-whitespace before first tag."),t.textNode=r,t.state=S.TEXT)}function charAt(t,r){var n="";return r1114111||x(s)!==s)throw RangeError("Invalid code point: "+s);s<=65535?n.push(s):(t=55296+((s-=65536)>>10),r=s%1024+56320,n.push(t,r)),(i+1===a||n.length>16384)&&(o+=v.apply(null,n),n.length=0)}return o},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:_,configurable:!0,writable:!0}):String.fromCodePoint=_)}(r)},1909(t){"use strict";t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},2017(t,r,n){"use strict";var i=n(7756),a=n(5336),o=n(299),s=n(1078),l=n(644),u=n(4074),h=n(5337),p=n(7383),g=n(2227),m=n(4507),y=u.aTypedArray,w=u.exportTypedArrayMethod,v=i.Uint16Array,x=v&&a(v.prototype.sort),_=!(!x||o(function(){x(new v(2),null)})&&o(function(){x(new v(2),{})})),S=!!x&&!o(function(){if(g)return g<74;if(h)return h<67;if(p)return!0;if(m)return m<602;var t,r,n=new v(516),i=Array(516);for(t=0;t<516;t++)r=t%4,n[t]=515-t,i[t]=t-2*r+3;for(x(n,function(t,r){return(t/4|0)-(r/4|0)}),t=0;t<516;t++)if(n[t]!==i[t])return!0});w("sort",function sort(t){return void 0!==t&&s(t),S?x(this,t):l(y(this),function(t){return function(r,n){return void 0!==t?+t(r,n)||0:n!=n?-1:r!=r?1:0===r&&0===n?1/r>0&&1/n<0?1:-1:r>n}}(t))},!S||_)},2022(t,r,n){"use strict";t.exports=function(){if("object"==typeof globalThis)return globalThis;var t;try{t=this||new Function("return this")()}catch(t){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==n.g)return n.g}return t}()},2073(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(2858),i.mode.CFB=function(){var t=i.lib.BlockCipherMode.extend();function generateKeystreamAndEncrypt(t,r,n,i){var a,o=this._iv;o?(a=o.slice(0),this._iv=void 0):a=this._prevBlock,i.encryptBlock(a,0);for(var s=0;s0&&i[0]<4?1:+(i[0]+i[1])),!a&&s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/))&&(a=+i[1]),t.exports=a},2269(t,r,n){"use strict";var i=n(2519),a=n(6911),o=n(9049),s=n(6395),l=n(2920),u=-2,h=12,p=30;function zswap32(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function InflateState(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function inflateResetKeep(t){var r;return t&&t.state?(r=t.state,t.total_in=t.total_out=r.total=0,t.msg="",r.wrap&&(t.adler=1&r.wrap),r.mode=1,r.last=0,r.havedict=0,r.dmax=32768,r.head=null,r.hold=0,r.bits=0,r.lencode=r.lendyn=new i.Buf32(852),r.distcode=r.distdyn=new i.Buf32(592),r.sane=1,r.back=-1,0):u}function inflateReset(t){var r;return t&&t.state?((r=t.state).wsize=0,r.whave=0,r.wnext=0,inflateResetKeep(t)):u}function inflateReset2(t,r){var n,i;return t&&t.state?(i=t.state,r<0?(n=0,r=-r):(n=1+(r>>4),r<48&&(r&=15)),r&&(r<8||r>15)?u:(null!==i.window&&i.wbits!==r&&(i.window=null),i.wrap=n,i.wbits=r,inflateReset(t))):u}function inflateInit2(t,r){var n,i;return t?(i=new InflateState,t.state=i,i.window=null,0!==(n=inflateReset2(t,r))&&(t.state=null),n):u}var g,m,y=!0;function fixedtables(t){if(y){var r;for(g=new i.Buf32(512),m=new i.Buf32(32),r=0;r<144;)t.lens[r++]=8;for(;r<256;)t.lens[r++]=9;for(;r<280;)t.lens[r++]=7;for(;r<288;)t.lens[r++]=8;for(l(1,t.lens,0,288,g,0,t.work,{bits:9}),r=0;r<32;)t.lens[r++]=5;l(2,t.lens,0,32,m,0,t.work,{bits:5}),y=!1}t.lencode=g,t.lenbits=9,t.distcode=m,t.distbits=5}function updatewindow(t,r,n,a){var o,s=t.state;return null===s.window&&(s.wsize=1<=s.wsize?(i.arraySet(s.window,r,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((o=s.wsize-s.wnext)>a&&(o=a),i.arraySet(s.window,r,n-a,o,s.wnext),(a-=o)?(i.arraySet(s.window,r,n-a,a,0),s.wnext=a,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,n.check=o(n.check,U,2,0),_=0,S=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&_)<<8)+(_>>8))%31){t.msg="incorrect header check",n.mode=p;break}if(8!=(15&_)){t.msg="unknown compression method",n.mode=p;break}if(S-=4,M=8+(15&(_>>>=4)),0===n.wbits)n.wbits=M;else if(M>n.wbits){t.msg="invalid window size",n.mode=p;break}n.dmax=1<>8&1),512&n.flags&&(U[0]=255&_,U[1]=_>>>8&255,n.check=o(n.check,U,2,0)),_=0,S=0,n.mode=3;case 3:for(;S<32;){if(0===v)break e;v--,_+=g[y++]<>>8&255,U[2]=_>>>16&255,U[3]=_>>>24&255,n.check=o(n.check,U,4,0)),_=0,S=0,n.mode=4;case 4:for(;S<16;){if(0===v)break e;v--,_+=g[y++]<>8),512&n.flags&&(U[0]=255&_,U[1]=_>>>8&255,n.check=o(n.check,U,2,0)),_=0,S=0,n.mode=5;case 5:if(1024&n.flags){for(;S<16;){if(0===v)break e;v--,_+=g[y++]<>>8&255,n.check=o(n.check,U,2,0)),_=0,S=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((P=n.length)>v&&(P=v),P&&(n.head&&(M=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),i.arraySet(n.head.extra,g,y,P,M)),512&n.flags&&(n.check=o(n.check,g,P,y)),v-=P,y+=P,n.length-=P),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===v)break e;P=0;do{M=g[y+P++],n.head&&M&&n.length<65536&&(n.head.name+=String.fromCharCode(M))}while(M&&P>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=h;break;case 10:for(;S<32;){if(0===v)break e;v--,_+=g[y++]<>>=7&S,S-=7&S,n.mode=27;break}for(;S<3;){if(0===v)break e;v--,_+=g[y++]<>>=1)){case 0:n.mode=14;break;case 1:if(fixedtables(n),n.mode=20,6===r){_>>>=2,S-=2;break e}break;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=p}_>>>=2,S-=2;break;case 14:for(_>>>=7&S,S-=7&S;S<32;){if(0===v)break e;v--,_+=g[y++]<>>16^65535)){t.msg="invalid stored block lengths",n.mode=p;break}if(n.length=65535&_,_=0,S=0,n.mode=15,6===r)break e;case 15:n.mode=16;case 16:if(P=n.length){if(P>v&&(P=v),P>x&&(P=x),0===P)break e;i.arraySet(m,g,y,P,w),v-=P,y+=P,x-=P,w+=P,n.length-=P;break}n.mode=h;break;case 17:for(;S<14;){if(0===v)break e;v--,_+=g[y++]<>>=5,S-=5,n.ndist=1+(31&_),_>>>=5,S-=5,n.ncode=4+(15&_),_>>>=4,S-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=p;break}n.have=0,n.mode=18;case 18:for(;n.have>>=3,S-=3}for(;n.have<19;)n.lens[j[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,$={bits:n.lenbits},N=l(0,n.lens,0,19,n.lencode,0,n.work,$),n.lenbits=$.bits,N){t.msg="invalid code lengths set",n.mode=p;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,O=65535&W,!((B=W>>>24)<=S);){if(0===v)break e;v--,_+=g[y++]<>>=B,S-=B,n.lens[n.have++]=O;else{if(16===O){for(z=B+2;S>>=B,S-=B,0===n.have){t.msg="invalid bit length repeat",n.mode=p;break}M=n.lens[n.have-1],P=3+(3&_),_>>>=2,S-=2}else if(17===O){for(z=B+3;S>>=B)),_>>>=3,S-=3}else{for(z=B+7;S>>=B)),_>>>=7,S-=7}if(n.have+P>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=p;break}for(;P--;)n.lens[n.have++]=M}}if(n.mode===p)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=p;break}if(n.lenbits=9,$={bits:n.lenbits},N=l(1,n.lens,0,n.nlen,n.lencode,0,n.work,$),n.lenbits=$.bits,N){t.msg="invalid literal/lengths set",n.mode=p;break}if(n.distbits=6,n.distcode=n.distdyn,$={bits:n.distbits},N=l(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,$),n.distbits=$.bits,N){t.msg="invalid distances set",n.mode=p;break}if(n.mode=20,6===r)break e;case 20:n.mode=21;case 21:if(v>=6&&x>=258){t.next_out=w,t.avail_out=x,t.next_in=y,t.avail_in=v,n.hold=_,n.bits=S,s(t,C),w=t.next_out,m=t.output,x=t.avail_out,y=t.next_in,g=t.input,v=t.avail_in,_=n.hold,S=n.bits,n.mode===h&&(n.back=-1);break}for(n.back=0;I=(W=n.lencode[_&(1<>>16&255,O=65535&W,!((B=W>>>24)<=S);){if(0===v)break e;v--,_+=g[y++]<>R)])>>>16&255,O=65535&W,!(R+(B=W>>>24)<=S);){if(0===v)break e;v--,_+=g[y++]<>>=R,S-=R,n.back+=R}if(_>>>=B,S-=B,n.back+=B,n.length=O,0===I){n.mode=26;break}if(32&I){n.back=-1,n.mode=h;break}if(64&I){t.msg="invalid literal/length code",n.mode=p;break}n.extra=15&I,n.mode=22;case 22:if(n.extra){for(z=n.extra;S>>=n.extra,S-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;I=(W=n.distcode[_&(1<>>16&255,O=65535&W,!((B=W>>>24)<=S);){if(0===v)break e;v--,_+=g[y++]<>R)])>>>16&255,O=65535&W,!(R+(B=W>>>24)<=S);){if(0===v)break e;v--,_+=g[y++]<>>=R,S-=R,n.back+=R}if(_>>>=B,S-=B,n.back+=B,64&I){t.msg="invalid distance code",n.mode=p;break}n.offset=O,n.extra=15&I,n.mode=24;case 24:if(n.extra){for(z=n.extra;S>>=n.extra,S-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=p;break}n.mode=25;case 25:if(0===x)break e;if(P=C-x,n.offset>P){if((P=n.offset-P)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=p;break}P>n.wnext?(P-=n.wnext,k=n.wsize-P):k=n.wnext-P,P>n.length&&(P=n.length),T=n.window}else T=m,k=w-n.offset,P=n.length;P>x&&(P=x),x-=P,n.length-=P;do{m[w++]=T[k++]}while(--P);0===n.length&&(n.mode=21);break;case 26:if(0===x)break e;m[w++]=n.length,x--,n.mode=21;break;case 27:if(n.wrap){for(;S<32;){if(0===v)break e;v--,_|=g[y++]<=0;)t[r]=0}var a=256,o=286,s=30,l=15,u=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],h=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],p=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],g=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],m=new Array(576);zero(m);var y=new Array(60);zero(y);var w=new Array(512);zero(w);var v=new Array(256);zero(v);var x=new Array(29);zero(x);var _,S,A,C=new Array(s);function StaticTreeDesc(t,r,n,i,a){this.static_tree=t,this.extra_bits=r,this.extra_base=n,this.elems=i,this.max_length=a,this.has_stree=t&&t.length}function TreeDesc(t,r){this.dyn_tree=t,this.max_code=0,this.stat_desc=r}function d_code(t){return t<256?w[t]:w[256+(t>>>7)]}function put_short(t,r){t.pending_buf[t.pending++]=255&r,t.pending_buf[t.pending++]=r>>>8&255}function send_bits(t,r,n){t.bi_valid>16-n?(t.bi_buf|=r<>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=r<>>=1,n<<=1}while(--r>0);return n>>>1}function gen_codes(t,r,n){var i,a,o=new Array(16),s=0;for(i=1;i<=l;i++)o[i]=s=s+n[i-1]<<1;for(a=0;a<=r;a++){var u=t[2*a+1];0!==u&&(t[2*a]=bi_reverse(o[u]++,u))}}function init_block(t){var r;for(r=0;r8?put_short(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function smaller(t,r,n,i){var a=2*r,o=2*n;return t[a]>1;n>=1;n--)pqdownheap(t,o,n);a=h;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],pqdownheap(t,o,1),i=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=i,o[2*a]=o[2*n]+o[2*i],t.depth[a]=(t.depth[n]>=t.depth[i]?t.depth[n]:t.depth[i])+1,o[2*n+1]=o[2*i+1]=a,t.heap[1]=a++,pqdownheap(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function gen_bitlen(t,r){var n,i,a,o,s,u,h=r.dyn_tree,p=r.max_code,g=r.stat_desc.static_tree,m=r.stat_desc.has_stree,y=r.stat_desc.extra_bits,w=r.stat_desc.extra_base,v=r.stat_desc.max_length,x=0;for(o=0;o<=l;o++)t.bl_count[o]=0;for(h[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)(o=h[2*h[2*(i=t.heap[n])+1]+1]+1)>v&&(o=v,x++),h[2*i+1]=o,i>p||(t.bl_count[o]++,s=0,i>=w&&(s=y[i-w]),u=h[2*i],t.opt_len+=u*(o+s),m&&(t.static_len+=u*(g[2*i+1]+s)));if(0!==x){do{for(o=v-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[v]--,x-=2}while(x>0);for(o=v;0!==o;o--)for(i=t.bl_count[o];0!==i;)(a=t.heap[--n])>p||(h[2*a+1]!==o&&(t.opt_len+=(o-h[2*a+1])*h[2*a],h[2*a+1]=o),i--)}}(t,r),gen_codes(o,p,t.bl_count)}function scan_tree(t,r,n){var i,a,o=-1,s=r[1],l=0,u=7,h=4;for(0===s&&(u=138,h=3),r[2*(n+1)+1]=65535,i=0;i<=n;i++)a=s,s=r[2*(i+1)+1],++l>=7;i0?(2===t.strm.data_type&&(t.strm.data_type=function detect_data_type(t){var r,n=4093624447;for(r=0;r<=31;r++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r=3&&0===t.bl_tree[2*g[r]+1];r--);return t.opt_len+=3*(r+1)+5+5+4,r}(t),o=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=o&&(o=s)):o=s=n+5,n+4<=o&&-1!==r?_tr_stored_block(t,r,n,i):4===t.strategy||s===o?(send_bits(t,2+(i?1:0),3),compress_block(t,m,y)):(send_bits(t,4+(i?1:0),3),function send_all_trees(t,r,n,i){var a;for(send_bits(t,r-257,5),send_bits(t,n-1,5),send_bits(t,i-4,4),a=0;a>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&r,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===r?t.dyn_ltree[2*n]++:(t.matches++,r--,t.dyn_ltree[2*(v[n]+a+1)]++,t.dyn_dtree[2*d_code(r)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function _tr_align(t){send_bits(t,2,3),send_code(t,256,m),function bi_flush(t){16===t.bi_valid?(put_short(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},2416(t,r,n){t.exports=n(6811).default},2504(t,r){"use strict";r.byteLength=function byteLength(t){var r=getLens(t),n=r[0],i=r[1];return 3*(n+i)/4-i},r.toByteArray=function toByteArray(t){var r,n,o=getLens(t),s=o[0],l=o[1],u=new a(function _byteLength(t,r,n){return 3*(r+n)/4-n}(0,s,l)),h=0,p=l>0?s-4:s;for(n=0;n>16&255,u[h++]=r>>8&255,u[h++]=255&r;2===l&&(r=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,u[h++]=255&r);1===l&&(r=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,u[h++]=r>>8&255,u[h++]=255&r);return u},r.fromByteArray=function fromByteArray(t){for(var r,i=t.length,a=i%3,o=[],s=16383,l=0,u=i-a;lu?u:l+s));1===a?(r=t[i-1],o.push(n[r>>2]+n[r<<4&63]+"==")):2===a&&(r=(t[i-2]<<8)+t[i-1],o.push(n[r>>10]+n[r>>4&63]+n[r<<2&63]+"="));return o.join("")};for(var n=[],i=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=o[s],i[o.charCodeAt(s)]=s;function getLens(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=r),[n,n===r?0:4-n%4]}function tripletToBase64(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function encodeChunk(t,r,n){for(var i,a=[],o=r;o0?n:r)(i)}},2538(t,r,n){"use strict";var i=n(5144),a=n(299);t.exports=i&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},2621(t){"use strict";t.exports=function isNaN(t){return t!=t}},2657(t,r,n){"use strict";var i=n(3598);t.exports=function(t){return i(t)||null===t}},2719(t){"use strict";var r=Object.prototype.toString,n=Math.max,i=function concatty(t,r){for(var n=[],i=0;i-1?a([n]):n}},2843(t){"use strict";t.exports=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var i in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var a=Object.getOwnPropertySymbols(t);if(1!==a.length||a[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,r);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},2858(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(6818),void(i.lib.Cipher||function(t){var r=i,n=r.lib,a=n.Base,o=n.WordArray,s=n.BufferedBlockAlgorithm,l=r.enc,u=(l.Utf8,l.Base64),h=r.algo.EvpKDF,p=n.Cipher=s.extend({cfg:a.extend(),createEncryptor:function(t,r){return this.create(this._ENC_XFORM_MODE,t,r)},createDecryptor:function(t,r){return this.create(this._DEC_XFORM_MODE,t,r)},init:function(t,r,n){this.cfg=this.cfg.extend(n),this._xformMode=t,this._key=r,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function selectCipherStrategy(t){return"string"==typeof t?A:_}return function(t){return{encrypt:function(r,n,i){return selectCipherStrategy(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return selectCipherStrategy(n).decrypt(t,r,n,i)}}}}()}),g=(n.StreamCipher=p.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),r.mode={}),m=n.BlockCipherMode=a.extend({createEncryptor:function(t,r){return this.Encryptor.create(t,r)},createDecryptor:function(t,r){return this.Decryptor.create(t,r)},init:function(t,r){this._cipher=t,this._iv=r}}),y=g.CBC=function(){var r=m.extend();function xorBlock(r,n,i){var a,o=this._iv;o?(a=o,this._iv=t):a=this._prevBlock;for(var s=0;s>>2];t.sigBytes-=r}},v=(n.BlockCipher=p.extend({cfg:p.cfg.extend({mode:y,padding:w}),reset:function(){var t;p.reset.call(this);var r=this.cfg,n=r.iv,i=r.mode;this._xformMode==this._ENC_XFORM_MODE?t=i.createEncryptor:(t=i.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,n&&n.words):(this._mode=t.call(i,this,n&&n.words),this._mode.__creator=t)},_doProcessBlock:function(t,r){this._mode.processBlock(t,r)},_doFinalize:function(){var t,r=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(r.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),r.unpad(t)),t},blockSize:4}),n.CipherParams=a.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),x=(r.format={}).OpenSSL={stringify:function(t){var r=t.ciphertext,n=t.salt;return(n?o.create([1398893684,1701076831]).concat(n).concat(r):r).toString(u)},parse:function(t){var r,n=u.parse(t),i=n.words;return 1398893684==i[0]&&1701076831==i[1]&&(r=o.create(i.slice(2,4)),i.splice(0,4),n.sigBytes-=16),v.create({ciphertext:n,salt:r})}},_=n.SerializableCipher=a.extend({cfg:a.extend({format:x}),encrypt:function(t,r,n,i){i=this.cfg.extend(i);var a=t.createEncryptor(n,i),o=a.finalize(r),s=a.cfg;return v.create({ciphertext:o,key:n,iv:s.iv,algorithm:t,mode:s.mode,padding:s.padding,blockSize:t.blockSize,formatter:i.format})},decrypt:function(t,r,n,i){return i=this.cfg.extend(i),r=this._parse(r,i.format),t.createDecryptor(n,i).finalize(r.ciphertext)},_parse:function(t,r){return"string"==typeof t?r.parse(t,this):t}}),S=(r.kdf={}).OpenSSL={execute:function(t,r,n,i,a){if(i||(i=o.random(8)),a)s=h.create({keySize:r+n,hasher:a}).compute(t,i);else var s=h.create({keySize:r+n}).compute(t,i);var l=o.create(s.words.slice(r),4*n);return s.sigBytes=4*r,v.create({key:s,iv:l,salt:i})}},A=n.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:S}),encrypt:function(t,r,n,i){var a=(i=this.cfg.extend(i)).kdf.execute(n,t.keySize,t.ivSize,i.salt,i.hasher);i.iv=a.iv;var o=_.encrypt.call(this,t,r,a.key,i);return o.mixIn(a),o},decrypt:function(t,r,n,i){i=this.cfg.extend(i),r=this._parse(r,i.format);var a=i.kdf.execute(n,t.keySize,t.ivSize,r.salt,i.hasher);return i.iv=a.iv,_.decrypt.call(this,t,r,a.key,i)}})}()))},2908(t,r,n){"use strict";var i=n(783).Buffer,a=n(9964),o=n(7801),s=n(7468),l=n(2925),u=n(2269),h=n(1607);for(var p in h)r[p]=h[p];r.NONE=0,r.DEFLATE=1,r.INFLATE=2,r.GZIP=3,r.GUNZIP=4,r.DEFLATERAW=5,r.INFLATERAW=6,r.UNZIP=7;function Zlib(t){if("number"!=typeof t||tr.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=t,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}Zlib.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,o(this.init_done,"close before init"),o(this.mode<=r.UNZIP),this.mode===r.DEFLATE||this.mode===r.GZIP||this.mode===r.DEFLATERAW?l.deflateEnd(this.strm):this.mode!==r.INFLATE&&this.mode!==r.GUNZIP&&this.mode!==r.INFLATERAW&&this.mode!==r.UNZIP||u.inflateEnd(this.strm),this.mode=r.NONE,this.dictionary=null)},Zlib.prototype.write=function(t,r,n,i,a,o,s){return this._write(!0,t,r,n,i,a,o,s)},Zlib.prototype.writeSync=function(t,r,n,i,a,o,s){return this._write(!1,t,r,n,i,a,o,s)},Zlib.prototype._write=function(t,n,s,l,u,h,p,g){if(o.equal(arguments.length,8),o(this.init_done,"write before init"),o(this.mode!==r.NONE,"already finalized"),o.equal(!1,this.write_in_progress,"write already in progress"),o.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,o.equal(!1,void 0===n,"must provide flush value"),this.write_in_progress=!0,n!==r.Z_NO_FLUSH&&n!==r.Z_PARTIAL_FLUSH&&n!==r.Z_SYNC_FLUSH&&n!==r.Z_FULL_FLUSH&&n!==r.Z_FINISH&&n!==r.Z_BLOCK)throw new Error("Invalid flush value");if(null==s&&(s=i.alloc(0),u=0,l=0),this.strm.avail_in=u,this.strm.input=s,this.strm.next_in=l,this.strm.avail_out=g,this.strm.output=h,this.strm.next_out=p,this.flush=n,!t)return this._process(),this._checkError()?this._afterSync():void 0;var m=this;return a.nextTick(function(){m._process(),m._after()}),this},Zlib.prototype._afterSync=function(){var t=this.strm.avail_out,r=this.strm.avail_in;return this.write_in_progress=!1,[r,t]},Zlib.prototype._process=function(){var t=null;switch(this.mode){case r.DEFLATE:case r.GZIP:case r.DEFLATERAW:this.err=l.deflate(this.strm,this.flush);break;case r.UNZIP:switch(this.strm.avail_in>0&&(t=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===t)break;if(31!==this.strm.input[t]){this.mode=r.INFLATE;break}if(this.gzip_id_bytes_read=1,t++,1===this.strm.avail_in)break;case 1:if(null===t)break;139===this.strm.input[t]?(this.gzip_id_bytes_read=2,this.mode=r.GUNZIP):this.mode=r.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case r.INFLATE:case r.GUNZIP:case r.INFLATERAW:for(this.err=u.inflate(this.strm,this.flush),this.err===r.Z_NEED_DICT&&this.dictionary&&(this.err=u.inflateSetDictionary(this.strm,this.dictionary),this.err===r.Z_OK?this.err=u.inflate(this.strm,this.flush):this.err===r.Z_DATA_ERROR&&(this.err=r.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===r.GUNZIP&&this.err===r.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=u.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},Zlib.prototype._checkError=function(){switch(this.err){case r.Z_OK:case r.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===r.Z_FINISH)return this._error("unexpected end of file"),!1;break;case r.Z_STREAM_END:break;case r.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},Zlib.prototype._after=function(){if(this._checkError()){var t=this.strm.avail_out,r=this.strm.avail_in;this.write_in_progress=!1,this.callback(r,t),this.pending_close&&this.close()}},Zlib.prototype._error=function(t){this.strm.msg&&(t=this.strm.msg),this.onerror(t,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},Zlib.prototype.init=function(t,n,i,a,s){o(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),o(t>=8&&t<=15,"invalid windowBits"),o(n>=-1&&n<=9,"invalid compression level"),o(i>=1&&i<=9,"invalid memlevel"),o(a===r.Z_FILTERED||a===r.Z_HUFFMAN_ONLY||a===r.Z_RLE||a===r.Z_FIXED||a===r.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(n,t,i,a,s),this._setDictionary()},Zlib.prototype.params=function(){throw new Error("deflateParams Not supported")},Zlib.prototype.reset=function(){this._reset(),this._setDictionary()},Zlib.prototype._init=function(t,n,i,a,o){switch(this.level=t,this.windowBits=n,this.memLevel=i,this.strategy=a,this.flush=r.Z_NO_FLUSH,this.err=r.Z_OK,this.mode!==r.GZIP&&this.mode!==r.GUNZIP||(this.windowBits+=16),this.mode===r.UNZIP&&(this.windowBits+=32),this.mode!==r.DEFLATERAW&&this.mode!==r.INFLATERAW||(this.windowBits=-1*this.windowBits),this.strm=new s,this.mode){case r.DEFLATE:case r.GZIP:case r.DEFLATERAW:this.err=l.deflateInit2(this.strm,this.level,r.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case r.INFLATE:case r.GUNZIP:case r.INFLATERAW:case r.UNZIP:this.err=u.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==r.Z_OK&&this._error("Init error"),this.dictionary=o,this.write_in_progress=!1,this.init_done=!0},Zlib.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=r.Z_OK,this.mode){case r.DEFLATE:case r.DEFLATERAW:this.err=l.deflateSetDictionary(this.strm,this.dictionary)}this.err!==r.Z_OK&&this._error("Failed to set dictionary")}},Zlib.prototype._reset=function(){switch(this.err=r.Z_OK,this.mode){case r.DEFLATE:case r.DEFLATERAW:case r.GZIP:this.err=l.deflateReset(this.strm);break;case r.INFLATE:case r.INFLATERAW:case r.GUNZIP:this.err=u.inflateReset(this.strm)}this.err!==r.Z_OK&&this._error("Failed to reset stream")},r.Zlib=Zlib},2920(t,r,n){"use strict";var i=n(2519),a=15,o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],l=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],u=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function inflate_table(t,r,n,h,p,g,m,y){var w,v,x,_,S,A,C,P,k,T=y.bits,B=0,I=0,O=0,R=0,D=0,L=0,M=0,N=0,$=0,z=0,W=null,U=0,j=new i.Buf16(16),V=new i.Buf16(16),G=null,H=0;for(B=0;B<=a;B++)j[B]=0;for(I=0;I=1&&0===j[R];R--);if(D>R&&(D=R),0===R)return p[g++]=20971520,p[g++]=20971520,y.bits=1,0;for(O=1;O0&&(0===t||1!==R))return-1;for(V[1]=0,B=1;B852||2===t&&$>592)return 1;for(;;){C=B-M,m[I]A?(P=G[H+m[I]],k=W[U+m[I]]):(P=96,k=0),w=1<>M)+(v-=w)]=C<<24|P<<16|k}while(0!==v);for(w=1<>=1;if(0!==w?(z&=w-1,z+=w):z=0,I++,0===--j[B]){if(B===R)break;B=r[n+m[I]]}if(B>D&&(z&_)!==x){for(0===M&&(M=D),S+=O,N=1<<(L=B-M);L+M852||2===t&&$>592)return 1;p[x=z&_]=D<<24|L<<16|S-g}}return 0!==z&&(p[S+z]=B-M<<24|64<<16),y.bits=D,0}},2925(t,r,n){"use strict";var i,a=n(2519),o=n(2367),s=n(6911),l=n(9049),u=n(6228),h=-2,p=258,g=262,m=103,y=113,w=666;function err(t,r){return t.msg=u[r],r}function rank(t){return(t<<1)-(t>4?9:0)}function zero(t){for(var r=t.length;--r>=0;)t[r]=0}function flush_pending(t){var r=t.state,n=r.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(a.arraySet(t.output,r.pending_buf,r.pending_out,n,t.next_out),t.next_out+=n,r.pending_out+=n,t.total_out+=n,t.avail_out-=n,r.pending-=n,0===r.pending&&(r.pending_out=0))}function flush_block_only(t,r){o._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,r),t.block_start=t.strstart,flush_pending(t.strm)}function put_byte(t,r){t.pending_buf[t.pending++]=r}function putShortMSB(t,r){t.pending_buf[t.pending++]=r>>>8&255,t.pending_buf[t.pending++]=255&r}function read_buf(t,r,n,i){var o=t.avail_in;return o>i&&(o=i),0===o?0:(t.avail_in-=o,a.arraySet(r,t.input,t.next_in,o,n),1===t.state.wrap?t.adler=s(t.adler,r,o,n):2===t.state.wrap&&(t.adler=l(t.adler,r,o,n)),t.next_in+=o,t.total_in+=o,o)}function longest_match(t,r){var n,i,a=t.max_chain_length,o=t.strstart,s=t.prev_length,l=t.nice_match,u=t.strstart>t.w_size-g?t.strstart-(t.w_size-g):0,h=t.window,m=t.w_mask,y=t.prev,w=t.strstart+p,v=h[o+s-1],x=h[o+s];t.prev_length>=t.good_match&&(a>>=2),l>t.lookahead&&(l=t.lookahead);do{if(h[(n=r)+s]===x&&h[n+s-1]===v&&h[n]===h[o]&&h[++n]===h[o+1]){o+=2,n++;do{}while(h[++o]===h[++n]&&h[++o]===h[++n]&&h[++o]===h[++n]&&h[++o]===h[++n]&&h[++o]===h[++n]&&h[++o]===h[++n]&&h[++o]===h[++n]&&h[++o]===h[++n]&&os){if(t.match_start=r,s=i,i>=l)break;v=h[o+s-1],x=h[o+s]}}}while((r=y[r&m])>u&&0!==--a);return s<=t.lookahead?s:t.lookahead}function fill_window(t){var r,n,i,o,s,l=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=l+(l-g)){a.arraySet(t.window,t.window,l,l,0),t.match_start-=l,t.strstart-=l,t.block_start-=l,r=n=t.hash_size;do{i=t.head[--r],t.head[r]=i>=l?i-l:0}while(--n);r=n=l;do{i=t.prev[--r],t.prev[r]=i>=l?i-l:0}while(--n);o+=l}if(0===t.strm.avail_in)break;if(n=read_buf(t.strm,t.window,t.strstart+t.lookahead,o),t.lookahead+=n,t.lookahead+t.insert>=3)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<=3&&(t.ins_h=(t.ins_h<=3)if(i=o._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<=3&&(t.ins_h=(t.ins_h<4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){a=t.strstart+t.lookahead-3,i=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=a&&(t.ins_h=(t.ins_h<15&&(l=2,i-=16),o<1||o>9||8!==n||i<8||i>15||r<0||r>9||s<0||s>4)return err(t,h);8===i&&(i=9);var u=new DeflateState;return t.state=u,u.strm=t,u.wrap=l,u.gzhead=null,u.w_bits=i,u.w_size=1<t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(fill_window(t),0===t.lookahead&&0===r)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+n;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,flush_block_only(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-g&&(flush_block_only(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===r?(flush_block_only(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(flush_block_only(t,!1),t.strm.avail_out),1)}),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)],r.deflateInit=function deflateInit(t,r){return deflateInit2(t,r,8,15,8,0)},r.deflateInit2=deflateInit2,r.deflateReset=deflateReset,r.deflateResetKeep=deflateResetKeep,r.deflateSetHeader=function deflateSetHeader(t,r){return t&&t.state?2!==t.state.wrap?h:(t.state.gzhead=r,0):h},r.deflate=function deflate(t,r){var n,a,s,u;if(!t||!t.state||r>5||r<0)return t?err(t,h):h;if(a=t.state,!t.output||!t.input&&0!==t.avail_in||a.status===w&&4!==r)return err(t,0===t.avail_out?-5:h);if(a.strm=t,n=a.last_flush,a.last_flush=r,42===a.status)if(2===a.wrap)t.adler=0,put_byte(a,31),put_byte(a,139),put_byte(a,8),a.gzhead?(put_byte(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),put_byte(a,255&a.gzhead.time),put_byte(a,a.gzhead.time>>8&255),put_byte(a,a.gzhead.time>>16&255),put_byte(a,a.gzhead.time>>24&255),put_byte(a,9===a.level?2:a.strategy>=2||a.level<2?4:0),put_byte(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(put_byte(a,255&a.gzhead.extra.length),put_byte(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=l(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69):(put_byte(a,0),put_byte(a,0),put_byte(a,0),put_byte(a,0),put_byte(a,0),put_byte(a,9===a.level?2:a.strategy>=2||a.level<2?4:0),put_byte(a,3),a.status=y);else{var g=8+(a.w_bits-8<<4)<<8;g|=(a.strategy>=2||a.level<2?0:a.level<6?1:6===a.level?2:3)<<6,0!==a.strstart&&(g|=32),g+=31-g%31,a.status=y,putShortMSB(a,g),0!==a.strstart&&(putShortMSB(a,t.adler>>>16),putShortMSB(a,65535&t.adler)),t.adler=1}if(69===a.status)if(a.gzhead.extra){for(s=a.pending;a.gzindex<(65535&a.gzhead.extra.length)&&(a.pending!==a.pending_buf_size||(a.gzhead.hcrc&&a.pending>s&&(t.adler=l(t.adler,a.pending_buf,a.pending-s,s)),flush_pending(t),s=a.pending,a.pending!==a.pending_buf_size));)put_byte(a,255&a.gzhead.extra[a.gzindex]),a.gzindex++;a.gzhead.hcrc&&a.pending>s&&(t.adler=l(t.adler,a.pending_buf,a.pending-s,s)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=73)}else a.status=73;if(73===a.status)if(a.gzhead.name){s=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(t.adler=l(t.adler,a.pending_buf,a.pending-s,s)),flush_pending(t),s=a.pending,a.pending===a.pending_buf_size)){u=1;break}u=a.gzindexs&&(t.adler=l(t.adler,a.pending_buf,a.pending-s,s)),0===u&&(a.gzindex=0,a.status=91)}else a.status=91;if(91===a.status)if(a.gzhead.comment){s=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(t.adler=l(t.adler,a.pending_buf,a.pending-s,s)),flush_pending(t),s=a.pending,a.pending===a.pending_buf_size)){u=1;break}u=a.gzindexs&&(t.adler=l(t.adler,a.pending_buf,a.pending-s,s)),0===u&&(a.status=m)}else a.status=m;if(a.status===m&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&flush_pending(t),a.pending+2<=a.pending_buf_size&&(put_byte(a,255&t.adler),put_byte(a,t.adler>>8&255),t.adler=0,a.status=y)):a.status=y),0!==a.pending){if(flush_pending(t),0===t.avail_out)return a.last_flush=-1,0}else if(0===t.avail_in&&rank(r)<=rank(n)&&4!==r)return err(t,-5);if(a.status===w&&0!==t.avail_in)return err(t,-5);if(0!==t.avail_in||0!==a.lookahead||0!==r&&a.status!==w){var v=2===a.strategy?function deflate_huff(t,r){for(var n;;){if(0===t.lookahead&&(fill_window(t),0===t.lookahead)){if(0===r)return 1;break}if(t.match_length=0,n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(flush_block_only(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===r?(flush_block_only(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(flush_block_only(t,!1),0===t.strm.avail_out)?1:2}(a,r):3===a.strategy?function deflate_rle(t,r){for(var n,i,a,s,l=t.window;;){if(t.lookahead<=p){if(fill_window(t),t.lookahead<=p&&0===r)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(i=l[a=t.strstart-1])===l[++a]&&i===l[++a]&&i===l[++a]){s=t.strstart+p;do{}while(i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&at.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=o._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(flush_block_only(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===r?(flush_block_only(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(flush_block_only(t,!1),0===t.strm.avail_out)?1:2}(a,r):i[a.level].func(a,r);if(3!==v&&4!==v||(a.status=w),1===v||3===v)return 0===t.avail_out&&(a.last_flush=-1),0;if(2===v&&(1===r?o._tr_align(a):5!==r&&(o._tr_stored_block(a,0,0,!1),3===r&&(zero(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),flush_pending(t),0===t.avail_out))return a.last_flush=-1,0}return 4!==r?0:a.wrap<=0?1:(2===a.wrap?(put_byte(a,255&t.adler),put_byte(a,t.adler>>8&255),put_byte(a,t.adler>>16&255),put_byte(a,t.adler>>24&255),put_byte(a,255&t.total_in),put_byte(a,t.total_in>>8&255),put_byte(a,t.total_in>>16&255),put_byte(a,t.total_in>>24&255)):(putShortMSB(a,t.adler>>>16),putShortMSB(a,65535&t.adler)),flush_pending(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?0:1)},r.deflateEnd=function deflateEnd(t){var r;return t&&t.state?42!==(r=t.state.status)&&69!==r&&73!==r&&91!==r&&r!==m&&r!==y&&r!==w?err(t,h):(t.state=null,r===y?err(t,-3):0):h},r.deflateSetDictionary=function deflateSetDictionary(t,r){var n,i,o,l,u,p,g,m,y=r.length;if(!t||!t.state)return h;if(2===(l=(n=t.state).wrap)||1===l&&42!==n.status||n.lookahead)return h;for(1===l&&(t.adler=s(t.adler,r,y,0)),n.wrap=0,y>=n.w_size&&(0===l&&(zero(n.head),n.strstart=0,n.block_start=0,n.insert=0),m=new a.Buf8(n.w_size),a.arraySet(m,r,y-n.w_size,n.w_size,0),r=m,y=n.w_size),u=t.avail_in,p=t.next_in,g=t.input,t.avail_in=y,t.next_in=0,t.input=r,fill_window(n);n.lookahead>=3;){i=n.strstart,o=n.lookahead-2;do{n.ins_h=(n.ins_h<r},3018(t,r,n){"use strict";var i=n(3301),a=TypeError;t.exports=function(t){var r=i(t,"number");if("number"==typeof r)throw new a("Can't convert number to bigint");return BigInt(r)}},3032(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(4866),n(3532),n(6818),n(2858),function(){var t=i,r=t.lib.BlockCipher,n=t.algo;const a=16,o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var l={pbox:[],sbox:[]};function F(t,r){let n=r>>24&255,i=r>>16&255,a=r>>8&255,o=255&r,s=t.sbox[0][n]+t.sbox[1][i];return s^=t.sbox[2][a],s+=t.sbox[3][o],s}function BlowFish_Encrypt(t,r,n){let i,o=r,s=n;for(let r=0;r1;--r)o^=t.pbox[r],s=F(t,o)^s,i=o,o=s,s=i;return i=o,o=s,s=i,s^=t.pbox[1],o^=t.pbox[0],{left:o,right:s}}function BlowFishInit(t,r,n){for(let r=0;r<4;r++){t.sbox[r]=[];for(let n=0;n<256;n++)t.sbox[r][n]=s[r][n]}let i=0;for(let s=0;s=n&&(i=0);let l=0,u=0,h=0;for(let r=0;r>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function utf8FillLast(t){var r=this.lastTotal-this.lastNeed,n=function utf8CheckExtraBytes(t,r,n){if(128!=(192&r[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&r.length>1){if(128!=(192&r[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&r.length>2&&128!=(192&r[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,r,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,r,0,t.length),void(this.lastNeed-=t.length))}function utf16Text(t,r){if((t.length-r)%2==0){var n=t.toString("utf16le",r);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",r,t.length-1)}function utf16End(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,n)}return r}function base64Text(t,r){var n=(t.length-r)%3;return 0===n?t.toString("base64",r):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",r,t.length-n))}function base64End(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function simpleWrite(t){return t.toString(this.encoding)}function simpleEnd(t){return t&&t.length?this.write(t):""}r.I=StringDecoder,StringDecoder.prototype.write=function(t){if(0===t.length)return"";var r,n;if(this.lastNeed){if(void 0===(r=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return a>0&&(t.lastNeed=a-1),a;if(--i=0)return a>0&&(t.lastNeed=a-2),a;if(--i=0)return a>0&&(2===a?a=0:t.lastNeed=a-3),a;return 0}(this,t,r);if(!this.lastNeed)return t.toString("utf8",r);this.lastTotal=n;var i=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",r,i)},StringDecoder.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},3144(t,r,n){"use strict";var i;t.exports=(i=n(6861),function(t){var r=i,n=r.lib,a=n.Base,o=n.WordArray,s=r.x64={};s.Word=a.extend({init:function(t,r){this.high=t,this.low=r}}),s.WordArray=a.extend({init:function(r,n){r=this.words=r||[],this.sigBytes=n!=t?n:8*r.length},toX32:function(){for(var t=this.words,r=t.length,n=[],i=0;i1?arguments[1]:void 0,n),u=s>2?arguments[2]:void 0,h=void 0===u?n:a(u,n);h>l;)r[l++]=t;return r}},3232(t,r,n){"use strict";var i=n(783).Buffer;r.A=void 0,n(8376),n(6401),n(2017);var a=_interopRequireDefault(n(9760)),o=_interopRequireDefault(n(6729)),s=_interopRequireDefault(n(5348)),l=function _interopRequireWildcard(t,r){if("function"==typeof WeakMap)var n=new WeakMap,i=new WeakMap;return function(t,r){if(!r&&t&&t.__esModule)return t;var a,o,s={__proto__:null,default:t};if(null===t||"object"!=typeof t&&"function"!=typeof t)return s;if(a=r?i:n){if(a.has(t))return a.get(t);a.set(t,s)}for(const r in t)"default"!==r&&{}.hasOwnProperty.call(t,r)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(t,r))&&(o.get||o.set)?a(s,r,o):s[r]=t[r]);return s}(t,r)}(n(1715)),u=n(4785),h=_interopRequireDefault(n(2532)),p=_interopRequireDefault(n(8834)),g=_interopRequireDefault(n(336));function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var m=n(2416);class PDFAbstractReference{toString(){throw new Error("Must be implemented by subclasses")}}class PDFTree{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._items={},this.limits="boolean"!=typeof t.limits||t.limits}add(t,r){return this._items[t]=r}get(t){return this._items[t]}toString(){const t=Object.keys(this._items).sort((t,r)=>this._compareKeys(t,r)),r=["<<"];if(this.limits&&t.length>1){const n=t[0],i=t[t.length-1];r.push(` /Limits ${PDFObject.convert([this._dataForKey(n),this._dataForKey(i)])}`)}r.push(` /${this._keysName()} [`);for(let n of t)r.push(` ${PDFObject.convert(this._dataForKey(n))} ${PDFObject.convert(this._items[n])}`);return r.push("]"),r.push(">>"),r.join("\n")}_compareKeys(){throw new Error("Must be implemented by subclasses")}_keysName(){throw new Error("Must be implemented by subclasses")}_dataForKey(){throw new Error("Must be implemented by subclasses")}}class SpotColor{constructor(t,r,n,i,a,o){this.id="CS"+Object.keys(t.spotColors).length,this.name=r,this.values=[n,i,a,o],this.ref=t.ref(["Separation",this.name,"DeviceCMYK",{Range:[0,1,0,1,0,1,0,1],C0:[0,0,0,0],C1:this.values.map(t=>t/100),FunctionType:2,Domain:[0,1],N:1}]),this.ref.end()}toString(){return`${this.ref.id} 0 R`}}const pad=(t,r)=>(Array(r+1).join("0")+t).slice(-r),y=/[\n\r\t\b\f()\\]/g,w={"\n":"\\n","\r":"\\r","\t":"\\t","\b":"\\b","\f":"\\f","\\":"\\\\","(":"\\(",")":"\\)"};class PDFObject{static convert(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t)return`/${t}`;if(t instanceof String){let n,a=t,o=!1;for(let t=0,r=a.length;t127){o=!0;break}return n=o?function(t){const r=t.length;if(1&r)throw new Error("Buffer length must be even");for(let n=0,i=r-1;nw[t]),`(${a})`}if(i.isBuffer(t))return`<${t.toString("hex")}>`;if(t instanceof PDFAbstractReference||t instanceof PDFTree||t instanceof SpotColor)return t.toString();if(t instanceof Date){let n=`D:${pad(t.getUTCFullYear(),4)}`+pad(t.getUTCMonth()+1,2)+pad(t.getUTCDate(),2)+pad(t.getUTCHours(),2)+pad(t.getUTCMinutes(),2)+pad(t.getUTCSeconds(),2)+"Z";return r&&(n=r(i.from(n,"ascii")).toString("binary"),n=n.replace(y,t=>w[t])),`(${n})`}if(Array.isArray(t)){return`[${t.map(t=>PDFObject.convert(t,r)).join(" ")}]`}if("[object Object]"==={}.toString.call(t)){const n=["<<"];for(let i in t){const a=t[i];n.push(`/${i} ${PDFObject.convert(a,r)}`)}return n.push(">>"),n.join("\n")}return"number"==typeof t?PDFObject.number(t):`${t}`}static number(t){if(t>-1e21&&t<1e21)return Math.round(1e6*t)/1e6;throw new Error(`unsupported number: ${t}`)}}class PDFReference extends PDFAbstractReference{constructor(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};super(),this.document=t,this.id=r,this.data=n,this.gen=0,this.compress=this.document.compress&&!this.data.Filter,this.uncompressedLength=0,this.buffer=[]}write(t){t instanceof Uint8Array||(t=i.from(t+"\n","binary")),this.uncompressedLength+=t.length,null==this.data.Length&&(this.data.Length=0),this.buffer.push(t),this.data.Length+=t.length,this.compress&&(this.data.Filter="FlateDecode")}end(t){t&&this.write(t),this.finalize()}finalize(){this.offset=this.document._offset;const t=this.document._security?this.document._security.getEncryptFn(this.id,this.gen):null;this.buffer.length&&(this.buffer=i.concat(this.buffer),this.compress&&(this.buffer=o.default.deflateSync(this.buffer)),t&&(this.buffer=t(this.buffer)),this.data.Length=this.buffer.length),this.document._write(`${this.id} ${this.gen} obj`),this.document._write(PDFObject.convert(this.data,t)),this.buffer.length&&(this.document._write("stream"),this.document._write(this.buffer),this.buffer=[],this.document._write("\nendstream")),this.document._write("endobj"),this.document._refEnd(this)}toString(){return`${this.id} ${this.gen} R`}}const v=new Float32Array(1),x=new Uint32Array(v.buffer);function PDFNumber(t){const r=Math.fround(t);return r<=t?r:(v[0]=t,t<=0?x[0]+=1:x[0]-=1,v[0])}function normalizeSides(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>t;return(null==t||"object"==typeof t&&0===Object.keys(t).length)&&(t=r),null==t||"object"!=typeof t?t={top:t,right:t,bottom:t,left:t}:Array.isArray(t)&&(t=2===t.length?{vertical:t[0],horizontal:t[1]}:{top:t[0],right:t[1],bottom:t[2],left:t[3]}),("vertical"in t||"horizontal"in t)&&(t={top:t.vertical,right:t.horizontal,bottom:t.vertical,left:t.horizontal}),{top:n(t.top),right:n(t.right),bottom:n(t.bottom),left:n(t.left)}}const _=1/2.54;function cosine(t){return 0===t?1:90===t?0:180===t?-1:270===t?0:Math.cos(t*Math.PI/180)}function sine(t){return 0===t?0:90===t?1:180===t?0:270===t?-1:Math.sin(t*Math.PI/180)}const S={top:72,left:72,bottom:72,right:72},A={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]};class PDFPage{constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.document=t,this._options=r,this.size=r.size||"letter",this.layout=r.layout||"portrait";const n=Array.isArray(this.size)?this.size:A[this.size.toUpperCase()];this.width=n["portrait"===this.layout?0:1],this.height=n["portrait"===this.layout?1:0],this.content=this.document.ref(),r.font&&t.font(r.font,r.fontFamily),r.fontSize&&t.fontSize(r.fontSize),this.margins=normalizeSides(r.margin??r.margins,S,r=>t.sizeToPoint(r,0,this)),this.resources=this.document.ref({ProcSet:["PDF","Text","ImageB","ImageC","ImageI"]}),this.dictionary=this.document.ref({Type:"Page",Parent:this.document._root.data.Pages,MediaBox:[0,0,this.width,this.height],Contents:this.content,Resources:this.resources}),this.markings=[]}get fonts(){const t=this.resources.data;return null!=t.Font?t.Font:t.Font={}}get xobjects(){const t=this.resources.data;return null!=t.XObject?t.XObject:t.XObject={}}get ext_gstates(){const t=this.resources.data;return null!=t.ExtGState?t.ExtGState:t.ExtGState={}}get patterns(){const t=this.resources.data;return null!=t.Pattern?t.Pattern:t.Pattern={}}get colorSpaces(){const t=this.resources.data;return t.ColorSpace||(t.ColorSpace={})}get annotations(){const t=this.dictionary.data;return null!=t.Annots?t.Annots:t.Annots=[]}get structParentTreeKey(){const t=this.dictionary.data;return null!=t.StructParents?t.StructParents:t.StructParents=this.document.createStructParentTreeNextKey()}get contentWidth(){return this.width-this.margins.left-this.margins.right}get contentHeight(){return this.height-this.margins.top-this.margins.bottom}maxY(){return this.height-this.margins.bottom}write(t){return this.content.write(t)}_setTabOrder(){!this.dictionary.Tabs&&this.document.hasMarkInfoDictionary()&&(this.dictionary.data.Tabs="S")}end(){this._setTabOrder(),this.dictionary.end(),this.resources.data.ColorSpace=this.resources.data.ColorSpace||{};for(let t of Object.values(this.document.spotColors))this.resources.data.ColorSpace[t.id]=t;return this.resources.end(),this.content.end()}}class PDFNameTree extends PDFTree{_compareKeys(t,r){return t.localeCompare(r)}_keysName(){return"Names"}_dataForKey(t){return new String(t)}}function inRange(t,r){if(t=r[o]&&t<=r[o+1])return!0;t>r[o+1]?n=a+1:i=a-1}return!1}const C=[545,545,564,591,686,687,751,767,848,863,880,883,886,889,891,893,895,899,907,907,909,909,930,930,975,975,1015,1023,1159,1159,1231,1231,1270,1271,1274,1279,1296,1328,1367,1368,1376,1376,1416,1416,1419,1424,1442,1442,1466,1466,1477,1487,1515,1519,1525,1547,1549,1562,1564,1566,1568,1568,1595,1599,1622,1631,1774,1775,1791,1791,1806,1806,1837,1839,1867,1919,1970,2304,2308,2308,2362,2363,2382,2383,2389,2391,2417,2432,2436,2436,2445,2446,2449,2450,2473,2473,2481,2481,2483,2485,2490,2491,2493,2493,2501,2502,2505,2506,2510,2518,2520,2523,2526,2526,2532,2533,2555,2561,2563,2564,2571,2574,2577,2578,2601,2601,2609,2609,2612,2612,2615,2615,2618,2619,2621,2621,2627,2630,2633,2634,2638,2648,2653,2653,2655,2661,2677,2688,2692,2692,2700,2700,2702,2702,2706,2706,2729,2729,2737,2737,2740,2740,2746,2747,2758,2758,2762,2762,2766,2767,2769,2783,2785,2789,2800,2816,2820,2820,2829,2830,2833,2834,2857,2857,2865,2865,2868,2869,2874,2875,2884,2886,2889,2890,2894,2901,2904,2907,2910,2910,2914,2917,2929,2945,2948,2948,2955,2957,2961,2961,2966,2968,2971,2971,2973,2973,2976,2978,2981,2983,2987,2989,2998,2998,3002,3005,3011,3013,3017,3017,3022,3030,3032,3046,3059,3072,3076,3076,3085,3085,3089,3089,3113,3113,3124,3124,3130,3133,3141,3141,3145,3145,3150,3156,3159,3167,3170,3173,3184,3201,3204,3204,3213,3213,3217,3217,3241,3241,3252,3252,3258,3261,3269,3269,3273,3273,3278,3284,3287,3293,3295,3295,3298,3301,3312,3329,3332,3332,3341,3341,3345,3345,3369,3369,3386,3389,3396,3397,3401,3401,3406,3414,3416,3423,3426,3429,3440,3457,3460,3460,3479,3481,3506,3506,3516,3516,3518,3519,3527,3529,3531,3534,3541,3541,3543,3543,3552,3569,3573,3584,3643,3646,3676,3712,3715,3715,3717,3718,3721,3721,3723,3724,3726,3731,3736,3736,3744,3744,3748,3748,3750,3750,3752,3753,3756,3756,3770,3770,3774,3775,3781,3781,3783,3783,3790,3791,3802,3803,3806,3839,3912,3912,3947,3952,3980,3983,3992,3992,4029,4029,4045,4046,4048,4095,4130,4130,4136,4136,4139,4139,4147,4149,4154,4159,4186,4255,4294,4303,4345,4346,4348,4351,4442,4446,4515,4519,4602,4607,4615,4615,4679,4679,4681,4681,4686,4687,4695,4695,4697,4697,4702,4703,4743,4743,4745,4745,4750,4751,4783,4783,4785,4785,4790,4791,4799,4799,4801,4801,4806,4807,4815,4815,4823,4823,4847,4847,4879,4879,4881,4881,4886,4887,4895,4895,4935,4935,4955,4960,4989,5023,5109,5120,5751,5759,5789,5791,5873,5887,5901,5901,5909,5919,5943,5951,5972,5983,5997,5997,6001,6001,6004,6015,6109,6111,6122,6143,6159,6159,6170,6175,6264,6271,6314,7679,7836,7839,7930,7935,7958,7959,7966,7967,8006,8007,8014,8015,8024,8024,8026,8026,8028,8028,8030,8030,8062,8063,8117,8117,8133,8133,8148,8149,8156,8156,8176,8177,8181,8181,8191,8191,8275,8278,8280,8286,8292,8297,8306,8307,8335,8351,8370,8399,8427,8447,8507,8508,8524,8530,8580,8591,9167,9215,9255,9279,9291,9311,9471,9471,9748,9749,9752,9752,9854,9855,9866,9984,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10079,10080,10133,10135,10160,10160,10175,10191,10220,10223,11008,11903,11930,11930,12020,12031,12246,12271,12284,12287,12352,12352,12439,12440,12544,12548,12589,12592,12687,12687,12728,12783,12829,12831,12868,12880,12924,12926,13004,13007,13055,13055,13175,13178,13278,13279,13311,13311,19894,19967,40870,40959,42125,42127,42183,44031,55204,55295,64046,64047,64107,64255,64263,64274,64280,64284,64311,64311,64317,64317,64319,64319,64322,64322,64325,64325,64434,64466,64832,64847,64912,64913,64968,64975,65021,65023,65040,65055,65060,65071,65095,65096,65107,65107,65127,65127,65132,65135,65141,65141,65277,65278,65280,65280,65471,65473,65480,65481,65488,65489,65496,65497,65501,65503,65511,65511,65519,65528,65536,66303,66335,66335,66340,66351,66379,66559,66598,66599,66638,118783,119030,119039,119079,119081,119262,119807,119893,119893,119965,119965,119968,119969,119971,119972,119975,119976,119981,119981,119994,119994,119996,119996,120001,120001,120004,120004,120070,120070,120075,120076,120085,120085,120093,120093,120122,120122,120127,120127,120133,120133,120135,120137,120145,120145,120484,120487,120778,120781,120832,131069,173783,194559,195102,196605,196608,262141,262144,327677,327680,393213,393216,458749,458752,524285,524288,589821,589824,655357,655360,720893,720896,786429,786432,851965,851968,917501,917504,917504,917506,917535,917632,983037],isUnassignedCodePoint=t=>inRange(t,C),P=[173,173,847,847,6150,6150,6155,6155,6156,6156,6157,6157,8203,8203,8204,8204,8205,8205,8288,8288,65024,65024,65025,65025,65026,65026,65027,65027,65028,65028,65029,65029,65030,65030,65031,65031,65032,65032,65033,65033,65034,65034,65035,65035,65036,65036,65037,65037,65038,65038,65039,65039,65279,65279],k=[160,160,5760,5760,8192,8192,8193,8193,8194,8194,8195,8195,8196,8196,8197,8197,8198,8198,8199,8199,8200,8200,8201,8201,8202,8202,8203,8203,8239,8239,8287,8287,12288,12288],T=[128,159,1757,1757,1807,1807,6158,6158,8204,8204,8205,8205,8232,8232,8233,8233,8288,8288,8289,8289,8290,8290,8291,8291,8298,8303,65279,65279,65529,65532,119155,119162],B=[64976,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1114110,1114111],I=[0,31,127,127,832,832,833,833,8206,8206,8207,8207,8234,8234,8235,8235,8236,8236,8237,8237,8238,8238,8298,8298,8299,8299,8300,8300,8301,8301,8302,8302,8303,8303,12272,12283,55296,57343,57344,63743,65529,65529,65530,65530,65531,65531,65532,65532,65533,65533,917505,917505,917536,917631,983040,1048573,1048576,1114109],isProhibitedCharacter=t=>inRange(t,k)||inRange(t,I)||inRange(t,T)||inRange(t,B),O=[1470,1470,1472,1472,1475,1475,1488,1514,1520,1524,1563,1563,1567,1567,1569,1594,1600,1610,1645,1647,1649,1749,1757,1757,1765,1766,1786,1790,1792,1805,1808,1808,1810,1836,1920,1957,1969,1969,8207,8207,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65020,65136,65140,65142,65276],isBidirectionalRAL=t=>inRange(t,O),R=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,544,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,1013,1024,1154,1162,1230,1232,1269,1272,1273,1280,1295,1329,1366,1369,1375,1377,1415,1417,1417,2307,2307,2309,2361,2365,2368,2377,2380,2384,2384,2392,2401,2404,2416,2434,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2494,2496,2503,2504,2507,2508,2519,2519,2524,2525,2527,2529,2534,2545,2548,2554,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2622,2624,2649,2652,2654,2654,2662,2671,2674,2676,2691,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2752,2761,2761,2763,2764,2768,2768,2784,2784,2790,2799,2818,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2878,2880,2880,2887,2888,2891,2892,2903,2903,2908,2909,2911,2913,2918,2928,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3007,3009,3010,3014,3016,3018,3020,3031,3031,3047,3058,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3137,3140,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3262,3264,3268,3271,3272,3274,3275,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3392,3398,3400,3402,3404,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3535,3537,3544,3551,3570,3572,3585,3632,3634,3635,3648,3654,3663,3675,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3792,3801,3804,3805,3840,3863,3866,3892,3894,3894,3896,3896,3902,3911,3913,3946,3967,3967,3973,3973,3976,3979,4030,4037,4039,4044,4047,4047,4096,4129,4131,4135,4137,4138,4140,4140,4145,4145,4152,4152,4160,4183,4256,4293,4304,4344,4347,4347,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4961,4988,5024,5108,5121,5750,5761,5786,5792,5872,5888,5900,5902,5905,5920,5937,5941,5942,5952,5969,5984,5996,5998,6e3,6016,6070,6078,6085,6087,6088,6100,6106,6108,6108,6112,6121,6160,6169,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8206,8206,8305,8305,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8509,8511,8517,8521,8544,8579,9014,9082,9109,9109,9372,9449,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12588,12593,12686,12688,12727,12784,12828,12832,12867,12896,12923,12927,12976,12992,13003,13008,13054,13056,13174,13179,13277,13280,13310,13312,19893,19968,40869,40960,42124,44032,55203,55296,64045,64048,64106,64256,64262,64275,64279,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,66304,66334,66336,66339,66352,66378,66560,66597,66600,66637,118784,119029,119040,119078,119082,119142,119146,119154,119171,119172,119180,119209,119214,119261,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,12e4,120002,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120483,120488,120777,131072,173782,194560,195101,983040,1048573,1048576,1114109],isBidirectionalL=t=>inRange(t,R),mapping2space=t=>inRange(t,k),mapping2nothing=t=>inRange(t,P),getCodePoint=t=>t.codePointAt(0);function toCodePoints(t){const r=[],n=t.length;for(let i=0;i=55296&&a<=56319&&n>i+1){const n=t.charCodeAt(i+1);if(n>=56320&&n<=57343){r.push(1024*(a-55296)+n-56320+65536),i+=1;continue}}r.push(a)}return r}class PDFSecurity{static generateFileID(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=`${t.CreationDate.getTime()}\n`;for(let n in t)t.hasOwnProperty(n)&&(r+=`${n}: ${t[n].valueOf()}\n`);return wordArrayToBuffer(s.default.MD5(r))}static generateRandomWordArray(t){return s.default.lib.WordArray.random(t)}static create(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.ownerPassword||r.userPassword?new PDFSecurity(t,r):null}constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r.ownerPassword&&!r.userPassword)throw new Error("None of owner password and user password is defined.");this.document=t,this._setupEncryption(r)}_setupEncryption(t){switch(t.pdfVersion){case"1.4":case"1.5":this.version=2;break;case"1.6":case"1.7":this.version=4;break;case"1.7ext3":this.version=5;break;default:this.version=1}const r={Filter:"Standard"};switch(this.version){case 1:case 2:case 4:this._setupEncryptionV1V2V4(this.version,r,t);break;case 5:this._setupEncryptionV5(r,t)}this.dictionary=this.document.ref(r)}_setupEncryptionV1V2V4(t,r,n){let i,a;switch(t){case 1:i=2,this.keyBits=40,a=function getPermissionsR2(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=-64;t.printing&&(r|=4);t.modifying&&(r|=8);t.copying&&(r|=16);t.annotating&&(r|=32);return r}(n.permissions);break;case 2:i=3,this.keyBits=128,a=getPermissionsR3(n.permissions);break;case 4:i=4,this.keyBits=128,a=getPermissionsR3(n.permissions)}const o=processPasswordR2R3R4(n.userPassword),l=n.ownerPassword?processPasswordR2R3R4(n.ownerPassword):o,u=function getOwnerPasswordR2R3R4(t,r,n,i){let a=i,o=t>=3?51:1;for(let t=0;t=3?20:1;for(let t=0;t=3?51:1;for(let t=0;t=2&&(r.Length=this.keyBits),4===t&&(r.CF={StdCF:{AuthEvent:"DocOpen",CFM:"AESV2",Length:this.keyBits/8}},r.StmF="StdCF",r.StrF="StdCF"),r.R=i,r.O=wordArrayToBuffer(u),r.U=wordArrayToBuffer(h),r.P=a}_setupEncryptionV5(t,r){this.keyBits=256;const n=getPermissionsR3(r.permissions),i=processPasswordR5(r.userPassword),a=r.ownerPassword?processPasswordR5(r.ownerPassword):i;this.encryptionKey=function getEncryptionKeyR5(t){return t(32)}(PDFSecurity.generateRandomWordArray);const o=function getUserPasswordR5(t,r){const n=r(8),i=r(8);return s.default.SHA256(t.clone().concat(n)).concat(n).concat(i)}(i,PDFSecurity.generateRandomWordArray),l=function getUserEncryptionKeyR5(t,r,n){const i=s.default.SHA256(t.clone().concat(r)),a={mode:s.default.mode.CBC,padding:s.default.pad.NoPadding,iv:s.default.lib.WordArray.create(null,16)};return s.default.AES.encrypt(n,i,a).ciphertext}(i,s.default.lib.WordArray.create(o.words.slice(10,12),8),this.encryptionKey),u=function getOwnerPasswordR5(t,r,n){const i=n(8),a=n(8);return s.default.SHA256(t.clone().concat(i).concat(r)).concat(i).concat(a)}(a,o,PDFSecurity.generateRandomWordArray),h=function getOwnerEncryptionKeyR5(t,r,n,i){const a=s.default.SHA256(t.clone().concat(r).concat(n)),o={mode:s.default.mode.CBC,padding:s.default.pad.NoPadding,iv:s.default.lib.WordArray.create(null,16)};return s.default.AES.encrypt(i,a,o).ciphertext}(a,s.default.lib.WordArray.create(u.words.slice(10,12),8),o,this.encryptionKey),p=function getEncryptedPermissionsR5(t,r,n){const i=s.default.lib.WordArray.create([lsbFirstWord(t),4294967295,1415668834],12).concat(n(4)),a={mode:s.default.mode.ECB,padding:s.default.pad.NoPadding};return s.default.AES.encrypt(i,r,a).ciphertext}(n,this.encryptionKey,PDFSecurity.generateRandomWordArray);t.V=5,t.Length=this.keyBits,t.CF={StdCF:{AuthEvent:"DocOpen",CFM:"AESV3",Length:this.keyBits/8}},t.StmF="StdCF",t.StrF="StdCF",t.R=5,t.O=wordArrayToBuffer(u),t.OE=wordArrayToBuffer(h),t.U=wordArrayToBuffer(o),t.UE=wordArrayToBuffer(l),t.P=n,t.Perms=wordArrayToBuffer(p)}getEncryptFn(t,r){let n,i;if(this.version<5&&(n=this.encryptionKey.clone().concat(s.default.lib.WordArray.create([(255&t)<<24|(65280&t)<<8|t>>8&65280|255&r,(65280&r)<<16],5))),1===this.version||2===this.version){let t=s.default.MD5(n);return t.sigBytes=Math.min(16,this.keyBits/8+5),r=>wordArrayToBuffer(s.default.RC4.encrypt(s.default.lib.WordArray.create(r),t).ciphertext)}i=4===this.version?s.default.MD5(n.concat(s.default.lib.WordArray.create([1933667412],4))):this.encryptionKey;const a=PDFSecurity.generateRandomWordArray(16),o={mode:s.default.mode.CBC,padding:s.default.pad.Pkcs7,iv:a};return t=>wordArrayToBuffer(a.clone().concat(s.default.AES.encrypt(s.default.lib.WordArray.create(t),i,o).ciphertext))}end(){this.dictionary.end()}}function getPermissionsR3(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=-3904;return"lowResolution"===t.printing&&(r|=4),"highResolution"===t.printing&&(r|=2052),t.modifying&&(r|=8),t.copying&&(r|=16),t.annotating&&(r|=32),t.fillingForms&&(r|=256),t.contentAccessibility&&(r|=512),t.documentAssembly&&(r|=1024),r}function processPasswordR2R3R4(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const r=i.alloc(32),n=t.length;let a=0;for(;a255)throw new Error("Password contains one or more invalid characters.");r[a]=n,a++}for(;a<32;)r[a]=D[a-n],a++;return s.default.lib.WordArray.create(r)}function processPasswordR5(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";t=unescape(encodeURIComponent(function saslprep(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof t)throw new TypeError("Expected string.");if(0===t.length)return"";const n=toCodePoints(t).map(t=>mapping2space(t)?32:t).filter(t=>!mapping2nothing(t)),i=String.fromCodePoint.apply(null,n).normalize("NFKC"),a=toCodePoints(i);if(a.some(isProhibitedCharacter))throw new Error("Prohibited character, see https://tools.ietf.org/html/rfc4013#section-2.3");if(!0!==r.allowUnassigned&&a.some(isUnassignedCodePoint))throw new Error("Unassigned code point, see https://tools.ietf.org/html/rfc4013#section-2.5");const o=a.some(isBidirectionalRAL),s=a.some(isBidirectionalL);if(o&&s)throw new Error("String must not contain RandALCat and LCat at the same time, see https://tools.ietf.org/html/rfc3454#section-6");const l=isBidirectionalRAL(getCodePoint(i[0])),u=isBidirectionalRAL(getCodePoint((h=i,h[h.length-1])));var h;if(o&&(!l||!u))throw new Error("Bidirectional RandALCat character must be the first and the last character of the string, see https://tools.ietf.org/html/rfc3454#section-6");return i}(t)));const r=Math.min(127,t.length),n=i.alloc(r);for(let i=0;i>8&65280|t>>24&255}function wordArrayToBuffer(t){const r=[];for(let n=0;n>8*(3-n%4)&255);return i.from(r)}const D=[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],{number:L}=PDFObject;class PDFGradient$1{constructor(t){this.doc=t,this.stops=[],this.embedded=!1,this.transform=[1,0,0,1,0,0]}stop(t,r,n){if(null==n&&(n=1),r=this.doc._normalizeColor(r),0===this.stops.length)if(3===r.length)this._colorSpace="DeviceRGB";else if(4===r.length)this._colorSpace="DeviceCMYK";else{if(1!==r.length)throw new Error("Unknown color space");this._colorSpace="DeviceGray"}else if("DeviceRGB"===this._colorSpace&&3!==r.length||"DeviceCMYK"===this._colorSpace&&4!==r.length||"DeviceGray"===this._colorSpace&&1!==r.length)throw new Error("All gradient stops must use the same color space");return n=Math.max(0,Math.min(1,n)),this.stops.push([t,r,n]),this}setTransform(t,r,n,i,a,o){return this.transform=[t,r,n,i,a,o],this}embed(t){let r;const n=this.stops.length;if(0===n)return;this.embedded=!0,this.matrix=t;const i=this.stops[n-1];i[0]<1&&this.stops.push([1,i[1],i[2]]);const a=[],o=[],s=[];for(let t=0;tt[2]<1)){let t=this.opacityGradient();t._colorSpace="DeviceGray";for(let r of this.stops)t.stop(r[0],[r[2]]);t=t.embed(this.matrix);const r=[0,0,this.doc.page.width,this.doc.page.height],n=this.doc.ref({Type:"XObject",Subtype:"Form",FormType:1,BBox:r,Group:{Type:"Group",S:"Transparency",CS:"DeviceGray"},Resources:{ProcSet:["PDF","Text","ImageB","ImageC","ImageI"],Pattern:{Sh1:t}}});n.write("/Pattern cs /Sh1 scn"),n.end(`${r.join(" ")} re f`);const i=this.doc.ref({Type:"ExtGState",SMask:{Type:"Mask",S:"Luminosity",G:n}});i.end();const a=this.doc.ref({Type:"Pattern",PatternType:1,PaintType:1,TilingType:2,BBox:r,XStep:r[2],YStep:r[3],Resources:{ProcSet:["PDF","Text","ImageB","ImageC","ImageI"],Pattern:{Sh1:u},ExtGState:{Gs1:i}}});a.write("/Gs1 gs /Pattern cs /Sh1 scn"),a.end(`${r.join(" ")} re f`),this.doc.page.patterns[this.id]=a}else this.doc.page.patterns[this.id]=u;return u}apply(t){const[r,n,i,a,o,s]=this.doc._ctm,[l,u,h,p,g,m]=this.transform,y=[r*l+i*u,n*l+a*u,r*h+i*p,n*h+a*p,r*g+i*m+o,n*g+a*m+s];this.embedded&&y.join(" ")===this.matrix.join(" ")||this.embed(y),this.doc._setColorSpace("Pattern",t);const w=t?"SCN":"scn";return this.doc.addContent(`/${this.id} ${w}`)}}class PDFLinearGradient$1 extends PDFGradient$1{constructor(t,r,n,i,a){super(t),this.x1=r,this.y1=n,this.x2=i,this.y2=a}shader(t){return this.doc.ref({ShadingType:2,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.x2,this.y2],Function:t,Extend:[!0,!0]})}opacityGradient(){return new PDFLinearGradient$1(this.doc,this.x1,this.y1,this.x2,this.y2)}}class PDFRadialGradient$1 extends PDFGradient$1{constructor(t,r,n,i,a,o,s){super(t),this.doc=t,this.x1=r,this.y1=n,this.r1=i,this.x2=a,this.y2=o,this.r2=s}shader(t){return this.doc.ref({ShadingType:3,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.r1,this.x2,this.y2,this.r2],Function:t,Extend:[!0,!0]})}opacityGradient(){return new PDFRadialGradient$1(this.doc,this.x1,this.y1,this.r1,this.x2,this.y2,this.r2)}}var M={PDFGradient:PDFGradient$1,PDFLinearGradient:PDFLinearGradient$1,PDFRadialGradient:PDFRadialGradient$1};const N=["DeviceCMYK","DeviceRGB"];var $={PDFTilingPattern:class PDFTilingPattern$1{constructor(t,r,n,i,a){this.doc=t,this.bBox=r,this.xStep=n,this.yStep=i,this.stream=a}createPattern(){const t=this.doc.ref();t.end();const[r,n,i,a,o,s]=this.doc._ctm,[l,u,h,p,g,m]=[1,0,0,1,0,0],y=[r*l+i*u,n*l+a*u,r*h+i*p,n*h+a*p,r*g+i*m+o,n*g+a*m+s],w=this.doc.ref({Type:"Pattern",PatternType:1,PaintType:2,TilingType:2,BBox:this.bBox,XStep:this.xStep,YStep:this.yStep,Matrix:y.map(t=>+t.toFixed(5)),Resources:t});return w.end(this.stream),w}embedPatternColorSpaces(){N.forEach(t=>{const r=this.getPatternColorSpaceId(t);if(this.doc.page.colorSpaces[r])return;const n=this.doc.ref(["Pattern",t]);n.end(),this.doc.page.colorSpaces[r]=n})}getPatternColorSpaceId(t){return`CsP${t}`}embed(){this.id||(this.doc._patternCount=this.doc._patternCount+1,this.id="P"+this.doc._patternCount,this.pattern=this.createPattern()),this.doc.page.patterns[this.id]||(this.doc.page.patterns[this.id]=this.pattern)}apply(t,r){this.embedPatternColorSpaces(),this.embed();const n=this.doc._normalizeColor(r);if(!n)throw Error(`invalid pattern color. (value: ${r})`);const i=this.getPatternColorSpaceId(this.doc._getColorSpace(n));this.doc._setColorSpace(i,t);const a=t?"SCN":"scn";return this.doc.addContent(`${n.join(" ")} /${this.id} ${a}`)}}};const{PDFGradient:z,PDFLinearGradient:W,PDFRadialGradient:U}=M,{PDFTilingPattern:j}=$;var V={initColor(){this.spotColors={},this._opacityRegistry={},this._opacityCount=0,this._patternCount=0,this._gradCount=0},_normalizeColor(t){if("string"==typeof t)if("#"===t.charAt(0)){4===t.length&&(t=t.replace(/#([0-9A-F])([0-9A-F])([0-9A-F])/i,"#$1$1$2$2$3$3"));const r=parseInt(t.slice(1),16);t=[r>>16,r>>8&255,255&r]}else if(G[t])t=G[t];else if(this.spotColors[t])return this.spotColors[t];return Array.isArray(t)?(3===t.length?t=t.map(t=>t/255):4===t.length&&(t=t.map(t=>t/100)),t):null},_setColor(t,r){return t instanceof z?(t.apply(r),!0):Array.isArray(t)&&t[0]instanceof j?(t[0].apply(r,t[1]),!0):this._setColorCore(t,r)},_setColorCore(t,r){if(!(t=this._normalizeColor(t)))return!1;const n=r?"SCN":"scn",i=this._getColorSpace(t);return this._setColorSpace(i,r),t instanceof SpotColor?(this.page.colorSpaces[t.id]=t.ref,this.addContent(`1 ${n}`)):this.addContent(`${t.join(" ")} ${n}`),!0},_setColorSpace(t,r){const n=r?"CS":"cs";return this.addContent(`/${t} ${n}`)},_getColorSpace:t=>t instanceof SpotColor?t.id:4===t.length?"DeviceCMYK":"DeviceRGB",fillColor(t,r){return this._setColor(t,!1)&&this.fillOpacity(r),this._fillColor=[t,r],this},strokeColor(t,r){return this._setColor(t,!0)&&this.strokeOpacity(r),this},opacity(t){return this._doOpacity(t,t),this},fillOpacity(t){return this._doOpacity(t,null),this},strokeOpacity(t){return this._doOpacity(null,t),this},_doOpacity(t,r){let n,i;if(null==t&&null==r)return;null!=t&&(t=Math.max(0,Math.min(1,t))),null!=r&&(r=Math.max(0,Math.min(1,r)));const a=`${t}_${r}`;if(this._opacityRegistry[a])[n,i]=this._opacityRegistry[a];else{n={Type:"ExtGState"},null!=t&&(n.ca=t),null!=r&&(n.CA=r),n=this.ref(n),n.end();i=`Gs${++this._opacityCount}`,this._opacityRegistry[a]=[n,i]}return this.page.ext_gstates[i]=n,this.addContent(`/${i} gs`)},linearGradient(t,r,n,i){return new W(this,t,r,n,i)},radialGradient(t,r,n,i,a,o){return new U(this,t,r,n,i,a,o)},pattern(t,r,n,i){return new j(this,t,r,n,i)},addSpotColor(t,r,n,i,a){const o=new SpotColor(this,t,r,n,i,a);return this.spotColors[t]=o,this}},G={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};let H,q,X,Z,Y,K;H=q=X=Z=Y=K=0;const J={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0},Q={M:(t,r)=>(H=r[0],q=r[1],X=Z=null,Y=H,K=q,t.moveTo(H,q)),m:(t,r)=>(H+=r[0],q+=r[1],X=Z=null,Y=H,K=q,t.moveTo(H,q)),C:(t,r)=>(H=r[4],q=r[5],X=r[2],Z=r[3],t.bezierCurveTo(...r)),c:(t,r)=>(t.bezierCurveTo(r[0]+H,r[1]+q,r[2]+H,r[3]+q,r[4]+H,r[5]+q),X=H+r[2],Z=q+r[3],H+=r[4],q+=r[5]),S:(t,r)=>(null===X&&(X=H,Z=q),t.bezierCurveTo(H-(X-H),q-(Z-q),r[0],r[1],r[2],r[3]),X=r[0],Z=r[1],H=r[2],q=r[3]),s:(t,r)=>(null===X&&(X=H,Z=q),t.bezierCurveTo(H-(X-H),q-(Z-q),H+r[0],q+r[1],H+r[2],q+r[3]),X=H+r[0],Z=q+r[1],H+=r[2],q+=r[3]),Q:(t,r)=>(X=r[0],Z=r[1],H=r[2],q=r[3],t.quadraticCurveTo(r[0],r[1],H,q)),q:(t,r)=>(t.quadraticCurveTo(r[0]+H,r[1]+q,r[2]+H,r[3]+q),X=H+r[0],Z=q+r[1],H+=r[2],q+=r[3]),T:(t,r)=>(null===X?(X=H,Z=q):(X=H-(X-H),Z=q-(Z-q)),t.quadraticCurveTo(X,Z,r[0],r[1]),X=H-(X-H),Z=q-(Z-q),H=r[0],q=r[1]),t:(t,r)=>(null===X?(X=H,Z=q):(X=H-(X-H),Z=q-(Z-q)),t.quadraticCurveTo(X,Z,H+r[0],q+r[1]),H+=r[0],q+=r[1]),A:(t,r)=>(solveArc(t,H,q,r),H=r[5],q=r[6]),a:(t,r)=>(r[5]+=H,r[6]+=q,solveArc(t,H,q,r),H=r[5],q=r[6]),L:(t,r)=>(H=r[0],q=r[1],X=Z=null,t.lineTo(H,q)),l:(t,r)=>(H+=r[0],q+=r[1],X=Z=null,t.lineTo(H,q)),H:(t,r)=>(H=r[0],X=Z=null,t.lineTo(H,q)),h:(t,r)=>(H+=r[0],X=Z=null,t.lineTo(H,q)),V:(t,r)=>(q=r[0],X=Z=null,t.lineTo(H,q)),v:(t,r)=>(q+=r[0],X=Z=null,t.lineTo(H,q)),Z:t=>(t.closePath(),H=Y,q=K),z:t=>(t.closePath(),H=Y,q=K)},solveArc=function(t,r,n,i){const[a,o,s,l,u,h,p]=i,g=arcToSegments(h,p,a,o,l,u,s,r,n);for(let r of g){const n=segmentToBezier(...r);t.bezierCurveTo(...n)}},arcToSegments=function(t,r,n,i,a,o,s,l,u){const h=s*(Math.PI/180),p=Math.sin(h),g=Math.cos(h);n=Math.abs(n),i=Math.abs(i),X=g*(l-t)*.5+p*(u-r)*.5,Z=g*(u-r)*.5-p*(l-t)*.5;let m=X*X/(n*n)+Z*Z/(i*i);m>1&&(m=Math.sqrt(m),n*=m,i*=m);const y=g/n,w=p/n,v=-p/i,x=g/i,_=y*l+w*u,S=v*l+x*u,A=y*t+w*r,C=v*t+x*r;let P=1/((A-_)*(A-_)+(C-S)*(C-S))-.25;P<0&&(P=0);let k=Math.sqrt(P);o===a&&(k=-k);const T=.5*(_+A)-k*(C-S),B=.5*(S+C)+k*(A-_),I=Math.atan2(S-B,_-T);let O=Math.atan2(C-B,A-T)-I;O<0&&1===o?O+=2*Math.PI:O>0&&0===o&&(O-=2*Math.PI);const R=Math.ceil(Math.abs(O/(.5*Math.PI+.001))),D=[];for(let t=0;t0&&(i[i.length]=+a),n[n.length]={cmd:r,args:i},i=[],a="",o=!1),r=l;else if([" ",","].includes(l)||"-"===l&&a.length>0&&"e"!==a[a.length-1]||"."===l&&o){if(0===a.length)continue;i.length===s?(n[n.length]={cmd:r,args:i},i=[+a],"M"===r&&(r="L"),"m"===r&&(r="l")):i[i.length]=+a,o="."===l,a=["-","."].includes(l)?l:""}else a+=l,"."===l&&(o=!0);return a.length>0&&(i.length===s?(n[n.length]={cmd:r,args:i},i=[+a],"M"===r&&(r="L"),"m"===r&&(r="l")):i[i.length]=+a),n[n.length]={cmd:r,args:i},n}(r);!function(t,r){H=q=X=Z=Y=K=0;for(let n=0;n1&&void 0!==arguments[1]?arguments[1]:{};const n=t;Array.isArray(t)||(t=[t,r.space||t]);if(!t.every(t=>Number.isFinite(t)&&t>0))throw new Error(`dash(${JSON.stringify(n)}, ${JSON.stringify(r)}) invalid, lengths must be numeric and greater than zero`);return t=t.map(ee).join(" "),this.addContent(`[${t}] ${ee(r.phase||0)} d`)},undash(){return this.addContent("[] 0 d")},moveTo(t,r){return this.addContent(`${ee(t)} ${ee(r)} m`)},lineTo(t,r){return this.addContent(`${ee(t)} ${ee(r)} l`)},bezierCurveTo(t,r,n,i,a,o){return this.addContent(`${ee(t)} ${ee(r)} ${ee(n)} ${ee(i)} ${ee(a)} ${ee(o)} c`)},quadraticCurveTo(t,r,n,i){return this.addContent(`${ee(t)} ${ee(r)} ${ee(n)} ${ee(i)} v`)},rect(t,r,n,i){return this.addContent(`${ee(t)} ${ee(r)} ${ee(n)} ${ee(i)} re`)},roundedRect(t,r,n,i,a){null==a&&(a=0);const o=(a=Math.min(a,.5*n,.5*i))*(1-te);return this.moveTo(t+a,r),this.lineTo(t+n-a,r),this.bezierCurveTo(t+n-o,r,t+n,r+o,t+n,r+a),this.lineTo(t+n,r+i-a),this.bezierCurveTo(t+n,r+i-o,t+n-o,r+i,t+n-a,r+i),this.lineTo(t+a,r+i),this.bezierCurveTo(t+o,r+i,t,r+i-o,t,r+i-a),this.lineTo(t,r+a),this.bezierCurveTo(t,r+o,t+o,r,t+a,r),this.closePath()},ellipse(t,r,n,i){null==i&&(i=n);const a=n*te,o=i*te,s=(t-=n)+2*n,l=(r-=i)+2*i,u=t+n,h=r+i;return this.moveTo(t,h),this.bezierCurveTo(t,h-o,u-a,r,u,r),this.bezierCurveTo(u+a,r,s,h-o,s,h),this.bezierCurveTo(s,h+o,u+a,l,u,l),this.bezierCurveTo(u-a,l,t,h+o,t,h),this.closePath()},circle(t,r,n){return this.ellipse(t,r,n)},arc(t,r,n,i,a,o){null==o&&(o=!1);const s=2*Math.PI,l=.5*Math.PI;let u=a-i;if(Math.abs(u)>s)u=s;else if(0!==u&&o!==u<0){u=(o?-1:1)*s+u}const h=Math.ceil(Math.abs(u)/l),p=u/h,g=p/l*te*n;let m=i,y=-Math.sin(m)*g,w=Math.cos(m)*g,v=t+Math.cos(m)*n,x=r+Math.sin(m)*n;this.moveTo(v,x);for(let i=0;i/even-?odd/.test(t)?"*":"",fill(t,r){return/(even-?odd)|(non-?zero)/.test(t)&&(r=t,t=null),t&&this.fillColor(t),this.addContent(`f${this._windingRule(r)}`)},stroke(t){return t&&this.strokeColor(t),this.addContent("S")},fillAndStroke(t,r,n){null==r&&(r=t);const i=/(even-?odd)|(non-?zero)/;return i.test(t)&&(n=t,t=null),i.test(r)&&(n=r,r=t),t&&(this.fillColor(t),this.strokeColor(r)),this.addContent(`B${this._windingRule(n)}`)},clip(t){return this.addContent(`W${this._windingRule(t)} n`)},transform(t,r,n,i,a,o){if(1===t&&0===r&&0===n&&1===i&&0===a&&0===o)return this;const s=this._ctm,[l,u,h,p,g,m]=s;s[0]=l*t+h*r,s[1]=u*t+p*r,s[2]=l*n+h*i,s[3]=u*n+p*i,s[4]=l*a+h*o+g,s[5]=u*a+p*o+m;const y=[t,r,n,i,a,o].map(t=>ee(t)).join(" ");return this.addContent(`${y} cm`)},translate(t,r){return this.transform(1,0,0,1,t,r)},rotate(t){let r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=t*Math.PI/180,a=Math.cos(i),o=Math.sin(i);let s=r=0;if(null!=n.origin){[s,r]=n.origin;const t=s*o+r*a;s-=s*a-r*o,r-=t}return this.transform(a,o,-o,a,s,r)},scale(t,r){let n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};null==r&&(r=t),"object"==typeof r&&(i=r,r=t);let a=n=0;return null!=i.origin&&([a,n]=i.origin,a-=t*a,n-=r*n),this.transform(t,0,0,r,a,n)}};const ne={402:131,8211:150,8212:151,8216:145,8217:146,8218:130,8220:147,8221:148,8222:132,8224:134,8225:135,8226:149,8230:133,8364:128,8240:137,8249:139,8250:155,710:136,8482:153,338:140,339:156,732:152,352:138,353:154,376:159,381:142,382:158},ie=".notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n \nspace exclam quotedbl numbersign\ndollar percent ampersand quotesingle\nparenleft parenright asterisk plus\ncomma hyphen period slash\nzero one two three\nfour five six seven\neight nine colon semicolon\nless equal greater question\n \nat A B C\nD E F G\nH I J K\nL M N O\nP Q R S\nT U V W\nX Y Z bracketleft\nbackslash bracketright asciicircum underscore\n \ngrave a b c\nd e f g\nh i j k\nl m n o\np q r s\nt u v w\nx y z braceleft\nbar braceright asciitilde .notdef\n \nEuro .notdef quotesinglbase florin\nquotedblbase ellipsis dagger daggerdbl\ncircumflex perthousand Scaron guilsinglleft\nOE .notdef Zcaron .notdef\n.notdef quoteleft quoteright quotedblleft\nquotedblright bullet endash emdash\ntilde trademark scaron guilsinglright\noe .notdef zcaron ydieresis\n \nspace exclamdown cent sterling\ncurrency yen brokenbar section\ndieresis copyright ordfeminine guillemotleft\nlogicalnot hyphen registered macron\ndegree plusminus twosuperior threesuperior\nacute mu paragraph periodcentered\ncedilla onesuperior ordmasculine guillemotright\nonequarter onehalf threequarters questiondown\n \nAgrave Aacute Acircumflex Atilde\nAdieresis Aring AE Ccedilla\nEgrave Eacute Ecircumflex Edieresis\nIgrave Iacute Icircumflex Idieresis\nEth Ntilde Ograve Oacute\nOcircumflex Otilde Odieresis multiply\nOslash Ugrave Uacute Ucircumflex\nUdieresis Yacute Thorn germandbls\n \nagrave aacute acircumflex atilde\nadieresis aring ae ccedilla\negrave eacute ecircumflex edieresis\nigrave iacute icircumflex idieresis\neth ntilde ograve oacute\nocircumflex otilde odieresis divide\noslash ugrave uacute ucircumflex\nudieresis yacute thorn ydieresis".split(/\s+/);class AFMFont{constructor(t){this.attributes={},this.glyphWidths={},this.boundingBoxes={},this.kernPairs={},this.parse(t),this.bbox=this.attributes.FontBBox.split(/\s+/).map(t=>+t),this.ascender=+(this.attributes.Ascender||0),this.descender=+(this.attributes.Descender||0),this.xHeight=+(this.attributes.XHeight||0),this.capHeight=+(this.attributes.CapHeight||0),this.lineGap=this.bbox[3]-this.bbox[1]-(this.ascender-this.descender)}parse(t){let r="";for(let l of t.split("\n")){var n,i;if(n=l.match(/^Start(\w+)/))r=n[1];else if(n=l.match(/^End(\w+)/))r="";else switch(r){case"FontMetrics":var a=(n=l.match(/(^\w+)\s+(.*)/))[1],o=n[2];(i=this.attributes[a])?(Array.isArray(i)||(i=this.attributes[a]=[i]),i.push(o)):this.attributes[a]=o;break;case"CharMetrics":if(!/^CH?\s/.test(l))continue;var s=l.match(/\bN\s+(\.?\w+)\s*;/)[1];this.glyphWidths[s]=+l.match(/\bWX\s+(\d+)\s*;/)[1];break;case"KernPairs":(n=l.match(/^KPX\s+(\.?\w+)\s+(\.?\w+)\s+(-?\d+)/))&&(this.kernPairs[n[1]+"\0"+n[2]]=parseInt(n[3]))}}}encodeText(t){const r=[];for(let n=0,i=t.length;n1&&void 0!==arguments[1]&&arguments[1]?this.lineGap:0;return(this.ascender+r-this.descender)/1e3*t}}const ae={Courier:()=>m.readFileSync("//data/Courier.afm","utf8"),"Courier-Bold":()=>m.readFileSync("//data/Courier-Bold.afm","utf8"),"Courier-Oblique":()=>m.readFileSync("//data/Courier-Oblique.afm","utf8"),"Courier-BoldOblique":()=>m.readFileSync("//data/Courier-BoldOblique.afm","utf8"),Helvetica:()=>m.readFileSync("//data/Helvetica.afm","utf8"),"Helvetica-Bold":()=>m.readFileSync("//data/Helvetica-Bold.afm","utf8"),"Helvetica-Oblique":()=>m.readFileSync("//data/Helvetica-Oblique.afm","utf8"),"Helvetica-BoldOblique":()=>m.readFileSync("//data/Helvetica-BoldOblique.afm","utf8"),"Times-Roman":()=>m.readFileSync("//data/Times-Roman.afm","utf8"),"Times-Bold":()=>m.readFileSync("//data/Times-Bold.afm","utf8"),"Times-Italic":()=>m.readFileSync("//data/Times-Italic.afm","utf8"),"Times-BoldItalic":()=>m.readFileSync("//data/Times-BoldItalic.afm","utf8"),Symbol:()=>m.readFileSync("//data/Symbol.afm","utf8"),ZapfDingbats:()=>m.readFileSync("//data/ZapfDingbats.afm","utf8")};class StandardFont extends PDFFont{constructor(t,r,n){super(),this.document=t,this.name=r,this.id=n,this.font=new AFMFont(ae[this.name]()),({ascender:this.ascender,descender:this.descender,bbox:this.bbox,lineGap:this.lineGap,xHeight:this.xHeight,capHeight:this.capHeight}=this.font)}embed(){return this.dictionary.data={Type:"Font",BaseFont:this.name,Subtype:"Type1",Encoding:"WinAnsiEncoding"},this.dictionary.end()}encode(t){const r=this.font.encodeText(t),n=this.font.glyphsForString(`${t}`),i=this.font.advancesForGlyphs(n),a=[];for(let t=0;t>8;let a=0;this.font.post.isFixedPitch&&(a|=1),1<=n&&n<=7&&(a|=2),a|=4,10===n&&(a|=8),this.font.head.macStyle.italic&&(a|=64);const o=[1,2,3,4,5,6].map(t=>String.fromCharCode((this.id.charCodeAt(t)||73)+17)).join("")+"+"+this.font.postscriptName?.replaceAll(" ","_"),{bbox:s}=this.font,l=this.document.ref({Type:"FontDescriptor",FontName:o,Flags:a,FontBBox:[s.minX*this.scale,s.minY*this.scale,s.maxX*this.scale,s.maxY*this.scale],ItalicAngle:this.font.italicAngle,Ascent:this.ascender,Descent:this.descender,CapHeight:(this.font.capHeight||this.font.ascent)*this.scale,XHeight:(this.font.xHeight||0)*this.scale,StemV:0});if(t?l.data.FontFile3=r:l.data.FontFile2=r,this.document.subset&&1===this.document.subset){const t=i.from("FFFFFFFFC0","hex"),r=this.document.ref();r.write(t),r.end(),l.data.CIDSet=r}l.end();const u={Type:"Font",Subtype:"CIDFontType0",BaseFont:o,CIDSystemInfo:{Registry:new String("Adobe"),Ordering:new String("Identity"),Supplement:0},FontDescriptor:l,W:[0,this.widths]};t||(u.Subtype="CIDFontType2",u.CIDToGIDMap="Identity");const h=this.document.ref(u);return h.end(),this.dictionary.data={Type:"Font",Subtype:"Type0",BaseFont:o,Encoding:"Identity-H",DescendantFonts:[h],ToUnicode:this.toUnicodeCmap()},this.dictionary.end()}toUnicodeCmap(){const t=this.document.ref(),r=[];for(let t of this.unicode){const n=[];for(let r of t)r>65535&&(r-=65536,n.push(toHex(r>>>10&1023|55296)),r=56320|1023&r),n.push(toHex(r));r.push(`<${n.join(" ")}>`)}const n=Math.ceil(r.length/256),i=[];for(let t=0;t <${toHex(a-1)}> [${r.slice(n,a).join(" ")}]`)}return t.end(`/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000>\nendcodespacerange\n1 beginbfrange\n${i.join("\n")}\nendbfrange\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend`),t}}class PDFFontFactory{static open(t,r,n,i){let a;if("string"==typeof r){if(StandardFont.isStandardFont(r))return new StandardFont(t,r,i);r=m.readFileSync(r)}if(r instanceof Uint8Array?a=l.create(r,n):r instanceof ArrayBuffer&&(a=l.create(new Uint8Array(r),n)),null==a)throw new Error("Not a supported font format or standard PDF font.");return new EmbeddedFont(t,a,i)}}var oe={initFonts(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Helvetica",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12;this._fontFamilies={},this._fontCount=0,this._fontSource=t,this._fontFamily=r,this._fontSize=n,this._font=null,this._remSize=n,this._registeredFonts={},t&&this.font(t,r)},font(t,r,n){let i,a;if("number"==typeof r&&(n=r,r=null),"string"==typeof t&&this._registeredFonts[t]?(i=t,({src:t,family:r}=this._registeredFonts[t])):(i=r||t,"string"!=typeof i&&(i=null)),this._fontSource=t,this._fontFamily=r,null!=n&&this.fontSize(n),a=this._fontFamilies[i])return this._font=a,this;const o="F"+ ++this._fontCount;return this._font=PDFFontFactory.open(this,t,r,o),(a=this._fontFamilies[this._font.name])&&(s=this._font,l=a,s.font._tables?.head?.checkSumAdjustment===l.font._tables?.head?.checkSumAdjustment&&JSON.stringify(s.font._tables?.name?.records)===JSON.stringify(l.font._tables?.name?.records))?(this._font=a,this):(i&&(this._fontFamilies[i]=this._font),this._font.name&&(this._fontFamilies[this._font.name]=this._font),this);var s,l},fontSize(t){return this._fontSize=this.sizeToPoint(t),this},currentLineHeight(t){return this._font.lineHeight(this._fontSize,t)},registerFont(t,r,n){return this._registeredFonts[t]={src:r,family:n},this},sizeToPoint(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.page,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;if(i||(i=this._fontSize),"number"!=typeof r&&(r=this.sizeToPoint(r)),void 0===t)return r;if("number"==typeof t)return t;if("boolean"==typeof t)return Number(t);const a=String(t).match(/((\d+)?(\.\d+)?)(em|in|px|cm|mm|pc|ex|ch|rem|vw|vh|vmin|vmax|%|pt)?/);if(!a)throw new Error(`Unsupported size '${t}'`);let o;switch(a[4]){case"em":o=this._fontSize;break;case"in":o=72;break;case"px":o=.75;break;case"cm":o=72*_;break;case"mm":o=.1*_*72;break;case"pc":o=12;break;case"ex":o=this.currentLineHeight();break;case"ch":o=this.widthOfString("0");break;case"rem":o=this._remSize;break;case"vw":o=n.width/100;break;case"vh":o=n.height/100;break;case"vmin":o=Math.min(n.width,n.height)/100;break;case"vmax":o=Math.max(n.width,n.height)/100;break;case"%":o=i/100;break;default:o=1}return o*Number(a[1])}};class LineWrapper extends u.EventEmitter{constructor(t,r){super(),this.document=t,this.horizontalScaling=r.horizontalScaling||100,this.indent=(r.indent||0)*this.horizontalScaling/100,this.characterSpacing=(r.characterSpacing||0)*this.horizontalScaling/100,this.wordSpacing=(0===r.wordSpacing)*this.horizontalScaling/100,this.columns=r.columns||1,this.columnGap=(null!=r.columnGap?r.columnGap:18)*this.horizontalScaling/100,this.lineWidth=(r.width*this.horizontalScaling/100-this.columnGap*(this.columns-1))/this.columns,this.spaceLeft=this.lineWidth,this.startX=this.document.x,this.startY=this.document.y,this.column=1,this.ellipsis=r.ellipsis,this.continuedX=0,this.features=r.features,null!=r.height?(this.height=r.height,this.maxY=PDFNumber(this.startY+r.height)):this.maxY=PDFNumber(this.document.page.maxY()),this.on("firstLine",t=>{const r=this.continuedX||this.indent;this.document.x+=r,this.lineWidth-=r,t.indentAllLines||this.once("line",()=>{this.document.x-=r,this.lineWidth+=r,t.continued&&!this.continuedX&&(this.continuedX=this.indent),t.continued||(this.continuedX=0)})}),this.on("lastLine",t=>{const{align:r}=t;"justify"===r&&(t.align="left"),this.lastLine=!0,this.once("line",()=>(this.document.y+=t.paragraphGap||0,t.align=r,this.lastLine=!1))})}wordWidth(t){return PDFNumber(this.document.widthOfString(t,this)+this.characterSpacing+this.wordSpacing)}canFit(t,r){return"­"!=t[t.length-1]?r<=this.spaceLeft:r+this.wordWidth("-")<=this.spaceLeft}eachWord(t,r){let n;const i=new h.default(t);let a=null;const o=Object.create(null);for(;n=i.nextBreak();){var s;let i=t.slice((null!=a?a.position:void 0)||0,n.position),h=null!=o[i]?o[i]:o[i]=this.wordWidth(i);if(h>this.lineWidth+this.continuedX){let t=a;const o={};for(;i.length;){var l,u;h>this.spaceLeft?(l=Math.ceil(this.spaceLeft/(h/i.length)),h=this.wordWidth(i.slice(0,l)),u=h<=this.spaceLeft&&lthis.spaceLeft&&l>0;for(;a||u;)a?(h=this.wordWidth(i.slice(0,--l)),a=h>this.spaceLeft&&l>0):(h=this.wordWidth(i.slice(0,++l)),a=h>this.spaceLeft&&l>0,u=h<=this.spaceLeft&&lthis.maxY||n>this.maxY)&&this.nextSection();let i="",a=0,o=0,s=0,{y:l}=this.document;const emitLine=()=>(r.textWidth=a+this.wordSpacing*(o-1),r.wordCount=o,r.lineWidth=this.lineWidth,({y:l}=this.document),this.emit("line",i,r,this),s++);this.emit("sectionStart",r,this),this.eachWord(t,(t,n,s,l)=>{if((null==l||l.required)&&(this.emit("firstLine",r,this),this.spaceLeft=this.lineWidth),this.canFit(t,n)&&(i+=t,a+=n,o++),s.required||!this.canFit(t,n)){const l=this.document.currentLineHeight(!0);if(null!=this.height&&this.ellipsis&&PDFNumber(this.document.y+2*l)>this.maxY&&this.column>=this.columns){for(!0===this.ellipsis&&(this.ellipsis="…"),i=i.replace(/\s+$/,""),a=this.wordWidth(i+this.ellipsis);i&&a>this.lineWidth;)i=i.slice(0,-1).replace(/\s+$/,""),a=this.wordWidth(i+this.ellipsis);a<=this.lineWidth&&(i+=this.ellipsis),a=this.wordWidth(i)}if(s.required&&(n>this.spaceLeft&&(emitLine(),i=t,a=n,o=1),this.emit("lastLine",r,this)),"­"==i[i.length-1]&&(i=i.slice(0,-1)+"-",this.spaceLeft-=this.wordWidth("-")),emitLine(),PDFNumber(this.document.y+l)>this.maxY){this.emit("sectionEnd",r,this);if(!this.nextSection())return o=0,i="",!1;this.emit("sectionStart",r,this)}return s.required?(this.spaceLeft=this.lineWidth,i="",a=0,o=0):(this.spaceLeft=this.lineWidth-n,i=t,a=n,o=1)}return this.spaceLeft-=n}),o>0&&(this.emit("lastLine",r,this),emitLine()),this.emit("sectionEnd",r,this),!0===r.continued?(s>1&&(this.continuedX=0),this.continuedX+=r.textWidth||0,this.document.y=l):this.document.x=this.startX}nextSection(t){if(++this.column>this.columns){if(null!=this.height)return!1;this.document.continueOnNewPage(),this.column=1,this.startY=this.document.page.margins.top,this.maxY=this.document.page.maxY(),this.document.x=this.startX,this.document._fillColor&&this.document.fillColor(...this.document._fillColor),this.emit("pageBreak",t,this)}else this.document.x+=this.lineWidth+this.columnGap,this.document.y=this.startY,this.emit("columnBreak",t,this);return!0}}const{number:se}=PDFObject;var le={initText(){this._line=this._line.bind(this),this.x=0,this.y=0,this._lineGap=0},lineGap(t){return this._lineGap=t,this},moveDown(t){return null==t&&(t=1),this.y+=this.currentLineHeight(!0)*t+this._lineGap,this},moveUp(t){return null==t&&(t=1),this.y-=this.currentLineHeight(!0)*t+this._lineGap,this},_text(t,r,n,i,a){t=null==t?"":`${t}`,(i=this._initOptions(r,n,i)).wordSpacing&&(t=t.replace(/\s{2,}/g," "));const addStructure=()=>{i.structParent&&i.structParent.add(this.struct(i.structType||"P",[this.markStructureContent(i.structType||"P")]))};if(0!==i.rotation&&(this.save(),this.rotate(-i.rotation,{origin:[this.x,this.y]})),i.width){let r=this._wrapper;r||(r=new LineWrapper(this,i),r.on("line",a),r.on("firstLine",addStructure)),this._wrapper=i.continued?r:null,this._textOptions=i.continued?i:null,r.wrap(t,i)}else for(let r of t.split("\n"))addStructure(),a(r,i);return 0!==i.rotation&&this.restore(),this},text(t,r,n,i){return this._text(t,r,n,i,this._line)},widthOfString(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=r.horizontalScaling||100;return(this._font.widthOfString(t,this._fontSize,r.features)+(r.characterSpacing||0)*(t.length-1))*n/100},boundsOfString(t,r,n,i){i=this._initOptions(r,n,i),({x:r,y:n}=this);const a=i.lineGap??this._lineGap??0,o=this.currentLineHeight(!0)+a;let s=0;if(t=String(t??""),i.wordSpacing&&(t=t.replace(/\s{2,}/g," ")),i.width){let r=new LineWrapper(this,i);r.on("line",(t,r)=>{if(this.y+=o,(t=t.replace(/\n/g,"")).length){let n=r.wordSpacing??0;const i=r.characterSpacing??0;if(r.width&&"justify"===r.align){const a=t.trim().split(/\s+/),o=this.widthOfString(t.replace(/\s+/g,""),r),s=this.widthOfString(" ")+i;n=Math.max(0,(r.lineWidth-o)/Math.max(1,a.length-1)-s)}s=Math.max(s,r.textWidth+n*(r.wordCount-1)+i*(t.length-1))}}),r.wrap(t,i)}else for(let r of t.split("\n")){const t=this.widthOfString(r,i);this.y+=o,s=Math.max(s,t)}let l=this.y-n;if(i.height&&(l=Math.min(l,i.height)),this.x=r,this.y=n,0===i.rotation)return{x:r,y:n,width:s,height:l};if(90===i.rotation)return{x:r,y:n-s,width:l,height:s};if(180===i.rotation)return{x:r-s,y:n-l,width:s,height:l};if(270===i.rotation)return{x:r-l,y:n,width:l,height:s};const u=cosine(i.rotation),h=sine(i.rotation),p=r,g=n,m=r+s*u,y=n-s*h,w=r+s*u+l*h,v=n-s*h+l*u,x=r+l*h,_=n+l*u,S=Math.min(p,m,w,x),A=Math.max(p,m,w,x),C=Math.min(g,y,v,_);return{x:S,y:C,width:A-S,height:Math.max(g,y,v,_)-C}},heightOfString(t,r){const{x:n,y:i}=this;(r=this._initOptions(r)).height=1/0;const a=r.lineGap||this._lineGap||0;this._text(t,this.x,this.y,r,()=>{this.y+=this.currentLineHeight(!0)+a});const o=this.y-i;return this.x=n,this.y=i,o},list(t,r,n,i){const a=(i=this._initOptions(r,n,i)).listType||"bullet",o=Math.round(this._font.ascender/1e3*this._fontSize),s=o/2,l=i.bulletRadius||o/3,u=i.textIndent||("bullet"===a?5*l:2*o),h=i.bulletIndent||("bullet"===a?8*l:2*o);let p=1;const g=[],m=[],y=[];var flatten=function(t){let r=1;for(let n=0;n{let t,o,g,w,v;if(i.structParent&&(i.structTypes?[o,g,w]=i.structTypes:[o,g,w]=["LI","Lbl","LBody"]),o?(t=this.struct(o),i.structParent.add(t)):i.structParent&&(t=i.structParent),(v=m[r++])!==p){const t=h*(v-p);this.x+=t,n.lineWidth-=t,p=v}switch(t&&(g||w)&&t.add(this.struct(g||w,[this.markStructureContent(g||w)])),a){case"bullet":this.circle(this.x-u+l,this.y+s,l),this.fill();break;case"numbered":case"lettered":var x=function formatListLabel(t,r){if("numbered"===r)return`${t}.`;var n=String.fromCharCode((t-1)%26+65),i=Math.floor((t-1)/26+1);return`${Array(i+1).join(n)}.`}(y[r-1],a);this._fragment(x,this.x-u,this.y,i)}t&&g&&w&&t.add(this.struct(w,[this.markStructureContent(w)])),t&&t!==i.structParent&&t.end()}),n.on("sectionStart",()=>{const t=u+h*(p-1);this.x+=t,n.lineWidth-=t}),n.on("sectionEnd",()=>{const t=u+h*(p-1);this.x-=t,n.lineWidth+=t}),n.wrap(t,i)};for(let t=0;t0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"==typeof t&&(n=t,t=null);const i=Object.assign({},n);if(this._textOptions)for(let t in this._textOptions){const r=this._textOptions[t];"continued"!==t&&void 0===i[t]&&(i[t]=r)}return null!=t&&(this.x=t),null!=r&&(this.y=r),!1!==i.lineBreak&&(null==i.width&&(i.width=this.page.width-this.x-this.page.margins.right),i.width=Math.max(i.width,0)),i.columns||(i.columns=0),null==i.columnGap&&(i.columnGap=18),i.rotation=Number(n.rotation??0)%360,i.rotation<0&&(i.rotation+=360),i},_line(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(this._fragment(t,this.x,this.y,r),n){const t=r.lineGap||this._lineGap||0;this.y+=this.currentLineHeight(!0)+t}else this.x+=this.widthOfString(t,r)},_fragment(t,r,n,i){let a,o,s,l,u,h;if(0===(t=`${t}`.replace(/\n/g,"")).length)return;const p=i.align||"left";let g=i.wordSpacing||0;const m=i.characterSpacing||0,y=i.horizontalScaling||100;if(i.width)switch(p){case"right":u=this.widthOfString(t.replace(/\s+$/,""),i),r+=i.lineWidth-u;break;case"center":r+=i.lineWidth/2-i.textWidth/2;break;case"justify":h=t.trim().split(/\s+/),u=this.widthOfString(t.replace(/\s+/g,""),i);var w=this.widthOfString(" ")+m;g=Math.max(0,(i.lineWidth-u)/Math.max(1,h.length-1)-w)}if("number"==typeof i.baseline)a=-i.baseline;else{switch(i.baseline){case"svg-middle":a=.5*this._font.xHeight;break;case"middle":case"svg-central":a=.5*(this._font.descender+this._font.ascender);break;case"bottom":case"ideographic":a=this._font.descender;break;case"alphabetic":a=0;break;case"mathematical":a=.5*this._font.ascender;break;case"hanging":a=.8*this._font.ascender;break;default:a=this._font.ascender}a=a/1e3*this._fontSize}const v=i.textWidth+g*(i.wordCount-1)+m*(t.length-1);if(null!=i.link&&this.link(r,n,v,this.currentLineHeight(),i.link),null!=i.goTo&&this.goTo(r,n,v,this.currentLineHeight(),i.goTo),null!=i.destination&&this.addNamedDestination(i.destination,"XYZ",r,n,null),i.underline){this.save(),i.stroke||this.strokeColor(...this._fillColor||[]);const t=this._fontSize<10?.5:Math.floor(this._fontSize/10);this.lineWidth(t);let a=n+this.currentLineHeight()-t;this.moveTo(r,a),this.lineTo(r+v,a),this.stroke(),this.restore()}if(i.strike){this.save(),i.stroke||this.strokeColor(...this._fillColor||[]);const t=this._fontSize<10?.5:Math.floor(this._fontSize/10);this.lineWidth(t);let a=n+this.currentLineHeight()/2;this.moveTo(r,a),this.lineTo(r+v,a),this.stroke(),this.restore()}if(this.save(),i.oblique){let t;t="number"==typeof i.oblique?-Math.tan(i.oblique*Math.PI/180):-.25,this.transform(1,0,0,1,r,n),this.transform(1,0,t,1,-t*a,0),this.transform(1,0,0,1,-r,-n)}this.transform(1,0,0,-1,0,this.page.height),n=this.page.height-n-a,null==this.page.fonts[this._font.id]&&(this.page.fonts[this._font.id]=this._font.ref()),this.addContent("BT"),this.addContent(`1 0 0 1 ${se(r)} ${se(n)} Tm`),this.addContent(`/${this._font.id} ${se(this._fontSize)} Tf`);const x=i.fill&&i.stroke?2:i.stroke?1:0;if(x&&this.addContent(`${x} Tr`),m&&this.addContent(`${se(m)} Tc`),100!==y&&this.addContent(`${y} Tz`),g){h=t.trim().split(/\s+/),g+=this.widthOfString(" ")+m,g*=1e3/this._fontSize,o=[],l=[];for(let t of h){const[r,n]=this._font.encode(t,i.features);o=o.concat(r),l=l.concat(n);const a={},s=l[l.length-1];for(let t in s){const r=s[t];a[t]=r}a.xAdvance+=g,l[l.length-1]=a}}else[o,l]=this._font.encode(t,i.features);const _=this._fontSize/1e3,S=[];let A=0,C=!1;const addSegment=t=>{if(A ${se(-n)}`)}A=t},flush=t=>{addSegment(t),S.length>0&&(this.addContent(`[${S.join(" ")}] TJ`),S.length=0)};for(s=0;s{let r,n;const a=this.image.colors,s=this.width*this.height,l=i.alloc(s*a),u=i.alloc(s);let h=n=r=0;const p=t.length,g=16===this.image.bits?1:0;for(;h{const n=i.alloc(this.width*this.height);let a=0;for(let i=0,o=r.length;i{this.imgData=o.default.deflateSync(t),this.finalize()})}}class PDFImage{static open(t,r){let n;if(i.isBuffer(t))n=t;else if(t instanceof ArrayBuffer)n=i.from(new Uint8Array(t));else{const r=/^data:.+?;base64,(.*)$/.exec(t);if(r)n=i.from(r[1],"base64");else if(n=m.readFileSync(t),!n)return}if(255===n[0]&&216===n[1])return new JPEG(n,r);if(137===n[0]&&"PNG"===n.toString("ascii",1,4))return new PNGImage(n,r);throw new Error("Unknown image format.")}}var he={initImages(){this._imageRegistry={},this._imageCount=0},image(t,r,n){let i,a,o,s,l,u,h,p,g,m=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};"object"==typeof r&&(m=r,r=null);const y=m.ignoreOrientation||!1!==m.ignoreOrientation&&this.options.ignoreOrientation,w="number"!=typeof n;r=null!=(u=null!=r?r:m.x)?u:this.x,n=null!=(h=null!=n?n:m.y)?h:this.y,"string"==typeof t&&(s=this._imageRegistry[t]),s||(s=t.width&&t.height?t:this.openImage(t)),s.obj||s.embed(this),null==this.page.xobjects[s.label]&&(this.page.xobjects[s.label]=s.obj);let{width:v,height:x}=s;!y&&s.orientation>4&&([v,x]=[x,v]);let _=m.width||v,S=m.height||x;if(m.width&&!m.height){const t=_/v;_=v*t,S=x*t}else if(m.height&&!m.width){const t=S/x;_=v*t,S=x*t}else m.scale?(_=v*m.scale,S=x*m.scale):m.fit?([o,i]=m.fit,a=o/i,l=v/x,l>a?(_=o,S=o/l):(S=i,_=i*l)):m.cover&&([o,i]=m.cover,a=o/i,l=v/x,l>a?(S=i,_=i*l):(_=o,S=o/l));(m.fit||m.cover)&&("center"===m.align?r=r+o/2-_/2:"right"===m.align&&(r=r+o-_),"center"===m.valign?n=n+i/2-S/2:"bottom"===m.valign&&(n=n+i-S));let A=0,C=r,P=n,k=S,T=_;if(y)k=-S,P+=S;else switch(s.orientation){default:case 1:k=-S,P+=S;break;case 2:T=-_,k=-S,C+=_,P+=S;break;case 3:p=r,g=n,k=-S,C-=_,A=180;break;case 4:break;case 5:p=r,g=n,T=S,k=_,P-=k,A=90;break;case 6:p=r,g=n,T=S,k=-_,A=90;break;case 7:p=r,g=n,k=-_,T=-S,C+=S,A=90;break;case 8:p=r,g=n,T=S,k=-_,C-=S,P+=_,A=-90}return null!=m.link&&this.link(r,n,_,S,m.link),null!=m.goTo&&this.goTo(r,n,_,S,m.goTo),null!=m.destination&&this.addNamedDestination(m.destination,"XYZ",r,n,null),w&&(this.y+=S),this.save(),A&&this.rotate(A,{origin:[p,g]}),this.transform(T,0,0,k,C,P),this.addContent(`/${s.label} Do`),this.restore(),this},openImage(t){let r;return"string"==typeof t&&(r=this._imageRegistry[t]),r||(r=PDFImage.open(t,"I"+ ++this._imageCount),"string"==typeof t&&(this._imageRegistry[t]=r)),r}},fe={annotate(t,r,n,i,a){a.Type="Annot",a.Rect=this._convertRect(t,r,n,i),a.Border=[0,0,0],"Link"===a.Subtype&&void 0===a.F&&(a.F=4),"Link"!==a.Subtype&&null==a.C&&(a.C=this._normalizeColor(a.color||[0,0,0])),delete a.color,"string"==typeof a.Dest&&(a.Dest=new String(a.Dest));for(let t in a){const r=a[t];a[t[0].toUpperCase()+t.slice(1)]=r}const o=this.ref(a);return this.page.annotations.push(o),o.end(),this},note(t,r,n,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return o.Subtype="Text",o.Contents=new String(a),null==o.Name&&(o.Name="Comment"),null==o.color&&(o.color=[243,223,92]),this.annotate(t,r,n,i,o)},goTo(t,r,n,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return o.Subtype="Link",o.A=this.ref({S:"GoTo",D:new String(a)}),o.A.end(),this.annotate(t,r,n,i,o)},link(t,r,n,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(o.Subtype="Link","number"==typeof a){const t=this._root.data.Pages.data;if(!(a>=0&&a4&&void 0!==arguments[4]?arguments[4]:{};const[o,s,l,u]=this._convertRect(t,r,n,i);return a.QuadPoints=[o,u,l,u,o,s,l,s],a.Contents=new String,this.annotate(t,r,n,i,a)},highlight(t,r,n,i){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return a.Subtype="Highlight",null==a.color&&(a.color=[241,238,148]),this._markup(t,r,n,i,a)},underline(t,r,n,i){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return a.Subtype="Underline",this._markup(t,r,n,i,a)},strike(t,r,n,i){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return a.Subtype="StrikeOut",this._markup(t,r,n,i,a)},lineAnnotation(t,r,n,i){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return a.Subtype="Line",a.Contents=new String,a.L=[t,this.page.height-r,n,this.page.height-i],this.annotate(t,r,n,i,a)},rectAnnotation(t,r,n,i){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return a.Subtype="Square",a.Contents=new String,this.annotate(t,r,n,i,a)},ellipseAnnotation(t,r,n,i){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return a.Subtype="Circle",a.Contents=new String,this.annotate(t,r,n,i,a)},textAnnotation(t,r,n,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return o.Subtype="FreeText",o.Contents=new String(a),o.DA=new String,this.annotate(t,r,n,i,o)},fileAnnotation(t,r,n,i){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};const s=this.file(a.src,Object.assign({hidden:!0},a));return o.Subtype="FileAttachment",o.FS=s,o.Contents?o.Contents=new String(o.Contents):s.data.Desc&&(o.Contents=s.data.Desc),this.annotate(t,r,n,i,o)},_convertRect(t,r,n,i){let a=r;r+=i;let o=t+n;const[s,l,u,h,p,g]=this._ctm;return o=s*o+u*a+p,a=l*o+h*a+g,[t=s*t+u*r+p,r=l*t+h*r+g,o,a]}};class PDFOutline{constructor(t,r,n,i){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{expanded:!1};this.document=t,this.options=a,this.outlineData={},null!==i&&(this.outlineData.Dest=[i.dictionary,"Fit"]),null!==r&&(this.outlineData.Parent=r),null!==n&&(this.outlineData.Title=new String(n)),this.dictionary=this.document.ref(this.outlineData),this.children=[]}addItem(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{expanded:!1};const n=new PDFOutline(this.document,this.dictionary,t,this.document.page,r);return this.children.push(n),n}endOutline(){if(this.children.length>0){this.options.expanded&&(this.outlineData.Count=this.children.length);const t=this.children[0],r=this.children[this.children.length-1];this.outlineData.First=t.dictionary,this.outlineData.Last=r.dictionary;for(let t=0,r=this.children.length;t0&&(r.outlineData.Prev=this.children[t-1].dictionary),t0)return this._root.data.Outlines=this.outline.dictionary,this._root.data.PageMode="UseOutlines"}};class PDFStructureContent{constructor(t,r){this.refs=[{pageRef:t,mcid:r}]}push(t){t.refs.forEach(t=>this.refs.push(t))}}class PDFStructureElement{constructor(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.document=t,this._attached=!1,this._ended=!1,this._flushed=!1,this.dictionary=t.ref({S:r});const a=this.dictionary.data;(Array.isArray(n)||this._isValidChild(n))&&(i=n,n={}),void 0!==n.title&&(a.T=new String(n.title)),void 0!==n.lang&&(a.Lang=new String(n.lang)),void 0!==n.alt&&(a.Alt=new String(n.alt)),void 0!==n.expanded&&(a.E=new String(n.expanded)),void 0!==n.actual&&(a.ActualText=new String(n.actual)),this._children=[],i&&(Array.isArray(i)||(i=[i]),i.forEach(t=>this.add(t)),this.end())}add(t){if(this._ended)throw new Error("Cannot add child to already-ended structure element");if(!this._isValidChild(t))throw new Error("Invalid structure element child");return t instanceof PDFStructureElement&&(t.setParent(this.dictionary),this._attached&&t.setAttached()),t instanceof PDFStructureContent&&this._addContentToParentTree(t),"function"==typeof t&&this._attached&&(t=this._contentForClosure(t)),this._children.push(t),this}_addContentToParentTree(t){t.refs.forEach(t=>{let{pageRef:r,mcid:n}=t;this.document.getStructParentTree().get(r.data.StructParents)[n]=this.dictionary})}setParent(t){if(this.dictionary.data.P)throw new Error("Structure element added to more than one parent");this.dictionary.data.P=t,this._flush()}setAttached(){this._attached||(this._children.forEach((t,r)=>{t instanceof PDFStructureElement&&t.setAttached(),"function"==typeof t&&(this._children[r]=this._contentForClosure(t))}),this._attached=!0,this._flush())}end(){this._ended||(this._children.filter(t=>t instanceof PDFStructureElement).forEach(t=>t.end()),this._ended=!0,this._flush())}_isValidChild(t){return t instanceof PDFStructureElement||t instanceof PDFStructureContent||"function"==typeof t}_contentForClosure(t){const r=this.document.markStructureContent(this.dictionary.data.S);return t(),this.document.endMarkedContent(),this._addContentToParentTree(r),r}_isFlushable(){return!(!this.dictionary.data.P||!this._ended)&&this._children.every(t=>"function"!=typeof t&&(!(t instanceof PDFStructureElement)||t._isFlushable()))}_flush(){!this._flushed&&this._isFlushable()&&(this.dictionary.data.K=[],this._children.forEach(t=>this._flushChild(t)),this.dictionary.end(),this._children=[],this.dictionary.data.K=null,this._flushed=!0)}_flushChild(t){t instanceof PDFStructureElement&&this.dictionary.data.K.push(t.dictionary),t instanceof PDFStructureContent&&t.refs.forEach(t=>{let{pageRef:r,mcid:n}=t;this.dictionary.data.Pg||(this.dictionary.data.Pg=r),this.dictionary.data.Pg===r?this.dictionary.data.K.push(n):this.dictionary.data.K.push({Type:"MCR",Pg:r,MCID:n})})}}class PDFNumberTree extends PDFTree{_compareKeys(t,r){return parseInt(t)-parseInt(r)}_keysName(){return"Nums"}_dataForKey(t){return parseInt(t)}}var pe={initMarkings(t){this.structChildren=[],t.tagged&&(this.getMarkInfoDictionary().data.Marked=!0,this.getStructTreeRoot())},markContent(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("Artifact"===t||r&&r.mcid){let t=0;for(this.page.markings.forEach(r=>{(t||r.structContent||"Artifact"===r.tag)&&t++});t--;)this.endMarkedContent()}if(!r)return this.page.markings.push({tag:t}),this.addContent(`/${t} BMC`),this;this.page.markings.push({tag:t,options:r});const n={};return void 0!==r.mcid&&(n.MCID=r.mcid),"Artifact"===t&&("string"==typeof r.type&&(n.Type=r.type),Array.isArray(r.bbox)&&(n.BBox=[r.bbox[0],this.page.height-r.bbox[3],r.bbox[2],this.page.height-r.bbox[1]]),Array.isArray(r.attached)&&r.attached.every(t=>"string"==typeof t)&&(n.Attached=r.attached)),"Span"===t&&(r.lang&&(n.Lang=new String(r.lang)),r.alt&&(n.Alt=new String(r.alt)),r.expanded&&(n.E=new String(r.expanded)),r.actual&&(n.ActualText=new String(r.actual))),this.addContent(`/${t} ${PDFObject.convert(n)} BDC`),this},markStructureContent(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getStructParentTree().get(this.page.structParentTreeKey),i=n.length;n.push(null),this.markContent(t,{...r,mcid:i});const a=new PDFStructureContent(this.page.dictionary,i);return this.page.markings.slice(-1)[0].structContent=a,a},endMarkedContent(){return this.page.markings.pop(),this.addContent("EMC"),this},struct(t){return new PDFStructureElement(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},arguments.length>2&&void 0!==arguments[2]?arguments[2]:null)},addStructure(t){const r=this.getStructTreeRoot();return t.setParent(r),t.setAttached(),this.structChildren.push(t),r.data.K||(r.data.K=[]),r.data.K.push(t.dictionary),this},initPageMarkings(t){t.forEach(t=>{if(t.structContent){const r=t.structContent,n=this.markStructureContent(t.tag,t.options);r.push(n),this.page.markings.slice(-1)[0].structContent=r}else this.markContent(t.tag,t.options)})},endPageMarkings(t){const r=t.markings;return r.forEach(()=>t.write("EMC")),t.markings=[],r},getMarkInfoDictionary(){return this._root.data.MarkInfo||(this._root.data.MarkInfo=this.ref({})),this._root.data.MarkInfo},hasMarkInfoDictionary(){return!!this._root.data.MarkInfo},getStructTreeRoot(){return this._root.data.StructTreeRoot||(this._root.data.StructTreeRoot=this.ref({Type:"StructTreeRoot",ParentTree:new PDFNumberTree,ParentTreeNextKey:0})),this._root.data.StructTreeRoot},getStructParentTree(){return this.getStructTreeRoot().data.ParentTree},createStructParentTreeNextKey(){this.getMarkInfoDictionary();const t=this.getStructTreeRoot(),r=t.data.ParentTreeNextKey++;return t.data.ParentTree.add(r,[]),r},endMarkings(){const t=this._root.data.StructTreeRoot;t&&(t.end(),this.structChildren.forEach(t=>t.end())),this._root.data.MarkInfo&&this._root.data.MarkInfo.end()}};const ge={readOnly:1,required:2,noExport:4,multiline:4096,password:8192,toggleToOffButton:16384,radioButton:32768,pushButton:65536,combo:131072,edit:262144,sort:524288,multiSelect:2097152,noSpell:4194304},be={left:0,center:1,right:2},me={value:"V",defaultValue:"DV"},ye={zip:"0",zipPlus4:"1",zip4:"1",phone:"2",ssn:"3"},we={nDec:0,sepComma:!1,negStyle:"MinusBlack",currency:"",currencyPrepend:!0},ve={nDec:0,sepComma:!1};var xe={initForm(){if(!this._font)throw new Error("Must set a font before calling initForm method");this._acroform={fonts:{},defaultFont:this._font.name},this._acroform.fonts[this._font.id]=this._font.ref();let t={Fields:[],NeedAppearances:!0,DA:new String(`/${this._font.id} 0 Tf 0 g`),DR:{Font:{}}};t.DR.Font[this._font.id]=this._font.ref();const r=this.ref(t);return this._root.data.AcroForm=r,this},endAcroForm(){if(this._root.data.AcroForm){if(!Object.keys(this._acroform.fonts).length&&!this._acroform.defaultFont)throw new Error("No fonts specified for PDF form");let t=this._root.data.AcroForm.data.DR.Font;Object.keys(this._acroform.fonts).forEach(r=>{t[r]=this._acroform.fonts[r]}),this._root.data.AcroForm.data.Fields.forEach(t=>{this._endChild(t)}),this._root.data.AcroForm.end()}return this},_endChild(t){return Array.isArray(t.data.Kids)&&(t.data.Kids.forEach(t=>{this._endChild(t)}),t.end()),this},formField(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this._fieldDict(t,null,r),i=this.ref(n);return this._addToParent(i),i},formAnnotation(t,r,n,i,a,o){let s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},l=this._fieldDict(t,r,s);l.Subtype="Widget",void 0===l.F&&(l.F=4),this.annotate(n,i,a,o,l);let u=this.page.annotations[this.page.annotations.length-1];return this._addToParent(u)},formText(t,r,n,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(t,"text",r,n,i,a,o)},formPushButton(t,r,n,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(t,"pushButton",r,n,i,a,o)},formCombo(t,r,n,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(t,"combo",r,n,i,a,o)},formList(t,r,n,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(t,"list",r,n,i,a,o)},formRadioButton(t,r,n,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(t,"radioButton",r,n,i,a,o)},formCheckbox(t,r,n,i,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(t,"checkbox",r,n,i,a,o)},_addToParent(t){let r=t.data.Parent;return r?(r.data.Kids||(r.data.Kids=[]),r.data.Kids.push(t)):this._root.data.AcroForm.data.Fields.push(t),this},_fieldDict(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this._acroform)throw new Error("Call document.initForm() method before adding form elements to document");let i=Object.assign({},n);return null!==r&&(i=this._resolveType(r,n)),i=this._resolveFlags(i),i=this._resolveJustify(i),i=this._resolveFont(i),i=this._resolveStrings(i),i=this._resolveColors(i),i=this._resolveFormat(i),i.T=new String(t),i.parent&&(i.Parent=i.parent,delete i.parent),i},_resolveType(t,r){if("text"===t)r.FT="Tx";else if("pushButton"===t)r.FT="Btn",r.pushButton=!0;else if("radioButton"===t)r.FT="Btn",r.radioButton=!0;else if("checkbox"===t)r.FT="Btn";else if("combo"===t)r.FT="Ch",r.combo=!0;else{if("list"!==t)throw new Error(`Invalid form annotation type '${t}'`);r.FT="Ch"}return r},_resolveFormat(t){const r=t.format;if(r&&r.type){let n,i,a="";if(void 0!==ye[r.type])n="AFSpecial_Keystroke",i="AFSpecial_Format",a=ye[r.type];else{let t=r.type.charAt(0).toUpperCase()+r.type.slice(1);if(n=`AF${t}_Keystroke`,i=`AF${t}_Format`,"date"===r.type)n+="Ex",a=String(r.param);else if("time"===r.type)a=String(r.param);else if("number"===r.type){let t=Object.assign({},we,r);a=String([String(t.nDec),t.sepComma?"0":"1",'"'+t.negStyle+'"',"null",'"'+t.currency+'"',String(t.currencyPrepend)].join(","))}else if("percent"===r.type){let t=Object.assign({},ve,r);a=String([String(t.nDec),t.sepComma?"0":"1"].join(","))}}t.AA=t.AA?t.AA:{},t.AA.K={S:"JavaScript",JS:new String(`${n}(${a});`)},t.AA.F={S:"JavaScript",JS:new String(`${i}(${a});`)}}return delete t.format,t},_resolveColors(t){let r=this._normalizeColor(t.backgroundColor);return r&&(t.MK||(t.MK={}),t.MK.BG=r),r=this._normalizeColor(t.borderColor),r&&(t.MK||(t.MK={}),t.MK.BC=r),delete t.backgroundColor,delete t.borderColor,t},_resolveFlags(t){let r=0;return Object.keys(t).forEach(n=>{ge[n]&&(t[n]&&(r|=ge[n]),delete t[n])}),0!==r&&(t.Ff=t.Ff?t.Ff:0,t.Ff|=r),t},_resolveJustify(t){let r=0;return void 0!==t.align&&("number"==typeof be[t.align]&&(r=be[t.align]),delete t.align),0!==r&&(t.Q=r),t},_resolveFont(t){if(null==this._acroform.fonts[this._font.id]&&(this._acroform.fonts[this._font.id]=this._font.ref()),this._acroform.defaultFont!==this._font.name){t.DR={Font:{}};const r=t.fontSize||0;t.DR.Font[this._font.id]=this._font.ref(),t.DA=new String(`/${this._font.id} ${r} Tf 0 g`)}return t},_resolveStrings(t){let r=[];function appendChoices(t){if(Array.isArray(t))for(let n=0;n{void 0!==t[r]&&(t[me[r]]=t[r],delete t[r])}),["V","DV"].forEach(r=>{"string"==typeof t[r]&&(t[r]=new String(t[r]))}),t.MK&&t.MK.CA&&(t.MK.CA=new String(t.MK.CA)),t.label&&(t.MK=t.MK?t.MK:{},t.MK.CA=new String(t.label),delete t.label),t}},_e={file(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.name=r.name||t,r.relationship=r.relationship||"Unspecified";const n={Type:"EmbeddedFile",Params:{}};let a;if(!t)throw new Error("No src specified");if(i.isBuffer(t))a=t;else if(t instanceof ArrayBuffer)a=i.from(new Uint8Array(t));else{const r=/^data:(.*?);base64,(.*)$/.exec(t);if(r)r[1]&&(n.Subtype=r[1].replace("/","#2F")),a=i.from(r[2],"base64");else{if(a=m.readFileSync(t),!a)throw new Error(`Could not read contents of file at filepath ${t}`);const{birthtime:r,ctime:i}=m.statSync(t);n.Params.CreationDate=r,n.Params.ModDate=i}}r.creationDate instanceof Date&&(n.Params.CreationDate=r.creationDate),r.modifiedDate instanceof Date&&(n.Params.ModDate=r.modifiedDate),r.type&&(n.Subtype=r.type.replace("/","#2F"));const o=s.default.MD5(s.default.lib.WordArray.create(new Uint8Array(a)));let l;n.Params.CheckSum=new String(o),n.Params.Size=a.byteLength,this._fileRegistry||(this._fileRegistry={});let u=this._fileRegistry[r.name];u&&function isEqual(t,r){return t.Subtype===r.Subtype&&t.Params.CheckSum.toString()===r.Params.CheckSum.toString()&&t.Params.Size===r.Params.Size&&t.Params.CreationDate.getTime()===r.Params.CreationDate.getTime()&&(void 0===t.Params.ModDate&&void 0===r.Params.ModDate||t.Params.ModDate.getTime()===r.Params.ModDate.getTime())}(n,u)?l=u.ref:(l=this.ref(n),l.end(a),this._fileRegistry[r.name]={...n,ref:l});const h={Type:"Filespec",AFRelationship:r.relationship,F:new String(r.name),EF:{F:l},UF:new String(r.name)};r.description&&(h.Desc=new String(r.description));const p=this.ref(h);return p.end(),r.hidden||this.addNamedEmbeddedFile(r.name,p),this._root.data.AF?this._root.data.AF.push(p):this._root.data.AF=[p],p}};var Se={initPDFA(t){"-"===t.charAt(t.length-3)?(this.subset_conformance=t.charAt(t.length-1).toUpperCase(),this.subset=parseInt(t.charAt(t.length-2))):(this.subset_conformance="B",this.subset=parseInt(t.charAt(t.length-1)))},endSubset(){this._addPdfaMetadata(),this._addColorOutputIntent()},_addColorOutputIntent(){const t=i("AAAL0AAAAAACAAAAbW50clJHQiBYWVogB98AAgAPAAAAAAAAYWNzcAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAPbWAAEAAAAA0y0AAAAAPQ6y3q6Tl76bZybOjApDzgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQZGVzYwAAAUQAAABjYlhZWgAAAagAAAAUYlRSQwAAAbwAAAgMZ1RSQwAAAbwAAAgMclRSQwAAAbwAAAgMZG1kZAAACcgAAACIZ1hZWgAAClAAAAAUbHVtaQAACmQAAAAUbWVhcwAACngAAAAkYmtwdAAACpwAAAAUclhZWgAACrAAAAAUdGVjaAAACsQAAAAMdnVlZAAACtAAAACHd3RwdAAAC1gAAAAUY3BydAAAC2wAAAA3Y2hhZAAAC6QAAAAsZGVzYwAAAAAAAAAJc1JHQjIwMTQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAAAkoAAAD4QAALbPY3VydgAAAAAAAAQAAAAABQAKAA8AFAAZAB4AIwAoAC0AMgA3ADsAQABFAEoATwBUAFkAXgBjAGgAbQByAHcAfACBAIYAiwCQAJUAmgCfAKQAqQCuALIAtwC8AMEAxgDLANAA1QDbAOAA5QDrAPAA9gD7AQEBBwENARMBGQEfASUBKwEyATgBPgFFAUwBUgFZAWABZwFuAXUBfAGDAYsBkgGaAaEBqQGxAbkBwQHJAdEB2QHhAekB8gH6AgMCDAIUAh0CJgIvAjgCQQJLAlQCXQJnAnECegKEAo4CmAKiAqwCtgLBAssC1QLgAusC9QMAAwsDFgMhAy0DOANDA08DWgNmA3IDfgOKA5YDogOuA7oDxwPTA+AD7AP5BAYEEwQgBC0EOwRIBFUEYwRxBH4EjASaBKgEtgTEBNME4QTwBP4FDQUcBSsFOgVJBVgFZwV3BYYFlgWmBbUFxQXVBeUF9gYGBhYGJwY3BkgGWQZqBnsGjAadBq8GwAbRBuMG9QcHBxkHKwc9B08HYQd0B4YHmQesB78H0gflB/gICwgfCDIIRghaCG4IggiWCKoIvgjSCOcI+wkQCSUJOglPCWQJeQmPCaQJugnPCeUJ+woRCicKPQpUCmoKgQqYCq4KxQrcCvMLCwsiCzkLUQtpC4ALmAuwC8gL4Qv5DBIMKgxDDFwMdQyODKcMwAzZDPMNDQ0mDUANWg10DY4NqQ3DDd4N+A4TDi4OSQ5kDn8Omw62DtIO7g8JDyUPQQ9eD3oPlg+zD88P7BAJECYQQxBhEH4QmxC5ENcQ9RETETERTxFtEYwRqhHJEegSBxImEkUSZBKEEqMSwxLjEwMTIxNDE2MTgxOkE8UT5RQGFCcUSRRqFIsUrRTOFPAVEhU0FVYVeBWbFb0V4BYDFiYWSRZsFo8WshbWFvoXHRdBF2UXiReuF9IX9xgbGEAYZRiKGK8Y1Rj6GSAZRRlrGZEZtxndGgQaKhpRGncanhrFGuwbFBs7G2MbihuyG9ocAhwqHFIcexyjHMwc9R0eHUcdcB2ZHcMd7B4WHkAeah6UHr4e6R8THz4faR+UH78f6iAVIEEgbCCYIMQg8CEcIUghdSGhIc4h+yInIlUigiKvIt0jCiM4I2YjlCPCI/AkHyRNJHwkqyTaJQklOCVoJZclxyX3JicmVyaHJrcm6CcYJ0kneierJ9woDSg/KHEooijUKQYpOClrKZ0p0CoCKjUqaCqbKs8rAis2K2krnSvRLAUsOSxuLKIs1y0MLUEtdi2rLeEuFi5MLoIuty7uLyQvWi+RL8cv/jA1MGwwpDDbMRIxSjGCMbox8jIqMmMymzLUMw0zRjN/M7gz8TQrNGU0njTYNRM1TTWHNcI1/TY3NnI2rjbpNyQ3YDecN9c4FDhQOIw4yDkFOUI5fzm8Ofk6Njp0OrI67zstO2s7qjvoPCc8ZTykPOM9Ij1hPaE94D4gPmA+oD7gPyE/YT+iP+JAI0BkQKZA50EpQWpBrEHuQjBCckK1QvdDOkN9Q8BEA0RHRIpEzkUSRVVFmkXeRiJGZ0arRvBHNUd7R8BIBUhLSJFI10kdSWNJqUnwSjdKfUrESwxLU0uaS+JMKkxyTLpNAk1KTZNN3E4lTm5Ot08AT0lPk0/dUCdQcVC7UQZRUFGbUeZSMVJ8UsdTE1NfU6pT9lRCVI9U21UoVXVVwlYPVlxWqVb3V0RXklfgWC9YfVjLWRpZaVm4WgdaVlqmWvVbRVuVW+VcNVyGXNZdJ114XcleGl5sXr1fD19hX7NgBWBXYKpg/GFPYaJh9WJJYpxi8GNDY5dj62RAZJRk6WU9ZZJl52Y9ZpJm6Gc9Z5Nn6Wg/aJZo7GlDaZpp8WpIap9q92tPa6dr/2xXbK9tCG1gbbluEm5rbsRvHm94b9FwK3CGcOBxOnGVcfByS3KmcwFzXXO4dBR0cHTMdSh1hXXhdj52m3b4d1Z3s3gReG54zHkqeYl553pGeqV7BHtje8J8IXyBfOF9QX2hfgF+Yn7CfyN/hH/lgEeAqIEKgWuBzYIwgpKC9INXg7qEHYSAhOOFR4Wrhg6GcobXhzuHn4gEiGmIzokziZmJ/opkisqLMIuWi/yMY4zKjTGNmI3/jmaOzo82j56QBpBukNaRP5GokhGSepLjk02TtpQglIqU9JVflcmWNJaflwqXdZfgmEyYuJkkmZCZ/JpomtWbQpuvnByciZz3nWSd0p5Anq6fHZ+Ln/qgaaDYoUehtqImopajBqN2o+akVqTHpTilqaYapoum/adup+CoUqjEqTepqaocqo+rAqt1q+msXKzQrUStuK4trqGvFq+LsACwdbDqsWCx1rJLssKzOLOutCW0nLUTtYq2AbZ5tvC3aLfguFm40blKucK6O7q1uy67p7whvJu9Fb2Pvgq+hL7/v3q/9cBwwOzBZ8Hjwl/C28NYw9TEUcTOxUvFyMZGxsPHQce/yD3IvMk6ybnKOMq3yzbLtsw1zLXNNc21zjbOts83z7jQOdC60TzRvtI/0sHTRNPG1EnUy9VO1dHWVdbY11zX4Nhk2OjZbNnx2nba+9uA3AXcit0Q3ZbeHN6i3ynfr+A24L3hROHM4lPi2+Nj4+vkc+T85YTmDeaW5x/nqegy6LzpRunQ6lvq5etw6/vshu0R7ZzuKO6070DvzPBY8OXxcvH/8ozzGfOn9DT0wvVQ9d72bfb794r4Gfio+Tj5x/pX+uf7d/wH/Jj9Kf26/kv+3P9t//9kZXNjAAAAAAAAAC5JRUMgNjE5NjYtMi0xIERlZmF1bHQgUkdCIENvbG91ciBTcGFjZSAtIHNSR0IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAAAAAUAAAAAAAAG1lYXMAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlhZWiAAAAAAAAAAngAAAKQAAACHWFlaIAAAAAAAAG+iAAA49QAAA5BzaWcgAAAAAENSVCBkZXNjAAAAAAAAAC1SZWZlcmVuY2UgVmlld2luZyBDb25kaXRpb24gaW4gSUVDIDYxOTY2LTItMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWFlaIAAAAAAAAPbWAAEAAAAA0y10ZXh0AAAAAENvcHlyaWdodCBJbnRlcm5hdGlvbmFsIENvbG9yIENvbnNvcnRpdW0sIDIwMTUAAHNmMzIAAAAAAAEMRAAABd////MmAAAHlAAA/Y////uh///9ogAAA9sAAMB1","base64"),r=this.ref({Length:t.length,N:3});r.write(t),r.end();const n=this.ref({Type:"OutputIntent",S:"GTS_PDFA1",Info:new String("sRGB IEC61966-2.1"),OutputConditionIdentifier:new String("sRGB IEC61966-2.1"),DestOutputProfile:r});n.end(),this._root.data.OutputIntents=[n]},_getPdfaid(){return`\n \n ${this.subset}\n ${this.subset_conformance}\n \n `},_addPdfaMetadata(){this.appendXML(this._getPdfaid())}},Ae={initPDFUA(){this.subset=1},endSubset(){this._addPdfuaMetadata()},_addPdfuaMetadata(){this.appendXML(this._getPdfuaid())},_getPdfuaid(){return`\n \n ${this.subset}\n \n `}},Ce={_importSubset(t){Object.assign(this,t)},initSubset(t){switch(t.subset){case"PDF/A-1":case"PDF/A-1a":case"PDF/A-1b":case"PDF/A-2":case"PDF/A-2a":case"PDF/A-2b":case"PDF/A-3":case"PDF/A-3a":case"PDF/A-3b":this._importSubset(Se),this.initPDFA(t.subset);break;case"PDF/UA":this._importSubset(Ae),this.initPDFUA()}}};const Pe=["height","minHeight","maxHeight"],ke=["width","minWidth","maxWidth"];function memoize(t,r){const n=new Map;return function(){const i=arguments.length<=0?void 0:arguments[0];return n.has(i)||(n.set(i,t(...arguments)),n.size>r&&n.delete(n.keys().next())),n.get(i)}}function isObject(t){return t&&"object"==typeof t&&!Array.isArray(t)}function deepMerge(t){if(!isObject(t))return t;t=deepClone(t);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i{let[r]=t;return Pe.includes(r)})),i=Object.fromEntries(Object.entries(r).filter(t=>{let[r]=t;return ke.includes(r)}));return r.padding=normalizeSides(r.padding),r.border=normalizeSides(r.border),r.borderColor=normalizeSides(r.borderColor),r.align=normalizeAlignment(r.align),{defaultStyle:r,defaultRowStyle:n,defaultColStyle:i}}(r.defaultStyle);let s,l;this._defaultStyle=i,r.columnStyles&&(Array.isArray(r.columnStyles)?s=t=>r.columnStyles[t]:"function"==typeof r.columnStyles?s=memoize(t=>r.columnStyles(t),1/0):"object"==typeof r.columnStyles&&(s=()=>r.columnStyles)),s||(s=()=>({})),this._colStyle=normalizedColumnStyle.bind(this,a,s),r.rowStyles&&(Array.isArray(r.rowStyles)?l=t=>r.rowStyles[t]:"function"==typeof r.rowStyles?l=memoize(t=>r.rowStyles(t),10):"object"==typeof r.rowStyles&&(l=()=>r.rowStyles)),l||(l=()=>({})),this._rowStyle=normalizedRowStyle.bind(this,o,l)}function normalizeCell(t,r,n){const i=this._colStyle(n);let a=this._rowStyle(r);const o=deepMerge({},i.font,a.font,t.font),s=Object.values(o).filter(t=>null!=t).length>0,l=this.document,u=l._fontSource,h=l._fontSize,p=l._fontFamily;s&&(o.src&&l.font(o.src,o.family),o.size&&l.fontSize(o.size),a=this._rowStyle(r)),t.padding=normalizeSides(t.padding),t.border=normalizeSides(t.border),t.borderColor=normalizeSides(t.borderColor);const g=deepMerge(this._defaultStyle,i,a,t);return g.rowIndex=r,g.colIndex=n,g.font=o??{},g.customFont=s,g.text=function normalizeText(t){return null!=t&&(t=`${t}`),t}(g.text),g.rowSpan=g.rowSpan??1,g.colSpan=g.colSpan??1,g.padding=normalizeSides(g.padding,"0.25em",t=>l.sizeToPoint(t,"0.25em")),g.border=normalizeSides(g.border,1,t=>l.sizeToPoint(t,1)),g.borderColor=normalizeSides(g.borderColor,"black",t=>t??"black"),g.align=normalizeAlignment(g.align),g.align.x=g.align.x??"left",g.align.y=g.align.y??"top",g.textStroke=l.sizeToPoint(g.textStroke,0),g.textStrokeColor=g.textStrokeColor??"black",g.textColor=g.textColor??"black",g.textOptions=g.textOptions??{},g.id=new String(g.id??`${this._id}-${r}-${n}`),g.type="TH"===g.type?.toUpperCase()?"TH":"TD",g.scope&&(g.scope=g.scope.toLowerCase(),"row"===g.scope?g.scope="Row":"both"===g.scope?g.scope="Both":"column"===g.scope&&(g.scope="Column")),"boolean"==typeof this.opts.debug&&(g.debug=this.opts.debug),s&&l.font(u,p,h),g}function normalizeRow(t,r){this._cellClaim||(this._cellClaim=new Set);let n=0;return t.map(t=>{for(null!=t&&"object"==typeof t||(t={text:t});this._cellClaim.has(`${r},${n}`);)n++;t=normalizeCell.call(this,t,r,n);for(let i=0;it+r.colSpan,0)),this._rowHeights=[],this._rowYPos=[this._position.y],this._rowBuffer=new Set}function ensureColumnWidths(t){let r=[],n=0,i=this._maxWidth;for(let a=0;at+1,0);n>=i?r.forEach((t,r)=>{this._columnWidths[r]=t.minWidth}):a>0&&r.forEach((t,r)=>{let n=i/a;this._columnWidths[r]=Math.max(n,t.minWidth),t.maxWidth>0&&(this._columnWidths[r]=Math.min(this._columnWidths[r],t.maxWidth)),i-=this._columnWidths[r],a--});let o=this._position.x;this._columnXPos=Array.from(this._columnWidths,t=>{const r=o;return o+=t,r})}function measure(t,r){t.forEach(t=>this._rowBuffer.add(t)),r>0&&(this._rowYPos[r]=this._rowYPos[r-1]+this._rowHeights[r-1]);const n=this._rowStyle(r);let i=[];this._rowBuffer.forEach(t=>{t.rowIndex+t.rowSpan-1===r&&(i.push(measureCell.call(this,t,n.height)),this._rowBuffer.delete(t))});let a=n.height;"auto"===a&&(a=i.reduce((t,r)=>{let n=r.textBounds.height+r.padding.top+r.padding.bottom;for(let t=0;t0&&(a=Math.min(a,n.maxHeight)),this._rowHeights[r]=a;let o=!1;return a>this.document.page.contentHeight?this._rowHeights[r]=this.document.page.maxY()-this._rowYPos[r]:this._rowYPos[r]+a>=this.document.page.maxY()&&(this._rowYPos[r]=this.document.page.margins.top,o=!0),{newPage:o,toRender:i.map(t=>measureCell.call(this,t,a))}}function measureCell(t,r){let n=0;for(let r=0;r180&&t<270?(i=r/(2*o),a=r/(2*s)):(a=r/(2*o),i=r/(2*s));const l=s*i,u=o*a;if(l+u>n){const l=o*o-s*s;0===t||180===t?(i=r,a=n):90===t||270===t?(i=n,a=r):t<90||t>180&&t<270?(i=(r*o-n*s)/l,a=(n*o-r*s)/l):(a=(r*o-n*s)/l,i=(n*o-r*s)/l)}return{width:Math.abs(i),height:Math.abs(a)}}(s,a,o),h={align:t.align.x,ellipsis:!0,stroke:t.textStroke>0,fill:!0,width:l,height:u,rotation:s,...t.textOptions};let p={x:0,y:0,width:0,height:0};if(t.text){const r=this.document._fontSource,n=this.document._fontSize,i=this.document._fontFamily;t.font?.src&&this.document.font(t.font.src,t.font?.family),t.font?.size&&this.document.fontSize(t.font.size);const a=this.document.boundsOfString(t.text,0,0,{...h,rotation:0});h.width=a.width,h.height=a.height,p=this.document.boundsOfString(t.text,0,0,h),this.document.font(r,i,n)}return{...t,textOptions:h,x:this._columnXPos[t.colIndex],y:this._rowYPos[t.rowIndex],textX:this._columnXPos[t.colIndex]+t.padding.left,textY:this._rowYPos[t.rowIndex]+t.padding.top,width:n,height:i,textAllocatedHeight:o,textAllocatedWidth:a,textBounds:p}}function accommodateTable(){const t=this.opts.structParent;t&&(this._tableStruct=this.document.struct("Table"),this._tableStruct.dictionary.data.ID=this._id,t instanceof PDFStructureElement?t.add(this._tableStruct):t instanceof PDFDocument&&t.addStructure(this._tableStruct),this._headerRowLookup={},this._headerColumnLookup={})}function accommodateCleanup(){this._tableStruct&&this._tableStruct.end()}function accessibleRow(t,r,n){const i=this.document.struct("TR");i.dictionary.data.ID=new String(`${this._id}-${r}`),this._tableStruct.add(i),t.forEach(t=>n(t,i)),i.end()}function accessibleCell(t,r,n){const i=this.document,a=i.struct(t.type,{title:t.title});a.dictionary.data.ID=t.id,r.add(a);const o=t.padding,s=t.border,l={O:"Table",Width:t.width,Height:t.height,Padding:[o.top,o.bottom,o.left,o.right],RowSpan:t.rowSpan>1?t.rowSpan:void 0,ColSpan:t.colSpan>1?t.colSpan:void 0,BorderThickness:[s.top,s.bottom,s.left,s.right]};if("TH"===t.type){if("Row"===t.scope||"Both"===t.scope){for(let r=0;rthis._headerColumnLookup[t.colIndex+n]).flat(),...Array.from({length:t.rowSpan},(r,n)=>this._headerRowLookup[t.rowIndex+n]).flat()].filter(Boolean));u.size&&(l.Headers=Array.from(u));const h=i._normalizeColor;null!=t.backgroundColor&&(l.BackgroundColor=h(t.backgroundColor));const p=[s.top,s.bottom,s.left,s.right];if(p.some(t=>t)){const r=t.borderColor;l.BorderColor=[p[0]?h(r.top):null,p[1]?h(r.bottom):null,p[2]?h(r.left):null,p[3]?h(r.right):null]}Object.keys(l).forEach(t=>void 0===l[t]&&delete l[t]),a.dictionary.data.A=i.ref(l),a.add(n),a.end(),a.dictionary.data.A.end()}function renderRow(t,r){return this._tableStruct?accessibleRow.call(this,t,r,renderCell.bind(this)):t.forEach(t=>renderCell.call(this,t)),this._rowYPos[r]+this._rowHeights[r]}function renderCell(t,r){const cellRenderer=()=>{null!=t.backgroundColor&&this.document.save().rect(t.x,t.y,t.width,t.height).fill(t.backgroundColor).restore(),renderBorder.call(this,t.border,t.borderColor,t.x,t.y,t.width,t.height),t.debug&&(this.document.save(),this.document.dash(1,{space:1}).lineWidth(1).strokeOpacity(.3),this.document.rect(t.x,t.y,t.width,t.height).stroke("green"),this.document.restore()),t.text&&renderCellText.call(this,t)};r?accessibleCell.call(this,t,r,cellRenderer):cellRenderer()}function renderCellText(t){const r=this.document,n=r._fontSource,i=r._fontSize,a=r._fontFamily;t.customFont&&(t.font.src&&r.font(t.font.src,t.font.family),t.font.size&&r.fontSize(t.font.size));const o=t.textX,s=t.textY,l=t.textAllocatedHeight,u=t.textAllocatedWidth,h=t.textBounds.width,p=t.textBounds.height,g=-t.textBounds.x,m=-t.textBounds.y,y=(u-h)*("right"===t.align.x?1:"center"===t.align.x?.5:0),w=(l-p)*("bottom"===t.align.y?1:"center"===t.align.y?.5:0),v=y+g,x=w+m;t.debug&&(r.save(),r.dash(1,{space:1}).lineWidth(1).strokeOpacity(.3),t.text&&r.moveTo(o+y,s).lineTo(o+y,s+l).moveTo(o+y+h,s).lineTo(o+y+h,s+l).stroke("blue").moveTo(o,s+w).lineTo(o+u,s+w).moveTo(o,s+w+p).lineTo(o+u,s+w+p).stroke("green"),r.rect(o,s,u,l).stroke("orange"),r.restore()),r.save().rect(o,s,u,l).clip(),r.fillColor(t.textColor).strokeColor(t.textStrokeColor),t.textStroke>0&&r.lineWidth(t.textStroke),r.text(t.text,o+v,s+x,t.textOptions),r.restore(),t.font&&r.font(n,a,i)}function renderBorder(t,r,n,i,a,o,s){t=Object.fromEntries(Object.entries(t).map(t=>{let[r,n]=t;return[r,s&&!s[r]?0:n]}));const l=this.document;[t.right,t.bottom,t.left].every(r=>r===t.top)?t.top>0&&l.save().lineWidth(t.top).rect(n,i,a,o).stroke(r.top).restore():(t.top>0&&l.save().lineWidth(t.top).moveTo(n,i).lineTo(n+a,i).stroke(r.top).restore(),t.right>0&&l.save().lineWidth(t.right).moveTo(n+a,i).lineTo(n+a,i+o).stroke(r.right).restore(),t.bottom>0&&l.save().lineWidth(t.bottom).moveTo(n+a,i+o).lineTo(n,i+o).stroke(r.bottom).restore(),t.left>0&&l.save().lineWidth(t.left).moveTo(n,i+o).lineTo(n,i).stroke(r.left).restore())}class PDFTable{constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.document=t,this.opts=Object.freeze(r),normalizeTable.call(this),accommodateTable.call(this),this._currRowIndex=0,this._ended=!1,r.data){for(const t of r.data)this.row(t);return this.end()}}row(t){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this._ended)throw new Error(`Table was marked as ended on row ${this._currRowIndex}`);t=Array.from(t),t=normalizeRow.call(this,t,this._currRowIndex),0===this._currRowIndex&&ensure.call(this,t);const{newPage:n,toRender:i}=measure.call(this,t,this._currRowIndex);n&&this.document.continueOnNewPage();const a=renderRow.call(this,i,this._currRowIndex);return this.document.x=this._position.x,this.document.y=a,r?this.end():(this._currRowIndex++,this)}end(){for(;this._rowBuffer?.size;)this.row([]);return this._ended=!0,accommodateCleanup.call(this),this.document}}var Ee={initTables(){this._tableIndex=0},table(t){return new PDFTable(this,t)}};class PDFMetadata{constructor(){this._metadata='\n \n \n \n '}_closeTags(){this._metadata=this._metadata.concat('\n \n \n \n ')}append(t){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._metadata=this._metadata.concat(t),r&&(this._metadata=this._metadata.concat("\n"))}getXML(){return this._metadata}getLength(){return this._metadata.length}end(){this._closeTags(),this._metadata=this._metadata.trim()}}var Te={initMetadata(){this.metadata=new PDFMetadata},appendXML(t){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.metadata.append(t,r)},_addInfo(){this.appendXML(`\n \n ${this.info.CreationDate.toISOString().split(".")[0]+"Z"}\n ${this.info.Creator}\n \n `),(this.info.Title||this.info.Author||this.info.Subject)&&(this.appendXML('\n \n '),this.info.Title&&this.appendXML(`\n \n \n ${this.info.Title}\n \n \n `),this.info.Author&&this.appendXML(`\n \n \n ${this.info.Author}\n \n \n `),this.info.Subject&&this.appendXML(`\n \n \n ${this.info.Subject}\n \n \n `),this.appendXML("\n \n ")),this.appendXML(`\n \n ${this.info.Creator}`,!1),this.info.Keywords&&this.appendXML(`\n ${this.info.Keywords}`,!1),this.appendXML("\n \n ")},endMetadata(){this._addInfo(),this.metadata.end(),1.3!=this.version&&(this.metadataRef=this.ref({length:this.metadata.getLength(),Type:"Metadata",Subtype:"XML"}),this.metadataRef.compress=!1,this.metadataRef.write(i.from(this.metadata.getXML(),"utf-8")),this.metadataRef.end(),this._root.data.Metadata=this.metadataRef)}};class PDFDocument extends a.default.Readable{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch(super(t),this.options=t,t.pdfVersion){case"1.4":this.version=1.4;break;case"1.5":this.version=1.5;break;case"1.6":this.version=1.6;break;case"1.7":case"1.7ext3":this.version=1.7;break;default:this.version=1.3}this.compress=null==this.options.compress||this.options.compress,this._pageBuffer=[],this._pageBufferStart=0,this._offsets=[],this._waiting=0,this._ended=!1,this._offset=0;const r=this.ref({Type:"Pages",Count:0,Kids:[]}),n=this.ref({Dests:new PDFNameTree});if(this._root=this.ref({Type:"Catalog",Pages:r,Names:n}),this.options.lang&&(this._root.data.Lang=new String(this.options.lang)),this.page=null,this.initMetadata(),this.initColor(),this.initVector(),this.initFonts(t.font),this.initText(),this.initImages(),this.initOutline(),this.initMarkings(t),this.initTables(),this.initSubset(t),this.info={Producer:"PDFKit",Creator:"PDFKit",CreationDate:new Date},this.options.info)for(let t in this.options.info){const r=this.options.info[t];this.info[t]=r}this.options.displayTitle&&(this._root.data.ViewerPreferences=this.ref({DisplayDocTitle:!0})),this._id=PDFSecurity.generateFileID(this.info),this._security=PDFSecurity.create(this,t),this._write(`%PDF-${this.version}`),this._write("%ÿÿÿÿ"),!1!==this.options.autoFirstPage&&this.addPage()}addPage(t){null==t&&({options:t}=this),this.options.bufferPages||this.flushPages(),this.page=new PDFPage(this,t),this._pageBuffer.push(this.page);const r=this._root.data.Pages.data;return r.Kids.push(this.page.dictionary),r.Count++,this.x=this.page.margins.left,this.y=this.page.margins.top,this._ctm=[1,0,0,1,0,0],this.transform(1,0,0,-1,0,this.page.height),this.emit("pageAdded"),this}continueOnNewPage(t){const r=this.endPageMarkings(this.page);return this.addPage(t??this.page._options),this.initPageMarkings(r),this}bufferedPageRange(){return{start:this._pageBufferStart,count:this._pageBuffer.length}}switchToPage(t){let r;if(!(r=this._pageBuffer[t-this._pageBufferStart]))throw new Error(`switchToPage(${t}) out of bounds, current buffer covers pages ${this._pageBufferStart} to ${this._pageBufferStart+this._pageBuffer.length-1}`);return this.page=r}flushPages(){const t=this._pageBuffer;this._pageBuffer=[],this._pageBufferStart+=t.length;for(let r of t)this.endPageMarkings(r),r.end()}addNamedDestination(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i{Object.assign(PDFDocument.prototype,t)};mixin(Te),mixin(V),mixin(re),mixin(oe),mixin(le),mixin(he),mixin(fe),mixin(de),mixin(pe),mixin(xe),mixin(_e),mixin(Ce),mixin(Ee),PDFDocument.LineWrapper=LineWrapper},3249(t){"use strict";var numberIsNaN=function(t){return t!=t};t.exports=function is(t,r){return 0===t&&0===r?1/t==1/r:t===r||!(!numberIsNaN(t)||!numberIsNaN(r))}},3257(t,r,n){"use strict";var i="undefined"!=typeof Symbol&&Symbol,a=n(2843);t.exports=function hasNativeSymbols(){return"function"==typeof i&&("function"==typeof Symbol&&("symbol"==typeof i("foo")&&("symbol"==typeof Symbol("bar")&&a())))}},3282(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(2858),i.pad.Iso97971={pad:function(t,r){t.concat(i.lib.WordArray.create([2147483648],1)),i.pad.ZeroPadding.pad(t,r)},unpad:function(t){i.pad.ZeroPadding.unpad(t),t.sigBytes--}},i.pad.Iso97971)},3297(t,r,n){"use strict";var i=n(5034),a=Object;t.exports=function(t){return a(i(t))}},3301(t,r,n){"use strict";var i=n(8993),a=n(3598),o=n(5985),s=n(9738),l=n(290),u=n(8663),h=TypeError,p=u("toPrimitive");t.exports=function(t,r){if(!a(t)||o(t))return t;var n,u=s(t,p);if(u){if(void 0===r&&(r="default"),n=i(u,t,r),!a(n)||o(n))return n;throw new h("Can't convert object to primitive value")}return void 0===r&&(r="number"),l(t,r)}},3324(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(4866),n(3532),n(6818),n(2858),function(){var t=i,r=t.lib,n=r.WordArray,a=r.BlockCipher,o=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],p=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],g=o.DES=a.extend({_doReset:function(){for(var t=this._key.words,r=[],n=0;n<56;n++){var i=s[n]-1;r[n]=t[i>>>5]>>>31-i%32&1}for(var a=this._subKeys=[],o=0;o<16;o++){var h=a[o]=[],p=u[o];for(n=0;n<24;n++)h[n/6|0]|=r[(l[n]-1+p)%28]<<31-n%6,h[4+(n/6|0)]|=r[28+(l[n+24]-1+p)%28]<<31-n%6;for(h[0]=h[0]<<1|h[0]>>>31,n=1;n<7;n++)h[n]=h[n]>>>4*(n-1)+3;h[7]=h[7]<<5|h[7]>>>27}var g=this._invSubKeys=[];for(n=0;n<16;n++)g[n]=a[15-n]},encryptBlock:function(t,r){this._doCryptBlock(t,r,this._subKeys)},decryptBlock:function(t,r){this._doCryptBlock(t,r,this._invSubKeys)},_doCryptBlock:function(t,r,n){this._lBlock=t[r],this._rBlock=t[r+1],exchangeLR.call(this,4,252645135),exchangeLR.call(this,16,65535),exchangeRL.call(this,2,858993459),exchangeRL.call(this,8,16711935),exchangeLR.call(this,1,1431655765);for(var i=0;i<16;i++){for(var a=n[i],o=this._lBlock,s=this._rBlock,l=0,u=0;u<8;u++)l|=h[u][((s^a[u])&p[u])>>>0];this._lBlock=s,this._rBlock=o^l}var g=this._lBlock;this._lBlock=this._rBlock,this._rBlock=g,exchangeLR.call(this,1,1431655765),exchangeRL.call(this,8,16711935),exchangeRL.call(this,2,858993459),exchangeLR.call(this,16,65535),exchangeLR.call(this,4,252645135),t[r]=this._lBlock,t[r+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function exchangeLR(t,r){var n=(this._lBlock>>>t^this._rBlock)&r;this._rBlock^=n,this._lBlock^=n<>>t^this._lBlock)&r;this._lBlock^=n,this._rBlock^=n<192.");var r=t.slice(0,2),i=t.length<4?t.slice(0,2):t.slice(2,4),a=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=g.createEncryptor(n.create(r)),this._des2=g.createEncryptor(n.create(i)),this._des3=g.createEncryptor(n.create(a))},encryptBlock:function(t,r){this._des1.encryptBlock(t,r),this._des2.decryptBlock(t,r),this._des3.encryptBlock(t,r)},decryptBlock:function(t,r){this._des3.decryptBlock(t,r),this._des2.encryptBlock(t,r),this._des1.decryptBlock(t,r)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=a._createHelper(m)}(),i.TripleDES)},3381(t,r,n){"use strict";var i=n(8404),a=n(821),o=n(6601),s=n(2774),l=n(8109),u=n(7106),h=s("Object.prototype.toString"),p=n(6626)(),g="undefined"==typeof globalThis?n.g:globalThis,m=a(),y=s("String.prototype.slice"),w=s("Array.prototype.indexOf",!0)||function indexOf(t,r){for(var n=0;n-1?r:"Object"===r&&function tryAllSlices(t){var r=!1;return i(v,function(n,i){if(!r)try{n(t),r=y(i,1)}catch(t){}}),r}(t)}return l?function tryAllTypedArrays(t){var r=!1;return i(v,function(n,i){if(!r)try{"$"+n(t)===i&&(r=y(i,1))}catch(t){}}),r}(t):null}},3383(t,r,n){"use strict";var i=n(1212),a=n(299),o=n(8681),s=n(6341),l=n(5144),u=n(4378).CONFIGURABLE,h=n(4550),p=n(6921),g=p.enforce,m=p.get,y=String,w=Object.defineProperty,v=i("".slice),x=i("".replace),_=i([].join),S=l&&!a(function(){return 8!==w(function(){},"length",{value:8}).length}),A=String(String).split("String"),C=t.exports=function(t,r,n){"Symbol("===v(y(r),0,7)&&(r="["+x(y(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(r="get "+r),n&&n.setter&&(r="set "+r),(!s(t,"name")||u&&t.name!==r)&&(l?w(t,"name",{value:r,configurable:!0}):t.name=r),S&&n&&s(n,"arity")&&t.length!==n.arity&&w(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?l&&w(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var i=g(t);return s(i,"source")||(i.source=_(A,"string"==typeof r?r:"")),t};Function.prototype.toString=C(function toString(){return o(this)&&m(this).source||h(this)},"toString")},3483(t){function Tree(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function Data(t,r){this.source=t,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=r,this.destLen=0,this.ltree=new Tree,this.dtree=new Tree}var r=new Tree,n=new Tree,i=new Uint8Array(30),a=new Uint16Array(30),o=new Uint8Array(30),s=new Uint16Array(30),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),u=new Tree,h=new Uint8Array(320);function tinf_build_bits_base(t,r,n,i){var a,o;for(a=0;a>>=1,r}function tinf_read_bits(t,r,n){if(!r)return n;for(;t.bitcount<24;)t.tag|=t.source[t.sourceIndex++]<>>16-r;return t.tag>>>=r,t.bitcount-=r,i+n}function tinf_decode_symbol(t,r){for(;t.bitcount<24;)t.tag|=t.source[t.sourceIndex++]<>>=1,++a,n+=r.table[a],i-=r.table[a]}while(i>=0);return t.tag=o,t.bitcount-=a,r.trans[n+i]}function tinf_decode_trees(t,r,n){var i,a,o,s,p,g;for(i=tinf_read_bits(t,5,257),a=tinf_read_bits(t,5,1),o=tinf_read_bits(t,4,4),s=0;s<19;++s)h[s]=0;for(s=0;s8;)t.sourceIndex--,t.bitcount-=8;if((r=256*(r=t.source[t.sourceIndex+1])+t.source[t.sourceIndex])!==(65535&~(256*t.source[t.sourceIndex+3]+t.source[t.sourceIndex+2])))return-3;for(t.sourceIndex+=4,n=r;n;--n)t.dest[t.destLen++]=t.source[t.sourceIndex++];return t.bitcount=0,0}!function tinf_build_fixed_trees(t,r){var n;for(n=0;n<7;++n)t.table[n]=0;for(t.table[7]=24,t.table[8]=152,t.table[9]=112,n=0;n<24;++n)t.trans[n]=256+n;for(n=0;n<144;++n)t.trans[24+n]=n;for(n=0;n<8;++n)t.trans[168+n]=280+n;for(n=0;n<112;++n)t.trans[176+n]=144+n;for(n=0;n<5;++n)r.table[n]=0;for(r.table[5]=32,n=0;n<32;++n)r.trans[n]=n}(r,n),tinf_build_bits_base(i,a,4,3),tinf_build_bits_base(o,s,2,1),i[28]=0,a[28]=258,t.exports=function tinf_uncompress(t,i){var a,o,s=new Data(t,i);do{switch(a=tinf_getbit(s),tinf_read_bits(s,2,0)){case 0:o=tinf_inflate_uncompressed_block(s);break;case 1:o=tinf_inflate_block_data(s,r,n);break;case 2:tinf_decode_trees(s,s.ltree,s.dtree),o=tinf_inflate_block_data(s,s.ltree,s.dtree);break;default:o=-3}if(0!==o)throw new Error("Data error")}while(!a);return s.destLen>>24)|4278255360&(a<<24|a>>>8)}var o=this._hash.words,s=t[r+0],u=t[r+1],h=t[r+2],p=t[r+3],g=t[r+4],m=t[r+5],y=t[r+6],w=t[r+7],v=t[r+8],x=t[r+9],_=t[r+10],S=t[r+11],A=t[r+12],C=t[r+13],P=t[r+14],k=t[r+15],T=o[0],B=o[1],I=o[2],O=o[3];T=FF(T,B,I,O,s,7,l[0]),O=FF(O,T,B,I,u,12,l[1]),I=FF(I,O,T,B,h,17,l[2]),B=FF(B,I,O,T,p,22,l[3]),T=FF(T,B,I,O,g,7,l[4]),O=FF(O,T,B,I,m,12,l[5]),I=FF(I,O,T,B,y,17,l[6]),B=FF(B,I,O,T,w,22,l[7]),T=FF(T,B,I,O,v,7,l[8]),O=FF(O,T,B,I,x,12,l[9]),I=FF(I,O,T,B,_,17,l[10]),B=FF(B,I,O,T,S,22,l[11]),T=FF(T,B,I,O,A,7,l[12]),O=FF(O,T,B,I,C,12,l[13]),I=FF(I,O,T,B,P,17,l[14]),T=GG(T,B=FF(B,I,O,T,k,22,l[15]),I,O,u,5,l[16]),O=GG(O,T,B,I,y,9,l[17]),I=GG(I,O,T,B,S,14,l[18]),B=GG(B,I,O,T,s,20,l[19]),T=GG(T,B,I,O,m,5,l[20]),O=GG(O,T,B,I,_,9,l[21]),I=GG(I,O,T,B,k,14,l[22]),B=GG(B,I,O,T,g,20,l[23]),T=GG(T,B,I,O,x,5,l[24]),O=GG(O,T,B,I,P,9,l[25]),I=GG(I,O,T,B,p,14,l[26]),B=GG(B,I,O,T,v,20,l[27]),T=GG(T,B,I,O,C,5,l[28]),O=GG(O,T,B,I,h,9,l[29]),I=GG(I,O,T,B,w,14,l[30]),T=HH(T,B=GG(B,I,O,T,A,20,l[31]),I,O,m,4,l[32]),O=HH(O,T,B,I,v,11,l[33]),I=HH(I,O,T,B,S,16,l[34]),B=HH(B,I,O,T,P,23,l[35]),T=HH(T,B,I,O,u,4,l[36]),O=HH(O,T,B,I,g,11,l[37]),I=HH(I,O,T,B,w,16,l[38]),B=HH(B,I,O,T,_,23,l[39]),T=HH(T,B,I,O,C,4,l[40]),O=HH(O,T,B,I,s,11,l[41]),I=HH(I,O,T,B,p,16,l[42]),B=HH(B,I,O,T,y,23,l[43]),T=HH(T,B,I,O,x,4,l[44]),O=HH(O,T,B,I,A,11,l[45]),I=HH(I,O,T,B,k,16,l[46]),T=II(T,B=HH(B,I,O,T,h,23,l[47]),I,O,s,6,l[48]),O=II(O,T,B,I,w,10,l[49]),I=II(I,O,T,B,P,15,l[50]),B=II(B,I,O,T,m,21,l[51]),T=II(T,B,I,O,A,6,l[52]),O=II(O,T,B,I,p,10,l[53]),I=II(I,O,T,B,_,15,l[54]),B=II(B,I,O,T,u,21,l[55]),T=II(T,B,I,O,v,6,l[56]),O=II(O,T,B,I,k,10,l[57]),I=II(I,O,T,B,y,15,l[58]),B=II(B,I,O,T,C,21,l[59]),T=II(T,B,I,O,g,6,l[60]),O=II(O,T,B,I,S,10,l[61]),I=II(I,O,T,B,h,15,l[62]),B=II(B,I,O,T,x,21,l[63]),o[0]=o[0]+T|0,o[1]=o[1]+B|0,o[2]=o[2]+I|0,o[3]=o[3]+O|0},_doFinalize:function(){var r=this._data,n=r.words,i=8*this._nDataBytes,a=8*r.sigBytes;n[a>>>5]|=128<<24-a%32;var o=t.floor(i/4294967296),s=i;n[15+(a+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(a+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),r.sigBytes=4*(n.length+1),this._process();for(var l=this._hash,u=l.words,h=0;h<4;h++){var p=u[h];u[h]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}return l},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function FF(t,r,n,i,a,o,s){var l=t+(r&n|~r&i)+a+s;return(l<>>32-o)+r}function GG(t,r,n,i,a,o,s){var l=t+(r&i|n&~i)+a+s;return(l<>>32-o)+r}function HH(t,r,n,i,a,o,s){var l=t+(r^n^i)+a+s;return(l<>>32-o)+r}function II(t,r,n,i,a,o,s){var l=t+(n^(r|~i))+a+s;return(l<>>32-o)+r}r.MD5=o._createHelper(u),r.HmacMD5=o._createHmacHelper(u)}(Math),i.MD5)},3534(t,r,n){"use strict";var i=n(9636),a=n(5421);t.exports=function shimObjectIs(){var t=i();return a(Object,{is:t},{is:function testObjectIs(){return Object.is!==t}}),t}},3598(t,r,n){"use strict";var i=n(8681);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},3610(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(4866),n(3532),n(6818),n(2858),function(){var t=i,r=t.lib.StreamCipher,n=t.algo,a=[],o=[],s=[],l=n.Rabbit=r.extend({_doReset:function(){for(var t=this._key.words,r=this.cfg.iv,n=0;n<4;n++)t[n]=16711935&(t[n]<<8|t[n]>>>24)|4278255360&(t[n]<<24|t[n]>>>8);var i=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],a=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,n=0;n<4;n++)nextState.call(this);for(n=0;n<8;n++)a[n]^=i[n+4&7];if(r){var o=r.words,s=o[0],l=o[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),p=u>>>16|4294901760&h,g=h<<16|65535&u;for(a[0]^=u,a[1]^=p,a[2]^=h,a[3]^=g,a[4]^=u,a[5]^=p,a[6]^=h,a[7]^=g,n=0;n<4;n++)nextState.call(this)}},_doProcessBlock:function(t,r){var n=this._X;nextState.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)a[i]=16711935&(a[i]<<8|a[i]>>>24)|4278255360&(a[i]<<24|a[i]>>>8),t[r+i]^=a[i]},blockSize:4,ivSize:2});function nextState(){for(var t=this._X,r=this._C,n=0;n<8;n++)o[n]=r[n];for(r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0>>0?1:0)|0,this._b=r[7]>>>0>>0?1:0,n=0;n<8;n++){var i=t[n]+r[n],a=65535&i,l=i>>>16,u=((a*a>>>17)+a*l>>>15)+l*l,h=((4294901760&i)*i|0)+((65535&i)*i|0);s[n]=u^h}t[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,t[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,t[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,t[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,t[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,t[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,t[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,t[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=r._createHelper(l)}(),i.Rabbit)},3620(t,r,n){"use strict";var i,a,o,s,l,u;t.exports=(u=n(6861),n(321),a=(i=u).lib.WordArray,o=i.algo,s=o.SHA256,l=o.SHA224=s.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=s._doFinalize.call(this);return t.sigBytes-=4,t}}),i.SHA224=s._createHelper(l),i.HmacSHA224=s._createHmacHelper(l),u.SHA224)},3701(t,r,n){"use strict";var i,a,o;t.exports=(o=n(6861),n(2858),o.mode.OFB=(i=o.lib.BlockCipherMode.extend(),a=i.Encryptor=i.extend({processBlock:function(t,r){var n=this._cipher,i=n.blockSize,a=this._iv,o=this._keystream;a&&(o=this._keystream=a.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var s=0;s>>24)|4278255360&(a<<24|a>>>8)}var o,m,y,w,v,x,_,S,A,C,P,k=this._hash.words,T=p.words,B=g.words,I=s.words,O=l.words,R=u.words,D=h.words;for(x=o=k[0],_=m=k[1],S=y=k[2],A=w=k[3],C=v=k[4],n=0;n<80;n+=1)P=o+t[r+I[n]]|0,P+=n<16?f1(m,y,w)+T[0]:n<32?f2(m,y,w)+T[1]:n<48?f3(m,y,w)+T[2]:n<64?f4(m,y,w)+T[3]:f5(m,y,w)+T[4],P=(P=rotl(P|=0,R[n]))+v|0,o=v,v=w,w=rotl(y,10),y=m,m=P,P=x+t[r+O[n]]|0,P+=n<16?f5(_,S,A)+B[0]:n<32?f4(_,S,A)+B[1]:n<48?f3(_,S,A)+B[2]:n<64?f2(_,S,A)+B[3]:f1(_,S,A)+B[4],P=(P=rotl(P|=0,D[n]))+C|0,x=C,C=A,A=rotl(S,10),S=_,_=P;P=k[1]+y+A|0,k[1]=k[2]+w+C|0,k[2]=k[3]+v+x|0,k[3]=k[4]+o+_|0,k[4]=k[0]+m+S|0,k[0]=P},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),t.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,o=a.words,s=0;s<5;s++){var l=o[s];o[s]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var t=a.clone.call(this);return t._hash=this._hash.clone(),t}});function f1(t,r,n){return t^r^n}function f2(t,r,n){return t&r|~t&n}function f3(t,r,n){return(t|~r)^n}function f4(t,r,n){return t&n|r&~n}function f5(t,r,n){return t^(r|~n)}function rotl(t,r){return t<>>32-r}t.RIPEMD160=a._createHelper(m),t.HmacRIPEMD160=a._createHmacHelper(m)}(Math),i.RIPEMD160)},3765(t,r,n){"use strict";var i;var a=n(3797).F,o=a.ERR_MISSING_ARGS,s=a.ERR_STREAM_DESTROYED;function noop(t){if(t)throw t}function call(t){t()}function pipe(t,r){return t.pipe(r)}t.exports=function pipeline(){for(var t=arguments.length,r=new Array(t),a=0;a0,function(t){l||(l=t),t&&h.forEach(call),o||(h.forEach(call),u(l))})});return r.reduce(pipe)}},3766(t,r,n){"use strict";var i=n(5846);t.exports=i.getPrototypeOf||null},3774(t){"use strict";t.exports=Math.max},3779(){},3793(t,r,n){"use strict";var i=n(7695),a=n(7756),o=n(7309),s="__core-js_shared__",l=t.exports=a[s]||o(s,{});(l.versions||(l.versions=[])).push({version:"3.47.0",mode:i?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},3797(t){"use strict";var r={};function createErrorType(t,n,i){i||(i=Error);var a=function(t){function NodeError(r,i,a){return t.call(this,function getMessage(t,r,i){return"string"==typeof n?n:n(t,r,i)}(r,i,a))||this}return function _inheritsLoose(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}(NodeError,t),NodeError}(i);a.prototype.name=i.name,a.prototype.code=t,r[t]=a}function oneOf(t,r){if(Array.isArray(t)){var n=t.length;return t=t.map(function(t){return String(t)}),n>2?"one of ".concat(r," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(r," ").concat(t[0]," or ").concat(t[1]):"of ".concat(r," ").concat(t[0])}return"of ".concat(r," ").concat(String(t))}createErrorType("ERR_INVALID_OPT_VALUE",function(t,r){return'The value "'+r+'" is invalid for option "'+t+'"'},TypeError),createErrorType("ERR_INVALID_ARG_TYPE",function(t,r,n){var i,a;if("string"==typeof r&&function startsWith(t,r,n){return t.substr(!n||n<0?0:+n,r.length)===r}(r,"not ")?(i="must not be",r=r.replace(/^not /,"")):i="must be",function endsWith(t,r,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-r.length,n)===r}(t," argument"))a="The ".concat(t," ").concat(i," ").concat(oneOf(r,"type"));else{var o=function includes(t,r,n){return"number"!=typeof n&&(n=0),!(n+r.length>t.length)&&-1!==t.indexOf(r,n)}(t,".")?"property":"argument";a='The "'.concat(t,'" ').concat(o," ").concat(i," ").concat(oneOf(r,"type"))}return a+=". Received type ".concat(typeof n)},TypeError),createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close"),createErrorType("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end"),createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),createErrorType("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=r},3915(t,r,n){"use strict";n(8376),n(6401),n(2017);!function(t){var r="undefined"!=typeof Uint8Array?Uint8Array:Array,n="+".charCodeAt(0),i="/".charCodeAt(0),a="0".charCodeAt(0),o="a".charCodeAt(0),s="A".charCodeAt(0),l="-".charCodeAt(0),u="_".charCodeAt(0);function decode(t){var r=t.charCodeAt(0);return r===n||r===l?62:r===i||r===u?63:r0)throw new Error("Invalid string. Length must be a multiple of 4");var u=t.length;s="="===t.charAt(u-2)?2:"="===t.charAt(u-1)?1:0,l=new r(3*t.length/4-s),a=s>0?t.length-4:t.length;var h=0;function push(t){l[h++]=t}for(n=0,i=0;n>16),push((65280&o)>>8),push(255&o);return 2===s?push(255&(o=decode(t.charAt(n))<<2|decode(t.charAt(n+1))>>4)):1===s&&(push((o=decode(t.charAt(n))<<10|decode(t.charAt(n+1))<<4|decode(t.charAt(n+2))>>2)>>8&255),push(255&o)),l},t.fromByteArray=function uint8ToBase64(t){var r,n,i,a=t.length%3,o="";function encode(t){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)}function tripletToBase64(t){return encode(t>>18&63)+encode(t>>12&63)+encode(t>>6&63)+encode(63&t)}for(r=0,i=t.length-a;r>2),o+=encode(n<<4&63),o+="==";break;case 2:o+=encode((n=(t[t.length-2]<<8)+t[t.length-1])>>10),o+=encode(n>>4&63),o+=encode(n<<2&63),o+="="}return o}}(r)},4001(t,r,n){"use strict";var i=n(7866),a=RangeError;t.exports=function(t,r){var n=i(t);if(n%r)throw new a("Wrong offset");return n}},4055(t){"use strict";t.exports=URIError},4074(t,r,n){"use strict";var i,a,o,s=n(5117),l=n(5144),u=n(7756),h=n(8681),p=n(3598),g=n(6341),m=n(9391),y=n(8819),w=n(5719),v=n(4092),x=n(1182),_=n(9877),S=n(8607),A=n(443),C=n(8663),P=n(6044),k=n(6921),T=k.enforce,B=k.get,I=u.Int8Array,O=I&&I.prototype,R=u.Uint8ClampedArray,D=R&&R.prototype,L=I&&S(I),M=O&&S(O),N=Object.prototype,$=u.TypeError,z=C("toStringTag"),W=P("TYPED_ARRAY_TAG"),U="TypedArrayConstructor",j=s&&!!A&&"Opera"!==m(u.opera),V=!1,G={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},H={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(t){var r=S(t);if(p(r)){var n=B(r);return n&&g(n,U)?n[U]:getTypedArrayConstructor(r)}},isTypedArray=function(t){if(!p(t))return!1;var r=m(t);return g(G,r)||g(H,r)};for(i in G)(o=(a=u[i])&&a.prototype)?T(o)[U]=a:j=!1;for(i in H)(o=(a=u[i])&&a.prototype)&&(T(o)[U]=a);if((!j||!h(L)||L===Function.prototype)&&(L=function TypedArray(){throw new $("Incorrect invocation")},j))for(i in G)u[i]&&A(u[i],L);if((!j||!M||M===N)&&(M=L.prototype,j))for(i in G)u[i]&&A(u[i].prototype,M);if(j&&S(D)!==M&&A(D,M),l&&!g(M,z))for(i in V=!0,x(M,z,{configurable:!0,get:function(){return p(this)?this[W]:void 0}}),G)u[i]&&w(u[i],W,i);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:j,TYPED_ARRAY_TAG:V&&W,aTypedArray:function(t){if(isTypedArray(t))return t;throw new $("Target is not a typed array")},aTypedArrayConstructor:function(t){if(h(t)&&(!A||_(L,t)))return t;throw new $(y(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,r,n,i){if(l){if(n)for(var a in G){var o=u[a];if(o&&g(o.prototype,t))try{delete o.prototype[t]}catch(n){try{o.prototype[t]=r}catch(t){}}}M[t]&&!n||v(M,t,n?r:j&&O[t]||r,i)}},exportTypedArrayStaticMethod:function(t,r,n){var i,a;if(l){if(A){if(n)for(i in G)if((a=u[i])&&g(a,t))try{delete a[t]}catch(t){}if(L[t]&&!n)return;try{return v(L,t,n?r:j&&L[t]||r)}catch(t){}}for(i in G)!(a=u[i])||a[t]&&!n||v(a,t,r)}},getTypedArrayConstructor,isView:function isView(t){if(!p(t))return!1;var r=m(t);return"DataView"===r||g(G,r)||g(H,r)},isTypedArray,TypedArray:L,TypedArrayPrototype:M}},4092(t,r,n){"use strict";var i=n(8681),a=n(2333),o=n(3383),s=n(7309);t.exports=function(t,r,n,l){l||(l={});var u=l.enumerable,h=void 0!==l.name?l.name:r;if(i(n)&&o(n,h,l),l.global)u?t[r]=n:s(r,n);else{try{l.unsafe?t[r]&&(u=!0):delete t[r]}catch(t){}u?t[r]=n:a.f(t,r,{value:n,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return t}},4097(t){var r=4096,n=new Uint32Array([0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215]);function BrotliBitReader(t){this.buf_=new Uint8Array(8224),this.input_=t,this.reset()}BrotliBitReader.READ_SIZE=r,BrotliBitReader.IBUF_MASK=8191,BrotliBitReader.prototype.reset=function(){this.buf_ptr_=0,this.val_=0,this.pos_=0,this.bit_pos_=0,this.bit_end_pos_=0,this.eos_=0,this.readMoreInput();for(var t=0;t<4;t++)this.val_|=this.buf_[this.pos_]<<8*t,++this.pos_;return this.bit_end_pos_>0},BrotliBitReader.prototype.readMoreInput=function(){if(!(this.bit_end_pos_>256))if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var t=this.buf_ptr_,n=this.input_.read(this.buf_,t,r);if(n<0)throw new Error("Unexpected end of input");if(n=8;)this.val_>>>=8,this.val_|=this.buf_[8191&this.pos_]<<24,++this.pos_,this.bit_pos_=this.bit_pos_-8>>>0,this.bit_end_pos_=this.bit_end_pos_-8>>>0},BrotliBitReader.prototype.readBits=function(t){32-this.bit_pos_>>this.bit_pos_&n[t];return this.bit_pos_+=t,r},t.exports=BrotliBitReader},4137(t,r,n){"use strict";var i,a,o,s;t.exports=(s=n(6861),n(2858),a=(i=s).lib.CipherParams,o=i.enc.Hex,i.format.Hex={stringify:function(t){return t.ciphertext.toString(o)},parse:function(t){var r=o.parse(t);return a.create({ciphertext:r})}},s.format.Hex)},4378(t,r,n){"use strict";var i=n(5144),a=n(6341),o=Function.prototype,s=i&&Object.getOwnPropertyDescriptor,l=a(o,"name"),u=l&&"something"===function something(){}.name,h=l&&(!i||i&&s(o,"name").configurable);t.exports={EXISTS:l,PROPER:u,CONFIGURABLE:h}},4406(t){"use strict";t.exports=class StateMachine{constructor(t){this.stateTable=t.stateTable,this.accepting=t.accepting,this.tags=t.tags}match(t){var r=this;return{*[Symbol.iterator](){for(var n=1,i=null,a=null,o=null,s=0;s=i&&(yield[i,a,r.tags[o]]),n=r.stateTable[1][l],i=null),0!==n&&null==i&&(i=s),r.accepting[n]&&(a=s),0===n&&(n=1)}null!=i&&null!=a&&a>=i&&(yield[i,a,r.tags[n]])}}}apply(t,r){for(var[n,i,a]of this.match(t))for(var o of a)"function"==typeof r[o]&&r[o](n,i,t.slice(n,i+1))}}},4415(t,r){"use strict";r._=function _define_property(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}},4460(t,r,n){t.exports=n(980).BrotliDecompressBuffer},4483(t,r,n){"use strict";var i=n(2227),a=n(299),o=n(7756).String;t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41})},4494(t,r,n){"use strict";var i=n(1212),a=n(1078);t.exports=function(t,r,n){try{return i(a(Object.getOwnPropertyDescriptor(t,r)[n]))}catch(t){}}},4507(t,r,n){"use strict";var i=n(8115).match(/AppleWebKit\/(\d+)\./);t.exports=!!i&&+i[1]},4540(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(2858),i.pad.NoPadding={pad:function(){},unpad:function(){}},i.pad.NoPadding)},4543(t,r,n){var i=n(2504);r.init=function(){return(0,n(980).BrotliDecompressBuffer)(i.toByteArray(n(3501)))}},4550(t,r,n){"use strict";var i=n(1212),a=n(8681),o=n(3793),s=i(Function.toString);a(o.inspectSource)||(o.inspectSource=function(t){return s(t)}),t.exports=o.inspectSource},4610(t,r,n){"use strict";var i=n(2774),a=n(8843)(/^\s*(?:function)?\*/),o=n(6626)(),s=n(7106),l=i("Object.prototype.toString"),u=i("Function.prototype.toString"),h=n(3011);t.exports=function isGeneratorFunction(t){if("function"!=typeof t)return!1;if(a(u(t)))return!0;if(!o)return"[object GeneratorFunction]"===l(t);if(!s)return!1;var r=h();return r&&s(t)===r.prototype}},4730(t,r,n){"use strict";var i=n(8266);t.exports=function(t){return i(t.length)}},4766(t,r,n){var i=n(2504),a=n(7571);function $parcel$interopDefault(t){return t&&t.__esModule?t.default:t}function $parcel$export(t,r,n,i){Object.defineProperty(t,r,{get:n,set:i,enumerable:!0,configurable:!0})}!function $parcel$defineInteropFlag(t){Object.defineProperty(t,"__esModule",{value:!0,configurable:!0})}(t.exports),$parcel$export(t.exports,"getCategory",()=>$43d7963e56408b24$export$410364bbb673ddbc),$parcel$export(t.exports,"getCombiningClass",()=>$43d7963e56408b24$export$c03b919c6651ed55),$parcel$export(t.exports,"getScript",()=>$43d7963e56408b24$export$941569448d136665),$parcel$export(t.exports,"getEastAsianWidth",()=>$43d7963e56408b24$export$92f6187db8ca6d26),$parcel$export(t.exports,"getNumericValue",()=>$43d7963e56408b24$export$7d1258ebb7625a0d),$parcel$export(t.exports,"isAlphabetic",()=>$43d7963e56408b24$export$52c8ea63abd07594),$parcel$export(t.exports,"isDigit",()=>$43d7963e56408b24$export$727d9dbc4fbb948f),$parcel$export(t.exports,"isPunctuation",()=>$43d7963e56408b24$export$a5b49f4dc6a07d2c),$parcel$export(t.exports,"isLowerCase",()=>$43d7963e56408b24$export$7b6804e8df61fcf5),$parcel$export(t.exports,"isUpperCase",()=>$43d7963e56408b24$export$aebd617640818cda),$parcel$export(t.exports,"isTitleCase",()=>$43d7963e56408b24$export$de8b4ee23b2cf823),$parcel$export(t.exports,"isWhiteSpace",()=>$43d7963e56408b24$export$3c52dd84024ae72c),$parcel$export(t.exports,"isBaseForm",()=>$43d7963e56408b24$export$a11bdcffe109e74b),$parcel$export(t.exports,"isMark",()=>$43d7963e56408b24$export$e33ad6871e762338),$parcel$export(t.exports,"default",()=>A);var o;o=JSON.parse('{"categories":["Cc","Zs","Po","Sc","Ps","Pe","Sm","Pd","Nd","Lu","Sk","Pc","Ll","So","Lo","Pi","Cf","No","Pf","Lt","Lm","Mn","Me","Mc","Nl","Zl","Zp","Cs","Co"],"combiningClasses":["Not_Reordered","Above","Above_Right","Below","Attached_Above_Right","Attached_Below","Overlay","Iota_Subscript","Double_Below","Double_Above","Below_Right","Above_Left","CCC10","CCC11","CCC12","CCC13","CCC14","CCC15","CCC16","CCC17","CCC18","CCC19","CCC20","CCC21","CCC22","CCC23","CCC24","CCC25","CCC30","CCC31","CCC32","CCC27","CCC28","CCC29","CCC33","CCC34","CCC35","CCC36","Nukta","Virama","CCC84","CCC91","CCC103","CCC107","CCC118","CCC122","CCC129","CCC130","CCC132","Attached_Above","Below_Left","Left","Kana_Voicing","CCC26","Right"],"scripts":["Common","Latin","Bopomofo","Inherited","Greek","Coptic","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Nko","Samaritan","Mandaic","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul","Ethiopic","Cherokee","Canadian_Aboriginal","Ogham","Runic","Tagalog","Hanunoo","Buhid","Tagbanwa","Khmer","Mongolian","Limbu","Tai_Le","New_Tai_Lue","Buginese","Tai_Tham","Balinese","Sundanese","Batak","Lepcha","Ol_Chiki","Braille","Glagolitic","Tifinagh","Han","Hiragana","Katakana","Yi","Lisu","Vai","Bamum","Syloti_Nagri","Phags_Pa","Saurashtra","Kayah_Li","Rejang","Javanese","Cham","Tai_Viet","Meetei_Mayek","null","Linear_B","Lycian","Carian","Old_Italic","Gothic","Old_Permic","Ugaritic","Old_Persian","Deseret","Shavian","Osmanya","Osage","Elbasan","Caucasian_Albanian","Linear_A","Cypriot","Imperial_Aramaic","Palmyrene","Nabataean","Hatran","Phoenician","Lydian","Meroitic_Hieroglyphs","Meroitic_Cursive","Kharoshthi","Old_South_Arabian","Old_North_Arabian","Manichaean","Avestan","Inscriptional_Parthian","Inscriptional_Pahlavi","Psalter_Pahlavi","Old_Turkic","Old_Hungarian","Hanifi_Rohingya","Old_Sogdian","Sogdian","Elymaic","Brahmi","Kaithi","Sora_Sompeng","Chakma","Mahajani","Sharada","Khojki","Multani","Khudawadi","Grantha","Newa","Tirhuta","Siddham","Modi","Takri","Ahom","Dogra","Warang_Citi","Nandinagari","Zanabazar_Square","Soyombo","Pau_Cin_Hau","Bhaiksuki","Marchen","Masaram_Gondi","Gunjala_Gondi","Makasar","Cuneiform","Egyptian_Hieroglyphs","Anatolian_Hieroglyphs","Mro","Bassa_Vah","Pahawh_Hmong","Medefaidrin","Miao","Tangut","Nushu","Duployan","SignWriting","Nyiakeng_Puachue_Hmong","Wancho","Mende_Kikakui","Adlam"],"eaw":["N","Na","A","W","H","F"]}');const s=new($parcel$interopDefault(a))($parcel$interopDefault(i).toByteArray("AAARAAAAAADwfAEAZXl5ONRt+/5bPVFZimRfKoTQJNm37CGE7Iw0j3UsTWKsoyI7kwyyTiEUzSD7NiEzhWYijH0wMVkHE4Mx49fzfo+3nuP4/fdZjvv+XNd5n/d9nef1WZvmKhTxiZndzDQBSEYQqxqKwnsKvGQucFh+6t6cJ792ePQBZv5S9yXSwkyjf/P4T7mTNnIAv1dOVhMlR9lflbUL9JeJguqsjvG9NTj/wLb566VAURnLo2vvRi89S3gW/33ihh2eXpDn40BIW7REl/7coRKIhAFlAiOtbLDTt6mMb4GzMF1gNnvX/sBxtbsAIjfztCNcQjcNDtLThRvuXu5M5g/CBjaLBE4lJm4qy/oZD97+IJryApcXfgWYlkvWbhfXgujOJKVu8B+ozqTLbxyJ5kNiR75CxDqfBM9eOlDMmGeoZ0iQbbS5VUplIwI+ZNXEKQVJxlwqjhOY7w3XwPesbLK5JZE+Tt4X8q8km0dzInsPPzbscrjBMVjF5mOHSeRdJVgKUjLTHiHqXSPkep8N/zFk8167KLp75f6RndkvzdfB6Uz3MmqvRArzdCbs1/iRZjYPLLF3U8Qs+H+Rb8iK51a6NIV2V9+07uJsTGFWpPz8J++7iRu2B6eAKlK/kujrLthwaD/7a6J5w90TusnH1JMAc+gNrql4aspOUG/RrsxUKmPzhHgP4Bleru+6Vfc/MBjgXVx7who94nPn7MPFrnwQP7g0k0Dq0h2GSKO6fTZ8nLodN1SiOUj/5EL/Xo1DBvRm0wmrh3x6phcJ20/9CuMr5h8WPqXMSasLoLHoufTmE7mzYrs6B0dY7KjuCogKqsvxnxAwXWvd9Puc9PnE8DOHT2INHxRlIyVHrqZahtfV2E/A2PDdtA3ewlRHMtFIBKO/T4IozWTQZ+mb+gdKuk/ZHrqloucKdsOSJmlWTSntWjcxVMjUmroXLM10I6TwDLnBq4LP69TxgVeyGsd8yHvhF8ydPlrNRSNs9EP7WmeuSE7Lu10JbOuQcJw/63sDp68wB9iwP5AO+mBpV0R5VDDeyQUFCel1G+4KHBgEVFS0YK+m2sXLWLuGTlkVAd97WwKKdacjWElRCuDRauf33l/yVcDF6sVPKeTes99FC1NpNWcpieGSV/IbO8PCTy5pbUR1U8lxzf4T+y6fZMxOz3LshkQLeeDSd0WmUrQgajmbktrxsb2AZ0ACw2Vgni+gV/m+KvCRWLg08Clx7uhql+v9XySGcjjOHlsp8vBw/e8HS7dtiqF6T/XcSXuaMW66GF1g4q9YyBadHqy3Y5jin1c7yZos6BBr6dsomSHxiUHanYtcYQwnMMZhRhOnaYJeyJzaRuukyCUh48+e/BUvk/aEfDp8ag+jD64BHxNnQ5v/E7WRk7eLjGV13I3oqy45YNONi/1op1oDr7rPjkhPsTXgUpQtGDPlIs55KhQaic9kSGs/UrZ2QKQOflB8MTEQxRF9pullToWO7Eplan6mcMRFnUu2441yxi23x+KqKlr7RWWsi9ZXMWlr8vfP3llk1m2PRj0yudccxBuoa7VfIgRmnFPGX6Pm1WIfMm/Rm4n/xTn8IGqA0GWuqgu48pEUO0U9nN+ZdIvFpPb7VDPphIfRZxznlHeVFebkd9l+raXy9BpTMcIUIvBfgHEb6ndGo8VUkxpief14KjzFOcaANfgvFpvyY8lE8lE4raHizLpluPzMks1hx/e1Hok5yV0p7qQH7GaYeMzzZTFvRpv6k6iaJ4yNqzBvN8J7B430h2wFm1IBPcqbou33G7/NWPgopl4Mllla6e24L3TOTVNkza2zv3QKuDWTeDpClCEYgTQ+5vEBSQZs/rMF50+sm4jofTgWLqgX1x3TkrDEVaRqfY/xZizFZ3Y8/DFEFD31VSfBQ5raEB6nHnZh6ddehtclQJ8fBrldyIh99LNnV32HzKEej04hk6SYjdauCa4aYW0ru/QxvQRGzLKOAQszf3ixJypTW3WWL6BLSF2EMCMIw7OUvWBC6A/gDc2D1jvBapMCc7ztx6jYczwTKsRLL6dMNXb83HS8kdD0pTMMj161zbVHkU0mhSHo9SlBDDXdN6hDvRGizmohtIyR3ot8tF5iUG4GLNcXeGvBudSFrHu+bVZb9jirNVG+rQPI51A7Hu8/b0UeaIaZ4UgDO68PkYx3PE2HWpKapJ764Kxt5TFYpywMy4DLQqVRy11I7SOLhxUFmqiEK52NaijWArIfCg6qG8q5eSiwRCJb1R7GDJG74TrYgx/lVq7w9++Kh929xSJEaoSse5fUOQg9nMAnIZv+7fwVRcNv3gOHI46Vb5jYUC66PYHO6lS+TOmvEQjuYmx4RkffYGxqZIp/DPWNHAixbRBc+XKE3JEOgs4jIwu/dSAwhydruOGF39co91aTs85JJ3Z/LpXoF43hUwJsb/M1Chzdn8HX8vLXnqWUKvRhNLpfAF4PTFqva1sBQG0J+59HyYfmQ3oa4/sxZdapVLlo/fooxSXi/dOEQWIWq8E0FkttEyTFXR2aNMPINMIzZwCNEheYTVltsdaLkMyKoEUluPNAYCM2IG3br0DLy0fVNWKHtbSKbBjfiw7Lu06gQFalC7RC9BwRMSpLYDUo9pDtDfzwUiPJKLJ2LGcSphWBadOI/iJjNqUHV7ucG8yC6+iNM9QYElqBR7ECFXrcTgWQ3eG/tCWacT9bxIkfmxPmi3vOd36KxihAJA73vWNJ+Y9oapXNscVSVqS5g15xOWND/WuUCcA9YAAg6WFbjHamrblZ5c0L6Zx1X58ZittGcfDKU697QRSqW/g+RofNRyvrWMrBn44cPvkRe2HdTu/Cq01C5/riWPHZyXPKHuSDDdW8c1XPgd6ogvLh20qEIu8c19sqr4ufyHrwh37ZN5MkvY1dsGmEz9pUBTxWrvvhNyODyX2Q1k/fbX/T/vbHNcBrmjgDtvBdtZrVtiIg5iXQuzO/DEMvRX8Mi1zymSlt92BGILeKItjoShJXE/H7xwnf0Iewb8BFieJ9MflEBCQYEDm8eZniiEPfGoaYiiEdhQxHQNr2AuRdmbL9mcl18Kumh+HEZLp6z+j35ML9zTbUwahUZCyQQOgQrGfdfQtaR/OYJ/9dYXb2TWZFMijfCA8Nov4sa5FFDUe1T68h4q08WDE7JbbDiej4utRMR9ontevxlXv6LuJTXt1YEv8bDzEt683PuSsIN0afvu0rcBu9AbXZbkOG3K3AhtqQ28N23lXm7S3Yn6KXmAhBhz+GeorJJ4XxO/b3vZk2LXp42+QvsVxGSNVpfSctIFMTR1bD9t70i6sfNF3WKz/uKDEDCpzzztwhL45lsw89H2IpWN10sXHRlhDse9KCdpP5qNNpU84cTY+aiqswqR8XZ9ea0KbVRwRuOGQU3csAtV2fSbnq47U6es6rKlWLWhg3s/B9C9g+oTyp6RtIldR51OOkP5/6nSy6itUVPcMNOp4M/hDdKOz3uK6srbdxOrc2cJgr1Sg02oBxxSky6V7JaG+ziNwlfqnjnvh2/uq1lKfbp+qpwq/D/5OI5gkFl5CejKGxfc2YVJfGqc4E0x5e9PHK2ukbHNI7/RZV6LNe65apbTGjoCaQls0txPPbmQbCQn+/upCoXRZy9yzorWJvZ0KWcbXlBxU/d5I4ERUTxMuVWhSMmF677LNN7NnLwsmKawXkCgbrpcluOl0WChR1qhtSrxGXHu251dEItYhYX3snvn1gS2uXuzdTxCJjZtjsip0iT2sDC0qMS7Bk9su2NyXjFK5/f5ZoWwofg3DtTyjaFqspnOOTSh8xK/CKUFS57guVEkw9xoQuRCwwEO9Lu9z2vYxSa9NFV8DvSxv2C4WYLYF8Nrc4DzWkzNsk81JJOlZ/LYJrGCoj4MmZpnf3AXmzxT4rtl9jsqljEyedz468SGKdBiQzyz/qWKEhFg45ZczlZZ3KGL3l6sn+3TTa3zMVMhPa1obGp/z+fvY0QXTrJTf1XAT3EtQdUfYYlmWZyvPZ/6rWwU7UOQei7pVE0osgN94Iy+T1+omE6z4Rh2O20FjgBeK2y1mcoFiMDOJvuZPn5Moy9fmFH3wyfKvn4+TwfLvt/lHTTVnvrtoUWRBiQXhiNM8nE6ZoWeux/Z0b2unRcdUzdDpmL7CAgd1ToRXwgmHTZOgiGtVT+xr1QH9ObebRTT4NzL+XSpLuuWp62GqQvJVTPoZOeJCb6gIwd9XHMftQ+Kc08IKKdKQANSJ1a2gve3JdRhO0+tNiYzWAZfd7isoeBu67W7xuK8WX7nhJURld98Inb0t/dWOSau/kDvV4DJo/cImw9AO2Gvq0F2n0M7yIZKL8amMbjYld+qFls7hq8Acvq97K2PrCaomuUiesu7qNanGupEl6J/iem8lyr/NMnsTr6o41PO0yhQh3hPFN0wJP7S830je9iTBLzUNgYH+gUZpROo3rN2qgCI+6GewpX8w8CH+ro6QrWiStqmcMzVa3vEel+3/dDxMp0rDv1Q6wTMS3K64zTT6RWzK1y643im25Ja7X2ePCV2mTswd/4jshZPo4bLnerqIosq/hy2bKUAmVn9n4oun1+a0DIZ56UhVwmZHdUNpLa8gmPvxS1eNvCF1T0wo1wKPdCJi0qOrWz7oYRTzgTtkzEzZn308XSLwUog4OWGKJzCn/3FfF9iA32dZHSv30pRCM3KBY9WZoRhtdK/ChHk6DEQBsfV6tN2o1Cn0mLtPBfnkS+qy1L2xfFe9TQPtDE1Be44RTl82E9hPT2rS2+93LFbzhQQO3C/hD2jRFH3BWWbasAfuMhRJFcTri73eE835y016s22DjoFJ862WvLj69fu2TgSF3RHia9D5DSitlQAXYCnbdqjPkR287Lh6dCHDapos+eFDvcZPP2edPmTFxznJE/EBLoQQ0Qmn9EkZOyJmHxMbvKYb8o21ZHmv5YLqgsEPk9gWZwYQY9wLqGXuax/8QlV5qDaPbq9pLPT1yp+zOWKmraEy1OUJI7zdEcEmvBpbdwLrDCgEb2xX8S/nxZgjK4bRi+pbOmbh8bEeoPvU/L9ndx9kntlDALbdAvp0O8ZC3zSUnFg4cePsw7jxewWvL7HRSBLUn6J7vTH9uld5N76JFPgBCdXGF221oEJk++XfRwXplLSyrVO7HFWBEs99nTazKveW3HpbD4dH/YmdAl+lwbSt8BQWyTG7jAsACI7bPPUU9hI9XUHWqQOuezHzUjnx5Qqs6T1qNHfTTHleDtmqK7flA9a0gz2nycIpz1FHBuWxKNtUeTdqP29Fb3tv+tl5JyBqXoR+vCsdzZwZUhf6Lu8bvkB9yQP4x7GGegB0ym0Lpl03Q7e+C0cDsm9GSDepCDji7nUslLyYyluPfvLyKaDSX4xpR+nVYQjQQn5F8KbY1gbIVLiK1J3mW90zTyR1bqApX2BlWh7KG8LAY9/S9nWC0XXh9pZZo6xuir12T43rkaGfQssbQyIslA7uJnSHOV22NhlNtUo0czxPAsXhh8tIQYaTM4l/yAlZlydTcXhlG22Gs/n3BxKBd/3ZjYwg3NaUurVXhNB+afVnFfNr9TbC9ksNdvwpNfeHanyJ8M6GrIVfLlYAPv0ILe4dn0Z+BJSbJkN7eZY/c6+6ttDYcIDeUKIDXqUSE42Xdh5nRbuaObozjht0HJ5H1e+em+NJi/+8kQlyjCbJpPckwThZeIF9/u7lrVIKNeJLCN/TpPAeXxvd31/CUDWHK9MuP1V1TJgngzi4V0qzS3SW3Qy5UiGHqg02wQa5tsEl9s/X9nNMosgLlUgZSfCBj1DiypLfhr9/r0nR0XY2tmhDOcUS4E7cqa4EJBhzqvpbZa35Q5Iz5EqmhYiOGDAYk606Tv74+KGfPjKVuP15rIzgW0I7/niOu9el/sn2bRye0gV+GrePDRDMHjwO1lEdeXH8N+UTO3IoN18kpI3tPxz+fY+n2MGMSGFHAx/83tKeJOl+2i+f1O9v6FfEDBbqrw+lpM8Anav7zHNr7hE78nXUtPNodMbCnITWA7Ma/IHlZ50F9hWge/wzOvSbtqFVFtkS8Of2nssjZwbSFdU+VO8z6tCEc9UA9ACxT5zIUeSrkBB/v1krOpm7bVMrGxEKfI6LcnpB4D8bvn2hDKGqKrJaVAJuDaBEY3F7eXyqnFWlOoFV/8ZLspZiZd7orXLhd4mhHQgbuKbHjJWUzrnm0Dxw/LJLzXCkh7slMxKo8uxZIWZfdKHlfI7uj3LP6ARAuWdF7ZmZ7daOKqKGbz5LxOggTgS39oEioYmrqkCeUDvbxkBYKeHhcLmMN8dMF01ZMb32IpL/cH8R7VHQSI5I0YfL14g9d7P/6cjB1JXXxbozEDbsrPdmL8ph7QW10jio+v7YsqHKQ6xrBbOVtxU0/nFfzUGZwIBLwyUvg49ii+54nv9FyECBpURnQK4Ox6N7lw5fsjdd5l/2SwBcAHMJoyjO1Pifye2dagaOwCVMqdJWAo77pvBe0zdJcTWu5fdzPNfV2p1pc7/JKQ8zhKkwsOELUDhXygPJ5oR8Vpk2lsCen3D3QOQp2zdrSZHjVBstDF/wWO98rrkQ6/7zt/Drip7OHIug1lomNdmRaHRrjmqeodn22sesQQPgzimPOMqC60a5+i/UYh51uZm+ijWkkaI2xjrBO2558DZNZMiuDQlaVAvBy2wLn/bR3FrNzfnO/9oDztYqxZrr7JMIhqmrochbqmQnKowxW29bpqTaJu7kW1VotC72QkYX8OoDDdMDwV1kJRk3mufgJBzf+iwFRJ7XWQwO5ujVglgFgHtycWiMLx5N+6XU+TulLabWjOzoao03fniUW0xvIJNPbk7CQlFZd/RCOPvgQbLjh5ITE8NVJeKt3HGr6JTnFdIzcVOlEtwqbIIX0IM7saC+4N5047MTJ9+Wn11EhyEPIlwsHE5utCeXRjQzlrR+R1Cf/qDzcNbqLXdk3J7gQ39VUrrEkS/VMWjjg+t2oYrqB0tUZClcUF6+LBC3EQ7KnGIwm/qjZX4GKPtjTX1zQKV6nPAb2t/Rza5IqKRf8i2DFEhV/YSifX0YwsiF6TQnp48Gr65TFq0zUe6LGjiY7fq0LSGKL1VnC6ESI2yxvt3XqBx53B3gSlGFeJcPbUbonW1E9E9m4NfuwPh+t5QjRxX34lvBPVxwQd7aeTd+r9dw5CiP1pt8wMZoMdni7GapYdo6KPgeQKcmlFfq4UYhvV0IBgeiR3RnTMBaqDqpZrTRyLdsp4l0IXZTdErfH0sN3dqBG5vRIx3VgCYcHmmkqJ8Hyu3s9K9uBD1d8cZUEx3qYcF5vsqeRpF1GOg8emeWM2OmBlWPdZ6qAXwm3nENFyh+kvXk132PfWAlN0kb7yh4fz2T7VWUY/hEXX5DvxGABC03XRpyOG8t/u3Gh5tZdpsSV9AWaxJN7zwhVglgII1gV28tUViyqn4UMdIh5t+Ea2zo7PO48oba0TwQbiSZOH4YhD578kPF3reuaP7LujPMsjHmaDuId9XEaZBCJhbXJbRg5VCk3KJpryH/+8S3wdhR47pdFcmpZG2p0Bpjp/VbvalgIZMllYX5L31aMPdt1J7r/7wbixt0Mnz2ZvNGTARHPVD+2O1D8SGpWXlVnP2ekgon55YiinADDynyaXtZDXueVqbuTi8z8cHHK325pgqM+mWZwzHeEreMvhZopAScXM14SJHpGwZyRljMlDvcMm9FZ/1e9+r/puOnpXOtc9Iu2fmgBfEP9cGW1Fzb1rGlfJ08pACtq1ZW18bf2cevebzVeHbaA50G9qoUp39JWdPHbYkPCRXjt4gzlq3Cxge28Mky8MoS/+On72kc+ZI2xBtgJytpAQHQ1zrEddMIVyR5urX6yBNu8v5lKC8eLdGKTJtbgIZ3ZyTzSfWmx9f+cvcJe8yM39K/djkp2aUTE/9m2Lj5jg7b8vdRAer7DO3SyLNHs1CAm5x5iAdh2yGJYivArZbCBNY88Tw+w+C1Tbt7wK3zl2rzTHo/D8/gb3c3mYrnEIEipYqPUcdWjnTsSw471O3EUN7Gtg4NOAs9PJrxm03VuZKa5xwXAYCjt7Gs01Km6T2DhOYUMoFcCSu7Hk1p3yP1eG+M3v3Q5luAze6WwBnZIYO0TCucPWK+UJ36KoJ8Y+vpavhLO8g5ed704IjlQdfemrMu//EvPYXTQSGIPPfiagJS9nMqP5IvkxN9pvuJz7h8carPXTKMq8jnTeL0STan6dnLTAqwIswcIwWDR2KwbGddAVN8SYWRB7kfBfBRkSXzvHlIF8D6jo64kUzYk5o/n8oLjKqat0rdXvQ86MkwQGMnnlcasqPPT2+mVtUGb32KuH6cyZQenrRG11TArcAl27+nvOMBDe++EKHf4YdyGf7mznzOz33cFFGEcv329p4qG2hoaQ8ULiMyVz6ENcxhoqGnFIdupcn7GICQWuw3yO3W8S33mzCcMYJ8ywc7U7rmaQf/W5K63Gr4bVTpXOyOp4tbaPyIaatBNpXqlmQUTSZXjxPr19+73PSaT+QnI35YsWn6WpfJjRtK8vlJZoTSgjaRU39AGCkWOZtifJrnefCrqwTKDFmuWUCukEsYcRrMzCoit28wYpP7kSVjMD8WJYQiNc2blMjuqYegmf6SsfC1jqz8XzghMlOX+gn/MKZmgljszrmehEa4V98VreJDxYvHr3j7IeJB9/sBZV41BWT/AZAjuC5XorlIPnZgBAniBEhanp0/0+qZmEWDpu8ige1hUPIyTo6T6gDEcFhWSoduNh8YSu65KgMOGBw7VlNYzNIgwHtq9KP2yyTVysqX5v12sf7D+vQUdR2dRDvCV40rIInXSLWT/yrC6ExOQxBJwIDbeZcl3z1yR5Rj3l8IGpxspapnvBL+fwupA3b6fkFceID9wgiM1ILB0cHVdvo/R4xg8yqKXT8efl0GnGX1/27FUYeUW2L/GNRGGWVGp3i91oaJkb4rybENHre9a2P5viz/yqk8ngWUUS+Kv+fu+9BLFnfLiLXOFcIeBJLhnayCiuDRSqcx0Qu68gVsGYc6EHD500Fkt+gpDj6gvr884n8wZ5o6q7xtL5wA0beXQnffWYkZrs2NGIRgQbsc5NB302SVx+R4ROvmgZaR8wBcji128BMfJ9kcvJ4DC+bQ57kRmv5yxgU4ngZfn0/JNZ8JBwxjTqS+s9kjJFG1unGUGLwMiIuXUD9EFhNIJuyCEAmVZSIGKH4G6v1gRR1LyzQKH2ZqiI1DnHMoDEZspbDjTeaFIAbSvjSq3A+n46y9hhVM8wIpnARSXyzmOD96d9UXvFroSPgGw1dq2vdEqDq9fJN1EbL2WulNmHkFDvxSO9ZT/RX/Bw2gA/BrF90XrJACereVfbV/YXaKfp77Nmx5NjEIUlxojsy7iN7nBHSZigfsbFyVOX1ZTeCCxvqnRSExP4lk5ZeYlRu9caaa743TWNdchRIhEWwadsBIe245C8clpaZ4zrPsk+OwXzxWCvRRumyNSLW5KWaSJyJU95cwheK76gr7228spZ3hmTtLyrfM2QRFqZFMR8/Q6yWfVgwTdfX2Ry4w3+eAO/5VT5nFb5NlzXPvBEAWrNZ6Q3jbH0RF4vcbp+fDngf/ywpoyNQtjrfvcq93AVb1RDWRghvyqgI2BkMr1rwYi8gizZ0G9GmPpMeqPerAQ0dJbzx+KAFM4IBq6iSLpZHUroeyfd9o5o+4fR2EtsZBoJORQEA4SW0CmeXSnblx2e9QkCHIodyqV6+g5ETEpZsLqnd/Na60EKPX/tQpPEcO+COIBPcQdszDzSiHGyQFPly/7KciUh1u+mFfxTCHGv9nn2WqndGgeGjQ/kr02qmTBX7Hc1qiEvgiSz1Tz/sy7Es29wvn6FrDGPP7asXlhOaiHxOctPvTptFA1kHFUk8bME7SsTSnGbFbUrssxrq70LhoSh5OwvQna+w84XdXhZb2sloJ4ZsCg3j+PrjJL08/JBi5zGd6ud/ZxhmcGKLOXPcNunQq5ESW92iJvfsuRrNYtawWwSmNhPYoFj2QqWNF0ffLpGt/ad24RJ8vkb5sXkpyKXmvFG5Vcdzf/44k3PBL/ojJ52+kWGzOArnyp5f969oV3J2c4Li27Nkova9VwRNVKqN0V+gV+mTHitgkXV30aWd3A1RSildEleiNPA+5cp+3+T7X+xfHiRZXQ1s4FA9TxIcnveQs9JSZ5r5qNmgqlW4zMtZ6rYNvgmyVcywKtu8ZxnSbS5vXlBV+NXdIfi3+xzrnJ0TkFL+Un8v1PWOC2PPFCjVPq7qTH7mOpzOYj/b4h0ceT+eHgr97Jqhb1ziVfeANzfN8bFUhPKBi7hJBCukQnB0aGjFTYLJPXL26lQ2b80xrOD5cFWgA8hz3St0e69kwNnD3+nX3gy12FjrjO+ddRvvvfyV3SWbXcxqNHfmsb9u1TV+wHTb9B07/L2sB8WUHJ9eeNomDyysEWZ0deqEhH/oWI2oiEh526gvAK1Nx2kIhNvkYR+tPYHEa9j+nd1VBpQP1uzSjIDO+fDDB7uy029rRjDC5Sk6aKczyz1D5uA9Lu+Rrrapl8JXNL3VRllNQH2K1ZFxOpX8LprttfqQ56MbPM0IttUheXWD/mROOeFqGUbL+kUOVlXLTFX/525g4faLEFO4qWWdmOXMNvVjpIVTWt650HfQjX9oT3Dg5Au6+v1/Ci78La6ZOngYCFPT1AUwxQuZ0yt5xKdNXLaDTISMTeCj16XTryhM36K2mfGRIgot71voWs8tTpL/f1rvcwv3LSDf+/G8THCT7NpfHWcW+lsF/ol8q9Bi6MezNTqp0rpp/kJRiVfNrX/w27cRRTu8RIIqtUblBMkxy4jwAVqCjUJkiPBj2cAoVloG8B2/N5deLdMhDb7xs5nhd3dubJhuj8WbaFRyu1L678DHhhA+rMimNo4C1kGpp0tD/qnCfCFHejpf0LJX43OTr578PY0tnIIrlWyNYyuR/ie6j2xNb1OV6u0dOX/1Dtcd7+ya9W+rY2LmnyQMtk8SMLTon8RAdwOaN2tNg5zVnDKlmVeOxPV2vhHIo9QEPV7jc3f+zVDquiNg1OaHX3cZXJDRY5MJpo+VanAcmqp4oasYLG+wrXUL5vJU0kqk2hGEskhP+Jjigrz1l6QnEwp6n8PMVeJp70Ii6ppeaK9GhF6fJE00ceLyxv08tKiPat4QdxZFgSbQknnEiCLD8Qc1rjazVKM3r3gXnnMeONgdz/yFV1q+haaN+wnF3Fn4uYCI9XsKOuVwDD0LsCO/f0gj5cmxCFcr7sclIcefWjvore+3aSU474cyqDVxH7w1RX3CHsaqsMRX17ZLgjsDXws3kLm2XJdM3Ku383UXqaHqsywzPhx7NFir0Fqjym/w6cxD2U9ypa3dx7Z12w/fi3Jps8sqJ8f8Ah8aZAvkHXvIRyrsxK7rrFaNNdNvjI8+3Emri195DCNa858anj2Qdny6Czshkn4N2+1m+k5S8sunX3Ja7I+JutRzg1mc2e9Yc0Zv9PZn1SwhxIdU9sXwZRTd/J5FoUm0e+PYREeHg3oc2YYzGf2xfJxXExt4pT3RfDRHvMXLUmoXOy63xv5pLuhOEax0dRgSywZ/GH+YBXFgCeTU0hZ8SPEFsn8punp1Kurd1KgXxUZ+la3R5+4ePGR4ZF5UQtOa83+Vj8zh80dfzbhxWCeoJnQ4dkZJM4drzknZOOKx2n3WrvJnzFIS8p0xeic+M3ZRVXIp10tV2DyYKwRxLzulPwzHcLlYTxl4PF7v8l106Azr+6wBFejbq/3P72C/0j78cepY9990/d4eAurn2lqdGKLU8FffnMw7cY7pVeXJRMU73Oxwi2g2vh/+4gX8dvbjfojn/eLVhhYl8GthwCQ50KcZq4z2JeW5eeOnJWFQEnVxDoG459TaC4zXybECEoJ0V5q1tXrQbDMtUxeTV6Pdt1/zJuc7TJoV/9YZFWxUtCf6Ou3Vd/vR/vG0138hJQrHkNeoep5dLe+6umcSquKvMaFpm3EZHDBOvCi0XYyIFHMgX7Cqp3JVXlxJFwQfHSaIUEbI2u1lBVUdlNw4Qa9UsLPEK94Qiln3pyKxQVCeNlx8yd7EegVNQBkFLabKvnietYVB4IPZ1fSor82arbgYec8aSdFMaIluYTYuNx32SxfrjKUdPGq+UNp5YpydoEG3xVLixtmHO9zXxKAnHnPuH2fPGrjx0GcuCDEU+yXUtXh6nfUL+cykws1gJ5vkfYFaFBr9PdCXvVf35OJQxzUMmWjv0W6uGJK11uAGDqSpOwCf6rouSIjPVgw57cJCOQ4b9tkI/Y5WNon9Swe72aZryKo8d+HyHBEdWJKrkary0LIGczA4Irq353Wc0Zga3om7UQiAGCvIl8GGyaqz5zH+1gMP5phWUCpKtttWIyicz09vXg76GxkmiGSMQ06Z9X8BUwqOtauDbPIf4rpK/yYoeAHxJ9soXS9VDe1Aw+awOOxaN8foLrif0TXBvQ55dtRtulRq9emFDBxlQcqKCaD8NeTSE7FOHvcjf/+oKbbtRqz9gbofoc2EzQ3pL6W5JdfJzAWmOk8oeoECe90lVMruwl/ltM015P/zIPazqvdvFmLNVHMIZrwiQ2tIKtGh6PDVH+85ew3caqVt2BsDv5rOcu3G9srQWd7NmgtzCRUXLYknYRSwtH9oUtkqyN3CfP20xQ1faXQl4MEmjQehWR6GmGnkdpYNQYeIG408yAX7uCZmYUic9juOfb+Re28+OVOB+scYK4DaPcBe+5wmji9gymtkMpKo4UKqCz7yxzuN8VIlx9yNozpRJpNaWHtaZVEqP45n2JemTlYBSmNIK1FuSYAUQ1yBLnKxevrjayd+h2i8PjdB3YY6b0nr3JuOXGpPMyh4V2dslpR3DFEvgpsBLqhqLDOWP4yEvIL6f21PpA7/8B")),l=Math.log2||(t=>Math.log(t)/Math.LN2),$43d7963e56408b24$var$bits=t=>l(t)+1|0,u=$43d7963e56408b24$var$bits($parcel$interopDefault(o).categories.length-1),h=$43d7963e56408b24$var$bits($parcel$interopDefault(o).combiningClasses.length-1),p=$43d7963e56408b24$var$bits($parcel$interopDefault(o).scripts.length-1),g=$43d7963e56408b24$var$bits($parcel$interopDefault(o).eaw.length-1),m=h+p+g+10,y=p+g+10,w=g+10,v=(1<>m&v]}function $43d7963e56408b24$export$c03b919c6651ed55(t){const r=s.get(t);return $parcel$interopDefault(o).combiningClasses[r>>y&x]}function $43d7963e56408b24$export$941569448d136665(t){const r=s.get(t);return $parcel$interopDefault(o).scripts[r>>w&_]}function $43d7963e56408b24$export$92f6187db8ca6d26(t){const r=s.get(t);return $parcel$interopDefault(o).eaw[r>>10&S]}function $43d7963e56408b24$export$7d1258ebb7625a0d(t){let r=s.get(t),n=1023&r;if(0===n)return null;if(n<=50)return n-1;if(n<480){return((n>>4)-12)/(1+(15&n))}if(n<768){r=(n>>5)-14;let t=2+(31&n);for(;t>0;)r*=10,t--;return r}{r=(n>>2)-191;let t=1+(3&n);for(;t>0;)r*=60,t--;return r}}function $43d7963e56408b24$export$52c8ea63abd07594(t){const r=$43d7963e56408b24$export$410364bbb673ddbc(t);return"Lu"===r||"Ll"===r||"Lt"===r||"Lm"===r||"Lo"===r||"Nl"===r}function $43d7963e56408b24$export$727d9dbc4fbb948f(t){return"Nd"===$43d7963e56408b24$export$410364bbb673ddbc(t)}function $43d7963e56408b24$export$a5b49f4dc6a07d2c(t){const r=$43d7963e56408b24$export$410364bbb673ddbc(t);return"Pc"===r||"Pd"===r||"Pe"===r||"Pf"===r||"Pi"===r||"Po"===r||"Ps"===r}function $43d7963e56408b24$export$7b6804e8df61fcf5(t){return"Ll"===$43d7963e56408b24$export$410364bbb673ddbc(t)}function $43d7963e56408b24$export$aebd617640818cda(t){return"Lu"===$43d7963e56408b24$export$410364bbb673ddbc(t)}function $43d7963e56408b24$export$de8b4ee23b2cf823(t){return"Lt"===$43d7963e56408b24$export$410364bbb673ddbc(t)}function $43d7963e56408b24$export$3c52dd84024ae72c(t){const r=$43d7963e56408b24$export$410364bbb673ddbc(t);return"Zs"===r||"Zl"===r||"Zp"===r}function $43d7963e56408b24$export$a11bdcffe109e74b(t){const r=$43d7963e56408b24$export$410364bbb673ddbc(t);return"Nd"===r||"No"===r||"Nl"===r||"Lu"===r||"Ll"===r||"Lt"===r||"Lm"===r||"Lo"===r||"Me"===r||"Mc"===r}function $43d7963e56408b24$export$e33ad6871e762338(t){const r=$43d7963e56408b24$export$410364bbb673ddbc(t);return"Mn"===r||"Me"===r||"Mc"===r}var A={getCategory:$43d7963e56408b24$export$410364bbb673ddbc,getCombiningClass:$43d7963e56408b24$export$c03b919c6651ed55,getScript:$43d7963e56408b24$export$941569448d136665,getEastAsianWidth:$43d7963e56408b24$export$92f6187db8ca6d26,getNumericValue:$43d7963e56408b24$export$7d1258ebb7625a0d,isAlphabetic:$43d7963e56408b24$export$52c8ea63abd07594,isDigit:$43d7963e56408b24$export$727d9dbc4fbb948f,isPunctuation:$43d7963e56408b24$export$a5b49f4dc6a07d2c,isLowerCase:$43d7963e56408b24$export$7b6804e8df61fcf5,isUpperCase:$43d7963e56408b24$export$aebd617640818cda,isTitleCase:$43d7963e56408b24$export$de8b4ee23b2cf823,isWhiteSpace:$43d7963e56408b24$export$3c52dd84024ae72c,isBaseForm:$43d7963e56408b24$export$a11bdcffe109e74b,isMark:$43d7963e56408b24$export$e33ad6871e762338}},4779(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(2858),i.pad.ZeroPadding={pad:function(t,r){var n=4*r;t.clamp(),t.sigBytes+=n-(t.sigBytes%n||n)},unpad:function(t){var r=t.words,n=t.sigBytes-1;for(n=t.sigBytes-1;n>=0;n--)if(r[n>>>2]>>>24-n%4*8&255){t.sigBytes=n+1;break}}},i.pad.ZeroPadding)},4785(t){"use strict";var r,n="object"==typeof Reflect?Reflect:null,i=n&&"function"==typeof n.apply?n.apply:function ReflectApply(t,r,n){return Function.prototype.apply.call(t,r,n)};r=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function ReflectOwnKeys(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function ReflectOwnKeys(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function NumberIsNaN(t){return t!=t};function EventEmitter(){EventEmitter.init.call(this)}t.exports=EventEmitter,t.exports.once=function once(t,r){return new Promise(function(n,i){function errorListener(n){t.removeListener(r,resolver),i(n)}function resolver(){"function"==typeof t.removeListener&&t.removeListener("error",errorListener),n([].slice.call(arguments))}eventTargetAgnosticAddListener(t,r,resolver,{once:!0}),"error"!==r&&function addErrorHandlerIfEventEmitter(t,r,n){"function"==typeof t.on&&eventTargetAgnosticAddListener(t,"error",r,n)}(t,errorListener,{once:!0})})},EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._eventsCount=0,EventEmitter.prototype._maxListeners=void 0;var o=10;function checkListener(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function _getMaxListeners(t){return void 0===t._maxListeners?EventEmitter.defaultMaxListeners:t._maxListeners}function _addListener(t,r,n,i){var a,o,s;if(checkListener(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",r,n.listener?n.listener:n),o=t._events),s=o[r]),void 0===s)s=o[r]=n,++t._eventsCount;else if("function"==typeof s?s=o[r]=i?[n,s]:[s,n]:i?s.unshift(n):s.push(n),(a=_getMaxListeners(t))>0&&s.length>a&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(r)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=r,l.count=s.length,function ProcessEmitWarning(t){console&&console.warn}()}return t}function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(t,r,n){var i={fired:!1,wrapFn:void 0,target:t,type:r,listener:n},a=onceWrapper.bind(i);return a.listener=n,i.wrapFn=a,a}function _listeners(t,r,n){var i=t._events;if(void 0===i)return[];var a=i[r];return void 0===a?[]:"function"==typeof a?n?[a.listener||a]:[a]:n?function unwrapListeners(t){for(var r=new Array(t.length),n=0;n0&&(s=r[0]),s instanceof Error)throw s;var l=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw l.context=s,l}var u=o[t];if(void 0===u)return!1;if("function"==typeof u)i(u,this,r);else{var h=u.length,p=arrayClone(u,h);for(n=0;n=0;o--)if(n[o]===r||n[o].listener===r){s=n[o].listener,a=o;break}if(a<0)return this;0===a?n.shift():function spliceOne(t,r){for(;r+1=0;i--)this.removeListener(t,r[i]);return this},EventEmitter.prototype.listeners=function listeners(t){return _listeners(this,t,!0)},EventEmitter.prototype.rawListeners=function rawListeners(t){return _listeners(this,t,!1)},EventEmitter.listenerCount=function(t,r){return"function"==typeof t.listenerCount?t.listenerCount(r):listenerCount.call(t,r)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount>0?r(this._events):[]}},4866(t,r,n){"use strict";var i;t.exports=(i=n(6861),function(){var t=i,r=t.lib.WordArray;function parseLoop(t,n,i){for(var a=[],o=0,s=0;s>>6-s%4*2;a[o>>>2]|=l<<24-o%4*8,o++}return r.create(a,o)}t.enc.Base64={stringify:function(t){var r=t.words,n=t.sigBytes,i=this._map;t.clamp();for(var a=[],o=0;o>>2]>>>24-o%4*8&255)<<16|(r[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|r[o+2>>>2]>>>24-(o+2)%4*8&255,l=0;l<4&&o+.75*l>>6*(3-l)&63));var u=i.charAt(64);if(u)for(;a.length%4;)a.push(u);return a.join("")},parse:function(t){var r=t.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a>>2]|=a<<24-o%4*8,t.sigBytes+=a},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},i.pad.Ansix923)},4903(t,r,n){"use strict";var i=n(9964),a=Object.keys||function(t){var r=[];for(var n in t)r.push(n);return r};t.exports=Duplex;var o=n(8261),s=n(9781);n(9784)(Duplex,o);for(var l=a(s.prototype),u=0;u$1ed46182c1410e1d$export$9b4f661deaa36c3e),$parcel$export(t.exports,"DecodeStream",()=>$8ae20583b93e4933$export$c18b354bac7948e9),$parcel$export(t.exports,"Array",()=>$8ea28a08eae2a116$export$c4be6576ca6fe4aa),$parcel$export(t.exports,"LazyArray",()=>$444f112d3cbc7e9f$export$5576c026028d4983),$parcel$export(t.exports,"Bitfield",()=>$3def237a34a226b5$export$96b43b8a49f688ea),$parcel$export(t.exports,"Boolean",()=>$8415e91bb83faf74$export$ff887cefee4d61ec),$parcel$export(t.exports,"Buffer",()=>$08d28604119af47e$export$7d22a0eea6656474),$parcel$export(t.exports,"Enum",()=>$070ce31ea947467f$export$deb82508dd66d288),$parcel$export(t.exports,"Optional",()=>$80703542fcfb6ff0$export$7acb7b24c478f9c6),$parcel$export(t.exports,"Reserved",()=>$f4fd49878232508a$export$da9b5fe187a9aa1),$parcel$export(t.exports,"String",()=>$d8705cd4022e7dcf$export$89b8e0fa65f6a914),$parcel$export(t.exports,"Struct",()=>$aa8b66bae6abe658$export$eabc71f011df675a),$parcel$export(t.exports,"VersionedStruct",()=>$fcb208a95f6d048b$export$95a8b60f4da7dec8);const r={utf16le:"utf-16le",ucs2:"utf-16le",utf16be:"utf-16be"};class $8ae20583b93e4933$export$c18b354bac7948e9{constructor(t){this.buffer=t,this.view=new DataView(t.buffer,t.byteOffset,t.byteLength),this.pos=0,this.length=this.buffer.length}readString(t,n="ascii"){n=r[n]||n;let i=this.readBuffer(t);try{return new TextDecoder(n).decode(i)}catch(t){return i}}readBuffer(t){return this.buffer.slice(this.pos,this.pos+=t)}readUInt24BE(){return(this.readUInt16BE()<<8)+this.readUInt8()}readUInt24LE(){return this.readUInt16LE()+(this.readUInt8()<<16)}readInt24BE(){return(this.readInt16BE()<<8)+this.readUInt8()}readInt24LE(){return this.readUInt16LE()+(this.readInt8()<<16)}}$8ae20583b93e4933$export$c18b354bac7948e9.TYPES={UInt8:1,UInt16:2,UInt24:3,UInt32:4,Int8:1,Int16:2,Int24:3,Int32:4,Float:4,Double:8};for(let t of Object.getOwnPropertyNames(DataView.prototype))if("get"===t.slice(0,3)){let r=t.slice(3).replace("Ui","UI");"Float32"===r?r="Float":"Float64"===r&&(r="Double");let n=$8ae20583b93e4933$export$c18b354bac7948e9.TYPES[r];$8ae20583b93e4933$export$c18b354bac7948e9.prototype["read"+r+(1===n?"":"BE")]=function(){const r=this.view[t](this.pos,!1);return this.pos+=n,r},1!==n&&($8ae20583b93e4933$export$c18b354bac7948e9.prototype["read"+r+"LE"]=function(){const r=this.view[t](this.pos,!0);return this.pos+=n,r})}const n=new TextEncoder,i=18==new Uint8Array(new Uint16Array([4660]).buffer)[0];class $1ed46182c1410e1d$export$9b4f661deaa36c3e{constructor(t){this.buffer=t,this.view=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),this.pos=0}writeBuffer(t){this.buffer.set(t,this.pos),this.pos+=t.length}writeString(t,r="ascii"){let a;switch(r){case"utf16le":case"utf16-le":case"ucs2":a=$1ed46182c1410e1d$var$stringToUtf16(t,i);break;case"utf16be":case"utf16-be":a=$1ed46182c1410e1d$var$stringToUtf16(t,!i);break;case"utf8":a=n.encode(t);break;case"ascii":a=function $1ed46182c1410e1d$var$stringToAscii(t){let r=new Uint8Array(t.length);for(let n=0;n>>16&255,this.buffer[this.pos++]=t>>>8&255,this.buffer[this.pos++]=255&t}writeUInt24LE(t){this.buffer[this.pos++]=255&t,this.buffer[this.pos++]=t>>>8&255,this.buffer[this.pos++]=t>>>16&255}writeInt24BE(t){t>=0?this.writeUInt24BE(t):this.writeUInt24BE(t+16777215+1)}writeInt24LE(t){t>=0?this.writeUInt24LE(t):this.writeUInt24LE(t+16777215+1)}fill(t,r){if(r>8|(255&a)<<8),n[i]=a}return new Uint8Array(n.buffer)}for(let t of Object.getOwnPropertyNames(DataView.prototype))if("set"===t.slice(0,3)){let r=t.slice(3).replace("Ui","UI");"Float32"===r?r="Float":"Float64"===r&&(r="Double");let n=$8ae20583b93e4933$export$c18b354bac7948e9.TYPES[r];$1ed46182c1410e1d$export$9b4f661deaa36c3e.prototype["write"+r+(1===n?"":"BE")]=function(r){this.view[t](this.pos,r,!1),this.pos+=n},1!==n&&($1ed46182c1410e1d$export$9b4f661deaa36c3e.prototype["write"+r+"LE"]=function(r){this.view[t](this.pos,r,!0),this.pos+=n})}class $8d21f7fa58802901$export$ef88aa0d34c34520{fromBuffer(t){let r=new $8ae20583b93e4933$export$c18b354bac7948e9(t);return this.decode(r)}toBuffer(t){let r=this.size(t),n=new Uint8Array(r),i=new $1ed46182c1410e1d$export$9b4f661deaa36c3e(n);return this.encode(i,t),n}}var a={};$parcel$export(a,"Number",()=>$af65abf7bf65ac42$export$fffa67e515d04022),$parcel$export(a,"uint8",()=>o),$parcel$export(a,"uint16be",()=>s),$parcel$export(a,"uint16",()=>l),$parcel$export(a,"uint16le",()=>u),$parcel$export(a,"uint24be",()=>h),$parcel$export(a,"uint24",()=>p),$parcel$export(a,"uint24le",()=>g),$parcel$export(a,"uint32be",()=>m),$parcel$export(a,"uint32",()=>y),$parcel$export(a,"uint32le",()=>w),$parcel$export(a,"int8",()=>v),$parcel$export(a,"int16be",()=>x),$parcel$export(a,"int16",()=>_),$parcel$export(a,"int16le",()=>S),$parcel$export(a,"int24be",()=>A),$parcel$export(a,"int24",()=>C),$parcel$export(a,"int24le",()=>P),$parcel$export(a,"int32be",()=>k),$parcel$export(a,"int32",()=>T),$parcel$export(a,"int32le",()=>B),$parcel$export(a,"floatbe",()=>I),$parcel$export(a,"float",()=>O),$parcel$export(a,"floatle",()=>R),$parcel$export(a,"doublebe",()=>D),$parcel$export(a,"double",()=>L),$parcel$export(a,"doublele",()=>M),$parcel$export(a,"Fixed",()=>$af65abf7bf65ac42$export$13475bbd2a37a9b4),$parcel$export(a,"fixed16be",()=>N),$parcel$export(a,"fixed16",()=>$),$parcel$export(a,"fixed16le",()=>z),$parcel$export(a,"fixed32be",()=>W),$parcel$export(a,"fixed32",()=>U),$parcel$export(a,"fixed32le",()=>j);class $af65abf7bf65ac42$export$fffa67e515d04022 extends $8d21f7fa58802901$export$ef88aa0d34c34520{constructor(t,r="BE"){super(),this.type=t,this.endian=r,this.fn=this.type,"8"!==this.type[this.type.length-1]&&(this.fn+=this.endian)}size(){return $8ae20583b93e4933$export$c18b354bac7948e9.TYPES[this.type]}decode(t){return t[`read${this.fn}`]()}encode(t,r){return t[`write${this.fn}`](r)}}const o=new $af65abf7bf65ac42$export$fffa67e515d04022("UInt8"),s=new $af65abf7bf65ac42$export$fffa67e515d04022("UInt16","BE"),l=s,u=new $af65abf7bf65ac42$export$fffa67e515d04022("UInt16","LE"),h=new $af65abf7bf65ac42$export$fffa67e515d04022("UInt24","BE"),p=h,g=new $af65abf7bf65ac42$export$fffa67e515d04022("UInt24","LE"),m=new $af65abf7bf65ac42$export$fffa67e515d04022("UInt32","BE"),y=m,w=new $af65abf7bf65ac42$export$fffa67e515d04022("UInt32","LE"),v=new $af65abf7bf65ac42$export$fffa67e515d04022("Int8"),x=new $af65abf7bf65ac42$export$fffa67e515d04022("Int16","BE"),_=x,S=new $af65abf7bf65ac42$export$fffa67e515d04022("Int16","LE"),A=new $af65abf7bf65ac42$export$fffa67e515d04022("Int24","BE"),C=A,P=new $af65abf7bf65ac42$export$fffa67e515d04022("Int24","LE"),k=new $af65abf7bf65ac42$export$fffa67e515d04022("Int32","BE"),T=k,B=new $af65abf7bf65ac42$export$fffa67e515d04022("Int32","LE"),I=new $af65abf7bf65ac42$export$fffa67e515d04022("Float","BE"),O=I,R=new $af65abf7bf65ac42$export$fffa67e515d04022("Float","LE"),D=new $af65abf7bf65ac42$export$fffa67e515d04022("Double","BE"),L=D,M=new $af65abf7bf65ac42$export$fffa67e515d04022("Double","LE");class $af65abf7bf65ac42$export$13475bbd2a37a9b4 extends $af65abf7bf65ac42$export$fffa67e515d04022{constructor(t,r,n=t>>1){super(`Int${t}`,r),this._point=1<$4559ecf940edc78d$export$83b6dc3503c1fda6),$parcel$export(V,"PropertyDescriptor",()=>$4559ecf940edc78d$export$41705b1d644e0f14);class $4559ecf940edc78d$export$41705b1d644e0f14{constructor(t={}){this.enumerable=!0,this.configurable=!0;for(let r in t){const n=t[r];this[r]=n}}}class $8ea28a08eae2a116$export$c4be6576ca6fe4aa extends $8d21f7fa58802901$export$ef88aa0d34c34520{constructor(t,r,n="count"){super(),this.type=t,this.length=r,this.lengthType=n}decode(t,r){let n;const{pos:i}=t,a=[];let o=r;if(null!=this.length&&(n=$4559ecf940edc78d$export$83b6dc3503c1fda6(this.length,t,r)),this.length instanceof $af65abf7bf65ac42$export$fffa67e515d04022&&(Object.defineProperties(a,{parent:{value:r},_startOffset:{value:i},_currentOffset:{value:0,writable:!0},_length:{value:n}}),o=a),null==n||"bytes"===this.lengthType){const i=null!=n?t.pos+n:(null!=r?r._length:void 0)?r._startOffset+r._length:t.length;for(;t.pos=this.length)){if(null==this.items[t]){const{pos:r}=this.stream;this.stream.pos=this.base+this.type.size(null,this.ctx)*t,this.items[t]=this.type.decode(this.stream,this.ctx),this.stream.pos=r}return this.items[t]}}toArray(){const t=[];for(let r=0,n=this.length;r=55296&&i<=56319&&rt&&t[r],a)):i.version=this.type.decode(t),this.versions.header&&this._parseFields(t,i,this.versions.header);const o=this.versions[i.version];if(null==o)throw new Error(`Unknown version ${i.version}`);return o instanceof $fcb208a95f6d048b$export$95a8b60f4da7dec8?o.decode(t,r):(this._parseFields(t,i,o),null!=this.process&&this.process.call(i,t),i)}size(t,r,n=!0){let i,a;if(!t)throw new Error("Not a fixed size");null!=this.preEncode&&this.preEncode.call(t);const o={parent:r,val:t,pointerSize:0};let s=0;if("string"!=typeof this.type&&(s+=this.type.size(t.version,o)),this.versions.header)for(i in this.versions.header)a=this.versions.header[i],null!=a.size&&(s+=a.size(t[i],o));const l=this.versions[t.version];if(null==l)throw new Error(`Unknown version ${t.version}`);for(i in l)a=l[i],null!=a.size&&(s+=a.size(t[i],o));return n&&(s+=o.pointerSize),s}encode(t,r,n){let i,a;null!=this.preEncode&&this.preEncode.call(r,t);const o={pointers:[],startOffset:t.pos,parent:n,val:r,pointerSize:0};if(o.pointerOffset=t.pos+this.size(r,o,!1),"string"!=typeof this.type&&this.type.encode(t,r.version),this.versions.header)for(i in this.versions.header)a=this.versions.header[i],null!=a.encode&&a.encode(t,r[i],o);const s=this.versions[r.version];for(i in s)a=s[i],null!=a.encode&&a.encode(t,r[i],o);let l=0;for(;l$92184962f8f0d5e2$export$b56007f12edf0c17),$parcel$export(G,"VoidPointer",()=>$92184962f8f0d5e2$export$df5cb1f3d04f5a0f);class $92184962f8f0d5e2$export$b56007f12edf0c17 extends $8d21f7fa58802901$export$ef88aa0d34c34520{constructor(t,r,n={}){if(super(),this.offsetType=t,this.type=r,this.options=n,"void"===this.type&&(this.type=null),null==this.options.type&&(this.options.type="local"),null==this.options.allowNull&&(this.options.allowNull=!0),null==this.options.nullValue&&(this.options.nullValue=0),null==this.options.lazy&&(this.options.lazy=!1),this.options.relativeTo){if("function"!=typeof this.options.relativeTo)throw new Error("relativeTo option must be a function");this.relativeToGetter=n.relativeTo}}decode(t,r){const n=this.offsetType.decode(t,r);if(n===this.options.nullValue&&this.options.allowNull)return null;let i;switch(this.options.type){case"local":i=r._startOffset;break;case"immediate":i=t.pos-this.offsetType.size();break;case"parent":i=r.parent._startOffset;break;default:for(var a=r;a.parent;)a=a.parent;i=a._startOffset||0}this.options.relativeTo&&(i+=this.relativeToGetter(r));const o=n+i;if(null!=this.type){let n=null;const decodeValue=()=>{if(null!=n)return n;const{pos:i}=t;return t.pos=o,n=this.type.decode(t,r),t.pos=i,n};return this.options.lazy?new $4559ecf940edc78d$export$41705b1d644e0f14({get:decodeValue}):decodeValue()}return o}size(t,r){const n=r;switch(this.options.type){case"local":case"immediate":break;case"parent":r=r.parent;break;default:for(;r.parent;)r=r.parent}let{type:i}=this;if(null==i){if(!(t instanceof $92184962f8f0d5e2$export$df5cb1f3d04f5a0f))throw new Error("Must be a VoidPointer");({type:i}=t),t=t.value}if(t&&r){let a=i.size(t,n);r.pointerSize+=a}return this.offsetType.size()}encode(t,r,n){let i;const a=n;if(null==r)return void this.offsetType.encode(t,this.options.nullValue);switch(this.options.type){case"local":i=n.startOffset;break;case"immediate":i=t.pos+this.offsetType.size(r,a);break;case"parent":i=(n=n.parent).startOffset;break;default:for(i=0;n.parent;)n=n.parent}this.options.relativeTo&&(i+=this.relativeToGetter(a.val)),this.offsetType.encode(t,n.pointerOffset-i);let{type:o}=this;if(null==o){if(!(r instanceof $92184962f8f0d5e2$export$df5cb1f3d04f5a0f))throw new Error("Must be a VoidPointer");({type:o}=r),r=r.value}return n.pointers.push({type:o,val:r,parent:a}),n.pointerOffset+=o.size(r,a)}}class $92184962f8f0d5e2$export$df5cb1f3d04f5a0f{constructor(t,r){this.type=t,this.value=r}}$parcel$exportWildcard(t.exports,V),$parcel$exportWildcard(t.exports,a),$parcel$exportWildcard(t.exports,G)},5293(t){"use strict";t.exports=Error},5336(t,r,n){"use strict";var i=n(8420),a=n(1212);t.exports=function(t){if("Function"===i(t))return a(t)}},5337(t,r,n){"use strict";var i=n(8115).match(/firefox\/(\d+)/i);t.exports=!!i&&+i[1]},5348(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(3144),n(9064),n(1199),n(4866),n(7493),n(3532),n(9663),n(321),n(3620),n(8692),n(517),n(6174),n(3752),n(8865),n(7331),n(6818),n(2858),n(2073),n(6843),n(1220),n(3701),n(8358),n(4873),n(7705),n(3282),n(4779),n(4540),n(4137),n(9851),n(3324),n(6089),n(3610),n(5464),n(3032),i)},5403(t,r,n){"use strict";function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _defineProperties(t,r){for(var n=0;n2?"one of ".concat(r," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(r," ").concat(t[0]," or ").concat(t[1]):"of ".concat(r," ").concat(t[0])}return"of ".concat(r," ").concat(String(t))}createErrorType("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),createErrorType("ERR_INVALID_ARG_TYPE",function(t,r,a){var o,s;if(void 0===i&&(i=n(7801)),i("string"==typeof t,"'name' must be a string"),"string"==typeof r&&function startsWith(t,r,n){return t.substr(!n||n<0?0:+n,r.length)===r}(r,"not ")?(o="must not be",r=r.replace(/^not /,"")):o="must be",function endsWith(t,r,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-r.length,n)===r}(t," argument"))s="The ".concat(t," ").concat(o," ").concat(oneOf(r,"type"));else{var l=function includes(t,r,n){return"number"!=typeof n&&(n=0),!(n+r.length>t.length)&&-1!==t.indexOf(r,n)}(t,".")?"property":"argument";s='The "'.concat(t,'" ').concat(l," ").concat(o," ").concat(oneOf(r,"type"))}return s+=". Received type ".concat(_typeof(a))},TypeError),createErrorType("ERR_INVALID_ARG_VALUE",function(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===a&&(a=n(7187));var o=a.inspect(r);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(i,". Received ").concat(o)},TypeError,RangeError),createErrorType("ERR_INVALID_RETURN_VALUE",function(t,r,n){var i;return i=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(_typeof(n)),"Expected ".concat(t,' to be returned from the "').concat(r,'"')+" function but got ".concat(i,".")},TypeError),createErrorType("ERR_MISSING_ARGS",function(){for(var t=arguments.length,r=new Array(t),a=0;a0,"At least one arg needs to be specified");var o="The ",s=r.length;switch(r=r.map(function(t){return'"'.concat(t,'"')}),s){case 1:o+="".concat(r[0]," argument");break;case 2:o+="".concat(r[0]," and ").concat(r[1]," arguments");break;default:o+=r.slice(0,s-1).join(", "),o+=", and ".concat(r[s-1]," arguments")}return"".concat(o," must be specified")},TypeError),t.exports.codes=o},5416(t,r,n){"use strict";var i=n(9964);function ownKeys(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function _objectSpread(t){for(var r=1;rt.length)&&(n=t.length),t.substring(n-r.length,n)===r}var s="",l="",u="",h="",p={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function copyError(t){var r=Object.keys(t),n=Object.create(Object.getPrototypeOf(t));return r.forEach(function(r){n[r]=t[r]}),Object.defineProperty(n,"message",{value:t.message}),n}function inspectValue(t){return a(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function createErrDiff(t,r,n){var a="",o="",g=0,m="",y=!1,w=inspectValue(t),v=w.split("\n"),x=inspectValue(r).split("\n"),_=0,S="";if("strictEqual"===n&&"object"===_typeof(t)&&"object"===_typeof(r)&&null!==t&&null!==r&&(n="strictEqualObject"),1===v.length&&1===x.length&&v[0]!==x[0]){var A=v[0].length+x[0].length;if(A<=10){if(!("object"===_typeof(t)&&null!==t||"object"===_typeof(r)&&null!==r||0===t&&0===r))return"".concat(p[n],"\n\n")+"".concat(v[0]," !== ").concat(x[0],"\n")}else if("strictEqualObject"!==n){if(A<(i.stderr&&i.stderr.isTTY?i.stderr.columns:80)){for(;v[0][_]===x[0][_];)_++;_>2&&(S="\n ".concat(function repeat(t,r){if(r=Math.floor(r),0==t.length||0==r)return"";var n=t.length*r;for(r=Math.floor(Math.log(r)/Math.log(2));r;)t+=t,r--;return t+t.substring(0,n-t.length)}(" ",_),"^"),_=0)}}}for(var C=v[v.length-1],P=x[x.length-1];C===P&&(_++<2?m="\n ".concat(C).concat(m):a=C,v.pop(),x.pop(),0!==v.length&&0!==x.length);)C=v[v.length-1],P=x[x.length-1];var k=Math.max(v.length,x.length);if(0===k){var T=w.split("\n");if(T.length>30)for(T[26]="".concat(s,"...").concat(h);T.length>27;)T.pop();return"".concat(p.notIdentical,"\n\n").concat(T.join("\n"),"\n")}_>3&&(m="\n".concat(s,"...").concat(h).concat(m),y=!0),""!==a&&(m="\n ".concat(a).concat(m),a="");var B=0,I=p[n]+"\n".concat(l,"+ actual").concat(h," ").concat(u,"- expected").concat(h),O=" ".concat(s,"...").concat(h," Lines skipped");for(_=0;_1&&_>2&&(R>4?(o+="\n".concat(s,"...").concat(h),y=!0):R>3&&(o+="\n ".concat(x[_-2]),B++),o+="\n ".concat(x[_-1]),B++),g=_,a+="\n".concat(u,"-").concat(h," ").concat(x[_]),B++;else if(x.length<_+1)R>1&&_>2&&(R>4?(o+="\n".concat(s,"...").concat(h),y=!0):R>3&&(o+="\n ".concat(v[_-2]),B++),o+="\n ".concat(v[_-1]),B++),g=_,o+="\n".concat(l,"+").concat(h," ").concat(v[_]),B++;else{var D=x[_],L=v[_],M=L!==D&&(!endsWith(L,",")||L.slice(0,-1)!==D);M&&endsWith(D,",")&&D.slice(0,-1)===L&&(M=!1,L+=","),M?(R>1&&_>2&&(R>4?(o+="\n".concat(s,"...").concat(h),y=!0):R>3&&(o+="\n ".concat(v[_-2]),B++),o+="\n ".concat(v[_-1]),B++),g=_,o+="\n".concat(l,"+").concat(h," ").concat(L),a+="\n".concat(u,"-").concat(h," ").concat(D),B+=2):(o+=a,a="",1!==R&&0!==_||(o+="\n ".concat(L),B++))}if(B>20&&_30)for(_[26]="".concat(s,"...").concat(h);_.length>27;)_.pop();r=1===_.length?n.call(this,"".concat(x," ").concat(_[0])):n.call(this,"".concat(x,"\n\n").concat(_.join("\n"),"\n"))}else{var S=inspectValue(y),A="",C=p[g];"notDeepEqual"===g||"notEqual"===g?(S="".concat(p[g],"\n\n").concat(S)).length>1024&&(S="".concat(S.slice(0,1021),"...")):(A="".concat(inspectValue(w)),S.length>512&&(S="".concat(S.slice(0,509),"...")),A.length>512&&(A="".concat(A.slice(0,509),"...")),"deepEqual"===g||"equal"===g?S="".concat(C,"\n\n").concat(S,"\n\nshould equal\n\n"):A=" ".concat(g," ").concat(A)),r=n.call(this,"".concat(S).concat(A))}return Error.stackTraceLimit=v,r.generatedMessage=!a,Object.defineProperty(_assertThisInitialized(r),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),r.code="ERR_ASSERTION",r.actual=y,r.expected=w,r.operator=g,Error.captureStackTrace&&Error.captureStackTrace(_assertThisInitialized(r),m),r.stack,r.name="AssertionError",_possibleConstructorReturn(r)}return function _createClass(t,r,n){return r&&_defineProperties(t.prototype,r),n&&_defineProperties(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(AssertionError,[{key:"toString",value:function toString(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:r,value:function value(t,r){return a(this,_objectSpread(_objectSpread({},r),{},{customInspect:!1,depth:0}))}}]),AssertionError}(_wrapNativeSuper(Error),a.custom);t.exports=g},5421(t,r,n){"use strict";var i=n(5643),a="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,s=Array.prototype.concat,l=n(9295),u=n(8890)(),defineProperty=function(t,r,n,i){if(r in t)if(!0===i){if(t[r]===n)return}else if("function"!=typeof(a=i)||"[object Function]"!==o.call(a)||!i())return;var a;u?l(t,r,n,!0):l(t,r,n)},defineProperties=function(t,r){var n=arguments.length>2?arguments[2]:{},o=i(r);a&&(o=s.call(o,Object.getOwnPropertySymbols(r)));for(var l=0;l>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],i=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var a=0;a<4;a++)nextState.call(this);for(a=0;a<8;a++)i[a]^=n[a+4&7];if(r){var o=r.words,s=o[0],l=o[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),p=u>>>16|4294901760&h,g=h<<16|65535&u;for(i[0]^=u,i[1]^=p,i[2]^=h,i[3]^=g,i[4]^=u,i[5]^=p,i[6]^=h,i[7]^=g,a=0;a<4;a++)nextState.call(this)}},_doProcessBlock:function(t,r){var n=this._X;nextState.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)a[i]=16711935&(a[i]<<8|a[i]>>>24)|4278255360&(a[i]<<24|a[i]>>>8),t[r+i]^=a[i]},blockSize:4,ivSize:2});function nextState(){for(var t=this._X,r=this._C,n=0;n<8;n++)o[n]=r[n];for(r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0>>0?1:0)|0,this._b=r[7]>>>0>>0?1:0,n=0;n<8;n++){var i=t[n]+r[n],a=65535&i,l=i>>>16,u=((a*a>>>17)+a*l>>>15)+l*l,h=((4294901760&i)*i|0)+((65535&i)*i|0);s[n]=u^h}t[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,t[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,t[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,t[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,t[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,t[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,t[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,t[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=r._createHelper(l)}(),i.RabbitLegacy)},5567(t){"use strict";t.exports=Object.getOwnPropertyDescriptor},5643(t,r,n){"use strict";var i=Array.prototype.slice,a=n(6515),o=Object.keys,s=o?function keys(t){return o(t)}:n(8461),l=Object.keys;s.shim=function shimObjectKeys(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function keys(t){return a(t)?l(i.call(t)):l(t)})}else Object.keys=s;return Object.keys||s},t.exports=s},5691(t,r,n){"use strict";var i=n(783),a=i.Buffer;function copyProps(t,r){for(var n in t)r[n]=t[n]}function SafeBuffer(t,r,n){return a(t,r,n)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?t.exports=i:(copyProps(i,r),r.Buffer=SafeBuffer),copyProps(a,SafeBuffer),SafeBuffer.from=function(t,r,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return a(t,r,n)},SafeBuffer.alloc=function(t,r,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var i=a(t);return void 0!==r?"string"==typeof n?i.fill(r,n):i.fill(r):i.fill(0),i},SafeBuffer.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return a(t)},SafeBuffer.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i.SlowBuffer(t)}},5719(t,r,n){"use strict";var i=n(5144),a=n(2333),o=n(8264);t.exports=i?function(t,r,n){return a.f(t,r,o(1,n))}:function(t,r,n){return t[r]=n,t}},5846(t){"use strict";t.exports=Object},5874(t){"use strict";t.exports=Math.pow},5888(t,r,n){"use strict";var i=n(299),a=n(8681),o=/#|\.prototype\./,isForced=function(t,r){var n=l[s(t)];return n===h||n!==u&&(a(r)?i(r):!!r)},s=isForced.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=isForced.data={},u=isForced.NATIVE="N",h=isForced.POLYFILL="P";t.exports=isForced},5985(t,r,n){"use strict";var i=n(7139),a=n(8681),o=n(9877),s=n(8300),l=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var r=i("Symbol");return a(r)&&o(r.prototype,l(t))}},6016(t,r,n){"use strict";n(8376),n(6401),n(2017);const i=18===new Uint8Array(new Uint32Array([305419896]).buffer)[0],swap=(t,r,n)=>{let i=t[r];t[r]=t[n],t[n]=i};t.exports={swap32LE:t=>{i&&(t=>{const r=t.length;for(let n=0;n>>2]>>>24-s%4*8&255;o=(o+i[a]+l)%256;var u=i[a];i[a]=i[o],i[o]=u}this._i=this._j=0},_doProcessBlock:function(t,r){t[r]^=generateKeystreamWord.call(this)},keySize:8,ivSize:0});function generateKeystreamWord(){for(var t=this._S,r=this._i,n=this._j,i=0,a=0;a<4;a++){n=(n+t[r=(r+1)%256])%256;var o=t[r];t[r]=t[n],t[n]=o,i|=t[(t[r]+t[n])%256]<<24-8*a}return this._i=r,this._j=n,i}t.RC4=r._createHelper(a);var o=n.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)generateKeystreamWord.call(this)}});t.RC4Drop=r._createHelper(o)}(),i.RC4)},6092(t,r,n){var i=n(2736),a=n(2022);void 0===a.pdfMake&&(a.pdfMake=i),t.exports=i},6094(t,r,n){"use strict";var i=n(3381);t.exports=function isTypedArray(t){return!!i(t)}},6174(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(3144),function(t){var r=i,n=r.lib,a=n.WordArray,o=n.Hasher,s=r.x64.Word,l=r.algo,u=[],h=[],p=[];!function(){for(var t=1,r=0,n=0;n<24;n++){u[t+5*r]=(n+1)*(n+2)/2%64;var i=(2*t+3*r)%5;t=r%5,r=i}for(t=0;t<5;t++)for(r=0;r<5;r++)h[t+5*r]=r+(2*t+3*r)%5*5;for(var a=1,o=0;o<24;o++){for(var l=0,g=0,m=0;m<7;m++){if(1&a){var y=(1<>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(D=n[a]).high^=s,D.low^=o}for(var l=0;l<24;l++){for(var m=0;m<5;m++){for(var y=0,w=0,v=0;v<5;v++)y^=(D=n[m+5*v]).high,w^=D.low;var x=g[m];x.high=y,x.low=w}for(m=0;m<5;m++){var _=g[(m+4)%5],S=g[(m+1)%5],A=S.high,C=S.low;for(y=_.high^(A<<1|C>>>31),w=_.low^(C<<1|A>>>31),v=0;v<5;v++)(D=n[m+5*v]).high^=y,D.low^=w}for(var P=1;P<25;P++){var k=(D=n[P]).high,T=D.low,B=u[P];B<32?(y=k<>>32-B,w=T<>>32-B):(y=T<>>64-B,w=k<>>64-B);var I=g[h[P]];I.high=y,I.low=w}var O=g[0],R=n[0];for(O.high=R.high,O.low=R.low,m=0;m<5;m++)for(v=0;v<5;v++){var D=n[P=m+5*v],L=g[P],M=g[(m+1)%5+5*v],N=g[(m+2)%5+5*v];D.high=L.high^~M.high&N.high,D.low=L.low^~M.low&N.low}D=n[0];var $=p[l];D.high^=$.high,D.low^=$.low}},_doFinalize:function(){var r=this._data,n=r.words,i=(this._nDataBytes,8*r.sigBytes),o=32*this.blockSize;n[i>>>5]|=1<<24-i%32,n[(t.ceil((i+1)/o)*o>>>5)-1]|=128,r.sigBytes=4*n.length,this._process();for(var s=this._state,l=this.cfg.outputLength/8,u=l/8,h=[],p=0;p>>24)|4278255360&(m<<24|m>>>8),y=16711935&(y<<8|y>>>24)|4278255360&(y<<24|y>>>8),h.push(y),h.push(m)}return new a.init(h,l)},clone:function(){for(var t=o.clone.call(this),r=t._state=this._state.slice(0),n=0;n<25;n++)r[n]=r[n].clone();return t}});r.SHA3=o._createHelper(m),r.HmacSHA3=o._createHmacHelper(m)}(Math),i.SHA3)},6228(t){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},6255(t,r,n){"use strict";var i=n(8651),a=n(9295),o=n(8890)(),s=n(8109),l=n(6785),u=i("%Math.floor%");t.exports=function setFunctionLength(t,r){if("function"!=typeof t)throw new l("`fn` is not a function");if("number"!=typeof r||r<0||r>4294967295||u(r)!==r)throw new l("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,h=!0;if("length"in t&&s){var p=s(t,"length");p&&!p.configurable&&(i=!1),p&&!p.writable&&(h=!1)}return(i||h||!n)&&(o?a(t,"length",r,!0,!0):a(t,"length",r)),t}},6297(t){"use strict";t.exports=function(t){return null==t}},6341(t,r,n){"use strict";var i=n(1212),a=n(3297),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(t,r){return o(a(t),r)}},6395(t){"use strict";t.exports=function inflate_fast(t,r){var n,i,a,o,s,l,u,h,p,g,m,y,w,v,x,_,S,A,C,P,k,T,B,I,O;n=t.state,i=t.next_in,I=t.input,a=i+(t.avail_in-5),o=t.next_out,O=t.output,s=o-(r-t.avail_out),l=o+(t.avail_out-257),u=n.dmax,h=n.wsize,p=n.whave,g=n.wnext,m=n.window,y=n.hold,w=n.bits,v=n.lencode,x=n.distcode,_=(1<>>=C=A>>>24,w-=C,0===(C=A>>>16&255))O[o++]=65535&A;else{if(!(16&C)){if(64&C){if(32&C){n.mode=12;break e}t.msg="invalid literal/length code",n.mode=30;break e}A=v[(65535&A)+(y&(1<>>=C,w-=C),w<15&&(y+=I[i++]<>>=C=A>>>24,w-=C,16&(C=A>>>16&255)){if(k=65535&A,w<(C&=15)&&(y+=I[i++]<u){t.msg="invalid distance too far back",n.mode=30;break e}if(y>>>=C,w-=C,k>(C=o-s)){if((C=k-C)>p&&n.sane){t.msg="invalid distance too far back",n.mode=30;break e}if(T=0,B=m,0===g){if(T+=h-C,C2;)O[o++]=B[T++],O[o++]=B[T++],O[o++]=B[T++],P-=3;P&&(O[o++]=B[T++],P>1&&(O[o++]=B[T++]))}else{T=o-k;do{O[o++]=O[T++],O[o++]=O[T++],O[o++]=O[T++],P-=3}while(P>2);P&&(O[o++]=O[T++],P>1&&(O[o++]=O[T++]))}break}if(64&C){t.msg="invalid distance code",n.mode=30;break e}A=x[(65535&A)+(y&(1<>3,y&=(1<<(w-=P<<3))-1,t.next_in=i,t.next_out=o,t.avail_in=i1?arguments[1]:void 0,1),n=u(t);if(x)return a(y,this,n,r);var i=this.length,o=s(n),h=0;if(o+r>i)throw new p("Wrong length");for(;h=0&&"[object Function]"===r.call(t.callee)),i}},6521(t,r,n){"use strict";var i=n(5643),a=n(2843)(),o=n(2774),s=n(5846),l=o("Array.prototype.push"),u=o("Object.prototype.propertyIsEnumerable"),h=a?s.getOwnPropertySymbols:null;t.exports=function assign(t,r){if(null==t)throw new TypeError("target must be an object");var n=s(t);if(1===arguments.length)return n;for(var o=1;o0?n:0),!0)},a?a(t.exports,"apply",{value:s}):t.exports.apply=s},6626(t,r,n){"use strict";var i=n(2843);t.exports=function hasToStringTagShams(){return i()&&!!Symbol.toStringTag}},6649(t){"use strict";var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(t){r=!1}t.exports=r},6688(t,r,n){"use strict";var i=n(5049),a=n(6785),o=n(78),s=n(7802);t.exports=function callBindBasic(t){if(t.length<1||"function"!=typeof t[0])throw new a("a function is required");return s(i,o,t)}},6729(t,r,n){"use strict";var i=n(9964),a=n(783).Buffer,o=n(9760).Transform,s=n(2908),l=n(7187),u=n(7801).ok,h=n(783).kMaxLength,p="Cannot create final Buffer. It would be larger than 0x"+h.toString(16)+" bytes";s.Z_MIN_WINDOWBITS=8,s.Z_MAX_WINDOWBITS=15,s.Z_DEFAULT_WINDOWBITS=15,s.Z_MIN_CHUNK=64,s.Z_MAX_CHUNK=1/0,s.Z_DEFAULT_CHUNK=16384,s.Z_MIN_MEMLEVEL=1,s.Z_MAX_MEMLEVEL=9,s.Z_DEFAULT_MEMLEVEL=8,s.Z_MIN_LEVEL=-1,s.Z_MAX_LEVEL=9,s.Z_DEFAULT_LEVEL=s.Z_DEFAULT_COMPRESSION;for(var g=Object.keys(s),m=0;m=h?s=new RangeError(p):r=a.concat(i,o),i=[],t.close(),n(s,r)}t.on("error",function onError(r){t.removeListener("end",onEnd),t.removeListener("readable",flow),n(r)}),t.on("end",onEnd),t.end(r),flow()}function zlibBufferSync(t,r){if("string"==typeof r&&(r=a.from(r)),!a.isBuffer(r))throw new TypeError("Not a string or buffer");var n=t._finishFlushFlag;return t._processChunk(r,n)}function Deflate(t){if(!(this instanceof Deflate))return new Deflate(t);Zlib.call(this,t,s.DEFLATE)}function Inflate(t){if(!(this instanceof Inflate))return new Inflate(t);Zlib.call(this,t,s.INFLATE)}function Gzip(t){if(!(this instanceof Gzip))return new Gzip(t);Zlib.call(this,t,s.GZIP)}function Gunzip(t){if(!(this instanceof Gunzip))return new Gunzip(t);Zlib.call(this,t,s.GUNZIP)}function DeflateRaw(t){if(!(this instanceof DeflateRaw))return new DeflateRaw(t);Zlib.call(this,t,s.DEFLATERAW)}function InflateRaw(t){if(!(this instanceof InflateRaw))return new InflateRaw(t);Zlib.call(this,t,s.INFLATERAW)}function Unzip(t){if(!(this instanceof Unzip))return new Unzip(t);Zlib.call(this,t,s.UNZIP)}function isValidFlushFlag(t){return t===s.Z_NO_FLUSH||t===s.Z_PARTIAL_FLUSH||t===s.Z_SYNC_FLUSH||t===s.Z_FULL_FLUSH||t===s.Z_FINISH||t===s.Z_BLOCK}function Zlib(t,n){var i=this;if(this._opts=t=t||{},this._chunkSize=t.chunkSize||r.Z_DEFAULT_CHUNK,o.call(this,t),t.flush&&!isValidFlushFlag(t.flush))throw new Error("Invalid flush flag: "+t.flush);if(t.finishFlush&&!isValidFlushFlag(t.finishFlush))throw new Error("Invalid flush flag: "+t.finishFlush);if(this._flushFlag=t.flush||s.Z_NO_FLUSH,this._finishFlushFlag=void 0!==t.finishFlush?t.finishFlush:s.Z_FINISH,t.chunkSize&&(t.chunkSizer.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+t.chunkSize);if(t.windowBits&&(t.windowBitsr.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+t.windowBits);if(t.level&&(t.levelr.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+t.level);if(t.memLevel&&(t.memLevelr.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+t.memLevel);if(t.strategy&&t.strategy!=r.Z_FILTERED&&t.strategy!=r.Z_HUFFMAN_ONLY&&t.strategy!=r.Z_RLE&&t.strategy!=r.Z_FIXED&&t.strategy!=r.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+t.strategy);if(t.dictionary&&!a.isBuffer(t.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new s.Zlib(n);var l=this;this._hadError=!1,this._handle.onerror=function(t,n){_close(l),l._hadError=!0;var i=new Error(t);i.errno=n,i.code=r.codes[n],l.emit("error",i)};var u=r.Z_DEFAULT_COMPRESSION;"number"==typeof t.level&&(u=t.level);var h=r.Z_DEFAULT_STRATEGY;"number"==typeof t.strategy&&(h=t.strategy),this._handle.init(t.windowBits||r.Z_DEFAULT_WINDOWBITS,u,t.memLevel||r.Z_DEFAULT_MEMLEVEL,h,t.dictionary),this._buffer=a.allocUnsafe(this._chunkSize),this._offset=0,this._level=u,this._strategy=h,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!i._handle},configurable:!0,enumerable:!0})}function _close(t,r){r&&i.nextTick(r),t._handle&&(t._handle.close(),t._handle=null)}function emitCloseNT(t){t.emit("close")}Object.defineProperty(r,"codes",{enumerable:!0,value:Object.freeze(w),writable:!1}),r.Deflate=Deflate,r.Inflate=Inflate,r.Gzip=Gzip,r.Gunzip=Gunzip,r.DeflateRaw=DeflateRaw,r.InflateRaw=InflateRaw,r.Unzip=Unzip,r.createDeflate=function(t){return new Deflate(t)},r.createInflate=function(t){return new Inflate(t)},r.createDeflateRaw=function(t){return new DeflateRaw(t)},r.createInflateRaw=function(t){return new InflateRaw(t)},r.createGzip=function(t){return new Gzip(t)},r.createGunzip=function(t){return new Gunzip(t)},r.createUnzip=function(t){return new Unzip(t)},r.deflate=function(t,r,n){return"function"==typeof r&&(n=r,r={}),zlibBuffer(new Deflate(r),t,n)},r.deflateSync=function(t,r){return zlibBufferSync(new Deflate(r),t)},r.gzip=function(t,r,n){return"function"==typeof r&&(n=r,r={}),zlibBuffer(new Gzip(r),t,n)},r.gzipSync=function(t,r){return zlibBufferSync(new Gzip(r),t)},r.deflateRaw=function(t,r,n){return"function"==typeof r&&(n=r,r={}),zlibBuffer(new DeflateRaw(r),t,n)},r.deflateRawSync=function(t,r){return zlibBufferSync(new DeflateRaw(r),t)},r.unzip=function(t,r,n){return"function"==typeof r&&(n=r,r={}),zlibBuffer(new Unzip(r),t,n)},r.unzipSync=function(t,r){return zlibBufferSync(new Unzip(r),t)},r.inflate=function(t,r,n){return"function"==typeof r&&(n=r,r={}),zlibBuffer(new Inflate(r),t,n)},r.inflateSync=function(t,r){return zlibBufferSync(new Inflate(r),t)},r.gunzip=function(t,r,n){return"function"==typeof r&&(n=r,r={}),zlibBuffer(new Gunzip(r),t,n)},r.gunzipSync=function(t,r){return zlibBufferSync(new Gunzip(r),t)},r.inflateRaw=function(t,r,n){return"function"==typeof r&&(n=r,r={}),zlibBuffer(new InflateRaw(r),t,n)},r.inflateRawSync=function(t,r){return zlibBufferSync(new InflateRaw(r),t)},l.inherits(Zlib,o),Zlib.prototype.params=function(t,n,a){if(tr.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+t);if(n!=r.Z_FILTERED&&n!=r.Z_HUFFMAN_ONLY&&n!=r.Z_RLE&&n!=r.Z_FIXED&&n!=r.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+n);if(this._level!==t||this._strategy!==n){var o=this;this.flush(s.Z_SYNC_FLUSH,function(){u(o._handle,"zlib binding closed"),o._handle.params(t,n),o._hadError||(o._level=t,o._strategy=n,a&&a())})}else i.nextTick(a)},Zlib.prototype.reset=function(){return u(this._handle,"zlib binding closed"),this._handle.reset()},Zlib.prototype._flush=function(t){this._transform(a.alloc(0),"",t)},Zlib.prototype.flush=function(t,r){var n=this,o=this._writableState;("function"==typeof t||void 0===t&&!r)&&(r=t,t=s.Z_FULL_FLUSH),o.ended?r&&i.nextTick(r):o.ending?r&&this.once("end",r):o.needDrain?r&&this.once("drain",function(){return n.flush(t,r)}):(this._flushFlag=t,this.write(a.alloc(0),"",r))},Zlib.prototype.close=function(t){_close(this,t),i.nextTick(emitCloseNT,this)},Zlib.prototype._transform=function(t,r,n){var i,o=this._writableState,l=(o.ending||o.ended)&&(!t||o.length===t.length);return null===t||a.isBuffer(t)?this._handle?(l?i=this._finishFlushFlag:(i=this._flushFlag,t.length>=o.length&&(this._flushFlag=this._opts.flush||s.Z_NO_FLUSH)),void this._processChunk(t,i,n)):n(new Error("zlib binding closed")):n(new Error("invalid input"))},Zlib.prototype._processChunk=function(t,r,n){var i=t&&t.length,o=this._chunkSize-this._offset,s=0,l=this,g="function"==typeof n;if(!g){var m,y=[],w=0;this.on("error",function(t){m=t}),u(this._handle,"zlib binding closed");do{var v=this._handle.writeSync(r,t,s,i,this._buffer,this._offset,o)}while(!this._hadError&&callback(v[0],v[1]));if(this._hadError)throw m;if(w>=h)throw _close(this),new RangeError(p);var x=a.concat(y,w);return _close(this),x}u(this._handle,"zlib binding closed");var _=this._handle.write(r,t,s,i,this._buffer,this._offset,o);function callback(h,p){if(this&&(this.buffer=null,this.callback=null),!l._hadError){var m=o-p;if(u(m>=0,"have should not go down"),m>0){var v=l._buffer.slice(l._offset,l._offset+m);l._offset+=m,g?l.push(v):(y.push(v),w+=v.length)}if((0===p||l._offset>=l._chunkSize)&&(o=l._chunkSize,l._offset=0,l._buffer=a.allocUnsafe(l._chunkSize)),0===p){if(s+=i-h,i=h,!g)return!0;var x=l._handle.write(r,t,s,i,l._buffer,l._offset,l._chunkSize);return x.callback=callback,void(x.buffer=t)}if(!g)return!1;n()}}_.buffer=t,_.callback=callback},l.inherits(Deflate,Zlib),l.inherits(Inflate,Zlib),l.inherits(Gzip,Zlib),l.inherits(Gunzip,Zlib),l.inherits(DeflateRaw,Zlib),l.inherits(InflateRaw,Zlib),l.inherits(Unzip,Zlib)},6781(t,r,n){"use strict";function _slicedToArray(t,r){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,a,o,s,l=[],u=!0,h=!1;try{if(o=(n=n.call(t)).next,0===r){if(Object(n)!==n)return;u=!1}else for(;!(u=(i=o.call(n)).done)&&(l.push(i.value),l.length!==r);u=!0);}catch(t){h=!0,a=t}finally{try{if(!u&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(h)throw a}}return l}}(t,r)||function _unsupportedIterableToArray(t,r){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(t,r)}(t,r)||function _nonIterableRest(){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 _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n10)return!0;for(var r=0;r57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function getOwnNonIndexProperties(t){return Object.keys(t).filter(isNonIndex).concat(l(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function compare(t,r){if(t===r)return 0;for(var n=t.length,i=r.length,a=0,o=Math.min(n,i);aa});var i=n(783).Buffer;const normalizeFilename=t=>(0===t.indexOf("/")&&(t=t.substring(1)),0===t.indexOf("/")&&(t=t.substring(1)),t);const a=new class VirtualFileSystem{constructor(){this.storage={}}existsSync(t){const r=normalizeFilename(t);return void 0!==this.storage[r]}readFileSync(t,r){const n=normalizeFilename(t),i="object"==typeof r?r.encoding:r;if(!this.existsSync(n))throw new Error(`File '${n}' not found in virtual file system`);const a=this.storage[n];return i?a.toString(i):a}writeFileSync(t,r,n){const a=normalizeFilename(t),o="object"==typeof n?n.encoding:n;if(!r&&!n)throw new Error("No content");this.storage[a]=o||"string"==typeof r?new i(r,o):r}}},6818(t,r,n){"use strict";var i,a,o,s,l,u,h,p;t.exports=(p=n(6861),n(9663),n(8865),a=(i=p).lib,o=a.Base,s=a.WordArray,l=i.algo,u=l.MD5,h=l.EvpKDF=o.extend({cfg:o.extend({keySize:4,hasher:u,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,r){for(var n,i=this.cfg,a=i.hasher.create(),o=s.create(),l=o.words,u=i.keySize,h=i.iterations;l.length>>2]>>>24-o%4*8&255;r[i+o>>>2]|=s<<24-(i+o)%4*8}else for(var l=0;l>>2]=n[l>>>2];return this.sigBytes+=a,this},clamp:function(){var r=this.words,n=this.sigBytes;r[n>>>2]&=4294967295<<32-n%4*8,r.length=t.ceil(n/4)},clone:function(){var t=l.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var r=[],n=0;n>>2]>>>24-a%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var r=t.length,n=[],i=0;i>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new u.init(n,r/2)}},g=h.Latin1={stringify:function(t){for(var r=t.words,n=t.sigBytes,i=[],a=0;a>>2]>>>24-a%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var r=t.length,n=[],i=0;i>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new u.init(n,r)}},m=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(g.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return g.parse(unescape(encodeURIComponent(t)))}},y=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=m.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(r){var n,i=this._data,a=i.words,o=i.sigBytes,s=this.blockSize,l=o/(4*s),h=(l=r?t.ceil(l):t.max((0|l)-this._minBufferSize,0))*s,p=t.min(4*h,o);if(h){for(var g=0;g>>16&65535,s=0;0!==n;){n-=s=n>2e3?2e3:n;do{o=o+(a=a+r[i++]|0)|0}while(--s);a%=65521,o%=65521}return a|o<<16}},6921(t,r,n){"use strict";var i,a,o,s=n(1194),l=n(7756),u=n(3598),h=n(5719),p=n(6341),g=n(3793),m=n(7099),y=n(2993),w="Object already initialized",v=l.TypeError,x=l.WeakMap;if(s||g.state){var _=g.state||(g.state=new x);_.get=_.get,_.has=_.has,_.set=_.set,i=function(t,r){if(_.has(t))throw new v(w);return r.facade=t,_.set(t,r),r},a=function(t){return _.get(t)||{}},o=function(t){return _.has(t)}}else{var S=m("state");y[S]=!0,i=function(t,r){if(p(t,S))throw new v(w);return r.facade=t,h(t,S,r),r},a=function(t){return p(t,S)?t[S]:{}},o=function(t){return p(t,S)}}t.exports={set:i,get:a,has:o,enforce:function(t){return o(t)?a(t):i(t,{})},getterFor:function(t){return function(r){var n;if(!u(r)||(n=a(r)).type!==t)throw new v("Incompatible receiver, "+t+" required");return n}}}},7043(t,r){r.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,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,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,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,1,1,1,1,1,1,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,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,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,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,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,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,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,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,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,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,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,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,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,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,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,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),r.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512])},7051(t,r,n){"use strict";var i=n(6601),a=n(5421),o=n(2621),s=n(1320),l=n(5074),u=i(s(),Number);a(u,{getPolyfill:s,implementation:o,shim:l}),t.exports=u},7099(t,r,n){"use strict";var i=n(997),a=n(6044),o=i("keys");t.exports=function(t){return o[t]||(o[t]=a(t))}},7106(t,r,n){"use strict";var i=n(6822),a=n(3766),o=n(9302);t.exports=i?function getProto(t){return i(t)}:a?function getProto(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("getProto: not an object");return a(t)}:o?function getProto(t){return o(t)}:null},7133(t,r,n){"use strict";n.d(r,{default:()=>me});var i=n(3232),a=n(783).Buffer;class PDFDocument extends i.A{constructor(t,r,n,i,a,o){void 0===t&&(t={}),void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i={}),void 0===a&&(a={}),void 0===o&&(o=null),super(a),this.fonts={},this.fontCache={};for(let r in t)if(t.hasOwnProperty(r)){let n=t[r];this.fonts[r]={normal:n.normal,bold:n.bold,italics:n.italics,bolditalics:n.bolditalics}}this.patterns={};for(let t in n)if(n.hasOwnProperty(t)){let r=n[t];this.patterns[t]=this.pattern(r.boundingBox,r.xStep,r.yStep,r.pattern,r.colored)}this.images=r,this.attachments=i,this.virtualfs=o}getFontType(t,r){return((t,r)=>{let n="normal";return t&&r?n="bolditalics":t?n="bold":r&&(n="italics"),n})(t,r)}getFontFile(t,r,n){let i=this.getFontType(r,n);return this.fonts[t]&&this.fonts[t][i]?this.fonts[t][i]:null}provideFont(t,r,n){let i=this.getFontType(r,n);if(null===this.getFontFile(t,r,n))throw new Error(`Font '${t}' in style '${i}' is not defined in the font section of the document definition.`);if(this.fontCache[t]=this.fontCache[t]||{},!this.fontCache[t][i]){let r=this.fonts[t][i];Array.isArray(r)||(r=[r]),this.virtualfs&&this.virtualfs.existsSync(r[0])&&(r[0]=this.virtualfs.readFileSync(r[0])),this.fontCache[t][i]=this.font(...r)._font}return this.fontCache[t][i]}provideImage(t){const realImageSrc=t=>{let r=this.images[t];if(!r)return t;if(this.virtualfs&&this.virtualfs.existsSync(r))return this.virtualfs.readFileSync(r);let n=r.indexOf("base64,");return n<0?this.images[t]:a.from(r.substring(n+7),"base64")};if(this._imageRegistry[t])return this._imageRegistry[t];let r;try{if(r=this.openImage(realImageSrc(t)),!r)throw new Error("No image")}catch(t){throw new Error(`Invalid image: ${t.toString()}\nImages dictionary should contain dataURL entries (or local file paths in node.js)`)}return r.embed(this),this._imageRegistry[t]=r,r}providePattern(t){return Array.isArray(t)&&2===t.length?[this.patterns[t[0]],t[1]]:null}provideAttachment(t){const checkRequired=t=>{if(!t)throw new Error("No attachment");if(!t.src)throw new Error('The "src" key is required for attachments');return t};if("object"==typeof t)return checkRequired(t);let r=checkRequired(this.attachments[t]);return this.virtualfs&&this.virtualfs.existsSync(r.src)?this.virtualfs.readFileSync(r.src):r}setOpenActionAsPrint(){let t=this.ref({Type:"Action",S:"Named",N:"Print"});this._root.data.OpenAction=t,t.end()}}const o=PDFDocument;function isString(t){return"string"==typeof t||t instanceof String}function isNumber(t){return("number"==typeof t||t instanceof Number)&&!Number.isNaN(t)}function isPositiveInteger(t){return!(!isNumber(t)||!Number.isInteger(t)||t<=0)}function isObject(t){return null!==t&&!Array.isArray(t)&&!isString(t)&&!isNumber(t)&&"object"==typeof t}function isEmptyObject(t){return isObject(t)&&0===Object.keys(t).length}function isValue(t){return null!=t}function fontStringify(t,r){return"font"===t?"font":r}function stringifyNode(t){return JSON.stringify(t,fontStringify)}function getNodeId(t){if(t.id)return t.id;if(Array.isArray(t.text))for(let r of t.text){let t=getNodeId(r);if(t)return t}return null}var s=n(783).Buffer;const convertValueToString=t=>isString(t)?t.replace(/\t/g," "):isNumber(t)||"boolean"==typeof t?t.toString():!isValue(t)||isEmptyObject(t)?"":t;const l=class DocPreprocessor{preprocessDocument(t){return this.parentNode=null,this.tocs=[],this.nodeReferences=[],this.preprocessNode(t,!0)}preprocessBlock(t){return this.parentNode=null,this.tocs=[],this.nodeReferences=[],this.preprocessNode(t)}preprocessNode(t,r){if(void 0===r&&(r=!1),Array.isArray(t)?t={stack:t}:isString(t)||isNumber(t)||"boolean"==typeof t||!isValue(t)||isEmptyObject(t)?t={text:convertValueToString(t)}:"text"in t&&(t.text=convertValueToString(t.text)),t.section){if(!r)throw new Error(`Incorrect document structure, section node is only allowed at the root level of document structure: ${stringifyNode(t)}`);return this.preprocessSection(t)}if(t.columns)return this.preprocessColumns(t);if(t.stack)return this.preprocessVerticalContainer(t,r);if(t.ul)return this.preprocessList(t);if(t.ol)return this.preprocessList(t);if(t.table)return this.preprocessTable(t);if(void 0!==t.text)return this.preprocessText(t);if(t.toc)return this.preprocessToc(t);if(t.image)return this.preprocessImage(t);if(t.svg)return this.preprocessSVG(t);if(t.canvas)return this.preprocessCanvas(t);if(t.qr)return this.preprocessQr(t);if(t.attachment)return this.preprocessAttachment(t);if(t.pageReference||t.textReference)return this.preprocessText(t);throw new Error(`Unrecognized document structure: ${stringifyNode(t)}`)}preprocessSection(t){return t.section=this.preprocessNode(t.section),t}preprocessColumns(t){let r=t.columns;for(let t=0,n=r.length;t{t.styleOverrides.push(r)}),t}push(t){this.styleOverrides.push(t)}pop(t){for(void 0===t&&(t=1);t-- >0;)this.styleOverrides.pop()}autopush(t){if(isString(t))return 0;if(void 0!==t.section)return 0;let r=[];t.style&&(r=Array.isArray(t.style)?t.style:[t.style]);for(let t=0,n=r.length;t0&&this.pop(n),i}getProperty(t){var r=this;const getStylePropertyFromStyle=function(t,n,i){if(void 0===i&&(i=new Set),i.has(t))return;i.add(t);const a=r.styleDictionary[t];if(a){if(isValue(a[n]))return a[n];if(a.extends){let t=Array.isArray(a.extends)?a.extends:[a.extends];for(let r=t.length-1;r>=0;r--){let a=getStylePropertyFromStyle(t[r],n,i);if(isValue(a))return a}}}};if(this.styleOverrides)for(let r=this.styleOverrides.length-1;r>=0;r--){let n=this.styleOverrides[r];if(isString(n)){let r=getStylePropertyFromStyle(n,t);if(isValue(r))return r}else if(isValue(n[t]))return n[t]}return this.defaultStyle&&this.defaultStyle[t]}static getStyleProperty(t,r,n,i){let a;return isValue(t[n])?t[n]:r?(r.auto(t,()=>{a=r.getProperty(n)}),isValue(a)?a:i):i}static copyStyle(t,r){void 0===t&&(t={}),void 0===r&&(r={});for(let n in t)"text"!=n&&t.hasOwnProperty(n)&&(r[n]=t[n]);return r}}const y=StyleContextStack,splitWords=function(t,r,n){void 0===n&&(n=!1);let i=[];if(t=null==t?"":String(t),r)return i.push({text:t}),i;if(n)return t.split("").map(t=>t.match(/^\n$|^\r$/)?{text:"",lineEnd:!0}:{text:t});if(0===t.length)return i.push({text:""}),i;let a,o=new p(t),s=0;for(;a=o.nextBreak();){let r=t.slice(s,a.position);a.required||r.match(/\r?\n$|\r$/)?(r=r.replace(/\r?\n$|\r$/,""),i.push({text:r,lineEnd:!0})):i.push({text:r}),s=a.position}return i},getFirstWord=(t,r)=>{let n=t[0];if(void 0===n)return null;if(r){let t=splitWords(n.text,!1);if(void 0===t[0])return null;n=t[0]}return n.text},getLastWord=(t,r)=>{let n=t[t.length-1];if(void 0===n)return null;if(n.lineEnd)return null;if(r){let t=splitWords(n.text,!1);if(void 0===t[t.length-1])return null;n=t[t.length-1]}return n.text};const w=class TextBreaker{getBreaks(t,r){let n=[];Array.isArray(t)||(t=[t]);let i=null;for(let a=0,o=t.length;aMath.max(0,t.width-t.leadingCut-t.trailingCut);let n,i=0,a=0,o=(s=t,Array.isArray(s)||(s=[s]),function flatten(t){return t.reduce((t,r)=>{let n=Array.isArray(r.text)?flatten(r.text):r,i=[].concat(n).some(Array.isArray);return t.concat(i?flatten(n):n)},[])}(s));var s;let l=(new w).getBreaks(o,r),u=this.measure(l,r);return u.forEach(t=>{i=Math.max(i,getTrimmedWidth(t)),n||(n={width:0,leadingCut:t.leadingCut,trailingCut:0}),n.width+=t.width,n.trailingCut=t.trailingCut,a=Math.max(a,getTrimmedWidth(n)),t.lineEnd&&(n=null)}),y.getStyleProperty({},r,"noWrap",!1)&&(i=a),{items:u,minWidth:i,maxWidth:a}}measure(t,r){if(t.length){let n=y.getStyleProperty(t[0],r,"leadingIndent",0);n&&(t[0].leadingCut=-n,t[0].leadingIndent=n)}return t.forEach(t=>{let n=y.getStyleProperty(t,r,"font","Roboto"),i=y.getStyleProperty(t,r,"bold",!1),a=y.getStyleProperty(t,r,"italics",!1);t.font=this.pdfDocument.provideFont(n,i,a),t.alignment=y.getStyleProperty(t,r,"alignment","left"),t.fontSize=y.getStyleProperty(t,r,"fontSize",12),t.fontFeatures=y.getStyleProperty(t,r,"fontFeatures",null),t.characterSpacing=y.getStyleProperty(t,r,"characterSpacing",0),t.color=y.getStyleProperty(t,r,"color","black"),t.decoration=y.getStyleProperty(t,r,"decoration",null),t.decorationColor=y.getStyleProperty(t,r,"decorationColor",null),t.decorationStyle=y.getStyleProperty(t,r,"decorationStyle",null),t.decorationThickness=y.getStyleProperty(t,r,"decorationThickness",null),t.background=y.getStyleProperty(t,r,"background",null),t.link=y.getStyleProperty(t,r,"link",null),t.linkToPage=y.getStyleProperty(t,r,"linkToPage",null),t.linkToDestination=y.getStyleProperty(t,r,"linkToDestination",null),t.noWrap=y.getStyleProperty(t,r,"noWrap",null),t.opacity=y.getStyleProperty(t,r,"opacity",1),t.sup=y.getStyleProperty(t,r,"sup",!1),t.sub=y.getStyleProperty(t,r,"sub",!1),(t.sup||t.sub)&&(t.fontSize*=.58);let o=y.getStyleProperty(t,r,"lineHeight",1);if(t.width=this.widthOfText(t.text,t),t.height=t.font.lineHeight(t.fontSize)*o,t.leadingCut||(t.leadingCut=0),!y.getStyleProperty(t,r,"preserveLeadingSpaces",!1)){let r=t.text.match(v);r&&(t.leadingCut+=this.widthOfText(r[0],t))}if(t.trailingCut=0,!y.getStyleProperty(t,r,"preserveTrailingSpaces",!1)){let r=t.text.match(x);r&&(t.trailingCut=this.widthOfText(r[0],t))}},this),t}widthOfText(t,r){return r.font.widthOfString(t,r.fontSize,r.fontFeatures)+(r.characterSpacing||0)*(t.length-1)}sizeOfText(t,r){let n=y.getStyleProperty({},r,"font","Roboto"),i=y.getStyleProperty({},r,"fontSize",12),a=y.getStyleProperty({},r,"fontFeatures",null),o=y.getStyleProperty({},r,"bold",!1),s=y.getStyleProperty({},r,"italics",!1),l=y.getStyleProperty({},r,"lineHeight",1),u=y.getStyleProperty({},r,"characterSpacing",0),h=this.pdfDocument.provideFont(n,o,s);return{width:this.widthOfText(t,{font:h,fontSize:i,characterSpacing:u,fontFeatures:a}),height:h.lineHeight(i)*l,fontSize:i,lineHeight:l,ascender:h.ascender/1e3*i,descender:h.descender/1e3*i}}sizeOfRotatedText(t,r,n){let i=r*Math.PI/-180,a=this.sizeOfText(t,n);return{width:Math.abs(a.height*Math.sin(i))+Math.abs(a.width*Math.cos(i)),height:Math.abs(a.width*Math.sin(i))+Math.abs(a.height*Math.cos(i))}}};function isAutoColumn(t){return"auto"===t.width}function isStarColumn(t){return null===t.width||void 0===t.width||"*"===t.width||"star"===t.width}const S={buildColumnWidths:function buildColumnWidths(t,r,n,i){void 0===n&&(n=0);let a=[],o=0,s=0,l=[],u=0,h=0,p=[],g=r;t.forEach(t=>{isAutoColumn(t)?(a.push(t),o+=t._minWidth,s+=t._maxWidth):isStarColumn(t)?(l.push(t),u=Math.max(u,t._minWidth),h=Math.max(h,t._maxWidth)):p.push(t)}),p.forEach((t,a)=>{if(isString(t.width)&&/\d+%/.test(t.width)){let r=0;if(i){const t=i._layout.paddingLeft(a,i),n=i._layout.paddingRight(a,i),o=i._layout.vLineWidth(a,i),s=i._layout.vLineWidth(a+1,i);r=0===a?t+n+o+s/2:a===p.length-1?t+n+o/2+s:t+n+o/2+s/2}const o=g+n;t.width=parseFloat(t.width)*o/100-r}t.width=r)a.forEach(t=>{t._calcWidth=t._minWidth}),l.forEach(t=>{t._calcWidth=u});else{if(y{t._calcWidth=t._maxWidth,r-=t._calcWidth});else{let t=r-m,n=y-m;a.forEach(i=>{let a=i._maxWidth-i._minWidth;i._calcWidth=i._minWidth+a*t/n,r-=i._calcWidth})}if(l.length>0){let t=r/l.length;l.forEach(r=>{r._calcWidth=t})}}},measureMinMax:function measureMinMax(t){let r={min:0,max:0},n={min:0,max:0},i=0;for(let a=0,o=t.length;a0,vLineWidth:t=>0,paddingLeft:t=>t?4:0,paddingRight:(t,r)=>t0===t||t===r.table.body.length?0:t===r.table.headerRows?2:0,vLineWidth:t=>0,paddingLeft:t=>0===t?0:8,paddingRight:(t,r)=>t===r.table.widths.length-1?0:8},lightHorizontalLines:{hLineWidth:(t,r)=>0===t||t===r.table.body.length?0:t===r.table.headerRows?2:1,vLineWidth:t=>0,hLineColor:t=>1===t?"black":"#aaa",paddingLeft:t=>0===t?0:8,paddingRight:(t,r)=>t===r.table.widths.length-1?0:8}},C={hLineWidth:(t,r)=>1,vLineWidth:(t,r)=>1,hLineColor:(t,r)=>"black",vLineColor:(t,r)=>"black",hLineStyle:(t,r)=>null,vLineStyle:(t,r)=>null,paddingLeft:(t,r)=>4,paddingRight:(t,r)=>4,paddingTop:(t,r)=>2,paddingBottom:(t,r)=>2,fillColor:(t,r)=>null,fillOpacity:(t,r)=>1,defaultBorder:!0};function pack(){let t={};for(let r=0,n=arguments.length;rJSON.parse(JSON.stringify(t))}for(var P=[null,[[10,7,17,13],[1,1,1,1],[]],[[16,10,28,22],[1,1,1,1],[4,16]],[[26,15,22,18],[1,1,2,2],[4,20]],[[18,20,16,26],[2,1,4,2],[4,24]],[[24,26,22,18],[2,1,4,4],[4,28]],[[16,18,28,24],[4,2,4,4],[4,32]],[[18,20,26,18],[4,2,5,6],[4,20,36]],[[22,24,26,22],[4,2,6,6],[4,22,40]],[[22,30,24,20],[5,2,8,8],[4,24,44]],[[26,18,28,24],[5,4,8,8],[4,26,48]],[[30,20,24,28],[5,4,11,8],[4,28,52]],[[22,24,28,26],[8,4,11,10],[4,30,56]],[[22,26,22,24],[9,4,16,12],[4,32,60]],[[24,30,24,20],[9,4,16,16],[4,24,44,64]],[[24,22,24,30],[10,6,18,12],[4,24,46,68]],[[28,24,30,24],[10,6,16,17],[4,24,48,72]],[[28,28,28,28],[11,6,19,16],[4,28,52,76]],[[26,30,28,28],[13,6,21,18],[4,28,54,80]],[[26,28,26,26],[14,7,25,21],[4,28,56,84]],[[26,28,28,30],[16,8,25,20],[4,32,60,88]],[[26,28,30,28],[17,8,25,23],[4,26,48,70,92]],[[28,28,24,30],[17,9,34,23],[4,24,48,72,96]],[[28,30,30,30],[18,9,30,25],[4,28,52,76,100]],[[28,30,30,30],[20,10,32,27],[4,26,52,78,104]],[[28,26,30,30],[21,12,35,29],[4,30,56,82,108]],[[28,28,30,28],[23,12,37,34],[4,28,56,84,112]],[[28,30,30,30],[25,12,40,34],[4,32,60,88,116]],[[28,30,30,30],[26,13,42,35],[4,24,48,72,96,120]],[[28,30,30,30],[28,14,45,38],[4,28,52,76,100,124]],[[28,30,30,30],[29,15,48,40],[4,24,50,76,102,128]],[[28,30,30,30],[31,16,51,43],[4,28,54,80,106,132]],[[28,30,30,30],[33,17,54,45],[4,32,58,84,110,136]],[[28,30,30,30],[35,18,57,48],[4,28,56,84,112,140]],[[28,30,30,30],[37,19,60,51],[4,32,60,88,116,144]],[[28,30,30,30],[38,19,63,53],[4,28,52,76,100,124,148]],[[28,30,30,30],[40,20,66,56],[4,22,48,74,100,126,152]],[[28,30,30,30],[43,21,70,59],[4,26,52,78,104,130,156]],[[28,30,30,30],[45,22,74,62],[4,30,56,82,108,134,160]],[[28,30,30,30],[47,24,77,65],[4,24,52,80,108,136,164]],[[28,30,30,30],[49,25,81,68],[4,28,56,84,112,140,168]]],k=/^\d*$/,T=/^[A-Za-z0-9 $%*+\-./:]*$/,B=/^[A-Z0-9 $%*+\-./:]*$/,I=[],O=[-1],R=0,D=1;R<255;++R)I.push(D),O[D]=R,D=2*D^(D>=128?285:0);var L=[[]];for(R=0;R<30;++R){for(var M=L[R],N=[],$=0;$<=R;++$){var z=$6},ndatabits=function(t,r){var n=-8&function(t){var r=P[t],n=16*t*t+128*t+64;return needsverinfo(t)&&(n-=36),r[2].length&&(n-=25*r[2].length*r[2].length-10*r[2].length-55),n}(t),i=P[t];return n-=8*i[0][r]*i[1][r]},ndatalenbits=function(t,r){switch(r){case 1:return t<10?10:t<27?12:14;case 2:return t<10?9:t<27?11:13;case 4:return t<10?8:16;case 8:return t<10?8:t<27?10:12}},getmaxdatalen=function(t,r,n){var i=ndatabits(t,n)-4-ndatalenbits(t,r);switch(r){case 1:return 3*(i/10|0)+(i%10<4?0:i%10<7?1:2);case 2:return 2*(i/11|0)+(i%11<6?0:1);case 4:return i/8|0;case 8:return i/13|0}},calculateecc=function(t,r){for(var n=t.slice(0),i=t.length,a=r.length,o=0;o=0)for(var l=0;l=0;--o)a>>i+o&1&&(a^=n<>s&1}return t},evaluatematrix=function(t){for(var evaluategroup=function(t){for(var r=0,n=0;n=5&&(r+=t[n]-5+3);for(n=5;n=4*i||t[n+1]>=4*i)&&(r+=40)}return r},r=t.length,n=0,i=0,a=0;a=s){for(a.push(o|t>>(r-=s));r>=8;)a.push(t>>(r-=8)&255);o=0,s=8}r>0&&(o|=(t&(1<>3);s=function(t,r,n){for(var i=[],a=t.length/r|0,o=0,s=r-t.length%r,l=0;l>u&1,a[t+l][r+u]=1};for(blit(0,0,9,9,[127,65,93,93,93,65,383,0,64]),blit(n-8,0,8,9,[256,127,65,93,93,93,65,127]),blit(0,n-8,9,8,[254,130,186,186,186,130,254,0,0]),o=9;o>g++&1,a[o][n-11+h]=a[n-11+h][o]=1}return{matrix:i,reserved:a}}(r),u=l.matrix,h=l.reserved;if(function(t,r,n){for(var i=t.length,a=0,o=-1,s=i-1;s>=0;s-=2){6==s&&--s;for(var l=o<0?i-1:0,u=0;us-2;--h)r[l][h]||(t[l][h]=n[a>>3]>>(7&~a)&1,++a);l+=o}o=-o}}(u,h,s),a<0){maskdata(u,h,0),putformatinfo(u,0,i,0);var p=0,g=evaluatematrix(u);for(maskdata(u,h,0),a=1;a<8;++a){maskdata(u,h,a),putformatinfo(u,0,i,a);var m=evaluatematrix(u);g>m&&(g=m,p=a),maskdata(u,h,a)}a=p}return maskdata(u,h,a),putformatinfo(u,0,i,a),u};function generateFrame(t,r){var n={numeric:1,alphanumeric:2,octet:4},i={L:1,M:0,Q:3,H:2},a=(r=r||{}).version||-1,o=i[(r.eccLevel||"L").toUpperCase()],s=r.mode?n[r.mode.toLowerCase()]:-1,l="mask"in r?r.mask:-1;if(s<0)s="string"==typeof t?t.match(k)?1:t.match(B)?2:4:4;else if(1!=s&&2!=s&&4!=s)throw"invalid or unsupported mode";if(t=function(t,r){switch(t){case 1:return r.match(k)?r:null;case 2:return r.match(T)?r.toUpperCase():null;case 4:if("string"==typeof r){for(var n=[],i=0;i>6,128|63&a):a<65536?n.push(224|a>>12,128|a>>6&63,128|63&a):n.push(240|a>>18,128|a>>12&63,128|a>>6&63,128|63&a)}return n}return r}}(s,t),null===t)throw"invalid data format";if(o<0||o>3)throw"invalid ECC level";if(a<0){for(a=1;a<=40&&!(t.length<=getmaxdatalen(a,s,o));++a);if(a>40)throw"too large data for the Qr format"}else if(a<1||a>40)throw"invalid Qr version! should be between 1 and 40";if(-1!=l&&(l<0||l>8))throw"invalid mask";return generate(t,a,s,o,l)}const V={measure:function measure(t){var r=function buildCanvas(t,r){var n=[],i=r.background||"#fff",a=r.foreground||"#000",o=r.padding||0,s=generateFrame(t,r),l=s.length,u=Math.floor(r.fit?r.fit/l:5),h=l*u+u*o*2,p=u*o;n.push({type:"rect",x:0,y:0,w:h,h,lineWidth:0,color:i});for(var g=0;g{if(t._margin=function getNodeMargin(t,r){function processSingleMargins(t,r,n){return void 0===n&&(n=0),void 0!==t.marginLeft||void 0!==t.marginTop||void 0!==t.marginRight||void 0!==t.marginBottom?[t.marginLeft??r[0]??n,t.marginTop??r[1]??n,t.marginRight??r[2]??n,t.marginBottom??r[3]??n]:r}function convertMargin(t){return isNumber(t)?t=[t,t,t,t]:Array.isArray(t)&&2===t.length&&(t=[t[0],t[1],t[0],t[1]]),t}let n=[void 0,void 0,void 0,void 0];if(t.style){let i=function flattenStyleArray(t,r,n){if(void 0===n&&(n=new Set),!(t=Array.isArray(t)?t:[t]).every(t=>isString(t)))return{};let i={};for(let a=0;at.fit[0]/t.fit[1]?t.fit[0]/r.width:t.fit[1]/r.height;t._width=t._minWidth=t._maxWidth=r.width*n,t._height=r.height*n}else if(t.cover)t._width=t._minWidth=t._maxWidth=t.cover.width,t._height=t._minHeight=t._maxHeight=t.cover.height;else{let n=r.width/r.height;t._width=t._minWidth=t._maxWidth=t.width||(t.height?t.height*n:r.width),t._height=t.height||(t.width?t.width/n:r.height),isNumber(t.maxWidth)&&t.maxWidtht._width&&(t._width=t._minWidth=t._maxWidth=t.minWidth,t._height=t._width*r.height/r.width),isNumber(t.minHeight)&&t.minHeight>t._height&&(t._height=t.minHeight,t._width=t._minWidth=t._maxWidth=t._height*r.width/r.height)}t._alignment=this.styleStack.getProperty("alignment")}convertIfBase64Image(t){if(/^data:image\/(jpeg|jpg|png);base64,/.test(t.image)){let r="$$pdfmake$$"+this.autoImageIndex++;this.pdfDocument.images[r]=t.image,t.image=r}}measureImage(t){this.convertIfBase64Image(t);let r=this.pdfDocument.provideImage(t.image),n={width:r.width,height:r.height};return r.orientation>4&&(n={width:r.height,height:r.width}),this.measureImageWithDimensions(t,n),t}measureSVG(t){let r=this.svgMeasure.measureSVG(t.svg);if(this.measureImageWithDimensions(t,r),t.font=this.styleStack.getProperty("font"),!isNumber(t._width)&&!isNumber(t._height))throw new Error("SVG is missing defined width and height.");if(!isNumber(t._width))throw new Error("SVG is missing defined width.");if(!isNumber(t._height))throw new Error("SVG is missing defined height.");return t.svg=this.svgMeasure.writeDimensions(t.svg,{width:t._width,height:t._height}),t}measureLeaf(t){t._textRef&&t._textRef._textNodeRef.text&&(t.text=t._textRef._textNodeRef.text);let r=this.styleStack.clone();r.push(t);let n=this.textInlines.buildInlines(t.text,r);return t._inlines=n.items,t._minWidth=n.minWidth,t._maxWidth=n.maxWidth,t}measureToc(t){if(t.toc.title&&(t.toc.title=this.measureNode(t.toc.title)),t.toc._items.length>0){let r=[],n=t.toc.textStyle||{},i=t.toc.numberStyle||n,a=t.toc.textMargin||[0,0,0,0];"title"===t.toc.sortBy&&t.toc._items.sort((r,n)=>r._textNodeRef.text.localeCompare(n._textNodeRef.text,t.toc.sortLocale));for(let o=0,s=t.toc._items.length;o=26?toAlpha((t/26|0)-1):"")+"abcdefghijklmnopqrstuvwxyz"[t%26|0]}(t-1)}function prepareRoman(t){if(t<1||t>4999)return t.toString();let r=t,n={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1},i="";for(let t in n)for(;r>=n[t];)i+=t,r-=n[t];return i}let o;switch(i){case"none":o=null;break;case"upper-alpha":o=prepareAlpha(r).toUpperCase();break;case"lower-alpha":o=prepareAlpha(r);break;case"upper-roman":o=prepareRoman(r);break;case"lower-roman":o=prepareRoman(r).toLowerCase();break;default:o=function prepareDecimal(t){return t.toString()}(r)}if(null===o)return{};a&&(Array.isArray(a)?(a[0]&&(o=a[0]+o),a[1]&&(o+=a[1]),o+=" "):o+=`${a} `);let s={text:o,color:y.getStyleProperty(t,n,"markerColor",void 0)||n.getProperty("color")||"black"};return{_inlines:this.textInlines.buildInlines(s,n).items}}measureUnorderedList(t){let r=this.styleStack.clone(),n=t.ul;t.type=t.type||"disc",t._gapSize=this.gapSizeForList(),t._minWidth=0,t._maxWidth=0;for(let i=0,a=n.length;i0?r.length-1:0;return t._minWidth=n.min+t._gap*i,t._maxWidth=n.max+t._gap*i,t}measureTable(t){!function extendTableWidths(t){t.table.widths||(t.table.widths="auto");if(isString(t.table.widths))for(t.table.widths=[t.table.widths];t.table.widths.length1?(markSpans(a,r,s.colSpan),o.push({col:r,span:s.colSpan,minWidth:s._minWidth,maxWidth:s._maxWidth})):(i._minWidth=Math.max(i._minWidth,s._minWidth),i._maxWidth=Math.max(i._maxWidth,s._maxWidth))),s.rowSpan&&s.rowSpan>1&&markVSpans(t.table,n,r,s.rowSpan)}}!function extendWidthsForColSpans(){let r,n;for(let i=0,a=o.length;i0)for(r=l/a.span,n=0;n0)for(r=u/a.span,n=0;n(isObject(r)&&(r.fillColor=t.styleStack.getProperty("fillColor"),r.fillOpacity=t.styleStack.getProperty("fillOpacity")),t.measureNode(r))}function getMinMax(r,n,i){let a={minWidth:0,maxWidth:0};for(let o=0;or.page?t:r.page>t.page?r:t.y>r.y?t:r;return{page:n.page,x:n.x,y:n.y,availableHeight:n.availableHeight,availableWidth:n.availableWidth}}(this,t.bottomMost)}markEnding(t,r,n){this.page=t._columnEndingContext.page,this.x=t._columnEndingContext.x+r,this.y=t._columnEndingContext.y-n,this.availableWidth=t._columnEndingContext.availableWidth,this.availableHeight=t._columnEndingContext.availableHeight,this.lastColumnWidth=t._columnEndingContext.lastColumnWidth}saveContextInEndingCell(t){t._columnEndingContext={page:this.page,x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,lastColumnWidth:this.lastColumnWidth}}completeColumnGroup(t,r){let n=this.snapshots.pop();this.calculateBottomMost(n,r),this.x=n.x;let i=n.bottomMost.y;return t&&(n.page===n.bottomMost.page?n.y+t>i&&(i=n.y+t):i+=t),this.y=i,this.page=n.bottomMost.page,this.availableWidth=n.availableWidth,this.availableHeight=n.bottomMost.availableHeight,t&&(this.availableHeight-=i-n.bottomMost.y),this.lastColumnWidth=n.lastColumnWidth,n.bottomByPage}addMargin(t,r){this.x+=t,this.availableWidth-=t+(r||0)}moveDown(t){return this.y+=t,this.availableHeight-=t,this.availableHeight>0}initializePage(){this.y=this.pageMargins.top,this.availableHeight=this.getCurrentPage().pageSize.height-this.pageMargins.top-this.pageMargins.bottom;const{pageCtx:t,isSnapshot:r}=this.pageSnapshot();t.availableWidth=this.getCurrentPage().pageSize.width-this.pageMargins.left-this.pageMargins.right,r&&this.marginXTopParent&&(t.availableWidth-=this.marginXTopParent[0],t.availableWidth-=this.marginXTopParent[1])}pageSnapshot(){return this.snapshots[0]?{pageCtx:this.snapshots[0],isSnapshot:!0}:{pageCtx:this,isSnapshot:!1}}moveTo(t,r){null!=t&&(this.x=t,this.availableWidth=this.getCurrentPage().pageSize.width-this.x-this.pageMargins.right),null!=r&&(this.y=r,this.availableHeight=this.getCurrentPage().pageSize.height-this.y-this.pageMargins.bottom)}moveToRelative(t,r){null!=t&&(this.x=this.x+t),null!=r&&(this.y=this.y+r)}beginDetachedBlock(){this.snapshots.push({x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,page:this.page,lastColumnWidth:this.lastColumnWidth})}endDetachedBlock(){let t=this.snapshots.pop();this.x=t.x,this.y=t.y,this.availableWidth=t.availableWidth,this.availableHeight=t.availableHeight,this.page=t.page,this.lastColumnWidth=t.lastColumnWidth}moveToNextPage(t){let r=this.page+1,n=this.page,i=this.y;if(this.snapshots.length>0){let t=this.snapshots[this.snapshots.length-1];t.bottomMost&&t.bottomMost.y&&(i=Math.max(this.y,t.bottomMost.y))}let a=r>=this.pages.length;if(a){let r=this.availableWidth,n=this.getCurrentPage().pageSize.orientation,i=getPageSize(this.getCurrentPage(),t);this.addPage(i,null,this.getCurrentPage().customProperties),n===i.orientation&&(this.availableWidth=r)}else this.page=r,this.initializePage();return{newPageCreated:a,prevPage:n,prevY:i,y:this.y}}addPage(t,r,n){void 0===r&&(r=null),void 0===n&&(n={}),null!==r&&(this.pageMargins=r,this.x=r.left,this.availableWidth=t.width-r.left-r.right);let i={items:[],pageSize:t,pageMargins:this.pageMargins,customProperties:n};return this.pages.push(i),this.backgroundLength.push(0),this.page=this.pages.length-1,this.initializePage(),this.emit("pageAdded",i),i}getCurrentPage(){return this.page<0||this.page>=this.pages.length?null:this.pages[this.page]}getCurrentPosition(){let t=this.getCurrentPage().pageSize,r=t.height-this.pageMargins.top-this.pageMargins.bottom,n=t.width-this.pageMargins.left-this.pageMargins.right;return{pageNumber:this.page+1,pageOrientation:t.orientation,pageInnerHeight:r,pageInnerWidth:n,left:this.x,top:this.y,verticalRatio:(this.y-this.pageMargins.top)/r,horizontalRatio:(this.x-this.pageMargins.left)/n}}}const getPageSize=(t,r)=>(r=function pageOrientation(t,r){return void 0===t?r:isString(t)&&"landscape"===t.toLowerCase()?"landscape":"portrait"}(r,t.pageSize.orientation))!==t.pageSize.orientation?{orientation:r,width:t.pageSize.height,height:t.pageSize.width}:{orientation:t.pageSize.orientation,width:t.pageSize.width,height:t.pageSize.height};const q=DocumentContext;class ElementWriter extends H.EventEmitter{constructor(t){super(),this._context=t,this.contextStack=[]}context(){return this._context}addLine(t,r,n){let i=t.getHeight(),a=this.context(),o=a.getCurrentPage(),s=this.getCurrentPositionOnPage();return!(a.availableHeight0&&t.inlines[0].alignment,a=0;switch(i){case"right":a=r-n;break;case"center":a=(r-n)/2}if(a&&(t.x=(t.x||0)+a),"justify"===i&&!t.newLineForced&&!t.lastLineInParagraph&&t.inlines.length>1){let i=(r-n)/(t.inlines.length-1);for(let r=1,n=t.inlines.length;r0)&&(void 0===t._x&&(t._x=t.x||0),t.x=n.x+t._x,t.y=n.y,this.alignImage(t),addPageItem(i,{type:"image",item:t},r),n.moveDown(t._height),a)}addCanvas(t,r){let n=this.context(),i=n.getCurrentPage(),a=[],o=t._minHeight;return!(!i||void 0===t.absolutePosition&&n.availableHeight0)&&(void 0===t._x&&(t._x=t.x||0),t.x=n.x+t._x,t.y=n.y,this.alignImage(t),addPageItem(i,{type:"svg",item:t},r),n.moveDown(t._height),a)}addQr(t,r){let n=this.context(),i=n.getCurrentPage(),a=this.getCurrentPositionOnPage();if(!i||void 0===t.absolutePosition&&n.availableHeight0)&&(void 0===t._x&&(t._x=t.x||0),t.x=n.x+t._x,t.y=n.y,addPageItem(i,{type:"attachment",item:t},r),n.moveDown(t._height),a)}alignImage(t){let r=this.context().availableWidth,n=t._minWidth,i=0;switch(t._alignment){case"right":i=r-n;break;case"center":i=(r-n)/2}i&&(t.x=(t.x||0)+i)}alignCanvas(t){let r=this.context().availableWidth,n=t._minWidth,i=0;switch(t._alignment){case"right":i=r-n;break;case"center":i=(r-n)/2}i&&t.canvas.forEach(t=>{offsetVector(t,i,0)})}addVector(t,r,n,i,a){let o=this.context(),s=o.getCurrentPage();isNumber(a)&&(s=o.pages[a]);let l=this.getCurrentPositionOnPage();if(s)return offsetVector(t,r?0:o.x,n?0:o.y),addPageItem(s,{type:"vector",item:t},i),l}beginClip(t,r){let n=this.context();return n.getCurrentPage().items.push({type:"beginClip",item:{x:n.x,y:n.y,width:t,height:r}}),!0}endClip(){return this.context().getCurrentPage().items.push({type:"endClip"}),!0}addFragment(t,r,n,i){let a=this.context(),o=a.getCurrentPage();return!(!r&&t.height>a.availableHeight)&&(t.items.forEach(i=>{switch(i.type){case"line":var s=i.item.clone();s._node&&(s._node.positions[0].pageNumber=a.page+1),s.x=(s.x||0)+(r?t.xOffset||0:a.x),s.y=(s.y||0)+(n?t.yOffset||0:a.y),o.items.push({type:"line",item:s});break;case"vector":var l=pack(i.item);if(offsetVector(l,r?t.xOffset||0:a.x,n?t.yOffset||0:a.y),l._isFillColorFromUnbreakable){delete l._isFillColorFromUnbreakable;const t=a.backgroundLength[a.page];o.items.splice(t,0,{type:"vector",item:l})}else o.items.push({type:"vector",item:l});break;case"image":case"svg":var u=pack(i.item);u.x=(u.x||0)+(r?t.xOffset||0:a.x),u.y=(u.y||0)+(n?t.yOffset||0:a.y),o.items.push({type:i.type,item:u})}}),i||a.moveDown(t.height),!0)}pushContext(t,r){if(void 0===t&&(r=this.context().getCurrentPage().height-this.context().pageMargins.top-this.context().pageMargins.bottom,t=this.context().availableWidth),isNumber(t)){let n=t;(t=new q).addPage({width:n,height:r},{left:0,right:0,top:0,bottom:0})}this.contextStack.push(this.context()),this._context=t}popContext(){this._context=this.contextStack.pop()}getCurrentPositionOnPage(){return(this.contextStack[0]||this.context()).getCurrentPosition()}}function addPageItem(t,r,n){null==n||n<0||n>t.items.length?t.items.push(r):t.items.splice(n,0,r)}const X=ElementWriter,Z={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]};function normalizePageSize(t,r){t&&"auto"===t.height&&(t.height=1/0);let n=function pageSizeToWidthAndHeight(t){if(isString(t)){let r=Z[t.toUpperCase()];if(!r)throw new Error(`Page size ${t} not recognized`);return{width:r[0],height:r[1]}}return t}(t||"A4");return function isNeedSwapPageSizes(t){return!!isString(t)&&("portrait"===(t=t.toLowerCase())&&n.width>n.height||"landscape"===t&&n.widthn.height?"landscape":"portrait",n}function normalizePageMargin(t){if(isNumber(t))t={left:t,right:t,top:t,bottom:t};else if(Array.isArray(t))if(2===t.length)t={left:t[0],top:t[1],right:t[0],bottom:t[1]};else{if(4!==t.length)throw new Error("Invalid pageMargins definition");t={left:t[0],top:t[1],right:t[2],bottom:t[3]}}return t}const Y=class PageElementWriter extends X{constructor(t){super(t),this.transactionLevel=0,this.repeatables=[]}addLine(t,r,n){return this._fitOnPage(()=>super.addLine(t,r,n))}addImage(t,r){return this._fitOnPage(()=>super.addImage(t,r))}addCanvas(t,r){return this._fitOnPage(()=>super.addCanvas(t,r))}addSVG(t,r){return this._fitOnPage(()=>super.addSVG(t,r))}addQr(t,r){return this._fitOnPage(()=>super.addQr(t,r))}addAttachment(t,r){return this._fitOnPage(()=>super.addAttachment(t,r))}addVector(t,r,n,i,a){return super.addVector(t,r,n,i,a)}beginClip(t,r){return super.beginClip(t,r)}endClip(){return super.endClip()}addFragment(t,r,n,i){return this._fitOnPage(()=>super.addFragment(t,r,n,i))}moveToNextPage(t){let r=this.context().moveToNextPage(t);this.repeatables.forEach(function(t){void 0===t.insertedOnPages[this.context().page]?(t.insertedOnPages[this.context().page]=!0,this.addFragment(t,!0)):this.context().moveDown(t.height)},this),this.emit("pageChanged",{prevPage:r.prevPage,prevY:r.prevY,y:this.context().y})}addPage(t,r,n,i){void 0===i&&(i={});let a=this.page,o=this.y;this.context().addPage(normalizePageSize(t,r),normalizePageMargin(n),i),this.emit("pageChanged",{prevPage:a,prevY:o,y:this.context().y})}beginUnbreakableBlock(t,r){0===this.transactionLevel++&&(this.originalX=this.context().x,this.pushContext(t,r))}commitUnbreakableBlock(t,r){if(0===--this.transactionLevel){let n=this.context();this.popContext();let i=n.pages.length;if(i>0){let a=n.pages[0];if(a.xOffset=t,a.yOffset=r,i>1)if(void 0!==t||void 0!==r)a.height=n.getCurrentPage().pageSize.height-n.pageMargins.top-n.pageMargins.bottom;else{a.height=this.context().getCurrentPage().pageSize.height-this.context().pageMargins.top-this.context().pageMargins.bottom;for(let t=0,r=this.repeatables.length;t{r.items.push(t)}),r.xOffset=this.originalX,r.height=t.y,r.insertedOnPages=[],r}pushToRepeatables(t){this.repeatables.push(t)}popFromRepeatables(){this.repeatables.pop()}_fitOnPage(t){let r=t();return r||(this.moveToNextPage(),r=t()),r}};const K=class TableProcessor{constructor(t){this.tableNode=t}beginTable(t){let r,n;r=this.tableNode,this.offsets=r._offsets,this.layout=r._layout,n=t.context().availableWidth-this.offsets.total,S.buildColumnWidths(r.table.widths,n,this.offsets.total,r),this.tableWidth=r._offsets.total+(()=>{let t=0;return r.table.widths.forEach(r=>{t+=r._calcWidth}),t})(),this.rowSpanData=(()=>{let t=[],r=0,n=0;t.push({left:0,rowSpan:0});for(let i=0,a=this.tableNode.table.body[0].length;ir.table.body.length)throw new Error(`Too few rows in the table. Property headerRows requires at least ${this.headerRows}, contains only ${r.table.body.length}`);this.rowsWithoutPageBreak=this.headerRows;const t=r.table.keepWithHeaderRows;isPositiveInteger(t)&&(this.rowsWithoutPageBreak+=t)}this.dontBreakRows=r.table.dontBreakRows||!1,(this.rowsWithoutPageBreak||this.dontBreakRows)&&(t.beginUnbreakableBlock(),this.drawHorizontalLine(0,t),this.rowsWithoutPageBreak&&this.dontBreakRows&&t.beginUnbreakableBlock()),(t=>{for(let r=0;r0&&setBorder(r+o,t,0,i.border[0]),void 0!==i.border[2]&&setBorder(r+o,t+a-1,2,i.border[2]);for(let o=0;o0&&setBorder(r,t+o,1,i.border[1]),void 0!==i.border[3]&&setBorder(r+n-1,t+o,3,i.border[3])}}}function setBorder(r,n,i,a){let o=t[r][n];o.border=o.border||{},o.border[i]=a}})(this.tableNode.table.body)}onRowBreak(t,r){return()=>{let t=this.rowPaddingTop+(this.headerRows?0:this.topLineWidth);r.context().availableHeight-=this.reservedAtBottom,r.context().moveDown(t)}}beginRow(t,r){this.topLineWidth=this.layout.hLineWidth(t,this.tableNode),this.rowPaddingTop=this.layout.paddingTop(t,this.tableNode),this.bottomLineWidth=this.layout.hLineWidth(t+1,this.tableNode),this.rowPaddingBottom=this.layout.paddingBottom(t,this.tableNode),this.rowCallback=this.onRowBreak(t,r),r.addListener("pageChanged",this.rowCallback),0!=t||this.dontBreakRows||this.rowsWithoutPageBreak||(this._tableTopBorderY=r.context().y,r.context().moveDown(this.topLineWidth)),this.dontBreakRows&&t>0&&r.beginUnbreakableBlock(),this.rowTopY=r.context().y,this.reservedAtBottom=this.bottomLineWidth+this.rowPaddingBottom,r.context().availableHeight-=this.reservedAtBottom,r.context().moveDown(this.rowPaddingTop)}drawHorizontalLine(t,r,n,i,a){void 0===i&&(i=!0);let o=this.layout.hLineWidth(t,this.tableNode);if(o){let h,p=this.layout.hLineStyle(t,this.tableNode);p&&p.dash&&(h=p.dash);let g,m,y,w=o/2,v=null,x=this.tableNode.table.body;for(let i=0,p=this.rowSpanData.length;i0&&(g=x[t-1][i],(l=g.border?g.border[3]:this.layout.defaultBorder)&&g.borderColor&&(A=g.borderColor[3])),tt;)v.width+=this.rowSpanData[i+t++].width||0;i+=t-1}else if(g&&g.colSpan&&l){for(;g.colSpan>t;)v.width+=this.rowSpanData[i+t++].width||0;i+=t-1}else if(m&&m.colSpan&&s){for(;m.colSpan>t;)v.width+=this.rowSpanData[i+t++].width||0;i+=t-1}else v.width+=this.rowSpanData[i].width||0}let C=(n||0)+w;S&&v&&v.width&&(r.addVector({type:"line",x1:v.left,x2:v.left+v.width,y1:C,y2:C,lineWidth:o,dash:h,lineColor:A},!1,isNumber(n),null,a),v=null,A=null,g=null,m=null,y=null)}i&&r.context().moveDown(o)}}drawVerticalLine(t,r,n,i,a,o,s){let l=this.layout.vLineWidth(i,this.tableNode);if(0===l)return;let u,h=this.layout.vLineStyle(i,this.tableNode);h&&h.dash&&(u=h.dash);let p,g,m,y=this.tableNode.table.body;if(i>0&&(p=y[o][s],p&&p.borderColor&&(p.border?p.border[2]:this.layout.defaultBorder)&&(m=p.borderColor[2])),null==m&&i{let r=[],n=0;for(let i=0,a=this.tableNode.table.body[t].length;i0&&n--}return r.push({x:this.rowSpanData[this.rowSpanData.length-1].left,index:this.rowSpanData.length-1}),r})(),s=[],l=n&&n.length>0,u=this.tableNode.table.body;if(s.push({y0:this.rowTopY,page:l?n[0].prevPage:i}),l)for(let t=0,r=n.length;t0&&(t=n[0].prevPage),this.drawHorizontalLine(0,r,this._tableTopBorderY,!1,t)}for(let n=h?1:0,i=s.length;n0&&!this.headerRows,l=a?0:this.topLineWidth,h=s[n].y0,w=s[n].y1;i&&(w+=this.rowPaddingBottom),r.context().page!=s[n].page&&(r.context().page=s[n].page,this.reservedAtBottom=0),i&&!1!==this.layout.hLineWhenBroken&&this.drawHorizontalLine(t+1,r,w),a&&!1!==this.layout.hLineWhenBroken&&this.drawHorizontalLine(t,r,h);for(let n=0,i=o.length;n0&&!a){let r=u[t][v-1];a=r.border?r.border[2]:this.layout.defaultBorder}if(v+11)for(let n=1;n1)for(let n=1;n0&&this.rowSpanData[r].rowSpan--}if(this.drawHorizontalLine(t+1,r),this.headerRows&&t===this.headerRows-1&&(this.headerRepeatable=r.currentBlockToRepeatable()),this.dontBreakRows){const pageChangedCallback=()=>{t>0&&!this.headerRows&&!1!==this.layout.hLineWhenBroken&&this.drawHorizontalLine(t,r)};r.addListener("pageChanged",pageChangedCallback),r.commitUnbreakableBlock(),r.removeListener("pageChanged",pageChangedCallback)}!this.headerRepeatable||t!==this.rowsWithoutPageBreak-1&&t!==this.tableNode.table.body.length-1||(r.commitUnbreakableBlock(),r.pushToRepeatables(this.headerRepeatable),this.cleanUpRepeatables=!0,this.headerRepeatable=null)}};class Line{constructor(t){this.maxWidth=t,this.leadingCut=0,this.trailingCut=0,this.inlineWidths=0,this.inlines=[]}addInline(t){0===this.inlines.length&&(this.leadingCut=t.leadingCut||0),this.trailingCut=t.trailingCut||0,t.x=this.inlineWidths-this.leadingCut,this.inlines.push(t),this.inlineWidths+=t.width,t.lineEnd&&(this.newLineForced=!0)}getHeight(){let t=0;return this.inlines.forEach(r=>{t=Math.max(t,r.height||0)}),t}getAscenderHeight(){let t=0;return this.inlines.forEach(r=>{t=Math.max(t,r.font.ascender/1e3*r.fontSize)}),t}getWidth(){return this.inlineWidths-this.leadingCut-this.trailingCut}getAvailableWidth(){return this.maxWidth-this.getWidth()}hasEnoughSpaceForInline(t,r){if(void 0===r&&(r=[]),0===this.inlines.length)return!0;if(this.newLineForced)return!1;let n=t.width,i=t.trailingCut||0;if(t.noNewLine)for(let t=0,a=r.length;t{t.push(r)})}const Q=class LayoutBuilder{constructor(t,r,n){this.pageSize=t,this.pageMargins=r,this.svgMeasure=n,this.tableLayouts={},this.nestedLevel=0}registerTableLayouts(t){this.tableLayouts=pack(this.tableLayouts,t)}layoutDocument(t,r,n,i,a,o,s,u,h){function addPageBreaksIfNecessary(t,r){if("function"!=typeof h)return!1;(t=t.filter(t=>!(!t||0===t.positions.length)&&!(""===t.text&&!t.listMarker))).forEach(t=>{let n={};["id","text","ul","ol","table","image","qr","canvas","svg","columns","headlineLevel","style","pageBreak","pageOrientation","width","height"].forEach(r=>{void 0!==t[r]&&(n[r]=t[r])}),n.startPosition=t.positions[0],n.pageNumbers=Array.from(new Set(t.positions.map(t=>t.pageNumber))),n.pages=r.length,n.stack=Array.isArray(t.stack),t.nodeInfo=n});for(let r=0;r{let n=[];for(let a=r+1,o=t.length;a-1&&n.push(t[a].nodeInfo);return n},getNodesOnNextPage:()=>{let n=[];for(let a=r+1,o=t.length;a-1&&n.push(t[a].nodeInfo);return n},getPreviousNodesOnPage:()=>{let n=[];for(let a=0;a-1&&n.push(t[a].nodeInfo);return n}}))return n.pageBreak="before",!0}}return!1}function resetXYs(t){t.linearNodeList.forEach(t=>{t.resetXY()})}this.docPreprocessor=new l,this.docMeasure=new G(r,n,i,this.svgMeasure,this.tableLayouts);let p=this.tryLayoutDocument(t,r,n,i,a,o,s,u);for(;addPageBreaksIfNecessary(p.linearNodeList,p.pages);)resetXYs(p),p=this.tryLayoutDocument(t,r,n,i,a,o,s,u);return p.pages}tryLayoutDocument(t,r,n,i,a,o,s,l){return this.linearNodeList=[],t=this.docPreprocessor.preprocessDocument(t),t=this.docMeasure.measureDocument(t),this.writer=new Y(new q),this.writer.context().addListener("pageAdded",t=>{let r=a;(t.customProperties.background||null===t.customProperties.background)&&(r=t.customProperties.background),this.addBackground(r)}),(t=>!(t.stack&&t.stack.length>0&&t.stack[0].section)&&!t.section)(t)&&this.writer.addPage(this.pageSize,null,this.pageMargins),this.processNode(t),this.addHeadersAndFooters(o,s),this.addWatermark(l,r,i),{pages:this.writer.context().pages,linearNodeList:this.linearNodeList}}addBackground(t){let r="function"==typeof t?t:()=>t,n=this.writer.context(),i=n.getCurrentPage().pageSize,a=r(n.page+1,i);a&&(this.writer.beginUnbreakableBlock(i.width,i.height),a=this.docPreprocessor.preprocessBlock(a),this.processNode(this.docMeasure.measureBlock(a)),this.writer.commitUnbreakableBlock(0,0),n.backgroundLength[n.page]+=a.positions.length)}addDynamicRepeatable(t,r,n){for(let i=0,a=this.writer.context().pages.length;i({x:0,y:0,width:t.width,height:r.top}),"header"),this.addDynamicRepeatable(r,(t,r)=>({x:0,y:t.height-r.bottom,width:t.width,height:r.bottom}),"footer")}addWatermark(t,r,n){let i=this.writer.context().pages;for(let a=0,o=i.length;a1;)o.push({fontSize:u}),i=a.sizeOfRotatedText(r.text,r.angle,o),i.width>t.width?(l=u,u=(s+l)/2):i.widtht.height?(l=u,u=(s+l)/2):(s=u,u=(s+l)/2)),o.pop();return u}(r,t,n));let a={text:t.text,font:n.provideFont(t.font,t.bold,t.italics),fontSize:t.fontSize,color:t.color,opacity:t.opacity,angle:t.angle};return a._size=function getWatermarkSize(t,r){let n=new _(r),i=new y(null,{font:t.font,bold:t.bold,italics:t.italics});i.push({fontSize:t.fontSize});let a=n.sizeOfText(t.text,i),o=n.sizeOfRotatedText(t.text,t.angle,i);return{size:a,rotatedSize:o}}(t,n),a}}processNode(t){this.linearNodeList.push(t),function decorateNode(t){let r=t.x,n=t.y;t.positions=[],Array.isArray(t.canvas)&&t.canvas.forEach(t=>{let r=t.x,n=t.y,i=t.x1,a=t.y1,o=t.x2,s=t.y2;t.resetXY=()=>{t.x=r,t.y=n,t.x1=i,t.y1=a,t.x2=o,t.y2=s}});t.resetXY=()=>{t.x=r,t.y=n,Array.isArray(t.canvas)&&t.canvas.forEach(t=>{t.resetXY()})}}(t),(r=>{let n=t._margin;"before"===t.pageBreak?this.writer.moveToNextPage(t.pageOrientation):"beforeOdd"===t.pageBreak?(this.writer.moveToNextPage(t.pageOrientation),(this.writer.context().page+1)%2==1&&this.writer.moveToNextPage(t.pageOrientation)):"beforeEven"===t.pageBreak&&(this.writer.moveToNextPage(t.pageOrientation),(this.writer.context().page+1)%2==0&&this.writer.moveToNextPage(t.pageOrientation));const i=t.relativePosition||t.absolutePosition;if(n&&!i){const r=this.writer.context().availableHeight;r-n[1]<0?(this.writer.context().moveDown(r),this.writer.moveToNextPage(t.pageOrientation)):this.writer.context().moveDown(n[1]),this.writer.context().addMargin(n[0],n[2])}if(r(),n&&!i){const r=this.writer.context().availableHeight;r-n[3]<0?(this.writer.context().moveDown(r),this.writer.moveToNextPage(t.pageOrientation)):this.writer.context().moveDown(n[3]),this.writer.context().addMargin(-n[0],-n[2])}"after"===t.pageBreak?this.writer.moveToNextPage(t.pageOrientation):"afterOdd"===t.pageBreak?(this.writer.moveToNextPage(t.pageOrientation),(this.writer.context().page+1)%2==1&&this.writer.moveToNextPage(t.pageOrientation)):"afterEven"===t.pageBreak&&(this.writer.moveToNextPage(t.pageOrientation),(this.writer.context().page+1)%2==0&&this.writer.moveToNextPage(t.pageOrientation))})(()=>{let r=t.unbreakable;r&&this.writer.beginUnbreakableBlock();let n=t.absolutePosition;n&&(this.writer.context().beginDetachedBlock(),this.writer.context().moveTo(n.x||0,n.y||0));let i=t.relativePosition;if(i&&(this.writer.context().beginDetachedBlock(),this.writer.context().moveToRelative(i.x||0,i.y||0)),t.stack)this.processVerticalContainer(t);else if(t.section)this.processSection(t);else if(t.columns)this.processColumns(t);else if(t.ul)this.processList(!1,t);else if(t.ol)this.processList(!0,t);else if(t.table)this.processTable(t);else if(void 0!==t.text)this.processLeaf(t);else if(t.toc)this.processToc(t);else if(t.image)this.processImage(t);else if(t.svg)this.processSVG(t);else if(t.canvas)this.processCanvas(t);else if(t.qr)this.processQr(t);else if(t.attachment)this.processAttachment(t);else if(!t._span)throw new Error(`Unrecognized document structure: ${stringifyNode(t)}`);(n||i)&&this.writer.context().endDetachedBlock(),r&&this.writer.commitUnbreakableBlock()})}processVerticalContainer(t){t.stack.forEach(r=>{this.processNode(r),addAll(t.positions,r.positions)},this)}processSection(t){let r=this.writer.context().getCurrentPage();if(!r||r&&r.items.length){"inherit"===t.pageSize&&(t.pageSize=r?{width:r.pageSize.width,height:r.pageSize.height}:void 0),"inherit"===t.pageOrientation&&(t.pageOrientation=r?r.pageSize.orientation:void 0),"inherit"===t.pageMargins&&(t.pageMargins=r?r.pageMargins:void 0),"inherit"===t.header&&(t.header=r?r.customProperties.header:void 0),"inherit"===t.footer&&(t.footer=r?r.customProperties.footer:void 0),"inherit"===t.background&&(t.background=r?r.customProperties.background:void 0),"inherit"===t.watermark&&(t.watermark=r?r.customProperties.watermark:void 0),t.header&&"function"!=typeof t.header&&null!==t.header&&(t.header=convertToDynamicContent(t.header)),t.footer&&"function"!=typeof t.footer&&null!==t.footer&&(t.footer=convertToDynamicContent(t.footer));let n={};void 0!==t.header&&(n.header=t.header),void 0!==t.footer&&(n.footer=t.footer),void 0!==t.background&&(n.background=t.background),void 0!==t.watermark&&(n.watermark=t.watermark),this.writer.addPage(t.pageSize||this.pageSize,t.pageOrientation,t.pageMargins||this.pageMargins,n)}this.processNode(t.section)}processColumns(t){this.nestedLevel++;let r=t.columns,n=this.writer.context().availableWidth,i=function gapArray(t){if(!t)return null;let n=[];n.push(0);for(let i=r.length-1;i>0;i--)n.push(t);return n}(t._gap);i&&(n-=(i.length-1)*t._gap),S.buildColumnWidths(r,n);let a=this.processRow({marginX:t._margin?[t._margin[0],t._margin[2]]:[0,0],cells:r,widths:r,gaps:i});addAll(t.positions,a.positions),this.nestedLevel--,0===this.nestedLevel&&this.writer.context().resetMarginXTopParent()}_findStartingRowSpanCell(t,r){let n=1;for(let i=r-1;i>=0;i--){if(!t[i]._span)return t[i].rowSpan>1&&(t[i].colSpan||1)===n?t[i]:null;n++}return null}_getPageBreak(t,r){return t.find(t=>t.prevPage===r)}_getPageBreakListBySpan(t,r,n){if(!t||!t._breaksBySpan)return null;const i=t._breaksBySpan.filter(t=>t.prevPage===r&&n<=t.rowIndexOfSpanEnd);let a=Number.MAX_VALUE,o=Number.MIN_VALUE;return i.forEach(t=>{o=Math.max(t.prevY,o),a=Math.min(t.y,a)}),{prevPage:r,prevY:o,y:a}}_findSameRowPageBreakByRowSpanData(t,r,n){return t?t.find(t=>t.prevPage===r&&n===t.rowIndexOfSpanEnd):null}_updatePageBreaksData(t,r,n){Object.keys(r._bottomByPage).forEach(i=>{const a=Number(i),o=this._getPageBreak(t,a);if(o&&(o.prevY=Math.max(o.prevY,r._bottomByPage[a])),r._breaksBySpan&&r._breaksBySpan.length>0){const t=r._breaksBySpan.filter(t=>t.prevPage===a&&n<=t.rowIndexOfSpanEnd);t&&t.length>0&&t.forEach(t=>{t.prevY=Math.max(t.prevY,r._bottomByPage[a])})}})}_resolveBreakY(t,r,n){n.prevY=Math.max(t.prevY,r.prevY),n.y=Math.min(t.y,r.y)}_storePageBreakData(t,r,n,i){if(r){const r=i&&i._breaksBySpan||null;let a=this._findSameRowPageBreakByRowSpanData(r,t.prevPage,t.rowIndex);a||(a={...t,rowIndexOfSpanEnd:t.rowIndex+t.rowSpan-1},i._breaksBySpan||(i._breaksBySpan=[]),i._breaksBySpan.push(a)),a.prevY=Math.max(a.prevY,t.prevY),a.y=Math.min(a.y,t.y);let o=this._getPageBreak(n,t.prevPage);o&&this._resolveBreakY(o,a,o)}else{let r=this._getPageBreak(n,t.prevPage),a=this._getPageBreakListBySpan(i,t.prevPage,t.rowIndex);r||(r={...t},n.push(r)),a&&this._resolveBreakY(r,a,r),this._resolveBreakY(r,t,r)}}_colLeftOffset(t,r){return r&&r.length>t?r[t]:0}_getRowSpanEndingCell(t,r,n,i){if(n.rowSpan&&n.rowSpan>1){let a=r+n.rowSpan-1;if(a>=t.length)throw new Error(`Row span for column ${i} (with indexes starting from 0) exceeded row count`);return t[a][i]}return null}processRow(t){let{marginX:r=[0,0],dontBreakRows:n=!1,rowsWithoutPageBreak:i=0,cells:a,widths:o,gaps:s,tableNode:l,tableBody:u,rowIndex:h,height:p}=t;const g=n||h<=i-1;let m=[],y=[],w=!1;o=o||a,!g&&p>this.writer.context().availableHeight&&(w=!0);const v=1===this.nestedLevel?r:null,x=l?l._bottomByPage:null;this.writer.context().beginColumnGroup(v,x);for(let t=0,r=a.length;t{const n=r.rowSpan&&r.rowSpan>1;n&&(t.rowSpan=r.rowSpan),t.rowIndex=h,this._storePageBreakData(t,n,m,l)};this.writer.addListener("pageChanged",storePageBreakClosure);let i=o[t]._calcWidth,p=this._colLeftOffset(t,s),g=this._findStartingRowSpanCell(a,t);if(r.colSpan&&r.colSpan>1)for(let n=1;n0&&(v._isUnbreakableContext=!0,v._originalXOffset=this.writer.originalX)),this.writer.context().beginColumn(i,p,v),r._span){if(r._columnEndingContext){let t=0;if(n){t=this.writer.contextStack[this.writer.contextStack.length-1].y-r._startingRowSpanY}let i=0;r._isUnbreakableContext&&!this.writer.transactionLevel&&(i=r._originalXOffset),this.writer.context().markEnding(r,i,t)}}else this.processNode(r),this.writer.context().updateBottomByPage(),addAll(y,r.positions);this.writer.removeListener("pageChanged",storePageBreakClosure)}let _=null;const S=a.length>0?a[a.length-1]:null;if(S)if(S._endingCell)_=S._endingCell;else if(!0===S._span){const t=this._findStartingRowSpanCell(a,a.length);t&&(_=t._endingCell,this.writer.transactionLevel>0&&(_._isUnbreakableContext=!0,_._originalXOffset=this.writer.originalX))}w&&!g&&0===m.length&&(this.writer.context().moveDown(this.writer.context().availableHeight),this.writer.moveToNextPage());const A=this.writer.context().completeColumnGroup(p,_);return l&&(l._bottomByPage=A,this._updatePageBreaksData(m,l,h)),{pageBreaksBySpan:[],pageBreaks:m,positions:y}}processList(t,r){const addMarkerToFirstLeaf=t=>{if(n){let r=n;if(n=null,r.canvas){let t=r.canvas[0];offsetVector(t,-r._minWidth,0),this.writer.addVector(t)}else if(r._inlines){let n=new J(this.pageSize.width);n.addInline(r._inlines[0]),n.x=-r._minWidth,n.y=t.getAscenderHeight()-n.getAscenderHeight(),this.writer.addLine(n,!0)}}};let n,i=t?r.ol:r.ul,a=r._gapSize;this.writer.context().addMargin(a.width),this.writer.addListener("lineAdded",addMarkerToFirstLeaf),i.forEach(t=>{n=t.listMarker,this.processNode(t),addAll(r.positions,t.positions)}),this.writer.removeListener("lineAdded",addMarkerToFirstLeaf),this.writer.context().addMargin(-a.width)}processTable(t){this.nestedLevel++;let r=new K(t);r.beginTable(this.writer);let n=t.table.heights;for(let i=0,a=t.table.body.length;i{t.rowSpan&&t.rowSpan>1&&(t._startingRowSpanY=this.writer.context().y)}),r.beginRow(i,this.writer),a="function"==typeof n?n(i):Array.isArray(n)?n[i]:n,"auto"===a&&(a=void 0);const o=this.writer.context().page;let s=this.processRow({marginX:t._margin?[t._margin[0],t._margin[2]]:[0,0],dontBreakRows:r.dontBreakRows,rowsWithoutPageBreak:r.rowsWithoutPageBreak,cells:t.table.body[i],widths:t.table.widths,gaps:t._offsets.offsets,tableBody:t.table.body,tableNode:t,rowIndex:i,height:a});if(addAll(t.positions,s.positions),!s.pageBreaks||0===s.pageBreaks.length){const r=t&&t._breaksBySpan||null,n=this._findSameRowPageBreakByRowSpanData(r,o,i);if(n){const r=this._getPageBreakListBySpan(t,n.prevPage,i);s.pageBreaks.push(r)}}r.endRow(i,this.writer,s.pageBreaks)}r.endTable(this.writer),this.nestedLevel--,0===this.nestedLevel&&this.writer.context().resetMarginXTopParent()}processLeaf(t){let r=this.buildNextLine(t);r&&(t.tocItem||t.id)&&(r._node=t);let n=r?r.getHeight():0,i=t.maxHeight||-1;if(r){let n=getNodeId(t);n&&(r.id=n)}if(t._tocItemRef&&(r._pageNodeRef=t._tocItemRef),t._pageRef&&(r._pageNodeRef=t._pageRef._nodeRef),r&&r.inlines&&Array.isArray(r.inlines))for(let t=0,n=r.inlines.length;t0&&(r.hasEnoughSpaceForInline(t._inlines[0],t._inlines.slice(1))||i);){let a=!1,o=t._inlines.shift();if(i=!1,!o.noWrap&&o.text.length>1&&o.width>r.getAvailableWidth()){let i=findMaxFitLength(o.text,r.getAvailableWidth(),t=>n.widthOfText(t,o));if(i{let r=parseFloat(t);if("number"==typeof r&&!isNaN(r))return r},parseSVG=t=>{let r;try{r=new ee.XmlDocument(t)}catch(t){throw new Error("Invalid svg document ("+t+")")}if("svg"!==r.name)throw new Error("Invalid svg document (expected )");return r};const te=class SVGMeasure{constructor(){}measureSVG(t){let r,n,i;if(isString(t)){let a=parseSVG(t);r=a.attr.width,n=a.attr.height,i=a.attr.viewBox}else{if(!("undefined"!=typeof SVGElement&&t instanceof SVGElement&&"function"==typeof getComputedStyle))throw new Error("Invalid SVG document");r=t.getAttribute("width"),n=t.getAttribute("height"),i=t.getAttribute("viewBox")}let a=stripUnits(r),o=stripUnits(n);if((void 0===a||void 0===o)&&"string"==typeof i){let t=i.split(/[,\s]+/);if(4!==t.length)throw new Error("Unexpected svg viewBox format, should have 4 entries but found: '"+i+"'");void 0===a&&(a=stripUnits(t[2])),void 0===o&&(o=stripUnits(t[3]))}return{width:a,height:o}}writeDimensions(t,r){if(isString(t)){let n=parseSVG(t);return"string"!=typeof n.attr.viewBox&&(n.attr.viewBox=`0 0 ${stripUnits(n.attr.width)} ${stripUnits(n.attr.height)}`),n.attr.width=""+r.width,n.attr.height=""+r.height,n.toString()}return t.hasAttribute("viewBox")||t.setAttribute("viewBox",`0 0 ${stripUnits(t.getAttribute("width"))} ${stripUnits(t.getAttribute("height"))}`),t.setAttribute("width",""+r.width),t.setAttribute("height",""+r.height),t}};const re=class TextDecorator{constructor(t){this.pdfDocument=t}drawBackground(t,r,n){let i=t.getHeight();for(let a=0,o=t.inlines.length;a{let r=[],n=null;for(let i=0,a=t.inlines.length;i{let r=0;for(let n=0,i=t.inlines.length;nr?n:r}return t.inlines[r]})(),o=(()=>{let r=0;for(let n=0,i=t.inlines.length;n{let n=t;return r.sup&&(n-=.75*r.fontSize),r.sub&&(n+=.35*r.fontSize),n};const ie=class Renderer{constructor(t,r){this.pdfDocument=t,this.progressCallback=r}renderPages(t){this.pdfDocument._pdfMakePages=t;let r=0;this.progressCallback&&t.forEach(t=>{r+=t.items.length});let n=0;for(let i=0;i1){let r=t.points[0],n=t.points[t.points.length-1];(t.closePath||r.x===n.x&&r.y===n.y)&&this.pdfDocument.closePath()}break;case"path":this.pdfDocument.path(t.d)}if(t.linearGradient&&r){let n=1/(t.linearGradient.length-1);for(let i=0;i{let a=r.split(",").map(t=>t.trim().replace(/('|")/g,"")),o=((t,r,n)=>{for(let n=0;n-1&&(s=s.slice(0,l)),s.forEach(t=>{t.pageSize.height===1/0&&(t.pageSize.height=function calculatePageHeight(t,r){function getItemHeight(t){return"function"==typeof t.item.getHeight?t.item.getHeight():t.item._height?t.item._height:"vector"===t.type?void 0!==t.item.y1?t.item.y1>t.item.y2?t.item.y1:t.item.y2:t.item.h:0}function getBottomPosition(t){return(t.item.y||0)+getItemHeight(t)}let n=normalizePageMargin(r||40),i=n.top;return t.items.forEach(t=>{let r=getBottomPosition(t);r>i&&(i=r)}),i+=n.bottom,i}(t,t.pageMargins))});return new ie(this.pdfKitDoc,r.progressCallback).renderPages(s),this.pdfKitDoc}async resolveUrls(t){const getExtendedUrl=t=>"object"==typeof t?{url:t.url,headers:t.headers}:{url:t,headers:{}};if(null!==this.urlResolver){for(let t in this.fontDescriptors)if(this.fontDescriptors.hasOwnProperty(t)){if(this.fontDescriptors[t].normal)if(Array.isArray(this.fontDescriptors[t].normal)){let r=getExtendedUrl(this.fontDescriptors[t].normal[0]);this.urlResolver.resolve(r.url,r.headers),this.fontDescriptors[t].normal[0]=r.url}else{let r=getExtendedUrl(this.fontDescriptors[t].normal);this.urlResolver.resolve(r.url,r.headers),this.fontDescriptors[t].normal=r.url}if(this.fontDescriptors[t].bold)if(Array.isArray(this.fontDescriptors[t].bold)){let r=getExtendedUrl(this.fontDescriptors[t].bold[0]);this.urlResolver.resolve(r.url,r.headers),this.fontDescriptors[t].bold[0]=r.url}else{let r=getExtendedUrl(this.fontDescriptors[t].bold);this.urlResolver.resolve(r.url,r.headers),this.fontDescriptors[t].bold=r.url}if(this.fontDescriptors[t].italics)if(Array.isArray(this.fontDescriptors[t].italics)){let r=getExtendedUrl(this.fontDescriptors[t].italics[0]);this.urlResolver.resolve(r.url,r.headers),this.fontDescriptors[t].italics[0]=r.url}else{let r=getExtendedUrl(this.fontDescriptors[t].italics);this.urlResolver.resolve(r.url,r.headers),this.fontDescriptors[t].italics=r.url}if(this.fontDescriptors[t].bolditalics)if(Array.isArray(this.fontDescriptors[t].bolditalics)){let r=getExtendedUrl(this.fontDescriptors[t].bolditalics[0]);this.urlResolver.resolve(r.url,r.headers),this.fontDescriptors[t].bolditalics[0]=r.url}else{let r=getExtendedUrl(this.fontDescriptors[t].bolditalics);this.urlResolver.resolve(r.url,r.headers),this.fontDescriptors[t].bolditalics=r.url}}if(t.images)for(let r in t.images)if(t.images.hasOwnProperty(r)){let n=getExtendedUrl(t.images[r]);this.urlResolver.resolve(n.url,n.headers),t.images[r]=n.url}if(t.attachments)for(let r in t.attachments)if(t.attachments.hasOwnProperty(r)&&t.attachments[r].src){let n=getExtendedUrl(t.attachments[r].src);this.urlResolver.resolve(n.url,n.headers),t.attachments[r].src=n.url}if(t.files)for(let r in t.files)if(t.files.hasOwnProperty(r)&&t.files[r].src){let n=getExtendedUrl(t.files[r].src);this.urlResolver.resolve(n.url,n.headers),t.files[r].src=n.url}await this.urlResolver.resolved()}}};var oe=n(6811);const se=class pdfmake{constructor(){this.virtualfs=oe.default,this.urlResolver=null}createPdf(t,r){if(void 0===r&&(r={}),!isObject(t))throw new Error("Parameter 'docDefinition' has an invalid type. Object expected.");if(!isObject(r))throw new Error("Parameter 'options' has an invalid type. Object expected.");r.progressCallback=this.progressCallback,r.tableLayouts=this.tableLayouts;const n=new ae(this.fonts,this.virtualfs,this.urlResolver()).createPdfKitDocument(t,r);return this._transformToDocument(n)}setProgressCallback(t){this.progressCallback=t}addTableLayouts(t){this.tableLayouts=pack(this.tableLayouts,t)}setTableLayouts(t){this.tableLayouts=t}clearTableLayouts(){this.tableLayouts={}}addFonts(t){this.fonts=pack(this.fonts,t)}setFonts(t){this.fonts=t}clearFonts(){this.fonts={}}_transformToDocument(t){return t}};var le=n(783).Buffer;const ce=class OutputDocument{constructor(t){this.bufferSize=1073741824,this.pdfDocumentPromise=t,this.bufferPromise=null}getStream(){return this.pdfDocumentPromise}getBuffer(){const getBufferInternal=async()=>{const t=await this.getStream();return new Promise(r=>{let n=[];t.on("readable",()=>{let r;for(;null!==(r=t.read(this.bufferSize));)n.push(r)}),t.on("end",()=>{r(le.concat(n))}),t.end()})};return null===this.bufferPromise&&(this.bufferPromise=getBufferInternal()),this.bufferPromise}async getBase64(){return(await this.getBuffer()).toString("base64")}async getDataUrl(){return"data:application/pdf;base64,"+await this.getBase64()}};var ue=n(7992);const he=class OutputDocumentBrowser extends ce{async getBlob(){const t=await this.getBuffer();return new Blob([t],{type:"application/pdf"})}async download(t){void 0===t&&(t="file.pdf");const r=await this.getBlob();(0,ue.saveAs)(r,t)}async open(t){void 0===t&&(t=null),t||(t=(()=>{let t=window.open("","_blank");if(null===t)throw new Error("Open PDF in new window blocked by browser");return t})());const r=await this.getBlob();try{let n=(window.URL||window.webkitURL).createObjectURL(r);t.location.href=n}catch(r){throw t.close(),r}}async print(t){void 0===t&&(t=null);(await this.getStream()).setOpenActionAsPrint(),await this.open(t)}};const fe=class URLResolver{constructor(t){this.fs=t,this.resolving={}}resolve(t,r){void 0===r&&(r={});const resolveUrlInternal=async()=>{if(t.toLowerCase().startsWith("https://")||t.toLowerCase().startsWith("http://")){if(this.fs.existsSync(t))return;const n=await async function fetchUrl(t,r){void 0===r&&(r={});try{const n=await fetch(t,{headers:r});if(!n.ok)throw new Error(`Failed to fetch (status code: ${n.status}, url: "${t}")`);return await n.arrayBuffer()}catch(r){throw new Error(`Network request failed (url: "${t}", error: ${r.message})`)}}(t,r);this.fs.writeFileSync(t,n)}};return this.resolving[t]||(this.resolving[t]=resolveUrlInternal()),this.resolving[t]}resolved(){return Promise.all(Object.values(this.resolving))}};var de=n(2416),pe=n.n(de),ge=n(890);n.n(ge)()({useNative:["Promise"]});let be={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}};const me=new class browser_extensions_pdfmake extends se{constructor(){super(),this.urlResolver=()=>new fe(this.virtualfs),this.fonts=be}addFontContainer(t){this.addVirtualFileSystem(t.vfs),this.addFonts(t.fonts)}addVirtualFileSystem(t){for(let r in t)if(t.hasOwnProperty(r)){let n,i;"object"==typeof t[r]?(n=t[r].data,i=t[r].encoding||"base64"):(n=t[r],i="base64"),pe().writeFileSync(r,n,i)}}_transformToDocument(t){return new he(t)}}},7139(t,r,n){"use strict";var i=n(7756),a=n(8681);t.exports=function(t,r){return arguments.length<2?(n=i[t],a(n)?n:void 0):i[t]&&i[t][r];var n}},7187(t,r,n){var i=n(9964),a=Object.getOwnPropertyDescriptors||function getOwnPropertyDescriptors(t){for(var r=Object.keys(t),n={},i=0;i=a)return t;switch(t){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(t){return"[Circular]"}default:return t}}),l=i[n];n=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),isBoolean(n)?i.showHidden=n:n&&r._extend(i,n),isUndefined(i.showHidden)&&(i.showHidden=!1),isUndefined(i.depth)&&(i.depth=2),isUndefined(i.colors)&&(i.colors=!1),isUndefined(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=stylizeWithColor),formatValue(i,t,i.depth)}function stylizeWithColor(t,r){var n=inspect.styles[r];return n?"["+inspect.colors[n][0]+"m"+t+"["+inspect.colors[n][1]+"m":t}function stylizeNoColor(t,r){return t}function formatValue(t,n,i){if(t.customInspect&&n&&isFunction(n.inspect)&&n.inspect!==r.inspect&&(!n.constructor||n.constructor.prototype!==n)){var a=n.inspect(i,t);return isString(a)||(a=formatValue(t,a,i)),a}var o=function formatPrimitive(t,r){if(isUndefined(r))return t.stylize("undefined","undefined");if(isString(r)){var n="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(isNumber(r))return t.stylize(""+r,"number");if(isBoolean(r))return t.stylize(""+r,"boolean");if(isNull(r))return t.stylize("null","null")}(t,n);if(o)return o;var s=Object.keys(n),l=function arrayToHash(t){var r={};return t.forEach(function(t,n){r[t]=!0}),r}(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(n)),isError(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return formatError(n);if(0===s.length){if(isFunction(n)){var u=n.name?": "+n.name:"";return t.stylize("[Function"+u+"]","special")}if(isRegExp(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(isDate(n))return t.stylize(Date.prototype.toString.call(n),"date");if(isError(n))return formatError(n)}var h,p="",g=!1,m=["{","}"];(isArray(n)&&(g=!0,m=["[","]"]),isFunction(n))&&(p=" [Function"+(n.name?": "+n.name:"")+"]");return isRegExp(n)&&(p=" "+RegExp.prototype.toString.call(n)),isDate(n)&&(p=" "+Date.prototype.toUTCString.call(n)),isError(n)&&(p=" "+formatError(n)),0!==s.length||g&&0!=n.length?i<0?isRegExp(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),h=g?function formatArray(t,r,n,i,a){for(var o=[],s=0,l=r.length;s=0&&0,t+r.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(i>60)return n[0]+(""===r?"":r+"\n ")+" "+t.join(",\n ")+" "+n[1];return n[0]+r+" "+t.join(", ")+" "+n[1]}(h,p,m)):m[0]+p+m[1]}function formatError(t){return"["+Error.prototype.toString.call(t)+"]"}function formatProperty(t,r,n,i,a,o){var s,l,u;if((u=Object.getOwnPropertyDescriptor(r,a)||{value:r[a]}).get?l=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(l=t.stylize("[Setter]","special")),hasOwnProperty(i,a)||(s="["+a+"]"),l||(t.seen.indexOf(u.value)<0?(l=isNull(n)?formatValue(t,u.value,null):formatValue(t,u.value,n-1)).indexOf("\n")>-1&&(l=o?l.split("\n").map(function(t){return" "+t}).join("\n").slice(2):"\n"+l.split("\n").map(function(t){return" "+t}).join("\n")):l=t.stylize("[Circular]","special")),isUndefined(s)){if(o&&a.match(/^\d+$/))return l;(s=JSON.stringify(""+a)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+l}function isArray(t){return Array.isArray(t)}function isBoolean(t){return"boolean"==typeof t}function isNull(t){return null===t}function isNumber(t){return"number"==typeof t}function isString(t){return"string"==typeof t}function isUndefined(t){return void 0===t}function isRegExp(t){return isObject(t)&&"[object RegExp]"===objectToString(t)}function isObject(t){return"object"==typeof t&&null!==t}function isDate(t){return isObject(t)&&"[object Date]"===objectToString(t)}function isError(t){return isObject(t)&&("[object Error]"===objectToString(t)||t instanceof Error)}function isFunction(t){return"function"==typeof t}function objectToString(t){return Object.prototype.toString.call(t)}r.debuglog=function(t){if(t=t.toUpperCase(),!s[t])if(l.test(t)){i.pid;s[t]=function(){r.format.apply(r,arguments)}}else s[t]=function(){};return s[t]},r.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.types=n(9490),r.isArray=isArray,r.isBoolean=isBoolean,r.isNull=isNull,r.isNullOrUndefined=function isNullOrUndefined(t){return null==t},r.isNumber=isNumber,r.isString=isString,r.isSymbol=function isSymbol(t){return"symbol"==typeof t},r.isUndefined=isUndefined,r.isRegExp=isRegExp,r.types.isRegExp=isRegExp,r.isObject=isObject,r.isDate=isDate,r.types.isDate=isDate,r.isError=isError,r.types.isNativeError=isError,r.isFunction=isFunction,r.isPrimitive=function isPrimitive(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},r.isBuffer=n(1201);function hasOwnProperty(t,r){return Object.prototype.hasOwnProperty.call(t,r)}r.log=function(){},r.inherits=n(9784),r._extend=function(t,r){if(!r||!isObject(r))return t;for(var n=Object.keys(r),i=n.length;i--;)t[n[i]]=r[n[i]];return t};var h="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function callbackifyOnRejected(t,r){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return r(t)}r.promisify=function promisify(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(h&&t[h]){var r;if("function"!=typeof(r=t[h]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,h,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var r,n,i=new Promise(function(t,i){r=t,n=i}),a=[],o=0;o>>6-s%4*2;a[o>>>2]|=l<<24-o%4*8,o++}return r.create(a,o)}t.enc.Base64url={stringify:function(t,r){void 0===r&&(r=!0);var n=t.words,i=t.sigBytes,a=r?this._safe_map:this._map;t.clamp();for(var o=[],s=0;s>>2]>>>24-s%4*8&255)<<16|(n[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|n[s+2>>>2]>>>24-(s+2)%4*8&255,u=0;u<4&&s+.75*u>>6*(3-u)&63));var h=a.charAt(64);if(h)for(;o.length%4;)o.push(h);return o.join("")},parse:function(t,r){void 0===r&&(r=!0);var n=t.length,i=r?this._safe_map:this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var o=0;o`}toStringWithIndent(t,r){return t+this.toString(r)}}r.XmlCDataNode=XmlCDataNode;class XmlCommentNode{constructor(t){this.comment=t,this.type="comment"}toString(t){return`\x3c!--${formatText(escapeXML(this.comment),t)}--\x3e`}toStringWithIndent(t,r){return t+this.toString(r)}}r.XmlCommentNode=XmlCommentNode;class XmlElement{constructor(t,r){if(this.type="element",!r&&o.length){var n=o[o.length-1];"parser"in n&&(r=n.parser)}this.name=t.name,this.attr=t.attributes,this.val="",this.children=[],this.firstChild=null,this.lastChild=null,this.line=r?r.line:null,this.column=r?r.column:null,this.position=r?r.position:null,this.startTagPosition=r?r.startTagPosition:null}_addChild(t){this.children.push(t),this.firstChild||(this.firstChild=t),this.lastChild=t}_opentag(t){const r=new XmlElement(t);this._addChild(r),o.unshift(r)}_closetag(){o.shift()}_text(t){this.val+=t,this._addChild(new XmlTextNode(t))}_cdata(t){this.val+=t,this._addChild(new XmlCDataNode(t))}_comment(t){this._addChild(new XmlCommentNode(t))}_error(t){throw t}eachChild(t,r){for(let n=0,i=this.children.length;n1?n.attr[r[1]]:n.val:void 0}toString(t){return this.toStringWithIndent("",t)}toStringWithIndent(t,r){let n=`${t}<${this.name}`;const i=(null==r?void 0:r.compressed)?"":"\n";for(const t in this.attr)Object.prototype.hasOwnProperty.call(this.attr,t)&&(n+=` ${t}="${escapeXML(this.attr[t])}"`);if(1===this.children.length&&"element"!==this.children[0].type)n+=`>${this.children[0].toString(r)}`;else if(this.children.length){n+=`>${i}`;const a=t+((null==r?void 0:r.compressed)?"":" ");for(let t=0,o=this.children.length;t`}else if(null==r?void 0:r.html){["area","base","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"].includes(this.name)?n+="/>":n+=`>`}else n+="/>";return n}}r.XmlElement=XmlElement;class XmlDocument extends XmlElement{constructor(t){if(super({name:"",attributes:{}}),!(t=t.toString().trim()))throw new Error("No XML to parse!");this.doctype="",this.parser=a.default.parser(!0),function addParserEvents(t){t.onopentag=t=>{var r;return null===(r=o[0])||void 0===r?void 0:r._opentag(t)},t.onclosetag=()=>{var t;return null===(t=o[0])||void 0===t?void 0:t._closetag()},t.ontext=t=>{var r;return null===(r=o[0])||void 0===r?void 0:r._text(t)},t.oncdata=t=>{var r;return null===(r=o[0])||void 0===r?void 0:r._cdata(t)},t.oncomment=t=>{var r;return null===(r=o[0])||void 0===r?void 0:r._comment(t)},t.ondoctype=t=>{const r=o[0];r._doctype&&r._doctype(t)},t.onerror=t=>{var r;return null===(r=o[0])||void 0===r?void 0:r._error(t)}}(this.parser),o=[this];try{this.parser.write(t)}finally{delete this.parser}}_opentag(t){""===this.name?(this.name=t.name,this.attr=t.attributes):super._opentag(t)}_doctype(t){this.doctype+=t}}r.XmlDocument=XmlDocument;let o=[];function escapeXML(t){return t.toString().replace(/&/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")}function formatText(t,r){let n=t;return(null==r?void 0:r.trimmed)&&t.length>25&&(n=n.substring(0,25).trim()+"…"),(null==r?void 0:r.preserveWhitespace)||(n=n.trim()),n}r.default=XmlDocument},7552(t){"use strict";t.exports=Math.min},7571(t,r,n){"use strict";n(8376),n(6401),n(2017);const i=n(3483),{swap32LE:a}=n(6016);t.exports=class UnicodeTrie{constructor(t){const r="function"==typeof t.readUInt32BE&&"function"==typeof t.slice;if(r||t instanceof Uint8Array){let n;if(r)this.highStart=t.readUInt32LE(0),this.errorValue=t.readUInt32LE(4),n=t.readUInt32LE(8),t=t.slice(12);else{const r=new DataView(t.buffer);this.highStart=r.getUint32(0,!0),this.errorValue=r.getUint32(4,!0),n=r.getUint32(8,!0),t=t.subarray(12)}t=i(t,new Uint8Array(n)),t=i(t,new Uint8Array(n)),a(t),this.data=new Uint32Array(t.buffer)}else({data:this.data,highStart:this.highStart,errorValue:this.errorValue}=t)}get(t){let r;return t<0||t>1114111?this.errorValue:t<55296||t>56319&&t<=65535?(r=(this.data[t>>5]<<2)+(31&t),this.data[r]):t<=65535?(r=(this.data[2048+(t-55296>>5)]<<2)+(31&t),this.data[r]):t>11)],r=this.data[r+(t>>5&63)],r=(r<<2)+(31&t),this.data[r]):this.data[this.data.length-4]}}},7596(t,r,n){"use strict";var i=n(6521);t.exports=function getPolyfill(){return Object.assign?function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",r=t.split(""),n={},i=0;i ${validateNumber(t.kern)}`),a="")}function flush(){a.length&&(i.push(`<${a}> 0`),a=""),i.length&&(t.addContent(`[${i.join(" ")}] TJ`),i=[])}for(let t=0;t0)for(;n<0;)n+=a;t.dash(r,{phase:n})}function parseXml(t){let SvgNode=function(t,r,n,i){this.error=i,this.nodeName=t,this.nodeValue=n,this.nodeType=r,this.attributes=Object.create(null),this.childNodes=[],this.parentNode=null,this.id="",this.textContent="",this.classList=[]};SvgNode.prototype.getAttribute=function(t){return null!=this.attributes[t]?this.attributes[t]:null},SvgNode.prototype.getElementById=function(t){let r=null;return function recursive(n){if(!r&&1===n.nodeType){n.id===t&&(r=n);for(let t=0;t/)){for(;r=recursive();)n.childNodes.push(r),r.parentNode=n,n.textContent+=3===r.nodeType||4===r.nodeType?r.nodeValue:r.textContent;return(t=i.match(/^<\/([\w:.-]+)\s*>/,!0))?(t[1]===n.nodeName||(x('parseXml: tag not matching, opening "'+n.nodeName+'" & closing "'+t[1]+'"'),a=!0),n):(x('parseXml: tag not matching, opening "'+n.nodeName+'" & not closing'),a=!0,n)}if(i.match(/^\/>/))return n;x('parseXml: tag could not be parsed "'+n.nodeName+'"'),a=!0}else{if(t=i.match(/^/))return new SvgNode(null,8,t,a);if(t=i.match(/^<\?[\s\S]*?\?>/))return new SvgNode(null,7,t,a);if(t=i.match(/^/))return new SvgNode(null,10,t,a);if(t=i.match(/^/,!0))return new SvgNode("#cdata-section",4,t[1],a);if(t=i.match(/^([^<]+)/,!0))return new SvgNode("#text",3,decodeEntities(t[1]),a)}};for(;n=recursive();)1!==n.nodeType||r?(1===n.nodeType||3===n.nodeType&&""!==n.nodeValue.trim())&&x("parseXml: data after document end has been discarded"):r=n;return i.matchAll()&&x("parseXml: parsing error"),r}function decodeEntities(t){return t.replace(/&(?:#([0-9]+)|#[xX]([0-9A-Fa-f]+)|([0-9A-Za-z]+));/g,function(t,r,n,i){return r?String.fromCharCode(parseInt(r,10)):n?String.fromCharCode(parseInt(n,16)):i&&l[i]?String.fromCharCode(l[i]):t})}function parseColor(t){let r,n;return t=(t||"").trim(),(r=o[t])?n=[r.slice(),1]:(r=t.match(/^cmyk\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9.]+)\s*\)$/i))?(r[1]=parseInt(r[1]),r[2]=parseInt(r[2]),r[3]=parseInt(r[3]),r[4]=parseFloat(r[4]),r[1]<=100&&r[2]<=100&&r[3]<=100&&r[4]<=100&&(n=[r.slice(1,5),1])):(r=t.match(/^rgba\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9.]+)\s*\)$/i))?(r[1]=parseInt(r[1]),r[2]=parseInt(r[2]),r[3]=parseInt(r[3]),r[4]=parseFloat(r[4]),r[1]<256&&r[2]<256&&r[3]<256&&r[4]<=1&&(n=[r.slice(1,4),r[4]])):(r=t.match(/^rgb\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)$/i))?(r[1]=parseInt(r[1]),r[2]=parseInt(r[2]),r[3]=parseInt(r[3]),r[1]<256&&r[2]<256&&r[3]<256&&(n=[r.slice(1,4),1])):(r=t.match(/^rgb\(\s*([0-9.]+)%\s*,\s*([0-9.]+)%\s*,\s*([0-9.]+)%\s*\)$/i))?(r[1]=2.55*parseFloat(r[1]),r[2]=2.55*parseFloat(r[2]),r[3]=2.55*parseFloat(r[3]),r[1]<256&&r[2]<256&&r[3]<256&&(n=[r.slice(1,4),1])):(r=t.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i))?n=[[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)],1]:(r=t.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i))&&(n=[[17*parseInt(r[1],16),17*parseInt(r[2],16),17*parseInt(r[3],16)],1]),A?A(n,t):n}function opacityToColor(t,r,n){let i=t[0].slice(),a=t[1]*r;if(n){for(let r=0;r=0;t--)r=multiplyMatrix(k[t].savedMatrix,r);return r}function getPageBBox(){return(new SvgShape).M(0,0).L(t.page.width,0).L(t.page.width,t.page.height).L(0,t.page.height).transform(inverseMatrix(getGlobalMatrix())).getBoundingBox()}function inverseMatrix(t){let r=t[0]*t[3]-t[1]*t[2];return[t[3]/r,-t[1]/r,-t[2]/r,t[0]/r,(t[2]*t[5]-t[3]*t[4])/r,(t[1]*t[4]-t[0]*t[5])/r]}function validateMatrix(t){let r=validateNumber(t[0]),n=validateNumber(t[1]),i=validateNumber(t[2]),a=validateNumber(t[3]),o=validateNumber(t[4]),s=validateNumber(t[5]);if(isNotEqual(r*a-n*i,0))return[r,n,i,a,o,s]}function solveEquation(t){let r=t[2]||0,n=t[1]||0,i=t[0]||0;if(isEqual(r,0)&&isEqual(n,0))return[];if(isEqual(r,0))return[-i/n];{let t=n*n-4*r*i;return isNotEqual(t,0)&&t>0?[(-n+Math.sqrt(t))/(2*r),(-n-Math.sqrt(t))/(2*r)]:isEqual(t,0)?[-n/(2*r)]:[]}}function getCurveValue(t,r){return(r[0]||0)+(r[1]||0)*t+(r[2]||0)*t*t+(r[3]||0)*t*t*t}function isEqual(t,r){return Math.abs(t-r)<1e-10}function isNotEqual(t,r){return Math.abs(t-r)>=1e-10}function validateNumber(t){return t>-1e21&&t<1e21?Math.round(1e6*t)/1e6:0}function parseTranform(t){let r,n=new StringParser((t||"").trim()),i=[1,0,0,1,0,0];for(;r=n.match(/^([A-Za-z]+)\s*[(]([^(]+)[)]/,!0);){let t,a=r[1],o=[],s=new StringParser(r[2].trim());for(;t=s.matchNumber();)o.push(Number(t)),s.matchSeparator();if("matrix"===a&&6===o.length)i=multiplyMatrix(i,[o[0],o[1],o[2],o[3],o[4],o[5]]);else if("translate"===a&&2===o.length)i=multiplyMatrix(i,[1,0,0,1,o[0],o[1]]);else if("translate"===a&&1===o.length)i=multiplyMatrix(i,[1,0,0,1,o[0],0]);else if("scale"===a&&2===o.length)i=multiplyMatrix(i,[o[0],0,0,o[1],0,0]);else if("scale"===a&&1===o.length)i=multiplyMatrix(i,[o[0],0,0,o[0],0,0]);else if("rotate"===a&&3===o.length){let t=o[0]*Math.PI/180;i=multiplyMatrix(i,[1,0,0,1,o[1],o[2]],[Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0],[1,0,0,1,-o[1],-o[2]])}else if("rotate"===a&&1===o.length){let t=o[0]*Math.PI/180;i=multiplyMatrix(i,[Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0])}else if("skewX"===a&&1===o.length){let t=o[0]*Math.PI/180;i=multiplyMatrix(i,[1,0,Math.tan(t),1,0,0])}else{if("skewY"!==a||1!==o.length)return;{let t=o[0]*Math.PI/180;i=multiplyMatrix(i,[1,Math.tan(t),0,1,0,0])}}n.matchSeparator()}if(!n.matchAll())return i}function parseAspectRatio(t,r,n,i,a,o){let s=(t||"").trim().match(/^(none)$|^x(Min|Mid|Max)Y(Min|Mid|Max)(?:\s+(meet|slice))?$/)||[],l=s[1]||s[4]||"meet",u=s[2]||"Mid",h=s[3]||"Mid",p=r/i,g=n/a,m={Min:0,Mid:.5,Max:1}[u]-(o||0),y={Min:0,Mid:.5,Max:1}[h]-(o||0);return"slice"===l?g=p=Math.max(p,g):"meet"===l&&(g=p=Math.min(p,g)),[p,0,0,g,m*(r-i*p),y*(n-a*g)]}function parseStyleAttr(t){let r=Object.create(null);t=(t||"").trim().split(/;/);for(let n=0;ni&&(t=i,i=r,r=t),n>a&&(t=a,a=n,n=t);let o=solveEquation(g);for(let t=0;t=0&&o[t]<=1){let n=getCurveValue(o[t],h);ni&&(i=n)}let s=solveEquation(m);for(let t=0;t=0&&s[t]<=1){let r=getCurveValue(s[t],p);ra&&(a=r)}return[r,n,i,a]},this.getPointAtLength=function(t){if(isEqual(t,0))return this.startPoint;if(isEqual(t,this.totalLength))return this.endPoint;if(!(t<0||t>this.totalLength))for(let r=1;r<=u;r++){let n=y[r-1],i=y[r];if(n<=t&&t<=i){let a=(r-(i-t)/(i-n))/u,o=getCurveValue(a,h),s=getCurveValue(a,p),l=getCurveValue(a,g),y=getCurveValue(a,m);return[o,s,Math.atan2(y,l)]}}}},LineSegment=function(t,r,n,i){this.totalLength=Math.sqrt((n-t)*(n-t)+(i-r)*(i-r)),this.startPoint=[t,r,Math.atan2(i-r,n-t)],this.endPoint=[n,i,Math.atan2(i-r,n-t)],this.getBoundingBox=function(){return[Math.min(this.startPoint[0],this.endPoint[0]),Math.min(this.startPoint[1],this.endPoint[1]),Math.max(this.startPoint[0],this.endPoint[0]),Math.max(this.startPoint[1],this.endPoint[1])]},this.getPointAtLength=function(t){if(t>=0&&t<=this.totalLength){let r=t/this.totalLength||0;return[this.startPoint[0]+r*(this.endPoint[0]-this.startPoint[0]),this.startPoint[1]+r*(this.endPoint[1]-this.startPoint[1]),this.startPoint[2]]}}},SvgShape=function(){this.pathCommands=[],this.pathSegments=[],this.startPoint=null,this.endPoint=null,this.totalLength=0;let r,n,i,a=0,o=0,s=0,l=0;this.move=function(t,r){return a=s=t,o=l=r,null},this.line=function(t,r){let n=new LineSegment(s,l,t,r);return s=t,l=r,n},this.curve=function(t,r,n,i,a,o){let u=new BezierSegment(s,l,t,r,n,i,a,o);return s=a,l=o,u},this.close=function(){let t=new LineSegment(s,l,a,o);return s=a,l=o,t},this.addCommand=function(t){this.pathCommands.push(t);let r=this[t[0]].apply(this,t.slice(3));r&&(r.hasStart=t[1],r.hasEnd=t[2],this.startPoint=this.startPoint||r.startPoint,this.endPoint=r.endPoint,this.pathSegments.push(r),this.totalLength+=r.totalLength)},this.M=function(t,n){return this.addCommand(["move",!0,!0,t,n]),r="M",this},this.m=function(t,r){return this.M(s+t,l+r)},this.Z=this.z=function(){return this.addCommand(["close",!0,!0]),r="Z",this},this.L=function(t,n){return this.addCommand(["line",!0,!0,t,n]),r="L",this},this.l=function(t,r){return this.L(s+t,l+r)},this.H=function(t){return this.L(t,l)},this.h=function(t){return this.L(s+t,l)},this.V=function(t){return this.L(s,t)},this.v=function(t){return this.L(s,l+t)},this.C=function(t,a,o,s,l,u){return this.addCommand(["curve",!0,!0,t,a,o,s,l,u]),r="C",n=o,i=s,this},this.c=function(t,r,n,i,a,o){return this.C(s+t,l+r,s+n,l+i,s+a,l+o)},this.S=function(t,a,o,u){return this.C(s+("C"===r?s-n:0),l+("C"===r?l-i:0),t,a,o,u)},this.s=function(t,a,o,u){return this.C(s+("C"===r?s-n:0),l+("C"===r?l-i:0),s+t,l+a,s+o,l+u)},this.Q=function(t,a,o,u){let h=s+2/3*(t-s),p=l+2/3*(a-l),g=o+2/3*(t-o),m=u+2/3*(a-u);return this.addCommand(["curve",!0,!0,h,p,g,m,o,u]),r="Q",n=t,i=a,this},this.q=function(t,r,n,i){return this.Q(s+t,l+r,s+n,l+i)},this.T=function(t,a){return this.Q(s+("Q"===r?s-n:0),l+("Q"===r?l-i:0),t,a)},this.t=function(t,a){return this.Q(s+("Q"===r?s-n:0),l+("Q"===r?l-i:0),s+t,l+a)},this.A=function(t,n,i,a,o,u,h){if(isEqual(t,0)||isEqual(n,0))this.addCommand(["line",!0,!0,u,h]);else{i*=Math.PI/180,t=Math.abs(t),n=Math.abs(n),a=1*!!a,o=1*!!o;let r=Math.cos(i)*(s-u)/2+Math.sin(i)*(l-h)/2,p=Math.cos(i)*(l-h)/2-Math.sin(i)*(s-u)/2,g=r*r/(t*t)+p*p/(n*n);g>1&&(t*=Math.sqrt(g),n*=Math.sqrt(g));let m=Math.sqrt(Math.max(0,t*t*n*n-t*t*p*p-n*n*r*r)/(t*t*p*p+n*n*r*r)),y=(a===o?-1:1)*m*t*p/n,w=(a===o?1:-1)*m*n*r/t,v=Math.cos(i)*y-Math.sin(i)*w+(s+u)/2,x=Math.sin(i)*y+Math.cos(i)*w+(l+h)/2,_=Math.atan2((p-w)/n,(r-y)/t),S=Math.atan2((-p-w)/n,(-r-y)/t);0===o&&S-_>0?S-=2*Math.PI:1===o&&S-_<0&&(S+=2*Math.PI);let A=Math.ceil(Math.abs(S-_)/(Math.PI/P));for(let r=0;rt[2]&&(t[2]=r[2]),r[1]t[3]&&(t[3]=r[3])}for(let t=0;t=0&&t<=this.totalLength){let r;for(let n=0;na.selector.specificity||(r[t]=a.css[t],n[t]=a.selector.specificity)}return r}(t),this.allowedChildren=[],this.attr=function(r){if("function"==typeof t.getAttribute)return t.getAttribute(r)},this.resolveUrl=function(t){let n=(t||"").match(/^\s*(?:url\("(.*)#(.*)"\)|url\('(.*)#(.*)'\)|url\((.*)#(.*)\)|(.*)#(.*))\s*$/)||[],i=n[1]||n[3]||n[5]||n[7],a=n[2]||n[4]||n[6]||n[8];if(a){if(!i){let t=r.getElementById(a);if(t)return-1===this.stack.indexOf(t)?t:void x('SVGtoPDF: loop of circular references for id "'+a+'"')}if(C){let t=T[i];if(!t){t=C(i),function isArrayLike(t){return"object"==typeof t&&null!==t&&"number"==typeof t.length}(t)||(t=[t]);for(let r=0;r=0&&n[3]>=0?n:r},this.getPercent=function(t,r){let n=this.attr(t),i=new StringParser((n||"").trim()),a=i.matchNumber();return a?(i.match("%")&&(a*=.01),i.matchAll()?r:Math.max(0,Math.min(1,a))):r},this.chooseValue=function(t){for(let t=0;t=0&&(n=o);break;case"stroke-miterlimit":o=parseFloat(r),null!=o&&o>=1&&(n=o);break;case"word-spacing":case"letter-spacing":case"stroke-dashoffset":n=this.computeLength(r,this.getViewport())}if(null!=n)return i[t]=n}}return i[t]=a.inherit&&this.inherits?this.inherits.get(t):a.initial},this.getChildren=function(){if(null!=a)return a;let r=[];for(let n=0;n0?t:this.ref?this.ref.getChildren():[]},this.getPaint=function(r,n,a,o){let s="userSpaceOnUse"!==this.attr("patternUnits"),l="objectBoundingBox"===this.attr("patternContentUnits"),u=this.getLength("x",s?1:this.getParentVWidth(),0),h=this.getLength("y",s?1:this.getParentVHeight(),0),p=this.getLength("width",s?1:this.getParentVWidth(),0),g=this.getLength("height",s?1:this.getParentVHeight(),0);l&&!s?(u=(u-r[0])/(r[2]-r[0])||0,h=(h-r[1])/(r[3]-r[1])||0,p=p/(r[2]-r[0])||0,g=g/(r[3]-r[1])||0):!l&&s&&(u=r[0]+u*(r[2]-r[0]),h=r[1]+h*(r[3]-r[1]),p*=r[2]-r[0],g*=r[3]-r[1]);let m=this.getViewbox("viewBox",[0,0,p,g]),y=multiplyMatrix(parseAspectRatio((this.attr("preserveAspectRatio")||"").trim(),p,g,m[2],m[3],0),[1,0,0,1,-m[0],-m[1]]),w=parseTranform(this.attr("patternTransform"));if(l&&(w=multiplyMatrix([r[2]-r[0],0,0,r[3]-r[1],r[0],r[1]],w)),w=multiplyMatrix(w,[1,0,0,1,u,h]),(w=validateMatrix(w))&&(y=validateMatrix(y))&&(p=validateNumber(p))&&(g=validateNumber(g))){let r=docBeginGroup([0,0,p,g]);return t.transform.apply(t,y),this.drawChildren(a,o),docEndGroup(r),[docCreatePattern(r,p,g,w),n]}return i?[i[0],i[1]*n]:void 0},this.getVWidth=function(){let t="userSpaceOnUse"!==this.attr("patternUnits"),r=this.getLength("width",t?1:this.getParentVWidth(),0);return this.getViewbox("viewBox",[0,0,r,0])[2]},this.getVHeight=function(){let t="userSpaceOnUse"!==this.attr("patternUnits"),r=this.getLength("height",t?1:this.getParentVHeight(),0);return this.getViewbox("viewBox",[0,0,0,r])[3]}},SvgElemGradient=function(r,n,i){SvgElem.call(this,r,n),this.allowedChildren=["stop"],this.ref=function(){let t=this.getUrl("href")||this.getUrl("xlink:href");if(t&&t.nodeName===r.nodeName)return new SvgElemGradient(t,n,i)}.call(this);let a=this.attr;this.attr=function(t){let r=a.call(this,t);return null!=r||"href"===t||"xlink:href"===t?r:this.ref?this.ref.attr(t):null};let o=this.getChildren;this.getChildren=function(){let t=o.call(this);return t.length>0?t:this.ref?this.ref.getChildren():[]},this.getPaint=function(r,n,a,o){let l=this.getChildren();if(0===l.length)return;if(1===l.length){let t=l[0],r=t.get("stop-color");if("none"===r)return;return opacityToColor(r,t.get("stop-opacity")*n,o)}let u,h,p,g,m,y,w="userSpaceOnUse"!==this.attr("gradientUnits"),v=parseTranform(this.attr("gradientTransform")),_=this.attr("spreadMethod"),S=0,A=0,C=1;if(w&&(v=multiplyMatrix([r[2]-r[0],0,0,r[3]-r[1],r[0],r[1]],v)),v=validateMatrix(v)){if("linearGradient"===this.name)h=this.getLength("x1",w?1:this.getVWidth(),0),p=this.getLength("x2",w?1:this.getVWidth(),w?1:this.getVWidth()),g=this.getLength("y1",w?1:this.getVHeight(),0),m=this.getLength("y2",w?1:this.getVHeight(),0);else{p=this.getLength("cx",w?1:this.getVWidth(),w?.5:.5*this.getVWidth()),m=this.getLength("cy",w?1:this.getVHeight(),w?.5:.5*this.getVHeight()),y=this.getLength("r",w?1:this.getViewport(),w?.5:.5*this.getViewport()),h=this.getLength("fx",w?1:this.getVWidth(),p),g=this.getLength("fy",w?1:this.getVHeight(),m),y<0&&x("SvgElemGradient: negative r value");let t=Math.sqrt(Math.pow(p-h,2)+Math.pow(m-g,2)),r=1;t>y&&(r=y/t,h=p+(h-p)*r,g=m+(g-m)*r),y=Math.max(y,t*r*1.000001)}if("reflect"===_||"repeat"===_){let t=inverseMatrix(v),n=transformPoint([r[0],r[1]],t),i=transformPoint([r[2],r[1]],t),a=transformPoint([r[2],r[3]],t),o=transformPoint([r[0],r[3]],t);"linearGradient"===this.name?(S=Math.max((n[0]-p)*(p-h)+(n[1]-m)*(m-g),(i[0]-p)*(p-h)+(i[1]-m)*(m-g),(a[0]-p)*(p-h)+(a[1]-m)*(m-g),(o[0]-p)*(p-h)+(o[1]-m)*(m-g))/(Math.pow(p-h,2)+Math.pow(m-g,2)),A=Math.max((n[0]-h)*(h-p)+(n[1]-g)*(g-m),(i[0]-h)*(h-p)+(i[1]-g)*(g-m),(a[0]-h)*(h-p)+(a[1]-g)*(g-m),(o[0]-h)*(h-p)+(o[1]-g)*(g-m))/(Math.pow(p-h,2)+Math.pow(m-g,2))):S=Math.sqrt(Math.max(Math.pow(n[0]-p,2)+Math.pow(n[1]-m,2),Math.pow(i[0]-p,2)+Math.pow(i[1]-m,2),Math.pow(a[0]-p,2)+Math.pow(a[1]-m,2),Math.pow(o[0]-p,2)+Math.pow(o[1]-m,2)))/y-1,S=Math.ceil(S+.5),A=Math.ceil(A+.5),C=A+1+S}u="linearGradient"===this.name?t.linearGradient(h-A*(p-h),g-A*(m-g),p+S*(p-h),m+S*(m-g)):t.radialGradient(h,g,0,p,m,y+S*y);for(let t=0;t0&&u.stop((t+0)/C,p[0],p[1]),u.stop((t+r)/(S+A+1),p[0],p[1]),a===l.length-1&&r<1&&u.stop((t+1)/C,p[0],p[1])}}return u.setTransform.apply(u,v),[u,1]}return i?[i[0],i[1]*n]:void 0}},SvgElemBasicShape=function(r,n){SvgElemStylable.call(this,r,n),this.dashScale=1,this.getBoundingShape=function(){return this.shape},this.getTransformation=function(){return this.get("transform")},this.drawInDocument=function(r,n){if("hidden"!==this.get("visibility")&&this.shape){if(t.save(),"non-scaling-stroke"===this.get("vector-effect")?this.shape.transform(this.getTransformation()):this.transform(),this.clip(),r)this.shape.insertInDocument(),docFillColor(s.white),t.fill(this.get("clip-rule"));else{let i;this.mask()&&(i=docBeginGroup(getPageBBox()));let a=this.shape.getSubPaths(),o=this.getFill(r,n),s=this.getStroke(r,n),l=this.get("stroke-width"),u=this.get("stroke-linecap");if("non-scaling-stroke"===this.get("vector-effect")&&(l/=function getPageScale(){const r=getPageBBox();return t.page.width/r[2]}()),o||s){if(o&&docFillColor(o),s){for(let r=0;r0&&a[r].startPoint&&a[r].startPoint.length>1){let n=a[r].startPoint[0],i=a[r].startPoint[1];docFillColor(s),"square"===u?t.rect(n-.5*l,i-.5*l,l,l):"round"===u&&t.circle(n,i,.5*l),t.fill()}let r=this.get("stroke-dasharray"),n=this.get("stroke-dashoffset");if(isNotEqual(this.dashScale,1)){for(let t=0;t0&&a[t].insertInDocument();o&&s?t.fillAndStroke(this.get("fill-rule")):o?t.fill(this.get("fill-rule")):s&&t.stroke()}let h=this.get("marker-start"),p=this.get("marker-mid"),g=this.get("marker-end");if("none"!==h||"none"!==p||"none"!==g){let t=this.shape.getMarkers();if("none"!==h&&t.length>0&&new SvgElemMarker(h,null).drawMarker(!1,n,t[0],l),"none"!==p)for(let r=1;r0&&new SvgElemMarker(g,null).drawMarker(!1,n,t[t.length-1],l)}i&&(docEndGroup(i),docInsertGroup(i))}t.restore()}}},SvgElemRect=function(t,r){SvgElemBasicShape.call(this,t,r);let n=this.getLength("x",this.getVWidth(),0),i=this.getLength("y",this.getVHeight(),0),a=this.getLength("width",this.getVWidth(),0),o=this.getLength("height",this.getVHeight(),0),s=this.getLength("rx",this.getVWidth()),l=this.getLength("ry",this.getVHeight());void 0===s&&void 0===l?s=l=0:void 0===s&&void 0!==l?s=l:void 0!==s&&void 0===l&&(l=s),a>0&&o>0?s&&l?(s=Math.min(s,.5*a),l=Math.min(l,.5*o),this.shape=(new SvgShape).M(n+s,i).L(n+a-s,i).A(s,l,0,0,1,n+a,i+l).L(n+a,i+o-l).A(s,l,0,0,1,n+a-s,i+o).L(n+s,i+o).A(s,l,0,0,1,n,i+o-l).L(n,i+l).A(s,l,0,0,1,n+s,i).Z()):this.shape=(new SvgShape).M(n,i).L(n+a,i).L(n+a,i+o).L(n,i+o).Z():this.shape=new SvgShape},SvgElemCircle=function(t,r){SvgElemBasicShape.call(this,t,r);let n=this.getLength("cx",this.getVWidth(),0),i=this.getLength("cy",this.getVHeight(),0),a=this.getLength("r",this.getViewport(),0);this.shape=a>0?(new SvgShape).M(n+a,i).A(a,a,0,0,1,n-a,i).A(a,a,0,0,1,n+a,i).Z():new SvgShape},SvgElemEllipse=function(t,r){SvgElemBasicShape.call(this,t,r);let n=this.getLength("cx",this.getVWidth(),0),i=this.getLength("cy",this.getVHeight(),0),a=this.getLength("rx",this.getVWidth(),0),o=this.getLength("ry",this.getVHeight(),0);this.shape=a>0&&o>0?(new SvgShape).M(n+a,i).A(a,o,0,0,1,n-a,i).A(a,o,0,0,1,n+a,i).Z():new SvgShape},SvgElemLine=function(t,r){SvgElemBasicShape.call(this,t,r);let n=this.getLength("x1",this.getVWidth(),0),i=this.getLength("y1",this.getVHeight(),0),a=this.getLength("x2",this.getVWidth(),0),o=this.getLength("y2",this.getVHeight(),0);this.shape=(new SvgShape).M(n,i).L(a,o)},SvgElemPolyline=function(t,r){SvgElemBasicShape.call(this,t,r);let n=this.getNumberList("points");this.shape=new SvgShape;for(let t=0;t0?n:void 0,this.dashScale=void 0!==this.pathLength?this.shape.totalLength/this.pathLength:1},SvgElemMarker=function(r,n){SvgElemHasChildren.call(this,r,n);let i=this.getLength("markerWidth",this.getParentVWidth(),3),a=this.getLength("markerHeight",this.getParentVHeight(),3),o=this.getViewbox("viewBox",[0,0,i,a]);this.getVWidth=function(){return o[2]},this.getVHeight=function(){return o[3]},this.drawMarker=function(r,n,s,l){t.save();let u=this.attr("orient"),h=this.attr("markerUnits"),p="auto"===u?s[2]:(parseFloat(u)||0)*Math.PI/180,g="userSpaceOnUse"===h?1:l;t.transform(Math.cos(p)*g,Math.sin(p)*g,-Math.sin(p)*g,Math.cos(p)*g,s[0],s[1]);let m,y=this.getLength("refX",this.getVWidth(),0),w=this.getLength("refY",this.getVHeight(),0),v=parseAspectRatio(this.attr("preserveAspectRatio"),i,a,o[2],o[3],.5);"hidden"===this.get("overflow")&&t.rect(v[0]*(o[0]+o[2]/2-y)-i/2,v[3]*(o[1]+o[3]/2-w)-a/2,i,a).clip(),t.transform.apply(t,v),t.translate(-y,-w),this.get("opacity")<1&&!r&&(m=docBeginGroup(getPageBBox())),this.drawChildren(r,n),m&&(docEndGroup(m),t.fillOpacity(this.get("opacity")),docInsertGroup(m)),t.restore()}},SvgElemClipPath=function(r,n){SvgElemHasChildren.call(this,r,n),this.useMask=function(r){let n=docBeginGroup(getPageBBox());t.save(),t.transform.apply(t,this.get("transform")),"objectBoundingBox"===this.attr("clipPathUnits")&&t.transform(r[2]-r[0],0,0,r[3]-r[1],r[0],r[1]),this.clip(),this.drawChildren(!0,!1),t.restore(),docEndGroup(n),docApplyMask(n,!0)}},SvgElemMask=function(r,n){SvgElemHasChildren.call(this,r,n),this.useMask=function(r){let n,i,a,o,s=docBeginGroup(getPageBBox());t.save(),"userSpaceOnUse"===this.attr("maskUnits")?(n=this.getLength("x",this.getVWidth(),-.1*(r[2]-r[0])+r[0]),i=this.getLength("y",this.getVHeight(),-.1*(r[3]-r[1])+r[1]),a=this.getLength("width",this.getVWidth(),1.2*(r[2]-r[0])),o=this.getLength("height",this.getVHeight(),1.2*(r[3]-r[1]))):(n=this.getLength("x",this.getVWidth(),-.1)*(r[2]-r[0])+r[0],i=this.getLength("y",this.getVHeight(),-.1)*(r[3]-r[1])+r[1],a=this.getLength("width",this.getVWidth(),1.2)*(r[2]-r[0]),o=this.getLength("height",this.getVHeight(),1.2)*(r[3]-r[1])),"objectBoundingBox"===this.attr("maskContentUnits")&&t.transform(r[2]-r[0],0,0,r[3]-r[1],r[0],r[1]),this.clip(),this.drawChildren(!1,!0),t.restore(),docEndGroup(s),docApplyMask(s,!0)}},SvgElemTextContainer=function(r,n){SvgElemStylable.call(this,r,n),this.allowedChildren=["tspan","#text","#cdata-section","a"],this.isText=!0,this.getBoundingShape=function(){let t=new SvgShape;for(let r=0;r0?t:this.pathObject.totalLength,this.pathScale=this.pathObject.totalLength/this.pathLength}else if((n=this.getUrl("href")||this.getUrl("xlink:href"))&&"path"===n.nodeName){let t=new SvgElemPath(n,this);this.pathObject=t.shape.clone().transform(t.get("transform")),this.pathLength=this.chooseValue(t.pathLength,this.pathObject.totalLength),this.pathScale=this.pathObject.totalLength/this.pathLength}},SvgElemText=function(r,n){SvgElemTextContainer.call(this,r,n),this.allowedChildren=["textPath","tspan","#text","#cdata-section","a"],function(n){let i,a,o="",s=r.textContent,l=[],u=[],h=0,p=0;function doAnchoring(){if(u.length){let t=u[u.length-1],r=u[0],n=t.x+t.width-r.x,o={startltr:0,middleltr:.5,endltr:1,startrtl:1,middlertl:.5,endrtl:0}[i+a]*n||0;for(let t=0;tn||s<0)t._pos[o].hidden=!0;else{let n=r.getPointAtLength(s*i);isNotEqual(i,1)&&(t._pos[o].scale*=i,t._pos[o].width*=i),t._pos[o].x=n[0]-.5*t._pos[o].width*Math.cos(n[2])-t._pos[o].y*Math.sin(n[2]),t._pos[o].y=n[1]-.5*t._pos[o].width*Math.sin(n[2])+t._pos[o].y*Math.cos(n[2]),t._pos[o].rotate=n[2]+t._pos[o].rotate,t._pos[o].continuous=!1}}}else for(let r=0;r0&&n<1/0)for(let r=0;r=2){let n=(r-(s-o))/(t.length-1);for(let r=0;r>>2];t.sigBytes-=r}},i.pad.Iso10126)},7723(t,r,n){"use strict";t.exports=PassThrough;var i=n(8569);function PassThrough(t){if(!(this instanceof PassThrough))return new PassThrough(t);i.call(this,t)}n(9784)(PassThrough,i),PassThrough.prototype._transform=function(t,r,n){n(null,t)}},7756(t,r,n){"use strict";var check=function(t){return t&&t.Math===Math&&t};t.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof n.g&&n.g)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},7770(t){"use strict";t.exports=SyntaxError},7801(t,r,n){"use strict";var i=n(9964);function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _defineProperties(t,r){for(var n=0;n1?r-1:0),i=1;i1?r-1:0),i=1;i1?r-1:0),i=1;i1?r-1:0),i=1;i=0&&"[object Array]"!==a(t)&&"callee"in t&&"[object Function]"===a(t.callee)},l=function(){return o(arguments)}();o.isLegacyArguments=s,t.exports=l?o:s},7913(t,r,n){"use strict";var i=n(8651),a=n(6601),o=a(i("String.prototype.indexOf"));t.exports=function callBoundIntrinsic(t,r){var n=i(t,!!r);return"function"==typeof n&&o(t,".prototype.")>-1?a(n):n}},7920(t,r,n){"use strict";var i={};i[n(8663)("toStringTag")]="z",t.exports="[object z]"===String(i)},7984(t,r,n){var i=n(614),a=10,o=11;function Transform(t,r,n){this.prefix=new Uint8Array(t.length),this.transform=r,this.suffix=new Uint8Array(n.length);for(var i=0;i'),new Transform("",0,"\n"),new Transform("",3,""),new Transform("",0,"]"),new Transform("",0," for "),new Transform("",14,""),new Transform("",2,""),new Transform("",0," a "),new Transform("",0," that "),new Transform(" ",a,""),new Transform("",0,". "),new Transform(".",0,""),new Transform(" ",0,", "),new Transform("",15,""),new Transform("",0," with "),new Transform("",0,"'"),new Transform("",0," from "),new Transform("",0," by "),new Transform("",16,""),new Transform("",17,""),new Transform(" the ",0,""),new Transform("",4,""),new Transform("",0,". The "),new Transform("",o,""),new Transform("",0," on "),new Transform("",0," as "),new Transform("",0," is "),new Transform("",7,""),new Transform("",1,"ing "),new Transform("",0,"\n\t"),new Transform("",0,":"),new Transform(" ",0,". "),new Transform("",0,"ed "),new Transform("",20,""),new Transform("",18,""),new Transform("",6,""),new Transform("",0,"("),new Transform("",a,", "),new Transform("",8,""),new Transform("",0," at "),new Transform("",0,"ly "),new Transform(" the ",0," of "),new Transform("",5,""),new Transform("",9,""),new Transform(" ",a,", "),new Transform("",a,'"'),new Transform(".",0,"("),new Transform("",o," "),new Transform("",a,'">'),new Transform("",0,'="'),new Transform(" ",0,"."),new Transform(".com/",0,""),new Transform(" the ",0," of the "),new Transform("",a,"'"),new Transform("",0,". This "),new Transform("",0,","),new Transform(".",0," "),new Transform("",a,"("),new Transform("",a,"."),new Transform("",0," not "),new Transform(" ",0,'="'),new Transform("",0,"er "),new Transform(" ",o," "),new Transform("",0,"al "),new Transform(" ",o,""),new Transform("",0,"='"),new Transform("",o,'"'),new Transform("",a,". "),new Transform(" ",0,"("),new Transform("",0,"ful "),new Transform(" ",a,". "),new Transform("",0,"ive "),new Transform("",0,"less "),new Transform("",o,"'"),new Transform("",0,"est "),new Transform(" ",a,"."),new Transform("",o,'">'),new Transform(" ",0,"='"),new Transform("",a,","),new Transform("",0,"ize "),new Transform("",o,"."),new Transform(" ",0,""),new Transform(" ",0,","),new Transform("",a,'="'),new Transform("",o,'="'),new Transform("",0,"ous "),new Transform("",o,", "),new Transform("",a,"='"),new Transform(" ",a,","),new Transform(" ",o,'="'),new Transform(" ",o,", "),new Transform("",o,","),new Transform("",o,"("),new Transform("",o,". "),new Transform(" ",o,"."),new Transform("",o,"='"),new Transform(" ",o,". "),new Transform(" ",a,'="'),new Transform(" ",o,"='"),new Transform(" ",a,"='")];function ToUpperCase(t,r){return t[r]<192?(t[r]>=97&&t[r]<=122&&(t[r]^=32),1):t[r]<224?(t[r+1]^=32,2):(t[r+2]^=5,3)}r.kTransforms=s,r.kNumTransforms=s.length,r.transformDictionaryWord=function(t,r,n,l,u){var h,p=s[u].prefix,g=s[u].suffix,m=s[u].transform,y=m<12?0:m-11,w=0,v=r;y>l&&(y=l);for(var x=0;x0;){var _=ToUpperCase(t,h);h+=_,l-=_}for(var S=0;S=r.status}function e(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(n){var r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(r)}}var r="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,i=r.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=r.saveAs||("object"!=typeof window||window!==r?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!i?function(t,n,i){var a=r.URL||r.webkitURL,o=document.createElement("a");n=n||t.name||"download",o.download=n,o.rel="noopener","string"==typeof t?(o.href=t,o.origin===location.origin?e(o):d(o.href)?c(t,n,i):e(o,o.target="_blank")):(o.href=a.createObjectURL(t),setTimeout(function(){a.revokeObjectURL(o.href)},4e4),setTimeout(function(){e(o)},0))}:"msSaveOrOpenBlob"in navigator?function(t,r,n){if(r=r||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(b(t,n),r);else if(d(t))c(t,r,n);else{var i=document.createElement("a");i.href=t,i.target="_blank",setTimeout(function(){e(i)})}}:function(t,n,a,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof t)return c(t,n,a);var s="application/octet-stream"===t.type,l=/constructor/i.test(r.HTMLElement)||r.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||s&&l||i)&&"undefined"!=typeof FileReader){var h=new FileReader;h.onloadend=function(){var t=h.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location=t,o=null},h.readAsDataURL(t)}else{var p=r.URL||r.webkitURL,g=p.createObjectURL(t);o?o.location=g:location.href=g,o=null,setTimeout(function(){p.revokeObjectURL(g)},4e4)}});r.saveAs=a.saveAs=a,t.exports=a})?i.apply(r,a):i)||(t.exports=o)},8109(t,r,n){"use strict";var i=n(5567);if(i)try{i([],"length")}catch(t){i=null}t.exports=i},8115(t,r,n){"use strict";var i=n(7756).navigator,a=i&&i.userAgent;t.exports=a?String(a):""},8130(t,r,n){"use strict";var i=n(3797).F.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function getHighWaterMark(t,r,n,a){var o=function highWaterMarkFrom(t,r,n){return null!=t.highWaterMark?t.highWaterMark:r?t[n]:null}(r,a,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new i(a?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},8197(t,r){function BrotliInput(t){this.buffer=t,this.pos=0}function BrotliOutput(t){this.buffer=t,this.pos=0}BrotliInput.prototype.read=function(t,r,n){this.pos+n>this.buffer.length&&(n=this.buffer.length-this.pos);for(var i=0;ithis.buffer.length)throw new Error("Output buffer is not large enough");return this.buffer.set(t.subarray(0,r),this.pos),this.pos+=r,r},r.y=BrotliOutput},8261(t,r,n){"use strict";var i,a=n(9964);t.exports=Readable,Readable.ReadableState=ReadableState;n(4785).EventEmitter;var o=function EElistenerCount(t,r){return t.listeners(r).length},s=n(9018),l=n(783).Buffer,u=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var h,p=n(7199);h=p&&p.debuglog?p.debuglog("stream"):function debug(){};var g,m,y,w=n(182),v=n(7385),x=n(8130).getHighWaterMark,_=n(3797).F,S=_.ERR_INVALID_ARG_TYPE,A=_.ERR_STREAM_PUSH_AFTER_EOF,C=_.ERR_METHOD_NOT_IMPLEMENTED,P=_.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(9784)(Readable,s);var k=v.errorOrDestroy,T=["error","close","destroy","pause","resume"];function ReadableState(t,r,a){i=i||n(4903),t=t||{},"boolean"!=typeof a&&(a=r instanceof i),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=x(this,t,"readableHighWaterMark",a),this.buffer=new w,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(g||(g=n(3143).I),this.decoder=new g(t.encoding),this.encoding=t.encoding)}function Readable(t){if(i=i||n(4903),!(this instanceof Readable))return new Readable(t);var r=this instanceof i;this._readableState=new ReadableState(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function readableAddChunk(t,r,n,i,a){h("readableAddChunk",r);var o,s=t._readableState;if(null===r)s.reading=!1,function onEofChunk(t,r){if(h("onEofChunk"),r.ended)return;if(r.decoder){var n=r.decoder.end();n&&n.length&&(r.buffer.push(n),r.length+=r.objectMode?1:n.length)}r.ended=!0,r.sync?emitReadable(t):(r.needReadable=!1,r.emittedReadable||(r.emittedReadable=!0,emitReadable_(t)))}(t,s);else if(a||(o=function chunkInvalid(t,r){var n;(function _isUint8Array(t){return l.isBuffer(t)||t instanceof u})(r)||"string"==typeof r||void 0===r||t.objectMode||(n=new S("chunk",["string","Buffer","Uint8Array"],r));return n}(s,r)),o)k(t,o);else if(s.objectMode||r&&r.length>0)if("string"==typeof r||s.objectMode||Object.getPrototypeOf(r)===l.prototype||(r=function _uint8ArrayToBuffer(t){return l.from(t)}(r)),i)s.endEmitted?k(t,new P):addChunk(t,s,r,!0);else if(s.ended)k(t,new A);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(r=s.decoder.write(r),s.objectMode||0!==r.length?addChunk(t,s,r,!1):maybeReadMore(t,s)):addChunk(t,s,r,!1)}else i||(s.reading=!1,maybeReadMore(t,s));return!s.ended&&(s.lengthr.highWaterMark&&(r.highWaterMark=function computeNewHighWaterMark(t){return t>=B?t=B:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=r.length?t:r.ended?r.length:(r.needReadable=!0,0))}function emitReadable(t){var r=t._readableState;h("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,r.emittedReadable||(h("emitReadable",r.flowing),r.emittedReadable=!0,a.nextTick(emitReadable_,t))}function emitReadable_(t){var r=t._readableState;h("emitReadable_",r.destroyed,r.length,r.ended),r.destroyed||!r.length&&!r.ended||(t.emit("readable"),r.emittedReadable=!1),r.needReadable=!r.flowing&&!r.ended&&r.length<=r.highWaterMark,flow(t)}function maybeReadMore(t,r){r.readingMore||(r.readingMore=!0,a.nextTick(maybeReadMore_,t,r))}function maybeReadMore_(t,r){for(;!r.reading&&!r.ended&&(r.length0,r.resumeScheduled&&!r.paused?r.flowing=!0:t.listenerCount("data")>0&&t.resume()}function nReadingNextTick(t){h("readable nexttick read 0"),t.read(0)}function resume_(t,r){h("resume",r.reading),r.reading||t.read(0),r.resumeScheduled=!1,t.emit("resume"),flow(t),r.flowing&&!r.reading&&t.read(0)}function flow(t){var r=t._readableState;for(h("flow",r.flowing);r.flowing&&null!==t.read(););}function fromList(t,r){return 0===r.length?null:(r.objectMode?n=r.buffer.shift():!t||t>=r.length?(n=r.decoder?r.buffer.join(""):1===r.buffer.length?r.buffer.first():r.buffer.concat(r.length),r.buffer.clear()):n=r.buffer.consume(t,r.decoder),n);var n}function endReadable(t){var r=t._readableState;h("endReadable",r.endEmitted),r.endEmitted||(r.ended=!0,a.nextTick(endReadableNT,r,t))}function endReadableNT(t,r){if(h("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,r.readable=!1,r.emit("end"),t.autoDestroy)){var n=r._writableState;(!n||n.autoDestroy&&n.finished)&&r.destroy()}}function indexOf(t,r){for(var n=0,i=t.length;n=r.highWaterMark:r.length>0)||r.ended))return h("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?endReadable(this):emitReadable(this),null;if(0===(t=howMuchToRead(t,r))&&r.ended)return 0===r.length&&endReadable(this),null;var i,a=r.needReadable;return h("need readable",a),(0===r.length||r.length-t0?fromList(t,r):null)?(r.needReadable=r.length<=r.highWaterMark,t=0):(r.length-=t,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==t&&r.ended&&endReadable(this)),null!==i&&this.emit("data",i),i},Readable.prototype._read=function(t){k(this,new C("_read()"))},Readable.prototype.pipe=function(t,r){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,r);var s=(!r||!1!==r.end)&&t!==a.stdout&&t!==a.stderr?onend:unpipe;function onunpipe(r,a){h("onunpipe"),r===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,function cleanup(){h("cleanup"),t.removeListener("close",onclose),t.removeListener("finish",onfinish),t.removeListener("drain",l),t.removeListener("error",onerror),t.removeListener("unpipe",onunpipe),n.removeListener("end",onend),n.removeListener("end",unpipe),n.removeListener("data",ondata),u=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||l()}())}function onend(){h("onend"),t.end()}i.endEmitted?a.nextTick(s):n.once("end",s),t.on("unpipe",onunpipe);var l=function pipeOnDrain(t){return function pipeOnDrainFunctionResult(){var r=t._readableState;h("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&o(t,"data")&&(r.flowing=!0,flow(t))}}(n);t.on("drain",l);var u=!1;function ondata(r){h("ondata");var a=t.write(r);h("dest.write",a),!1===a&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==indexOf(i.pipes,t))&&!u&&(h("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function onerror(r){h("onerror",r),unpipe(),t.removeListener("error",onerror),0===o(t,"error")&&k(t,r)}function onclose(){t.removeListener("finish",onfinish),unpipe()}function onfinish(){h("onfinish"),t.removeListener("close",onclose),unpipe()}function unpipe(){h("unpipe"),n.unpipe(t)}return n.on("data",ondata),function prependListener(t,r,n){if("function"==typeof t.prependListener)return t.prependListener(r,n);t._events&&t._events[r]?Array.isArray(t._events[r])?t._events[r].unshift(n):t._events[r]=[n,t._events[r]]:t.on(r,n)}(t,"error",onerror),t.once("close",onclose),t.once("finish",onfinish),t.emit("pipe",n),i.flowing||(h("pipe resume"),n.resume()),t},Readable.prototype.unpipe=function(t){var r=this._readableState,n={hasUnpiped:!1};if(0===r.pipesCount)return this;if(1===r.pipesCount)return t&&t!==r.pipes||(t||(t=r.pipes),r.pipes=null,r.pipesCount=0,r.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var i=r.pipes,a=r.pipesCount;r.pipes=null,r.pipesCount=0,r.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,h("on readable",i.length,i.reading),i.length?emitReadable(this):i.reading||a.nextTick(nReadingNextTick,this))),n},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.removeListener=function(t,r){var n=s.prototype.removeListener.call(this,t,r);return"readable"===t&&a.nextTick(updateReadableListening,this),n},Readable.prototype.removeAllListeners=function(t){var r=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||a.nextTick(updateReadableListening,this),r},Readable.prototype.resume=function(){var t=this._readableState;return t.flowing||(h("resume"),t.flowing=!t.readableListening,function resume(t,r){r.resumeScheduled||(r.resumeScheduled=!0,a.nextTick(resume_,t,r))}(this,t)),t.paused=!1,this},Readable.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},Readable.prototype.wrap=function(t){var r=this,n=this._readableState,i=!1;for(var a in t.on("end",function(){if(h("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&r.push(t)}r.push(null)}),t.on("data",function(a){(h("wrapped data"),n.decoder&&(a=n.decoder.write(a)),n.objectMode&&null==a)||(n.objectMode||a&&a.length)&&(r.push(a)||(i=!0,t.pause()))}),t)void 0===this[a]&&"function"==typeof t[a]&&(this[a]=function methodWrap(r){return function methodWrapReturnFunction(){return t[r].apply(t,arguments)}}(a));for(var o=0;o0?a(r,9007199254740991):0}},8300(t,r,n){"use strict";var i=n(4483);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8358(t,r,n){"use strict";var i,a;t.exports=(a=n(6861),n(2858),a.mode.ECB=((i=a.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(t,r){this._cipher.encryptBlock(t,r)}}),i.Decryptor=i.extend({processBlock:function(t,r){this._cipher.decryptBlock(t,r)}}),i),a.mode.ECB)},8376(t,r,n){"use strict";var i=n(4074),a=n(3161),o=n(3018),s=n(9391),l=n(8993),u=n(1212),h=n(299),p=i.aTypedArray,g=i.exportTypedArrayMethod,m=u("".slice);g("fill",function fill(t){var r=arguments.length;p(this);var n="Big"===m(s(this),0,3)?o(t):+t;return l(a,this,n,r>1?arguments[1]:void 0,r>2?arguments[2]:void 0)},h(function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t}))},8395(t,r,n){"use strict";r._=n(1635).__decorate},8404(t,r,n){"use strict";var i=n(3746),a=Object.prototype.toString,o=Object.prototype.hasOwnProperty;t.exports=function forEach(t,r,n){if(!i(r))throw new TypeError("iterator must be a function");var s;arguments.length>=3&&(s=n),function isArray(t){return"[object Array]"===a.call(t)}(t)?function forEachArray(t,r,n){for(var i=0,a=t.length;i0&&!a.call(t,0))for(var w=0;w0)for(var v=0;v1&&"boolean"!=typeof r)throw new p('"allowMissing" argument must be a boolean');if(null===X(/^%?[^%]*%?$/,t))throw new h("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function stringToPath(t){var r=q(t,0,1),n=q(t,-1);if("%"===r&&"%"!==n)throw new h("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==r)throw new h("invalid intrinsic syntax, expected opening `%`");var i=[];return H(t,Z,function(t,r,n,a){i[i.length]=n?H(a,Y,"$1"):r||t}),i}(t),i=n.length>0?n[0]:"",a=K("%"+i+"%",r),o=a.name,s=a.value,l=!1,u=a.alias;u&&(i=u[0],G(n,V([0,1],u)));for(var g=1,m=!0;g=n.length){var x=C(s,y);s=(m=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:s[y]}else m=j(s,y),s=s[y];m&&!l&&(N[o]=s)}}return s}},8663(t,r,n){"use strict";var i=n(7756),a=n(997),o=n(6341),s=n(6044),l=n(4483),u=n(8300),h=i.Symbol,p=a("wks"),g=u?h.for||h:h&&h.withoutSetter||s;t.exports=function(t){return o(p,t)||(p[t]=l&&o(h,t)?h[t]:g("Symbol."+t)),p[t]}},8681(t){"use strict";var r="object"==typeof document&&document.all;t.exports=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},8692(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(3144),function(){var t=i,r=t.lib.Hasher,n=t.x64,a=n.Word,o=n.WordArray,s=t.algo;function X64Word_create(){return a.create.apply(a,arguments)}var l=[X64Word_create(1116352408,3609767458),X64Word_create(1899447441,602891725),X64Word_create(3049323471,3964484399),X64Word_create(3921009573,2173295548),X64Word_create(961987163,4081628472),X64Word_create(1508970993,3053834265),X64Word_create(2453635748,2937671579),X64Word_create(2870763221,3664609560),X64Word_create(3624381080,2734883394),X64Word_create(310598401,1164996542),X64Word_create(607225278,1323610764),X64Word_create(1426881987,3590304994),X64Word_create(1925078388,4068182383),X64Word_create(2162078206,991336113),X64Word_create(2614888103,633803317),X64Word_create(3248222580,3479774868),X64Word_create(3835390401,2666613458),X64Word_create(4022224774,944711139),X64Word_create(264347078,2341262773),X64Word_create(604807628,2007800933),X64Word_create(770255983,1495990901),X64Word_create(1249150122,1856431235),X64Word_create(1555081692,3175218132),X64Word_create(1996064986,2198950837),X64Word_create(2554220882,3999719339),X64Word_create(2821834349,766784016),X64Word_create(2952996808,2566594879),X64Word_create(3210313671,3203337956),X64Word_create(3336571891,1034457026),X64Word_create(3584528711,2466948901),X64Word_create(113926993,3758326383),X64Word_create(338241895,168717936),X64Word_create(666307205,1188179964),X64Word_create(773529912,1546045734),X64Word_create(1294757372,1522805485),X64Word_create(1396182291,2643833823),X64Word_create(1695183700,2343527390),X64Word_create(1986661051,1014477480),X64Word_create(2177026350,1206759142),X64Word_create(2456956037,344077627),X64Word_create(2730485921,1290863460),X64Word_create(2820302411,3158454273),X64Word_create(3259730800,3505952657),X64Word_create(3345764771,106217008),X64Word_create(3516065817,3606008344),X64Word_create(3600352804,1432725776),X64Word_create(4094571909,1467031594),X64Word_create(275423344,851169720),X64Word_create(430227734,3100823752),X64Word_create(506948616,1363258195),X64Word_create(659060556,3750685593),X64Word_create(883997877,3785050280),X64Word_create(958139571,3318307427),X64Word_create(1322822218,3812723403),X64Word_create(1537002063,2003034995),X64Word_create(1747873779,3602036899),X64Word_create(1955562222,1575990012),X64Word_create(2024104815,1125592928),X64Word_create(2227730452,2716904306),X64Word_create(2361852424,442776044),X64Word_create(2428436474,593698344),X64Word_create(2756734187,3733110249),X64Word_create(3204031479,2999351573),X64Word_create(3329325298,3815920427),X64Word_create(3391569614,3928383900),X64Word_create(3515267271,566280711),X64Word_create(3940187606,3454069534),X64Word_create(4118630271,4000239992),X64Word_create(116418474,1914138554),X64Word_create(174292421,2731055270),X64Word_create(289380356,3203993006),X64Word_create(460393269,320620315),X64Word_create(685471733,587496836),X64Word_create(852142971,1086792851),X64Word_create(1017036298,365543100),X64Word_create(1126000580,2618297676),X64Word_create(1288033470,3409855158),X64Word_create(1501505948,4234509866),X64Word_create(1607167915,987167468),X64Word_create(1816402316,1246189591)],u=[];!function(){for(var t=0;t<80;t++)u[t]=X64Word_create()}();var h=s.SHA512=r.extend({_doReset:function(){this._hash=new o.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(t,r){for(var n=this._hash.words,i=n[0],a=n[1],o=n[2],s=n[3],h=n[4],p=n[5],g=n[6],m=n[7],y=i.high,w=i.low,v=a.high,x=a.low,_=o.high,S=o.low,A=s.high,C=s.low,P=h.high,k=h.low,T=p.high,B=p.low,I=g.high,O=g.low,R=m.high,D=m.low,L=y,M=w,N=v,$=x,z=_,W=S,U=A,j=C,V=P,G=k,H=T,q=B,X=I,Z=O,Y=R,K=D,J=0;J<80;J++){var Q,ee,te=u[J];if(J<16)ee=te.high=0|t[r+2*J],Q=te.low=0|t[r+2*J+1];else{var re=u[J-15],ne=re.high,ie=re.low,ae=(ne>>>1|ie<<31)^(ne>>>8|ie<<24)^ne>>>7,oe=(ie>>>1|ne<<31)^(ie>>>8|ne<<24)^(ie>>>7|ne<<25),se=u[J-2],le=se.high,ce=se.low,ue=(le>>>19|ce<<13)^(le<<3|ce>>>29)^le>>>6,he=(ce>>>19|le<<13)^(ce<<3|le>>>29)^(ce>>>6|le<<26),fe=u[J-7],de=fe.high,pe=fe.low,ge=u[J-16],be=ge.high,me=ge.low;ee=(ee=(ee=ae+de+((Q=oe+pe)>>>0>>0?1:0))+ue+((Q+=he)>>>0>>0?1:0))+be+((Q+=me)>>>0>>0?1:0),te.high=ee,te.low=Q}var ye,we=V&H^~V&X,ve=G&q^~G&Z,xe=L&N^L&z^N&z,_e=M&$^M&W^$&W,Se=(L>>>28|M<<4)^(L<<30|M>>>2)^(L<<25|M>>>7),Ae=(M>>>28|L<<4)^(M<<30|L>>>2)^(M<<25|L>>>7),Ce=(V>>>14|G<<18)^(V>>>18|G<<14)^(V<<23|G>>>9),Pe=(G>>>14|V<<18)^(G>>>18|V<<14)^(G<<23|V>>>9),ke=l[J],Ee=ke.high,Te=ke.low,Be=Y+Ce+((ye=K+Pe)>>>0>>0?1:0),Ie=Ae+_e;Y=X,K=Z,X=H,Z=q,H=V,q=G,V=U+(Be=(Be=(Be=Be+we+((ye+=ve)>>>0>>0?1:0))+Ee+((ye+=Te)>>>0>>0?1:0))+ee+((ye+=Q)>>>0>>0?1:0))+((G=j+ye|0)>>>0>>0?1:0)|0,U=z,j=W,z=N,W=$,N=L,$=M,L=Be+(Se+xe+(Ie>>>0>>0?1:0))+((M=ye+Ie|0)>>>0>>0?1:0)|0}w=i.low=w+M,i.high=y+L+(w>>>0>>0?1:0),x=a.low=x+$,a.high=v+N+(x>>>0<$>>>0?1:0),S=o.low=S+W,o.high=_+z+(S>>>0>>0?1:0),C=s.low=C+j,s.high=A+U+(C>>>0>>0?1:0),k=h.low=k+G,h.high=P+V+(k>>>0>>0?1:0),B=p.low=B+q,p.high=T+H+(B>>>0>>0?1:0),O=g.low=O+Z,g.high=I+X+(O>>>0>>0?1:0),D=m.low=D+K,m.high=R+Y+(D>>>0>>0?1:0)},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;return r[i>>>5]|=128<<24-i%32,r[30+(i+128>>>10<<5)]=Math.floor(n/4294967296),r[31+(i+128>>>10<<5)]=n,t.sigBytes=4*r.length,this._process(),this._hash.toX32()},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});t.SHA512=r._createHelper(h),t.HmacSHA512=r._createHmacHelper(h)}(),i.SHA512)},8819(t){"use strict";var r=String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},8834(t,r,n){"use strict";var i=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}(n(2416));var a=n(9240),o=[0,1,1,2,4,8,1,1,2,4,8,4,8],s=void 0,l=function isValid(t){try{return 65496===t.readUInt16BE(0)}catch(t){throw new Error("Unsupport file format.")}},u=function isTiff(t){try{var r=t.readUInt16BE(0);return 18761===r||19789===r}catch(t){throw new Error("Unsupport file format.")}},h=function IFDHandler(t,r,n,i){var a=n?t.readUInt16BE(0):t.readUInt16LE(0);if(0===a)return{};for(var s=t.slice(2),l={},u=0;u4){var P=(n?C.readUInt32BE(0):C.readUInt32LE(0))-i;C=t.slice(P,P+A)}var k=void 0;if(m){switch(v){case 1:k=C.readUInt8(0);break;case 2:k=C.toString("ascii").replace(/\0+$/,"");break;case 3:k=n?C.readUInt16BE(0):C.readUInt16LE(0);break;case 4:k=n?C.readUInt32BE(0):C.readUInt32LE(0);break;case 5:k=[];for(var T=0;T1&&void 0!==arguments[1])||arguments[1]){var n=(r=t.slice(2)).readUInt16BE(0);r=(r=(r=(r=r.slice(0,n)).slice(2)).slice(5)).slice(1)}var i="MM"===r.toString("ascii",0,2),o=r.readUInt32BE(4),l=r.readUInt32LE(4),u=i?o:l;if((r=r.slice(u)).length>0&&((s=h(r,a.ifd,i,u)).ExifIFDPointer&&(r=r.slice(s.ExifIFDPointer-u),s.SubExif=h(r,a.ifd,i,s.ExifIFDPointer)),s.GPSInfoIFDPointer)){var p=s.GPSInfoIFDPointer;r=r.slice(s.ExifIFDPointer?p-s.ExifIFDPointer:p-u),s.GPSInfo=h(r,a.gps,i,p)}},g=function APPnHandler(t){var r=function checkAPPn(t){try{var r=t.readUInt16BE(0);return!!(r>=65504&&r<=65519)&&r-65504}catch(t){throw new Error("Invalid APP Tag.")}}(t);if(!1!==r){var n=t.readUInt16BE(2);if(1===r)p(t);else APPnHandler(t.slice(2+n))}},m=function fromBuffer(t){if(!t)throw new Error("buffer not found");return s=void 0,l(t)?(t=t.slice(2),s={},g(t)):u(t)&&(s={},p(t,!1)),s};r.fromBuffer=m,r.parse=function async(t,r){s=void 0,new Promise(function(r,n){t||n(new Error("❓File not found.")),i.default.readFile(t,function(t,i){if(t)n(t);else try{if(l(i)){var a=i.slice(2);s={},g(a),r(s)}else u(i)?(s={},p(i,!1),r(s)):n(new Error("😱Unsupport file type."))}catch(t){n(t)}})},function(t){r(t,void 0)}).then(function(t){r(void 0,t)}).catch(function(t){r(t,void 0)})},r.parseSync=function sync(t){if(!t)throw new Error("File not found");var r=i.default.readFileSync(t);return m(r)}},8843(t,r,n){"use strict";var i=n(2774),a=n(1689),o=i("RegExp.prototype.exec"),s=n(6785);t.exports=function regexTester(t){if(!a(t))throw new s("`regex` must be a RegExp");return function test(r){return null!==o(t,r)}}},8865(t,r,n){"use strict";var i,a,o,s;t.exports=(i=n(6861),o=(a=i).lib.Base,s=a.enc.Utf8,void(a.algo.HMAC=o.extend({init:function(t,r){t=this._hasher=new t.init,"string"==typeof r&&(r=s.parse(r));var n=t.blockSize,i=4*n;r.sigBytes>i&&(r=t.finalize(r)),r.clamp();for(var a=this._oKey=r.clone(),o=this._iKey=r.clone(),l=a.words,u=o.words,h=0;h>1,p=-7,g=n?a-1:0,m=n?-1:1,y=t[r+g];for(g+=m,o=y&(1<<-p)-1,y>>=-p,p+=l;p>0;o=256*o+t[r+g],g+=m,p-=8);for(s=o&(1<<-p)-1,o>>=-p,p+=i;p>0;s=256*s+t[r+g],g+=m,p-=8);if(0===o)o=1-h;else{if(o===u)return s?NaN:1/0*(y?-1:1);s+=Math.pow(2,i),o-=h}return(y?-1:1)*s*Math.pow(2,o-i)},r.write=function(t,r,n,i,a,o){var s,l,u,h=8*o-a-1,p=(1<>1,m=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,y=i?0:o-1,w=i?1:-1,v=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(l=isNaN(r)?1:0,s=p):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),(r+=s+g>=1?m/u:m*Math.pow(2,1-g))*u>=2&&(s++,u/=2),s+g>=p?(l=0,s=p):s+g>=1?(l=(r*u-1)*Math.pow(2,a),s+=g):(l=r*Math.pow(2,g-1)*Math.pow(2,a),s=0));a>=8;t[n+y]=255&l,y+=w,l/=256,a-=8);for(s=s<0;t[n+y]=255&s,y+=w,s/=256,h-=8);t[n+y-w]|=128*v}},9049(t){"use strict";var r=function makeTable(){for(var t,r=[],n=0;n<256;n++){t=n;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;r[n]=t}return r}();t.exports=function crc32(t,n,i,a){var o=r,s=a+i;t^=-1;for(var l=a;l>>8^o[255&(t^n[l])];return-1^t}},9055(t){"use strict";t.exports=EvalError},9064(t,r,n){"use strict";var i;n(8376),n(6401),n(2017),t.exports=(i=n(6861),function(){if("function"==typeof ArrayBuffer){var t=i.lib.WordArray,r=t.init,n=t.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var n=t.byteLength,i=[],a=0;a>>2]|=t[a]<<24-a%4*8;r.call(this,i,n)}else r.apply(this,arguments)};n.prototype=t}}(),i.lib.WordArray)},9240(t){"use strict";t.exports=JSON.parse('{"ifd":{"8298":"Copyright","8769":"ExifIFDPointer","8822":"ExposureProgram","8824":"SpectralSensitivity","8825":"GPSInfoIFDPointer","8827":"PhotographicSensitivity","8828":"OECF","8830":"SensitivityType","8831":"StandardOutputSensitivity","8832":"RecommendedExposureIndex","8833":"ISOSpeed","8834":"ISOSpeedLatitudeyyy","8835":"ISOSpeedLatitudezzz","9000":"ExifVersion","9003":"DateTimeOriginal","9004":"DateTimeDigitized","9101":"ComponentsConfiguration","9102":"CompressedBitsPerPixel","9201":"ShutterSpeedValue","9202":"ApertureValue","9203":"BrightnessValue","9204":"ExposureBiasValue","9205":"MaxApertureValue","9206":"SubjectDistance","9207":"MeteringMode","9208":"LightSource","9209":"Flash","9214":"SubjectArea","9286":"UserComment","9290":"SubSecTime","9291":"SubSecTimeOriginal","9292":"SubSecTimeDigitized","010e":"ImageDescription","010f":"Make","011a":"XResolution","011b":"YResolution","011c":"PlanarConfiguration","012d":"TransferFunction","013b":"Artist","013e":"WhitePoint","013f":"PrimaryChromaticities","0100":"ImageWidth","0101":"ImageHeight","0102":"BitsPerSample","0103":"Compression","0106":"PhotometricInterpretation","0110":"Model","0111":"StripOffsets","0112":"Orientation","0115":"SamplesPerPixel","0116":"RowsPerStrip","0117":"StripByteCounts","0128":"ResolutionUnit","0131":"Software","0132":"DateTime","0201":"JPEGInterchangeFormat","0202":"JPEGInterchangeFormatLength","0211":"YCbCrCoefficients","0212":"YCbCrSubSampling","0213":"YCbCrPositioning","0214":"ReferenceBlackWhite","829a":"ExposureTime","829d":"FNumber","920a":"FocalLength","927c":"MakerNote","a000":"FlashpixVersion","a001":"ColorSpace","a002":"PixelXDimension","a003":"PixelYDimension","a004":"RelatedSoundFile","a005":"InteroperabilityIFDPointer","a20b":"FlashEnergy","a20c":"SpatialFrequencyResponse","a20e":"FocalPlaneXResolution","a20f":"FocalPlaneYResolution","a40a":"Sharpness","a40b":"DeviceSettingDescription","a40c":"SubjectDistanceRange","a210":"FocalPlaneResolutionUnit","a214":"SubjectLocation","a215":"ExposureIndex","a217":"SensingMethod","a300":"FileSource","a301":"SceneType","a302":"CFAPattern","a401":"CustomRendered","a402":"ExposureMode","a403":"WhiteBalance","a404":"DigitalZoomRatio","a405":"FocalLengthIn35mmFilm","a406":"SceneCaptureType","a407":"GainControl","a408":"Contrast","a409":"Saturation","a420":"ImageUniqueID","a430":"CameraOwnerName","a431":"BodySerialNumber","a432":"LensSpecification","a433":"LensMake","a434":"LensModel","a435":"LensSerialNumber","a500":"Gamma"},"gps":{"0000":"GPSVersionID","0001":"GPSLatitudeRef","0002":"GPSLatitude","0003":"GPSLongitudeRef","0004":"GPSLongitude","0005":"GPSAltitudeRef","0006":"GPSAltitude","0007":"GPSTimeStamp","0008":"GPSSatellites","0009":"GPSStatus","000a":"GPSMeasureMode","000b":"GPSDOP","000c":"GPSSpeedRef","000d":"GPSSpeed","000e":"GPSTrackRef","000f":"GPSTrack","0010":"GPSImgDirectionRef","0011":"GPSImgDirection","0012":"GPSMapDatum","0013":"GPSDestLatitudeRef","0014":"GPSDestLatitude","0015":"GPSDestLongitudeRef","0016":"GPSDestLongitude","0017":"GPSDestBearingRef","0018":"GPSDestBearing","0019":"GPSDestDistanceRef","001a":"GPSDestDistance","001b":"GPSProcessingMethod","001c":"GPSAreaInformation","001d":"GPSDateStamp","001e":"GPSDifferential","001f":"GPSHPositioningError"}}')},9292(t){"use strict";t.exports=Math.round},9295(t,r,n){"use strict";var i=n(6649),a=n(7770),o=n(6785),s=n(8109);t.exports=function defineDataProperty(t,r,n){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`obj` must be an object or a function`");if("string"!=typeof r&&"symbol"!=typeof r)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,h=arguments.length>5?arguments[5]:null,p=arguments.length>6&&arguments[6],g=!!s&&s(t,r);if(i)i(t,r,{configurable:null===h&&g?g.configurable:!h,enumerable:null===l&&g?g.enumerable:!l,value:n,writable:null===u&&g?g.writable:!u});else{if(!p&&(l||u||h))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[r]=n}}},9302(t,r,n){"use strict";var i,a=n(6688),o=n(8109);try{i=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var s=!!i&&o&&o(Object.prototype,"__proto__"),l=Object,u=l.getPrototypeOf;t.exports=s&&"function"==typeof s.get?a([s.get]):"function"==typeof u&&function getDunder(t){return u(null==t?t:l(t))}},9391(t,r,n){"use strict";var i=n(7920),a=n(8681),o=n(8420),s=n(8663)("toStringTag"),l=Object,u="Arguments"===o(function(){return arguments}());t.exports=i?o:function(t){var r,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,r){try{return t[r]}catch(t){}}(r=l(t),s))?n:u?o(r):"Object"===(i=o(r))&&a(r.callee)?"Arguments":i}},9490(t,r,n){"use strict";var i=n(7906),a=n(4610),o=n(3381),s=n(6094);function uncurryThis(t){return t.call.bind(t)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,h=uncurryThis(Object.prototype.toString),p=uncurryThis(Number.prototype.valueOf),g=uncurryThis(String.prototype.valueOf),m=uncurryThis(Boolean.prototype.valueOf);if(l)var y=uncurryThis(BigInt.prototype.valueOf);if(u)var w=uncurryThis(Symbol.prototype.valueOf);function checkBoxedPrimitive(t,r){if("object"!=typeof t)return!1;try{return r(t),!0}catch(t){return!1}}function isMapToString(t){return"[object Map]"===h(t)}function isSetToString(t){return"[object Set]"===h(t)}function isWeakMapToString(t){return"[object WeakMap]"===h(t)}function isWeakSetToString(t){return"[object WeakSet]"===h(t)}function isArrayBufferToString(t){return"[object ArrayBuffer]"===h(t)}function isArrayBuffer(t){return"undefined"!=typeof ArrayBuffer&&(isArrayBufferToString.working?isArrayBufferToString(t):t instanceof ArrayBuffer)}function isDataViewToString(t){return"[object DataView]"===h(t)}function isDataView(t){return"undefined"!=typeof DataView&&(isDataViewToString.working?isDataViewToString(t):t instanceof DataView)}r.isArgumentsObject=i,r.isGeneratorFunction=a,r.isTypedArray=s,r.isPromise=function isPromise(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},r.isArrayBufferView=function isArrayBufferView(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):s(t)||isDataView(t)},r.isUint8Array=function isUint8Array(t){return"Uint8Array"===o(t)},r.isUint8ClampedArray=function isUint8ClampedArray(t){return"Uint8ClampedArray"===o(t)},r.isUint16Array=function isUint16Array(t){return"Uint16Array"===o(t)},r.isUint32Array=function isUint32Array(t){return"Uint32Array"===o(t)},r.isInt8Array=function isInt8Array(t){return"Int8Array"===o(t)},r.isInt16Array=function isInt16Array(t){return"Int16Array"===o(t)},r.isInt32Array=function isInt32Array(t){return"Int32Array"===o(t)},r.isFloat32Array=function isFloat32Array(t){return"Float32Array"===o(t)},r.isFloat64Array=function isFloat64Array(t){return"Float64Array"===o(t)},r.isBigInt64Array=function isBigInt64Array(t){return"BigInt64Array"===o(t)},r.isBigUint64Array=function isBigUint64Array(t){return"BigUint64Array"===o(t)},isMapToString.working="undefined"!=typeof Map&&isMapToString(new Map),r.isMap=function isMap(t){return"undefined"!=typeof Map&&(isMapToString.working?isMapToString(t):t instanceof Map)},isSetToString.working="undefined"!=typeof Set&&isSetToString(new Set),r.isSet=function isSet(t){return"undefined"!=typeof Set&&(isSetToString.working?isSetToString(t):t instanceof Set)},isWeakMapToString.working="undefined"!=typeof WeakMap&&isWeakMapToString(new WeakMap),r.isWeakMap=function isWeakMap(t){return"undefined"!=typeof WeakMap&&(isWeakMapToString.working?isWeakMapToString(t):t instanceof WeakMap)},isWeakSetToString.working="undefined"!=typeof WeakSet&&isWeakSetToString(new WeakSet),r.isWeakSet=function isWeakSet(t){return isWeakSetToString(t)},isArrayBufferToString.working="undefined"!=typeof ArrayBuffer&&isArrayBufferToString(new ArrayBuffer),r.isArrayBuffer=isArrayBuffer,isDataViewToString.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&isDataViewToString(new DataView(new ArrayBuffer(1),0,1)),r.isDataView=isDataView;var v="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function isSharedArrayBufferToString(t){return"[object SharedArrayBuffer]"===h(t)}function isSharedArrayBuffer(t){return void 0!==v&&(void 0===isSharedArrayBufferToString.working&&(isSharedArrayBufferToString.working=isSharedArrayBufferToString(new v)),isSharedArrayBufferToString.working?isSharedArrayBufferToString(t):t instanceof v)}function isNumberObject(t){return checkBoxedPrimitive(t,p)}function isStringObject(t){return checkBoxedPrimitive(t,g)}function isBooleanObject(t){return checkBoxedPrimitive(t,m)}function isBigIntObject(t){return l&&checkBoxedPrimitive(t,y)}function isSymbolObject(t){return u&&checkBoxedPrimitive(t,w)}r.isSharedArrayBuffer=isSharedArrayBuffer,r.isAsyncFunction=function isAsyncFunction(t){return"[object AsyncFunction]"===h(t)},r.isMapIterator=function isMapIterator(t){return"[object Map Iterator]"===h(t)},r.isSetIterator=function isSetIterator(t){return"[object Set Iterator]"===h(t)},r.isGeneratorObject=function isGeneratorObject(t){return"[object Generator]"===h(t)},r.isWebAssemblyCompiledModule=function isWebAssemblyCompiledModule(t){return"[object WebAssembly.Module]"===h(t)},r.isNumberObject=isNumberObject,r.isStringObject=isStringObject,r.isBooleanObject=isBooleanObject,r.isBigIntObject=isBigIntObject,r.isSymbolObject=isSymbolObject,r.isBoxedPrimitive=function isBoxedPrimitive(t){return isNumberObject(t)||isStringObject(t)||isBooleanObject(t)||isBigIntObject(t)||isSymbolObject(t)},r.isAnyArrayBuffer=function isAnyArrayBuffer(t){return"undefined"!=typeof Uint8Array&&(isArrayBuffer(t)||isSharedArrayBuffer(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(r,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})},9636(t,r,n){"use strict";var i=n(3249);t.exports=function getPolyfill(){return"function"==typeof Object.is?Object.is:i}},9663(t,r,n){"use strict";var i,a,o,s,l,u,h,p;t.exports=(p=n(6861),a=(i=p).lib,o=a.WordArray,s=a.Hasher,l=i.algo,u=[],h=l.SHA1=s.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,r){for(var n=this._hash.words,i=n[0],a=n[1],o=n[2],s=n[3],l=n[4],h=0;h<80;h++){if(h<16)u[h]=0|t[r+h];else{var p=u[h-3]^u[h-8]^u[h-14]^u[h-16];u[h]=p<<1|p>>>31}var g=(i<<5|i>>>27)+l+u[h];g+=h<20?1518500249+(a&o|~a&s):h<40?1859775393+(a^o^s):h<60?(a&o|a&s|o&s)-1894007588:(a^o^s)-899497514,l=s,s=o,o=a<<30|a>>>2,a=i,i=g}n[0]=n[0]+i|0,n[1]=n[1]+a|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=Math.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=s.clone.call(this);return t._hash=this._hash.clone(),t}}),i.SHA1=s._createHelper(h),i.HmacSHA1=s._createHmacHelper(h),p.SHA1)},9676(t,r,n){"use strict";var i,a=n(9964);function _defineProperty(t,r,n){return(r=function _toPropertyKey(t){var r=function _toPrimitive(t,r){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==typeof r?r:String(r)}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var o=n(2167),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),h=Symbol("ended"),p=Symbol("lastPromise"),g=Symbol("handlePromise"),m=Symbol("stream");function createIterResult(t,r){return{value:t,done:r}}function readAndResolve(t){var r=t[s];if(null!==r){var n=t[m].read();null!==n&&(t[p]=null,t[s]=null,t[l]=null,r(createIterResult(n,!1)))}}function onReadable(t){a.nextTick(readAndResolve,t)}var y=Object.getPrototypeOf(function(){}),w=Object.setPrototypeOf((_defineProperty(i={get stream(){return this[m]},next:function next(){var t=this,r=this[u];if(null!==r)return Promise.reject(r);if(this[h])return Promise.resolve(createIterResult(void 0,!0));if(this[m].destroyed)return new Promise(function(r,n){a.nextTick(function(){t[u]?n(t[u]):r(createIterResult(void 0,!0))})});var n,i=this[p];if(i)n=new Promise(function wrapForNext(t,r){return function(n,i){t.then(function(){r[h]?n(createIterResult(void 0,!0)):r[g](n,i)},i)}}(i,this));else{var o=this[m].read();if(null!==o)return Promise.resolve(createIterResult(o,!1));n=new Promise(this[g])}return this[p]=n,n}},Symbol.asyncIterator,function(){return this}),_defineProperty(i,"return",function _return(){var t=this;return new Promise(function(r,n){t[m].destroy(null,function(t){t?n(t):r(createIterResult(void 0,!0))})})}),i),y);t.exports=function createReadableStreamAsyncIterator(t){var r,n=Object.create(w,(_defineProperty(r={},m,{value:t,writable:!0}),_defineProperty(r,s,{value:null,writable:!0}),_defineProperty(r,l,{value:null,writable:!0}),_defineProperty(r,u,{value:null,writable:!0}),_defineProperty(r,h,{value:t._readableState.endEmitted,writable:!0}),_defineProperty(r,g,{value:function value(t,r){var i=n[m].read();i?(n[p]=null,n[s]=null,n[l]=null,t(createIterResult(i,!1))):(n[s]=t,n[l]=r)},writable:!0}),r));return n[p]=null,o(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var r=n[l];return null!==r&&(n[p]=null,n[s]=null,n[l]=null,r(t)),void(n[u]=t)}var i=n[s];null!==i&&(n[p]=null,n[s]=null,n[l]=null,i(createIterResult(void 0,!0))),n[h]=!0}),t.on("readable",onReadable.bind(null,n)),n}},9738(t,r,n){"use strict";var i=n(1078),a=n(6297);t.exports=function(t,r){var n=t[r];return a(n)?void 0:i(n)}},9760(t,r,n){t.exports=Stream;var i=n(4785).EventEmitter;function Stream(){i.call(this)}n(9784)(Stream,i),Stream.Readable=n(8261),Stream.Writable=n(9781),Stream.Duplex=n(4903),Stream.Transform=n(8569),Stream.PassThrough=n(7723),Stream.finished=n(2167),Stream.pipeline=n(3765),Stream.Stream=Stream,Stream.prototype.pipe=function(t,r){var n=this;function ondata(r){t.writable&&!1===t.write(r)&&n.pause&&n.pause()}function ondrain(){n.readable&&n.resume&&n.resume()}n.on("data",ondata),t.on("drain",ondrain),t._isStdio||r&&!1===r.end||(n.on("end",onend),n.on("close",onclose));var a=!1;function onend(){a||(a=!0,t.end())}function onclose(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function onerror(t){if(cleanup(),0===i.listenerCount(this,"error"))throw t}function cleanup(){n.removeListener("data",ondata),t.removeListener("drain",ondrain),n.removeListener("end",onend),n.removeListener("close",onclose),n.removeListener("error",onerror),t.removeListener("error",onerror),n.removeListener("end",cleanup),n.removeListener("close",cleanup),t.removeListener("close",cleanup)}return n.on("error",onerror),t.on("error",onerror),n.on("end",cleanup),n.on("close",cleanup),t.on("close",cleanup),t.emit("pipe",n),t}},9781(t,r,n){"use strict";var i,a=n(9964);function CorkedRequest(t){var r=this;this.next=null,this.entry=null,this.finish=function(){!function onCorkedFinish(t,r,n){var i=t.entry;t.entry=null;for(;i;){var a=i.callback;r.pendingcb--,a(n),i=i.next}r.corkedRequestsFree.next=t}(r,t)}}t.exports=Writable,Writable.WritableState=WritableState;var o={deprecate:n(6465)},s=n(9018),l=n(783).Buffer,u=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var h,p=n(7385),g=n(8130).getHighWaterMark,m=n(3797).F,y=m.ERR_INVALID_ARG_TYPE,w=m.ERR_METHOD_NOT_IMPLEMENTED,v=m.ERR_MULTIPLE_CALLBACK,x=m.ERR_STREAM_CANNOT_PIPE,_=m.ERR_STREAM_DESTROYED,S=m.ERR_STREAM_NULL_VALUES,A=m.ERR_STREAM_WRITE_AFTER_END,C=m.ERR_UNKNOWN_ENCODING,P=p.errorOrDestroy;function nop(){}function WritableState(t,r,o){i=i||n(4903),t=t||{},"boolean"!=typeof o&&(o=r instanceof i),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=g(this,t,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function onwrite(t,r){var n=t._writableState,i=n.sync,o=n.writecb;if("function"!=typeof o)throw new v;if(function onwriteStateUpdate(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),r)!function onwriteError(t,r,n,i,o){--r.pendingcb,n?(a.nextTick(o,i),a.nextTick(finishMaybe,t,r),t._writableState.errorEmitted=!0,P(t,i)):(o(i),t._writableState.errorEmitted=!0,P(t,i),finishMaybe(t,r))}(t,n,i,r,o);else{var s=needFinish(n)||t.destroyed;s||n.corked||n.bufferProcessing||!n.bufferedRequest||clearBuffer(t,n),i?a.nextTick(afterWrite,t,n,s,o):afterWrite(t,n,s,o)}}(r,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this)}function Writable(t){var r=this instanceof(i=i||n(4903));if(!r&&!h.call(Writable,this))return new Writable(t);this._writableState=new WritableState(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),s.call(this)}function doWrite(t,r,n,i,a,o,s){r.writelen=i,r.writecb=s,r.writing=!0,r.sync=!0,r.destroyed?r.onwrite(new _("write")):n?t._writev(a,r.onwrite):t._write(a,o,r.onwrite),r.sync=!1}function afterWrite(t,r,n,i){n||function onwriteDrain(t,r){0===r.length&&r.needDrain&&(r.needDrain=!1,t.emit("drain"))}(t,r),r.pendingcb--,i(),finishMaybe(t,r)}function clearBuffer(t,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(t._writev&&n&&n.next){var i=r.bufferedRequestCount,a=new Array(i),o=r.corkedRequestsFree;o.entry=n;for(var s=0,l=!0;n;)a[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;a.allBuffers=l,doWrite(t,r,!0,r.length,a,"",o.finish),r.pendingcb++,r.lastBufferedRequest=null,o.next?(r.corkedRequestsFree=o.next,o.next=null):r.corkedRequestsFree=new CorkedRequest(r),r.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,h=n.encoding,p=n.callback;if(doWrite(t,r,!1,r.objectMode?1:u.length,u,h,p),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function needFinish(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function callFinal(t,r){t._final(function(n){r.pendingcb--,n&&P(t,n),r.prefinished=!0,t.emit("prefinish"),finishMaybe(t,r)})}function finishMaybe(t,r){var n=needFinish(r);if(n&&(function prefinish(t,r){r.prefinished||r.finalCalled||("function"!=typeof t._final||r.destroyed?(r.prefinished=!0,t.emit("prefinish")):(r.pendingcb++,r.finalCalled=!0,a.nextTick(callFinal,t,r)))}(t,r),0===r.pendingcb&&(r.finished=!0,t.emit("finish"),r.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return n}n(9784)(Writable,s),WritableState.prototype.getBuffer=function getBuffer(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:o.deprecate(function writableStateBufferGetter(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function value(t){return!!h.call(this,t)||this===Writable&&(t&&t._writableState instanceof WritableState)}})):h=function realHasInstance(t){return t instanceof this},Writable.prototype.pipe=function(){P(this,new x)},Writable.prototype.write=function(t,r,n){var i=this._writableState,o=!1,s=!i.objectMode&&function _isUint8Array(t){return l.isBuffer(t)||t instanceof u}(t);return s&&!l.isBuffer(t)&&(t=function _uint8ArrayToBuffer(t){return l.from(t)}(t)),"function"==typeof r&&(n=r,r=null),s?r="buffer":r||(r=i.defaultEncoding),"function"!=typeof n&&(n=nop),i.ending?function writeAfterEnd(t,r){var n=new A;P(t,n),a.nextTick(r,n)}(this,n):(s||function validChunk(t,r,n,i){var o;return null===n?o=new S:"string"==typeof n||r.objectMode||(o=new y("chunk",["string","Buffer"],n)),!o||(P(t,o),a.nextTick(i,o),!1)}(this,i,t,n))&&(i.pendingcb++,o=function writeOrBuffer(t,r,n,i,a,o){if(!n){var s=function decodeChunk(t,r,n){t.objectMode||!1===t.decodeStrings||"string"!=typeof r||(r=l.from(r,n));return r}(r,i,a);i!==s&&(n=!0,a="buffer",i=s)}var u=r.objectMode?1:i.length;r.length+=u;var h=r.length-1))throw new C(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:!1,get:function get(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function get(){return this._writableState.highWaterMark}}),Writable.prototype._write=function(t,r,n){n(new w("_write()"))},Writable.prototype._writev=null,Writable.prototype.end=function(t,r,n){var i=this._writableState;return"function"==typeof t?(n=t,t=null,r=null):"function"==typeof r&&(n=r,r=null),null!=t&&this.write(t,r),i.corked&&(i.corked=1,this.uncork()),i.ending||function endWritable(t,r,n){r.ending=!0,finishMaybe(t,r),n&&(r.finished?a.nextTick(n):t.once("finish",n));r.ended=!0,t.writable=!1}(this,i,n),this},Object.defineProperty(Writable.prototype,"writableLength",{enumerable:!1,get:function get(){return this._writableState.length}}),Object.defineProperty(Writable.prototype,"destroyed",{enumerable:!1,get:function get(){return void 0!==this._writableState&&this._writableState.destroyed},set:function set(t){this._writableState&&(this._writableState.destroyed=t)}}),Writable.prototype.destroy=p.destroy,Writable.prototype._undestroy=p.undestroy,Writable.prototype._destroy=function(t,r){r(t)}},9784(t){"function"==typeof Object.create?t.exports=function inherits(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function inherits(t,r){if(r){t.super_=r;var TempCtor=function(){};TempCtor.prototype=r.prototype,t.prototype=new TempCtor,t.prototype.constructor=t}}},9851(t,r,n){"use strict";var i;t.exports=(i=n(6861),n(4866),n(3532),n(6818),n(2858),function(){var t=i,r=t.lib.BlockCipher,n=t.algo,a=[],o=[],s=[],l=[],u=[],h=[],p=[],g=[],m=[],y=[];!function(){for(var t=[],r=0;r<256;r++)t[r]=r<128?r<<1:r<<1^283;var n=0,i=0;for(r=0;r<256;r++){var w=i^i<<1^i<<2^i<<3^i<<4;w=w>>>8^255&w^99,a[n]=w,o[w]=n;var v=t[n],x=t[v],_=t[x],S=257*t[w]^16843008*w;s[n]=S<<24|S>>>8,l[n]=S<<16|S>>>16,u[n]=S<<8|S>>>24,h[n]=S,S=16843009*_^65537*x^257*v^16843008*n,p[w]=S<<24|S>>>8,g[w]=S<<16|S>>>16,m[w]=S<<8|S>>>24,y[w]=S,n?(n=v^t[t[t[_^v]]],i^=t[t[i]]):n=i=1}}();var w=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,r=t.words,n=t.sigBytes/4,i=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],s=0;s6&&s%n==4&&(h=a[h>>>24]<<24|a[h>>>16&255]<<16|a[h>>>8&255]<<8|a[255&h]):(h=a[(h=h<<8|h>>>24)>>>24]<<24|a[h>>>16&255]<<16|a[h>>>8&255]<<8|a[255&h],h^=w[s/n|0]<<24),o[s]=o[s-n]^h);for(var l=this._invKeySchedule=[],u=0;u>>24]]^g[a[h>>>16&255]]^m[a[h>>>8&255]]^y[a[255&h]]}}},encryptBlock:function(t,r){this._doCryptBlock(t,r,this._keySchedule,s,l,u,h,a)},decryptBlock:function(t,r){var n=t[r+1];t[r+1]=t[r+3],t[r+3]=n,this._doCryptBlock(t,r,this._invKeySchedule,p,g,m,y,o),n=t[r+1],t[r+1]=t[r+3],t[r+3]=n},_doCryptBlock:function(t,r,n,i,a,o,s,l){for(var u=this._nRounds,h=t[r]^n[0],p=t[r+1]^n[1],g=t[r+2]^n[2],m=t[r+3]^n[3],y=4,w=1;w>>24]^a[p>>>16&255]^o[g>>>8&255]^s[255&m]^n[y++],x=i[p>>>24]^a[g>>>16&255]^o[m>>>8&255]^s[255&h]^n[y++],_=i[g>>>24]^a[m>>>16&255]^o[h>>>8&255]^s[255&p]^n[y++],S=i[m>>>24]^a[h>>>16&255]^o[p>>>8&255]^s[255&g]^n[y++];h=v,p=x,g=_,m=S}v=(l[h>>>24]<<24|l[p>>>16&255]<<16|l[g>>>8&255]<<8|l[255&m])^n[y++],x=(l[p>>>24]<<24|l[g>>>16&255]<<16|l[m>>>8&255]<<8|l[255&h])^n[y++],_=(l[g>>>24]<<24|l[m>>>16&255]<<16|l[h>>>8&255]<<8|l[255&p])^n[y++],S=(l[m>>>24]<<24|l[h>>>16&255]<<16|l[p>>>8&255]<<8|l[255&g])^n[y++],t[r]=v,t[r+1]=x,t[r+2]=_,t[r+3]=S},keySize:8});t.AES=r._createHelper(v)}(),i.AES)},9877(t,r,n){"use strict";var i=n(1212);t.exports=i({}.isPrototypeOf)},9964(t){var r,n,i=t.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(t){if(r===setTimeout)return setTimeout(t,0);if((r===defaultSetTimout||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(n){try{return r.call(null,t,0)}catch(n){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(t){r=defaultSetTimout}try{n="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(t){n=defaultClearTimeout}}();var a,o=[],s=!1,l=-1;function cleanUpNextTick(){s&&a&&(s=!1,a.length?o=a.concat(o):l=-1,o.length&&drainQueue())}function drainQueue(){if(!s){var t=runTimeout(cleanUpNextTick);s=!0;for(var r=o.length;r;){for(a=o,o=[];++l1)for(var n=1;n{var r=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(r,{a:r}),r},__webpack_require__.d=(t,r)=>{for(var n in r)__webpack_require__.o(r,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),__webpack_require__.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),__webpack_require__(6092)})()); //# sourceMappingURL=pdfmake.min.js.map