@marcusumn/html2pdf.js 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +304 -0
- package/dist/html2pdf.bundle.js +40561 -0
- package/dist/html2pdf.bundle.min.js +3 -0
- package/dist/html2pdf.bundle.min.js.LICENSE.txt +2115 -0
- package/dist/html2pdf.bundle.min.js.map +1 -0
- package/dist/html2pdf.js +32733 -0
- package/dist/html2pdf.min.js +3 -0
- package/dist/html2pdf.min.js.LICENSE.txt +2094 -0
- package/dist/html2pdf.min.js.map +1 -0
- package/package.json +65 -0
- package/src/index.js +29 -0
- package/src/plugin/hyperlinks.js +59 -0
- package/src/plugin/jspdf-plugin.js +99 -0
- package/src/plugin/pagebreaks.js +134 -0
- package/src/snapdom/clone.js +212 -0
- package/src/utils.js +47 -0
- package/src/worker.js +484 -0
- package/type.d.ts +49 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! For license information please see html2pdf.bundle.min.js.LICENSE.txt */
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("html2pdf",[],t):"object"==typeof exports?exports.html2pdf=t():e.html2pdf=t()}(self,function(){return function(){var e,t,A={"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":function(e,t,A){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var A=0,r=Array(t);A<t;A++)r[A]=e[A];return r}A.r(t),A.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":function(e,t,A){"use strict";function r(e){if(Array.isArray(e))return e}A.r(t),A.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js":function(e,t,A){"use strict";function r(e,t,A,r,n,s,i){try{var o=e[s](i),a=o.value}catch(e){return void A(e)}o.done?t(a):Promise.resolve(a).then(r,n)}function n(e){return function(){var t=this,A=arguments;return new Promise(function(n,s){var i=e.apply(t,A);function o(e){r(i,n,s,o,a,"next",e)}function a(e){r(i,n,s,o,a,"throw",e)}o(void 0)})}}A.r(t),A.d(t,{default:function(){return n}})},"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(e,t,A){"use strict";A.r(t),A.d(t,{default:function(){return n}});var r=A("./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");function n(e,t,A){return(t=(0,r.default)(t))in e?Object.defineProperty(e,t,{value:A,enumerable:!0,configurable:!0,writable:!0}):e[t]=A,e}},"./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js":function(e,t,A){"use strict";function r(e,t){var A=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=A){var r,n,s,i,o=[],a=!0,l=!1;try{if(s=(A=A.call(e)).next,0===t){if(Object(A)!==A)return;a=!1}else for(;!(a=(r=s.call(A)).done)&&(o.push(r.value),o.length!==t);a=!0);}catch(e){l=!0,n=e}finally{try{if(!a&&null!=A.return&&(i=A.return(),Object(i)!==i))return}finally{if(l)throw n}}return o}}A.r(t),A.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":function(e,t,A){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}A.r(t),A.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js":function(e,t,A){"use strict";A.r(t),A.d(t,{default:function(){return o}});var r=A("./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js"),n=A("./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js"),s=A("./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"),i=A("./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");function o(e,t){return(0,r.default)(e)||(0,n.default)(e,t)||(0,s.default)(e,t)||(0,i.default)()}},"./node_modules/@babel/runtime/helpers/esm/toPrimitive.js":function(e,t,A){"use strict";A.r(t),A.d(t,{default:function(){return n}});var r=A("./node_modules/@babel/runtime/helpers/esm/typeof.js");function n(e,t){if("object"!=(0,r.default)(e)||!e)return e;var A=e[Symbol.toPrimitive];if(void 0!==A){var n=A.call(e,t||"default");if("object"!=(0,r.default)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},"./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":function(e,t,A){"use strict";A.r(t),A.d(t,{default:function(){return s}});var r=A("./node_modules/@babel/runtime/helpers/esm/typeof.js"),n=A("./node_modules/@babel/runtime/helpers/esm/toPrimitive.js");function s(e){var t=(0,n.default)(e,"string");return"symbol"==(0,r.default)(t)?t:t+""}},"./node_modules/@babel/runtime/helpers/esm/typeof.js":function(e,t,A){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}A.r(t),A.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":function(e,t,A){"use strict";A.r(t),A.d(t,{default:function(){return n}});var r=A("./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");function n(e,t){if(e){if("string"==typeof e)return(0,r.default)(e,t);var A={}.toString.call(e).slice(8,-1);return"Object"===A&&e.constructor&&(A=e.constructor.name),"Map"===A||"Set"===A?Array.from(e):"Arguments"===A||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A)?(0,r.default)(e,t):void 0}}},"./node_modules/canvg/lib/index.es.js":function(e,t,A){"use strict";A.r(t),A.d(t,{AElement:function(){return Te},AnimateColorElement:function(){return Le},AnimateElement:function(){return Se},AnimateTransformElement:function(){return Ie},BoundingBox:function(){return ae},CB1:function(){return S},CB2:function(){return L},CB3:function(){return I},CB4:function(){return N},Canvg:function(){return pt},CircleElement:function(){return we},ClipPathElement:function(){return tt},DefsElement:function(){return je},DescElement:function(){return at},Document:function(){return ht},Element:function(){return Ae},EllipseElement:function(){return Be},FeColorMatrixElement:function(){return Ze},FeCompositeElement:function(){return st},FeDropShadowElement:function(){return rt},FeGaussianBlurElement:function(){return it},FeMorphologyElement:function(){return nt},FilterElement:function(){return At},Font:function(){return oe},FontElement:function(){return Ne},FontFaceElement:function(){return ke},GElement:function(){return xe},GlyphElement:function(){return he},GradientElement:function(){return Fe},ImageElement:function(){return Ke},LineElement:function(){return ye},LinearGradientElement:function(){return Qe},MarkerElement:function(){return _e},MaskElement:function(){return $e},Matrix:function(){return J},MissingGlyphElement:function(){return He},Mouse:function(){return D},PSEUDO_ZERO:function(){return F},Parser:function(){return q},PathElement:function(){return ue},PathParser:function(){return le},PatternElement:function(){return Ce},Point:function(){return M},PolygonElement:function(){return be},PolylineElement:function(){return ve},Property:function(){return T},QB1:function(){return k},QB2:function(){return H},QB3:function(){return P},RadialGradientElement:function(){return Ue},RectElement:function(){return me},RenderedElement:function(){return ce},Rotate:function(){return X},SVGElement:function(){return ge},SVGFontLoader:function(){return Ge},Scale:function(){return Y},Screen:function(){return V},Skew:function(){return Z},SkewX:function(){return $},SkewY:function(){return ee},StopElement:function(){return Ee},StyleElement:function(){return ze},SymbolElement:function(){return Ve},TRefElement:function(){return Pe},TSpanElement:function(){return fe},TextElement:function(){return de},TextPathElement:function(){return De},TitleElement:function(){return ot},Transform:function(){return te},Translate:function(){return W},UnknownElement:function(){return re},UseElement:function(){return qe},ViewPort:function(){return O},compressSpaces:function(){return c},default:function(){return pt},getSelectorSpecificity:function(){return x},normalizeAttributeName:function(){return p},normalizeColor:function(){return m},parseExternalUrl:function(){return g},presets:function(){return l},toNumbers:function(){return d},trimLeft:function(){return u},trimRight:function(){return h},vectorMagnitude:function(){return Q},vectorsAngle:function(){return E},vectorsRatio:function(){return U}}),A("./node_modules/core-js/modules/es.promise.js");var r=A("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),n=(A("./node_modules/core-js/modules/es.string.match.js"),A("./node_modules/core-js/modules/es.string.replace.js"),A("./node_modules/core-js/modules/es.string.starts-with.js"),A("./node_modules/core-js/modules/es.array.iterator.js"),A("./node_modules/core-js/modules/web.dom-collections.iterator.js"),A("./node_modules/@babel/runtime/helpers/esm/defineProperty.js")),s=(A("./node_modules/core-js/modules/es.array.reduce.js"),A("./node_modules/core-js/modules/es.string.ends-with.js"),A("./node_modules/core-js/modules/es.string.split.js"),A("./node_modules/raf/index.js")),i=(A("./node_modules/core-js/modules/es.string.trim.js"),A("./node_modules/rgbcolor/index.js")),o=(A("./node_modules/core-js/modules/es.array.index-of.js"),A("./node_modules/core-js/modules/es.string.includes.js"),A("./node_modules/core-js/modules/es.array.reverse.js"),A("./node_modules/svg-pathdata/lib/SVGPathData.module.js")),a=(A("./node_modules/core-js/modules/es.regexp.to-string.js"),A("./node_modules/stackblur-canvas/dist/stackblur-es.js")),l=Object.freeze({__proto__:null,offscreen:function(){var{DOMParser:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,createCanvas(e,t){return new OffscreenCanvas(e,t)},createImage(e){return(0,r.default)(function*(){var t=yield fetch(e),A=yield t.blob();return yield createImageBitmap(A)})()}};return"undefined"==typeof DOMParser&&void 0!==e||Reflect.deleteProperty(t,"DOMParser"),t},node:function(e){var{DOMParser:t,canvas:A,fetch:r}=e;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,fetch:r,createCanvas:A.createCanvas,createImage:A.loadImage}}});function c(e){return e.replace(/(?!\u3000)\s+/gm," ")}function u(e){return e.replace(/^[\n \t]+/,"")}function h(e){return e.replace(/[\n \t]+$/,"")}function d(e){return((e||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var f=/^[A-Z-]+$/;function p(e){return f.test(e)?e.toLowerCase():e}function g(e){var t=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(e)||[];return t[2]||t[3]||t[4]}function m(e){if(!e.startsWith("rgb"))return e;var t=3;return e.replace(/\d+(\.\d+)?/g,(e,A)=>t--&&A?String(Math.round(parseFloat(e))):e)}var w=/(\[[^\]]+\])/g,B=/(#[^\s+>~.[:]+)/g,y=/(\.[^\s+>~.[:]+)/g,v=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,b=/(:[\w-]+\([^)]*\))/gi,C=/(:[^\s+>~.[:]+)/g,_=/([^\s+>~.[:]+)/g;function j(e,t){var A=t.exec(e);return A?[e.replace(t," "),A.length]:[e,0]}function x(e){var t=[0,0,0],A=e.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),r=0;return[A,r]=j(A,w),t[1]+=r,[A,r]=j(A,B),t[0]+=r,[A,r]=j(A,y),t[1]+=r,[A,r]=j(A,v),t[2]+=r,[A,r]=j(A,b),t[1]+=r,[A,r]=j(A,C),t[1]+=r,A=A.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[A,r]=j(A,_),t[2]+=r,t.join("")}var F=1e-8;function Q(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2))}function U(e,t){return(e[0]*t[0]+e[1]*t[1])/(Q(e)*Q(t))}function E(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(U(e,t))}function S(e){return e*e*e}function L(e){return 3*e*e*(1-e)}function I(e){return 3*e*(1-e)*(1-e)}function N(e){return(1-e)*(1-e)*(1-e)}function k(e){return e*e}function H(e){return 2*e*(1-e)}function P(e){return(1-e)*(1-e)}class T{constructor(e,t,A){this.document=e,this.name=t,this.value=A,this.isNormalizedColor=!1}static empty(e){return new T(e,"EMPTY","")}split(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",{document:t,name:A}=this;return c(this.getString()).trim().split(e).map(e=>new T(t,A,e))}hasValue(e){var{value:t}=this;return null!==t&&""!==t&&(e||0!==t)&&void 0!==t}isString(e){var{value:t}=this,A="string"==typeof t;return A&&e?e.test(t):A}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var e=this.getString();switch(!0){case e.endsWith("px"):case/^[0-9]+$/.test(e):return!0;default:return!1}}setValue(e){return this.value=e,this}getValue(e){return void 0===e||this.hasValue()?this.value:e}getNumber(e){if(!this.hasValue())return void 0===e?0:parseFloat(e);var{value:t}=this,A=parseFloat(t);return this.isString(/%$/)&&(A/=100),A}getString(e){return void 0===e||this.hasValue()?void 0===this.value?"":String(this.value):String(e)}getColor(e){var t=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,t=m(t),this.value=t),t}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[A,r]="boolean"==typeof e?[void 0,e]:[e],{viewPort:n}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(n.computeSize("x"),n.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(n.computeSize("x"),n.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*n.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*n.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&r:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*n.computeSize(A);default:var s=this.getNumber();return t&&s<1?s*n.computeSize(A):s}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var e=this.getString(),t=/#([^)'"]+)/.exec(e);return t&&(t=t[1]),t||(t=e),this.document.definitions[t]}getFillStyleDefinition(e,t){var A=this.getDefinition();if(!A)return null;if("function"==typeof A.createGradient)return A.createGradient(this.document.ctx,e,t);if("function"==typeof A.createPattern){if(A.getHrefAttribute().hasValue()){var r=A.getAttribute("patternTransform");A=A.getHrefAttribute().getDefinition(),r.hasValue()&&A.getAttribute("patternTransform",!0).setValue(r.value)}return A.createPattern(this.document.ctx,e,t)}return null}getTextBaseline(){return this.hasValue()?T.textBaselineMapping[this.getString()]:null}addOpacity(e){for(var t=this.getColor(),A=t.length,r=0,n=0;n<A&&(","===t[n]&&r++,3!==r);n++);if(e.hasValue()&&this.isString()&&3!==r){var s=new i(t);s.ok&&(s.alpha=e.getNumber(),t=s.toRGBA())}return new T(this.document,this.name,t)}}T.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};class O{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(e,t){this.viewPorts.push({width:e,height:t})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:e}=this;return e[e.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(e){return"number"==typeof e?e:"x"===e?this.width:"y"===e?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class M{constructor(e,t){this.x=e,this.y=t}static parse(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[A=t,r=t]=d(e);return new M(A,r)}static parseScale(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[A=t,r=A]=d(e);return new M(A,r)}static parsePath(e){for(var t=d(e),A=t.length,r=[],n=0;n<A;n+=2)r.push(new M(t[n],t[n+1]));return r}angleTo(e){return Math.atan2(e.y-this.y,e.x-this.x)}applyTransform(e){var{x:t,y:A}=this,r=t*e[0]+A*e[2]+e[4],n=t*e[1]+A*e[3]+e[5];this.x=r,this.y=n}}class D{constructor(e){this.screen=e,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:e,onClick:t,onMouseMove:A}=this,r=e.ctx.canvas;r.onclick=t,r.onmousemove=A,this.working=!0}}stop(){if(this.working){var e=this.screen.ctx.canvas;this.working=!1,e.onclick=null,e.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:e,events:t,eventElements:A}=this,{style:r}=e.ctx.canvas;r&&(r.cursor=""),t.forEach((e,t)=>{for(var{run:r}=e,n=A[t];n;)r(n),n=n.parent}),this.events=[],this.eventElements=[]}}checkPath(e,t){if(this.working&&t){var{events:A,eventElements:r}=this;A.forEach((A,n)=>{var{x:s,y:i}=A;!r[n]&&t.isPointInPath&&t.isPointInPath(s,i)&&(r[n]=e)})}}checkBoundingBox(e,t){if(this.working&&t){var{events:A,eventElements:r}=this;A.forEach((A,n)=>{var{x:s,y:i}=A;!r[n]&&t.isPointInBox(s,i)&&(r[n]=e)})}}mapXY(e,t){for(var{window:A,ctx:r}=this.screen,n=new M(e,t),s=r.canvas;s;)n.x-=s.offsetLeft,n.y-=s.offsetTop,s=s.offsetParent;return A.scrollX&&(n.x+=A.scrollX),A.scrollY&&(n.y+=A.scrollY),n}onClick(e){var{x:t,y:A}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onclick",x:t,y:A,run(e){e.onClick&&e.onClick()}})}onMouseMove(e){var{x:t,y:A}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onmousemove",x:t,y:A,run(e){e.onMouseMove&&e.onMouseMove()}})}}var R="undefined"!=typeof window?window:null,K="undefined"!=typeof fetch?fetch.bind(void 0):null;class V{constructor(e){var{fetch:t=K,window:A=R}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.ctx=e,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new O,this.mouse=new D(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=A,this.fetch=t}wait(e){this.waits.push(e)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var e=this.waits.every(e=>e());return e&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=e,e}setDefaults(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4}setViewBox(e){var{document:t,ctx:A,aspectRatio:r,width:n,desiredWidth:s,height:i,desiredHeight:o,minX:a=0,minY:l=0,refX:u,refY:h,clip:d=!1,clipX:f=0,clipY:p=0}=e,g=c(r).replace(/^defer\s/,""),[m,w]=g.split(" "),B=m||"xMidYMid",y=w||"meet",v=n/s,b=i/o,C=Math.min(v,b),_=Math.max(v,b),j=s,x=o;"meet"===y&&(j*=C,x*=C),"slice"===y&&(j*=_,x*=_);var F=new T(t,"refX",u),Q=new T(t,"refY",h),U=F.hasValue()&&Q.hasValue();if(U&&A.translate(-C*F.getPixels("x"),-C*Q.getPixels("y")),d){var E=C*f,S=C*p;A.beginPath(),A.moveTo(E,S),A.lineTo(n,S),A.lineTo(n,i),A.lineTo(E,i),A.closePath(),A.clip()}if(!U){var L="meet"===y&&C===b,I="slice"===y&&_===b,N="meet"===y&&C===v,k="slice"===y&&_===v;B.startsWith("xMid")&&(L||I)&&A.translate(n/2-j/2,0),B.endsWith("YMid")&&(N||k)&&A.translate(0,i/2-x/2),B.startsWith("xMax")&&(L||I)&&A.translate(n-j,0),B.endsWith("YMax")&&(N||k)&&A.translate(0,i-x)}switch(!0){case"none"===B:A.scale(v,b);break;case"meet"===y:A.scale(C,C);break;case"slice"===y:A.scale(_,_)}A.translate(-a,-l)}start(e){var{enableRedraw:t=!1,ignoreMouse:A=!1,ignoreAnimation:r=!1,ignoreDimensions:n=!1,ignoreClear:i=!1,forceRedraw:o,scaleWidth:a,scaleHeight:l,offsetX:c,offsetY:u}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:h,mouse:d}=this,f=1e3/h;if(this.frameDuration=f,this.readyPromise=new Promise(e=>{this.resolveReady=e}),this.isReady()&&this.render(e,n,i,a,l,c,u),t){var p=Date.now(),g=p,m=0,w=()=>{p=Date.now(),(m=p-g)>=f&&(g=p-m%f,this.shouldUpdate(r,o)&&(this.render(e,n,i,a,l,c,u),d.runEvents())),this.intervalId=s(w)};A||d.start(),this.intervalId=s(w)}}stop(){this.intervalId&&(s.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(e,t){if(!e){var{frameDuration:A}=this;if(this.animations.reduce((e,t)=>t.update(A)||e,!1))return!0}return!("function"!=typeof t||!t())||!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents()}render(e,t,A,r,n,s,i){var{CLIENT_WIDTH:o,CLIENT_HEIGHT:a,viewPort:l,ctx:c,isFirstRender:u}=this,h=c.canvas;l.clear(),h.width&&h.height?l.setCurrent(h.width,h.height):l.setCurrent(o,a);var f=e.getStyle("width"),p=e.getStyle("height");!t&&(u||"number"!=typeof r&&"number"!=typeof n)&&(f.hasValue()&&(h.width=f.getPixels("x"),h.style&&(h.style.width="".concat(h.width,"px"))),p.hasValue()&&(h.height=p.getPixels("y"),h.style&&(h.style.height="".concat(h.height,"px"))));var g=h.clientWidth||h.width,m=h.clientHeight||h.height;if(t&&f.hasValue()&&p.hasValue()&&(g=f.getPixels("x"),m=p.getPixels("y")),l.setCurrent(g,m),"number"==typeof s&&e.getAttribute("x",!0).setValue(s),"number"==typeof i&&e.getAttribute("y",!0).setValue(i),"number"==typeof r||"number"==typeof n){var w=d(e.getAttribute("viewBox").getString()),B=0,y=0;if("number"==typeof r){var v=e.getStyle("width");v.hasValue()?B=v.getPixels("x")/r:isNaN(w[2])||(B=w[2]/r)}if("number"==typeof n){var b=e.getStyle("height");b.hasValue()?y=b.getPixels("y")/n:isNaN(w[3])||(y=w[3]/n)}B||(B=y),y||(y=B),e.getAttribute("width",!0).setValue(r),e.getAttribute("height",!0).setValue(n);var C=e.getStyle("transform",!0,!0);C.setValue("".concat(C.getString()," scale(").concat(1/B,", ").concat(1/y,")"))}A||c.clearRect(0,0,g,m),e.render(c),u&&(this.isFirstRender=!1)}}V.defaultWindow=R,V.defaultFetch=K;var{defaultFetch:G}=V,z="undefined"!=typeof DOMParser?DOMParser:null;class q{constructor(){var{fetch:e=G,DOMParser:t=z}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=e,this.DOMParser=t}parse(e){var t=this;return(0,r.default)(function*(){return e.startsWith("<")?t.parseFromString(e):t.load(e)})()}parseFromString(e){var t=new this.DOMParser;try{return this.checkDocument(t.parseFromString(e,"image/svg+xml"))}catch(A){return this.checkDocument(t.parseFromString(e,"text/xml"))}}checkDocument(e){var t=e.getElementsByTagName("parsererror")[0];if(t)throw new Error(t.textContent);return e}load(e){var t=this;return(0,r.default)(function*(){var A=yield t.fetch(e),r=yield A.text();return t.parseFromString(r)})()}}class W{constructor(e,t){this.type="translate",this.point=null,this.point=M.parse(t)}apply(e){var{x:t,y:A}=this.point;e.translate(t||0,A||0)}unapply(e){var{x:t,y:A}=this.point;e.translate(-1*t||0,-1*A||0)}applyToPoint(e){var{x:t,y:A}=this.point;e.applyTransform([1,0,0,1,t||0,A||0])}}class X{constructor(e,t,A){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var r=d(t);this.angle=new T(e,"angle",r[0]),this.originX=A[0],this.originY=A[1],this.cx=r[1]||0,this.cy=r[2]||0}apply(e){var{cx:t,cy:A,originX:r,originY:n,angle:s}=this,i=t+r.getPixels("x"),o=A+n.getPixels("y");e.translate(i,o),e.rotate(s.getRadians()),e.translate(-i,-o)}unapply(e){var{cx:t,cy:A,originX:r,originY:n,angle:s}=this,i=t+r.getPixels("x"),o=A+n.getPixels("y");e.translate(i,o),e.rotate(-1*s.getRadians()),e.translate(-i,-o)}applyToPoint(e){var{cx:t,cy:A,angle:r}=this,n=r.getRadians();e.applyTransform([1,0,0,1,t||0,A||0]),e.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),e.applyTransform([1,0,0,1,-t||0,-A||0])}}class Y{constructor(e,t,A){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var r=M.parseScale(t);0!==r.x&&0!==r.y||(r.x=F,r.y=F),this.scale=r,this.originX=A[0],this.originY=A[1]}apply(e){var{scale:{x:t,y:A},originX:r,originY:n}=this,s=r.getPixels("x"),i=n.getPixels("y");e.translate(s,i),e.scale(t,A||t),e.translate(-s,-i)}unapply(e){var{scale:{x:t,y:A},originX:r,originY:n}=this,s=r.getPixels("x"),i=n.getPixels("y");e.translate(s,i),e.scale(1/t,1/A||t),e.translate(-s,-i)}applyToPoint(e){var{x:t,y:A}=this.scale;e.applyTransform([t||0,0,0,A||0,0,0])}}class J{constructor(e,t,A){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=d(t),this.originX=A[0],this.originY=A[1]}apply(e){var{originX:t,originY:A,matrix:r}=this,n=t.getPixels("x"),s=A.getPixels("y");e.translate(n,s),e.transform(r[0],r[1],r[2],r[3],r[4],r[5]),e.translate(-n,-s)}unapply(e){var{originX:t,originY:A,matrix:r}=this,n=r[0],s=r[2],i=r[4],o=r[1],a=r[3],l=r[5],c=1/(n*(1*a-0*l)-s*(1*o-0*l)+i*(0*o-0*a)),u=t.getPixels("x"),h=A.getPixels("y");e.translate(u,h),e.transform(c*(1*a-0*l),c*(0*l-1*o),c*(0*i-1*s),c*(1*n-0*i),c*(s*l-i*a),c*(i*o-n*l)),e.translate(-u,-h)}applyToPoint(e){e.applyTransform(this.matrix)}}class Z extends J{constructor(e,t,A){super(e,t,A),this.type="skew",this.angle=null,this.angle=new T(e,"angle",t)}}class $ extends Z{constructor(e,t,A){super(e,t,A),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class ee extends Z{constructor(e,t,A){super(e,t,A),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}class te{constructor(e,t,A){this.document=e,this.transforms=[];var r=function(e){return c(e).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(t);r.forEach(e=>{if("none"!==e){var[t,r]=function(e){var[t,A]=e.split("(");return[t.trim(),A.trim().replace(")","")]}(e),n=te.transformTypes[t];void 0!==n&&this.transforms.push(new n(this.document,r,A))}})}static fromElement(e,t){var A=t.getStyle("transform",!1,!0),[r,n=r]=t.getStyle("transform-origin",!1,!0).split(),s=[r,n];return A.hasValue()?new te(e,A.getString(),s):null}apply(e){for(var{transforms:t}=this,A=t.length,r=0;r<A;r++)t[r].apply(e)}unapply(e){for(var{transforms:t}=this,A=t.length-1;A>=0;A--)t[A].unapply(e)}applyToPoint(e){for(var{transforms:t}=this,A=t.length,r=0;r<A;r++)t[r].applyToPoint(e)}}te.transformTypes={translate:W,rotate:X,scale:Y,matrix:J,skewX:$,skewY:ee};class Ae{constructor(e,t){var A=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=e,this.node=t,this.captureTextNodes=A,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],t&&1===t.nodeType){Array.from(t.attributes).forEach(t=>{var A=p(t.nodeName);this.attributes[A]=new T(e,A,t.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()&&this.getAttribute("style").getString().split(";").map(e=>e.trim()).forEach(t=>{if(t){var[A,r]=t.split(":").map(e=>e.trim());this.styles[A]=new T(e,A,r)}});var{definitions:r}=e,n=this.getAttribute("id");n.hasValue()&&(r[n.getString()]||(r[n.getString()]=this)),Array.from(t.childNodes).forEach(t=>{if(1===t.nodeType)this.addChild(t);else if(A&&(3===t.nodeType||4===t.nodeType)){var r=e.createTextNode(t);r.getText().length>0&&this.addChild(r)}})}}getAttribute(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],A=this.attributes[e];if(!A&&t){var r=new T(this.document,e,"");return this.attributes[e]=r,r}return A||T.empty(this.document)}getHrefAttribute(){for(var e in this.attributes)if("href"===e||e.endsWith(":href"))return this.attributes[e];return T.empty(this.document)}getStyle(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],A=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.styles[e];if(r)return r;var n=this.getAttribute(e);if(null!=n&&n.hasValue())return this.styles[e]=n,n;if(!A){var{parent:s}=this;if(s){var i=s.getStyle(e);if(null!=i&&i.hasValue())return i}}if(t){var o=new T(this.document,e,"");return this.styles[e]=o,o}return r||T.empty(this.document)}render(e){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(e.save(),this.getStyle("mask").hasValue()){var t=this.getStyle("mask").getDefinition();t&&(this.applyEffects(e),t.apply(e,this))}else if("none"!==this.getStyle("filter").getValue("none")){var A=this.getStyle("filter").getDefinition();A&&(this.applyEffects(e),A.apply(e,this))}else this.setContext(e),this.renderChildren(e),this.clearContext(e);e.restore()}}setContext(e){}applyEffects(e){var t=te.fromElement(this.document,this);t&&t.apply(e);var A=this.getStyle("clip-path",!1,!0);if(A.hasValue()){var r=A.getDefinition();r&&r.apply(e)}}clearContext(e){}renderChildren(e){this.children.forEach(t=>{t.render(e)})}addChild(e){var t=e instanceof Ae?e:this.document.createElement(e);t.parent=this,Ae.ignoreChildTypes.includes(t.type)||this.children.push(t)}matchesSelector(e){var t,{node:A}=this;if("function"==typeof A.matches)return A.matches(e);var r=null===(t=A.getAttribute)||void 0===t?void 0:t.call(A,"class");return!(!r||""===r)&&r.split(" ").some(t=>".".concat(t)===e)}addStylesFromStyleDefinition(){var{styles:e,stylesSpecificity:t}=this.document;for(var A in e)if(!A.startsWith("@")&&this.matchesSelector(A)){var r=e[A],n=t[A];if(r)for(var s in r){var i=this.stylesSpecificity[s];void 0===i&&(i="000"),n>=i&&(this.styles[s]=r[s],this.stylesSpecificity[s]=n)}}}removeStyles(e,t){return t.reduce((t,A)=>{var r=e.getStyle(A);if(!r.hasValue())return t;var n=r.getString();return r.setValue(""),[...t,[A,n]]},[])}restoreStyles(e,t){t.forEach(t=>{var[A,r]=t;e.getStyle(A,!0).setValue(r)})}isFirstChild(){var e;return 0===(null===(e=this.parent)||void 0===e?void 0:e.children.indexOf(this))}}Ae.ignoreChildTypes=["title"];class re extends Ae{constructor(e,t,A){super(e,t,A)}}function ne(e){var t=e.trim();return/^('|")/.test(t)?t:'"'.concat(t,'"')}function se(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return t;default:return/^oblique\s+(-|)\d+deg$/.test(t)?t:""}}function ie(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return t;default:return/^[\d.]+$/.test(t)?t:""}}class oe{constructor(e,t,A,r,n,s){var i=s?"string"==typeof s?oe.parse(s):s:{};this.fontFamily=n||i.fontFamily,this.fontSize=r||i.fontSize,this.fontStyle=e||i.fontStyle,this.fontWeight=A||i.fontWeight,this.fontVariant=t||i.fontVariant}static parse(){var e=arguments.length>1?arguments[1]:void 0,t="",A="",r="",n="",s="",i=c(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().split(" "),o={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return i.forEach(e=>{switch(!0){case!o.fontStyle&&oe.styles.includes(e):"inherit"!==e&&(t=e),o.fontStyle=!0;break;case!o.fontVariant&&oe.variants.includes(e):"inherit"!==e&&(A=e),o.fontStyle=!0,o.fontVariant=!0;break;case!o.fontWeight&&oe.weights.includes(e):"inherit"!==e&&(r=e),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0;break;case!o.fontSize:"inherit"!==e&&([n]=e.split("/")),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0,o.fontSize=!0;break;default:"inherit"!==e&&(s+=e)}}),new oe(t,A,r,n,s,e)}toString(){return[se(this.fontStyle),this.fontVariant,ie(this.fontWeight),this.fontSize,(e=this.fontFamily,"undefined"==typeof process?e:e.trim().split(",").map(ne).join(","))].join(" ").trim();var e}}oe.styles="normal|italic|oblique|inherit",oe.variants="normal|small-caps|inherit",oe.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class ae{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=e,this.y1=t,this.x2=A,this.y2=r,this.addPoint(e,t),this.addPoint(A,r)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(e,t){void 0!==e&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),void 0!==t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),t<this.y1&&(this.y1=t),t>this.y2&&(this.y2=t))}addX(e){this.addPoint(e,null)}addY(e){this.addPoint(null,e)}addBoundingBox(e){if(e){var{x1:t,y1:A,x2:r,y2:n}=e;this.addPoint(t,A),this.addPoint(r,n)}}sumCubic(e,t,A,r,n){return Math.pow(1-e,3)*t+3*Math.pow(1-e,2)*e*A+3*(1-e)*Math.pow(e,2)*r+Math.pow(e,3)*n}bezierCurveAdd(e,t,A,r,n){var s=6*t-12*A+6*r,i=-3*t+9*A-9*r+3*n,o=3*A-3*t;if(0!==i){var a=Math.pow(s,2)-4*o*i;if(!(a<0)){var l=(-s+Math.sqrt(a))/(2*i);0<l&&l<1&&(e?this.addX(this.sumCubic(l,t,A,r,n)):this.addY(this.sumCubic(l,t,A,r,n)));var c=(-s-Math.sqrt(a))/(2*i);0<c&&c<1&&(e?this.addX(this.sumCubic(c,t,A,r,n)):this.addY(this.sumCubic(c,t,A,r,n)))}}else{if(0===s)return;var u=-o/s;0<u&&u<1&&(e?this.addX(this.sumCubic(u,t,A,r,n)):this.addY(this.sumCubic(u,t,A,r,n)))}}addBezierCurve(e,t,A,r,n,s,i,o){this.addPoint(e,t),this.addPoint(i,o),this.bezierCurveAdd(!0,e,A,n,i),this.bezierCurveAdd(!1,t,r,s,o)}addQuadraticCurve(e,t,A,r,n,s){var i=e+2/3*(A-e),o=t+2/3*(r-t),a=i+1/3*(n-e),l=o+1/3*(s-t);this.addBezierCurve(e,t,i,a,o,l,n,s)}isPointInBox(e,t){var{x1:A,y1:r,x2:n,y2:s}=this;return A<=e&&e<=n&&r<=t&&t<=s}}class le extends o.SVGPathData{constructor(e){super(e.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new M(0,0),this.control=new M(0,0),this.current=new M(0,0),this.points=[],this.angles=[]}isEnd(){var{i:e,commands:t}=this;return e>=t.length-1}next(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}getPoint(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",A=new M(this.command[e],this.command[t]);return this.makeAbsolute(A)}getAsControlPoint(e,t){var A=this.getPoint(e,t);return this.control=A,A}getAsCurrentPoint(e,t){var A=this.getPoint(e,t);return this.current=A,A}getReflectedControlPoint(){var e=this.previousCommand.type;if(e!==o.SVGPathData.CURVE_TO&&e!==o.SVGPathData.SMOOTH_CURVE_TO&&e!==o.SVGPathData.QUAD_TO&&e!==o.SVGPathData.SMOOTH_QUAD_TO)return this.current;var{current:{x:t,y:A},control:{x:r,y:n}}=this;return new M(2*t-r,2*A-n)}makeAbsolute(e){if(this.command.relative){var{x:t,y:A}=this.current;e.x+=t,e.y+=A}return e}addMarker(e,t,A){var{points:r,angles:n}=this;A&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=r[r.length-1].angleTo(A)),this.addMarkerAngle(e,t?t.angleTo(e):null)}addMarkerAngle(e,t){this.points.push(e),this.angles.push(t)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:e}=this,t=e.length,A=0;A<t;A++)if(!e[A])for(var r=A+1;r<t;r++)if(e[r]){e[A]=e[r];break}return e}}class ce extends Ae{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var e=1,t=this;t;){var A=t.getStyle("opacity",!1,!0);A.hasValue(!0)&&(e*=A.getNumber()),t=t.parent}return e}setContext(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){var A=this.getStyle("fill"),r=this.getStyle("fill-opacity"),n=this.getStyle("stroke"),s=this.getStyle("stroke-opacity");if(A.isUrlDefinition()){var i=A.getFillStyleDefinition(this,r);i&&(e.fillStyle=i)}else if(A.hasValue()){"currentColor"===A.getString()&&A.setValue(this.getStyle("color").getColor());var o=A.getColor();"inherit"!==o&&(e.fillStyle="none"===o?"rgba(0,0,0,0)":o)}if(r.hasValue()){var a=new T(this.document,"fill",e.fillStyle).addOpacity(r).getColor();e.fillStyle=a}if(n.isUrlDefinition()){var l=n.getFillStyleDefinition(this,s);l&&(e.strokeStyle=l)}else if(n.hasValue()){"currentColor"===n.getString()&&n.setValue(this.getStyle("color").getColor());var c=n.getString();"inherit"!==c&&(e.strokeStyle="none"===c?"rgba(0,0,0,0)":c)}if(s.hasValue()){var u=new T(this.document,"stroke",e.strokeStyle).addOpacity(s).getString();e.strokeStyle=u}var h=this.getStyle("stroke-width");if(h.hasValue()){var f=h.getPixels();e.lineWidth=f||F}var p=this.getStyle("stroke-linecap"),g=this.getStyle("stroke-linejoin"),m=this.getStyle("stroke-miterlimit"),w=this.getStyle("stroke-dasharray"),B=this.getStyle("stroke-dashoffset");if(p.hasValue()&&(e.lineCap=p.getString()),g.hasValue()&&(e.lineJoin=g.getString()),m.hasValue()&&(e.miterLimit=m.getNumber()),w.hasValue()&&"none"!==w.getString()){var y=d(w.getString());void 0!==e.setLineDash?e.setLineDash(y):void 0!==e.webkitLineDash?e.webkitLineDash=y:void 0===e.mozDash||1===y.length&&0===y[0]||(e.mozDash=y);var v=B.getPixels();void 0!==e.lineDashOffset?e.lineDashOffset=v:void 0!==e.webkitLineDashOffset?e.webkitLineDashOffset=v:void 0!==e.mozDashOffset&&(e.mozDashOffset=v)}}if(this.modifiedEmSizeStack=!1,void 0!==e.font){var b=this.getStyle("font"),C=this.getStyle("font-style"),_=this.getStyle("font-variant"),j=this.getStyle("font-weight"),x=this.getStyle("font-size"),Q=this.getStyle("font-family"),U=new oe(C.getString(),_.getString(),j.getString(),x.hasValue()?"".concat(x.getPixels(!0),"px"):"",Q.getString(),oe.parse(b.getString(),e.font));C.setValue(U.fontStyle),_.setValue(U.fontVariant),j.setValue(U.fontWeight),x.setValue(U.fontSize),Q.setValue(U.fontFamily),e.font=U.toString(),x.isPixels()&&(this.document.emSize=x.getPixels(),this.modifiedEmSizeStack=!0)}t||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}clearContext(e){super.clearContext(e),this.modifiedEmSizeStack&&this.document.popEmSize()}}class ue extends ce{constructor(e,t,A){super(e,t,A),this.type="path",this.pathParser=null,this.pathParser=new le(this.getAttribute("d").getString())}path(e){var{pathParser:t}=this,A=new ae;for(t.reset(),e&&e.beginPath();!t.isEnd();)switch(t.next().type){case le.MOVE_TO:this.pathM(e,A);break;case le.LINE_TO:this.pathL(e,A);break;case le.HORIZ_LINE_TO:this.pathH(e,A);break;case le.VERT_LINE_TO:this.pathV(e,A);break;case le.CURVE_TO:this.pathC(e,A);break;case le.SMOOTH_CURVE_TO:this.pathS(e,A);break;case le.QUAD_TO:this.pathQ(e,A);break;case le.SMOOTH_QUAD_TO:this.pathT(e,A);break;case le.ARC:this.pathA(e,A);break;case le.CLOSE_PATH:this.pathZ(e,A)}return A}getBoundingBox(e){return this.path()}getMarkers(){var{pathParser:e}=this,t=e.getMarkerPoints(),A=e.getMarkerAngles();return t.map((e,t)=>[e,A[t]])}renderChildren(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var t=this.getStyle("fill-rule");""!==e.fillStyle&&("inherit"!==t.getString("inherit")?e.fill(t.getString()):e.fill()),""!==e.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var A=this.getMarkers();if(A){var r=A.length-1,n=this.getStyle("marker-start"),s=this.getStyle("marker-mid"),i=this.getStyle("marker-end");if(n.isUrlDefinition()){var o=n.getDefinition(),[a,l]=A[0];o.render(e,a,l)}if(s.isUrlDefinition())for(var c=s.getDefinition(),u=1;u<r;u++){var[h,d]=A[u];c.render(e,h,d)}if(i.isUrlDefinition()){var f=i.getDefinition(),[p,g]=A[r];f.render(e,p,g)}}}static pathM(e){var t=e.getAsCurrentPoint();return e.start=e.current,{point:t}}pathM(e,t){var{pathParser:A}=this,{point:r}=ue.pathM(A),{x:n,y:s}=r;A.addMarker(r),t.addPoint(n,s),e&&e.moveTo(n,s)}static pathL(e){var{current:t}=e;return{current:t,point:e.getAsCurrentPoint()}}pathL(e,t){var{pathParser:A}=this,{current:r,point:n}=ue.pathL(A),{x:s,y:i}=n;A.addMarker(n,r),t.addPoint(s,i),e&&e.lineTo(s,i)}static pathH(e){var{current:t,command:A}=e,r=new M((A.relative?t.x:0)+A.x,t.y);return e.current=r,{current:t,point:r}}pathH(e,t){var{pathParser:A}=this,{current:r,point:n}=ue.pathH(A),{x:s,y:i}=n;A.addMarker(n,r),t.addPoint(s,i),e&&e.lineTo(s,i)}static pathV(e){var{current:t,command:A}=e,r=new M(t.x,(A.relative?t.y:0)+A.y);return e.current=r,{current:t,point:r}}pathV(e,t){var{pathParser:A}=this,{current:r,point:n}=ue.pathV(A),{x:s,y:i}=n;A.addMarker(n,r),t.addPoint(s,i),e&&e.lineTo(s,i)}static pathC(e){var{current:t}=e;return{current:t,point:e.getPoint("x1","y1"),controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}pathC(e,t){var{pathParser:A}=this,{current:r,point:n,controlPoint:s,currentPoint:i}=ue.pathC(A);A.addMarker(i,s,n),t.addBezierCurve(r.x,r.y,n.x,n.y,s.x,s.y,i.x,i.y),e&&e.bezierCurveTo(n.x,n.y,s.x,s.y,i.x,i.y)}static pathS(e){var{current:t}=e;return{current:t,point:e.getReflectedControlPoint(),controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}pathS(e,t){var{pathParser:A}=this,{current:r,point:n,controlPoint:s,currentPoint:i}=ue.pathS(A);A.addMarker(i,s,n),t.addBezierCurve(r.x,r.y,n.x,n.y,s.x,s.y,i.x,i.y),e&&e.bezierCurveTo(n.x,n.y,s.x,s.y,i.x,i.y)}static pathQ(e){var{current:t}=e;return{current:t,controlPoint:e.getAsControlPoint("x1","y1"),currentPoint:e.getAsCurrentPoint()}}pathQ(e,t){var{pathParser:A}=this,{current:r,controlPoint:n,currentPoint:s}=ue.pathQ(A);A.addMarker(s,n,n),t.addQuadraticCurve(r.x,r.y,n.x,n.y,s.x,s.y),e&&e.quadraticCurveTo(n.x,n.y,s.x,s.y)}static pathT(e){var{current:t}=e,A=e.getReflectedControlPoint();return e.control=A,{current:t,controlPoint:A,currentPoint:e.getAsCurrentPoint()}}pathT(e,t){var{pathParser:A}=this,{current:r,controlPoint:n,currentPoint:s}=ue.pathT(A);A.addMarker(s,n,n),t.addQuadraticCurve(r.x,r.y,n.x,n.y,s.x,s.y),e&&e.quadraticCurveTo(n.x,n.y,s.x,s.y)}static pathA(e){var{current:t,command:A}=e,{rX:r,rY:n,xRot:s,lArcFlag:i,sweepFlag:o}=A,a=s*(Math.PI/180),l=e.getAsCurrentPoint(),c=new M(Math.cos(a)*(t.x-l.x)/2+Math.sin(a)*(t.y-l.y)/2,-Math.sin(a)*(t.x-l.x)/2+Math.cos(a)*(t.y-l.y)/2),u=Math.pow(c.x,2)/Math.pow(r,2)+Math.pow(c.y,2)/Math.pow(n,2);u>1&&(r*=Math.sqrt(u),n*=Math.sqrt(u));var h=(i===o?-1:1)*Math.sqrt((Math.pow(r,2)*Math.pow(n,2)-Math.pow(r,2)*Math.pow(c.y,2)-Math.pow(n,2)*Math.pow(c.x,2))/(Math.pow(r,2)*Math.pow(c.y,2)+Math.pow(n,2)*Math.pow(c.x,2)));isNaN(h)&&(h=0);var d=new M(h*r*c.y/n,h*-n*c.x/r),f=new M((t.x+l.x)/2+Math.cos(a)*d.x-Math.sin(a)*d.y,(t.y+l.y)/2+Math.sin(a)*d.x+Math.cos(a)*d.y),p=E([1,0],[(c.x-d.x)/r,(c.y-d.y)/n]),g=[(c.x-d.x)/r,(c.y-d.y)/n],m=[(-c.x-d.x)/r,(-c.y-d.y)/n],w=E(g,m);return U(g,m)<=-1&&(w=Math.PI),U(g,m)>=1&&(w=0),{currentPoint:l,rX:r,rY:n,sweepFlag:o,xAxisRotation:a,centp:f,a1:p,ad:w}}pathA(e,t){var{pathParser:A}=this,{currentPoint:r,rX:n,rY:s,sweepFlag:i,xAxisRotation:o,centp:a,a1:l,ad:c}=ue.pathA(A),u=1-i?1:-1,h=l+u*(c/2),d=new M(a.x+n*Math.cos(h),a.y+s*Math.sin(h));if(A.addMarkerAngle(d,h-u*Math.PI/2),A.addMarkerAngle(r,h-u*Math.PI),t.addPoint(r.x,r.y),e&&!isNaN(l)&&!isNaN(c)){var f=n>s?n:s,p=n>s?1:n/s,g=n>s?s/n:1;e.translate(a.x,a.y),e.rotate(o),e.scale(p,g),e.arc(0,0,f,l,l+c,Boolean(1-i)),e.scale(1/p,1/g),e.rotate(-o),e.translate(-a.x,-a.y)}}static pathZ(e){e.current=e.start}pathZ(e,t){ue.pathZ(this.pathParser),e&&t.x1!==t.x2&&t.y1!==t.y2&&e.closePath()}}class he extends ue{constructor(e,t,A){super(e,t,A),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class de extends ce{constructor(e,t,A){super(e,t,new.target===de||A),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super.setContext(e,t);var A=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();A&&(e.textBaseline=A)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(e){if("text"!==this.type)return this.getTElementBoundingBox(e);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e);var t=null;return this.children.forEach((A,r)=>{var n=this.getChildBoundingBox(e,this,this,r);t?t.addBoundingBox(n):t=n}),t}getFontSize(){var{document:e,parent:t}=this,A=oe.parse(e.ctx.font).fontSize;return t.getStyle("font-size").getNumber(A)}getTElementBoundingBox(e){var t=this.getFontSize();return new ae(this.x,this.y-t,this.x+this.measureText(e),this.y)}getGlyph(e,t,A){var r=t[A],n=null;if(e.isArabic){var s=t.length,i=t[A-1],o=t[A+1],a="isolated";if((0===A||" "===i)&&A<s-1&&" "!==o&&(a="terminal"),A>0&&" "!==i&&A<s-1&&" "!==o&&(a="medial"),A>0&&" "!==i&&(A===s-1||" "===o)&&(a="initial"),void 0!==e.glyphs[r]){var l=e.glyphs[r];n=l instanceof he?l:l[a]}}else n=e.glyphs[r];return n||(n=e.missingGlyph),n}getText(){return""}getTextFromNode(e){var t=e||this.node,A=Array.from(t.parentNode.childNodes),r=A.indexOf(t),n=A.length-1,s=c(t.textContent||"");return 0===r&&(s=u(s)),r===n&&(s=h(s)),s}renderChildren(e){if("text"===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e),this.children.forEach((t,A)=>{this.renderChild(e,this,this,A)});var{mouse:t}=this.document.screen;t.isWorking()&&t.checkBoundingBox(this,this.getBoundingBox(e))}else this.renderTElementChildren(e)}renderTElementChildren(e){var{document:t,parent:A}=this,r=this.getText(),n=A.getStyle("font-family").getDefinition();if(n)for(var{unitsPerEm:s}=n.fontFace,i=oe.parse(t.ctx.font),o=A.getStyle("font-size").getNumber(i.fontSize),a=A.getStyle("font-style").getString(i.fontStyle),l=o/s,c=n.isRTL?r.split("").reverse().join(""):r,u=d(A.getAttribute("dx").getString()),h=c.length,f=0;f<h;f++){var p=this.getGlyph(n,c,f);e.translate(this.x,this.y),e.scale(l,-l);var g=e.lineWidth;e.lineWidth=e.lineWidth*s/o,"italic"===a&&e.transform(1,0,.4,1,0,0),p.render(e),"italic"===a&&e.transform(1,0,-.4,1,0,0),e.lineWidth=g,e.scale(1/l,-1/l),e.translate(-this.x,-this.y),this.x+=o*(p.horizAdvX||n.horizAdvX)/s,void 0===u[f]||isNaN(u[f])||(this.x+=u[f])}else{var{x:m,y:w}=this;e.fillStyle&&e.fillText(r,m,w),e.strokeStyle&&e.strokeText(r,m,w)}}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var e,t=this.leafTexts[this.textChunkStart],A=t.getStyle("text-anchor").getString("start");e="start"===A?t.x-this.minX:"end"===A?t.x-this.maxX:t.x-(this.minX+this.maxX)/2;for(var r=this.textChunkStart;r<this.leafTexts.length;r++)this.leafTexts[r].x+=e;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(e){this.children.forEach((t,A)=>{this.adjustChildCoordinatesRecursiveCore(e,this,this,A)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(e,t,A,r){var n=A.children[r];n.children.length>0?n.children.forEach((A,r)=>{t.adjustChildCoordinatesRecursiveCore(e,t,n,r)}):this.adjustChildCoordinates(e,t,A,r)}adjustChildCoordinates(e,t,A,r){var n=A.children[r];if("function"!=typeof n.measureText)return n;e.save(),n.setContext(e,!0);var s=n.getAttribute("x"),i=n.getAttribute("y"),o=n.getAttribute("dx"),a=n.getAttribute("dy"),l=n.getStyle("font-family").getDefinition(),c=Boolean(l)&&l.isRTL;0===r&&(s.hasValue()||s.setValue(n.getInheritedAttribute("x")),i.hasValue()||i.setValue(n.getInheritedAttribute("y")),o.hasValue()||o.setValue(n.getInheritedAttribute("dx")),a.hasValue()||a.setValue(n.getInheritedAttribute("dy")));var u=n.measureText(e);return c&&(t.x-=u),s.hasValue()?(t.applyAnchoring(),n.x=s.getPixels("x"),o.hasValue()&&(n.x+=o.getPixels("x"))):(o.hasValue()&&(t.x+=o.getPixels("x")),n.x=t.x),t.x=n.x,c||(t.x+=u),i.hasValue()?(n.y=i.getPixels("y"),a.hasValue()&&(n.y+=a.getPixels("y"))):(a.hasValue()&&(t.y+=a.getPixels("y")),n.y=t.y),t.y=n.y,t.leafTexts.push(n),t.minX=Math.min(t.minX,n.x,n.x+u),t.maxX=Math.max(t.maxX,n.x,n.x+u),n.clearContext(e),e.restore(),n}getChildBoundingBox(e,t,A,r){var n=A.children[r];if("function"!=typeof n.getBoundingBox)return null;var s=n.getBoundingBox(e);return s?(n.children.forEach((A,r)=>{var i=t.getChildBoundingBox(e,t,n,r);s.addBoundingBox(i)}),s):null}renderChild(e,t,A,r){var n=A.children[r];n.render(e),n.children.forEach((A,r)=>{t.renderChild(e,t,n,r)})}measureText(e){var{measureCache:t}=this;if(~t)return t;var A=this.getText(),r=this.measureTargetText(e,A);return this.measureCache=r,r}measureTargetText(e,t){if(!t.length)return 0;var{parent:A}=this,r=A.getStyle("font-family").getDefinition();if(r){for(var n=this.getFontSize(),s=r.isRTL?t.split("").reverse().join(""):t,i=d(A.getAttribute("dx").getString()),o=s.length,a=0,l=0;l<o;l++)a+=(this.getGlyph(r,s,l).horizAdvX||r.horizAdvX)*n/r.fontFace.unitsPerEm,void 0===i[l]||isNaN(i[l])||(a+=i[l]);return a}if(!e.measureText)return 10*t.length;e.save(),this.setContext(e,!0);var{width:c}=e.measureText(t);return this.clearContext(e),e.restore(),c}getInheritedAttribute(e){for(var t=this;t instanceof de&&t.isFirstChild();){var A=t.parent.getAttribute(e);if(A.hasValue(!0))return A.getValue("0");t=t.parent}return null}}class fe extends de{constructor(e,t,A){super(e,t,new.target===fe||A),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class pe extends fe{constructor(){super(...arguments),this.type="textNode"}}class ge extends ce{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(e){var t,{document:A}=this,{screen:r,window:n}=A,s=e.canvas;if(r.setDefaults(e),s.style&&void 0!==e.font&&n&&void 0!==n.getComputedStyle){e.font=n.getComputedStyle(s).getPropertyValue("font");var i=new T(A,"fontSize",oe.parse(e.font).fontSize);i.hasValue()&&(A.rootEmSize=i.getPixels("y"),A.emSize=A.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:o,height:a}=r.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var l=this.getAttribute("refX"),c=this.getAttribute("refY"),u=this.getAttribute("viewBox"),h=u.hasValue()?d(u.getString()):null,f=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),p=0,g=0,m=0,w=0;h&&(p=h[0],g=h[1]),this.root||(o=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y"),"marker"===this.type&&(m=p,w=g,p=0,g=0)),r.viewPort.setCurrent(o,a),!this.node||this.parent&&"foreignObject"!==(null===(t=this.node.parentNode)||void 0===t?void 0:t.nodeName)||!this.getStyle("transform",!1,!0).hasValue()||this.getStyle("transform-origin",!1,!0).hasValue()||this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),h&&(o=h[2],a=h[3]),A.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:r.viewPort.width,desiredWidth:o,height:r.viewPort.height,desiredHeight:a,minX:p,minY:g,refX:l.getValue(),refY:c.getValue(),clip:f,clipX:m,clipY:w}),h&&(r.viewPort.removeCurrent(),r.viewPort.setCurrent(o,a))}clearContext(e){super.clearContext(e),this.document.screen.viewPort.removeCurrent()}resize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,A=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.getAttribute("width",!0),n=this.getAttribute("height",!0),s=this.getAttribute("viewBox"),i=this.getAttribute("style"),o=r.getNumber(0),a=n.getNumber(0);if(A)if("string"==typeof A)this.getAttribute("preserveAspectRatio",!0).setValue(A);else{var l=this.getAttribute("preserveAspectRatio");l.hasValue()&&l.setValue(l.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(r.setValue(e),n.setValue(t),s.hasValue()||s.setValue("0 0 ".concat(o||e," ").concat(a||t)),i.hasValue()){var c=this.getStyle("width"),u=this.getStyle("height");c.hasValue()&&c.setValue("".concat(e,"px")),u.hasValue()&&u.setValue("".concat(t,"px"))}}}class me extends ue{constructor(){super(...arguments),this.type="rect"}path(e){var t=this.getAttribute("x").getPixels("x"),A=this.getAttribute("y").getPixels("y"),r=this.getStyle("width",!1,!0).getPixels("x"),n=this.getStyle("height",!1,!0).getPixels("y"),s=this.getAttribute("rx"),i=this.getAttribute("ry"),o=s.getPixels("x"),a=i.getPixels("y");if(s.hasValue()&&!i.hasValue()&&(a=o),i.hasValue()&&!s.hasValue()&&(o=a),o=Math.min(o,r/2),a=Math.min(a,n/2),e){var l=(Math.sqrt(2)-1)/3*4;e.beginPath(),n>0&&r>0&&(e.moveTo(t+o,A),e.lineTo(t+r-o,A),e.bezierCurveTo(t+r-o+l*o,A,t+r,A+a-l*a,t+r,A+a),e.lineTo(t+r,A+n-a),e.bezierCurveTo(t+r,A+n-a+l*a,t+r-o+l*o,A+n,t+r-o,A+n),e.lineTo(t+o,A+n),e.bezierCurveTo(t+o-l*o,A+n,t,A+n-a+l*a,t,A+n-a),e.lineTo(t,A+a),e.bezierCurveTo(t,A+a-l*a,t+o-l*o,A,t+o,A),e.closePath())}return new ae(t,A,t+r,A+n)}getMarkers(){return null}}class we extends ue{constructor(){super(...arguments),this.type="circle"}path(e){var t=this.getAttribute("cx").getPixels("x"),A=this.getAttribute("cy").getPixels("y"),r=this.getAttribute("r").getPixels();return e&&r>0&&(e.beginPath(),e.arc(t,A,r,0,2*Math.PI,!1),e.closePath()),new ae(t-r,A-r,t+r,A+r)}getMarkers(){return null}}class Be extends ue{constructor(){super(...arguments),this.type="ellipse"}path(e){var t=(Math.sqrt(2)-1)/3*4,A=this.getAttribute("rx").getPixels("x"),r=this.getAttribute("ry").getPixels("y"),n=this.getAttribute("cx").getPixels("x"),s=this.getAttribute("cy").getPixels("y");return e&&A>0&&r>0&&(e.beginPath(),e.moveTo(n+A,s),e.bezierCurveTo(n+A,s+t*r,n+t*A,s+r,n,s+r),e.bezierCurveTo(n-t*A,s+r,n-A,s+t*r,n-A,s),e.bezierCurveTo(n-A,s-t*r,n-t*A,s-r,n,s-r),e.bezierCurveTo(n+t*A,s-r,n+A,s-t*r,n+A,s),e.closePath()),new ae(n-A,s-r,n+A,s+r)}getMarkers(){return null}}class ye extends ue{constructor(){super(...arguments),this.type="line"}getPoints(){return[new M(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new M(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(e){var[{x:t,y:A},{x:r,y:n}]=this.getPoints();return e&&(e.beginPath(),e.moveTo(t,A),e.lineTo(r,n)),new ae(t,A,r,n)}getMarkers(){var[e,t]=this.getPoints(),A=e.angleTo(t);return[[e,A],[t,A]]}}class ve extends ue{constructor(e,t,A){super(e,t,A),this.type="polyline",this.points=[],this.points=M.parsePath(this.getAttribute("points").getString())}path(e){var{points:t}=this,[{x:A,y:r}]=t,n=new ae(A,r);return e&&(e.beginPath(),e.moveTo(A,r)),t.forEach(t=>{var{x:A,y:r}=t;n.addPoint(A,r),e&&e.lineTo(A,r)}),n}getMarkers(){var{points:e}=this,t=e.length-1,A=[];return e.forEach((r,n)=>{n!==t&&A.push([r,r.angleTo(e[n+1])])}),A.length>0&&A.push([e[e.length-1],A[A.length-1][1]]),A}}class be extends ve{constructor(){super(...arguments),this.type="polygon"}path(e){var t=super.path(e),[{x:A,y:r}]=this.points;return e&&(e.lineTo(A,r),e.closePath()),t}}class Ce extends Ae{constructor(){super(...arguments),this.type="pattern"}createPattern(e,t,A){var r=this.getStyle("width").getPixels("x",!0),n=this.getStyle("height").getPixels("y",!0),s=new ge(this.document,null);s.attributes.viewBox=new T(this.document,"viewBox",this.getAttribute("viewBox").getValue()),s.attributes.width=new T(this.document,"width","".concat(r,"px")),s.attributes.height=new T(this.document,"height","".concat(n,"px")),s.attributes.transform=new T(this.document,"transform",this.getAttribute("patternTransform").getValue()),s.children=this.children;var i=this.document.createCanvas(r,n),o=i.getContext("2d"),a=this.getAttribute("x"),l=this.getAttribute("y");a.hasValue()&&l.hasValue()&&o.translate(a.getPixels("x",!0),l.getPixels("y",!0)),A.hasValue()?this.styles["fill-opacity"]=A:Reflect.deleteProperty(this.styles,"fill-opacity");for(var c=-1;c<=1;c++)for(var u=-1;u<=1;u++)o.save(),s.attributes.x=new T(this.document,"x",c*i.width),s.attributes.y=new T(this.document,"y",u*i.height),s.render(o),o.restore();return e.createPattern(i,"repeat")}}class _e extends Ae{constructor(){super(...arguments),this.type="marker"}render(e,t,A){if(t){var{x:r,y:n}=t,s=this.getAttribute("orient").getString("auto"),i=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(r,n),"auto"===s&&e.rotate(A),"strokeWidth"===i&&e.scale(e.lineWidth,e.lineWidth),e.save();var o=new ge(this.document,null);o.type=this.type,o.attributes.viewBox=new T(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.refX=new T(this.document,"refX",this.getAttribute("refX").getValue()),o.attributes.refY=new T(this.document,"refY",this.getAttribute("refY").getValue()),o.attributes.width=new T(this.document,"width",this.getAttribute("markerWidth").getValue()),o.attributes.height=new T(this.document,"height",this.getAttribute("markerHeight").getValue()),o.attributes.overflow=new T(this.document,"overflow",this.getAttribute("overflow").getValue()),o.attributes.fill=new T(this.document,"fill",this.getAttribute("fill").getColor("black")),o.attributes.stroke=new T(this.document,"stroke",this.getAttribute("stroke").getValue("none")),o.children=this.children,o.render(e),e.restore(),"strokeWidth"===i&&e.scale(1/e.lineWidth,1/e.lineWidth),"auto"===s&&e.rotate(-A),e.translate(-r,-n)}}}class je extends Ae{constructor(){super(...arguments),this.type="defs"}render(){}}class xe extends ce{constructor(){super(...arguments),this.type="g"}getBoundingBox(e){var t=new ae;return this.children.forEach(A=>{t.addBoundingBox(A.getBoundingBox(e))}),t}}class Fe extends Ae{constructor(e,t,A){super(e,t,A),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:r,children:n}=this;n.forEach(e=>{"stop"===e.type&&r.push(e)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(e,t,A){var r=this;this.getHrefAttribute().hasValue()&&(r=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(r));var{stops:n}=r,s=this.getGradient(e,t);if(!s)return this.addParentOpacity(A,n[n.length-1].color);if(n.forEach(e=>{s.addColorStop(e.offset,this.addParentOpacity(A,e.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:i}=this,{MAX_VIRTUAL_PIXELS:o,viewPort:a}=i.screen,[l]=a.viewPorts,c=new me(i,null);c.attributes.x=new T(i,"x",-o/3),c.attributes.y=new T(i,"y",-o/3),c.attributes.width=new T(i,"width",o),c.attributes.height=new T(i,"height",o);var u=new xe(i,null);u.attributes.transform=new T(i,"transform",this.getAttribute("gradientTransform").getValue()),u.children=[c];var h=new ge(i,null);h.attributes.x=new T(i,"x",0),h.attributes.y=new T(i,"y",0),h.attributes.width=new T(i,"width",l.width),h.attributes.height=new T(i,"height",l.height),h.children=[u];var d=i.createCanvas(l.width,l.height),f=d.getContext("2d");return f.fillStyle=s,h.render(f),f.createPattern(d,"no-repeat")}return s}inheritStopContainer(e){this.attributesToInherit.forEach(t=>{!this.getAttribute(t).hasValue()&&e.getAttribute(t).hasValue()&&this.getAttribute(t,!0).setValue(e.getAttribute(t).getValue())})}addParentOpacity(e,t){return e.hasValue()?new T(this.document,"color",t).addOpacity(e).getColor():t}}class Qe extends Fe{constructor(e,t,A){super(e,t,A),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(e,t){var A="objectBoundingBox"===this.getGradientUnits(),r=A?t.getBoundingBox(e):null;if(A&&!r)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var n=A?r.x+r.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),s=A?r.y+r.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),i=A?r.x+r.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),o=A?r.y+r.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return n===i&&s===o?null:e.createLinearGradient(n,s,i,o)}}class Ue extends Fe{constructor(e,t,A){super(e,t,A),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(e,t){var A="objectBoundingBox"===this.getGradientUnits(),r=t.getBoundingBox(e);if(A&&!r)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var n=A?r.x+r.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),s=A?r.y+r.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),i=n,o=s;this.getAttribute("fx").hasValue()&&(i=A?r.x+r.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(o=A?r.y+r.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var a=A?(r.width+r.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),l=this.getAttribute("fr").getPixels();return e.createRadialGradient(i,o,l,n,s,a)}}class Ee extends Ae{constructor(e,t,A){super(e,t,A),this.type="stop";var r=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),n=this.getStyle("stop-opacity"),s=this.getStyle("stop-color",!0);""===s.getString()&&s.setValue("#000"),n.hasValue()&&(s=s.addOpacity(n)),this.offset=r,this.color=s.getColor()}}class Se extends Ae{constructor(e,t,A){super(e,t,A),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,e.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new T(e,"values",null);var r=this.getAttribute("values");r.hasValue()&&this.values.setValue(r.getString().split(";"))}getProperty(){var e=this.getAttribute("attributeType").getString(),t=this.getAttribute("attributeName").getString();return"CSS"===e?this.parent.getStyle(t,!0):this.parent.getAttribute(t,!0)}calcValue(){var{initialUnits:e}=this,{progress:t,from:A,to:r}=this.getProgress(),n=A.getNumber()+(r.getNumber()-A.getNumber())*t;return"%"===e&&(n*=100),"".concat(n).concat(e)}update(e){var{parent:t}=this,A=this.getProperty();if(this.initialValue||(this.initialValue=A.getString(),this.initialUnits=A.getUnits()),this.duration>this.maxDuration){var r=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==r||this.frozen){if("remove"===r&&!this.removed)return this.removed=!0,A.setValue(t.animationFrozen?t.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,t.animationFrozen=!0,t.animationFrozenValue=A.getString();return!1}this.duration+=e;var n=!1;if(this.begin<this.duration){var s=this.calcValue(),i=this.getAttribute("type");if(i.hasValue()){var o=i.getString();s="".concat(o,"(").concat(s,")")}A.setValue(s),n=!0}return n}getProgress(){var{document:e,values:t}=this,A={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(t.hasValue()){var r=A.progress*(t.getValue().length-1),n=Math.floor(r),s=Math.ceil(r);A.from=new T(e,"from",parseFloat(t.getValue()[n])),A.to=new T(e,"to",parseFloat(t.getValue()[s])),A.progress=(r-n)/(s-n)}else A.from=this.from,A.to=this.to;return A}}class Le extends Se{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:e,from:t,to:A}=this.getProgress(),r=new i(t.getColor()),n=new i(A.getColor());if(r.ok&&n.ok){var s=r.r+(n.r-r.r)*e,o=r.g+(n.g-r.g)*e,a=r.b+(n.b-r.b)*e;return"rgb(".concat(Math.floor(s),", ").concat(Math.floor(o),", ").concat(Math.floor(a),")")}return this.getAttribute("from").getColor()}}class Ie extends Se{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:e,from:t,to:A}=this.getProgress(),r=d(t.getString()),n=d(A.getString()),s=r.map((t,A)=>t+(n[A]-t)*e).join(" ");return s}}class Ne extends Ae{constructor(e,t,A){super(e,t,A),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:r}=e,{children:n}=this;for(var s of n)switch(s.type){case"font-face":this.fontFace=s;var i=s.getStyle("font-family");i.hasValue()&&(r[i.getString()]=this);break;case"missing-glyph":this.missingGlyph=s;break;case"glyph":var o=s;o.arabicForm?(this.isRTL=!0,this.isArabic=!0,void 0===this.glyphs[o.unicode]&&(this.glyphs[o.unicode]=Object.create(null)),this.glyphs[o.unicode][o.arabicForm]=o):this.glyphs[o.unicode]=o}}render(){}}class ke extends Ae{constructor(e,t,A){super(e,t,A),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class He extends ue{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class Pe extends de{constructor(){super(...arguments),this.type="tref"}getText(){var e=this.getHrefAttribute().getDefinition();if(e){var t=e.children[0];if(t)return t.getText()}return""}}class Te extends de{constructor(e,t,A){super(e,t,A),this.type="a";var{childNodes:r}=t,n=r[0],s=r.length>0&&Array.from(r).every(e=>3===e.nodeType);this.hasText=s,this.text=s?this.getTextFromNode(n):""}getText(){return this.text}renderChildren(e){if(this.hasText){super.renderChildren(e);var{document:t,x:A,y:r}=this,{mouse:n}=t.screen,s=new T(t,"fontSize",oe.parse(t.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new ae(A,r-s.getPixels("y"),A+this.measureText(e),r))}else if(this.children.length>0){var i=new xe(this.document,null);i.children=this.children,i.parent=this,i.render(e)}}onClick(){var{window:e}=this.document;e&&e.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor="pointer"}}function Oe(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),A.push.apply(A,r)}return A}function Me(e){for(var t=1;t<arguments.length;t++){var A=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(A),!0).forEach(function(t){(0,n.default)(e,t,A[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(A)):Oe(Object(A)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(A,t))})}return e}class De extends de{constructor(e,t,A){super(e,t,A),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var r=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(r)}getText(){return this.text}path(e){var{dataArray:t}=this;e&&e.beginPath(),t.forEach(t=>{var{type:A,points:r}=t;switch(A){case le.LINE_TO:e&&e.lineTo(r[0],r[1]);break;case le.MOVE_TO:e&&e.moveTo(r[0],r[1]);break;case le.CURVE_TO:e&&e.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);break;case le.QUAD_TO:e&&e.quadraticCurveTo(r[0],r[1],r[2],r[3]);break;case le.ARC:var[n,s,i,o,a,l,c,u]=r,h=i>o?i:o,d=i>o?1:i/o,f=i>o?o/i:1;e&&(e.translate(n,s),e.rotate(c),e.scale(d,f),e.arc(0,0,h,a,a+l,Boolean(1-u)),e.scale(1/d,1/f),e.rotate(-c),e.translate(-n,-s));break;case le.CLOSE_PATH:e&&e.closePath()}})}renderChildren(e){this.setTextData(e),e.save();var t=this.parent.getStyle("text-decoration").getString(),A=this.getFontSize(),{glyphInfo:r}=this,n=e.fillStyle;"underline"===t&&e.beginPath(),r.forEach((r,n)=>{var{p0:s,p1:i,rotation:o,text:a}=r;e.save(),e.translate(s.x,s.y),e.rotate(o),e.fillStyle&&e.fillText(a,0,0),e.strokeStyle&&e.strokeText(a,0,0),e.restore(),"underline"===t&&(0===n&&e.moveTo(s.x,s.y+A/8),e.lineTo(i.x,i.y+A/5))}),"underline"===t&&(e.lineWidth=A/20,e.strokeStyle=n,e.stroke(),e.closePath()),e.restore()}getLetterSpacingAt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[e]||0}findSegmentToFitChar(e,t,A,r,n,s,i,o,a){var l=s,c=this.measureText(e,o);" "===o&&"justify"===t&&A<r&&(c+=(r-A)/n),a>-1&&(l+=this.getLetterSpacingAt(a));var u=this.textHeight/20,h=this.getEquidistantPointOnPath(l,u,0),d=this.getEquidistantPointOnPath(l+c,u,0),f={p0:h,p1:d},p=h&&d?Math.atan2(d.y-h.y,d.x-h.x):0;if(i){var g=Math.cos(Math.PI/2+p)*i,m=Math.cos(-p)*i;f.p0=Me(Me({},h),{},{x:h.x+g,y:h.y+m}),f.p1=Me(Me({},d),{},{x:d.x+g,y:d.y+m})}return{offset:l+=c,segment:f,rotation:p}}measureText(e,t){var{measuresCache:A}=this,r=t||this.getText();if(A.has(r))return A.get(r);var n=this.measureTargetText(e,r);return A.set(r,n),n}setTextData(e){if(!this.glyphInfo){var t=this.getText(),A=t.split(""),r=t.split(" ").length-1,n=this.parent.getAttribute("dx").split().map(e=>e.getPixels("x")),s=this.parent.getAttribute("dy").getPixels("y"),i=this.parent.getStyle("text-anchor").getString("start"),o=this.getStyle("letter-spacing"),a=this.parent.getStyle("letter-spacing"),l=0;o.hasValue()&&"inherit"!==o.getValue()?o.hasValue()&&"initial"!==o.getValue()&&"unset"!==o.getValue()&&(l=o.getPixels()):l=a.getPixels();var c=[],u=t.length;this.letterSpacingCache=c;for(var h=0;h<u;h++)c.push(void 0!==n[h]?n[h]:l);var d=c.reduce((e,t,A)=>0===A?0:e+t||0,0),f=this.measureText(e),p=Math.max(f+d,0);this.textWidth=f,this.textHeight=this.getFontSize(),this.glyphInfo=[];var g=this.getPathLength(),m=this.getStyle("startOffset").getNumber(0)*g,w=0;"middle"!==i&&"center"!==i||(w=-p/2),"end"!==i&&"right"!==i||(w=-p),w+=m,A.forEach((t,n)=>{var{offset:o,segment:a,rotation:l}=this.findSegmentToFitChar(e,i,p,g,r,w,s,t,n);w=o,a.p0&&a.p1&&this.glyphInfo.push({text:A[n],p0:a.p0,p1:a.p1,rotation:l})})}}parsePathData(e){if(this.pathLength=-1,!e)return[];var t=[],{pathParser:A}=e;for(A.reset();!A.isEnd();){var{current:r}=A,n=r?r.x:0,s=r?r.y:0,i=A.next(),o=i.type,a=[];switch(i.type){case le.MOVE_TO:this.pathM(A,a);break;case le.LINE_TO:o=this.pathL(A,a);break;case le.HORIZ_LINE_TO:o=this.pathH(A,a);break;case le.VERT_LINE_TO:o=this.pathV(A,a);break;case le.CURVE_TO:this.pathC(A,a);break;case le.SMOOTH_CURVE_TO:o=this.pathS(A,a);break;case le.QUAD_TO:this.pathQ(A,a);break;case le.SMOOTH_QUAD_TO:o=this.pathT(A,a);break;case le.ARC:a=this.pathA(A);break;case le.CLOSE_PATH:ue.pathZ(A)}i.type!==le.CLOSE_PATH?t.push({type:o,points:a,start:{x:n,y:s},pathLength:this.calcLength(n,s,o,a)}):t.push({type:le.CLOSE_PATH,points:[],pathLength:0})}return t}pathM(e,t){var{x:A,y:r}=ue.pathM(e).point;t.push(A,r)}pathL(e,t){var{x:A,y:r}=ue.pathL(e).point;return t.push(A,r),le.LINE_TO}pathH(e,t){var{x:A,y:r}=ue.pathH(e).point;return t.push(A,r),le.LINE_TO}pathV(e,t){var{x:A,y:r}=ue.pathV(e).point;return t.push(A,r),le.LINE_TO}pathC(e,t){var{point:A,controlPoint:r,currentPoint:n}=ue.pathC(e);t.push(A.x,A.y,r.x,r.y,n.x,n.y)}pathS(e,t){var{point:A,controlPoint:r,currentPoint:n}=ue.pathS(e);return t.push(A.x,A.y,r.x,r.y,n.x,n.y),le.CURVE_TO}pathQ(e,t){var{controlPoint:A,currentPoint:r}=ue.pathQ(e);t.push(A.x,A.y,r.x,r.y)}pathT(e,t){var{controlPoint:A,currentPoint:r}=ue.pathT(e);return t.push(A.x,A.y,r.x,r.y),le.QUAD_TO}pathA(e){var{rX:t,rY:A,sweepFlag:r,xAxisRotation:n,centp:s,a1:i,ad:o}=ue.pathA(e);return 0===r&&o>0&&(o-=2*Math.PI),1===r&&o<0&&(o+=2*Math.PI),[s.x,s.y,t,A,i,o,n,r]}calcLength(e,t,A,r){var n=0,s=null,i=null,o=0;switch(A){case le.LINE_TO:return this.getLineLength(e,t,r[0],r[1]);case le.CURVE_TO:for(n=0,s=this.getPointOnCubicBezier(0,e,t,r[0],r[1],r[2],r[3],r[4],r[5]),o=.01;o<=1;o+=.01)i=this.getPointOnCubicBezier(o,e,t,r[0],r[1],r[2],r[3],r[4],r[5]),n+=this.getLineLength(s.x,s.y,i.x,i.y),s=i;return n;case le.QUAD_TO:for(n=0,s=this.getPointOnQuadraticBezier(0,e,t,r[0],r[1],r[2],r[3]),o=.01;o<=1;o+=.01)i=this.getPointOnQuadraticBezier(o,e,t,r[0],r[1],r[2],r[3]),n+=this.getLineLength(s.x,s.y,i.x,i.y),s=i;return n;case le.ARC:n=0;var a=r[4],l=r[5],c=r[4]+l,u=Math.PI/180;if(Math.abs(a-c)<u&&(u=Math.abs(a-c)),s=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],a,0),l<0)for(o=a-u;o>c;o-=u)i=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],o,0),n+=this.getLineLength(s.x,s.y,i.x,i.y),s=i;else for(o=a+u;o<c;o+=u)i=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],o,0),n+=this.getLineLength(s.x,s.y,i.x,i.y),s=i;return i=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],c,0),n+this.getLineLength(s.x,s.y,i.x,i.y)}return 0}getPointOnLine(e,t,A,r,n){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:A,o=(n-A)/(r-t+F),a=Math.sqrt(e*e/(1+o*o));r<t&&(a*=-1);var l=o*a,c=null;if(r===t)c={x:s,y:i+l};else if((i-A)/(s-t+F)===o)c={x:s+a,y:i+l};else{var u,h,d=this.getLineLength(t,A,r,n);if(d<F)return null;var f=(s-t)*(r-t)+(i-A)*(n-A);u=t+(f/=d*d)*(r-t),h=A+f*(n-A);var p=this.getLineLength(s,i,u,h),g=Math.sqrt(e*e-p*p);a=Math.sqrt(g*g/(1+o*o)),r<t&&(a*=-1),c={x:u+a,y:h+(l=o*a)}}return c}getPointOnPath(e){var t=this.getPathLength(),A=0,r=null;if(e<-5e-5||e-5e-5>t)return null;var{dataArray:n}=this;for(var s of n){if(!s||!(s.pathLength<5e-5||A+s.pathLength+5e-5<e)){var i=e-A,o=0;switch(s.type){case le.LINE_TO:r=this.getPointOnLine(i,s.start.x,s.start.y,s.points[0],s.points[1],s.start.x,s.start.y);break;case le.ARC:var a=s.points[4],l=s.points[5],c=s.points[4]+l;if(o=a+i/s.pathLength*l,l<0&&o<c||l>=0&&o>c)break;r=this.getPointOnEllipticalArc(s.points[0],s.points[1],s.points[2],s.points[3],o,s.points[6]);break;case le.CURVE_TO:(o=i/s.pathLength)>1&&(o=1),r=this.getPointOnCubicBezier(o,s.start.x,s.start.y,s.points[0],s.points[1],s.points[2],s.points[3],s.points[4],s.points[5]);break;case le.QUAD_TO:(o=i/s.pathLength)>1&&(o=1),r=this.getPointOnQuadraticBezier(o,s.start.x,s.start.y,s.points[0],s.points[1],s.points[2],s.points[3])}if(r)return r;break}A+=s.pathLength}return null}getLineLength(e,t,A,r){return Math.sqrt((A-e)*(A-e)+(r-t)*(r-t))}getPathLength(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce((e,t)=>t.pathLength>0?e+t.pathLength:e,0)),this.pathLength}getPointOnCubicBezier(e,t,A,r,n,s,i,o,a){return{x:o*S(e)+s*L(e)+r*I(e)+t*N(e),y:a*S(e)+i*L(e)+n*I(e)+A*N(e)}}getPointOnQuadraticBezier(e,t,A,r,n,s,i){return{x:s*k(e)+r*H(e)+t*P(e),y:i*k(e)+n*H(e)+A*P(e)}}getPointOnEllipticalArc(e,t,A,r,n,s){var i=Math.cos(s),o=Math.sin(s),a=A*Math.cos(n),l=r*Math.sin(n);return{x:e+(a*i-l*o),y:t+(a*o+l*i)}}buildEquidistantCache(e,t){var A=this.getPathLength(),r=t||.25,n=e||A/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==r){this.equidistantCache={step:n,precision:r,points:[]};for(var s=0,i=0;i<=A;i+=r){var o=this.getPointOnPath(i),a=this.getPointOnPath(i+r);o&&a&&(s+=this.getLineLength(o.x,o.y,a.x,a.y))>=n&&(this.equidistantCache.points.push({x:o.x,y:o.y,distance:i}),s-=n)}}}getEquidistantPointOnPath(e,t,A){if(this.buildEquidistantCache(t,A),e<0||e-this.getPathLength()>5e-5)return null;var r=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[r]||null}}var Re=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class Ke extends ce{constructor(e,t,A){super(e,t,A),this.type="image",this.loaded=!1;var r=this.getHrefAttribute().getString();if(r){var n=r.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(r);e.images.push(this),n?this.loadSvg(r):this.loadImage(r),this.isSvg=n}}loadImage(e){var t=this;return(0,r.default)(function*(){try{var A=yield t.document.createImage(e);t.image=A}catch(t){console.error('Error while loading image "'.concat(e,'":'),t)}t.loaded=!0})()}loadSvg(e){var t=this;return(0,r.default)(function*(){var A=Re.exec(e);if(A){var r=A[5];"base64"===A[4]?t.image=atob(r):t.image=decodeURIComponent(r)}else try{var n=yield t.document.fetch(e),s=yield n.text();t.image=s}catch(t){console.error('Error while loading image "'.concat(e,'":'),t)}t.loaded=!0})()}renderChildren(e){var{document:t,image:A,loaded:r}=this,n=this.getAttribute("x").getPixels("x"),s=this.getAttribute("y").getPixels("y"),i=this.getStyle("width").getPixels("x"),o=this.getStyle("height").getPixels("y");if(r&&A&&i&&o){if(e.save(),e.translate(n,s),this.isSvg){var a=t.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:i,scaleHeight:o});a.document.documentElement.parent=this,a.render()}else{var l=this.image;t.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i,desiredWidth:l.width,height:o,desiredHeight:l.height}),this.loaded&&(void 0===l.complete||l.complete)&&e.drawImage(l,0,0)}e.restore()}}getBoundingBox(){var e=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y"),A=this.getStyle("width").getPixels("x"),r=this.getStyle("height").getPixels("y");return new ae(e,t,e+A,t+r)}}class Ve extends ce{constructor(){super(...arguments),this.type="symbol"}render(e){}}class Ge{constructor(e){this.document=e,this.loaded=!1,e.fonts.push(this)}load(e,t){var A=this;return(0,r.default)(function*(){try{var{document:r}=A,n=(yield r.canvg.parser.load(t)).getElementsByTagName("font");Array.from(n).forEach(t=>{var A=r.createElement(t);r.definitions[e]=A})}catch(e){console.error('Error while loading font "'.concat(t,'":'),e)}A.loaded=!0})()}}class ze extends Ae{constructor(e,t,A){super(e,t,A),this.type="style",c(Array.from(t.childNodes).map(e=>e.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(t=>{var A=t.trim();if(A){var r=A.split("{"),n=r[0].split(","),s=r[1].split(";");n.forEach(t=>{var A=t.trim();if(A){var r=e.styles[A]||{};if(s.forEach(t=>{var A=t.indexOf(":"),n=t.substr(0,A).trim(),s=t.substr(A+1,t.length-A).trim();n&&s&&(r[n]=new T(e,n,s))}),e.styles[A]=r,e.stylesSpecificity[A]=x(A),"@font-face"===A){var n=r["font-family"].getString().replace(/"|'/g,"");r.src.getString().split(",").forEach(t=>{if(t.indexOf('format("svg")')>0){var A=g(t);A&&new Ge(e).load(n,A)}})}}})}})}}ze.parseExternalUrl=g;class qe extends ce{constructor(){super(...arguments),this.type="use"}setContext(e){super.setContext(e);var t=this.getAttribute("x"),A=this.getAttribute("y");t.hasValue()&&e.translate(t.getPixels("x"),0),A.hasValue()&&e.translate(0,A.getPixels("y"))}path(e){var{element:t}=this;t&&t.path(e)}renderChildren(e){var{document:t,element:A}=this;if(A){var r=A;if("symbol"===A.type&&((r=new ge(t,null)).attributes.viewBox=new T(t,"viewBox",A.getAttribute("viewBox").getString()),r.attributes.preserveAspectRatio=new T(t,"preserveAspectRatio",A.getAttribute("preserveAspectRatio").getString()),r.attributes.overflow=new T(t,"overflow",A.getAttribute("overflow").getString()),r.children=A.children,A.styles.opacity=new T(t,"opacity",this.calculateOpacity())),"svg"===r.type){var n=this.getStyle("width",!1,!0),s=this.getStyle("height",!1,!0);n.hasValue()&&(r.attributes.width=new T(t,"width",n.getString())),s.hasValue()&&(r.attributes.height=new T(t,"height",s.getString()))}var i=r.parent;r.parent=this,r.render(e),r.parent=i}}getBoundingBox(e){var{element:t}=this;return t?t.getBoundingBox(e):null}elementTransform(){var{document:e,element:t}=this;return te.fromElement(e,t)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function We(e,t,A,r,n,s){return e[A*r*4+4*t+s]}function Xe(e,t,A,r,n,s,i){e[A*r*4+4*t+s]=i}function Ye(e,t,A){return e[t]*A}function Je(e,t,A,r){return t+Math.cos(e)*A+Math.sin(e)*r}class Ze extends Ae{constructor(e,t,A){super(e,t,A),this.type="feColorMatrix";var r=d(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var n=r[0];r=[.213+.787*n,.715-.715*n,.072-.072*n,0,0,.213-.213*n,.715+.285*n,.072-.072*n,0,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var s=r[0]*Math.PI/180;r=[Je(s,.213,.787,-.213),Je(s,.715,-.715,-.715),Je(s,.072,-.072,.928),0,0,Je(s,.213,-.213,.143),Je(s,.715,.285,.14),Je(s,.072,-.072,-.283),0,0,Je(s,.213,-.213,-.787),Je(s,.715,-.715,.715),Je(s,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}this.matrix=r,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(e,t,A,r,n){for(var{includeOpacity:s,matrix:i}=this,o=e.getImageData(0,0,r,n),a=0;a<n;a++)for(var l=0;l<r;l++){var c=We(o.data,l,a,r,0,0),u=We(o.data,l,a,r,0,1),h=We(o.data,l,a,r,0,2),d=We(o.data,l,a,r,0,3),f=Ye(i,0,c)+Ye(i,1,u)+Ye(i,2,h)+Ye(i,3,d)+Ye(i,4,1),p=Ye(i,5,c)+Ye(i,6,u)+Ye(i,7,h)+Ye(i,8,d)+Ye(i,9,1),g=Ye(i,10,c)+Ye(i,11,u)+Ye(i,12,h)+Ye(i,13,d)+Ye(i,14,1),m=Ye(i,15,c)+Ye(i,16,u)+Ye(i,17,h)+Ye(i,18,d)+Ye(i,19,1);s&&(f=0,p=0,g=0,m*=d/255),Xe(o.data,l,a,r,0,0,f),Xe(o.data,l,a,r,0,1,p),Xe(o.data,l,a,r,0,2,g),Xe(o.data,l,a,r,0,3,m)}e.clearRect(0,0,r,n),e.putImageData(o,0,0)}}class $e extends Ae{constructor(){super(...arguments),this.type="mask"}apply(e,t){var{document:A}=this,r=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y");if(!s&&!i){var o=new ae;this.children.forEach(t=>{o.addBoundingBox(t.getBoundingBox(e))}),r=Math.floor(o.x1),n=Math.floor(o.y1),s=Math.floor(o.width),i=Math.floor(o.height)}var a=this.removeStyles(t,$e.ignoreStyles),l=A.createCanvas(r+s,n+i),c=l.getContext("2d");A.screen.setDefaults(c),this.renderChildren(c),new Ze(A,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(c,0,0,r+s,n+i);var u=A.createCanvas(r+s,n+i),h=u.getContext("2d");A.screen.setDefaults(h),t.render(h),h.globalCompositeOperation="destination-in",h.fillStyle=c.createPattern(l,"no-repeat"),h.fillRect(0,0,r+s,n+i),e.fillStyle=h.createPattern(u,"no-repeat"),e.fillRect(0,0,r+s,n+i),this.restoreStyles(t,a)}render(e){}}$e.ignoreStyles=["mask","transform","clip-path"];var et=()=>{};class tt extends Ae{constructor(){super(...arguments),this.type="clipPath"}apply(e){var{document:t}=this,A=Reflect.getPrototypeOf(e),{beginPath:r,closePath:n}=e;A&&(A.beginPath=et,A.closePath=et),Reflect.apply(r,e,[]),this.children.forEach(r=>{if(void 0!==r.path){var s=void 0!==r.elementTransform?r.elementTransform():null;s||(s=te.fromElement(t,r)),s&&s.apply(e),r.path(e),A&&(A.closePath=n),s&&s.unapply(e)}}),Reflect.apply(n,e,[]),e.clip(),A&&(A.beginPath=r,A.closePath=n)}render(e){}}class At extends Ae{constructor(){super(...arguments),this.type="filter"}apply(e,t){var{document:A,children:r}=this,n=t.getBoundingBox(e);if(n){var s=0,i=0;r.forEach(e=>{var t=e.extraFilterDistance||0;s=Math.max(s,t),i=Math.max(i,t)});var o=Math.floor(n.width),a=Math.floor(n.height),l=o+2*s,c=a+2*i;if(!(l<1||c<1)){var u=Math.floor(n.x),h=Math.floor(n.y),d=this.removeStyles(t,At.ignoreStyles),f=A.createCanvas(l,c),p=f.getContext("2d");A.screen.setDefaults(p),p.translate(-u+s,-h+i),t.render(p),r.forEach(e=>{"function"==typeof e.apply&&e.apply(p,0,0,l,c)}),e.drawImage(f,0,0,l,c,u-s,h-i,l,c),this.restoreStyles(t,d)}}}render(e){}}At.ignoreStyles=["filter","transform","clip-path"];class rt extends Ae{constructor(e,t,A){super(e,t,A),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(e,t,A,r,n){}}class nt extends Ae{constructor(){super(...arguments),this.type="feMorphology"}apply(e,t,A,r,n){}}class st extends Ae{constructor(){super(...arguments),this.type="feComposite"}apply(e,t,A,r,n){}}class it extends Ae{constructor(e,t,A){super(e,t,A),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(e,t,A,r,n){var{document:s,blurRadius:i}=this,o=s.window?s.window.document.body:null,l=e.canvas;l.id=s.getUniqueId(),o&&(l.style.display="none",o.appendChild(l)),(0,a.canvasRGBA)(l,t,A,r,n,i),o&&o.removeChild(l)}}class ot extends Ae{constructor(){super(...arguments),this.type="title"}}class at extends Ae{constructor(){super(...arguments),this.type="desc"}}var lt={svg:ge,rect:me,circle:we,ellipse:Be,line:ye,polyline:ve,polygon:be,path:ue,pattern:Ce,marker:_e,defs:je,linearGradient:Qe,radialGradient:Ue,stop:Ee,animate:Se,animateColor:Le,animateTransform:Ie,font:Ne,"font-face":ke,"missing-glyph":He,glyph:he,text:de,tspan:fe,tref:Pe,a:Te,textPath:De,image:Ke,g:xe,symbol:Ve,style:ze,use:qe,mask:$e,clipPath:tt,filter:At,feDropShadow:rt,feMorphology:nt,feComposite:st,feColorMatrix:Ze,feGaussianBlur:it,title:ot,desc:at};function ct(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),A.push.apply(A,r)}return A}function ut(){return ut=(0,r.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],A=document.createElement("img");return t&&(A.crossOrigin="Anonymous"),new Promise((t,r)=>{A.onload=()=>{t(A)},A.onerror=(e,t,A,n,s)=>{r(s)},A.src=e})}),ut.apply(this,arguments)}class ht{constructor(e){var{rootEmSize:t=12,emSize:A=12,createCanvas:r=ht.createCanvas,createImage:n=ht.createImage,anonymousCrossOrigin:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canvg=e,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=e.screen,this.rootEmSize=t,this.emSize=A,this.createCanvas=r,this.createImage=this.bindCreateImage(n,s),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(e,t){return"boolean"==typeof t?(A,r)=>e(A,"boolean"==typeof r?r:t):e}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:e}=this;return e[e.length-1]}set emSize(e){var{emSizeStack:t}=this;t.push(e)}popEmSize(){var{emSizeStack:e}=this;e.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(e=>e.loaded)}isFontsLoaded(){return this.fonts.every(e=>e.loaded)}createDocumentElement(e){var t=this.createElement(e.documentElement);return t.root=!0,t.addStylesFromStyleDefinition(),this.documentElement=t,t}createElement(e){var t=e.nodeName.replace(/^[^:]+:/,""),A=ht.elementTypes[t];return void 0!==A?new A(this,e):new re(this,e)}createTextNode(e){return new pe(this,e)}setViewBox(e){this.screen.setViewBox(function(e){for(var t=1;t<arguments.length;t++){var A=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(A),!0).forEach(function(t){(0,n.default)(e,t,A[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(A)):ct(Object(A)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(A,t))})}return e}({document:this},e))}}function dt(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),A.push.apply(A,r)}return A}function ft(e){for(var t=1;t<arguments.length;t++){var A=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(A),!0).forEach(function(t){(0,n.default)(e,t,A[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(A)):dt(Object(A)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(A,t))})}return e}ht.createCanvas=function(e,t){var A=document.createElement("canvas");return A.width=e,A.height=t,A},ht.createImage=function(e){return ut.apply(this,arguments)},ht.elementTypes=lt;class pt{constructor(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new q(A),this.screen=new V(e,A),this.options=A;var r=new ht(this,A),n=r.createDocumentElement(t);this.document=r,this.documentElement=n}static from(e,t){var A=arguments;return(0,r.default)(function*(){var r=A.length>2&&void 0!==A[2]?A[2]:{},n=new q(r),s=yield n.parse(t);return new pt(e,s,r)})()}static fromString(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=new q(A).parseFromString(t);return new pt(e,r,A)}fork(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return pt.from(e,t,ft(ft({},this.options),A))}forkString(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return pt.fromString(e,t,ft(ft({},this.options),A))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var e=arguments,t=this;return(0,r.default)(function*(){var A=e.length>0&&void 0!==e[0]?e[0]:{};t.start(ft({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},A)),yield t.ready(),t.stop()})()}start(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:t,screen:A,options:r}=this;A.start(t,ft(ft({enableRedraw:!0},r),e))}stop(){this.screen.stop()}resize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,A=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(e,t,A)}}},"./node_modules/core-js/internals/a-callable.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-callable.js"),n=A("./node_modules/core-js/internals/try-to-string.js"),s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(n(e)+" is not a function")}},"./node_modules/core-js/internals/a-constructor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-constructor.js"),n=A("./node_modules/core-js/internals/try-to-string.js"),s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(n(e)+" is not a constructor")}},"./node_modules/core-js/internals/a-possible-prototype.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-possible-prototype.js"),n=String,s=TypeError;e.exports=function(e){if(r(e))return e;throw new s("Can't set "+n(e)+" as a prototype")}},"./node_modules/core-js/internals/a-set.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/set-helpers.js").has;e.exports=function(e){return r(e),e}},"./node_modules/core-js/internals/add-to-unscopables.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/well-known-symbol.js"),n=A("./node_modules/core-js/internals/object-create.js"),s=A("./node_modules/core-js/internals/object-define-property.js").f,i=r("unscopables"),o=Array.prototype;void 0===o[i]&&s(o,i,{configurable:!0,value:n(null)}),e.exports=function(e){o[i][e]=!0}},"./node_modules/core-js/internals/advance-string-index.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/string-multibyte.js").charAt;e.exports=function(e,t,A){return t+(A?r(e,t).length:1)}},"./node_modules/core-js/internals/an-instance.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/object-is-prototype-of.js"),n=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new n("Incorrect invocation")}},"./node_modules/core-js/internals/an-object.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-object.js"),n=String,s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(n(e)+" is not an object")}},"./node_modules/core-js/internals/array-buffer-non-extensible.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js");e.exports=r(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})},"./node_modules/core-js/internals/array-for-each.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/array-iteration.js").forEach,n=A("./node_modules/core-js/internals/array-method-is-strict.js")("forEach");e.exports=n?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-from.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-bind-context.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/to-object.js"),i=A("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),o=A("./node_modules/core-js/internals/is-array-iterator-method.js"),a=A("./node_modules/core-js/internals/is-constructor.js"),l=A("./node_modules/core-js/internals/length-of-array-like.js"),c=A("./node_modules/core-js/internals/create-property.js"),u=A("./node_modules/core-js/internals/get-iterator.js"),h=A("./node_modules/core-js/internals/get-iterator-method.js"),d=Array;e.exports=function(e){var t=s(e),A=a(this),f=arguments.length,p=f>1?arguments[1]:void 0,g=void 0!==p;g&&(p=r(p,f>2?arguments[2]:void 0));var m,w,B,y,v,b,C=h(t),_=0;if(!C||this===d&&o(C))for(m=l(t),w=A?new this(m):d(m);m>_;_++)b=g?p(t[_],_):t[_],c(w,_,b);else for(w=A?new this:[],v=(y=u(t,C)).next;!(B=n(v,y)).done;_++)b=g?i(y,p,[B.value,_],!0):B.value,c(w,_,b);return w.length=_,w}},"./node_modules/core-js/internals/array-includes.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/to-indexed-object.js"),n=A("./node_modules/core-js/internals/to-absolute-index.js"),s=A("./node_modules/core-js/internals/length-of-array-like.js"),i=function(e){return function(t,A,i){var o=r(t),a=s(o);if(0===a)return!e&&-1;var l,c=n(i,a);if(e&&A!=A){for(;a>c;)if((l=o[c++])!=l)return!0}else for(;a>c;c++)if((e||c in o)&&o[c]===A)return e||c||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-bind-context.js"),n=A("./node_modules/core-js/internals/function-uncurry-this.js"),s=A("./node_modules/core-js/internals/indexed-object.js"),i=A("./node_modules/core-js/internals/to-object.js"),o=A("./node_modules/core-js/internals/length-of-array-like.js"),a=A("./node_modules/core-js/internals/array-species-create.js"),l=n([].push),c=function(e){var t=1===e,A=2===e,n=3===e,c=4===e,u=6===e,h=7===e,d=5===e||u;return function(f,p,g,m){for(var w,B,y=i(f),v=s(y),b=o(v),C=r(p,g),_=0,j=m||a,x=t?j(f,b):A||h?j(f,0):void 0;b>_;_++)if((d||_ in v)&&(B=C(w=v[_],_,y),e))if(t)x[_]=B;else if(B)switch(e){case 3:return!0;case 5:return w;case 6:return _;case 2:l(x,w)}else switch(e){case 4:return!1;case 7:l(x,w)}return u?-1:n||c?c:x}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js"),n=A("./node_modules/core-js/internals/well-known-symbol.js"),s=A("./node_modules/core-js/internals/environment-v8-version.js"),i=n("species");e.exports=function(e){return s>=51||!r(function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js");e.exports=function(e,t){var A=[][e];return!!A&&r(function(){A.call(null,t||function(){return 1},1)})}},"./node_modules/core-js/internals/array-reduce.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/a-callable.js"),n=A("./node_modules/core-js/internals/to-object.js"),s=A("./node_modules/core-js/internals/indexed-object.js"),i=A("./node_modules/core-js/internals/length-of-array-like.js"),o=TypeError,a="Reduce of empty array with no initial value",l=function(e){return function(t,A,l,c){var u=n(t),h=s(u),d=i(u);if(r(A),0===d&&l<2)throw new o(a);var f=e?d-1:0,p=e?-1:1;if(l<2)for(;;){if(f in h){c=h[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw new o(a)}for(;e?f>=0:d>f;f+=p)f in h&&(c=A(c,h[f],f,u));return c}};e.exports={left:l(!1),right:l(!0)}},"./node_modules/core-js/internals/array-slice.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js");e.exports=r([].slice)},"./node_modules/core-js/internals/array-species-constructor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-array.js"),n=A("./node_modules/core-js/internals/is-constructor.js"),s=A("./node_modules/core-js/internals/is-object.js"),i=A("./node_modules/core-js/internals/well-known-symbol.js")("species"),o=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(n(t)&&(t===o||r(t.prototype))||s(t)&&null===(t=t[i]))&&(t=void 0)),void 0===t?o:t}},"./node_modules/core-js/internals/array-species-create.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(e,t){return new(r(e))(0===t?0:t)}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/an-object.js"),n=A("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e,t,A,s){try{return s?t(r(A)[0],A[1]):t(A)}catch(t){n(e,"throw",t)}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),n=!1;try{var s=0,i={next:function(){return{done:!!s++}},return:function(){n=!0}};i[r]=function(){return this},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!n)return!1}catch(e){return!1}var A=!1;try{var s={};s[r]=function(){return{next:function(){return{done:A=!0}}}},e(s)}catch(e){}return A}},"./node_modules/core-js/internals/classof-raw.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=r({}.toString),s=r("".slice);e.exports=function(e){return s(n(e),8,-1)}},"./node_modules/core-js/internals/classof.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/to-string-tag-support.js"),n=A("./node_modules/core-js/internals/is-callable.js"),s=A("./node_modules/core-js/internals/classof-raw.js"),i=A("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),o=Object,a="Arguments"===s(function(){return arguments}());e.exports=r?s:function(e){var t,A,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(A=function(e,t){try{return e[t]}catch(e){}}(t=o(e),i))?A:a?s(t):"Object"===(r=s(t))&&n(t.callee)?"Arguments":r}},"./node_modules/core-js/internals/collection-strong.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/object-create.js"),n=A("./node_modules/core-js/internals/define-built-in-accessor.js"),s=A("./node_modules/core-js/internals/define-built-ins.js"),i=A("./node_modules/core-js/internals/function-bind-context.js"),o=A("./node_modules/core-js/internals/an-instance.js"),a=A("./node_modules/core-js/internals/is-null-or-undefined.js"),l=A("./node_modules/core-js/internals/iterate.js"),c=A("./node_modules/core-js/internals/iterator-define.js"),u=A("./node_modules/core-js/internals/create-iter-result-object.js"),h=A("./node_modules/core-js/internals/set-species.js"),d=A("./node_modules/core-js/internals/descriptors.js"),f=A("./node_modules/core-js/internals/internal-metadata.js").fastKey,p=A("./node_modules/core-js/internals/internal-state.js"),g=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,A,c){var u=e(function(e,n){o(e,h),g(e,{type:t,index:r(null),first:null,last:null,size:0}),d||(e.size=0),a(n)||l(n,e[c],{that:e,AS_ENTRIES:A})}),h=u.prototype,p=m(t),w=function(e,t,A){var r,n,s=p(e),i=B(e,t);return i?i.value=A:(s.last=i={index:n=f(t,!0),key:t,value:A,previous:r=s.last,next:null,removed:!1},s.first||(s.first=i),r&&(r.next=i),d?s.size++:e.size++,"F"!==n&&(s.index[n]=i)),e},B=function(e,t){var A,r=p(e),n=f(t);if("F"!==n)return r.index[n];for(A=r.first;A;A=A.next)if(A.key===t)return A};return s(h,{clear:function(){for(var e=p(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=null),t=t.next;e.first=e.last=null,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var t=this,A=p(t),r=B(t,e);if(r){var n=r.next,s=r.previous;delete A.index[r.index],r.removed=!0,s&&(s.next=n),n&&(n.previous=s),A.first===r&&(A.first=n),A.last===r&&(A.last=s),d?A.size--:t.size--}return!!r},forEach:function(e){for(var t,A=p(this),r=i(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:A.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!B(this,e)}}),s(h,A?{get:function(e){var t=B(this,e);return t&&t.value},set:function(e,t){return w(this,0===e?0:e,t)}}:{add:function(e){return w(this,e=0===e?0:e,e)}}),d&&n(h,"size",{configurable:!0,get:function(){return p(this).size}}),u},setStrong:function(e,t,A){var r=t+" Iterator",n=m(t),s=m(r);c(e,t,function(e,t){g(this,{type:r,target:e,state:n(e),kind:t,last:null})},function(){for(var e=s(this),t=e.kind,A=e.last;A&&A.removed;)A=A.previous;return e.target&&(e.last=A=A?A.next:e.state.first)?u("keys"===t?A.key:"values"===t?A.value:[A.key,A.value],!1):(e.target=null,u(void 0,!0))},A?"entries":"values",!A,!0),h(t)}}},"./node_modules/core-js/internals/collection.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/global-this.js"),s=A("./node_modules/core-js/internals/function-uncurry-this.js"),i=A("./node_modules/core-js/internals/is-forced.js"),o=A("./node_modules/core-js/internals/define-built-in.js"),a=A("./node_modules/core-js/internals/internal-metadata.js"),l=A("./node_modules/core-js/internals/iterate.js"),c=A("./node_modules/core-js/internals/an-instance.js"),u=A("./node_modules/core-js/internals/is-callable.js"),h=A("./node_modules/core-js/internals/is-null-or-undefined.js"),d=A("./node_modules/core-js/internals/is-object.js"),f=A("./node_modules/core-js/internals/fails.js"),p=A("./node_modules/core-js/internals/check-correctness-of-iteration.js"),g=A("./node_modules/core-js/internals/set-to-string-tag.js"),m=A("./node_modules/core-js/internals/inherit-if-required.js");e.exports=function(e,t,A){var w=-1!==e.indexOf("Map"),B=-1!==e.indexOf("Weak"),y=w?"set":"add",v=n[e],b=v&&v.prototype,C=v,_={},j=function(e){var t=s(b[e]);o(b,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(B&&!d(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return B&&!d(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(B&&!d(e))&&t(this,0===e?0:e)}:function(e,A){return t(this,0===e?0:e,A),this})};if(i(e,!u(v)||!(B||b.forEach&&!f(function(){(new v).entries().next()}))))C=A.getConstructor(t,e,w,y),a.enable();else if(i(e,!0)){var x=new C,F=x[y](B?{}:-0,1)!==x,Q=f(function(){x.has(1)}),U=p(function(e){new v(e)}),E=!B&&f(function(){for(var e=new v,t=5;t--;)e[y](t,t);return!e.has(-0)});U||((C=t(function(e,t){c(e,b);var A=m(new v,e,C);return h(t)||l(t,A[y],{that:A,AS_ENTRIES:w}),A})).prototype=b,b.constructor=C),(Q||E)&&(j("delete"),j("has"),w&&j("get")),(E||F)&&j(y),B&&b.clear&&delete b.clear}return _[e]=C,r({global:!0,constructor:!0,forced:C!==v},_),g(C,e),B||A.setStrong(C,e,w),C}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/has-own-property.js"),n=A("./node_modules/core-js/internals/own-keys.js"),s=A("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),i=A("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t,A){for(var o=n(t),a=i.f,l=s.f,c=0;c<o.length;c++){var u=o[c];r(e,u)||A&&r(A,u)||a(e,u,l(t,u))}}},"./node_modules/core-js/internals/correct-is-regexp-logic.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/well-known-symbol.js")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(A){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},"./node_modules/core-js/internals/create-html.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/require-object-coercible.js"),s=A("./node_modules/core-js/internals/to-string.js"),i=/"/g,o=r("".replace);e.exports=function(e,t,A,r){var a=s(n(e)),l="<"+t;return""!==A&&(l+=" "+A+'="'+o(s(r),i,""")+'"'),l+">"+a+"</"+t+">"}},"./node_modules/core-js/internals/create-iter-result-object.js":function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/descriptors.js"),n=A("./node_modules/core-js/internals/object-define-property.js"),s=A("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=r?function(e,t,A){return n.f(e,t,s(1,A))}:function(e,t,A){return e[t]=A,e}},"./node_modules/core-js/internals/create-property-descriptor.js":function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"./node_modules/core-js/internals/create-property.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/descriptors.js"),n=A("./node_modules/core-js/internals/object-define-property.js"),s=A("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(e,t,A){r?n.f(e,t,s(0,A)):e[t]=A}},"./node_modules/core-js/internals/define-built-in-accessor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/make-built-in.js"),n=A("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t,A){return A.get&&r(A.get,t,{getter:!0}),A.set&&r(A.set,t,{setter:!0}),n.f(e,t,A)}},"./node_modules/core-js/internals/define-built-in.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-callable.js"),n=A("./node_modules/core-js/internals/object-define-property.js"),s=A("./node_modules/core-js/internals/make-built-in.js"),i=A("./node_modules/core-js/internals/define-global-property.js");e.exports=function(e,t,A,o){o||(o={});var a=o.enumerable,l=void 0!==o.name?o.name:t;if(r(A)&&s(A,l,o),o.global)a?e[t]=A:i(t,A);else{try{o.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=A:n.f(e,t,{value:A,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},"./node_modules/core-js/internals/define-built-ins.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/define-built-in.js");e.exports=function(e,t,A){for(var n in t)r(e,n,t[n],A);return e}},"./node_modules/core-js/internals/define-global-property.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=Object.defineProperty;e.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch(A){r[e]=t}return t}},"./node_modules/core-js/internals/descriptors.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},"./node_modules/core-js/internals/document-create-element.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=A("./node_modules/core-js/internals/is-object.js"),s=r.document,i=n(s)&&n(s.createElement);e.exports=function(e){return i?s.createElement(e):{}}},"./node_modules/core-js/internals/does-not-exceed-safe-integer.js":function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},"./node_modules/core-js/internals/dom-iterables.js":function(e){"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/dom-token-list-prototype.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/document-create-element.js")("span").classList,n=r&&r.constructor&&r.constructor.prototype;e.exports=n===Object.prototype?void 0:n},"./node_modules/core-js/internals/enum-bug-keys.js":function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/environment-is-ios-pebble.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/environment-user-agent.js");e.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},"./node_modules/core-js/internals/environment-is-ios.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/environment-user-agent.js");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"./node_modules/core-js/internals/environment-is-node.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/environment.js");e.exports="NODE"===r},"./node_modules/core-js/internals/environment-is-webos-webkit.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/environment-user-agent.js");e.exports=/web0s(?!.*chrome)/i.test(r)},"./node_modules/core-js/internals/environment-user-agent.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js").navigator,n=r&&r.userAgent;e.exports=n?String(n):""},"./node_modules/core-js/internals/environment-v8-version.js":function(e,t,A){"use strict";var r,n,s=A("./node_modules/core-js/internals/global-this.js"),i=A("./node_modules/core-js/internals/environment-user-agent.js"),o=s.process,a=s.Deno,l=o&&o.versions||a&&a.version,c=l&&l.v8;c&&(n=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(n=+r[1]),e.exports=n},"./node_modules/core-js/internals/environment.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=A("./node_modules/core-js/internals/environment-user-agent.js"),s=A("./node_modules/core-js/internals/classof-raw.js"),i=function(e){return n.slice(0,e.length)===e};e.exports=i("Bun/")?"BUN":i("Cloudflare-Workers")?"CLOUDFLARE":i("Deno/")?"DENO":i("Node.js/")?"NODE":r.Bun&&"string"==typeof Bun.version?"BUN":r.Deno&&"object"==typeof Deno.version?"DENO":"process"===s(r.process)?"NODE":r.window&&r.document?"BROWSER":"REST"},"./node_modules/core-js/internals/export.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=A("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,s=A("./node_modules/core-js/internals/create-non-enumerable-property.js"),i=A("./node_modules/core-js/internals/define-built-in.js"),o=A("./node_modules/core-js/internals/define-global-property.js"),a=A("./node_modules/core-js/internals/copy-constructor-properties.js"),l=A("./node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var A,c,u,h,d,f=e.target,p=e.global,g=e.stat;if(A=p?r:g?r[f]||o(f,{}):r[f]&&r[f].prototype)for(c in t){if(h=t[c],u=e.dontCallGetSet?(d=n(A,c))&&d.value:A[c],!l(p?c:f+(g?".":"#")+c,e.forced)&&void 0!==u){if(typeof h==typeof u)continue;a(h,u)}(e.sham||u&&u.sham)&&s(h,"sham",!0),i(A,c,h,e)}}},"./node_modules/core-js/internals/fails.js":function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js":function(e,t,A){"use strict";A("./node_modules/core-js/modules/es.regexp.exec.js");var r=A("./node_modules/core-js/internals/function-call.js"),n=A("./node_modules/core-js/internals/define-built-in.js"),s=A("./node_modules/core-js/internals/regexp-exec.js"),i=A("./node_modules/core-js/internals/fails.js"),o=A("./node_modules/core-js/internals/well-known-symbol.js"),a=A("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=o("species"),c=RegExp.prototype;e.exports=function(e,t,A,u){var h=o(e),d=!i(function(){var t={};return t[h]=function(){return 7},7!==""[e](t)}),f=d&&!i(function(){var t=!1,A=/a/;if("split"===e){var r={};r[l]=function(){return A},(A={constructor:r,flags:""})[h]=/./[h]}return A.exec=function(){return t=!0,null},A[h](""),!t});if(!d||!f||A){var p=/./[h],g=t(h,""[e],function(e,t,A,n,i){var o=t.exec;return o===s||o===c.exec?d&&!i?{done:!0,value:r(p,t,A,n)}:{done:!0,value:r(e,A,t,n)}:{done:!1}});n(String.prototype,e,g[0]),n(c,h,g[1])}u&&a(c[h],"sham",!0)}},"./node_modules/core-js/internals/freezing.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},"./node_modules/core-js/internals/function-apply.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-bind-native.js"),n=Function.prototype,s=n.apply,i=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?i.bind(s):function(){return i.apply(s,arguments)})},"./node_modules/core-js/internals/function-bind-context.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this-clause.js"),n=A("./node_modules/core-js/internals/a-callable.js"),s=A("./node_modules/core-js/internals/function-bind-native.js"),i=r(r.bind);e.exports=function(e,t){return n(e),void 0===t?e:s?i(e,t):function(){return e.apply(t,arguments)}}},"./node_modules/core-js/internals/function-bind-native.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},"./node_modules/core-js/internals/function-call.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-bind-native.js"),n=Function.prototype.call;e.exports=r?n.bind(n):function(){return n.apply(n,arguments)}},"./node_modules/core-js/internals/function-name.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/descriptors.js"),n=A("./node_modules/core-js/internals/has-own-property.js"),s=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=n(s,"name"),a=o&&"something"===function(){}.name,l=o&&(!r||r&&i(s,"name").configurable);e.exports={EXISTS:o,PROPER:a,CONFIGURABLE:l}},"./node_modules/core-js/internals/function-uncurry-this-accessor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/a-callable.js");e.exports=function(e,t,A){try{return r(n(Object.getOwnPropertyDescriptor(e,t)[A]))}catch(e){}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/classof-raw.js"),n=A("./node_modules/core-js/internals/function-uncurry-this.js");e.exports=function(e){if("Function"===r(e))return n(e)}},"./node_modules/core-js/internals/function-uncurry-this.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-bind-native.js"),n=Function.prototype,s=n.call,i=r&&n.bind.bind(s,s);e.exports=r?i:function(e){return function(){return s.apply(e,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=A("./node_modules/core-js/internals/is-callable.js");e.exports=function(e,t){return arguments.length<2?(A=r[e],n(A)?A:void 0):r[e]&&r[e][t];var A}},"./node_modules/core-js/internals/get-iterator-direct.js":function(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},"./node_modules/core-js/internals/get-iterator-method.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/classof.js"),n=A("./node_modules/core-js/internals/get-method.js"),s=A("./node_modules/core-js/internals/is-null-or-undefined.js"),i=A("./node_modules/core-js/internals/iterators.js"),o=A("./node_modules/core-js/internals/well-known-symbol.js")("iterator");e.exports=function(e){if(!s(e))return n(e,o)||n(e,"@@iterator")||i[r(e)]}},"./node_modules/core-js/internals/get-iterator.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-call.js"),n=A("./node_modules/core-js/internals/a-callable.js"),s=A("./node_modules/core-js/internals/an-object.js"),i=A("./node_modules/core-js/internals/try-to-string.js"),o=A("./node_modules/core-js/internals/get-iterator-method.js"),a=TypeError;e.exports=function(e,t){var A=arguments.length<2?o(e):t;if(n(A))return s(r(A,e));throw new a(i(e)+" is not iterable")}},"./node_modules/core-js/internals/get-method.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/a-callable.js"),n=A("./node_modules/core-js/internals/is-null-or-undefined.js");e.exports=function(e,t){var A=e[t];return n(A)?void 0:r(A)}},"./node_modules/core-js/internals/get-set-record.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/a-callable.js"),n=A("./node_modules/core-js/internals/an-object.js"),s=A("./node_modules/core-js/internals/function-call.js"),i=A("./node_modules/core-js/internals/to-integer-or-infinity.js"),o=A("./node_modules/core-js/internals/get-iterator-direct.js"),a="Invalid size",l=RangeError,c=TypeError,u=Math.max,h=function(e,t){this.set=e,this.size=u(t,0),this.has=r(e.has),this.keys=r(e.keys)};h.prototype={getIterator:function(){return o(n(s(this.keys,this.set)))},includes:function(e){return s(this.has,this.set,e)}},e.exports=function(e){n(e);var t=+e.size;if(t!=t)throw new c(a);var A=i(t);if(A<0)throw new l(a);return new h(e,A)}},"./node_modules/core-js/internals/get-substitution.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/to-object.js"),s=Math.floor,i=r("".charAt),o=r("".replace),a=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,A,r,u,h){var d=A+e.length,f=r.length,p=c;return void 0!==u&&(u=n(u),p=l),o(h,p,function(n,o){var l;switch(i(o,0)){case"$":return"$";case"&":return e;case"`":return a(t,0,A);case"'":return a(t,d);case"<":l=u[a(o,1,-1)];break;default:var c=+o;if(0===c)return n;if(c>f){var h=s(c/10);return 0===h?n:h<=f?void 0===r[h-1]?i(o,1):r[h-1]+i(o,1):n}l=r[c-1]}return void 0===l?"":l})}},"./node_modules/core-js/internals/global-this.js":function(e){"use strict";var t=function(e){return e&&e.Math===Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof global&&global)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has-own-property.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/to-object.js"),s=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(n(e),t)}},"./node_modules/core-js/internals/hidden-keys.js":function(e){"use strict";e.exports={}},"./node_modules/core-js/internals/host-report-errors.js":function(e){"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},"./node_modules/core-js/internals/html.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/get-built-in.js");e.exports=r("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/descriptors.js"),n=A("./node_modules/core-js/internals/fails.js"),s=A("./node_modules/core-js/internals/document-create-element.js");e.exports=!r&&!n(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},"./node_modules/core-js/internals/indexed-object.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/fails.js"),s=A("./node_modules/core-js/internals/classof-raw.js"),i=Object,o=r("".split);e.exports=n(function(){return!i("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?o(e,""):i(e)}:i},"./node_modules/core-js/internals/inherit-if-required.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-callable.js"),n=A("./node_modules/core-js/internals/is-object.js"),s=A("./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(e,t,A){var i,o;return s&&r(i=t.constructor)&&i!==A&&n(o=i.prototype)&&o!==A.prototype&&s(e,o),e}},"./node_modules/core-js/internals/inspect-source.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/is-callable.js"),s=A("./node_modules/core-js/internals/shared-store.js"),i=r(Function.toString);n(s.inspectSource)||(s.inspectSource=function(e){return i(e)}),e.exports=s.inspectSource},"./node_modules/core-js/internals/internal-metadata.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-uncurry-this.js"),s=A("./node_modules/core-js/internals/hidden-keys.js"),i=A("./node_modules/core-js/internals/is-object.js"),o=A("./node_modules/core-js/internals/has-own-property.js"),a=A("./node_modules/core-js/internals/object-define-property.js").f,l=A("./node_modules/core-js/internals/object-get-own-property-names.js"),c=A("./node_modules/core-js/internals/object-get-own-property-names-external.js"),u=A("./node_modules/core-js/internals/object-is-extensible.js"),h=A("./node_modules/core-js/internals/uid.js"),d=A("./node_modules/core-js/internals/freezing.js"),f=!1,p=h("meta"),g=0,m=function(e){a(e,p,{value:{objectID:"O"+g++,weakData:{}}})},w=e.exports={enable:function(){w.enable=function(){},f=!0;var e=l.f,t=n([].splice),A={};A[p]=1,e(A).length&&(l.f=function(A){for(var r=e(A),n=0,s=r.length;n<s;n++)if(r[n]===p){t(r,n,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,p)){if(!u(e))return"F";if(!t)return"E";m(e)}return e[p].objectID},getWeakData:function(e,t){if(!o(e,p)){if(!u(e))return!0;if(!t)return!1;m(e)}return e[p].weakData},onFreeze:function(e){return d&&f&&u(e)&&!o(e,p)&&m(e),e}};s[p]=!0},"./node_modules/core-js/internals/internal-state.js":function(e,t,A){"use strict";var r,n,s,i=A("./node_modules/core-js/internals/weak-map-basic-detection.js"),o=A("./node_modules/core-js/internals/global-this.js"),a=A("./node_modules/core-js/internals/is-object.js"),l=A("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=A("./node_modules/core-js/internals/has-own-property.js"),u=A("./node_modules/core-js/internals/shared-store.js"),h=A("./node_modules/core-js/internals/shared-key.js"),d=A("./node_modules/core-js/internals/hidden-keys.js"),f="Object already initialized",p=o.TypeError,g=o.WeakMap;if(i||u.state){var m=u.state||(u.state=new g);m.get=m.get,m.has=m.has,m.set=m.set,r=function(e,t){if(m.has(e))throw new p(f);return t.facade=e,m.set(e,t),t},n=function(e){return m.get(e)||{}},s=function(e){return m.has(e)}}else{var w=h("state");d[w]=!0,r=function(e,t){if(c(e,w))throw new p(f);return t.facade=e,l(e,w,t),t},n=function(e){return c(e,w)?e[w]:{}},s=function(e){return c(e,w)}}e.exports={set:r,get:n,has:s,enforce:function(e){return s(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var A;if(!a(t)||(A=n(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return A}}}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/well-known-symbol.js"),n=A("./node_modules/core-js/internals/iterators.js"),s=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||i[s]===e)}},"./node_modules/core-js/internals/is-array.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(e){return"Array"===r(e)}},"./node_modules/core-js/internals/is-callable.js":function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},"./node_modules/core-js/internals/is-constructor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/fails.js"),s=A("./node_modules/core-js/internals/is-callable.js"),i=A("./node_modules/core-js/internals/classof.js"),o=A("./node_modules/core-js/internals/get-built-in.js"),a=A("./node_modules/core-js/internals/inspect-source.js"),l=function(){},c=o("Reflect","construct"),u=/^\s*(?:class|function)\b/,h=r(u.exec),d=!u.test(l),f=function(e){if(!s(e))return!1;try{return c(l,[],e),!0}catch(e){return!1}},p=function(e){if(!s(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(u,a(e))}catch(e){return!0}};p.sham=!0,e.exports=!c||n(function(){var e;return f(f.call)||!f(Object)||!f(function(){e=!0})||e})?p:f},"./node_modules/core-js/internals/is-forced.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js"),n=A("./node_modules/core-js/internals/is-callable.js"),s=/#|\.prototype\./,i=function(e,t){var A=a[o(e)];return A===c||A!==l&&(n(t)?r(t):!!t)},o=i.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},"./node_modules/core-js/internals/is-iterable.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/classof.js"),n=A("./node_modules/core-js/internals/has-own-property.js"),s=A("./node_modules/core-js/internals/is-null-or-undefined.js"),i=A("./node_modules/core-js/internals/well-known-symbol.js"),o=A("./node_modules/core-js/internals/iterators.js"),a=i("iterator"),l=Object;e.exports=function(e){if(s(e))return!1;var t=l(e);return void 0!==t[a]||"@@iterator"in t||n(o,r(t))}},"./node_modules/core-js/internals/is-null-or-undefined.js":function(e){"use strict";e.exports=function(e){return null==e}},"./node_modules/core-js/internals/is-object.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-callable.js");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},"./node_modules/core-js/internals/is-possible-prototype.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-object.js");e.exports=function(e){return r(e)||null===e}},"./node_modules/core-js/internals/is-pure.js":function(e){"use strict";e.exports=!1},"./node_modules/core-js/internals/is-raw-json.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-object.js"),n=A("./node_modules/core-js/internals/internal-state.js").get;e.exports=function(e){if(!r(e))return!1;var t=n(e);return!!t&&"RawJSON"===t.type}},"./node_modules/core-js/internals/is-regexp.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-object.js"),n=A("./node_modules/core-js/internals/classof-raw.js"),s=A("./node_modules/core-js/internals/well-known-symbol.js")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[s])?!!t:"RegExp"===n(e))}},"./node_modules/core-js/internals/is-symbol.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/get-built-in.js"),n=A("./node_modules/core-js/internals/is-callable.js"),s=A("./node_modules/core-js/internals/object-is-prototype-of.js"),i=A("./node_modules/core-js/internals/use-symbol-as-uid.js"),o=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&s(t.prototype,o(e))}},"./node_modules/core-js/internals/iterate-simple.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-call.js");e.exports=function(e,t,A){for(var n,s,i=A?e:e.iterator,o=e.next;!(n=r(o,i)).done;)if(void 0!==(s=t(n.value)))return s}},"./node_modules/core-js/internals/iterate.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-bind-context.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/an-object.js"),i=A("./node_modules/core-js/internals/try-to-string.js"),o=A("./node_modules/core-js/internals/is-array-iterator-method.js"),a=A("./node_modules/core-js/internals/length-of-array-like.js"),l=A("./node_modules/core-js/internals/object-is-prototype-of.js"),c=A("./node_modules/core-js/internals/get-iterator.js"),u=A("./node_modules/core-js/internals/get-iterator-method.js"),h=A("./node_modules/core-js/internals/iterator-close.js"),d=TypeError,f=function(e,t){this.stopped=e,this.result=t},p=f.prototype;e.exports=function(e,t,A){var g,m,w,B,y,v,b,C=A&&A.that,_=!(!A||!A.AS_ENTRIES),j=!(!A||!A.IS_RECORD),x=!(!A||!A.IS_ITERATOR),F=!(!A||!A.INTERRUPTED),Q=r(t,C),U=function(e){return g&&h(g,"normal"),new f(!0,e)},E=function(e){return _?(s(e),F?Q(e[0],e[1],U):Q(e[0],e[1])):F?Q(e,U):Q(e)};if(j)g=e.iterator;else if(x)g=e;else{if(!(m=u(e)))throw new d(i(e)+" is not iterable");if(o(m)){for(w=0,B=a(e);B>w;w++)if((y=E(e[w]))&&l(p,y))return y;return new f(!1)}g=c(e,m)}for(v=j?e.next:g.next;!(b=n(v,g)).done;){try{y=E(b.value)}catch(e){h(g,"throw",e)}if("object"==typeof y&&y&&l(p,y))return y}return new f(!1)}},"./node_modules/core-js/internals/iterator-close-all.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e,t,A){for(var n=e.length-1;n>=0;n--)if(void 0!==e[n])try{A=r(e[n].iterator,t,A)}catch(e){t="throw",A=e}if("throw"===t)throw A;return A}},"./node_modules/core-js/internals/iterator-close.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-call.js"),n=A("./node_modules/core-js/internals/an-object.js"),s=A("./node_modules/core-js/internals/get-method.js");e.exports=function(e,t,A){var i,o;n(e);try{if(!(i=s(e,"return"))){if("throw"===t)throw A;return A}i=r(i,e)}catch(e){o=!0,i=e}if("throw"===t)throw A;if(o)throw i;return n(i),A}},"./node_modules/core-js/internals/iterator-create-constructor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,n=A("./node_modules/core-js/internals/object-create.js"),s=A("./node_modules/core-js/internals/create-property-descriptor.js"),i=A("./node_modules/core-js/internals/set-to-string-tag.js"),o=A("./node_modules/core-js/internals/iterators.js"),a=function(){return this};e.exports=function(e,t,A,l){var c=t+" Iterator";return e.prototype=n(r,{next:s(+!l,A)}),i(e,c,!1,!0),o[c]=a,e}},"./node_modules/core-js/internals/iterator-create-proxy.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-call.js"),n=A("./node_modules/core-js/internals/object-create.js"),s=A("./node_modules/core-js/internals/create-non-enumerable-property.js"),i=A("./node_modules/core-js/internals/define-built-ins.js"),o=A("./node_modules/core-js/internals/well-known-symbol.js"),a=A("./node_modules/core-js/internals/internal-state.js"),l=A("./node_modules/core-js/internals/get-method.js"),c=A("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,u=A("./node_modules/core-js/internals/create-iter-result-object.js"),h=A("./node_modules/core-js/internals/iterator-close.js"),d=A("./node_modules/core-js/internals/iterator-close-all.js"),f=o("toStringTag"),p="IteratorHelper",g="WrapForValidIterator",m="normal",w="throw",B=a.set,y=function(e){var t=a.getterFor(e?g:p);return i(n(c),{next:function(){var A=t(this);if(e)return A.nextHandler();if(A.done)return u(void 0,!0);try{var r=A.nextHandler();return A.returnHandlerResult?r:u(r,A.done)}catch(e){throw A.done=!0,e}},return:function(){var A=t(this),n=A.iterator;if(A.done=!0,e){var s=l(n,"return");return s?r(s,n):u(void 0,!0)}if(A.inner)try{h(A.inner.iterator,m)}catch(e){return h(n,w,e)}if(A.openIters)try{d(A.openIters,m)}catch(e){return h(n,w,e)}return n&&h(n,m),u(void 0,!0)}})},v=y(!0),b=y(!1);s(b,f,"Iterator Helper"),e.exports=function(e,t,A){var r=function(r,n){n?(n.iterator=r.iterator,n.next=r.next):n=r,n.type=t?g:p,n.returnHandlerResult=!!A,n.nextHandler=e,n.counter=0,n.done=!1,B(this,n)};return r.prototype=t?v:b,r}},"./node_modules/core-js/internals/iterator-define.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/is-pure.js"),i=A("./node_modules/core-js/internals/function-name.js"),o=A("./node_modules/core-js/internals/is-callable.js"),a=A("./node_modules/core-js/internals/iterator-create-constructor.js"),l=A("./node_modules/core-js/internals/object-get-prototype-of.js"),c=A("./node_modules/core-js/internals/object-set-prototype-of.js"),u=A("./node_modules/core-js/internals/set-to-string-tag.js"),h=A("./node_modules/core-js/internals/create-non-enumerable-property.js"),d=A("./node_modules/core-js/internals/define-built-in.js"),f=A("./node_modules/core-js/internals/well-known-symbol.js"),p=A("./node_modules/core-js/internals/iterators.js"),g=A("./node_modules/core-js/internals/iterators-core.js"),m=i.PROPER,w=i.CONFIGURABLE,B=g.IteratorPrototype,y=g.BUGGY_SAFARI_ITERATORS,v=f("iterator"),b="keys",C="values",_="entries",j=function(){return this};e.exports=function(e,t,A,i,f,g,x){a(A,t,i);var F,Q,U,E=function(e){if(e===f&&k)return k;if(!y&&e&&e in I)return I[e];switch(e){case b:case C:case _:return function(){return new A(this,e)}}return function(){return new A(this)}},S=t+" Iterator",L=!1,I=e.prototype,N=I[v]||I["@@iterator"]||f&&I[f],k=!y&&N||E(f),H="Array"===t&&I.entries||N;if(H&&(F=l(H.call(new e)))!==Object.prototype&&F.next&&(s||l(F)===B||(c?c(F,B):o(F[v])||d(F,v,j)),u(F,S,!0,!0),s&&(p[S]=j)),m&&f===C&&N&&N.name!==C&&(!s&&w?h(I,"name",C):(L=!0,k=function(){return n(N,this)})),f)if(Q={values:E(C),keys:g?k:E(b),entries:E(_)},x)for(U in Q)(y||L||!(U in I))&&d(I,U,Q[U]);else r({target:t,proto:!0,forced:y||L},Q);return s&&!x||I[v]===k||d(I,v,k,{name:f}),p[t]=k,Q}},"./node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js":function(e){"use strict";e.exports=function(e,t){var A="function"==typeof Iterator&&Iterator.prototype[e];if(A)try{A.call({next:null},t).next()}catch(e){return!0}}},"./node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js");e.exports=function(e,t){var A=r.Iterator,n=A&&A.prototype,s=n&&n[e],i=!1;if(s)try{s.call({next:function(){return{done:!0}},return:function(){i=!0}},-1)}catch(e){e instanceof t||(i=!1)}if(!i)return s}},"./node_modules/core-js/internals/iterators-core.js":function(e,t,A){"use strict";var r,n,s,i=A("./node_modules/core-js/internals/fails.js"),o=A("./node_modules/core-js/internals/is-callable.js"),a=A("./node_modules/core-js/internals/is-object.js"),l=A("./node_modules/core-js/internals/object-create.js"),c=A("./node_modules/core-js/internals/object-get-prototype-of.js"),u=A("./node_modules/core-js/internals/define-built-in.js"),h=A("./node_modules/core-js/internals/well-known-symbol.js"),d=A("./node_modules/core-js/internals/is-pure.js"),f=h("iterator"),p=!1;[].keys&&("next"in(s=[].keys())?(n=c(c(s)))!==Object.prototype&&(r=n):p=!0),!a(r)||i(function(){var e={};return r[f].call(e)!==e})?r={}:d&&(r=l(r)),o(r[f])||u(r,f,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},"./node_modules/core-js/internals/iterators.js":function(e){"use strict";e.exports={}},"./node_modules/core-js/internals/length-of-array-like.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/to-length.js");e.exports=function(e){return r(e.length)}},"./node_modules/core-js/internals/make-built-in.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/fails.js"),s=A("./node_modules/core-js/internals/is-callable.js"),i=A("./node_modules/core-js/internals/has-own-property.js"),o=A("./node_modules/core-js/internals/descriptors.js"),a=A("./node_modules/core-js/internals/function-name.js").CONFIGURABLE,l=A("./node_modules/core-js/internals/inspect-source.js"),c=A("./node_modules/core-js/internals/internal-state.js"),u=c.enforce,h=c.get,d=String,f=Object.defineProperty,p=r("".slice),g=r("".replace),m=r([].join),w=o&&!n(function(){return 8!==f(function(){},"length",{value:8}).length}),B=String(String).split("String"),y=e.exports=function(e,t,A){"Symbol("===p(d(t),0,7)&&(t="["+g(d(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),A&&A.getter&&(t="get "+t),A&&A.setter&&(t="set "+t),(!i(e,"name")||a&&e.name!==t)&&(o?f(e,"name",{value:t,configurable:!0}):e.name=t),w&&A&&i(A,"arity")&&e.length!==A.arity&&f(e,"length",{value:A.arity});try{A&&i(A,"constructor")&&A.constructor?o&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=u(e);return i(r,"source")||(r.source=m(B,"string"==typeof t?t:"")),e};Function.prototype.toString=y(function(){return s(this)&&h(this).source||l(this)},"toString")},"./node_modules/core-js/internals/math-trunc.js":function(e){"use strict";var t=Math.ceil,A=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?A:t)(r)}},"./node_modules/core-js/internals/microtask.js":function(e,t,A){"use strict";var r,n,s,i,o,a=A("./node_modules/core-js/internals/global-this.js"),l=A("./node_modules/core-js/internals/safe-get-built-in.js"),c=A("./node_modules/core-js/internals/function-bind-context.js"),u=A("./node_modules/core-js/internals/task.js").set,h=A("./node_modules/core-js/internals/queue.js"),d=A("./node_modules/core-js/internals/environment-is-ios.js"),f=A("./node_modules/core-js/internals/environment-is-ios-pebble.js"),p=A("./node_modules/core-js/internals/environment-is-webos-webkit.js"),g=A("./node_modules/core-js/internals/environment-is-node.js"),m=a.MutationObserver||a.WebKitMutationObserver,w=a.document,B=a.process,y=a.Promise,v=l("queueMicrotask");if(!v){var b=new h,C=function(){var e,t;for(g&&(e=B.domain)&&e.exit();t=b.get();)try{t()}catch(e){throw b.head&&r(),e}e&&e.enter()};d||g||p||!m||!w?!f&&y&&y.resolve?((i=y.resolve(void 0)).constructor=y,o=c(i.then,i),r=function(){o(C)}):g?r=function(){B.nextTick(C)}:(u=c(u,a),r=function(){u(C)}):(n=!0,s=w.createTextNode(""),new m(C).observe(s,{characterData:!0}),r=function(){s.data=n=!n}),v=function(e){b.head||r(),b.add(e)}}e.exports=v},"./node_modules/core-js/internals/native-raw-json.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e})},"./node_modules/core-js/internals/new-promise-capability.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/a-callable.js"),n=TypeError,s=function(e){var t,A;this.promise=new e(function(e,r){if(void 0!==t||void 0!==A)throw new n("Bad Promise constructor");t=e,A=r}),this.resolve=r(t),this.reject=r(A)};e.exports.f=function(e){return new s(e)}},"./node_modules/core-js/internals/not-a-regexp.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-regexp.js"),n=TypeError;e.exports=function(e){if(r(e))throw new n("The method doesn't accept regular expressions");return e}},"./node_modules/core-js/internals/object-assign.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/descriptors.js"),n=A("./node_modules/core-js/internals/function-uncurry-this.js"),s=A("./node_modules/core-js/internals/function-call.js"),i=A("./node_modules/core-js/internals/fails.js"),o=A("./node_modules/core-js/internals/object-keys.js"),a=A("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=A("./node_modules/core-js/internals/object-property-is-enumerable.js"),c=A("./node_modules/core-js/internals/to-object.js"),u=A("./node_modules/core-js/internals/indexed-object.js"),h=Object.assign,d=Object.defineProperty,f=n([].concat);e.exports=!h||i(function(){if(r&&1!==h({b:1},h(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},A=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[A]=7,n.split("").forEach(function(e){t[e]=e}),7!==h({},e)[A]||o(h({},t)).join("")!==n})?function(e,t){for(var A=c(e),n=arguments.length,i=1,h=a.f,d=l.f;n>i;)for(var p,g=u(arguments[i++]),m=h?f(o(g),h(g)):o(g),w=m.length,B=0;w>B;)p=m[B++],r&&!s(d,g,p)||(A[p]=g[p]);return A}:h},"./node_modules/core-js/internals/object-create.js":function(e,t,A){"use strict";var r,n=A("./node_modules/core-js/internals/an-object.js"),s=A("./node_modules/core-js/internals/object-define-properties.js"),i=A("./node_modules/core-js/internals/enum-bug-keys.js"),o=A("./node_modules/core-js/internals/hidden-keys.js"),a=A("./node_modules/core-js/internals/html.js"),l=A("./node_modules/core-js/internals/document-create-element.js"),c=A("./node_modules/core-js/internals/shared-key.js"),u="prototype",h="script",d=c("IE_PROTO"),f=function(){},p=function(e){return"<"+h+">"+e+"</"+h+">"},g=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,A;m="undefined"!=typeof document?document.domain&&r?g(r):(t=l("iframe"),A="java"+h+":",t.style.display="none",a.appendChild(t),t.src=String(A),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):g(r);for(var n=i.length;n--;)delete m[u][i[n]];return m()};o[d]=!0,e.exports=Object.create||function(e,t){var A;return null!==e?(f[u]=n(e),A=new f,f[u]=null,A[d]=e):A=m(),void 0===t?A:s.f(A,t)}},"./node_modules/core-js/internals/object-define-properties.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/descriptors.js"),n=A("./node_modules/core-js/internals/v8-prototype-define-bug.js"),s=A("./node_modules/core-js/internals/object-define-property.js"),i=A("./node_modules/core-js/internals/an-object.js"),o=A("./node_modules/core-js/internals/to-indexed-object.js"),a=A("./node_modules/core-js/internals/object-keys.js");t.f=r&&!n?Object.defineProperties:function(e,t){i(e);for(var A,r=o(t),n=a(t),l=n.length,c=0;l>c;)s.f(e,A=n[c++],r[A]);return e}},"./node_modules/core-js/internals/object-define-property.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/descriptors.js"),n=A("./node_modules/core-js/internals/ie8-dom-define.js"),s=A("./node_modules/core-js/internals/v8-prototype-define-bug.js"),i=A("./node_modules/core-js/internals/an-object.js"),o=A("./node_modules/core-js/internals/to-property-key.js"),a=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u="enumerable",h="configurable",d="writable";t.f=r?s?function(e,t,A){if(i(e),t=o(t),i(A),"function"==typeof e&&"prototype"===t&&"value"in A&&d in A&&!A[d]){var r=c(e,t);r&&r[d]&&(e[t]=A.value,A={configurable:h in A?A[h]:r[h],enumerable:u in A?A[u]:r[u],writable:!1})}return l(e,t,A)}:l:function(e,t,A){if(i(e),t=o(t),i(A),n)try{return l(e,t,A)}catch(e){}if("get"in A||"set"in A)throw new a("Accessors not supported");return"value"in A&&(e[t]=A.value),e}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/descriptors.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/object-property-is-enumerable.js"),i=A("./node_modules/core-js/internals/create-property-descriptor.js"),o=A("./node_modules/core-js/internals/to-indexed-object.js"),a=A("./node_modules/core-js/internals/to-property-key.js"),l=A("./node_modules/core-js/internals/has-own-property.js"),c=A("./node_modules/core-js/internals/ie8-dom-define.js"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=o(e),t=a(t),c)try{return u(e,t)}catch(e){}if(l(e,t))return i(!n(s.f,e,t),e[t])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/classof-raw.js"),n=A("./node_modules/core-js/internals/to-indexed-object.js"),s=A("./node_modules/core-js/internals/object-get-own-property-names.js").f,i=A("./node_modules/core-js/internals/array-slice.js"),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"Window"===r(e)?function(e){try{return s(e)}catch(e){return i(o)}}(e):s(n(e))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/object-keys-internal.js"),n=A("./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,n)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/has-own-property.js"),n=A("./node_modules/core-js/internals/is-callable.js"),s=A("./node_modules/core-js/internals/to-object.js"),i=A("./node_modules/core-js/internals/shared-key.js"),o=A("./node_modules/core-js/internals/correct-prototype-getter.js"),a=i("IE_PROTO"),l=Object,c=l.prototype;e.exports=o?l.getPrototypeOf:function(e){var t=s(e);if(r(t,a))return t[a];var A=t.constructor;return n(A)&&t instanceof A?A.prototype:t instanceof l?c:null}},"./node_modules/core-js/internals/object-is-extensible.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js"),n=A("./node_modules/core-js/internals/is-object.js"),s=A("./node_modules/core-js/internals/classof-raw.js"),i=A("./node_modules/core-js/internals/array-buffer-non-extensible.js"),o=Object.isExtensible,a=r(function(){o(1)});e.exports=a||i?function(e){return!!n(e)&&(!i||"ArrayBuffer"!==s(e))&&(!o||o(e))}:o},"./node_modules/core-js/internals/object-is-prototype-of.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js");e.exports=r({}.isPrototypeOf)},"./node_modules/core-js/internals/object-keys-internal.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/has-own-property.js"),s=A("./node_modules/core-js/internals/to-indexed-object.js"),i=A("./node_modules/core-js/internals/array-includes.js").indexOf,o=A("./node_modules/core-js/internals/hidden-keys.js"),a=r([].push);e.exports=function(e,t){var A,r=s(e),l=0,c=[];for(A in r)!n(o,A)&&n(r,A)&&a(c,A);for(;t.length>l;)n(r,A=t[l++])&&(~i(c,A)||a(c,A));return c}},"./node_modules/core-js/internals/object-keys.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/object-keys-internal.js"),n=A("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return r(e,n)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,t){"use strict";var A={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!A.call({1:2},1);t.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:A},"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this-accessor.js"),n=A("./node_modules/core-js/internals/is-object.js"),s=A("./node_modules/core-js/internals/require-object-coercible.js"),i=A("./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,A={};try{(e=r(Object.prototype,"__proto__","set"))(A,[]),t=A instanceof Array}catch(e){}return function(A,r){return s(A),i(r),n(A)?(t?e(A,r):A.__proto__=r,A):A}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/to-string-tag-support.js"),n=A("./node_modules/core-js/internals/classof.js");e.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-call.js"),n=A("./node_modules/core-js/internals/is-callable.js"),s=A("./node_modules/core-js/internals/is-object.js"),i=TypeError;e.exports=function(e,t){var A,o;if("string"===t&&n(A=e.toString)&&!s(o=r(A,e)))return o;if(n(A=e.valueOf)&&!s(o=r(A,e)))return o;if("string"!==t&&n(A=e.toString)&&!s(o=r(A,e)))return o;throw new i("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/get-built-in.js"),n=A("./node_modules/core-js/internals/function-uncurry-this.js"),s=A("./node_modules/core-js/internals/object-get-own-property-names.js"),i=A("./node_modules/core-js/internals/object-get-own-property-symbols.js"),o=A("./node_modules/core-js/internals/an-object.js"),a=n([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=s.f(o(e)),A=i.f;return A?a(t,A(e)):t}},"./node_modules/core-js/internals/parse-json-string.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/has-own-property.js"),s=SyntaxError,i=parseInt,o=String.fromCharCode,a=r("".charAt),l=r("".slice),c=r(/./.exec),u={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},h=/^[\da-f]{4}$/i,d=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var A=!0,r="";t<e.length;){var f=a(e,t);if("\\"===f){var p=l(e,t,t+2);if(n(u,p))r+=u[p],t+=2;else{if("\\u"!==p)throw new s('Unknown escape sequence: "'+p+'"');var g=l(e,t+=2,t+4);if(!c(h,g))throw new s("Bad Unicode escape at: "+t);r+=o(i(g,16)),t+=4}}else{if('"'===f){A=!1,t++;break}if(c(d,f))throw new s("Bad control character in string literal at: "+t);r+=f,t++}}if(A)throw new s("Unterminated string at: "+t);return{value:r,end:t}}},"./node_modules/core-js/internals/path.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js");e.exports=r},"./node_modules/core-js/internals/perform.js":function(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},"./node_modules/core-js/internals/promise-constructor-detection.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=A("./node_modules/core-js/internals/promise-native-constructor.js"),s=A("./node_modules/core-js/internals/is-callable.js"),i=A("./node_modules/core-js/internals/is-forced.js"),o=A("./node_modules/core-js/internals/inspect-source.js"),a=A("./node_modules/core-js/internals/well-known-symbol.js"),l=A("./node_modules/core-js/internals/environment.js"),c=A("./node_modules/core-js/internals/is-pure.js"),u=A("./node_modules/core-js/internals/environment-v8-version.js"),h=n&&n.prototype,d=a("species"),f=!1,p=s(r.PromiseRejectionEvent),g=i("Promise",function(){var e=o(n),t=e!==String(n);if(!t&&66===u)return!0;if(c&&(!h.catch||!h.finally))return!0;if(!u||u<51||!/native code/.test(e)){var A=new n(function(e){e(1)}),r=function(e){e(function(){},function(){})};if((A.constructor={})[d]=r,!(f=A.then(function(){})instanceof r))return!0}return!(t||"BROWSER"!==l&&"DENO"!==l||p)});e.exports={CONSTRUCTOR:g,REJECTION_EVENT:p,SUBCLASSING:f}},"./node_modules/core-js/internals/promise-native-constructor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js");e.exports=r.Promise},"./node_modules/core-js/internals/promise-resolve.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/an-object.js"),n=A("./node_modules/core-js/internals/is-object.js"),s=A("./node_modules/core-js/internals/new-promise-capability.js");e.exports=function(e,t){if(r(e),n(t)&&t.constructor===e)return t;var A=s.f(e);return(0,A.resolve)(t),A.promise}},"./node_modules/core-js/internals/promise-statics-incorrect-iteration.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/promise-native-constructor.js"),n=A("./node_modules/core-js/internals/check-correctness-of-iteration.js"),s=A("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR;e.exports=s||!n(function(e){r.all(e).then(void 0,function(){})})},"./node_modules/core-js/internals/queue.js":function(e){"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},A=this.tail;A?A.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},"./node_modules/core-js/internals/regexp-exec-abstract.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-call.js"),n=A("./node_modules/core-js/internals/an-object.js"),s=A("./node_modules/core-js/internals/is-callable.js"),i=A("./node_modules/core-js/internals/classof-raw.js"),o=A("./node_modules/core-js/internals/regexp-exec.js"),a=TypeError;e.exports=function(e,t){var A=e.exec;if(s(A)){var l=r(A,e,t);return null!==l&&n(l),l}if("RegExp"===i(e))return r(o,e,t);throw new a("RegExp#exec called on incompatible receiver")}},"./node_modules/core-js/internals/regexp-exec.js":function(e,t,A){"use strict";var r,n,s=A("./node_modules/core-js/internals/function-call.js"),i=A("./node_modules/core-js/internals/function-uncurry-this.js"),o=A("./node_modules/core-js/internals/to-string.js"),a=A("./node_modules/core-js/internals/regexp-flags.js"),l=A("./node_modules/core-js/internals/regexp-sticky-helpers.js"),c=A("./node_modules/core-js/internals/shared.js"),u=A("./node_modules/core-js/internals/object-create.js"),h=A("./node_modules/core-js/internals/internal-state.js").get,d=A("./node_modules/core-js/internals/regexp-unsupported-dot-all.js"),f=A("./node_modules/core-js/internals/regexp-unsupported-ncg.js"),p=c("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,m=g,w=i("".charAt),B=i("".indexOf),y=i("".replace),v=i("".slice),b=(n=/b*/g,s(g,r=/a/,"a"),s(g,n,"a"),0!==r.lastIndex||0!==n.lastIndex),C=l.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(b||_||C||d||f)&&(m=function(e){var t,A,r,n,i,l,c,d=this,f=h(d),j=o(e),x=f.raw;if(x)return x.lastIndex=d.lastIndex,t=s(m,x,j),d.lastIndex=x.lastIndex,t;var F=f.groups,Q=C&&d.sticky,U=s(a,d),E=d.source,S=0,L=j;if(Q&&(U=y(U,"y",""),-1===B(U,"g")&&(U+="g"),L=v(j,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==w(j,d.lastIndex-1))&&(E="(?: "+E+")",L=" "+L,S++),A=new RegExp("^(?:"+E+")",U)),_&&(A=new RegExp("^"+E+"$(?!\\s)",U)),b&&(r=d.lastIndex),n=s(g,Q?A:d,L),Q?n?(n.input=v(n.input,S),n[0]=v(n[0],S),n.index=d.lastIndex,d.lastIndex+=n[0].length):d.lastIndex=0:b&&n&&(d.lastIndex=d.global?n.index+n[0].length:r),_&&n&&n.length>1&&s(p,n[0],A,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)}),n&&F)for(n.groups=l=u(null),i=0;i<F.length;i++)l[(c=F[i])[0]]=n[c[1]];return n}),e.exports=m},"./node_modules/core-js/internals/regexp-flags-detection.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=A("./node_modules/core-js/internals/fails.js"),s=r.RegExp,i=!n(function(){var e=!0;try{s(".","d")}catch(t){e=!1}var t={},A="",r=e?"dgimsy":"gimsy",n=function(e,r){Object.defineProperty(t,e,{get:function(){return A+=r,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in e&&(i.hasIndices="d"),i)n(o,i[o]);return Object.getOwnPropertyDescriptor(s.prototype,"flags").get.call(t)!==r||A!==r});e.exports={correct:i}},"./node_modules/core-js/internals/regexp-flags.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/an-object.js");e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/regexp-get-flags.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-call.js"),n=A("./node_modules/core-js/internals/has-own-property.js"),s=A("./node_modules/core-js/internals/object-is-prototype-of.js"),i=A("./node_modules/core-js/internals/regexp-flags-detection.js"),o=A("./node_modules/core-js/internals/regexp-flags.js"),a=RegExp.prototype;e.exports=i.correct?function(e){return e.flags}:function(e){return i.correct||!s(a,e)||n(e,"flags")?e.flags:r(o,e)}},"./node_modules/core-js/internals/regexp-sticky-helpers.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js"),n=A("./node_modules/core-js/internals/global-this.js").RegExp,s=r(function(){var e=n("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),i=s||r(function(){return!n("a","y").sticky}),o=s||r(function(){var e=n("^r","gy");return e.lastIndex=2,null!==e.exec("str")});e.exports={BROKEN_CARET:o,MISSED_STICKY:i,UNSUPPORTED_Y:s}},"./node_modules/core-js/internals/regexp-unsupported-dot-all.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js"),n=A("./node_modules/core-js/internals/global-this.js").RegExp;e.exports=r(function(){var e=n(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},"./node_modules/core-js/internals/regexp-unsupported-ncg.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js"),n=A("./node_modules/core-js/internals/global-this.js").RegExp;e.exports=r(function(){var e=n("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},"./node_modules/core-js/internals/require-object-coercible.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-null-or-undefined.js"),n=TypeError;e.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}},"./node_modules/core-js/internals/safe-get-built-in.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=A("./node_modules/core-js/internals/descriptors.js"),s=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!n)return r[e];var t=s(r,e);return t&&t.value}},"./node_modules/core-js/internals/schedulers-fix.js":function(e,t,A){"use strict";var r,n=A("./node_modules/core-js/internals/global-this.js"),s=A("./node_modules/core-js/internals/function-apply.js"),i=A("./node_modules/core-js/internals/is-callable.js"),o=A("./node_modules/core-js/internals/environment.js"),a=A("./node_modules/core-js/internals/environment-user-agent.js"),l=A("./node_modules/core-js/internals/array-slice.js"),c=A("./node_modules/core-js/internals/validate-arguments-length.js"),u=n.Function,h=/MSIE .\./.test(a)||"BUN"===o&&((r=n.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,t){var A=t?2:1;return h?function(r,n){var o=c(arguments.length,1)>A,a=i(r)?r:u(r),h=o?l(arguments,A):[],d=o?function(){s(a,this,h)}:a;return t?e(d,n):e(d)}:e}},"./node_modules/core-js/internals/set-clone.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/set-helpers.js"),n=A("./node_modules/core-js/internals/set-iterate.js"),s=r.Set,i=r.add;e.exports=function(e){var t=new s;return n(e,function(e){i(t,e)}),t}},"./node_modules/core-js/internals/set-difference.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/a-set.js"),n=A("./node_modules/core-js/internals/set-helpers.js"),s=A("./node_modules/core-js/internals/set-clone.js"),i=A("./node_modules/core-js/internals/set-size.js"),o=A("./node_modules/core-js/internals/get-set-record.js"),a=A("./node_modules/core-js/internals/set-iterate.js"),l=A("./node_modules/core-js/internals/iterate-simple.js"),c=n.has,u=n.remove;e.exports=function(e){var t=r(this),A=o(e),n=s(t);return i(t)<=A.size?a(t,function(e){A.includes(e)&&u(n,e)}):l(A.getIterator(),function(e){c(n,e)&&u(n,e)}),n}},"./node_modules/core-js/internals/set-helpers.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=Set.prototype;e.exports={Set:Set,add:r(n.add),has:r(n.has),remove:r(n.delete),proto:n}},"./node_modules/core-js/internals/set-intersection.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/a-set.js"),n=A("./node_modules/core-js/internals/set-helpers.js"),s=A("./node_modules/core-js/internals/set-size.js"),i=A("./node_modules/core-js/internals/get-set-record.js"),o=A("./node_modules/core-js/internals/set-iterate.js"),a=A("./node_modules/core-js/internals/iterate-simple.js"),l=n.Set,c=n.add,u=n.has;e.exports=function(e){var t=r(this),A=i(e),n=new l;return s(t)>A.size?a(A.getIterator(),function(e){u(t,e)&&c(n,e)}):o(t,function(e){A.includes(e)&&c(n,e)}),n}},"./node_modules/core-js/internals/set-is-disjoint-from.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/a-set.js"),n=A("./node_modules/core-js/internals/set-helpers.js").has,s=A("./node_modules/core-js/internals/set-size.js"),i=A("./node_modules/core-js/internals/get-set-record.js"),o=A("./node_modules/core-js/internals/set-iterate.js"),a=A("./node_modules/core-js/internals/iterate-simple.js"),l=A("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e){var t=r(this),A=i(e);if(s(t)<=A.size)return!1!==o(t,function(e){if(A.includes(e))return!1},!0);var c=A.getIterator();return!1!==a(c,function(e){if(n(t,e))return l(c,"normal",!1)})}},"./node_modules/core-js/internals/set-is-subset-of.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/a-set.js"),n=A("./node_modules/core-js/internals/set-size.js"),s=A("./node_modules/core-js/internals/set-iterate.js"),i=A("./node_modules/core-js/internals/get-set-record.js");e.exports=function(e){var t=r(this),A=i(e);return!(n(t)>A.size)&&!1!==s(t,function(e){if(!A.includes(e))return!1},!0)}},"./node_modules/core-js/internals/set-is-superset-of.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/a-set.js"),n=A("./node_modules/core-js/internals/set-helpers.js").has,s=A("./node_modules/core-js/internals/set-size.js"),i=A("./node_modules/core-js/internals/get-set-record.js"),o=A("./node_modules/core-js/internals/iterate-simple.js"),a=A("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e){var t=r(this),A=i(e);if(s(t)<A.size)return!1;var l=A.getIterator();return!1!==o(l,function(e){if(!n(t,e))return a(l,"normal",!1)})}},"./node_modules/core-js/internals/set-iterate.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/iterate-simple.js"),s=A("./node_modules/core-js/internals/set-helpers.js"),i=s.Set,o=s.proto,a=r(o.forEach),l=r(o.keys),c=l(new i).next;e.exports=function(e,t,A){return A?n({iterator:l(e),next:c},t):a(e,t)}},"./node_modules/core-js/internals/set-size.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this-accessor.js"),n=A("./node_modules/core-js/internals/set-helpers.js");e.exports=r(n.proto,"size","get")||function(e){return e.size}},"./node_modules/core-js/internals/set-species.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/get-built-in.js"),n=A("./node_modules/core-js/internals/define-built-in-accessor.js"),s=A("./node_modules/core-js/internals/well-known-symbol.js"),i=A("./node_modules/core-js/internals/descriptors.js"),o=s("species");e.exports=function(e){var t=r(e);i&&t&&!t[o]&&n(t,o,{configurable:!0,get:function(){return this}})}},"./node_modules/core-js/internals/set-symmetric-difference.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/a-set.js"),n=A("./node_modules/core-js/internals/set-helpers.js"),s=A("./node_modules/core-js/internals/set-clone.js"),i=A("./node_modules/core-js/internals/get-set-record.js"),o=A("./node_modules/core-js/internals/iterate-simple.js"),a=n.add,l=n.has,c=n.remove;e.exports=function(e){var t=r(this),A=i(e).getIterator(),n=s(t);return o(A,function(e){l(t,e)?c(n,e):a(n,e)}),n}},"./node_modules/core-js/internals/set-to-string-tag.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/object-define-property.js").f,n=A("./node_modules/core-js/internals/has-own-property.js"),s=A("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");e.exports=function(e,t,A){e&&!A&&(e=e.prototype),e&&!n(e,s)&&r(e,s,{configurable:!0,value:t})}},"./node_modules/core-js/internals/set-union.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/a-set.js"),n=A("./node_modules/core-js/internals/set-helpers.js").add,s=A("./node_modules/core-js/internals/set-clone.js"),i=A("./node_modules/core-js/internals/get-set-record.js"),o=A("./node_modules/core-js/internals/iterate-simple.js");e.exports=function(e){var t=r(this),A=i(e).getIterator(),a=s(t);return o(A,function(e){n(a,e)}),a}},"./node_modules/core-js/internals/shared-key.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/shared.js"),n=A("./node_modules/core-js/internals/uid.js"),s=r("keys");e.exports=function(e){return s[e]||(s[e]=n(e))}},"./node_modules/core-js/internals/shared-store.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/is-pure.js"),n=A("./node_modules/core-js/internals/global-this.js"),s=A("./node_modules/core-js/internals/define-global-property.js"),i="__core-js_shared__",o=e.exports=n[i]||s(i,{});(o.versions||(o.versions=[])).push({version:"3.47.0",mode:r?"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"})},"./node_modules/core-js/internals/shared.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/shared-store.js");e.exports=function(e,t){return r[e]||(r[e]=t||{})}},"./node_modules/core-js/internals/species-constructor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/an-object.js"),n=A("./node_modules/core-js/internals/a-constructor.js"),s=A("./node_modules/core-js/internals/is-null-or-undefined.js"),i=A("./node_modules/core-js/internals/well-known-symbol.js")("species");e.exports=function(e,t){var A,o=r(e).constructor;return void 0===o||s(A=r(o)[i])?t:n(A)}},"./node_modules/core-js/internals/string-html-forced.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/fails.js");e.exports=function(e){return r(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/to-integer-or-infinity.js"),s=A("./node_modules/core-js/internals/to-string.js"),i=A("./node_modules/core-js/internals/require-object-coercible.js"),o=r("".charAt),a=r("".charCodeAt),l=r("".slice),c=function(e){return function(t,A){var r,c,u=s(i(t)),h=n(A),d=u.length;return h<0||h>=d?e?"":void 0:(r=a(u,h))<55296||r>56319||h+1===d||(c=a(u,h+1))<56320||c>57343?e?o(u,h):r:e?l(u,h,h+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},"./node_modules/core-js/internals/string-trim-forced.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-name.js").PROPER,n=A("./node_modules/core-js/internals/fails.js"),s=A("./node_modules/core-js/internals/whitespaces.js");e.exports=function(e){return n(function(){return!!s[e]()||"
"!=="
"[e]()||r&&s[e].name!==e})}},"./node_modules/core-js/internals/string-trim.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=A("./node_modules/core-js/internals/require-object-coercible.js"),s=A("./node_modules/core-js/internals/to-string.js"),i=A("./node_modules/core-js/internals/whitespaces.js"),o=r("".replace),a=RegExp("^["+i+"]+"),l=RegExp("(^|[^"+i+"])["+i+"]+$"),c=function(e){return function(t){var A=s(n(t));return 1&e&&(A=o(A,a,"")),2&e&&(A=o(A,l,"$1")),A}};e.exports={start:c(1),end:c(2),trim:c(3)}},"./node_modules/core-js/internals/symbol-constructor-detection.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/environment-v8-version.js"),n=A("./node_modules/core-js/internals/fails.js"),s=A("./node_modules/core-js/internals/global-this.js").String;e.exports=!!Object.getOwnPropertySymbols&&!n(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},"./node_modules/core-js/internals/symbol-define-to-primitive.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-call.js"),n=A("./node_modules/core-js/internals/get-built-in.js"),s=A("./node_modules/core-js/internals/well-known-symbol.js"),i=A("./node_modules/core-js/internals/define-built-in.js");e.exports=function(){var e=n("Symbol"),t=e&&e.prototype,A=t&&t.valueOf,o=s("toPrimitive");t&&!t[o]&&i(t,o,function(e){return r(A,this)},{arity:1})}},"./node_modules/core-js/internals/symbol-registry-detection.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/symbol-constructor-detection.js");e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},"./node_modules/core-js/internals/task.js":function(e,t,A){"use strict";var r,n,s,i,o=A("./node_modules/core-js/internals/global-this.js"),a=A("./node_modules/core-js/internals/function-apply.js"),l=A("./node_modules/core-js/internals/function-bind-context.js"),c=A("./node_modules/core-js/internals/is-callable.js"),u=A("./node_modules/core-js/internals/has-own-property.js"),h=A("./node_modules/core-js/internals/fails.js"),d=A("./node_modules/core-js/internals/html.js"),f=A("./node_modules/core-js/internals/array-slice.js"),p=A("./node_modules/core-js/internals/document-create-element.js"),g=A("./node_modules/core-js/internals/validate-arguments-length.js"),m=A("./node_modules/core-js/internals/environment-is-ios.js"),w=A("./node_modules/core-js/internals/environment-is-node.js"),B=o.setImmediate,y=o.clearImmediate,v=o.process,b=o.Dispatch,C=o.Function,_=o.MessageChannel,j=o.String,x=0,F={},Q="onreadystatechange";h(function(){r=o.location});var U=function(e){if(u(F,e)){var t=F[e];delete F[e],t()}},E=function(e){return function(){U(e)}},S=function(e){U(e.data)},L=function(e){o.postMessage(j(e),r.protocol+"//"+r.host)};B&&y||(B=function(e){g(arguments.length,1);var t=c(e)?e:C(e),A=f(arguments,1);return F[++x]=function(){a(t,void 0,A)},n(x),x},y=function(e){delete F[e]},w?n=function(e){v.nextTick(E(e))}:b&&b.now?n=function(e){b.now(E(e))}:_&&!m?(i=(s=new _).port2,s.port1.onmessage=S,n=l(i.postMessage,i)):o.addEventListener&&c(o.postMessage)&&!o.importScripts&&r&&"file:"!==r.protocol&&!h(L)?(n=L,o.addEventListener("message",S,!1)):n=Q in p("script")?function(e){d.appendChild(p("script"))[Q]=function(){d.removeChild(this),U(e)}}:function(e){setTimeout(E(e),0)}),e.exports={set:B,clear:y}},"./node_modules/core-js/internals/this-number-value.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js");e.exports=r(1.1.valueOf)},"./node_modules/core-js/internals/to-absolute-index.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/to-integer-or-infinity.js"),n=Math.max,s=Math.min;e.exports=function(e,t){var A=r(e);return A<0?n(A+t,0):s(A,t)}},"./node_modules/core-js/internals/to-indexed-object.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/indexed-object.js"),n=A("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return r(n(e))}},"./node_modules/core-js/internals/to-integer-or-infinity.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/math-trunc.js");e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},"./node_modules/core-js/internals/to-length.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/to-integer-or-infinity.js"),n=Math.min;e.exports=function(e){var t=r(e);return t>0?n(t,9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/require-object-coercible.js"),n=Object;e.exports=function(e){return n(r(e))}},"./node_modules/core-js/internals/to-primitive.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-call.js"),n=A("./node_modules/core-js/internals/is-object.js"),s=A("./node_modules/core-js/internals/is-symbol.js"),i=A("./node_modules/core-js/internals/get-method.js"),o=A("./node_modules/core-js/internals/ordinary-to-primitive.js"),a=A("./node_modules/core-js/internals/well-known-symbol.js"),l=TypeError,c=a("toPrimitive");e.exports=function(e,t){if(!n(e)||s(e))return e;var A,a=i(e,c);if(a){if(void 0===t&&(t="default"),A=r(a,e,t),!n(A)||s(A))return A;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}},"./node_modules/core-js/internals/to-property-key.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/to-primitive.js"),n=A("./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}},"./node_modules/core-js/internals/to-set-like.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/get-built-in.js"),n=A("./node_modules/core-js/internals/is-callable.js"),s=A("./node_modules/core-js/internals/is-iterable.js"),i=A("./node_modules/core-js/internals/is-object.js"),o=r("Set");e.exports=function(e){return function(e){return i(e)&&"number"==typeof e.size&&n(e.has)&&n(e.keys)}(e)?e:s(e)?new o(e):e}},"./node_modules/core-js/internals/to-string-tag-support.js":function(e,t,A){"use strict";var r={};r[A("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",e.exports="[object z]"===String(r)},"./node_modules/core-js/internals/to-string.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/classof.js"),n=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}},"./node_modules/core-js/internals/try-to-string.js":function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},"./node_modules/core-js/internals/uid.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-uncurry-this.js"),n=0,s=Math.random(),i=r(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++n+s,36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/symbol-constructor-detection.js");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"./node_modules/core-js/internals/v8-prototype-define-bug.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/descriptors.js"),n=A("./node_modules/core-js/internals/fails.js");e.exports=r&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},"./node_modules/core-js/internals/validate-arguments-length.js":function(e){"use strict";var t=TypeError;e.exports=function(e,A){if(e<A)throw new t("Not enough arguments");return e}},"./node_modules/core-js/internals/weak-map-basic-detection.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=A("./node_modules/core-js/internals/is-callable.js"),s=r.WeakMap;e.exports=n(s)&&/native code/.test(String(s))},"./node_modules/core-js/internals/well-known-symbol-define.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/path.js"),n=A("./node_modules/core-js/internals/has-own-property.js"),s=A("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),i=A("./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});n(t,e)||i(t,e,{value:s.f(e)})}},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/well-known-symbol.js");t.f=r},"./node_modules/core-js/internals/well-known-symbol.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=A("./node_modules/core-js/internals/shared.js"),s=A("./node_modules/core-js/internals/has-own-property.js"),i=A("./node_modules/core-js/internals/uid.js"),o=A("./node_modules/core-js/internals/symbol-constructor-detection.js"),a=A("./node_modules/core-js/internals/use-symbol-as-uid.js"),l=r.Symbol,c=n("wks"),u=a?l.for||l:l&&l.withoutSetter||i;e.exports=function(e){return s(c,e)||(c[e]=o&&s(l,e)?l[e]:u("Symbol."+e)),c[e]}},"./node_modules/core-js/internals/whitespaces.js":function(e){"use strict";e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"./node_modules/core-js/modules/es.array.concat.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/fails.js"),s=A("./node_modules/core-js/internals/is-array.js"),i=A("./node_modules/core-js/internals/is-object.js"),o=A("./node_modules/core-js/internals/to-object.js"),a=A("./node_modules/core-js/internals/length-of-array-like.js"),l=A("./node_modules/core-js/internals/does-not-exceed-safe-integer.js"),c=A("./node_modules/core-js/internals/create-property.js"),u=A("./node_modules/core-js/internals/array-species-create.js"),h=A("./node_modules/core-js/internals/array-method-has-species-support.js"),d=A("./node_modules/core-js/internals/well-known-symbol.js"),f=A("./node_modules/core-js/internals/environment-v8-version.js"),p=d("isConcatSpreadable"),g=f>=51||!n(function(){var e=[];return e[p]=!1,e.concat()[0]!==e}),m=function(e){if(!i(e))return!1;var t=e[p];return void 0!==t?!!t:s(e)};r({target:"Array",proto:!0,arity:1,forced:!g||!h("concat")},{concat:function(e){var t,A,r,n,s,i=o(this),h=u(i,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(m(s=-1===t?i:arguments[t]))for(n=a(s),l(d+n),A=0;A<n;A++,d++)A in s&&c(h,d,s[A]);else l(d+1),c(h,d++,s);return h.length=d,h}})},"./node_modules/core-js/modules/es.array.from.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/array-from.js");r({target:"Array",stat:!0,forced:!A("./node_modules/core-js/internals/check-correctness-of-iteration.js")(function(e){Array.from(e)})},{from:n})},"./node_modules/core-js/modules/es.array.index-of.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-uncurry-this-clause.js"),s=A("./node_modules/core-js/internals/array-includes.js").indexOf,i=A("./node_modules/core-js/internals/array-method-is-strict.js"),o=n([].indexOf),a=!!o&&1/o([1],1,-0)<0;r({target:"Array",proto:!0,forced:a||!i("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return a?o(this,e,t)||0:s(this,e,t)}})},"./node_modules/core-js/modules/es.array.iterator.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/to-indexed-object.js"),n=A("./node_modules/core-js/internals/add-to-unscopables.js"),s=A("./node_modules/core-js/internals/iterators.js"),i=A("./node_modules/core-js/internals/internal-state.js"),o=A("./node_modules/core-js/internals/object-define-property.js").f,a=A("./node_modules/core-js/internals/iterator-define.js"),l=A("./node_modules/core-js/internals/create-iter-result-object.js"),c=A("./node_modules/core-js/internals/is-pure.js"),u=A("./node_modules/core-js/internals/descriptors.js"),h="Array Iterator",d=i.set,f=i.getterFor(h);e.exports=a(Array,"Array",function(e,t){d(this,{type:h,target:r(e),index:0,kind:t})},function(){var e=f(this),t=e.target,A=e.index++;if(!t||A>=t.length)return e.target=null,l(void 0,!0);switch(e.kind){case"keys":return l(A,!1);case"values":return l(t[A],!1)}return l([A,t[A]],!1)},"values");var p=s.Arguments=s.Array;if(n("keys"),n("values"),n("entries"),!c&&u&&"values"!==p.name)try{o(p,"name",{value:"values"})}catch(e){}},"./node_modules/core-js/modules/es.array.join.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-uncurry-this.js"),s=A("./node_modules/core-js/internals/indexed-object.js"),i=A("./node_modules/core-js/internals/to-indexed-object.js"),o=A("./node_modules/core-js/internals/array-method-is-strict.js"),a=n([].join);r({target:"Array",proto:!0,forced:s!==Object||!o("join",",")},{join:function(e){return a(i(this),void 0===e?",":e)}})},"./node_modules/core-js/modules/es.array.map.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/array-iteration.js").map;r({target:"Array",proto:!0,forced:!A("./node_modules/core-js/internals/array-method-has-species-support.js")("map")},{map:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.reduce.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/array-reduce.js").left,s=A("./node_modules/core-js/internals/array-method-is-strict.js"),i=A("./node_modules/core-js/internals/environment-v8-version.js");r({target:"Array",proto:!0,forced:!A("./node_modules/core-js/internals/environment-is-node.js")&&i>79&&i<83||!s("reduce")},{reduce:function(e){var t=arguments.length;return n(this,e,t,t>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.reverse.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-uncurry-this.js"),s=A("./node_modules/core-js/internals/is-array.js"),i=n([].reverse),o=[1,2];r({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return s(this)&&(this.length=this.length),i(this)}})},"./node_modules/core-js/modules/es.array.slice.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/is-array.js"),s=A("./node_modules/core-js/internals/is-constructor.js"),i=A("./node_modules/core-js/internals/is-object.js"),o=A("./node_modules/core-js/internals/to-absolute-index.js"),a=A("./node_modules/core-js/internals/length-of-array-like.js"),l=A("./node_modules/core-js/internals/to-indexed-object.js"),c=A("./node_modules/core-js/internals/create-property.js"),u=A("./node_modules/core-js/internals/well-known-symbol.js"),h=A("./node_modules/core-js/internals/array-method-has-species-support.js"),d=A("./node_modules/core-js/internals/array-slice.js"),f=h("slice"),p=u("species"),g=Array,m=Math.max;r({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var A,r,u,h=l(this),f=a(h),w=o(e,f),B=o(void 0===t?f:t,f);if(n(h)&&(A=h.constructor,(s(A)&&(A===g||n(A.prototype))||i(A)&&null===(A=A[p]))&&(A=void 0),A===g||void 0===A))return d(h,w,B);for(r=new(void 0===A?g:A)(m(B-w,0)),u=0;w<B;w++,u++)w in h&&c(r,u,h[w]);return r.length=u,r}})},"./node_modules/core-js/modules/es.function.name.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/descriptors.js"),n=A("./node_modules/core-js/internals/function-name.js").EXISTS,s=A("./node_modules/core-js/internals/function-uncurry-this.js"),i=A("./node_modules/core-js/internals/define-built-in-accessor.js"),o=Function.prototype,a=s(o.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=s(l.exec);r&&!n&&i(o,"name",{configurable:!0,get:function(){try{return c(l,a(this))[1]}catch(e){return""}}})},"./node_modules/core-js/modules/es.iterator.constructor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/global-this.js"),s=A("./node_modules/core-js/internals/an-instance.js"),i=A("./node_modules/core-js/internals/an-object.js"),o=A("./node_modules/core-js/internals/is-callable.js"),a=A("./node_modules/core-js/internals/object-get-prototype-of.js"),l=A("./node_modules/core-js/internals/define-built-in-accessor.js"),c=A("./node_modules/core-js/internals/create-property.js"),u=A("./node_modules/core-js/internals/fails.js"),h=A("./node_modules/core-js/internals/has-own-property.js"),d=A("./node_modules/core-js/internals/well-known-symbol.js"),f=A("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,p=A("./node_modules/core-js/internals/descriptors.js"),g=A("./node_modules/core-js/internals/is-pure.js"),m="constructor",w="Iterator",B=d("toStringTag"),y=TypeError,v=n[w],b=g||!o(v)||v.prototype!==f||!u(function(){v({})}),C=function(){if(s(this,f),a(this)===f)throw new y("Abstract class Iterator not directly constructable")},_=function(e,t){p?l(f,e,{configurable:!0,get:function(){return t},set:function(t){if(i(this),this===f)throw new y("You can't redefine this property");h(this,e)?this[e]=t:c(this,e,t)}}):f[e]=t};h(f,B)||_(B,w),!b&&h(f,m)&&f[m]!==Object||_(m,C),C.prototype=f,r({global:!0,constructor:!0,forced:b},{Iterator:C})},"./node_modules/core-js/modules/es.iterator.for-each.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/iterate.js"),i=A("./node_modules/core-js/internals/a-callable.js"),o=A("./node_modules/core-js/internals/an-object.js"),a=A("./node_modules/core-js/internals/get-iterator-direct.js"),l=A("./node_modules/core-js/internals/iterator-close.js"),c=A("./node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js")("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:c},{forEach:function(e){o(this);try{i(e)}catch(e){l(this,"throw",e)}if(c)return n(c,this,e);var t=a(this),A=0;s(t,function(t){e(t,A++)},{IS_RECORD:!0})}})},"./node_modules/core-js/modules/es.iterator.map.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/a-callable.js"),i=A("./node_modules/core-js/internals/an-object.js"),o=A("./node_modules/core-js/internals/get-iterator-direct.js"),a=A("./node_modules/core-js/internals/iterator-create-proxy.js"),l=A("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),c=A("./node_modules/core-js/internals/iterator-close.js"),u=A("./node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js"),h=A("./node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"),d=A("./node_modules/core-js/internals/is-pure.js"),f=!d&&!u("map",function(){}),p=!d&&!f&&h("map",TypeError),g=d||f||p,m=a(function(){var e=this.iterator,t=i(n(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(e){i(this);try{s(e)}catch(e){c(this,"throw",e)}return p?n(p,this,e):new m(o(this),{mapper:e})}})},"./node_modules/core-js/modules/es.json.stringify.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/get-built-in.js"),s=A("./node_modules/core-js/internals/function-apply.js"),i=A("./node_modules/core-js/internals/function-call.js"),o=A("./node_modules/core-js/internals/function-uncurry-this.js"),a=A("./node_modules/core-js/internals/fails.js"),l=A("./node_modules/core-js/internals/is-array.js"),c=A("./node_modules/core-js/internals/is-callable.js"),u=A("./node_modules/core-js/internals/is-raw-json.js"),h=A("./node_modules/core-js/internals/is-symbol.js"),d=A("./node_modules/core-js/internals/classof-raw.js"),f=A("./node_modules/core-js/internals/to-string.js"),p=A("./node_modules/core-js/internals/array-slice.js"),g=A("./node_modules/core-js/internals/parse-json-string.js"),m=A("./node_modules/core-js/internals/uid.js"),w=A("./node_modules/core-js/internals/symbol-constructor-detection.js"),B=A("./node_modules/core-js/internals/native-raw-json.js"),y=String,v=n("JSON","stringify"),b=o(/./.exec),C=o("".charAt),_=o("".charCodeAt),j=o("".replace),x=o("".slice),F=o([].push),Q=o(1.1.toString),U=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,L=m(),I=L.length,N=!w||a(function(){var e=n("Symbol")("stringify detection");return"[null]"!==v([e])||"{}"!==v({a:e})||"{}"!==v(Object(e))}),k=a(function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")}),H=N?function(e,t){var A=p(arguments),r=T(t);if(c(r)||void 0!==e&&!h(e))return A[1]=function(e,t){if(c(r)&&(t=i(r,this,y(e),t)),!h(t))return t},s(v,null,A)}:v,P=function(e,t,A){var r=C(A,t-1),n=C(A,t+1);return b(E,e)&&!b(S,n)||b(S,e)&&!b(E,r)?"\\u"+Q(_(e,0),16):e},T=function(e){if(c(e))return e;if(l(e)){for(var t=e.length,A=[],r=0;r<t;r++){var n=e[r];"string"==typeof n?F(A,n):"number"!=typeof n&&"Number"!==d(n)&&"String"!==d(n)||F(A,f(n))}var s=A.length,i=!0;return function(e,t){if(i)return i=!1,t;if(l(this))return t;for(var r=0;r<s;r++)if(A[r]===e)return t}}};v&&r({target:"JSON",stat:!0,arity:3,forced:N||k||!B},{stringify:function(e,t,A){var r=T(t),n=[],s=H(e,function(e,t){var A=c(r)?i(r,this,y(e),t):t;return!B&&u(A)?L+(F(n,A.rawJSON)-1):A},A);if("string"!=typeof s)return s;if(k&&(s=j(s,U,P)),B)return s;for(var o="",a=s.length,l=0;l<a;l++){var h=C(s,l);if('"'===h){var d=g(s,++l).end-1,f=x(s,l,d);o+=x(f,0,I)===L?n[x(f,I)]:'"'+f+'"',l=d}else o+=h}return o}})},"./node_modules/core-js/modules/es.number.constructor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/is-pure.js"),s=A("./node_modules/core-js/internals/descriptors.js"),i=A("./node_modules/core-js/internals/global-this.js"),o=A("./node_modules/core-js/internals/path.js"),a=A("./node_modules/core-js/internals/function-uncurry-this.js"),l=A("./node_modules/core-js/internals/is-forced.js"),c=A("./node_modules/core-js/internals/has-own-property.js"),u=A("./node_modules/core-js/internals/inherit-if-required.js"),h=A("./node_modules/core-js/internals/object-is-prototype-of.js"),d=A("./node_modules/core-js/internals/is-symbol.js"),f=A("./node_modules/core-js/internals/to-primitive.js"),p=A("./node_modules/core-js/internals/fails.js"),g=A("./node_modules/core-js/internals/object-get-own-property-names.js").f,m=A("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,w=A("./node_modules/core-js/internals/object-define-property.js").f,B=A("./node_modules/core-js/internals/this-number-value.js"),y=A("./node_modules/core-js/internals/string-trim.js").trim,v="Number",b=i[v],C=o[v],_=b.prototype,j=i.TypeError,x=a("".slice),F=a("".charCodeAt),Q=l(v,!b(" 0o1")||!b("0b1")||b("+0x1")),U=function(e){var t,A=arguments.length<1?0:b(function(e){var t=f(e,"number");return"bigint"==typeof t?t:function(e){var t,A,r,n,s,i,o,a,l=f(e,"number");if(d(l))throw new j("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=y(l),43===(t=F(l,0))||45===t){if(88===(A=F(l,2))||120===A)return NaN}else if(48===t){switch(F(l,1)){case 66:case 98:r=2,n=49;break;case 79:case 111:r=8,n=55;break;default:return+l}for(i=(s=x(l,2)).length,o=0;o<i;o++)if((a=F(s,o))<48||a>n)return NaN;return parseInt(s,r)}return+l}(t)}(e));return h(_,t=this)&&p(function(){B(t)})?u(Object(A),this,U):A};U.prototype=_,Q&&!n&&(_.constructor=U),r({global:!0,constructor:!0,wrap:!0,forced:Q},{Number:U});var E=function(e,t){for(var A,r=s?g(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),n=0;r.length>n;n++)c(t,A=r[n])&&!c(e,A)&&w(e,A,m(t,A))};n&&C&&E(o[v],C),(Q||n)&&E(o[v],b)},"./node_modules/core-js/modules/es.object.assign.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/object-assign.js");r({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})},"./node_modules/core-js/modules/es.object.get-own-property-symbols.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/symbol-constructor-detection.js"),s=A("./node_modules/core-js/internals/fails.js"),i=A("./node_modules/core-js/internals/object-get-own-property-symbols.js"),o=A("./node_modules/core-js/internals/to-object.js");r({target:"Object",stat:!0,forced:!n||s(function(){i.f(1)})},{getOwnPropertySymbols:function(e){var t=i.f;return t?t(o(e)):[]}})},"./node_modules/core-js/modules/es.object.keys.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/to-object.js"),s=A("./node_modules/core-js/internals/object-keys.js");r({target:"Object",stat:!0,forced:A("./node_modules/core-js/internals/fails.js")(function(){s(1)})},{keys:function(e){return s(n(e))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/to-string-tag-support.js"),n=A("./node_modules/core-js/internals/define-built-in.js"),s=A("./node_modules/core-js/internals/object-to-string.js");r||n(Object.prototype,"toString",s,{unsafe:!0})},"./node_modules/core-js/modules/es.promise.all.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/a-callable.js"),i=A("./node_modules/core-js/internals/new-promise-capability.js"),o=A("./node_modules/core-js/internals/perform.js"),a=A("./node_modules/core-js/internals/iterate.js");r({target:"Promise",stat:!0,forced:A("./node_modules/core-js/internals/promise-statics-incorrect-iteration.js")},{all:function(e){var t=this,A=i.f(t),r=A.resolve,l=A.reject,c=o(function(){var A=s(t.resolve),i=[],o=0,c=1;a(e,function(e){var s=o++,a=!1;c++,n(A,t,e).then(function(e){a||(a=!0,i[s]=e,--c||r(i))},l)}),--c||r(i)});return c.error&&l(c.value),A.promise}})},"./node_modules/core-js/modules/es.promise.catch.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/is-pure.js"),s=A("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR,i=A("./node_modules/core-js/internals/promise-native-constructor.js"),o=A("./node_modules/core-js/internals/get-built-in.js"),a=A("./node_modules/core-js/internals/is-callable.js"),l=A("./node_modules/core-js/internals/define-built-in.js"),c=i&&i.prototype;if(r({target:"Promise",proto:!0,forced:s,real:!0},{catch:function(e){return this.then(void 0,e)}}),!n&&a(i)){var u=o("Promise").prototype.catch;c.catch!==u&&l(c,"catch",u,{unsafe:!0})}},"./node_modules/core-js/modules/es.promise.constructor.js":function(e,t,A){"use strict";var r,n,s,i,o=A("./node_modules/core-js/internals/export.js"),a=A("./node_modules/core-js/internals/is-pure.js"),l=A("./node_modules/core-js/internals/environment-is-node.js"),c=A("./node_modules/core-js/internals/global-this.js"),u=A("./node_modules/core-js/internals/path.js"),h=A("./node_modules/core-js/internals/function-call.js"),d=A("./node_modules/core-js/internals/define-built-in.js"),f=A("./node_modules/core-js/internals/object-set-prototype-of.js"),p=A("./node_modules/core-js/internals/set-to-string-tag.js"),g=A("./node_modules/core-js/internals/set-species.js"),m=A("./node_modules/core-js/internals/a-callable.js"),w=A("./node_modules/core-js/internals/is-callable.js"),B=A("./node_modules/core-js/internals/is-object.js"),y=A("./node_modules/core-js/internals/an-instance.js"),v=A("./node_modules/core-js/internals/species-constructor.js"),b=A("./node_modules/core-js/internals/task.js").set,C=A("./node_modules/core-js/internals/microtask.js"),_=A("./node_modules/core-js/internals/host-report-errors.js"),j=A("./node_modules/core-js/internals/perform.js"),x=A("./node_modules/core-js/internals/queue.js"),F=A("./node_modules/core-js/internals/internal-state.js"),Q=A("./node_modules/core-js/internals/promise-native-constructor.js"),U=A("./node_modules/core-js/internals/promise-constructor-detection.js"),E=A("./node_modules/core-js/internals/new-promise-capability.js"),S="Promise",L=U.CONSTRUCTOR,I=U.REJECTION_EVENT,N=U.SUBCLASSING,k=F.getterFor(S),H=F.set,P=Q&&Q.prototype,T=Q,O=P,M=c.TypeError,D=c.document,R=c.process,K=E.f,V=K,G=!!(D&&D.createEvent&&c.dispatchEvent),z="unhandledrejection",q=function(e){var t;return!(!B(e)||!w(t=e.then))&&t},W=function(e,t){var A,r,n,s=t.value,i=1===t.state,o=i?e.ok:e.fail,a=e.resolve,l=e.reject,c=e.domain;try{o?(i||(2===t.rejection&&$(t),t.rejection=1),!0===o?A=s:(c&&c.enter(),A=o(s),c&&(c.exit(),n=!0)),A===e.promise?l(new M("Promise-chain cycle")):(r=q(A))?h(r,A,a,l):a(A)):l(s)}catch(e){c&&!n&&c.exit(),l(e)}},X=function(e,t){e.notified||(e.notified=!0,C(function(){for(var A,r=e.reactions;A=r.get();)W(A,e);e.notified=!1,t&&!e.rejection&&J(e)}))},Y=function(e,t,A){var r,n;G?((r=D.createEvent("Event")).promise=t,r.reason=A,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:A},!I&&(n=c["on"+e])?n(r):e===z&&_("Unhandled promise rejection",A)},J=function(e){h(b,c,function(){var t,A=e.facade,r=e.value;if(Z(e)&&(t=j(function(){l?R.emit("unhandledRejection",r,A):Y(z,A,r)}),e.rejection=l||Z(e)?2:1,t.error))throw t.value})},Z=function(e){return 1!==e.rejection&&!e.parent},$=function(e){h(b,c,function(){var t=e.facade;l?R.emit("rejectionHandled",t):Y("rejectionhandled",t,e.value)})},ee=function(e,t,A){return function(r){e(t,r,A)}},te=function(e,t,A){e.done||(e.done=!0,A&&(e=A),e.value=t,e.state=2,X(e,!0))},Ae=function(e,t,A){if(!e.done){e.done=!0,A&&(e=A);try{if(e.facade===t)throw new M("Promise can't be resolved itself");var r=q(t);r?C(function(){var A={done:!1};try{h(r,t,ee(Ae,A,e),ee(te,A,e))}catch(t){te(A,t,e)}}):(e.value=t,e.state=1,X(e,!1))}catch(t){te({done:!1},t,e)}}};if(L&&(O=(T=function(e){y(this,O),m(e),h(r,this);var t=k(this);try{e(ee(Ae,t),ee(te,t))}catch(e){te(t,e)}}).prototype,(r=function(e){H(this,{type:S,done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:0,value:null})}).prototype=d(O,"then",function(e,t){var A=k(this),r=K(v(this,T));return A.parent=!0,r.ok=!w(e)||e,r.fail=w(t)&&t,r.domain=l?R.domain:void 0,0===A.state?A.reactions.add(r):C(function(){W(r,A)}),r.promise}),n=function(){var e=new r,t=k(e);this.promise=e,this.resolve=ee(Ae,t),this.reject=ee(te,t)},E.f=K=function(e){return e===T||e===s?new n(e):V(e)},!a&&w(Q)&&P!==Object.prototype)){i=P.then,N||d(P,"then",function(e,t){var A=this;return new T(function(e,t){h(i,A,e,t)}).then(e,t)},{unsafe:!0});try{delete P.constructor}catch(e){}f&&f(P,O)}o({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:T}),s=u.Promise,p(T,S,!1,!0),g(S)},"./node_modules/core-js/modules/es.promise.js":function(e,t,A){"use strict";A("./node_modules/core-js/modules/es.promise.constructor.js"),A("./node_modules/core-js/modules/es.promise.all.js"),A("./node_modules/core-js/modules/es.promise.catch.js"),A("./node_modules/core-js/modules/es.promise.race.js"),A("./node_modules/core-js/modules/es.promise.reject.js"),A("./node_modules/core-js/modules/es.promise.resolve.js")},"./node_modules/core-js/modules/es.promise.race.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/a-callable.js"),i=A("./node_modules/core-js/internals/new-promise-capability.js"),o=A("./node_modules/core-js/internals/perform.js"),a=A("./node_modules/core-js/internals/iterate.js");r({target:"Promise",stat:!0,forced:A("./node_modules/core-js/internals/promise-statics-incorrect-iteration.js")},{race:function(e){var t=this,A=i.f(t),r=A.reject,l=o(function(){var i=s(t.resolve);a(e,function(e){n(i,t,e).then(A.resolve,r)})});return l.error&&r(l.value),A.promise}})},"./node_modules/core-js/modules/es.promise.reject.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/new-promise-capability.js");r({target:"Promise",stat:!0,forced:A("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR},{reject:function(e){var t=n.f(this);return(0,t.reject)(e),t.promise}})},"./node_modules/core-js/modules/es.promise.resolve.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/get-built-in.js"),s=A("./node_modules/core-js/internals/is-pure.js"),i=A("./node_modules/core-js/internals/promise-native-constructor.js"),o=A("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR,a=A("./node_modules/core-js/internals/promise-resolve.js"),l=n("Promise"),c=s&&!o;r({target:"Promise",stat:!0,forced:s||o},{resolve:function(e){return a(c&&this===l?i:this,e)}})},"./node_modules/core-js/modules/es.regexp.exec.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/regexp-exec.js");r({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},"./node_modules/core-js/modules/es.regexp.test.js":function(e,t,A){"use strict";A("./node_modules/core-js/modules/es.regexp.exec.js");var r,n,s=A("./node_modules/core-js/internals/export.js"),i=A("./node_modules/core-js/internals/function-call.js"),o=A("./node_modules/core-js/internals/is-callable.js"),a=A("./node_modules/core-js/internals/an-object.js"),l=A("./node_modules/core-js/internals/to-string.js"),c=(r=!1,(n=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===n.test("abc")&&r),u=/./.test;s({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=a(this),A=l(e),r=t.exec;if(!o(r))return i(u,t,A);var n=i(r,t,A);return null!==n&&(a(n),!0)}})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-name.js").PROPER,n=A("./node_modules/core-js/internals/define-built-in.js"),s=A("./node_modules/core-js/internals/an-object.js"),i=A("./node_modules/core-js/internals/to-string.js"),o=A("./node_modules/core-js/internals/fails.js"),a=A("./node_modules/core-js/internals/regexp-get-flags.js"),l="toString",c=RegExp.prototype,u=c[l],h=o(function(){return"/a/b"!==u.call({source:"a",flags:"b"})}),d=r&&u.name!==l;(h||d)&&n(c,l,function(){var e=s(this);return"/"+i(e.source)+"/"+i(a(e))},{unsafe:!0})},"./node_modules/core-js/modules/es.set.constructor.js":function(e,t,A){"use strict";A("./node_modules/core-js/internals/collection.js")("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},A("./node_modules/core-js/internals/collection-strong.js"))},"./node_modules/core-js/modules/es.set.js":function(e,t,A){"use strict";A("./node_modules/core-js/modules/es.set.constructor.js")},"./node_modules/core-js/modules/es.string.ends-with.js":function(e,t,A){"use strict";var r,n=A("./node_modules/core-js/internals/export.js"),s=A("./node_modules/core-js/internals/function-uncurry-this-clause.js"),i=A("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,o=A("./node_modules/core-js/internals/to-length.js"),a=A("./node_modules/core-js/internals/to-string.js"),l=A("./node_modules/core-js/internals/not-a-regexp.js"),c=A("./node_modules/core-js/internals/require-object-coercible.js"),u=A("./node_modules/core-js/internals/correct-is-regexp-logic.js"),h=A("./node_modules/core-js/internals/is-pure.js"),d=s("".slice),f=Math.min,p=u("endsWith");n({target:"String",proto:!0,forced:!(!h&&!p&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||p)},{endsWith:function(e){var t=a(c(this));l(e);var A=arguments.length>1?arguments[1]:void 0,r=t.length,n=void 0===A?r:f(o(A),r),s=a(e);return d(t,n-s.length,n)===s}})},"./node_modules/core-js/modules/es.string.includes.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-uncurry-this.js"),s=A("./node_modules/core-js/internals/not-a-regexp.js"),i=A("./node_modules/core-js/internals/require-object-coercible.js"),o=A("./node_modules/core-js/internals/to-string.js"),a=A("./node_modules/core-js/internals/correct-is-regexp-logic.js"),l=n("".indexOf);r({target:"String",proto:!0,forced:!a("includes")},{includes:function(e){return!!~l(o(i(this)),o(s(e)),arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.string.iterator.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/string-multibyte.js").charAt,n=A("./node_modules/core-js/internals/to-string.js"),s=A("./node_modules/core-js/internals/internal-state.js"),i=A("./node_modules/core-js/internals/iterator-define.js"),o=A("./node_modules/core-js/internals/create-iter-result-object.js"),a="String Iterator",l=s.set,c=s.getterFor(a);i(String,"String",function(e){l(this,{type:a,string:n(e),index:0})},function(){var e,t=c(this),A=t.string,n=t.index;return n>=A.length?o(void 0,!0):(e=r(A,n),t.index+=e.length,o(e,!1))})},"./node_modules/core-js/modules/es.string.link.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/create-html.js");r({target:"String",proto:!0,forced:A("./node_modules/core-js/internals/string-html-forced.js")("link")},{link:function(e){return n(this,"a","href",e)}})},"./node_modules/core-js/modules/es.string.match.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-call.js"),n=A("./node_modules/core-js/internals/function-uncurry-this.js"),s=A("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),i=A("./node_modules/core-js/internals/an-object.js"),o=A("./node_modules/core-js/internals/is-object.js"),a=A("./node_modules/core-js/internals/to-length.js"),l=A("./node_modules/core-js/internals/to-string.js"),c=A("./node_modules/core-js/internals/require-object-coercible.js"),u=A("./node_modules/core-js/internals/get-method.js"),h=A("./node_modules/core-js/internals/advance-string-index.js"),d=A("./node_modules/core-js/internals/regexp-get-flags.js"),f=A("./node_modules/core-js/internals/regexp-exec-abstract.js"),p=n("".indexOf);s("match",function(e,t,A){return[function(t){var A=c(this),n=o(t)?u(t,e):void 0;return n?r(n,t,A):new RegExp(t)[e](l(A))},function(e){var r=i(this),n=l(e),s=A(t,r,n);if(s.done)return s.value;var o=l(d(r));if(-1===p(o,"g"))return f(r,n);var c=-1!==p(o,"u");r.lastIndex=0;for(var u,g=[],m=0;null!==(u=f(r,n));){var w=l(u[0]);g[m]=w,""===w&&(r.lastIndex=h(n,a(r.lastIndex),c)),m++}return 0===m?null:g}]})},"./node_modules/core-js/modules/es.string.replace.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-apply.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/function-uncurry-this.js"),i=A("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),o=A("./node_modules/core-js/internals/fails.js"),a=A("./node_modules/core-js/internals/an-object.js"),l=A("./node_modules/core-js/internals/is-callable.js"),c=A("./node_modules/core-js/internals/is-object.js"),u=A("./node_modules/core-js/internals/to-integer-or-infinity.js"),h=A("./node_modules/core-js/internals/to-length.js"),d=A("./node_modules/core-js/internals/to-string.js"),f=A("./node_modules/core-js/internals/require-object-coercible.js"),p=A("./node_modules/core-js/internals/advance-string-index.js"),g=A("./node_modules/core-js/internals/get-method.js"),m=A("./node_modules/core-js/internals/get-substitution.js"),w=A("./node_modules/core-js/internals/regexp-get-flags.js"),B=A("./node_modules/core-js/internals/regexp-exec-abstract.js"),y=A("./node_modules/core-js/internals/well-known-symbol.js")("replace"),v=Math.max,b=Math.min,C=s([].concat),_=s([].push),j=s("".indexOf),x=s("".slice),F=function(e){return void 0===e?e:String(e)},Q="$0"==="a".replace(/./,"$0"),U=!!/./[y]&&""===/./[y]("a","$0");i("replace",function(e,t,A){var s=U?"$":"$0";return[function(e,A){var r=f(this),s=c(e)?g(e,y):void 0;return s?n(s,e,r,A):n(t,d(r),e,A)},function(e,n){var i=a(this),o=d(e);if("string"==typeof n&&-1===j(n,s)&&-1===j(n,"$<")){var c=A(t,i,o,n);if(c.done)return c.value}var f=l(n);f||(n=d(n));var g,y=d(w(i)),Q=-1!==j(y,"g");Q&&(g=-1!==j(y,"u"),i.lastIndex=0);for(var U,E=[];null!==(U=B(i,o))&&(_(E,U),Q);)""===d(U[0])&&(i.lastIndex=p(o,h(i.lastIndex),g));for(var S="",L=0,I=0;I<E.length;I++){for(var N,k=d((U=E[I])[0]),H=v(b(u(U.index),o.length),0),P=[],T=1;T<U.length;T++)_(P,F(U[T]));var O=U.groups;if(f){var M=C([k],P,H,o);void 0!==O&&_(M,O),N=d(r(n,void 0,M))}else N=m(k,o,H,P,O,n);H>=L&&(S+=x(o,L,H)+N,L=H+k.length)}return S+x(o,L)}]},!!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!Q||U)},"./node_modules/core-js/modules/es.string.split.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/function-call.js"),n=A("./node_modules/core-js/internals/function-uncurry-this.js"),s=A("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),i=A("./node_modules/core-js/internals/an-object.js"),o=A("./node_modules/core-js/internals/is-object.js"),a=A("./node_modules/core-js/internals/require-object-coercible.js"),l=A("./node_modules/core-js/internals/species-constructor.js"),c=A("./node_modules/core-js/internals/advance-string-index.js"),u=A("./node_modules/core-js/internals/to-length.js"),h=A("./node_modules/core-js/internals/to-string.js"),d=A("./node_modules/core-js/internals/get-method.js"),f=A("./node_modules/core-js/internals/regexp-exec-abstract.js"),p=A("./node_modules/core-js/internals/regexp-sticky-helpers.js"),g=A("./node_modules/core-js/internals/fails.js"),m=p.UNSUPPORTED_Y,w=Math.min,B=n([].push),y=n("".slice),v=!g(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var A="ab".split(e);return 2!==A.length||"a"!==A[0]||"b"!==A[1]}),b="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;s("split",function(e,t,A){var n="0".split(void 0,0).length?function(e,A){return void 0===e&&0===A?[]:r(t,this,e,A)}:t;return[function(t,A){var s=a(this),i=o(t)?d(t,e):void 0;return i?r(i,t,s,A):r(n,h(s),t,A)},function(e,r){var s=i(this),o=h(e);if(!b){var a=A(n,s,o,r,n!==t);if(a.done)return a.value}var d=l(s,RegExp),p=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(m?"g":"y"),v=new d(m?"^(?:"+s.source+")":s,g),C=void 0===r?4294967295:r>>>0;if(0===C)return[];if(0===o.length)return null===f(v,o)?[o]:[];for(var _=0,j=0,x=[];j<o.length;){v.lastIndex=m?0:j;var F,Q=f(v,m?y(o,j):o);if(null===Q||(F=w(u(v.lastIndex+(m?j:0)),o.length))===_)j=c(o,j,p);else{if(B(x,y(o,_,j)),x.length===C)return x;for(var U=1;U<=Q.length-1;U++)if(B(x,Q[U]),x.length===C)return x;j=_=F}}return B(x,y(o,_)),x}]},b||!v,m)},"./node_modules/core-js/modules/es.string.starts-with.js":function(e,t,A){"use strict";var r,n=A("./node_modules/core-js/internals/export.js"),s=A("./node_modules/core-js/internals/function-uncurry-this-clause.js"),i=A("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,o=A("./node_modules/core-js/internals/to-length.js"),a=A("./node_modules/core-js/internals/to-string.js"),l=A("./node_modules/core-js/internals/not-a-regexp.js"),c=A("./node_modules/core-js/internals/require-object-coercible.js"),u=A("./node_modules/core-js/internals/correct-is-regexp-logic.js"),h=A("./node_modules/core-js/internals/is-pure.js"),d=s("".slice),f=Math.min,p=u("startsWith");n({target:"String",proto:!0,forced:!(!h&&!p&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||p)},{startsWith:function(e){var t=a(c(this));l(e);var A=o(f(arguments.length>1?arguments[1]:void 0,t.length)),r=a(e);return d(t,A,A+r.length)===r}})},"./node_modules/core-js/modules/es.string.trim.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/string-trim.js").trim;r({target:"String",proto:!0,forced:A("./node_modules/core-js/internals/string-trim-forced.js")("trim")},{trim:function(){return n(this)}})},"./node_modules/core-js/modules/es.symbol.constructor.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/global-this.js"),s=A("./node_modules/core-js/internals/function-call.js"),i=A("./node_modules/core-js/internals/function-uncurry-this.js"),o=A("./node_modules/core-js/internals/is-pure.js"),a=A("./node_modules/core-js/internals/descriptors.js"),l=A("./node_modules/core-js/internals/symbol-constructor-detection.js"),c=A("./node_modules/core-js/internals/fails.js"),u=A("./node_modules/core-js/internals/has-own-property.js"),h=A("./node_modules/core-js/internals/object-is-prototype-of.js"),d=A("./node_modules/core-js/internals/an-object.js"),f=A("./node_modules/core-js/internals/to-indexed-object.js"),p=A("./node_modules/core-js/internals/to-property-key.js"),g=A("./node_modules/core-js/internals/to-string.js"),m=A("./node_modules/core-js/internals/create-property-descriptor.js"),w=A("./node_modules/core-js/internals/object-create.js"),B=A("./node_modules/core-js/internals/object-keys.js"),y=A("./node_modules/core-js/internals/object-get-own-property-names.js"),v=A("./node_modules/core-js/internals/object-get-own-property-names-external.js"),b=A("./node_modules/core-js/internals/object-get-own-property-symbols.js"),C=A("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),_=A("./node_modules/core-js/internals/object-define-property.js"),j=A("./node_modules/core-js/internals/object-define-properties.js"),x=A("./node_modules/core-js/internals/object-property-is-enumerable.js"),F=A("./node_modules/core-js/internals/define-built-in.js"),Q=A("./node_modules/core-js/internals/define-built-in-accessor.js"),U=A("./node_modules/core-js/internals/shared.js"),E=A("./node_modules/core-js/internals/shared-key.js"),S=A("./node_modules/core-js/internals/hidden-keys.js"),L=A("./node_modules/core-js/internals/uid.js"),I=A("./node_modules/core-js/internals/well-known-symbol.js"),N=A("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),k=A("./node_modules/core-js/internals/well-known-symbol-define.js"),H=A("./node_modules/core-js/internals/symbol-define-to-primitive.js"),P=A("./node_modules/core-js/internals/set-to-string-tag.js"),T=A("./node_modules/core-js/internals/internal-state.js"),O=A("./node_modules/core-js/internals/array-iteration.js").forEach,M=E("hidden"),D="Symbol",R="prototype",K=T.set,V=T.getterFor(D),G=Object[R],z=n.Symbol,q=z&&z[R],W=n.RangeError,X=n.TypeError,Y=n.QObject,J=C.f,Z=_.f,$=v.f,ee=x.f,te=i([].push),Ae=U("symbols"),re=U("op-symbols"),ne=U("wks"),se=!Y||!Y[R]||!Y[R].findChild,ie=function(e,t,A){var r=J(G,t);r&&delete G[t],Z(e,t,A),r&&e!==G&&Z(G,t,r)},oe=a&&c(function(){return 7!==w(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a})?ie:Z,ae=function(e,t){var A=Ae[e]=w(q);return K(A,{type:D,tag:e,description:t}),a||(A.description=t),A},le=function(e,t,A){e===G&&le(re,t,A),d(e);var r=p(t);return d(A),u(Ae,r)?(A.enumerable?(u(e,M)&&e[M][r]&&(e[M][r]=!1),A=w(A,{enumerable:m(0,!1)})):(u(e,M)||Z(e,M,m(1,w(null))),e[M][r]=!0),oe(e,r,A)):Z(e,r,A)},ce=function(e,t){d(e);var A=f(t),r=B(A).concat(fe(A));return O(r,function(t){a&&!s(ue,A,t)||le(e,t,A[t])}),e},ue=function(e){var t=p(e),A=s(ee,this,t);return!(this===G&&u(Ae,t)&&!u(re,t))&&(!(A||!u(this,t)||!u(Ae,t)||u(this,M)&&this[M][t])||A)},he=function(e,t){var A=f(e),r=p(t);if(A!==G||!u(Ae,r)||u(re,r)){var n=J(A,r);return!n||!u(Ae,r)||u(A,M)&&A[M][r]||(n.enumerable=!0),n}},de=function(e){var t=$(f(e)),A=[];return O(t,function(e){u(Ae,e)||u(S,e)||te(A,e)}),A},fe=function(e){var t=e===G,A=$(t?re:f(e)),r=[];return O(A,function(e){!u(Ae,e)||t&&!u(G,e)||te(r,Ae[e])}),r};l||(z=function(){if(h(q,this))throw new X("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=L(e),A=function(e){var r=void 0===this?n:this;r===G&&s(A,re,e),u(r,M)&&u(r[M],t)&&(r[M][t]=!1);var i=m(1,e);try{oe(r,t,i)}catch(e){if(!(e instanceof W))throw e;ie(r,t,i)}};return a&&se&&oe(G,t,{configurable:!0,set:A}),ae(t,e)},F(q=z[R],"toString",function(){return V(this).tag}),F(z,"withoutSetter",function(e){return ae(L(e),e)}),x.f=ue,_.f=le,j.f=ce,C.f=he,y.f=v.f=de,b.f=fe,N.f=function(e){return ae(I(e),e)},a&&(Q(q,"description",{configurable:!0,get:function(){return V(this).description}}),o||F(G,"propertyIsEnumerable",ue,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:z}),O(B(ne),function(e){k(e)}),r({target:D,stat:!0,forced:!l},{useSetter:function(){se=!0},useSimple:function(){se=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!a},{create:function(e,t){return void 0===t?w(e):ce(w(e),t)},defineProperty:le,defineProperties:ce,getOwnPropertyDescriptor:he}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:de}),H(),P(z,D),S[M]=!0},"./node_modules/core-js/modules/es.symbol.description.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/descriptors.js"),s=A("./node_modules/core-js/internals/global-this.js"),i=A("./node_modules/core-js/internals/function-uncurry-this.js"),o=A("./node_modules/core-js/internals/has-own-property.js"),a=A("./node_modules/core-js/internals/is-callable.js"),l=A("./node_modules/core-js/internals/object-is-prototype-of.js"),c=A("./node_modules/core-js/internals/to-string.js"),u=A("./node_modules/core-js/internals/define-built-in-accessor.js"),h=A("./node_modules/core-js/internals/copy-constructor-properties.js"),d=s.Symbol,f=d&&d.prototype;if(n&&a(d)&&(!("description"in f)||void 0!==d().description)){var p={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),t=l(f,this)?new d(e):void 0===e?d():d(e);return""===e&&(p[t]=!0),t};h(g,d),g.prototype=f,f.constructor=g;var m="Symbol(description detection)"===String(d("description detection")),w=i(f.valueOf),B=i(f.toString),y=/^Symbol\((.*)\)[^)]+$/,v=i("".replace),b=i("".slice);u(f,"description",{configurable:!0,get:function(){var e=w(this);if(o(p,e))return"";var t=B(e),A=m?b(t,7,-1):v(t,y,"$1");return""===A?void 0:A}}),r({global:!0,constructor:!0,forced:!0},{Symbol:g})}},"./node_modules/core-js/modules/es.symbol.for.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/get-built-in.js"),s=A("./node_modules/core-js/internals/has-own-property.js"),i=A("./node_modules/core-js/internals/to-string.js"),o=A("./node_modules/core-js/internals/shared.js"),a=A("./node_modules/core-js/internals/symbol-registry-detection.js"),l=o("string-to-symbol-registry"),c=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!a},{for:function(e){var t=i(e);if(s(l,t))return l[t];var A=n("Symbol")(t);return l[t]=A,c[A]=t,A}})},"./node_modules/core-js/modules/es.symbol.iterator.js":function(e,t,A){"use strict";A("./node_modules/core-js/internals/well-known-symbol-define.js")("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(e,t,A){"use strict";A("./node_modules/core-js/modules/es.symbol.constructor.js"),A("./node_modules/core-js/modules/es.symbol.for.js"),A("./node_modules/core-js/modules/es.symbol.key-for.js"),A("./node_modules/core-js/modules/es.json.stringify.js"),A("./node_modules/core-js/modules/es.object.get-own-property-symbols.js")},"./node_modules/core-js/modules/es.symbol.key-for.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/has-own-property.js"),s=A("./node_modules/core-js/internals/is-symbol.js"),i=A("./node_modules/core-js/internals/try-to-string.js"),o=A("./node_modules/core-js/internals/shared.js"),a=A("./node_modules/core-js/internals/symbol-registry-detection.js"),l=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!a},{keyFor:function(e){if(!s(e))throw new TypeError(i(e)+" is not a symbol");if(n(l,e))return l[e]}})},"./node_modules/core-js/modules/esnext.iterator.constructor.js":function(e,t,A){"use strict";A("./node_modules/core-js/modules/es.iterator.constructor.js")},"./node_modules/core-js/modules/esnext.iterator.for-each.js":function(e,t,A){"use strict";A("./node_modules/core-js/modules/es.iterator.for-each.js")},"./node_modules/core-js/modules/esnext.iterator.map.js":function(e,t,A){"use strict";A("./node_modules/core-js/modules/es.iterator.map.js")},"./node_modules/core-js/modules/esnext.set.add-all.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/a-set.js"),s=A("./node_modules/core-js/internals/set-helpers.js").add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=n(this),t=0,A=arguments.length;t<A;t++)s(e,arguments[t]);return e}})},"./node_modules/core-js/modules/esnext.set.delete-all.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/a-set.js"),s=A("./node_modules/core-js/internals/set-helpers.js").remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=n(this),A=!0,r=0,i=arguments.length;r<i;r++)e=s(t,arguments[r]),A=A&&e;return!!A}})},"./node_modules/core-js/modules/esnext.set.difference.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/to-set-like.js"),i=A("./node_modules/core-js/internals/set-difference.js");r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){return n(i,this,s(e))}})},"./node_modules/core-js/modules/esnext.set.every.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-bind-context.js"),s=A("./node_modules/core-js/internals/a-set.js"),i=A("./node_modules/core-js/internals/set-iterate.js");r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=s(this),A=n(e,arguments.length>1?arguments[1]:void 0);return!1!==i(t,function(e){if(!A(e,e,t))return!1},!0)}})},"./node_modules/core-js/modules/esnext.set.filter.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-bind-context.js"),s=A("./node_modules/core-js/internals/a-set.js"),i=A("./node_modules/core-js/internals/set-helpers.js"),o=A("./node_modules/core-js/internals/set-iterate.js"),a=i.Set,l=i.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=s(this),A=n(e,arguments.length>1?arguments[1]:void 0),r=new a;return o(t,function(e){A(e,e,t)&&l(r,e)}),r}})},"./node_modules/core-js/modules/esnext.set.find.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-bind-context.js"),s=A("./node_modules/core-js/internals/a-set.js"),i=A("./node_modules/core-js/internals/set-iterate.js");r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var t=s(this),A=n(e,arguments.length>1?arguments[1]:void 0),r=i(t,function(e){if(A(e,e,t))return{value:e}},!0);return r&&r.value}})},"./node_modules/core-js/modules/esnext.set.intersection.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/to-set-like.js"),i=A("./node_modules/core-js/internals/set-intersection.js");r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){return n(i,this,s(e))}})},"./node_modules/core-js/modules/esnext.set.is-disjoint-from.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/to-set-like.js"),i=A("./node_modules/core-js/internals/set-is-disjoint-from.js");r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return n(i,this,s(e))}})},"./node_modules/core-js/modules/esnext.set.is-subset-of.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/to-set-like.js"),i=A("./node_modules/core-js/internals/set-is-subset-of.js");r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return n(i,this,s(e))}})},"./node_modules/core-js/modules/esnext.set.is-superset-of.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/to-set-like.js"),i=A("./node_modules/core-js/internals/set-is-superset-of.js");r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){return n(i,this,s(e))}})},"./node_modules/core-js/modules/esnext.set.join.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-uncurry-this.js"),s=A("./node_modules/core-js/internals/a-set.js"),i=A("./node_modules/core-js/internals/set-iterate.js"),o=A("./node_modules/core-js/internals/to-string.js"),a=n([].join),l=n([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=s(this),A=void 0===e?",":o(e),r=[];return i(t,function(e){l(r,e)}),a(r,A)}})},"./node_modules/core-js/modules/esnext.set.map.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-bind-context.js"),s=A("./node_modules/core-js/internals/a-set.js"),i=A("./node_modules/core-js/internals/set-helpers.js"),o=A("./node_modules/core-js/internals/set-iterate.js"),a=i.Set,l=i.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=s(this),A=n(e,arguments.length>1?arguments[1]:void 0),r=new a;return o(t,function(e){l(r,A(e,e,t))}),r}})},"./node_modules/core-js/modules/esnext.set.reduce.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/a-callable.js"),s=A("./node_modules/core-js/internals/a-set.js"),i=A("./node_modules/core-js/internals/set-iterate.js"),o=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=s(this),A=arguments.length<2,r=A?void 0:arguments[1];if(n(e),i(t,function(n){A?(A=!1,r=n):r=e(r,n,n,t)}),A)throw new o("Reduce of empty set with no initial value");return r}})},"./node_modules/core-js/modules/esnext.set.some.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-bind-context.js"),s=A("./node_modules/core-js/internals/a-set.js"),i=A("./node_modules/core-js/internals/set-iterate.js");r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=s(this),A=n(e,arguments.length>1?arguments[1]:void 0);return!0===i(t,function(e){if(A(e,e,t))return!0},!0)}})},"./node_modules/core-js/modules/esnext.set.symmetric-difference.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/to-set-like.js"),i=A("./node_modules/core-js/internals/set-symmetric-difference.js");r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return n(i,this,s(e))}})},"./node_modules/core-js/modules/esnext.set.union.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/function-call.js"),s=A("./node_modules/core-js/internals/to-set-like.js"),i=A("./node_modules/core-js/internals/set-union.js");r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){return n(i,this,s(e))}})},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=A("./node_modules/core-js/internals/dom-iterables.js"),s=A("./node_modules/core-js/internals/dom-token-list-prototype.js"),i=A("./node_modules/core-js/internals/array-for-each.js"),o=A("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=function(e){if(e&&e.forEach!==i)try{o(e,"forEach",i)}catch(t){e.forEach=i}};for(var l in n)n[l]&&a(r[l]&&r[l].prototype);a(s)},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/global-this.js"),n=A("./node_modules/core-js/internals/dom-iterables.js"),s=A("./node_modules/core-js/internals/dom-token-list-prototype.js"),i=A("./node_modules/core-js/modules/es.array.iterator.js"),o=A("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=A("./node_modules/core-js/internals/set-to-string-tag.js"),l=A("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),c=i.values,u=function(e,t){if(e){if(e[l]!==c)try{o(e,l,c)}catch(t){e[l]=c}if(a(e,t,!0),n[t])for(var A in i)if(e[A]!==i[A])try{o(e,A,i[A])}catch(t){e[A]=i[A]}}};for(var h in n)u(r[h]&&r[h].prototype,h);u(s,"DOMTokenList")},"./node_modules/core-js/modules/web.set-interval.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/global-this.js"),s=A("./node_modules/core-js/internals/schedulers-fix.js")(n.setInterval,!0);r({global:!0,bind:!0,forced:n.setInterval!==s},{setInterval:s})},"./node_modules/core-js/modules/web.set-timeout.js":function(e,t,A){"use strict";var r=A("./node_modules/core-js/internals/export.js"),n=A("./node_modules/core-js/internals/global-this.js"),s=A("./node_modules/core-js/internals/schedulers-fix.js")(n.setTimeout,!0);r({global:!0,bind:!0,forced:n.setTimeout!==s},{setTimeout:s})},"./node_modules/core-js/modules/web.timers.js":function(e,t,A){"use strict";A("./node_modules/core-js/modules/web.set-interval.js"),A("./node_modules/core-js/modules/web.set-timeout.js")},"./node_modules/dompurify/dist/purify.es.mjs":function(e,t,A){"use strict";A.r(t),A.d(t,{default:function(){return Ae}});const{entries:r,setPrototypeOf:n,isFrozen:s,getPrototypeOf:i,getOwnPropertyDescriptor:o}=Object;let{freeze:a,seal:l,create:c}=Object,{apply:u,construct:h}="undefined"!=typeof Reflect&&Reflect;a||(a=function(e){return e}),l||(l=function(e){return e}),u||(u=function(e,t){for(var A=arguments.length,r=new Array(A>2?A-2:0),n=2;n<A;n++)r[n-2]=arguments[n];return e.apply(t,r)}),h||(h=function(e){for(var t=arguments.length,A=new Array(t>1?t-1:0),r=1;r<t;r++)A[r-1]=arguments[r];return new e(...A)});const d=Q(Array.prototype.forEach),f=Q(Array.prototype.lastIndexOf),p=Q(Array.prototype.pop),g=Q(Array.prototype.push),m=Q(Array.prototype.splice),w=Q(String.prototype.toLowerCase),B=Q(String.prototype.toString),y=Q(String.prototype.match),v=Q(String.prototype.replace),b=Q(String.prototype.indexOf),C=Q(String.prototype.trim),_=Q(Object.prototype.hasOwnProperty),j=Q(RegExp.prototype.test),x=(F=TypeError,function(){for(var e=arguments.length,t=new Array(e),A=0;A<e;A++)t[A]=arguments[A];return h(F,t)});var F;function Q(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var A=arguments.length,r=new Array(A>1?A-1:0),n=1;n<A;n++)r[n-1]=arguments[n];return u(e,t,r)}}function U(e,t){let A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w;n&&n(e,null);let r=t.length;for(;r--;){let n=t[r];if("string"==typeof n){const e=A(n);e!==n&&(s(t)||(t[r]=e),n=e)}e[n]=!0}return e}function E(e){for(let t=0;t<e.length;t++)_(e,t)||(e[t]=null);return e}function S(e){const t=c(null);for(const[A,n]of r(e))_(e,A)&&(Array.isArray(n)?t[A]=E(n):n&&"object"==typeof n&&n.constructor===Object?t[A]=S(n):t[A]=n);return t}function L(e,t){for(;null!==e;){const A=o(e,t);if(A){if(A.get)return Q(A.get);if("function"==typeof A.value)return Q(A.value)}e=i(e)}return function(){return null}}const I=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),N=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),k=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),H=a(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),P=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),T=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=a(["#text"]),M=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),D=a(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),R=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),K=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),V=l(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=l(/<%[\w\W]*|[\w\W]*%>/gm),z=l(/\$\{[\w\W]*/gm),q=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),W=l(/^aria-[\-\w]+$/),X=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=l(/^(?:\w+script|data):/i),J=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Z=l(/^html$/i),$=l(/^[a-z][.\w]*(-[.\w]+)+$/i);var ee=Object.freeze({__proto__:null,ARIA_ATTR:W,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:$,DATA_ATTR:q,DOCTYPE_NAME:Z,ERB_EXPR:G,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:Y,MUSTACHE_EXPR:V,TMPLIT_EXPR:z});const te=function(){return"undefined"==typeof window?null:window};var Ae=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const A=t=>e(t);if(A.version="3.3.0",A.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return A.isSupported=!1,A;let{document:n}=t;const s=n,i=s.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:u,Element:h,NodeFilter:F,NamedNodeMap:Q=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:E,DOMParser:V,trustedTypes:G}=t,z=h.prototype,q=L(z,"cloneNode"),W=L(z,"remove"),Y=L(z,"nextSibling"),J=L(z,"childNodes"),$=L(z,"parentNode");if("function"==typeof l){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let Ae,re="";const{implementation:ne,createNodeIterator:se,createDocumentFragment:ie,getElementsByTagName:oe}=n,{importNode:ae}=s;let le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};A.isSupported="function"==typeof r&&"function"==typeof $&&ne&&void 0!==ne.createHTMLDocument;const{MUSTACHE_EXPR:ce,ERB_EXPR:ue,TMPLIT_EXPR:he,DATA_ATTR:de,ARIA_ATTR:fe,IS_SCRIPT_OR_DATA:pe,ATTR_WHITESPACE:ge,CUSTOM_ELEMENT:me}=ee;let{IS_ALLOWED_URI:we}=ee,Be=null;const ye=U({},[...I,...N,...k,...P,...O]);let ve=null;const be=U({},[...M,...D,...R,...K]);let Ce=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_e=null,je=null;const xe=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Fe=!0,Qe=!0,Ue=!1,Ee=!0,Se=!1,Le=!0,Ie=!1,Ne=!1,ke=!1,He=!1,Pe=!1,Te=!1,Oe=!0,Me=!1,De=!0,Re=!1,Ke={},Ve=null;const Ge=U({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ze=null;const qe=U({},["audio","video","img","source","image","track"]);let We=null;const Xe=U({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ye="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml";let $e=Ze,et=!1,tt=null;const At=U({},[Ye,Je,Ze],B);let rt=U({},["mi","mo","mn","ms","mtext"]),nt=U({},["annotation-xml"]);const st=U({},["title","style","font","a","script"]);let it=null;const ot=["application/xhtml+xml","text/html"];let at=null,lt=null;const ct=n.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},ht=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!lt||lt!==e){if(e&&"object"==typeof e||(e={}),e=S(e),it=-1===ot.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,at="application/xhtml+xml"===it?B:w,Be=_(e,"ALLOWED_TAGS")?U({},e.ALLOWED_TAGS,at):ye,ve=_(e,"ALLOWED_ATTR")?U({},e.ALLOWED_ATTR,at):be,tt=_(e,"ALLOWED_NAMESPACES")?U({},e.ALLOWED_NAMESPACES,B):At,We=_(e,"ADD_URI_SAFE_ATTR")?U(S(Xe),e.ADD_URI_SAFE_ATTR,at):Xe,ze=_(e,"ADD_DATA_URI_TAGS")?U(S(qe),e.ADD_DATA_URI_TAGS,at):qe,Ve=_(e,"FORBID_CONTENTS")?U({},e.FORBID_CONTENTS,at):Ge,_e=_(e,"FORBID_TAGS")?U({},e.FORBID_TAGS,at):S({}),je=_(e,"FORBID_ATTR")?U({},e.FORBID_ATTR,at):S({}),Ke=!!_(e,"USE_PROFILES")&&e.USE_PROFILES,Fe=!1!==e.ALLOW_ARIA_ATTR,Qe=!1!==e.ALLOW_DATA_ATTR,Ue=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ee=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Se=e.SAFE_FOR_TEMPLATES||!1,Le=!1!==e.SAFE_FOR_XML,Ie=e.WHOLE_DOCUMENT||!1,He=e.RETURN_DOM||!1,Pe=e.RETURN_DOM_FRAGMENT||!1,Te=e.RETURN_TRUSTED_TYPE||!1,ke=e.FORCE_BODY||!1,Oe=!1!==e.SANITIZE_DOM,Me=e.SANITIZE_NAMED_PROPS||!1,De=!1!==e.KEEP_CONTENT,Re=e.IN_PLACE||!1,we=e.ALLOWED_URI_REGEXP||X,$e=e.NAMESPACE||Ze,rt=e.MATHML_TEXT_INTEGRATION_POINTS||rt,nt=e.HTML_INTEGRATION_POINTS||nt,Ce=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ce.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ce.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ce.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Se&&(Qe=!1),Pe&&(He=!0),Ke&&(Be=U({},O),ve=[],!0===Ke.html&&(U(Be,I),U(ve,M)),!0===Ke.svg&&(U(Be,N),U(ve,D),U(ve,K)),!0===Ke.svgFilters&&(U(Be,k),U(ve,D),U(ve,K)),!0===Ke.mathMl&&(U(Be,P),U(ve,R),U(ve,K))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?xe.tagCheck=e.ADD_TAGS:(Be===ye&&(Be=S(Be)),U(Be,e.ADD_TAGS,at))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?xe.attributeCheck=e.ADD_ATTR:(ve===be&&(ve=S(ve)),U(ve,e.ADD_ATTR,at))),e.ADD_URI_SAFE_ATTR&&U(We,e.ADD_URI_SAFE_ATTR,at),e.FORBID_CONTENTS&&(Ve===Ge&&(Ve=S(Ve)),U(Ve,e.FORBID_CONTENTS,at)),De&&(Be["#text"]=!0),Ie&&U(Be,["html","head","body"]),Be.table&&(U(Be,["tbody"]),delete _e.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Ae=e.TRUSTED_TYPES_POLICY,re=Ae.createHTML("")}else void 0===Ae&&(Ae=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let A=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(A=t.getAttribute(r));const n="dompurify"+(A?"#"+A:"");try{return e.createPolicy(n,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+n+" could not be created."),null}}(G,i)),null!==Ae&&"string"==typeof re&&(re=Ae.createHTML(""));a&&a(e),lt=e}},dt=U({},[...N,...k,...H]),ft=U({},[...P,...T]),pt=function(e){g(A.removed,{element:e});try{$(e).removeChild(e)}catch(t){W(e)}},gt=function(e,t){try{g(A.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(A.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(He||Pe)try{pt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){let t=null,A=null;if(ke)e="<remove></remove>"+e;else{const t=y(e,/^[\r\n\t ]+/);A=t&&t[0]}"application/xhtml+xml"===it&&$e===Ze&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=Ae?Ae.createHTML(e):e;if($e===Ze)try{t=(new V).parseFromString(r,it)}catch(e){}if(!t||!t.documentElement){t=ne.createDocument($e,"template",null);try{t.documentElement.innerHTML=et?re:r}catch(e){}}const s=t.body||t.documentElement;return e&&A&&s.insertBefore(n.createTextNode(A),s.childNodes[0]||null),$e===Ze?oe.call(t,Ie?"html":"body")[0]:Ie?t.documentElement:s},wt=function(e){return se.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},Bt=function(e){return e instanceof E&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof Q)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},yt=function(e){return"function"==typeof u&&e instanceof u};function vt(e,t,r){d(e,e=>{e.call(A,t,r,lt)})}const bt=function(e){let t=null;if(vt(le.beforeSanitizeElements,e,null),Bt(e))return pt(e),!0;const r=at(e.nodeName);if(vt(le.uponSanitizeElement,e,{tagName:r,allowedTags:Be}),Le&&e.hasChildNodes()&&!yt(e.firstElementChild)&&j(/<[/\w!]/g,e.innerHTML)&&j(/<[/\w!]/g,e.textContent))return pt(e),!0;if(7===e.nodeType)return pt(e),!0;if(Le&&8===e.nodeType&&j(/<[/\w]/g,e.data))return pt(e),!0;if(!(xe.tagCheck instanceof Function&&xe.tagCheck(r))&&(!Be[r]||_e[r])){if(!_e[r]&&_t(r)){if(Ce.tagNameCheck instanceof RegExp&&j(Ce.tagNameCheck,r))return!1;if(Ce.tagNameCheck instanceof Function&&Ce.tagNameCheck(r))return!1}if(De&&!Ve[r]){const t=$(e)||e.parentNode,A=J(e)||e.childNodes;if(A&&t)for(let r=A.length-1;r>=0;--r){const n=q(A[r],!0);n.__removalCount=(e.__removalCount||0)+1,t.insertBefore(n,Y(e))}}return pt(e),!0}return e instanceof h&&!function(e){let t=$(e);t&&t.tagName||(t={namespaceURI:$e,tagName:"template"});const A=w(e.tagName),r=w(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===Je?t.namespaceURI===Ze?"svg"===A:t.namespaceURI===Ye?"svg"===A&&("annotation-xml"===r||rt[r]):Boolean(dt[A]):e.namespaceURI===Ye?t.namespaceURI===Ze?"math"===A:t.namespaceURI===Je?"math"===A&&nt[r]:Boolean(ft[A]):e.namespaceURI===Ze?!(t.namespaceURI===Je&&!nt[r])&&!(t.namespaceURI===Ye&&!rt[r])&&!ft[A]&&(st[A]||!dt[A]):!("application/xhtml+xml"!==it||!tt[e.namespaceURI]))}(e)?(pt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!j(/<\/no(script|embed|frames)/i,e.innerHTML)?(Se&&3===e.nodeType&&(t=e.textContent,d([ce,ue,he],e=>{t=v(t,e," ")}),e.textContent!==t&&(g(A.removed,{element:e.cloneNode()}),e.textContent=t)),vt(le.afterSanitizeElements,e,null),!1):(pt(e),!0)},Ct=function(e,t,A){if(Oe&&("id"===t||"name"===t)&&(A in n||A in ct))return!1;if(Qe&&!je[t]&&j(de,t));else if(Fe&&j(fe,t));else if(xe.attributeCheck instanceof Function&&xe.attributeCheck(t,e));else if(!ve[t]||je[t]){if(!(_t(e)&&(Ce.tagNameCheck instanceof RegExp&&j(Ce.tagNameCheck,e)||Ce.tagNameCheck instanceof Function&&Ce.tagNameCheck(e))&&(Ce.attributeNameCheck instanceof RegExp&&j(Ce.attributeNameCheck,t)||Ce.attributeNameCheck instanceof Function&&Ce.attributeNameCheck(t,e))||"is"===t&&Ce.allowCustomizedBuiltInElements&&(Ce.tagNameCheck instanceof RegExp&&j(Ce.tagNameCheck,A)||Ce.tagNameCheck instanceof Function&&Ce.tagNameCheck(A))))return!1}else if(We[t]);else if(j(we,v(A,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(A,"data:")||!ze[e])if(Ue&&!j(pe,v(A,ge,"")));else if(A)return!1;return!0},_t=function(e){return"annotation-xml"!==e&&y(e,me)},jt=function(e){vt(le.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Bt(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ve,forceKeepAttr:void 0};let n=t.length;for(;n--;){const s=t[n],{name:i,namespaceURI:o,value:a}=s,l=at(i),c=a;let u="value"===i?c:C(c);if(r.attrName=l,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,vt(le.uponSanitizeAttribute,e,r),u=r.attrValue,!Me||"id"!==l&&"name"!==l||(gt(i,e),u="user-content-"+u),Le&&j(/((--!?|])>)|<\/(style|title|textarea)/i,u)){gt(i,e);continue}if("attributename"===l&&y(u,"href")){gt(i,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){gt(i,e);continue}if(!Ee&&j(/\/>/i,u)){gt(i,e);continue}Se&&d([ce,ue,he],e=>{u=v(u,e," ")});const h=at(e.nodeName);if(Ct(h,l,u)){if(Ae&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(o);else switch(G.getAttributeType(h,l)){case"TrustedHTML":u=Ae.createHTML(u);break;case"TrustedScriptURL":u=Ae.createScriptURL(u)}if(u!==c)try{o?e.setAttributeNS(o,i,u):e.setAttribute(i,u),Bt(e)?pt(e):p(A.removed)}catch(t){gt(i,e)}}else gt(i,e)}vt(le.afterSanitizeAttributes,e,null)},xt=function e(t){let A=null;const r=wt(t);for(vt(le.beforeSanitizeShadowDOM,t,null);A=r.nextNode();)vt(le.uponSanitizeShadowNode,A,null),bt(A),jt(A),A.content instanceof o&&e(A.content);vt(le.afterSanitizeShadowDOM,t,null)};return A.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,n=null,i=null,a=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!yt(e)){if("function"!=typeof e.toString)throw x("toString is not a function");if("string"!=typeof(e=e.toString()))throw x("dirty is not a string, aborting")}if(!A.isSupported)return e;if(Ne||ht(t),A.removed=[],"string"==typeof e&&(Re=!1),Re){if(e.nodeName){const t=at(e.nodeName);if(!Be[t]||_e[t])throw x("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof u)r=mt("\x3c!----\x3e"),n=r.ownerDocument.importNode(e,!0),1===n.nodeType&&"BODY"===n.nodeName||"HTML"===n.nodeName?r=n:r.appendChild(n);else{if(!He&&!Se&&!Ie&&-1===e.indexOf("<"))return Ae&&Te?Ae.createHTML(e):e;if(r=mt(e),!r)return He?null:Te?re:""}r&&ke&&pt(r.firstChild);const l=wt(Re?e:r);for(;i=l.nextNode();)bt(i),jt(i),i.content instanceof o&&xt(i.content);if(Re)return e;if(He){if(Pe)for(a=ie.call(r.ownerDocument);r.firstChild;)a.appendChild(r.firstChild);else a=r;return(ve.shadowroot||ve.shadowrootmode)&&(a=ae.call(s,a,!0)),a}let c=Ie?r.outerHTML:r.innerHTML;return Ie&&Be["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&j(Z,r.ownerDocument.doctype.name)&&(c="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+c),Se&&d([ce,ue,he],e=>{c=v(c,e," ")}),Ae&&Te?Ae.createHTML(c):c},A.setConfig=function(){ht(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ne=!0},A.clearConfig=function(){lt=null,Ne=!1},A.isValidAttribute=function(e,t,A){lt||ht({});const r=at(e),n=at(t);return Ct(r,n,A)},A.addHook=function(e,t){"function"==typeof t&&g(le[e],t)},A.removeHook=function(e,t){if(void 0!==t){const A=f(le[e],t);return-1===A?void 0:m(le[e],A,1)[0]}return p(le[e])},A.removeHooks=function(e){le[e]=[]},A.removeAllHooks=function(){le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},A}()},"./node_modules/fast-png/lib-esm/PngDecoder.js":function(e,t,A){"use strict";A.r(t),A.d(t,{default:function(){return u}});var r=A("./node_modules/iobuffer/lib-esm/IOBuffer.js"),n=A("./node_modules/pako/dist/pako.esm.mjs"),s=A("./node_modules/fast-png/lib-esm/helpers/crc.js"),i=A("./node_modules/fast-png/lib-esm/helpers/decodeInterlaceAdam7.js"),o=A("./node_modules/fast-png/lib-esm/helpers/decodeInterlaceNull.js"),a=A("./node_modules/fast-png/lib-esm/helpers/signature.js"),l=A("./node_modules/fast-png/lib-esm/helpers/text.js"),c=A("./node_modules/fast-png/lib-esm/internalTypes.js");class u extends r.IOBuffer{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(e,t={}){super(e);const{checkCrc:A=!1}=t;this._checkCrc=A,this._inflator=new n.Inflate,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=c.CompressionMethod.UNKNOWN,this._filterMethod=c.FilterMethod.UNKNOWN,this._interlaceMethod=c.InterlaceMethod.UNKNOWN,this._colorType=c.ColorType.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for((0,a.checkSignature)(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeChunk(e,t)}return this.decodeImage(),this._png}decodeApng(){for((0,a.checkSignature)(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(e,t)}return this.decodeApngImage(),this._apng}decodeChunk(e,t){const A=this.offset;switch(t){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case l.textChunkName:(0,l.decodetEXt)(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e)}if(this.offset-A!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?(0,s.checkCrc)(this,e+4,t):this.skip(4)}decodeApngChunk(e,t){const A=this.offset;switch("fdAT"!==t&&"IDAT"!==t&&this._writingDataChunks&&this.pushDataToFrame(),t){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,t),this.offset=A+e}if(this.offset-A!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?(0,s.checkCrc)(this,e+4,t):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=function(e){if(1!==e&&2!==e&&4!==e&&8!==e&&16!==e)throw new Error(`invalid bit depth: ${e}`);return e}(this.readUint8());const t=this.readUint8();let A;switch(this._colorType=t,t){case c.ColorType.GREYSCALE:A=1;break;case c.ColorType.TRUECOLOUR:A=3;break;case c.ColorType.INDEXED_COLOUR:A=1;break;case c.ColorType.GREYSCALE_ALPHA:A=2;break;case c.ColorType.TRUECOLOUR_ALPHA:A=4;break;case c.ColorType.UNKNOWN:default:throw new Error(`Unknown color type: ${t}`)}if(this._png.channels=A,this._compressionMethod=this.readUint8(),this._compressionMethod!==c.CompressionMethod.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!=0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const t=e/3;this._hasPalette=!0;const A=[];this._palette=A;for(let e=0;e<t;e++)A.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const t=e,A=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,A,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let t=e,A=this.offset+this.byteOffset;if(A+=4,t-=4,this._inflator.push(new Uint8Array(this.buffer,A,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case c.ColorType.GREYSCALE:case c.ColorType.TRUECOLOUR:if(e%2!=0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let t=0;t<e/2;t++)this._transparency[t]=this.readUint16();break;case c.ColorType.INDEXED_COLOUR:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let t=0;for(;t<e;t++){const e=this.readByte();this._palette[t].push(e)}for(;t<this._palette.length;t++)this._palette[t].push(255);break}case c.ColorType.UNKNOWN:case c.ColorType.GREYSCALE_ALPHA:case c.ColorType.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const t=(0,l.readKeyword)(this),A=this.readUint8();if(A!==c.CompressionMethod.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${A}`);const r=this.readBytes(e-t.length-2);this._png.iccEmbeddedProfile={name:t,profile:(0,n.inflate)(r)}}decodepHYs(){const e=this.readUint32(),t=this.readUint32(),A=this.readByte();this._png.resolution={x:e,y:t,unit:A}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<this._numberOfFrames;e++){const t={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:8===this._apng.depth?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},A=this._frames.at(e);if(A){if(A.data=(0,o.decodeInterlaceNull)({data:A.data,width:A.width,height:A.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),0===e||0===A.xOffset&&0===A.yOffset&&A.width===this._png.width&&A.height===this._png.height)t.data=A.data;else{const r=this._apng.frames.at(e-1);this.disposeFrame(A,r,t),this.addFrameDataToCanvas(t,A)}this._apng.frames.push(t)}}return this._apng}disposeFrame(e,t,A){switch(e.disposeOp){case c.DisposeOpType.NONE:break;case c.DisposeOpType.BACKGROUND:for(let t=0;t<this._png.height;t++)for(let r=0;r<this._png.width;r++){const n=(t*e.width+r)*this._png.channels;for(let e=0;e<this._png.channels;e++)A.data[n+e]=0}break;case c.DisposeOpType.PREVIOUS:A.data.set(t.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,t){const A=1<<this._png.depth,r=(e,A)=>({index:((e+t.yOffset)*this._png.width+t.xOffset+A)*this._png.channels,frameIndex:(e*t.width+A)*this._png.channels});switch(t.blendOp){case c.BlendOpType.SOURCE:for(let A=0;A<t.height;A++)for(let n=0;n<t.width;n++){const{index:s,frameIndex:i}=r(A,n);for(let A=0;A<this._png.channels;A++)e.data[s+A]=t.data[i+A]}break;case c.BlendOpType.OVER:for(let n=0;n<t.height;n++)for(let s=0;s<t.width;s++){const{index:i,frameIndex:o}=r(n,s);for(let r=0;r<this._png.channels;r++){const n=t.data[o+this._png.channels-1]/A,s=r%(this._png.channels-1)==0?1:t.data[o+r],a=Math.floor(n*s+(1-n)*e.data[i+r]);e.data[i+r]+=a}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const e=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==c.FilterMethod.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===c.InterlaceMethod.NO_INTERLACE)this._png.data=(0,o.decodeInterlaceNull)({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else{if(this._interlaceMethod!==c.InterlaceMethod.ADAM7)throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._png.data=(0,i.decodeInterlaceAdam7)({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth})}this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const e=this._inflator.result,t=this._frames.at(-1);t?t.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:c.DisposeOpType.NONE,blendOp:c.BlendOpType.SOURCE,data:e}),this._inflator=new n.Inflate,this._writingDataChunks=!1}}},"./node_modules/fast-png/lib-esm/PngEncoder.js":function(e,t,A){"use strict";A.r(t),A.d(t,{default:function(){return c}});var r=A("./node_modules/iobuffer/lib-esm/IOBuffer.js"),n=A("./node_modules/pako/dist/pako.esm.mjs"),s=A("./node_modules/fast-png/lib-esm/helpers/crc.js"),i=A("./node_modules/fast-png/lib-esm/helpers/signature.js"),o=A("./node_modules/fast-png/lib-esm/helpers/text.js"),a=A("./node_modules/fast-png/lib-esm/internalTypes.js");const l={level:3};class c extends r.IOBuffer{_png;_zlibOptions;_colorType;_interlaceMethod;constructor(e,t={}){super(),this._colorType=a.ColorType.UNKNOWN,this._zlibOptions={...l,...t.zlib},this._png=this._checkData(e),this._interlaceMethod=("Adam7"===t.interlace?a.InterlaceMethod.ADAM7:a.InterlaceMethod.NO_INTERLACE)??a.InterlaceMethod.NO_INTERLACE,this.setBigEndian()}encode(){if((0,i.writeSignature)(this),this.encodeIHDR(),this._png.palette&&(this.encodePLTE(),4===this._png.palette[0].length&&this.encodeTRNS()),this.encodeData(),this._png.text)for(const[e,t]of Object.entries(this._png.text))(0,o.encodetEXt)(this,e,t);return this.encodeIEND(),this.toArray()}encodeIHDR(){this.writeUint32(13),this.writeChars("IHDR"),this.writeUint32(this._png.width),this.writeUint32(this._png.height),this.writeByte(this._png.depth),this.writeByte(this._colorType),this.writeByte(a.CompressionMethod.DEFLATE),this.writeByte(a.FilterMethod.ADAPTIVE),this.writeByte(this._interlaceMethod),(0,s.writeCrc)(this,17)}encodeIEND(){this.writeUint32(0),this.writeChars("IEND"),(0,s.writeCrc)(this,4)}encodePLTE(){const e=3*this._png.palette?.length;this.writeUint32(e),this.writeChars("PLTE");for(const e of this._png.palette)this.writeByte(e[0]),this.writeByte(e[1]),this.writeByte(e[2]);(0,s.writeCrc)(this,4+e)}encodeTRNS(){const e=this._png.palette.filter(e=>255!==e.at(-1));this.writeUint32(e.length),this.writeChars("tRNS");for(const t of e)this.writeByte(t.at(-1));(0,s.writeCrc)(this,4+e.length)}encodeIDAT(e){this.writeUint32(e.length),this.writeChars("IDAT"),this.writeBytes(e),(0,s.writeCrc)(this,e.length+4)}encodeData(){const{width:e,height:t,channels:A,depth:s,data:i}=this._png,o=s<=8?Math.ceil(e*s/8)*A:Math.ceil(e*s/8*A/2),l=(new r.IOBuffer).setBigEndian();let c=0;if(this._interlaceMethod===a.InterlaceMethod.NO_INTERLACE)for(let e=0;e<t;e++)l.writeByte(0),c=16===s?d(i,l,o,c):h(i,l,o,c);else this._interlaceMethod===a.InterlaceMethod.ADAM7&&(c=function(e,t,A,r){const n=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],{width:s,height:i,channels:o,depth:a}=e;let l=0;l=16===a?o*a/8/2:o*a/8;for(let e=0;e<7;e++){const r=n[e],o=Math.floor((s-r.x+r.xStep-1)/r.xStep),c=Math.floor((i-r.y+r.yStep-1)/r.yStep);if(o<=0||c<=0)continue;const u=o*l;for(let e=0;e<c;e++){const n=r.y+e*r.yStep,c=a<=8?new Uint8Array(u):new Uint16Array(u);let h=0;for(let e=0;e<o;e++){const A=r.x+e*r.xStep;if(A<s&&n<i){const e=(n*s+A)*l;for(let A=0;A<l;A++)c[h++]=t[e+A]}}if(A.writeByte(0),8===a)A.writeBytes(c);else if(16===a)for(const e of c)A.writeByte(e>>8&255),A.writeByte(255&e)}}return r}(this._png,i,l,c));const u=l.toArray(),f=(0,n.deflate)(u,this._zlibOptions);this.encodeIDAT(f)}_checkData(e){const{colorType:t,channels:A,depth:r}=function(e,t){const{channels:A=4,depth:r=8}=e;if(4!==A&&3!==A&&2!==A&&1!==A)throw new RangeError(`unsupported number of channels: ${A}`);const n={channels:A,depth:r,colorType:a.ColorType.UNKNOWN};switch(A){case 4:n.colorType=a.ColorType.TRUECOLOUR_ALPHA;break;case 3:n.colorType=a.ColorType.TRUECOLOUR;break;case 1:n.colorType=t?a.ColorType.INDEXED_COLOUR:a.ColorType.GREYSCALE;break;case 2:n.colorType=a.ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return n}(e,e.palette),n={width:u(e.width,"width"),height:u(e.height,"height"),channels:A,data:e.data,depth:r,text:e.text,palette:e.palette};this._colorType=t;const s=r<8?Math.ceil(n.width*r/8)*n.height*A:n.width*n.height*A;if(n.data.length!==s)throw new RangeError(`wrong data size. Found ${n.data.length}, expected ${s}`);return n}}function u(e,t){if(Number.isInteger(e)&&e>0)return e;throw new TypeError(`${t} must be a positive integer`)}function h(e,t,A,r){for(let n=0;n<A;n++)t.writeByte(e[r++]);return r}function d(e,t,A,r){for(let n=0;n<A;n++)t.writeUint16(e[r++]);return r}},"./node_modules/fast-png/lib-esm/convertIndexedToRgb.js":function(e,t,A){"use strict";function r(e){const t=e.palette,A=e.depth;if(!t)throw new Error("Color palette is undefined.");!function(e){const t=e.depth<8?Math.ceil(e.width*e.depth/8)*e.height*e.channels:e.width*e.height*e.channels;if(e.data.length!==t)throw new RangeError(`wrong data size. Found ${e.data.length}, expected ${t}`)}(e);const r=e.width*e.height,n=r*t[0].length,s=new Uint8Array(n);let i=0,o=0;const a=new Uint8Array(r);let l=255;switch(A){case 1:l=128;break;case 2:l=192;break;case 4:l=240;break;case 8:l=255;break;default:throw new Error("Incorrect depth value")}for(const t of e.data){let r=l,n=8;for(;r&&(n-=A,a[i++]=(t&r)>>n,r>>=A,i%e.width!==0););}if(e.palette)for(const t of a){const A=e.palette.at(t);if(!A)throw new Error("Incorrect index of palette color");s.set(A,o),o+=A.length}return s}A.r(t),A.d(t,{convertIndexedToRgb:function(){return r}})},"./node_modules/fast-png/lib-esm/helpers/applyUnfilter.js":function(e,t,A){"use strict";A.r(t),A.d(t,{applyUnfilter:function(){return n}});var r=A("./node_modules/fast-png/lib-esm/helpers/unfilter.js");function n(e,t,A,n,s,i){switch(e){case 0:(0,r.unfilterNone)(t,A,s);break;case 1:(0,r.unfilterSub)(t,A,s,i);break;case 2:(0,r.unfilterUp)(t,A,n,s);break;case 3:(0,r.unfilterAverage)(t,A,n,s,i);break;case 4:(0,r.unfilterPaeth)(t,A,n,s,i);break;default:throw new Error(`Unsupported filter: ${e}`)}}},"./node_modules/fast-png/lib-esm/helpers/crc.js":function(e,t,A){"use strict";A.r(t),A.d(t,{checkCrc:function(){return i},writeCrc:function(){return o}});const r=[];for(let e=0;e<256;e++){let t=e;for(let e=0;e<8;e++)1&t?t=3988292384^t>>>1:t>>>=1;r[e]=t}const n=4294967295;function s(e,t){return(function(e,t,A){let n=e;for(let e=0;e<A;e++)n=r[255&(n^t[e])]^n>>>8;return n}(n,e,t)^n)>>>0}function i(e,t,A){const r=e.readUint32(),n=s(new Uint8Array(e.buffer,e.byteOffset+e.offset-t-4,t),t);if(n!==r)throw new Error(`CRC mismatch for chunk ${A}. Expected ${r}, found ${n}`)}function o(e,t){e.writeUint32(s(new Uint8Array(e.buffer,e.byteOffset+e.offset-t,t),t))}},"./node_modules/fast-png/lib-esm/helpers/decodeInterlaceAdam7.js":function(e,t,A){"use strict";A.r(t),A.d(t,{decodeInterlaceAdam7:function(){return i}});var r=A("./node_modules/fast-png/lib-esm/helpers/applyUnfilter.js");const n=new Uint16Array([255]),s=255===new Uint8Array(n.buffer)[0];function i(e){const{data:t,width:A,height:n,channels:i,depth:a}=e,l=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],c=Math.ceil(a/8)*i,u=new Uint8Array(n*A*c);let h=0;for(let e=0;e<7;e++){const s=l[e],i=Math.ceil((A-s.x)/s.xStep),o=Math.ceil((n-s.y)/s.yStep);if(i<=0||o<=0)continue;const a=i*c,d=new Uint8Array(a);for(let e=0;e<o;e++){const o=t[h++],l=t.subarray(h,h+a);h+=a;const f=new Uint8Array(a);(0,r.applyUnfilter)(o,l,f,d,a,c),d.set(f);for(let t=0;t<i;t++){const r=s.x+t*s.xStep,i=s.y+e*s.yStep;if(!(r>=A||i>=n))for(let e=0;e<c;e++)u[(i*A+r)*c+e]=f[t*c+e]}}}if(16===a){const e=new Uint16Array(u.buffer);if(s)for(let t=0;t<e.length;t++)e[t]=o(e[t]);return e}return u}function o(e){return(255&e)<<8|e>>8&255}},"./node_modules/fast-png/lib-esm/helpers/decodeInterlaceNull.js":function(e,t,A){"use strict";A.r(t),A.d(t,{decodeInterlaceNull:function(){return o}});var r=A("./node_modules/fast-png/lib-esm/helpers/unfilter.js");const n=new Uint16Array([255]),s=255===new Uint8Array(n.buffer)[0],i=new Uint8Array(0);function o(e){const{data:t,width:A,height:n,channels:o,depth:l}=e,c=Math.ceil(l/8)*o,u=Math.ceil(l/8*o*A),h=new Uint8Array(n*u);let d,f,p=i,g=0;for(let e=0;e<n;e++){switch(d=t.subarray(g+1,g+1+u),f=h.subarray(e*u,(e+1)*u),t[g]){case 0:(0,r.unfilterNone)(d,f,u);break;case 1:(0,r.unfilterSub)(d,f,u,c);break;case 2:(0,r.unfilterUp)(d,f,p,u);break;case 3:(0,r.unfilterAverage)(d,f,p,u,c);break;case 4:(0,r.unfilterPaeth)(d,f,p,u,c);break;default:throw new Error(`Unsupported filter: ${t[g]}`)}p=f,g+=u+1}if(16===l){const e=new Uint16Array(h.buffer);if(s)for(let t=0;t<e.length;t++)e[t]=a(e[t]);return e}return h}function a(e){return(255&e)<<8|e>>8&255}},"./node_modules/fast-png/lib-esm/helpers/signature.js":function(e,t,A){"use strict";A.r(t),A.d(t,{checkSignature:function(){return s},hasPngSignature:function(){return i},writeSignature:function(){return n}});const r=Uint8Array.of(137,80,78,71,13,10,26,10);function n(e){e.writeBytes(r)}function s(e){if(!i(e.readBytes(r.length)))throw new Error("wrong PNG signature")}function i(e){if(e.length<r.length)return!1;for(let t=0;t<r.length;t++)if(e[t]!==r[t])return!1;return!0}},"./node_modules/fast-png/lib-esm/helpers/text.js":function(e,t,A){"use strict";A.r(t),A.d(t,{decodetEXt:function(){return c},encodetEXt:function(){return u},readKeyword:function(){return h},readLatin1:function(){return d},textChunkName:function(){return n}});var r=A("./node_modules/fast-png/lib-esm/helpers/crc.js");const n="tEXt",s=0,i=new TextDecoder("latin1");function o(e){if(l(e),0===e.length||e.length>79)throw new Error("keyword length must be between 1 and 79")}const a=/^[\u0000-\u00FF]*$/;function l(e){if(!a.test(e))throw new Error("invalid latin1 text")}function c(e,t,A){const r=h(t);e[r]=d(t,A-r.length-1)}function u(e,t,A){o(t),l(A);const i=t.length+1+A.length;e.writeUint32(i),e.writeChars(n),e.writeChars(t),e.writeByte(s),e.writeChars(A),(0,r.writeCrc)(e,i+4)}function h(e){for(e.mark();e.readByte()!==s;);const t=e.offset;e.reset();const A=i.decode(e.readBytes(t-e.offset-1));return e.skip(1),o(A),A}function d(e,t){return i.decode(e.readBytes(t))}},"./node_modules/fast-png/lib-esm/helpers/unfilter.js":function(e,t,A){"use strict";function r(e,t,A){for(let r=0;r<A;r++)t[r]=e[r]}function n(e,t,A,r){let n=0;for(;n<r;n++)t[n]=e[n];for(;n<A;n++)t[n]=e[n]+t[n-r]&255}function s(e,t,A,r){let n=0;if(0===A.length)for(;n<r;n++)t[n]=e[n];else for(;n<r;n++)t[n]=e[n]+A[n]&255}function i(e,t,A,r,n){let s=0;if(0===A.length){for(;s<n;s++)t[s]=e[s];for(;s<r;s++)t[s]=e[s]+(t[s-n]>>1)&255}else{for(;s<n;s++)t[s]=e[s]+(A[s]>>1)&255;for(;s<r;s++)t[s]=e[s]+(t[s-n]+A[s]>>1)&255}}function o(e,t,A,r,n){let s=0;if(0===A.length){for(;s<n;s++)t[s]=e[s];for(;s<r;s++)t[s]=e[s]+t[s-n]&255}else{for(;s<n;s++)t[s]=e[s]+A[s]&255;for(;s<r;s++)t[s]=e[s]+a(t[s-n],A[s],A[s-n])&255}}function a(e,t,A){const r=e+t-A,n=Math.abs(r-e),s=Math.abs(r-t),i=Math.abs(r-A);return n<=s&&n<=i?e:s<=i?t:A}A.r(t),A.d(t,{unfilterAverage:function(){return i},unfilterNone:function(){return r},unfilterPaeth:function(){return o},unfilterSub:function(){return n},unfilterUp:function(){return s}})},"./node_modules/fast-png/lib-esm/index.js":function(e,t,A){"use strict";A.r(t),A.d(t,{ResolutionUnitSpecifier:function(){return i.ResolutionUnitSpecifier},convertIndexedToRgb:function(){return o.convertIndexedToRgb},decode:function(){return a},decodeApng:function(){return c},encode:function(){return l},hasPngSignature:function(){return s.hasPngSignature}});var r=A("./node_modules/fast-png/lib-esm/PngDecoder.js"),n=A("./node_modules/fast-png/lib-esm/PngEncoder.js"),s=A("./node_modules/fast-png/lib-esm/helpers/signature.js"),i=A("./node_modules/fast-png/lib-esm/types.js"),o=A("./node_modules/fast-png/lib-esm/convertIndexedToRgb.js");function a(e,t){return new r.default(e,t).decode()}function l(e,t){return new n.default(e,t).encode()}function c(e,t){return new r.default(e,t).decodeApng()}},"./node_modules/fast-png/lib-esm/internalTypes.js":function(e,t,A){"use strict";A.r(t),A.d(t,{BlendOpType:function(){return a},ColorType:function(){return r},CompressionMethod:function(){return n},DisposeOpType:function(){return o},FilterMethod:function(){return s},InterlaceMethod:function(){return i}});const r={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},n={UNKNOWN:-1,DEFLATE:0},s={UNKNOWN:-1,ADAPTIVE:0},i={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},o={NONE:0,BACKGROUND:1,PREVIOUS:2},a={SOURCE:0,OVER:1}},"./node_modules/fast-png/lib-esm/types.js":function(e,t,A){"use strict";var r;A.r(t),A.d(t,{ResolutionUnitSpecifier:function(){return r}}),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.METRE=1]="METRE"}(r||(r={}))},"./node_modules/fflate/esm/browser.js":function(e,t,A){"use strict";A.r(t),A.d(t,{AsyncCompress:function(){return Le},AsyncDecompress:function(){return We},AsyncDeflate:function(){return _e},AsyncGunzip:function(){return He},AsyncGzip:function(){return Le},AsyncInflate:function(){return Qe},AsyncUnzipInflate:function(){return vt},AsyncUnzlib:function(){return Ve},AsyncZipDeflate:function(){return pt},AsyncZlib:function(){return Me},Compress:function(){return Se},DecodeUTF8:function(){return At},Decompress:function(){return qe},Deflate:function(){return Ce},EncodeUTF8:function(){return rt},FlateErrorCode:function(){return L},Gunzip:function(){return ke},Gzip:function(){return Se},Inflate:function(){return Fe},Unzip:function(){return bt},UnzipInflate:function(){return yt},UnzipPassThrough:function(){return Bt},Unzlib:function(){return Ke},Zip:function(){return gt},ZipDeflate:function(){return ft},ZipPassThrough:function(){return dt},Zlib:function(){return Oe},compress:function(){return Ie},compressSync:function(){return Ne},decompress:function(){return Xe},decompressSync:function(){return Ye},deflate:function(){return je},deflateSync:function(){return xe},gunzip:function(){return Pe},gunzipSync:function(){return Te},gzip:function(){return Ie},gzipSync:function(){return Ne},inflate:function(){return Ue},inflateSync:function(){return Ee},strFromU8:function(){return st},strToU8:function(){return nt},unzip:function(){return _t},unzipSync:function(){return jt},unzlib:function(){return Ge},unzlibSync:function(){return ze},zip:function(){return mt},zipSync:function(){return wt},zlib:function(){return De},zlibSync:function(){return Re}});var r={},n=Uint8Array,s=Uint16Array,i=Int32Array,o=new n([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,0,0,0]),a=new n([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,0,0]),l=new n([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(e,t){for(var A=new s(31),r=0;r<31;++r)A[r]=t+=1<<e[r-1];var n=new i(A[30]);for(r=1;r<30;++r)for(var o=A[r];o<A[r+1];++o)n[o]=o-A[r]<<5|r;return{b:A,r:n}},u=c(o,2),h=u.b,d=u.r;h[28]=258,d[258]=28;for(var f=c(a,0),p=f.b,g=f.r,m=new s(32768),w=0;w<32768;++w){var B=(43690&w)>>1|(21845&w)<<1;B=(61680&(B=(52428&B)>>2|(13107&B)<<2))>>4|(3855&B)<<4,m[w]=((65280&B)>>8|(255&B)<<8)>>1}var y=function(e,t,A){for(var r=e.length,n=0,i=new s(t);n<r;++n)e[n]&&++i[e[n]-1];var o,a=new s(t);for(n=1;n<t;++n)a[n]=a[n-1]+i[n-1]<<1;if(A){o=new s(1<<t);var l=15-t;for(n=0;n<r;++n)if(e[n])for(var c=n<<4|e[n],u=t-e[n],h=a[e[n]-1]++<<u,d=h|(1<<u)-1;h<=d;++h)o[m[h]>>l]=c}else for(o=new s(r),n=0;n<r;++n)e[n]&&(o[n]=m[a[e[n]-1]++]>>15-e[n]);return o},v=new n(288);for(w=0;w<144;++w)v[w]=8;for(w=144;w<256;++w)v[w]=9;for(w=256;w<280;++w)v[w]=7;for(w=280;w<288;++w)v[w]=8;var b=new n(32);for(w=0;w<32;++w)b[w]=5;var C=y(v,9,0),_=y(v,9,1),j=y(b,5,0),x=y(b,5,1),F=function(e){for(var t=e[0],A=1;A<e.length;++A)e[A]>t&&(t=e[A]);return t},Q=function(e,t,A){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(7&t)&A},U=function(e,t){var A=t/8|0;return(e[A]|e[A+1]<<8|e[A+2]<<16)>>(7&t)},E=function(e){return(e+7)/8|0},S=function(e,t,A){return(null==t||t<0)&&(t=0),(null==A||A>e.length)&&(A=e.length),new n(e.subarray(t,A))},L={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},I=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],N=function(e,t,A){var r=new Error(t||I[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,N),!A)throw r;return r},k=function(e,t,A,r){var s=e.length,i=r?r.length:0;if(!s||t.f&&!t.l)return A||new n(0);var c=!A,u=c||2!=t.i,d=t.i;c&&(A=new n(3*s));var f=function(e){var t=A.length;if(e>t){var r=new n(Math.max(2*t,e));r.set(A),A=r}},g=t.f||0,m=t.p||0,w=t.b||0,B=t.l,v=t.d,b=t.m,C=t.n,j=8*s;do{if(!B){g=Q(e,m,1);var L=Q(e,m+1,3);if(m+=3,!L){var I=e[(G=E(m)+4)-4]|e[G-3]<<8,k=G+I;if(k>s){d&&N(0);break}u&&f(w+I),A.set(e.subarray(G,k),w),t.b=w+=I,t.p=m=8*k,t.f=g;continue}if(1==L)B=_,v=x,b=9,C=5;else if(2==L){var H=Q(e,m,31)+257,P=Q(e,m+10,15)+4,T=H+Q(e,m+5,31)+1;m+=14;for(var O=new n(T),M=new n(19),D=0;D<P;++D)M[l[D]]=Q(e,m+3*D,7);m+=3*P;var R=F(M),K=(1<<R)-1,V=y(M,R,1);for(D=0;D<T;){var G,z=V[Q(e,m,K)];if(m+=15&z,(G=z>>4)<16)O[D++]=G;else{var q=0,W=0;for(16==G?(W=3+Q(e,m,3),m+=2,q=O[D-1]):17==G?(W=3+Q(e,m,7),m+=3):18==G&&(W=11+Q(e,m,127),m+=7);W--;)O[D++]=q}}var X=O.subarray(0,H),Y=O.subarray(H);b=F(X),C=F(Y),B=y(X,b,1),v=y(Y,C,1)}else N(1);if(m>j){d&&N(0);break}}u&&f(w+131072);for(var J=(1<<b)-1,Z=(1<<C)-1,$=m;;$=m){var ee=(q=B[U(e,m)&J])>>4;if((m+=15&q)>j){d&&N(0);break}if(q||N(2),ee<256)A[w++]=ee;else{if(256==ee){$=m,B=null;break}var te=ee-254;if(ee>264){var Ae=o[D=ee-257];te=Q(e,m,(1<<Ae)-1)+h[D],m+=Ae}var re=v[U(e,m)&Z],ne=re>>4;if(re||N(3),m+=15&re,Y=p[ne],ne>3&&(Ae=a[ne],Y+=U(e,m)&(1<<Ae)-1,m+=Ae),m>j){d&&N(0);break}u&&f(w+131072);var se=w+te;if(w<Y){var ie=i-Y,oe=Math.min(Y,se);for(ie+w<0&&N(3);w<oe;++w)A[w]=r[ie+w]}for(;w<se;++w)A[w]=A[w-Y]}}t.l=B,t.p=$,t.b=w,t.f=g,B&&(g=1,t.m=b,t.d=v,t.n=C)}while(!g);return w!=A.length&&c?S(A,0,w):A.subarray(0,w)},H=function(e,t,A){A<<=7&t;var r=t/8|0;e[r]|=A,e[r+1]|=A>>8},P=function(e,t,A){A<<=7&t;var r=t/8|0;e[r]|=A,e[r+1]|=A>>8,e[r+2]|=A>>16},T=function(e,t){for(var A=[],r=0;r<e.length;++r)e[r]&&A.push({s:r,f:e[r]});var i=A.length,o=A.slice();if(!i)return{t:G,l:0};if(1==i){var a=new n(A[0].s+1);return a[A[0].s]=1,{t:a,l:1}}A.sort(function(e,t){return e.f-t.f}),A.push({s:-1,f:25001});var l=A[0],c=A[1],u=0,h=1,d=2;for(A[0]={s:-1,f:l.f+c.f,l:l,r:c};h!=i-1;)l=A[A[u].f<A[d].f?u++:d++],c=A[u!=h&&A[u].f<A[d].f?u++:d++],A[h++]={s:-1,f:l.f+c.f,l:l,r:c};var f=o[0].s;for(r=1;r<i;++r)o[r].s>f&&(f=o[r].s);var p=new s(f+1),g=O(A[h-1],p,0);if(g>t){r=0;var m=0,w=g-t,B=1<<w;for(o.sort(function(e,t){return p[t.s]-p[e.s]||e.f-t.f});r<i;++r){var y=o[r].s;if(!(p[y]>t))break;m+=B-(1<<g-p[y]),p[y]=t}for(m>>=w;m>0;){var v=o[r].s;p[v]<t?m-=1<<t-p[v]++-1:++r}for(;r>=0&&m;--r){var b=o[r].s;p[b]==t&&(--p[b],++m)}g=t}return{t:new n(p),l:g}},O=function(e,t,A){return-1==e.s?Math.max(O(e.l,t,A+1),O(e.r,t,A+1)):t[e.s]=A},M=function(e){for(var t=e.length;t&&!e[--t];);for(var A=new s(++t),r=0,n=e[0],i=1,o=function(e){A[r++]=e},a=1;a<=t;++a)if(e[a]==n&&a!=t)++i;else{if(!n&&i>2){for(;i>138;i-=138)o(32754);i>2&&(o(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(o(n),--i;i>6;i-=6)o(8304);i>2&&(o(i-3<<5|8208),i=0)}for(;i--;)o(n);i=1,n=e[a]}return{c:A.subarray(0,r),n:t}},D=function(e,t){for(var A=0,r=0;r<t.length;++r)A+=e[r]*t[r];return A},R=function(e,t,A){var r=A.length,n=E(t+2);e[n]=255&r,e[n+1]=r>>8,e[n+2]=255^e[n],e[n+3]=255^e[n+1];for(var s=0;s<r;++s)e[n+s+4]=A[s];return 8*(n+4+r)},K=function(e,t,A,r,n,i,c,u,h,d,f){H(t,f++,A),++n[256];for(var p=T(n,15),g=p.t,m=p.l,w=T(i,15),B=w.t,_=w.l,x=M(g),F=x.c,Q=x.n,U=M(B),E=U.c,S=U.n,L=new s(19),I=0;I<F.length;++I)++L[31&F[I]];for(I=0;I<E.length;++I)++L[31&E[I]];for(var N=T(L,7),k=N.t,O=N.l,K=19;K>4&&!k[l[K-1]];--K);var V,G,z,q,W=d+5<<3,X=D(n,v)+D(i,b)+c,Y=D(n,g)+D(i,B)+c+14+3*K+D(L,k)+2*L[16]+3*L[17]+7*L[18];if(h>=0&&W<=X&&W<=Y)return R(t,f,e.subarray(h,h+d));if(H(t,f,1+(Y<X)),f+=2,Y<X){V=y(g,m,0),G=g,z=y(B,_,0),q=B;var J=y(k,O,0);for(H(t,f,Q-257),H(t,f+5,S-1),H(t,f+10,K-4),f+=14,I=0;I<K;++I)H(t,f+3*I,k[l[I]]);f+=3*K;for(var Z=[F,E],$=0;$<2;++$){var ee=Z[$];for(I=0;I<ee.length;++I){var te=31&ee[I];H(t,f,J[te]),f+=k[te],te>15&&(H(t,f,ee[I]>>5&127),f+=ee[I]>>12)}}}else V=C,G=v,z=j,q=b;for(I=0;I<u;++I){var Ae=r[I];if(Ae>255){P(t,f,V[257+(te=Ae>>18&31)]),f+=G[te+257],te>7&&(H(t,f,Ae>>23&31),f+=o[te]);var re=31&Ae;P(t,f,z[re]),f+=q[re],re>3&&(P(t,f,Ae>>5&8191),f+=a[re])}else P(t,f,V[Ae]),f+=G[Ae]}return P(t,f,V[256]),f+G[256]},V=new i([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),G=new n(0),z=function(e,t,A,r,l,c){var u=c.z||e.length,h=new n(r+u+5*(1+Math.ceil(u/7e3))+l),f=h.subarray(r,h.length-l),p=c.l,m=7&(c.r||0);if(t){m&&(f[0]=c.r>>3);for(var w=V[t-1],B=w>>13,y=8191&w,v=(1<<A)-1,b=c.p||new s(32768),C=c.h||new s(v+1),_=Math.ceil(A/3),j=2*_,x=function(t){return(e[t]^e[t+1]<<_^e[t+2]<<j)&v},F=new i(25e3),Q=new s(288),U=new s(32),L=0,I=0,N=c.i||0,k=0,H=c.w||0,P=0;N+2<u;++N){var T=x(N),O=32767&N,M=C[T];if(b[O]=M,C[T]=O,H<=N){var D=u-N;if((L>7e3||k>24576)&&(D>423||!p)){m=K(e,f,0,F,Q,U,I,k,P,N-P,m),k=L=I=0,P=N;for(var G=0;G<286;++G)Q[G]=0;for(G=0;G<30;++G)U[G]=0}var z=2,q=0,W=y,X=O-M&32767;if(D>2&&T==x(N-X))for(var Y=Math.min(B,D)-1,J=Math.min(32767,N),Z=Math.min(258,D);X<=J&&--W&&O!=M;){if(e[N+z]==e[N+z-X]){for(var $=0;$<Z&&e[N+$]==e[N+$-X];++$);if($>z){if(z=$,q=X,$>Y)break;var ee=Math.min(X,$-2),te=0;for(G=0;G<ee;++G){var Ae=N-X+G&32767,re=Ae-b[Ae]&32767;re>te&&(te=re,M=Ae)}}}X+=(O=M)-(M=b[O])&32767}if(q){F[k++]=268435456|d[z]<<18|g[q];var ne=31&d[z],se=31&g[q];I+=o[ne]+a[se],++Q[257+ne],++U[se],H=N+z,++L}else F[k++]=e[N],++Q[e[N]]}}for(N=Math.max(N,H);N<u;++N)F[k++]=e[N],++Q[e[N]];m=K(e,f,p,F,Q,U,I,k,P,N-P,m),p||(c.r=7&m|f[m/8|0]<<3,m-=7,c.h=C,c.p=b,c.i=N,c.w=H)}else{for(N=c.w||0;N<u+p;N+=65535){var ie=N+65535;ie>=u&&(f[m/8|0]=p,ie=u),m=R(f,m+1,e.subarray(N,ie))}c.i=u}return S(h,0,r+E(m)+l)},q=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var A=t,r=9;--r;)A=(1&A&&-306674912)^A>>>1;e[t]=A}return e}(),W=function(){var e=-1;return{p:function(t){for(var A=e,r=0;r<t.length;++r)A=q[255&A^t[r]]^A>>>8;e=A},d:function(){return~e}}},X=function(){var e=1,t=0;return{p:function(A){for(var r=e,n=t,s=0|A.length,i=0;i!=s;){for(var o=Math.min(i+2655,s);i<o;++i)n+=r+=A[i];r=(65535&r)+15*(r>>16),n=(65535&n)+15*(n>>16)}e=r,t=n},d:function(){return(255&(e%=65521))<<24|(65280&e)<<8|(255&(t%=65521))<<8|t>>8}}},Y=function(e,t,A,r,s){if(!s&&(s={l:1},t.dictionary)){var i=t.dictionary.subarray(-32768),o=new n(i.length+e.length);o.set(i),o.set(e,i.length),e=o,s.w=i.length}return z(e,null==t.level?6:t.level,null==t.mem?s.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,A,r,s)},J=function(e,t){var A={};for(var r in e)A[r]=e[r];for(var r in t)A[r]=t[r];return A},Z=function(e,t,A){for(var r=e(),n=e.toString(),s=n.slice(n.indexOf("[")+1,n.lastIndexOf("]")).replace(/\s+/g,"").split(","),i=0;i<r.length;++i){var o=r[i],a=s[i];if("function"==typeof o){t+=";"+a+"=";var l=o.toString();if(o.prototype)if(-1!=l.indexOf("[native code]")){var c=l.indexOf(" ",8)+1;t+=l.slice(c,l.indexOf("(",c))}else for(var u in t+=l,o.prototype)t+=";"+a+".prototype."+u+"="+o.prototype[u].toString();else t+=l}else A[a]=o}return t},$=[],ee=function(e,t,A,n){if(!$[A]){for(var s="",i={},o=e.length-1,a=0;a<o;++a)s=Z(e[a],s,i);$[A]={c:Z(e[o],s,i),e:i}}var l=J({},$[A].e);return function(e,t,A,n,s){var i=new Worker(r[t]||(r[t]=URL.createObjectURL(new Blob([e+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return i.onmessage=function(e){var t=e.data,A=t.$e$;if(A){var r=new Error(A[0]);r.code=A[1],r.stack=A[2],s(r,null)}else s(null,t)},i.postMessage(A,n),i}($[A].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+t.toString()+"}",A,l,function(e){var t=[];for(var A in e)e[A].buffer&&t.push((e[A]=new e[A].constructor(e[A])).buffer);return t}(l),n)},te=function(){return[n,s,i,o,a,l,h,p,_,x,m,I,y,F,Q,U,E,S,N,k,Ee,oe,ae]},Ae=function(){return[n,s,i,o,a,l,d,g,C,v,j,b,m,V,G,y,H,P,T,O,M,D,R,K,E,S,z,Y,xe,oe]},re=function(){return[ge,Be,pe,W,q]},ne=function(){return[me,we]},se=function(){return[ye,pe,X]},ie=function(){return[ve]},oe=function(e){return postMessage(e,[e.buffer])},ae=function(e){return e&&{out:e.size&&new n(e.size),dictionary:e.dictionary}},le=function(e,t,A,r,n,s){var i=ee(A,r,n,function(e,t){i.terminate(),s(e,t)});return i.postMessage([e,t],t.consume?[e.buffer]:[]),function(){i.terminate()}},ce=function(e){return e.ondata=function(e,t){return postMessage([e,t],[e.buffer])},function(t){t.data.length?(e.push(t.data[0],t.data[1]),postMessage([t.data[0].length])):e.flush()}},ue=function(e,t,A,r,n,s,i){var o,a=ee(e,r,n,function(e,A){e?(a.terminate(),t.ondata.call(t,e)):Array.isArray(A)?1==A.length?(t.queuedSize-=A[0],t.ondrain&&t.ondrain(A[0])):(A[1]&&a.terminate(),t.ondata.call(t,e,A[0],A[1])):i(A)});a.postMessage(A),t.queuedSize=0,t.push=function(e,A){t.ondata||N(5),o&&t.ondata(N(4,0,1),null,!!A),t.queuedSize+=e.length,a.postMessage([e,o=A],[e.buffer])},t.terminate=function(){a.terminate()},s&&(t.flush=function(){a.postMessage([])})},he=function(e,t){return e[t]|e[t+1]<<8},de=function(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0},fe=function(e,t){return de(e,t)+4294967296*de(e,t+4)},pe=function(e,t,A){for(;A;++t)e[t]=A,A>>>=8},ge=function(e,t){var A=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:9==t.level?2:0,e[9]=3,0!=t.mtime&&pe(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),A){e[3]=8;for(var r=0;r<=A.length;++r)e[r+10]=A.charCodeAt(r)}},me=function(e){31==e[0]&&139==e[1]&&8==e[2]||N(6,"invalid gzip data");var t=e[3],A=10;4&t&&(A+=2+(e[10]|e[11]<<8));for(var r=(t>>3&1)+(t>>4&1);r>0;r-=!e[A++]);return A+(2&t)},we=function(e){var t=e.length;return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0},Be=function(e){return 10+(e.filename?e.filename.length+1:0)},ye=function(e,t){var A=t.level,r=0==A?0:A<6?1:9==A?3:2;if(e[0]=120,e[1]=r<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var n=X();n.p(t.dictionary),pe(e,2,n.d())}},ve=function(e,t){return(8!=(15&e[0])||e[0]>>4>7||(e[0]<<8|e[1])%31)&&N(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&N(6,"invalid zlib data: "+(32&e[1]?"need":"unexpected")+" dictionary"),2+(e[1]>>3&4)};function be(e,t){return"function"==typeof e&&(t=e,e={}),this.ondata=t,e}var Ce=function(){function e(e,t){if("function"==typeof e&&(t=e,e={}),this.ondata=t,this.o=e||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new n(98304),this.o.dictionary){var A=this.o.dictionary.subarray(-32768);this.b.set(A,32768-A.length),this.s.i=32768-A.length}}return e.prototype.p=function(e,t){this.ondata(Y(e,this.o,0,0,this.s),t)},e.prototype.push=function(e,t){this.ondata||N(5),this.s.l&&N(4);var A=e.length+this.s.z;if(A>this.b.length){if(A>2*this.b.length-32768){var r=new n(-32768&A);r.set(this.b.subarray(0,this.s.z)),this.b=r}var s=this.b.length-this.s.z;this.b.set(e.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(e.subarray(s),32768),this.s.z=e.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(e,this.s.z),this.s.z+=e.length;this.s.l=1&t,(this.s.z>this.s.w+8191||t)&&(this.p(this.b,t||!1),this.s.w=this.s.i,this.s.i-=2)},e.prototype.flush=function(){this.ondata||N(5),this.s.l&&N(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},e}(),_e=function(){return function(e,t){ue([Ae,function(){return[ce,Ce]}],this,be.call(this,e,t),function(e){var t=new Ce(e.data);onmessage=ce(t)},6,1)}}();function je(e,t,A){return A||(A=t,t={}),"function"!=typeof A&&N(7),le(e,t,[Ae],function(e){return oe(xe(e.data[0],e.data[1]))},0,A)}function xe(e,t){return Y(e,t||{},0,0)}var Fe=function(){function e(e,t){"function"==typeof e&&(t=e,e={}),this.ondata=t;var A=e&&e.dictionary&&e.dictionary.subarray(-32768);this.s={i:0,b:A?A.length:0},this.o=new n(32768),this.p=new n(0),A&&this.o.set(A)}return e.prototype.e=function(e){if(this.ondata||N(5),this.d&&N(4),this.p.length){if(e.length){var t=new n(this.p.length+e.length);t.set(this.p),t.set(e,this.p.length),this.p=t}}else this.p=e},e.prototype.c=function(e){this.s.i=+(this.d=e||!1);var t=this.s.b,A=k(this.p,this.s,this.o);this.ondata(S(A,t,this.s.b),this.d),this.o=S(A,this.s.b-32768),this.s.b=this.o.length,this.p=S(this.p,this.s.p/8|0),this.s.p&=7},e.prototype.push=function(e,t){this.e(e),this.c(t)},e}(),Qe=function(){return function(e,t){ue([te,function(){return[ce,Fe]}],this,be.call(this,e,t),function(e){var t=new Fe(e.data);onmessage=ce(t)},7,0)}}();function Ue(e,t,A){return A||(A=t,t={}),"function"!=typeof A&&N(7),le(e,t,[te],function(e){return oe(Ee(e.data[0],ae(e.data[1])))},1,A)}function Ee(e,t){return k(e,{i:2},t&&t.out,t&&t.dictionary)}var Se=function(){function e(e,t){this.c=W(),this.l=0,this.v=1,Ce.call(this,e,t)}return e.prototype.push=function(e,t){this.c.p(e),this.l+=e.length,Ce.prototype.push.call(this,e,t)},e.prototype.p=function(e,t){var A=Y(e,this.o,this.v&&Be(this.o),t&&8,this.s);this.v&&(ge(A,this.o),this.v=0),t&&(pe(A,A.length-8,this.c.d()),pe(A,A.length-4,this.l)),this.ondata(A,t)},e.prototype.flush=function(){Ce.prototype.flush.call(this)},e}(),Le=function(){return function(e,t){ue([Ae,re,function(){return[ce,Ce,Se]}],this,be.call(this,e,t),function(e){var t=new Se(e.data);onmessage=ce(t)},8,1)}}();function Ie(e,t,A){return A||(A=t,t={}),"function"!=typeof A&&N(7),le(e,t,[Ae,re,function(){return[Ne]}],function(e){return oe(Ne(e.data[0],e.data[1]))},2,A)}function Ne(e,t){t||(t={});var A=W(),r=e.length;A.p(e);var n=Y(e,t,Be(t),8),s=n.length;return ge(n,t),pe(n,s-8,A.d()),pe(n,s-4,r),n}var ke=function(){function e(e,t){this.v=1,this.r=0,Fe.call(this,e,t)}return e.prototype.push=function(e,t){if(Fe.prototype.e.call(this,e),this.r+=e.length,this.v){var A=this.p.subarray(this.v-1),r=A.length>3?me(A):4;if(r>A.length){if(!t)return}else this.v>1&&this.onmember&&this.onmember(this.r-A.length);this.p=A.subarray(r),this.v=0}Fe.prototype.c.call(this,t),!this.s.f||this.s.l||t||(this.v=E(this.s.p)+9,this.s={i:0},this.o=new n(0),this.push(new n(0),t))},e}(),He=function(){return function(e,t){var A=this;ue([te,ne,function(){return[ce,Fe,ke]}],this,be.call(this,e,t),function(e){var t=new ke(e.data);t.onmember=function(e){return postMessage(e)},onmessage=ce(t)},9,0,function(e){return A.onmember&&A.onmember(e)})}}();function Pe(e,t,A){return A||(A=t,t={}),"function"!=typeof A&&N(7),le(e,t,[te,ne,function(){return[Te]}],function(e){return oe(Te(e.data[0],e.data[1]))},3,A)}function Te(e,t){var A=me(e);return A+8>e.length&&N(6,"invalid gzip data"),k(e.subarray(A,-8),{i:2},t&&t.out||new n(we(e)),t&&t.dictionary)}var Oe=function(){function e(e,t){this.c=X(),this.v=1,Ce.call(this,e,t)}return e.prototype.push=function(e,t){this.c.p(e),Ce.prototype.push.call(this,e,t)},e.prototype.p=function(e,t){var A=Y(e,this.o,this.v&&(this.o.dictionary?6:2),t&&4,this.s);this.v&&(ye(A,this.o),this.v=0),t&&pe(A,A.length-4,this.c.d()),this.ondata(A,t)},e.prototype.flush=function(){Ce.prototype.flush.call(this)},e}(),Me=function(){return function(e,t){ue([Ae,se,function(){return[ce,Ce,Oe]}],this,be.call(this,e,t),function(e){var t=new Oe(e.data);onmessage=ce(t)},10,1)}}();function De(e,t,A){return A||(A=t,t={}),"function"!=typeof A&&N(7),le(e,t,[Ae,se,function(){return[Re]}],function(e){return oe(Re(e.data[0],e.data[1]))},4,A)}function Re(e,t){t||(t={});var A=X();A.p(e);var r=Y(e,t,t.dictionary?6:2,4);return ye(r,t),pe(r,r.length-4,A.d()),r}var Ke=function(){function e(e,t){Fe.call(this,e,t),this.v=e&&e.dictionary?2:1}return e.prototype.push=function(e,t){if(Fe.prototype.e.call(this,e),this.v){if(this.p.length<6&&!t)return;this.p=this.p.subarray(ve(this.p,this.v-1)),this.v=0}t&&(this.p.length<4&&N(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),Fe.prototype.c.call(this,t)},e}(),Ve=function(){return function(e,t){ue([te,ie,function(){return[ce,Fe,Ke]}],this,be.call(this,e,t),function(e){var t=new Ke(e.data);onmessage=ce(t)},11,0)}}();function Ge(e,t,A){return A||(A=t,t={}),"function"!=typeof A&&N(7),le(e,t,[te,ie,function(){return[ze]}],function(e){return oe(ze(e.data[0],ae(e.data[1])))},5,A)}function ze(e,t){return k(e.subarray(ve(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var qe=function(){function e(e,t){this.o=be.call(this,e,t)||{},this.G=ke,this.I=Fe,this.Z=Ke}return e.prototype.i=function(){var e=this;this.s.ondata=function(t,A){e.ondata(t,A)}},e.prototype.push=function(e,t){if(this.ondata||N(5),this.s)this.s.push(e,t);else{if(this.p&&this.p.length){var A=new n(this.p.length+e.length);A.set(this.p),A.set(e,this.p.length)}else this.p=e;this.p.length>2&&(this.s=31==this.p[0]&&139==this.p[1]&&8==this.p[2]?new this.G(this.o):8!=(15&this.p[0])||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(this.o):new this.Z(this.o),this.i(),this.s.push(this.p,t),this.p=null)}},e}(),We=function(){function e(e,t){qe.call(this,e,t),this.queuedSize=0,this.G=He,this.I=Qe,this.Z=Ve}return e.prototype.i=function(){var e=this;this.s.ondata=function(t,A,r){e.ondata(t,A,r)},this.s.ondrain=function(t){e.queuedSize-=t,e.ondrain&&e.ondrain(t)}},e.prototype.push=function(e,t){this.queuedSize+=e.length,qe.prototype.push.call(this,e,t)},e}();function Xe(e,t,A){return A||(A=t,t={}),"function"!=typeof A&&N(7),31==e[0]&&139==e[1]&&8==e[2]?Pe(e,t,A):8!=(15&e[0])||e[0]>>4>7||(e[0]<<8|e[1])%31?Ue(e,t,A):Ge(e,t,A)}function Ye(e,t){return 31==e[0]&&139==e[1]&&8==e[2]?Te(e,t):8!=(15&e[0])||e[0]>>4>7||(e[0]<<8|e[1])%31?Ee(e,t):ze(e,t)}var Je=function(e,t,A,r){for(var s in e){var i=e[s],o=t+s,a=r;Array.isArray(i)&&(a=J(r,i[1]),i=i[0]),i instanceof n?A[o]=[i,a]:(A[o+="/"]=[new n(0),a],Je(i,o,A,r))}},Ze="undefined"!=typeof TextEncoder&&new TextEncoder,$e="undefined"!=typeof TextDecoder&&new TextDecoder,et=0;try{$e.decode(G,{stream:!0}),et=1}catch(e){}var tt=function(e){for(var t="",A=0;;){var r=e[A++],n=(r>127)+(r>223)+(r>239);if(A+n>e.length)return{s:t,r:S(e,A-1)};n?3==n?(r=((15&r)<<18|(63&e[A++])<<12|(63&e[A++])<<6|63&e[A++])-65536,t+=String.fromCharCode(55296|r>>10,56320|1023&r)):t+=1&n?String.fromCharCode((31&r)<<6|63&e[A++]):String.fromCharCode((15&r)<<12|(63&e[A++])<<6|63&e[A++]):t+=String.fromCharCode(r)}},At=function(){function e(e){this.ondata=e,et?this.t=new TextDecoder:this.p=G}return e.prototype.push=function(e,t){if(this.ondata||N(5),t=!!t,this.t)return this.ondata(this.t.decode(e,{stream:!0}),t),void(t&&(this.t.decode().length&&N(8),this.t=null));this.p||N(4);var A=new n(this.p.length+e.length);A.set(this.p),A.set(e,this.p.length);var r=tt(A),s=r.s,i=r.r;t?(i.length&&N(8),this.p=null):this.p=i,this.ondata(s,t)},e}(),rt=function(){function e(e){this.ondata=e}return e.prototype.push=function(e,t){this.ondata||N(5),this.d&&N(4),this.ondata(nt(e),this.d=t||!1)},e}();function nt(e,t){if(t){for(var A=new n(e.length),r=0;r<e.length;++r)A[r]=e.charCodeAt(r);return A}if(Ze)return Ze.encode(e);var s=e.length,i=new n(e.length+(e.length>>1)),o=0,a=function(e){i[o++]=e};for(r=0;r<s;++r){if(o+5>i.length){var l=new n(o+8+(s-r<<1));l.set(i),i=l}var c=e.charCodeAt(r);c<128||t?a(c):c<2048?(a(192|c>>6),a(128|63&c)):c>55295&&c<57344?(a(240|(c=65536+(1047552&c)|1023&e.charCodeAt(++r))>>18),a(128|c>>12&63),a(128|c>>6&63),a(128|63&c)):(a(224|c>>12),a(128|c>>6&63),a(128|63&c))}return S(i,0,o)}function st(e,t){if(t){for(var A="",r=0;r<e.length;r+=16384)A+=String.fromCharCode.apply(null,e.subarray(r,r+16384));return A}if($e)return $e.decode(e);var n=tt(e),s=n.s;return(A=n.r).length&&N(8),s}var it=function(e){return 1==e?3:e<6?2:9==e?1:0},ot=function(e,t){return t+30+he(e,t+26)+he(e,t+28)},at=function(e,t,A){var r=he(e,t+28),n=st(e.subarray(t+46,t+46+r),!(2048&he(e,t+8))),s=t+46+r,i=de(e,t+20),o=A&&4294967295==i?lt(e,s):[i,de(e,t+24),de(e,t+42)],a=o[0],l=o[1],c=o[2];return[he(e,t+10),a,l,n,s+he(e,t+30)+he(e,t+32),c]},lt=function(e,t){for(;1!=he(e,t);t+=4+he(e,t+2));return[fe(e,t+12),fe(e,t+4),fe(e,t+20)]},ct=function(e){var t=0;if(e)for(var A in e){var r=e[A].length;r>65535&&N(9),t+=r+4}return t},ut=function(e,t,A,r,n,s,i,o){var a=r.length,l=A.extra,c=o&&o.length,u=ct(l);pe(e,t,null!=i?33639248:67324752),t+=4,null!=i&&(e[t++]=20,e[t++]=A.os),e[t]=20,t+=2,e[t++]=A.flag<<1|(s<0&&8),e[t++]=n&&8,e[t++]=255&A.compression,e[t++]=A.compression>>8;var h=new Date(null==A.mtime?Date.now():A.mtime),d=h.getFullYear()-1980;if((d<0||d>119)&&N(10),pe(e,t,d<<25|h.getMonth()+1<<21|h.getDate()<<16|h.getHours()<<11|h.getMinutes()<<5|h.getSeconds()>>1),t+=4,-1!=s&&(pe(e,t,A.crc),pe(e,t+4,s<0?-s-2:s),pe(e,t+8,A.size)),pe(e,t+12,a),pe(e,t+14,u),t+=16,null!=i&&(pe(e,t,c),pe(e,t+6,A.attrs),pe(e,t+10,i),t+=14),e.set(r,t),t+=a,u)for(var f in l){var p=l[f],g=p.length;pe(e,t,+f),pe(e,t+2,g),e.set(p,t+4),t+=4+g}return c&&(e.set(o,t),t+=c),t},ht=function(e,t,A,r,n){pe(e,t,101010256),pe(e,t+8,A),pe(e,t+10,A),pe(e,t+12,r),pe(e,t+16,n)},dt=function(){function e(e){this.filename=e,this.c=W(),this.size=0,this.compression=0}return e.prototype.process=function(e,t){this.ondata(null,e,t)},e.prototype.push=function(e,t){this.ondata||N(5),this.c.p(e),this.size+=e.length,t&&(this.crc=this.c.d()),this.process(e,t||!1)},e}(),ft=function(){function e(e,t){var A=this;t||(t={}),dt.call(this,e),this.d=new Ce(t,function(e,t){A.ondata(null,e,t)}),this.compression=8,this.flag=it(t.level)}return e.prototype.process=function(e,t){try{this.d.push(e,t)}catch(e){this.ondata(e,null,t)}},e.prototype.push=function(e,t){dt.prototype.push.call(this,e,t)},e}(),pt=function(){function e(e,t){var A=this;t||(t={}),dt.call(this,e),this.d=new _e(t,function(e,t,r){A.ondata(e,t,r)}),this.compression=8,this.flag=it(t.level),this.terminate=this.d.terminate}return e.prototype.process=function(e,t){this.d.push(e,t)},e.prototype.push=function(e,t){dt.prototype.push.call(this,e,t)},e}(),gt=function(){function e(e){this.ondata=e,this.u=[],this.d=1}return e.prototype.add=function(e){var t=this;if(this.ondata||N(5),2&this.d)this.ondata(N(4+8*(1&this.d),0,1),null,!1);else{var A=nt(e.filename),r=A.length,s=e.comment,i=s&&nt(s),o=r!=e.filename.length||i&&s.length!=i.length,a=r+ct(e.extra)+30;r>65535&&this.ondata(N(11,0,1),null,!1);var l=new n(a);ut(l,0,e,A,o,-1);var c=[l],u=function(){for(var e=0,A=c;e<A.length;e++){var r=A[e];t.ondata(null,r,!1)}c=[]},h=this.d;this.d=0;var d=this.u.length,f=J(e,{f:A,u:o,o:i,t:function(){e.terminate&&e.terminate()},r:function(){if(u(),h){var e=t.u[d+1];e?e.r():t.d=1}h=1}}),p=0;e.ondata=function(A,r,s){if(A)t.ondata(A,r,s),t.terminate();else if(p+=r.length,c.push(r),s){var i=new n(16);pe(i,0,134695760),pe(i,4,e.crc),pe(i,8,p),pe(i,12,e.size),c.push(i),f.c=p,f.b=a+p+16,f.crc=e.crc,f.size=e.size,h&&f.r(),h=1}else h&&u()},this.u.push(f)}},e.prototype.end=function(){var e=this;2&this.d?this.ondata(N(4+8*(1&this.d),0,1),null,!0):(this.d?this.e():this.u.push({r:function(){1&e.d&&(e.u.splice(-1,1),e.e())},t:function(){}}),this.d=3)},e.prototype.e=function(){for(var e=0,t=0,A=0,r=0,s=this.u;r<s.length;r++)A+=46+(l=s[r]).f.length+ct(l.extra)+(l.o?l.o.length:0);for(var i=new n(A+22),o=0,a=this.u;o<a.length;o++){var l=a[o];ut(i,e,l,l.f,l.u,-l.c-2,t,l.o),e+=46+l.f.length+ct(l.extra)+(l.o?l.o.length:0),t+=l.b}ht(i,e,this.u.length,A,t),this.ondata(null,i,!0),this.d=2},e.prototype.terminate=function(){for(var e=0,t=this.u;e<t.length;e++)t[e].t();this.d=2},e}();function mt(e,t,A){A||(A=t,t={}),"function"!=typeof A&&N(7);var r={};Je(e,"",r,t);var s=Object.keys(r),i=s.length,o=0,a=0,l=i,c=new Array(i),u=[],h=function(){for(var e=0;e<u.length;++e)u[e]()},d=function(e,t){Ct(function(){A(e,t)})};Ct(function(){d=A});var f=function(){var e=new n(a+22),t=o,A=a-o;a=0;for(var r=0;r<l;++r){var s=c[r];try{var i=s.c.length;ut(e,a,s,s.f,s.u,i);var u=30+s.f.length+ct(s.extra),h=a+u;e.set(s.c,h),ut(e,o,s,s.f,s.u,i,a,s.m),o+=16+u+(s.m?s.m.length:0),a=h+i}catch(e){return d(e,null)}}ht(e,o,c.length,A,t),d(null,e)};i||f();for(var p=function(e){var t=s[e],A=r[t],n=A[0],l=A[1],p=W(),g=n.length;p.p(n);var m=nt(t),w=m.length,B=l.comment,y=B&&nt(B),v=y&&y.length,b=ct(l.extra),C=0==l.level?0:8,_=function(A,r){if(A)h(),d(A,null);else{var n=r.length;c[e]=J(l,{size:g,crc:p.d(),c:r,f:m,m:y,u:w!=t.length||y&&B.length!=v,compression:C}),o+=30+w+b+n,a+=76+2*(w+b)+(v||0)+n,--i||f()}};if(w>65535&&_(N(11,0,1),null),C)if(g<16e4)try{_(null,xe(n,l))}catch(e){_(e,null)}else u.push(je(n,l,_));else _(null,n)},g=0;g<l;++g)p(g);return h}function wt(e,t){t||(t={});var A={},r=[];Je(e,"",A,t);var s=0,i=0;for(var o in A){var a=A[o],l=a[0],c=a[1],u=0==c.level?0:8,h=(_=nt(o)).length,d=c.comment,f=d&&nt(d),p=f&&f.length,g=ct(c.extra);h>65535&&N(11);var m=u?xe(l,c):l,w=m.length,B=W();B.p(l),r.push(J(c,{size:l.length,crc:B.d(),c:m,f:_,m:f,u:h!=o.length||f&&d.length!=p,o:s,compression:u})),s+=30+h+g+w,i+=76+2*(h+g)+(p||0)+w}for(var y=new n(i+22),v=s,b=i-s,C=0;C<r.length;++C){var _=r[C];ut(y,_.o,_,_.f,_.u,_.c.length);var j=30+_.f.length+ct(_.extra);y.set(_.c,_.o+j),ut(y,s,_,_.f,_.u,_.c.length,_.o,_.m),s+=16+j+(_.m?_.m.length:0)}return ht(y,s,r.length,b,v),y}var Bt=function(){function e(){}return e.prototype.push=function(e,t){this.ondata(null,e,t)},e.compression=0,e}(),yt=function(){function e(){var e=this;this.i=new Fe(function(t,A){e.ondata(null,t,A)})}return e.prototype.push=function(e,t){try{this.i.push(e,t)}catch(e){this.ondata(e,null,t)}},e.compression=8,e}(),vt=function(){function e(e,t){var A=this;t<32e4?this.i=new Fe(function(e,t){A.ondata(null,e,t)}):(this.i=new Qe(function(e,t,r){A.ondata(e,t,r)}),this.terminate=this.i.terminate)}return e.prototype.push=function(e,t){this.i.terminate&&(e=S(e,0)),this.i.push(e,t)},e.compression=8,e}(),bt=function(){function e(e){this.onfile=e,this.k=[],this.o={0:Bt},this.p=G}return e.prototype.push=function(e,t){var A=this;if(this.onfile||N(5),this.p||N(4),this.c>0){var r=Math.min(this.c,e.length),s=e.subarray(0,r);if(this.c-=r,this.d?this.d.push(s,!this.c):this.k[0].push(s),(e=e.subarray(r)).length)return this.push(e,t)}else{var i=0,o=0,a=void 0,l=void 0;this.p.length?e.length?((l=new n(this.p.length+e.length)).set(this.p),l.set(e,this.p.length)):l=this.p:l=e;for(var c=l.length,u=this.c,h=u&&this.d,d=function(){var e,t=de(l,o);if(67324752==t){i=1,a=o,f.d=null,f.c=0;var r=he(l,o+6),n=he(l,o+8),s=2048&r,h=8&r,d=he(l,o+26),p=he(l,o+28);if(c>o+30+d+p){var g=[];f.k.unshift(g),i=2;var m,w=de(l,o+18),B=de(l,o+22),y=st(l.subarray(o+30,o+=30+d),!s);4294967295==w?(e=h?[-2]:lt(l,o),w=e[0],B=e[1]):h&&(w=-1),o+=p,f.c=w;var v={name:y,compression:n,start:function(){if(v.ondata||N(5),w){var e=A.o[n];e||v.ondata(N(14,"unknown compression type "+n,1),null,!1),(m=w<0?new e(y):new e(y,w,B)).ondata=function(e,t,A){v.ondata(e,t,A)};for(var t=0,r=g;t<r.length;t++){var s=r[t];m.push(s,!1)}A.k[0]==g&&A.c?A.d=m:m.push(G,!0)}else v.ondata(null,G,!0)},terminate:function(){m&&m.terminate&&m.terminate()}};w>=0&&(v.size=w,v.originalSize=B),f.onfile(v)}return"break"}if(u){if(134695760==t)return a=o+=12+(-2==u&&8),i=3,f.c=0,"break";if(33639248==t)return a=o-=4,i=3,f.c=0,"break"}},f=this;o<c-4&&"break"!==d();++o);if(this.p=G,u<0){var p=i?l.subarray(0,a-12-(-2==u&&8)-(134695760==de(l,a-16)&&4)):l.subarray(0,o);h?h.push(p,!!i):this.k[+(2==i)].push(p)}if(2&i)return this.push(l.subarray(o),t);this.p=l.subarray(o)}t&&(this.c&&N(13),this.p=null)},e.prototype.register=function(e){this.o[e.compression]=e},e}(),Ct="function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout?setTimeout:function(e){e()};function _t(e,t,A){A||(A=t,t={}),"function"!=typeof A&&N(7);var r=[],s=function(){for(var e=0;e<r.length;++e)r[e]()},i={},o=function(e,t){Ct(function(){A(e,t)})};Ct(function(){o=A});for(var a=e.length-22;101010256!=de(e,a);--a)if(!a||e.length-a>65558)return o(N(13,0,1),null),s;var l=he(e,a+8);if(l){var c=l,u=de(e,a+16),h=4294967295==u||65535==c;if(h){var d=de(e,a-12);(h=101075792==de(e,d))&&(c=l=de(e,d+32),u=de(e,d+48))}for(var f=t&&t.filter,p=function(t){var A=at(e,u,h),a=A[0],c=A[1],d=A[2],p=A[3],g=A[4],m=A[5],w=ot(e,m);u=g;var B=function(e,t){e?(s(),o(e,null)):(t&&(i[p]=t),--l||o(null,i))};if(!f||f({name:p,size:c,originalSize:d,compression:a}))if(a)if(8==a){var y=e.subarray(w,w+c);if(d<524288||c>.8*d)try{B(null,Ee(y,{out:new n(d)}))}catch(e){B(e,null)}else r.push(Ue(y,{size:d},B))}else B(N(14,"unknown compression type "+a,1),null);else B(null,S(e,w,w+c));else B(null,null)},g=0;g<c;++g)p()}else o(null,{});return s}function jt(e,t){for(var A={},r=e.length-22;101010256!=de(e,r);--r)(!r||e.length-r>65558)&&N(13);var s=he(e,r+8);if(!s)return{};var i=de(e,r+16),o=4294967295==i||65535==s;if(o){var a=de(e,r-12);(o=101075792==de(e,a))&&(s=de(e,a+32),i=de(e,a+48))}for(var l=t&&t.filter,c=0;c<s;++c){var u=at(e,i,o),h=u[0],d=u[1],f=u[2],p=u[3],g=u[4],m=u[5],w=ot(e,m);i=g,l&&!l({name:p,size:d,originalSize:f,compression:h})||(h?8==h?A[p]=Ee(e.subarray(w,w+d),{out:new n(f)}):N(14,"unknown compression type "+h):A[p]=S(e,w,w+d))}return A}},"./node_modules/html2canvas/dist/html2canvas.js":function(e){e.exports=function(){"use strict";var e=function(t,A){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var A in t)Object.prototype.hasOwnProperty.call(t,A)&&(e[A]=t[A])},e(t,A)};function t(t,A){if("function"!=typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function r(){this.constructor=t}e(t,A),t.prototype=null===A?Object.create(A):(r.prototype=A.prototype,new r)}var A=function(){return A=Object.assign||function(e){for(var t,A=1,r=arguments.length;A<r;A++)for(var n in t=arguments[A])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},A.apply(this,arguments)};function r(e,t,A,r){return new(A||(A=Promise))(function(n,s){function i(e){try{a(r.next(e))}catch(e){s(e)}}function o(e){try{a(r.throw(e))}catch(e){s(e)}}function a(e){var t;e.done?n(e.value):(t=e.value,t instanceof A?t:new A(function(e){e(t)})).then(i,o)}a((r=r.apply(e,t||[])).next())})}function n(e,t){var A,r,n,s,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(s){return function(o){return function(s){if(A)throw new TypeError("Generator is already executing.");for(;i;)try{if(A=1,r&&(n=2&s[0]?r.return:s[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,s[1])).done)return n;switch(r=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((n=(n=i.trys).length>0&&n[n.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(6===s[0]&&i.label<n[1]){i.label=n[1],n=s;break}if(n&&i.label<n[2]){i.label=n[2],i.ops.push(s);break}n[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{A=n=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,o])}}}function s(e,t,A){if(A||2===arguments.length)for(var r,n=0,s=t.length;n<s;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||t)}for(var i=function(){function e(e,t,A,r){this.left=e,this.top=t,this.width=A,this.height=r}return e.prototype.add=function(t,A,r,n){return new e(this.left+t,this.top+A,this.width+r,this.height+n)},e.fromClientRect=function(t,A){return new e(A.left+t.windowBounds.left,A.top+t.windowBounds.top,A.width,A.height)},e.fromDOMRectList=function(t,A){var r=Array.from(A).find(function(e){return 0!==e.width});return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),o=function(e,t){return i.fromClientRect(e,t.getBoundingClientRect())},a=function(e){for(var t=[],A=0,r=e.length;A<r;){var n=e.charCodeAt(A++);if(n>=55296&&n<=56319&&A<r){var s=e.charCodeAt(A++);56320==(64512&s)?t.push(((1023&n)<<10)+(1023&s)+65536):(t.push(n),A--)}else t.push(n)}return t},l=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var A=e.length;if(!A)return"";for(var r=[],n=-1,s="";++n<A;){var i=e[n];i<=65535?r.push(i):(i-=65536,r.push(55296+(i>>10),i%1024+56320)),(n+1===A||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"==typeof Uint8Array?[]:new Uint8Array(256),h=0;h<64;h++)u[c.charCodeAt(h)]=h;for(var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f="undefined"==typeof Uint8Array?[]:new Uint8Array(256),p=0;p<64;p++)f[d.charCodeAt(p)]=p;for(var g=function(e,t,A){return e.slice?e.slice(t,A):new Uint16Array(Array.prototype.slice.call(e,t,A))},m=function(){function e(e,t,A,r,n,s){this.initialValue=e,this.errorValue=t,this.highStart=A,this.highValueIndex=r,this.index=n,this.data=s}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",B="undefined"==typeof Uint8Array?[]:new Uint8Array(256),y=0;y<64;y++)B[w.charCodeAt(y)]=y;var v=10,b=13,C=15,_=17,j=18,x=19,F=20,Q=21,U=22,E=24,S=25,L=26,I=27,N=28,k=30,H=32,P=33,T=34,O=35,M=37,D=38,R=39,K=40,V=42,G=[9001,65288],z="×",q="÷",W=function(e){var t,A,r,n=function(e){var t,A,r,n,s,i=.75*e.length,o=e.length,a=0;"="===e[e.length-1]&&(i--,"="===e[e.length-2]&&i--);var l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(i):new Array(i),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<o;t+=4)A=f[e.charCodeAt(t)],r=f[e.charCodeAt(t+1)],n=f[e.charCodeAt(t+2)],s=f[e.charCodeAt(t+3)],c[a++]=A<<2|r>>4,c[a++]=(15&r)<<4|n>>2,c[a++]=(3&n)<<6|63&s;return l}(e),s=Array.isArray(n)?function(e){for(var t=e.length,A=[],r=0;r<t;r+=4)A.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return A}(n):new Uint32Array(n),i=Array.isArray(n)?function(e){for(var t=e.length,A=[],r=0;r<t;r+=2)A.push(e[r+1]<<8|e[r]);return A}(n):new Uint16Array(n),o=g(i,12,s[4]/2),a=2===s[5]?g(i,(24+s[4])/2):(t=s,A=Math.ceil((24+s[4])/4),t.slice?t.slice(A,r):new Uint32Array(Array.prototype.slice.call(t,A,r)));return new m(s[0],s[1],s[2],s[3],o,a)}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),X=[k,36],Y=[1,2,3,5],J=[v,8],Z=[I,L],$=Y.concat(J),ee=[D,R,K,T,O],te=[C,b],Ae=function(e,t,A,r){var n=r[A];if(Array.isArray(e)?-1!==e.indexOf(n):e===n)for(var s=A;s<=r.length;){if((a=r[++s])===t)return!0;if(a!==v)break}if(n===v)for(s=A;s>0;){var i=r[--s];if(Array.isArray(e)?-1!==e.indexOf(i):e===i)for(var o=A;o<=r.length;){var a;if((a=r[++o])===t)return!0;if(a!==v)break}if(i!==v)break}return!1},re=function(e,t){for(var A=e;A>=0;){var r=t[A];if(r!==v)return r;A--}return 0},ne=function(e,t,A,r,n){if(0===A[r])return z;var s=r-1;if(Array.isArray(n)&&!0===n[s])return z;var i=s-1,o=s+1,a=t[s],l=i>=0?t[i]:0,c=t[o];if(2===a&&3===c)return z;if(-1!==Y.indexOf(a))return"!";if(-1!==Y.indexOf(c))return z;if(-1!==J.indexOf(c))return z;if(8===re(s,t))return q;if(11===W.get(e[s]))return z;if((a===H||a===P)&&11===W.get(e[o]))return z;if(7===a||7===c)return z;if(9===a)return z;if(-1===[v,b,C].indexOf(a)&&9===c)return z;if(-1!==[_,j,x,E,N].indexOf(c))return z;if(re(s,t)===U)return z;if(Ae(23,U,s,t))return z;if(Ae([_,j],Q,s,t))return z;if(Ae(12,12,s,t))return z;if(a===v)return q;if(23===a||23===c)return z;if(16===c||16===a)return q;if(-1!==[b,C,Q].indexOf(c)||14===a)return z;if(36===l&&-1!==te.indexOf(a))return z;if(a===N&&36===c)return z;if(c===F)return z;if(-1!==X.indexOf(c)&&a===S||-1!==X.indexOf(a)&&c===S)return z;if(a===I&&-1!==[M,H,P].indexOf(c)||-1!==[M,H,P].indexOf(a)&&c===L)return z;if(-1!==X.indexOf(a)&&-1!==Z.indexOf(c)||-1!==Z.indexOf(a)&&-1!==X.indexOf(c))return z;if(-1!==[I,L].indexOf(a)&&(c===S||-1!==[U,C].indexOf(c)&&t[o+1]===S)||-1!==[U,C].indexOf(a)&&c===S||a===S&&-1!==[S,N,E].indexOf(c))return z;if(-1!==[S,N,E,_,j].indexOf(c))for(var u=s;u>=0;){if((h=t[u])===S)return z;if(-1===[N,E].indexOf(h))break;u--}if(-1!==[I,L].indexOf(c))for(u=-1!==[_,j].indexOf(a)?i:s;u>=0;){var h;if((h=t[u])===S)return z;if(-1===[N,E].indexOf(h))break;u--}if(D===a&&-1!==[D,R,T,O].indexOf(c)||-1!==[R,T].indexOf(a)&&-1!==[R,K].indexOf(c)||-1!==[K,O].indexOf(a)&&c===K)return z;if(-1!==ee.indexOf(a)&&-1!==[F,L].indexOf(c)||-1!==ee.indexOf(c)&&a===I)return z;if(-1!==X.indexOf(a)&&-1!==X.indexOf(c))return z;if(a===E&&-1!==X.indexOf(c))return z;if(-1!==X.concat(S).indexOf(a)&&c===U&&-1===G.indexOf(e[o])||-1!==X.concat(S).indexOf(c)&&a===j)return z;if(41===a&&41===c){for(var d=A[s],f=1;d>0&&41===t[--d];)f++;if(f%2!=0)return z}return a===H&&c===P?z:q},se=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var A=function(e,t){void 0===t&&(t="strict");var A=[],r=[],n=[];return e.forEach(function(e,s){var i=W.get(e);if(i>50?(n.push(!0),i-=50):n.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(s),A.push(16);if(4===i||11===i){if(0===s)return r.push(s),A.push(k);var o=A[s-1];return-1===$.indexOf(o)?(r.push(r[s-1]),A.push(o)):(r.push(s),A.push(k))}return r.push(s),31===i?A.push("strict"===t?Q:M):i===V||29===i?A.push(k):43===i?e>=131072&&e<=196605||e>=196608&&e<=262141?A.push(M):A.push(k):void A.push(i)}),[r,A,n]}(e,t.lineBreak),r=A[0],n=A[1],s=A[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(n=n.map(function(e){return-1!==[S,k,V].indexOf(e)?M:e}));var i="keep-all"===t.wordBreak?s.map(function(t,A){return t&&e[A]>=19968&&e[A]<=40959}):void 0;return[r,n,i]},ie=function(){function e(e,t,A,r){this.codePoints=e,this.required="!"===t,this.start=A,this.end=r}return e.prototype.slice=function(){return l.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),oe=45,ae=43,le=-1,ce=function(e){return e>=48&&e<=57},ue=function(e){return ce(e)||e>=65&&e<=70||e>=97&&e<=102},he=function(e){return 10===e||9===e||32===e},de=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},fe=function(e){return de(e)||ce(e)||e===oe},pe=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},ge=function(e,t){return 92===e&&10!==t},me=function(e,t,A){return e===oe?de(t)||ge(t,A):!!de(e)||!(92!==e||!ge(e,t))},we=function(e,t,A){return e===ae||e===oe?!!ce(t)||46===t&&ce(A):ce(46===e?t:e)},Be=function(e){var t=0,A=1;e[t]!==ae&&e[t]!==oe||(e[t]===oe&&(A=-1),t++);for(var r=[];ce(e[t]);)r.push(e[t++]);var n=r.length?parseInt(l.apply(void 0,r),10):0;46===e[t]&&t++;for(var s=[];ce(e[t]);)s.push(e[t++]);var i=s.length,o=i?parseInt(l.apply(void 0,s),10):0;69!==e[t]&&101!==e[t]||t++;var a=1;e[t]!==ae&&e[t]!==oe||(e[t]===oe&&(a=-1),t++);for(var c=[];ce(e[t]);)c.push(e[t++]);var u=c.length?parseInt(l.apply(void 0,c),10):0;return A*(n+o*Math.pow(10,-i))*Math.pow(10,a*u)},ye={type:2},ve={type:3},be={type:4},Ce={type:13},_e={type:8},je={type:21},xe={type:9},Fe={type:10},Qe={type:11},Ue={type:12},Ee={type:14},Se={type:23},Le={type:1},Ie={type:25},Ne={type:24},ke={type:26},He={type:27},Pe={type:28},Te={type:29},Oe={type:31},Me={type:32},De=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(a(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Me;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),A=this.peekCodePoint(1),r=this.peekCodePoint(2);if(fe(t)||ge(A,r)){var n=me(t,A,r)?2:1;return{type:5,value:this.consumeName(),flags:n}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ce;break;case 39:return this.consumeStringToken(39);case 40:return ye;case 41:return ve;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ee;break;case ae:if(we(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return be;case oe:var s=e,i=this.peekCodePoint(0),o=this.peekCodePoint(1);if(we(s,i,o))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(me(s,i,o))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(i===oe&&62===o)return this.consumeCodePoint(),this.consumeCodePoint(),Ne;break;case 46:if(we(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var a=this.consumeCodePoint();if(42===a&&47===(a=this.consumeCodePoint()))return this.consumeToken();if(a===le)return this.consumeToken()}break;case 58:return ke;case 59:return He;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===oe&&this.peekCodePoint(2)===oe)return this.consumeCodePoint(),this.consumeCodePoint(),Ie;break;case 64:var c=this.peekCodePoint(0),u=this.peekCodePoint(1),h=this.peekCodePoint(2);if(me(c,u,h))return{type:7,value:this.consumeName()};break;case 91:return Pe;case 92:if(ge(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return Te;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),_e;break;case 123:return Qe;case 125:return Ue;case 117:case 85:var d=this.peekCodePoint(0),f=this.peekCodePoint(1);return d!==ae||!ue(f)&&63!==f||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),xe;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),je;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Fe;break;case le:return Me}return he(e)?(this.consumeWhiteSpace(),Oe):ce(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):de(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:l(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();ue(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var A=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),A=!0;if(A)return{type:30,start:parseInt(l.apply(void 0,e.map(function(e){return 63===e?48:e})),16),end:parseInt(l.apply(void 0,e.map(function(e){return 63===e?70:e})),16)};var r=parseInt(l.apply(void 0,e),16);if(this.peekCodePoint(0)===oe&&ue(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var n=[];ue(t)&&n.length<6;)n.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(l.apply(void 0,n),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===le)return{type:22,value:""};var t=this.peekCodePoint(0);if(39===t||34===t){var A=this.consumeStringToken(this.consumeCodePoint());return 0===A.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===le||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:A.value}):(this.consumeBadUrlRemnants(),Se)}for(;;){var r=this.consumeCodePoint();if(r===le||41===r)return{type:22,value:l.apply(void 0,e)};if(he(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===le||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:l.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Se);if(34===r||39===r||40===r||pe(r))return this.consumeBadUrlRemnants(),Se;if(92===r){if(!ge(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Se;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;he(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(41===e||e===le)return;ge(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t="";e>0;){var A=Math.min(5e4,e);t+=l.apply(void 0,this._value.splice(0,A)),e-=A}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){for(var t="",A=0;;){var r=this._value[A];if(r===le||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(A)};if(10===r)return this._value.splice(0,A),Le;if(92===r){var n=this._value[A+1];n!==le&&void 0!==n&&(10===n?(t+=this.consumeStringSlice(A),A=-1,this._value.shift()):ge(r,n)&&(t+=this.consumeStringSlice(A),t+=l(this.consumeEscapedCodePoint()),A=-1))}A++}},e.prototype.consumeNumber=function(){var e=[],t=4,A=this.peekCodePoint(0);for(A!==ae&&A!==oe||e.push(this.consumeCodePoint());ce(this.peekCodePoint(0));)e.push(this.consumeCodePoint());A=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===A&&ce(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;ce(this.peekCodePoint(0));)e.push(this.consumeCodePoint());A=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((69===A||101===A)&&((r===ae||r===oe)&&ce(n)||ce(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;ce(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[Be(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],A=e[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),s=this.peekCodePoint(2);return me(r,n,s)?{type:15,number:t,flags:A,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:t,flags:A}):{type:17,number:t,flags:A}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(ue(e)){for(var t=l(e);ue(this.peekCodePoint(0))&&t.length<6;)t+=l(this.consumeCodePoint());he(this.peekCodePoint(0))&&this.consumeCodePoint();var A=parseInt(t,16);return 0===A||function(e){return e>=55296&&e<=57343}(A)||A>1114111?65533:A}return e===le?65533:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(fe(t))e+=l(t);else{if(!ge(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=l(this.consumeEscapedCodePoint())}}},e}(),Re=function(){function e(e){this._tokens=e}return e.create=function(t){var A=new De;return A.write(t),new e(A.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},A=this.consumeToken();;){if(32===A.type||Je(A,e))return t;this.reconsumeToken(A),t.values.push(this.consumeComponentValue()),A=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var A=this.consumeToken();if(32===A.type||3===A.type)return t;this.reconsumeToken(A),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?Me:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Ke=function(e){return 15===e.type},Ve=function(e){return 17===e.type},Ge=function(e){return 20===e.type},ze=function(e){return 0===e.type},qe=function(e,t){return Ge(e)&&e.value===t},We=function(e){return 31!==e.type},Xe=function(e){return 31!==e.type&&4!==e.type},Ye=function(e){var t=[],A=[];return e.forEach(function(e){if(4===e.type){if(0===A.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(A),void(A=[])}31!==e.type&&A.push(e)}),A.length&&t.push(A),t},Je=function(e,t){return 11===t&&12===e.type||28===t&&29===e.type||2===t&&3===e.type},Ze=function(e){return 17===e.type||15===e.type},$e=function(e){return 16===e.type||Ze(e)},et=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},tt={type:17,number:0,flags:4},At={type:16,number:50,flags:4},rt={type:16,number:100,flags:4},nt=function(e,t,A){var r=e[0],n=e[1];return[st(r,t),st(void 0!==n?n:r,A)]},st=function(e,t){if(16===e.type)return e.number/100*t;if(Ke(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},it="grad",ot="turn",at=function(e,t){if(15===t.type)switch(t.unit){case"deg":return Math.PI*t.number/180;case it:return Math.PI/200*t.number;case"rad":return t.number;case ot:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},lt=function(e){return 15===e.type&&("deg"===e.unit||e.unit===it||"rad"===e.unit||e.unit===ot)},ct=function(e){switch(e.filter(Ge).map(function(e){return e.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[tt,tt];case"to top":case"bottom":return ut(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[tt,rt];case"to right":case"left":return ut(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[rt,rt];case"to bottom":case"top":return ut(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[rt,tt];case"to left":case"right":return ut(270)}return 0},ut=function(e){return Math.PI*e/180},ht=function(e,t){if(18===t.type){var A=yt[t.name];if(void 0===A)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return A(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),n=t.value.substring(1,2),s=t.value.substring(2,3);return pt(parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16),1)}if(4===t.value.length){r=t.value.substring(0,1),n=t.value.substring(1,2),s=t.value.substring(2,3);var i=t.value.substring(3,4);return pt(parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16),parseInt(i+i,16)/255)}if(6===t.value.length)return r=t.value.substring(0,2),n=t.value.substring(2,4),s=t.value.substring(4,6),pt(parseInt(r,16),parseInt(n,16),parseInt(s,16),1);if(8===t.value.length)return r=t.value.substring(0,2),n=t.value.substring(2,4),s=t.value.substring(4,6),i=t.value.substring(6,8),pt(parseInt(r,16),parseInt(n,16),parseInt(s,16),parseInt(i,16)/255)}if(20===t.type){var o=bt[t.value.toUpperCase()];if(void 0!==o)return o}return bt.TRANSPARENT},dt=function(e){return!(255&e)},ft=function(e){var t=255&e,A=255&e>>8,r=255&e>>16,n=255&e>>24;return t<255?"rgba("+n+","+r+","+A+","+t/255+")":"rgb("+n+","+r+","+A+")"},pt=function(e,t,A,r){return(e<<24|t<<16|A<<8|Math.round(255*r))>>>0},gt=function(e,t){if(17===e.type)return e.number;if(16===e.type){var A=3===t?1:255;return 3===t?e.number/100*A:Math.round(e.number/100*A)}return 0},mt=function(e,t){var A=t.filter(Xe);if(3===A.length){var r=A.map(gt),n=r[0],s=r[1],i=r[2];return pt(n,s,i,1)}if(4===A.length){var o=A.map(gt),a=(n=o[0],s=o[1],i=o[2],o[3]);return pt(n,s,i,a)}return 0};function wt(e,t,A){return A<0&&(A+=1),A>=1&&(A-=1),A<1/6?(t-e)*A*6+e:A<.5?t:A<2/3?6*(t-e)*(2/3-A)+e:e}var Bt=function(e,t){var A=t.filter(Xe),r=A[0],n=A[1],s=A[2],i=A[3],o=(17===r.type?ut(r.number):at(e,r))/(2*Math.PI),a=$e(n)?n.number/100:0,l=$e(s)?s.number/100:0,c=void 0!==i&&$e(i)?st(i,1):1;if(0===a)return pt(255*l,255*l,255*l,1);var u=l<=.5?l*(a+1):l+a-l*a,h=2*l-u,d=wt(h,u,o+1/3),f=wt(h,u,o),p=wt(h,u,o-1/3);return pt(255*d,255*f,255*p,c)},yt={hsl:Bt,hsla:Bt,rgb:mt,rgba:mt},vt=function(e,t){return ht(e,Re.create(t).parseComponentValue())},bt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Ct={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(Ge(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},_t={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},jt=function(e,t){var A=ht(e,t[0]),r=t[1];return r&&$e(r)?{color:A,stop:r}:{color:A,stop:null}},xt=function(e,t){var A=e[0],r=e[e.length-1];null===A.stop&&(A.stop=tt),null===r.stop&&(r.stop=rt);for(var n=[],s=0,i=0;i<e.length;i++){var o=e[i].stop;if(null!==o){var a=st(o,t);a>s?n.push(a):n.push(s),s=a}else n.push(null)}var l=null;for(i=0;i<n.length;i++){var c=n[i];if(null===c)null===l&&(l=i);else if(null!==l){for(var u=i-l,h=(c-n[l-1])/(u+1),d=1;d<=u;d++)n[l+d-1]=h*d;l=null}}return e.map(function(e,A){return{color:e.color,stop:Math.max(Math.min(1,n[A]/t),0)}})},Ft=function(e,t,A){var r="number"==typeof e?e:function(e,t,A){var r=t/2,n=A/2,s=st(e[0],t)-r,i=n-st(e[1],A);return(Math.atan2(i,s)+2*Math.PI)%(2*Math.PI)}(e,t,A),n=Math.abs(t*Math.sin(r))+Math.abs(A*Math.cos(r)),s=t/2,i=A/2,o=n/2,a=Math.sin(r-Math.PI/2)*o,l=Math.cos(r-Math.PI/2)*o;return[n,s-l,s+l,i-a,i+a]},Qt=function(e,t){return Math.sqrt(e*e+t*t)},Ut=function(e,t,A,r,n){return[[0,0],[0,t],[e,0],[e,t]].reduce(function(e,t){var s=t[0],i=t[1],o=Qt(A-s,r-i);return(n?o<e.optimumDistance:o>e.optimumDistance)?{optimumCorner:t,optimumDistance:o}:e},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Et=function(e,t){var A=ut(180),r=[];return Ye(t).forEach(function(t,n){if(0===n){var s=t[0];if(20===s.type&&-1!==["top","left","right","bottom"].indexOf(s.value))return void(A=ct(t));if(lt(s))return void(A=(at(e,s)+ut(270))%ut(360))}var i=jt(e,t);r.push(i)}),{angle:A,stops:r,type:1}},St="closest-side",Lt="farthest-side",It="closest-corner",Nt="farthest-corner",kt="circle",Ht="ellipse",Pt="cover",Tt="contain",Ot=function(e,t){var A=0,r=3,n=[],s=[];return Ye(t).forEach(function(t,i){var o=!0;if(0===i?o=t.reduce(function(e,t){if(Ge(t))switch(t.value){case"center":return s.push(At),!1;case"top":case"left":return s.push(tt),!1;case"right":case"bottom":return s.push(rt),!1}else if($e(t)||Ze(t))return s.push(t),!1;return e},o):1===i&&(o=t.reduce(function(e,t){if(Ge(t))switch(t.value){case kt:return A=0,!1;case Ht:return A=1,!1;case Tt:case St:return r=0,!1;case Lt:return r=1,!1;case It:return r=2,!1;case Pt:case Nt:return r=3,!1}else if(Ze(t)||$e(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},o)),o){var a=jt(e,t);n.push(a)}}),{size:r,shape:A,stops:n,position:s,type:2}},Mt=function(e,t){if(22===t.type){var A={url:t.value,type:0};return e.cache.addImage(t.value),A}if(18===t.type){var r=Rt[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)};var Dt,Rt={"linear-gradient":function(e,t){var A=ut(180),r=[];return Ye(t).forEach(function(t,n){if(0===n){var s=t[0];if(20===s.type&&"to"===s.value)return void(A=ct(t));if(lt(s))return void(A=at(e,s))}var i=jt(e,t);r.push(i)}),{angle:A,stops:r,type:1}},"-moz-linear-gradient":Et,"-ms-linear-gradient":Et,"-o-linear-gradient":Et,"-webkit-linear-gradient":Et,"radial-gradient":function(e,t){var A=0,r=3,n=[],s=[];return Ye(t).forEach(function(t,i){var o=!0;if(0===i){var a=!1;o=t.reduce(function(e,t){if(a)if(Ge(t))switch(t.value){case"center":return s.push(At),e;case"top":case"left":return s.push(tt),e;case"right":case"bottom":return s.push(rt),e}else($e(t)||Ze(t))&&s.push(t);else if(Ge(t))switch(t.value){case kt:return A=0,!1;case Ht:return A=1,!1;case"at":return a=!0,!1;case St:return r=0,!1;case Pt:case Lt:return r=1,!1;case Tt:case It:return r=2,!1;case Nt:return r=3,!1}else if(Ze(t)||$e(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},o)}if(o){var l=jt(e,t);n.push(l)}}),{size:r,shape:A,stops:n,position:s,type:2}},"-moz-radial-gradient":Ot,"-ms-radial-gradient":Ot,"-o-radial-gradient":Ot,"-webkit-radial-gradient":Ot,"-webkit-gradient":function(e,t){var A=ut(180),r=[],n=1;return Ye(t).forEach(function(t,A){var s=t[0];if(0===A){if(Ge(s)&&"linear"===s.value)return void(n=1);if(Ge(s)&&"radial"===s.value)return void(n=2)}if(18===s.type)if("from"===s.name){var i=ht(e,s.values[0]);r.push({stop:tt,color:i})}else if("to"===s.name)i=ht(e,s.values[0]),r.push({stop:rt,color:i});else if("color-stop"===s.name){var o=s.values.filter(Xe);if(2===o.length){i=ht(e,o[1]);var a=o[0];Ve(a)&&r.push({stop:{type:16,number:100*a.number,flags:a.flags},color:i})}}}),1===n?{angle:(A+ut(180))%ut(360),stops:r,type:n}:{size:3,shape:0,stops:r,position:[],type:n}}},Kt={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var A=t[0];return 20===A.type&&"none"===A.value?[]:t.filter(function(e){return Xe(e)&&function(e){return!(20===e.type&&"none"===e.value||18===e.type&&!Rt[e.name])}(e)}).map(function(t){return Mt(e,t)})}},Vt={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(Ge(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Gt={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Ye(t).map(function(e){return e.filter($e)}).map(et)}},zt={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Ye(t).map(function(e){return e.filter(Ge).map(function(e){return e.value}).join(" ")}).map(qt)}},qt=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(Dt||(Dt={}));var Wt,Xt={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Ye(t).map(function(e){return e.filter(Yt)})}},Yt=function(e){return Ge(e)||$e(e)},Jt=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Zt=Jt("top"),$t=Jt("right"),eA=Jt("bottom"),tA=Jt("left"),AA=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return et(t.filter($e))}}},rA=AA("top-left"),nA=AA("top-right"),sA=AA("bottom-right"),iA=AA("bottom-left"),oA=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},aA=oA("top"),lA=oA("right"),cA=oA("bottom"),uA=oA("left"),hA=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Ke(t)?t.number:0}}},dA=hA("top"),fA=hA("right"),pA=hA("bottom"),gA=hA("left"),mA={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wA={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){return"rtl"===t?1:0}},BA={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(Ge).reduce(function(e,t){return e|yA(t.value)},0)}},yA=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},vA={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},bA={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}(Wt||(Wt={}));var CA,_A={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"strict"===t?Wt.STRICT:Wt.NORMAL}},jA={name:"line-height",initialValue:"normal",prefix:!1,type:4},xA=function(e,t){return Ge(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:$e(e)?st(e,t):t},FA={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Mt(e,t)}},QA={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){return"inside"===t?0:1}},UA={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},EA=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},SA=EA("top"),LA=EA("right"),IA=EA("bottom"),NA=EA("left"),kA={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(Ge).map(function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},HA={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"break-word"===t?"break-word":"normal"}},PA=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},TA=PA("top"),OA=PA("right"),MA=PA("bottom"),DA=PA("left"),RA={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},KA={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},VA={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&qe(t[0],"none")?[]:Ye(t).map(function(t){for(var A={color:bt.TRANSPARENT,offsetX:tt,offsetY:tt,blur:tt},r=0,n=0;n<t.length;n++){var s=t[n];Ze(s)?(0===r?A.offsetX=s:1===r?A.offsetY=s:A.blur=s,r++):A.color=ht(e,s)}return A})}},GA={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},zA={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var A=qA[t.name];if(void 0===A)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return A(t.values)}return null}},qA={matrix:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number});return 6===t.length?t:null},matrix3d:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number}),A=t[0],r=t[1];t[2],t[3];var n=t[4],s=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var i=t[12],o=t[13];return t[14],t[15],16===t.length?[A,r,n,s,i,o]:null}},WA={type:16,number:50,flags:4},XA=[WA,WA],YA={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var A=t.filter($e);return 2!==A.length?XA:[A[0],A[1]]}},JA={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}};!function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"}(CA||(CA={}));for(var ZA={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return CA.BREAK_ALL;case"keep-all":return CA.KEEP_ALL;default:return CA.NORMAL}}},$A={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(Ve(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},er={name:"time",parse:function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},tr={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return Ve(t)?t.number:1}},Ar={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},rr={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(Ge).map(function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(e){return 0!==e})}},nr={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var A=[],r=[];return t.forEach(function(e){switch(e.type){case 20:case 0:A.push(e.value);break;case 17:A.push(e.number.toString());break;case 4:r.push(A.join(" ")),A.length=0}}),A.length&&r.push(A.join(" ")),r.map(function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"})}},sr={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ir={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){return Ve(t)?t.number:Ge(t)&&"bold"===t.value?700:400}},or={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(Ge).map(function(e){return e.value})}},ar={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},lr=function(e,t){return 0!==(e&t)},cr={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var A=t[0];return 20===A.type&&"none"===A.value?[]:t}},ur={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var A=t[0];if(20===A.type&&"none"===A.value)return null;for(var r=[],n=t.filter(We),s=0;s<n.length;s++){var i=n[s],o=n[s+1];if(20===i.type){var a=o&&Ve(o)?o.number:1;r.push({counter:i.value,increment:a})}}return r}},hr={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var A=[],r=t.filter(We),n=0;n<r.length;n++){var s=r[n],i=r[n+1];if(Ge(s)&&"none"!==s.value){var o=i&&Ve(i)?i.number:0;A.push({counter:s.value,reset:o})}}return A}},dr={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Ke).map(function(t){return er.parse(e,t)})}},fr={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var A=t[0];if(20===A.type&&"none"===A.value)return null;var r=[],n=t.filter(ze);if(n.length%2!=0)return null;for(var s=0;s<n.length;s+=2){var i=n[s].value,o=n[s+1].value;r.push({open:i,close:o})}return r}},pr=function(e,t,A){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?A?r.open:r.close:""},gr={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&qe(t[0],"none")?[]:Ye(t).map(function(t){for(var A={color:255,offsetX:tt,offsetY:tt,blur:tt,spread:tt,inset:!1},r=0,n=0;n<t.length;n++){var s=t[n];qe(s,"inset")?A.inset=!0:Ze(s)?(0===r?A.offsetX=s:1===r?A.offsetY=s:2===r?A.blur=s:A.spread=s,r++):A.color=ht(e,s)}return A})}},mr={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var A=[];return t.filter(Ge).forEach(function(e){switch(e.value){case"stroke":A.push(1);break;case"fill":A.push(0);break;case"markers":A.push(2)}}),[0,1,2].forEach(function(e){-1===A.indexOf(e)&&A.push(e)}),A}},wr={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Br={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Ke(t)?t.number:0}},yr=function(){function e(e,t){var A,r;this.animationDuration=Cr(e,dr,t.animationDuration),this.backgroundClip=Cr(e,Ct,t.backgroundClip),this.backgroundColor=Cr(e,_t,t.backgroundColor),this.backgroundImage=Cr(e,Kt,t.backgroundImage),this.backgroundOrigin=Cr(e,Vt,t.backgroundOrigin),this.backgroundPosition=Cr(e,Gt,t.backgroundPosition),this.backgroundRepeat=Cr(e,zt,t.backgroundRepeat),this.backgroundSize=Cr(e,Xt,t.backgroundSize),this.borderTopColor=Cr(e,Zt,t.borderTopColor),this.borderRightColor=Cr(e,$t,t.borderRightColor),this.borderBottomColor=Cr(e,eA,t.borderBottomColor),this.borderLeftColor=Cr(e,tA,t.borderLeftColor),this.borderTopLeftRadius=Cr(e,rA,t.borderTopLeftRadius),this.borderTopRightRadius=Cr(e,nA,t.borderTopRightRadius),this.borderBottomRightRadius=Cr(e,sA,t.borderBottomRightRadius),this.borderBottomLeftRadius=Cr(e,iA,t.borderBottomLeftRadius),this.borderTopStyle=Cr(e,aA,t.borderTopStyle),this.borderRightStyle=Cr(e,lA,t.borderRightStyle),this.borderBottomStyle=Cr(e,cA,t.borderBottomStyle),this.borderLeftStyle=Cr(e,uA,t.borderLeftStyle),this.borderTopWidth=Cr(e,dA,t.borderTopWidth),this.borderRightWidth=Cr(e,fA,t.borderRightWidth),this.borderBottomWidth=Cr(e,pA,t.borderBottomWidth),this.borderLeftWidth=Cr(e,gA,t.borderLeftWidth),this.boxShadow=Cr(e,gr,t.boxShadow),this.color=Cr(e,mA,t.color),this.direction=Cr(e,wA,t.direction),this.display=Cr(e,BA,t.display),this.float=Cr(e,vA,t.cssFloat),this.fontFamily=Cr(e,nr,t.fontFamily),this.fontSize=Cr(e,sr,t.fontSize),this.fontStyle=Cr(e,ar,t.fontStyle),this.fontVariant=Cr(e,or,t.fontVariant),this.fontWeight=Cr(e,ir,t.fontWeight),this.letterSpacing=Cr(e,bA,t.letterSpacing),this.lineBreak=Cr(e,_A,t.lineBreak),this.lineHeight=Cr(e,jA,t.lineHeight),this.listStyleImage=Cr(e,FA,t.listStyleImage),this.listStylePosition=Cr(e,QA,t.listStylePosition),this.listStyleType=Cr(e,UA,t.listStyleType),this.marginTop=Cr(e,SA,t.marginTop),this.marginRight=Cr(e,LA,t.marginRight),this.marginBottom=Cr(e,IA,t.marginBottom),this.marginLeft=Cr(e,NA,t.marginLeft),this.opacity=Cr(e,tr,t.opacity);var n=Cr(e,kA,t.overflow);this.overflowX=n[0],this.overflowY=n[n.length>1?1:0],this.overflowWrap=Cr(e,HA,t.overflowWrap),this.paddingTop=Cr(e,TA,t.paddingTop),this.paddingRight=Cr(e,OA,t.paddingRight),this.paddingBottom=Cr(e,MA,t.paddingBottom),this.paddingLeft=Cr(e,DA,t.paddingLeft),this.paintOrder=Cr(e,mr,t.paintOrder),this.position=Cr(e,KA,t.position),this.textAlign=Cr(e,RA,t.textAlign),this.textDecorationColor=Cr(e,Ar,null!==(A=t.textDecorationColor)&&void 0!==A?A:t.color),this.textDecorationLine=Cr(e,rr,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=Cr(e,VA,t.textShadow),this.textTransform=Cr(e,GA,t.textTransform),this.transform=Cr(e,zA,t.transform),this.transformOrigin=Cr(e,YA,t.transformOrigin),this.visibility=Cr(e,JA,t.visibility),this.webkitTextStrokeColor=Cr(e,wr,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Cr(e,Br,t.webkitTextStrokeWidth),this.wordBreak=Cr(e,ZA,t.wordBreak),this.zIndex=Cr(e,$A,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return dt(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return lr(this.display,4)||lr(this.display,33554432)||lr(this.display,268435456)||lr(this.display,536870912)||lr(this.display,67108864)||lr(this.display,134217728)},e}(),vr=function(e,t){this.content=Cr(e,cr,t.content),this.quotes=Cr(e,fr,t.quotes)},br=function(e,t){this.counterIncrement=Cr(e,ur,t.counterIncrement),this.counterReset=Cr(e,hr,t.counterReset)},Cr=function(e,t,A){var r=new De,n=null!=A?A.toString():t.initialValue;r.write(n);var s=new Re(r.read());switch(t.type){case 2:var i=s.parseComponentValue();return t.parse(e,Ge(i)?i.value:t.initialValue);case 0:return t.parse(e,s.parseComponentValue());case 1:return t.parse(e,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(t.format){case"angle":return at(e,s.parseComponentValue());case"color":return ht(e,s.parseComponentValue());case"image":return Mt(e,s.parseComponentValue());case"length":var o=s.parseComponentValue();return Ze(o)?o:tt;case"length-percentage":var a=s.parseComponentValue();return $e(a)?a:tt;case"time":return er.parse(e,s.parseComponentValue())}}},_r=function(e,t){var A=function(e){switch(e.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(e);return 1===A||t===A},jr=function(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,_r(t,3),this.styles=new yr(e,window.getComputedStyle(t,null)),En(t)&&(this.styles.animationDuration.some(function(e){return e>0})&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=o(this.context,t),_r(t,4)&&(this.flags|=16)},xr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Qr=0;Qr<64;Qr++)Fr[xr.charCodeAt(Qr)]=Qr;for(var Ur=function(e,t,A){return e.slice?e.slice(t,A):new Uint16Array(Array.prototype.slice.call(e,t,A))},Er=function(){function e(e,t,A,r,n,s){this.initialValue=e,this.errorValue=t,this.highStart=A,this.highValueIndex=r,this.index=n,this.data=s}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),Sr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Lr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Ir=0;Ir<64;Ir++)Lr[Sr.charCodeAt(Ir)]=Ir;var Nr,kr=8,Hr=9,Pr=11,Tr=12,Or=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var A=e.length;if(!A)return"";for(var r=[],n=-1,s="";++n<A;){var i=e[n];i<=65535?r.push(i):(i-=65536,r.push(55296+(i>>10),i%1024+56320)),(n+1===A||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},Mr=function(e){var t,A,r,n=function(e){var t,A,r,n,s,i=.75*e.length,o=e.length,a=0;"="===e[e.length-1]&&(i--,"="===e[e.length-2]&&i--);var l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(i):new Array(i),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<o;t+=4)A=Fr[e.charCodeAt(t)],r=Fr[e.charCodeAt(t+1)],n=Fr[e.charCodeAt(t+2)],s=Fr[e.charCodeAt(t+3)],c[a++]=A<<2|r>>4,c[a++]=(15&r)<<4|n>>2,c[a++]=(3&n)<<6|63&s;return l}(e),s=Array.isArray(n)?function(e){for(var t=e.length,A=[],r=0;r<t;r+=4)A.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return A}(n):new Uint32Array(n),i=Array.isArray(n)?function(e){for(var t=e.length,A=[],r=0;r<t;r+=2)A.push(e[r+1]<<8|e[r]);return A}(n):new Uint16Array(n),o=Ur(i,12,s[4]/2),a=2===s[5]?Ur(i,(24+s[4])/2):(t=s,A=Math.ceil((24+s[4])/4),t.slice?t.slice(A,r):new Uint32Array(Array.prototype.slice.call(t,A,r)));return new Er(s[0],s[1],s[2],s[3],o,a)}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),Dr="×",Rr=function(e){return Mr.get(e)},Kr=function(e,t,A){var r=A-2,n=t[r],s=t[A-1],i=t[A];if(2===s&&3===i)return Dr;if(2===s||3===s||4===s)return"÷";if(2===i||3===i||4===i)return"÷";if(s===kr&&-1!==[kr,Hr,Pr,Tr].indexOf(i))return Dr;if(!(s!==Pr&&s!==Hr||i!==Hr&&10!==i))return Dr;if((s===Tr||10===s)&&10===i)return Dr;if(13===i||5===i)return Dr;if(7===i)return Dr;if(1===s)return Dr;if(13===s&&14===i){for(;5===n;)n=t[--r];if(14===n)return Dr}if(15===s&&15===i){for(var o=0;15===n;)o++,n=t[--r];if(o%2==0)return Dr}return"÷"},Vr=function(e){var t=function(e){for(var t=[],A=0,r=e.length;A<r;){var n=e.charCodeAt(A++);if(n>=55296&&n<=56319&&A<r){var s=e.charCodeAt(A++);56320==(64512&s)?t.push(((1023&n)<<10)+(1023&s)+65536):(t.push(n),A--)}else t.push(n)}return t}(e),A=t.length,r=0,n=0,s=t.map(Rr);return{next:function(){if(r>=A)return{done:!0,value:null};for(var e=Dr;r<A&&(e=Kr(0,s,++r))===Dr;);if(e!==Dr||r===A){var i=Or.apply(null,t.slice(n,r));return n=r,{value:i,done:!1}}return{done:!0,value:null}}}},Gr=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},zr=function(e,t,A,r,n){var s="http://www.w3.org/2000/svg",i=document.createElementNS(s,"svg"),o=document.createElementNS(s,"foreignObject");return i.setAttributeNS(null,"width",e.toString()),i.setAttributeNS(null,"height",t.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",A.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(o),o.appendChild(n),i},qr=function(e){return new Promise(function(t,A){var r=new Image;r.onload=function(){return t(r)},r.onerror=A,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))})},Wr={get SUPPORT_RANGE_BOUNDS(){var e=function(e){if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var A=e.createElement("boundtest");A.style.height="123px",A.style.display="block",e.body.appendChild(A),t.selectNode(A);var r=t.getBoundingClientRect(),n=Math.round(r.height);if(e.body.removeChild(A),123===n)return!0}}return!1}(document);return Object.defineProperty(Wr,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Wr.SUPPORT_RANGE_BOUNDS&&function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var A=e.createRange();t.innerHTML="function"==typeof"".repeat?"👨".repeat(10):"";var r=t.firstChild,n=a(r.data).map(function(e){return l(e)}),s=0,i={},o=n.every(function(e,t){A.setStart(r,s),A.setEnd(r,s+e.length);var n=A.getBoundingClientRect();s+=e.length;var o=n.x>i.x||n.y>i.y;return i=n,0===t||o});return e.body.removeChild(t),o}(document);return Object.defineProperty(Wr,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,A=e.createElement("canvas"),r=A.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),A.toDataURL()}catch(e){return!1}return!0}(document);return Object.defineProperty(Wr,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"==typeof Array.from&&"function"==typeof window.fetch?function(e){var t=e.createElement("canvas"),A=100;t.width=A,t.height=A;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,A,A);var n=new Image,s=t.toDataURL();n.src=s;var i=zr(A,A,0,0,n);return r.fillStyle="red",r.fillRect(0,0,A,A),qr(i).then(function(t){r.drawImage(t,0,0);var n=r.getImageData(0,0,A,A).data;r.fillStyle="red",r.fillRect(0,0,A,A);var i=e.createElement("div");return i.style.backgroundImage="url("+s+")",i.style.height=A+"px",Gr(n)?qr(zr(A,A,0,0,i)):Promise.reject(!1)}).then(function(e){return r.drawImage(e,0,0),Gr(r.getImageData(0,0,A,A).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(Wr,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=void 0!==(new Image).crossOrigin;return Object.defineProperty(Wr,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Wr,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Wr,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Wr,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Xr=function(e,t){this.text=e,this.bounds=t},Yr=function(e,t){var A=t.ownerDocument;if(A){var r=A.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var n=t.parentNode;if(n){n.replaceChild(r,t);var s=o(e,r);return r.firstChild&&n.replaceChild(r.firstChild,r),s}}return i.EMPTY},Jr=function(e,t,A){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(e,t),n.setEnd(e,t+A),n},Zr=function(e){if(Wr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map(function(e){return e.segment})}return function(e){for(var t,A=Vr(e),r=[];!(t=A.next()).done;)t.value&&r.push(t.value.slice());return r}(e)},$r=function(e,t){return 0!==t.letterSpacing?Zr(e):function(e,t){if(Wr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(A.segment(e)).map(function(e){return e.segment})}return tn(e,t)}(e,t)},en=[32,160,4961,65792,65793,4153,4241],tn=function(e,t){for(var A,r=function(e,t){var A=a(e),r=se(A,t),n=r[0],s=r[1],i=r[2],o=A.length,l=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};for(var e=z;c<o&&(e=ne(A,s,n,++c,i))===z;);if(e!==z||c===o){var t=new ie(A,e,l,c);return l=c,{value:t,done:!1}}return{done:!0,value:null}}}}(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),n=[],s=function(){if(A.value){var e=A.value.slice(),t=a(e),r="";t.forEach(function(e){-1===en.indexOf(e)?r+=l(e):(r.length&&n.push(r),n.push(l(e)),r="")}),r.length&&n.push(r)}};!(A=r.next()).done;)s();return n},An=function(e,t,A){this.text=rn(t.data,A.textTransform),this.textBounds=function(e,t,A,r){var n=$r(t,A),s=[],o=0;return n.forEach(function(t){if(A.textDecorationLine.length||t.trim().length>0)if(Wr.SUPPORT_RANGE_BOUNDS){var n=Jr(r,o,t.length).getClientRects();if(n.length>1){var a=Zr(t),l=0;a.forEach(function(t){s.push(new Xr(t,i.fromDOMRectList(e,Jr(r,l+o,t.length).getClientRects()))),l+=t.length})}else s.push(new Xr(t,i.fromDOMRectList(e,n)))}else{var c=r.splitText(t.length);s.push(new Xr(t,Yr(e,r))),r=c}else Wr.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));o+=t.length}),s}(e,this.text,A,t)},rn=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(nn,sn);case 2:return e.toUpperCase();default:return e}},nn=/(^|\s|:|-|\(|\))([a-z])/g,sn=function(e,t,A){return e.length>0?t+A.toUpperCase():e},on=function(e){function A(t,A){var r=e.call(this,t,A)||this;return r.src=A.currentSrc||A.src,r.intrinsicWidth=A.naturalWidth,r.intrinsicHeight=A.naturalHeight,r.context.cache.addImage(r.src),r}return t(A,e),A}(jr),an=function(e){function A(t,A){var r=e.call(this,t,A)||this;return r.canvas=A,r.intrinsicWidth=A.width,r.intrinsicHeight=A.height,r}return t(A,e),A}(jr),ln=function(e){function A(t,A){var r=e.call(this,t,A)||this,n=new XMLSerializer,s=o(t,A);return A.setAttribute("width",s.width+"px"),A.setAttribute("height",s.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(A)),r.intrinsicWidth=A.width.baseVal.value,r.intrinsicHeight=A.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(A,e),A}(jr),cn=function(e){function A(t,A){var r=e.call(this,t,A)||this;return r.value=A.value,r}return t(A,e),A}(jr),un=function(e){function A(t,A){var r=e.call(this,t,A)||this;return r.start=A.start,r.reversed="boolean"==typeof A.reversed&&!0===A.reversed,r}return t(A,e),A}(jr),hn=[{type:15,flags:0,unit:"px",number:3}],dn=[{type:16,flags:0,number:50}],fn="checkbox",pn="radio",gn="password",mn=707406591,wn=function(e){function A(t,A){var r,n,s,o=e.call(this,t,A)||this;switch(o.type=A.type.toLowerCase(),o.checked=A.checked,o.value=0===(s=(n=A).type===gn?new Array(n.value.length+1).join("•"):n.value).length?n.placeholder||"":s,o.type!==fn&&o.type!==pn||(o.styles.backgroundColor=3739148031,o.styles.borderTopColor=o.styles.borderRightColor=o.styles.borderBottomColor=o.styles.borderLeftColor=2779096575,o.styles.borderTopWidth=o.styles.borderRightWidth=o.styles.borderBottomWidth=o.styles.borderLeftWidth=1,o.styles.borderTopStyle=o.styles.borderRightStyle=o.styles.borderBottomStyle=o.styles.borderLeftStyle=1,o.styles.backgroundClip=[0],o.styles.backgroundOrigin=[0],o.bounds=(r=o.bounds).width>r.height?new i(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width<r.height?new i(r.left,r.top+(r.height-r.width)/2,r.width,r.width):r),o.type){case fn:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=hn;break;case pn:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=dn}return o}return t(A,e),A}(jr),Bn=function(e){function A(t,A){var r=e.call(this,t,A)||this,n=A.options[A.selectedIndex||0];return r.value=n&&n.text||"",r}return t(A,e),A}(jr),yn=function(e){function A(t,A){var r=e.call(this,t,A)||this;return r.value=A.value,r}return t(A,e),A}(jr),vn=function(e){function A(t,A){var r=e.call(this,t,A)||this;r.src=A.src,r.width=parseInt(A.width,10)||0,r.height=parseInt(A.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(A.contentWindow&&A.contentWindow.document&&A.contentWindow.document.documentElement){r.tree=jn(t,A.contentWindow.document.documentElement);var n=A.contentWindow.document.documentElement?vt(t,getComputedStyle(A.contentWindow.document.documentElement).backgroundColor):bt.TRANSPARENT,s=A.contentWindow.document.body?vt(t,getComputedStyle(A.contentWindow.document.body).backgroundColor):bt.TRANSPARENT;r.backgroundColor=dt(n)?dt(s)?r.styles.backgroundColor:s:n}}catch(e){}return r}return t(A,e),A}(jr),bn=["OL","UL","MENU"],Cn=function(e,t,A,r){for(var n=t.firstChild,s=void 0;n;n=s)if(s=n.nextSibling,Qn(n)&&n.data.trim().length>0)A.textNodes.push(new An(e,n,A.styles));else if(Un(n))if(Vn(n)&&n.assignedNodes)n.assignedNodes().forEach(function(t){return Cn(e,t,A,r)});else{var i=_n(e,n);i.styles.isVisible()&&(xn(n,i,r)?i.flags|=4:Fn(i.styles)&&(i.flags|=2),-1!==bn.indexOf(n.tagName)&&(i.flags|=8),A.elements.push(i),n.slot,n.shadowRoot?Cn(e,n.shadowRoot,i,r):Rn(n)||kn(n)||Kn(n)||Cn(e,n,i,r))}},_n=function(e,t){return On(t)?new on(e,t):Pn(t)?new an(e,t):kn(t)?new ln(e,t):Ln(t)?new cn(e,t):In(t)?new un(e,t):Nn(t)?new wn(e,t):Kn(t)?new Bn(e,t):Rn(t)?new yn(e,t):Mn(t)?new vn(e,t):new jr(e,t)},jn=function(e,t){var A=_n(e,t);return A.flags|=4,Cn(e,t,A,A),A},xn=function(e,t,A){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Hn(e)&&A.styles.isTransparent()},Fn=function(e){return e.isPositioned()||e.isFloating()},Qn=function(e){return e.nodeType===Node.TEXT_NODE},Un=function(e){return e.nodeType===Node.ELEMENT_NODE},En=function(e){return Un(e)&&void 0!==e.style&&!Sn(e)},Sn=function(e){return"object"==typeof e.className},Ln=function(e){return"LI"===e.tagName},In=function(e){return"OL"===e.tagName},Nn=function(e){return"INPUT"===e.tagName},kn=function(e){return"svg"===e.tagName},Hn=function(e){return"BODY"===e.tagName},Pn=function(e){return"CANVAS"===e.tagName},Tn=function(e){return"VIDEO"===e.tagName},On=function(e){return"IMG"===e.tagName},Mn=function(e){return"IFRAME"===e.tagName},Dn=function(e){return"STYLE"===e.tagName},Rn=function(e){return"TEXTAREA"===e.tagName},Kn=function(e){return"SELECT"===e.tagName},Vn=function(e){return"SLOT"===e.tagName},Gn=function(e){return e.tagName.indexOf("-")>0},zn=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){return this.counters[e]||[]},e.prototype.pop=function(e){var t=this;e.forEach(function(e){return t.counters[e].pop()})},e.prototype.parse=function(e){var t=this,A=e.counterIncrement,r=e.counterReset,n=!0;null!==A&&A.forEach(function(e){var A=t.counters[e.counter];A&&0!==e.increment&&(n=!1,A.length||A.push(1),A[Math.max(0,A.length-1)]+=e.increment)});var s=[];return n&&r.forEach(function(e){var A=t.counters[e.counter];s.push(e.counter),A||(A=t.counters[e.counter]=[]),A.push(e.reset)}),s},e}(),qn={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Wn={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Xn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Yn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Jn=function(e,t,A,r,n,s){return e<t||e>A?is(e,n,s.length>0):r.integers.reduce(function(t,A,n){for(;e>=A;)e-=A,t+=r.values[n];return t},"")+s},Zn=function(e,t,A,r){var n="";do{A||e--,n=r(e)+n,e/=t}while(e*t>=t);return n},$n=function(e,t,A,r,n){var s=A-t+1;return(e<0?"-":"")+(Zn(Math.abs(e),s,r,function(e){return l(Math.floor(e%s)+t)})+n)},es=function(e,t,A){void 0===A&&(A=". ");var r=t.length;return Zn(Math.abs(e),r,!1,function(e){return t[Math.floor(e%r)]})+A},ts=function(e,t,A,r,n,s){if(e<-9999||e>9999)return is(e,4,n.length>0);var i=Math.abs(e),o=n;if(0===i)return t[0]+o;for(var a=0;i>0&&a<=4;a++){var l=i%10;0===l&&lr(s,1)&&""!==o?o=t[l]+o:l>1||1===l&&0===a||1===l&&1===a&&lr(s,2)||1===l&&1===a&&lr(s,4)&&e>100||1===l&&a>1&&lr(s,8)?o=t[l]+(a>0?A[a-1]:"")+o:1===l&&a>0&&(o=A[a-1]+o),i=Math.floor(i/10)}return(e<0?r:"")+o},As="十百千萬",rs="拾佰仟萬",ns="マイナス",ss="마이너스",is=function(e,t,A){var r=A?". ":"",n=A?"、":"",s=A?", ":"",i=A?" ":"";switch(t){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var o=$n(e,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return es(e,"〇一二三四五六七八九",n);case 6:return Jn(e,1,3999,qn,3,r).toLowerCase();case 7:return Jn(e,1,3999,qn,3,r);case 8:return $n(e,945,969,!1,r);case 9:return $n(e,97,122,!1,r);case 10:return $n(e,65,90,!1,r);case 11:return $n(e,1632,1641,!0,r);case 12:case 49:return Jn(e,1,9999,Wn,3,r);case 35:return Jn(e,1,9999,Wn,3,r).toLowerCase();case 13:return $n(e,2534,2543,!0,r);case 14:case 30:return $n(e,6112,6121,!0,r);case 15:return es(e,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return es(e,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return ts(e,"零一二三四五六七八九",As,"負",n,14);case 47:return ts(e,"零壹貳參肆伍陸柒捌玖",rs,"負",n,15);case 42:return ts(e,"零一二三四五六七八九",As,"负",n,14);case 41:return ts(e,"零壹贰叁肆伍陆柒捌玖",rs,"负",n,15);case 26:return ts(e,"〇一二三四五六七八九","十百千万",ns,n,0);case 25:return ts(e,"零壱弐参四伍六七八九","拾百千万",ns,n,7);case 31:return ts(e,"영일이삼사오육칠팔구","십백천만",ss,s,7);case 33:return ts(e,"零一二三四五六七八九","十百千萬",ss,s,0);case 32:return ts(e,"零壹貳參四五六七八九","拾百千",ss,s,7);case 18:return $n(e,2406,2415,!0,r);case 20:return Jn(e,1,19999,Yn,3,r);case 21:return $n(e,2790,2799,!0,r);case 22:return $n(e,2662,2671,!0,r);case 22:return Jn(e,1,10999,Xn,3,r);case 23:return es(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return es(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return $n(e,3302,3311,!0,r);case 28:return es(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return es(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return $n(e,3792,3801,!0,r);case 37:return $n(e,6160,6169,!0,r);case 38:return $n(e,4160,4169,!0,r);case 39:return $n(e,2918,2927,!0,r);case 40:return $n(e,1776,1785,!0,r);case 43:return $n(e,3046,3055,!0,r);case 44:return $n(e,3174,3183,!0,r);case 45:return $n(e,3664,3673,!0,r);case 46:return $n(e,3872,3881,!0,r);default:return $n(e,48,57,!0,r)}},os="data-html2canvas-ignore",as=function(){function e(e,t,A){if(this.context=e,this.options=A,this.scrolledElements=[],this.referenceElement=t,this.counters=new zn,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var A=this,s=cs(e,t);if(!s.contentWindow)return Promise.reject("Unable to find iframe window");var i=e.defaultView.pageXOffset,o=e.defaultView.pageYOffset,a=s.contentWindow,l=a.document,c=ds(s).then(function(){return r(A,void 0,void 0,function(){var e,A;return n(this,function(r){switch(r.label){case 0:return this.scrolledElements.forEach(ws),a&&(a.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||a.scrollY===t.top&&a.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-t.left,a.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(A=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,hs(l)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"==typeof e?[2,Promise.resolve().then(function(){return e(l,A)}).then(function(){return s})]:[2,s]}})})});return l.open(),l.write(gs(document.doctype)+"<html></html>"),ms(this.referenceElement.ownerDocument,i,o),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},e.prototype.createElementClone=function(e){if(_r(e,2),Pn(e))return this.createCanvasClone(e);if(Tn(e))return this.createVideoClone(e);if(Dn(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return On(t)&&(On(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Gn(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return ps(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var A=[].slice.call(t.cssRules,0).reduce(function(e,t){return t&&"string"==typeof t.cssText?e+t.cssText:e},""),r=e.cloneNode(!1);return r.textContent=A,r}}catch(e){if(this.context.logger.error("Unable to access cssRules property",e),"SecurityError"!==e.name)throw e}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var A=e.ownerDocument.createElement("img");try{return A.src=e.toDataURL(),A}catch(t){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var n=e.getContext("2d"),s=r.getContext("2d");if(s)if(!this.options.allowTaint&&n)s.putImageData(n.getImageData(0,0,e.width,e.height),0,0);else{var i=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(i){var o=i.getContextAttributes();!1===(null==o?void 0:o.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}s.drawImage(e,0,0)}return r}catch(t){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var A=t.getContext("2d");try{return A&&(A.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||A.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,A){Un(t)&&("SCRIPT"===t.tagName||t.hasAttribute(os)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&Un(t)&&Dn(t)||e.appendChild(this.cloneNode(t,A))},e.prototype.cloneChildNodes=function(e,t,A){for(var r=this,n=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;n;n=n.nextSibling)if(Un(n)&&Vn(n)&&"function"==typeof n.assignedNodes){var s=n.assignedNodes();s.length&&s.forEach(function(e){return r.appendChildNode(t,e,A)})}else this.appendChildNode(t,n,A)},e.prototype.cloneNode=function(e,t){if(Qn(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var A=e.ownerDocument.defaultView;if(A&&Un(e)&&(En(e)||Sn(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var n=A.getComputedStyle(e),s=A.getComputedStyle(e,":before"),i=A.getComputedStyle(e,":after");this.referenceElement===e&&En(r)&&(this.clonedReferenceElement=r),Hn(r)&&bs(r);var o=this.counters.parse(new br(this.context,n)),a=this.resolvePseudoContent(e,r,s,Nr.BEFORE);Gn(e)&&(t=!0),Tn(e)||this.cloneChildNodes(e,r,t),a&&r.insertBefore(a,r.firstChild);var l=this.resolvePseudoContent(e,r,i,Nr.AFTER);return l&&r.appendChild(l),this.counters.pop(o),(n&&(this.options.copyStyles||Sn(e))&&!Mn(e)||t)&&ps(n,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(Rn(e)||Kn(e))&&(Rn(r)||Kn(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,A,r){var n=this;if(A){var s=A.content,i=t.ownerDocument;if(i&&s&&"none"!==s&&"-moz-alt-content"!==s&&"none"!==A.display){this.counters.parse(new br(this.context,A));var o=new vr(this.context,A),a=i.createElement("html2canvaspseudoelement");ps(A,a),o.content.forEach(function(t){if(0===t.type)a.appendChild(i.createTextNode(t.value));else if(22===t.type){var A=i.createElement("img");A.src=t.value,A.style.opacity="1",a.appendChild(A)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(Ge);r.length&&a.appendChild(i.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var s=t.values.filter(Xe),l=s[0],c=s[1];if(l&&Ge(l)){var u=n.counters.getCounterValue(l.value),h=c&&Ge(c)?UA.parse(n.context,c.value):3;a.appendChild(i.createTextNode(is(u,h,!1)))}}else if("counters"===t.name){var d=t.values.filter(Xe),f=(l=d[0],d[1]);if(c=d[2],l&&Ge(l)){var p=n.counters.getCounterValues(l.value),g=c&&Ge(c)?UA.parse(n.context,c.value):3,m=f&&0===f.type?f.value:"",w=p.map(function(e){return is(e,g,!1)}).join(m);a.appendChild(i.createTextNode(w))}}}else if(20===t.type)switch(t.value){case"open-quote":a.appendChild(i.createTextNode(pr(o.quotes,n.quoteDepth++,!0)));break;case"close-quote":a.appendChild(i.createTextNode(pr(o.quotes,--n.quoteDepth,!1)));break;default:a.appendChild(i.createTextNode(t.value))}}),a.className=Bs+" "+ys;var l=r===Nr.BEFORE?" "+Bs:" "+ys;return Sn(t)?t.className.baseValue+=l:t.className+=l,a}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(Nr||(Nr={}));var ls,cs=function(e,t){var A=e.createElement("iframe");return A.className="html2canvas-container",A.style.visibility="hidden",A.style.position="fixed",A.style.left="-10000px",A.style.top="0px",A.style.border="0",A.width=t.width.toString(),A.height=t.height.toString(),A.scrolling="no",A.setAttribute(os,"true"),e.body.appendChild(A),A},us=function(e){return new Promise(function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()})},hs=function(e){return Promise.all([].slice.call(e.images,0).map(us))},ds=function(e){return new Promise(function(t,A){var r=e.contentWindow;if(!r)return A("No window assigned for iframe");var n=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var A=setInterval(function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(A),t(e))},50)}})},fs=["all","d","content"],ps=function(e,t){for(var A=e.length-1;A>=0;A--){var r=e.item(A);-1===fs.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},gs=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},ms=function(e,t,A){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||A!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,A)},ws=function(e){var t=e[0],A=e[1],r=e[2];t.scrollLeft=A,t.scrollTop=r},Bs="___html2canvas___pseudoelement_before",ys="___html2canvas___pseudoelement_after",vs='{\n content: "" !important;\n display: none !important;\n}',bs=function(e){Cs(e,"."+Bs+":before"+vs+"\n ."+ys+":after"+vs)},Cs=function(e,t){var A=e.ownerDocument;if(A){var r=A.createElement("style");r.textContent=t,e.appendChild(r)}},_s=function(){function e(){}return e.getOrigin=function(t){var A=e._link;return A?(A.href=t,A.href=A.href,A.protocol+A.hostname+A.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),js=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:Ls(e)||Us(e)?((this._cache[e]=this.loadImage(e)).catch(function(){}),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return r(this,void 0,void 0,function(){var t,A,r,s,i=this;return n(this,function(n){switch(n.label){case 0:return t=_s.isSameOrigin(e),A=!Es(e)&&!0===this._options.useCORS&&Wr.SUPPORT_CORS_IMAGES&&!t,r=!Es(e)&&!t&&!Ls(e)&&"string"==typeof this._options.proxy&&Wr.SUPPORT_CORS_XHR&&!A,t||!1!==this._options.allowTaint||Es(e)||Ls(e)||r||A?(s=e,r?[4,this.proxy(s)]:[3,2]):[2];case 1:s=n.sent(),n.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(Ss(s)||A)&&(r.crossOrigin="anonymous"),r.src=s,!0===r.complete&&setTimeout(function(){return e(r)},500),i._options.imageTimeout>0&&setTimeout(function(){return t("Timed out ("+i._options.imageTimeout+"ms) loading image")},i._options.imageTimeout)})];case 3:return[2,n.sent()]}})})},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,A=this._options.proxy;if(!A)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise(function(n,s){var i=Wr.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(200===o.status)if("text"===i)n(o.response);else{var e=new FileReader;e.addEventListener("load",function(){return n(e.result)},!1),e.addEventListener("error",function(e){return s(e)},!1),e.readAsDataURL(o.response)}else s("Failed to proxy resource "+r+" with status code "+o.status)},o.onerror=s;var a=A.indexOf("?")>-1?"&":"?";if(o.open("GET",""+A+a+"url="+encodeURIComponent(e)+"&responseType="+i),"text"!==i&&o instanceof XMLHttpRequest&&(o.responseType=i),t._options.imageTimeout){var l=t._options.imageTimeout;o.timeout=l,o.ontimeout=function(){return s("Timed out ("+l+"ms) proxying "+r)}}o.send()})},e}(),xs=/^data:image\/svg\+xml/i,Fs=/^data:image\/.*;base64,/i,Qs=/^data:image\/.*/i,Us=function(e){return Wr.SUPPORT_SVG_DRAWING||!Is(e)},Es=function(e){return Qs.test(e)},Ss=function(e){return Fs.test(e)},Ls=function(e){return"blob"===e.substr(0,4)},Is=function(e){return"svg"===e.substr(-3).toLowerCase()||xs.test(e)},Ns=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,A){return new e(this.x+t,this.y+A)},e}(),ks=function(e,t,A){return new Ns(e.x+(t.x-e.x)*A,e.y+(t.y-e.y)*A)},Hs=function(){function e(e,t,A,r){this.type=1,this.start=e,this.startControl=t,this.endControl=A,this.end=r}return e.prototype.subdivide=function(t,A){var r=ks(this.start,this.startControl,t),n=ks(this.startControl,this.endControl,t),s=ks(this.endControl,this.end,t),i=ks(r,n,t),o=ks(n,s,t),a=ks(i,o,t);return A?new e(this.start,r,i,a):new e(a,o,s,this.end)},e.prototype.add=function(t,A){return new e(this.start.add(t,A),this.startControl.add(t,A),this.endControl.add(t,A),this.end.add(t,A))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Ps=function(e){return 1===e.type},Ts=function(e){var t=e.styles,A=e.bounds,r=nt(t.borderTopLeftRadius,A.width,A.height),n=r[0],s=r[1],i=nt(t.borderTopRightRadius,A.width,A.height),o=i[0],a=i[1],l=nt(t.borderBottomRightRadius,A.width,A.height),c=l[0],u=l[1],h=nt(t.borderBottomLeftRadius,A.width,A.height),d=h[0],f=h[1],p=[];p.push((n+o)/A.width),p.push((d+c)/A.width),p.push((s+f)/A.height),p.push((a+u)/A.height);var g=Math.max.apply(Math,p);g>1&&(n/=g,s/=g,o/=g,a/=g,c/=g,u/=g,d/=g,f/=g);var m=A.width-o,w=A.height-u,B=A.width-c,y=A.height-f,v=t.borderTopWidth,b=t.borderRightWidth,C=t.borderBottomWidth,_=t.borderLeftWidth,j=st(t.paddingTop,e.bounds.width),x=st(t.paddingRight,e.bounds.width),F=st(t.paddingBottom,e.bounds.width),Q=st(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||s>0?Os(A.left+_/3,A.top+v/3,n-_/3,s-v/3,ls.TOP_LEFT):new Ns(A.left+_/3,A.top+v/3),this.topRightBorderDoubleOuterBox=n>0||s>0?Os(A.left+m,A.top+v/3,o-b/3,a-v/3,ls.TOP_RIGHT):new Ns(A.left+A.width-b/3,A.top+v/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?Os(A.left+B,A.top+w,c-b/3,u-C/3,ls.BOTTOM_RIGHT):new Ns(A.left+A.width-b/3,A.top+A.height-C/3),this.bottomLeftBorderDoubleOuterBox=d>0||f>0?Os(A.left+_/3,A.top+y,d-_/3,f-C/3,ls.BOTTOM_LEFT):new Ns(A.left+_/3,A.top+A.height-C/3),this.topLeftBorderDoubleInnerBox=n>0||s>0?Os(A.left+2*_/3,A.top+2*v/3,n-2*_/3,s-2*v/3,ls.TOP_LEFT):new Ns(A.left+2*_/3,A.top+2*v/3),this.topRightBorderDoubleInnerBox=n>0||s>0?Os(A.left+m,A.top+2*v/3,o-2*b/3,a-2*v/3,ls.TOP_RIGHT):new Ns(A.left+A.width-2*b/3,A.top+2*v/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?Os(A.left+B,A.top+w,c-2*b/3,u-2*C/3,ls.BOTTOM_RIGHT):new Ns(A.left+A.width-2*b/3,A.top+A.height-2*C/3),this.bottomLeftBorderDoubleInnerBox=d>0||f>0?Os(A.left+2*_/3,A.top+y,d-2*_/3,f-2*C/3,ls.BOTTOM_LEFT):new Ns(A.left+2*_/3,A.top+A.height-2*C/3),this.topLeftBorderStroke=n>0||s>0?Os(A.left+_/2,A.top+v/2,n-_/2,s-v/2,ls.TOP_LEFT):new Ns(A.left+_/2,A.top+v/2),this.topRightBorderStroke=n>0||s>0?Os(A.left+m,A.top+v/2,o-b/2,a-v/2,ls.TOP_RIGHT):new Ns(A.left+A.width-b/2,A.top+v/2),this.bottomRightBorderStroke=c>0||u>0?Os(A.left+B,A.top+w,c-b/2,u-C/2,ls.BOTTOM_RIGHT):new Ns(A.left+A.width-b/2,A.top+A.height-C/2),this.bottomLeftBorderStroke=d>0||f>0?Os(A.left+_/2,A.top+y,d-_/2,f-C/2,ls.BOTTOM_LEFT):new Ns(A.left+_/2,A.top+A.height-C/2),this.topLeftBorderBox=n>0||s>0?Os(A.left,A.top,n,s,ls.TOP_LEFT):new Ns(A.left,A.top),this.topRightBorderBox=o>0||a>0?Os(A.left+m,A.top,o,a,ls.TOP_RIGHT):new Ns(A.left+A.width,A.top),this.bottomRightBorderBox=c>0||u>0?Os(A.left+B,A.top+w,c,u,ls.BOTTOM_RIGHT):new Ns(A.left+A.width,A.top+A.height),this.bottomLeftBorderBox=d>0||f>0?Os(A.left,A.top+y,d,f,ls.BOTTOM_LEFT):new Ns(A.left,A.top+A.height),this.topLeftPaddingBox=n>0||s>0?Os(A.left+_,A.top+v,Math.max(0,n-_),Math.max(0,s-v),ls.TOP_LEFT):new Ns(A.left+_,A.top+v),this.topRightPaddingBox=o>0||a>0?Os(A.left+Math.min(m,A.width-b),A.top+v,m>A.width+b?0:Math.max(0,o-b),Math.max(0,a-v),ls.TOP_RIGHT):new Ns(A.left+A.width-b,A.top+v),this.bottomRightPaddingBox=c>0||u>0?Os(A.left+Math.min(B,A.width-_),A.top+Math.min(w,A.height-C),Math.max(0,c-b),Math.max(0,u-C),ls.BOTTOM_RIGHT):new Ns(A.left+A.width-b,A.top+A.height-C),this.bottomLeftPaddingBox=d>0||f>0?Os(A.left+_,A.top+Math.min(y,A.height-C),Math.max(0,d-_),Math.max(0,f-C),ls.BOTTOM_LEFT):new Ns(A.left+_,A.top+A.height-C),this.topLeftContentBox=n>0||s>0?Os(A.left+_+Q,A.top+v+j,Math.max(0,n-(_+Q)),Math.max(0,s-(v+j)),ls.TOP_LEFT):new Ns(A.left+_+Q,A.top+v+j),this.topRightContentBox=o>0||a>0?Os(A.left+Math.min(m,A.width+_+Q),A.top+v+j,m>A.width+_+Q?0:o-_+Q,a-(v+j),ls.TOP_RIGHT):new Ns(A.left+A.width-(b+x),A.top+v+j),this.bottomRightContentBox=c>0||u>0?Os(A.left+Math.min(B,A.width-(_+Q)),A.top+Math.min(w,A.height+v+j),Math.max(0,c-(b+x)),u-(C+F),ls.BOTTOM_RIGHT):new Ns(A.left+A.width-(b+x),A.top+A.height-(C+F)),this.bottomLeftContentBox=d>0||f>0?Os(A.left+_+Q,A.top+y,Math.max(0,d-(_+Q)),f-(C+F),ls.BOTTOM_LEFT):new Ns(A.left+_+Q,A.top+A.height-(C+F))};!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(ls||(ls={}));var Os=function(e,t,A,r,n){var s=(Math.sqrt(2)-1)/3*4,i=A*s,o=r*s,a=e+A,l=t+r;switch(n){case ls.TOP_LEFT:return new Hs(new Ns(e,l),new Ns(e,l-o),new Ns(a-i,t),new Ns(a,t));case ls.TOP_RIGHT:return new Hs(new Ns(e,t),new Ns(e+i,t),new Ns(a,l-o),new Ns(a,l));case ls.BOTTOM_RIGHT:return new Hs(new Ns(a,t),new Ns(a,t+o),new Ns(e+i,l),new Ns(e,l));case ls.BOTTOM_LEFT:default:return new Hs(new Ns(a,l),new Ns(a-i,l),new Ns(e,t+o),new Ns(e,t))}},Ms=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Ds=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Rs=function(e,t,A){this.offsetX=e,this.offsetY=t,this.matrix=A,this.type=0,this.target=6},Ks=function(e,t){this.path=e,this.target=t,this.type=1},Vs=function(e){this.opacity=e,this.type=2,this.target=6},Gs=function(e){return 1===e.type},zs=function(e,t){return e.length===t.length&&e.some(function(e,A){return e===t[A]})},qs=function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},Ws=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new Ts(this.container),this.container.styles.opacity<1&&this.effects.push(new Vs(this.container.styles.opacity)),null!==this.container.styles.transform){var A=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,n=this.container.styles.transform;this.effects.push(new Rs(A,r,n))}if(0!==this.container.styles.overflowX){var s=Ms(this.curves),i=Ds(this.curves);zs(s,i)?this.effects.push(new Ks(s,6)):(this.effects.push(new Ks(s,2)),this.effects.push(new Ks(i,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),A=this.parent,r=this.effects.slice(0);A;){var n=A.effects.filter(function(e){return!Gs(e)});if(t||0!==A.container.styles.position||!A.parent){if(r.unshift.apply(r,n),t=-1===[2,3].indexOf(A.container.styles.position),0!==A.container.styles.overflowX){var s=Ms(A.curves),i=Ds(A.curves);zs(s,i)||r.unshift(new Ks(i,6))}}else r.unshift.apply(r,n);A=A.parent}return r.filter(function(t){return lr(t.target,e)})},e}(),Xs=function(e,t,A,r){e.container.elements.forEach(function(n){var s=lr(n.flags,4),i=lr(n.flags,2),o=new Ws(n,e);lr(n.styles.display,2048)&&r.push(o);var a=lr(n.flags,8)?[]:r;if(s||i){var l=s||n.styles.isPositioned()?A:t,c=new qs(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var u=n.styles.zIndex.order;if(u<0){var h=0;l.negativeZIndex.some(function(e,t){return u>e.element.container.styles.zIndex.order?(h=t,!1):h>0}),l.negativeZIndex.splice(h,0,c)}else if(u>0){var d=0;l.positiveZIndex.some(function(e,t){return u>=e.element.container.styles.zIndex.order?(d=t+1,!1):d>0}),l.positiveZIndex.splice(d,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else n.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);Xs(o,c,s?c:A,a)}else n.styles.isInlineLevel()?t.inlineLevel.push(o):t.nonInlineLevel.push(o),Xs(o,t,A,a);lr(n.flags,8)&&Ys(n,a)})},Ys=function(e,t){for(var A=e instanceof un?e.start:1,r=e instanceof un&&e.reversed,n=0;n<t.length;n++){var s=t[n];s.container instanceof cn&&"number"==typeof s.container.value&&0!==s.container.value&&(A=s.container.value),s.listValue=is(A,s.container.styles.listStyleType,!0),A+=r?-1:1}},Js=function(e,t){switch(t){case 0:return $s(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return $s(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return $s(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return $s(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Zs=function(e,t){var A=[];return Ps(e)?A.push(e.subdivide(.5,!1)):A.push(e),Ps(t)?A.push(t.subdivide(.5,!0)):A.push(t),A},$s=function(e,t,A,r){var n=[];return Ps(e)?n.push(e.subdivide(.5,!1)):n.push(e),Ps(A)?n.push(A.subdivide(.5,!0)):n.push(A),Ps(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),Ps(t)?n.push(t.subdivide(.5,!1).reverse()):n.push(t),n},ei=function(e){var t=e.bounds,A=e.styles;return t.add(A.borderLeftWidth,A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth),-(A.borderTopWidth+A.borderBottomWidth))},ti=function(e){var t=e.styles,A=e.bounds,r=st(t.paddingLeft,A.width),n=st(t.paddingRight,A.width),s=st(t.paddingTop,A.width),i=st(t.paddingBottom,A.width);return A.add(r+t.borderLeftWidth,s+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+n),-(t.borderTopWidth+t.borderBottomWidth+s+i))},Ai=function(e,t,A){var r=function(e,t){return 0===e?t.bounds:2===e?ti(t):ei(t)}(ii(e.styles.backgroundOrigin,t),e),n=function(e,t){return 0===e?t.bounds:2===e?ti(t):ei(t)}(ii(e.styles.backgroundClip,t),e),s=si(ii(e.styles.backgroundSize,t),A,r),i=s[0],o=s[1],a=nt(ii(e.styles.backgroundPosition,t),r.width-i,r.height-o);return[oi(ii(e.styles.backgroundRepeat,t),a,s,r,n),Math.round(r.left+a[0]),Math.round(r.top+a[1]),i,o]},ri=function(e){return Ge(e)&&e.value===Dt.AUTO},ni=function(e){return"number"==typeof e},si=function(e,t,A){var r=t[0],n=t[1],s=t[2],i=e[0],o=e[1];if(!i)return[0,0];if($e(i)&&o&&$e(o))return[st(i,A.width),st(o,A.height)];var a=ni(s);if(Ge(i)&&(i.value===Dt.CONTAIN||i.value===Dt.COVER))return ni(s)?A.width/A.height<s!=(i.value===Dt.COVER)?[A.width,A.width/s]:[A.height*s,A.height]:[A.width,A.height];var l=ni(r),c=ni(n),u=l||c;if(ri(i)&&(!o||ri(o)))return l&&c?[r,n]:a||u?u&&a?[l?r:n*s,c?n:r/s]:[l?r:A.width,c?n:A.height]:[A.width,A.height];if(a){var h=0,d=0;return $e(i)?h=st(i,A.width):$e(o)&&(d=st(o,A.height)),ri(i)?h=d*s:o&&!ri(o)||(d=h/s),[h,d]}var f=null,p=null;if($e(i)?f=st(i,A.width):o&&$e(o)&&(p=st(o,A.height)),null===f||o&&!ri(o)||(p=l&&c?f/r*n:A.height),null!==p&&ri(i)&&(f=l&&c?p/n*r:A.width),null!==f&&null!==p)return[f,p];throw new Error("Unable to calculate background-size for element")},ii=function(e,t){var A=e[t];return void 0===A?e[0]:A},oi=function(e,t,A,r,n){var s=t[0],i=t[1],o=A[0],a=A[1];switch(e){case 2:return[new Ns(Math.round(r.left),Math.round(r.top+i)),new Ns(Math.round(r.left+r.width),Math.round(r.top+i)),new Ns(Math.round(r.left+r.width),Math.round(a+r.top+i)),new Ns(Math.round(r.left),Math.round(a+r.top+i))];case 3:return[new Ns(Math.round(r.left+s),Math.round(r.top)),new Ns(Math.round(r.left+s+o),Math.round(r.top)),new Ns(Math.round(r.left+s+o),Math.round(r.height+r.top)),new Ns(Math.round(r.left+s),Math.round(r.height+r.top))];case 1:return[new Ns(Math.round(r.left+s),Math.round(r.top+i)),new Ns(Math.round(r.left+s+o),Math.round(r.top+i)),new Ns(Math.round(r.left+s+o),Math.round(r.top+i+a)),new Ns(Math.round(r.left+s),Math.round(r.top+i+a))];default:return[new Ns(Math.round(n.left),Math.round(n.top)),new Ns(Math.round(n.left+n.width),Math.round(n.top)),new Ns(Math.round(n.left+n.width),Math.round(n.height+n.top)),new Ns(Math.round(n.left),Math.round(n.height+n.top))]}},ai="Hidden Text",li=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var A=this._document.createElement("div"),r=this._document.createElement("img"),n=this._document.createElement("span"),s=this._document.body;A.style.visibility="hidden",A.style.fontFamily=e,A.style.fontSize=t,A.style.margin="0",A.style.padding="0",A.style.whiteSpace="nowrap",s.appendChild(A),r.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(ai)),A.appendChild(n),A.appendChild(r);var i=r.offsetTop-n.offsetTop+2;A.removeChild(n),A.appendChild(this._document.createTextNode(ai)),A.style.lineHeight="normal",r.style.verticalAlign="super";var o=r.offsetTop-A.offsetTop+2;return s.removeChild(A),{baseline:i,middle:o}},e.prototype.getMetrics=function(e,t){var A=e+" "+t;return void 0===this._data[A]&&(this._data[A]=this.parseMetrics(e,t)),this._data[A]},e}(),ci=function(e,t){this.context=e,this.options=t},ui=function(e){function A(t,A){var r=e.call(this,t,A)||this;return r._activeEffects=[],r.canvas=A.canvas?A.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),A.canvas||(r.canvas.width=Math.floor(A.width*A.scale),r.canvas.height=Math.floor(A.height*A.scale),r.canvas.style.width=A.width+"px",r.canvas.style.height=A.height+"px"),r.fontMetrics=new li(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-A.x,-A.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+A.width+"x"+A.height+") with scale "+A.scale),r}return t(A,e),A.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach(function(e){return t.applyEffect(e)})},A.prototype.applyEffect=function(e){this.ctx.save(),function(e){return 2===e.type}(e)&&(this.ctx.globalAlpha=e.opacity),function(e){return 0===e.type}(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),Gs(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(e){return r(this,void 0,void 0,function(){return n(this,function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(e){return r(this,void 0,void 0,function(){return n(this,function(t){switch(t.label){case 0:return lr(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(e,t,A){var r=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+A):Zr(e.text).reduce(function(t,n){return r.ctx.fillText(n,t,e.bounds.top+A),t+r.ctx.measureText(n).width},e.bounds.left)},A.prototype.createFontStyle=function(e){var t=e.fontVariant.filter(function(e){return"normal"===e||"small-caps"===e}).join(""),A=gi(e.fontFamily).join(", "),r=Ke(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,r,A].join(" "),A,r]},A.prototype.renderTextNode=function(e,t){return r(this,void 0,void 0,function(){var A,r,s,i,o,a,l,c,u=this;return n(this,function(n){return A=this.createFontStyle(t),r=A[0],s=A[1],i=A[2],this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",o=this.fontMetrics.getMetrics(s,i),a=o.baseline,l=o.middle,c=t.paintOrder,e.textBounds.forEach(function(e){c.forEach(function(A){switch(A){case 0:u.ctx.fillStyle=ft(t.color),u.renderTextWithLetterSpacing(e,t.letterSpacing,a);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach(function(A){u.ctx.shadowColor=ft(A.color),u.ctx.shadowOffsetX=A.offsetX.number*u.options.scale,u.ctx.shadowOffsetY=A.offsetY.number*u.options.scale,u.ctx.shadowBlur=A.blur.number,u.renderTextWithLetterSpacing(e,t.letterSpacing,a)}),u.ctx.shadowColor="",u.ctx.shadowOffsetX=0,u.ctx.shadowOffsetY=0,u.ctx.shadowBlur=0),t.textDecorationLine.length&&(u.ctx.fillStyle=ft(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(t){switch(t){case 1:u.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+a),e.bounds.width,1);break;case 2:u.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:u.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+l),e.bounds.width,1)}}));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(u.ctx.strokeStyle=ft(t.webkitTextStrokeColor),u.ctx.lineWidth=t.webkitTextStrokeWidth,u.ctx.lineJoin=window.chrome?"miter":"round",u.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+a)),u.ctx.strokeStyle="",u.ctx.lineWidth=0,u.ctx.lineJoin="miter"}})}),[2]})})},A.prototype.renderReplacedElement=function(e,t,A){if(A&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=ti(e),n=Ds(t);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(A,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,function(){var t,r,s,o,a,l,c,u,h,d,f,p,g,m,w,B,y,v;return n(this,function(n){switch(n.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,r=e.curves,s=t.styles,o=0,a=t.textNodes,n.label=1;case 1:return o<a.length?(l=a[o],[4,this.renderTextNode(l,s)]):[3,4];case 2:n.sent(),n.label=3;case 3:return o++,[3,1];case 4:if(!(t instanceof on))return[3,8];n.label=5;case 5:return n.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return w=n.sent(),this.renderReplacedElement(t,r,w),[3,8];case 7:return n.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof an&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof ln))return[3,12];n.label=9;case 9:return n.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return w=n.sent(),this.renderReplacedElement(t,r,w),[3,12];case 11:return n.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof vn&&t.tree?[4,new A(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:c=n.sent(),t.width&&t.height&&this.ctx.drawImage(c,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),n.label=14;case 14:if(t instanceof wn&&(u=Math.min(t.bounds.width,t.bounds.height),t.type===fn?t.checked&&(this.ctx.save(),this.path([new Ns(t.bounds.left+.39363*u,t.bounds.top+.79*u),new Ns(t.bounds.left+.16*u,t.bounds.top+.5549*u),new Ns(t.bounds.left+.27347*u,t.bounds.top+.44071*u),new Ns(t.bounds.left+.39694*u,t.bounds.top+.5649*u),new Ns(t.bounds.left+.72983*u,t.bounds.top+.23*u),new Ns(t.bounds.left+.84*u,t.bounds.top+.34085*u),new Ns(t.bounds.left+.39363*u,t.bounds.top+.79*u)]),this.ctx.fillStyle=ft(mn),this.ctx.fill(),this.ctx.restore()):t.type===pn&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+u/2,t.bounds.top+u/2,u/4,0,2*Math.PI,!0),this.ctx.fillStyle=ft(mn),this.ctx.fill(),this.ctx.restore())),hi(t)&&t.value.length){switch(h=this.createFontStyle(s),y=h[0],d=h[1],f=this.fontMetrics.getMetrics(y,d).baseline,this.ctx.font=y,this.ctx.fillStyle=ft(s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=fi(t.styles.textAlign),v=ti(t),p=0,t.styles.textAlign){case 1:p+=v.width/2;break;case 2:p+=v.width}g=v.add(p,0,0,-v.height/2+1),this.ctx.save(),this.path([new Ns(v.left,v.top),new Ns(v.left+v.width,v.top),new Ns(v.left+v.width,v.top+v.height),new Ns(v.left,v.top+v.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Xr(t.value,g),s.letterSpacing,f),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!lr(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(m=t.styles.listStyleImage).type)return[3,18];w=void 0,B=m.url,n.label=15;case 15:return n.trys.push([15,17,,18]),[4,this.context.cache.match(B)];case 16:return w=n.sent(),this.ctx.drawImage(w,t.bounds.left-(w.width+10),t.bounds.top),[3,18];case 17:return n.sent(),this.context.logger.error("Error loading list-style-image "+B),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==t.styles.listStyleType&&(y=this.createFontStyle(s)[0],this.ctx.font=y,this.ctx.fillStyle=ft(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",v=new i(t.bounds.left,t.bounds.top+st(t.styles.paddingTop,t.bounds.width),t.bounds.width,xA(s.lineHeight,s.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Xr(e.listValue,v),s.letterSpacing,xA(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),n.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(e){return r(this,void 0,void 0,function(){var t,A,r,s,i,o,a,l,c,u,h,d,f,p,g;return n(this,function(n){switch(n.label){case 0:return lr(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:n.sent(),t=0,A=e.negativeZIndex,n.label=2;case 2:return t<A.length?(g=A[t],[4,this.renderStack(g)]):[3,5];case 3:n.sent(),n.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:n.sent(),r=0,s=e.nonInlineLevel,n.label=7;case 7:return r<s.length?(g=s[r],[4,this.renderNode(g)]):[3,10];case 8:n.sent(),n.label=9;case 9:return r++,[3,7];case 10:i=0,o=e.nonPositionedFloats,n.label=11;case 11:return i<o.length?(g=o[i],[4,this.renderStack(g)]):[3,14];case 12:n.sent(),n.label=13;case 13:return i++,[3,11];case 14:a=0,l=e.nonPositionedInlineLevel,n.label=15;case 15:return a<l.length?(g=l[a],[4,this.renderStack(g)]):[3,18];case 16:n.sent(),n.label=17;case 17:return a++,[3,15];case 18:c=0,u=e.inlineLevel,n.label=19;case 19:return c<u.length?(g=u[c],[4,this.renderNode(g)]):[3,22];case 20:n.sent(),n.label=21;case 21:return c++,[3,19];case 22:h=0,d=e.zeroOrAutoZIndexOrTransformedOrOpacity,n.label=23;case 23:return h<d.length?(g=d[h],[4,this.renderStack(g)]):[3,26];case 24:n.sent(),n.label=25;case 25:return h++,[3,23];case 26:f=0,p=e.positiveZIndex,n.label=27;case 27:return f<p.length?(g=p[f],[4,this.renderStack(g)]):[3,30];case 28:n.sent(),n.label=29;case 29:return f++,[3,27];case 30:return[2]}})})},A.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},A.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},A.prototype.formatPath=function(e){var t=this;e.forEach(function(e,A){var r=Ps(e)?e.start:e;0===A?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),Ps(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},A.prototype.renderRepeat=function(e,t,A,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(A,r),this.ctx.fill(),this.ctx.translate(-A,-r)},A.prototype.resizeImage=function(e,t,A){var r;if(e.width===t&&e.height===A)return e;var n=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement("canvas");return n.width=Math.max(1,t),n.height=Math.max(1,A),n.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,A),n},A.prototype.renderBackgroundImage=function(e){return r(this,void 0,void 0,function(){var t,A,r,s,i,o;return n(this,function(a){switch(a.label){case 0:t=e.styles.backgroundImage.length-1,A=function(A){var s,i,o,a,l,c,u,h,d,f,p,g,m,w,B,y,v,b,C,_,j,x,F,Q,U,E,S,L,I,N,k;return n(this,function(n){switch(n.label){case 0:if(0!==A.type)return[3,5];s=void 0,i=A.url,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,r.context.cache.match(i)];case 2:return s=n.sent(),[3,4];case 3:return n.sent(),r.context.logger.error("Error loading background-image "+i),[3,4];case 4:return s&&(o=Ai(e,t,[s.width,s.height,s.width/s.height]),y=o[0],x=o[1],F=o[2],C=o[3],_=o[4],w=r.ctx.createPattern(r.resizeImage(s,C,_),"repeat"),r.renderRepeat(y,w,x,F)),[3,6];case 5:1===A.type?(a=Ai(e,t,[null,null,null]),y=a[0],x=a[1],F=a[2],C=a[3],_=a[4],l=Ft(A.angle,C,_),c=l[0],u=l[1],h=l[2],d=l[3],f=l[4],(p=document.createElement("canvas")).width=C,p.height=_,g=p.getContext("2d"),m=g.createLinearGradient(u,d,h,f),xt(A.stops,c).forEach(function(e){return m.addColorStop(e.stop,ft(e.color))}),g.fillStyle=m,g.fillRect(0,0,C,_),C>0&&_>0&&(w=r.ctx.createPattern(p,"repeat"),r.renderRepeat(y,w,x,F))):function(e){return 2===e.type}(A)&&(B=Ai(e,t,[null,null,null]),y=B[0],v=B[1],b=B[2],C=B[3],_=B[4],j=0===A.position.length?[At]:A.position,x=st(j[0],C),F=st(j[j.length-1],_),Q=function(e,t,A,r,n){var s=0,i=0;switch(e.size){case 0:0===e.shape?s=i=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(A),Math.abs(A-n)):1===e.shape&&(s=Math.min(Math.abs(t),Math.abs(t-r)),i=Math.min(Math.abs(A),Math.abs(A-n)));break;case 2:if(0===e.shape)s=i=Math.min(Qt(t,A),Qt(t,A-n),Qt(t-r,A),Qt(t-r,A-n));else if(1===e.shape){var o=Math.min(Math.abs(A),Math.abs(A-n))/Math.min(Math.abs(t),Math.abs(t-r)),a=Ut(r,n,t,A,!0),l=a[0],c=a[1];i=o*(s=Qt(l-t,(c-A)/o))}break;case 1:0===e.shape?s=i=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(A),Math.abs(A-n)):1===e.shape&&(s=Math.max(Math.abs(t),Math.abs(t-r)),i=Math.max(Math.abs(A),Math.abs(A-n)));break;case 3:if(0===e.shape)s=i=Math.max(Qt(t,A),Qt(t,A-n),Qt(t-r,A),Qt(t-r,A-n));else if(1===e.shape){o=Math.max(Math.abs(A),Math.abs(A-n))/Math.max(Math.abs(t),Math.abs(t-r));var u=Ut(r,n,t,A,!1);l=u[0],c=u[1],i=o*(s=Qt(l-t,(c-A)/o))}}return Array.isArray(e.size)&&(s=st(e.size[0],r),i=2===e.size.length?st(e.size[1],n):s),[s,i]}(A,x,F,C,_),U=Q[0],E=Q[1],U>0&&E>0&&(S=r.ctx.createRadialGradient(v+x,b+F,0,v+x,b+F,U),xt(A.stops,2*U).forEach(function(e){return S.addColorStop(e.stop,ft(e.color))}),r.path(y),r.ctx.fillStyle=S,U!==E?(L=e.bounds.left+.5*e.bounds.width,I=e.bounds.top+.5*e.bounds.height,k=1/(N=E/U),r.ctx.save(),r.ctx.translate(L,I),r.ctx.transform(1,0,0,N,0,0),r.ctx.translate(-L,-I),r.ctx.fillRect(v,k*(b-I)+I,C,_*k),r.ctx.restore()):r.ctx.fill())),n.label=6;case 6:return t--,[2]}})},r=this,s=0,i=e.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return s<i.length?(o=i[s],[5,A(o)]):[3,4];case 2:a.sent(),a.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(e,t,A){return r(this,void 0,void 0,function(){return n(this,function(r){return this.path(Js(A,t)),this.ctx.fillStyle=ft(e),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(e,t,A,s){return r(this,void 0,void 0,function(){var r,i;return n(this,function(n){switch(n.label){case 0:return t<3?[4,this.renderSolidBorder(e,A,s)]:[3,2];case 1:return n.sent(),[2];case 2:return r=function(e,t){switch(t){case 0:return $s(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return $s(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return $s(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return $s(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}}(s,A),this.path(r),this.ctx.fillStyle=ft(e),this.ctx.fill(),i=function(e,t){switch(t){case 0:return $s(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return $s(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return $s(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return $s(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}}(s,A),this.path(i),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(e){return r(this,void 0,void 0,function(){var t,A,r,s,i,o,a,l,c=this;return n(this,function(n){switch(n.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,A=!dt(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],s=di(ii(t.backgroundClip,0),e.curves),A||t.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),dt(t.backgroundColor)||(this.ctx.fillStyle=ft(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:n.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(t){c.ctx.save();var A,r,n,s,i,o=Ms(e.curves),a=t.inset?0:1e4,l=(A=o,r=-a+(t.inset?1:-1)*t.spread.number,n=(t.inset?1:-1)*t.spread.number,s=t.spread.number*(t.inset?-2:2),i=t.spread.number*(t.inset?-2:2),A.map(function(e,t){switch(t){case 0:return e.add(r,n);case 1:return e.add(r+s,n);case 2:return e.add(r+s,n+i);case 3:return e.add(r,n+i)}return e}));t.inset?(c.path(o),c.ctx.clip(),c.mask(l)):(c.mask(o),c.ctx.clip(),c.path(l)),c.ctx.shadowOffsetX=t.offsetX.number+a,c.ctx.shadowOffsetY=t.offsetY.number,c.ctx.shadowColor=ft(t.color),c.ctx.shadowBlur=t.blur.number,c.ctx.fillStyle=t.inset?ft(t.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()}),n.label=2;case 2:i=0,o=0,a=r,n.label=3;case 3:return o<a.length?0!==(l=a[o]).style&&!dt(l.color)&&l.width>0?2!==l.style?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,i,e.curves,2)]:[3,11]:[3,13];case 4:return n.sent(),[3,11];case 5:return 3!==l.style?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,i,e.curves,3)];case 6:return n.sent(),[3,11];case 7:return 4!==l.style?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,i,e.curves)];case 8:return n.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,i,e.curves)];case 10:n.sent(),n.label=11;case 11:i++,n.label=12;case 12:return o++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(e,t,A,s,i){return r(this,void 0,void 0,function(){var r,o,a,l,c,u,h,d,f,p,g,m,w,B,y,v;return n(this,function(n){return this.ctx.save(),r=function(e,t){switch(t){case 0:return Zs(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Zs(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Zs(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Zs(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(s,A),o=Js(s,A),2===i&&(this.path(o),this.ctx.clip()),Ps(o[0])?(a=o[0].start.x,l=o[0].start.y):(a=o[0].x,l=o[0].y),Ps(o[1])?(c=o[1].end.x,u=o[1].end.y):(c=o[1].x,u=o[1].y),h=0===A||2===A?Math.abs(a-c):Math.abs(l-u),this.ctx.beginPath(),3===i?this.formatPath(r):this.formatPath(o.slice(0,2)),d=t<3?3*t:2*t,f=t<3?2*t:t,3===i&&(d=t,f=t),p=!0,h<=2*d?p=!1:h<=2*d+f?(d*=g=h/(2*d+f),f*=g):(m=Math.floor((h+f)/(d+f)),w=(h-m*d)/(m-1),f=(B=(h-(m+1)*d)/m)<=0||Math.abs(f-w)<Math.abs(f-B)?w:B),p&&(3===i?this.ctx.setLineDash([0,d+f]):this.ctx.setLineDash([d,f])),3===i?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=ft(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===i&&(Ps(o[0])&&(y=o[3],v=o[0],this.ctx.beginPath(),this.formatPath([new Ns(y.end.x,y.end.y),new Ns(v.start.x,v.start.y)]),this.ctx.stroke()),Ps(o[1])&&(y=o[1],v=o[2],this.ctx.beginPath(),this.formatPath([new Ns(y.end.x,y.end.y),new Ns(v.start.x,v.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(e){return r(this,void 0,void 0,function(){var t;return n(this,function(A){switch(A.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=ft(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=new Ws(e,null),n=new qs(r),Xs(r,n,n,s=[]),Ys(r.container,s),t=n,[4,this.renderStack(t)];case 1:return A.sent(),this.applyEffects([]),[2,this.canvas]}var r,n,s})})},A}(ci),hi=function(e){return e instanceof yn||e instanceof Bn||e instanceof wn&&e.type!==pn&&e.type!==fn},di=function(e,t){switch(e){case 0:return Ms(t);case 2:return function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]}(t);default:return Ds(t)}},fi=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},pi=["-apple-system","system-ui"],gi=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(e){return-1===pi.indexOf(e)}):e},mi=function(e){function A(t,A){var r=e.call(this,t,A)||this;return r.canvas=A.canvas?A.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=A,r.canvas.width=Math.floor(A.width*A.scale),r.canvas.height=Math.floor(A.height*A.scale),r.canvas.style.width=A.width+"px",r.canvas.style.height=A.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-A.x,-A.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+A.width+"x"+A.height+" at "+A.x+","+A.y+") with scale "+A.scale),r}return t(A,e),A.prototype.render=function(e){return r(this,void 0,void 0,function(){var t,A;return n(this,function(r){switch(r.label){case 0:return t=zr(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,wi(t)];case 1:return A=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=ft(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(A,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A}(ci),wi=function(e){return new Promise(function(t,A){var r=new Image;r.onload=function(){t(r)},r.onerror=A,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))})},Bi=function(){function e(e){var t=e.id,A=e.enabled;this.id=t,this.enabled=A,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,s([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,s([this.id,this.getTime()+"ms"],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,s([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,s([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.instances={},e}(),yi=function(){function e(t,A){var r;this.windowBounds=A,this.instanceName="#"+e.instanceCount++,this.logger=new Bi({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new js(this,t)}return e.instanceCount=1,e}();"undefined"!=typeof window&&_s.setContext(window);var vi=function(e,t){return r(void 0,void 0,void 0,function(){var r,s,a,l,c,u,h,d,f,p,g,m,w,B,y,v,b,C,_,j,x,F,Q,U,E,S,L,I,N,k,H,P,T,O,M,D,R,K;return n(this,function(n){switch(n.label){case 0:if(!e||"object"!=typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(!(r=e.ownerDocument))throw new Error("Element is not attached to a Document");if(!(s=r.defaultView))throw new Error("Document is not attached to a Window");return a={allowTaint:null!==(F=t.allowTaint)&&void 0!==F&&F,imageTimeout:null!==(Q=t.imageTimeout)&&void 0!==Q?Q:15e3,proxy:t.proxy,useCORS:null!==(U=t.useCORS)&&void 0!==U&&U},l=A({logging:null===(E=t.logging)||void 0===E||E,cache:t.cache},a),c={windowWidth:null!==(S=t.windowWidth)&&void 0!==S?S:s.innerWidth,windowHeight:null!==(L=t.windowHeight)&&void 0!==L?L:s.innerHeight,scrollX:null!==(I=t.scrollX)&&void 0!==I?I:s.pageXOffset,scrollY:null!==(N=t.scrollY)&&void 0!==N?N:s.pageYOffset},u=new i(c.scrollX,c.scrollY,c.windowWidth,c.windowHeight),h=new yi(l,u),d=null!==(k=t.foreignObjectRendering)&&void 0!==k&&k,f={allowTaint:null!==(H=t.allowTaint)&&void 0!==H&&H,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:d,copyStyles:d},h.logger.debug("Starting document clone with size "+u.width+"x"+u.height+" scrolled to "+-u.left+","+-u.top),p=new as(h,e,f),(g=p.clonedReferenceElement)?[4,p.toIFrame(r,u)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return m=n.sent(),w=Hn(g)||"HTML"===g.tagName?function(e){var t=e.body,A=e.documentElement;if(!t||!A)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,A.scrollWidth),Math.max(t.offsetWidth,A.offsetWidth),Math.max(t.clientWidth,A.clientWidth)),n=Math.max(Math.max(t.scrollHeight,A.scrollHeight),Math.max(t.offsetHeight,A.offsetHeight),Math.max(t.clientHeight,A.clientHeight));return new i(0,0,r,n)}(g.ownerDocument):o(h,g),B=w.width,y=w.height,v=w.left,b=w.top,C=bi(h,g,t.backgroundColor),_={canvas:t.canvas,backgroundColor:C,scale:null!==(T=null!==(P=t.scale)&&void 0!==P?P:s.devicePixelRatio)&&void 0!==T?T:1,x:(null!==(O=t.x)&&void 0!==O?O:0)+v,y:(null!==(M=t.y)&&void 0!==M?M:0)+b,width:null!==(D=t.width)&&void 0!==D?D:Math.ceil(B),height:null!==(R=t.height)&&void 0!==R?R:Math.ceil(y)},d?(h.logger.debug("Document cloned, using foreign object rendering"),[4,new mi(h,_).render(g)]):[3,3];case 2:return j=n.sent(),[3,5];case 3:return h.logger.debug("Document cloned, element located at "+v+","+b+" with size "+B+"x"+y+" using computed rendering"),h.logger.debug("Starting DOM parsing"),x=jn(h,g),C===x.styles.backgroundColor&&(x.styles.backgroundColor=bt.TRANSPARENT),h.logger.debug("Starting renderer for element at "+_.x+","+_.y+" with size "+_.width+"x"+_.height),[4,new ui(h,_).render(x)];case 4:j=n.sent(),n.label=5;case 5:return(null===(K=t.removeContainer)||void 0===K||K)&&(as.destroy(m)||h.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),h.logger.debug("Finished rendering"),[2,j]}})})},bi=function(e,t,A){var r=t.ownerDocument,n=r.documentElement?vt(e,getComputedStyle(r.documentElement).backgroundColor):bt.TRANSPARENT,s=r.body?vt(e,getComputedStyle(r.body).backgroundColor):bt.TRANSPARENT,i="string"==typeof A?vt(e,A):null===A?bt.TRANSPARENT:4294967295;return t===r.documentElement?dt(n)?dt(s)?i:s:n:i};return function(e,t){return void 0===t&&(t={}),vi(e,t)}}()},"./node_modules/iobuffer/lib-esm/IOBuffer.js":function(e,t,A){"use strict";A.r(t),A.d(t,{IOBuffer:function(){return i}});var r=A("./node_modules/iobuffer/lib-esm/text.js");const n=(()=>{const e=new Uint8Array(4);return!((new Uint32Array(e.buffer)[0]=1)&e[0])})(),s={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class i{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(e=8192,t={}){let A=!1;"number"==typeof e?e=new ArrayBuffer(e):(A=!0,this.lastWrittenByte=e.byteLength);const r=t.offset?t.offset>>>0:0,n=e.byteLength-r;let s=r;(ArrayBuffer.isView(e)||e instanceof i)&&(e.byteLength!==e.buffer.byteLength&&(s=e.byteOffset+r),e=e.buffer),this.lastWrittenByte=A?n:0,this.buffer=e,this.length=n,this.byteLength=n,this.byteOffset=s,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,s,n),this._mark=0,this._marks=[]}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const e=this._marks.pop();if(void 0===e)throw new Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=0,this}ensureAvailable(e=1){if(!this.available(e)){const t=2*(this.offset+e),A=new Uint8Array(t);A.set(new Uint8Array(this.buffer)),this.buffer=A.buffer,this.length=t,this.byteLength=t,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){return this.readArray(e,"uint8")}readArray(e,t){const A=s[t].BYTES_PER_ELEMENT*e,r=this.byteOffset+this.offset,i=this.buffer.slice(r,r+A);if(this.littleEndian===n&&"uint8"!==t&&"int8"!==t){const e=new Uint8Array(this.buffer.slice(r,r+A));e.reverse();const n=new s[t](e.buffer);return this.offset+=A,n.reverse(),n}const o=new s[t](i);return this.offset+=A,o}readInt16(){const e=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,e}readUint16(){const e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){const e=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,e}readUint32(){const e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){const e=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat64(){const e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){const e=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,e}readBigUint64(){const e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let t="";for(let A=0;A<e;A++)t+=this.readChar();return t}readUtf8(e=1){return(0,r.decode)(this.readBytes(e))}decodeText(e=1,t="utf8"){return(0,r.decode)(this.readBytes(e),t)}writeBoolean(e){return this.writeUint8(e?255:0),this}writeInt8(e){return this.ensureAvailable(1),this._data.setInt8(this.offset++,e),this._updateLastWrittenByte(),this}writeUint8(e){return this.ensureAvailable(1),this._data.setUint8(this.offset++,e),this._updateLastWrittenByte(),this}writeByte(e){return this.writeUint8(e)}writeBytes(e){this.ensureAvailable(e.length);for(let t=0;t<e.length;t++)this._data.setUint8(this.offset++,e[t]);return this._updateLastWrittenByte(),this}writeInt16(e){return this.ensureAvailable(2),this._data.setInt16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(e){return this.ensureAvailable(2),this._data.setUint16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(e){return this.ensureAvailable(4),this._data.setInt32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(e){return this.ensureAvailable(4),this._data.setUint32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(e){return this.ensureAvailable(4),this._data.setFloat32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(e){return this.ensureAvailable(8),this._data.setFloat64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(e){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(e){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(e){return this.writeUint8(e.charCodeAt(0))}writeChars(e){for(let t=0;t<e.length;t++)this.writeUint8(e.charCodeAt(t));return this}writeUtf8(e){return this.writeBytes((0,r.encode)(e))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}},"./node_modules/iobuffer/lib-esm/text.js":function(e,t,A){"use strict";function r(e,t="utf8"){return new TextDecoder(t).decode(e)}A.r(t),A.d(t,{decode:function(){return r},encode:function(){return s}});const n=new TextEncoder;function s(e){return n.encode(e)}},"./node_modules/jspdf/dist/jspdf.es.min.js":function(e,t,A){"use strict";A.r(t),A.d(t,{AcroForm:function(){return Ue},AcroFormAppearance:function(){return je},AcroFormButton:function(){return we},AcroFormCheckBox:function(){return be},AcroFormChoiceField:function(){return fe},AcroFormComboBox:function(){return ge},AcroFormEditBox:function(){return me},AcroFormListBox:function(){return pe},AcroFormPasswordField:function(){return _e},AcroFormPushButton:function(){return Be},AcroFormRadioButton:function(){return ye},AcroFormTextField:function(){return Ce},GState:function(){return H},ShadingPattern:function(){return T},TilingPattern:function(){return O},default:function(){return M},jsPDF:function(){return M}});var r=A("./node_modules/@babel/runtime/helpers/esm/typeof.js"),n=A("./node_modules/fflate/esm/browser.js"),s=A("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),i=A("./node_modules/fast-png/lib-esm/index.js"),o=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function a(){o.console&&"function"==typeof o.console.log&&o.console.log.apply(o.console,arguments)}var l={log:a,warn:function(e){o.console&&("function"==typeof o.console.warn?o.console.warn.apply(o.console,arguments):a.call(null,arguments))},error:function(e){o.console&&("function"==typeof o.console.error?o.console.error.apply(o.console,arguments):a(e))}};function c(e,t,A){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){d(r.response,t,A)},r.onerror=function(){l.error("could not download file")},r.send()}function u(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function h(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(A){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var d=o.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,r.default)(window))||window!==o?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,A){var r=o.URL||o.webkitURL,n=document.createElement("a");t=t||e.name||"download",n.download=t,n.rel="noopener","string"==typeof e?(n.href=e,n.origin!==location.origin?u(n.href)?c(e,t,A):h(n,n.target="_blank"):h(n)):(n.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(n.href)},4e4),setTimeout(function(){h(n)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,A){if(t=t||e.name||"download","string"==typeof e)if(u(e))c(e,t,A);else{var n=document.createElement("a");n.href=e,n.target="_blank",setTimeout(function(){h(n)})}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==(0,r.default)(t)&&(l.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,A),t)}:function(e,t,A,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),"string"==typeof e)return c(e,t,A);var s="application/octet-stream"===e.type,i=/constructor/i.test(o.HTMLElement)||o.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||s&&i)&&"object"===("undefined"==typeof FileReader?"undefined":(0,r.default)(FileReader))){var l=new FileReader;l.onloadend=function(){var e=l.result;e=a?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=e:location=e,n=null},l.readAsDataURL(e)}else{var u=o.URL||o.webkitURL,h=u.createObjectURL(e);n?n.location=h:location.href=h,n=null,setTimeout(function(){u.revokeObjectURL(h)},4e4)}});function f(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var A=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<A.length;r++){var n=A[r].re,s=A[r].process,i=n.exec(e);i&&(t=s(i),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),A=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==A.length&&(A="0"+A),"#"+e+t+A}}var p=o.atob.bind(o),g=o.btoa.bind(o);function m(e,t){var A=e[0],r=e[1],n=e[2],s=e[3];A=B(A,r,n,s,t[0],7,-680876936),s=B(s,A,r,n,t[1],12,-389564586),n=B(n,s,A,r,t[2],17,606105819),r=B(r,n,s,A,t[3],22,-1044525330),A=B(A,r,n,s,t[4],7,-176418897),s=B(s,A,r,n,t[5],12,1200080426),n=B(n,s,A,r,t[6],17,-1473231341),r=B(r,n,s,A,t[7],22,-45705983),A=B(A,r,n,s,t[8],7,1770035416),s=B(s,A,r,n,t[9],12,-1958414417),n=B(n,s,A,r,t[10],17,-42063),r=B(r,n,s,A,t[11],22,-1990404162),A=B(A,r,n,s,t[12],7,1804603682),s=B(s,A,r,n,t[13],12,-40341101),n=B(n,s,A,r,t[14],17,-1502002290),A=y(A,r=B(r,n,s,A,t[15],22,1236535329),n,s,t[1],5,-165796510),s=y(s,A,r,n,t[6],9,-1069501632),n=y(n,s,A,r,t[11],14,643717713),r=y(r,n,s,A,t[0],20,-373897302),A=y(A,r,n,s,t[5],5,-701558691),s=y(s,A,r,n,t[10],9,38016083),n=y(n,s,A,r,t[15],14,-660478335),r=y(r,n,s,A,t[4],20,-405537848),A=y(A,r,n,s,t[9],5,568446438),s=y(s,A,r,n,t[14],9,-1019803690),n=y(n,s,A,r,t[3],14,-187363961),r=y(r,n,s,A,t[8],20,1163531501),A=y(A,r,n,s,t[13],5,-1444681467),s=y(s,A,r,n,t[2],9,-51403784),n=y(n,s,A,r,t[7],14,1735328473),A=v(A,r=y(r,n,s,A,t[12],20,-1926607734),n,s,t[5],4,-378558),s=v(s,A,r,n,t[8],11,-2022574463),n=v(n,s,A,r,t[11],16,1839030562),r=v(r,n,s,A,t[14],23,-35309556),A=v(A,r,n,s,t[1],4,-1530992060),s=v(s,A,r,n,t[4],11,1272893353),n=v(n,s,A,r,t[7],16,-155497632),r=v(r,n,s,A,t[10],23,-1094730640),A=v(A,r,n,s,t[13],4,681279174),s=v(s,A,r,n,t[0],11,-358537222),n=v(n,s,A,r,t[3],16,-722521979),r=v(r,n,s,A,t[6],23,76029189),A=v(A,r,n,s,t[9],4,-640364487),s=v(s,A,r,n,t[12],11,-421815835),n=v(n,s,A,r,t[15],16,530742520),A=b(A,r=v(r,n,s,A,t[2],23,-995338651),n,s,t[0],6,-198630844),s=b(s,A,r,n,t[7],10,1126891415),n=b(n,s,A,r,t[14],15,-1416354905),r=b(r,n,s,A,t[5],21,-57434055),A=b(A,r,n,s,t[12],6,1700485571),s=b(s,A,r,n,t[3],10,-1894986606),n=b(n,s,A,r,t[10],15,-1051523),r=b(r,n,s,A,t[1],21,-2054922799),A=b(A,r,n,s,t[8],6,1873313359),s=b(s,A,r,n,t[15],10,-30611744),n=b(n,s,A,r,t[6],15,-1560198380),r=b(r,n,s,A,t[13],21,1309151649),A=b(A,r,n,s,t[4],6,-145523070),s=b(s,A,r,n,t[11],10,-1120210379),n=b(n,s,A,r,t[2],15,718787259),r=b(r,n,s,A,t[9],21,-343485551),e[0]=E(A,e[0]),e[1]=E(r,e[1]),e[2]=E(n,e[2]),e[3]=E(s,e[3])}function w(e,t,A,r,n,s){return t=E(E(t,e),E(r,s)),E(t<<n|t>>>32-n,A)}function B(e,t,A,r,n,s,i){return w(t&A|~t&r,e,t,n,s,i)}function y(e,t,A,r,n,s,i){return w(t&r|A&~r,e,t,n,s,i)}function v(e,t,A,r,n,s,i){return w(t^A^r,e,t,n,s,i)}function b(e,t,A,r,n,s,i){return w(A^(t|~r),e,t,n,s,i)}function C(e){var t,A=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)m(r,_(e.substring(t-64,t)));e=e.substring(t-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)n[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(m(r,n),t=0;t<16;t++)n[t]=0;return n[14]=8*A,m(r,n),r}function _(e){var t,A=[];for(t=0;t<64;t+=4)A[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return A}var j="0123456789abcdef".split("");function x(e){for(var t="",A=0;A<4;A++)t+=j[e>>8*A+4&15]+j[e>>8*A&15];return t}function F(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function Q(e){return C(e).map(F).join("")}var U="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=x(e[t]);return e.join("")}(C("hello"));function E(e,t){if(U){var A=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(A>>16)<<16|65535&A}return e+t&4294967295}function S(e,t){var A,r,n,s;if(e!==A){for(var i=(n=e,s=1+(256/e.length|0),new Array(s+1).join(n)),o=[],a=0;a<256;a++)o[a]=a;var l=0;for(a=0;a<256;a++){var c=o[a];l=(l+c+i.charCodeAt(a))%256,o[a]=o[l],o[l]=c}A=e,r=o}else o=r;var u=t.length,h=0,d=0,f="";for(a=0;a<u;a++)d=(d+(c=o[h=(h+1)%256]))%256,o[h]=o[d],o[d]=c,i=o[(o[h]+o[d])%256],f+=String.fromCharCode(t.charCodeAt(a)^i);return f}var L={print:4,modify:8,copy:16,"annot-forms":32};function I(e,t,A,r){this.v=1,this.r=2;var n=192;e.forEach(function(e){if(void 0!==L.perm)throw new Error("Invalid permission: "+e);n+=L[e]}),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var s=(t+this.padding).substr(0,32),i=(A+this.padding).substr(0,32);this.O=this.processOwnerPassword(s,i),this.P=-(1+(255^n)),this.encryptionKey=Q(s+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=S(this.encryptionKey,this.padding)}function N(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",A=e.length,r=0;r<A;r++){var n=e.charCodeAt(r);t+=n<33||35===n||37===n||40===n||41===n||47===n||60===n||62===n||91===n||93===n||123===n||125===n||n>126?"#"+("0"+n.toString(16)).slice(-2):e[r]}return t}function k(e){if("object"!==(0,r.default)(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,A,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof A||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var n=Math.random().toString(35);return t[e][n]=[A,!!r],n},this.unsubscribe=function(e){for(var A in t)if(t[A][e])return delete t[A][e],0===Object.keys(t[A]).length&&delete t[A],!0;return!1},this.publish=function(A){if(t.hasOwnProperty(A)){var r=Array.prototype.slice.call(arguments,1),n=[];for(var s in t[A]){var i=t[A][s];try{i[0].apply(e,r)}catch(e){o.console&&l.error("jsPDF PubSub Error",e.message,e)}i[1]&&n.push(s)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function H(e){if(!(this instanceof H))return new H(e);var t="opacity,stroke-opacity".split(",");for(var A in e)e.hasOwnProperty(A)&&t.indexOf(A)>=0&&(this[A]=e[A]);this.id="",this.objectNumber=-1}function P(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function T(e,t,A,r,n){if(!(this instanceof T))return new T(e,t,A,r,n);this.type="axial"===e?2:3,this.coords=t,this.colors=A,P.call(this,r,n)}function O(e,t,A,r,n){if(!(this instanceof O))return new O(e,t,A,r,n);this.boundingBox=e,this.xStep=t,this.yStep=A,this.stream="",this.cloneIndex=0,P.call(this,r,n)}function M(e){var t,A="string"==typeof arguments[0]?arguments[0]:"p",n=arguments[1],s=arguments[2],i=arguments[3],a=[],c=1,u=16,h="S",p=null;"object"===(0,r.default)(e=e||{})&&(A=e.orientation,n=e.unit||n,s=e.format||s,i=e.compress||e.compressPdf||i,null!==(p=e.encryption||null)&&(p.userPassword=p.userPassword||"",p.ownerPassword=p.ownerPassword||"",p.userPermissions=p.userPermissions||[]),c="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(u=e.floatPrecision),h=e.defaultPathOperation||"S"),a=e.filters||(!0===i?["FlateEncode"]:a),n=n||"mm",A=(""+(A||"P")).toLowerCase();var m=e.putOnlyUsedFonts||!1,w={},B={internal:{},__private__:{}};B.__private__.PubSub=k;var y="1.3",v=B.__private__.getPdfVersion=function(){return y};B.__private__.setPdfVersion=function(e){y=e};var b={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],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};B.__private__.getPageFormats=function(){return b};var C=B.__private__.getPageFormat=function(e){return b[e]};s=s||"a4";var _="compat",j="advanced",x=_;function F(){this.saveGraphicsState(),ce(new Ve(je,0,0,-je,0,jA()*je).toString()+" cm"),this.setFontSize(this.getFontSize()/je),h="n",x=j}function Q(){this.restoreGraphicsState(),h="S",x=_}var U=B.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};B.advancedAPI=function(e){var t=x===_;return t&&F.call(this),"function"!=typeof e||(e(this),t&&Q.call(this)),this},B.compatAPI=function(e){var t=x===j;return t&&Q.call(this),"function"!=typeof e||(e(this),t&&F.call(this)),this},B.isAdvancedAPI=function(){return x===j};var E,S=function(e){if(x!==j)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},L=B.roundToPrecision=B.__private__.roundToPrecision=function(e,A){var r=t||A;if(isNaN(e)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};E=B.hpf=B.__private__.hpf="number"==typeof u?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return L(e,u)}:"smart"===u?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return L(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return L(e,16)};var P=B.f2=B.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return L(e,2)},D=B.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return L(e,3)},R=B.scale=B.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return x===_?e*je:x===j?e:void 0},K=function(e){return R(function(e){return x===_?jA()-e:x===j?e:void 0}(e))};B.__private__.setPrecision=B.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var V,G="00000000000000000000000000000000",z=B.__private__.getFileId=function(){return G},q=B.__private__.setFileId=function(e){return G=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():G.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==p&&(St=new I(p.userPermissions,p.userPassword,p.ownerPassword,G)),G};B.setFileId=function(e){return q(e),this},B.getFileId=function(){return z()};var W=B.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),A=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),n=Math.abs(t%60),s=[A,$(r),"'",$(n),"'"].join("");return["D:",e.getFullYear(),$(e.getMonth()+1),$(e.getDate()),$(e.getHours()),$(e.getMinutes()),$(e.getSeconds()),s].join("")},X=B.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),A=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),n=parseInt(e.substr(10,2),10),s=parseInt(e.substr(12,2),10),i=parseInt(e.substr(14,2),10);return new Date(t,A,r,n,s,i,0)},Y=B.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=W(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return V=t},J=B.__private__.getCreationDate=function(e){var t=V;return"jsDate"===e&&(t=X(V)),t};B.setCreationDate=function(e){return Y(e),this},B.getCreationDate=function(e){return J(e)};var Z,$=B.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},ee=B.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},te=0,Ae=[],re=[],ne=0,se=[],ie=[],oe=!1,ae=re;B.__private__.setCustomOutputDestination=function(e){oe=!0,ae=e};var le=function(e){oe||(ae=e)};B.__private__.resetCustomOutputDestination=function(){oe=!1,ae=re};var ce=B.__private__.out=function(e){return e=e.toString(),ne+=e.length+1,ae.push(e),ae},ue=B.__private__.write=function(e){return ce(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},he=B.__private__.getArrayBuffer=function(e){for(var t=e.length,A=new ArrayBuffer(t),r=new Uint8Array(A);t--;)r[t]=e.charCodeAt(t);return A},de=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];B.__private__.getStandardFonts=function(){return de};var fe=e.fontSize||16;B.__private__.setFontSize=B.setFontSize=function(e){return fe=x===j?e/je:e,this};var pe,ge=B.__private__.getFontSize=B.getFontSize=function(){return x===_?fe:fe*je},me=e.R2L||!1;B.__private__.setR2L=B.setR2L=function(e){return me=e,this},B.__private__.getR2L=B.getR2L=function(){return me};var we,Be=B.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))pe=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');pe=e}else pe=parseInt(e,10)};B.__private__.getZoomMode=function(){return pe};var ye,ve=B.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');we=e};B.__private__.getPageMode=function(){return we};var be=B.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');ye=e};B.__private__.getLayoutMode=function(){return ye},B.__private__.setDisplayMode=B.setDisplayMode=function(e,t,A){return Be(e),be(t),ve(A),this};var Ce={title:"",subject:"",author:"",keywords:"",creator:""};B.__private__.getDocumentProperty=function(e){if(-1===Object.keys(Ce).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Ce[e]},B.__private__.getDocumentProperties=function(){return Ce},B.__private__.setDocumentProperties=B.setProperties=B.setDocumentProperties=function(e){for(var t in Ce)Ce.hasOwnProperty(t)&&e[t]&&(Ce[t]=e[t]);return this},B.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(Ce).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Ce[e]=t};var _e,je,xe,Fe,Qe,Ue={},Ee={},Se=[],Le={},Ie={},Ne={},ke={},He=null,Pe=0,Te=[],Oe=new k(B),Me=e.hotfixes||[],De={},Re={},Ke=[],Ve=function e(t,A,r,n,s,i){if(!(this instanceof e))return new e(t,A,r,n,s,i);isNaN(t)&&(t=1),isNaN(A)&&(A=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(s)&&(s=0),isNaN(i)&&(i=0),this._matrix=[t,A,r,n,s,i]};Object.defineProperty(Ve.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ve.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ve.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ve.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ve.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ve.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ve.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ve.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ve.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ve.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ve.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ve.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ve.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ve.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ve.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ve.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ve.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(E).join(e)},Ve.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,A=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,n=e.shx*this.shy+e.sy*this.sy,s=e.tx*this.sx+e.ty*this.shx+this.tx,i=e.tx*this.shy+e.ty*this.sy+this.ty;return new Ve(t,A,r,n,s,i)},Ve.prototype.decompose=function(){var e=this.sx,t=this.shy,A=this.shx,r=this.sy,n=this.tx,s=this.ty,i=Math.sqrt(e*e+t*t),o=(e/=i)*A+(t/=i)*r;A-=e*o,r-=t*o;var a=Math.sqrt(A*A+r*r);return o/=a,e*(r/=a)<t*(A/=a)&&(e=-e,t=-t,o=-o,i=-i),{scale:new Ve(i,0,0,a,0,0),translate:new Ve(1,0,0,1,n,s),rotate:new Ve(e,t,-t,e,0,0),skew:new Ve(1,0,o,1,0,0)}},Ve.prototype.toString=function(e){return this.join(" ")},Ve.prototype.inversed=function(){var e=this.sx,t=this.shy,A=this.shx,r=this.sy,n=this.tx,s=this.ty,i=1/(e*r-t*A),o=r*i,a=-t*i,l=-A*i,c=e*i;return new Ve(o,a,l,c,-o*n-l*s,-a*n-c*s)},Ve.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,A=e.x*this.shy+e.y*this.sy+this.ty;return new fA(t,A)},Ve.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),A=this.applyToPoint(new fA(e.x+e.w,e.y+e.h));return new pA(t.x,t.y,A.x-t.x,A.y-t.y)},Ve.prototype.clone=function(){var e=this.sx,t=this.shy,A=this.shx,r=this.sy,n=this.tx,s=this.ty;return new Ve(e,t,A,r,n,s)},B.Matrix=Ve;var Ge=B.matrixMult=function(e,t){return t.multiply(e)},ze=new Ve(1,0,0,1,0,0);B.unitMatrix=B.identityMatrix=ze;var qe=function(e,t){if(!Ie[e]){var A=(t instanceof T?"Sh":"P")+(Object.keys(Le).length+1).toString(10);t.id=A,Ie[e]=A,Le[A]=t,Oe.publish("addPattern",t)}};B.ShadingPattern=T,B.TilingPattern=O,B.addShadingPattern=function(e,t){return S("addShadingPattern()"),qe(e,t),this},B.beginTilingPattern=function(e){S("beginTilingPattern()"),mA(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},B.endTilingPattern=function(e,t){S("endTilingPattern()"),t.stream=ie[Z].join("\n"),qe(e,t),Oe.publish("endTilingPattern",t),Ke.pop().restore()};var We,Xe=B.__private__.newObject=function(){var e=Ye();return Je(e,!0),e},Ye=B.__private__.newObjectDeferred=function(){return te++,Ae[te]=function(){return ne},te},Je=function(e,t){return t="boolean"==typeof t&&t,Ae[e]=ne,t&&ce(e+" 0 obj"),e},Ze=B.__private__.newAdditionalObject=function(){var e={objId:Ye(),content:""};return se.push(e),e},$e=Ye(),et=Ye(),tt=B.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var A=parseFloat(t[0]);t=[A,A,A,"r"]}for(var r="#",n=0;n<3;n++)r+=("0"+Math.floor(255*parseFloat(t[n])).toString(16)).slice(-2);return r},At=B.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var A=e.ch1,n=e.ch2,s=e.ch3,i=e.ch4,o="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof A&&"#"!==A.charAt(0)){var a=new f(A);if(a.ok)A=a.toHex();else if(!/^\d*\.?\d*$/.test(A))throw new Error('Invalid color "'+A+'" passed to jsPDF.encodeColorString.')}if("string"==typeof A&&/^#[0-9A-Fa-f]{3}$/.test(A)&&(A="#"+A[1]+A[1]+A[2]+A[2]+A[3]+A[3]),"string"==typeof A&&/^#[0-9A-Fa-f]{6}$/.test(A)){var l=parseInt(A.substr(1),16);A=l>>16&255,n=l>>8&255,s=255&l}if(void 0===n||void 0===i&&A===n&&n===s)t="string"==typeof A?A+" "+o[0]:2===e.precision?P(A/255)+" "+o[0]:D(A/255)+" "+o[0];else if(void 0===i||"object"===(0,r.default)(i)){if(i&&!isNaN(i.a)&&0===i.a)return["1.","1.","1.",o[1]].join(" ");t="string"==typeof A?[A,n,s,o[1]].join(" "):2===e.precision?[P(A/255),P(n/255),P(s/255),o[1]].join(" "):[D(A/255),D(n/255),D(s/255),o[1]].join(" ")}else t="string"==typeof A?[A,n,s,i,o[2]].join(" "):2===e.precision?[P(A),P(n),P(s),P(i),o[2]].join(" "):[D(A),D(n),D(s),D(i),o[2]].join(" ");return t},rt=B.__private__.getFilters=function(){return a},nt=B.__private__.putStream=function(e){var t=(e=e||{}).data||"",A=e.filters||rt(),r=e.alreadyAppliedFilters||[],n=e.addLength1||!1,s=t.length,i=e.objectId,o=function(e){return e};if(null!==p&&void 0===i)throw new Error("ObjectId must be passed to putStream for file encryption");null!==p&&(o=St.encryptor(i,0));var a={};!0===A&&(A=["FlateEncode"]);var l=e.additionalKeyValues||[],c=(a=void 0!==M.API.processDataByFilters?M.API.processDataByFilters(t,A):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==a.data.length&&(l.push({key:"Length",value:a.data.length}),!0===n&&l.push({key:"Length1",value:s})),0!=c.length)if(c.split("/").length-1==1)l.push({key:"Filter",value:c});else{l.push({key:"Filter",value:"["+c+"]"});for(var u=0;u<l.length;u+=1)if("DecodeParms"===l[u].key){for(var h=[],d=0;d<a.reverseChain.split("/").length-1;d+=1)h.push("null");h.push(l[u].value),l[u].value="["+h.join(" ")+"]"}}ce("<<");for(var f=0;f<l.length;f++)ce("/"+l[f].key+" "+l[f].value);ce(">>"),0!==a.data.length&&(ce("stream"),ce(o(a.data)),ce("endstream"))},st=B.__private__.putPage=function(e){var t=e.number,A=e.data,r=e.objId,n=e.contentsObjId;Je(r,!0),ce("<</Type /Page"),ce("/Parent "+e.rootDictionaryObjId+" 0 R"),ce("/Resources "+e.resourceDictionaryObjId+" 0 R"),ce("/MediaBox ["+parseFloat(E(e.mediaBox.bottomLeftX))+" "+parseFloat(E(e.mediaBox.bottomLeftY))+" "+E(e.mediaBox.topRightX)+" "+E(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&ce("/CropBox ["+E(e.cropBox.bottomLeftX)+" "+E(e.cropBox.bottomLeftY)+" "+E(e.cropBox.topRightX)+" "+E(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&ce("/BleedBox ["+E(e.bleedBox.bottomLeftX)+" "+E(e.bleedBox.bottomLeftY)+" "+E(e.bleedBox.topRightX)+" "+E(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&ce("/TrimBox ["+E(e.trimBox.bottomLeftX)+" "+E(e.trimBox.bottomLeftY)+" "+E(e.trimBox.topRightX)+" "+E(e.trimBox.topRightY)+"]"),null!==e.artBox&&ce("/ArtBox ["+E(e.artBox.bottomLeftX)+" "+E(e.artBox.bottomLeftY)+" "+E(e.artBox.topRightX)+" "+E(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&ce("/UserUnit "+e.userUnit),Oe.publish("putPage",{objId:r,pageContext:Te[t],pageNumber:t,page:A}),ce("/Contents "+n+" 0 R"),ce(">>"),ce("endobj");var s=A.join("\n");return x===j&&(s+="\nQ"),Je(n,!0),nt({data:s,filters:rt(),objectId:n}),ce("endobj"),r},it=B.__private__.putPages=function(){var e,t,A=[];for(e=1;e<=Pe;e++)Te[e].objId=Ye(),Te[e].contentsObjId=Ye();for(e=1;e<=Pe;e++)A.push(st({number:e,data:ie[e],objId:Te[e].objId,contentsObjId:Te[e].contentsObjId,mediaBox:Te[e].mediaBox,cropBox:Te[e].cropBox,bleedBox:Te[e].bleedBox,trimBox:Te[e].trimBox,artBox:Te[e].artBox,userUnit:Te[e].userUnit,rootDictionaryObjId:$e,resourceDictionaryObjId:et}));Je($e,!0),ce("<</Type /Pages");var r="/Kids [";for(t=0;t<Pe;t++)r+=A[t]+" 0 R ";ce(r+"]"),ce("/Count "+Pe),ce(">>"),ce("endobj"),Oe.publish("postPutPages")},ot=function(e){Oe.publish("putFont",{font:e,out:ce,newObject:Xe,putStream:nt}),!0!==e.isAlreadyPutted&&(e.objectNumber=Xe(),ce("<<"),ce("/Type /Font"),ce("/BaseFont /"+N(e.postScriptName)),ce("/Subtype /Type1"),"string"==typeof e.encoding&&ce("/Encoding /"+e.encoding),ce("/FirstChar 32"),ce("/LastChar 255"),ce(">>"),ce("endobj"))},at=function(e){e.objectNumber=Xe();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[E(e.x),E(e.y),E(e.x+e.width),E(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var A=e.pages[1].join("\n");nt({data:A,additionalKeyValues:t,objectId:e.objectNumber}),ce("endobj")},lt=function(e,t){t||(t=21);var A=Xe(),r=function(e,t){var A,r=[],n=1/(t-1);for(A=0;A<1;A+=n)r.push(A);if(r.push(1),0!=e[0].offset){var s={offset:0,color:e[0].color};e.unshift(s)}if(1!=e[e.length-1].offset){var i={offset:1,color:e[e.length-1].color};e.push(i)}for(var o="",a=0,l=0;l<r.length;l++){for(A=r[l];A>e[a+1].offset;)a++;var c=e[a].offset,u=(A-c)/(e[a+1].offset-c),h=e[a].color,d=e[a+1].color;o+=ee(Math.round((1-u)*h[0]+u*d[0]).toString(16))+ee(Math.round((1-u)*h[1]+u*d[1]).toString(16))+ee(Math.round((1-u)*h[2]+u*d[2]).toString(16))}return o.trim()}(e.colors,t),n=[];n.push({key:"FunctionType",value:"0"}),n.push({key:"Domain",value:"[0.0 1.0]"}),n.push({key:"Size",value:"["+t+"]"}),n.push({key:"BitsPerSample",value:"8"}),n.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),n.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),nt({data:r,additionalKeyValues:n,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:A}),ce("endobj"),e.objectNumber=Xe(),ce("<< /ShadingType "+e.type),ce("/ColorSpace /DeviceRGB");var s="/Coords ["+E(parseFloat(e.coords[0]))+" "+E(parseFloat(e.coords[1]))+" ";2===e.type?s+=E(parseFloat(e.coords[2]))+" "+E(parseFloat(e.coords[3])):s+=E(parseFloat(e.coords[2]))+" "+E(parseFloat(e.coords[3]))+" "+E(parseFloat(e.coords[4]))+" "+E(parseFloat(e.coords[5])),ce(s+="]"),e.matrix&&ce("/Matrix ["+e.matrix.toString()+"]"),ce("/Function "+A+" 0 R"),ce("/Extend [true true]"),ce(">>"),ce("endobj")},ct=function(e,t){var A=Ye(),r=Xe();t.push({resourcesOid:A,objectOid:r}),e.objectNumber=r;var n=[];n.push({key:"Type",value:"/Pattern"}),n.push({key:"PatternType",value:"1"}),n.push({key:"PaintType",value:"1"}),n.push({key:"TilingType",value:"1"}),n.push({key:"BBox",value:"["+e.boundingBox.map(E).join(" ")+"]"}),n.push({key:"XStep",value:E(e.xStep)}),n.push({key:"YStep",value:E(e.yStep)}),n.push({key:"Resources",value:A+" 0 R"}),e.matrix&&n.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),nt({data:e.stream,additionalKeyValues:n,objectId:e.objectNumber}),ce("endobj")},ut=function(e){for(var t in e.objectNumber=Xe(),ce("<<"),e)switch(t){case"opacity":ce("/ca "+P(e[t]));break;case"stroke-opacity":ce("/CA "+P(e[t]))}ce(">>"),ce("endobj")},ht=function(e){Je(e.resourcesOid,!0),ce("<<"),ce("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in ce("/Font <<"),Ue)Ue.hasOwnProperty(e)&&(!1===m||!0===m&&w.hasOwnProperty(e))&&ce("/"+e+" "+Ue[e].objectNumber+" 0 R");ce(">>")}(),function(){if(Object.keys(Le).length>0){for(var e in ce("/Shading <<"),Le)Le.hasOwnProperty(e)&&Le[e]instanceof T&&Le[e].objectNumber>=0&&ce("/"+e+" "+Le[e].objectNumber+" 0 R");Oe.publish("putShadingPatternDict"),ce(">>")}}(),function(e){if(Object.keys(Le).length>0){for(var t in ce("/Pattern <<"),Le)Le.hasOwnProperty(t)&&Le[t]instanceof B.TilingPattern&&Le[t].objectNumber>=0&&Le[t].objectNumber<e&&ce("/"+t+" "+Le[t].objectNumber+" 0 R");Oe.publish("putTilingPatternDict"),ce(">>")}}(e.objectOid),function(){if(Object.keys(Ne).length>0){var e;for(e in ce("/ExtGState <<"),Ne)Ne.hasOwnProperty(e)&&Ne[e].objectNumber>=0&&ce("/"+e+" "+Ne[e].objectNumber+" 0 R");Oe.publish("putGStateDict"),ce(">>")}}(),function(){for(var e in ce("/XObject <<"),De)De.hasOwnProperty(e)&&De[e].objectNumber>=0&&ce("/"+e+" "+De[e].objectNumber+" 0 R");Oe.publish("putXobjectDict"),ce(">>")}(),ce(">>"),ce("endobj")},dt=function(e){Ee[e.fontName]=Ee[e.fontName]||{},Ee[e.fontName][e.fontStyle]=e.id},ft=function(e,t,A,r,n){var s={id:"F"+(Object.keys(Ue).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:A,encoding:r,isStandardFont:n||!1,metadata:{}};return Oe.publish("addFont",{font:s,instance:this}),Ue[s.id]=s,dt(s),s.id},pt=B.__private__.pdfEscape=B.pdfEscape=function(e,t){return function(e,t){var A,r,n,s,i,o,a,l,c;if(n=(t=t||{}).sourceEncoding||"Unicode",i=t.outputEncoding,(t.autoencode||i)&&Ue[_e].metadata&&Ue[_e].metadata[n]&&Ue[_e].metadata[n].encoding&&(s=Ue[_e].metadata[n].encoding,!i&&Ue[_e].encoding&&(i=Ue[_e].encoding),!i&&s.codePages&&(i=s.codePages[0]),"string"==typeof i&&(i=s[i]),i)){for(a=!1,o=[],A=0,r=e.length;A<r;A++)(l=i[e.charCodeAt(A)])?o.push(String.fromCharCode(l)):o.push(e[A]),o[A].charCodeAt(0)>>8&&(a=!0);e=o.join("")}for(A=e.length;void 0===a&&0!==A;)e.charCodeAt(A-1)>>8&&(a=!0),A--;if(!a)return e;for(o=t.noBOM?[]:[254,255],A=0,r=e.length;A<r;A++){if((c=(l=e.charCodeAt(A))>>8)>>8)throw new Error("Character at position "+A+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");o.push(c),o.push(l-(c<<8))}return String.fromCharCode.apply(void 0,o)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},gt=B.__private__.beginPage=function(e){ie[++Pe]=[],Te[Pe]={objId:0,contentsObjId:0,userUnit:Number(c),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},Bt(Pe),le(ie[Z])},mt=function(e,t){var r,n,i;switch(A=t||A,"string"==typeof e&&(r=C(e.toLowerCase()),Array.isArray(r)&&(n=r[0],i=r[1])),Array.isArray(e)&&(n=e[0]*je,i=e[1]*je),isNaN(n)&&(n=s[0],i=s[1]),(n>14400||i>14400)&&(l.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),n=Math.min(14400,n),i=Math.min(14400,i)),s=[n,i],A.substr(0,1)){case"l":i>n&&(s=[i,n]);break;case"p":n>i&&(s=[i,n])}gt(s),Jt(Xt),ce(sA),0!==uA&&ce(uA+" J"),0!==hA&&ce(hA+" j"),Oe.publish("addPage",{pageNumber:Pe})},wt=function(e){e>0&&e<=Pe&&(ie.splice(e,1),Te.splice(e,1),Pe--,Z>Pe&&(Z=Pe),this.setPage(Z))},Bt=function(e){e>0&&e<=Pe&&(Z=e)},yt=B.__private__.getNumberOfPages=B.getNumberOfPages=function(){return ie.length-1},vt=function(e,t,A){var r,n=void 0;return A=A||{},e=void 0!==e?e:Ue[_e].fontName,t=void 0!==t?t:Ue[_e].fontStyle,r=e.toLowerCase(),void 0!==Ee[r]&&void 0!==Ee[r][t]?n=Ee[r][t]:void 0!==Ee[e]&&void 0!==Ee[e][t]?n=Ee[e][t]:!1===A.disableWarning&&l.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),n||A.noFallback||null==(n=Ee.times[t])&&(n=Ee.times.normal),n},bt=B.__private__.putInfo=function(){var e=Xe(),t=function(e){return e};for(var A in null!==p&&(t=St.encryptor(e,0)),ce("<<"),ce("/Producer ("+pt(t("jsPDF "+M.version))+")"),Ce)Ce.hasOwnProperty(A)&&Ce[A]&&ce("/"+A.substr(0,1).toUpperCase()+A.substr(1)+" ("+pt(t(Ce[A]))+")");ce("/CreationDate ("+pt(t(V))+")"),ce(">>"),ce("endobj")},Ct=B.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||$e;switch(Xe(),ce("<<"),ce("/Type /Catalog"),ce("/Pages "+t+" 0 R"),pe||(pe="fullwidth"),pe){case"fullwidth":ce("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ce("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ce("/OpenAction [3 0 R /Fit]");break;case"original":ce("/OpenAction [3 0 R /XYZ null null 1]");break;default:var A=""+pe;"%"===A.substr(A.length-1)&&(pe=parseInt(pe)/100),"number"==typeof pe&&ce("/OpenAction [3 0 R /XYZ null null "+P(pe)+"]")}switch(ye||(ye="continuous"),ye){case"continuous":ce("/PageLayout /OneColumn");break;case"single":ce("/PageLayout /SinglePage");break;case"two":case"twoleft":ce("/PageLayout /TwoColumnLeft");break;case"tworight":ce("/PageLayout /TwoColumnRight")}we&&ce("/PageMode /"+we),Oe.publish("putCatalog"),ce(">>"),ce("endobj")},_t=B.__private__.putTrailer=function(){ce("trailer"),ce("<<"),ce("/Size "+(te+1)),ce("/Root "+te+" 0 R"),ce("/Info "+(te-1)+" 0 R"),null!==p&&ce("/Encrypt "+St.oid+" 0 R"),ce("/ID [ <"+G+"> <"+G+"> ]"),ce(">>")},jt=B.__private__.putHeader=function(){ce("%PDF-"+y),ce("%ºß¬à")},xt=B.__private__.putXRef=function(){var e="0000000000";ce("xref"),ce("0 "+(te+1)),ce("0000000000 65535 f ");for(var t=1;t<=te;t++)"function"==typeof Ae[t]?ce((e+Ae[t]()).slice(-10)+" 00000 n "):void 0!==Ae[t]?ce((e+Ae[t]).slice(-10)+" 00000 n "):ce("0000000000 00000 n ")},Ft=B.__private__.buildDocument=function(){var e;te=0,ne=0,re=[],Ae=[],se=[],$e=Ye(),et=Ye(),le(re),Oe.publish("buildDocument"),jt(),it(),function(){Oe.publish("putAdditionalObjects");for(var e=0;e<se.length;e++){var t=se[e];Je(t.objId,!0),ce(t.content),ce("endobj")}Oe.publish("postPutAdditionalObjects")}(),e=[],function(){for(var e in Ue)Ue.hasOwnProperty(e)&&(!1===m||!0===m&&w.hasOwnProperty(e))&&ot(Ue[e])}(),function(){var e;for(e in Ne)Ne.hasOwnProperty(e)&&ut(Ne[e])}(),function(){for(var e in De)De.hasOwnProperty(e)&&at(De[e])}(),function(e){var t;for(t in Le)Le.hasOwnProperty(t)&&(Le[t]instanceof T?lt(Le[t]):Le[t]instanceof O&&ct(Le[t],e))}(e),Oe.publish("putResources"),e.forEach(ht),ht({resourcesOid:et,objectOid:Number.MAX_SAFE_INTEGER}),Oe.publish("postPutResources"),null!==p&&(St.oid=Xe(),ce("<<"),ce("/Filter /Standard"),ce("/V "+St.v),ce("/R "+St.r),ce("/U <"+St.toHexString(St.U)+">"),ce("/O <"+St.toHexString(St.O)+">"),ce("/P "+St.P),ce(">>"),ce("endobj")),bt(),Ct();var t=ne;return xt(),_t(),ce("startxref"),ce(""+t),ce("%%EOF"),le(ie[Z]),re.join("\n")},Qt=B.__private__.getBlob=function(e){return new Blob([he(e)],{type:"application/pdf"})},Ut=B.output=B.__private__.output=(We=function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return Ft();case"save":B.save(t.filename);break;case"arraybuffer":return he(Ft());case"blob":return Qt(Ft());case"bloburi":case"bloburl":if(void 0!==o.URL&&"function"==typeof o.URL.createObjectURL)return o.URL&&o.URL.createObjectURL(Qt(Ft()))||void 0;l.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var A="",r=Ft();try{A=g(r)}catch(e){A=g(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+A;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(o)){var n="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",s=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(n=t.pdfObjectUrl,s="");var i='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+n+'"'+s+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",a=o.open();return null!==a&&a.document.write(i),a}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(o)){var c='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',u=o.open();if(null!==u){u.document.write(c);var h=this;u.document.documentElement.querySelector("#pdfViewer").onload=function(){u.document.title=t.filename,u.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(h.output("bloburl"))}}return u}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(o))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var d='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',f=o.open();if(null!==f&&(f.document.write(d),f.document.title=t.filename),f||"undefined"==typeof safari)return f;break;case"datauri":case"dataurl":return o.document.location.href=this.output("datauristring",t);default:return null}},We.foo=function(){try{return We.apply(this,arguments)}catch(A){var e=A.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var t="Error in function "+e.split("\n")[0].split("<")[0]+": "+A.message;if(!o.console)throw new Error(t);o.console.error(t,A),o.alert&&alert(t)}},We.foo.bar=We,We.foo),Et=function(e){return!0===Array.isArray(Me)&&Me.indexOf(e)>-1};switch(n){case"pt":je=1;break;case"mm":je=72/25.4;break;case"cm":je=72/2.54;break;case"in":je=72;break;case"px":je=1==Et("px_scaling")?.75:96/72;break;case"pc":case"em":je=12;break;case"ex":je=6;break;default:if("number"!=typeof n)throw new Error("Invalid unit: "+n);je=n}var St=null;Y(),q();var Lt=B.__private__.getPageInfo=B.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Te[e].objId,pageNumber:e,pageContext:Te[e]}},It=B.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Te)if(Te[t].objId===e)break;return Lt(t)},Nt=B.__private__.getCurrentPageInfo=B.getCurrentPageInfo=function(){return{objId:Te[Z].objId,pageNumber:Z,pageContext:Te[Z]}};B.addPage=function(){return mt.apply(this,arguments),this},B.setPage=function(){return Bt.apply(this,arguments),le.call(this,ie[Z]),this},B.insertPage=function(e){return this.addPage(),this.movePage(Z,e),this},B.movePage=function(e,t){var A,r;if(e>t){A=ie[e],r=Te[e];for(var n=e;n>t;n--)ie[n]=ie[n-1],Te[n]=Te[n-1];ie[t]=A,Te[t]=r,this.setPage(t)}else if(e<t){A=ie[e],r=Te[e];for(var s=e;s<t;s++)ie[s]=ie[s+1],Te[s]=Te[s+1];ie[t]=A,Te[t]=r,this.setPage(t)}return this},B.deletePage=function(){return wt.apply(this,arguments),this},B.__private__.text=B.text=function(e,t,A,n,s){var i,o,a,l,c,u,h,d,f,p=(n=n||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof A||Array.isArray(A))){var g=A;A=t,t=e,e=g}if(arguments[3]instanceof Ve==0?(a=arguments[4],l=arguments[5],"object"===(0,r.default)(h=arguments[3])&&null!==h||("string"==typeof a&&(l=a,a=null),"string"==typeof h&&(l=h,h=null),"number"==typeof h&&(a=h,h=null),n={flags:h,angle:a,align:l})):(S("The transform parameter of text() with a Matrix value"),f=s),isNaN(t)||isNaN(A)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return p;var m,B="",y="number"==typeof n.lineHeightFactor?n.lineHeightFactor:Wt,v=p.internal.scaleFactor;function b(e){return e=e.split("\t").join(Array(n.TabLen||9).join(" ")),pt(e,h)}function C(e){for(var t,A=e.concat(),r=[],n=A.length;n--;)"string"==typeof(t=A.shift())?r.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function _(e,t){var A;if("string"==typeof e)A=t(e)[0];else if(Array.isArray(e)){for(var r,n,s=e.concat(),i=[],o=s.length;o--;)"string"==typeof(r=s.shift())?i.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(n=t(r[0],r[1],r[2]),i.push([n[0],n[1],n[2]]));A=i}return A}var F=!1,Q=!0;if("string"==typeof e)F=!0;else if(Array.isArray(e)){var U=e.concat();o=[];for(var L,I=U.length;I--;)("string"!=typeof(L=U.shift())||Array.isArray(L)&&"string"!=typeof L[0])&&(Q=!1);F=Q}if(!1===F)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var N=fe/p.internal.scaleFactor,k=N*(y-1);switch(n.baseline){case"bottom":A-=k;break;case"top":A+=N-k;break;case"hanging":A+=N-2*k;break;case"middle":A+=N/2-k}if((u=n.maxWidth||0)>0&&("string"==typeof e?e=p.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(p.splitTextToSize(t,u))},[]))),i={text:e,x:t,y:A,options:n,mutex:{pdfEscape:pt,activeFontKey:_e,fonts:Ue,activeFontSize:fe}},Oe.publish("preProcessText",i),e=i.text,a=(n=i.options).angle,f instanceof Ve==0&&a&&"number"==typeof a){a*=Math.PI/180,0===n.rotationDirection&&(a=-a),x===j&&(a=-a);var H=Math.cos(a),P=Math.sin(a);f=new Ve(H,P,-P,H,0,0)}else a&&a instanceof Ve&&(f=a);x!==j||f||(f=ze),void 0!==(c=n.charSpace||lA)&&(B+=E(R(c))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(d=n.horizontalScale)&&(B+=E(100*d)+" Tz\n"),n.lang;var T=-1,O=void 0!==n.renderingMode?n.renderingMode:n.stroke,M=p.internal.getCurrentPageInfo().pageContext;switch(O){case 0:case!1:case"fill":T=0;break;case 1:case!0:case"stroke":T=1;break;case 2:case"fillThenStroke":T=2;break;case 3:case"invisible":T=3;break;case 4:case"fillAndAddForClipping":T=4;break;case 5:case"strokeAndAddPathForClipping":T=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":T=6;break;case 7:case"addToPathForClipping":T=7}var D=void 0!==M.usedRenderingMode?M.usedRenderingMode:-1;-1!==T?B+=T+" Tr\n":-1!==D&&(B+="0 Tr\n"),-1!==T&&(M.usedRenderingMode=T),l=n.align||"left";var K,V=fe*y,G=p.internal.pageSize.getWidth(),z=Ue[_e];c=n.charSpace||lA,u=n.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},n.flags);var q=[],W=function(e){return p.getStringUnitWidth(e,{font:z,charSpace:c,fontSize:fe,doKerning:!1})*fe/v};if("[object Array]"===Object.prototype.toString.call(e)){var X;o=C(e),"left"!==l&&(K=o.map(W));var Y,J=0;if("right"===l){t-=K[0],e=[],I=o.length;for(var Z=0;Z<I;Z++)0===Z?(Y=tA(t),X=AA(A)):(Y=R(J-K[Z]),X=-V),e.push([o[Z],Y,X]),J=K[Z]}else if("center"===l){t-=K[0]/2,e=[],I=o.length;for(var $=0;$<I;$++)0===$?(Y=tA(t),X=AA(A)):(Y=R((J-K[$])/2),X=-V),e.push([o[$],Y,X]),J=K[$]}else if("left"===l){e=[],I=o.length;for(var ee=0;ee<I;ee++)e.push(o[ee])}else if("justify"===l&&"Identity-H"===z.encoding){e=[],I=o.length,u=0!==u?u:G;for(var te=0,Ae=0;Ae<I;Ae++)if(X=0===Ae?AA(A):-V,Y=0===Ae?tA(t):te,Ae<I-1){var re=R((u-K[Ae])/(o[Ae].split(" ").length-1)),ne=o[Ae].split(" ");e.push([ne[0]+" ",Y,X]),te=0;for(var se=1;se<ne.length;se++){var ie=(W(ne[se-1]+" "+ne[se])-W(ne[se]))*v+re;se==ne.length-1?e.push([ne[se],ie,0]):e.push([ne[se]+" ",ie,0]),te-=ie}}else e.push([o[Ae],Y,X]);e.push(["",te,0])}else{if("justify"!==l)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(e=[],I=o.length,u=0!==u?u:G,Ae=0;Ae<I;Ae++){X=0===Ae?AA(A):-V,Y=0===Ae?tA(t):0;var oe=o[Ae].split(" ").length-1,ae=oe>0?(u-K[Ae])/oe:0;Ae<I-1?q.push(E(R(ae))):q.push(0),e.push([o[Ae],Y,X])}}}!0===("boolean"==typeof n.R2L?n.R2L:me)&&(e=_(e,function(e,t,A){return[e.split("").reverse().join(""),t,A]})),i={text:e,x:t,y:A,options:n,mutex:{pdfEscape:pt,activeFontKey:_e,fonts:Ue,activeFontSize:fe}},Oe.publish("postProcessText",i),e=i.text,m=i.mutex.isHex||!1;var le=Ue[_e].encoding;"WinAnsiEncoding"!==le&&"StandardEncoding"!==le||(e=_(e,function(e,t,A){return[b(e),t,A]})),o=C(e),e=[];for(var ue,he,de,pe=Array.isArray(o[0])?1:0,ge="",we=function(e,t,A){var r="";return A instanceof Ve?(A="number"==typeof n.angle?Ge(A,new Ve(1,0,0,1,e,t)):Ge(new Ve(1,0,0,1,e,t),A),x===j&&(A=Ge(new Ve(1,0,0,-1,0,0),A)),r=A.join(" ")+" Tm\n"):r=E(e)+" "+E(t)+" Td\n",r},Be=0;Be<o.length;Be++){switch(ge="",pe){case 1:de=(m?"<":"(")+o[Be][0]+(m?">":")"),ue=parseFloat(o[Be][1]),he=parseFloat(o[Be][2]);break;case 0:de=(m?"<":"(")+o[Be]+(m?">":")"),ue=tA(t),he=AA(A)}void 0!==q&&void 0!==q[Be]&&(ge=q[Be]+" Tw\n"),0===Be?e.push(ge+we(ue,he,f)+de):0===pe?e.push(ge+de):1===pe&&e.push(ge+we(ue,he,f)+de)}e=0===pe?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var ye="BT\n/";return ye+=_e+" "+fe+" Tf\n",ye+=E(fe*y)+" TL\n",ye+=oA+"\n",ye+=B,ye+=e,ce(ye+="ET"),w[_e]=!0,p};var kt=B.__private__.clip=B.clip=function(e){return ce("evenodd"===e?"W*":"W"),this};B.clipEvenOdd=function(){return kt("evenodd")},B.__private__.discardPath=B.discardPath=function(){return ce("n"),this};var Ht=B.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};B.__private__.setDefaultPathOperation=B.setDefaultPathOperation=function(e){return Ht(e)&&(h=e),this};var Pt=B.__private__.getStyle=B.getStyle=function(e){var t=h;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},Tt=B.close=function(){return ce("h"),this};B.stroke=function(){return ce("S"),this},B.fill=function(e){return Ot("f",e),this},B.fillEvenOdd=function(e){return Ot("f*",e),this},B.fillStroke=function(e){return Ot("B",e),this},B.fillStrokeEvenOdd=function(e){return Ot("B*",e),this};var Ot=function(e,t){"object"===(0,r.default)(t)?Rt(t,e):ce(e)},Mt=function(e){null===e||x===j&&void 0===e||(e=Pt(e),ce(e))};function Dt(e,t,A,r,n){var s=new O(t||this.boundingBox,A||this.xStep,r||this.yStep,this.gState,n||this.matrix);s.stream=this.stream;var i=e+"$$"+this.cloneIndex+++"$$";return qe(i,s),s}var Rt=function(e,t){var A=Ie[e.key],r=Le[A];if(r instanceof T)ce("q"),ce(Kt(t)),r.gState&&B.setGState(r.gState),ce(e.matrix.toString()+" cm"),ce("/"+A+" sh"),ce("Q");else if(r instanceof O){var n=new Ve(1,0,0,-1,0,jA());e.matrix&&(n=n.multiply(e.matrix||ze),A=Dt.call(r,e.key,e.boundingBox,e.xStep,e.yStep,n).id),ce("q"),ce("/Pattern cs"),ce("/"+A+" scn"),r.gState&&B.setGState(r.gState),ce(t),ce("Q")}},Kt=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Vt=B.moveTo=function(e,t){return ce(E(R(e))+" "+E(K(t))+" m"),this},Gt=B.lineTo=function(e,t){return ce(E(R(e))+" "+E(K(t))+" l"),this},zt=B.curveTo=function(e,t,A,r,n,s){return ce([E(R(e)),E(K(t)),E(R(A)),E(K(r)),E(R(n)),E(K(s)),"c"].join(" ")),this};B.__private__.line=B.line=function(e,t,A,r,n){if(isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r)||!Ht(n))throw new Error("Invalid arguments passed to jsPDF.line");return x===_?this.lines([[A-e,r-t]],e,t,[1,1],n||"S"):this.lines([[A-e,r-t]],e,t,[1,1]).stroke()},B.__private__.lines=B.lines=function(e,t,A,r,n,s){var i,o,a,l,c,u,h,d,f,p,g,m;if("number"==typeof e&&(m=A,A=t,t=e,e=m),r=r||[1,1],s=s||!1,isNaN(t)||isNaN(A)||!Array.isArray(e)||!Array.isArray(r)||!Ht(n)||"boolean"!=typeof s)throw new Error("Invalid arguments passed to jsPDF.lines");for(Vt(t,A),i=r[0],o=r[1],l=e.length,p=t,g=A,a=0;a<l;a++)2===(c=e[a]).length?(p=c[0]*i+p,g=c[1]*o+g,Gt(p,g)):(u=c[0]*i+p,h=c[1]*o+g,d=c[2]*i+p,f=c[3]*o+g,p=c[4]*i+p,g=c[5]*o+g,zt(u,h,d,f,p,g));return s&&Tt(),Mt(n),this},B.path=function(e){for(var t=0;t<e.length;t++){var A=e[t],r=A.c;switch(A.op){case"m":Vt(r[0],r[1]);break;case"l":Gt(r[0],r[1]);break;case"c":zt.apply(this,r);break;case"h":Tt()}}return this},B.__private__.rect=B.rect=function(e,t,A,r,n){if(isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r)||!Ht(n))throw new Error("Invalid arguments passed to jsPDF.rect");return x===_&&(r=-r),ce([E(R(e)),E(K(t)),E(R(A)),E(R(r)),"re"].join(" ")),Mt(n),this},B.__private__.triangle=B.triangle=function(e,t,A,r,n,s,i){if(isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r)||isNaN(n)||isNaN(s)||!Ht(i))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[A-e,r-t],[n-A,s-r],[e-n,t-s]],e,t,[1,1],i,!0),this},B.__private__.roundedRect=B.roundedRect=function(e,t,A,r,n,s,i){if(isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r)||isNaN(n)||isNaN(s)||!Ht(i))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var o=4/3*(Math.SQRT2-1);return n=Math.min(n,.5*A),s=Math.min(s,.5*r),this.lines([[A-2*n,0],[n*o,0,n,s-s*o,n,s],[0,r-2*s],[0,s*o,-n*o,s,-n,s],[2*n-A,0],[-n*o,0,-n,-s*o,-n,-s],[0,2*s-r],[0,-s*o,n*o,-s,n,-s]],e+n,t,[1,1],i,!0),this},B.__private__.ellipse=B.ellipse=function(e,t,A,r,n){if(isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r)||!Ht(n))throw new Error("Invalid arguments passed to jsPDF.ellipse");var s=4/3*(Math.SQRT2-1)*A,i=4/3*(Math.SQRT2-1)*r;return Vt(e+A,t),zt(e+A,t-i,e+s,t-r,e,t-r),zt(e-s,t-r,e-A,t-i,e-A,t),zt(e-A,t+i,e-s,t+r,e,t+r),zt(e+s,t+r,e+A,t+i,e+A,t),Mt(n),this},B.__private__.circle=B.circle=function(e,t,A,r){if(isNaN(e)||isNaN(t)||isNaN(A)||!Ht(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,A,A,r)},B.setFont=function(e,t,A){return A&&(t=U(t,A)),_e=vt(e,t,{disableWarning:!1}),this};var qt=B.__private__.getFont=B.getFont=function(){return Ue[vt.apply(B,arguments)]};B.__private__.getFontList=B.getFontList=function(){var e,t,A={};for(e in Ee)if(Ee.hasOwnProperty(e))for(t in A[e]=[],Ee[e])Ee[e].hasOwnProperty(t)&&A[e].push(t);return A},B.addFont=function(e,t,A,r,n){var s=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==s.indexOf(arguments[3])?n=arguments[3]:arguments[3]&&-1==s.indexOf(arguments[3])&&(A=U(A,r)),ft.call(this,e,t,A,n=n||"Identity-H")};var Wt,Xt=e.lineWidth||.200025,Yt=B.__private__.getLineWidth=B.getLineWidth=function(){return Xt},Jt=B.__private__.setLineWidth=B.setLineWidth=function(e){return Xt=e,ce(E(R(e))+" w"),this};B.__private__.setLineDash=M.API.setLineDash=M.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map(function(e){return E(R(e))}).join(" "),t=E(R(t)),ce("["+e+"] "+t+" d"),this};var Zt=B.__private__.getLineHeight=B.getLineHeight=function(){return fe*Wt};B.__private__.getLineHeight=B.getLineHeight=function(){return fe*Wt};var $t=B.__private__.setLineHeightFactor=B.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(Wt=e),this},eA=B.__private__.getLineHeightFactor=B.getLineHeightFactor=function(){return Wt};$t(e.lineHeight);var tA=B.__private__.getHorizontalCoordinate=function(e){return R(e)},AA=B.__private__.getVerticalCoordinate=function(e){return x===j?e:Te[Z].mediaBox.topRightY-Te[Z].mediaBox.bottomLeftY-R(e)},rA=B.__private__.getHorizontalCoordinateString=B.getHorizontalCoordinateString=function(e){return E(tA(e))},nA=B.__private__.getVerticalCoordinateString=B.getVerticalCoordinateString=function(e){return E(AA(e))},sA=e.strokeColor||"0 G";B.__private__.getStrokeColor=B.getDrawColor=function(){return tt(sA)},B.__private__.setStrokeColor=B.setDrawColor=function(e,t,A,r){return sA=At({ch1:e,ch2:t,ch3:A,ch4:r,pdfColorType:"draw",precision:2}),ce(sA),this};var iA=e.fillColor||"0 g";B.__private__.getFillColor=B.getFillColor=function(){return tt(iA)},B.__private__.setFillColor=B.setFillColor=function(e,t,A,r){return iA=At({ch1:e,ch2:t,ch3:A,ch4:r,pdfColorType:"fill",precision:2}),ce(iA),this};var oA=e.textColor||"0 g",aA=B.__private__.getTextColor=B.getTextColor=function(){return tt(oA)};B.__private__.setTextColor=B.setTextColor=function(e,t,A,r){return oA=At({ch1:e,ch2:t,ch3:A,ch4:r,pdfColorType:"text",precision:3}),this};var lA=e.charSpace,cA=B.__private__.getCharSpace=B.getCharSpace=function(){return parseFloat(lA||0)};B.__private__.setCharSpace=B.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return lA=e,this};var uA=0;B.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},B.__private__.setLineCap=B.setLineCap=function(e){var t=B.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return uA=t,ce(t+" J"),this};var hA=0;B.__private__.setLineJoin=B.setLineJoin=function(e){var t=B.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return hA=t,ce(t+" j"),this},B.__private__.setLineMiterLimit=B.__private__.setMiterLimit=B.setLineMiterLimit=B.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ce(E(R(e))+" M"),this},B.GState=H,B.setGState=function(e){(e="string"==typeof e?Ne[ke[e]]:dA(null,e)).equals(He)||(ce("/"+e.id+" gs"),He=e)};var dA=function(e,t){if(!e||!ke[e]){var A=!1;for(var r in Ne)if(Ne.hasOwnProperty(r)&&Ne[r].equals(t)){A=!0;break}if(A)t=Ne[r];else{var n="GS"+(Object.keys(Ne).length+1).toString(10);Ne[n]=t,t.id=n}return e&&(ke[e]=t.id),Oe.publish("addGState",t),t}};B.addGState=function(e,t){return dA(e,t),this},B.saveGraphicsState=function(){return ce("q"),Se.push({key:_e,size:fe,color:oA}),this},B.restoreGraphicsState=function(){ce("Q");var e=Se.pop();return _e=e.key,fe=e.size,oA=e.color,He=null,this},B.setCurrentTransformationMatrix=function(e){return ce(e.toString()+" cm"),this},B.comment=function(e){return ce("#"+e),this};var fA=function(e,t){var A=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return A},set:function(e){isNaN(e)||(A=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var n="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return n},set:function(e){n=e.toString()}}),this},pA=function(e,t,A,r){fA.call(this,e,t),this.type="rect";var n=A||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var s=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return s},set:function(e){isNaN(e)||(s=parseFloat(e))}}),this},gA=function(){this.page=Pe,this.currentPage=Z,this.pages=ie.slice(0),this.pagesContext=Te.slice(0),this.x=xe,this.y=Fe,this.matrix=Qe,this.width=BA(Z),this.height=vA(Z),this.outputDestination=ae,this.id="",this.objectNumber=-1};gA.prototype.restore=function(){Pe=this.page,Z=this.currentPage,Te=this.pagesContext,ie=this.pages,xe=this.x,Fe=this.y,Qe=this.matrix,yA(Z,this.width),bA(Z,this.height),ae=this.outputDestination};var mA=function(e,t,A,r,n){Ke.push(new gA),Pe=Z=0,ie=[],xe=e,Fe=t,Qe=n,gt([A,r])};for(var wA in B.beginFormObject=function(e,t,A,r,n){return mA(e,t,A,r,n),this},B.endFormObject=function(e){return function(e){if(Re[e])Ke.pop().restore();else{var t=new gA,A="Xo"+(Object.keys(De).length+1).toString(10);t.id=A,Re[e]=A,De[A]=t,Oe.publish("addFormObject",t),Ke.pop().restore()}}(e),this},B.doFormObject=function(e,t){var A=De[Re[e]];return ce("q"),ce(t.toString()+" cm"),ce("/"+A.id+" Do"),ce("Q"),this},B.getFormObject=function(e){var t=De[Re[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},B.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(d(Qt(Ft()),e),"function"==typeof d.unload&&o.setTimeout&&setTimeout(d.unload,911),this):new Promise(function(t,A){try{var r=d(Qt(Ft()),e);"function"==typeof d.unload&&o.setTimeout&&setTimeout(d.unload,911),t(r)}catch(e){A(e.message)}})},M.API)M.API.hasOwnProperty(wA)&&("events"===wA&&M.API.events.length?function(e,t){var A,r,n;for(n=t.length-1;-1!==n;n--)A=t[n][0],r=t[n][1],e.subscribe.apply(e,[A].concat("function"==typeof r?[r]:r))}(Oe,M.API.events):B[wA]=M.API[wA]);function BA(e){return Te[e].mediaBox.topRightX-Te[e].mediaBox.bottomLeftX}function yA(e,t){Te[e].mediaBox.topRightX=t+Te[e].mediaBox.bottomLeftX}function vA(e){return Te[e].mediaBox.topRightY-Te[e].mediaBox.bottomLeftY}function bA(e,t){Te[e].mediaBox.topRightY=t+Te[e].mediaBox.bottomLeftY}var CA=B.getPageWidth=function(e){return BA(e=e||Z)/je},_A=B.setPageWidth=function(e,t){yA(e,t*je)},jA=B.getPageHeight=function(e){return vA(e=e||Z)/je},xA=B.setPageHeight=function(e,t){bA(e,t*je)};return B.internal={pdfEscape:pt,getStyle:Pt,getFont:qt,getFontSize:ge,getCharSpace:cA,getTextColor:aA,getLineHeight:Zt,getLineHeightFactor:eA,getLineWidth:Yt,write:ue,getHorizontalCoordinate:tA,getVerticalCoordinate:AA,getCoordinateString:rA,getVerticalCoordinateString:nA,collections:{},newObject:Xe,newAdditionalObject:Ze,newObjectDeferred:Ye,newObjectDeferredBegin:Je,getFilters:rt,putStream:nt,events:Oe,scaleFactor:je,pageSize:{getWidth:function(){return CA(Z)},setWidth:function(e){_A(Z,e)},getHeight:function(){return jA(Z)},setHeight:function(e){xA(Z,e)}},encryptionOptions:p,encryption:St,getEncryptor:function(e){return null!==p?St.encryptor(e,0):function(e){return e}},output:Ut,getNumberOfPages:yt,get pages(){return ie},out:ce,f2:P,f3:D,getPageInfo:Lt,getPageInfoByObjId:It,getCurrentPageInfo:Nt,getPDFVersion:v,Point:fA,Rectangle:pA,Matrix:Ve,hasHotfix:Et},Object.defineProperty(B.internal.pageSize,"width",{get:function(){return CA(Z)},set:function(e){_A(Z,e)},enumerable:!0,configurable:!0}),Object.defineProperty(B.internal.pageSize,"height",{get:function(){return jA(Z)},set:function(e){xA(Z,e)},enumerable:!0,configurable:!0}),function(e){for(var t=0,A=de.length;t<A;t++){var r=ft.call(this,e[t][0],e[t][1],e[t][2],de[t][3],!0);!1===m&&(w[r]=!0);var n=e[t][0].split("-");dt({id:r,fontName:n[0],fontStyle:n[1]||""})}Oe.publish("addFonts",{fonts:Ue,dictionary:Ee})}.call(B,de),_e="F1",mt(s,A),Oe.publish("initialized"),B}I.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},I.prototype.toHexString=function(e){return e.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},I.prototype.hexToBytes=function(e){for(var t=[],A=0;A<e.length;A+=2)t.push(String.fromCharCode(parseInt(e.substr(A,2),16)));return t.join("")},I.prototype.processOwnerPassword=function(e,t){return S(Q(t).substr(0,5),e)},I.prototype.encryptor=function(e,t){var A=Q(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return S(A,e)}},H.prototype.equals=function(e){var t,A="id,objectNumber,equals";if(!e||(0,r.default)(e)!==(0,r.default)(this))return!1;var n=0;for(t in this)if(!(A.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;n++}for(t in e)e.hasOwnProperty(t)&&A.indexOf(t)<0&&n--;return 0===n},M.API={events:[]},M.version="4.0.0";var D=M.API,R=1,K=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},V=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},G=function(e){return e.toFixed(2)},z=function(e){return e.toFixed(5)};D.__acroform__={};var q=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},W=function(e){return e*R},X=function(e){var t=new ue,A=je.internal.getHeight(e)||0,r=je.internal.getWidth(e)||0;return t.BBox=[0,0,Number(G(r)),Number(G(A))],t},Y=D.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},J=D.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},Z=D.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<t?1:0},$=D.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Z(e,t-1)},ee=D.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Y(e,t-1)},te=D.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return J(e,t-1)},Ae=D.__acroform__.calculateCoordinates=function(e,t){var A=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,n=e[0],s=e[1],i=e[2],o=e[3],a={};return a.lowerLeft_X=A(n)||0,a.lowerLeft_Y=r(s+o)||0,a.upperRight_X=A(n+i)||0,a.upperRight_Y=r(s)||0,[Number(G(a.lowerLeft_X)),Number(G(a.lowerLeft_Y)),Number(G(a.upperRight_X)),Number(G(a.upperRight_Y))]},re=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],A=e._V||e.DV,r=ne(e,A),n=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+n+" "+G(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var s=X(e);return s.scope=e.scope,s.stream=t.join("\n"),s}},ne=function(e,t){var A=0===e.fontSize?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},n=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");n=e.multiline?n.map(function(e){return e.split("\n")}):n.map(function(e){return[e]});var s=A,i=je.internal.getHeight(e)||0;i=i<0?-i:i;var o=je.internal.getWidth(e)||0;o=o<0?-o:o;var a=function(t,A,r){if(t+1<n.length){var s=A+" "+n[t+1][0];return se(s,e,r).width<=o-4}return!1};s++;e:for(;s>0;){t="",s--;var l,c,u=se("3",e,s).height,h=e.multiline?i-s:(i-u)/2,d=h+=2,f=0,p=0,g=0;if(s<=0){t="(...) Tj\n",t+="% Width of Text: "+se(t,e,s=12).width+", FieldWidth:"+o+"\n";break}for(var m="",w=0,B=0;B<n.length;B++)if(n.hasOwnProperty(B)){var y=!1;if(1!==n[B].length&&g!==n[B].length-1){if((u+2)*(w+2)+2>i)continue e;m+=n[B][g],y=!0,p=B,B--}else{m=" "==(m+=n[B][g]+" ").substr(m.length-1)?m.substr(0,m.length-1):m;var v=parseInt(B),b=a(v,m,s),C=B>=n.length-1;if(b&&!C){m+=" ",g=0;continue}if(b||C){if(C)p=v;else if(e.multiline&&(u+2)*(w+2)+2>i)continue e}else{if(!e.multiline)continue e;if((u+2)*(w+2)+2>i)continue e;p=v}}for(var _="",j=f;j<=p;j++){var x=n[j];if(e.multiline){if(j===p){_+=x[g]+" ",g=(g+1)%x.length;continue}if(j===f){_+=x[x.length-1]+" ";continue}}_+=x[0]+" "}switch(_=" "==_.substr(_.length-1)?_.substr(0,_.length-1):_,c=se(_,e,s).width,e.textAlign){case"right":l=o-c-2;break;case"center":l=(o-c)/2;break;default:l=2}t+=G(l)+" "+G(d)+" Td\n",t+="("+K(_)+") Tj\n",t+=-G(l)+" 0 Td\n",d=-(s+2),c=0,f=y?p:p+1,w++,m=""}break}return r.text=t,r.fontSize=s,r},se=function(e,t,A){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),n=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(A),charSpace:0})*parseFloat(A);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(A),charSpace:0})*parseFloat(A)*1.5,width:n}},ie={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},oe=function(e,t){var A={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find(function(e){return e.type===A.type&&e.object===A.object})&&t.internal.getPageInfo(e.page).pageContext.annotations.push(A)},ae=D.__acroform__.arrayToPdfArray=function(e,t,A){var n=function(e){return e};if(Array.isArray(e)){for(var s="[",i=0;i<e.length;i++)switch(0!==i&&(s+=" "),(0,r.default)(e[i])){case"boolean":case"number":case"object":s+=e[i].toString();break;case"string":"/"!==e[i].substr(0,1)?(void 0!==t&&A&&(n=A.internal.getEncryptor(t)),s+="("+K(n(e[i].toString()))+")"):s+=e[i].toString()}return s+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},le=function(e,t,A){var r=function(e){return e};return void 0!==t&&A&&(r=A.internal.getEncryptor(t)),(e=e||"").toString(),"("+K(r(e))+")"},ce=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ce.prototype.toString=function(){return this.objId+" 0 R"},ce.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},ce.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter(function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)});for(var A in t)if(!1===Object.getOwnPropertyDescriptor(this,t[A]).configurable){var r=t[A],n=this[r];n&&(Array.isArray(n)?e.push({key:r,value:ae(n,this.objId,this.scope)}):n instanceof ce?(n.scope=this.scope,e.push({key:r,value:n.objId+" 0 R"})):"function"!=typeof n&&e.push({key:r,value:n}))}return e};var ue=function(){ce.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};q(ue,ce);var he=function(){ce.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+K(t(e))+")"}},set:function(t){e=t}})};q(he,ce);var de=function e(){ce.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean($(t,3))},set:function(e){!0===Boolean(e)?this.F=ee(t,3):this.F=te(t,3)}});var A=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return A},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');A=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[3]=e}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var s=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!s||s.length<1){if(this instanceof ve)return;s="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+K(t(s))+")"},set:function(e){s=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return s},set:function(e){s=e}});var i="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return i},set:function(e){i=e}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){o=e}});var a=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return a},set:function(e){a=e}});var l=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===l?50/R:l},set:function(e){l=e}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var u="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!u||this instanceof ve||this instanceof Ce))return le(u,this.objId,this.scope)},set:function(e){e=e.toString(),u=e}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof we==0?le(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof we==0?"("===e.substr(0,1)?V(e.substr(1,e.length-2)):V(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof we==1?V(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof we==1?"/"+e:e}});var d=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(d)return d},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof we==0?le(d,this.objId,this.scope):d},set:function(e){e=e.toString(),d=this instanceof we==0?"("===e.substr(0,1)?V(e.substr(1,e.length-2)):V(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof we==1?V(d.substr(1,d.length-1)):d},set:function(e){e=e.toString(),d=this instanceof we==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var f,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(e){e=Boolean(e),p=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(f)return f},set:function(e){f=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,1):this.Ff=te(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,2):this.Ff=te(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,3):this.Ff=te(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');g=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(g){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:g=2;break;case"center":case 1:g=1;break;default:g=0}}})};q(de,ce);var fe=function(){de.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ae(t,this.objId,this.scope)},set:function(e){var A,r;r=[],"string"==typeof(A=e)&&(r=function(e,t,A){A||(A=1);for(var r,n=[];r=t.exec(e);)n.push(r[A]);return n}(A,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,A){for(A=A||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==A););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,18):this.Ff=te(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=ee(this.Ff,19):this.Ff=te(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=ee(this.Ff,20),t.sort()):this.Ff=te(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,22):this.Ff=te(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,23):this.Ff=te(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,27):this.Ff=te(this.Ff,27)}}),this.hasAppearanceStream=!1};q(fe,de);var pe=function(){fe.call(this),this.fontName="helvetica",this.combo=!1};q(pe,fe);var ge=function(){pe.call(this),this.combo=!0};q(ge,pe);var me=function(){ge.call(this),this.edit=!0};q(me,ge);var we=function(){de.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,15):this.Ff=te(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,16):this.Ff=te(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,17):this.Ff=te(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,26):this.Ff=te(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var A,r=[];for(A in r.push("<<"),t)r.push("/"+A+" ("+K(e(t[A]))+")");return r.push(">>"),r.join("\n")}},set:function(e){"object"===(0,r.default)(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};q(we,de);var Be=function(){we.call(this),this.pushButton=!0};q(Be,we);var ye=function(){we.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};q(ye,we);var ve=function(){var e,t;de.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var A,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,A=[];for(t in A.push("<<"),n)A.push("/"+t+" ("+K(e(n[t]))+")");return A.push(">>"),A.join("\n")},set:function(e){"object"===(0,r.default)(e)&&(n=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){"string"==typeof e&&(n.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return A},set:function(e){A=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return A.substr(1,A.length-1)},set:function(e){A="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=je.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};q(ve,de),ye.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var A=this.Kids[t];A.appearanceStreamContent=e.createAppearanceStream(A.optionName),A.caption=e.getCA()}},ye.prototype.createOption=function(e){var t=new ve;return t.Parent=this,t.optionName=e,this.Kids.push(t),xe.call(this.scope,t),t};var be=function(){we.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=je.CheckBox.createAppearanceStream()};q(be,we);var Ce=function(){de.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,13):this.Ff=te(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,21):this.Ff=te(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,23):this.Ff=te(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,24):this.Ff=te(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,25):this.Ff=te(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,26):this.Ff=te(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};q(Ce,de);var _e=function(){Ce.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,14):this.Ff=te(this.Ff,14)}}),this.password=!0};q(_e,Ce);var je={CheckBox:{createAppearanceStream:function(){return{N:{On:je.CheckBox.YesNormal},D:{On:je.CheckBox.YesPushDown,Off:je.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=X(e);t.scope=e.scope;var A=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color),s=ne(e,e.caption);return A.push("0.749023 g"),A.push("0 0 "+G(je.internal.getWidth(e))+" "+G(je.internal.getHeight(e))+" re"),A.push("f"),A.push("BMC"),A.push("q"),A.push("0 0 1 rg"),A.push("/"+r+" "+G(s.fontSize)+" Tf "+n),A.push("BT"),A.push(s.text),A.push("ET"),A.push("Q"),A.push("EMC"),t.stream=A.join("\n"),t},YesNormal:function(e){var t=X(e);t.scope=e.scope;var A=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),n=[],s=je.internal.getHeight(e),i=je.internal.getWidth(e),o=ne(e,e.caption);return n.push("1 g"),n.push("0 0 "+G(i)+" "+G(s)+" re"),n.push("f"),n.push("q"),n.push("0 0 1 rg"),n.push("0 0 "+G(i-1)+" "+G(s-1)+" re"),n.push("W"),n.push("n"),n.push("0 g"),n.push("BT"),n.push("/"+A+" "+G(o.fontSize)+" Tf "+r),n.push(o.text),n.push("ET"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=X(e);t.scope=e.scope;var A=[];return A.push("0.749023 g"),A.push("0 0 "+G(je.internal.getWidth(e))+" "+G(je.internal.getHeight(e))+" re"),A.push("f"),t.stream=A.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:je.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=je.RadioButton.Circle.YesNormal,t.D[e]=je.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=X(e);t.scope=e.scope;var A=[],r=je.internal.getWidth(e)<=je.internal.getHeight(e)?je.internal.getWidth(e)/4:je.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var n=je.internal.Bezier_C,s=Number((r*n).toFixed(5));return A.push("q"),A.push("1 0 0 1 "+z(je.internal.getWidth(e)/2)+" "+z(je.internal.getHeight(e)/2)+" cm"),A.push(r+" 0 m"),A.push(r+" "+s+" "+s+" "+r+" 0 "+r+" c"),A.push("-"+s+" "+r+" -"+r+" "+s+" -"+r+" 0 c"),A.push("-"+r+" -"+s+" -"+s+" -"+r+" 0 -"+r+" c"),A.push(s+" -"+r+" "+r+" -"+s+" "+r+" 0 c"),A.push("f"),A.push("Q"),t.stream=A.join("\n"),t},YesPushDown:function(e){var t=X(e);t.scope=e.scope;var A=[],r=je.internal.getWidth(e)<=je.internal.getHeight(e)?je.internal.getWidth(e)/4:je.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),s=Number((n*je.internal.Bezier_C).toFixed(5)),i=Number((r*je.internal.Bezier_C).toFixed(5));return A.push("0.749023 g"),A.push("q"),A.push("1 0 0 1 "+z(je.internal.getWidth(e)/2)+" "+z(je.internal.getHeight(e)/2)+" cm"),A.push(n+" 0 m"),A.push(n+" "+s+" "+s+" "+n+" 0 "+n+" c"),A.push("-"+s+" "+n+" -"+n+" "+s+" -"+n+" 0 c"),A.push("-"+n+" -"+s+" -"+s+" -"+n+" 0 -"+n+" c"),A.push(s+" -"+n+" "+n+" -"+s+" "+n+" 0 c"),A.push("f"),A.push("Q"),A.push("0 g"),A.push("q"),A.push("1 0 0 1 "+z(je.internal.getWidth(e)/2)+" "+z(je.internal.getHeight(e)/2)+" cm"),A.push(r+" 0 m"),A.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),A.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),A.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),A.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),A.push("f"),A.push("Q"),t.stream=A.join("\n"),t},OffPushDown:function(e){var t=X(e);t.scope=e.scope;var A=[],r=je.internal.getWidth(e)<=je.internal.getHeight(e)?je.internal.getWidth(e)/4:je.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),s=Number((n*je.internal.Bezier_C).toFixed(5));return A.push("0.749023 g"),A.push("q"),A.push("1 0 0 1 "+z(je.internal.getWidth(e)/2)+" "+z(je.internal.getHeight(e)/2)+" cm"),A.push(n+" 0 m"),A.push(n+" "+s+" "+s+" "+n+" 0 "+n+" c"),A.push("-"+s+" "+n+" -"+n+" "+s+" -"+n+" 0 c"),A.push("-"+n+" -"+s+" -"+s+" -"+n+" 0 -"+n+" c"),A.push(s+" -"+n+" "+n+" -"+s+" "+n+" 0 c"),A.push("f"),A.push("Q"),t.stream=A.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:je.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=je.RadioButton.Cross.YesNormal,t.D[e]=je.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=X(e);t.scope=e.scope;var A=[],r=je.internal.calculateCross(e);return A.push("q"),A.push("1 1 "+G(je.internal.getWidth(e)-2)+" "+G(je.internal.getHeight(e)-2)+" re"),A.push("W"),A.push("n"),A.push(G(r.x1.x)+" "+G(r.x1.y)+" m"),A.push(G(r.x2.x)+" "+G(r.x2.y)+" l"),A.push(G(r.x4.x)+" "+G(r.x4.y)+" m"),A.push(G(r.x3.x)+" "+G(r.x3.y)+" l"),A.push("s"),A.push("Q"),t.stream=A.join("\n"),t},YesPushDown:function(e){var t=X(e);t.scope=e.scope;var A=je.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+G(je.internal.getWidth(e))+" "+G(je.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+G(je.internal.getWidth(e)-2)+" "+G(je.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(G(A.x1.x)+" "+G(A.x1.y)+" m"),r.push(G(A.x2.x)+" "+G(A.x2.y)+" l"),r.push(G(A.x4.x)+" "+G(A.x4.y)+" m"),r.push(G(A.x3.x)+" "+G(A.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=X(e);t.scope=e.scope;var A=[];return A.push("0.749023 g"),A.push("0 0 "+G(je.internal.getWidth(e))+" "+G(je.internal.getHeight(e))+" re"),A.push("f"),t.stream=A.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,A=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+A}};je.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=je.internal.getWidth(e),A=je.internal.getHeight(e),r=Math.min(t,A);return{x1:{x:(t-r)/2,y:(A-r)/2+r},x2:{x:(t-r)/2+r,y:(A-r)/2},x3:{x:(t-r)/2,y:(A-r)/2},x4:{x:(t-r)/2+r,y:(A-r)/2+r}}}},je.internal.getWidth=function(e){var t=0;return"object"===(0,r.default)(e)&&(t=W(e.Rect[2])),t},je.internal.getHeight=function(e){var t=0;return"object"===(0,r.default)(e)&&(t=W(e.Rect[3])),t};var xe=D.addField=function(e){if(function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(de.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(ie)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");R=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new he,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",function(){var t;(t=e).internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0}),e.internal.events.subscribe("buildDocument",function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var A in t)if(t.hasOwnProperty(A)){var r=t[A];r.objId=void 0,r.hasAnnotation&&oe(r,e)}}(e)}),e.internal.events.subscribe("putCatalog",function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)}),e.internal.events.subscribe("postPutPages",function(t){!function(e,t){var A=!e;for(var n in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(n)){var s=e[n],i=[],o=s.Rect;if(s.Rect&&(s.Rect=Ae(s.Rect,t)),t.internal.newObjectDeferredBegin(s.objId,!0),s.DA=je.createDefaultAppearanceStream(s),"object"===(0,r.default)(s)&&"function"==typeof s.getKeyValueListForStream&&(i=s.getKeyValueListForStream()),s.Rect=o,s.hasAppearanceStream&&!s.appearanceStreamContent){var a=re(s);i.push({key:"AP",value:"<</N "+a+">>"}),t.internal.acroformPlugin.xForms.push(a)}if(s.appearanceStreamContent){var l="";for(var c in s.appearanceStreamContent)if(s.appearanceStreamContent.hasOwnProperty(c)){var u=s.appearanceStreamContent[c];if(l+="/"+c+" ",l+="<<",Object.keys(u).length>=1||Array.isArray(u)){for(var n in u)if(u.hasOwnProperty(n)){var h=u[n];"function"==typeof h&&(h=h.call(t,s)),l+="/"+n+" "+h+" ",t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=u)&&(h=h.call(t,s)),l+="/"+n+" "+h,t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h);l+=">>"}i.push({key:"AP",value:"<<\n"+l+">>"})}t.internal.putStream({additionalKeyValues:i,objectId:s.objId}),t.internal.out("endobj")}A&&function(e,t){for(var A in e)if(e.hasOwnProperty(A)){var n=A,s=e[A];t.internal.newObjectDeferredBegin(s.objId,!0),"object"===(0,r.default)(s)&&"function"==typeof s.putStream&&s.putStream(),delete e[n]}}(t.internal.acroformPlugin.xForms,t)}(t,e)}),e.internal.acroformPlugin.isInitialized=!0}}(this,e),!(e instanceof de))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};D.AcroFormChoiceField=fe,D.AcroFormListBox=pe,D.AcroFormComboBox=ge,D.AcroFormEditBox=me,D.AcroFormButton=we,D.AcroFormPushButton=Be,D.AcroFormRadioButton=ye,D.AcroFormCheckBox=be,D.AcroFormTextField=Ce,D.AcroFormPasswordField=_e,D.AcroFormAppearance=je,D.AcroForm={ChoiceField:fe,ListBox:pe,ComboBox:ge,EditBox:me,Button:we,PushButton:Be,RadioButton:ye,CheckBox:be,TextField:Ce,PasswordField:_e,Appearance:je},M.AcroForm={ChoiceField:fe,ListBox:pe,ComboBox:ge,EditBox:me,Button:we,PushButton:Be,RadioButton:ye,CheckBox:be,TextField:Ce,PasswordField:_e,Appearance:je};var Fe,Qe,Ue=M.AcroForm;function Ee(e){return e.reduce(function(e,t,A){return e[t]=A,e},{})}!function(e){var t="addImage_";e.__addimage__={};var A="UNKNOWN",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},s=e.__addimage__.getImageFileTypeByImageData=function(e,t){var r,s,i,o,a,l=A;if("RGBA"===(t=t||A)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(_(e))for(a in n)for(i=n[a],r=0;r<i.length;r+=1){for(o=!0,s=0;s<i[r].length;s+=1)if(void 0!==i[r][s]&&i[r][s]!==e[s]){o=!1;break}if(!0===o){l=a;break}}else for(a in n)for(i=n[a],r=0;r<i.length;r+=1){for(o=!0,s=0;s<i[r].length;s+=1)if(void 0!==i[r][s]&&i[r][s]!==e.charCodeAt(s)){o=!1;break}if(!0===o){l=a;break}}return l===A&&t!==A&&(l=t),l},i=function e(t){for(var A=this.internal.write,r=this.internal.putStream,n=(0,this.internal.getFilters)();-1!==n.indexOf("FlateEncode");)n.splice(n.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var s=[];if(s.push({key:"Type",value:"/XObject"}),s.push({key:"Subtype",value:"/Image"}),s.push({key:"Width",value:t.width}),s.push({key:"Height",value:t.height}),t.colorSpace===B.INDEXED?s.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(s.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===B.DEVICE_CMYK&&s.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),s.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&s.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)&&t.transparency.length>0){for(var i="",o=0,a=t.transparency.length;o<a;o++)i+=t.transparency[o]+" "+t.transparency[o]+" ";s.push({key:"Mask",value:"["+i+"]"})}void 0!==t.sMask&&s.push({key:"SMask",value:t.objectId+1+" 0 R"});var l=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:s,alreadyAppliedFilters:l,objectId:t.objectId}),A("endobj"),"sMask"in t&&void 0!==t.sMask){var c,u=null!==(c=t.sMaskBitsPerComponent)&&void 0!==c?c:t.bitsPerComponent,h={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:u,data:t.sMask};"filter"in t&&(h.decodeParameters="/Predictor ".concat(t.predictor," /Colors 1 /BitsPerComponent ").concat(u," /Columns ").concat(t.width),h.filter=t.filter),e.call(this,h)}if(t.colorSpace===B.INDEXED){var d=this.internal.newObject();r({data:x(new Uint8Array(t.palette)),objectId:d}),A("endobj")}},o=function(){var e=this.internal.collections[t+"images"];for(var A in e)i.call(this,e[A])},a=function(){var e,A=this.internal.collections[t+"images"],r=this.internal.write;for(var n in A)r("/I"+(e=A[n]).index,e.objectId,"0","R")},l=function(){this.internal.collections[t+"images"]||(this.internal.collections[t+"images"]={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",a))},c=function(){var e=this.internal.collections[t+"images"];return l.call(this),e},u=function(){return Object.keys(this.internal.collections[t+"images"]).length},h=function(t){return"function"==typeof e["process"+t.toUpperCase()]},d=function(e){return"object"===(0,r.default)(e)&&1===e.nodeType},f=function(t,A){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return p(unescape(r).split("base64,").pop());var n=e.loadFile(r,!0);if(void 0!==n)return n}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var s;switch(A){case"PNG":s="image/png";break;case"WEBP":s="image/webp";break;default:s="image/jpeg"}return p(t.toDataURL(s,1).split("base64,").pop())}},g=function(e){var A=this.internal.collections[t+"images"];if(A)for(var r in A)if(e===A[r].alias)return A[r]},m=function(e,t,A){return e||t||(e=-96,t=-96),e<0&&(e=-1*A.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*A.height*72/t/this.internal.scaleFactor),0===e&&(e=t*A.width/A.height),0===t&&(t=e*A.height/A.width),[e,t]},w=function(e,t,A,r,n,s){var i=m.call(this,A,r,n),o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,l=c.call(this);if(A=i[0],r=i[1],l[n.index]=n,s){s*=Math.PI/180;var u=Math.cos(s),h=Math.sin(s),d=function(e){return e.toFixed(4)},f=[d(u),d(h),d(-1*h),d(u),0,0,"cm"]}this.internal.write("q"),s?(this.internal.write([1,"0","0",1,o(e),a(t+r),"cm"].join(" ")),this.internal.write(f.join(" ")),this.internal.write([o(A),"0","0",o(r),"0","0","cm"].join(" "))):this.internal.write([o(A),"0","0",o(r),o(e),a(t+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+n.index+" Do"),this.internal.write("Q")},B=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var y=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},v=e.__addimage__.sHashCode=function(e){var t,A,r=0;if("string"==typeof e)for(A=e.length,t=0;t<A;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;else if(_(e))for(A=e.byteLength/2,t=0;t<A;t++)r=(r<<5)-r+e[t],r|=0;return r},b=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},C=e.__addimage__.extractImageFromDataUrl=function(e){if(null==e)return null;if(!(e=e.trim()).startsWith("data:"))return null;var t=e.indexOf(",");return t<0?null:e.substring(0,t).trim().endsWith("base64")?e.substring(t+1):null};e.__addimage__.isArrayBuffer=function(e){return e instanceof ArrayBuffer};var _=e.__addimage__.isArrayBufferView=function(e){return e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array},j=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,A=new Uint8Array(t),r=0;r<t;r++)A[r]=e.charCodeAt(r);return A},x=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",A=_(e)?e:new Uint8Array(e),r=0;r<A.length;r+=8192)t+=String.fromCharCode.apply(null,A.subarray(r,r+8192));return t};e.addImage=function(){var e,t,n,s,i,o,a,c,u;if("number"==typeof arguments[1]?(t=A,n=arguments[1],s=arguments[2],i=arguments[3],o=arguments[4],a=arguments[5],c=arguments[6],u=arguments[7]):(t=arguments[1],n=arguments[2],s=arguments[3],i=arguments[4],o=arguments[5],a=arguments[6],c=arguments[7],u=arguments[8]),"object"===(0,r.default)(e=arguments[0])&&!d(e)&&"imageData"in e){var h=e;e=h.imageData,t=h.format||t||A,n=h.x||n||0,s=h.y||s||0,i=h.w||h.width||i,o=h.h||h.height||o,a=h.alias||a,c=h.compression||c,u=h.rotation||h.angle||u}var f=this.internal.getFilters();if(void 0===c&&-1!==f.indexOf("FlateEncode")&&(c="SLOW"),isNaN(n)||isNaN(s))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var p=F.call(this,e,t,a,c);return w.call(this,n,s,i,o,p,u),this};var F=function(t,r,n,i){var o,a,l;if("string"==typeof t&&s(t)===A){t=unescape(t);var c=Q(t,!1);(""!==c||void 0!==(c=e.loadFile(t,!0)))&&(t=c)}if(d(t)&&(t=f(t,r)),r=s(t,r),!h(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if((null==(l=n)||0===l.length)&&(n=function(e){return"string"==typeof e||_(e)?v(e):_(e.data)?v(e.data):null}(t)),(o=g.call(this,n))||(t instanceof Uint8Array||"RGBA"===r||(a=t,t=j(t)),o=this["process"+r.toUpperCase()](t,u.call(this),n,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:y.NONE}(i),a)),!o)throw new Error("An unknown error occurred whilst processing the image.");return o},Q=e.__addimage__.convertBase64ToBinaryString=function(e,t){t="boolean"!=typeof t||t;var A,r="";if("string"==typeof e){var n;A=null!==(n=C(e))&&void 0!==n?n:e;try{r=p(A)}catch(e){if(t)throw b(A)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return r};e.getImageProperties=function(t){var r,n,i="";if(d(t)&&(t=f(t)),"string"==typeof t&&s(t)===A&&(""===(i=Q(t,!1))&&(i=e.loadFile(t)||""),t=i),n=s(t),!h(n))throw new Error("addImage does not support files of type '"+n+"', please ensure that a plugin for '"+n+"' support is added.");if(t instanceof Uint8Array||(t=j(t)),!(r=this["process"+n.toUpperCase()](t)))throw new Error("An unknown error occurred whilst processing the image");return r.fileType=n,r}}(M.API),Fe=M.API,Qe=function(e){if(void 0!==e&&""!=e)return!0},M.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),Fe.events.push(["putPage",function(e){for(var t,A,r,n=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString,i=this.internal.getPageInfoByObjId(e.objId),o=e.pageContext.annotations,a=!1,l=0;l<o.length&&!a;l++)switch((t=o[l]).type){case"link":(Qe(t.options.url)||Qe(t.options.pageNumber))&&(a=!0);break;case"reference":case"text":case"freetext":a=!0}if(0!=a){this.internal.write("/Annots [");for(var c=0;c<o.length;c++){t=o[c];var u=this.internal.pdfEscape,h=this.internal.getEncryptor(e.objId);switch(t.type){case"reference":this.internal.write(" "+t.object.objId+" 0 R ");break;case"text":var d=this.internal.newAdditionalObject(),f=this.internal.newAdditionalObject(),p=this.internal.getEncryptor(d.objId),g=t.title||"Note";r="<</Type /Annot /Subtype /Text "+(A="/Rect ["+n(t.bounds.x)+" "+s(t.bounds.y+t.bounds.h)+" "+n(t.bounds.x+t.bounds.w)+" "+s(t.bounds.y)+"] ")+"/Contents ("+u(p(t.contents))+")",r+=" /Popup "+f.objId+" 0 R",r+=" /P "+i.objId+" 0 R",r+=" /T ("+u(p(g))+") >>",d.content=r;var m=d.objId+" 0 R";r="<</Type /Annot /Subtype /Popup "+(A="/Rect ["+n(t.bounds.x+30)+" "+s(t.bounds.y+t.bounds.h)+" "+n(t.bounds.x+t.bounds.w+30)+" "+s(t.bounds.y)+"] ")+" /Parent "+m,t.open&&(r+=" /Open true"),r+=" >>",f.content=r,this.internal.write(d.objId,"0 R",f.objId,"0 R");break;case"freetext":A="/Rect ["+n(t.bounds.x)+" "+s(t.bounds.y)+" "+n(t.bounds.x+t.bounds.w)+" "+s(t.bounds.y+t.bounds.h)+"] ";var w=t.color||"#000000";r="<</Type /Annot /Subtype /FreeText "+A+"/Contents ("+u(h(t.contents))+")",r+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+w+")",r+=" /Border [0 0 0]",r+=" >>",this.internal.write(r);break;case"link":if(t.options.name){var B=this.annotations._nameMap[t.options.name];t.options.pageNumber=B.page,t.options.top=B.y}else t.options.top||(t.options.top=0);if(A="/Rect ["+t.finalBounds.x+" "+t.finalBounds.y+" "+t.finalBounds.w+" "+t.finalBounds.h+"] ",r="",t.options.url)r="<</Type /Annot /Subtype /Link "+A+"/Border [0 0 0] /A <</S /URI /URI ("+u(h(t.options.url))+") >>";else if(t.options.pageNumber)switch(r="<</Type /Annot /Subtype /Link "+A+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(t.options.pageNumber).objId+" 0 R",t.options.magFactor=t.options.magFactor||"XYZ",t.options.magFactor){case"Fit":r+=" /Fit]";break;case"FitH":r+=" /FitH "+t.options.top+"]";break;case"FitV":t.options.left=t.options.left||0,r+=" /FitV "+t.options.left+"]";break;default:var y=s(t.options.top);t.options.left=t.options.left||0,void 0===t.options.zoom&&(t.options.zoom=0),r+=" /XYZ "+t.options.left+" "+y+" "+t.options.zoom+"]"}""!=r&&(r+=" >>",this.internal.write(r))}}this.internal.write("]")}}]),Fe.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},Fe.link=function(e,t,A,r,n){var s=this.internal.getCurrentPageInfo(),i=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString;s.pageContext.annotations.push({finalBounds:{x:i(e),y:o(t),w:i(e+A),h:o(t+r)},options:n,type:"link"})},Fe.textWithLink=function(e,t,A,r){var n,s,i=this.getTextWidth(e),o=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){s=r.maxWidth;var a=this.splitTextToSize(e,s).length;n=Math.ceil(o*a)}else s=i,n=o;return this.text(e,t,A,r),A+=.2*o,"center"===r.align&&(t-=i/2),"right"===r.align&&(t-=i),this.link(t,A-o,s,n,r),i},Fe.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},A={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];e.__arabicParser__={};var s=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},i=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},o=e.__arabicParser__.isArabicEndLetter=function(e){return i(e)&&s(e)&&t[e.charCodeAt(0)].length<=2},a=e.__arabicParser__.isArabicAlfLetter=function(e){return i(e)&&n.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return i(e)&&s(e)&&t[e.charCodeAt(0)].length>=1};var l=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return i(e)&&s(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return i(e)&&s(e)&&t[e.charCodeAt(0)].length>=3};var c=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return i(e)&&s(e)&&4==t[e.charCodeAt(0)].length},u=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=A,n="",s=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(s++,"number"==typeof(r=r[e.charCodeAt(t)])&&(n+=String.fromCharCode(r),r=A,s=0),t===e.length-1&&(r=A,n+=e.charAt(t-(s-1)),t-=s-1,s=0)):(r=A,n+=e.charAt(t-s),t-=s,s=0);return n};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]};var h=e.__arabicParser__.getCorrectForm=function(e,t,A){return i(e)?!1===s(e)?-1:!l(e)||!i(t)&&!i(A)||!i(A)&&o(t)||o(e)&&!i(t)||o(e)&&a(t)||o(e)&&o(t)?0:c(e)&&i(t)&&!o(t)&&i(A)&&l(A)?3:o(e)||!i(A)?1:2:-1},d=function(e){var A=0,r=0,n=0,s="",o="",a="",l=(e=e||"").split("\\s+"),c=[];for(A=0;A<l.length;A+=1){for(c.push(""),r=0;r<l[A].length;r+=1)s=l[A][r],o=l[A][r-1],a=l[A][r+1],i(s)?(n=h(s,o,a),c[A]+=-1!==n?String.fromCharCode(t[s.charCodeAt(0)][n]):s):c[A]+=s;c[A]=u(c[A])}return c.join(" ")},f=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,A=[];if(Array.isArray(t)){var r=0;for(A=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?A.push([d(t[r][0]),t[r][1],t[r][2]]):A.push([d(t[r])]);e=A}else e=d(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",f])}(M.API),M.API.autoPrint=function(e){var t;return(e=e||{}).variant=e.variant||"non-conform","javascript"===e.variant?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var A=300;Object.defineProperty(this,"height",{get:function(){return A},set:function(e){A=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=A+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var n={};Object.defineProperty(this,"style",{get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var A;if("2d"!==(e=e||"2d"))return null;for(A in t)this.pdf.context2d.hasOwnProperty(A)&&(this.pdf.context2d[A]=t[A]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(M.API),function(e){var t={left:0,top:0,bottom:0,right:0},A=!1,n=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),s.call(this))},s=function(){this.internal.__cell__.lastCell=new i,this.internal.__cell__.pages=1},i=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var A=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return A},set:function(e){A=e}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var n=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var s=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return s},set:function(e){s=e}});var i=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return i},set:function(e){i=e}}),this};i.prototype.clone=function(){return new i(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},i.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return n.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){n.call(this);var A=(t=t||{}).fontSize||this.getFontSize(),r=t.font||this.getFont(),s=t.scaleFactor||this.internal.scaleFactor,i=0,o=0,a=0,l=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var c=t.maxWidth;c>0?"string"==typeof e?e=this.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(l.splitTextToSize(t,c))},[])):e=Array.isArray(e)?e:[e];for(var u=0;u<e.length;u++)i<(a=this.getStringUnitWidth(e[u],{font:r})*A)&&(i=a);return 0!==i&&(o=e.length),{w:i/=s,h:Math.max((o*A*this.getLineHeightFactor()-A*(this.getLineHeightFactor()-1))/s,0)}},e.cellAddPage=function(){n.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new i(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var o=e.cell=function(){var e;e=arguments[0]instanceof i?arguments[0]:new i(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),n.call(this);var r=this.internal.__cell__.lastCell,s=this.internal.__cell__.padding,o=this.internal.__cell__.margins||t,a=this.internal.__cell__.tableHeaderRow,l=this.internal.__cell__.printHeaders;return void 0!==r.lineNumber&&(r.lineNumber===e.lineNumber?(e.x=(r.x||0)+(r.width||0),e.y=r.y||0):r.y+r.height+e.height+o.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=o.top,l&&a&&(this.printHeaderRow(e.lineNumber,!0),e.y+=a[0].height)):e.y=r.y+r.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===A?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-s,e.y+s,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+s,{align:"center",baseline:"top",maxWidth:e.width-s-s}):this.text(e.text,e.x+s,e.y+s,{align:"left",baseline:"top",maxWidth:e.width-s-s})),this.internal.__cell__.lastCell=e,this};e.table=function(e,A,l,c,u){if(n.call(this),!l)throw new Error("No data for PDF table.");var h,d,f,p,g=[],m=[],w=[],B={},y={},v=[],b=[],C=(u=u||{}).autoSize||!1,_=!1!==u.printHeaders,j=u.css&&void 0!==u.css["font-size"]?16*u.css["font-size"]:u.fontSize||12,x=u.margins||Object.assign({width:this.getPageWidth()},t),F="number"==typeof u.padding?u.padding:3,Q=u.headerBackgroundColor||"#c8c8c8",U=u.headerTextColor||"#000";if(s.call(this),this.internal.__cell__.printHeaders=_,this.internal.__cell__.margins=x,this.internal.__cell__.table_font_size=j,this.internal.__cell__.padding=F,this.internal.__cell__.headerBackgroundColor=Q,this.internal.__cell__.headerTextColor=U,this.setFontSize(j),null==c)m=g=Object.keys(l[0]),w=g.map(function(){return"left"});else if(Array.isArray(c)&&"object"===(0,r.default)(c[0]))for(g=c.map(function(e){return e.name}),m=c.map(function(e){return e.prompt||e.name||""}),w=c.map(function(e){return e.align||"left"}),h=0;h<c.length;h+=1)y[c[h].name]=.7499990551181103*c[h].width;else Array.isArray(c)&&"string"==typeof c[0]&&(m=g=c,w=g.map(function(){return"left"}));if(C||Array.isArray(c)&&"string"==typeof c[0])for(h=0;h<g.length;h+=1){for(B[p=g[h]]=l.map(function(e){return e[p]}),this.setFont(void 0,"bold"),v.push(this.getTextDimensions(m[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),d=B[p],this.setFont(void 0,"normal"),f=0;f<d.length;f+=1)v.push(this.getTextDimensions(d[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);y[p]=Math.max.apply(null,v)+F+F,v=[]}if(_){var E={};for(h=0;h<g.length;h+=1)E[g[h]]={},E[g[h]].text=m[h],E[g[h]].align=w[h];var S=a.call(this,E,y);b=g.map(function(t){return new i(e,A,y[t],S,E[t].text,void 0,E[t].align)}),this.setTableHeaderRow(b),this.printHeaderRow(1,!1)}var L=c.reduce(function(e,t){return e[t.name]=t.align,e},{});for(h=0;h<l.length;h+=1){"rowStart"in u&&u.rowStart instanceof Function&&u.rowStart({row:h,data:l[h]},this);var I=a.call(this,l[h],y);for(f=0;f<g.length;f+=1){var N=l[h][g[f]];"cellStart"in u&&u.cellStart instanceof Function&&u.cellStart({row:h,col:f,data:N},this),o.call(this,new i(e,A,y[g[f]],I,N,h+2,L[g[f]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=A,this};var a=function(e,t){var A=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,n=this.internal.scaleFactor;return Object.keys(e).map(function(r){var n=e[r];return this.splitTextToSize(n.hasOwnProperty("text")?n.text:n,t[r]-A-A)},this).map(function(e){return this.getLineHeightFactor()*e.length*r/n+A+A},this).reduce(function(e,t){return Math.max(e,t)},0)};e.setTableHeaderRow=function(e){n.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var r;if(A=!0,"function"==typeof this.internal.__cell__.headerFunction){var s=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new i(s[0],s[1],s[2],s[3],void 0,-1)}this.setFont(void 0,"bold");for(var a=[],l=0;l<this.internal.__cell__.tableHeaderRow.length;l+=1){r=this.internal.__cell__.tableHeaderRow[l].clone(),t&&(r.y=this.internal.__cell__.margins.top||0,a.push(r)),r.lineNumber=e;var c=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),o.call(this,r),this.setTextColor(c)}a.length>0&&this.setTableHeaderRow(a),this.setFont(void 0,"normal"),A=!1}}(M.API);var Se={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Le=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ie=Ee(Le),Ne=[100,200,300,400,500,600,700,800,900],ke=Ee(Ne);function He(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),A=function(e){return Se[e=e||"normal"]?e:"normal"}(e.style),r=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),n=function(e){return"number"==typeof Ie[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:A,weight:r,stretch:n,src:e.src||[],ref:e.ref||{name:t,style:[n,A,r].join(" ")}}}function Pe(e,t,A,r){var n;for(n=A;n>=0&&n<t.length;n+=r)if(e[t[n]])return e[t[n]];for(n=A;n>=0&&n<t.length;n-=r)if(e[t[n]])return e[t[n]]}var Te={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Oe={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Me(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function De(e){return e.trimLeft()}function Re(e,t){for(var A=0;A<e.length;){if(e.charAt(A)===t)return[e.substring(0,A),e.substring(A+1)];A+=1}return null}function Ke(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var Ve,Ge,ze,qe,We,Xe,Ye,Je,Ze=["times"];function $e(e,t,A,r,s){var i=4,o=At;switch(s){case M.API.image_compression.FAST:i=1,o=tt;break;case M.API.image_compression.MEDIUM:i=6,o=rt;break;case M.API.image_compression.SLOW:i=9,o=nt}e=function(e,t,A,r){for(var n,s=e.length/t,i=new Uint8Array(e.length+s),o=[et,tt,At,rt,nt],a=0;a<s;a+=1){var l=a*t,c=e.subarray(l,l+t);if(r)i.set(r(c,A,n),l+a);else{for(var u=o.length,h=[],d=0;d<u;d+=1)h[d]=o[d](c,A,n);var f=it(h.concat());i.set(h[f],l+a)}n=c}return i}(e,t,Math.ceil(A*r/8),o);var a=(0,n.zlibSync)(e,{level:i});return M.API.__addimage__.arrayBufferToBinaryString(a)}function et(e){var t=Array.apply([],e);return t.unshift(0),t}function tt(e,t){var A=e.length,r=[];r[0]=1;for(var n=0;n<A;n+=1){var s=e[n-t]||0;r[n+1]=e[n]-s+256&255}return r}function At(e,t,A){var r=e.length,n=[];n[0]=2;for(var s=0;s<r;s+=1){var i=A&&A[s]||0;n[s+1]=e[s]-i+256&255}return n}function rt(e,t,A){var r=e.length,n=[];n[0]=3;for(var s=0;s<r;s+=1){var i=e[s-t]||0,o=A&&A[s]||0;n[s+1]=e[s]+256-(i+o>>>1)&255}return n}function nt(e,t,A){var r=e.length,n=[];n[0]=4;for(var s=0;s<r;s+=1){var i=st(e[s-t]||0,A&&A[s]||0,A&&A[s-t]||0);n[s+1]=e[s]-i+256&255}return n}function st(e,t,A){if(e===t&&t===A)return e;var r=Math.abs(t-A),n=Math.abs(e-A),s=Math.abs(e+t-A-A);return r<=n&&r<=s?e:n<=s?t:A}function it(e){var t=e.map(function(e){return e.reduce(function(e,t){return e+Math.abs(t)},0)});return t.indexOf(Math.min.apply(null,t))}function ot(e,t,A){var r=t*A,n=Math.floor(r/8),s=16-(r-8*n+A),i=(1<<A)-1;return lt(e,n)>>s&i}function at(e,t,A,r){var n=A*r,s=Math.floor(n/8),i=16-(n-8*s+r),o=(1<<r)-1,a=(t&o)<<i;!function(e,t,A){if(t+1<e.byteLength)e.setUint16(t,A,!1);else{var r=A>>8&255;e.setUint8(t,r)}}(e,s,lt(e,s)&~(o<<i)&65535|a)}function lt(e,t){return t+1<e.byteLength?e.getUint16(t,!1):e.getUint8(t)<<8}function ct(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var A=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,n=e[t++],s=n>>7,i=1<<1+(7&n);e[t++],e[t++];var o=null,a=null;s&&(o=t,a=i,t+=3*i);var l=!0,c=[],u=0,h=null,d=0,f=null;for(this.width=A,this.height=r;l&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,f=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((F=e[t++])>=0))throw Error("Invalid block size");if(0===F)break;t+=F}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var p=e[t++];u=e[t++]|e[t++]<<8,h=e[t++],1&p||(h=null),d=p>>2&7,t++;break;case 254:for(;;){if(!((F=e[t++])>=0))throw Error("Invalid block size");if(0===F)break;t+=F}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var g=e[t++]|e[t++]<<8,m=e[t++]|e[t++]<<8,w=e[t++]|e[t++]<<8,B=e[t++]|e[t++]<<8,y=e[t++],v=y>>6&1,b=1<<1+(7&y),C=o,_=a,j=!1;y>>7&&(j=!0,C=t,_=b,t+=3*b);var x=t;for(t++;;){var F;if(!((F=e[t++])>=0))throw Error("Invalid block size");if(0===F)break;t+=F}c.push({x:g,y:m,width:w,height:B,has_local_palette:j,palette_offset:C,palette_size:_,data_offset:x,data_length:t-x,transparent_index:h,interlaced:!!v,delay:u,disposal:d});break;case 59:l=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return f},this.frameInfo=function(e){if(e<0||e>=c.length)throw new Error("Frame index out of range.");return c[e]},this.decodeAndBlitFrameBGRA=function(t,r){var n=this.frameInfo(t),s=n.width*n.height,i=new Uint8Array(s);ut(e,n.data_offset,i,s);var o=n.palette_offset,a=n.transparent_index;null===a&&(a=256);var l=n.width,c=A-l,u=l,h=4*(n.y*A+n.x),d=4*((n.y+n.height)*A+n.x),f=h,p=4*c;!0===n.interlaced&&(p+=4*A*7);for(var g=8,m=0,w=i.length;m<w;++m){var B=i[m];if(0===u&&(u=l,(f+=p)>=d&&(p=4*c+4*A*(g-1),f=h+(l+c)*(g<<1),g>>=1)),B===a)f+=4;else{var y=e[o+3*B],v=e[o+3*B+1],b=e[o+3*B+2];r[f++]=b,r[f++]=v,r[f++]=y,r[f++]=255}--u}},this.decodeAndBlitFrameRGBA=function(t,r){var n=this.frameInfo(t),s=n.width*n.height,i=new Uint8Array(s);ut(e,n.data_offset,i,s);var o=n.palette_offset,a=n.transparent_index;null===a&&(a=256);var l=n.width,c=A-l,u=l,h=4*(n.y*A+n.x),d=4*((n.y+n.height)*A+n.x),f=h,p=4*c;!0===n.interlaced&&(p+=4*A*7);for(var g=8,m=0,w=i.length;m<w;++m){var B=i[m];if(0===u&&(u=l,(f+=p)>=d&&(p=4*c+4*A*(g-1),f=h+(l+c)*(g<<1),g>>=1)),B===a)f+=4;else{var y=e[o+3*B],v=e[o+3*B+1],b=e[o+3*B+2];r[f++]=y,r[f++]=v,r[f++]=b,r[f++]=255}--u}}}function ut(e,t,A,r){for(var n=e[t++],s=1<<n,i=s+1,o=i+1,a=n+1,c=(1<<a)-1,u=0,h=0,d=0,f=e[t++],p=new Int32Array(4096),g=null;;){for(;u<16&&0!==f;)h|=e[t++]<<u,u+=8,1===f?f=e[t++]:--f;if(u<a)break;var m=h&c;if(h>>=a,u-=a,m!==s){if(m===i)break;for(var w=m<o?m:g,B=0,y=w;y>s;)y=p[y]>>8,++B;var v=y;if(d+B+(w!==m?1:0)>r)return void l.log("Warning, gif stream longer than expected.");A[d++]=v;var b=d+=B;for(w!==m&&(A[d++]=v),y=w;B--;)y=p[y],A[--b]=255&y,y>>=8;null!==g&&o<4096&&(p[o++]=g<<8|v,o>=c+1&&a<12&&(++a,c=c<<1|1)),g=m}else o=i+1,c=(1<<(a=n+1))-1,g=null}return d!==r&&l.log("Warning, gif stream shorter than expected."),A}function ht(e){var t,A,r,n,s,i=Math.floor,o=new Array(64),a=new Array(64),l=new Array(64),c=new Array(64),u=new Array(65535),h=new Array(65535),d=new Array(64),f=new Array(64),p=[],g=0,m=7,w=new Array(64),B=new Array(64),y=new Array(64),v=new Array(256),b=new Array(2048),C=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],_=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],j=[0,1,2,3,4,5,6,7,8,9,10,11],x=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],F=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Q=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],U=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],S=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function L(e,t){for(var A=0,r=0,n=new Array,s=1;s<=16;s++){for(var i=1;i<=e[s];i++)n[t[r]]=[],n[t[r]][0]=A,n[t[r]][1]=s,r++,A++;A*=2}return n}function I(e){for(var t=e[0],A=e[1]-1;A>=0;)t&1<<A&&(g|=1<<m),A--,--m<0&&(255==g?(N(255),N(0)):N(g),m=7,g=0)}function N(e){p.push(e)}function k(e){N(e>>8&255),N(255&e)}function H(e,t,A,r,n){for(var s,i=n[0],o=n[240],a=function(e,t){var A,r,n,s,i,o,a,l,c,u,h=0;for(c=0;c<8;++c){A=e[h],r=e[h+1],n=e[h+2],s=e[h+3],i=e[h+4],o=e[h+5],a=e[h+6];var f=A+(l=e[h+7]),p=A-l,g=r+a,m=r-a,w=n+o,B=n-o,y=s+i,v=s-i,b=f+y,C=f-y,_=g+w,j=g-w;e[h]=b+_,e[h+4]=b-_;var x=.707106781*(j+C);e[h+2]=C+x,e[h+6]=C-x;var F=.382683433*((b=v+B)-(j=m+p)),Q=.5411961*b+F,U=1.306562965*j+F,E=.707106781*(_=B+m),S=p+E,L=p-E;e[h+5]=L+Q,e[h+3]=L-Q,e[h+1]=S+U,e[h+7]=S-U,h+=8}for(h=0,c=0;c<8;++c){A=e[h],r=e[h+8],n=e[h+16],s=e[h+24],i=e[h+32],o=e[h+40],a=e[h+48];var I=A+(l=e[h+56]),N=A-l,k=r+a,H=r-a,P=n+o,T=n-o,O=s+i,M=s-i,D=I+O,R=I-O,K=k+P,V=k-P;e[h]=D+K,e[h+32]=D-K;var G=.707106781*(V+R);e[h+16]=R+G,e[h+48]=R-G;var z=.382683433*((D=M+T)-(V=H+N)),q=.5411961*D+z,W=1.306562965*V+z,X=.707106781*(K=T+H),Y=N+X,J=N-X;e[h+40]=J+q,e[h+24]=J-q,e[h+8]=Y+W,e[h+56]=Y-W,h++}for(c=0;c<64;++c)u=e[c]*t[c],d[c]=u>0?u+.5|0:u-.5|0;return d}(e,t),l=0;l<64;++l)f[C[l]]=a[l];var c=f[0]-A;A=f[0],0==c?I(r[0]):(I(r[h[s=32767+c]]),I(u[s]));for(var p=63;p>0&&0==f[p];)p--;if(0==p)return I(i),A;for(var g,m=1;m<=p;){for(var w=m;0==f[m]&&m<=p;)++m;var B=m-w;if(B>=16){g=B>>4;for(var y=1;y<=g;++y)I(o);B&=15}s=32767+f[m],I(n[(B<<4)+h[s]]),I(u[s]),m++}return 63!=p&&I(i),A}function P(e){e=Math.min(Math.max(e,1),100),s!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],A=0;A<64;A++){var r=i((t[A]*e+50)/100);r=Math.min(Math.max(r,1),255),o[C[A]]=r}for(var n=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],s=0;s<64;s++){var u=i((n[s]*e+50)/100);u=Math.min(Math.max(u,1),255),a[C[s]]=u}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,f=0;f<8;f++)for(var p=0;p<8;p++)l[d]=1/(o[C[d]]*h[f]*h[p]*8),c[d]=1/(a[C[d]]*h[f]*h[p]*8),d++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),s=e)}this.encode=function(e,s){s&&P(s),p=new Array,g=0,m=7,k(65496),k(65504),k(16),N(74),N(70),N(73),N(70),N(0),N(1),N(1),N(0),k(1),k(1),N(0),N(0),function(){k(65499),k(132),N(0);for(var e=0;e<64;e++)N(o[e]);N(1);for(var t=0;t<64;t++)N(a[t])}(),function(e,t){k(65472),k(17),N(8),k(t),k(e),N(3),N(1),N(17),N(0),N(2),N(17),N(1),N(3),N(17),N(1)}(e.width,e.height),function(){k(65476),k(418),N(0);for(var e=0;e<16;e++)N(_[e+1]);for(var t=0;t<=11;t++)N(j[t]);N(16);for(var A=0;A<16;A++)N(x[A+1]);for(var r=0;r<=161;r++)N(F[r]);N(1);for(var n=0;n<16;n++)N(Q[n+1]);for(var s=0;s<=11;s++)N(U[s]);N(17);for(var i=0;i<16;i++)N(E[i+1]);for(var o=0;o<=161;o++)N(S[o])}(),k(65498),k(12),N(3),N(1),N(0),N(2),N(17),N(3),N(17),N(0),N(63),N(0);var i=0,u=0,h=0;g=0,m=7,this.encode.displayName="_encode_";for(var d,f,v,C,L,T,O,M,D,R=e.data,K=e.width,V=e.height,G=4*K,z=0;z<V;){for(d=0;d<G;){for(L=G*z+d,O=-1,M=0,D=0;D<64;D++)T=L+(M=D>>3)*G+(O=4*(7&D)),z+M>=V&&(T-=G*(z+1+M-V)),d+O>=G&&(T-=d+O-G+4),f=R[T++],v=R[T++],C=R[T++],w[D]=(b[f]+b[v+256|0]+b[C+512|0]>>16)-128,B[D]=(b[f+768|0]+b[v+1024|0]+b[C+1280|0]>>16)-128,y[D]=(b[f+1280|0]+b[v+1536|0]+b[C+1792|0]>>16)-128;i=H(w,l,i,t,r),u=H(B,c,u,A,n),h=H(y,c,h,A,n),d+=32}z+=8}if(m>=0){var q=[];q[1]=m+1,q[0]=(1<<m+1)-1,I(q)}return k(65497),new Uint8Array(p)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)v[t]=e(t)}(),t=L(_,j),A=L(Q,U),r=L(x,F),n=L(E,S),function(){for(var e=1,t=2,A=1;A<=15;A++){for(var r=e;r<t;r++)h[32767+r]=A,u[32767+r]=[],u[32767+r][1]=A,u[32767+r][0]=r;for(var n=-(t-1);n<=-e;n++)h[32767+n]=A,u[32767+n]=[],u[32767+n][1]=A,u[32767+n][0]=t-1+n;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)b[e]=19595*e,b[e+256|0]=38470*e,b[e+512|0]=7471*e+32768,b[e+768|0]=-11059*e,b[e+1024|0]=-21709*e,b[e+1280|0]=32768*e+8421375,b[e+1536|0]=-27439*e,b[e+1792|0]=-5329*e}(),P(e)}function dt(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function ft(e){function t(e){if(!e)throw Error("assert :P")}function A(e,t,A){for(var r=0;4>r;r++)if(e[t+r]!=A.charCodeAt(r))return!0;return!1}function r(e,t,A,r,n){for(var s=0;s<n;s++)e[t+s]=A[r+s]}function n(e,t,A,r){for(var n=0;n<r;n++)e[t+n]=A}function s(e){return new Int32Array(e)}function i(e,t){for(var A=[],r=0;r<e;r++)A.push(new t);return A}function o(e,t){var A=[];return function e(A,r,n){for(var s=n[r],i=0;i<s&&(A.push(n.length>r+1?[]:new t),!(n.length<r+1));i++)e(A[i],r+1,n)}(A,0,e),A}var a=function(){var e=this;function a(e,t){for(var A=1<<t-1>>>0;e&A;)A>>>=1;return A?(e&A-1)+A:e}function l(e,A,r,n,s){t(!(n%r));do{e[A+(n-=r)]=s}while(0<n)}function c(e,A,r,n,i){if(t(2328>=i),512>=i)var o=s(512);else if(null==(o=s(i)))return 0;return function(e,A,r,n,i,o){var c,h,d=A,f=1<<r,p=s(16),g=s(16);for(t(0!=i),t(null!=n),t(null!=e),t(0<r),h=0;h<i;++h){if(15<n[h])return 0;++p[n[h]]}if(p[0]==i)return 0;for(g[1]=0,c=1;15>c;++c){if(p[c]>1<<c)return 0;g[c+1]=g[c]+p[c]}for(h=0;h<i;++h)c=n[h],0<n[h]&&(o[g[c]++]=h);if(1==g[15])return(n=new u).g=0,n.value=o[0],l(e,d,1,f,n),f;var m,w=-1,B=f-1,y=0,v=1,b=1,C=1<<r;for(h=0,c=1,i=2;c<=r;++c,i<<=1){if(v+=b<<=1,0>(b-=p[c]))return 0;for(;0<p[c];--p[c])(n=new u).g=c,n.value=o[h++],l(e,d+y,i,C,n),y=a(y,c)}for(c=r+1,i=2;15>=c;++c,i<<=1){if(v+=b<<=1,0>(b-=p[c]))return 0;for(;0<p[c];--p[c]){if(n=new u,(y&B)!=w){for(d+=C,m=1<<(w=c)-r;15>w&&!(0>=(m-=p[w]));)++w,m<<=1;f+=C=1<<(m=w-r),e[A+(w=y&B)].g=m+r,e[A+w].value=d-A-w}n.g=c-r,n.value=o[h++],l(e,d+(y>>r),i,C,n),y=a(y,c)}}return v!=2*g[15]-1?0:f}(e,A,r,n,i,o)}function u(){this.value=this.g=0}function h(){this.value=this.g=0}function d(){this.G=i(5,u),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=i(PA,h)}function f(e,A,r,n){t(null!=e),t(null!=A),t(2147483648>n),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=A,e.pa=r,e.Jd=A,e.Yc=r+n,e.Zc=4<=n?r+n-4+1:r,x(e)}function p(e,t){for(var A=0;0<t--;)A|=Q(e,128)<<t;return A}function g(e,t){var A=p(e,t);return F(e)?-A:A}function m(e,A,r,n){var s,i=0;for(t(null!=e),t(null!=A),t(4294967288>n),e.Sb=n,e.Ra=0,e.u=0,e.h=0,4<n&&(n=4),s=0;s<n;++s)i+=A[r+s]<<8*s;e.Ra=i,e.bb=n,e.oa=A,e.pa=r}function w(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<MA-8>>>0,++e.bb,e.u-=8;C(e)&&(e.h=1,e.u=0)}function B(e,A){if(t(0<=A),!e.h&&A<=OA){var r=b(e)&TA[A];return e.u+=A,w(e),r}return e.h=1,e.u=0}function y(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function v(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function b(e){return e.Ra>>>(e.u&MA-1)>>>0}function C(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>MA}function _(e,t){e.u=t,e.h=C(e)}function j(e){e.u>=DA&&(t(e.u>=DA),w(e))}function x(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function F(e){return p(e,1)}function Q(e,t){var A=e.Ca;0>e.b&&x(e);var r=e.b,n=A*t>>>8,s=(e.I>>>r>n)+0;for(s?(A-=n,e.I-=n+1<<r>>>0):A=n+1,r=A,n=0;256<=r;)n+=8,r>>=8;return r=7^n+RA[r],e.b-=r,e.Ca=(A<<r)-1,s}function U(e,t,A){e[t+0]=A>>24&255,e[t+1]=A>>16&255,e[t+2]=A>>8&255,e[t+3]=255&A}function E(e,t){return e[t+0]|e[t+1]<<8}function S(e,t){return E(e,t)|e[t+2]<<16}function L(e,t){return E(e,t)|E(e,t+2)<<16}function I(e,A){var r=1<<A;return t(null!=e),t(0<A),e.X=s(r),null==e.X?0:(e.Mb=32-A,e.Xa=A,1)}function N(e,A){t(null!=e),t(null!=A),t(e.Xa==A.Xa),r(A.X,0,e.X,0,1<<A.Xa)}function k(){this.X=[],this.Xa=this.Mb=0}function H(e,A,r,n){t(null!=r),t(null!=n);var s=r[0],i=n[0];return 0==s&&(s=(e*i+A/2)/A),0==i&&(i=(A*s+e/2)/e),0>=s||0>=i?0:(r[0]=s,n[0]=i,1)}function P(e,t){return e+(1<<t)-1>>>t}function T(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function O(t,A){e[A]=function(A,r,n,s,i,o,a){var l;for(l=0;l<i;++l){var c=e[t](o[a+l-1],n,s+l);o[a+l]=T(A[r+l],c)}}}function M(){this.ud=this.hd=this.jd=0}function D(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function R(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function K(e,t){return R(e+(e-t+.5>>1))}function V(e,t,A){return Math.abs(t-A)-Math.abs(e-A)}function G(e,t,A,r,n,s,i){for(r=s[i-1],A=0;A<n;++A)s[i+A]=r=T(e[t+A],r)}function z(e,t,A,r,n){var s;for(s=0;s<A;++s){var i=e[t+s],o=i>>8&255,a=16711935&(a=(a=16711935&i)+((o<<16)+o));r[n+s]=(4278255360&i)+a>>>0}}function q(e,t){t.jd=255&e,t.hd=e>>8&255,t.ud=e>>16&255}function W(e,t,A,r,n,s){var i;for(i=0;i<r;++i){var o=t[A+i],a=o>>>8,l=o,c=255&(c=(c=o>>>16)+((e.jd<<24>>24)*(a<<24>>24)>>>5));l=255&(l=(l+=(e.hd<<24>>24)*(a<<24>>24)>>>5)+((e.ud<<24>>24)*(c<<24>>24)>>>5)),n[s+i]=(4278255360&o)+(c<<16)+l}}function X(t,A,r,n,s){e[A]=function(e,t,A,r,i,o,a,l,c){for(r=a;r<l;++r)for(a=0;a<c;++a)i[o++]=s(A[n(e[t++])])},e[t]=function(t,A,i,o,a,l,c){var u=8>>t.b,h=t.Ea,d=t.K[0],f=t.w;if(8>u)for(t=(1<<t.b)-1,f=(1<<u)-1;A<i;++A){var p,g=0;for(p=0;p<h;++p)p&t||(g=n(o[a++])),l[c++]=s(d[g&f]),g>>=u}else e["VP8LMapColor"+r](o,a,d,f,l,c,A,i,h)}}function Y(e,t,A,r,n){for(A=t+A;t<A;){var s=e[t++];r[n++]=s>>16&255,r[n++]=s>>8&255,r[n++]=255&s}}function J(e,t,A,r,n){for(A=t+A;t<A;){var s=e[t++];r[n++]=s>>16&255,r[n++]=s>>8&255,r[n++]=255&s,r[n++]=s>>24&255}}function Z(e,t,A,r,n){for(A=t+A;t<A;){var s=(i=e[t++])>>16&240|i>>12&15,i=240&i|i>>28&15;r[n++]=s,r[n++]=i}}function $(e,t,A,r,n){for(A=t+A;t<A;){var s=(i=e[t++])>>16&248|i>>13&7,i=i>>5&224|i>>3&31;r[n++]=s,r[n++]=i}}function ee(e,t,A,r,n){for(A=t+A;t<A;){var s=e[t++];r[n++]=255&s,r[n++]=s>>8&255,r[n++]=s>>16&255}}function te(e,t,A,n,s,i){if(0==i)for(A=t+A;t<A;)U(n,((i=e[t++])[0]>>24|i[1]>>8&65280|i[2]<<8&16711680|i[3]<<24)>>>0),s+=32;else r(n,s,e,t,A)}function Ae(t,A){e[A][0]=e[t+"0"],e[A][1]=e[t+"1"],e[A][2]=e[t+"2"],e[A][3]=e[t+"3"],e[A][4]=e[t+"4"],e[A][5]=e[t+"5"],e[A][6]=e[t+"6"],e[A][7]=e[t+"7"],e[A][8]=e[t+"8"],e[A][9]=e[t+"9"],e[A][10]=e[t+"10"],e[A][11]=e[t+"11"],e[A][12]=e[t+"12"],e[A][13]=e[t+"13"],e[A][14]=e[t+"0"],e[A][15]=e[t+"0"]}function re(e){return e==Dr||e==Rr||e==Kr||e==Vr}function ne(){this.eb=[],this.size=this.A=this.fb=0}function se(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ie(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ne,this.f.kb=new se,this.sd=null}function oe(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ae(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function le(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ce(e,t){var A=e.T,n=t.ba.f.RGBA,s=n.eb,i=n.fb+e.ka*n.A,o=gn[t.ba.S],a=e.y,l=e.O,c=e.f,u=e.N,h=e.ea,d=e.W,f=t.cc,p=t.dc,g=t.Mc,m=t.Nc,w=e.ka,B=e.ka+e.T,y=e.U,v=y+1>>1;for(0==w?o(a,l,null,null,c,u,h,d,c,u,h,d,s,i,null,null,y):(o(t.ec,t.fc,a,l,f,p,g,m,c,u,h,d,s,i-n.A,s,i,y),++A);w+2<B;w+=2)f=c,p=u,g=h,m=d,u+=e.Rc,d+=e.Rc,i+=2*n.A,o(a,(l+=2*e.fa)-e.fa,a,l,f,p,g,m,c,u,h,d,s,i-n.A,s,i,y);return l+=e.fa,e.j+B<e.o?(r(t.ec,t.fc,a,l,y),r(t.cc,t.dc,c,u,v),r(t.Mc,t.Nc,h,d,v),A--):1&B||o(a,l,null,null,c,u,h,d,c,u,h,d,s,i+n.A,null,null,y),A}function ue(e,A,r){var n=e.F,s=[e.J];if(null!=n){var i=e.U,o=A.ba.S,a=o==Tr||o==Kr;A=A.ba.f.RGBA;var l=[0],c=e.ka;l[0]=e.T,e.Kb&&(0==c?--l[0]:(--c,s[0]-=e.width),e.j+e.ka+e.T==e.o&&(l[0]=e.o-e.j-c));var u=A.eb;c=A.fb+c*A.A,e=Cr(n,s[0],e.width,i,l,u,c+(a?0:3),A.A),t(r==l),e&&re(o)&&vr(u,c,a,i,l,A.A)}return 0}function he(e){var t=e.ma,A=t.ba.S,r=11>A,n=A==kr||A==Pr||A==Tr||A==Or||12==A||re(A);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!NA(t.Oa,e,n?11:12))return 0;if(n&&re(A)&&mA(),e.da)alert("todo:use_scaling");else{if(r){if(t.Ib=le,e.Kb){if(A=e.U+1>>1,t.memory=s(e.U+2*A),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+A,t.Ib=ce,mA()}}else alert("todo:EmitYUV");n&&(t.Jb=ue,r&&pA())}if(r&&!En){for(e=0;256>e;++e)Sn[e]=89858*(e-128)+jn>>_n,Nn[e]=-22014*(e-128)+jn,In[e]=-45773*(e-128),Ln[e]=113618*(e-128)+jn>>_n;for(e=xn;e<Fn;++e)t=76283*(e-16)+jn>>_n,kn[e-xn]=Ge(t,255),Hn[e-xn]=Ge(t+8>>4,15);En=1}return 1}function de(e){var A=e.ma,r=e.U,n=e.T;return t(!(1&e.ka)),0>=r||0>=n?0:(r=A.Ib(e,A),null!=A.Jb&&A.Jb(e,A,r),A.Dc+=r,1)}function fe(e){e.ma.memory=null}function pe(e,t,A,r){return 47!=B(e,8)?0:(t[0]=B(e,14)+1,A[0]=B(e,14)+1,r[0]=B(e,1),0!=B(e,3)?0:!e.h)}function ge(e,t){if(4>e)return e+1;var A=e-2>>1;return(2+(1&e)<<A)+B(t,A)+1}function me(e,t){return 120<t?t-120:1<=(A=((A=Yr[t-1])>>4)*e+(8-(15&A)))?A:1;var A}function we(e,t,A){var r=b(A),n=e[t+=255&r].g-8;return 0<n&&(_(A,A.u+8),r=b(A),t+=e[t].value,t+=r&(1<<n)-1),_(A,A.u+e[t].g),e[t].value}function Be(e,A,r){return r.g+=e.g,r.value+=e.value<<A>>>0,t(8>=r.g),e.g}function ye(e,A,r){var n=e.xc;return t((A=0==n?0:e.vc[e.md*(r>>n)+(A>>n)])<e.Wb),e.Ya[A]}function ve(e,A,n,s){var i=e.ab,o=e.c*A,a=e.C;A=a+A;var l=n,c=s;for(s=e.Ta,n=e.Ua;0<i--;){var u=e.gc[i],h=a,d=A,f=l,p=c,g=(c=s,l=n,u.Ea);switch(t(h<d),t(d<=u.nc),u.hc){case 2:GA(f,p,(d-h)*g,c,l);break;case 0:var m=h,w=d,B=c,y=l,v=(x=u).Ea;0==m&&(KA(f,p,null,null,1,B,y),G(f,p+1,0,0,v-1,B,y+1),p+=v,y+=v,++m);for(var b=1<<x.b,C=b-1,_=P(v,x.b),j=x.K,x=x.w+(m>>x.b)*_;m<w;){var F=j,Q=x,U=1;for(VA(f,p,B,y-v,1,B,y);U<v;){var E=(U&~C)+b;E>v&&(E=v),(0,YA[F[Q++]>>8&15])(f,p+ +U,B,y+U-v,E-U,B,y+U),U=E}p+=v,y+=v,++m&C||(x+=_)}d!=u.nc&&r(c,l-g,c,l+(d-h-1)*g,g);break;case 1:for(g=f,w=p,v=(f=u.Ea)-(y=f&~(B=(p=1<<u.b)-1)),m=P(f,u.b),b=u.K,u=u.w+(h>>u.b)*m;h<d;){for(C=b,_=u,j=new M,x=w+y,F=w+f;w<x;)q(C[_++],j),JA(j,g,w,p,c,l),w+=p,l+=p;w<F&&(q(C[_++],j),JA(j,g,w,v,c,l),w+=v,l+=v),++h&B||(u+=m)}break;case 3:if(f==c&&p==l&&0<u.b){for(w=c,f=g=l+(d-h)*g-(y=(d-h)*P(u.Ea,u.b)),p=c,B=l,m=[],y=(v=y)-1;0<=y;--y)m[y]=p[B+y];for(y=v-1;0<=y;--y)w[f+y]=m[y];zA(u,h,d,c,g,c,l)}else zA(u,h,d,f,p,c,l)}l=s,c=n}c!=n&&r(s,n,l,c,o)}function be(e,A){var r=e.V,n=e.Ba+e.c*e.C,s=A-e.C;if(t(A<=e.l.o),t(16>=s),0<s){var i=e.l,o=e.Ta,a=e.Ua,l=i.width;if(ve(e,s,r,n),s=a=[a],t((r=e.C)<(n=A)),t(i.v<i.va),n>i.o&&(n=i.o),r<i.j){var c=i.j-r;r=i.j,s[0]+=c*l}if(r>=n?r=0:(s[0]+=4*i.v,i.ka=r-i.j,i.U=i.va-i.v,i.T=n-r,r=1),r){if(a=a[0],11>(r=e.ca).S){var u=r.f.RGBA,h=(n=r.S,s=i.U,i=i.T,c=u.eb,u.A),d=i;for(u=u.fb+e.Ma*u.A;0<d--;){var f=o,p=a,g=s,m=c,w=u;switch(n){case Nr:ZA(f,p,g,m,w);break;case kr:$A(f,p,g,m,w);break;case Dr:$A(f,p,g,m,w),vr(m,w,0,g,1,0);break;case Hr:Ar(f,p,g,m,w);break;case Pr:te(f,p,g,m,w,1);break;case Rr:te(f,p,g,m,w,1),vr(m,w,0,g,1,0);break;case Tr:te(f,p,g,m,w,0);break;case Kr:te(f,p,g,m,w,0),vr(m,w,1,g,1,0);break;case Or:er(f,p,g,m,w);break;case Vr:er(f,p,g,m,w),br(m,w,g,1,0);break;case Mr:tr(f,p,g,m,w);break;default:t(0)}a+=l,u+=h}e.Ma+=i}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=r.height)}}e.C=A,t(e.C<=e.i)}function Ce(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var A=e.Ya[t].G,r=e.Ya[t].H;if(0<A[1][r[1]+0].g||0<A[2][r[2]+0].g||0<A[3][r[3]+0].g)return 0}return 1}function _e(e,A,r,n,s,i){if(0!=e.Z){var o=e.qd,a=e.rd;for(t(null!=pn[e.Z]);A<r;++A)pn[e.Z](o,a,n,s,n,s,i),o=n,a=s,s+=i;e.qd=o,e.rd=a}}function je(e,A){var r=e.l.ma,n=0==r.Z||1==r.Z?e.l.j:e.C;if(n=e.C<n?n:e.C,t(A<=e.l.o),A>n){var s=e.l.width,i=r.ca,o=r.tb+s*n,a=e.V,l=e.Ba+e.c*n,c=e.gc;t(1==e.ab),t(3==c[0].hc),WA(c[0],n,A,a,l,i,o),_e(r,n,A,i,o,s)}e.C=e.Ma=A}function xe(e,A,r,n,s,i,o){var a=e.$/n,l=e.$%n,c=e.m,u=e.s,h=r+e.$,d=h;s=r+n*s;var f=r+n*i,p=280+u.ua,g=e.Pb?a:16777216,m=0<u.ua?u.Wa:null,w=u.wc,B=h<f?ye(u,l,a):null;t(e.C<i),t(f<=s);var y=!1;e:for(;;){for(;y||h<f;){var v=0;if(a>=g){var x=h-r;t((g=e).Pb),g.wd=g.m,g.xd=x,0<g.s.ua&&N(g.s.Wa,g.s.vb),g=a+Zr}if(l&w||(B=ye(u,l,a)),t(null!=B),B.Qb&&(A[h]=B.qb,y=!0),!y)if(j(c),B.jc){v=c,x=A;var F=h,Q=B.pd[b(v)&PA-1];t(B.jc),256>Q.g?(_(v,v.u+Q.g),x[F]=Q.value,v=0):(_(v,v.u+Q.g-256),t(256<=Q.value),v=Q.value),0==v&&(y=!0)}else v=we(B.G[0],B.H[0],c);if(c.h)break;if(y||256>v){if(!y)if(B.nd)A[h]=(B.qb|v<<8)>>>0;else{if(j(c),y=we(B.G[1],B.H[1],c),j(c),x=we(B.G[2],B.H[2],c),F=we(B.G[3],B.H[3],c),c.h)break;A[h]=(F<<24|y<<16|v<<8|x)>>>0}if(y=!1,++h,++l>=n&&(l=0,++a,null!=o&&a<=i&&!(a%16)&&o(e,a),null!=m))for(;d<h;)v=A[d++],m.X[(506832829*v&4294967295)>>>m.Mb]=v}else if(280>v){if(v=ge(v-256,c),x=we(B.G[4],B.H[4],c),j(c),x=me(n,x=ge(x,c)),c.h)break;if(h-r<x||s-h<v)break e;for(F=0;F<v;++F)A[h+F]=A[h+F-x];for(h+=v,l+=v;l>=n;)l-=n,++a,null!=o&&a<=i&&!(a%16)&&o(e,a);if(t(h<=s),l&w&&(B=ye(u,l,a)),null!=m)for(;d<h;)v=A[d++],m.X[(506832829*v&4294967295)>>>m.Mb]=v}else{if(!(v<p))break e;for(y=v-280,t(null!=m);d<h;)v=A[d++],m.X[(506832829*v&4294967295)>>>m.Mb]=v;v=h,t(!(y>>>(x=m).Xa)),A[v]=x.X[y],y=!0}y||t(c.h==C(c))}if(e.Pb&&c.h&&h<s)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&N(e.s.vb,e.s.Wa);else{if(c.h)break e;null!=o&&o(e,a>i?i:a),e.a=0,e.$=h-r}return 1}return e.a=3,0}function Fe(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var A=e.Wa;null!=A&&(A.X=null),e.vb=null,t(null!=e)}function Qe(){var t=new sA;return null==t?null:(t.a=0,t.xb=fn,Ae("Predictor","VP8LPredictors"),Ae("Predictor","VP8LPredictors_C"),Ae("PredictorAdd","VP8LPredictorsAdd"),Ae("PredictorAdd","VP8LPredictorsAdd_C"),GA=z,JA=W,ZA=Y,$A=J,er=Z,tr=$,Ar=ee,e.VP8LMapColor32b=qA,e.VP8LMapColor8b=XA,t)}function Ue(e,A,r,o,a){var l=1,h=[e],f=[A],p=o.m,g=o.s,m=null,w=0;e:for(;;){if(r)for(;l&&B(p,1);){var y=h,v=f,C=o,x=1,F=C.m,Q=C.gc[C.ab],U=B(F,2);if(C.Oc&1<<U)l=0;else{switch(C.Oc|=1<<U,Q.hc=U,Q.Ea=y[0],Q.nc=v[0],Q.K=[null],++C.ab,t(4>=C.ab),U){case 0:case 1:Q.b=B(F,3)+2,x=Ue(P(Q.Ea,Q.b),P(Q.nc,Q.b),0,C,Q.K),Q.K=Q.K[0];break;case 3:var E,S=B(F,8)+1,L=16<S?0:4<S?1:2<S?2:3;if(y[0]=P(Q.Ea,L),Q.b=L,E=x=Ue(S,1,0,C,Q.K)){var N,k=S,H=Q,O=1<<(8>>H.b),M=s(O);if(null==M)E=0;else{var D=H.K[0],R=H.w;for(M[0]=H.K[0][0],N=1;N<1*k;++N)M[N]=T(D[R+N],M[N-1]);for(;N<4*O;++N)M[N]=0;H.K[0]=null,H.K[0]=M,E=1}}x=E;break;case 2:break;default:t(0)}l=x}}if(h=h[0],f=f[0],l&&B(p,1)&&!(l=1<=(w=B(p,4))&&11>=w)){o.a=3;break e}var K;if(K=l)t:{var V,G,z,q=o,W=h,X=f,Y=w,J=r,Z=q.m,$=q.s,ee=[null],te=1,Ae=0,re=Jr[Y];A:for(;;){if(J&&B(Z,1)){var ne=B(Z,3)+2,se=P(W,ne),ie=P(X,ne),oe=se*ie;if(!Ue(se,ie,0,q,ee))break A;for(ee=ee[0],$.xc=ne,V=0;V<oe;++V){var ae=ee[V]>>8&65535;ee[V]=ae,ae>=te&&(te=ae+1)}}if(Z.h)break A;for(G=0;5>G;++G){var le=qr[G];!G&&0<Y&&(le+=1<<Y),Ae<le&&(Ae=le)}var ce=i(te*re,u),ue=te,he=i(ue,d);if(null==he)var de=null;else t(65536>=ue),de=he;var fe=s(Ae);if(null==de||null==fe||null==ce){q.a=1;break A}var pe=ce;for(V=z=0;V<te;++V){var ge=de[V],me=ge.G,we=ge.H,ye=0,ve=1,be=0;for(G=0;5>G;++G){le=qr[G],me[G]=pe,we[G]=z,!G&&0<Y&&(le+=1<<Y);r:{var Ce,_e=le,je=q,Qe=fe,Ee=pe,Se=z,Le=0,Ie=je.m,Ne=B(Ie,1);if(n(Qe,0,0,_e),Ne){var ke=B(Ie,1)+1,He=B(Ie,1),Pe=B(Ie,0==He?1:8);Qe[Pe]=1,2==ke&&(Qe[Pe=B(Ie,8)]=1);var Te=1}else{var Oe=s(19),Me=B(Ie,4)+4;if(19<Me){je.a=3;var De=0;break r}for(Ce=0;Ce<Me;++Ce)Oe[Xr[Ce]]=B(Ie,3);var Re=void 0,Ke=void 0,Ve=je,Ge=Oe,ze=_e,qe=Qe,We=0,Xe=Ve.m,Ye=8,Je=i(128,u);n:for(;c(Je,0,7,Ge,19);){if(B(Xe,1)){var Ze=2+2*B(Xe,3);if((Re=2+B(Xe,Ze))>ze)break n}else Re=ze;for(Ke=0;Ke<ze&&Re--;){j(Xe);var $e=Je[0+(127&b(Xe))];_(Xe,Xe.u+$e.g);var et=$e.value;if(16>et)qe[Ke++]=et,0!=et&&(Ye=et);else{var tt=16==et,At=et-16,rt=zr[At],nt=B(Xe,Gr[At])+rt;if(Ke+nt>ze)break n;for(var st=tt?Ye:0;0<nt--;)qe[Ke++]=st}}We=1;break n}We||(Ve.a=3),Te=We}(Te=Te&&!Ie.h)&&(Le=c(Ee,Se,8,Qe,_e)),Te&&0!=Le?De=Le:(je.a=3,De=0)}if(0==De)break A;if(ve&&1==Wr[G]&&(ve=0==pe[z].g),ye+=pe[z].g,z+=De,3>=G){var it,ot=fe[0];for(it=1;it<le;++it)fe[it]>ot&&(ot=fe[it]);be+=ot}}if(ge.nd=ve,ge.Qb=0,ve&&(ge.qb=(me[3][we[3]+0].value<<24|me[1][we[1]+0].value<<16|me[2][we[2]+0].value)>>>0,0==ye&&256>me[0][we[0]+0].value&&(ge.Qb=1,ge.qb+=me[0][we[0]+0].value<<8)),ge.jc=!ge.Qb&&6>be,ge.jc){var at,lt=ge;for(at=0;at<PA;++at){var ct=at,ut=lt.pd[ct],ht=lt.G[0][lt.H[0]+ct];256<=ht.value?(ut.g=ht.g+256,ut.value=ht.value):(ut.g=0,ut.value=0,ct>>=Be(ht,8,ut),ct>>=Be(lt.G[1][lt.H[1]+ct],16,ut),ct>>=Be(lt.G[2][lt.H[2]+ct],0,ut),Be(lt.G[3][lt.H[3]+ct],24,ut))}}}$.vc=ee,$.Wb=te,$.Ya=de,$.yc=ce,K=1;break t}K=0}if(!(l=K)){o.a=3;break e}if(0<w){if(g.ua=1<<w,!I(g.Wa,w)){o.a=1,l=0;break e}}else g.ua=0;var dt=o,ft=h,pt=f,gt=dt.s,mt=gt.xc;if(dt.c=ft,dt.i=pt,gt.md=P(ft,mt),gt.wc=0==mt?-1:(1<<mt)-1,r){o.xb=dn;break e}if(null==(m=s(h*f))){o.a=1,l=0;break e}l=(l=xe(o,m,0,h,f,f,null))&&!p.h;break e}return l?(null!=a?a[0]=m:(t(null==m),t(r)),o.$=0,r||Fe(g)):Fe(g),l}function Ee(e,A){var r=e.c*e.i,n=r+A+16*A;return t(e.c<=A),e.V=s(n),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+r+A,1)}function Se(e,A){var r=e.C,n=A-r,s=e.V,i=e.Ba+e.c*r;for(t(A<=e.l.o);0<n;){var o=16<n?16:n,a=e.l.ma,l=e.l.width,c=l*o,u=a.ca,h=a.tb+l*r,d=e.Ta,f=e.Ua;ve(e,o,s,i),_r(d,f,u,h,c),_e(a,r,r+o,u,h,l),n-=o,s+=o*e.c,r+=o}t(r==A),e.C=e.Ma=A}function Le(){this.ub=this.yd=this.td=this.Rb=0}function Ie(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ne(){this.Fb=this.Bb=this.Cb=0,this.Zb=s(4),this.Lb=s(4)}function ke(){this.Yb=function(){var e=[];return function e(t,A,r){for(var n=r[A],s=0;s<n&&(t.push(r.length>A+1?[]:0),!(r.length<A+1));s++)e(t[s],A+1,r)}(e,0,[3,11]),e}()}function He(){this.jb=s(3),this.Wc=o([4,8],ke),this.Xc=o([4,17],ke)}function Pe(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new s(4),this.od=new s(4)}function Te(){this.ld=this.La=this.dd=this.tc=0}function Oe(){this.Na=this.la=0}function Me(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function De(){this.ad=s(384),this.Za=0,this.Ob=s(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Re(){this.uc=this.M=this.Nb=0,this.wa=Array(new Te),this.Y=0,this.ya=Array(new De),this.aa=0,this.l=new ze}function Ke(){this.y=s(16),this.f=s(8),this.ea=s(8)}function Ve(){this.cb=this.a=0,this.sc="",this.m=new y,this.Od=new Le,this.Kc=new Ie,this.ed=new Pe,this.Qa=new Ne,this.Ic=this.$c=this.Aa=0,this.D=new Re,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=i(8,y),this.ia=0,this.pb=i(4,Me),this.Pa=new He,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ke),this.Hd=0,this.rb=Array(new Oe),this.sb=0,this.wa=Array(new Te),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new De),this.L=this.aa=0,this.gd=o([4,2],Te),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Ge(e,t){return 0>e?0:e>t?t:e}function ze(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function qe(){var e=new Ve;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,tn||(tn=Je)),e}function We(e,t,A){return 0==e.a&&(e.a=t,e.sc=A,e.cb=0),0}function Xe(e,t,A){return 3<=A&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Ye(e,A){if(null==e)return 0;if(e.a=0,e.sc="OK",null==A)return We(e,2,"null VP8Io passed to VP8GetHeaders()");var r=A.data,s=A.w,i=A.ha;if(4>i)return We(e,7,"Truncated header.");var o=r[s+0]|r[s+1]<<8|r[s+2]<<16,a=e.Od;if(a.Rb=!(1&o),a.td=o>>1&7,a.yd=o>>4&1,a.ub=o>>5,3<a.td)return We(e,3,"Incorrect keyframe parameters.");if(!a.yd)return We(e,4,"Frame not displayable.");s+=3,i-=3;var l=e.Kc;if(a.Rb){if(7>i)return We(e,7,"cannot parse picture header");if(!Xe(r,s,i))return We(e,3,"Bad code word");l.c=16383&(r[s+4]<<8|r[s+3]),l.Td=r[s+4]>>6,l.i=16383&(r[s+6]<<8|r[s+5]),l.Ud=r[s+6]>>6,s+=7,i-=7,e.za=l.c+15>>4,e.Ub=l.i+15>>4,A.width=l.c,A.height=l.i,A.Da=0,A.j=0,A.v=0,A.va=A.width,A.o=A.height,A.da=0,A.ib=A.width,A.hb=A.height,A.U=A.width,A.T=A.height,n((o=e.Pa).jb,0,255,o.jb.length),t(null!=(o=e.Qa)),o.Cb=0,o.Bb=0,o.Fb=1,n(o.Zb,0,0,o.Zb.length),n(o.Lb,0,0,o.Lb)}if(a.ub>i)return We(e,7,"bad partition length");f(o=e.m,r,s,a.ub),s+=a.ub,i-=a.ub,a.Rb&&(l.Ld=F(o),l.Kd=F(o)),l=e.Qa;var c,u=e.Pa;if(t(null!=o),t(null!=l),l.Cb=F(o),l.Cb){if(l.Bb=F(o),F(o)){for(l.Fb=F(o),c=0;4>c;++c)l.Zb[c]=F(o)?g(o,7):0;for(c=0;4>c;++c)l.Lb[c]=F(o)?g(o,6):0}if(l.Bb)for(c=0;3>c;++c)u.jb[c]=F(o)?p(o,8):255}else l.Bb=0;if(o.Ka)return We(e,3,"cannot parse segment header");if((l=e.ed).zd=F(o),l.Tb=p(o,6),l.wb=p(o,3),l.Pc=F(o),l.Pc&&F(o)){for(u=0;4>u;++u)F(o)&&(l.vd[u]=g(o,6));for(u=0;4>u;++u)F(o)&&(l.od[u]=g(o,6))}if(e.L=0==l.Tb?0:l.zd?1:2,o.Ka)return We(e,3,"cannot parse filter header");var h=i;if(i=c=s,s=c+h,l=h,e.Xb=(1<<p(e.m,2))-1,h<3*(u=e.Xb))r=7;else{for(c+=3*u,l-=3*u,h=0;h<u;++h){var d=r[i+0]|r[i+1]<<8|r[i+2]<<16;d>l&&(d=l),f(e.Jc[+h],r,c,d),c+=d,l-=d,i+=3}f(e.Jc[+u],r,c,l),r=c<s?0:5}if(0!=r)return We(e,r,"cannot parse partitions");for(r=p(c=e.m,7),i=F(c)?g(c,4):0,s=F(c)?g(c,4):0,l=F(c)?g(c,4):0,u=F(c)?g(c,4):0,c=F(c)?g(c,4):0,h=e.Qa,d=0;4>d;++d){if(h.Cb){var m=h.Zb[d];h.Fb||(m+=r)}else{if(0<d){e.pb[d]=e.pb[0];continue}m=r}var w=e.pb[d];w.Sc[0]=$r[Ge(m+i,127)],w.Sc[1]=en[Ge(m+0,127)],w.Eb[0]=2*$r[Ge(m+s,127)],w.Eb[1]=101581*en[Ge(m+l,127)]>>16,8>w.Eb[1]&&(w.Eb[1]=8),w.Qc[0]=$r[Ge(m+u,117)],w.Qc[1]=en[Ge(m+c,127)],w.lc=m+c}if(!a.Rb)return We(e,4,"Not a key frame.");for(F(o),a=e.Pa,r=0;4>r;++r){for(i=0;8>i;++i)for(s=0;3>s;++s)for(l=0;11>l;++l)u=Q(o,an[r][i][s][l])?p(o,8):sn[r][i][s][l],a.Wc[r][i].Yb[s][l]=u;for(i=0;17>i;++i)a.Xc[r][i]=a.Wc[r][ln[i]]}return e.kc=F(o),e.kc&&(e.Bd=p(o,8)),e.cb=1}function Je(e,t,A,r,n,s,i){var o=t[n].Yb[A];for(A=0;16>n;++n){if(!Q(e,o[A+0]))return n;for(;!Q(e,o[A+1]);)if(o=t[++n].Yb[0],A=0,16==n)return 16;var a=t[n+1].Yb;if(Q(e,o[A+2])){var l=e,c=0;if(Q(l,(h=o)[(u=A)+3]))if(Q(l,h[u+6])){for(o=0,u=2*(c=Q(l,h[u+8]))+(h=Q(l,h[u+9+c])),c=0,h=An[u];h[o];++o)c+=c+Q(l,h[o]);c+=3+(8<<u)}else Q(l,h[u+7])?(c=7+2*Q(l,165),c+=Q(l,145)):c=5+Q(l,159);else c=Q(l,h[u+4])?3+Q(l,h[u+5]):2;o=a[2]}else c=1,o=a[1];a=i+rn[n],0>(l=e).b&&x(l);var u,h=l.b,d=(u=l.Ca>>1)-(l.I>>h)>>31;--l.b,l.Ca+=d,l.Ca|=1,l.I-=(u+1&d)<<h,s[a]=((c^d)-d)*r[(0<n)+0]}return 16}function Ze(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,n(e.zc,0,0,e.zc.length),e.ja=0}function $e(e,t,A,r,n){n=e[t+A+32*r]+(n>>3),e[t+A+32*r]=-256&n?0>n?0:255:n}function et(e,t,A,r,n,s){$e(e,t,0,A,r+n),$e(e,t,1,A,r+s),$e(e,t,2,A,r-s),$e(e,t,3,A,r-n)}function tt(e){return(20091*e>>16)+e}function At(e,t,A,r){var n,i=0,o=s(16);for(n=0;4>n;++n){var a=e[t+0]+e[t+8],l=e[t+0]-e[t+8],c=(35468*e[t+4]>>16)-tt(e[t+12]),u=tt(e[t+4])+(35468*e[t+12]>>16);o[i+0]=a+u,o[i+1]=l+c,o[i+2]=l-c,o[i+3]=a-u,i+=4,t++}for(n=i=0;4>n;++n)a=(e=o[i+0]+4)+o[i+8],l=e-o[i+8],c=(35468*o[i+4]>>16)-tt(o[i+12]),$e(A,r,0,0,a+(u=tt(o[i+4])+(35468*o[i+12]>>16))),$e(A,r,1,0,l+c),$e(A,r,2,0,l-c),$e(A,r,3,0,a-u),i++,r+=32}function rt(e,t,A,r){var n=e[t+0]+4,s=35468*e[t+4]>>16,i=tt(e[t+4]),o=35468*e[t+1]>>16;et(A,r,0,n+i,e=tt(e[t+1]),o),et(A,r,1,n+s,e,o),et(A,r,2,n-s,e,o),et(A,r,3,n-i,e,o)}function nt(e,t,A,r,n){At(e,t,A,r),n&&At(e,t+16,A,r+4)}function st(e,t,A,r){nr(e,t+0,A,r,1),nr(e,t+32,A,r+128,1)}function it(e,t,A,r){var n;for(e=e[t+0]+4,n=0;4>n;++n)for(t=0;4>t;++t)$e(A,r,t,n,e)}function ot(e,t,A,r){e[t+0]&&or(e,t+0,A,r),e[t+16]&&or(e,t+16,A,r+4),e[t+32]&&or(e,t+32,A,r+128),e[t+48]&&or(e,t+48,A,r+128+4)}function at(e,t,A,r){var n,i=s(16);for(n=0;4>n;++n){var o=e[t+0+n]+e[t+12+n],a=e[t+4+n]+e[t+8+n],l=e[t+4+n]-e[t+8+n],c=e[t+0+n]-e[t+12+n];i[0+n]=o+a,i[8+n]=o-a,i[4+n]=c+l,i[12+n]=c-l}for(n=0;4>n;++n)o=(e=i[0+4*n]+3)+i[3+4*n],a=i[1+4*n]+i[2+4*n],l=i[1+4*n]-i[2+4*n],c=e-i[3+4*n],A[r+0]=o+a>>3,A[r+16]=c+l>>3,A[r+32]=o-a>>3,A[r+48]=c-l>>3,r+=64}function lt(e,t,A){var r,n=t-32,s=Lr,i=255-e[n-1];for(r=0;r<A;++r){var o,a=s,l=i+e[t-1];for(o=0;o<A;++o)e[t+o]=a[l+e[n+o]];t+=32}}function ct(e,t){lt(e,t,4)}function ut(e,t){lt(e,t,8)}function ht(e,t){lt(e,t,16)}function dt(e,t){var A;for(A=0;16>A;++A)r(e,t+32*A,e,t-32,16)}function ft(e,t){var A;for(A=16;0<A;--A)n(e,t,e[t-1],16),t+=32}function pt(e,t,A){var r;for(r=0;16>r;++r)n(t,A+32*r,e,16)}function gt(e,t){var A,r=16;for(A=0;16>A;++A)r+=e[t-1+32*A]+e[t+A-32];pt(r>>5,e,t)}function mt(e,t){var A,r=8;for(A=0;16>A;++A)r+=e[t-1+32*A];pt(r>>4,e,t)}function wt(e,t){var A,r=8;for(A=0;16>A;++A)r+=e[t+A-32];pt(r>>4,e,t)}function Bt(e,t){pt(128,e,t)}function yt(e,t,A){return e+2*t+A+2>>2}function vt(e,t){var A,n=t-32;for(n=new Uint8Array([yt(e[n-1],e[n+0],e[n+1]),yt(e[n+0],e[n+1],e[n+2]),yt(e[n+1],e[n+2],e[n+3]),yt(e[n+2],e[n+3],e[n+4])]),A=0;4>A;++A)r(e,t+32*A,n,0,n.length)}function bt(e,t){var A=e[t-1],r=e[t-1+32],n=e[t-1+64],s=e[t-1+96];U(e,t+0,16843009*yt(e[t-1-32],A,r)),U(e,t+32,16843009*yt(A,r,n)),U(e,t+64,16843009*yt(r,n,s)),U(e,t+96,16843009*yt(n,s,s))}function Ct(e,t){var A,r=4;for(A=0;4>A;++A)r+=e[t+A-32]+e[t-1+32*A];for(r>>=3,A=0;4>A;++A)n(e,t+32*A,r,4)}function _t(e,t){var A=e[t-1+0],r=e[t-1+32],n=e[t-1+64],s=e[t-1-32],i=e[t+0-32],o=e[t+1-32],a=e[t+2-32],l=e[t+3-32];e[t+0+96]=yt(r,n,e[t-1+96]),e[t+1+96]=e[t+0+64]=yt(A,r,n),e[t+2+96]=e[t+1+64]=e[t+0+32]=yt(s,A,r),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=yt(i,s,A),e[t+3+64]=e[t+2+32]=e[t+1+0]=yt(o,i,s),e[t+3+32]=e[t+2+0]=yt(a,o,i),e[t+3+0]=yt(l,a,o)}function jt(e,t){var A=e[t+1-32],r=e[t+2-32],n=e[t+3-32],s=e[t+4-32],i=e[t+5-32],o=e[t+6-32],a=e[t+7-32];e[t+0+0]=yt(e[t+0-32],A,r),e[t+1+0]=e[t+0+32]=yt(A,r,n),e[t+2+0]=e[t+1+32]=e[t+0+64]=yt(r,n,s),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=yt(n,s,i),e[t+3+32]=e[t+2+64]=e[t+1+96]=yt(s,i,o),e[t+3+64]=e[t+2+96]=yt(i,o,a),e[t+3+96]=yt(o,a,a)}function xt(e,t){var A=e[t-1+0],r=e[t-1+32],n=e[t-1+64],s=e[t-1-32],i=e[t+0-32],o=e[t+1-32],a=e[t+2-32],l=e[t+3-32];e[t+0+0]=e[t+1+64]=s+i+1>>1,e[t+1+0]=e[t+2+64]=i+o+1>>1,e[t+2+0]=e[t+3+64]=o+a+1>>1,e[t+3+0]=a+l+1>>1,e[t+0+96]=yt(n,r,A),e[t+0+64]=yt(r,A,s),e[t+0+32]=e[t+1+96]=yt(A,s,i),e[t+1+32]=e[t+2+96]=yt(s,i,o),e[t+2+32]=e[t+3+96]=yt(i,o,a),e[t+3+32]=yt(o,a,l)}function Ft(e,t){var A=e[t+0-32],r=e[t+1-32],n=e[t+2-32],s=e[t+3-32],i=e[t+4-32],o=e[t+5-32],a=e[t+6-32],l=e[t+7-32];e[t+0+0]=A+r+1>>1,e[t+1+0]=e[t+0+64]=r+n+1>>1,e[t+2+0]=e[t+1+64]=n+s+1>>1,e[t+3+0]=e[t+2+64]=s+i+1>>1,e[t+0+32]=yt(A,r,n),e[t+1+32]=e[t+0+96]=yt(r,n,s),e[t+2+32]=e[t+1+96]=yt(n,s,i),e[t+3+32]=e[t+2+96]=yt(s,i,o),e[t+3+64]=yt(i,o,a),e[t+3+96]=yt(o,a,l)}function Qt(e,t){var A=e[t-1+0],r=e[t-1+32],n=e[t-1+64],s=e[t-1+96];e[t+0+0]=A+r+1>>1,e[t+2+0]=e[t+0+32]=r+n+1>>1,e[t+2+32]=e[t+0+64]=n+s+1>>1,e[t+1+0]=yt(A,r,n),e[t+3+0]=e[t+1+32]=yt(r,n,s),e[t+3+32]=e[t+1+64]=yt(n,s,s),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=s}function Ut(e,t){var A=e[t-1+0],r=e[t-1+32],n=e[t-1+64],s=e[t-1+96],i=e[t-1-32],o=e[t+0-32],a=e[t+1-32],l=e[t+2-32];e[t+0+0]=e[t+2+32]=A+i+1>>1,e[t+0+32]=e[t+2+64]=r+A+1>>1,e[t+0+64]=e[t+2+96]=n+r+1>>1,e[t+0+96]=s+n+1>>1,e[t+3+0]=yt(o,a,l),e[t+2+0]=yt(i,o,a),e[t+1+0]=e[t+3+32]=yt(A,i,o),e[t+1+32]=e[t+3+64]=yt(r,A,i),e[t+1+64]=e[t+3+96]=yt(n,r,A),e[t+1+96]=yt(s,n,r)}function Et(e,t){var A;for(A=0;8>A;++A)r(e,t+32*A,e,t-32,8)}function St(e,t){var A;for(A=0;8>A;++A)n(e,t,e[t-1],8),t+=32}function Lt(e,t,A){var r;for(r=0;8>r;++r)n(t,A+32*r,e,8)}function It(e,t){var A,r=8;for(A=0;8>A;++A)r+=e[t+A-32]+e[t-1+32*A];Lt(r>>4,e,t)}function Nt(e,t){var A,r=4;for(A=0;8>A;++A)r+=e[t+A-32];Lt(r>>3,e,t)}function kt(e,t){var A,r=4;for(A=0;8>A;++A)r+=e[t-1+32*A];Lt(r>>3,e,t)}function Ht(e,t){Lt(128,e,t)}function Pt(e,t,A){var r=e[t-A],n=e[t+0],s=3*(n-r)+Er[1020+e[t-2*A]-e[t+A]],i=Sr[112+(s+4>>3)];e[t-A]=Lr[255+r+Sr[112+(s+3>>3)]],e[t+0]=Lr[255+n-i]}function Tt(e,t,A,r){var n=e[t+0],s=e[t+A];return Ir[255+e[t-2*A]-e[t-A]]>r||Ir[255+s-n]>r}function Ot(e,t,A,r){return 4*Ir[255+e[t-A]-e[t+0]]+Ir[255+e[t-2*A]-e[t+A]]<=r}function Mt(e,t,A,r,n){var s=e[t-3*A],i=e[t-2*A],o=e[t-A],a=e[t+0],l=e[t+A],c=e[t+2*A],u=e[t+3*A];return 4*Ir[255+o-a]+Ir[255+i-l]>r?0:Ir[255+e[t-4*A]-s]<=n&&Ir[255+s-i]<=n&&Ir[255+i-o]<=n&&Ir[255+u-c]<=n&&Ir[255+c-l]<=n&&Ir[255+l-a]<=n}function Dt(e,t,A,r){var n=2*r+1;for(r=0;16>r;++r)Ot(e,t+r,A,n)&&Pt(e,t+r,A)}function Rt(e,t,A,r){var n=2*r+1;for(r=0;16>r;++r)Ot(e,t+r*A,1,n)&&Pt(e,t+r*A,1)}function Kt(e,t,A,r){var n;for(n=3;0<n;--n)Dt(e,t+=4*A,A,r)}function Vt(e,t,A,r){var n;for(n=3;0<n;--n)Rt(e,t+=4,A,r)}function Gt(e,t,A,r,n,s,i,o){for(s=2*s+1;0<n--;){if(Mt(e,t,A,s,i))if(Tt(e,t,A,o))Pt(e,t,A);else{var a=e,l=t,c=A,u=a[l-2*c],h=a[l-c],d=a[l+0],f=a[l+c],p=a[l+2*c],g=27*(w=Er[1020+3*(d-h)+Er[1020+u-f]])+63>>7,m=18*w+63>>7,w=9*w+63>>7;a[l-3*c]=Lr[255+a[l-3*c]+w],a[l-2*c]=Lr[255+u+m],a[l-c]=Lr[255+h+g],a[l+0]=Lr[255+d-g],a[l+c]=Lr[255+f-m],a[l+2*c]=Lr[255+p-w]}t+=r}}function zt(e,t,A,r,n,s,i,o){for(s=2*s+1;0<n--;){if(Mt(e,t,A,s,i))if(Tt(e,t,A,o))Pt(e,t,A);else{var a=e,l=t,c=A,u=a[l-c],h=a[l+0],d=a[l+c],f=Sr[112+(4+(p=3*(h-u))>>3)],p=Sr[112+(p+3>>3)],g=f+1>>1;a[l-2*c]=Lr[255+a[l-2*c]+g],a[l-c]=Lr[255+u+p],a[l+0]=Lr[255+h-f],a[l+c]=Lr[255+d-g]}t+=r}}function qt(e,t,A,r,n,s){Gt(e,t,A,1,16,r,n,s)}function Wt(e,t,A,r,n,s){Gt(e,t,1,A,16,r,n,s)}function Xt(e,t,A,r,n,s){var i;for(i=3;0<i;--i)zt(e,t+=4*A,A,1,16,r,n,s)}function Yt(e,t,A,r,n,s){var i;for(i=3;0<i;--i)zt(e,t+=4,1,A,16,r,n,s)}function Jt(e,t,A,r,n,s,i,o){Gt(e,t,n,1,8,s,i,o),Gt(A,r,n,1,8,s,i,o)}function Zt(e,t,A,r,n,s,i,o){Gt(e,t,1,n,8,s,i,o),Gt(A,r,1,n,8,s,i,o)}function $t(e,t,A,r,n,s,i,o){zt(e,t+4*n,n,1,8,s,i,o),zt(A,r+4*n,n,1,8,s,i,o)}function eA(e,t,A,r,n,s,i,o){zt(e,t+4,1,n,8,s,i,o),zt(A,r+4,1,n,8,s,i,o)}function tA(){this.ba=new ie,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ae,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function AA(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function rA(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function nA(){this.ua=0,this.Wa=new k,this.vb=new k,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new u}function sA(){this.xb=this.a=0,this.l=new ze,this.ca=new ie,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new v,this.Pb=0,this.wd=new v,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new nA,this.ab=0,this.gc=i(4,rA),this.Oc=0}function iA(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ze,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function oA(e,t,A,r,n,s,i){for(e=null==e?0:e[t+0],t=0;t<i;++t)n[s+t]=e+A[r+t]&255,e=n[s+t]}function aA(e,t,A,r,n,s,i){var o;if(null==e)oA(null,null,A,r,n,s,i);else for(o=0;o<i;++o)n[s+o]=e[t+o]+A[r+o]&255}function lA(e,t,A,r,n,s,i){if(null==e)oA(null,null,A,r,n,s,i);else{var o,a=e[t+0],l=a,c=a;for(o=0;o<i;++o)l=c+(a=e[t+o])-l,c=A[r+o]+(-256&l?0>l?0:255:l)&255,l=a,n[s+o]=c}}function cA(e,A,n,i){var o=A.width,a=A.o;if(t(null!=e&&null!=A),0>n||0>=i||n+i>a)return null;if(!e.Cc){if(null==e.ga){var l;if(e.ga=new iA,(l=null==e.ga)||(l=A.width*A.o,t(0==e.Gb.length),e.Gb=s(l),e.Uc=0,null==e.Gb?l=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,l=1),l=!l),!l){l=e.ga;var c=e.Fa,u=e.P,h=e.qc,d=e.mb,f=e.nb,p=u+1,g=h-1,w=l.l;if(t(null!=c&&null!=d&&null!=A),pn[0]=null,pn[1]=oA,pn[2]=aA,pn[3]=lA,l.ca=d,l.tb=f,l.c=A.width,l.i=A.height,t(0<l.c&&0<l.i),1>=h)A=0;else if(l.$a=3&c[u+0],l.Z=c[u+0]>>2&3,l.Lc=c[u+0]>>4&3,u=c[u+0]>>6&3,0>l.$a||1<l.$a||4<=l.Z||1<l.Lc||u)A=0;else if(w.put=de,w.ac=he,w.bc=fe,w.ma=l,w.width=A.width,w.height=A.height,w.Da=A.Da,w.v=A.v,w.va=A.va,w.j=A.j,w.o=A.o,l.$a)e:{t(1==l.$a),A=Qe();t:for(;;){if(null==A){A=0;break e}if(t(null!=l),l.mc=A,A.c=l.c,A.i=l.i,A.l=l.l,A.l.ma=l,A.l.width=l.c,A.l.height=l.i,A.a=0,m(A.m,c,p,g),!Ue(l.c,l.i,1,A,null))break t;if(1==A.ab&&3==A.gc[0].hc&&Ce(A.s)?(l.ic=1,c=A.c*A.i,A.Ta=null,A.Ua=0,A.V=s(c),A.Ba=0,null==A.V?(A.a=1,A=0):A=1):(l.ic=0,A=Ee(A,l.c)),!A)break t;A=1;break e}l.mc=null,A=0}else A=g>=l.c*l.i;l=!A}if(l)return null;1!=e.ga.Lc?e.Ga=0:i=a-n}t(null!=e.ga),t(n+i<=a);e:{if(A=(c=e.ga).c,a=c.l.o,0==c.$a){if(p=e.rc,g=e.Vc,w=e.Fa,u=e.P+1+n*A,h=e.mb,d=e.nb+n*A,t(u<=e.P+e.qc),0!=c.Z)for(t(null!=pn[c.Z]),l=0;l<i;++l)pn[c.Z](p,g,w,u,h,d,A),p=h,g=d,d+=A,u+=A;else for(l=0;l<i;++l)r(h,d,w,u,A),p=h,g=d,d+=A,u+=A;e.rc=p,e.Vc=g}else{if(t(null!=c.mc),A=n+i,t(null!=(l=c.mc)),t(A<=l.i),l.C>=A)A=1;else if(c.ic||pA(),c.ic){c=l.V,p=l.Ba,g=l.c;var B=l.i,y=(w=1,u=l.$/g,h=l.$%g,d=l.m,f=l.s,l.$),v=g*B,b=g*A,_=f.wc,x=y<b?ye(f,h,u):null;t(y<=v),t(A<=B),t(Ce(f));t:for(;;){for(;!d.h&&y<b;){if(h&_||(x=ye(f,h,u)),t(null!=x),j(d),256>(B=we(x.G[0],x.H[0],d)))c[p+y]=B,++y,++h>=g&&(h=0,++u<=A&&!(u%16)&&je(l,u));else{if(!(280>B)){w=0;break t}B=ge(B-256,d);var F,Q=we(x.G[4],x.H[4],d);if(j(d),!(y>=(Q=me(g,Q=ge(Q,d)))&&v-y>=B)){w=0;break t}for(F=0;F<B;++F)c[p+y+F]=c[p+y+F-Q];for(y+=B,h+=B;h>=g;)h-=g,++u<=A&&!(u%16)&&je(l,u);y<b&&h&_&&(x=ye(f,h,u))}t(d.h==C(d))}je(l,u>A?A:u);break t}!w||d.h&&y<v?(w=0,l.a=d.h?5:3):l.$=y,A=w}else A=xe(l,l.V,l.Ba,l.c,l.i,A,Se);if(!A){i=0;break e}}n+i>=a&&(e.Cc=1),i=1}if(!i)return null;if(e.Cc&&(null!=(i=e.ga)&&(i.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+n*o}function uA(e,t,A,r,n,s){for(;0<n--;){var i,o=e,a=t+(A?1:0),l=e,c=t+(A?0:3);for(i=0;i<r;++i){var u=l[c+4*i];255!=u&&(u*=32897,o[a+4*i+0]=o[a+4*i+0]*u>>23,o[a+4*i+1]=o[a+4*i+1]*u>>23,o[a+4*i+2]=o[a+4*i+2]*u>>23)}t+=s}}function hA(e,t,A,r,n){for(;0<r--;){var s;for(s=0;s<A;++s){var i=e[t+2*s+0],o=15&(l=e[t+2*s+1]),a=4369*o,l=(240&l|l>>4)*a>>16;e[t+2*s+0]=(240&i|i>>4)*a>>16&240|(15&i|i<<4)*a>>16>>4&15,e[t+2*s+1]=240&l|o}t+=n}}function dA(e,t,A,r,n,s,i,o){var a,l,c=255;for(l=0;l<n;++l){for(a=0;a<r;++a){var u=e[t+a];s[i+4*a]=u,c&=u}t+=A,i+=o}return 255!=c}function fA(e,t,A,r,n){var s;for(s=0;s<n;++s)A[r+s]=e[t+s]>>8}function pA(){vr=uA,br=hA,Cr=dA,_r=fA}function gA(A,r,n){e[A]=function(e,A,s,i,o,a,l,c,u,h,d,f,p,g,m,w,B){var y,v=B-1>>1,b=o[a+0]|l[c+0]<<16,C=u[h+0]|d[f+0]<<16;t(null!=e);var _=3*b+C+131074>>2;for(r(e[A+0],255&_,_>>16,p,g),null!=s&&(_=3*C+b+131074>>2,r(s[i+0],255&_,_>>16,m,w)),y=1;y<=v;++y){var j=o[a+y]|l[c+y]<<16,x=u[h+y]|d[f+y]<<16,F=b+j+C+x+524296,Q=F+2*(j+C)>>3;_=Q+b>>1,b=(F=F+2*(b+x)>>3)+j>>1,r(e[A+2*y-1],255&_,_>>16,p,g+(2*y-1)*n),r(e[A+2*y-0],255&b,b>>16,p,g+(2*y-0)*n),null!=s&&(_=F+C>>1,b=Q+x>>1,r(s[i+2*y-1],255&_,_>>16,m,w+(2*y-1)*n),r(s[i+2*y+0],255&b,b>>16,m,w+(2*y+0)*n)),b=j,C=x}1&B||(_=3*b+C+131074>>2,r(e[A+B-1],255&_,_>>16,p,g+(B-1)*n),null!=s&&(_=3*C+b+131074>>2,r(s[i+B-1],255&_,_>>16,m,w+(B-1)*n)))}}function mA(){gn[Nr]=mn,gn[kr]=Bn,gn[Hr]=wn,gn[Pr]=yn,gn[Tr]=vn,gn[Or]=bn,gn[Mr]=Cn,gn[Dr]=Bn,gn[Rr]=yn,gn[Kr]=vn,gn[Vr]=bn}function wA(e){return e&~Un?0>e?0:255:e>>Qn}function BA(e,t){return wA((19077*e>>8)+(26149*t>>8)-14234)}function yA(e,t,A){return wA((19077*e>>8)-(6419*t>>8)-(13320*A>>8)+8708)}function vA(e,t){return wA((19077*e>>8)+(33050*t>>8)-17685)}function bA(e,t,A,r,n){r[n+0]=BA(e,A),r[n+1]=yA(e,t,A),r[n+2]=vA(e,t)}function CA(e,t,A,r,n){r[n+0]=vA(e,t),r[n+1]=yA(e,t,A),r[n+2]=BA(e,A)}function _A(e,t,A,r,n){var s=yA(e,t,A);t=s<<3&224|vA(e,t)>>3,r[n+0]=248&BA(e,A)|s>>5,r[n+1]=t}function jA(e,t,A,r,n){var s=240&vA(e,t)|15;r[n+0]=240&BA(e,A)|yA(e,t,A)>>4,r[n+1]=s}function xA(e,t,A,r,n){r[n+0]=255,bA(e,t,A,r,n+1)}function FA(e,t,A,r,n){CA(e,t,A,r,n),r[n+3]=255}function QA(e,t,A,r,n){bA(e,t,A,r,n),r[n+3]=255}function UA(t,A,r){e[t]=function(e,t,n,s,i,o,a,l,c){for(var u=l+(-2&c)*r;l!=u;)A(e[t+0],n[s+0],i[o+0],a,l),A(e[t+1],n[s+0],i[o+0],a,l+r),t+=2,++s,++o,l+=2*r;1&c&&A(e[t+0],n[s+0],i[o+0],a,l)}}function EA(e,t,A){return 0==A?0==e?0==t?6:5:0==t?4:0:A}function SA(e,t,A,r,n){switch(e>>>30){case 3:nr(t,A,r,n,0);break;case 2:sr(t,A,r,n);break;case 1:or(t,A,r,n)}}function LA(e,t){var A,s,i=t.M,o=t.Nb,a=e.oc,l=e.pc+40,c=e.oc,u=e.pc+584,h=e.oc,d=e.pc+600;for(A=0;16>A;++A)a[l+32*A-1]=129;for(A=0;8>A;++A)c[u+32*A-1]=129,h[d+32*A-1]=129;for(0<i?a[l-1-32]=c[u-1-32]=h[d-1-32]=129:(n(a,l-32-1,127,21),n(c,u-32-1,127,9),n(h,d-32-1,127,9)),s=0;s<e.za;++s){var f=t.ya[t.aa+s];if(0<s){for(A=-1;16>A;++A)r(a,l+32*A-4,a,l+32*A+12,4);for(A=-1;8>A;++A)r(c,u+32*A-4,c,u+32*A+4,4),r(h,d+32*A-4,h,d+32*A+4,4)}var p=e.Gd,g=e.Hd+s,m=f.ad,w=f.Hc;if(0<i&&(r(a,l-32,p[g].y,0,16),r(c,u-32,p[g].f,0,8),r(h,d-32,p[g].ea,0,8)),f.Za){var B=a,y=l-32+16;for(0<i&&(s>=e.za-1?n(B,y,p[g].y[15],4):r(B,y,p[g+1].y,0,4)),A=0;4>A;A++)B[y+128+A]=B[y+256+A]=B[y+384+A]=B[y+0+A];for(A=0;16>A;++A,w<<=2)B=a,y=l+Pn[A],un[f.Ob[A]](B,y),SA(w,m,16*+A,B,y)}else if(B=EA(s,i,f.Ob[0]),cn[B](a,l),0!=w)for(A=0;16>A;++A,w<<=2)SA(w,m,16*+A,a,l+Pn[A]);for(A=f.Gc,B=EA(s,i,f.Dd),hn[B](c,u),hn[B](h,d),w=m,B=c,y=u,255&(f=0|A)&&(170&f?ir(w,256,B,y):ar(w,256,B,y)),f=h,w=d,255&(A>>=8)&&(170&A?ir(m,320,f,w):ar(m,320,f,w)),i<e.Ub-1&&(r(p[g].y,0,a,l+480,16),r(p[g].f,0,c,u+224,8),r(p[g].ea,0,h,d+224,8)),A=8*o*e.B,p=e.sa,g=e.ta+16*s+16*o*e.R,m=e.qa,f=e.ra+8*s+A,w=e.Ha,B=e.Ia+8*s+A,A=0;16>A;++A)r(p,g+A*e.R,a,l+32*A,16);for(A=0;8>A;++A)r(m,f+A*e.B,c,u+32*A,8),r(w,B+A*e.B,h,d+32*A,8)}}function IA(e,r,n,s,i,o,a,l,c){var u=[0],h=[0],d=0,f=null!=c?c.kd:0,p=null!=c?c:new AA;if(null==e||12>n)return 7;p.data=e,p.w=r,p.ha=n,r=[r],n=[n],p.gb=[p.gb];e:{var g=r,w=n,B=p.gb;if(t(null!=e),t(null!=w),t(null!=B),B[0]=0,12<=w[0]&&!A(e,g[0],"RIFF")){if(A(e,g[0]+8,"WEBP")){B=3;break e}var y=L(e,g[0]+4);if(12>y||4294967286<y){B=3;break e}if(f&&y>w[0]-8){B=7;break e}B[0]=y,g[0]+=12,w[0]-=12}B=0}if(0!=B)return B;for(y=0<p.gb[0],n=n[0];;){e:{var b=e;w=r,B=n;var C=u,_=h,j=g=[0];if((Q=d=[d])[0]=0,8>B[0])B=7;else{if(!A(b,w[0],"VP8X")){if(10!=L(b,w[0]+4)){B=3;break e}if(18>B[0]){B=7;break e}var x=L(b,w[0]+8),F=1+S(b,w[0]+12);if(2147483648<=F*(b=1+S(b,w[0]+15))){B=3;break e}null!=j&&(j[0]=x),null!=C&&(C[0]=F),null!=_&&(_[0]=b),w[0]+=18,B[0]-=18,Q[0]=1}B=0}}if(d=d[0],g=g[0],0!=B)return B;if(w=!!(2&g),!y&&d)return 3;if(null!=o&&(o[0]=!!(16&g)),null!=a&&(a[0]=w),null!=l&&(l[0]=0),a=u[0],g=h[0],d&&w&&null==c){B=0;break}if(4>n){B=7;break}if(y&&d||!y&&!d&&!A(e,r[0],"ALPH")){n=[n],p.na=[p.na],p.P=[p.P],p.Sa=[p.Sa];e:{x=e,B=r,y=n;var Q=p.gb;C=p.na,_=p.P,j=p.Sa,F=22,t(null!=x),t(null!=y),b=B[0];var U=y[0];for(t(null!=C),t(null!=j),C[0]=null,_[0]=null,j[0]=0;;){if(B[0]=b,y[0]=U,8>U){B=7;break e}var E=L(x,b+4);if(4294967286<E){B=3;break e}var I=8+E+1&-2;if(F+=I,0<Q&&F>Q){B=3;break e}if(!A(x,b,"VP8 ")||!A(x,b,"VP8L")){B=0;break e}if(U[0]<I){B=7;break e}A(x,b,"ALPH")||(C[0]=x,_[0]=b+8,j[0]=E),b+=I,U-=I}}if(n=n[0],p.na=p.na[0],p.P=p.P[0],p.Sa=p.Sa[0],0!=B)break}n=[n],p.Ja=[p.Ja],p.xa=[p.xa];e:if(Q=e,B=r,y=n,C=p.gb[0],_=p.Ja,j=p.xa,x=B[0],b=!A(Q,x,"VP8 "),F=!A(Q,x,"VP8L"),t(null!=Q),t(null!=y),t(null!=_),t(null!=j),8>y[0])B=7;else{if(b||F){if(Q=L(Q,x+4),12<=C&&Q>C-12){B=3;break e}if(f&&Q>y[0]-8){B=7;break e}_[0]=Q,B[0]+=8,y[0]-=8,j[0]=F}else j[0]=5<=y[0]&&47==Q[x+0]&&!(Q[x+4]>>5),_[0]=y[0];B=0}if(n=n[0],p.Ja=p.Ja[0],p.xa=p.xa[0],r=r[0],0!=B)break;if(4294967286<p.Ja)return 3;if(null==l||w||(l[0]=p.xa?2:1),a=[a],g=[g],p.xa){if(5>n){B=7;break}l=a,f=g,w=o,null==e||5>n?e=0:5<=n&&47==e[r+0]&&!(e[r+4]>>5)?(y=[0],Q=[0],C=[0],m(_=new v,e,r,n),pe(_,y,Q,C)?(null!=l&&(l[0]=y[0]),null!=f&&(f[0]=Q[0]),null!=w&&(w[0]=C[0]),e=1):e=0):e=0}else{if(10>n){B=7;break}l=g,null==e||10>n||!Xe(e,r+3,n-3)?e=0:(f=e[r+0]|e[r+1]<<8|e[r+2]<<16,w=16383&(e[r+7]<<8|e[r+6]),e=16383&(e[r+9]<<8|e[r+8]),1&f||3<(f>>1&7)||!(f>>4&1)||f>>5>=p.Ja||!w||!e?e=0:(a&&(a[0]=w),l&&(l[0]=e),e=1))}if(!e)return 3;if(a=a[0],g=g[0],d&&(u[0]!=a||h[0]!=g))return 3;null!=c&&(c[0]=p,c.offset=r-c.w,t(4294967286>r-c.w),t(c.offset==c.ha-n));break}return 0==B||7==B&&d&&null==c?(null!=o&&(o[0]|=null!=p.na&&0<p.na.length),null!=s&&(s[0]=a),null!=i&&(i[0]=g),0):B}function NA(e,t,A){var r=t.width,n=t.height,s=0,i=0,o=r,a=n;if(t.Da=null!=e&&0<e.Da,t.Da&&(o=e.cd,a=e.bd,s=e.v,i=e.j,11>A||(s&=-2,i&=-2),0>s||0>i||0>=o||0>=a||s+o>r||i+a>n))return 0;if(t.v=s,t.j=i,t.va=s+o,t.o=i+a,t.U=o,t.T=a,t.da=null!=e&&0<e.da,t.da){if(!H(o,a,A=[e.ib],s=[e.hb]))return 0;t.ib=A[0],t.hb=s[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*n/4,t.Kb=0),1}function kA(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function HA(e,t,A,r){if(null==r||0>=e||0>=t)return 2;if(null!=A){if(A.Da){var n=A.cd,i=A.bd,o=-2&A.v,a=-2&A.j;if(0>o||0>a||0>=n||0>=i||o+n>e||a+i>t)return 2;e=n,t=i}if(A.da){if(!H(e,t,n=[A.ib],i=[A.hb]))return 2;e=n[0],t=i[0]}}r.width=e,r.height=t;e:{var l=r.width,c=r.height;if(e=r.S,0>=l||0>=c||!(e>=Nr&&13>e))e=2;else{if(0>=r.Rd&&null==r.sd){o=i=n=t=0;var u=(a=l*Mn[e])*c;if(11>e||(i=(c+1)/2*(t=(l+1)/2),12==e&&(o=(n=l)*c)),null==(c=s(u+2*i+o))){e=1;break e}r.sd=c,11>e?((l=r.f.RGBA).eb=c,l.fb=0,l.A=a,l.size=u):((l=r.f.kb).y=c,l.O=0,l.fa=a,l.Fd=u,l.f=c,l.N=0+u,l.Ab=t,l.Cd=i,l.ea=c,l.W=0+u+i,l.Db=t,l.Ed=i,12==e&&(l.F=c,l.J=0+u+2*i),l.Tc=o,l.lb=n)}if(t=1,n=r.S,i=r.width,o=r.height,n>=Nr&&13>n)if(11>n)e=r.f.RGBA,t&=(a=Math.abs(e.A))*(o-1)+i<=e.size,t&=a>=i*Mn[n],t&=null!=e.eb;else{e=r.f.kb,a=(i+1)/2,u=(o+1)/2,l=Math.abs(e.fa),c=Math.abs(e.Ab);var h=Math.abs(e.Db),d=Math.abs(e.lb),f=d*(o-1)+i;t&=l*(o-1)+i<=e.Fd,t&=c*(u-1)+a<=e.Cd,t=(t&=h*(u-1)+a<=e.Ed)&l>=i&c>=a&h>=a,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==n&&(t&=d>=i,t&=f<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=A&&A.fd&&(e=kA(r)),e}var PA=64,TA=[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],OA=24,MA=32,DA=8,RA=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,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,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];O("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,A){return t[A+0]},e.Predictor3=function(e,t,A){return t[A+1]},e.Predictor4=function(e,t,A){return t[A-1]},e.Predictor5=function(e,t,A){return D(D(e,t[A+1]),t[A+0])},e.Predictor6=function(e,t,A){return D(e,t[A-1])},e.Predictor7=function(e,t,A){return D(e,t[A+0])},e.Predictor8=function(e,t,A){return D(t[A-1],t[A+0])},e.Predictor9=function(e,t,A){return D(t[A+0],t[A+1])},e.Predictor10=function(e,t,A){return D(D(e,t[A-1]),D(t[A+0],t[A+1]))},e.Predictor11=function(e,t,A){var r=t[A+0];return 0>=V(r>>24&255,e>>24&255,(t=t[A-1])>>24&255)+V(r>>16&255,e>>16&255,t>>16&255)+V(r>>8&255,e>>8&255,t>>8&255)+V(255&r,255&e,255&t)?r:e},e.Predictor12=function(e,t,A){var r=t[A+0];return(R((e>>24&255)+(r>>24&255)-((t=t[A-1])>>24&255))<<24|R((e>>16&255)+(r>>16&255)-(t>>16&255))<<16|R((e>>8&255)+(r>>8&255)-(t>>8&255))<<8|R((255&e)+(255&r)-(255&t)))>>>0},e.Predictor13=function(e,t,A){var r=t[A-1];return(K((e=D(e,t[A+0]))>>24&255,r>>24&255)<<24|K(e>>16&255,r>>16&255)<<16|K(e>>8&255,r>>8&255)<<8|K(255&e,255&r))>>>0};var KA=e.PredictorAdd0;e.PredictorAdd1=G,O("Predictor2","PredictorAdd2"),O("Predictor3","PredictorAdd3"),O("Predictor4","PredictorAdd4"),O("Predictor5","PredictorAdd5"),O("Predictor6","PredictorAdd6"),O("Predictor7","PredictorAdd7"),O("Predictor8","PredictorAdd8"),O("Predictor9","PredictorAdd9"),O("Predictor10","PredictorAdd10"),O("Predictor11","PredictorAdd11"),O("Predictor12","PredictorAdd12"),O("Predictor13","PredictorAdd13");var VA=e.PredictorAdd2;X("ColorIndexInverseTransform","MapARGB","32b",function(e){return e>>8&255},function(e){return e}),X("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(e){return e},function(e){return e>>8&255});var GA,zA=e.ColorIndexInverseTransform,qA=e.MapARGB,WA=e.VP8LColorIndexInverseTransformAlpha,XA=e.MapAlpha,YA=e.VP8LPredictorsAdd=[];YA.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var JA,ZA,$A,er,tr,Ar,rr,nr,sr,ir,or,ar,lr,cr,ur,hr,dr,fr,pr,gr,mr,wr,Br,yr,vr,br,Cr,_r,jr=s(511),xr=s(2041),Fr=s(225),Qr=s(767),Ur=0,Er=xr,Sr=Fr,Lr=Qr,Ir=jr,Nr=0,kr=1,Hr=2,Pr=3,Tr=4,Or=5,Mr=6,Dr=7,Rr=8,Kr=9,Vr=10,Gr=[2,3,7],zr=[3,3,11],qr=[280,256,256,256,40],Wr=[0,1,1,1,0],Xr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Yr=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Jr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Zr=8,$r=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],en=[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,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],tn=null,An=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],rn=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],nn=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sn=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],on=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],an=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ln=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],cn=[],un=[],hn=[],dn=1,fn=2,pn=[],gn=[];gA("UpsampleRgbLinePair",bA,3),gA("UpsampleBgrLinePair",CA,3),gA("UpsampleRgbaLinePair",QA,4),gA("UpsampleBgraLinePair",FA,4),gA("UpsampleArgbLinePair",xA,4),gA("UpsampleRgba4444LinePair",jA,2),gA("UpsampleRgb565LinePair",_A,2);var mn=e.UpsampleRgbLinePair,wn=e.UpsampleBgrLinePair,Bn=e.UpsampleRgbaLinePair,yn=e.UpsampleBgraLinePair,vn=e.UpsampleArgbLinePair,bn=e.UpsampleRgba4444LinePair,Cn=e.UpsampleRgb565LinePair,_n=16,jn=1<<_n-1,xn=-227,Fn=482,Qn=6,Un=(256<<Qn)-1,En=0,Sn=s(256),Ln=s(256),In=s(256),Nn=s(256),kn=s(Fn-xn),Hn=s(Fn-xn);UA("YuvToRgbRow",bA,3),UA("YuvToBgrRow",CA,3),UA("YuvToRgbaRow",QA,4),UA("YuvToBgraRow",FA,4),UA("YuvToArgbRow",xA,4),UA("YuvToRgba4444Row",jA,2),UA("YuvToRgb565Row",_A,2);var Pn=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Tn=[0,2,8],On=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(e,A,o,a,l){var c=kr,u=new tA,h=new ie;u.ba=h,h.S=c,h.width=[h.width],h.height=[h.height];var d=h.width,f=h.height,p=new oe;if(null==p||null==e)var g=2;else t(null!=p),g=IA(e,A,o,p.width,p.height,p.Pd,p.Qd,p.format,null);if(0!=g?d=0:(null!=d&&(d[0]=p.width[0]),null!=f&&(f[0]=p.height[0]),d=1),d){h.width=h.width[0],h.height=h.height[0],null!=a&&(a[0]=h.width),null!=l&&(l[0]=h.height);e:{if(a=new ze,(l=new AA).data=e,l.w=A,l.ha=o,l.kd=1,A=[0],t(null!=l),(0==(e=IA(l.data,l.w,l.ha,null,null,null,A,null,l))||7==e)&&A[0]&&(e=4),0==(A=e)){if(t(null!=u),a.data=l.data,a.w=l.w+l.offset,a.ha=l.ha-l.offset,a.put=de,a.ac=he,a.bc=fe,a.ma=u,l.xa){if(null==(e=Qe())){u=1;break e}if(function(e,A){var r=[0],n=[0],s=[0];t:for(;;){if(null==e)return 0;if(null==A)return e.a=2,0;if(e.l=A,e.a=0,m(e.m,A.data,A.w,A.ha),!pe(e.m,r,n,s)){e.a=3;break t}if(e.xb=fn,A.width=r[0],A.height=n[0],!Ue(r[0],n[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,a)){if(a=0==(A=HA(a.width,a.height,u.Oa,u.ba))){t:{a=e;A:for(;;){if(null==a){a=0;break t}if(t(null!=a.s.yc),t(null!=a.s.Ya),t(0<a.s.Wb),t(null!=(o=a.l)),t(null!=(l=o.ma)),0!=a.xb){if(a.ca=l.ba,a.tb=l.tb,t(null!=a.ca),!NA(l.Oa,o,Pr)){a.a=2;break A}if(!Ee(a,o.width))break A;if(o.da)break A;if((o.da||re(a.ca.S))&&pA(),11>a.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=a.ca.f.kb.F&&pA()),a.Pb&&0<a.s.ua&&null==a.s.vb.X&&!I(a.s.vb,a.s.Wa.Xa)){a.a=1;break A}a.xb=0}if(!xe(a,a.V,a.Ba,a.c,a.i,o.o,be))break A;l.Dc=a.Ma,a=1;break t}t(0!=a.a),a=0}a=!a}a&&(A=e.a)}else A=e.a}else{if(null==(e=new qe)){u=1;break e}if(e.Fa=l.na,e.P=l.P,e.qc=l.Sa,Ye(e,a)){if(0==(A=HA(a.width,a.height,u.Oa,u.ba))){if(e.Aa=0,o=u.Oa,t(null!=(l=e)),null!=o){if(0<(d=0>(d=o.Md)?0:100<d?255:255*d/100)){for(f=p=0;4>f;++f)12>(g=l.pb[f]).lc&&(g.ia=d*On[0>g.lc?0:g.lc]>>3),p|=g.ia;p&&(alert("todo:VP8InitRandom"),l.ia=1)}l.Ga=o.Id,100<l.Ga?l.Ga=100:0>l.Ga&&(l.Ga=0)}(function(e,A){if(null==e)return 0;if(null==A)return We(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Ye(e,A))return 0;if(t(e.cb),null==A.ac||A.ac(A)){A.ob&&(e.L=0);var o=Tn[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=A.v-o>>4,e.zb=A.j-o>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=A.o+15+o>>4,e.Hb=A.va+15+o>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var a=e.ed;for(o=0;4>o;++o){var l;if(e.Qa.Cb){var c=e.Qa.Lb[o];e.Qa.Fb||(c+=a.Tb)}else c=a.Tb;for(l=0;1>=l;++l){var u=e.gd[o][l],h=c;if(a.Pc&&(h+=a.vd[0],l&&(h+=a.od[0])),0<(h=0>h?0:63<h?63:h)){var d=h;0<a.wb&&(d=4<a.wb?d>>2:d>>1)>9-a.wb&&(d=9-a.wb),1>d&&(d=1),u.dd=d,u.tc=2*h+d,u.ld=40<=h?2:15<=h?1:0}else u.tc=0;u.La=l}}}o=0}else We(e,6,"Frame setup failed"),o=e.a;if(o=0==o){if(o){e.$c=0,0<e.Aa||(e.Ic=1);t:{o=e.Ic,a=4*(d=e.za);var f=32*d,p=d+1,g=0<e.L?d*(0<e.Aa?2:1):0,m=(2==e.Aa?2:1)*d;if((u=a+832+(l=3*(16*o+Tn[e.L])/2*f)+(c=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=u)o=0;else{if(u>e.Vb){if(e.Vb=0,e.Ec=s(u),e.Fc=0,null==e.Ec){o=We(e,1,"no memory during frame initialization.");break t}e.Vb=u}u=e.Ec,h=e.Fc,e.Ac=u,e.Bc=h,h+=a,e.Gd=i(f,Ke),e.Hd=0,e.rb=i(p+1,Oe),e.sb=1,e.wa=g?i(g,Te):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=d),t(!0),e.oc=u,e.pc=h,h+=832,e.ya=i(m,De),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=d),e.R=16*d,e.B=8*d,d=(f=Tn[e.L])*e.R,f=f/2*e.B,e.sa=u,e.ta=h+d,e.qa=e.sa,e.ra=e.ta+16*o*e.R+f,e.Ha=e.qa,e.Ia=e.ra+8*o*e.B+f,e.$c=0,h+=l,e.mb=c?u:null,e.nb=c?h:null,t(h+c<=e.Fc+e.Vb),Ze(e),n(e.Ac,e.Bc,0,a),o=1}}if(o){if(A.ka=0,A.y=e.sa,A.O=e.ta,A.f=e.qa,A.N=e.ra,A.ea=e.Ha,A.Vd=e.Ia,A.fa=e.R,A.Rc=e.B,A.F=null,A.J=0,!Ur){for(o=-255;255>=o;++o)jr[255+o]=0>o?-o:o;for(o=-1020;1020>=o;++o)xr[1020+o]=-128>o?-128:127<o?127:o;for(o=-112;112>=o;++o)Fr[112+o]=-16>o?-16:15<o?15:o;for(o=-255;510>=o;++o)Qr[255+o]=0>o?0:255<o?255:o;Ur=1}rr=at,nr=nt,ir=st,or=it,ar=ot,sr=rt,lr=qt,cr=Wt,ur=Jt,hr=Zt,dr=Xt,fr=Yt,pr=$t,gr=eA,mr=Dt,wr=Rt,Br=Kt,yr=Vt,un[0]=Ct,un[1]=ct,un[2]=vt,un[3]=bt,un[4]=_t,un[5]=xt,un[6]=jt,un[7]=Ft,un[8]=Ut,un[9]=Qt,cn[0]=gt,cn[1]=ht,cn[2]=dt,cn[3]=ft,cn[4]=mt,cn[5]=wt,cn[6]=Bt,hn[0]=It,hn[1]=ut,hn[2]=Et,hn[3]=St,hn[4]=kt,hn[5]=Nt,hn[6]=Ht,o=1}else o=0}o&&(o=function(e,A){for(e.M=0;e.M<e.Va;++e.M){var i,o=e.Jc[e.M&e.Xb],a=e.m,l=e;for(i=0;i<l.za;++i){var c=a,u=l,h=u.Ac,d=u.Bc+4*i,f=u.zc,p=u.ya[u.aa+i];if(u.Qa.Bb?p.$b=Q(c,u.Pa.jb[0])?2+Q(c,u.Pa.jb[2]):Q(c,u.Pa.jb[1]):p.$b=0,u.kc&&(p.Ad=Q(c,u.Bd)),p.Za=!Q(c,145)+0,p.Za){var g=p.Ob,m=0;for(u=0;4>u;++u){var w,B=f[0+u];for(w=0;4>w;++w){B=on[h[d+w]][B];for(var y=nn[Q(c,B[0])];0<y;)y=nn[2*y+Q(c,B[y])];B=-y,h[d+w]=B}r(g,m,h,d,4),m+=4,f[0+u]=B}}else B=Q(c,156)?Q(c,128)?1:3:Q(c,163)?2:0,p.Ob[0]=B,n(h,d,B,4),n(f,0,B,4);p.Dd=Q(c,142)?Q(c,114)?Q(c,183)?1:3:2:0}if(l.m.Ka)return We(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(l=o,c=(a=e).rb[a.sb-1],h=a.rb[a.sb+a.ja],i=a.ya[a.aa+a.ja],d=a.kc?i.Ad:0)c.la=h.la=0,i.Za||(c.Na=h.Na=0),i.Hc=0,i.Gc=0,i.ia=0;else{var v,b;if(c=h,h=l,d=a.Pa.Xc,f=a.ya[a.aa+a.ja],p=a.pb[f.$b],u=f.ad,g=0,m=a.rb[a.sb-1],B=w=0,n(u,g,0,384),f.Za)var C=0,_=d[3];else{y=s(16);var j=c.Na+m.Na;if(j=tn(h,d[1],j,p.Eb,0,y,0),c.Na=m.Na=(0<j)+0,1<j)rr(y,0,u,g);else{var x=y[0]+3>>3;for(y=0;256>y;y+=16)u[g+y]=x}C=1,_=d[0]}var F=15&c.la,U=15&m.la;for(y=0;4>y;++y){var E=1&U;for(x=b=0;4>x;++x)F=F>>1|(E=(j=tn(h,_,j=E+(1&F),p.Sc,C,u,g))>C)<<7,b=b<<2|(3<j?3:1<j?2:0!=u[g+0]),g+=16;F>>=4,U=U>>1|E<<7,w=(w<<8|b)>>>0}for(_=F,C=U>>4,v=0;4>v;v+=2){for(b=0,F=c.la>>4+v,U=m.la>>4+v,y=0;2>y;++y){for(E=1&U,x=0;2>x;++x)j=E+(1&F),F=F>>1|(E=0<(j=tn(h,d[2],j,p.Qc,0,u,g)))<<3,b=b<<2|(3<j?3:1<j?2:0!=u[g+0]),g+=16;F>>=2,U=U>>1|E<<5}B|=b<<4*v,_|=F<<4<<v,C|=(240&U)<<v}c.la=_,m.la=C,f.Hc=w,f.Gc=B,f.ia=43690&B?0:p.ia,d=!(w|B)}if(0<a.L&&(a.wa[a.Y+a.ja]=a.gd[i.$b][i.Za],a.wa[a.Y+a.ja].La|=!d),l.Ka)return We(e,7,"Premature end-of-file encountered.")}if(Ze(e),a=A,l=1,i=(o=e).D,c=0<o.L&&o.M>=o.zb&&o.M<=o.Va,0==o.Aa)t:{if(i.M=o.M,i.uc=c,LA(o,i),l=1,i=(b=o.D).Nb,c=(B=Tn[o.L])*o.R,h=B/2*o.B,y=16*i*o.R,x=8*i*o.B,d=o.sa,f=o.ta-c+y,p=o.qa,u=o.ra-h+x,g=o.Ha,m=o.Ia-h+x,U=0==(F=b.M),w=F>=o.Va-1,2==o.Aa&&LA(o,b),b.uc)for(E=(j=o).D.M,t(j.D.uc),b=j.yb;b<j.Hb;++b){C=b,_=E;var S=(L=(D=j).D).Nb;v=D.R;var L=L.wa[L.Y+C],I=D.sa,N=D.ta+16*S*v+16*C,k=L.dd,H=L.tc;if(0!=H)if(t(3<=H),1==D.L)0<C&&wr(I,N,v,H+4),L.La&&yr(I,N,v,H),0<_&&mr(I,N,v,H+4),L.La&&Br(I,N,v,H);else{var P=D.B,T=D.qa,O=D.ra+8*S*P+8*C,M=D.Ha,D=D.Ia+8*S*P+8*C;S=L.ld,0<C&&(cr(I,N,v,H+4,k,S),hr(T,O,M,D,P,H+4,k,S)),L.La&&(fr(I,N,v,H,k,S),gr(T,O,M,D,P,H,k,S)),0<_&&(lr(I,N,v,H+4,k,S),ur(T,O,M,D,P,H+4,k,S)),L.La&&(dr(I,N,v,H,k,S),pr(T,O,M,D,P,H,k,S))}}if(o.ia&&alert("todo:DitherRow"),null!=a.put){if(b=16*F,F=16*(F+1),U?(a.y=o.sa,a.O=o.ta+y,a.f=o.qa,a.N=o.ra+x,a.ea=o.Ha,a.W=o.Ia+x):(b-=B,a.y=d,a.O=f,a.f=p,a.N=u,a.ea=g,a.W=m),w||(F-=B),F>a.o&&(F=a.o),a.F=null,a.J=null,null!=o.Fa&&0<o.Fa.length&&b<F&&(a.J=cA(o,a,b,F-b),a.F=o.mb,null==a.F&&0==a.F.length)){l=We(o,3,"Could not decode alpha data.");break t}b<a.j&&(B=a.j-b,b=a.j,t(!(1&B)),a.O+=o.R*B,a.N+=o.B*(B>>1),a.W+=o.B*(B>>1),null!=a.F&&(a.J+=a.width*B)),b<F&&(a.O+=a.v,a.N+=a.v>>1,a.W+=a.v>>1,null!=a.F&&(a.J+=a.v),a.ka=b-a.j,a.U=a.va-a.v,a.T=F-b,l=a.put(a))}i+1!=o.Ic||w||(r(o.sa,o.ta-c,d,f+16*o.R,c),r(o.qa,o.ra-h,p,u+8*o.B,h),r(o.Ha,o.Ia-h,g,m+8*o.B,h))}if(!l)return We(e,6,"Output aborted.")}return 1}(e,A)),null!=A.bc&&A.bc(A),o&=1}return o?(e.cb=0,o):0})(e,a)||(A=e.a)}}else A=e.a}0==A&&null!=u.Oa&&u.Oa.fd&&(A=kA(u.ba))}u=A}c=0!=u?null:11>c?h.f.RGBA.eb:h.f.kb.y}else c=null;return c};var Mn=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function l(e,t){for(var A="",r=0;r<4;r++)A+=String.fromCharCode(e[t++]);return A}function c(e,t){return e[t+0]|e[t+1]<<8}function u(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16)>>>0}function h(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new a;var d=[0],f=[0],p=[],g=new a,m=e,w=function(e,t){var A={},r=0,n=!1,s=0,i=0;if(A.frames=[],!function(e,t){for(var A=0;A<4;A++)if(e[t+A]!="RIFF".charCodeAt(A))return!0;return!1}(e,t)){for(h(e,t+=4),t+=8;t<e.length;){var o=l(e,t),a=h(e,t+=4);t+=4;var d=a+(1&a);switch(o){case"VP8 ":case"VP8L":void 0===A.frames[r]&&(A.frames[r]={}),(g=A.frames[r]).src_off=n?i:t-8,g.src_size=s+a+8,r++,n&&(n=!1,s=0,i=0);break;case"VP8X":(g=A.header={}).feature_flags=e[t];var f=t+4;g.canvas_width=1+u(e,f),f+=3,g.canvas_height=1+u(e,f),f+=3;break;case"ALPH":n=!0,s=d+8,i=t-8;break;case"ANIM":(g=A.header).bgcolor=h(e,t),f=t+4,g.loop_count=c(e,f),f+=2;break;case"ANMF":var p,g;(g=A.frames[r]={}).offset_x=2*u(e,t),t+=3,g.offset_y=2*u(e,t),t+=3,g.width=1+u(e,t),t+=3,g.height=1+u(e,t),t+=3,g.duration=u(e,t),t+=3,p=e[t++],g.dispose=1&p,g.blend=p>>1&1}"ANMF"!=o&&(t+=d)}return A}}(m,0);w.response=m,w.rgbaoutput=!0,w.dataurl=!1;var B=w.header?w.header:null,y=w.frames?w.frames:null;if(B){B.loop_counter=B.loop_count,d=[B.canvas_height],f=[B.canvas_width];for(var v=0;v<y.length&&0!=y[v].blend;v++);}var b=y[0],C=g.WebPDecodeRGBA(m,b.src_off,b.src_size,f,d);b.rgba=C,b.imgwidth=f[0],b.imgheight=d[0];for(var _=0;_<f[0]*d[0]*4;_++)p[_]=C[_];return this.width=f,this.height=d,this.data=p,this}!function(e){var t,A,n,s,i,o,a,c,u,h=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new c,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new o,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new o,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new d(this),t=this.internal.f2,A=this.internal.getCoordinateString,n=this.internal.getVerticalCoordinateString,s=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,o=this.internal.Point,a=this.internal.Rectangle,c=this.internal.Matrix,u=new h}]);var d=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var A=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return A},set:function(e){A=Boolean(e)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var n=0;Object.defineProperty(this,"posX",{get:function(){return n},set:function(e){isNaN(e)||(n=e)}});var s=0;Object.defineProperty(this,"posY",{get:function(){return s},set:function(e){isNaN(e)||(s=e)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),u.margin=t}});var i=!1;Object.defineProperty(this,"autoPaging",{get:function(){return i},set:function(e){i=e}});var o=0;Object.defineProperty(this,"lastBreak",{get:function(){return o},set:function(e){o=e}});var a=[];Object.defineProperty(this,"pageBreaks",{get:function(){return a},set:function(e){a=e}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(e){e instanceof h&&(u=e)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(e){u.path=e}});var l=[];Object.defineProperty(this,"ctxStack",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=p(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=p(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var c=null,d=null,f=null;Object.defineProperty(this,"fontFaces",{get:function(){return f},set:function(e){c=null,d=null,f=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(e))){var A=t[1];t[2];var r=t[3],n=t[4];t[5];var s=t[6],i=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(n)[2];n="px"===i?Math.floor(parseFloat(n)*this.pdf.internal.scaleFactor):"em"===i?Math.floor(parseFloat(n)*this.pdf.getFontSize()):Math.floor(parseFloat(n)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(n);var o=function(e){var t,A,r=[],n=e.trim();if(""===n)return Ze;if(n in Oe)return[Oe[n]];for(;""!==n;){switch(A=null,t=(n=De(n)).charAt(0)){case'"':case"'":A=Re(n.substring(1),t);break;default:A=Ke(n)}if(null===A)return Ze;if(r.push(A[0]),""!==(n=De(A[1]))&&","!==n.charAt(0))return Ze;n=n.replace(/^,/,"")}return r}(s);if(this.fontFaces){var a=function(e,t){var A=e.getFontList(),r=JSON.stringify(A);if(null===c||d!==r){var n=function(e){var t=[];return Object.keys(e).forEach(function(A){e[A].forEach(function(e){var r=null;switch(e){case"bold":r={family:A,weight:"bold"};break;case"italic":r={family:A,style:"italic"};break;case"bolditalic":r={family:A,weight:"bold",style:"italic"};break;case"":case"normal":r={family:A}}null!==r&&(r.ref={name:A,style:e},t.push(r))})}),t}(A);c=function(e){for(var t={},A=0;A<e.length;++A){var r=He(e[A]),n=r.family,s=r.stretch,i=r.style,o=r.weight;t[n]=t[n]||{},t[n][s]=t[n][s]||{},t[n][s][i]=t[n][s][i]||{},t[n][s][i][o]=r}return t}(n.concat(t)),d=r}return c}(this.pdf,this.fontFaces),l=o.map(function(e){return{family:e,stretch:"normal",weight:r,style:A}}),u=function(e,t,A){for(var r=(A=A||{}).defaultFontFamily||"times",n=Object.assign({},Te,A.genericFontFamilies||{}),s=null,i=null,o=0;o<t.length;++o)if(n[(s=He(t[o])).family]&&(s.family=n[s.family]),e.hasOwnProperty(s.family)){i=e[s.family];break}if(!(i=i||e[r]))throw new Error("Could not find a font-family for the rule '"+Me(s)+"' and default family '"+r+"'.");if(i=function(e,t){if(t[e])return t[e];var A=Ie[e],r=A<=Ie.normal?-1:1,n=Pe(t,Le,A,r);if(!n)throw new Error("Could not find a matching font-stretch value for "+e);return n}(s.stretch,i),i=function(e,t){if(t[e])return t[e];for(var A=Se[e],r=0;r<A.length;++r)if(t[A[r]])return t[A[r]];throw new Error("Could not find a matching font-style for "+e)}(s.style,i),!(i=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var A=ke[e],r=Pe(t,Ne,A,e<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+e);return r}(s.weight,i)))throw new Error("Failed to resolve a font for the rule '"+Me(s)+"'.");return i}(a,l);this.pdf.setFont(u.ref.name,u.ref.style)}else{var h="";("bold"===r||parseInt(r,10)>=700||"bold"===A)&&(h="bold"),"italic"===A&&(h+="italic"),0===h.length&&(h="normal");for(var f="",p={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},g=0;g<o.length;g++){if(void 0!==this.pdf.internal.getFont(o[g],h,{noFallback:!0,disableWarning:!0})){f=o[g];break}if("bolditalic"===h&&void 0!==this.pdf.internal.getFont(o[g],"bold",{noFallback:!0,disableWarning:!0}))f=o[g],h="bold";else if(void 0!==this.pdf.internal.getFont(o[g],"normal",{noFallback:!0,disableWarning:!0})){f=o[g],h="normal";break}}if(""===f)for(var m=0;m<o.length;m++)if(p[o[m]]){f=p[o[m]];break}f=""===f?"Times":f,this.pdf.setFont(f,h)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,M.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,M.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};d.prototype.setLineDash=function(e){this.lineDash=e},d.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},d.prototype.fill=function(){C.call(this,"fill",!1)},d.prototype.stroke=function(){C.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw l.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var A=this.ctx.transform.applyToPoint(new o(e,t));this.path.push({type:"mt",x:A.x,y:A.y}),this.ctx.lastPoint=new o(e,t)},d.prototype.closePath=function(){var e=new o(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===(0,r.default)(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new o(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new o(e.x,e.y)},d.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw l.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var A=this.ctx.transform.applyToPoint(new o(e,t));this.path.push({type:"lt",x:A.x,y:A.y}),this.ctx.lastPoint=new o(A.x,A.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),C.call(this,null,!0)},d.prototype.quadraticCurveTo=function(e,t,A,r){if(isNaN(A)||isNaN(r)||isNaN(e)||isNaN(t))throw l.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var n=this.ctx.transform.applyToPoint(new o(A,r)),s=this.ctx.transform.applyToPoint(new o(e,t));this.path.push({type:"qct",x1:s.x,y1:s.y,x:n.x,y:n.y}),this.ctx.lastPoint=new o(n.x,n.y)},d.prototype.bezierCurveTo=function(e,t,A,r,n,s){if(isNaN(n)||isNaN(s)||isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r))throw l.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var i=this.ctx.transform.applyToPoint(new o(n,s)),a=this.ctx.transform.applyToPoint(new o(e,t)),c=this.ctx.transform.applyToPoint(new o(A,r));this.path.push({type:"bct",x1:a.x,y1:a.y,x2:c.x,y2:c.y,x:i.x,y:i.y}),this.ctx.lastPoint=new o(i.x,i.y)},d.prototype.arc=function(e,t,A,r,n,s){if(isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r)||isNaN(n))throw l.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(s=Boolean(s),!this.ctx.transform.isIdentity){var i=this.ctx.transform.applyToPoint(new o(e,t));e=i.x,t=i.y;var a=this.ctx.transform.applyToPoint(new o(0,A)),c=this.ctx.transform.applyToPoint(new o(0,0));A=Math.sqrt(Math.pow(a.x-c.x,2)+Math.pow(a.y-c.y,2))}Math.abs(n-r)>=2*Math.PI&&(r=0,n=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:A,startAngle:r,endAngle:n,counterclockwise:s})},d.prototype.arcTo=function(e,t,A,r,n){throw new Error("arcTo not implemented.")},d.prototype.rect=function(e,t,A,r){if(isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r))throw l.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+A,t),this.lineTo(e+A,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+A,t),this.lineTo(e,t)},d.prototype.fillRect=function(e,t,A,r){if(isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r))throw l.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!g.call(this)){var n={};"butt"!==this.lineCap&&(n.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(n.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,A,r),this.fill(),n.hasOwnProperty("lineCap")&&(this.lineCap=n.lineCap),n.hasOwnProperty("lineJoin")&&(this.lineJoin=n.lineJoin)}},d.prototype.strokeRect=function(e,t,A,r){if(isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r))throw l.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(e,t,A,r),this.stroke())},d.prototype.clearRect=function(e,t,A,r){if(isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r))throw l.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,A,r))},d.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,A=0;A<this.pdf.internal.getNumberOfPages();A++)this.pdf.setPage(A+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},d.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,A=0;A<this.pdf.internal.getNumberOfPages();A++)this.pdf.setPage(A+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(e){var t,A,r,n;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,A=0,r=0,n=0;else{var s=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==s)t=parseInt(s[1]),A=parseInt(s[2]),r=parseInt(s[3]),n=1;else if(null!==(s=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(s[1]),A=parseInt(s[2]),r=parseInt(s[3]),n=parseFloat(s[4]);else{if(n=1,"string"==typeof e&&"#"!==e.charAt(0)){var i=new f(e);e=i.ok?i.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,A=e.substring(2,3),A+=A,r=e.substring(3,4),r+=r):(t=e.substring(1,3),A=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),A=parseInt(A,16),r=parseInt(r,16)}}return{r:t,g:A,b:r,a:n,style:e}},g=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},m=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(e,t,A,r){if(isNaN(t)||isNaN(A)||"string"!=typeof e)throw l.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!g.call(this)){var n=P(this.ctx.transform.rotation),s=this.ctx.transform.scaleX;S.call(this,{text:e,x:t,y:A,scale:s,angle:n,align:this.textAlign,maxWidth:r})}},d.prototype.strokeText=function(e,t,A,r){if(isNaN(t)||isNaN(A)||"string"!=typeof e)throw l.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){r=isNaN(r)?void 0:r;var n=P(this.ctx.transform.rotation),s=this.ctx.transform.scaleX;S.call(this,{text:e,x:t,y:A,scale:s,renderingMode:"stroke",angle:n,align:this.textAlign,maxWidth:r})}},d.prototype.measureText=function(e){if("string"!=typeof e)throw l.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,A=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),n=t.getStringUnitWidth(e)*r/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:n*=Math.round(96*A/72*1e4)/1e4})},d.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw l.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var A=new c(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(A)},d.prototype.rotate=function(e){if(isNaN(e))throw l.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new c(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},d.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw l.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var A=new c(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(A)},d.prototype.transform=function(e,t,A,r,n,s){if(isNaN(e)||isNaN(t)||isNaN(A)||isNaN(r)||isNaN(n)||isNaN(s))throw l.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var i=new c(e,t,A,r,n,s);this.ctx.transform=this.ctx.transform.multiply(i)},d.prototype.setTransform=function(e,t,A,r,n,s){e=isNaN(e)?1:e,t=isNaN(t)?0:t,A=isNaN(A)?0:A,r=isNaN(r)?1:r,n=isNaN(n)?0:n,s=isNaN(s)?0:s,this.ctx.transform=new c(e,t,A,r,n,s)};var w=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};d.prototype.drawImage=function(e,t,A,r,n,s,i,o,l){var u=this.pdf.getImageProperties(e),h=1,d=1,f=1,p=1;void 0!==r&&void 0!==o&&(f=o/r,p=l/n,h=u.width/r*o/r,d=u.height/n*l/n),void 0===s&&(s=t,i=A,t=0,A=0),void 0!==r&&void 0===o&&(o=r,l=n),void 0===r&&void 0===o&&(o=u.width,l=u.height);var g=this.ctx.transform.decompose(),m=P(g.rotate.shx),y=new c,C=(y=(y=(y=y.multiply(g.translate)).multiply(g.skew)).multiply(g.scale)).applyToRectangle(new a(s-t*f,i-A*p,r*h,n*d));if(this.autoPaging){for(var j,x=B.call(this,C),F=[],Q=0;Q<x.length;Q+=1)-1===F.indexOf(x[Q])&&F.push(x[Q]);b(F);for(var U=F[0],E=F[F.length-1],S=U;S<E+1;S++){this.pdf.setPage(S);var L=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],I=1===S?this.posY+this.margin[0]:this.margin[0],N=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],k=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],H=1===S?0:N+(S-2)*k;if(0!==this.ctx.clip_path.length){var T=this.path;j=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(j,this.posX+this.margin[3],-H+I+this.ctx.prevPageLastElemOffset),_.call(this,"fill",!0),this.path=T}var O=JSON.parse(JSON.stringify(C));O=v([O],this.posX+this.margin[3],-H+I+this.ctx.prevPageLastElemOffset)[0];var M=(S>U||S<E)&&w.call(this);M&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],L,k,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",O.x,O.y,O.w,O.h,null,null,m),M&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(e,"JPEG",C.x,C.y,C.w,C.h,null,null,m)};var B=function(e,t,A){var r=[];t=t||this.pdf.internal.pageSize.width,A=A||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var n=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+n)/A)+1);break;case"arc":r.push(Math.floor((e.y+n-e.radius)/A)+1),r.push(Math.floor((e.y+n+e.radius)/A)+1);break;case"qct":var s=T(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor((s.y+n)/A)+1),r.push(Math.floor((s.y+s.h+n)/A)+1);break;case"bct":var i=O(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor((i.y+n)/A)+1),r.push(Math.floor((i.y+i.h+n)/A)+1);break;case"rect":r.push(Math.floor((e.y+n)/A)+1),r.push(Math.floor((e.y+e.h+n)/A)+1)}for(var o=0;o<r.length;o+=1)for(;this.pdf.internal.getNumberOfPages()<r[o];)y.call(this);return r},y=function(){var e=this.fillStyle,t=this.strokeStyle,A=this.font,r=this.lineCap,n=this.lineWidth,s=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=A,this.lineCap=r,this.lineWidth=n,this.lineJoin=s},v=function(e,t,A){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=A;case"qct":e[r].x1+=t,e[r].y1+=A;default:e[r].x+=t,e[r].y+=A}return e},b=function(e){return e.sort(function(e,t){return e-t})},C=function(e,t){var A=this.fillStyle,r=this.strokeStyle,n=this.lineCap,s=this.lineWidth,i=Math.abs(s*this.ctx.transform.scaleX),o=this.lineJoin;if(this.autoPaging){for(var a,l,c=JSON.parse(JSON.stringify(this.path)),u=JSON.parse(JSON.stringify(this.path)),h=[],d=0;d<u.length;d++)if(void 0!==u[d].x)for(var f=B.call(this,u[d]),p=0;p<f.length;p+=1)-1===h.indexOf(f[p])&&h.push(f[p]);for(var g=0;g<h.length;g++)for(;this.pdf.internal.getNumberOfPages()<h[g];)y.call(this);b(h);for(var m=h[0],C=h[h.length-1],j=m;j<C+1;j++){this.pdf.setPage(j),this.fillStyle=A,this.strokeStyle=r,this.lineCap=n,this.lineWidth=i,this.lineJoin=o;var x=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],F=1===j?this.posY+this.margin[0]:this.margin[0],Q=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],U=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],E=1===j?0:Q+(j-2)*U;if(0!==this.ctx.clip_path.length){var S=this.path;a=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(a,this.posX+this.margin[3],-E+F+this.ctx.prevPageLastElemOffset),_.call(this,e,!0),this.path=S}if(l=JSON.parse(JSON.stringify(c)),this.path=v(l,this.posX+this.margin[3],-E+F+this.ctx.prevPageLastElemOffset),!1===t||0===j){var L=(j>m||j<C)&&w.call(this);L&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],x,U,null).clip().discardPath()),_.call(this,e,t),L&&this.pdf.restoreGraphicsState()}this.lineWidth=s}this.path=c}else this.lineWidth=i,_.call(this,e,t),this.lineWidth=s},_=function(e,t){if(("stroke"!==e||t||!m.call(this))&&("stroke"===e||t||!g.call(this))){for(var A,r,n=[],s=this.path,i=0;i<s.length;i++){var o=s[i];switch(o.type){case"begin":n.push({begin:!0});break;case"close":n.push({close:!0});break;case"mt":n.push({start:o,deltas:[],abs:[]});break;case"lt":var a=n.length;if(s[i-1]&&!isNaN(s[i-1].x)&&(A=[o.x-s[i-1].x,o.y-s[i-1].y],a>0))for(;a>=0;a--)if(!0!==n[a-1].close&&!0!==n[a-1].begin){n[a-1].deltas.push(A),n[a-1].abs.push(o);break}break;case"bct":A=[o.x1-s[i-1].x,o.y1-s[i-1].y,o.x2-s[i-1].x,o.y2-s[i-1].y,o.x-s[i-1].x,o.y-s[i-1].y],n[n.length-1].deltas.push(A);break;case"qct":var l=s[i-1].x+2/3*(o.x1-s[i-1].x),c=s[i-1].y+2/3*(o.y1-s[i-1].y),u=o.x+2/3*(o.x1-o.x),h=o.y+2/3*(o.y1-o.y),d=o.x,f=o.y;A=[l-s[i-1].x,c-s[i-1].y,u-s[i-1].x,h-s[i-1].y,d-s[i-1].x,f-s[i-1].y],n[n.length-1].deltas.push(A);break;case"arc":n.push({deltas:[],abs:[],arc:!0}),Array.isArray(n[n.length-1].abs)&&n[n.length-1].abs.push(o)}}r=t?null:"stroke"===e?"stroke":"fill";for(var p=!1,w=0;w<n.length;w++)if(n[w].arc)for(var B=n[w].abs,y=0;y<B.length;y++){var v=B[y];"arc"===v.type?F.call(this,v.x,v.y,v.radius,v.startAngle,v.endAngle,v.counterclockwise,void 0,t,!p):L.call(this,v.x,v.y),p=!0}else if(!0===n[w].close)this.pdf.internal.out("h"),p=!1;else if(!0!==n[w].begin){var b=n[w].start.x,C=n[w].start.y;I.call(this,n[w].deltas,b,C),p=!0}r&&Q.call(this,r),t&&U.call(this)}},j=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,A=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-A;case"top":return e+t-A;case"hanging":return e+t-2*A;case"middle":return e+t/2-A;default:return e}},x=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};d.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var F=function(e,t,A,r,n,s,i,o,a){for(var l=k.call(this,A,r,n,s),c=0;c<l.length;c++){var u=l[c];0===c&&(a?E.call(this,u.x1+e,u.y1+t):L.call(this,u.x1+e,u.y1+t)),N.call(this,e,t,u.x2,u.y2,u.x3,u.y3,u.x4,u.y4)}o?U.call(this):Q.call(this,i)},Q=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},U=function(){this.pdf.clip(),this.pdf.discardPath()},E=function(e,t){this.pdf.internal.out(A(e)+" "+n(t)+" m")},S=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var A,r,n,s=this.pdf.getTextDimensions(e.text),i=j.call(this,e.y),l=x.call(this,i)-s.h,u=this.ctx.transform.applyToPoint(new o(e.x,i));if(this.autoPaging){var h=this.ctx.transform.decompose(),d=new c;d=(d=(d=d.multiply(h.translate)).multiply(h.skew)).multiply(h.scale);for(var f=this.ctx.transform.applyToRectangle(new a(e.x,i,s.w,s.h)),p=d.applyToRectangle(new a(e.x,l,s.w,s.h)),g=B.call(this,p),m=[],y=0;y<g.length;y+=1)-1===m.indexOf(g[y])&&m.push(g[y]);b(m);for(var C=m[0],F=m[m.length-1],Q=C;Q<F+1;Q++){this.pdf.setPage(Q);var U=1===Q?this.posY+this.margin[0]:this.margin[0],E=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],S=this.pdf.internal.pageSize.height-this.margin[2],L=S-this.margin[0],I=this.pdf.internal.pageSize.width-this.margin[1],N=I-this.margin[3],k=1===Q?0:E+(Q-2)*L;if(0!==this.ctx.clip_path.length){var H=this.path;A=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(A,this.posX+this.margin[3],-1*k+U),_.call(this,"fill",!0),this.path=H}var P=v([JSON.parse(JSON.stringify(p))],this.posX+this.margin[3],-k+U+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(r=this.pdf.internal.getFontSize(),this.pdf.setFontSize(r*e.scale),n=this.lineWidth,this.lineWidth=n*e.scale);var T="text"!==this.autoPaging;if(T||P.y+P.h<=S){if(T||P.y>=U&&P.x<=I){var O=T?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||I-P.x)[0],M=v([JSON.parse(JSON.stringify(f))],this.posX+this.margin[3],-k+U+this.ctx.prevPageLastElemOffset)[0],D=T&&(Q>C||Q<F)&&w.call(this);D&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],N,L,null).clip().discardPath()),this.pdf.text(O,M.x,M.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),D&&this.pdf.restoreGraphicsState()}}else P.y<S&&(this.ctx.prevPageLastElemOffset+=S-P.y);e.scale>=.01&&(this.pdf.setFontSize(r),this.lineWidth=n)}}else e.scale>=.01&&(r=this.pdf.internal.getFontSize(),this.pdf.setFontSize(r*e.scale),n=this.lineWidth,this.lineWidth=n*e.scale),this.pdf.text(e.text,u.x+this.posX,u.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(r),this.lineWidth=n)},L=function(e,t,r,s){r=r||0,s=s||0,this.pdf.internal.out(A(e+r)+" "+n(t+s)+" l")},I=function(e,t,A){return this.pdf.lines(e,t,A,null,null)},N=function(e,A,r,n,o,a,l,c){this.pdf.internal.out([t(s(r+e)),t(i(n+A)),t(s(o+e)),t(i(a+A)),t(s(l+e)),t(i(c+A)),"c"].join(" "))},k=function(e,t,A,r){for(var n=2*Math.PI,s=Math.PI/2;t>A;)t-=n;var i=Math.abs(A-t);i<n&&r&&(i=n-i);for(var o=[],a=r?-1:1,l=t;i>1e-5;){var c=l+a*Math.min(i,s);o.push(H.call(this,e,l,c)),i-=Math.abs(c-l),l=c}return o},H=function(e,t,A){var r=(A-t)/2,n=e*Math.cos(r),s=e*Math.sin(r),i=n,o=-s,a=i*i+o*o,l=a+i*n+o*s,c=4/3*(Math.sqrt(2*a*l)-l)/(i*s-o*n),u=i-c*o,h=o+c*i,d=u,f=-h,p=r+t,g=Math.cos(p),m=Math.sin(p);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:u*g-h*m,y2:u*m+h*g,x3:d*g-f*m,y3:d*m+f*g,x4:e*Math.cos(A),y4:e*Math.sin(A)}},P=function(e){return 180*e/Math.PI},T=function(e,t,A,r,n,s){var i=e+.5*(A-e),o=t+.5*(r-t),l=n+.5*(A-n),c=s+.5*(r-s),u=Math.min(e,n,i,l),h=Math.max(e,n,i,l),d=Math.min(t,s,o,c),f=Math.max(t,s,o,c);return new a(u,d,h-u,f-d)},O=function(e,t,A,r,n,s,i,o){var l,c,u,h,d,f,p,g,m,w,B,y,v,b,C=A-e,_=r-t,j=n-A,x=s-r,F=i-n,Q=o-s;for(c=0;c<41;c++)m=(p=(u=e+(l=c/40)*C)+l*((d=A+l*j)-u))+l*(d+l*(n+l*F-d)-p),w=(g=(h=t+l*_)+l*((f=r+l*x)-h))+l*(f+l*(s+l*Q-f)-g),0==c?(B=m,y=w,v=m,b=w):(B=Math.min(B,m),y=Math.min(y,w),v=Math.max(v,m),b=Math.max(b,w));return new a(Math.round(B),Math.round(y),Math.round(v-B),Math.round(b-y))},M=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,A=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==A&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=A)}}}(M.API),function(e){var t=function(e){var t,A,r,n,s,i,o,a,l,c;for(/[^\x00-\xFF]/.test(e),A=[],r=0,n=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;n>r;r+=4)0!==(s=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(i=(s=((s=((s=((s=(s-(c=s%85))/85)-(l=s%85))/85)-(a=s%85))/85)-(o=s%85))/85)%85,A.push(i+33,o+33,a+33,l+33,c+33)):A.push(122);return function(e,t){for(var A=t;A>0;A--)e.pop()}(A,t.length),String.fromCharCode.apply(String,A)+"~>"},A=function(e){var t,A,r,n,s,i=String,o="length",a=255,l="charCodeAt",c="slice",u="replace";for(e[c](-2),e=e[c](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),r=[],n=0,s=(e+=t="uuuuu"[c](e[o]%5||5))[o];s>n;n+=5)A=52200625*(e[l](n)-33)+614125*(e[l](n+1)-33)+7225*(e[l](n+2)-33)+85*(e[l](n+3)-33)+(e[l](n+4)-33),r.push(a&A>>24,a&A>>16,a&A>>8,a&A);return function(e,t){for(var A=t;A>0;A--)e.pop()}(r,t[o]),i.fromCharCode.apply(i,r)},r=function(e){return e.split("").map(function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)}).join("")+">"},s=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var A="",r=0;r<e.length;r+=2)A+=String.fromCharCode("0x"+(e[r]+e[r+1]));return A},i=function(e){for(var t=new Uint8Array(e.length),A=e.length;A--;)t[A]=e.charCodeAt(A);return(t=(0,n.zlibSync)(t)).reduce(function(e,t){return e+String.fromCharCode(t)},"")};e.processDataByFilters=function(e,n){var o=0,a=e||"",l=[];for("string"==typeof(n=n||[])&&(n=[n]),o=0;o<n.length;o+=1)switch(n[o]){case"ASCII85Decode":case"/ASCII85Decode":a=A(a),l.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":a=t(a),l.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":a=s(a),l.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":a=r(a),l.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":a=i(a),l.push("/FlateDecode");break;default:throw new Error('The filter: "'+n[o]+'" is not implemented')}return{data:a,reverseChain:l.reverse().join(" ")}}}(M.API),function(e){e.loadFile=function(e,t,A){return function(e,t,A){t=!1!==t,A="function"==typeof A?A:function(){};var r=void 0;try{r=function(e,t,A){var r=new XMLHttpRequest,n=0,s=function(e){var t=e.length,A=[],r=String.fromCharCode;for(n=0;n<t;n+=1)A.push(r(255&e.charCodeAt(n)));return A.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?A(s(this.responseText)):A(void 0)}),r.send(null),t&&200===r.status)return s(r.responseText)}(e,t,A)}catch(e){}return r}(e,t,A)},e.allowFsRead=void 0,e.loadImageFile=e.loadFile}(M.API),function(e){function t(){return(o.html2canvas?Promise.resolve(o.html2canvas):Promise.resolve().then(A.t.bind(A,"./node_modules/html2canvas/dist/html2canvas.js",23))).catch(function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))}).then(function(e){return e.default?e.default:e})}function n(){return(o.DOMPurify?Promise.resolve(o.DOMPurify):Promise.resolve().then(A.bind(A,"./node_modules/dompurify/dist/purify.es.mjs"))).catch(function(e){return Promise.reject(new Error("Could not load dompurify: "+e))}).then(function(e){return e.default?e.default:e})}var s=function(e){var t=(0,r.default)(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},i=function(e,t){var A=document.createElement(e);for(var r in t.className&&(A.className=t.className),t.innerHTML&&t.dompurify&&(A.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)A.style[r]=t.style[r];return A},a=function e(t,A){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),n=t.firstChild;n;n=n.nextSibling)!0!==A&&1===n.nodeType&&"SCRIPT"===n.nodeName||r.appendChild(e(n,A));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft},!0)),r},l=function e(t){var A=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),A);return(r=r.setProgress(1,e,1,[e])).set(t)};(l.prototype=Object.create(Promise.prototype)).constructor=l,l.convert=function(e,t){return e.__proto__=t||l.prototype,e},l.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},l.prototype.from=function(e,t){return this.then(function(){switch(t=t||function(e){switch(s(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e),t){case"string":return this.then(n).then(function(t){return this.set({src:i("div",{innerHTML:e,dompurify:t})})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}})},l.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},l.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=a(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},l.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then(function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},l.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then(function(e){var t=this.opt.jsPDF,A=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,n=Object.assign({async:!0,allowTaint:!0,scale:r,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=A,A)for(var s=0;s<A.length;++s){var i=A[s],o=i.src.find(function(e){return"truetype"===e.format});o&&t.addFont(o.url,i.ref.name,i.ref.style)}return n.windowHeight=n.windowHeight||0,n.windowHeight=0==n.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):n.windowHeight,t.context2d.save(!0),e(this.prop.container,n)}).then(function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},l.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e})},l.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},l.prototype.output=function(e,t,A){return"img"===(A=A||"pdf").toLowerCase()||"image"===A.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},l.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(e,t)})},l.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}})},l.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},l.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},l.prototype.set=function(e){if("object"!==s(e))return this;var t=Object.keys(e||{}).map(function(t){if(t in l.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}},this);return this.then(function(){return this.thenList(t)})},l.prototype.get=function(e,t){return this.then(function(){var A=e in l.template.prop?this.prop[e]:this.opt[e];return t?t(A):A})},l.prototype.setMargin=function(e){return this.then(function(){switch(s(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e}).then(this.setPageSize)},l.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then(function(){(e=e||M.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e})},l.prototype.setProgress=function(e,t,A,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=A&&(this.progress.n=A),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},l.prototype.updateProgress=function(e,t,A,r){return this.setProgress(e?this.progress.val+e:null,t||null,A?this.progress.n+A:null,r?this.progress.stack.concat(r):null)},l.prototype.then=function(e,t){var A=this;return this.thenCore(e,t,function(e,t){return A.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,function(t){return A.updateProgress(null,e),t}).then(e,t).then(function(e){return A.updateProgress(1),e})})},l.prototype.thenCore=function(e,t,A){A=A||Promise.prototype.then;var r=this;e&&(e=e.bind(r)),t&&(t=t.bind(r));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?r:l.convert(Object.assign({},r),Promise.prototype),s=A.call(n,e,t);return l.convert(s,r.__proto__)},l.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},l.prototype.thenList=function(e){var t=this;return e.forEach(function(e){t=t.thenCore(e)}),t},l.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return l.convert(t,this)},l.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},l.prototype.error=function(e){return this.then(function(){throw new Error(e)})},l.prototype.using=l.prototype.set,l.prototype.saveAs=l.prototype.save,l.prototype.export=l.prototype.output,l.prototype.run=l.prototype.then,M.getPageSize=function(e,t,A){if("object"===(0,r.default)(e)){var n=e;e=n.orientation,t=n.unit||t,A=n.format||A}t=t||"mm",A=A||"a4",e=(""+(e||"P")).toLowerCase();var s,i=(""+A).toLowerCase(),o={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],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":s=1;break;case"mm":s=72/25.4;break;case"cm":s=72/2.54;break;case"in":s=72;break;case"px":s=.75;break;case"pc":case"em":s=12;break;case"ex":s=6;break;default:throw"Invalid unit: "+t}var a,l=0,c=0;if(o.hasOwnProperty(i))l=o[i][1]/s,c=o[i][0]/s;else try{l=A[1],c=A[0]}catch(e){throw new Error("Invalid format: "+A)}if("p"===e||"portrait"===e)e="p",c>l&&(a=c,c=l,l=a);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",l>c&&(a=c,c=l,l=a)}return{width:c,height:l,unit:t,k:s,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(He):null;var A=new l(t);return t.worker?A:A.from(e).doCallback()}}(M.API),M.API.addJS=function(e){return ze=e,this.internal.events.subscribe("postPutResources",function(){Ve=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ve+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Ge=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+ze+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==Ve&&void 0!==Ge&&this.internal.out("/Names <</JavaScript "+Ve+" 0 R>>")}),this},function(e){var t;e.events.push(["postPutResources",function(){var e=this,A=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),n=0;n<r.length;n++){var s=r[n],i=A.exec(s);if(null!=i){var o=i[1];e.internal.newObjectDeferredBegin(o,!1)}e.internal.write(s)}if(this.outline.createNamedDestinations){var a=this.internal.pages.length,l=[];for(n=0;n<a;n++){var c=e.internal.newObject();l.push(c);var u=e.internal.getPageInfo(n+1);e.internal.write("<< /D["+u.objId+" 0 R /XYZ null null null]>> endobj")}var h=e.internal.newObject();for(e.internal.write("<< /Names [ "),n=0;n<l.length;n++)e.internal.write("(page_"+(n+1)+")"+l[n]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+h+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,A){var r={title:t,options:A,children:[]};return null==e&&(e=this.root),e.children.push(r),r},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var A=0;A<t.children.length;A++)this.genIds_r(t.children[A])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var A=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var n=t.children[r];this.objStart(n),this.line("/Title "+this.makeString(n.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),n.children.length>0&&(this.line("/First "+this.makeRef(n.children[0])),this.line("/Last "+this.makeRef(n.children[n.children.length-1])));var s=this.count=this.count_r({count:0},n);if(s>0&&this.line("/Count "+s),n.options&&n.options.pageNumber){var i=e.internal.getPageInfo(n.options.pageNumber);this.line("/Dest ["+i.objId+" 0 R /XYZ 0 "+A(0)+" 0]")}this.objEnd()}for(var o=0;o<t.children.length;o++)this.renderItems(t.children[o])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var A=0;A<t.children.length;A++)e.count++,this.count_r(e,t.children[A]);return e.count}}])}(M.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,A,r,n,s,i){var o,a=this.decode.DCT_DECODE,l=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=s||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,o=function(e){for(var A,r=256*e.charCodeAt(4)+e.charCodeAt(5),n=e.length,s={width:0,height:0,numcomponents:1},i=4;i<n;i+=2){if(i+=r,-1!==t.indexOf(e.charCodeAt(i+1))){A=256*e.charCodeAt(i+5)+e.charCodeAt(i+6),s={width:256*e.charCodeAt(i+7)+e.charCodeAt(i+8),height:A,numcomponents:e.charCodeAt(i+9)};break}r=256*e.charCodeAt(i+2)+e.charCodeAt(i+3)}return s}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e),o.numcomponents){case 1:i=this.color_spaces.DEVICE_GRAY;break;case 4:i=this.color_spaces.DEVICE_CMYK;break;case 3:i=this.color_spaces.DEVICE_RGB}l={data:e,width:o.width,height:o.height,colorSpace:i,bitsPerComponent:8,filter:a,index:A,alias:r}}return l}}(M.API),M.API.processPNG=function(e,t,A,r){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var o,a=(0,i.decode)(e,{checkCrc:!0}),l=a.width,c=a.height,u=a.channels,h=a.palette,d=a.depth;o=h&&1===u?function(e){for(var t=e.width,A=e.height,r=e.data,n=e.palette,i=e.depth,o=!1,a=[],l=[],c=void 0,u=!1,h=0,d=0;d<n.length;d++){var f=(0,s.default)(n[d],4),p=f[0],g=f[1],m=f[2],w=f[3];a.push(p,g,m),null!=w&&(0===w?(h++,l.length<1&&l.push(d)):w<255&&(u=!0))}if(u||h>1){o=!0,l=void 0;var B=t*A;c=new Uint8Array(B);for(var y=new DataView(r.buffer),v=0;v<B;v++){var b=ot(y,v,i),C=(0,s.default)(n[b],4)[3];c[v]=C}}else 0===h&&(l=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:o?8:void 0,colorBytes:r,alphaBytes:c,needSMask:o,palette:a,mask:l}}(a):2===u||4===u?function(e){for(var t=e.data,A=e.width,r=e.height,n=e.channels,s=e.depth,i=2===n?"DeviceGray":"DeviceRGB",o=n-1,a=A*r,l=o,c=a*l,u=1*a,h=Math.ceil(c*s/8),d=Math.ceil(u*s/8),f=new Uint8Array(h),p=new Uint8Array(d),g=new DataView(t.buffer),m=new DataView(f.buffer),w=new DataView(p.buffer),B=!1,y=0;y<a;y++){for(var v=y*n,b=0;b<l;b++)at(m,ot(g,v+b,s),y*l+b,s);var C=ot(g,v+l,s);C<(1<<s)-1&&(B=!0),at(w,C,1*y,s)}return{colorSpace:i,colorsPerPixel:o,sMaskBitsPerComponent:B?s:void 0,colorBytes:f,alphaBytes:p,needSMask:B}}(a):function(e){var t=e.data,A=1===e.channels?"DeviceGray":"DeviceRGB";return{colorSpace:A,colorsPerPixel:"DeviceGray"===A?1:3,colorBytes:t instanceof Uint16Array?function(e){for(var t=e.length,A=new Uint8Array(2*t),r=new DataView(A.buffer,A.byteOffset,A.byteLength),n=0;n<t;n++)r.setUint16(2*n,e[n],!1);return A}(t):t,needSMask:!1}}(a);var f,p,g,m=o,w=m.colorSpace,B=m.colorsPerPixel,y=m.sMaskBitsPerComponent,v=m.colorBytes,b=m.alphaBytes,C=m.needSMask,_=m.palette,j=m.mask,x=null;return r!==M.API.image_compression.NONE&&"function"==typeof n.zlibSync?(x=function(e){var t;switch(e){case M.API.image_compression.FAST:t=11;break;case M.API.image_compression.MEDIUM:t=13;break;case M.API.image_compression.SLOW:t=14;break;default:t=12}return t}(r),f=this.decode.FLATE_DECODE,p="/Predictor ".concat(x," /Colors ").concat(B," /BitsPerComponent ").concat(d," /Columns ").concat(l),e=$e(v,Math.ceil(l*B*d/8),B,d,r),C&&(g=$e(b,Math.ceil(l*y/8),1,y,r))):(f=void 0,p=void 0,e=v,C&&(g=b)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(g&&this.__addimage__.isArrayBuffer(g)||this.__addimage__.isArrayBufferView(g))&&(g=this.__addimage__.arrayBufferToBinaryString(g)),{alias:A,data:e,index:t,filter:f,decodeParameters:p,transparency:j,palette:_,sMask:g,predictor:x,width:l,height:c,bitsPerComponent:d,sMaskBitsPerComponent:y,colorSpace:w}}},function(e){e.processGIF89A=function(t,A,r,n){var s=new ct(t),i=s.width,o=s.height,a=[];s.decodeAndBlitFrameRGBA(0,a);var l={data:a,width:i,height:o},c=new ht(100).encode(l,100);return e.processJPEG.call(this,c,A,r,n)},e.processGIF87A=e.processGIF89A}(M.API),dt.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var A=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:n,green:r,blue:A,quad:s}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},dt.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){l.log("bit decode error:"+e)}},dt.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),A=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<t;n++)for(var s=this.datav.getUint8(this.pos++,!0),i=r*this.width*4+8*n*4,o=0;o<8&&8*n+o<this.width;o++){var a=this.palette[s>>7-o&1];this.data[i+4*o]=a.blue,this.data[i+4*o+1]=a.green,this.data[i+4*o+2]=a.red,this.data[i+4*o+3]=255}0!==A&&(this.pos+=4-A)}},dt.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,A=this.height-1;A>=0;A--){for(var r=this.bottom_up?A:this.height-1-A,n=0;n<e;n++){var s=this.datav.getUint8(this.pos++,!0),i=r*this.width*4+2*n*4,o=s>>4,a=15&s,l=this.palette[o];if(this.data[i]=l.blue,this.data[i+1]=l.green,this.data[i+2]=l.red,this.data[i+3]=255,2*n+1>=this.width)break;l=this.palette[a],this.data[i+4]=l.blue,this.data[i+4+1]=l.green,this.data[i+4+2]=l.red,this.data[i+4+3]=255}0!==t&&(this.pos+=4-t)}},dt.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var A=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),s=A*this.width*4+4*r;if(n<this.palette.length){var i=this.palette[n];this.data[s]=i.red,this.data[s+1]=i.green,this.data[s+2]=i.blue,this.data[s+3]=255}else this.data[s]=255,this.data[s+1]=255,this.data[s+2]=255,this.data[s+3]=255}0!==e&&(this.pos+=4-e)}},dt.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),A=this.height-1;A>=0;A--){for(var r=this.bottom_up?A:this.height-1-A,n=0;n<this.width;n++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var i=(s&t)/t*255|0,o=(s>>5&t)/t*255|0,a=(s>>10&t)/t*255|0,l=s>>15?255:0,c=r*this.width*4+4*n;this.data[c]=a,this.data[c+1]=o,this.data[c+2]=i,this.data[c+3]=l}this.pos+=e}},dt.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),A=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,s=0;s<this.width;s++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(i&t)/t*255|0,a=(i>>5&A)/A*255|0,l=(i>>11)/t*255|0,c=n*this.width*4+4*s;this.data[c]=l,this.data[c+1]=a,this.data[c+2]=o,this.data[c+3]=255}this.pos+=e}},dt.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,A=0;A<this.width;A++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),i=t*this.width*4+4*A;this.data[i]=s,this.data[i+1]=n,this.data[i+2]=r,this.data[i+3]=255}this.pos+=this.width%4}},dt.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,A=0;A<this.width;A++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*A;this.data[o]=s,this.data[o+1]=n,this.data[o+2]=r,this.data[o+3]=i}},dt.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,A,r,n){var s=new dt(t,!1),i=s.width,o=s.height,a={data:s.getData(),width:i,height:o},l=new ht(100).encode(a,100);return e.processJPEG.call(this,l,A,r,n)}}(M.API),ft.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,A,r,n){var s=new ft(t),i=s.width,o=s.height,a={data:s.getData(),width:i,height:o},l=new ht(100).encode(a,100);return e.processJPEG.call(this,l,A,r,n)}}(M.API),M.API.processRGBA=function(e,t,A){for(var r=e.data,n=r.length,s=new Uint8Array(n/4*3),i=new Uint8Array(n/4),o=0,a=0,l=0;l<n;l+=4){var c=r[l],u=r[l+1],h=r[l+2],d=r[l+3];s[o++]=c,s[o++]=u,s[o++]=h,i[a++]=d}var f=this.__addimage__.arrayBufferToBinaryString(s);return{alpha:this.__addimage__.arrayBufferToBinaryString(i),data:f,index:t,alias:A,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},M.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},qe=M.API,We=qe.getCharWidthsArray=function(e,t){var A,n,s=(t=t||{}).font||this.internal.getFont(),i=t.fontSize||this.internal.getFontSize(),o=t.charSpace||this.internal.getCharSpace(),a=t.widths?t.widths:s.metadata.Unicode.widths,l=a.fof?a.fof:1,c=t.kerning?t.kerning:s.metadata.Unicode.kerning,u=c.fof?c.fof:1,h=!1!==t.doKerning,d=0,f=e.length,p=0,g=a[0]||l,m=[];for(A=0;A<f;A++)n=e.charCodeAt(A),"function"==typeof s.metadata.widthOfString?m.push((s.metadata.widthOfGlyph(s.metadata.characterToGlyph(n))+o*(1e3/i)||0)/1e3):(d=h&&"object"===(0,r.default)(c[n])&&!isNaN(parseInt(c[n][p],10))?c[n][p]/u:0,m.push((a[n]||g)/l+d)),p=n;return m},Xe=qe.getStringUnitWidth=function(e,t){var A=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),n=t.charSpace||this.internal.getCharSpace();return qe.processArabic&&(e=qe.processArabic(e)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,A,n)/A:We.apply(this,arguments).reduce(function(e,t){return e+t},0)},Ye=function(e,t,A,r){for(var n=[],s=0,i=e.length,o=0;s!==i&&o+t[s]<A;)o+=t[s],s++;n.push(e.slice(0,s));var a=s;for(o=0;s!==i;)o+t[s]>r&&(n.push(e.slice(a,s)),o=0,a=s),o+=t[s],s++;return a!==s&&n.push(e.slice(a,s)),n},Je=function(e,t,A){A||(A={});var r,n,s,i,o,a,l,c=[],u=[c],h=A.textIndent||0,d=0,f=0,p=e.split(" "),g=We.apply(this,[" ",A])[0];if(a=-1===A.lineIndent?p[0].length+2:A.lineIndent||0){var m=Array(a).join(" "),w=[];p.map(function(e){(e=e.split(/\s*\n/)).length>1?w=w.concat(e.map(function(e,t){return(t&&e.length?"\n":"")+e})):w.push(e[0])}),p=w,a=Xe.apply(this,[m,A])}for(s=0,i=p.length;s<i;s++){var B=0;if(r=p[s],a&&"\n"==r[0]&&(r=r.substr(1),B=1),h+d+(f=(n=We.apply(this,[r,A])).reduce(function(e,t){return e+t},0))>t||B){if(f>t){for(o=Ye.apply(this,[r,n,t-(h+d),t]),c.push(o.shift()),c=[o.pop()];o.length;)u.push([o.shift()]);f=n.slice(r.length-(c[0]?c[0].length:0)).reduce(function(e,t){return e+t},0)}else c=[r];u.push(c),h=f+a,d=g}else c.push(r),h+=d+f,d=g}return l=a?function(e,t){return(t?m:"")+e.join(" ")}:function(e){return e.join(" ")},u.map(l)},qe.splitTextToSize=function(e,t,A){var r,n=(A=A||{}).fontSize||this.internal.getFontSize(),s=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle),A="Unicode";return t.metadata[A]?{widths:t.metadata[A].widths||{0:1},kerning:t.metadata[A].kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,A);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var i=1*this.internal.scaleFactor*t/n;s.textIndent=A.textIndent?1*A.textIndent*this.internal.scaleFactor/n:0,s.lineIndent=A.lineIndent;var o,a,l=[];for(o=0,a=r.length;o<a;o++)l=l.concat(Je.apply(this,[r[o],i,s]));return l},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",A="klmnopqrstuvwxyz",n={},s={},i=0;i<16;i++)n[A[i]]=t[i],s[t[i]]=A[i];var o=function(e){return"0x"+parseInt(e,10).toString(16)},a=e.__fontmetrics__.compress=function(e){var t,A,n,i,l=["{"];for(var c in e){if(t=e[c],isNaN(parseInt(c,10))?A="'"+c+"'":(c=parseInt(c,10),A=(A=o(c).slice(2)).slice(0,-1)+s[A.slice(-1)]),"number"==typeof t)t<0?(n=o(t).slice(3),i="-"):(n=o(t).slice(2),i=""),n=i+n.slice(0,-1)+s[n.slice(-1)];else{if("object"!==(0,r.default)(t))throw new Error("Don't know what to do with value type "+(0,r.default)(t)+".");n=a(t)}l.push(A+n)}return l.push("}"),l.join("")},l=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,A,r,s,i={},o=1,a=i,l=[],c="",u="",h=e.length-1,d=1;d<h;d+=1)"'"==(s=e[d])?t?(r=t.join(""),t=void 0):t=[]:t?t.push(s):"{"==s?(l.push([a,r]),a={},r=void 0):"}"==s?((A=l.pop())[0][A[1]]=a,r=void 0,a=A[0]):"-"==s?o=-1:void 0===r?n.hasOwnProperty(s)?(c+=n[s],r=parseInt(c,16)*o,o=1,c=""):c+=s:n.hasOwnProperty(s)?(u+=n[s],a[r]=parseInt(u,16)*o,o=1,r=void 0,u=""):u+=s;return i},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},h={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,A=h.Unicode[t.postScriptName];A&&(t.metadata.Unicode={},t.metadata.Unicode.widths=A.widths,t.metadata.Unicode.kerning=A.kerning);var r=u.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(M.API),function(e){var t=function(e){for(var t=e.length,A=new Uint8Array(t),r=0;r<t;r++)A[r]=e.charCodeAt(r);return A};e.API.events.push(["addFont",function(A){var r=void 0,n=A.font,s=A.instance;if(!n.isStandardFont){if(void 0===s)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");if("string"!=typeof(r=!1===s.existsFileInVFS(n.postScriptName)?s.loadFile(n.postScriptName):s.getFileFromVFS(n.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");!function(A,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(p(r)),A.metadata=e.API.TTFFont.open(r),A.metadata.Unicode=A.metadata.Unicode||{encoding:{},kerning:{},widths:[]},A.metadata.glyIdsUsed=[0]}(n,r)}}])}(M),M.API.addSvgAsImage=function(e,t,r,n,s,i,a,c){if(isNaN(t)||isNaN(r))throw l.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(n)||isNaN(s))throw l.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=n,u.height=s;var h=u.getContext("2d");h.fillStyle="#fff",h.fillRect(0,0,u.width,u.height);var d={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return(o.canvg?Promise.resolve(o.canvg):Promise.resolve().then(A.bind(A,"./node_modules/canvg/lib/index.es.js"))).catch(function(e){return Promise.reject(new Error("Could not load canvg: "+e))}).then(function(e){return e.default?e.default:e}).then(function(t){return t.fromString(h,e,d)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(e){return e.render(d)}).then(function(){f.addImage(u.toDataURL("image/jpeg",1),t,r,n,s,a,c)})},M.API.putTotalPages=function(e){var t,A=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),A=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),A=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var n=0;n<this.internal.pages[r].length;n++)this.internal.pages[r][n]=this.internal.pages[r][n].replace(t,A);return this},M.API.viewerPreferences=function(e,t){var A;e=e||{},t=t||!1;var n,s,i,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(o),l=[],c=0,u=0,h=0;function d(e,t){var A,r=!1;for(A=0;A<e.length;A+=1)e[A]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),A=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var f=a.length;for(h=0;h<f;h+=1)A[a[h]].value=A[a[h]].defaultValue,A[a[h]].explicitSet=!1}if("object"===(0,r.default)(e))for(s in e)if(i=e[s],d(a,s)&&void 0!==i){if("boolean"===A[s].type&&"boolean"==typeof i)A[s].value=i;else if("name"===A[s].type&&d(A[s].valueSet,i))A[s].value=i;else if("integer"===A[s].type&&Number.isInteger(i))A[s].value=i;else if("array"===A[s].type){for(c=0;c<i.length;c+=1)if(n=!0,1===i[c].length&&"number"==typeof i[c][0])l.push(String(i[c]-1));else if(i[c].length>1){for(u=0;u<i[c].length;u+=1)"number"!=typeof i[c][u]&&(n=!1);!0===n&&l.push([i[c][0]-1,i[c][1]-1].join(" "))}A[s].value="["+l.join(" ")+"]"}else A[s].value=A[s].defaultValue;A[s].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var e,t=[];for(e in A)!0===A[e].explicitSet&&("name"===A[e].type?t.push("/"+e+" /"+A[e].value):t.push("/"+e+" "+A[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=A,this},function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),A=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),n=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),s=unescape(encodeURIComponent("</x:xmpmeta>")),i=A.length+r.length+n.length+t.length+s.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+i+" >>"),this.internal.write("stream"),this.internal.write(t+A+r+n+s),this.internal.write("endstream"),this.internal.write("endobj")},A=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",A),this.internal.events.subscribe("postPutResources",t)),this}}(M.API),function(e){var t=e.API,A=t.pdfEscape16=function(e,t){for(var A,r=t.metadata.Unicode.widths,n=["","0","00","000","0000"],s=[""],i=0,o=e.length;i<o;++i){if(A=t.metadata.characterToGlyph(e.charCodeAt(i)),t.metadata.glyIdsUsed.push(A),t.metadata.toUnicode[A]=e.charCodeAt(i),-1==r.indexOf(A)&&(r.push(A),r.push([parseInt(t.metadata.widthOfGlyph(A),10)])),"0"==A)return s.join("");A=A.toString(16),s.push(n[4-A.length],A)}return s.join("")},r=function(e){var t,A,r,n,s,i,o;for(s="/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><ffff>\nendcodespacerange",r=[],i=0,o=(A=Object.keys(e).sort(function(e,t){return e-t})).length;i<o;i++)t=A[i],r.length>=100&&(s+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(n=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+n+">"));return r.length&&(s+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),s+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var A=t.font,n=t.out,s=t.newObject,i=t.putStream;if(A.metadata instanceof e.API.TTFFont&&"Identity-H"===A.encoding){for(var o=A.metadata.Unicode.widths,a=A.metadata.subset.encode(A.metadata.glyIdsUsed,1),l="",c=0;c<a.length;c++)l+=String.fromCharCode(a[c]);var u=s();i({data:l,addLength1:!0,objectId:u}),n("endobj");var h=s();i({data:r(A.metadata.toUnicode),addLength1:!0,objectId:h}),n("endobj");var d=s();n("<<"),n("/Type /FontDescriptor"),n("/FontName /"+N(A.fontName)),n("/FontFile2 "+u+" 0 R"),n("/FontBBox "+e.API.PDFObject.convert(A.metadata.bbox)),n("/Flags "+A.metadata.flags),n("/StemV "+A.metadata.stemV),n("/ItalicAngle "+A.metadata.italicAngle),n("/Ascent "+A.metadata.ascender),n("/Descent "+A.metadata.decender),n("/CapHeight "+A.metadata.capHeight),n(">>"),n("endobj");var f=s();n("<<"),n("/Type /Font"),n("/BaseFont /"+N(A.fontName)),n("/FontDescriptor "+d+" 0 R"),n("/W "+e.API.PDFObject.convert(o)),n("/CIDToGIDMap /Identity"),n("/DW 1000"),n("/Subtype /CIDFontType2"),n("/CIDSystemInfo"),n("<<"),n("/Supplement 0"),n("/Registry (Adobe)"),n("/Ordering ("+A.encoding+")"),n(">>"),n(">>"),n("endobj"),A.objectNumber=s(),n("<<"),n("/Type /Font"),n("/Subtype /Type0"),n("/ToUnicode "+h+" 0 R"),n("/BaseFont /"+N(A.fontName)),n("/Encoding /"+A.encoding),n("/DescendantFonts ["+f+" 0 R]"),n(">>"),n("endobj"),A.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var A=t.font,n=t.out,s=t.newObject,i=t.putStream;if(A.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===A.encoding){for(var o=A.metadata.rawData,a="",l=0;l<o.length;l++)a+=String.fromCharCode(o[l]);var c=s();i({data:a,addLength1:!0,objectId:c}),n("endobj");var u=s();i({data:r(A.metadata.toUnicode),addLength1:!0,objectId:u}),n("endobj");var h=s();n("<<"),n("/Descent "+A.metadata.decender),n("/CapHeight "+A.metadata.capHeight),n("/StemV "+A.metadata.stemV),n("/Type /FontDescriptor"),n("/FontFile2 "+c+" 0 R"),n("/Flags 96"),n("/FontBBox "+e.API.PDFObject.convert(A.metadata.bbox)),n("/FontName /"+N(A.fontName)),n("/ItalicAngle "+A.metadata.italicAngle),n("/Ascent "+A.metadata.ascender),n(">>"),n("endobj"),A.objectNumber=s();for(var d=0;d<A.metadata.hmtx.widths.length;d++)A.metadata.hmtx.widths[d]=parseInt(A.metadata.hmtx.widths[d]*(1e3/A.metadata.head.unitsPerEm));n("<</Subtype/TrueType/Type/Font/ToUnicode "+u+" 0 R/BaseFont/"+N(A.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+A.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(A.metadata.hmtx.widths)+">>"),n("endobj"),A.isAlreadyPutted=!0}}(t)}]);var n=function(e){var t,r=e.text||"",n=e.x,s=e.y,i=e.options||{},o=e.mutex||{},a=o.pdfEscape,l=o.activeFontKey,c=o.fonts,u=l,h="",d=0,f="",p=c[u].encoding;if("Identity-H"!==c[u].encoding)return{text:r,x:n,y:s,options:i,mutex:o};for(f=r,u=l,Array.isArray(r)&&(f=r[0]),d=0;d<f.length;d+=1)c[u].metadata.hasOwnProperty("cmap")&&(t=c[u].metadata.cmap.unicode.codeMap[f[d].charCodeAt(0)]),t||f[d].charCodeAt(0)<256&&c[u].metadata.hasOwnProperty("Unicode")?h+=f[d]:h+="";var g="";return parseInt(u.slice(1))<14||"WinAnsiEncoding"===p?g=a(h,u).split("").map(function(e){return e.charCodeAt(0).toString(16)}).join(""):"Identity-H"===p&&(g=A(h,c[u])),o.isHex=!0,{text:g,x:n,y:s,options:i,mutex:o}};t.events.push(["postProcessText",function(e){var t=e.text||"",A=[],r={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var s=0;for(s=0;s<t.length;s+=1)Array.isArray(t[s])&&3===t[s].length?A.push([n(Object.assign({},r,{text:t[s][0]})).text,t[s][1],t[s][2]]):A.push(n(Object.assign({},r,{text:t[s]})).text);e.text=A}else e.text=n(Object.assign({},r,{text:t})).text}])}(M),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,A){return t.call(this),this.internal.vFS[e]=A,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(M.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var A,r,n,s,i,o,a,l=t,c=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],u=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},f=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],p=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),g=!1,m=0;this.__bidiEngine__={};var w=function(e){var t=e.charCodeAt(),A=t>>8,r=d[A];return void 0!==r?l[256*r+(255&t)]:252===A||253===A?"AL":p.test(A)?"L":8===A?"R":"N"},B=function(e){for(var t,A=0;A<e.length;A++){if("L"===(t=w(e.charAt(A))))return!1;if("R"===t)return!0}return!1},y=function(e,t,i,o){var a,l,c,u,h=t[o];switch(h){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":g=!1;break;case"N":case"AN":break;case"EN":g&&(h="AN");break;case"AL":g=!0,h="R";break;case"WS":case"BN":h="N";break;case"CS":o<1||o+1>=t.length||"EN"!==(a=i[o-1])&&"AN"!==a||"EN"!==(l=t[o+1])&&"AN"!==l?h="N":g&&(l="AN"),h=l===a?l:"N";break;case"ES":h="EN"===(a=o>0?i[o-1]:"B")&&o+1<t.length&&"EN"===t[o+1]?"EN":"N";break;case"ET":if(o>0&&"EN"===i[o-1]){h="EN";break}if(g){h="N";break}for(c=o+1,u=t.length;c<u&&"ET"===t[c];)c++;h=c<u&&"EN"===t[c]?"EN":"N";break;case"NSM":if(n&&!s){for(u=t.length,c=o+1;c<u&&"NSM"===t[c];)c++;if(c<u){var d=e[o],f=d>=1425&&d<=2303||64286===d;if(a=t[c],f&&("R"===a||"AL"===a)){h="R";break}}}h=o<1||"B"===(a=t[o-1])?"N":i[o-1];break;case"B":g=!1,A=!0,h=m;break;case"S":r=!0,h="N"}return h},v=function(e,t,A){var r=e.split("");return A&&b(r,A,{hiLevel:m}),r.reverse(),t&&t.reverse(),r.join("")},b=function(e,t,n){var s,i,o,a,l,d=-1,f=e.length,p=0,B=[],v=m?u:c,b=[];for(g=!1,A=!1,r=!1,i=0;i<f;i++)b[i]=w(e[i]);for(o=0;o<f;o++){if(l=p,B[o]=y(e,b,B,o),s=240&(p=v[l][h[B[o]]]),p&=15,t[o]=a=v[p][5],s>0)if(16===s){for(i=d;i<o;i++)t[i]=1;d=-1}else d=-1;if(v[p][6])-1===d&&(d=o);else if(d>-1){for(i=d;i<o;i++)t[i]=a;d=-1}"B"===b[o]&&(t[o]=0),n.hiLevel|=a}r&&function(e,t,A){for(var r=0;r<A;r++)if("S"===e[r]){t[r]=m;for(var n=r-1;n>=0&&"WS"===e[n];n--)t[n]=m}}(b,t,f)},C=function(e,t,r,n,s){if(!(s.hiLevel<e)){if(1===e&&1===m&&!A)return t.reverse(),void(r&&r.reverse());for(var i,o,a,l,c=t.length,u=0;u<c;){if(n[u]>=e){for(a=u+1;a<c&&n[a]>=e;)a++;for(l=u,o=a-1;l<o;l++,o--)i=t[l],t[l]=t[o],t[o]=i,r&&(i=r[l],r[l]=r[o],r[o]=i);u=a}u++}}},_=function(e,t,A){var r=e.split(""),n={hiLevel:m};return A||(A=[]),b(r,A,n),function(e,t,A){if(0!==A.hiLevel&&a)for(var r,n=0;n<e.length;n++)1===t[n]&&(r=f.indexOf(e[n]))>=0&&(e[n]=f[r+1])}(r,A,n),C(2,r,t,A,n),C(1,r,t,A,n),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,A){if(function(e,t){if(t)for(var A=0;A<e.length;A++)t[A]=A;void 0===s&&(s=B(e)),void 0===o&&(o=B(e))}(e,t),n||!i||o)if(n&&i&&s^o)m=s?1:0,e=v(e,t,A);else if(!n&&i&&o)m=s?1:0,e=_(e,t,A),e=v(e,t);else if(!n||s||i||o){if(n&&!i&&s^o)e=v(e,t),s?(m=0,e=_(e,t,A)):(m=1,e=_(e,t,A),e=v(e,t));else if(n&&s&&!i&&o)m=1,e=_(e,t,A),e=v(e,t);else if(!n&&!i&&s^o){var r=a;s?(m=1,e=_(e,t,A),m=0,a=!1,e=_(e,t,A),a=r):(m=0,e=_(e,t,A),e=v(e,t),m=1,a=!1,e=_(e,t,A),a=r,e=v(e,t))}}else m=0,e=_(e,t,A);else m=s?1:0,e=_(e,t,A);return e},this.__bidiEngine__.setOptions=function(e){e&&(n=e.isInputVisual,i=e.isOutputVisual,s=e.isInputRtl,o=e.isOutputRtl,a=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],A=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text;e.x,e.y;var r=e.options||{};e.mutex,r.lang;var n=[];if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,A.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var s=0;for(n=[],s=0;s<t.length;s+=1)"[object Array]"===Object.prototype.toString.call(t[s])?n.push([A.doBidiReorder(t[s][0]),t[s][1],t[s][2]]):n.push([A.doBidiReorder(t[s])]);e.text=n}else e.text=A.doBidiReorder(t);A.setOptions({isInputVisual:!0})}])}(M),M.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new gt(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new kt(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new mt(this.contents),this.head=new yt(this),this.name=new Ft(this),this.cmap=new bt(this),this.toUnicode={},this.hhea=new Ct(this),this.maxp=new Qt(this),this.hmtx=new Ut(this),this.post=new jt(this),this.os2=new _t(this),this.loca=new Nt(this),this.glyf=new St(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,A,r,n;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,A,r,n;for(n=[],t=0,A=(r=this.bbox).length;t<A;t++)e=r[t],n.push(Math.round(e*this.scaleFactor));return n}.call(this),this.stemV=0,this.post.exists?(A=255&(r=this.post.italic_angle),32768&(t=r>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+A)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(n=this.familyClass)||2===n||3===n||4===n||5===n||7===n,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,A){var r,n,s,i;for(s=0,n=0,i=(e=""+e).length;0<=i?n<i:n>i;n=0<=i?++n:--n)r=e.charCodeAt(n),s+=this.widthOfGlyph(this.characterToGlyph(r))+A*(1e3/t)||0;return s*(t/1e3)},e.prototype.lineHeight=function(e,t){var A;return null==t&&(t=!1),A=t?this.lineGap:0,(this.ascender+A-this.decender)/1e3*e},e}();var pt,gt=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,A;for(A=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)A[t]=String.fromCharCode(this.readByte());return A.join("")},e.prototype.writeString=function(e){var t,A,r;for(r=[],t=0,A=e.length;0<=A?t<A:t>A;t=0<=A?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,A,r,n,s,i,o;return e=this.readByte(),t=this.readByte(),A=this.readByte(),r=this.readByte(),n=this.readByte(),s=this.readByte(),i=this.readByte(),o=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^A)+4294967296*(255^r)+16777216*(255^n)+65536*(255^s)+256*(255^i)+(255^o)+1):72057594037927940*e+281474976710656*t+1099511627776*A+4294967296*r+16777216*n+65536*s+256*i+o},e.prototype.writeLongLong=function(e){var t,A;return t=Math.floor(e/4294967296),A=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(A>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,A;for(t=[],A=0;0<=e?A<e:A>e;A=0<=e?++A:--A)t.push(this.readByte());return t},e.prototype.write=function(e){var t,A,r,n;for(n=[],A=0,r=e.length;A<r;A++)t=e[A],n.push(this.writeByte(t));return n},e}(),mt=function(){var e;function t(e){var t,A,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},A=0,r=this.tableCount;0<=r?A<r:A>r;A=0<=r?++A:--A)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var A,r,n,s,i,o,a,l,c,u,h,d,f;for(f in h=Object.keys(t).length,o=Math.log(2),c=16*Math.floor(Math.log(h)/o),s=Math.floor(c/o),l=16*h-c,(r=new gt).writeInt(this.scalarType),r.writeShort(h),r.writeShort(c),r.writeShort(s),r.writeShort(l),n=16*h,a=r.pos+n,i=null,d=[],t)for(u=t[f],r.writeString(f),r.writeInt(e(u)),r.writeInt(a),r.writeInt(u.length),d=d.concat(u),"head"===f&&(i=a),a+=u.length;a%4;)d.push(0),a++;return r.write(d),A=2981146554-e(r.data),r.pos=i+8,r.writeUInt32(A),r.data},e=function(e){var t,A,r,n;for(e=Et.call(e);e.length%4;)e.push(0);for(r=new gt(e),A=0,t=0,n=e.length;t<n;t=t+=4)A+=r.readUInt32();return 4294967295&A},t}(),wt={}.hasOwnProperty,Bt=function(e,t){for(var A in t)wt.call(t,A)&&(e[A]=t[A]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};pt=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var yt=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bt(e,pt),e.prototype.tag="head",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},e.prototype.encode=function(e){var t;return(t=new gt).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},e}(),vt=function(){function e(e,t){var A,r,n,s,i,o,a,l,c,u,h,d,f,p,g,m,w;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),c=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(o=0;o<256;++o)this.codeMap[o]=e.readByte();break;case 4:for(h=e.readUInt16(),u=h/2,e.pos+=6,n=function(){var t,A;for(A=[],o=t=0;0<=u?t<u:t>u;o=0<=u?++t:--t)A.push(e.readUInt16());return A}(),e.pos+=2,f=function(){var t,A;for(A=[],o=t=0;0<=u?t<u:t>u;o=0<=u?++t:--t)A.push(e.readUInt16());return A}(),a=function(){var t,A;for(A=[],o=t=0;0<=u?t<u:t>u;o=0<=u?++t:--t)A.push(e.readUInt16());return A}(),l=function(){var t,A;for(A=[],o=t=0;0<=u?t<u:t>u;o=0<=u?++t:--t)A.push(e.readUInt16());return A}(),r=(this.length-e.pos+this.offset)/2,i=function(){var t,A;for(A=[],o=t=0;0<=r?t<r:t>r;o=0<=r?++t:--t)A.push(e.readUInt16());return A}(),o=g=0,w=n.length;g<w;o=++g)for(p=n[o],A=m=d=f[o];d<=p?m<=p:m>=p;A=d<=p?++m:--m)0===l[o]?s=A+a[o]:0!==(s=i[l[o]/2+(A-d)-(u-o)]||0)&&(s+=a[o]),this.codeMap[A]=65535&s}e.pos=c}return e.encode=function(e,t){var A,r,n,s,i,o,a,l,c,u,h,d,f,p,g,m,w,B,y,v,b,C,_,j,x,F,Q,U,E,S,L,I,N,k,H,P,T,O,M,D,R,K,V,G,z,q;switch(U=new gt,s=Object.keys(e).sort(function(e,t){return e-t}),t){case"macroman":for(f=0,p=function(){var e=[];for(d=0;d<256;++d)e.push(0);return e}(),m={0:0},n={},E=0,N=s.length;E<N;E++)null==m[V=e[r=s[E]]]&&(m[V]=++f),n[r]={old:e[r],new:m[e[r]]},p[r]=m[e[r]];return U.writeUInt16(1),U.writeUInt16(0),U.writeUInt32(12),U.writeUInt16(0),U.writeUInt16(262),U.writeUInt16(0),U.write(p),{charMap:n,subtable:U.data,maxGlyphID:f+1};case"unicode":for(F=[],c=[],w=0,m={},A={},g=a=null,S=0,k=s.length;S<k;S++)null==m[y=e[r=s[S]]]&&(m[y]=++w),A[r]={old:y,new:m[y]},i=m[y]-r,null!=g&&i===a||(g&&c.push(g),F.push(r),a=i),g=r;for(g&&c.push(g),c.push(65535),F.push(65535),j=2*(_=F.length),C=2*Math.pow(Math.log(_)/Math.LN2,2),u=Math.log(C/2)/Math.LN2,b=2*_-C,o=[],v=[],h=[],d=L=0,H=F.length;L<H;d=++L){if(x=F[d],l=c[d],65535===x){o.push(0),v.push(0);break}if(x-(Q=A[x].new)>=32768)for(o.push(0),v.push(2*(h.length+_-d)),r=I=x;x<=l?I<=l:I>=l;r=x<=l?++I:--I)h.push(A[r].new);else o.push(Q-x),v.push(0)}for(U.writeUInt16(3),U.writeUInt16(1),U.writeUInt32(12),U.writeUInt16(4),U.writeUInt16(16+8*_+2*h.length),U.writeUInt16(0),U.writeUInt16(j),U.writeUInt16(C),U.writeUInt16(u),U.writeUInt16(b),R=0,P=c.length;R<P;R++)r=c[R],U.writeUInt16(r);for(U.writeUInt16(0),K=0,T=F.length;K<T;K++)r=F[K],U.writeUInt16(r);for(G=0,O=o.length;G<O;G++)i=o[G],U.writeUInt16(i);for(z=0,M=v.length;z<M;z++)B=v[z],U.writeUInt16(B);for(q=0,D=h.length;q<D;q++)f=h[q],U.writeUInt16(f);return{charMap:A,subtable:U.data,maxGlyphID:w+1}}},e}(),bt=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bt(e,pt),e.prototype.tag="cmap",e.prototype.parse=function(e){var t,A,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,A=0;0<=r?A<r:A>r;A=0<=r?++A:--A)t=new vt(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},e.encode=function(e,t){var A,r;return null==t&&(t="macroman"),A=vt.encode(e,t),(r=new gt).writeUInt16(0),r.writeUInt16(1),A.table=r.data.concat(A.subtable),A},e}(),Ct=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bt(e,pt),e.prototype.tag="hhea",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},e}(),_t=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bt(e,pt),e.prototype.tag="OS/2",e.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,A;for(A=[],t=0;t<10;++t)A.push(e.readByte());return A}(),this.charRange=function(){var t,A;for(A=[],t=0;t<4;++t)A.push(e.readInt());return A}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,A;for(A=[],t=0;t<2;t=++t)A.push(e.readInt());return A}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},e}(),jt=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bt(e,pt),e.prototype.tag="post",e.prototype.parse=function(e){var t,A,r;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var n;for(A=e.readUInt16(),this.glyphNameIndex=[],n=0;0<=A?n<A:n>A;n=0<=A?++n:--n)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return A=e.readUInt16(),this.offsets=e.read(A);case 262144:return this.map=function(){var t,A,r;for(r=[],n=t=0,A=this.file.maxp.numGlyphs;0<=A?t<A:t>A;n=0<=A?++t:--t)r.push(e.readUInt32());return r}.call(this)}},e}(),xt=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},Ft=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bt(e,pt),e.prototype.tag="name",e.prototype.parse=function(e){var t,A,r,n,s,i,o,a,l,c,u;for(e.pos=this.offset,e.readShort(),t=e.readShort(),i=e.readShort(),A=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)A.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+i+e.readShort()});for(o={},n=l=0,c=A.length;l<c;n=++l)r=A[n],e.pos=r.offset,a=e.readString(r.length),s=new xt(a,r),null==o[u=r.nameID]&&(o[u]=[]),o[r.nameID].push(s);this.strings=o,this.copyright=o[0],this.fontFamily=o[1],this.fontSubfamily=o[2],this.uniqueSubfamily=o[3],this.fontName=o[4],this.version=o[5];try{this.postscriptName=o[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=o[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=o[7],this.manufacturer=o[8],this.designer=o[9],this.description=o[10],this.vendorUrl=o[11],this.designerUrl=o[12],this.license=o[13],this.licenseUrl=o[14],this.preferredFamily=o[15],this.preferredSubfamily=o[17],this.compatibleFull=o[18],this.sampleText=o[19]},e}(),Qt=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bt(e,pt),e.prototype.tag="maxp",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},e}(),Ut=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bt(e,pt),e.prototype.tag="hmtx",e.prototype.parse=function(e){var t,A,r,n,s,i,o;for(e.pos=this.offset,this.metrics=[],t=0,i=this.file.hhea.numberOfMetrics;0<=i?t<i:t>i;t=0<=i?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var A,n;for(n=[],t=A=0;0<=r?A<r:A>r;t=0<=r?++A:--A)n.push(e.readInt16());return n}(),this.widths=function(){var e,t,A,r;for(r=[],e=0,t=(A=this.metrics).length;e<t;e++)n=A[e],r.push(n.advance);return r}.call(this),A=this.widths[this.widths.length-1],o=[],t=s=0;0<=r?s<r:s>r;t=0<=r?++s:--s)o.push(this.widths.push(A));return o},e.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},e}(),Et=[].slice,St=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bt(e,pt),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(e){var t,A,r,n,s,i,o,a,l,c;return e in this.cache?this.cache[e]:(n=this.file.loca,t=this.file.contents,A=n.indexOf(e),0===(r=n.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+A,s=(i=new gt(t.read(r))).readShort(),a=i.readShort(),c=i.readShort(),o=i.readShort(),l=i.readShort(),this.cache[e]=-1===s?new It(i,a,c,o,l):new Lt(i,s,a,c,o,l),this.cache[e]))},e.prototype.encode=function(e,t,A){var r,n,s,i,o;for(s=[],n=[],i=0,o=t.length;i<o;i++)r=e[t[i]],n.push(s.length),r&&(s=s.concat(r.encode(A)));return n.push(s.length),{table:s,offsets:n}},e}(),Lt=function(){function e(e,t,A,r,n,s){this.raw=e,this.numberOfContours=t,this.xMin=A,this.yMin=r,this.xMax=n,this.yMax=s,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),It=function(){function e(e,t,A,r,n){var s,i;for(this.raw=e,this.xMin=t,this.yMin=A,this.xMax=r,this.yMax=n,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;i=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&i;)s.pos+=1&i?4:2,128&i?s.pos+=8:64&i?s.pos+=4:8&i&&(s.pos+=2)}return e.prototype.encode=function(){var e,t,A;for(t=new gt(Et.call(this.raw.data)),e=0,A=this.glyphIDs.length;e<A;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Nt=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bt(e,pt),e.prototype.tag="loca",e.prototype.parse=function(e){var t,A;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],A=0,t=this.length;A<t;A+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],A=0,t=this.length;A<t;A+=4)r.push(e.readUInt32());return r}.call(this)},e.prototype.indexOf=function(e){return this.offsets[e]},e.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},e.prototype.encode=function(e,t){for(var A=new Uint32Array(this.offsets.length),r=0,n=0,s=0;s<A.length;++s)if(A[s]=r,n<t.length&&t[n]==s){++n,A[s]=r;var i=this.offsets[s],o=this.offsets[s+1]-i;o>0&&(r+=o)}for(var a=new Array(4*A.length),l=0;l<A.length;++l)a[4*l+3]=255&A[l],a[4*l+2]=(65280&A[l])>>8,a[4*l+1]=(16711680&A[l])>>16,a[4*l]=(4278190080&A[l])>>24;return a},e}(),kt=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,A,r,n;for(t in r=this.font.cmap.tables[0].codeMap,e={},n=this.subset)A=n[t],e[t]=r[A];return e},e.prototype.glyphsFor=function(e){var t,A,r,n,s,i,o;for(r={},s=0,i=e.length;s<i;s++)r[n=e[s]]=this.font.glyf.glyphFor(n);for(n in t=[],r)(null!=(A=r[n])?A.compound:void 0)&&t.push.apply(t,A.glyphIDs);if(t.length>0)for(n in o=this.glyphsFor(t))A=o[n],r[n]=A;return r},e.prototype.encode=function(e,t){var A,r,n,s,i,o,a,l,c,u,h,d,f,p,g;for(r in A=bt.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(e),h={0:0},g=A.charMap)h[(o=g[r]).old]=o.new;for(d in u=A.maxGlyphID,s)d in h||(h[d]=u++);return l=function(e){var t,A;for(t in A={},e)A[e[t]]=t;return A}(h),c=Object.keys(l).sort(function(e,t){return e-t}),f=function(){var e,t,A;for(A=[],e=0,t=c.length;e<t;e++)i=c[e],A.push(l[i]);return A}(),n=this.font.glyf.encode(s,f,h),a=this.font.loca.encode(n.offsets,f),p={cmap:this.font.cmap.raw(),glyf:n.table,loca:a,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(p["OS/2"]=this.font.os2.raw()),this.font.directory.encode(p)},e}();M.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(A){var r,n,s,i;if(Array.isArray(A))return"["+function(){var e,n,s;for(s=[],e=0,n=A.length;e<n;e++)r=A[e],s.push(t.convert(r));return s}().join(" ")+"]";if("string"==typeof A)return"/"+A;if(null!=A?A.isString:void 0)return"("+A+")";if(A instanceof Date)return"(D:"+e(A.getUTCFullYear(),4)+e(A.getUTCMonth(),2)+e(A.getUTCDate(),2)+e(A.getUTCHours(),2)+e(A.getUTCMinutes(),2)+e(A.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(A)){for(n in s=["<<"],A)i=A[n],s.push("/"+n+" "+t.convert(i));return s.push(">>"),s.join("\n")}return""+A},t}()},"./node_modules/pako/dist/pako.esm.mjs":function(e,t,A){"use strict";function r(e){let t=e.length;for(;--t>=0;)e[t]=0}A.r(t),A.d(t,{Deflate:function(){return bA},Inflate:function(){return xA},constants:function(){return EA},default:function(){return SA},deflate:function(){return CA},deflateRaw:function(){return _A},gzip:function(){return jA},inflate:function(){return FA},inflateRaw:function(){return QA},ungzip:function(){return UA}});const n=new Uint8Array([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]),s=new Uint8Array([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]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),o=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=new Array(576);r(a);const l=new Array(60);r(l);const c=new Array(512);r(c);const u=new Array(256);r(u);const h=new Array(29);r(h);const d=new Array(30);function f(e,t,A,r,n){this.static_tree=e,this.extra_bits=t,this.extra_base=A,this.elems=r,this.max_length=n,this.has_stree=e&&e.length}let p,g,m;function w(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}r(d);const B=e=>e<256?c[e]:c[256+(e>>>7)],y=(e,t)=>{e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},v=(e,t,A)=>{e.bi_valid>16-A?(e.bi_buf|=t<<e.bi_valid&65535,y(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=A-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=A)},b=(e,t,A)=>{v(e,A[2*t],A[2*t+1])},C=(e,t)=>{let A=0;do{A|=1&e,e>>>=1,A<<=1}while(--t>0);return A>>>1},_=(e,t,A)=>{const r=new Array(16);let n,s,i=0;for(n=1;n<=15;n++)i=i+A[n-1]<<1,r[n]=i;for(s=0;s<=t;s++){let t=e[2*s+1];0!==t&&(e[2*s]=C(r[t]++,t))}},j=e=>{let t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},x=e=>{e.bi_valid>8?y(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},F=(e,t,A,r)=>{const n=2*t,s=2*A;return e[n]<e[s]||e[n]===e[s]&&r[t]<=r[A]},Q=(e,t,A)=>{const r=e.heap[A];let n=A<<1;for(;n<=e.heap_len&&(n<e.heap_len&&F(t,e.heap[n+1],e.heap[n],e.depth)&&n++,!F(t,r,e.heap[n],e.depth));)e.heap[A]=e.heap[n],A=n,n<<=1;e.heap[A]=r},U=(e,t,A)=>{let r,i,o,a,l=0;if(0!==e.sym_next)do{r=255&e.pending_buf[e.sym_buf+l++],r+=(255&e.pending_buf[e.sym_buf+l++])<<8,i=e.pending_buf[e.sym_buf+l++],0===r?b(e,i,t):(o=u[i],b(e,o+256+1,t),a=n[o],0!==a&&(i-=h[o],v(e,i,a)),r--,o=B(r),b(e,o,A),a=s[o],0!==a&&(r-=d[o],v(e,r,a)))}while(l<e.sym_next);b(e,256,t)},E=(e,t)=>{const A=t.dyn_tree,r=t.stat_desc.static_tree,n=t.stat_desc.has_stree,s=t.stat_desc.elems;let i,o,a,l=-1;for(e.heap_len=0,e.heap_max=573,i=0;i<s;i++)0!==A[2*i]?(e.heap[++e.heap_len]=l=i,e.depth[i]=0):A[2*i+1]=0;for(;e.heap_len<2;)a=e.heap[++e.heap_len]=l<2?++l:0,A[2*a]=1,e.depth[a]=0,e.opt_len--,n&&(e.static_len-=r[2*a+1]);for(t.max_code=l,i=e.heap_len>>1;i>=1;i--)Q(e,A,i);a=s;do{i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Q(e,A,1),o=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=o,A[2*a]=A[2*i]+A[2*o],e.depth[a]=(e.depth[i]>=e.depth[o]?e.depth[i]:e.depth[o])+1,A[2*i+1]=A[2*o+1]=a,e.heap[1]=a++,Q(e,A,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],((e,t)=>{const A=t.dyn_tree,r=t.max_code,n=t.stat_desc.static_tree,s=t.stat_desc.has_stree,i=t.stat_desc.extra_bits,o=t.stat_desc.extra_base,a=t.stat_desc.max_length;let l,c,u,h,d,f,p=0;for(h=0;h<=15;h++)e.bl_count[h]=0;for(A[2*e.heap[e.heap_max]+1]=0,l=e.heap_max+1;l<573;l++)c=e.heap[l],h=A[2*A[2*c+1]+1]+1,h>a&&(h=a,p++),A[2*c+1]=h,c>r||(e.bl_count[h]++,d=0,c>=o&&(d=i[c-o]),f=A[2*c],e.opt_len+=f*(h+d),s&&(e.static_len+=f*(n[2*c+1]+d)));if(0!==p){do{for(h=a-1;0===e.bl_count[h];)h--;e.bl_count[h]--,e.bl_count[h+1]+=2,e.bl_count[a]--,p-=2}while(p>0);for(h=a;0!==h;h--)for(c=e.bl_count[h];0!==c;)u=e.heap[--l],u>r||(A[2*u+1]!==h&&(e.opt_len+=(h-A[2*u+1])*A[2*u],A[2*u+1]=h),c--)}})(e,t),_(A,l,e.bl_count)},S=(e,t,A)=>{let r,n,s=-1,i=t[1],o=0,a=7,l=4;for(0===i&&(a=138,l=3),t[2*(A+1)+1]=65535,r=0;r<=A;r++)n=i,i=t[2*(r+1)+1],++o<a&&n===i||(o<l?e.bl_tree[2*n]+=o:0!==n?(n!==s&&e.bl_tree[2*n]++,e.bl_tree[32]++):o<=10?e.bl_tree[34]++:e.bl_tree[36]++,o=0,s=n,0===i?(a=138,l=3):n===i?(a=6,l=3):(a=7,l=4))},L=(e,t,A)=>{let r,n,s=-1,i=t[1],o=0,a=7,l=4;for(0===i&&(a=138,l=3),r=0;r<=A;r++)if(n=i,i=t[2*(r+1)+1],!(++o<a&&n===i)){if(o<l)do{b(e,n,e.bl_tree)}while(0!==--o);else 0!==n?(n!==s&&(b(e,n,e.bl_tree),o--),b(e,16,e.bl_tree),v(e,o-3,2)):o<=10?(b(e,17,e.bl_tree),v(e,o-3,3)):(b(e,18,e.bl_tree),v(e,o-11,7));o=0,s=n,0===i?(a=138,l=3):n===i?(a=6,l=3):(a=7,l=4)}};let I=!1;const N=(e,t,A,r)=>{v(e,0+(r?1:0),3),x(e),y(e,A),y(e,~A),A&&e.pending_buf.set(e.window.subarray(t,t+A),e.pending),e.pending+=A};var k={_tr_init:e=>{I||((()=>{let e,t,A,r,o;const w=new Array(16);for(A=0,r=0;r<28;r++)for(h[r]=A,e=0;e<1<<n[r];e++)u[A++]=r;for(u[A-1]=r,o=0,r=0;r<16;r++)for(d[r]=o,e=0;e<1<<s[r];e++)c[o++]=r;for(o>>=7;r<30;r++)for(d[r]=o<<7,e=0;e<1<<s[r]-7;e++)c[256+o++]=r;for(t=0;t<=15;t++)w[t]=0;for(e=0;e<=143;)a[2*e+1]=8,e++,w[8]++;for(;e<=255;)a[2*e+1]=9,e++,w[9]++;for(;e<=279;)a[2*e+1]=7,e++,w[7]++;for(;e<=287;)a[2*e+1]=8,e++,w[8]++;for(_(a,287,w),e=0;e<30;e++)l[2*e+1]=5,l[2*e]=C(e,5);p=new f(a,n,257,286,15),g=new f(l,s,0,30,15),m=new f(new Array(0),i,0,19,7)})(),I=!0),e.l_desc=new w(e.dyn_ltree,p),e.d_desc=new w(e.dyn_dtree,g),e.bl_desc=new w(e.bl_tree,m),e.bi_buf=0,e.bi_valid=0,j(e)},_tr_stored_block:N,_tr_flush_block:(e,t,A,r)=>{let n,s,i=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=(e=>{let t,A=4093624447;for(t=0;t<=31;t++,A>>>=1)if(1&A&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0})(e)),E(e,e.l_desc),E(e,e.d_desc),i=(e=>{let t;for(S(e,e.dyn_ltree,e.l_desc.max_code),S(e,e.dyn_dtree,e.d_desc.max_code),E(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*o[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t})(e),n=e.opt_len+3+7>>>3,s=e.static_len+3+7>>>3,s<=n&&(n=s)):n=s=A+5,A+4<=n&&-1!==t?N(e,t,A,r):4===e.strategy||s===n?(v(e,2+(r?1:0),3),U(e,a,l)):(v(e,4+(r?1:0),3),((e,t,A,r)=>{let n;for(v(e,t-257,5),v(e,A-1,5),v(e,r-4,4),n=0;n<r;n++)v(e,e.bl_tree[2*o[n]+1],3);L(e,e.dyn_ltree,t-1),L(e,e.dyn_dtree,A-1)})(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),U(e,e.dyn_ltree,e.dyn_dtree)),j(e),r&&x(e)},_tr_tally:(e,t,A)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=A,0===t?e.dyn_ltree[2*A]++:(e.matches++,t--,e.dyn_ltree[2*(u[A]+256+1)]++,e.dyn_dtree[2*B(t)]++),e.sym_next===e.sym_end),_tr_align:e=>{v(e,2,3),b(e,256,a),(e=>{16===e.bi_valid?(y(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)})(e)}},H=(e,t,A,r)=>{let n=65535&e,s=e>>>16&65535,i=0;for(;0!==A;){i=A>2e3?2e3:A,A-=i;do{n=n+t[r++]|0,s=s+n|0}while(--i);n%=65521,s%=65521}return n|s<<16};const P=new Uint32Array((()=>{let e,t=[];for(var A=0;A<256;A++){e=A;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[A]=e}return t})());var T=(e,t,A,r)=>{const n=P,s=r+A;e^=-1;for(let A=r;A<s;A++)e=e>>>8^n[255&(e^t[A])];return-1^e},O={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"},M={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_MEM_ERROR:-4,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};const{_tr_init:D,_tr_stored_block:R,_tr_flush_block:K,_tr_tally:V,_tr_align:G}=k,{Z_NO_FLUSH:z,Z_PARTIAL_FLUSH:q,Z_FULL_FLUSH:W,Z_FINISH:X,Z_BLOCK:Y,Z_OK:J,Z_STREAM_END:Z,Z_STREAM_ERROR:$,Z_DATA_ERROR:ee,Z_BUF_ERROR:te,Z_DEFAULT_COMPRESSION:Ae,Z_FILTERED:re,Z_HUFFMAN_ONLY:ne,Z_RLE:se,Z_FIXED:ie,Z_DEFAULT_STRATEGY:oe,Z_UNKNOWN:ae,Z_DEFLATED:le}=M,ce=258,ue=262,he=42,de=113,fe=666,pe=(e,t)=>(e.msg=O[t],t),ge=e=>2*e-(e>4?9:0),me=e=>{let t=e.length;for(;--t>=0;)e[t]=0},we=e=>{let t,A,r,n=e.w_size;t=e.hash_size,r=t;do{A=e.head[--r],e.head[r]=A>=n?A-n:0}while(--t);t=n,r=t;do{A=e.prev[--r],e.prev[r]=A>=n?A-n:0}while(--t)};let Be=(e,t,A)=>(t<<e.hash_shift^A)&e.hash_mask;const ye=e=>{const t=e.state;let A=t.pending;A>e.avail_out&&(A=e.avail_out),0!==A&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+A),e.next_out),e.next_out+=A,t.pending_out+=A,e.total_out+=A,e.avail_out-=A,t.pending-=A,0===t.pending&&(t.pending_out=0))},ve=(e,t)=>{K(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ye(e.strm)},be=(e,t)=>{e.pending_buf[e.pending++]=t},Ce=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},_e=(e,t,A,r)=>{let n=e.avail_in;return n>r&&(n=r),0===n?0:(e.avail_in-=n,t.set(e.input.subarray(e.next_in,e.next_in+n),A),1===e.state.wrap?e.adler=H(e.adler,t,n,A):2===e.state.wrap&&(e.adler=T(e.adler,t,n,A)),e.next_in+=n,e.total_in+=n,n)},je=(e,t)=>{let A,r,n=e.max_chain_length,s=e.strstart,i=e.prev_length,o=e.nice_match;const a=e.strstart>e.w_size-ue?e.strstart-(e.w_size-ue):0,l=e.window,c=e.w_mask,u=e.prev,h=e.strstart+ce;let d=l[s+i-1],f=l[s+i];e.prev_length>=e.good_match&&(n>>=2),o>e.lookahead&&(o=e.lookahead);do{if(A=t,l[A+i]===f&&l[A+i-1]===d&&l[A]===l[s]&&l[++A]===l[s+1]){s+=2,A++;do{}while(l[++s]===l[++A]&&l[++s]===l[++A]&&l[++s]===l[++A]&&l[++s]===l[++A]&&l[++s]===l[++A]&&l[++s]===l[++A]&&l[++s]===l[++A]&&l[++s]===l[++A]&&s<h);if(r=ce-(h-s),s=h-ce,r>i){if(e.match_start=t,i=r,r>=o)break;d=l[s+i-1],f=l[s+i]}}}while((t=u[t&c])>a&&0!==--n);return i<=e.lookahead?i:e.lookahead},xe=e=>{const t=e.w_size;let A,r,n;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-ue)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),we(e),r+=t),0===e.strm.avail_in)break;if(A=_e(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=A,e.lookahead+e.insert>=3)for(n=e.strstart-e.insert,e.ins_h=e.window[n],e.ins_h=Be(e,e.ins_h,e.window[n+1]);e.insert&&(e.ins_h=Be(e,e.ins_h,e.window[n+3-1]),e.prev[n&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=n,n++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<ue&&0!==e.strm.avail_in)},Fe=(e,t)=>{let A,r,n,s=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,i=0,o=e.strm.avail_in;do{if(A=65535,n=e.bi_valid+42>>3,e.strm.avail_out<n)break;if(n=e.strm.avail_out-n,r=e.strstart-e.block_start,A>r+e.strm.avail_in&&(A=r+e.strm.avail_in),A>n&&(A=n),A<s&&(0===A&&t!==X||t===z||A!==r+e.strm.avail_in))break;i=t===X&&A===r+e.strm.avail_in?1:0,R(e,0,0,i),e.pending_buf[e.pending-4]=A,e.pending_buf[e.pending-3]=A>>8,e.pending_buf[e.pending-2]=~A,e.pending_buf[e.pending-1]=~A>>8,ye(e.strm),r&&(r>A&&(r=A),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+r),e.strm.next_out),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r,e.block_start+=r,A-=r),A&&(_e(e.strm,e.strm.output,e.strm.next_out,A),e.strm.next_out+=A,e.strm.avail_out-=A,e.strm.total_out+=A)}while(0===i);return o-=e.strm.avail_in,o&&(o>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=o&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-o,e.strm.next_in),e.strstart),e.strstart+=o,e.insert+=o>e.w_size-e.insert?e.w_size-e.insert:o),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),i?4:t!==z&&t!==X&&0===e.strm.avail_in&&e.strstart===e.block_start?2:(n=e.window_size-e.strstart,e.strm.avail_in>n&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,n+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),n>e.strm.avail_in&&(n=e.strm.avail_in),n&&(_e(e.strm,e.window,e.strstart,n),e.strstart+=n,e.insert+=n>e.w_size-e.insert?e.w_size-e.insert:n),e.high_water<e.strstart&&(e.high_water=e.strstart),n=e.bi_valid+42>>3,n=e.pending_buf_size-n>65535?65535:e.pending_buf_size-n,s=n>e.w_size?e.w_size:n,r=e.strstart-e.block_start,(r>=s||(r||t===X)&&t!==z&&0===e.strm.avail_in&&r<=n)&&(A=r>n?n:r,i=t===X&&0===e.strm.avail_in&&A===r?1:0,R(e,e.block_start,A,i),e.block_start+=A,ye(e.strm)),i?3:1)},Qe=(e,t)=>{let A,r;for(;;){if(e.lookahead<ue){if(xe(e),e.lookahead<ue&&t===z)return 1;if(0===e.lookahead)break}if(A=0,e.lookahead>=3&&(e.ins_h=Be(e,e.ins_h,e.window[e.strstart+3-1]),A=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==A&&e.strstart-A<=e.w_size-ue&&(e.match_length=je(e,A)),e.match_length>=3)if(r=V(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=Be(e,e.ins_h,e.window[e.strstart+3-1]),A=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=Be(e,e.ins_h,e.window[e.strstart+1]);else r=V(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(ve(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===X?(ve(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(ve(e,!1),0===e.strm.avail_out)?1:2},Ue=(e,t)=>{let A,r,n;for(;;){if(e.lookahead<ue){if(xe(e),e.lookahead<ue&&t===z)return 1;if(0===e.lookahead)break}if(A=0,e.lookahead>=3&&(e.ins_h=Be(e,e.ins_h,e.window[e.strstart+3-1]),A=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==A&&e.prev_length<e.max_lazy_match&&e.strstart-A<=e.w_size-ue&&(e.match_length=je(e,A),e.match_length<=5&&(e.strategy===re||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){n=e.strstart+e.lookahead-3,r=V(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=n&&(e.ins_h=Be(e,e.ins_h,e.window[e.strstart+3-1]),A=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(ve(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if(r=V(e,0,e.window[e.strstart-1]),r&&ve(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=V(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===X?(ve(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(ve(e,!1),0===e.strm.avail_out)?1:2};function Ee(e,t,A,r,n){this.good_length=e,this.max_lazy=t,this.nice_length=A,this.max_chain=r,this.func=n}const Se=[new Ee(0,0,0,0,Fe),new Ee(4,4,8,4,Qe),new Ee(4,5,16,8,Qe),new Ee(4,6,32,32,Qe),new Ee(4,4,16,16,Ue),new Ee(8,16,32,32,Ue),new Ee(8,16,128,128,Ue),new Ee(8,32,128,256,Ue),new Ee(32,128,258,1024,Ue),new Ee(32,258,258,4096,Ue)];function Le(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=le,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),me(this.dyn_ltree),me(this.dyn_dtree),me(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),me(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),me(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Ie=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==he&&57!==t.status&&69!==t.status&&73!==t.status&&91!==t.status&&103!==t.status&&t.status!==de&&t.status!==fe?1:0},Ne=e=>{if(Ie(e))return pe(e,$);e.total_in=e.total_out=0,e.data_type=ae;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?he:de,e.adler=2===t.wrap?0:1,t.last_flush=-2,D(t),J},ke=e=>{const t=Ne(e);var A;return t===J&&((A=e.state).window_size=2*A.w_size,me(A.head),A.max_lazy_match=Se[A.level].max_lazy,A.good_match=Se[A.level].good_length,A.nice_match=Se[A.level].nice_length,A.max_chain_length=Se[A.level].max_chain,A.strstart=0,A.block_start=0,A.lookahead=0,A.insert=0,A.match_length=A.prev_length=2,A.match_available=0,A.ins_h=0),t},He=(e,t,A,r,n,s)=>{if(!e)return $;let i=1;if(t===Ae&&(t=6),r<0?(i=0,r=-r):r>15&&(i=2,r-=16),n<1||n>9||A!==le||r<8||r>15||t<0||t>9||s<0||s>ie||8===r&&1!==i)return pe(e,$);8===r&&(r=9);const o=new Le;return e.state=o,o.strm=e,o.status=he,o.wrap=i,o.gzhead=null,o.w_bits=r,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=t,o.strategy=s,o.method=A,ke(e)};var Pe=He,Te=(e,t)=>Ie(e)||2!==e.state.wrap?$:(e.state.gzhead=t,J),Oe=(e,t)=>{if(Ie(e)||t>Y||t<0)return e?pe(e,$):$;const A=e.state;if(!e.output||0!==e.avail_in&&!e.input||A.status===fe&&t!==X)return pe(e,0===e.avail_out?te:$);const r=A.last_flush;if(A.last_flush=t,0!==A.pending){if(ye(e),0===e.avail_out)return A.last_flush=-1,J}else if(0===e.avail_in&&ge(t)<=ge(r)&&t!==X)return pe(e,te);if(A.status===fe&&0!==e.avail_in)return pe(e,te);if(A.status===he&&0===A.wrap&&(A.status=de),A.status===he){let t=le+(A.w_bits-8<<4)<<8,r=-1;if(r=A.strategy>=ne||A.level<2?0:A.level<6?1:6===A.level?2:3,t|=r<<6,0!==A.strstart&&(t|=32),t+=31-t%31,Ce(A,t),0!==A.strstart&&(Ce(A,e.adler>>>16),Ce(A,65535&e.adler)),e.adler=1,A.status=de,ye(e),0!==A.pending)return A.last_flush=-1,J}if(57===A.status)if(e.adler=0,be(A,31),be(A,139),be(A,8),A.gzhead)be(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)),be(A,255&A.gzhead.time),be(A,A.gzhead.time>>8&255),be(A,A.gzhead.time>>16&255),be(A,A.gzhead.time>>24&255),be(A,9===A.level?2:A.strategy>=ne||A.level<2?4:0),be(A,255&A.gzhead.os),A.gzhead.extra&&A.gzhead.extra.length&&(be(A,255&A.gzhead.extra.length),be(A,A.gzhead.extra.length>>8&255)),A.gzhead.hcrc&&(e.adler=T(e.adler,A.pending_buf,A.pending,0)),A.gzindex=0,A.status=69;else if(be(A,0),be(A,0),be(A,0),be(A,0),be(A,0),be(A,9===A.level?2:A.strategy>=ne||A.level<2?4:0),be(A,3),A.status=de,ye(e),0!==A.pending)return A.last_flush=-1,J;if(69===A.status){if(A.gzhead.extra){let t=A.pending,r=(65535&A.gzhead.extra.length)-A.gzindex;for(;A.pending+r>A.pending_buf_size;){let n=A.pending_buf_size-A.pending;if(A.pending_buf.set(A.gzhead.extra.subarray(A.gzindex,A.gzindex+n),A.pending),A.pending=A.pending_buf_size,A.gzhead.hcrc&&A.pending>t&&(e.adler=T(e.adler,A.pending_buf,A.pending-t,t)),A.gzindex+=n,ye(e),0!==A.pending)return A.last_flush=-1,J;t=0,r-=n}let n=new Uint8Array(A.gzhead.extra);A.pending_buf.set(n.subarray(A.gzindex,A.gzindex+r),A.pending),A.pending+=r,A.gzhead.hcrc&&A.pending>t&&(e.adler=T(e.adler,A.pending_buf,A.pending-t,t)),A.gzindex=0}A.status=73}if(73===A.status){if(A.gzhead.name){let t,r=A.pending;do{if(A.pending===A.pending_buf_size){if(A.gzhead.hcrc&&A.pending>r&&(e.adler=T(e.adler,A.pending_buf,A.pending-r,r)),ye(e),0!==A.pending)return A.last_flush=-1,J;r=0}t=A.gzindex<A.gzhead.name.length?255&A.gzhead.name.charCodeAt(A.gzindex++):0,be(A,t)}while(0!==t);A.gzhead.hcrc&&A.pending>r&&(e.adler=T(e.adler,A.pending_buf,A.pending-r,r)),A.gzindex=0}A.status=91}if(91===A.status){if(A.gzhead.comment){let t,r=A.pending;do{if(A.pending===A.pending_buf_size){if(A.gzhead.hcrc&&A.pending>r&&(e.adler=T(e.adler,A.pending_buf,A.pending-r,r)),ye(e),0!==A.pending)return A.last_flush=-1,J;r=0}t=A.gzindex<A.gzhead.comment.length?255&A.gzhead.comment.charCodeAt(A.gzindex++):0,be(A,t)}while(0!==t);A.gzhead.hcrc&&A.pending>r&&(e.adler=T(e.adler,A.pending_buf,A.pending-r,r))}A.status=103}if(103===A.status){if(A.gzhead.hcrc){if(A.pending+2>A.pending_buf_size&&(ye(e),0!==A.pending))return A.last_flush=-1,J;be(A,255&e.adler),be(A,e.adler>>8&255),e.adler=0}if(A.status=de,ye(e),0!==A.pending)return A.last_flush=-1,J}if(0!==e.avail_in||0!==A.lookahead||t!==z&&A.status!==fe){let r=0===A.level?Fe(A,t):A.strategy===ne?((e,t)=>{let A;for(;;){if(0===e.lookahead&&(xe(e),0===e.lookahead)){if(t===z)return 1;break}if(e.match_length=0,A=V(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,A&&(ve(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===X?(ve(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(ve(e,!1),0===e.strm.avail_out)?1:2})(A,t):A.strategy===se?((e,t)=>{let A,r,n,s;const i=e.window;for(;;){if(e.lookahead<=ce){if(xe(e),e.lookahead<=ce&&t===z)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=e.strstart-1,r=i[n],r===i[++n]&&r===i[++n]&&r===i[++n])){s=e.strstart+ce;do{}while(r===i[++n]&&r===i[++n]&&r===i[++n]&&r===i[++n]&&r===i[++n]&&r===i[++n]&&r===i[++n]&&r===i[++n]&&n<s);e.match_length=ce-(s-n),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(A=V(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(A=V(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),A&&(ve(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===X?(ve(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(ve(e,!1),0===e.strm.avail_out)?1:2})(A,t):Se[A.level].func(A,t);if(3!==r&&4!==r||(A.status=fe),1===r||3===r)return 0===e.avail_out&&(A.last_flush=-1),J;if(2===r&&(t===q?G(A):t!==Y&&(R(A,0,0,!1),t===W&&(me(A.head),0===A.lookahead&&(A.strstart=0,A.block_start=0,A.insert=0))),ye(e),0===e.avail_out))return A.last_flush=-1,J}return t!==X?J:A.wrap<=0?Z:(2===A.wrap?(be(A,255&e.adler),be(A,e.adler>>8&255),be(A,e.adler>>16&255),be(A,e.adler>>24&255),be(A,255&e.total_in),be(A,e.total_in>>8&255),be(A,e.total_in>>16&255),be(A,e.total_in>>24&255)):(Ce(A,e.adler>>>16),Ce(A,65535&e.adler)),ye(e),A.wrap>0&&(A.wrap=-A.wrap),0!==A.pending?J:Z)},Me=e=>{if(Ie(e))return $;const t=e.state.status;return e.state=null,t===de?pe(e,ee):J},De=(e,t)=>{let A=t.length;if(Ie(e))return $;const r=e.state,n=r.wrap;if(2===n||1===n&&r.status!==he||r.lookahead)return $;if(1===n&&(e.adler=H(e.adler,t,A,0)),r.wrap=0,A>=r.w_size){0===n&&(me(r.head),r.strstart=0,r.block_start=0,r.insert=0);let e=new Uint8Array(r.w_size);e.set(t.subarray(A-r.w_size,A),0),t=e,A=r.w_size}const s=e.avail_in,i=e.next_in,o=e.input;for(e.avail_in=A,e.next_in=0,e.input=t,xe(r);r.lookahead>=3;){let e=r.strstart,t=r.lookahead-2;do{r.ins_h=Be(r,r.ins_h,r.window[e+3-1]),r.prev[e&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=e,e++}while(--t);r.strstart=e,r.lookahead=2,xe(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=i,e.input=o,e.avail_in=s,r.wrap=n,J};const Re=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var Ke=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const A=t.shift();if(A){if("object"!=typeof A)throw new TypeError(A+"must be non-object");for(const t in A)Re(A,t)&&(e[t]=A[t])}}return e},Ve=e=>{let t=0;for(let A=0,r=e.length;A<r;A++)t+=e[A].length;const A=new Uint8Array(t);for(let t=0,r=0,n=e.length;t<n;t++){let n=e[t];A.set(n,r),r+=n.length}return A};let Ge=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){Ge=!1}const ze=new Uint8Array(256);for(let e=0;e<256;e++)ze[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;ze[254]=ze[254]=1;var qe=e=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);let t,A,r,n,s,i=e.length,o=0;for(n=0;n<i;n++)A=e.charCodeAt(n),55296==(64512&A)&&n+1<i&&(r=e.charCodeAt(n+1),56320==(64512&r)&&(A=65536+(A-55296<<10)+(r-56320),n++)),o+=A<128?1:A<2048?2:A<65536?3:4;for(t=new Uint8Array(o),s=0,n=0;s<o;n++)A=e.charCodeAt(n),55296==(64512&A)&&n+1<i&&(r=e.charCodeAt(n+1),56320==(64512&r)&&(A=65536+(A-55296<<10)+(r-56320),n++)),A<128?t[s++]=A:A<2048?(t[s++]=192|A>>>6,t[s++]=128|63&A):A<65536?(t[s++]=224|A>>>12,t[s++]=128|A>>>6&63,t[s++]=128|63&A):(t[s++]=240|A>>>18,t[s++]=128|A>>>12&63,t[s++]=128|A>>>6&63,t[s++]=128|63&A);return t},We=(e,t)=>{const A=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));let r,n;const s=new Array(2*A);for(n=0,r=0;r<A;){let t=e[r++];if(t<128){s[n++]=t;continue}let i=ze[t];if(i>4)s[n++]=65533,r+=i-1;else{for(t&=2===i?31:3===i?15:7;i>1&&r<A;)t=t<<6|63&e[r++],i--;i>1?s[n++]=65533:t<65536?s[n++]=t:(t-=65536,s[n++]=55296|t>>10&1023,s[n++]=56320|1023&t)}}return((e,t)=>{if(t<65534&&e.subarray&&Ge)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let A="";for(let r=0;r<t;r++)A+=String.fromCharCode(e[r]);return A})(s,n)},Xe=(e,t)=>{(t=t||e.length)>e.length&&(t=e.length);let A=t-1;for(;A>=0&&128==(192&e[A]);)A--;return A<0||0===A?t:A+ze[e[A]]>t?A:t},Ye=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Je=Object.prototype.toString,{Z_NO_FLUSH:Ze,Z_SYNC_FLUSH:$e,Z_FULL_FLUSH:et,Z_FINISH:tt,Z_OK:At,Z_STREAM_END:rt,Z_DEFAULT_COMPRESSION:nt,Z_DEFAULT_STRATEGY:st,Z_DEFLATED:it}=M;function ot(e){this.options=Ke({level:nt,method:it,chunkSize:16384,windowBits:15,memLevel:8,strategy:st},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ye,this.strm.avail_out=0;let A=Pe(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(A!==At)throw new Error(O[A]);if(t.header&&Te(this.strm,t.header),t.dictionary){let e;if(e="string"==typeof t.dictionary?qe(t.dictionary):"[object ArrayBuffer]"===Je.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,A=De(this.strm,e),A!==At)throw new Error(O[A]);this._dict_set=!0}}function at(e,t){const A=new ot(t);if(A.push(e,!0),A.err)throw A.msg||O[A.err];return A.result}ot.prototype.push=function(e,t){const A=this.strm,r=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=t===~~t?t:!0===t?tt:Ze,"string"==typeof e?A.input=qe(e):"[object ArrayBuffer]"===Je.call(e)?A.input=new Uint8Array(e):A.input=e,A.next_in=0,A.avail_in=A.input.length;;)if(0===A.avail_out&&(A.output=new Uint8Array(r),A.next_out=0,A.avail_out=r),(s===$e||s===et)&&A.avail_out<=6)this.onData(A.output.subarray(0,A.next_out)),A.avail_out=0;else{if(n=Oe(A,s),n===rt)return A.next_out>0&&this.onData(A.output.subarray(0,A.next_out)),n=Me(this.strm),this.onEnd(n),this.ended=!0,n===At;if(0!==A.avail_out){if(s>0&&A.next_out>0)this.onData(A.output.subarray(0,A.next_out)),A.avail_out=0;else if(0===A.avail_in)break}else this.onData(A.output)}return!0},ot.prototype.onData=function(e){this.chunks.push(e)},ot.prototype.onEnd=function(e){e===At&&(this.result=Ve(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var lt={Deflate:ot,deflate:at,deflateRaw:function(e,t){return(t=t||{}).raw=!0,at(e,t)},gzip:function(e,t){return(t=t||{}).gzip=!0,at(e,t)},constants:M};const ct=16209;var ut=function(e,t){let A,r,n,s,i,o,a,l,c,u,h,d,f,p,g,m,w,B,y,v,b,C,_,j;const x=e.state;A=e.next_in,_=e.input,r=A+(e.avail_in-5),n=e.next_out,j=e.output,s=n-(t-e.avail_out),i=n+(e.avail_out-257),o=x.dmax,a=x.wsize,l=x.whave,c=x.wnext,u=x.window,h=x.hold,d=x.bits,f=x.lencode,p=x.distcode,g=(1<<x.lenbits)-1,m=(1<<x.distbits)-1;e:do{d<15&&(h+=_[A++]<<d,d+=8,h+=_[A++]<<d,d+=8),w=f[h&g];t:for(;;){if(B=w>>>24,h>>>=B,d-=B,B=w>>>16&255,0===B)j[n++]=65535&w;else{if(!(16&B)){if(64&B){if(32&B){x.mode=16191;break e}e.msg="invalid literal/length code",x.mode=ct;break e}w=f[(65535&w)+(h&(1<<B)-1)];continue t}for(y=65535&w,B&=15,B&&(d<B&&(h+=_[A++]<<d,d+=8),y+=h&(1<<B)-1,h>>>=B,d-=B),d<15&&(h+=_[A++]<<d,d+=8,h+=_[A++]<<d,d+=8),w=p[h&m];;){if(B=w>>>24,h>>>=B,d-=B,B=w>>>16&255,16&B){if(v=65535&w,B&=15,d<B&&(h+=_[A++]<<d,d+=8,d<B&&(h+=_[A++]<<d,d+=8)),v+=h&(1<<B)-1,v>o){e.msg="invalid distance too far back",x.mode=ct;break e}if(h>>>=B,d-=B,B=n-s,v>B){if(B=v-B,B>l&&x.sane){e.msg="invalid distance too far back",x.mode=ct;break e}if(b=0,C=u,0===c){if(b+=a-B,B<y){y-=B;do{j[n++]=u[b++]}while(--B);b=n-v,C=j}}else if(c<B){if(b+=a+c-B,B-=c,B<y){y-=B;do{j[n++]=u[b++]}while(--B);if(b=0,c<y){B=c,y-=B;do{j[n++]=u[b++]}while(--B);b=n-v,C=j}}}else if(b+=c-B,B<y){y-=B;do{j[n++]=u[b++]}while(--B);b=n-v,C=j}for(;y>2;)j[n++]=C[b++],j[n++]=C[b++],j[n++]=C[b++],y-=3;y&&(j[n++]=C[b++],y>1&&(j[n++]=C[b++]))}else{b=n-v;do{j[n++]=j[b++],j[n++]=j[b++],j[n++]=j[b++],y-=3}while(y>2);y&&(j[n++]=j[b++],y>1&&(j[n++]=j[b++]))}break}if(64&B){e.msg="invalid distance code",x.mode=ct;break e}w=p[(65535&w)+(h&(1<<B)-1)]}}break}}while(A<r&&n<i);y=d>>3,A-=y,d-=y<<3,h&=(1<<d)-1,e.next_in=A,e.next_out=n,e.avail_in=A<r?r-A+5:5-(A-r),e.avail_out=n<i?i-n+257:257-(n-i),x.hold=h,x.bits=d};const ht=new Uint16Array([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]),dt=new Uint8Array([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]),ft=new Uint16Array([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]),pt=new Uint8Array([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]);var gt=(e,t,A,r,n,s,i,o)=>{const a=o.bits;let l,c,u,h,d,f,p=0,g=0,m=0,w=0,B=0,y=0,v=0,b=0,C=0,_=0,j=null;const x=new Uint16Array(16),F=new Uint16Array(16);let Q,U,E,S=null;for(p=0;p<=15;p++)x[p]=0;for(g=0;g<r;g++)x[t[A+g]]++;for(B=a,w=15;w>=1&&0===x[w];w--);if(B>w&&(B=w),0===w)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(m=1;m<w&&0===x[m];m++);for(B<m&&(B=m),b=1,p=1;p<=15;p++)if(b<<=1,b-=x[p],b<0)return-1;if(b>0&&(0===e||1!==w))return-1;for(F[1]=0,p=1;p<15;p++)F[p+1]=F[p]+x[p];for(g=0;g<r;g++)0!==t[A+g]&&(i[F[t[A+g]]++]=g);if(0===e?(j=S=i,f=20):1===e?(j=ht,S=dt,f=257):(j=ft,S=pt,f=0),_=0,g=0,p=m,d=s,y=B,v=0,u=-1,C=1<<B,h=C-1,1===e&&C>852||2===e&&C>592)return 1;for(;;){Q=p-v,i[g]+1<f?(U=0,E=i[g]):i[g]>=f?(U=S[i[g]-f],E=j[i[g]-f]):(U=96,E=0),l=1<<p-v,c=1<<y,m=c;do{c-=l,n[d+(_>>v)+c]=Q<<24|U<<16|E}while(0!==c);for(l=1<<p-1;_&l;)l>>=1;if(0!==l?(_&=l-1,_+=l):_=0,g++,0===--x[p]){if(p===w)break;p=t[A+i[g]]}if(p>B&&(_&h)!==u){for(0===v&&(v=B),d+=m,y=p-v,b=1<<y;y+v<w&&(b-=x[y+v],!(b<=0));)y++,b<<=1;if(C+=1<<y,1===e&&C>852||2===e&&C>592)return 1;u=_&h,n[u]=B<<24|y<<16|d-s}}return 0!==_&&(n[d+_]=p-v<<24|64<<16),o.bits=B,0};const{Z_FINISH:mt,Z_BLOCK:wt,Z_TREES:Bt,Z_OK:yt,Z_STREAM_END:vt,Z_NEED_DICT:bt,Z_STREAM_ERROR:Ct,Z_DATA_ERROR:_t,Z_MEM_ERROR:jt,Z_BUF_ERROR:xt,Z_DEFLATED:Ft}=M,Qt=16180,Ut=16190,Et=16191,St=16192,Lt=16194,It=16199,Nt=16200,kt=16206,Ht=16209,Pt=e=>(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function Tt(){this.strm=null,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 Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Ot=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode<Qt||t.mode>16211?1:0},Mt=e=>{if(Ot(e))return Ct;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=Qt,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,yt},Dt=e=>{if(Ot(e))return Ct;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,Mt(e)},Rt=(e,t)=>{let A;if(Ot(e))return Ct;const r=e.state;return t<0?(A=0,t=-t):(A=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Ct:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=A,r.wbits=t,Dt(e))},Kt=(e,t)=>{if(!e)return Ct;const A=new Tt;e.state=A,A.strm=e,A.window=null,A.mode=Qt;const r=Rt(e,t);return r!==yt&&(e.state=null),r};let Vt,Gt,zt=!0;const qt=e=>{if(zt){Vt=new Int32Array(512),Gt=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(gt(1,e.lens,0,288,Vt,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;gt(2,e.lens,0,32,Gt,0,e.work,{bits:5}),zt=!1}e.lencode=Vt,e.lenbits=9,e.distcode=Gt,e.distbits=5},Wt=(e,t,A,r)=>{let n;const s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),r>=s.wsize?(s.window.set(t.subarray(A-s.wsize,A),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>r&&(n=r),s.window.set(t.subarray(A-r,A-r+n),s.wnext),(r-=n)?(s.window.set(t.subarray(A-r,A),0),s.wnext=r,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Xt=Dt,Yt=Kt,Jt=(e,t)=>{let A,r,n,s,i,o,a,l,c,u,h,d,f,p,g,m,w,B,y,v,b,C,_=0;const j=new Uint8Array(4);let x,F;const Q=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Ot(e)||!e.output||!e.input&&0!==e.avail_in)return Ct;A=e.state,A.mode===Et&&(A.mode=St),i=e.next_out,n=e.output,a=e.avail_out,s=e.next_in,r=e.input,o=e.avail_in,l=A.hold,c=A.bits,u=o,h=a,C=yt;e:for(;;)switch(A.mode){case Qt:if(0===A.wrap){A.mode=St;break}for(;c<16;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}if(2&A.wrap&&35615===l){0===A.wbits&&(A.wbits=15),A.check=0,j[0]=255&l,j[1]=l>>>8&255,A.check=T(A.check,j,2,0),l=0,c=0,A.mode=16181;break}if(A.head&&(A.head.done=!1),!(1&A.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",A.mode=Ht;break}if((15&l)!==Ft){e.msg="unknown compression method",A.mode=Ht;break}if(l>>>=4,c-=4,b=8+(15&l),0===A.wbits&&(A.wbits=b),b>15||b>A.wbits){e.msg="invalid window size",A.mode=Ht;break}A.dmax=1<<A.wbits,A.flags=0,e.adler=A.check=1,A.mode=512&l?16189:Et,l=0,c=0;break;case 16181:for(;c<16;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}if(A.flags=l,(255&A.flags)!==Ft){e.msg="unknown compression method",A.mode=Ht;break}if(57344&A.flags){e.msg="unknown header flags set",A.mode=Ht;break}A.head&&(A.head.text=l>>8&1),512&A.flags&&4&A.wrap&&(j[0]=255&l,j[1]=l>>>8&255,A.check=T(A.check,j,2,0)),l=0,c=0,A.mode=16182;case 16182:for(;c<32;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}A.head&&(A.head.time=l),512&A.flags&&4&A.wrap&&(j[0]=255&l,j[1]=l>>>8&255,j[2]=l>>>16&255,j[3]=l>>>24&255,A.check=T(A.check,j,4,0)),l=0,c=0,A.mode=16183;case 16183:for(;c<16;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}A.head&&(A.head.xflags=255&l,A.head.os=l>>8),512&A.flags&&4&A.wrap&&(j[0]=255&l,j[1]=l>>>8&255,A.check=T(A.check,j,2,0)),l=0,c=0,A.mode=16184;case 16184:if(1024&A.flags){for(;c<16;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}A.length=l,A.head&&(A.head.extra_len=l),512&A.flags&&4&A.wrap&&(j[0]=255&l,j[1]=l>>>8&255,A.check=T(A.check,j,2,0)),l=0,c=0}else A.head&&(A.head.extra=null);A.mode=16185;case 16185:if(1024&A.flags&&(d=A.length,d>o&&(d=o),d&&(A.head&&(b=A.head.extra_len-A.length,A.head.extra||(A.head.extra=new Uint8Array(A.head.extra_len)),A.head.extra.set(r.subarray(s,s+d),b)),512&A.flags&&4&A.wrap&&(A.check=T(A.check,r,d,s)),o-=d,s+=d,A.length-=d),A.length))break e;A.length=0,A.mode=16186;case 16186:if(2048&A.flags){if(0===o)break e;d=0;do{b=r[s+d++],A.head&&b&&A.length<65536&&(A.head.name+=String.fromCharCode(b))}while(b&&d<o);if(512&A.flags&&4&A.wrap&&(A.check=T(A.check,r,d,s)),o-=d,s+=d,b)break e}else A.head&&(A.head.name=null);A.length=0,A.mode=16187;case 16187:if(4096&A.flags){if(0===o)break e;d=0;do{b=r[s+d++],A.head&&b&&A.length<65536&&(A.head.comment+=String.fromCharCode(b))}while(b&&d<o);if(512&A.flags&&4&A.wrap&&(A.check=T(A.check,r,d,s)),o-=d,s+=d,b)break e}else A.head&&(A.head.comment=null);A.mode=16188;case 16188:if(512&A.flags){for(;c<16;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}if(4&A.wrap&&l!==(65535&A.check)){e.msg="header crc mismatch",A.mode=Ht;break}l=0,c=0}A.head&&(A.head.hcrc=A.flags>>9&1,A.head.done=!0),e.adler=A.check=0,A.mode=Et;break;case 16189:for(;c<32;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}e.adler=A.check=Pt(l),l=0,c=0,A.mode=Ut;case Ut:if(0===A.havedict)return e.next_out=i,e.avail_out=a,e.next_in=s,e.avail_in=o,A.hold=l,A.bits=c,bt;e.adler=A.check=1,A.mode=Et;case Et:if(t===wt||t===Bt)break e;case St:if(A.last){l>>>=7&c,c-=7&c,A.mode=kt;break}for(;c<3;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}switch(A.last=1&l,l>>>=1,c-=1,3&l){case 0:A.mode=16193;break;case 1:if(qt(A),A.mode=It,t===Bt){l>>>=2,c-=2;break e}break;case 2:A.mode=16196;break;case 3:e.msg="invalid block type",A.mode=Ht}l>>>=2,c-=2;break;case 16193:for(l>>>=7&c,c-=7&c;c<32;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}if((65535&l)!=(l>>>16^65535)){e.msg="invalid stored block lengths",A.mode=Ht;break}if(A.length=65535&l,l=0,c=0,A.mode=Lt,t===Bt)break e;case Lt:A.mode=16195;case 16195:if(d=A.length,d){if(d>o&&(d=o),d>a&&(d=a),0===d)break e;n.set(r.subarray(s,s+d),i),o-=d,s+=d,a-=d,i+=d,A.length-=d;break}A.mode=Et;break;case 16196:for(;c<14;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}if(A.nlen=257+(31&l),l>>>=5,c-=5,A.ndist=1+(31&l),l>>>=5,c-=5,A.ncode=4+(15&l),l>>>=4,c-=4,A.nlen>286||A.ndist>30){e.msg="too many length or distance symbols",A.mode=Ht;break}A.have=0,A.mode=16197;case 16197:for(;A.have<A.ncode;){for(;c<3;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}A.lens[Q[A.have++]]=7&l,l>>>=3,c-=3}for(;A.have<19;)A.lens[Q[A.have++]]=0;if(A.lencode=A.lendyn,A.lenbits=7,x={bits:A.lenbits},C=gt(0,A.lens,0,19,A.lencode,0,A.work,x),A.lenbits=x.bits,C){e.msg="invalid code lengths set",A.mode=Ht;break}A.have=0,A.mode=16198;case 16198:for(;A.have<A.nlen+A.ndist;){for(;_=A.lencode[l&(1<<A.lenbits)-1],g=_>>>24,m=_>>>16&255,w=65535&_,!(g<=c);){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}if(w<16)l>>>=g,c-=g,A.lens[A.have++]=w;else{if(16===w){for(F=g+2;c<F;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}if(l>>>=g,c-=g,0===A.have){e.msg="invalid bit length repeat",A.mode=Ht;break}b=A.lens[A.have-1],d=3+(3&l),l>>>=2,c-=2}else if(17===w){for(F=g+3;c<F;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}l>>>=g,c-=g,b=0,d=3+(7&l),l>>>=3,c-=3}else{for(F=g+7;c<F;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}l>>>=g,c-=g,b=0,d=11+(127&l),l>>>=7,c-=7}if(A.have+d>A.nlen+A.ndist){e.msg="invalid bit length repeat",A.mode=Ht;break}for(;d--;)A.lens[A.have++]=b}}if(A.mode===Ht)break;if(0===A.lens[256]){e.msg="invalid code -- missing end-of-block",A.mode=Ht;break}if(A.lenbits=9,x={bits:A.lenbits},C=gt(1,A.lens,0,A.nlen,A.lencode,0,A.work,x),A.lenbits=x.bits,C){e.msg="invalid literal/lengths set",A.mode=Ht;break}if(A.distbits=6,A.distcode=A.distdyn,x={bits:A.distbits},C=gt(2,A.lens,A.nlen,A.ndist,A.distcode,0,A.work,x),A.distbits=x.bits,C){e.msg="invalid distances set",A.mode=Ht;break}if(A.mode=It,t===Bt)break e;case It:A.mode=Nt;case Nt:if(o>=6&&a>=258){e.next_out=i,e.avail_out=a,e.next_in=s,e.avail_in=o,A.hold=l,A.bits=c,ut(e,h),i=e.next_out,n=e.output,a=e.avail_out,s=e.next_in,r=e.input,o=e.avail_in,l=A.hold,c=A.bits,A.mode===Et&&(A.back=-1);break}for(A.back=0;_=A.lencode[l&(1<<A.lenbits)-1],g=_>>>24,m=_>>>16&255,w=65535&_,!(g<=c);){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}if(m&&!(240&m)){for(B=g,y=m,v=w;_=A.lencode[v+((l&(1<<B+y)-1)>>B)],g=_>>>24,m=_>>>16&255,w=65535&_,!(B+g<=c);){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}l>>>=B,c-=B,A.back+=B}if(l>>>=g,c-=g,A.back+=g,A.length=w,0===m){A.mode=16205;break}if(32&m){A.back=-1,A.mode=Et;break}if(64&m){e.msg="invalid literal/length code",A.mode=Ht;break}A.extra=15&m,A.mode=16201;case 16201:if(A.extra){for(F=A.extra;c<F;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}A.length+=l&(1<<A.extra)-1,l>>>=A.extra,c-=A.extra,A.back+=A.extra}A.was=A.length,A.mode=16202;case 16202:for(;_=A.distcode[l&(1<<A.distbits)-1],g=_>>>24,m=_>>>16&255,w=65535&_,!(g<=c);){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}if(!(240&m)){for(B=g,y=m,v=w;_=A.distcode[v+((l&(1<<B+y)-1)>>B)],g=_>>>24,m=_>>>16&255,w=65535&_,!(B+g<=c);){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}l>>>=B,c-=B,A.back+=B}if(l>>>=g,c-=g,A.back+=g,64&m){e.msg="invalid distance code",A.mode=Ht;break}A.offset=w,A.extra=15&m,A.mode=16203;case 16203:if(A.extra){for(F=A.extra;c<F;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}A.offset+=l&(1<<A.extra)-1,l>>>=A.extra,c-=A.extra,A.back+=A.extra}if(A.offset>A.dmax){e.msg="invalid distance too far back",A.mode=Ht;break}A.mode=16204;case 16204:if(0===a)break e;if(d=h-a,A.offset>d){if(d=A.offset-d,d>A.whave&&A.sane){e.msg="invalid distance too far back",A.mode=Ht;break}d>A.wnext?(d-=A.wnext,f=A.wsize-d):f=A.wnext-d,d>A.length&&(d=A.length),p=A.window}else p=n,f=i-A.offset,d=A.length;d>a&&(d=a),a-=d,A.length-=d;do{n[i++]=p[f++]}while(--d);0===A.length&&(A.mode=Nt);break;case 16205:if(0===a)break e;n[i++]=A.length,a--,A.mode=Nt;break;case kt:if(A.wrap){for(;c<32;){if(0===o)break e;o--,l|=r[s++]<<c,c+=8}if(h-=a,e.total_out+=h,A.total+=h,4&A.wrap&&h&&(e.adler=A.check=A.flags?T(A.check,n,h,i-h):H(A.check,n,h,i-h)),h=a,4&A.wrap&&(A.flags?l:Pt(l))!==A.check){e.msg="incorrect data check",A.mode=Ht;break}l=0,c=0}A.mode=16207;case 16207:if(A.wrap&&A.flags){for(;c<32;){if(0===o)break e;o--,l+=r[s++]<<c,c+=8}if(4&A.wrap&&l!==(4294967295&A.total)){e.msg="incorrect length check",A.mode=Ht;break}l=0,c=0}A.mode=16208;case 16208:C=vt;break e;case Ht:C=_t;break e;case 16210:return jt;default:return Ct}return e.next_out=i,e.avail_out=a,e.next_in=s,e.avail_in=o,A.hold=l,A.bits=c,(A.wsize||h!==e.avail_out&&A.mode<Ht&&(A.mode<kt||t!==mt))&&Wt(e,e.output,e.next_out,h-e.avail_out),u-=e.avail_in,h-=e.avail_out,e.total_in+=u,e.total_out+=h,A.total+=h,4&A.wrap&&h&&(e.adler=A.check=A.flags?T(A.check,n,h,e.next_out-h):H(A.check,n,h,e.next_out-h)),e.data_type=A.bits+(A.last?64:0)+(A.mode===Et?128:0)+(A.mode===It||A.mode===Lt?256:0),(0===u&&0===h||t===mt)&&C===yt&&(C=xt),C},Zt=e=>{if(Ot(e))return Ct;let t=e.state;return t.window&&(t.window=null),e.state=null,yt},$t=(e,t)=>{if(Ot(e))return Ct;const A=e.state;return 2&A.wrap?(A.head=t,t.done=!1,yt):Ct},eA=(e,t)=>{const A=t.length;let r,n,s;return Ot(e)?Ct:(r=e.state,0!==r.wrap&&r.mode!==Ut?Ct:r.mode===Ut&&(n=1,n=H(n,t,A,0),n!==r.check)?_t:(s=Wt(e,t,A,A),s?(r.mode=16210,jt):(r.havedict=1,yt)))},tA=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const AA=Object.prototype.toString,{Z_NO_FLUSH:rA,Z_FINISH:nA,Z_OK:sA,Z_STREAM_END:iA,Z_NEED_DICT:oA,Z_STREAM_ERROR:aA,Z_DATA_ERROR:lA,Z_MEM_ERROR:cA}=M;function uA(e){this.options=Ke({chunkSize:65536,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ye,this.strm.avail_out=0;let A=Yt(this.strm,t.windowBits);if(A!==sA)throw new Error(O[A]);if(this.header=new tA,$t(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=qe(t.dictionary):"[object ArrayBuffer]"===AA.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(A=eA(this.strm,t.dictionary),A!==sA)))throw new Error(O[A])}function hA(e,t){const A=new uA(t);if(A.push(e),A.err)throw A.msg||O[A.err];return A.result}uA.prototype.push=function(e,t){const A=this.strm,r=this.options.chunkSize,n=this.options.dictionary;let s,i,o;if(this.ended)return!1;for(i=t===~~t?t:!0===t?nA:rA,"[object ArrayBuffer]"===AA.call(e)?A.input=new Uint8Array(e):A.input=e,A.next_in=0,A.avail_in=A.input.length;;){for(0===A.avail_out&&(A.output=new Uint8Array(r),A.next_out=0,A.avail_out=r),s=Jt(A,i),s===oA&&n&&(s=eA(A,n),s===sA?s=Jt(A,i):s===lA&&(s=oA));A.avail_in>0&&s===iA&&A.state.wrap>0&&0!==e[A.next_in];)Xt(A),s=Jt(A,i);switch(s){case aA:case lA:case oA:case cA:return this.onEnd(s),this.ended=!0,!1}if(o=A.avail_out,A.next_out&&(0===A.avail_out||s===iA))if("string"===this.options.to){let e=Xe(A.output,A.next_out),t=A.next_out-e,n=We(A.output,e);A.next_out=t,A.avail_out=r-t,t&&A.output.set(A.output.subarray(e,e+t),0),this.onData(n)}else this.onData(A.output.length===A.next_out?A.output:A.output.subarray(0,A.next_out));if(s!==sA||0!==o){if(s===iA)return s=Zt(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===A.avail_in)break}}return!0},uA.prototype.onData=function(e){this.chunks.push(e)},uA.prototype.onEnd=function(e){e===sA&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ve(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var dA={Inflate:uA,inflate:hA,inflateRaw:function(e,t){return(t=t||{}).raw=!0,hA(e,t)},ungzip:hA,constants:M};const{Deflate:fA,deflate:pA,deflateRaw:gA,gzip:mA}=lt,{Inflate:wA,inflate:BA,inflateRaw:yA,ungzip:vA}=dA;var bA=fA,CA=pA,_A=gA,jA=mA,xA=wA,FA=BA,QA=yA,UA=vA,EA=M,SA={Deflate:fA,deflate:pA,deflateRaw:gA,gzip:mA,Inflate:wA,inflate:BA,inflateRaw:yA,ungzip:vA,constants:M}},"./node_modules/performance-now/lib/performance-now.js":function(e){(function(){var t,A,r,n,s,i;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-s)/1e6},A=process.hrtime,n=(t=function(){var e;return 1e9*(e=A())[0]+e[1]})(),i=1e9*process.uptime(),s=n-i):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},"./node_modules/raf/index.js":function(e,t,A){for(var r=A("./node_modules/performance-now/lib/performance-now.js"),n="undefined"==typeof window?global:window,s=["moz","webkit"],i="AnimationFrame",o=n["request"+i],a=n["cancel"+i]||n["cancelRequest"+i],l=0;!o&&l<s.length;l++)o=n[s[l]+"Request"+i],a=n[s[l]+"Cancel"+i]||n[s[l]+"CancelRequest"+i];if(!o||!a){var c=0,u=0,h=[],d=1e3/60;o=function(e){if(0===h.length){var t=r(),A=Math.max(0,d-(t-c));c=A+t,setTimeout(function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout(function(){throw e},0)}},Math.round(A))}return h.push({handle:++u,callback:e,cancelled:!1}),u},a=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return o.call(n,e)},e.exports.cancel=function(){a.apply(n,arguments)},e.exports.polyfill=function(e){e||(e=n),e.requestAnimationFrame=o,e.cancelAnimationFrame=a}},"./node_modules/rgbcolor/index.js":function(e){e.exports=function(e){this.ok=!1,this.alpha=1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e=(e=e.replace(/ /g,"")).toLowerCase();var t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};e=t[e]||e;for(var A=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),parseFloat(e[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<A.length;r++){var n=A[r].re,s=A[r].process,i=n.exec(e);if(i){var o=s(i);this.r=o[0],this.g=o[1],this.b=o[2],o.length>3&&(this.alpha=o[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),A=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==A.length&&(A="0"+A),"#"+e+t+A},this.getHelpXML=function(){for(var e=new Array,r=0;r<A.length;r++)for(var n=A[r].example,s=0;s<n.length;s++)e[e.length]=n[s];for(var i in t)e[e.length]=i;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),r=0;r<e.length;r++)try{var a=document.createElement("li"),l=new RGBColor(e[r]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+l.toHex()+"; color:"+l.toHex(),c.appendChild(document.createTextNode("test"));var u=document.createTextNode(" "+e[r]+" -> "+l.toRGB()+" -> "+l.toHex());a.appendChild(c),a.appendChild(u),o.appendChild(a)}catch(e){}return o}}},"./node_modules/stackblur-canvas/dist/stackblur-es.js":function(e,t,A){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}A.r(t),A.d(t,{BlurStack:function(){return h},canvasRGB:function(){return c},canvasRGBA:function(){return a},image:function(){return i},imageDataRGB:function(){return u},imageDataRGBA:function(){return l}});var n=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],s=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,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,24,24,24,24,24,24,24,24,24,24];function i(e,t,A,r,n,s){if("string"==typeof e&&(e=document.getElementById(e)),e&&("HTMLImageElement"!==Object.prototype.toString.call(e).slice(8,-1)||"naturalWidth"in e)){var i=n?"offset":"natural",o=e[i+"Width"],l=e[i+"Height"];if("ImageBitmap"===Object.prototype.toString.call(e).slice(8,-1)&&(o=e.width,l=e.height),"string"==typeof t&&(t=document.getElementById(t)),t&&"getContext"in t){s||(t.style.width=o+"px",t.style.height=l+"px"),t.width=o,t.height=l;var u=t.getContext("2d");u.clearRect(0,0,o,l),u.drawImage(e,0,0,e.naturalWidth,e.naturalHeight,0,0,o,l),isNaN(A)||A<1||(r?a(t,0,0,o,l,A):c(t,0,0,o,l,A))}}}function o(e,t,A,n,s){if("string"==typeof e&&(e=document.getElementById(e)),!e||"object"!==r(e)||!("getContext"in e))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var i=e.getContext("2d");try{return i.getImageData(t,A,n,s)}catch(e){throw new Error("unable to access image data: "+e)}}function a(e,t,A,r,n,s){if(!(isNaN(s)||s<1)){s|=0;var i=o(e,t,A,r,n);i=l(i,0,0,r,n,s),e.getContext("2d").putImageData(i,t,A)}}function l(e,t,A,r,i,o){for(var a,l=e.data,c=2*o+1,u=r-1,d=i-1,f=o+1,p=f*(f+1)/2,g=new h,m=g,w=1;w<c;w++)m=m.next=new h,w===f&&(a=m);m.next=g;for(var B=null,y=null,v=0,b=0,C=n[o],_=s[o],j=0;j<i;j++){m=g;for(var x=l[b],F=l[b+1],Q=l[b+2],U=l[b+3],E=0;E<f;E++)m.r=x,m.g=F,m.b=Q,m.a=U,m=m.next;for(var S=0,L=0,I=0,N=0,k=f*x,H=f*F,P=f*Q,T=f*U,O=p*x,M=p*F,D=p*Q,R=p*U,K=1;K<f;K++){var V=b+((u<K?u:K)<<2),G=l[V],z=l[V+1],q=l[V+2],W=l[V+3],X=f-K;O+=(m.r=G)*X,M+=(m.g=z)*X,D+=(m.b=q)*X,R+=(m.a=W)*X,S+=G,L+=z,I+=q,N+=W,m=m.next}B=g,y=a;for(var Y=0;Y<r;Y++){var J=R*C>>>_;if(l[b+3]=J,0!==J){var Z=255/J;l[b]=(O*C>>>_)*Z,l[b+1]=(M*C>>>_)*Z,l[b+2]=(D*C>>>_)*Z}else l[b]=l[b+1]=l[b+2]=0;O-=k,M-=H,D-=P,R-=T,k-=B.r,H-=B.g,P-=B.b,T-=B.a;var $=Y+o+1;$=v+($<u?$:u)<<2,O+=S+=B.r=l[$],M+=L+=B.g=l[$+1],D+=I+=B.b=l[$+2],R+=N+=B.a=l[$+3],B=B.next;var ee=y,te=ee.r,Ae=ee.g,re=ee.b,ne=ee.a;k+=te,H+=Ae,P+=re,T+=ne,S-=te,L-=Ae,I-=re,N-=ne,y=y.next,b+=4}v+=r}for(var se=0;se<r;se++){var ie=l[b=se<<2],oe=l[b+1],ae=l[b+2],le=l[b+3],ce=f*ie,ue=f*oe,he=f*ae,de=f*le,fe=p*ie,pe=p*oe,ge=p*ae,me=p*le;m=g;for(var we=0;we<f;we++)m.r=ie,m.g=oe,m.b=ae,m.a=le,m=m.next;for(var Be=r,ye=0,ve=0,be=0,Ce=0,_e=1;_e<=o;_e++){b=Be+se<<2;var je=f-_e;fe+=(m.r=ie=l[b])*je,pe+=(m.g=oe=l[b+1])*je,ge+=(m.b=ae=l[b+2])*je,me+=(m.a=le=l[b+3])*je,Ce+=ie,ye+=oe,ve+=ae,be+=le,m=m.next,_e<d&&(Be+=r)}b=se,B=g,y=a;for(var xe=0;xe<i;xe++){var Fe=b<<2;l[Fe+3]=le=me*C>>>_,le>0?(le=255/le,l[Fe]=(fe*C>>>_)*le,l[Fe+1]=(pe*C>>>_)*le,l[Fe+2]=(ge*C>>>_)*le):l[Fe]=l[Fe+1]=l[Fe+2]=0,fe-=ce,pe-=ue,ge-=he,me-=de,ce-=B.r,ue-=B.g,he-=B.b,de-=B.a,Fe=se+((Fe=xe+f)<d?Fe:d)*r<<2,fe+=Ce+=B.r=l[Fe],pe+=ye+=B.g=l[Fe+1],ge+=ve+=B.b=l[Fe+2],me+=be+=B.a=l[Fe+3],B=B.next,ce+=ie=y.r,ue+=oe=y.g,he+=ae=y.b,de+=le=y.a,Ce-=ie,ye-=oe,ve-=ae,be-=le,y=y.next,b+=r}}return e}function c(e,t,A,r,n,s){if(!(isNaN(s)||s<1)){s|=0;var i=o(e,t,A,r,n);i=u(i,0,0,r,n,s),e.getContext("2d").putImageData(i,t,A)}}function u(e,t,A,r,i,o){for(var a,l=e.data,c=2*o+1,u=r-1,d=i-1,f=o+1,p=f*(f+1)/2,g=new h,m=g,w=1;w<c;w++)m=m.next=new h,w===f&&(a=m);m.next=g;for(var B,y,v=null,b=null,C=n[o],_=s[o],j=0,x=0,F=0;F<i;F++){var Q=l[x],U=l[x+1],E=l[x+2],S=f*Q,L=f*U,I=f*E,N=p*Q,k=p*U,H=p*E;m=g;for(var P=0;P<f;P++)m.r=Q,m.g=U,m.b=E,m=m.next;for(var T=0,O=0,M=0,D=1;D<f;D++)B=x+((u<D?u:D)<<2),N+=(m.r=Q=l[B])*(y=f-D),k+=(m.g=U=l[B+1])*y,H+=(m.b=E=l[B+2])*y,T+=Q,O+=U,M+=E,m=m.next;v=g,b=a;for(var R=0;R<r;R++)l[x]=N*C>>>_,l[x+1]=k*C>>>_,l[x+2]=H*C>>>_,N-=S,k-=L,H-=I,S-=v.r,L-=v.g,I-=v.b,B=j+((B=R+o+1)<u?B:u)<<2,N+=T+=v.r=l[B],k+=O+=v.g=l[B+1],H+=M+=v.b=l[B+2],v=v.next,S+=Q=b.r,L+=U=b.g,I+=E=b.b,T-=Q,O-=U,M-=E,b=b.next,x+=4;j+=r}for(var K=0;K<r;K++){var V=l[x=K<<2],G=l[x+1],z=l[x+2],q=f*V,W=f*G,X=f*z,Y=p*V,J=p*G,Z=p*z;m=g;for(var $=0;$<f;$++)m.r=V,m.g=G,m.b=z,m=m.next;for(var ee=0,te=0,Ae=0,re=1,ne=r;re<=o;re++)x=ne+K<<2,Y+=(m.r=V=l[x])*(y=f-re),J+=(m.g=G=l[x+1])*y,Z+=(m.b=z=l[x+2])*y,ee+=V,te+=G,Ae+=z,m=m.next,re<d&&(ne+=r);x=K,v=g,b=a;for(var se=0;se<i;se++)l[B=x<<2]=Y*C>>>_,l[B+1]=J*C>>>_,l[B+2]=Z*C>>>_,Y-=q,J-=W,Z-=X,q-=v.r,W-=v.g,X-=v.b,B=K+((B=se+f)<d?B:d)*r<<2,Y+=ee+=v.r=l[B],J+=te+=v.g=l[B+1],Z+=Ae+=v.b=l[B+2],v=v.next,q+=V=b.r,W+=G=b.g,X+=z=b.b,ee-=V,te-=G,Ae-=z,b=b.next,x+=r}return e}var h=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}},"./node_modules/svg-pathdata/lib/SVGPathData.module.js":function(e,t,A){"use strict";A.r(t),A.d(t,{COMMAND_ARG_COUNTS:function(){return C},SVGPathData:function(){return b},SVGPathDataParser:function(){return v},SVGPathDataTransformer:function(){return u},encodeSVGPath:function(){return s}});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var A in t)Object.prototype.hasOwnProperty.call(t,A)&&(e[A]=t[A])})(e,t)};function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function A(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(A.prototype=t.prototype,new A)}function s(e){var t="";Array.isArray(e)||(e=[e]);for(var A=0;A<e.length;A++){var r=e[A];if(r.type===b.CLOSE_PATH)t+="z";else if(r.type===b.HORIZ_LINE_TO)t+=(r.relative?"h":"H")+r.x;else if(r.type===b.VERT_LINE_TO)t+=(r.relative?"v":"V")+r.y;else if(r.type===b.MOVE_TO)t+=(r.relative?"m":"M")+r.x+" "+r.y;else if(r.type===b.LINE_TO)t+=(r.relative?"l":"L")+r.x+" "+r.y;else if(r.type===b.CURVE_TO)t+=(r.relative?"c":"C")+r.x1+" "+r.y1+" "+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===b.SMOOTH_CURVE_TO)t+=(r.relative?"s":"S")+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===b.QUAD_TO)t+=(r.relative?"q":"Q")+r.x1+" "+r.y1+" "+r.x+" "+r.y;else if(r.type===b.SMOOTH_QUAD_TO)t+=(r.relative?"t":"T")+r.x+" "+r.y;else{if(r.type!==b.ARC)throw new Error('Unexpected command type "'+r.type+'" at index '+A+".");t+=(r.relative?"a":"A")+r.rX+" "+r.rY+" "+r.xRot+" "+ +r.lArcFlag+" "+ +r.sweepFlag+" "+r.x+" "+r.y}}return t}function i(e,t){var A=e[0],r=e[1];return[A*Math.cos(t)-r*Math.sin(t),A*Math.sin(t)+r*Math.cos(t)]}function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var A=0;A<e.length;A++)if("number"!=typeof e[A])throw new Error("assertNumbers arguments["+A+"] is not a number. "+typeof e[A]+" == typeof "+e[A]);return!0}var a=Math.PI;function l(e,t,A){e.lArcFlag=0===e.lArcFlag?0:1,e.sweepFlag=0===e.sweepFlag?0:1;var r=e.rX,n=e.rY,s=e.x,o=e.y;r=Math.abs(e.rX),n=Math.abs(e.rY);var l=i([(t-s)/2,(A-o)/2],-e.xRot/180*a),c=l[0],u=l[1],h=Math.pow(c,2)/Math.pow(r,2)+Math.pow(u,2)/Math.pow(n,2);1<h&&(r*=Math.sqrt(h),n*=Math.sqrt(h)),e.rX=r,e.rY=n;var d=Math.pow(r,2)*Math.pow(u,2)+Math.pow(n,2)*Math.pow(c,2),f=(e.lArcFlag!==e.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(r,2)*Math.pow(n,2)-d)/d)),p=r*u/n*f,g=-n*c/r*f,m=i([p,g],e.xRot/180*a);e.cX=m[0]+(t+s)/2,e.cY=m[1]+(A+o)/2,e.phi1=Math.atan2((u-g)/n,(c-p)/r),e.phi2=Math.atan2((-u-g)/n,(-c-p)/r),0===e.sweepFlag&&e.phi2>e.phi1&&(e.phi2-=2*a),1===e.sweepFlag&&e.phi2<e.phi1&&(e.phi2+=2*a),e.phi1*=180/a,e.phi2*=180/a}function c(e,t,A){o(e,t,A);var r=e*e+t*t-A*A;if(0>r)return[];if(0===r)return[[e*A/(e*e+t*t),t*A/(e*e+t*t)]];var n=Math.sqrt(r);return[[(e*A+t*n)/(e*e+t*t),(t*A-e*n)/(e*e+t*t)],[(e*A-t*n)/(e*e+t*t),(t*A+e*n)/(e*e+t*t)]]}var u,h=Math.PI/180;function d(e,t,A){return(1-A)*e+A*t}function f(e,t,A,r){return e+Math.cos(r/180*a)*t+Math.sin(r/180*a)*A}function p(e,t,A,r){var n=1e-6,s=t-e,i=A-t,o=3*s+3*(r-A)-6*i,a=6*(i-s),l=3*s;return Math.abs(o)<n?[-l/a]:function(e,t,A){void 0===A&&(A=1e-6);var r=e*e/4-t;if(r<-A)return[];if(r<=A)return[-e/2];var n=Math.sqrt(r);return[-e/2-n,-e/2+n]}(a/o,l/o,n)}function g(e,t,A,r,n){var s=1-n;return e*(s*s*s)+t*(3*s*s*n)+A*(3*s*n*n)+r*(n*n*n)}!function(e){function t(){return n(function(e,t,A){return e.relative&&(void 0!==e.x1&&(e.x1+=t),void 0!==e.y1&&(e.y1+=A),void 0!==e.x2&&(e.x2+=t),void 0!==e.y2&&(e.y2+=A),void 0!==e.x&&(e.x+=t),void 0!==e.y&&(e.y+=A),e.relative=!1),e})}function A(){var e=NaN,t=NaN,A=NaN,r=NaN;return n(function(n,s,i){return n.type&b.SMOOTH_CURVE_TO&&(n.type=b.CURVE_TO,e=isNaN(e)?s:e,t=isNaN(t)?i:t,n.x1=n.relative?s-e:2*s-e,n.y1=n.relative?i-t:2*i-t),n.type&b.CURVE_TO?(e=n.relative?s+n.x2:n.x2,t=n.relative?i+n.y2:n.y2):(e=NaN,t=NaN),n.type&b.SMOOTH_QUAD_TO&&(n.type=b.QUAD_TO,A=isNaN(A)?s:A,r=isNaN(r)?i:r,n.x1=n.relative?s-A:2*s-A,n.y1=n.relative?i-r:2*i-r),n.type&b.QUAD_TO?(A=n.relative?s+n.x1:n.x1,r=n.relative?i+n.y1:n.y1):(A=NaN,r=NaN),n})}function r(){var e=NaN,t=NaN;return n(function(A,r,n){if(A.type&b.SMOOTH_QUAD_TO&&(A.type=b.QUAD_TO,e=isNaN(e)?r:e,t=isNaN(t)?n:t,A.x1=A.relative?r-e:2*r-e,A.y1=A.relative?n-t:2*n-t),A.type&b.QUAD_TO){e=A.relative?r+A.x1:A.x1,t=A.relative?n+A.y1:A.y1;var s=A.x1,i=A.y1;A.type=b.CURVE_TO,A.x1=((A.relative?0:r)+2*s)/3,A.y1=((A.relative?0:n)+2*i)/3,A.x2=(A.x+2*s)/3,A.y2=(A.y+2*i)/3}else e=NaN,t=NaN;return A})}function n(e){var t=0,A=0,r=NaN,n=NaN;return function(s){if(isNaN(r)&&!(s.type&b.MOVE_TO))throw new Error("path must start with moveto");var i=e(s,t,A,r,n);return s.type&b.CLOSE_PATH&&(t=r,A=n),void 0!==s.x&&(t=s.relative?t+s.x:s.x),void 0!==s.y&&(A=s.relative?A+s.y:s.y),s.type&b.MOVE_TO&&(r=t,n=A),i}}function s(e,t,A,r,s,i){return o(e,t,A,r,s,i),n(function(n,o,a,l){var c=n.x1,u=n.x2,h=n.relative&&!isNaN(l),d=void 0!==n.x?n.x:h?0:o,f=void 0!==n.y?n.y:h?0:a;function p(e){return e*e}n.type&b.HORIZ_LINE_TO&&0!==t&&(n.type=b.LINE_TO,n.y=n.relative?0:a),n.type&b.VERT_LINE_TO&&0!==A&&(n.type=b.LINE_TO,n.x=n.relative?0:o),void 0!==n.x&&(n.x=n.x*e+f*A+(h?0:s)),void 0!==n.y&&(n.y=d*t+n.y*r+(h?0:i)),void 0!==n.x1&&(n.x1=n.x1*e+n.y1*A+(h?0:s)),void 0!==n.y1&&(n.y1=c*t+n.y1*r+(h?0:i)),void 0!==n.x2&&(n.x2=n.x2*e+n.y2*A+(h?0:s)),void 0!==n.y2&&(n.y2=u*t+n.y2*r+(h?0:i));var g=e*r-t*A;if(void 0!==n.xRot&&(1!==e||0!==t||0!==A||1!==r))if(0===g)delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag,n.type=b.LINE_TO;else{var m=n.xRot*Math.PI/180,w=Math.sin(m),B=Math.cos(m),y=1/p(n.rX),v=1/p(n.rY),C=p(B)*y+p(w)*v,_=2*w*B*(y-v),j=p(w)*y+p(B)*v,x=C*r*r-_*t*r+j*t*t,F=_*(e*r+t*A)-2*(C*A*r+j*e*t),Q=C*A*A-_*e*A+j*e*e,U=(Math.atan2(F,x-Q)+Math.PI)%Math.PI/2,E=Math.sin(U),S=Math.cos(U);n.rX=Math.abs(g)/Math.sqrt(x*p(S)+F*E*S+Q*p(E)),n.rY=Math.abs(g)/Math.sqrt(x*p(E)-F*E*S+Q*p(S)),n.xRot=180*U/Math.PI}return void 0!==n.sweepFlag&&0>g&&(n.sweepFlag=+!n.sweepFlag),n})}e.ROUND=function(e){function t(t){return Math.round(t*e)/e}return void 0===e&&(e=1e13),o(e),function(e){return void 0!==e.x1&&(e.x1=t(e.x1)),void 0!==e.y1&&(e.y1=t(e.y1)),void 0!==e.x2&&(e.x2=t(e.x2)),void 0!==e.y2&&(e.y2=t(e.y2)),void 0!==e.x&&(e.x=t(e.x)),void 0!==e.y&&(e.y=t(e.y)),void 0!==e.rX&&(e.rX=t(e.rX)),void 0!==e.rY&&(e.rY=t(e.rY)),e}},e.TO_ABS=t,e.TO_REL=function(){return n(function(e,t,A){return e.relative||(void 0!==e.x1&&(e.x1-=t),void 0!==e.y1&&(e.y1-=A),void 0!==e.x2&&(e.x2-=t),void 0!==e.y2&&(e.y2-=A),void 0!==e.x&&(e.x-=t),void 0!==e.y&&(e.y-=A),e.relative=!0),e})},e.NORMALIZE_HVZ=function(e,t,A){return void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===A&&(A=!0),n(function(r,n,s,i,o){if(isNaN(i)&&!(r.type&b.MOVE_TO))throw new Error("path must start with moveto");return t&&r.type&b.HORIZ_LINE_TO&&(r.type=b.LINE_TO,r.y=r.relative?0:s),A&&r.type&b.VERT_LINE_TO&&(r.type=b.LINE_TO,r.x=r.relative?0:n),e&&r.type&b.CLOSE_PATH&&(r.type=b.LINE_TO,r.x=r.relative?i-n:i,r.y=r.relative?o-s:o),r.type&b.ARC&&(0===r.rX||0===r.rY)&&(r.type=b.LINE_TO,delete r.rX,delete r.rY,delete r.xRot,delete r.lArcFlag,delete r.sweepFlag),r})},e.NORMALIZE_ST=A,e.QT_TO_C=r,e.INFO=n,e.SANITIZE=function(e){void 0===e&&(e=0),o(e);var t=NaN,A=NaN,r=NaN,s=NaN;return n(function(n,i,o,a,l){var c=Math.abs,u=!1,h=0,d=0;if(n.type&b.SMOOTH_CURVE_TO&&(h=isNaN(t)?0:i-t,d=isNaN(A)?0:o-A),n.type&(b.CURVE_TO|b.SMOOTH_CURVE_TO)?(t=n.relative?i+n.x2:n.x2,A=n.relative?o+n.y2:n.y2):(t=NaN,A=NaN),n.type&b.SMOOTH_QUAD_TO?(r=isNaN(r)?i:2*i-r,s=isNaN(s)?o:2*o-s):n.type&b.QUAD_TO?(r=n.relative?i+n.x1:n.x1,s=n.relative?o+n.y1:n.y2):(r=NaN,s=NaN),n.type&b.LINE_COMMANDS||n.type&b.ARC&&(0===n.rX||0===n.rY||!n.lArcFlag)||n.type&b.CURVE_TO||n.type&b.SMOOTH_CURVE_TO||n.type&b.QUAD_TO||n.type&b.SMOOTH_QUAD_TO){var f=void 0===n.x?0:n.relative?n.x:n.x-i,p=void 0===n.y?0:n.relative?n.y:n.y-o;h=isNaN(r)?void 0===n.x1?h:n.relative?n.x:n.x1-i:r-i,d=isNaN(s)?void 0===n.y1?d:n.relative?n.y:n.y1-o:s-o;var g=void 0===n.x2?0:n.relative?n.x:n.x2-i,m=void 0===n.y2?0:n.relative?n.y:n.y2-o;c(f)<=e&&c(p)<=e&&c(h)<=e&&c(d)<=e&&c(g)<=e&&c(m)<=e&&(u=!0)}return n.type&b.CLOSE_PATH&&c(i-a)<=e&&c(o-l)<=e&&(u=!0),u?[]:n})},e.MATRIX=s,e.ROTATE=function(e,t,A){void 0===t&&(t=0),void 0===A&&(A=0),o(e,t,A);var r=Math.sin(e),n=Math.cos(e);return s(n,r,-r,n,t-t*n+A*r,A-t*r-A*n)},e.TRANSLATE=function(e,t){return void 0===t&&(t=0),o(e,t),s(1,0,0,1,e,t)},e.SCALE=function(e,t){return void 0===t&&(t=e),o(e,t),s(e,0,0,t,0,0)},e.SKEW_X=function(e){return o(e),s(1,0,Math.atan(e),1,0,0)},e.SKEW_Y=function(e){return o(e),s(1,Math.atan(e),0,1,0,0)},e.X_AXIS_SYMMETRY=function(e){return void 0===e&&(e=0),o(e),s(-1,0,0,1,e,0)},e.Y_AXIS_SYMMETRY=function(e){return void 0===e&&(e=0),o(e),s(1,0,0,-1,0,e)},e.A_TO_C=function(){return n(function(e,t,A){return b.ARC===e.type?function(e,t,A){var r,n,s,o;e.cX||l(e,t,A);for(var a=Math.min(e.phi1,e.phi2),c=Math.max(e.phi1,e.phi2)-a,u=Math.ceil(c/90),f=new Array(u),p=t,g=A,m=0;m<u;m++){var w=d(e.phi1,e.phi2,m/u),B=d(e.phi1,e.phi2,(m+1)/u),y=B-w,v=4/3*Math.tan(y*h/4),C=[Math.cos(w*h)-v*Math.sin(w*h),Math.sin(w*h)+v*Math.cos(w*h)],_=C[0],j=C[1],x=[Math.cos(B*h),Math.sin(B*h)],F=x[0],Q=x[1],U=[F+v*Math.sin(B*h),Q-v*Math.cos(B*h)],E=U[0],S=U[1];f[m]={relative:e.relative,type:b.CURVE_TO};var L=function(t,A){var r=i([t*e.rX,A*e.rY],e.xRot),n=r[0],s=r[1];return[e.cX+n,e.cY+s]};r=L(_,j),f[m].x1=r[0],f[m].y1=r[1],n=L(E,S),f[m].x2=n[0],f[m].y2=n[1],s=L(F,Q),f[m].x=s[0],f[m].y=s[1],e.relative&&(f[m].x1-=p,f[m].y1-=g,f[m].x2-=p,f[m].y2-=g,f[m].x-=p,f[m].y-=g),p=(o=[f[m].x,f[m].y])[0],g=o[1]}return f}(e,e.relative?0:t,e.relative?0:A):e})},e.ANNOTATE_ARCS=function(){return n(function(e,t,A){return e.relative&&(t=0,A=0),b.ARC===e.type&&l(e,t,A),e})},e.CLONE=function(){return function(e){var t={};for(var A in e)t[A]=e[A];return t}},e.CALCULATE_BOUNDS=function(){var e=t(),s=r(),i=A(),o=n(function(t,A,r){var n=i(s(e(function(e){var t={};for(var A in e)t[A]=e[A];return t}(t))));function a(e){e>o.maxX&&(o.maxX=e),e<o.minX&&(o.minX=e)}function u(e){e>o.maxY&&(o.maxY=e),e<o.minY&&(o.minY=e)}if(n.type&b.DRAWING_COMMANDS&&(a(A),u(r)),n.type&b.HORIZ_LINE_TO&&a(n.x),n.type&b.VERT_LINE_TO&&u(n.y),n.type&b.LINE_TO&&(a(n.x),u(n.y)),n.type&b.CURVE_TO){a(n.x),u(n.y);for(var h=0,d=p(A,n.x1,n.x2,n.x);h<d.length;h++)0<(I=d[h])&&1>I&&a(g(A,n.x1,n.x2,n.x,I));for(var m=0,w=p(r,n.y1,n.y2,n.y);m<w.length;m++)0<(I=w[m])&&1>I&&u(g(r,n.y1,n.y2,n.y,I))}if(n.type&b.ARC){a(n.x),u(n.y),l(n,A,r);for(var B=n.xRot/180*Math.PI,y=Math.cos(B)*n.rX,v=Math.sin(B)*n.rX,C=-Math.sin(B)*n.rY,_=Math.cos(B)*n.rY,j=n.phi1<n.phi2?[n.phi1,n.phi2]:-180>n.phi2?[n.phi2+360,n.phi1+360]:[n.phi2,n.phi1],x=j[0],F=j[1],Q=function(e){var t=e[0],A=e[1],r=180*Math.atan2(A,t)/Math.PI;return r<x?r+360:r},U=0,E=c(C,-y,0).map(Q);U<E.length;U++)(I=E[U])>x&&I<F&&a(f(n.cX,y,C,I));for(var S=0,L=c(_,-v,0).map(Q);S<L.length;S++){var I;(I=L[S])>x&&I<F&&u(f(n.cY,v,_,I))}}return t});return o.minX=1/0,o.maxX=-1/0,o.minY=1/0,o.maxY=-1/0,o}}(u||(u={}));var m,w=function(){function e(){}return e.prototype.round=function(e){return this.transform(u.ROUND(e))},e.prototype.toAbs=function(){return this.transform(u.TO_ABS())},e.prototype.toRel=function(){return this.transform(u.TO_REL())},e.prototype.normalizeHVZ=function(e,t,A){return this.transform(u.NORMALIZE_HVZ(e,t,A))},e.prototype.normalizeST=function(){return this.transform(u.NORMALIZE_ST())},e.prototype.qtToC=function(){return this.transform(u.QT_TO_C())},e.prototype.aToC=function(){return this.transform(u.A_TO_C())},e.prototype.sanitize=function(e){return this.transform(u.SANITIZE(e))},e.prototype.translate=function(e,t){return this.transform(u.TRANSLATE(e,t))},e.prototype.scale=function(e,t){return this.transform(u.SCALE(e,t))},e.prototype.rotate=function(e,t,A){return this.transform(u.ROTATE(e,t,A))},e.prototype.matrix=function(e,t,A,r,n,s){return this.transform(u.MATRIX(e,t,A,r,n,s))},e.prototype.skewX=function(e){return this.transform(u.SKEW_X(e))},e.prototype.skewY=function(e){return this.transform(u.SKEW_Y(e))},e.prototype.xSymmetry=function(e){return this.transform(u.X_AXIS_SYMMETRY(e))},e.prototype.ySymmetry=function(e){return this.transform(u.Y_AXIS_SYMMETRY(e))},e.prototype.annotateArcs=function(){return this.transform(u.ANNOTATE_ARCS())},e}(),B=function(e){return" "===e||"\t"===e||"\r"===e||"\n"===e},y=function(e){return"0".charCodeAt(0)<=e.charCodeAt(0)&&e.charCodeAt(0)<="9".charCodeAt(0)},v=function(e){function t(){var t=e.call(this)||this;return t.curNumber="",t.curCommandType=-1,t.curCommandRelative=!1,t.canParseCommandOrComma=!0,t.curNumberHasExp=!1,t.curNumberHasExpDigits=!1,t.curNumberHasDecimal=!1,t.curArgs=[],t}return n(t,e),t.prototype.finish=function(e){if(void 0===e&&(e=[]),this.parse(" ",e),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return e},t.prototype.parse=function(e,t){var A=this;void 0===t&&(t=[]);for(var r=function(e){t.push(e),A.curArgs.length=0,A.canParseCommandOrComma=!0},n=0;n<e.length;n++){var s=e[n],i=!(this.curCommandType!==b.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),o=y(s)&&("0"===this.curNumber&&"0"===s||i);if(!y(s)||o)if("e"!==s&&"E"!==s)if("-"!==s&&"+"!==s||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==s||this.curNumberHasExp||this.curNumberHasDecimal||i){if(this.curNumber&&-1!==this.curCommandType){var a=Number(this.curNumber);if(isNaN(a))throw new SyntaxError("Invalid number ending at "+n);if(this.curCommandType===b.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(0>a)throw new SyntaxError('Expected positive number, got "'+a+'" at index "'+n+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+n+'"');this.curArgs.push(a),this.curArgs.length===C[this.curCommandType]&&(b.HORIZ_LINE_TO===this.curCommandType?r({type:b.HORIZ_LINE_TO,relative:this.curCommandRelative,x:a}):b.VERT_LINE_TO===this.curCommandType?r({type:b.VERT_LINE_TO,relative:this.curCommandRelative,y:a}):this.curCommandType===b.MOVE_TO||this.curCommandType===b.LINE_TO||this.curCommandType===b.SMOOTH_QUAD_TO?(r({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),b.MOVE_TO===this.curCommandType&&(this.curCommandType=b.LINE_TO)):this.curCommandType===b.CURVE_TO?r({type:b.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===b.SMOOTH_CURVE_TO?r({type:b.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.QUAD_TO?r({type:b.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.ARC&&r({type:b.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!B(s))if(","===s&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==s&&"-"!==s&&"."!==s)if(o)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+n+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+n+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==s&&"Z"!==s)if("h"===s||"H"===s)this.curCommandType=b.HORIZ_LINE_TO,this.curCommandRelative="h"===s;else if("v"===s||"V"===s)this.curCommandType=b.VERT_LINE_TO,this.curCommandRelative="v"===s;else if("m"===s||"M"===s)this.curCommandType=b.MOVE_TO,this.curCommandRelative="m"===s;else if("l"===s||"L"===s)this.curCommandType=b.LINE_TO,this.curCommandRelative="l"===s;else if("c"===s||"C"===s)this.curCommandType=b.CURVE_TO,this.curCommandRelative="c"===s;else if("s"===s||"S"===s)this.curCommandType=b.SMOOTH_CURVE_TO,this.curCommandRelative="s"===s;else if("q"===s||"Q"===s)this.curCommandType=b.QUAD_TO,this.curCommandRelative="q"===s;else if("t"===s||"T"===s)this.curCommandType=b.SMOOTH_QUAD_TO,this.curCommandRelative="t"===s;else{if("a"!==s&&"A"!==s)throw new SyntaxError('Unexpected character "'+s+'" at index '+n+".");this.curCommandType=b.ARC,this.curCommandRelative="a"===s}else t.push({type:b.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal="."===s}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return t},t.prototype.transform=function(e){return Object.create(this,{parse:{value:function(t,A){void 0===A&&(A=[]);for(var r=0,n=Object.getPrototypeOf(this).parse.call(this,t);r<n.length;r++){var s=n[r],i=e(s);Array.isArray(i)?A.push.apply(A,i):A.push(i)}return A}}})},t}(w),b=function(e){function t(A){var r=e.call(this)||this;return r.commands="string"==typeof A?t.parse(A):A,r}return n(t,e),t.prototype.encode=function(){return t.encode(this.commands)},t.prototype.getBounds=function(){var e=u.CALCULATE_BOUNDS();return this.transform(e),e},t.prototype.transform=function(e){for(var t=[],A=0,r=this.commands;A<r.length;A++){var n=e(r[A]);Array.isArray(n)?t.push.apply(t,n):t.push(n)}return this.commands=t,this},t.encode=function(e){return s(e)},t.parse=function(e){var t=new v,A=[];return t.parse(e,A),t.finish(A),A},t.CLOSE_PATH=1,t.MOVE_TO=2,t.HORIZ_LINE_TO=4,t.VERT_LINE_TO=8,t.LINE_TO=16,t.CURVE_TO=32,t.SMOOTH_CURVE_TO=64,t.QUAD_TO=128,t.SMOOTH_QUAD_TO=256,t.ARC=512,t.LINE_COMMANDS=t.LINE_TO|t.HORIZ_LINE_TO|t.VERT_LINE_TO,t.DRAWING_COMMANDS=t.HORIZ_LINE_TO|t.VERT_LINE_TO|t.LINE_TO|t.CURVE_TO|t.SMOOTH_CURVE_TO|t.QUAD_TO|t.SMOOTH_QUAD_TO|t.ARC,t}(w),C=((m={})[b.MOVE_TO]=2,m[b.LINE_TO]=2,m[b.HORIZ_LINE_TO]=1,m[b.VERT_LINE_TO]=1,m[b.CLOSE_PATH]=0,m[b.QUAD_TO]=4,m[b.SMOOTH_QUAD_TO]=2,m[b.CURVE_TO]=6,m[b.SMOOTH_CURVE_TO]=4,m[b.ARC]=7,m)},"./src/plugin/hyperlinks.js":function(e,t,A){"use strict";A.r(t),A("./node_modules/core-js/modules/es.object.to-string.js"),A("./node_modules/core-js/modules/es.string.link.js"),A("./node_modules/core-js/modules/esnext.iterator.constructor.js"),A("./node_modules/core-js/modules/esnext.iterator.for-each.js"),A("./node_modules/core-js/modules/web.dom-collections.for-each.js");var r=A("./src/worker.js"),n=A("./src/utils.js"),s=[],i={toContainer:r.default.prototype.toContainer,toPdf:r.default.prototype.toPdf};r.default.prototype.toContainer=function(){return i.toContainer.call(this).then(function(){if(this.opt.enableLinks){var e=this.prop.container,t=e.querySelectorAll("a"),A=(0,n.unitConvert)(e.getBoundingClientRect(),this.prop.pageSize.k);s=[],Array.prototype.forEach.call(t,function(e){for(var t=e.getClientRects(),r=0;r<t.length;r++){var i=(0,n.unitConvert)(t[r],this.prop.pageSize.k);i.left-=A.left,i.top-=A.top;var o=Math.floor(i.top/this.prop.pageSize.inner.height)+1,a=this.opt.margin[0]+i.top%this.prop.pageSize.inner.height,l=this.opt.margin[1]+i.left;s.push({page:o,top:a,left:l,clientRect:i,link:e})}},this)}})},r.default.prototype.toPdf=function(){return i.toPdf.call(this).then(function(){if(this.opt.enableLinks){s.forEach(function(e){this.prop.pdf.setPage(e.page),this.prop.pdf.link(e.left,e.top,e.clientRect.width,e.clientRect.height,{url:e.link.href})},this);var e=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(e)}})}},"./src/plugin/jspdf-plugin.js":function(e,t,A){"use strict";A.r(t),A("./node_modules/core-js/modules/es.symbol.js"),A("./node_modules/core-js/modules/es.symbol.description.js"),A("./node_modules/core-js/modules/es.symbol.iterator.js"),A("./node_modules/core-js/modules/es.array.iterator.js"),A("./node_modules/core-js/modules/es.object.to-string.js"),A("./node_modules/core-js/modules/es.string.iterator.js"),A("./node_modules/core-js/modules/web.dom-collections.iterator.js");var r=A("./node_modules/jspdf/dist/jspdf.es.min.js");function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.default.getPageSize=function(e,t,A){if("object"===n(e)){var r=e;e=r.orientation,t=r.unit||t,A=r.format||A}t=t||"mm",A=A||"a4",e=(""+(e||"P")).toLowerCase();var s=(""+A).toLowerCase(),i={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],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":var o=1;break;case"mm":o=72/25.4;break;case"cm":o=72/2.54;break;case"in":o=72;break;case"px":o=.75;break;case"pc":case"em":o=12;break;case"ex":o=6;break;default:throw"Invalid unit: "+t}if(i.hasOwnProperty(s))var a=i[s][1]/o,l=i[s][0]/o;else try{a=A[1],l=A[0]}catch(e){throw new Error("Invalid format: "+A)}if("p"===e||"portrait"===e){if(e="p",l>a){var c=l;l=a,a=c}}else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",a>l&&(c=l,l=a,a=c)}return{width:l,height:a,unit:t,k:o}},t.default=r.default},"./src/plugin/pagebreaks.js":function(e,t,A){"use strict";A.r(t),A("./node_modules/core-js/modules/es.array.concat.js"),A("./node_modules/core-js/modules/es.array.join.js"),A("./node_modules/core-js/modules/es.array.slice.js"),A("./node_modules/core-js/modules/es.object.keys.js"),A("./node_modules/core-js/modules/es.object.to-string.js"),A("./node_modules/core-js/modules/esnext.iterator.constructor.js"),A("./node_modules/core-js/modules/esnext.iterator.for-each.js"),A("./node_modules/core-js/modules/web.dom-collections.for-each.js");var r=A("./src/worker.js"),n=A("./src/utils.js"),s={toContainer:r.default.prototype.toContainer};r.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},r.default.prototype.toContainer=function(){return s.toContainer.call(this).then(function(){var e=this.prop.container,t=this.prop.pageSize.inner.px.height,A=[].concat(this.opt.pagebreak.mode),r={avoidAll:-1!==A.indexOf("avoid-all"),css:-1!==A.indexOf("css"),legacy:-1!==A.indexOf("legacy")},s={},i=this;["before","after","avoid"].forEach(function(t){var A=r.avoidAll&&"avoid"===t;s[t]=A?[]:[].concat(i.opt.pagebreak[t]||[]),s[t].length>0&&(s[t]=Array.prototype.slice.call(e.querySelectorAll(s[t].join(", "))))});var o=e.querySelectorAll(".html2pdf__page-break");o=Array.prototype.slice.call(o);var a=e.querySelectorAll("*");Array.prototype.forEach.call(a,function(e){var A={before:!1,after:r.legacy&&-1!==o.indexOf(e),avoid:r.avoidAll};if(r.css){var i=window.getComputedStyle(e),a=["always","page","left","right"];A={before:A.before||-1!==a.indexOf(i.breakBefore||i.pageBreakBefore),after:A.after||-1!==a.indexOf(i.breakAfter||i.pageBreakAfter),avoid:A.avoid||-1!==["avoid","avoid-page"].indexOf(i.breakInside||i.pageBreakInside)}}Object.keys(A).forEach(function(t){A[t]=A[t]||-1!==s[t].indexOf(e)});var l=e.getBoundingClientRect();if(A.avoid&&!A.before){var c=Math.floor(l.top/t),u=Math.floor(l.bottom/t),h=Math.abs(l.bottom-l.top)/t;u!==c&&h<=1&&(A.before=!0)}if(A.before){var d=(0,n.createElement)("div",{style:{display:"block",height:t-l.top%t+"px"}});e.parentNode.insertBefore(d,e)}A.after&&(d=(0,n.createElement)("div",{style:{display:"block",height:t-l.bottom%t+"px"}}),e.parentNode.insertBefore(d,e.nextSibling))})})}},"./src/snapdom/clone.js":function(e,t,A){"use strict";function r(e,t){var A="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!A){if(Array.isArray(e)||(A=function(e,t){if(e){if("string"==typeof e)return n(e,t);var A={}.toString.call(e).slice(8,-1);return"Object"===A&&e.constructor&&(A=e.constructor.name),"Map"===A||"Set"===A?Array.from(e):"Arguments"===A||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){A&&(e=A);var r=0,s=function(){};return{s:s,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){A=A.call(e)},n:function(){var e=A.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==A.return||A.return()}finally{if(a)throw i}}}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var A=0,r=Array(t);A<t;A++)r[A]=e[A];return r}function s(e){if(!e)throw new Error("Invalid node");var t,A=new Set,n=null;if(e.nodeType===Node.TEXT_NODE)return e.cloneNode(!0);if(e.nodeType!==Node.ELEMENT_NODE)return e.cloneNode(!0);if("IFRAME"===e.tagName){var i=document.createElement("div");return i.style.cssText="width:".concat(e.offsetWidth,"px;height:").concat(e.offsetHeight,"px;background-image:repeating-linear-gradient(45deg,#ddd,#ddd 5px,#f9f9f9 5px,#f9f9f9 10px);display:flex;align-items:center;justify-content:center;font-size:12px;color:#555;border:1px solid #aaa;"),i}if("CANVAS"===e.tagName){var o=e.toDataURL(),a=document.createElement("img");return a.src=o,a.width=e.width,a.height=e.height,a}try{t=e.cloneNode(!1),"IMG"===e.tagName&&function(e,t){try{var A=e.currentSrc||e.src||"";if(!A)return;t.setAttribute("src",A),t.removeAttribute("srcset"),t.removeAttribute("sizes"),t.loading="eager",t.decoding="sync"}catch(e){}}(e,t)}catch(t){throw console.error("[Snapdom] Failed to clone node:",e,t),t}if(e instanceof HTMLTextAreaElement){t.textContent=e.value,t.value=e.value;var l=e.getBoundingClientRect();return t.style.boxSizing="border-box",t.style.width="".concat(l.width,"px"),t.style.height="".concat(l.height,"px"),t}if(e instanceof HTMLInputElement&&(e.hasAttribute("value")&&(t.value=e.value,t.setAttribute("value",e.value)),void 0!==e.checked&&(t.checked=e.checked,e.checked&&t.setAttribute("checked",""),e.indeterminate&&(t.indeterminate=e.indeterminate))),e instanceof HTMLSelectElement&&(n=e.value),e.shadowRoot)if(Array.from(e.shadowRoot.querySelectorAll("slot")).length>0);else{var c,u=document.createDocumentFragment(),h=r(e.shadowRoot.childNodes);try{for(h.s();!(c=h.n()).done;){var d=c.value;if(d.nodeType!==Node.ELEMENT_NODE||"STYLE"!==d.tagName){var f=s(d);f&&u.appendChild(f)}}}catch(e){h.e(e)}finally{h.f()}t.appendChild(u)}if("SLOT"===e.tagName){var p,g,m=(null===(p=e.assignedNodes)||void 0===p?void 0:p.call(e,{flatten:!0}))||[],w=m.length>0?m:Array.from(e.childNodes),B=document.createDocumentFragment(),y=r(w);try{for(y.s();!(g=y.n()).done;){var v=s(g.value);v&&B.appendChild(v)}}catch(e){y.e(e)}finally{y.f()}return B}var b,C=r(e.childNodes);try{for(C.s();!(b=C.n()).done;){var _=b.value;if(!A.has(_)){var j=s(_);j&&t.appendChild(j)}}}catch(e){C.e(e)}finally{C.f()}if(null!==n&&t instanceof HTMLSelectElement){t.value=n;var x,F=r(t.options);try{for(F.s();!(x=F.n()).done;){var Q=x.value;Q.value===n?Q.setAttribute("selected",""):Q.removeAttribute("selected")}}catch(e){F.e(e)}finally{F.f()}}var U=e.scrollLeft,E=e.scrollTop;if((U||E)&&t instanceof HTMLElement){t.style.overflow="hidden",t.style.scrollbarWidth="none",t.style.msOverflowStyle="none";var S=document.createElement("div");for(S.style.transform="translate(".concat(-U,"px, ").concat(-E,"px)"),S.style.willChange="transform",S.style.display="inline-block",S.style.width="100%";t.firstChild;)S.appendChild(t.firstChild);t.appendChild(S)}return t}A.r(t),A.d(t,{deepCloneBasic:function(){return s}}),A("./node_modules/core-js/modules/es.symbol.js"),A("./node_modules/core-js/modules/es.symbol.description.js"),A("./node_modules/core-js/modules/es.symbol.iterator.js"),A("./node_modules/core-js/modules/es.array.concat.js"),A("./node_modules/core-js/modules/es.array.from.js"),A("./node_modules/core-js/modules/es.array.iterator.js"),A("./node_modules/core-js/modules/es.array.slice.js"),A("./node_modules/core-js/modules/es.function.name.js"),A("./node_modules/core-js/modules/es.object.to-string.js"),A("./node_modules/core-js/modules/es.regexp.exec.js"),A("./node_modules/core-js/modules/es.regexp.test.js"),A("./node_modules/core-js/modules/es.regexp.to-string.js"),A("./node_modules/core-js/modules/es.set.js"),A("./node_modules/core-js/modules/es.string.iterator.js"),A("./node_modules/core-js/modules/esnext.set.add-all.js"),A("./node_modules/core-js/modules/esnext.set.delete-all.js"),A("./node_modules/core-js/modules/esnext.set.difference.js"),A("./node_modules/core-js/modules/esnext.set.every.js"),A("./node_modules/core-js/modules/esnext.set.filter.js"),A("./node_modules/core-js/modules/esnext.set.find.js"),A("./node_modules/core-js/modules/esnext.set.intersection.js"),A("./node_modules/core-js/modules/esnext.set.is-disjoint-from.js"),A("./node_modules/core-js/modules/esnext.set.is-subset-of.js"),A("./node_modules/core-js/modules/esnext.set.is-superset-of.js"),A("./node_modules/core-js/modules/esnext.set.join.js"),A("./node_modules/core-js/modules/esnext.set.map.js"),A("./node_modules/core-js/modules/esnext.set.reduce.js"),A("./node_modules/core-js/modules/esnext.set.some.js"),A("./node_modules/core-js/modules/esnext.set.symmetric-difference.js"),A("./node_modules/core-js/modules/esnext.set.union.js"),A("./node_modules/core-js/modules/web.dom-collections.iterator.js")},"./src/utils.js":function(e,t,A){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}A.r(t),A.d(t,{createElement:function(){return s},objType:function(){return n},toPx:function(){return o},unitConvert:function(){return i}}),A("./node_modules/core-js/modules/es.symbol.js"),A("./node_modules/core-js/modules/es.symbol.description.js"),A("./node_modules/core-js/modules/es.symbol.iterator.js"),A("./node_modules/core-js/modules/es.array.iterator.js"),A("./node_modules/core-js/modules/es.number.constructor.js"),A("./node_modules/core-js/modules/es.object.to-string.js"),A("./node_modules/core-js/modules/es.string.iterator.js"),A("./node_modules/core-js/modules/web.dom-collections.iterator.js");var n=function(e){var t=r(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},s=function(e,t){var A=document.createElement(e);if(t.className&&(A.className=t.className),t.innerHTML){A.innerHTML=t.innerHTML;for(var r=A.getElementsByTagName("script"),n=r.length;n-- >0;null)r[n].parentNode.removeChild(r[n])}for(var s in t.style)A.style[s]=t.style[s];return A},i=function(e,t){if("number"===n(e))return 72*e/96/t;var A={};for(var r in e)A[r]=72*e[r]/96/t;return A},o=function(e,t){return Math.floor(e*t/72*96)}},"./src/worker.js":function(e,t,A){"use strict";A.r(t),A("./node_modules/core-js/modules/es.array.concat.js"),A("./node_modules/core-js/modules/es.array.map.js"),A("./node_modules/core-js/modules/es.function.name.js"),A("./node_modules/core-js/modules/es.json.stringify.js"),A("./node_modules/core-js/modules/es.object.assign.js"),A("./node_modules/core-js/modules/es.object.keys.js"),A("./node_modules/core-js/modules/es.object.to-string.js"),A("./node_modules/core-js/modules/es.promise.js"),A("./node_modules/core-js/modules/es.regexp.to-string.js"),A("./node_modules/core-js/modules/esnext.iterator.constructor.js"),A("./node_modules/core-js/modules/esnext.iterator.for-each.js"),A("./node_modules/core-js/modules/esnext.iterator.map.js"),A("./node_modules/core-js/modules/web.dom-collections.for-each.js"),A("./node_modules/core-js/modules/web.timers.js");var r=A("./node_modules/jspdf/dist/jspdf.es.min.js"),n=A("./node_modules/html2canvas/dist/html2canvas.js"),s=A.n(n),i=A("./src/snapdom/clone.js"),o=A("./src/utils.js"),a=function e(t){var A=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),A);return(r=r.setProgress(1,e,1,[e])).set(t)};(a.prototype=Object.create(Promise.prototype)).constructor=a,a.convert=function(e,t){return e.__proto__=t||a.prototype,e},a.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},a.prototype.from=function(e,t){return this.then(function(){switch(t=t||function(e){switch((0,o.objType)(e)){case"string":return"string";case"element":return e.nodeName.toLowerCase&&"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e),t){case"string":return this.set({src:(0,o.createElement)("div",{innerHTML:e})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}})},a.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},a.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},t={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};e.opacity=0;var A=(0,i.deepCloneBasic)(this.prop.src);return this.prop.overlay=(0,o.createElement)("div",{className:"html2pdf__overlay",style:e}),this.prop.container=(0,o.createElement)("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(A),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),new Promise(function(e){return setTimeout(e,10)})})},a.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(function(){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,s()(this.prop.container,e)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},a.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e})},a.prototype.toPdf=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e=this.prop.canvas,t=this.opt,A=e.height,n=Math.floor(e.width*this.prop.pageSize.inner.ratio),s=Math.ceil(A/n),i=this.prop.pageSize.inner.height,o=document.createElement("canvas"),a=o.getContext("2d");o.width=e.width,o.height=n,this.prop.pdf=this.prop.pdf||new r.default(t.jsPDF);for(var l=0;l<s;l++){l===s-1&&A%n!==0&&(o.height=A%n,i=o.height*this.prop.pageSize.inner.width/o.width);var c=o.width,u=o.height;a.fillStyle="white",a.fillRect(0,0,c,u),a.drawImage(e,0,l*n,c,u,0,0,c,u),l&&this.prop.pdf.addPage();var h=o.toDataURL("image/"+t.image.type,t.image.quality);this.prop.pdf.addImage(h,t.image.type,t.margin[1],t.margin[0],this.prop.pageSize.inner.width,i)}})},a.prototype.output=function(e,t,A){return"img"===(A=A||"pdf").toLowerCase()||"image"===A.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},a.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(e,t)})},a.prototype.outputImg=function(e,t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}})},a.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},a.prototype.set=function(e){if("object"!==(0,o.objType)(e))return this;var t=Object.keys(e||{}).map(function(t){switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return t in a.template.prop?function(){this.prop[t]=e[t]}:function(){this.opt[t]=e[t]}}},this);return this.then(function(){return this.thenList(t)})},a.prototype.get=function(e,t){return this.then(function(){var A=e in a.template.prop?this.prop[e]:this.opt[e];return t?t(A):A})},a.prototype.setMargin=function(e){return this.then(function(){switch((0,o.objType)(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e}).then(this.setPageSize)},a.prototype.setPageSize=function(e){return this.then(function(){(e=e||r.default.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:(0,o.toPx)(e.inner.width,e.k),height:(0,o.toPx)(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e})},a.prototype.setProgress=function(e,t,A,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=A&&(this.progress.n=A),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},a.prototype.updateProgress=function(e,t,A,r){return this.setProgress(e?this.progress.val+e:null,t||null,A?this.progress.n+A:null,r?this.progress.stack.concat(r):null)},a.prototype.then=function(e,t){var A=this;return this.thenCore(e,t,function(e,t){return A.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,function(t){return A.updateProgress(null,e),t}).then(e,t).then(function(e){return A.updateProgress(1),e})})},a.prototype.thenCore=function(e,t,A){A=A||Promise.prototype.then;var r=this;e&&(e=e.bind(r)),t&&(t=t.bind(r));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?r:a.convert(Object.assign({},r),Promise.prototype),s=A.call(n,e,t);return a.convert(s,r.__proto__)},a.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},a.prototype.thenList=function(e){var t=this;return e.forEach(function(e){t=t.thenCore(e)}),t},a.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return a.convert(t,this)},a.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},a.prototype.error=function(e){return this.then(function(){throw new Error(e)})},a.prototype.using=a.prototype.set,a.prototype.saveAs=a.prototype.save,a.prototype.export=a.prototype.output,a.prototype.run=a.prototype.then,t.default=a}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var s=r[e]={exports:{}};return A[e].call(s.exports,s,s.exports,n),s.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},n.t=function(A,r){if(1&r&&(A=this(A)),8&r)return A;if("object"==typeof A&&A){if(4&r&&A.__esModule)return A;if(16&r&&"function"==typeof A.then)return A}var s=Object.create(null);n.r(s);var i={};e=e||[null,t({}),t([]),t(t)];for(var o=2&r&&A;("object"==typeof o||"function"==typeof o)&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach(function(e){i[e]=function(){return A[e]}});return i.default=function(){return A},n.d(s,i),s},n.d=function(e,t){for(var A in t)n.o(t,A)&&!n.o(e,A)&&Object.defineProperty(e,A,{enumerable:!0,get:t[A]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return function(){"use strict";n.r(s);var e=n("./src/worker.js"),t=(n("./src/plugin/jspdf-plugin.js"),n("./src/plugin/pagebreaks.js"),n("./src/plugin/hyperlinks.js"),function e(t,A){var r=new e.Worker(A);return t?r.from(t).save():r});t.Worker=e.default,s.default=t}(),s.default}()});
|
|
3
|
+
//# sourceMappingURL=html2pdf.bundle.min.js.map
|