hrms-manual/node_modules/bma-org-chart/dist/org-chart.umd.cjs
2023-09-06 14:51:44 +07:00

283 lines
724 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function($n,vA){typeof exports=="object"&&typeof module<"u"?vA(exports,require("vue"),require("pinia")):typeof define=="function"&&define.amd?define(["exports","vue","pinia"],vA):($n=typeof globalThis<"u"?globalThis:$n||self,vA($n.OrgChart={},$n.Vue,$n.pinia))})(this,function($n,vA,Mc){"use strict";/*!
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*//*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var Rc=function(t,A){return Rc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])},Rc(t,A)};function Pr(t,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");Rc(t,A);function e(){this.constructor=t}t.prototype=A===null?Object.create(A):(e.prototype=A.prototype,new e)}var kc=function(){return kc=Object.assign||function(A){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(A[i]=e[i])}return A},kc.apply(this,arguments)};function zt(t,A,e,r){function n(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function s(f){try{l(r.next(f))}catch(d){a(d)}}function o(f){try{l(r.throw(f))}catch(d){a(d)}}function l(f){f.done?i(f.value):n(f.value).then(s,o)}l((r=r.apply(t,A||[])).next())})}function Dt(t,A){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(l){return function(f){return o([l,f])}}function o(l){if(r)throw new TypeError("Generator is already executing.");for(;e;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return e.label++,{value:l[1],done:!1};case 5:e.label++,n=l[1],l=[0];continue;case 7:l=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){e.label=l[1];break}if(l[0]===6&&e.label<i[1]){e.label=i[1],i=l;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(l);break}i[2]&&e.ops.pop(),e.trys.pop();continue}l=A.call(t,e)}catch(f){l=[6,f],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Vo(t,A,e){if(e||arguments.length===2)for(var r=0,n=A.length,i;r<n;r++)(i||!(r in A))&&(i||(i=Array.prototype.slice.call(A,0,r)),i[r]=A[r]);return t.concat(i||A)}for(var bn=function(){function t(A,e,r,n){this.left=A,this.top=e,this.width=r,this.height=n}return t.prototype.add=function(A,e,r,n){return new t(this.left+A,this.top+e,this.width+r,this.height+n)},t.fromClientRect=function(A,e){return new t(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)},t.fromDOMRectList=function(A,e){var r=Array.from(e).find(function(n){return n.width!==0});return r?new t(r.left+A.windowBounds.left,r.top+A.windowBounds.top,r.width,r.height):t.EMPTY},t.EMPTY=new t(0,0,0,0),t}(),jo=function(t,A){return bn.fromClientRect(t,A.getBoundingClientRect())},Nm=function(t){var A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");var r=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),n=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new bn(0,0,r,n)},Go=function(t){for(var A=[],e=0,r=t.length;e<r;){var n=t.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=t.charCodeAt(e++);(i&64512)===56320?A.push(((n&1023)<<10)+(i&1023)+65536):(A.push(n),e--)}else A.push(n)}return A},tt=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],n=-1,i="";++n<e;){var a=t[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},b0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Tm=typeof Uint8Array>"u"?[]:new Uint8Array(256),$o=0;$o<b0.length;$o++)Tm[b0.charCodeAt($o)]=$o;for(var F0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ps=typeof Uint8Array>"u"?[]:new Uint8Array(256),qo=0;qo<F0.length;qo++)ps[F0.charCodeAt(qo)]=qo;for(var Om=function(t){var A=t.length*.75,e=t.length,r,n=0,i,a,s,o;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),f=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<e;r+=4)i=ps[t.charCodeAt(r)],a=ps[t.charCodeAt(r+1)],s=ps[t.charCodeAt(r+2)],o=ps[t.charCodeAt(r+3)],f[n++]=i<<2|a>>4,f[n++]=(a&15)<<4|s>>2,f[n++]=(s&3)<<6|o&63;return l},Hm=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},_m=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},Si=5,Kc=6+5,Vc=2,Pm=Kc-Si,Q0=65536>>Si,Dm=1<<Si,jc=Dm-1,Mm=1024>>Si,Rm=Q0+Mm,km=Rm,Km=32,Vm=km+Km,jm=65536>>Kc,Gm=1<<Pm,$m=Gm-1,U0=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},qm=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},Wm=function(t,A){var e=Om(t),r=Array.isArray(e)?_m(e):new Uint32Array(e),n=Array.isArray(e)?Hm(e):new Uint16Array(e),i=24,a=U0(n,i/2,r[4]/2),s=r[5]===2?U0(n,(i+r[4])/2):qm(r,Math.ceil((i+r[4])/4));return new zm(r[0],r[1],r[2],r[3],a,s)},zm=function(){function t(A,e,r,n,i,a){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Si],e=(e<<Vc)+(A&jc),this.data[e];if(A<=65535)return e=this.index[Q0+(A-55296>>Si)],e=(e<<Vc)+(A&jc),this.data[e];if(A<this.highStart)return e=Vm-jm+(A>>Kc),e=this.index[e],e+=A>>Si&$m,e=this.index[e],e=(e<<Vc)+(A&jc),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),E0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xm=typeof Uint8Array>"u"?[]:new Uint8Array(256),Wo=0;Wo<E0.length;Wo++)Xm[E0.charCodeAt(Wo)]=Wo;var Ym="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==",x0=50,Jm=1,I0=2,S0=3,Zm=4,Ay=5,L0=7,N0=8,T0=9,qn=10,Gc=11,O0=12,$c=13,ey=14,vs=15,qc=16,zo=17,Bs=18,ty=19,H0=20,Wc=21,ws=22,zc=23,ua=24,dr=25,ms=26,ys=27,la=28,ry=29,Li=30,ny=31,Xo=32,Yo=33,Xc=34,Yc=35,Jc=36,Cs=37,Zc=38,Jo=39,Zo=40,Af=41,_0=42,iy=43,ay=[9001,65288],P0="!",Be="×",Au="÷",ef=Wm(Ym),Fn=[Li,Jc],tf=[Jm,I0,S0,Ay],D0=[qn,N0],M0=[ys,ms],sy=tf.concat(D0),R0=[Zc,Jo,Zo,Xc,Yc],oy=[vs,$c],uy=function(t,A){A===void 0&&(A="strict");var e=[],r=[],n=[];return t.forEach(function(i,a){var s=ef.get(i);if(s>x0?(n.push(!0),s-=x0):n.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(a),e.push(qc);if(s===Zm||s===Gc){if(a===0)return r.push(a),e.push(Li);var o=e[a-1];return sy.indexOf(o)===-1?(r.push(r[a-1]),e.push(o)):(r.push(a),e.push(Li))}if(r.push(a),s===ny)return e.push(A==="strict"?Wc:Cs);if(s===_0||s===ry)return e.push(Li);if(s===iy)return i>=131072&&i<=196605||i>=196608&&i<=262141?e.push(Cs):e.push(Li);e.push(s)}),[r,e,n]},rf=function(t,A,e,r){var n=r[e];if(Array.isArray(t)?t.indexOf(n)!==-1:t===n)for(var i=e;i<=r.length;){i++;var a=r[i];if(a===A)return!0;if(a!==qn)break}if(n===qn)for(var i=e;i>0;){i--;var s=r[i];if(Array.isArray(t)?t.indexOf(s)!==-1:t===s)for(var o=e;o<=r.length;){o++;var a=r[o];if(a===A)return!0;if(a!==qn)break}if(s!==qn)break}return!1},k0=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===qn)e--;else return r}return 0},ly=function(t,A,e,r,n){if(e[r]===0)return Be;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return Be;var a=i-1,s=i+1,o=A[i],l=a>=0?A[a]:0,f=A[s];if(o===I0&&f===S0)return Be;if(tf.indexOf(o)!==-1)return P0;if(tf.indexOf(f)!==-1||D0.indexOf(f)!==-1)return Be;if(k0(i,A)===N0)return Au;if(ef.get(t[i])===Gc||(o===Xo||o===Yo)&&ef.get(t[s])===Gc||o===L0||f===L0||o===T0||[qn,$c,vs].indexOf(o)===-1&&f===T0||[zo,Bs,ty,ua,la].indexOf(f)!==-1||k0(i,A)===ws||rf(zc,ws,i,A)||rf([zo,Bs],Wc,i,A)||rf(O0,O0,i,A))return Be;if(o===qn)return Au;if(o===zc||f===zc)return Be;if(f===qc||o===qc)return Au;if([$c,vs,Wc].indexOf(f)!==-1||o===ey||l===Jc&&oy.indexOf(o)!==-1||o===la&&f===Jc||f===H0||Fn.indexOf(f)!==-1&&o===dr||Fn.indexOf(o)!==-1&&f===dr||o===ys&&[Cs,Xo,Yo].indexOf(f)!==-1||[Cs,Xo,Yo].indexOf(o)!==-1&&f===ms||Fn.indexOf(o)!==-1&&M0.indexOf(f)!==-1||M0.indexOf(o)!==-1&&Fn.indexOf(f)!==-1||[ys,ms].indexOf(o)!==-1&&(f===dr||[ws,vs].indexOf(f)!==-1&&A[s+1]===dr)||[ws,vs].indexOf(o)!==-1&&f===dr||o===dr&&[dr,la,ua].indexOf(f)!==-1)return Be;if([dr,la,ua,zo,Bs].indexOf(f)!==-1)for(var d=i;d>=0;){var p=A[d];if(p===dr)return Be;if([la,ua].indexOf(p)!==-1)d--;else break}if([ys,ms].indexOf(f)!==-1)for(var d=[zo,Bs].indexOf(o)!==-1?a:i;d>=0;){var p=A[d];if(p===dr)return Be;if([la,ua].indexOf(p)!==-1)d--;else break}if(Zc===o&&[Zc,Jo,Xc,Yc].indexOf(f)!==-1||[Jo,Xc].indexOf(o)!==-1&&[Jo,Zo].indexOf(f)!==-1||[Zo,Yc].indexOf(o)!==-1&&f===Zo||R0.indexOf(o)!==-1&&[H0,ms].indexOf(f)!==-1||R0.indexOf(f)!==-1&&o===ys||Fn.indexOf(o)!==-1&&Fn.indexOf(f)!==-1||o===ua&&Fn.indexOf(f)!==-1||Fn.concat(dr).indexOf(o)!==-1&&f===ws&&ay.indexOf(t[s])===-1||Fn.concat(dr).indexOf(f)!==-1&&o===Bs)return Be;if(o===Af&&f===Af){for(var h=e[i],m=1;h>0&&(h--,A[h]===Af);)m++;if(m%2!==0)return Be}return o===Xo&&f===Yo?Be:Au},cy=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=uy(t,A.lineBreak),r=e[0],n=e[1],i=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(n=n.map(function(s){return[dr,Li,_0].indexOf(s)!==-1?Cs:s}));var a=A.wordBreak==="keep-all"?i.map(function(s,o){return s&&t[o]>=19968&&t[o]<=40959}):void 0;return[r,n,a]},fy=function(){function t(A,e,r,n){this.codePoints=A,this.required=e===P0,this.start=r,this.end=n}return t.prototype.slice=function(){return tt.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),hy=function(t,A){var e=Go(t),r=cy(e,A),n=r[0],i=r[1],a=r[2],s=e.length,o=0,l=0;return{next:function(){if(l>=s)return{done:!0,value:null};for(var f=Be;l<s&&(f=ly(e,i,n,++l,a))===Be;);if(f!==Be||l===s){var d=new fy(e,f,o,l);return o=l,{value:d,done:!1}}return{done:!0,value:null}}}},gy=1<<0,dy=1<<1,bs=1<<2,K0=1<<3,eu=10,V0=47,Fs=92,py=9,vy=32,tu=34,Qs=61,By=35,wy=36,my=37,ru=39,nu=40,Us=41,yy=95,ir=45,Cy=33,by=60,Fy=62,Qy=64,Uy=91,Ey=93,xy=61,Iy=123,iu=63,Sy=125,j0=124,Ly=126,Ny=128,G0=65533,nf=42,Ni=43,Ty=44,Oy=58,Hy=59,Es=46,_y=0,Py=8,Dy=11,My=14,Ry=31,ky=127,on=-1,$0=48,q0=97,W0=101,Ky=102,Vy=117,jy=122,z0=65,X0=69,Y0=70,Gy=85,$y=90,Mt=function(t){return t>=$0&&t<=57},qy=function(t){return t>=55296&&t<=57343},ca=function(t){return Mt(t)||t>=z0&&t<=Y0||t>=q0&&t<=Ky},Wy=function(t){return t>=q0&&t<=jy},zy=function(t){return t>=z0&&t<=$y},Xy=function(t){return Wy(t)||zy(t)},Yy=function(t){return t>=Ny},au=function(t){return t===eu||t===py||t===vy},su=function(t){return Xy(t)||Yy(t)||t===yy},J0=function(t){return su(t)||Mt(t)||t===ir},Jy=function(t){return t>=_y&&t<=Py||t===Dy||t>=My&&t<=Ry||t===ky},Wn=function(t,A){return t!==Fs?!1:A!==eu},ou=function(t,A,e){return t===ir?su(A)||Wn(A,e):su(t)?!0:!!(t===Fs&&Wn(t,A))},af=function(t,A,e){return t===Ni||t===ir?Mt(A)?!0:A===Es&&Mt(e):Mt(t===Es?A:t)},Zy=function(t){var A=0,e=1;(t[A]===Ni||t[A]===ir)&&(t[A]===ir&&(e=-1),A++);for(var r=[];Mt(t[A]);)r.push(t[A++]);var n=r.length?parseInt(tt.apply(void 0,r),10):0;t[A]===Es&&A++;for(var i=[];Mt(t[A]);)i.push(t[A++]);var a=i.length,s=a?parseInt(tt.apply(void 0,i),10):0;(t[A]===X0||t[A]===W0)&&A++;var o=1;(t[A]===Ni||t[A]===ir)&&(t[A]===ir&&(o=-1),A++);for(var l=[];Mt(t[A]);)l.push(t[A++]);var f=l.length?parseInt(tt.apply(void 0,l),10):0;return e*(n+s*Math.pow(10,-a))*Math.pow(10,o*f)},AC={type:2},eC={type:3},tC={type:4},rC={type:13},nC={type:8},iC={type:21},aC={type:9},sC={type:10},oC={type:11},uC={type:12},lC={type:14},uu={type:23},cC={type:1},fC={type:25},hC={type:24},gC={type:26},dC={type:27},pC={type:28},vC={type:29},BC={type:31},sf={type:32},Z0=function(){function t(){this._value=[]}return t.prototype.write=function(A){this._value=this._value.concat(Go(A))},t.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==sf;)A.push(e),e=this.consumeToken();return A},t.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case tu:return this.consumeStringToken(tu);case By:var e=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(J0(e)||Wn(r,n)){var i=ou(e,r,n)?dy:gy,a=this.consumeName();return{type:5,value:a,flags:i}}break;case wy:if(this.peekCodePoint(0)===Qs)return this.consumeCodePoint(),rC;break;case ru:return this.consumeStringToken(ru);case nu:return AC;case Us:return eC;case nf:if(this.peekCodePoint(0)===Qs)return this.consumeCodePoint(),lC;break;case Ni:if(af(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ty:return tC;case ir:var s=A,o=this.peekCodePoint(0),l=this.peekCodePoint(1);if(af(s,o,l))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(ou(s,o,l))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===ir&&l===Fy)return this.consumeCodePoint(),this.consumeCodePoint(),hC;break;case Es:if(af(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case V0:if(this.peekCodePoint(0)===nf)for(this.consumeCodePoint();;){var f=this.consumeCodePoint();if(f===nf&&(f=this.consumeCodePoint(),f===V0))return this.consumeToken();if(f===on)return this.consumeToken()}break;case Oy:return gC;case Hy:return dC;case by:if(this.peekCodePoint(0)===Cy&&this.peekCodePoint(1)===ir&&this.peekCodePoint(2)===ir)return this.consumeCodePoint(),this.consumeCodePoint(),fC;break;case Qy:var d=this.peekCodePoint(0),p=this.peekCodePoint(1),h=this.peekCodePoint(2);if(ou(d,p,h)){var a=this.consumeName();return{type:7,value:a}}break;case Uy:return pC;case Fs:if(Wn(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case Ey:return vC;case xy:if(this.peekCodePoint(0)===Qs)return this.consumeCodePoint(),nC;break;case Iy:return oC;case Sy:return uC;case Vy:case Gy:var m=this.peekCodePoint(0),w=this.peekCodePoint(1);return m===Ni&&(ca(w)||w===iu)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case j0:if(this.peekCodePoint(0)===Qs)return this.consumeCodePoint(),aC;if(this.peekCodePoint(0)===j0)return this.consumeCodePoint(),iC;break;case Ly:if(this.peekCodePoint(0)===Qs)return this.consumeCodePoint(),sC;break;case on:return sf}return au(A)?(this.consumeWhiteSpace(),BC):Mt(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):su(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:tt(A)}},t.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},t.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},t.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},t.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();ca(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var r=!1;e===iu&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(tt.apply(void 0,A.map(function(o){return o===iu?$0:o})),16),i=parseInt(tt.apply(void 0,A.map(function(o){return o===iu?Y0:o})),16);return{type:30,start:n,end:i}}var a=parseInt(tt.apply(void 0,A),16);if(this.peekCodePoint(0)===ir&&ca(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var s=[];ca(e)&&s.length<6;)s.push(e),e=this.consumeCodePoint();var i=parseInt(tt.apply(void 0,s),16);return{type:30,start:a,end:i}}else return{type:30,start:a,end:a}},t.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===nu?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===nu?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},t.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===on)return{type:22,value:""};var e=this.peekCodePoint(0);if(e===ru||e===tu){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===on||this.peekCodePoint(0)===Us)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),uu)}for(;;){var n=this.consumeCodePoint();if(n===on||n===Us)return{type:22,value:tt.apply(void 0,A)};if(au(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===on||this.peekCodePoint(0)===Us?(this.consumeCodePoint(),{type:22,value:tt.apply(void 0,A)}):(this.consumeBadUrlRemnants(),uu);if(n===tu||n===ru||n===nu||Jy(n))return this.consumeBadUrlRemnants(),uu;if(n===Fs)if(Wn(n,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),uu;else A.push(n)}},t.prototype.consumeWhiteSpace=function(){for(;au(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===Us||A===on)return;Wn(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(A){for(var e=5e4,r="";A>0;){var n=Math.min(e,A);r+=tt.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),r},t.prototype.consumeStringToken=function(A){var e="",r=0;do{var n=this._value[r];if(n===on||n===void 0||n===A)return e+=this.consumeStringSlice(r),{type:0,value:e};if(n===eu)return this._value.splice(0,r),cC;if(n===Fs){var i=this._value[r+1];i!==on&&i!==void 0&&(i===eu?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):Wn(n,i)&&(e+=this.consumeStringSlice(r),e+=tt(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},t.prototype.consumeNumber=function(){var A=[],e=bs,r=this.peekCodePoint(0);for((r===Ni||r===ir)&&A.push(this.consumeCodePoint());Mt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===Es&&Mt(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=K0;Mt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===X0||r===W0)&&((n===Ni||n===ir)&&Mt(i)||Mt(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=K0;Mt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[Zy(A),e]},t.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],r=A[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),a=this.peekCodePoint(2);if(ou(n,i,a)){var s=this.consumeName();return{type:15,number:e,flags:r,unit:s}}return n===my?(this.consumeCodePoint(),{type:16,number:e,flags:r}):{type:17,number:e,flags:r}},t.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(ca(A)){for(var e=tt(A);ca(this.peekCodePoint(0))&&e.length<6;)e+=tt(this.consumeCodePoint());au(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(e,16);return r===0||qy(r)||r>1114111?G0:r}return A===on?G0:A},t.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(J0(e))A+=tt(e);else if(Wn(e,this.peekCodePoint(0)))A+=tt(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}},t}(),Ap=function(){function t(A){this._tokens=A}return t.create=function(A){var e=new Z0;return e.write(A),new t(e.read())},t.parseValue=function(A){return t.create(A).parseComponentValue()},t.parseValues=function(A){return t.create(A).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push()}},t.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},t.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},r=this.consumeToken();;){if(r.type===32||mC(r,A))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}},t.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?sf:A},t.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},t}(),xs=function(t){return t.type===15},fa=function(t){return t.type===17},Oe=function(t){return t.type===20},wC=function(t){return t.type===0},of=function(t,A){return Oe(t)&&t.value===A},ep=function(t){return t.type!==31},ha=function(t){return t.type!==31&&t.type!==4},un=function(t){var A=[],e=[];return t.forEach(function(r){if(r.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}r.type!==31&&e.push(r)}),e.length&&A.push(e),A},mC=function(t,A){return A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3},zn=function(t){return t.type===17||t.type===15},ht=function(t){return t.type===16||zn(t)},tp=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},Tt={type:17,number:0,flags:bs},uf={type:16,number:50,flags:bs},Xn={type:16,number:100,flags:bs},Is=function(t,A,e){var r=t[0],n=t[1];return[De(r,A),De(typeof n<"u"?n:r,e)]},De=function(t,A){if(t.type===16)return t.number/100*A;if(xs(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},rp="deg",np="grad",ip="rad",ap="turn",lu={name:"angle",parse:function(t,A){if(A.type===15)switch(A.unit){case rp:return Math.PI*A.number/180;case np:return Math.PI/200*A.number;case ip:return A.number;case ap:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},sp=function(t){return t.type===15&&(t.unit===rp||t.unit===np||t.unit===ip||t.unit===ap)},op=function(t){var A=t.filter(Oe).map(function(e){return e.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Tt,Tt];case"to top":case"bottom":return br(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Tt,Xn];case"to right":case"left":return br(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Xn,Xn];case"to bottom":case"top":return br(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Xn,Tt];case"to left":case"right":return br(270)}return 0},br=function(t){return Math.PI*t/180},Yn={name:"color",parse:function(t,A){if(A.type===18){var e=yC[A.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return e(t,A.values)}if(A.type===5){if(A.value.length===3){var r=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);return Zn(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(A.value.length===4){var r=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3),a=A.value.substring(3,4);return Zn(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(A.value.length===6){var r=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6);return Zn(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(A.value.length===8){var r=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6),a=A.value.substring(6,8);return Zn(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(a,16)/255)}}if(A.type===20){var s=Qn[A.value.toUpperCase()];if(typeof s<"u")return s}return Qn.TRANSPARENT}},Jn=function(t){return(255&t)===0},Qt=function(t){var A=255&t,e=255&t>>8,r=255&t>>16,n=255&t>>24;return A<255?"rgba("+n+","+r+","+e+","+A/255+")":"rgb("+n+","+r+","+e+")"},Zn=function(t,A,e,r){return(t<<24|A<<16|e<<8|Math.round(r*255)<<0)>>>0},up=function(t,A){if(t.type===17)return t.number;if(t.type===16){var e=A===3?1:255;return A===3?t.number/100*e:Math.round(t.number/100*e)}return 0},lp=function(t,A){var e=A.filter(ha);if(e.length===3){var r=e.map(up),n=r[0],i=r[1],a=r[2];return Zn(n,i,a,1)}if(e.length===4){var s=e.map(up),n=s[0],i=s[1],a=s[2],o=s[3];return Zn(n,i,a,o)}return 0};function lf(t,A,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<1/2?A:e<2/3?(A-t)*6*(2/3-e)+t:t}var cp=function(t,A){var e=A.filter(ha),r=e[0],n=e[1],i=e[2],a=e[3],s=(r.type===17?br(r.number):lu.parse(t,r))/(Math.PI*2),o=ht(n)?n.number/100:0,l=ht(i)?i.number/100:0,f=typeof a<"u"&&ht(a)?De(a,1):1;if(o===0)return Zn(l*255,l*255,l*255,1);var d=l<=.5?l*(o+1):l+o-l*o,p=l*2-d,h=lf(p,d,s+1/3),m=lf(p,d,s),w=lf(p,d,s-1/3);return Zn(h*255,m*255,w*255,f)},yC={hsl:cp,hsla:cp,rgb:lp,rgba:lp},Ss=function(t,A){return Yn.parse(t,Ap.create(A).parseComponentValue())},Qn={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},CC={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,A){return A.map(function(e){if(Oe(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},bC={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},cu=function(t,A){var e=Yn.parse(t,A[0]),r=A[1];return r&&ht(r)?{color:e,stop:r}:{color:e,stop:null}},fp=function(t,A){var e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=Tt),r.stop===null&&(r.stop=Xn);for(var n=[],i=0,a=0;a<t.length;a++){var s=t[a].stop;if(s!==null){var o=De(s,A);o>i?n.push(o):n.push(i),i=o}else n.push(null)}for(var l=null,a=0;a<n.length;a++){var f=n[a];if(f===null)l===null&&(l=a);else if(l!==null){for(var d=a-l,p=n[l-1],h=(f-p)/(d+1),m=1;m<=d;m++)n[l+m-1]=h*m;l=null}}return t.map(function(w,b){var y=w.color;return{color:y,stop:Math.max(Math.min(1,n[b]/A),0)}})},FC=function(t,A,e){var r=A/2,n=e/2,i=De(t[0],A)-r,a=n-De(t[1],e);return(Math.atan2(a,i)+Math.PI*2)%(Math.PI*2)},QC=function(t,A,e){var r=typeof t=="number"?t:FC(t,A,e),n=Math.abs(A*Math.sin(r))+Math.abs(e*Math.cos(r)),i=A/2,a=e/2,s=n/2,o=Math.sin(r-Math.PI/2)*s,l=Math.cos(r-Math.PI/2)*s;return[n,i-l,i+l,a-o,a+o]},Dr=function(t,A){return Math.sqrt(t*t+A*A)},hp=function(t,A,e,r,n){var i=[[0,0],[0,A],[t,0],[t,A]];return i.reduce(function(a,s){var o=s[0],l=s[1],f=Dr(e-o,r-l);return(n?f<a.optimumDistance:f>a.optimumDistance)?{optimumCorner:s,optimumDistance:f}:a},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},UC=function(t,A,e,r,n){var i=0,a=0;switch(t.size){case 0:t.shape===0?i=a=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-n)):t.shape===1&&(i=Math.min(Math.abs(A),Math.abs(A-r)),a=Math.min(Math.abs(e),Math.abs(e-n)));break;case 2:if(t.shape===0)i=a=Math.min(Dr(A,e),Dr(A,e-n),Dr(A-r,e),Dr(A-r,e-n));else if(t.shape===1){var s=Math.min(Math.abs(e),Math.abs(e-n))/Math.min(Math.abs(A),Math.abs(A-r)),o=hp(r,n,A,e,!0),l=o[0],f=o[1];i=Dr(l-A,(f-e)/s),a=s*i}break;case 1:t.shape===0?i=a=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-n)):t.shape===1&&(i=Math.max(Math.abs(A),Math.abs(A-r)),a=Math.max(Math.abs(e),Math.abs(e-n)));break;case 3:if(t.shape===0)i=a=Math.max(Dr(A,e),Dr(A,e-n),Dr(A-r,e),Dr(A-r,e-n));else if(t.shape===1){var s=Math.max(Math.abs(e),Math.abs(e-n))/Math.max(Math.abs(A),Math.abs(A-r)),d=hp(r,n,A,e,!1),l=d[0],f=d[1];i=Dr(l-A,(f-e)/s),a=s*i}break}return Array.isArray(t.size)&&(i=De(t.size[0],r),a=t.size.length===2?De(t.size[1],n):i),[i,a]},EC=function(t,A){var e=br(180),r=[];return un(A).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&a.value==="to"){e=op(n);return}else if(sp(a)){e=lu.parse(t,a);return}}var s=cu(t,n);r.push(s)}),{angle:e,stops:r,type:1}},fu=function(t,A){var e=br(180),r=[];return un(A).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){e=op(n);return}else if(sp(a)){e=(lu.parse(t,a)+br(270))%br(360);return}}var s=cu(t,n);r.push(s)}),{angle:e,stops:r,type:1}},xC=function(t,A){var e=br(180),r=[],n=1,i=0,a=3,s=[];return un(A).forEach(function(o,l){var f=o[0];if(l===0){if(Oe(f)&&f.value==="linear"){n=1;return}else if(Oe(f)&&f.value==="radial"){n=2;return}}if(f.type===18){if(f.name==="from"){var d=Yn.parse(t,f.values[0]);r.push({stop:Tt,color:d})}else if(f.name==="to"){var d=Yn.parse(t,f.values[0]);r.push({stop:Xn,color:d})}else if(f.name==="color-stop"){var p=f.values.filter(ha);if(p.length===2){var d=Yn.parse(t,p[1]),h=p[0];fa(h)&&r.push({stop:{type:16,number:h.number*100,flags:h.flags},color:d})}}}}),n===1?{angle:(e+br(180))%br(360),stops:r,type:n}:{size:a,shape:i,stops:r,position:s,type:n}},gp="closest-side",dp="farthest-side",pp="closest-corner",vp="farthest-corner",Bp="circle",wp="ellipse",mp="cover",yp="contain",IC=function(t,A){var e=0,r=3,n=[],i=[];return un(A).forEach(function(a,s){var o=!0;if(s===0){var l=!1;o=a.reduce(function(d,p){if(l)if(Oe(p))switch(p.value){case"center":return i.push(uf),d;case"top":case"left":return i.push(Tt),d;case"right":case"bottom":return i.push(Xn),d}else(ht(p)||zn(p))&&i.push(p);else if(Oe(p))switch(p.value){case Bp:return e=0,!1;case wp:return e=1,!1;case"at":return l=!0,!1;case gp:return r=0,!1;case mp:case dp:return r=1,!1;case yp:case pp:return r=2,!1;case vp:return r=3,!1}else if(zn(p)||ht(p))return Array.isArray(r)||(r=[]),r.push(p),!1;return d},o)}if(o){var f=cu(t,a);n.push(f)}}),{size:r,shape:e,stops:n,position:i,type:2}},hu=function(t,A){var e=0,r=3,n=[],i=[];return un(A).forEach(function(a,s){var o=!0;if(s===0?o=a.reduce(function(f,d){if(Oe(d))switch(d.value){case"center":return i.push(uf),!1;case"top":case"left":return i.push(Tt),!1;case"right":case"bottom":return i.push(Xn),!1}else if(ht(d)||zn(d))return i.push(d),!1;return f},o):s===1&&(o=a.reduce(function(f,d){if(Oe(d))switch(d.value){case Bp:return e=0,!1;case wp:return e=1,!1;case yp:case gp:return r=0,!1;case dp:return r=1,!1;case pp:return r=2,!1;case mp:case vp:return r=3,!1}else if(zn(d)||ht(d))return Array.isArray(r)||(r=[]),r.push(d),!1;return f},o)),o){var l=cu(t,a);n.push(l)}}),{size:r,shape:e,stops:n,position:i,type:2}},SC=function(t){return t.type===1},LC=function(t){return t.type===2},cf={name:"image",parse:function(t,A){if(A.type===22){var e={url:A.value,type:0};return t.cache.addImage(A.value),e}if(A.type===18){var r=Cp[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return r(t,A.values)}throw new Error("Unsupported image type "+A.type)}};function NC(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!Cp[t.name])}var Cp={"linear-gradient":EC,"-moz-linear-gradient":fu,"-ms-linear-gradient":fu,"-o-linear-gradient":fu,"-webkit-linear-gradient":fu,"radial-gradient":IC,"-moz-radial-gradient":hu,"-ms-radial-gradient":hu,"-o-radial-gradient":hu,"-webkit-radial-gradient":hu,"-webkit-gradient":xC},TC={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,A){if(A.length===0)return[];var e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(function(r){return ha(r)&&NC(r)}).map(function(r){return cf.parse(t,r)})}},OC={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,A){return A.map(function(e){if(Oe(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},HC={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,A){return un(A).map(function(e){return e.filter(ht)}).map(tp)}},_C={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,A){return un(A).map(function(e){return e.filter(Oe).map(function(r){return r.value}).join(" ")}).map(PC)}},PC=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},ga;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(ga||(ga={}));var DC={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,A){return un(A).map(function(e){return e.filter(MC)})}},MC=function(t){return Oe(t)||ht(t)},gu=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},RC=gu("top"),kC=gu("right"),KC=gu("bottom"),VC=gu("left"),du=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return tp(e.filter(ht))}}},jC=du("top-left"),GC=du("top-right"),$C=du("bottom-right"),qC=du("bottom-left"),pu=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},WC=pu("top"),zC=pu("right"),XC=pu("bottom"),YC=pu("left"),vu=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return xs(e)?e.number:0}}},JC=vu("top"),ZC=vu("right"),Ab=vu("bottom"),eb=vu("left"),tb={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},rb={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,A){switch(A){case"rtl":return 1;case"ltr":default:return 0}}},nb={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,A){return A.filter(Oe).reduce(function(e,r){return e|ib(r.value)},0)}},ib=function(t){switch(t){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},ab={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},sb={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},Bu;(function(t){t.NORMAL="normal",t.STRICT="strict"})(Bu||(Bu={}));var ob={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"strict":return Bu.STRICT;case"normal":default:return Bu.NORMAL}}},ub={name:"line-height",initialValue:"normal",prefix:!1,type:4},bp=function(t,A){return Oe(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:ht(t)?De(t,A):A},lb={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,A){return A.type===20&&A.value==="none"?null:cf.parse(t,A)}},cb={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,A){switch(A){case"inside":return 0;case"outside":default:return 1}}},ff={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){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":return 22;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;case"none":default:return-1}}},wu=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},fb=wu("top"),hb=wu("right"),gb=wu("bottom"),db=wu("left"),pb={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,A){return A.filter(Oe).map(function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},vb={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"break-word":return"break-word";case"normal":default:return"normal"}}},mu=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Bb=mu("top"),wb=mu("right"),mb=mu("bottom"),yb=mu("left"),Cb={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,A){switch(A){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},bb={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Fb={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.length===1&&of(A[0],"none")?[]:un(A).map(function(e){for(var r={color:Qn.TRANSPARENT,offsetX:Tt,offsetY:Tt,blur:Tt},n=0,i=0;i<e.length;i++){var a=e[i];zn(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:r.blur=a,n++):r.color=Yn.parse(t,a)}return r})}},Qb={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Ub={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(t,A){if(A.type===20&&A.value==="none")return null;if(A.type===18){var e=Ib[A.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return e(A.values)}return null}},Eb=function(t){var A=t.filter(function(e){return e.type===17}).map(function(e){return e.number});return A.length===6?A:null},xb=function(t){var A=t.filter(function(o){return o.type===17}).map(function(o){return o.number}),e=A[0],r=A[1];A[2],A[3];var n=A[4],i=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var a=A[12],s=A[13];return A[14],A[15],A.length===16?[e,r,n,i,a,s]:null},Ib={matrix:Eb,matrix3d:xb},Fp={type:16,number:50,flags:bs},Sb=[Fp,Fp],Lb={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,A){var e=A.filter(ht);return e.length!==2?Sb:[e[0],e[1]]}},Nb={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Ls;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(Ls||(Ls={}));for(var Tb={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"break-all":return Ls.BREAK_ALL;case"keep-all":return Ls.KEEP_ALL;case"normal":default:return Ls.NORMAL}}},Ob={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,A){if(A.type===20)return{auto:!0,order:0};if(fa(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},Qp={name:"time",parse:function(t,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},Hb={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,A){return fa(A)?A.number:1}},_b={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Pb={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,A){return A.filter(Oe).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 e!==0})}},Db={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,A){var e=[],r=[];return A.forEach(function(n){switch(n.type){case 20:case 0:e.push(n.value);break;case 17:e.push(n.number.toString());break;case 4:r.push(e.join(" ")),e.length=0;break}}),e.length&&r.push(e.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Mb={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Rb={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,A){if(fa(A))return A.number;if(Oe(A))switch(A.value){case"bold":return 700;case"normal":default:return 400}return 400}},kb={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.filter(Oe).map(function(e){return e.value})}},Kb={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Ct=function(t,A){return(t&A)!==0},Vb={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,A){if(A.length===0)return[];var e=A[0];return e.type===20&&e.value==="none"?[]:A}},jb={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return null;var e=A[0];if(e.type===20&&e.value==="none")return null;for(var r=[],n=A.filter(ep),i=0;i<n.length;i++){var a=n[i],s=n[i+1];if(a.type===20){var o=s&&fa(s)?s.number:1;r.push({counter:a.value,increment:o})}}return r}},Gb={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return[];for(var e=[],r=A.filter(ep),n=0;n<r.length;n++){var i=r[n],a=r[n+1];if(Oe(i)&&i.value!=="none"){var s=a&&fa(a)?a.number:0;e.push({counter:i.value,reset:s})}}return e}},$b={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(t,A){return A.filter(xs).map(function(e){return Qp.parse(t,e)})}},qb={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return null;var e=A[0];if(e.type===20&&e.value==="none")return null;var r=[],n=A.filter(wC);if(n.length%2!==0)return null;for(var i=0;i<n.length;i+=2){var a=n[i].value,s=n[i+1].value;r.push({open:a,close:s})}return r}},Up=function(t,A,e){if(!t)return"";var r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},Wb={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.length===1&&of(A[0],"none")?[]:un(A).map(function(e){for(var r={color:255,offsetX:Tt,offsetY:Tt,blur:Tt,spread:Tt,inset:!1},n=0,i=0;i<e.length;i++){var a=e[i];of(a,"inset")?r.inset=!0:zn(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:n===2?r.blur=a:r.spread=a,n++):r.color=Yn.parse(t,a)}return r})}},zb={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(t,A){var e=[0,1,2],r=[];return A.filter(Oe).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),e.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},Xb={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Yb={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(t,A){return xs(A)?A.number:0}},Jb=function(){function t(A,e){var r,n;this.animationDuration=kA(A,$b,e.animationDuration),this.backgroundClip=kA(A,CC,e.backgroundClip),this.backgroundColor=kA(A,bC,e.backgroundColor),this.backgroundImage=kA(A,TC,e.backgroundImage),this.backgroundOrigin=kA(A,OC,e.backgroundOrigin),this.backgroundPosition=kA(A,HC,e.backgroundPosition),this.backgroundRepeat=kA(A,_C,e.backgroundRepeat),this.backgroundSize=kA(A,DC,e.backgroundSize),this.borderTopColor=kA(A,RC,e.borderTopColor),this.borderRightColor=kA(A,kC,e.borderRightColor),this.borderBottomColor=kA(A,KC,e.borderBottomColor),this.borderLeftColor=kA(A,VC,e.borderLeftColor),this.borderTopLeftRadius=kA(A,jC,e.borderTopLeftRadius),this.borderTopRightRadius=kA(A,GC,e.borderTopRightRadius),this.borderBottomRightRadius=kA(A,$C,e.borderBottomRightRadius),this.borderBottomLeftRadius=kA(A,qC,e.borderBottomLeftRadius),this.borderTopStyle=kA(A,WC,e.borderTopStyle),this.borderRightStyle=kA(A,zC,e.borderRightStyle),this.borderBottomStyle=kA(A,XC,e.borderBottomStyle),this.borderLeftStyle=kA(A,YC,e.borderLeftStyle),this.borderTopWidth=kA(A,JC,e.borderTopWidth),this.borderRightWidth=kA(A,ZC,e.borderRightWidth),this.borderBottomWidth=kA(A,Ab,e.borderBottomWidth),this.borderLeftWidth=kA(A,eb,e.borderLeftWidth),this.boxShadow=kA(A,Wb,e.boxShadow),this.color=kA(A,tb,e.color),this.direction=kA(A,rb,e.direction),this.display=kA(A,nb,e.display),this.float=kA(A,ab,e.cssFloat),this.fontFamily=kA(A,Db,e.fontFamily),this.fontSize=kA(A,Mb,e.fontSize),this.fontStyle=kA(A,Kb,e.fontStyle),this.fontVariant=kA(A,kb,e.fontVariant),this.fontWeight=kA(A,Rb,e.fontWeight),this.letterSpacing=kA(A,sb,e.letterSpacing),this.lineBreak=kA(A,ob,e.lineBreak),this.lineHeight=kA(A,ub,e.lineHeight),this.listStyleImage=kA(A,lb,e.listStyleImage),this.listStylePosition=kA(A,cb,e.listStylePosition),this.listStyleType=kA(A,ff,e.listStyleType),this.marginTop=kA(A,fb,e.marginTop),this.marginRight=kA(A,hb,e.marginRight),this.marginBottom=kA(A,gb,e.marginBottom),this.marginLeft=kA(A,db,e.marginLeft),this.opacity=kA(A,Hb,e.opacity);var i=kA(A,pb,e.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=kA(A,vb,e.overflowWrap),this.paddingTop=kA(A,Bb,e.paddingTop),this.paddingRight=kA(A,wb,e.paddingRight),this.paddingBottom=kA(A,mb,e.paddingBottom),this.paddingLeft=kA(A,yb,e.paddingLeft),this.paintOrder=kA(A,zb,e.paintOrder),this.position=kA(A,bb,e.position),this.textAlign=kA(A,Cb,e.textAlign),this.textDecorationColor=kA(A,_b,(r=e.textDecorationColor)!==null&&r!==void 0?r:e.color),this.textDecorationLine=kA(A,Pb,(n=e.textDecorationLine)!==null&&n!==void 0?n:e.textDecoration),this.textShadow=kA(A,Fb,e.textShadow),this.textTransform=kA(A,Qb,e.textTransform),this.transform=kA(A,Ub,e.transform),this.transformOrigin=kA(A,Lb,e.transformOrigin),this.visibility=kA(A,Nb,e.visibility),this.webkitTextStrokeColor=kA(A,Xb,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=kA(A,Yb,e.webkitTextStrokeWidth),this.wordBreak=kA(A,Tb,e.wordBreak),this.zIndex=kA(A,Ob,e.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},t.prototype.isTransparent=function(){return Jn(this.backgroundColor)},t.prototype.isTransformed=function(){return this.transform!==null},t.prototype.isPositioned=function(){return this.position!==0},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==0},t.prototype.isInlineLevel=function(){return Ct(this.display,4)||Ct(this.display,33554432)||Ct(this.display,268435456)||Ct(this.display,536870912)||Ct(this.display,67108864)||Ct(this.display,134217728)},t}(),Zb=function(){function t(A,e){this.content=kA(A,Vb,e.content),this.quotes=kA(A,qb,e.quotes)}return t}(),Ep=function(){function t(A,e){this.counterIncrement=kA(A,jb,e.counterIncrement),this.counterReset=kA(A,Gb,e.counterReset)}return t}(),kA=function(t,A,e){var r=new Z0,n=e!==null&&typeof e<"u"?e.toString():A.initialValue;r.write(n);var i=new Ap(r.read());switch(A.type){case 2:var a=i.parseComponentValue();return A.parse(t,Oe(a)?a.value:A.initialValue);case 0:return A.parse(t,i.parseComponentValue());case 1:return A.parse(t,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(A.format){case"angle":return lu.parse(t,i.parseComponentValue());case"color":return Yn.parse(t,i.parseComponentValue());case"image":return cf.parse(t,i.parseComponentValue());case"length":var s=i.parseComponentValue();return zn(s)?s:Tt;case"length-percentage":var o=i.parseComponentValue();return ht(o)?o:Tt;case"time":return Qp.parse(t,i.parseComponentValue())}break}},A4="data-html2canvas-debug",e4=function(t){var A=t.getAttribute(A4);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},hf=function(t,A){var e=e4(t);return e===1||A===e},ln=function(){function t(A,e){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,hf(e,3))debugger;this.styles=new Jb(A,window.getComputedStyle(e,null)),Ef(e)&&(this.styles.animationDuration.some(function(r){return r>0})&&(e.style.animationDuration="0s"),this.styles.transform!==null&&(e.style.transform="none")),this.bounds=jo(this.context,e),hf(e,4)&&(this.flags|=16)}return t}(),t4="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",xp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ns=typeof Uint8Array>"u"?[]:new Uint8Array(256),yu=0;yu<xp.length;yu++)Ns[xp.charCodeAt(yu)]=yu;for(var r4=function(t){var A=t.length*.75,e=t.length,r,n=0,i,a,s,o;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),f=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<e;r+=4)i=Ns[t.charCodeAt(r)],a=Ns[t.charCodeAt(r+1)],s=Ns[t.charCodeAt(r+2)],o=Ns[t.charCodeAt(r+3)],f[n++]=i<<2|a>>4,f[n++]=(a&15)<<4|s>>2,f[n++]=(s&3)<<6|o&63;return l},n4=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},i4=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},Ti=5,gf=6+5,df=2,a4=gf-Ti,Ip=65536>>Ti,s4=1<<Ti,pf=s4-1,o4=1024>>Ti,u4=Ip+o4,l4=u4,c4=32,f4=l4+c4,h4=65536>>gf,g4=1<<a4,d4=g4-1,Sp=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},p4=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},v4=function(t,A){var e=r4(t),r=Array.isArray(e)?i4(e):new Uint32Array(e),n=Array.isArray(e)?n4(e):new Uint16Array(e),i=24,a=Sp(n,i/2,r[4]/2),s=r[5]===2?Sp(n,(i+r[4])/2):p4(r,Math.ceil((i+r[4])/4));return new B4(r[0],r[1],r[2],r[3],a,s)},B4=function(){function t(A,e,r,n,i,a){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Ti],e=(e<<df)+(A&pf),this.data[e];if(A<=65535)return e=this.index[Ip+(A-55296>>Ti)],e=(e<<df)+(A&pf),this.data[e];if(A<this.highStart)return e=f4-h4+(A>>gf),e=this.index[e],e+=A>>Ti&d4,e=this.index[e],e=(e<<df)+(A&pf),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),Lp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w4=typeof Uint8Array>"u"?[]:new Uint8Array(256),Cu=0;Cu<Lp.length;Cu++)w4[Lp.charCodeAt(Cu)]=Cu;var m4=1,vf=2,Bf=3,Np=4,Tp=5,y4=7,Op=8,wf=9,mf=10,Hp=11,_p=12,Pp=13,Dp=14,yf=15,C4=function(t){for(var A=[],e=0,r=t.length;e<r;){var n=t.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=t.charCodeAt(e++);(i&64512)===56320?A.push(((n&1023)<<10)+(i&1023)+65536):(A.push(n),e--)}else A.push(n)}return A},b4=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],n=-1,i="";++n<e;){var a=t[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},F4=v4(t4),Fr="×",Cf="÷",Q4=function(t){return F4.get(t)},U4=function(t,A,e){var r=e-2,n=A[r],i=A[e-1],a=A[e];if(i===vf&&a===Bf)return Fr;if(i===vf||i===Bf||i===Np||a===vf||a===Bf||a===Np)return Cf;if(i===Op&&[Op,wf,Hp,_p].indexOf(a)!==-1||(i===Hp||i===wf)&&(a===wf||a===mf)||(i===_p||i===mf)&&a===mf||a===Pp||a===Tp||a===y4||i===m4)return Fr;if(i===Pp&&a===Dp){for(;n===Tp;)n=A[--r];if(n===Dp)return Fr}if(i===yf&&a===yf){for(var s=0;n===yf;)s++,n=A[--r];if(s%2===0)return Fr}return Cf},E4=function(t){var A=C4(t),e=A.length,r=0,n=0,i=A.map(Q4);return{next:function(){if(r>=e)return{done:!0,value:null};for(var a=Fr;r<e&&(a=U4(A,i,++r))===Fr;);if(a!==Fr||r===e){var s=b4.apply(null,A.slice(n,r));return n=r,{value:s,done:!1}}return{done:!0,value:null}}}},x4=function(t){for(var A=E4(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e},I4=function(t){var A=123;if(t.createRange){var e=t.createRange();if(e.getBoundingClientRect){var r=t.createElement("boundtest");r.style.height=A+"px",r.style.display="block",t.body.appendChild(r),e.selectNode(r);var n=e.getBoundingClientRect(),i=Math.round(n.height);if(t.body.removeChild(r),i===A)return!0}}return!1},S4=function(t){var A=t.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",t.body.appendChild(A);var e=t.createRange();A.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=A.firstChild,n=Go(r.data).map(function(o){return tt(o)}),i=0,a={},s=n.every(function(o,l){e.setStart(r,i),e.setEnd(r,i+o.length);var f=e.getBoundingClientRect();i+=o.length;var d=f.x>a.x||f.y>a.y;return a=f,l===0?!0:d});return t.body.removeChild(A),s},L4=function(){return typeof new Image().crossOrigin<"u"},N4=function(){return typeof new XMLHttpRequest().responseType=="string"},T4=function(t){var A=new Image,e=t.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},Mp=function(t){return t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255},O4=function(t){var A=t.createElement("canvas"),e=100;A.width=e,A.height=e;var r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);var n=new Image,i=A.toDataURL();n.src=i;var a=bf(e,e,0,0,n);return r.fillStyle="red",r.fillRect(0,0,e,e),Rp(a).then(function(s){r.drawImage(s,0,0);var o=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);var l=t.createElement("div");return l.style.backgroundImage="url("+i+")",l.style.height=e+"px",Mp(o)?Rp(bf(e,e,0,0,l)):Promise.reject(!1)}).then(function(s){return r.drawImage(s,0,0),Mp(r.getImageData(0,0,e,e).data)}).catch(function(){return!1})},bf=function(t,A,e,r,n){var i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),s=document.createElementNS(i,"foreignObject");return a.setAttributeNS(null,"width",t.toString()),a.setAttributeNS(null,"height",A.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",e.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(n),a},Rp=function(t){return new Promise(function(A,e){var r=new Image;r.onload=function(){return A(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},Ot={get SUPPORT_RANGE_BOUNDS(){var t=I4(document);return Object.defineProperty(Ot,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=Ot.SUPPORT_RANGE_BOUNDS&&S4(document);return Object.defineProperty(Ot,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=T4(document);return Object.defineProperty(Ot,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t=typeof Array.from=="function"&&typeof window.fetch=="function"?O4(document):Promise.resolve(!1);return Object.defineProperty(Ot,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=L4();return Object.defineProperty(Ot,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=N4();return Object.defineProperty(Ot,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ot,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Ot,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},Ts=function(){function t(A,e){this.text=A,this.bounds=e}return t}(),H4=function(t,A,e,r){var n=D4(A,e),i=[],a=0;return n.forEach(function(s){if(e.textDecorationLine.length||s.trim().length>0)if(Ot.SUPPORT_RANGE_BOUNDS){var o=kp(r,a,s.length).getClientRects();if(o.length>1){var l=Ff(s),f=0;l.forEach(function(p){i.push(new Ts(p,bn.fromDOMRectList(t,kp(r,f+a,p.length).getClientRects()))),f+=p.length})}else i.push(new Ts(s,bn.fromDOMRectList(t,o)))}else{var d=r.splitText(s.length);i.push(new Ts(s,_4(t,r))),r=d}else Ot.SUPPORT_RANGE_BOUNDS||(r=r.splitText(s.length));a+=s.length}),i},_4=function(t,A){var e=A.ownerDocument;if(e){var r=e.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(r,A);var i=jo(t,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return bn.EMPTY},kp=function(t,A,e){var r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(t,A),n.setEnd(t,A+e),n},Ff=function(t){if(Ot.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(function(e){return e.segment})}return x4(t)},P4=function(t,A){if(Ot.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(function(r){return r.segment})}return R4(t,A)},D4=function(t,A){return A.letterSpacing!==0?Ff(t):P4(t,A)},M4=[32,160,4961,65792,65793,4153,4241],R4=function(t,A){for(var e=hy(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[],n,i=function(){if(n.value){var a=n.value.slice(),s=Go(a),o="";s.forEach(function(l){M4.indexOf(l)===-1?o+=tt(l):(o.length&&r.push(o),r.push(tt(l)),o="")}),o.length&&r.push(o)}};!(n=e.next()).done;)i();return r},k4=function(){function t(A,e,r){this.text=K4(e.data,r.textTransform),this.textBounds=H4(A,this.text,r,e)}return t}(),K4=function(t,A){switch(A){case 1:return t.toLowerCase();case 3:return t.replace(V4,j4);case 2:return t.toUpperCase();default:return t}},V4=/(^|\s|:|-|\(|\))([a-z])/g,j4=function(t,A,e){return t.length>0?A+e.toUpperCase():t},Kp=function(t){Pr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return A}(ln),Vp=function(t){Pr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return A}(ln),jp=function(t){Pr(A,t);function A(e,r){var n=t.call(this,e,r)||this,i=new XMLSerializer,a=jo(e,r);return r.setAttribute("width",a.width+"px"),r.setAttribute("height",a.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return A}(ln),Gp=function(t){Pr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.value=r.value,n}return A}(ln),Qf=function(t){Pr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return A}(ln),G4=[{type:15,flags:0,unit:"px",number:3}],$4=[{type:16,flags:0,number:50}],q4=function(t){return t.width>t.height?new bn(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new bn(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t},W4=function(t){var A=t.type===z4?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},bu="checkbox",Fu="radio",z4="password",$p=707406591,Uf=function(t){Pr(A,t);function A(e,r){var n=t.call(this,e,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=W4(r),(n.type===bu||n.type===Fu)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=q4(n.bounds)),n.type){case bu:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=G4;break;case Fu:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=$4;break}return n}return A}(ln),qp=function(t){Pr(A,t);function A(e,r){var n=t.call(this,e,r)||this,i=r.options[r.selectedIndex||0];return n.value=i&&i.text||"",n}return A}(ln),Wp=function(t){Pr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.value=r.value,n}return A}(ln),zp=function(t){Pr(A,t);function A(e,r){var n=t.call(this,e,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=Yp(e,r.contentWindow.document.documentElement);var i=r.contentWindow.document.documentElement?Ss(e,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):Qn.TRANSPARENT,a=r.contentWindow.document.body?Ss(e,getComputedStyle(r.contentWindow.document.body).backgroundColor):Qn.TRANSPARENT;n.backgroundColor=Jn(i)?Jn(a)?n.styles.backgroundColor:a:i}}catch{}return n}return A}(ln),X4=["OL","UL","MENU"],Qu=function(t,A,e,r){for(var n=A.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,Jp(n)&&n.data.trim().length>0)e.textNodes.push(new k4(t,n,e.styles));else if(da(n))if(n1(n)&&n.assignedNodes)n.assignedNodes().forEach(function(s){return Qu(t,s,e,r)});else{var a=Xp(t,n);a.styles.isVisible()&&(Y4(n,a,r)?a.flags|=4:J4(a.styles)&&(a.flags|=2),X4.indexOf(n.tagName)!==-1&&(a.flags|=8),e.elements.push(a),n.slot,n.shadowRoot?Qu(t,n.shadowRoot,a,r):!Eu(n)&&!Zp(n)&&!xu(n)&&Qu(t,n,a,r))}},Xp=function(t,A){return If(A)?new Kp(t,A):A1(A)?new Vp(t,A):Zp(A)?new jp(t,A):Z4(A)?new Gp(t,A):AF(A)?new Qf(t,A):eF(A)?new Uf(t,A):xu(A)?new qp(t,A):Eu(A)?new Wp(t,A):t1(A)?new zp(t,A):new ln(t,A)},Yp=function(t,A){var e=Xp(t,A);return e.flags|=4,Qu(t,A,e,e),e},Y4=function(t,A,e){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||xf(t)&&e.styles.isTransparent()},J4=function(t){return t.isPositioned()||t.isFloating()},Jp=function(t){return t.nodeType===Node.TEXT_NODE},da=function(t){return t.nodeType===Node.ELEMENT_NODE},Ef=function(t){return da(t)&&typeof t.style<"u"&&!Uu(t)},Uu=function(t){return typeof t.className=="object"},Z4=function(t){return t.tagName==="LI"},AF=function(t){return t.tagName==="OL"},eF=function(t){return t.tagName==="INPUT"},tF=function(t){return t.tagName==="HTML"},Zp=function(t){return t.tagName==="svg"},xf=function(t){return t.tagName==="BODY"},A1=function(t){return t.tagName==="CANVAS"},e1=function(t){return t.tagName==="VIDEO"},If=function(t){return t.tagName==="IMG"},t1=function(t){return t.tagName==="IFRAME"},r1=function(t){return t.tagName==="STYLE"},rF=function(t){return t.tagName==="SCRIPT"},Eu=function(t){return t.tagName==="TEXTAREA"},xu=function(t){return t.tagName==="SELECT"},n1=function(t){return t.tagName==="SLOT"},i1=function(t){return t.tagName.indexOf("-")>0},nF=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(A){var e=this.counters[A];return e||[]},t.prototype.pop=function(A){var e=this;A.forEach(function(r){return e.counters[r].pop()})},t.prototype.parse=function(A){var e=this,r=A.counterIncrement,n=A.counterReset,i=!0;r!==null&&r.forEach(function(s){var o=e.counters[s.counter];o&&s.increment!==0&&(i=!1,o.length||o.push(1),o[Math.max(0,o.length-1)]+=s.increment)});var a=[];return i&&n.forEach(function(s){var o=e.counters[s.counter];a.push(s.counter),o||(o=e.counters[s.counter]=[]),o.push(s.reset)}),a},t}(),a1={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"]},s1={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},iF={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},aF={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},pa=function(t,A,e,r,n,i){return t<A||t>e?Hs(t,n,i.length>0):r.integers.reduce(function(a,s,o){for(;t>=s;)t-=s,a+=r.values[o];return a},"")+i},o1=function(t,A,e,r){var n="";do e||t--,n=r(t)+n,t/=A;while(t*A>=A);return n},rt=function(t,A,e,r,n){var i=e-A+1;return(t<0?"-":"")+(o1(Math.abs(t),i,r,function(a){return tt(Math.floor(a%i)+A)})+n)},Oi=function(t,A,e){e===void 0&&(e=". ");var r=A.length;return o1(Math.abs(t),r,!1,function(n){return A[Math.floor(n%r)]})+e},va=1<<0,Ai=1<<1,ei=1<<2,Os=1<<3,Un=function(t,A,e,r,n,i){if(t<-9999||t>9999)return Hs(t,4,n.length>0);var a=Math.abs(t),s=n;if(a===0)return A[0]+s;for(var o=0;a>0&&o<=4;o++){var l=a%10;l===0&&Ct(i,va)&&s!==""?s=A[l]+s:l>1||l===1&&o===0||l===1&&o===1&&Ct(i,Ai)||l===1&&o===1&&Ct(i,ei)&&t>100||l===1&&o>1&&Ct(i,Os)?s=A[l]+(o>0?e[o-1]:"")+s:l===1&&o>0&&(s=e[o-1]+s),a=Math.floor(a/10)}return(t<0?r:"")+s},u1="十百千萬",l1="拾佰仟萬",c1="マイナス",Sf="마이너스",Hs=function(t,A,e){var r=e?". ":"",n=e?"、":"",i=e?", ":"",a=e?" ":"";switch(A){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var s=rt(t,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return Oi(t,"〇一二三四五六七八九",n);case 6:return pa(t,1,3999,a1,3,r).toLowerCase();case 7:return pa(t,1,3999,a1,3,r);case 8:return rt(t,945,969,!1,r);case 9:return rt(t,97,122,!1,r);case 10:return rt(t,65,90,!1,r);case 11:return rt(t,1632,1641,!0,r);case 12:case 49:return pa(t,1,9999,s1,3,r);case 35:return pa(t,1,9999,s1,3,r).toLowerCase();case 13:return rt(t,2534,2543,!0,r);case 14:case 30:return rt(t,6112,6121,!0,r);case 15:return Oi(t,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Oi(t,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Un(t,"零一二三四五六七八九",u1,"負",n,Ai|ei|Os);case 47:return Un(t,"零壹貳參肆伍陸柒捌玖",l1,"負",n,va|Ai|ei|Os);case 42:return Un(t,"零一二三四五六七八九",u1,"负",n,Ai|ei|Os);case 41:return Un(t,"零壹贰叁肆伍陆柒捌玖",l1,"负",n,va|Ai|ei|Os);case 26:return Un(t,"〇一二三四五六七八九","十百千万",c1,n,0);case 25:return Un(t,"零壱弐参四伍六七八九","拾百千万",c1,n,va|Ai|ei);case 31:return Un(t,"영일이삼사오육칠팔구","십백천만",Sf,i,va|Ai|ei);case 33:return Un(t,"零一二三四五六七八九","十百千萬",Sf,i,0);case 32:return Un(t,"零壹貳參四五六七八九","拾百千",Sf,i,va|Ai|ei);case 18:return rt(t,2406,2415,!0,r);case 20:return pa(t,1,19999,aF,3,r);case 21:return rt(t,2790,2799,!0,r);case 22:return rt(t,2662,2671,!0,r);case 22:return pa(t,1,10999,iF,3,r);case 23:return Oi(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Oi(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return rt(t,3302,3311,!0,r);case 28:return Oi(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Oi(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return rt(t,3792,3801,!0,r);case 37:return rt(t,6160,6169,!0,r);case 38:return rt(t,4160,4169,!0,r);case 39:return rt(t,2918,2927,!0,r);case 40:return rt(t,1776,1785,!0,r);case 43:return rt(t,3046,3055,!0,r);case 44:return rt(t,3174,3183,!0,r);case 45:return rt(t,3664,3673,!0,r);case 46:return rt(t,3872,3881,!0,r);case 3:default:return rt(t,48,57,!0,r)}},f1="data-html2canvas-ignore",h1=function(){function t(A,e,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new nF,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(A,e){var r=this,n=sF(A,e);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var i=A.defaultView.pageXOffset,a=A.defaultView.pageYOffset,s=n.contentWindow,o=s.document,l=lF(n).then(function(){return zt(r,void 0,void 0,function(){var f,d;return Dt(this,function(p){switch(p.label){case 0:return this.scrolledElements.forEach(gF),s&&(s.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(s.scrollY!==e.top||s.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-e.left,s.scrollY-e.top,0,0))),f=this.options.onclone,d=this.clonedReferenceElement,typeof d>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:o.fonts&&o.fonts.ready?[4,o.fonts.ready]:[3,2];case 1:p.sent(),p.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,uF(o)]:[3,4];case 3:p.sent(),p.label=4;case 4:return typeof f=="function"?[2,Promise.resolve().then(function(){return f(o,d)}).then(function(){return n})]:[2,n]}})})});return o.open(),o.write(fF(document.doctype)+"<html></html>"),hF(this.referenceElement.ownerDocument,i,a),o.replaceChild(o.adoptNode(this.documentElement),o.documentElement),o.close(),l},t.prototype.createElementClone=function(A){if(hf(A,2))debugger;if(A1(A))return this.createCanvasClone(A);if(e1(A))return this.createVideoClone(A);if(r1(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return If(e)&&(If(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),i1(e)?this.createCustomElementClone(e):e},t.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return Lf(A.style,e),e},t.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var r=[].slice.call(e.cssRules,0).reduce(function(i,a){return a&&typeof a.cssText=="string"?i+a.cssText:i},""),n=A.cloneNode(!1);return n.textContent=r,n}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return A.cloneNode(!1)},t.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var i=A.getContext("2d"),a=n.getContext("2d");if(a)if(!this.options.allowTaint&&i)a.putImageData(i.getImageData(0,0,A.width,A.height),0,0);else{var s=(e=A.getContext("webgl2"))!==null&&e!==void 0?e:A.getContext("webgl");if(s){var o=s.getContextAttributes();o?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}a.drawImage(A,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},t.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var r=e.getContext("2d");try{return r&&(r.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||r.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},t.prototype.appendChildNode=function(A,e,r){(!da(e)||!rF(e)&&!e.hasAttribute(f1)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!da(e)||!r1(e))&&A.appendChild(this.cloneNode(e,r))},t.prototype.cloneChildNodes=function(A,e,r){for(var n=this,i=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;i;i=i.nextSibling)if(da(i)&&n1(i)&&typeof i.assignedNodes=="function"){var a=i.assignedNodes();a.length&&a.forEach(function(s){return n.appendChildNode(e,s,r)})}else this.appendChildNode(e,i,r)},t.prototype.cloneNode=function(A,e){if(Jp(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var r=A.ownerDocument.defaultView;if(r&&da(A)&&(Ef(A)||Uu(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var i=r.getComputedStyle(A),a=r.getComputedStyle(A,":before"),s=r.getComputedStyle(A,":after");this.referenceElement===A&&Ef(n)&&(this.clonedReferenceElement=n),xf(n)&&vF(n);var o=this.counters.parse(new Ep(this.context,i)),l=this.resolvePseudoContent(A,n,a,_s.BEFORE);i1(A)&&(e=!0),e1(A)||this.cloneChildNodes(A,n,e),l&&n.insertBefore(l,n.firstChild);var f=this.resolvePseudoContent(A,n,s,_s.AFTER);return f&&n.appendChild(f),this.counters.pop(o),(i&&(this.options.copyStyles||Uu(A))&&!t1(A)||e)&&Lf(i,n),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(Eu(A)||xu(A))&&(Eu(n)||xu(n))&&(n.value=A.value),n}return A.cloneNode(!1)},t.prototype.resolvePseudoContent=function(A,e,r,n){var i=this;if(r){var a=r.content,s=e.ownerDocument;if(!(!s||!a||a==="none"||a==="-moz-alt-content"||r.display==="none")){this.counters.parse(new Ep(this.context,r));var o=new Zb(this.context,r),l=s.createElement("html2canvaspseudoelement");Lf(r,l),o.content.forEach(function(d){if(d.type===0)l.appendChild(s.createTextNode(d.value));else if(d.type===22){var p=s.createElement("img");p.src=d.value,p.style.opacity="1",l.appendChild(p)}else if(d.type===18){if(d.name==="attr"){var h=d.values.filter(Oe);h.length&&l.appendChild(s.createTextNode(A.getAttribute(h[0].value)||""))}else if(d.name==="counter"){var m=d.values.filter(ha),w=m[0],b=m[1];if(w&&Oe(w)){var y=i.counters.getCounterValue(w.value),U=b&&Oe(b)?ff.parse(i.context,b.value):3;l.appendChild(s.createTextNode(Hs(y,U,!1)))}}else if(d.name==="counters"){var T=d.values.filter(ha),w=T[0],k=T[1],b=T[2];if(w&&Oe(w)){var G=i.counters.getCounterValues(w.value),j=b&&Oe(b)?ff.parse(i.context,b.value):3,K=k&&k.type===0?k.value:"",O=G.map(function(N){return Hs(N,j,!1)}).join(K);l.appendChild(s.createTextNode(O))}}}else if(d.type===20)switch(d.value){case"open-quote":l.appendChild(s.createTextNode(Up(o.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(s.createTextNode(Up(o.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(s.createTextNode(d.value))}}),l.className=Nf+" "+Tf;var f=n===_s.BEFORE?" "+Nf:" "+Tf;return Uu(e)?e.className.baseValue+=f:e.className+=f,l}}},t.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},t}(),_s;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(_s||(_s={}));var sF=function(t,A){var e=t.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=A.width.toString(),e.height=A.height.toString(),e.scrolling="no",e.setAttribute(f1,"true"),t.body.appendChild(e),e},oF=function(t){return new Promise(function(A){if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A})},uF=function(t){return Promise.all([].slice.call(t.images,0).map(oF))},lF=function(t){return new Promise(function(A,e){var r=t.contentWindow;if(!r)return e("No window assigned for iframe");var n=r.document;r.onload=t.onload=function(){r.onload=t.onload=null;var i=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(i),A(t))},50)}})},cF=["all","d","content"],Lf=function(t,A){for(var e=t.length-1;e>=0;e--){var r=t.item(e);cF.indexOf(r)===-1&&A.style.setProperty(r,t.getPropertyValue(r))}return A},fF=function(t){var A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=t.internalSubset),t.publicId&&(A+='"'+t.publicId+'"'),t.systemId&&(A+='"'+t.systemId+'"'),A+=">"),A},hF=function(t,A,e){t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},gF=function(t){var A=t[0],e=t[1],r=t[2];A.scrollLeft=e,A.scrollTop=r},dF=":before",pF=":after",Nf="___html2canvas___pseudoelement_before",Tf="___html2canvas___pseudoelement_after",g1=`{
content: "" !important;
display: none !important;
}`,vF=function(t){BF(t,"."+Nf+dF+g1+`
.`+Tf+pF+g1)},BF=function(t,A){var e=t.ownerDocument;if(e){var r=e.createElement("style");r.textContent=A,t.appendChild(r)}},d1=function(){function t(){}return t.getOrigin=function(A){var e=t._link;return e?(e.href=A,e.href=e.href,e.protocol+e.hostname+e.port):"about:blank"},t.isSameOrigin=function(A){return t.getOrigin(A)===t._origin},t.setContext=function(A){t._link=A.document.createElement("a"),t._origin=t.getOrigin(A.location.href)},t._origin="about:blank",t}(),wF=function(){function t(A,e){this.context=A,this._options=e,this._cache={}}return t.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)||(Hf(A)||bF(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),e},t.prototype.match=function(A){return this._cache[A]},t.prototype.loadImage=function(A){return zt(this,void 0,void 0,function(){var e,r,n,i,a=this;return Dt(this,function(s){switch(s.label){case 0:return e=d1.isSameOrigin(A),r=!Of(A)&&this._options.useCORS===!0&&Ot.SUPPORT_CORS_IMAGES&&!e,n=!Of(A)&&!e&&!Hf(A)&&typeof this._options.proxy=="string"&&Ot.SUPPORT_CORS_XHR&&!r,!e&&this._options.allowTaint===!1&&!Of(A)&&!Hf(A)&&!n&&!r?[2]:(i=A,n?[4,this.proxy(i)]:[3,2]);case 1:i=s.sent(),s.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(o,l){var f=new Image;f.onload=function(){return o(f)},f.onerror=l,(FF(i)||r)&&(f.crossOrigin="anonymous"),f.src=i,f.complete===!0&&setTimeout(function(){return o(f)},500),a._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,s.sent()]}})})},t.prototype.has=function(A){return typeof this._cache[A]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(A){var e=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(i,a){var s=Ot.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(o.status===200)if(s==="text")i(o.response);else{var d=new FileReader;d.addEventListener("load",function(){return i(d.result)},!1),d.addEventListener("error",function(p){return a(p)},!1),d.readAsDataURL(o.response)}else a("Failed to proxy resource "+n+" with status code "+o.status)},o.onerror=a;var l=r.indexOf("?")>-1?"&":"?";if(o.open("GET",""+r+l+"url="+encodeURIComponent(A)+"&responseType="+s),s!=="text"&&o instanceof XMLHttpRequest&&(o.responseType=s),e._options.imageTimeout){var f=e._options.imageTimeout;o.timeout=f,o.ontimeout=function(){return a("Timed out ("+f+"ms) proxying "+n)}}o.send()})},t}(),mF=/^data:image\/svg\+xml/i,yF=/^data:image\/.*;base64,/i,CF=/^data:image\/.*/i,bF=function(t){return Ot.SUPPORT_SVG_DRAWING||!QF(t)},Of=function(t){return CF.test(t)},FF=function(t){return yF.test(t)},Hf=function(t){return t.substr(0,4)==="blob"},QF=function(t){return t.substr(-3).toLowerCase()==="svg"||mF.test(t)},DA=function(){function t(A,e){this.type=0,this.x=A,this.y=e}return t.prototype.add=function(A,e){return new t(this.x+A,this.y+e)},t}(),Ba=function(t,A,e){return new DA(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e)},Iu=function(){function t(A,e,r,n){this.type=1,this.start=A,this.startControl=e,this.endControl=r,this.end=n}return t.prototype.subdivide=function(A,e){var r=Ba(this.start,this.startControl,A),n=Ba(this.startControl,this.endControl,A),i=Ba(this.endControl,this.end,A),a=Ba(r,n,A),s=Ba(n,i,A),o=Ba(a,s,A);return e?new t(this.start,r,a,o):new t(o,s,i,this.end)},t.prototype.add=function(A,e){return new t(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Qr=function(t){return t.type===1},UF=function(){function t(A){var e=A.styles,r=A.bounds,n=Is(e.borderTopLeftRadius,r.width,r.height),i=n[0],a=n[1],s=Is(e.borderTopRightRadius,r.width,r.height),o=s[0],l=s[1],f=Is(e.borderBottomRightRadius,r.width,r.height),d=f[0],p=f[1],h=Is(e.borderBottomLeftRadius,r.width,r.height),m=h[0],w=h[1],b=[];b.push((i+o)/r.width),b.push((m+d)/r.width),b.push((a+w)/r.height),b.push((l+p)/r.height);var y=Math.max.apply(Math,b);y>1&&(i/=y,a/=y,o/=y,l/=y,d/=y,p/=y,m/=y,w/=y);var U=r.width-o,T=r.height-p,k=r.width-d,G=r.height-w,j=e.borderTopWidth,K=e.borderRightWidth,O=e.borderBottomWidth,Z=e.borderLeftWidth,aA=De(e.paddingTop,A.bounds.width),N=De(e.paddingRight,A.bounds.width),S=De(e.paddingBottom,A.bounds.width),M=De(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||a>0?je(r.left+Z/3,r.top+j/3,i-Z/3,a-j/3,xe.TOP_LEFT):new DA(r.left+Z/3,r.top+j/3),this.topRightBorderDoubleOuterBox=i>0||a>0?je(r.left+U,r.top+j/3,o-K/3,l-j/3,xe.TOP_RIGHT):new DA(r.left+r.width-K/3,r.top+j/3),this.bottomRightBorderDoubleOuterBox=d>0||p>0?je(r.left+k,r.top+T,d-K/3,p-O/3,xe.BOTTOM_RIGHT):new DA(r.left+r.width-K/3,r.top+r.height-O/3),this.bottomLeftBorderDoubleOuterBox=m>0||w>0?je(r.left+Z/3,r.top+G,m-Z/3,w-O/3,xe.BOTTOM_LEFT):new DA(r.left+Z/3,r.top+r.height-O/3),this.topLeftBorderDoubleInnerBox=i>0||a>0?je(r.left+Z*2/3,r.top+j*2/3,i-Z*2/3,a-j*2/3,xe.TOP_LEFT):new DA(r.left+Z*2/3,r.top+j*2/3),this.topRightBorderDoubleInnerBox=i>0||a>0?je(r.left+U,r.top+j*2/3,o-K*2/3,l-j*2/3,xe.TOP_RIGHT):new DA(r.left+r.width-K*2/3,r.top+j*2/3),this.bottomRightBorderDoubleInnerBox=d>0||p>0?je(r.left+k,r.top+T,d-K*2/3,p-O*2/3,xe.BOTTOM_RIGHT):new DA(r.left+r.width-K*2/3,r.top+r.height-O*2/3),this.bottomLeftBorderDoubleInnerBox=m>0||w>0?je(r.left+Z*2/3,r.top+G,m-Z*2/3,w-O*2/3,xe.BOTTOM_LEFT):new DA(r.left+Z*2/3,r.top+r.height-O*2/3),this.topLeftBorderStroke=i>0||a>0?je(r.left+Z/2,r.top+j/2,i-Z/2,a-j/2,xe.TOP_LEFT):new DA(r.left+Z/2,r.top+j/2),this.topRightBorderStroke=i>0||a>0?je(r.left+U,r.top+j/2,o-K/2,l-j/2,xe.TOP_RIGHT):new DA(r.left+r.width-K/2,r.top+j/2),this.bottomRightBorderStroke=d>0||p>0?je(r.left+k,r.top+T,d-K/2,p-O/2,xe.BOTTOM_RIGHT):new DA(r.left+r.width-K/2,r.top+r.height-O/2),this.bottomLeftBorderStroke=m>0||w>0?je(r.left+Z/2,r.top+G,m-Z/2,w-O/2,xe.BOTTOM_LEFT):new DA(r.left+Z/2,r.top+r.height-O/2),this.topLeftBorderBox=i>0||a>0?je(r.left,r.top,i,a,xe.TOP_LEFT):new DA(r.left,r.top),this.topRightBorderBox=o>0||l>0?je(r.left+U,r.top,o,l,xe.TOP_RIGHT):new DA(r.left+r.width,r.top),this.bottomRightBorderBox=d>0||p>0?je(r.left+k,r.top+T,d,p,xe.BOTTOM_RIGHT):new DA(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=m>0||w>0?je(r.left,r.top+G,m,w,xe.BOTTOM_LEFT):new DA(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||a>0?je(r.left+Z,r.top+j,Math.max(0,i-Z),Math.max(0,a-j),xe.TOP_LEFT):new DA(r.left+Z,r.top+j),this.topRightPaddingBox=o>0||l>0?je(r.left+Math.min(U,r.width-K),r.top+j,U>r.width+K?0:Math.max(0,o-K),Math.max(0,l-j),xe.TOP_RIGHT):new DA(r.left+r.width-K,r.top+j),this.bottomRightPaddingBox=d>0||p>0?je(r.left+Math.min(k,r.width-Z),r.top+Math.min(T,r.height-O),Math.max(0,d-K),Math.max(0,p-O),xe.BOTTOM_RIGHT):new DA(r.left+r.width-K,r.top+r.height-O),this.bottomLeftPaddingBox=m>0||w>0?je(r.left+Z,r.top+Math.min(G,r.height-O),Math.max(0,m-Z),Math.max(0,w-O),xe.BOTTOM_LEFT):new DA(r.left+Z,r.top+r.height-O),this.topLeftContentBox=i>0||a>0?je(r.left+Z+M,r.top+j+aA,Math.max(0,i-(Z+M)),Math.max(0,a-(j+aA)),xe.TOP_LEFT):new DA(r.left+Z+M,r.top+j+aA),this.topRightContentBox=o>0||l>0?je(r.left+Math.min(U,r.width+Z+M),r.top+j+aA,U>r.width+Z+M?0:o-Z+M,l-(j+aA),xe.TOP_RIGHT):new DA(r.left+r.width-(K+N),r.top+j+aA),this.bottomRightContentBox=d>0||p>0?je(r.left+Math.min(k,r.width-(Z+M)),r.top+Math.min(T,r.height+j+aA),Math.max(0,d-(K+N)),p-(O+S),xe.BOTTOM_RIGHT):new DA(r.left+r.width-(K+N),r.top+r.height-(O+S)),this.bottomLeftContentBox=m>0||w>0?je(r.left+Z+M,r.top+G,Math.max(0,m-(Z+M)),w-(O+S),xe.BOTTOM_LEFT):new DA(r.left+Z+M,r.top+r.height-(O+S))}return t}(),xe;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(xe||(xe={}));var je=function(t,A,e,r,n){var i=4*((Math.sqrt(2)-1)/3),a=e*i,s=r*i,o=t+e,l=A+r;switch(n){case xe.TOP_LEFT:return new Iu(new DA(t,l),new DA(t,l-s),new DA(o-a,A),new DA(o,A));case xe.TOP_RIGHT:return new Iu(new DA(t,A),new DA(t+a,A),new DA(o,l-s),new DA(o,l));case xe.BOTTOM_RIGHT:return new Iu(new DA(o,A),new DA(o,A+s),new DA(t+a,l),new DA(t,l));case xe.BOTTOM_LEFT:default:return new Iu(new DA(o,l),new DA(o-a,l),new DA(t,A+s),new DA(t,A))}},Su=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},EF=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},Lu=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},xF=function(){function t(A,e,r){this.offsetX=A,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}return t}(),Nu=function(){function t(A,e){this.path=A,this.target=e,this.type=1}return t}(),IF=function(){function t(A){this.opacity=A,this.type=2,this.target=6}return t}(),SF=function(t){return t.type===0},p1=function(t){return t.type===1},LF=function(t){return t.type===2},v1=function(t,A){return t.length===A.length?t.some(function(e,r){return e===A[r]}):!1},NF=function(t,A,e,r,n){return t.map(function(i,a){switch(a){case 0:return i.add(A,e);case 1:return i.add(A+r,e);case 2:return i.add(A+r,e+n);case 3:return i.add(A,e+n)}return i})},B1=function(){function t(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),w1=function(){function t(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new UF(this.container),this.container.styles.opacity<1&&this.effects.push(new IF(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new xF(r,n,i))}if(this.container.styles.overflowX!==0){var a=Su(this.curves),s=Lu(this.curves);v1(a,s)?this.effects.push(new Nu(a,6)):(this.effects.push(new Nu(a,2)),this.effects.push(new Nu(s,4)))}}return t.prototype.getEffects=function(A){for(var e=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(o){return!p1(o)});if(e||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),e=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var a=Su(r.curves),s=Lu(r.curves);v1(a,s)||n.unshift(new Nu(s,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(o){return Ct(o.target,A)})},t}(),_f=function(t,A,e,r){t.container.elements.forEach(function(n){var i=Ct(n.flags,4),a=Ct(n.flags,2),s=new w1(n,t);Ct(n.styles.display,2048)&&r.push(s);var o=Ct(n.flags,8)?[]:r;if(i||a){var l=i||n.styles.isPositioned()?e:A,f=new B1(s);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var d=n.styles.zIndex.order;if(d<0){var p=0;l.negativeZIndex.some(function(m,w){return d>m.element.container.styles.zIndex.order?(p=w,!1):p>0}),l.negativeZIndex.splice(p,0,f)}else if(d>0){var h=0;l.positiveZIndex.some(function(m,w){return d>=m.element.container.styles.zIndex.order?(h=w+1,!1):h>0}),l.positiveZIndex.splice(h,0,f)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(f)}else n.styles.isFloating()?l.nonPositionedFloats.push(f):l.nonPositionedInlineLevel.push(f);_f(s,f,i?f:e,o)}else n.styles.isInlineLevel()?A.inlineLevel.push(s):A.nonInlineLevel.push(s),_f(s,A,e,o);Ct(n.flags,8)&&m1(n,o)})},m1=function(t,A){for(var e=t instanceof Qf?t.start:1,r=t instanceof Qf?t.reversed:!1,n=0;n<A.length;n++){var i=A[n];i.container instanceof Gp&&typeof i.container.value=="number"&&i.container.value!==0&&(e=i.container.value),i.listValue=Hs(e,i.container.styles.listStyleType,!0),e+=r?-1:1}},TF=function(t){var A=new w1(t,null),e=new B1(A),r=[];return _f(A,e,e,r),m1(A.container,r),e},y1=function(t,A){switch(A){case 0:return Ur(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return Ur(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return Ur(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return Ur(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},OF=function(t,A){switch(A){case 0:return Ur(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return Ur(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return Ur(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return Ur(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},HF=function(t,A){switch(A){case 0:return Ur(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return Ur(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return Ur(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return Ur(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},_F=function(t,A){switch(A){case 0:return Tu(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return Tu(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return Tu(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return Tu(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},Tu=function(t,A){var e=[];return Qr(t)?e.push(t.subdivide(.5,!1)):e.push(t),Qr(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},Ur=function(t,A,e,r){var n=[];return Qr(t)?n.push(t.subdivide(.5,!1)):n.push(t),Qr(e)?n.push(e.subdivide(.5,!0)):n.push(e),Qr(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),Qr(A)?n.push(A.subdivide(.5,!1).reverse()):n.push(A),n},C1=function(t){var A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},Ou=function(t){var A=t.styles,e=t.bounds,r=De(A.paddingLeft,e.width),n=De(A.paddingRight,e.width),i=De(A.paddingTop,e.width),a=De(A.paddingBottom,e.width);return e.add(r+A.borderLeftWidth,i+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+r+n),-(A.borderTopWidth+A.borderBottomWidth+i+a))},PF=function(t,A){return t===0?A.bounds:t===2?Ou(A):C1(A)},DF=function(t,A){return t===0?A.bounds:t===2?Ou(A):C1(A)},Pf=function(t,A,e){var r=PF(ma(t.styles.backgroundOrigin,A),t),n=DF(ma(t.styles.backgroundClip,A),t),i=MF(ma(t.styles.backgroundSize,A),e,r),a=i[0],s=i[1],o=Is(ma(t.styles.backgroundPosition,A),r.width-a,r.height-s),l=RF(ma(t.styles.backgroundRepeat,A),o,i,r,n),f=Math.round(r.left+o[0]),d=Math.round(r.top+o[1]);return[l,f,d,a,s]},wa=function(t){return Oe(t)&&t.value===ga.AUTO},Hu=function(t){return typeof t=="number"},MF=function(t,A,e){var r=A[0],n=A[1],i=A[2],a=t[0],s=t[1];if(!a)return[0,0];if(ht(a)&&s&&ht(s))return[De(a,e.width),De(s,e.height)];var o=Hu(i);if(Oe(a)&&(a.value===ga.CONTAIN||a.value===ga.COVER)){if(Hu(i)){var l=e.width/e.height;return l<i!=(a.value===ga.COVER)?[e.width,e.width/i]:[e.height*i,e.height]}return[e.width,e.height]}var f=Hu(r),d=Hu(n),p=f||d;if(wa(a)&&(!s||wa(s))){if(f&&d)return[r,n];if(!o&&!p)return[e.width,e.height];if(p&&o){var h=f?r:n*i,m=d?n:r/i;return[h,m]}var w=f?r:e.width,b=d?n:e.height;return[w,b]}if(o){var y=0,U=0;return ht(a)?y=De(a,e.width):ht(s)&&(U=De(s,e.height)),wa(a)?y=U*i:(!s||wa(s))&&(U=y/i),[y,U]}var T=null,k=null;if(ht(a)?T=De(a,e.width):s&&ht(s)&&(k=De(s,e.height)),T!==null&&(!s||wa(s))&&(k=f&&d?T/r*n:e.height),k!==null&&wa(a)&&(T=f&&d?k/n*r:e.width),T!==null&&k!==null)return[T,k];throw new Error("Unable to calculate background-size for element")},ma=function(t,A){var e=t[A];return typeof e>"u"?t[0]:e},RF=function(t,A,e,r,n){var i=A[0],a=A[1],s=e[0],o=e[1];switch(t){case 2:return[new DA(Math.round(r.left),Math.round(r.top+a)),new DA(Math.round(r.left+r.width),Math.round(r.top+a)),new DA(Math.round(r.left+r.width),Math.round(o+r.top+a)),new DA(Math.round(r.left),Math.round(o+r.top+a))];case 3:return[new DA(Math.round(r.left+i),Math.round(r.top)),new DA(Math.round(r.left+i+s),Math.round(r.top)),new DA(Math.round(r.left+i+s),Math.round(r.height+r.top)),new DA(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new DA(Math.round(r.left+i),Math.round(r.top+a)),new DA(Math.round(r.left+i+s),Math.round(r.top+a)),new DA(Math.round(r.left+i+s),Math.round(r.top+a+o)),new DA(Math.round(r.left+i),Math.round(r.top+a+o))];default:return[new DA(Math.round(n.left),Math.round(n.top)),new DA(Math.round(n.left+n.width),Math.round(n.top)),new DA(Math.round(n.left+n.width),Math.round(n.height+n.top)),new DA(Math.round(n.left),Math.round(n.height+n.top))]}},kF="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",b1="Hidden Text",KF=function(){function t(A){this._data={},this._document=A}return t.prototype.parseMetrics=function(A,e){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),a=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",a.appendChild(r),n.src=kF,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=A,i.style.fontSize=e,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(b1)),r.appendChild(i),r.appendChild(n);var s=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(b1)),r.style.lineHeight="normal",n.style.verticalAlign="super";var o=n.offsetTop-r.offsetTop+2;return a.removeChild(r),{baseline:s,middle:o}},t.prototype.getMetrics=function(A,e){var r=A+" "+e;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,e)),this._data[r]},t}(),F1=function(){function t(A,e){this.context=A,this.options=e}return t}(),VF=1e4,jF=function(t){Pr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new KF(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return A.prototype.applyEffects=function(e){for(var r=this;this._activeEffects.length;)this.popEffect();e.forEach(function(n){return r.applyEffect(n)})},A.prototype.applyEffect=function(e){this.ctx.save(),LF(e)&&(this.ctx.globalAlpha=e.opacity),SF(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)),p1(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 zt(this,void 0,void 0,function(){var r;return Dt(this,function(n){switch(n.label){case 0:return r=e.element.container.styles,r.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(e){return zt(this,void 0,void 0,function(){return Dt(this,function(r){switch(r.label){case 0:if(Ct(e.container.flags,16))debugger;return e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(e)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(e,r,n){var i=this;if(r===0)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n);else{var a=Ff(e.text);a.reduce(function(s,o){return i.ctx.fillText(o,s,e.bounds.top+n),s+i.ctx.measureText(o).width},e.bounds.left)}},A.prototype.createFontStyle=function(e){var r=e.fontVariant.filter(function(a){return a==="normal"||a==="small-caps"}).join(""),n=zF(e.fontFamily).join(", "),i=xs(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,r,e.fontWeight,i,n].join(" "),n,i]},A.prototype.renderTextNode=function(e,r){return zt(this,void 0,void 0,function(){var n,i,a,s,o,l,f,d,p=this;return Dt(this,function(h){return n=this.createFontStyle(r),i=n[0],a=n[1],s=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",o=this.fontMetrics.getMetrics(a,s),l=o.baseline,f=o.middle,d=r.paintOrder,e.textBounds.forEach(function(m){d.forEach(function(w){switch(w){case 0:p.ctx.fillStyle=Qt(r.color),p.renderTextWithLetterSpacing(m,r.letterSpacing,l);var b=r.textShadow;b.length&&m.text.trim().length&&(b.slice(0).reverse().forEach(function(y){p.ctx.shadowColor=Qt(y.color),p.ctx.shadowOffsetX=y.offsetX.number*p.options.scale,p.ctx.shadowOffsetY=y.offsetY.number*p.options.scale,p.ctx.shadowBlur=y.blur.number,p.renderTextWithLetterSpacing(m,r.letterSpacing,l)}),p.ctx.shadowColor="",p.ctx.shadowOffsetX=0,p.ctx.shadowOffsetY=0,p.ctx.shadowBlur=0),r.textDecorationLine.length&&(p.ctx.fillStyle=Qt(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(y){switch(y){case 1:p.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top+l),m.bounds.width,1);break;case 2:p.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top),m.bounds.width,1);break;case 3:p.ctx.fillRect(m.bounds.left,Math.ceil(m.bounds.top+f),m.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&m.text.trim().length&&(p.ctx.strokeStyle=Qt(r.webkitTextStrokeColor),p.ctx.lineWidth=r.webkitTextStrokeWidth,p.ctx.lineJoin=window.chrome?"miter":"round",p.ctx.strokeText(m.text,m.bounds.left,m.bounds.top+l)),p.ctx.strokeStyle="",p.ctx.lineWidth=0,p.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(e,r,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var i=Ou(e),a=Lu(r);this.path(a),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return zt(this,void 0,void 0,function(){var r,n,i,a,s,o,U,U,l,f,d,p,k,h,m,G,w,b,y,U,T,k,G;return Dt(this,function(j){switch(j.label){case 0:this.applyEffects(e.getEffects(4)),r=e.container,n=e.curves,i=r.styles,a=0,s=r.textNodes,j.label=1;case 1:return a<s.length?(o=s[a],[4,this.renderTextNode(o,i)]):[3,4];case 2:j.sent(),j.label=3;case 3:return a++,[3,1];case 4:if(!(r instanceof Kp))return[3,8];j.label=5;case 5:return j.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return U=j.sent(),this.renderReplacedElement(r,n,U),[3,8];case 7:return j.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof Vp&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof jp))return[3,12];j.label=9;case 9:return j.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return U=j.sent(),this.renderReplacedElement(r,n,U),[3,12];case 11:return j.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof zp&&r.tree?(l=new A(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:f=j.sent(),r.width&&r.height&&this.ctx.drawImage(f,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),j.label=14;case 14:if(r instanceof Uf&&(d=Math.min(r.bounds.width,r.bounds.height),r.type===bu?r.checked&&(this.ctx.save(),this.path([new DA(r.bounds.left+d*.39363,r.bounds.top+d*.79),new DA(r.bounds.left+d*.16,r.bounds.top+d*.5549),new DA(r.bounds.left+d*.27347,r.bounds.top+d*.44071),new DA(r.bounds.left+d*.39694,r.bounds.top+d*.5649),new DA(r.bounds.left+d*.72983,r.bounds.top+d*.23),new DA(r.bounds.left+d*.84,r.bounds.top+d*.34085),new DA(r.bounds.left+d*.39363,r.bounds.top+d*.79)]),this.ctx.fillStyle=Qt($p),this.ctx.fill(),this.ctx.restore()):r.type===Fu&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+d/2,r.bounds.top+d/2,d/4,0,Math.PI*2,!0),this.ctx.fillStyle=Qt($p),this.ctx.fill(),this.ctx.restore())),GF(r)&&r.value.length){switch(p=this.createFontStyle(i),k=p[0],h=p[1],m=this.fontMetrics.getMetrics(k,h).baseline,this.ctx.font=k,this.ctx.fillStyle=Qt(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=qF(r.styles.textAlign),G=Ou(r),w=0,r.styles.textAlign){case 1:w+=G.width/2;break;case 2:w+=G.width;break}b=G.add(w,0,0,-G.height/2+1),this.ctx.save(),this.path([new DA(G.left,G.top),new DA(G.left+G.width,G.top),new DA(G.left+G.width,G.top+G.height),new DA(G.left,G.top+G.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Ts(r.value,b),i.letterSpacing,m),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ct(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(y=r.styles.listStyleImage,y.type!==0)return[3,18];U=void 0,T=y.url,j.label=15;case 15:return j.trys.push([15,17,,18]),[4,this.context.cache.match(T)];case 16:return U=j.sent(),this.ctx.drawImage(U,r.bounds.left-(U.width+10),r.bounds.top),[3,18];case 17:return j.sent(),this.context.logger.error("Error loading list-style-image "+T),[3,18];case 18:return[3,20];case 19:e.listValue&&r.styles.listStyleType!==-1&&(k=this.createFontStyle(i)[0],this.ctx.font=k,this.ctx.fillStyle=Qt(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",G=new bn(r.bounds.left,r.bounds.top+De(r.styles.paddingTop,r.bounds.width),r.bounds.width,bp(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Ts(e.listValue,G),i.letterSpacing,bp(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),j.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(e){return zt(this,void 0,void 0,function(){var r,n,y,i,a,y,s,o,y,l,f,y,d,p,y,h,m,y,w,b,y;return Dt(this,function(U){switch(U.label){case 0:if(Ct(e.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:U.sent(),r=0,n=e.negativeZIndex,U.label=2;case 2:return r<n.length?(y=n[r],[4,this.renderStack(y)]):[3,5];case 3:U.sent(),U.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:U.sent(),i=0,a=e.nonInlineLevel,U.label=7;case 7:return i<a.length?(y=a[i],[4,this.renderNode(y)]):[3,10];case 8:U.sent(),U.label=9;case 9:return i++,[3,7];case 10:s=0,o=e.nonPositionedFloats,U.label=11;case 11:return s<o.length?(y=o[s],[4,this.renderStack(y)]):[3,14];case 12:U.sent(),U.label=13;case 13:return s++,[3,11];case 14:l=0,f=e.nonPositionedInlineLevel,U.label=15;case 15:return l<f.length?(y=f[l],[4,this.renderStack(y)]):[3,18];case 16:U.sent(),U.label=17;case 17:return l++,[3,15];case 18:d=0,p=e.inlineLevel,U.label=19;case 19:return d<p.length?(y=p[d],[4,this.renderNode(y)]):[3,22];case 20:U.sent(),U.label=21;case 21:return d++,[3,19];case 22:h=0,m=e.zeroOrAutoZIndexOrTransformedOrOpacity,U.label=23;case 23:return h<m.length?(y=m[h],[4,this.renderStack(y)]):[3,26];case 24:U.sent(),U.label=25;case 25:return h++,[3,23];case 26:w=0,b=e.positiveZIndex,U.label=27;case 27:return w<b.length?(y=b[w],[4,this.renderStack(y)]):[3,30];case 28:U.sent(),U.label=29;case 29:return w++,[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 r=this;e.forEach(function(n,i){var a=Qr(n)?n.start:n;i===0?r.ctx.moveTo(a.x,a.y):r.ctx.lineTo(a.x,a.y),Qr(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},A.prototype.renderRepeat=function(e,r,n,i){this.path(e),this.ctx.fillStyle=r,this.ctx.translate(n,i),this.ctx.fill(),this.ctx.translate(-n,-i)},A.prototype.resizeImage=function(e,r,n){var i;if(e.width===r&&e.height===n)return e;var a=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,s=a.createElement("canvas");s.width=Math.max(1,r),s.height=Math.max(1,n);var o=s.getContext("2d");return o.drawImage(e,0,0,e.width,e.height,0,0,r,n),s},A.prototype.renderBackgroundImage=function(e){return zt(this,void 0,void 0,function(){var r,n,i,a,s,o;return Dt(this,function(l){switch(l.label){case 0:r=e.styles.backgroundImage.length-1,n=function(f){var d,p,h,aA,tA,lA,M,R,O,m,aA,tA,lA,M,R,w,b,y,U,T,k,G,j,K,O,Z,aA,N,S,M,R,iA,tA,lA,eA,cA,sA,bA,Q,_,P,$;return Dt(this,function(W){switch(W.label){case 0:if(f.type!==0)return[3,5];d=void 0,p=f.url,W.label=1;case 1:return W.trys.push([1,3,,4]),[4,i.context.cache.match(p)];case 2:return d=W.sent(),[3,4];case 3:return W.sent(),i.context.logger.error("Error loading background-image "+p),[3,4];case 4:return d&&(h=Pf(e,r,[d.width,d.height,d.width/d.height]),aA=h[0],tA=h[1],lA=h[2],M=h[3],R=h[4],O=i.ctx.createPattern(i.resizeImage(d,M,R),"repeat"),i.renderRepeat(aA,O,tA,lA)),[3,6];case 5:SC(f)?(m=Pf(e,r,[null,null,null]),aA=m[0],tA=m[1],lA=m[2],M=m[3],R=m[4],w=QC(f.angle,M,R),b=w[0],y=w[1],U=w[2],T=w[3],k=w[4],G=document.createElement("canvas"),G.width=M,G.height=R,j=G.getContext("2d"),K=j.createLinearGradient(y,T,U,k),fp(f.stops,b).forEach(function(nA){return K.addColorStop(nA.stop,Qt(nA.color))}),j.fillStyle=K,j.fillRect(0,0,M,R),M>0&&R>0&&(O=i.ctx.createPattern(G,"repeat"),i.renderRepeat(aA,O,tA,lA))):LC(f)&&(Z=Pf(e,r,[null,null,null]),aA=Z[0],N=Z[1],S=Z[2],M=Z[3],R=Z[4],iA=f.position.length===0?[uf]:f.position,tA=De(iA[0],M),lA=De(iA[iA.length-1],R),eA=UC(f,tA,lA,M,R),cA=eA[0],sA=eA[1],cA>0&&sA>0&&(bA=i.ctx.createRadialGradient(N+tA,S+lA,0,N+tA,S+lA,cA),fp(f.stops,cA*2).forEach(function(nA){return bA.addColorStop(nA.stop,Qt(nA.color))}),i.path(aA),i.ctx.fillStyle=bA,cA!==sA?(Q=e.bounds.left+.5*e.bounds.width,_=e.bounds.top+.5*e.bounds.height,P=sA/cA,$=1/P,i.ctx.save(),i.ctx.translate(Q,_),i.ctx.transform(1,0,0,P,0,0),i.ctx.translate(-Q,-_),i.ctx.fillRect(N,$*(S-_)+_,M,R*$),i.ctx.restore()):i.ctx.fill())),W.label=6;case 6:return r--,[2]}})},i=this,a=0,s=e.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return a<s.length?(o=s[a],[5,n(o)]):[3,4];case 2:l.sent(),l.label=3;case 3:return a++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(e,r,n){return zt(this,void 0,void 0,function(){return Dt(this,function(i){return this.path(y1(n,r)),this.ctx.fillStyle=Qt(e),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(e,r,n,i){return zt(this,void 0,void 0,function(){var a,s;return Dt(this,function(o){switch(o.label){case 0:return r<3?[4,this.renderSolidBorder(e,n,i)]:[3,2];case 1:return o.sent(),[2];case 2:return a=OF(i,n),this.path(a),this.ctx.fillStyle=Qt(e),this.ctx.fill(),s=HF(i,n),this.path(s),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(e){return zt(this,void 0,void 0,function(){var r,n,i,a,s,o,l,f,d=this;return Dt(this,function(p){switch(p.label){case 0:return this.applyEffects(e.getEffects(2)),r=e.container.styles,n=!Jn(r.backgroundColor)||r.backgroundImage.length,i=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],a=$F(ma(r.backgroundClip,0),e.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),Jn(r.backgroundColor)||(this.ctx.fillStyle=Qt(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:p.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(h){d.ctx.save();var m=Su(e.curves),w=h.inset?0:VF,b=NF(m,-w+(h.inset?1:-1)*h.spread.number,(h.inset?1:-1)*h.spread.number,h.spread.number*(h.inset?-2:2),h.spread.number*(h.inset?-2:2));h.inset?(d.path(m),d.ctx.clip(),d.mask(b)):(d.mask(m),d.ctx.clip(),d.path(b)),d.ctx.shadowOffsetX=h.offsetX.number+w,d.ctx.shadowOffsetY=h.offsetY.number,d.ctx.shadowColor=Qt(h.color),d.ctx.shadowBlur=h.blur.number,d.ctx.fillStyle=h.inset?Qt(h.color):"rgba(0,0,0,1)",d.ctx.fill(),d.ctx.restore()}),p.label=2;case 2:s=0,o=0,l=i,p.label=3;case 3:return o<l.length?(f=l[o],f.style!==0&&!Jn(f.color)&&f.width>0?f.style!==2?[3,5]:[4,this.renderDashedDottedBorder(f.color,f.width,s,e.curves,2)]:[3,11]):[3,13];case 4:return p.sent(),[3,11];case 5:return f.style!==3?[3,7]:[4,this.renderDashedDottedBorder(f.color,f.width,s,e.curves,3)];case 6:return p.sent(),[3,11];case 7:return f.style!==4?[3,9]:[4,this.renderDoubleBorder(f.color,f.width,s,e.curves)];case 8:return p.sent(),[3,11];case 9:return[4,this.renderSolidBorder(f.color,s,e.curves)];case 10:p.sent(),p.label=11;case 11:s++,p.label=12;case 12:return o++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(e,r,n,i,a){return zt(this,void 0,void 0,function(){var s,o,l,f,d,p,h,m,w,b,y,U,T,k,G,j,G,j;return Dt(this,function(K){return this.ctx.save(),s=_F(i,n),o=y1(i,n),a===2&&(this.path(o),this.ctx.clip()),Qr(o[0])?(l=o[0].start.x,f=o[0].start.y):(l=o[0].x,f=o[0].y),Qr(o[1])?(d=o[1].end.x,p=o[1].end.y):(d=o[1].x,p=o[1].y),n===0||n===2?h=Math.abs(l-d):h=Math.abs(f-p),this.ctx.beginPath(),a===3?this.formatPath(s):this.formatPath(o.slice(0,2)),m=r<3?r*3:r*2,w=r<3?r*2:r,a===3&&(m=r,w=r),b=!0,h<=m*2?b=!1:h<=m*2+w?(y=h/(2*m+w),m*=y,w*=y):(U=Math.floor((h+w)/(m+w)),T=(h-U*m)/(U-1),k=(h-(U+1)*m)/U,w=k<=0||Math.abs(w-T)<Math.abs(w-k)?T:k),b&&(a===3?this.ctx.setLineDash([0,m+w]):this.ctx.setLineDash([m,w])),a===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=Qt(e),this.ctx.stroke(),this.ctx.setLineDash([]),a===2&&(Qr(o[0])&&(G=o[3],j=o[0],this.ctx.beginPath(),this.formatPath([new DA(G.end.x,G.end.y),new DA(j.start.x,j.start.y)]),this.ctx.stroke()),Qr(o[1])&&(G=o[1],j=o[2],this.ctx.beginPath(),this.formatPath([new DA(G.end.x,G.end.y),new DA(j.start.x,j.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(e){return zt(this,void 0,void 0,function(){var r;return Dt(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Qt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=TF(e),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},A}(F1),GF=function(t){return t instanceof Wp||t instanceof qp?!0:t instanceof Uf&&t.type!==Fu&&t.type!==bu},$F=function(t,A){switch(t){case 0:return Su(A);case 2:return EF(A);case 1:default:return Lu(A)}},qF=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},WF=["-apple-system","system-ui"],zF=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(A){return WF.indexOf(A)===-1}):t},XF=function(t){Pr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return A.prototype.render=function(e){return zt(this,void 0,void 0,function(){var r,n;return Dt(this,function(i){switch(i.label){case 0:return r=bf(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,YF(r)];case 1:return n=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Qt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A}(F1),YF=function(t){return new Promise(function(A,e){var r=new Image;r.onload=function(){A(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},JF=function(){function t(A){var e=A.id,r=A.enabled;this.id=e,this.enabled=r,this.start=Date.now()}return t.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Vo([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Vo([this.id,this.getTime()+"ms"],A))},t.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Vo([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Vo([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.instances={},t}(),ZF=function(){function t(A,e){var r;this.windowBounds=e,this.instanceName="#"+t.instanceCount++,this.logger=new JF({id:this.instanceName,enabled:A.logging}),this.cache=(r=A.cache)!==null&&r!==void 0?r:new wF(this,A)}return t.instanceCount=1,t}(),Q1=function(t,A){return A===void 0&&(A={}),AQ(t,A)};typeof window<"u"&&d1.setContext(window);var AQ=function(t,A){return zt(void 0,void 0,void 0,function(){var e,r,n,i,a,s,o,l,f,d,p,h,m,w,b,y,U,T,k,G,K,j,K,O,Z,aA,N,S,M,R,iA,tA,lA,eA,cA,sA,bA,Q,_,P;return Dt(this,function($){switch($.label){case 0:if(!t||typeof t!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(e=t.ownerDocument,!e)throw new Error("Element is not attached to a Document");if(r=e.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(O=A.allowTaint)!==null&&O!==void 0?O:!1,imageTimeout:(Z=A.imageTimeout)!==null&&Z!==void 0?Z:15e3,proxy:A.proxy,useCORS:(aA=A.useCORS)!==null&&aA!==void 0?aA:!1},i=kc({logging:(N=A.logging)!==null&&N!==void 0?N:!0,cache:A.cache},n),a={windowWidth:(S=A.windowWidth)!==null&&S!==void 0?S:r.innerWidth,windowHeight:(M=A.windowHeight)!==null&&M!==void 0?M:r.innerHeight,scrollX:(R=A.scrollX)!==null&&R!==void 0?R:r.pageXOffset,scrollY:(iA=A.scrollY)!==null&&iA!==void 0?iA:r.pageYOffset},s=new bn(a.scrollX,a.scrollY,a.windowWidth,a.windowHeight),o=new ZF(i,s),l=(tA=A.foreignObjectRendering)!==null&&tA!==void 0?tA:!1,f={allowTaint:(lA=A.allowTaint)!==null&&lA!==void 0?lA:!1,onclone:A.onclone,ignoreElements:A.ignoreElements,inlineImages:l,copyStyles:l},o.logger.debug("Starting document clone with size "+s.width+"x"+s.height+" scrolled to "+-s.left+","+-s.top),d=new h1(o,t,f),p=d.clonedReferenceElement,p?[4,d.toIFrame(e,s)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return h=$.sent(),m=xf(p)||tF(p)?Nm(p.ownerDocument):jo(o,p),w=m.width,b=m.height,y=m.left,U=m.top,T=eQ(o,p,A.backgroundColor),k={canvas:A.canvas,backgroundColor:T,scale:(cA=(eA=A.scale)!==null&&eA!==void 0?eA:r.devicePixelRatio)!==null&&cA!==void 0?cA:1,x:((sA=A.x)!==null&&sA!==void 0?sA:0)+y,y:((bA=A.y)!==null&&bA!==void 0?bA:0)+U,width:(Q=A.width)!==null&&Q!==void 0?Q:Math.ceil(w),height:(_=A.height)!==null&&_!==void 0?_:Math.ceil(b)},l?(o.logger.debug("Document cloned, using foreign object rendering"),K=new XF(o,k),[4,K.render(p)]):[3,3];case 2:return G=$.sent(),[3,5];case 3:return o.logger.debug("Document cloned, element located at "+y+","+U+" with size "+w+"x"+b+" using computed rendering"),o.logger.debug("Starting DOM parsing"),j=Yp(o,p),T===j.styles.backgroundColor&&(j.styles.backgroundColor=Qn.TRANSPARENT),o.logger.debug("Starting renderer for element at "+k.x+","+k.y+" with size "+k.width+"x"+k.height),K=new jF(o,k),[4,K.render(j)];case 4:G=$.sent(),$.label=5;case 5:return(!((P=A.removeContainer)!==null&&P!==void 0)||P)&&(h1.destroy(h)||o.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),o.logger.debug("Finished rendering"),[2,G]}})})},eQ=function(t,A,e){var r=A.ownerDocument,n=r.documentElement?Ss(t,getComputedStyle(r.documentElement).backgroundColor):Qn.TRANSPARENT,i=r.body?Ss(t,getComputedStyle(r.body).backgroundColor):Qn.TRANSPARENT,a=typeof e=="string"?Ss(t,e):e===null?Qn.TRANSPARENT:4294967295;return A===r.documentElement?Jn(n)?Jn(i)?a:i:n:a};const tQ=Object.freeze(Object.defineProperty({__proto__:null,default:Q1},Symbol.toStringTag,{value:"Module"}));function Qe(t){return Qe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},Qe(t)}var Xt=Uint8Array,Yt=Uint16Array,Ps=Uint32Array,_u=new Xt([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]),Pu=new Xt([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]),Df=new Xt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),U1=function(t,A){for(var e=new Yt(31),r=0;r<31;++r)e[r]=A+=1<<t[r-1];for(var n=new Ps(e[30]),r=1;r<30;++r)for(var i=e[r];i<e[r+1];++i)n[i]=i-e[r]<<5|r;return[e,n]},E1=U1(_u,2),x1=E1[0],Mf=E1[1];x1[28]=258,Mf[258]=28;for(var I1=U1(Pu,0),rQ=I1[0],S1=I1[1],Rf=new Yt(32768),Ve=0;Ve<32768;++Ve){var ti=(Ve&43690)>>>1|(Ve&21845)<<1;ti=(ti&52428)>>>2|(ti&13107)<<2,ti=(ti&61680)>>>4|(ti&3855)<<4,Rf[Ve]=((ti&65280)>>>8|(ti&255)<<8)>>>1}for(var cn=function(t,A,e){for(var r=t.length,n=0,i=new Yt(A);n<r;++n)++i[t[n]-1];var a=new Yt(A);for(n=0;n<A;++n)a[n]=a[n-1]+i[n-1]<<1;var s;if(e){s=new Yt(1<<A);var o=15-A;for(n=0;n<r;++n)if(t[n])for(var l=n<<4|t[n],f=A-t[n],d=a[t[n]-1]++<<f,p=d|(1<<f)-1;d<=p;++d)s[Rf[d]>>>o]=l}else for(s=new Yt(r),n=0;n<r;++n)s[n]=Rf[a[t[n]-1]++]>>>15-t[n];return s},ri=new Xt(288),Ve=0;Ve<144;++Ve)ri[Ve]=8;for(var Ve=144;Ve<256;++Ve)ri[Ve]=9;for(var Ve=256;Ve<280;++Ve)ri[Ve]=7;for(var Ve=280;Ve<288;++Ve)ri[Ve]=8;for(var Ds=new Xt(32),Ve=0;Ve<32;++Ve)Ds[Ve]=5;var nQ=cn(ri,9,0),iQ=cn(ri,9,1),aQ=cn(Ds,5,0),sQ=cn(Ds,5,1),kf=function(t){for(var A=t[0],e=1;e<t.length;++e)t[e]>A&&(A=t[e]);return A},Mr=function(t,A,e){var r=A/8>>0;return(t[r]|t[r+1]<<8)>>>(A&7)&e},Kf=function(t,A){var e=A/8>>0;return(t[e]|t[e+1]<<8|t[e+2]<<16)>>>(A&7)},Vf=function(t){return(t/8>>0)+(t&7&&1)},L1=function(t,A,e){(A==null||A<0)&&(A=0),(e==null||e>t.length)&&(e=t.length);var r=new(t instanceof Yt?Yt:t instanceof Ps?Ps:Xt)(e-A);return r.set(t.subarray(A,e)),r},oQ=function(t,A,e){var r=t.length,n=!A||e,i=!e||e.i;e||(e={}),A||(A=new Xt(r*3));var a=function(W){var nA=A.length;if(W>nA){var fA=new Xt(Math.max(nA*2,W));fA.set(A),A=fA}},s=e.f||0,o=e.p||0,l=e.b||0,f=e.l,d=e.d,p=e.m,h=e.n,m=r*8;do{if(!f){e.f=s=Mr(t,o,1);var w=Mr(t,o+1,3);if(o+=3,w)if(w==1)f=iQ,d=sQ,p=9,h=5;else if(w==2){var T=Mr(t,o,31)+257,k=Mr(t,o+10,15)+4,G=T+Mr(t,o+5,31)+1;o+=14;for(var j=new Xt(G),K=new Xt(19),O=0;O<k;++O)K[Df[O]]=Mr(t,o+O*3,7);o+=k*3;var Z=kf(K),aA=(1<<Z)-1;if(!i&&o+G*(Z+7)>m)break;for(var N=cn(K,Z,1),O=0;O<G;){var S=N[Mr(t,o,aA)];o+=S&15;var b=S>>>4;if(b<16)j[O++]=b;else{var M=0,R=0;for(b==16?(R=3+Mr(t,o,3),o+=2,M=j[O-1]):b==17?(R=3+Mr(t,o,7),o+=3):b==18&&(R=11+Mr(t,o,127),o+=7);R--;)j[O++]=M}}var iA=j.subarray(0,T),tA=j.subarray(T);p=kf(iA),h=kf(tA),f=cn(iA,p,1),d=cn(tA,h,1)}else throw"invalid block type";else{var b=Vf(o)+4,y=t[b-4]|t[b-3]<<8,U=b+y;if(U>r){if(i)throw"unexpected EOF";break}n&&a(l+y),A.set(t.subarray(b,U),l),e.b=l+=y,e.p=o=U*8;continue}if(o>m)throw"unexpected EOF"}n&&a(l+131072);for(var lA=(1<<p)-1,eA=(1<<h)-1,cA=p+h+18;i||o+cA<m;){var M=f[Kf(t,o)&lA],sA=M>>>4;if(o+=M&15,o>m)throw"unexpected EOF";if(!M)throw"invalid length/literal";if(sA<256)A[l++]=sA;else if(sA==256){f=null;break}else{var bA=sA-254;if(sA>264){var O=sA-257,Q=_u[O];bA=Mr(t,o,(1<<Q)-1)+x1[O],o+=Q}var _=d[Kf(t,o)&eA],P=_>>>4;if(!_)throw"invalid distance";o+=_&15;var tA=rQ[P];if(P>3){var Q=Pu[P];tA+=Kf(t,o)&(1<<Q)-1,o+=Q}if(o>m)throw"unexpected EOF";n&&a(l+131072);for(var $=l+bA;l<$;l+=4)A[l]=A[l-tA],A[l+1]=A[l+1-tA],A[l+2]=A[l+2-tA],A[l+3]=A[l+3-tA];l=$}}e.l=f,e.p=o,e.b=l,f&&(s=1,e.m=p,e.d=d,e.n=h)}while(!s);return l==A.length?A:L1(A,0,l)},En=function(t,A,e){e<<=A&7;var r=A/8>>0;t[r]|=e,t[r+1]|=e>>>8},Ms=function(t,A,e){e<<=A&7;var r=A/8>>0;t[r]|=e,t[r+1]|=e>>>8,t[r+2]|=e>>>16},jf=function(t,A){for(var e=[],r=0;r<t.length;++r)t[r]&&e.push({s:r,f:t[r]});var n=e.length,i=e.slice();if(!n)return[new Xt(0),0];if(n==1){var a=new Xt(e[0].s+1);return a[e[0].s]=1,[a,1]}e.sort(function(G,j){return G.f-j.f}),e.push({s:-1,f:25001});var s=e[0],o=e[1],l=0,f=1,d=2;for(e[0]={s:-1,f:s.f+o.f,l:s,r:o};f!=n-1;)s=e[e[l].f<e[d].f?l++:d++],o=e[l!=f&&e[l].f<e[d].f?l++:d++],e[f++]={s:-1,f:s.f+o.f,l:s,r:o};for(var p=i[0].s,r=1;r<n;++r)i[r].s>p&&(p=i[r].s);var h=new Yt(p+1),m=Gf(e[f-1],h,0);if(m>A){var r=0,w=0,b=m-A,y=1<<b;for(i.sort(function(j,K){return h[K.s]-h[j.s]||j.f-K.f});r<n;++r){var U=i[r].s;if(h[U]>A)w+=y-(1<<m-h[U]),h[U]=A;else break}for(w>>>=b;w>0;){var T=i[r].s;h[T]<A?w-=1<<A-h[T]++-1:++r}for(;r>=0&&w;--r){var k=i[r].s;h[k]==A&&(--h[k],++w)}m=A}return[new Xt(h),m]},Gf=function(t,A,e){return t.s==-1?Math.max(Gf(t.l,A,e+1),Gf(t.r,A,e+1)):A[t.s]=e},N1=function(t){for(var A=t.length;A&&!t[--A];);for(var e=new Yt(++A),r=0,n=t[0],i=1,a=function(o){e[r++]=o},s=1;s<=A;++s)if(t[s]==n&&s!=A)++i;else{if(!n&&i>2){for(;i>138;i-=138)a(32754);i>2&&(a(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(a(n),--i;i>6;i-=6)a(8304);i>2&&(a(i-3<<5|8208),i=0)}for(;i--;)a(n);i=1,n=t[s]}return[e.subarray(0,r),A]},Rs=function(t,A){for(var e=0,r=0;r<A.length;++r)e+=t[r]*A[r];return e},Du=function(t,A,e){var r=e.length,n=Vf(A+2);t[n]=r&255,t[n+1]=r>>>8,t[n+2]=t[n]^255,t[n+3]=t[n+1]^255;for(var i=0;i<r;++i)t[n+i+4]=e[i];return(n+4+r)*8},T1=function(t,A,e,r,n,i,a,s,o,l,f){En(A,f++,e),++n[256];for(var d=jf(n,15),p=d[0],h=d[1],m=jf(i,15),w=m[0],b=m[1],y=N1(p),U=y[0],T=y[1],k=N1(w),G=k[0],j=k[1],K=new Yt(19),O=0;O<U.length;++O)K[U[O]&31]++;for(var O=0;O<G.length;++O)K[G[O]&31]++;for(var Z=jf(K,7),aA=Z[0],N=Z[1],S=19;S>4&&!aA[Df[S-1]];--S);var M=l+5<<3,R=Rs(n,ri)+Rs(i,Ds)+a,iA=Rs(n,p)+Rs(i,w)+a+14+3*S+Rs(K,aA)+(2*K[16]+3*K[17]+7*K[18]);if(M<=R&&M<=iA)return Du(A,f,t.subarray(o,o+l));var tA,lA,eA,cA;if(En(A,f,1+(iA<R)),f+=2,iA<R){tA=cn(p,h,0),lA=p,eA=cn(w,b,0),cA=w;var sA=cn(aA,N,0);En(A,f,T-257),En(A,f+5,j-1),En(A,f+10,S-4),f+=14;for(var O=0;O<S;++O)En(A,f+3*O,aA[Df[O]]);f+=3*S;for(var bA=[U,G],Q=0;Q<2;++Q)for(var _=bA[Q],O=0;O<_.length;++O){var P=_[O]&31;En(A,f,sA[P]),f+=aA[P],P>15&&(En(A,f,_[O]>>>5&127),f+=_[O]>>>12)}}else tA=nQ,lA=ri,eA=aQ,cA=Ds;for(var O=0;O<s;++O)if(r[O]>255){var P=r[O]>>>18&31;Ms(A,f,tA[P+257]),f+=lA[P+257],P>7&&(En(A,f,r[O]>>>23&31),f+=_u[P]);var $=r[O]&31;Ms(A,f,eA[$]),f+=cA[$],$>3&&(Ms(A,f,r[O]>>>5&8191),f+=Pu[$])}else Ms(A,f,tA[r[O]]),f+=lA[r[O]];return Ms(A,f,tA[256]),f+lA[256]},uQ=new Ps([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),lQ=new Xt(0),cQ=function(t,A,e,r,n,i){var a=t.length,s=new Xt(r+a+5*(1+Math.floor(a/7e3))+n),o=s.subarray(r,s.length-n),l=0;if(!A||a<8)for(var f=0;f<=a;f+=65535){var d=f+65535;d<a?l=Du(o,l,t.subarray(f,d)):(o[f]=i,l=Du(o,l,t.subarray(f,a)))}else{for(var p=uQ[A-1],h=p>>>13,m=p&8191,w=(1<<e)-1,b=new Yt(32768),y=new Yt(w+1),U=Math.ceil(e/3),T=2*U,k=function(jA){return(t[jA]^t[jA+1]<<U^t[jA+2]<<T)&w},G=new Ps(25e3),j=new Yt(288),K=new Yt(32),O=0,Z=0,f=0,aA=0,N=0,S=0;f<a;++f){var M=k(f),R=f&32767,iA=y[M];if(b[R]=iA,y[M]=R,N<=f){var tA=a-f;if((O>7e3||aA>24576)&&tA>423){l=T1(t,o,0,G,j,K,Z,aA,S,f-S,l),aA=O=Z=0,S=f;for(var lA=0;lA<286;++lA)j[lA]=0;for(var lA=0;lA<30;++lA)K[lA]=0}var eA=2,cA=0,sA=m,bA=R-iA&32767;if(tA>2&&M==k(f-bA))for(var Q=Math.min(h,tA)-1,_=Math.min(32767,f),P=Math.min(258,tA);bA<=_&&--sA&&R!=iA;){if(t[f+eA]==t[f+eA-bA]){for(var $=0;$<P&&t[f+$]==t[f+$-bA];++$);if($>eA){if(eA=$,cA=bA,$>Q)break;for(var W=Math.min(bA,$-2),nA=0,lA=0;lA<W;++lA){var fA=f-bA+lA+32768&32767,hA=b[fA],xA=fA-hA+32768&32767;xA>nA&&(nA=xA,iA=fA)}}}R=iA,iA=b[R],bA+=R-iA+32768&32767}if(cA){G[aA++]=268435456|Mf[eA]<<18|S1[cA];var EA=Mf[eA]&31,_A=S1[cA]&31;Z+=_u[EA]+Pu[_A],++j[257+EA],++K[_A],N=f+eA,++O}else G[aA++]=t[f],++j[t[f]]}}l=T1(t,o,i,G,j,K,Z,aA,S,f-S,l),i||(l=Du(o,l,lQ))}return L1(s,0,r+Vf(l)+n)},fQ=function(){var t=1,A=0;return{p:function(e){for(var r=t,n=A,i=e.length,a=0;a!=i;){for(var s=Math.min(a+5552,i);a<s;++a)r+=e[a],n+=r;r%=65521,n%=65521}t=r,A=n},d:function(){return(t>>>8<<16|(A&255)<<8|A>>>8)+((t&255)<<23)*2}}},hQ=function(t,A,e,r,n){return cQ(t,A.level==null?6:A.level,A.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):12+A.mem,e,r,!n)},gQ=function(t,A,e){for(;e;++A)t[A]=e,e>>>=8},dQ=function(t,A){var e=A.level,r=e==0?0:e<6?1:e==9?3:2;t[0]=120,t[1]=r<<6|(r?32-2*r:1)},pQ=function(t){if((t[0]&15)!=8||t[0]>>>4>7||(t[0]<<8|t[1])%31)throw"invalid zlib data";if(t[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function $f(t,A){A===void 0&&(A={});var e=fQ();e.p(t);var r=hQ(t,A,2,4);return dQ(r,A),gQ(r,r.length-4,e.d()),r}function vQ(t,A){return oQ((pQ(t),t.subarray(2,-4)),A)}/** @license
*
* jsPDF - PDF Document creation from JavaScript
* Version 2.5.1 Built on 2022-01-28T15:37:57.791Z
* CommitID 00000000
*
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
* 2015-2021 yWorks GmbH, http://www.yworks.com
* 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
* 2010 Aaron Spike, https://github.com/acspike
* 2012 Willow Systems Corporation, https://github.com/willowsystems
* 2012 Pablo Hess, https://github.com/pablohess
* 2012 Florian Jenett, https://github.com/fjenett
* 2013 Warren Weckesser, https://github.com/warrenweckesser
* 2013 Youssef Beddad, https://github.com/lifof
* 2013 Lee Driscoll, https://github.com/lsdriscoll
* 2013 Stefan Slonevskiy, https://github.com/stefslon
* 2013 Jeremy Morel, https://github.com/jmorel
* 2013 Christoph Hartmann, https://github.com/chris-rock
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
* 2014 James Makes, https://github.com/dollaruw
* 2014 Diego Casorran, https://github.com/diegocr
* 2014 Steven Spungin, https://github.com/Flamenco
* 2014 Kenneth Glassey, https://github.com/Gavvers
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Contributor(s):
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
* kim3er, mfo, alnorth, Flamenco
*/var ee=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function qf(){ee.console&&typeof ee.console.log=="function"&&ee.console.log.apply(ee.console,arguments)}var _e={log:qf,warn:function(t){ee.console&&(typeof ee.console.warn=="function"?ee.console.warn.apply(ee.console,arguments):qf.call(null,arguments))},error:function(t){ee.console&&(typeof ee.console.error=="function"?ee.console.error.apply(ee.console,arguments):qf(t))}};function Wf(t,A,e){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){Hi(r.response,A,e)},r.onerror=function(){_e.error("could not download file")},r.send()}function O1(t){var A=new XMLHttpRequest;A.open("HEAD",t,!1);try{A.send()}catch{}return A.status>=200&&A.status<=299}function Mu(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var A=document.createEvent("MouseEvents");A.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(A)}}var ks,zf,Hi=ee.saveAs||((typeof window>"u"?"undefined":Qe(window))!=="object"||window!==ee?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,A,e){var r=ee.URL||ee.webkitURL,n=document.createElement("a");A=A||t.name||"download",n.download=A,n.rel="noopener",typeof t=="string"?(n.href=t,n.origin!==location.origin?O1(n.href)?Wf(t,A,e):Mu(n,n.target="_blank"):Mu(n)):(n.href=r.createObjectURL(t),setTimeout(function(){r.revokeObjectURL(n.href)},4e4),setTimeout(function(){Mu(n)},0))}:"msSaveOrOpenBlob"in navigator?function(t,A,e){if(A=A||t.name||"download",typeof t=="string")if(O1(t))Wf(t,A,e);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){Mu(r)})}else navigator.msSaveOrOpenBlob(function(n,i){return i===void 0?i={autoBom:!1}:Qe(i)!=="object"&&(_e.warn("Deprecated: Expected third argument to be a object"),i={autoBom:!i}),i.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(n.type)?new Blob([String.fromCharCode(65279),n],{type:n.type}):n}(t,e),A)}:function(t,A,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof t=="string")return Wf(t,A,e);var n=t.type==="application/octet-stream",i=/constructor/i.test(ee.HTMLElement)||ee.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||n&&i)&&(typeof FileReader>"u"?"undefined":Qe(FileReader))==="object"){var s=new FileReader;s.onloadend=function(){var f=s.result;f=a?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=f:location=f,r=null},s.readAsDataURL(t)}else{var o=ee.URL||ee.webkitURL,l=o.createObjectURL(t);r?r.location=l:location.href=l,r=null,setTimeout(function(){o.revokeObjectURL(l)},4e4)}});/**
* A class to parse color values
* @author Stoyan Stefanov <sstoo@gmail.com>
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
* @license Use it if you like it
*/function H1(t){var A;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),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",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"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(s){return[parseInt(s[1]),parseInt(s[2]),parseInt(s[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(s){return[parseInt(s[1],16),parseInt(s[2],16),parseInt(s[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(s){return[parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16),parseInt(s[3]+s[3],16)]}}],r=0;r<e.length;r++){var n=e[r].re,i=e[r].process,a=n.exec(t);a&&(A=i(a),this.r=A[0],this.g=A[1],this.b=A[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 s=this.r.toString(16),o=this.g.toString(16),l=this.b.toString(16);return s.length==1&&(s="0"+s),o.length==1&&(o="0"+o),l.length==1&&(l="0"+l),"#"+s+o+l}}/**
* @license
* Joseph Myers does not specify a particular license for his work.
*
* Author: Joseph Myers
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
*
* Modified by: Owen Leong
*/function Xf(t,A){var e=t[0],r=t[1],n=t[2],i=t[3];e=Rt(e,r,n,i,A[0],7,-680876936),i=Rt(i,e,r,n,A[1],12,-389564586),n=Rt(n,i,e,r,A[2],17,606105819),r=Rt(r,n,i,e,A[3],22,-1044525330),e=Rt(e,r,n,i,A[4],7,-176418897),i=Rt(i,e,r,n,A[5],12,1200080426),n=Rt(n,i,e,r,A[6],17,-1473231341),r=Rt(r,n,i,e,A[7],22,-45705983),e=Rt(e,r,n,i,A[8],7,1770035416),i=Rt(i,e,r,n,A[9],12,-1958414417),n=Rt(n,i,e,r,A[10],17,-42063),r=Rt(r,n,i,e,A[11],22,-1990404162),e=Rt(e,r,n,i,A[12],7,1804603682),i=Rt(i,e,r,n,A[13],12,-40341101),n=Rt(n,i,e,r,A[14],17,-1502002290),e=kt(e,r=Rt(r,n,i,e,A[15],22,1236535329),n,i,A[1],5,-165796510),i=kt(i,e,r,n,A[6],9,-1069501632),n=kt(n,i,e,r,A[11],14,643717713),r=kt(r,n,i,e,A[0],20,-373897302),e=kt(e,r,n,i,A[5],5,-701558691),i=kt(i,e,r,n,A[10],9,38016083),n=kt(n,i,e,r,A[15],14,-660478335),r=kt(r,n,i,e,A[4],20,-405537848),e=kt(e,r,n,i,A[9],5,568446438),i=kt(i,e,r,n,A[14],9,-1019803690),n=kt(n,i,e,r,A[3],14,-187363961),r=kt(r,n,i,e,A[8],20,1163531501),e=kt(e,r,n,i,A[13],5,-1444681467),i=kt(i,e,r,n,A[2],9,-51403784),n=kt(n,i,e,r,A[7],14,1735328473),e=Kt(e,r=kt(r,n,i,e,A[12],20,-1926607734),n,i,A[5],4,-378558),i=Kt(i,e,r,n,A[8],11,-2022574463),n=Kt(n,i,e,r,A[11],16,1839030562),r=Kt(r,n,i,e,A[14],23,-35309556),e=Kt(e,r,n,i,A[1],4,-1530992060),i=Kt(i,e,r,n,A[4],11,1272893353),n=Kt(n,i,e,r,A[7],16,-155497632),r=Kt(r,n,i,e,A[10],23,-1094730640),e=Kt(e,r,n,i,A[13],4,681279174),i=Kt(i,e,r,n,A[0],11,-358537222),n=Kt(n,i,e,r,A[3],16,-722521979),r=Kt(r,n,i,e,A[6],23,76029189),e=Kt(e,r,n,i,A[9],4,-640364487),i=Kt(i,e,r,n,A[12],11,-421815835),n=Kt(n,i,e,r,A[15],16,530742520),e=Vt(e,r=Kt(r,n,i,e,A[2],23,-995338651),n,i,A[0],6,-198630844),i=Vt(i,e,r,n,A[7],10,1126891415),n=Vt(n,i,e,r,A[14],15,-1416354905),r=Vt(r,n,i,e,A[5],21,-57434055),e=Vt(e,r,n,i,A[12],6,1700485571),i=Vt(i,e,r,n,A[3],10,-1894986606),n=Vt(n,i,e,r,A[10],15,-1051523),r=Vt(r,n,i,e,A[1],21,-2054922799),e=Vt(e,r,n,i,A[8],6,1873313359),i=Vt(i,e,r,n,A[15],10,-30611744),n=Vt(n,i,e,r,A[6],15,-1560198380),r=Vt(r,n,i,e,A[13],21,1309151649),e=Vt(e,r,n,i,A[4],6,-145523070),i=Vt(i,e,r,n,A[11],10,-1120210379),n=Vt(n,i,e,r,A[2],15,718787259),r=Vt(r,n,i,e,A[9],21,-343485551),t[0]=ni(e,t[0]),t[1]=ni(r,t[1]),t[2]=ni(n,t[2]),t[3]=ni(i,t[3])}function Ru(t,A,e,r,n,i){return A=ni(ni(A,t),ni(r,i)),ni(A<<n|A>>>32-n,e)}function Rt(t,A,e,r,n,i,a){return Ru(A&e|~A&r,t,A,n,i,a)}function kt(t,A,e,r,n,i,a){return Ru(A&r|e&~r,t,A,n,i,a)}function Kt(t,A,e,r,n,i,a){return Ru(A^e^r,t,A,n,i,a)}function Vt(t,A,e,r,n,i,a){return Ru(e^(A|~r),t,A,n,i,a)}function _1(t){var A,e=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(A=64;A<=t.length;A+=64)Xf(r,BQ(t.substring(A-64,A)));t=t.substring(A-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(A=0;A<t.length;A++)n[A>>2]|=t.charCodeAt(A)<<(A%4<<3);if(n[A>>2]|=128<<(A%4<<3),A>55)for(Xf(r,n),A=0;A<16;A++)n[A]=0;return n[14]=8*e,Xf(r,n),r}function BQ(t){var A,e=[];for(A=0;A<64;A+=4)e[A>>2]=t.charCodeAt(A)+(t.charCodeAt(A+1)<<8)+(t.charCodeAt(A+2)<<16)+(t.charCodeAt(A+3)<<24);return e}ks=ee.atob.bind(ee),zf=ee.btoa.bind(ee);var P1="0123456789abcdef".split("");function wQ(t){for(var A="",e=0;e<4;e++)A+=P1[t>>8*e+4&15]+P1[t>>8*e&15];return A}function mQ(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function Yf(t){return _1(t).map(mQ).join("")}var yQ=function(t){for(var A=0;A<t.length;A++)t[A]=wQ(t[A]);return t.join("")}(_1("hello"))!="5d41402abc4b2a76b9719d911017c592";function ni(t,A){if(yQ){var e=(65535&t)+(65535&A);return(t>>16)+(A>>16)+(e>>16)<<16|65535&e}return t+A&4294967295}/**
* @license
* FPDF is released under a permissive license: there is no usage restriction.
* You may embed it freely in your application (commercial or not), with or
* without modifications.
*
* Reference: http://www.fpdf.org/en/script/script37.php
*/function Jf(t,A){var e,r,n,i;if(t!==e){for(var a=(n=t,i=1+(256/t.length>>0),new Array(i+1).join(n)),s=[],o=0;o<256;o++)s[o]=o;var l=0;for(o=0;o<256;o++){var f=s[o];l=(l+f+a.charCodeAt(o))%256,s[o]=s[l],s[l]=f}e=t,r=s}else s=r;var d=A.length,p=0,h=0,m="";for(o=0;o<d;o++)h=(h+(f=s[p=(p+1)%256]))%256,s[p]=s[h],s[h]=f,a=s[(s[p]+s[h])%256],m+=String.fromCharCode(A.charCodeAt(o)^a);return m}/**
* @license
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
* Author: Owen Leong (@owenl131)
* Date: 15 Oct 2020
* References:
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
* http://www.fpdf.org/en/script/script37.php
*/var D1={print:4,modify:8,copy:16,"annot-forms":32};function ya(t,A,e,r){this.v=1,this.r=2;var n=192;t.forEach(function(s){if(D1.perm!==void 0)throw new Error("Invalid permission: "+s);n+=D1[s]}),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";var i=(A+this.padding).substr(0,32),a=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,a),this.P=-(1+(255^n)),this.encryptionKey=Yf(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=Jf(this.encryptionKey,this.padding)}function Ca(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var A="",e=t.length,r=0;r<e;r++){var n=t.charCodeAt(r);n<33||n===35||n===37||n===40||n===41||n===47||n===60||n===62||n===91||n===93||n===123||n===125||n>126?A+="#"+("0"+n.toString(16)).slice(-2):A+=t[r]}return A}function M1(t){if(Qe(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var A={};this.subscribe=function(e,r,n){if(n=n||!1,typeof e!="string"||typeof r!="function"||typeof n!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");A.hasOwnProperty(e)||(A[e]={});var i=Math.random().toString(35);return A[e][i]=[r,!!n],i},this.unsubscribe=function(e){for(var r in A)if(A[r][e])return delete A[r][e],Object.keys(A[r]).length===0&&delete A[r],!0;return!1},this.publish=function(e){if(A.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),n=[];for(var i in A[e]){var a=A[e][i];try{a[0].apply(t,r)}catch(s){ee.console&&_e.error("jsPDF PubSub Error",s.message,s)}a[1]&&n.push(i)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return A}}function ku(t){if(!(this instanceof ku))return new ku(t);var A="opacity,stroke-opacity".split(",");for(var e in t)t.hasOwnProperty(e)&&A.indexOf(e)>=0&&(this[e]=t[e]);this.id="",this.objectNumber=-1}function R1(t,A){this.gState=t,this.matrix=A,this.id="",this.objectNumber=-1}function _i(t,A,e,r,n){if(!(this instanceof _i))return new _i(t,A,e,r,n);this.type=t==="axial"?2:3,this.coords=A,this.colors=e,R1.call(this,r,n)}function ba(t,A,e,r,n){if(!(this instanceof ba))return new ba(t,A,e,r,n);this.boundingBox=t,this.xStep=A,this.yStep=e,this.stream="",this.cloneIndex=0,R1.call(this,r,n)}function te(t){var A,e=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],n=arguments[2],i=arguments[3],a=[],s=1,o=16,l="S",f=null;Qe(t=t||{})==="object"&&(e=t.orientation,r=t.unit||r,n=t.format||n,i=t.compress||t.compressPdf||i,(f=t.encryption||null)!==null&&(f.userPassword=f.userPassword||"",f.ownerPassword=f.ownerPassword||"",f.userPermissions=f.userPermissions||[]),s=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(A=t.precision),t.floatPrecision!==void 0&&(o=t.floatPrecision),l=t.defaultPathOperation||"S"),a=t.filters||(i===!0?["FlateEncode"]:a),r=r||"mm",e=(""+(e||"P")).toLowerCase();var d=t.putOnlyUsedFonts||!1,p={},h={internal:{},__private__:{}};h.__private__.PubSub=M1;var m="1.3",w=h.__private__.getPdfVersion=function(){return m};h.__private__.setPdfVersion=function(g){m=g};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]};h.__private__.getPageFormats=function(){return b};var y=h.__private__.getPageFormat=function(g){return b[g]};n=n||"a4";var U={COMPAT:"compat",ADVANCED:"advanced"},T=U.COMPAT;function k(){this.saveGraphicsState(),V(new XA(TA,0,0,-TA,0,vi()*TA).toString()+" cm"),this.setFontSize(this.getFontSize()/TA),l="n",T=U.ADVANCED}function G(){this.restoreGraphicsState(),l="S",T=U.COMPAT}var j=h.__private__.combineFontStyleAndFontWeight=function(g,F){if(g=="bold"&&F=="normal"||g=="bold"&&F==400||g=="normal"&&F=="italic"||g=="bold"&&F=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return F&&(g=F==400||F==="normal"?g==="italic"?"italic":"normal":F!=700&&F!=="bold"||g!=="normal"?(F==700?"bold":F)+""+g:"bold"),g};h.advancedAPI=function(g){var F=T===U.COMPAT;return F&&k.call(this),typeof g!="function"||(g(this),F&&G.call(this)),this},h.compatAPI=function(g){var F=T===U.ADVANCED;return F&&G.call(this),typeof g!="function"||(g(this),F&&k.call(this)),this},h.isAdvancedAPI=function(){return T===U.ADVANCED};var K,O=function(g){if(T!==U.ADVANCED)throw new Error(g+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Z=h.roundToPrecision=h.__private__.roundToPrecision=function(g,F){var D=A||F;if(isNaN(g)||isNaN(D))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return g.toFixed(D).replace(/0+$/,"")};K=h.hpf=h.__private__.hpf=typeof o=="number"?function(g){if(isNaN(g))throw new Error("Invalid argument passed to jsPDF.hpf");return Z(g,o)}:o==="smart"?function(g){if(isNaN(g))throw new Error("Invalid argument passed to jsPDF.hpf");return Z(g,g>-1&&g<1?16:5)}:function(g){if(isNaN(g))throw new Error("Invalid argument passed to jsPDF.hpf");return Z(g,16)};var aA=h.f2=h.__private__.f2=function(g){if(isNaN(g))throw new Error("Invalid argument passed to jsPDF.f2");return Z(g,2)},N=h.__private__.f3=function(g){if(isNaN(g))throw new Error("Invalid argument passed to jsPDF.f3");return Z(g,3)},S=h.scale=h.__private__.scale=function(g){if(isNaN(g))throw new Error("Invalid argument passed to jsPDF.scale");return T===U.COMPAT?g*TA:T===U.ADVANCED?g:void 0},M=function(g){return T===U.COMPAT?vi()-g:T===U.ADVANCED?g:void 0},R=function(g){return S(M(g))};h.__private__.setPrecision=h.setPrecision=function(g){typeof parseInt(g,10)=="number"&&(A=parseInt(g,10))};var iA,tA="00000000000000000000000000000000",lA=h.__private__.getFileId=function(){return tA},eA=h.__private__.setFileId=function(g){return tA=g!==void 0&&/^[a-fA-F0-9]{32}$/.test(g)?g.toUpperCase():tA.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),f!==null&&(qt=new ya(f.userPermissions,f.userPassword,f.ownerPassword,tA)),tA};h.setFileId=function(g){return eA(g),this},h.getFileId=function(){return lA()};var cA=h.__private__.convertDateToPDFDate=function(g){var F=g.getTimezoneOffset(),D=F<0?"+":"-",q=Math.floor(Math.abs(F/60)),rA=Math.abs(F%60),pA=[D,P(q),"'",P(rA),"'"].join("");return["D:",g.getFullYear(),P(g.getMonth()+1),P(g.getDate()),P(g.getHours()),P(g.getMinutes()),P(g.getSeconds()),pA].join("")},sA=h.__private__.convertPDFDateToDate=function(g){var F=parseInt(g.substr(2,4),10),D=parseInt(g.substr(6,2),10)-1,q=parseInt(g.substr(8,2),10),rA=parseInt(g.substr(10,2),10),pA=parseInt(g.substr(12,2),10),UA=parseInt(g.substr(14,2),10);return new Date(F,D,q,rA,pA,UA,0)},bA=h.__private__.setCreationDate=function(g){var F;if(g===void 0&&(g=new Date),g instanceof Date)F=cA(g);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(g))throw new Error("Invalid argument passed to jsPDF.setCreationDate");F=g}return iA=F},Q=h.__private__.getCreationDate=function(g){var F=iA;return g==="jsDate"&&(F=sA(iA)),F};h.setCreationDate=function(g){return bA(g),this},h.getCreationDate=function(g){return Q(g)};var _,P=h.__private__.padd2=function(g){return("0"+parseInt(g)).slice(-2)},$=h.__private__.padd2Hex=function(g){return("00"+(g=g.toString())).substr(g.length)},W=0,nA=[],fA=[],hA=0,xA=[],EA=[],_A=!1,NA=fA,jA=function(){W=0,hA=0,fA=[],nA=[],xA=[],tr=We(),ut=We()};h.__private__.setCustomOutputDestination=function(g){_A=!0,NA=g};var gA=function(g){_A||(NA=g)};h.__private__.resetCustomOutputDestination=function(){_A=!1,NA=fA};var V=h.__private__.out=function(g){return g=g.toString(),hA+=g.length+1,NA.push(g),NA},JA=h.__private__.write=function(g){return V(arguments.length===1?g.toString():Array.prototype.join.call(arguments," "))},KA=h.__private__.getArrayBuffer=function(g){for(var F=g.length,D=new ArrayBuffer(F),q=new Uint8Array(D);F--;)q[F]=g.charCodeAt(F);return D},FA=[["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]];h.__private__.getStandardFonts=function(){return FA};var IA=t.fontSize||16;h.__private__.setFontSize=h.setFontSize=function(g){return IA=T===U.ADVANCED?g/TA:g,this};var LA,SA=h.__private__.getFontSize=h.getFontSize=function(){return T===U.COMPAT?IA:IA*TA},VA=t.R2L||!1;h.__private__.setR2L=h.setR2L=function(g){return VA=g,this},h.__private__.getR2L=h.getR2L=function(){return VA};var GA,ZA=h.__private__.setZoomMode=function(g){var F=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(g))LA=g;else if(isNaN(g)){if(F.indexOf(g)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+g+'" is not recognized.');LA=g}else LA=parseInt(g,10)};h.__private__.getZoomMode=function(){return LA};var re,he=h.__private__.setPageMode=function(g){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(g)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+g+'" is not recognized.');GA=g};h.__private__.getPageMode=function(){return GA};var ye=h.__private__.setLayoutMode=function(g){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(g)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+g+'" is not recognized.');re=g};h.__private__.getLayoutMode=function(){return re},h.__private__.setDisplayMode=h.setDisplayMode=function(g,F,D){return ZA(g),ye(F),he(D),this};var zA={title:"",subject:"",author:"",keywords:"",creator:""};h.__private__.getDocumentProperty=function(g){if(Object.keys(zA).indexOf(g)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return zA[g]},h.__private__.getDocumentProperties=function(){return zA},h.__private__.setDocumentProperties=h.setProperties=h.setDocumentProperties=function(g){for(var F in zA)zA.hasOwnProperty(F)&&g[F]&&(zA[F]=g[F]);return this},h.__private__.setDocumentProperty=function(g,F){if(Object.keys(zA).indexOf(g)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return zA[g]=F};var ne,TA,Re,ge,Ge,pe={},Ue={},It=[],we={},pt={},Se={},_t={},ue=null,Le=0,ie=[],be=new M1(h),Xr=t.hotfixes||[],vt={},vr={},Ir=[],XA=function g(F,D,q,rA,pA,UA){if(!(this instanceof g))return new g(F,D,q,rA,pA,UA);isNaN(F)&&(F=1),isNaN(D)&&(D=0),isNaN(q)&&(q=0),isNaN(rA)&&(rA=1),isNaN(pA)&&(pA=0),isNaN(UA)&&(UA=0),this._matrix=[F,D,q,rA,pA,UA]};Object.defineProperty(XA.prototype,"sx",{get:function(){return this._matrix[0]},set:function(g){this._matrix[0]=g}}),Object.defineProperty(XA.prototype,"shy",{get:function(){return this._matrix[1]},set:function(g){this._matrix[1]=g}}),Object.defineProperty(XA.prototype,"shx",{get:function(){return this._matrix[2]},set:function(g){this._matrix[2]=g}}),Object.defineProperty(XA.prototype,"sy",{get:function(){return this._matrix[3]},set:function(g){this._matrix[3]=g}}),Object.defineProperty(XA.prototype,"tx",{get:function(){return this._matrix[4]},set:function(g){this._matrix[4]=g}}),Object.defineProperty(XA.prototype,"ty",{get:function(){return this._matrix[5]},set:function(g){this._matrix[5]=g}}),Object.defineProperty(XA.prototype,"a",{get:function(){return this._matrix[0]},set:function(g){this._matrix[0]=g}}),Object.defineProperty(XA.prototype,"b",{get:function(){return this._matrix[1]},set:function(g){this._matrix[1]=g}}),Object.defineProperty(XA.prototype,"c",{get:function(){return this._matrix[2]},set:function(g){this._matrix[2]=g}}),Object.defineProperty(XA.prototype,"d",{get:function(){return this._matrix[3]},set:function(g){this._matrix[3]=g}}),Object.defineProperty(XA.prototype,"e",{get:function(){return this._matrix[4]},set:function(g){this._matrix[4]=g}}),Object.defineProperty(XA.prototype,"f",{get:function(){return this._matrix[5]},set:function(g){this._matrix[5]=g}}),Object.defineProperty(XA.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(XA.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(XA.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(XA.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),XA.prototype.join=function(g){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(K).join(g)},XA.prototype.multiply=function(g){var F=g.sx*this.sx+g.shy*this.shx,D=g.sx*this.shy+g.shy*this.sy,q=g.shx*this.sx+g.sy*this.shx,rA=g.shx*this.shy+g.sy*this.sy,pA=g.tx*this.sx+g.ty*this.shx+this.tx,UA=g.tx*this.shy+g.ty*this.sy+this.ty;return new XA(F,D,q,rA,pA,UA)},XA.prototype.decompose=function(){var g=this.sx,F=this.shy,D=this.shx,q=this.sy,rA=this.tx,pA=this.ty,UA=Math.sqrt(g*g+F*F),MA=(g/=UA)*D+(F/=UA)*q;D-=g*MA,q-=F*MA;var YA=Math.sqrt(D*D+q*q);return MA/=YA,g*(q/=YA)<F*(D/=YA)&&(g=-g,F=-F,MA=-MA,UA=-UA),{scale:new XA(UA,0,0,YA,0,0),translate:new XA(1,0,0,1,rA,pA),rotate:new XA(g,F,-F,g,0,0),skew:new XA(1,0,MA,1,0,0)}},XA.prototype.toString=function(g){return this.join(" ")},XA.prototype.inversed=function(){var g=this.sx,F=this.shy,D=this.shx,q=this.sy,rA=this.tx,pA=this.ty,UA=1/(g*q-F*D),MA=q*UA,YA=-F*UA,le=-D*UA,de=g*UA;return new XA(MA,YA,le,de,-MA*rA-le*pA,-YA*rA-de*pA)},XA.prototype.applyToPoint=function(g){var F=g.x*this.sx+g.y*this.shx+this.tx,D=g.x*this.shy+g.y*this.sy+this.ty;return new es(F,D)},XA.prototype.applyToRectangle=function(g){var F=this.applyToPoint(g),D=this.applyToPoint(new es(g.x+g.w,g.y+g.h));return new Fo(F.x,F.y,D.x-F.x,D.y-F.y)},XA.prototype.clone=function(){var g=this.sx,F=this.shy,D=this.shx,q=this.sy,rA=this.tx,pA=this.ty;return new XA(g,F,D,q,rA,pA)},h.Matrix=XA;var er=h.matrixMult=function(g,F){return F.multiply(g)},Sr=new XA(1,0,0,1,0,0);h.unitMatrix=h.identityMatrix=Sr;var $e=function(g,F){if(!pt[g]){var D=(F instanceof _i?"Sh":"P")+(Object.keys(we).length+1).toString(10);F.id=D,pt[g]=D,we[D]=F,be.publish("addPattern",F)}};h.ShadingPattern=_i,h.TilingPattern=ba,h.addShadingPattern=function(g,F){return O("addShadingPattern()"),$e(g,F),this},h.beginTilingPattern=function(g){O("beginTilingPattern()"),pc(g.boundingBox[0],g.boundingBox[1],g.boundingBox[2]-g.boundingBox[0],g.boundingBox[3]-g.boundingBox[1],g.matrix)},h.endTilingPattern=function(g,F){O("endTilingPattern()"),F.stream=EA[_].join(`
`),$e(g,F),be.publish("endTilingPattern",F),Ir.pop().restore()};var qe=h.__private__.newObject=function(){var g=We();return $t(g,!0),g},We=h.__private__.newObjectDeferred=function(){return W++,nA[W]=function(){return hA},W},$t=function(g,F){return F=typeof F=="boolean"&&F,nA[g]=hA,F&&V(g+" 0 obj"),g},fi=h.__private__.newAdditionalObject=function(){var g={objId:We(),content:""};return xA.push(g),g},tr=We(),ut=We(),or=h.__private__.decodeColorString=function(g){var F=g.split(" ");if(F.length!==2||F[1]!=="g"&&F[1]!=="G")F.length===5&&(F[4]==="k"||F[4]==="K")&&(F=[(1-F[0])*(1-F[3]),(1-F[1])*(1-F[3]),(1-F[2])*(1-F[3]),"r"]);else{var D=parseFloat(F[0]);F=[D,D,D,"r"]}for(var q="#",rA=0;rA<3;rA++)q+=("0"+Math.floor(255*parseFloat(F[rA])).toString(16)).slice(-2);return q},ur=h.__private__.encodeColorString=function(g){var F;typeof g=="string"&&(g={ch1:g});var D=g.ch1,q=g.ch2,rA=g.ch3,pA=g.ch4,UA=g.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof D=="string"&&D.charAt(0)!=="#"){var MA=new H1(D);if(MA.ok)D=MA.toHex();else if(!/^\d*\.?\d*$/.test(D))throw new Error('Invalid color "'+D+'" passed to jsPDF.encodeColorString.')}if(typeof D=="string"&&/^#[0-9A-Fa-f]{3}$/.test(D)&&(D="#"+D[1]+D[1]+D[2]+D[2]+D[3]+D[3]),typeof D=="string"&&/^#[0-9A-Fa-f]{6}$/.test(D)){var YA=parseInt(D.substr(1),16);D=YA>>16&255,q=YA>>8&255,rA=255&YA}if(q===void 0||pA===void 0&&D===q&&q===rA)if(typeof D=="string")F=D+" "+UA[0];else switch(g.precision){case 2:F=aA(D/255)+" "+UA[0];break;case 3:default:F=N(D/255)+" "+UA[0]}else if(pA===void 0||Qe(pA)==="object"){if(pA&&!isNaN(pA.a)&&pA.a===0)return F=["1.","1.","1.",UA[1]].join(" ");if(typeof D=="string")F=[D,q,rA,UA[1]].join(" ");else switch(g.precision){case 2:F=[aA(D/255),aA(q/255),aA(rA/255),UA[1]].join(" ");break;default:case 3:F=[N(D/255),N(q/255),N(rA/255),UA[1]].join(" ")}}else if(typeof D=="string")F=[D,q,rA,pA,UA[2]].join(" ");else switch(g.precision){case 2:F=[aA(D),aA(q),aA(rA),aA(pA),UA[2]].join(" ");break;case 3:default:F=[N(D),N(q),N(rA),N(pA),UA[2]].join(" ")}return F},Br=h.__private__.getFilters=function(){return a},rr=h.__private__.putStream=function(g){var F=(g=g||{}).data||"",D=g.filters||Br(),q=g.alreadyAppliedFilters||[],rA=g.addLength1||!1,pA=F.length,UA=g.objectId,MA=function(Wt){return Wt};if(f!==null&&UA===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");f!==null&&(MA=qt.encryptor(UA,0));var YA={};D===!0&&(D=["FlateEncode"]);var le=g.additionalKeyValues||[],de=(YA=te.API.processDataByFilters!==void 0?te.API.processDataByFilters(F,D):{data:F,reverseChain:[]}).reverseChain+(Array.isArray(q)?q.join(" "):q.toString());if(YA.data.length!==0&&(le.push({key:"Length",value:YA.data.length}),rA===!0&&le.push({key:"Length1",value:pA})),de.length!=0)if(de.split("/").length-1==1)le.push({key:"Filter",value:de});else{le.push({key:"Filter",value:"["+de+"]"});for(var Ce=0;Ce<le.length;Ce+=1)if(le[Ce].key==="DecodeParms"){for(var Xe=[],At=0;At<YA.reverseChain.split("/").length-1;At+=1)Xe.push("null");Xe.push(le[Ce].value),le[Ce].value="["+Xe.join(" ")+"]"}}V("<<");for(var wt=0;wt<le.length;wt++)V("/"+le[wt].key+" "+le[wt].value);V(">>"),YA.data.length!==0&&(V("stream"),V(MA(YA.data)),V("endstream"))},Lr=h.__private__.putPage=function(g){var F=g.number,D=g.data,q=g.objId,rA=g.contentsObjId;$t(q,!0),V("<</Type /Page"),V("/Parent "+g.rootDictionaryObjId+" 0 R"),V("/Resources "+g.resourceDictionaryObjId+" 0 R"),V("/MediaBox ["+parseFloat(K(g.mediaBox.bottomLeftX))+" "+parseFloat(K(g.mediaBox.bottomLeftY))+" "+K(g.mediaBox.topRightX)+" "+K(g.mediaBox.topRightY)+"]"),g.cropBox!==null&&V("/CropBox ["+K(g.cropBox.bottomLeftX)+" "+K(g.cropBox.bottomLeftY)+" "+K(g.cropBox.topRightX)+" "+K(g.cropBox.topRightY)+"]"),g.bleedBox!==null&&V("/BleedBox ["+K(g.bleedBox.bottomLeftX)+" "+K(g.bleedBox.bottomLeftY)+" "+K(g.bleedBox.topRightX)+" "+K(g.bleedBox.topRightY)+"]"),g.trimBox!==null&&V("/TrimBox ["+K(g.trimBox.bottomLeftX)+" "+K(g.trimBox.bottomLeftY)+" "+K(g.trimBox.topRightX)+" "+K(g.trimBox.topRightY)+"]"),g.artBox!==null&&V("/ArtBox ["+K(g.artBox.bottomLeftX)+" "+K(g.artBox.bottomLeftY)+" "+K(g.artBox.topRightX)+" "+K(g.artBox.topRightY)+"]"),typeof g.userUnit=="number"&&g.userUnit!==1&&V("/UserUnit "+g.userUnit),be.publish("putPage",{objId:q,pageContext:ie[F],pageNumber:F,page:D}),V("/Contents "+rA+" 0 R"),V(">>"),V("endobj");var pA=D.join(`
`);return T===U.ADVANCED&&(pA+=`
Q`),$t(rA,!0),rr({data:pA,filters:Br(),objectId:rA}),V("endobj"),q},qA=h.__private__.putPages=function(){var g,F,D=[];for(g=1;g<=Le;g++)ie[g].objId=We(),ie[g].contentsObjId=We();for(g=1;g<=Le;g++)D.push(Lr({number:g,data:EA[g],objId:ie[g].objId,contentsObjId:ie[g].contentsObjId,mediaBox:ie[g].mediaBox,cropBox:ie[g].cropBox,bleedBox:ie[g].bleedBox,trimBox:ie[g].trimBox,artBox:ie[g].artBox,userUnit:ie[g].userUnit,rootDictionaryObjId:tr,resourceDictionaryObjId:ut}));$t(tr,!0),V("<</Type /Pages");var q="/Kids [";for(F=0;F<Le;F++)q+=D[F]+" 0 R ";V(q+"]"),V("/Count "+Le),V(">>"),V("endobj"),be.publish("postPutPages")},Y=function(g){be.publish("putFont",{font:g,out:V,newObject:qe,putStream:rr}),g.isAlreadyPutted!==!0&&(g.objectNumber=qe(),V("<<"),V("/Type /Font"),V("/BaseFont /"+Ca(g.postScriptName)),V("/Subtype /Type1"),typeof g.encoding=="string"&&V("/Encoding /"+g.encoding),V("/FirstChar 32"),V("/LastChar 255"),V(">>"),V("endobj"))},QA=function(){for(var g in pe)pe.hasOwnProperty(g)&&(d===!1||d===!0&&p.hasOwnProperty(g))&&Y(pe[g])},OA=function(g){g.objectNumber=qe();var F=[];F.push({key:"Type",value:"/XObject"}),F.push({key:"Subtype",value:"/Form"}),F.push({key:"BBox",value:"["+[K(g.x),K(g.y),K(g.x+g.width),K(g.y+g.height)].join(" ")+"]"}),F.push({key:"Matrix",value:"["+g.matrix.toString()+"]"});var D=g.pages[1].join(`
`);rr({data:D,additionalKeyValues:F,objectId:g.objectNumber}),V("endobj")},ve=function(){for(var g in vt)vt.hasOwnProperty(g)&&OA(vt[g])},bt=function(g,F){var D,q=[],rA=1/(F-1);for(D=0;D<1;D+=rA)q.push(D);if(q.push(1),g[0].offset!=0){var pA={offset:0,color:g[0].color};g.unshift(pA)}if(g[g.length-1].offset!=1){var UA={offset:1,color:g[g.length-1].color};g.push(UA)}for(var MA="",YA=0,le=0;le<q.length;le++){for(D=q[le];D>g[YA+1].offset;)YA++;var de=g[YA].offset,Ce=(D-de)/(g[YA+1].offset-de),Xe=g[YA].color,At=g[YA+1].color;MA+=$(Math.round((1-Ce)*Xe[0]+Ce*At[0]).toString(16))+$(Math.round((1-Ce)*Xe[1]+Ce*At[1]).toString(16))+$(Math.round((1-Ce)*Xe[2]+Ce*At[2]).toString(16))}return MA.trim()},Bt=function(g,F){F||(F=21);var D=qe(),q=bt(g.colors,F),rA=[];rA.push({key:"FunctionType",value:"0"}),rA.push({key:"Domain",value:"[0.0 1.0]"}),rA.push({key:"Size",value:"["+F+"]"}),rA.push({key:"BitsPerSample",value:"8"}),rA.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),rA.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),rr({data:q,additionalKeyValues:rA,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:D}),V("endobj"),g.objectNumber=qe(),V("<< /ShadingType "+g.type),V("/ColorSpace /DeviceRGB");var pA="/Coords ["+K(parseFloat(g.coords[0]))+" "+K(parseFloat(g.coords[1]))+" ";g.type===2?pA+=K(parseFloat(g.coords[2]))+" "+K(parseFloat(g.coords[3])):pA+=K(parseFloat(g.coords[2]))+" "+K(parseFloat(g.coords[3]))+" "+K(parseFloat(g.coords[4]))+" "+K(parseFloat(g.coords[5])),V(pA+="]"),g.matrix&&V("/Matrix ["+g.matrix.toString()+"]"),V("/Function "+D+" 0 R"),V("/Extend [true true]"),V(">>"),V("endobj")},lt=function(g,F){var D=We(),q=qe();F.push({resourcesOid:D,objectOid:q}),g.objectNumber=q;var rA=[];rA.push({key:"Type",value:"/Pattern"}),rA.push({key:"PatternType",value:"1"}),rA.push({key:"PaintType",value:"1"}),rA.push({key:"TilingType",value:"1"}),rA.push({key:"BBox",value:"["+g.boundingBox.map(K).join(" ")+"]"}),rA.push({key:"XStep",value:K(g.xStep)}),rA.push({key:"YStep",value:K(g.yStep)}),rA.push({key:"Resources",value:D+" 0 R"}),g.matrix&&rA.push({key:"Matrix",value:"["+g.matrix.toString()+"]"}),rr({data:g.stream,additionalKeyValues:rA,objectId:g.objectNumber}),V("endobj")},Yr=function(g){var F;for(F in we)we.hasOwnProperty(F)&&(we[F]instanceof _i?Bt(we[F]):we[F]instanceof ba&&lt(we[F],g))},ze=function(g){for(var F in g.objectNumber=qe(),V("<<"),g)switch(F){case"opacity":V("/ca "+aA(g[F]));break;case"stroke-opacity":V("/CA "+aA(g[F]))}V(">>"),V("endobj")},ea=function(){var g;for(g in Se)Se.hasOwnProperty(g)&&ze(Se[g])},hi=function(){for(var g in V("/XObject <<"),vt)vt.hasOwnProperty(g)&&vt[g].objectNumber>=0&&V("/"+g+" "+vt[g].objectNumber+" 0 R");be.publish("putXobjectDict"),V(">>")},Zl=function(){qt.oid=qe(),V("<<"),V("/Filter /Standard"),V("/V "+qt.v),V("/R "+qt.r),V("/U <"+qt.toHexString(qt.U)+">"),V("/O <"+qt.toHexString(qt.O)+">"),V("/P "+qt.P),V(">>"),V("endobj")},Ac=function(){for(var g in V("/Font <<"),pe)pe.hasOwnProperty(g)&&(d===!1||d===!0&&p.hasOwnProperty(g))&&V("/"+g+" "+pe[g].objectNumber+" 0 R");V(">>")},Pd=function(){if(Object.keys(we).length>0){for(var g in V("/Shading <<"),we)we.hasOwnProperty(g)&&we[g]instanceof _i&&we[g].objectNumber>=0&&V("/"+g+" "+we[g].objectNumber+" 0 R");be.publish("putShadingPatternDict"),V(">>")}},Wa=function(g){if(Object.keys(we).length>0){for(var F in V("/Pattern <<"),we)we.hasOwnProperty(F)&&we[F]instanceof h.TilingPattern&&we[F].objectNumber>=0&&we[F].objectNumber<g&&V("/"+F+" "+we[F].objectNumber+" 0 R");be.publish("putTilingPatternDict"),V(">>")}},Dd=function(){if(Object.keys(Se).length>0){var g;for(g in V("/ExtGState <<"),Se)Se.hasOwnProperty(g)&&Se[g].objectNumber>=0&&V("/"+g+" "+Se[g].objectNumber+" 0 R");be.publish("putGStateDict"),V(">>")}},ct=function(g){$t(g.resourcesOid,!0),V("<<"),V("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Ac(),Pd(),Wa(g.objectOid),Dd(),hi(),V(">>"),V("endobj")},ec=function(){var g=[];QA(),ea(),ve(),Yr(g),be.publish("putResources"),g.forEach(ct),ct({resourcesOid:ut,objectOid:Number.MAX_SAFE_INTEGER}),be.publish("postPutResources")},tc=function(){be.publish("putAdditionalObjects");for(var g=0;g<xA.length;g++){var F=xA[g];$t(F.objId,!0),V(F.content),V("endobj")}be.publish("postPutAdditionalObjects")},rc=function(g){Ue[g.fontName]=Ue[g.fontName]||{},Ue[g.fontName][g.fontStyle]=g.id},go=function(g,F,D,q,rA){var pA={id:"F"+(Object.keys(pe).length+1).toString(10),postScriptName:g,fontName:F,fontStyle:D,encoding:q,isStandardFont:rA||!1,metadata:{}};return be.publish("addFont",{font:pA,instance:this}),pe[pA.id]=pA,rc(pA),pA.id},Md=function(g){for(var F=0,D=FA.length;F<D;F++){var q=go.call(this,g[F][0],g[F][1],g[F][2],FA[F][3],!0);d===!1&&(p[q]=!0);var rA=g[F][0].split("-");rc({id:q,fontName:rA[0],fontStyle:rA[1]||""})}be.publish("addFonts",{fonts:pe,dictionary:Ue})},Jr=function(g){return g.foo=function(){try{return g.apply(this,arguments)}catch(q){var F=q.stack||"";~F.indexOf(" at ")&&(F=F.split(" at ")[1]);var D="Error in function "+F.split(`
`)[0].split("<")[0]+": "+q.message;if(!ee.console)throw new Error(D);ee.console.error(D,q),ee.alert&&alert(D)}},g.foo.bar=g,g.foo},za=function(g,F){var D,q,rA,pA,UA,MA,YA,le,de;if(rA=(F=F||{}).sourceEncoding||"Unicode",UA=F.outputEncoding,(F.autoencode||UA)&&pe[ne].metadata&&pe[ne].metadata[rA]&&pe[ne].metadata[rA].encoding&&(pA=pe[ne].metadata[rA].encoding,!UA&&pe[ne].encoding&&(UA=pe[ne].encoding),!UA&&pA.codePages&&(UA=pA.codePages[0]),typeof UA=="string"&&(UA=pA[UA]),UA)){for(YA=!1,MA=[],D=0,q=g.length;D<q;D++)(le=UA[g.charCodeAt(D)])?MA.push(String.fromCharCode(le)):MA.push(g[D]),MA[D].charCodeAt(0)>>8&&(YA=!0);g=MA.join("")}for(D=g.length;YA===void 0&&D!==0;)g.charCodeAt(D-1)>>8&&(YA=!0),D--;if(!YA)return g;for(MA=F.noBOM?[]:[254,255],D=0,q=g.length;D<q;D++){if((de=(le=g.charCodeAt(D))>>8)>>8)throw new Error("Character at position "+D+" of string '"+g+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");MA.push(de),MA.push(le-(de<<8))}return String.fromCharCode.apply(void 0,MA)},lr=h.__private__.pdfEscape=h.pdfEscape=function(g,F){return za(g,F).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},po=h.__private__.beginPage=function(g){EA[++Le]=[],ie[Le]={objId:0,contentsObjId:0,userUnit:Number(s),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(g[0]),topRightY:Number(g[1])}},ic(Le),gA(EA[_])},nc=function(g,F){var D,q,rA;switch(e=F||e,typeof g=="string"&&(D=y(g.toLowerCase()),Array.isArray(D)&&(q=D[0],rA=D[1])),Array.isArray(g)&&(q=g[0]*TA,rA=g[1]*TA),isNaN(q)&&(q=n[0],rA=n[1]),(q>14400||rA>14400)&&(_e.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),q=Math.min(14400,q),rA=Math.min(14400,rA)),n=[q,rA],e.substr(0,1)){case"l":rA>q&&(n=[rA,q]);break;case"p":q>rA&&(n=[rA,q])}po(n),cc(mo),V(Zr),Co!==0&&V(Co+" J"),bo!==0&&V(bo+" j"),be.publish("addPage",{pageNumber:Le})},Rd=function(g){g>0&&g<=Le&&(EA.splice(g,1),ie.splice(g,1),Le--,_>Le&&(_=Le),this.setPage(_))},ic=function(g){g>0&&g<=Le&&(_=g)},kd=h.__private__.getNumberOfPages=h.getNumberOfPages=function(){return EA.length-1},ac=function(g,F,D){var q,rA=void 0;return D=D||{},g=g!==void 0?g:pe[ne].fontName,F=F!==void 0?F:pe[ne].fontStyle,q=g.toLowerCase(),Ue[q]!==void 0&&Ue[q][F]!==void 0?rA=Ue[q][F]:Ue[g]!==void 0&&Ue[g][F]!==void 0?rA=Ue[g][F]:D.disableWarning===!1&&_e.warn("Unable to look up font label for font '"+g+"', '"+F+"'. Refer to getFontList() for available fonts."),rA||D.noFallback||(rA=Ue.times[F])==null&&(rA=Ue.times.normal),rA},Kd=h.__private__.putInfo=function(){var g=qe(),F=function(q){return q};for(var D in f!==null&&(F=qt.encryptor(g,0)),V("<<"),V("/Producer ("+lr(F("jsPDF "+te.version))+")"),zA)zA.hasOwnProperty(D)&&zA[D]&&V("/"+D.substr(0,1).toUpperCase()+D.substr(1)+" ("+lr(F(zA[D]))+")");V("/CreationDate ("+lr(F(iA))+")"),V(">>"),V("endobj")},vo=h.__private__.putCatalog=function(g){var F=(g=g||{}).rootDictionaryObjId||tr;switch(qe(),V("<<"),V("/Type /Catalog"),V("/Pages "+F+" 0 R"),LA||(LA="fullwidth"),LA){case"fullwidth":V("/OpenAction [3 0 R /FitH null]");break;case"fullheight":V("/OpenAction [3 0 R /FitV null]");break;case"fullpage":V("/OpenAction [3 0 R /Fit]");break;case"original":V("/OpenAction [3 0 R /XYZ null null 1]");break;default:var D=""+LA;D.substr(D.length-1)==="%"&&(LA=parseInt(LA)/100),typeof LA=="number"&&V("/OpenAction [3 0 R /XYZ null null "+aA(LA)+"]")}switch(re||(re="continuous"),re){case"continuous":V("/PageLayout /OneColumn");break;case"single":V("/PageLayout /SinglePage");break;case"two":case"twoleft":V("/PageLayout /TwoColumnLeft");break;case"tworight":V("/PageLayout /TwoColumnRight")}GA&&V("/PageMode /"+GA),be.publish("putCatalog"),V(">>"),V("endobj")},Vd=h.__private__.putTrailer=function(){V("trailer"),V("<<"),V("/Size "+(W+1)),V("/Root "+W+" 0 R"),V("/Info "+(W-1)+" 0 R"),f!==null&&V("/Encrypt "+qt.oid+" 0 R"),V("/ID [ <"+tA+"> <"+tA+"> ]"),V(">>")},jd=h.__private__.putHeader=function(){V("%PDF-"+m),V("%ºß¬à")},Gd=h.__private__.putXRef=function(){var g="0000000000";V("xref"),V("0 "+(W+1)),V("0000000000 65535 f ");for(var F=1;F<=W;F++)typeof nA[F]=="function"?V((g+nA[F]()).slice(-10)+" 00000 n "):nA[F]!==void 0?V((g+nA[F]).slice(-10)+" 00000 n "):V("0000000000 00000 n ")},_n=h.__private__.buildDocument=function(){jA(),gA(fA),be.publish("buildDocument"),jd(),qA(),tc(),ec(),f!==null&&Zl(),Kd(),vo();var g=hA;return Gd(),Vd(),V("startxref"),V(""+g),V("%%EOF"),gA(EA[_]),fA.join(`
`)},Xa=h.__private__.getBlob=function(g){return new Blob([KA(g)],{type:"application/pdf"})},Ya=h.output=h.__private__.output=Jr(function(g,F){switch(typeof(F=F||{})=="string"?F={filename:F}:F.filename=F.filename||"generated.pdf",g){case void 0:return _n();case"save":h.save(F.filename);break;case"arraybuffer":return KA(_n());case"blob":return Xa(_n());case"bloburi":case"bloburl":if(ee.URL!==void 0&&typeof ee.URL.createObjectURL=="function")return ee.URL&&ee.URL.createObjectURL(Xa(_n()))||void 0;_e.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var D="",q=_n();try{D=zf(q)}catch{D=zf(unescape(encodeURIComponent(q)))}return"data:application/pdf;filename="+F.filename+";base64,"+D;case"pdfobjectnewwindow":if(Object.prototype.toString.call(ee)==="[object Window]"){var rA="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",pA=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';F.pdfObjectUrl&&(rA=F.pdfObjectUrl,pA="");var UA='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+rA+'"'+pA+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(F)+");<\/script></body></html>",MA=ee.open();return MA!==null&&MA.document.write(UA),MA}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(ee)==="[object Window]"){var YA='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(F.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+F.filename+'" width="500px" height="400px" /></body></html>',le=ee.open();if(le!==null){le.document.write(YA);var de=this;le.document.documentElement.querySelector("#pdfViewer").onload=function(){le.document.title=F.filename,le.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(de.output("bloburl"))}}return le}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(ee)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Ce='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",F)+'"></iframe></body></html>',Xe=ee.open();if(Xe!==null&&(Xe.document.write(Ce),Xe.document.title=F.filename),Xe||typeof safari>"u")return Xe;break;case"datauri":case"dataurl":return ee.document.location.href=this.output("datauristring",F);default:return null}}),sc=function(g){return Array.isArray(Xr)===!0&&Xr.indexOf(g)>-1};switch(r){case"pt":TA=1;break;case"mm":TA=72/25.4;break;case"cm":TA=72/2.54;break;case"in":TA=72;break;case"px":TA=sc("px_scaling")==1?.75:96/72;break;case"pc":case"em":TA=12;break;case"ex":TA=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);TA=r}var qt=null;bA(),eA();var $d=function(g){return f!==null?qt.encryptor(g,0):function(F){return F}},oc=h.__private__.getPageInfo=h.getPageInfo=function(g){if(isNaN(g)||g%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:ie[g].objId,pageNumber:g,pageContext:ie[g]}},ae=h.__private__.getPageInfoByObjId=function(g){if(isNaN(g)||g%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var F in ie)if(ie[F].objId===g)break;return oc(F)},qd=h.__private__.getCurrentPageInfo=h.getCurrentPageInfo=function(){return{objId:ie[_].objId,pageNumber:_,pageContext:ie[_]}};h.addPage=function(){return nc.apply(this,arguments),this},h.setPage=function(){return ic.apply(this,arguments),gA.call(this,EA[_]),this},h.insertPage=function(g){return this.addPage(),this.movePage(_,g),this},h.movePage=function(g,F){var D,q;if(g>F){D=EA[g],q=ie[g];for(var rA=g;rA>F;rA--)EA[rA]=EA[rA-1],ie[rA]=ie[rA-1];EA[F]=D,ie[F]=q,this.setPage(F)}else if(g<F){D=EA[g],q=ie[g];for(var pA=g;pA<F;pA++)EA[pA]=EA[pA+1],ie[pA]=ie[pA+1];EA[F]=D,ie[F]=q,this.setPage(F)}return this},h.deletePage=function(){return Rd.apply(this,arguments),this},h.__private__.text=h.text=function(g,F,D,q,rA){var pA,UA,MA,YA,le,de,Ce,Xe,At,wt=(q=q||{}).scope||this;if(typeof g=="number"&&typeof F=="number"&&(typeof D=="string"||Array.isArray(D))){var Wt=D;D=F,F=g,g=Wt}if(arguments[3]instanceof XA?(O("The transform parameter of text() with a Matrix value"),At=rA):(MA=arguments[4],YA=arguments[5],Qe(Ce=arguments[3])==="object"&&Ce!==null||(typeof MA=="string"&&(YA=MA,MA=null),typeof Ce=="string"&&(YA=Ce,Ce=null),typeof Ce=="number"&&(MA=Ce,Ce=null),q={flags:Ce,angle:MA,align:YA})),isNaN(F)||isNaN(D)||g==null)throw new Error("Invalid arguments passed to jsPDF.text");if(g.length===0)return wt;var St="",An=!1,wr=typeof q.lineHeightFactor=="number"?q.lineHeightFactor:ra,Dn=wt.internal.scaleFactor;function vc(ke){return ke=ke.split(" ").join(Array(q.TabLen||9).join(" ")),lr(ke,Ce)}function xo(ke){for(var Ke,ft=ke.concat(),Ft=[],Kn=ft.length;Kn--;)typeof(Ke=ft.shift())=="string"?Ft.push(Ke):Array.isArray(ke)&&(Ke.length===1||Ke[1]===void 0&&Ke[2]===void 0)?Ft.push(Ke[0]):Ft.push([Ke[0],Ke[1],Ke[2]]);return Ft}function Io(ke,Ke){var ft;if(typeof ke=="string")ft=Ke(ke)[0];else if(Array.isArray(ke)){for(var Ft,Kn,Ci=ke.concat(),cs=[],wc=Ci.length;wc--;)typeof(Ft=Ci.shift())=="string"?cs.push(Ke(Ft)[0]):Array.isArray(Ft)&&typeof Ft[0]=="string"&&(Kn=Ke(Ft[0],Ft[1],Ft[2]),cs.push([Kn[0],Kn[1],Kn[2]]));ft=cs}return ft}var rs=!1,So=!0;if(typeof g=="string")rs=!0;else if(Array.isArray(g)){var Lo=g.concat();UA=[];for(var ns,cr=Lo.length;cr--;)(typeof(ns=Lo.shift())!="string"||Array.isArray(ns)&&typeof ns[0]!="string")&&(So=!1);rs=So}if(rs===!1)throw new Error('Type of text must be string or Array. "'+g+'" is not recognized.');typeof g=="string"&&(g=g.match(/[\r?\n]/)?g.split(/\r\n|\r|\n/g):[g]);var is=IA/wt.internal.scaleFactor,as=is*(wr-1);switch(q.baseline){case"bottom":D-=as;break;case"top":D+=is-as;break;case"hanging":D+=is-2*as;break;case"middle":D+=is/2-as}if((de=q.maxWidth||0)>0&&(typeof g=="string"?g=wt.splitTextToSize(g,de):Object.prototype.toString.call(g)==="[object Array]"&&(g=g.reduce(function(ke,Ke){return ke.concat(wt.splitTextToSize(Ke,de))},[]))),pA={text:g,x:F,y:D,options:q,mutex:{pdfEscape:lr,activeFontKey:ne,fonts:pe,activeFontSize:IA}},be.publish("preProcessText",pA),g=pA.text,MA=(q=pA.options).angle,!(At instanceof XA)&&MA&&typeof MA=="number"){MA*=Math.PI/180,q.rotationDirection===0&&(MA=-MA),T===U.ADVANCED&&(MA=-MA);var ss=Math.cos(MA),No=Math.sin(MA);At=new XA(ss,No,-No,ss,0,0)}else MA&&MA instanceof XA&&(At=MA);T!==U.ADVANCED||At||(At=Sr),(le=q.charSpace||As)!==void 0&&(St+=K(S(le))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(Xe=q.horizontalScale)!==void 0&&(St+=K(100*Xe)+` Tz
`),q.lang;var fr=-1,r0=q.renderingMode!==void 0?q.renderingMode:q.stroke,To=wt.internal.getCurrentPageInfo().pageContext;switch(r0){case 0:case!1:case"fill":fr=0;break;case 1:case!0:case"stroke":fr=1;break;case 2:case"fillThenStroke":fr=2;break;case 3:case"invisible":fr=3;break;case 4:case"fillAndAddForClipping":fr=4;break;case 5:case"strokeAndAddPathForClipping":fr=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":fr=6;break;case 7:case"addToPathForClipping":fr=7}var Bc=To.usedRenderingMode!==void 0?To.usedRenderingMode:-1;fr!==-1?St+=fr+` Tr
`:Bc!==-1&&(St+=`0 Tr
`),fr!==-1&&(To.usedRenderingMode=fr),YA=q.align||"left";var en,Oo=IA*wr,n0=wt.internal.pageSize.getWidth(),i0=pe[ne];le=q.charSpace||As,de=q.maxWidth||0,Ce=Object.assign({autoencode:!0,noBOM:!0},q.flags);var Bi=[];if(Object.prototype.toString.call(g)==="[object Array]"){var Nr;UA=xo(g),YA!=="left"&&(en=UA.map(function(ke){return wt.getStringUnitWidth(ke,{font:i0,charSpace:le,fontSize:IA,doKerning:!1})*IA/Dn}));var tn,wi=0;if(YA==="right"){F-=en[0],g=[],cr=UA.length;for(var yn=0;yn<cr;yn++)yn===0?(tn=Pn(F),Nr=di(D)):(tn=S(wi-en[yn]),Nr=-Oo),g.push([UA[yn],tn,Nr]),wi=en[yn]}else if(YA==="center"){F-=en[0]/2,g=[],cr=UA.length;for(var Mn=0;Mn<cr;Mn++)Mn===0?(tn=Pn(F),Nr=di(D)):(tn=S((wi-en[Mn])/2),Nr=-Oo),g.push([UA[Mn],tn,Nr]),wi=en[Mn]}else if(YA==="left"){g=[],cr=UA.length;for(var os=0;os<cr;os++)g.push(UA[os])}else{if(YA!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');g=[],cr=UA.length,de=de!==0?de:n0;for(var rn=0;rn<cr;rn++)Nr=rn===0?di(D):-Oo,tn=rn===0?Pn(F):0,rn<cr-1?Bi.push(K(S((de-en[rn])/(UA[rn].split(" ").length-1)))):Bi.push(0),g.push([UA[rn],tn,Nr])}}var us=typeof q.R2L=="boolean"?q.R2L:VA;us===!0&&(g=Io(g,function(ke,Ke,ft){return[ke.split("").reverse().join(""),Ke,ft]})),pA={text:g,x:F,y:D,options:q,mutex:{pdfEscape:lr,activeFontKey:ne,fonts:pe,activeFontSize:IA}},be.publish("postProcessText",pA),g=pA.text,An=pA.mutex.isHex||!1;var Ho=pe[ne].encoding;Ho!=="WinAnsiEncoding"&&Ho!=="StandardEncoding"||(g=Io(g,function(ke,Ke,ft){return[vc(ke),Ke,ft]})),UA=xo(g),g=[];for(var mi,nn,Rn,aa=0,ls=1,sa=Array.isArray(UA[0])?ls:aa,yi="",_o=function(ke,Ke,ft){var Ft="";return ft instanceof XA?(ft=typeof q.angle=="number"?er(ft,new XA(1,0,0,1,ke,Ke)):er(new XA(1,0,0,1,ke,Ke),ft),T===U.ADVANCED&&(ft=er(new XA(1,0,0,-1,0,0),ft)),Ft=ft.join(" ")+` Tm
`):Ft=K(ke)+" "+K(Ke)+` Td
`,Ft},Tr=0;Tr<UA.length;Tr++){switch(yi="",sa){case ls:Rn=(An?"<":"(")+UA[Tr][0]+(An?">":")"),mi=parseFloat(UA[Tr][1]),nn=parseFloat(UA[Tr][2]);break;case aa:Rn=(An?"<":"(")+UA[Tr]+(An?">":")"),mi=Pn(F),nn=di(D)}Bi!==void 0&&Bi[Tr]!==void 0&&(yi=Bi[Tr]+` Tw
`),Tr===0?g.push(yi+_o(mi,nn,At)+Rn):sa===aa?g.push(yi+Rn):sa===ls&&g.push(yi+_o(mi,nn,At)+Rn)}g=sa===aa?g.join(` Tj
T* `):g.join(` Tj
`),g+=` Tj
`;var kn=`BT
/`;return kn+=ne+" "+IA+` Tf
`,kn+=K(IA*wr)+` TL
`,kn+=na+`
`,kn+=St,kn+=g,V(kn+="ET"),p[ne]=!0,wt};var Wd=h.__private__.clip=h.clip=function(g){return V(g==="evenodd"?"W*":"W"),this};h.clipEvenOdd=function(){return Wd("evenodd")},h.__private__.discardPath=h.discardPath=function(){return V("n"),this};var mn=h.__private__.isValidStyle=function(g){var F=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(g)!==-1&&(F=!0),F};h.__private__.setDefaultPathOperation=h.setDefaultPathOperation=function(g){return mn(g)&&(l=g),this};var uc=h.__private__.getStyle=h.getStyle=function(g){var F=l;switch(g){case"D":case"S":F="S";break;case"F":F="f";break;case"FD":case"DF":F="B";break;case"f":case"f*":case"B":case"B*":F=g}return F},lc=h.close=function(){return V("h"),this};h.stroke=function(){return V("S"),this},h.fill=function(g){return Ja("f",g),this},h.fillEvenOdd=function(g){return Ja("f*",g),this},h.fillStroke=function(g){return Ja("B",g),this},h.fillStrokeEvenOdd=function(g){return Ja("B*",g),this};var Ja=function(g,F){Qe(F)==="object"?Xd(F,g):V(g)},Bo=function(g){g===null||T===U.ADVANCED&&g===void 0||(g=uc(g),V(g))};function zd(g,F,D,q,rA){var pA=new ba(F||this.boundingBox,D||this.xStep,q||this.yStep,this.gState,rA||this.matrix);pA.stream=this.stream;var UA=g+"$$"+this.cloneIndex+++"$$";return $e(UA,pA),pA}var Xd=function(g,F){var D=pt[g.key],q=we[D];if(q instanceof _i)V("q"),V(Yd(F)),q.gState&&h.setGState(q.gState),V(g.matrix.toString()+" cm"),V("/"+D+" sh"),V("Q");else if(q instanceof ba){var rA=new XA(1,0,0,-1,0,vi());g.matrix&&(rA=rA.multiply(g.matrix||Sr),D=zd.call(q,g.key,g.boundingBox,g.xStep,g.yStep,rA).id),V("q"),V("/Pattern cs"),V("/"+D+" scn"),q.gState&&h.setGState(q.gState),V(F),V("Q")}},Yd=function(g){switch(g){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},wo=h.moveTo=function(g,F){return V(K(S(g))+" "+K(R(F))+" m"),this},ta=h.lineTo=function(g,F){return V(K(S(g))+" "+K(R(F))+" l"),this},gi=h.curveTo=function(g,F,D,q,rA,pA){return V([K(S(g)),K(R(F)),K(S(D)),K(R(q)),K(S(rA)),K(R(pA)),"c"].join(" ")),this};h.__private__.line=h.line=function(g,F,D,q,rA){if(isNaN(g)||isNaN(F)||isNaN(D)||isNaN(q)||!mn(rA))throw new Error("Invalid arguments passed to jsPDF.line");return T===U.COMPAT?this.lines([[D-g,q-F]],g,F,[1,1],rA||"S"):this.lines([[D-g,q-F]],g,F,[1,1]).stroke()},h.__private__.lines=h.lines=function(g,F,D,q,rA,pA){var UA,MA,YA,le,de,Ce,Xe,At,wt,Wt,St,An;if(typeof g=="number"&&(An=D,D=F,F=g,g=An),q=q||[1,1],pA=pA||!1,isNaN(F)||isNaN(D)||!Array.isArray(g)||!Array.isArray(q)||!mn(rA)||typeof pA!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(wo(F,D),UA=q[0],MA=q[1],le=g.length,Wt=F,St=D,YA=0;YA<le;YA++)(de=g[YA]).length===2?(Wt=de[0]*UA+Wt,St=de[1]*MA+St,ta(Wt,St)):(Ce=de[0]*UA+Wt,Xe=de[1]*MA+St,At=de[2]*UA+Wt,wt=de[3]*MA+St,Wt=de[4]*UA+Wt,St=de[5]*MA+St,gi(Ce,Xe,At,wt,Wt,St));return pA&&lc(),Bo(rA),this},h.path=function(g){for(var F=0;F<g.length;F++){var D=g[F],q=D.c;switch(D.op){case"m":wo(q[0],q[1]);break;case"l":ta(q[0],q[1]);break;case"c":gi.apply(this,q);break;case"h":lc()}}return this},h.__private__.rect=h.rect=function(g,F,D,q,rA){if(isNaN(g)||isNaN(F)||isNaN(D)||isNaN(q)||!mn(rA))throw new Error("Invalid arguments passed to jsPDF.rect");return T===U.COMPAT&&(q=-q),V([K(S(g)),K(R(F)),K(S(D)),K(S(q)),"re"].join(" ")),Bo(rA),this},h.__private__.triangle=h.triangle=function(g,F,D,q,rA,pA,UA){if(isNaN(g)||isNaN(F)||isNaN(D)||isNaN(q)||isNaN(rA)||isNaN(pA)||!mn(UA))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[D-g,q-F],[rA-D,pA-q],[g-rA,F-pA]],g,F,[1,1],UA,!0),this},h.__private__.roundedRect=h.roundedRect=function(g,F,D,q,rA,pA,UA){if(isNaN(g)||isNaN(F)||isNaN(D)||isNaN(q)||isNaN(rA)||isNaN(pA)||!mn(UA))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var MA=4/3*(Math.SQRT2-1);return rA=Math.min(rA,.5*D),pA=Math.min(pA,.5*q),this.lines([[D-2*rA,0],[rA*MA,0,rA,pA-pA*MA,rA,pA],[0,q-2*pA],[0,pA*MA,-rA*MA,pA,-rA,pA],[2*rA-D,0],[-rA*MA,0,-rA,-pA*MA,-rA,-pA],[0,2*pA-q],[0,-pA*MA,rA*MA,-pA,rA,-pA]],g+rA,F,[1,1],UA,!0),this},h.__private__.ellipse=h.ellipse=function(g,F,D,q,rA){if(isNaN(g)||isNaN(F)||isNaN(D)||isNaN(q)||!mn(rA))throw new Error("Invalid arguments passed to jsPDF.ellipse");var pA=4/3*(Math.SQRT2-1)*D,UA=4/3*(Math.SQRT2-1)*q;return wo(g+D,F),gi(g+D,F-UA,g+pA,F-q,g,F-q),gi(g-pA,F-q,g-D,F-UA,g-D,F),gi(g-D,F+UA,g-pA,F+q,g,F+q),gi(g+pA,F+q,g+D,F+UA,g+D,F),Bo(rA),this},h.__private__.circle=h.circle=function(g,F,D,q){if(isNaN(g)||isNaN(F)||isNaN(D)||!mn(q))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(g,F,D,D,q)},h.setFont=function(g,F,D){return D&&(F=j(F,D)),ne=ac(g,F,{disableWarning:!1}),this};var Jd=h.__private__.getFont=h.getFont=function(){return pe[ac.apply(h,arguments)]};h.__private__.getFontList=h.getFontList=function(){var g,F,D={};for(g in Ue)if(Ue.hasOwnProperty(g))for(F in D[g]=[],Ue[g])Ue[g].hasOwnProperty(F)&&D[g].push(F);return D},h.addFont=function(g,F,D,q,rA){var pA=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&pA.indexOf(arguments[3])!==-1?rA=arguments[3]:arguments[3]&&pA.indexOf(arguments[3])==-1&&(D=j(D,q)),rA=rA||"Identity-H",go.call(this,g,F,D,rA)};var ra,mo=t.lineWidth||.200025,Za=h.__private__.getLineWidth=h.getLineWidth=function(){return mo},cc=h.__private__.setLineWidth=h.setLineWidth=function(g){return mo=g,V(K(S(g))+" w"),this};h.__private__.setLineDash=te.API.setLineDash=te.API.setLineDashPattern=function(g,F){if(g=g||[],F=F||0,isNaN(F)||!Array.isArray(g))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return g=g.map(function(D){return K(S(D))}).join(" "),F=K(S(F)),V("["+g+"] "+F+" d"),this};var fc=h.__private__.getLineHeight=h.getLineHeight=function(){return IA*ra};h.__private__.getLineHeight=h.getLineHeight=function(){return IA*ra};var hc=h.__private__.setLineHeightFactor=h.setLineHeightFactor=function(g){return typeof(g=g||1.15)=="number"&&(ra=g),this},gc=h.__private__.getLineHeightFactor=h.getLineHeightFactor=function(){return ra};hc(t.lineHeight);var Pn=h.__private__.getHorizontalCoordinate=function(g){return S(g)},di=h.__private__.getVerticalCoordinate=function(g){return T===U.ADVANCED?g:ie[_].mediaBox.topRightY-ie[_].mediaBox.bottomLeftY-S(g)},Zd=h.__private__.getHorizontalCoordinateString=h.getHorizontalCoordinateString=function(g){return K(Pn(g))},pi=h.__private__.getVerticalCoordinateString=h.getVerticalCoordinateString=function(g){return K(di(g))},Zr=t.strokeColor||"0 G";h.__private__.getStrokeColor=h.getDrawColor=function(){return or(Zr)},h.__private__.setStrokeColor=h.setDrawColor=function(g,F,D,q){return Zr=ur({ch1:g,ch2:F,ch3:D,ch4:q,pdfColorType:"draw",precision:2}),V(Zr),this};var yo=t.fillColor||"0 g";h.__private__.getFillColor=h.getFillColor=function(){return or(yo)},h.__private__.setFillColor=h.setFillColor=function(g,F,D,q){return yo=ur({ch1:g,ch2:F,ch3:D,ch4:q,pdfColorType:"fill",precision:2}),V(yo),this};var na=t.textColor||"0 g",A0=h.__private__.getTextColor=h.getTextColor=function(){return or(na)};h.__private__.setTextColor=h.setTextColor=function(g,F,D,q){return na=ur({ch1:g,ch2:F,ch3:D,ch4:q,pdfColorType:"text",precision:3}),this};var As=t.charSpace,e0=h.__private__.getCharSpace=h.getCharSpace=function(){return parseFloat(As||0)};h.__private__.setCharSpace=h.setCharSpace=function(g){if(isNaN(g))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return As=g,this};var Co=0;h.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},h.__private__.setLineCap=h.setLineCap=function(g){var F=h.CapJoinStyles[g];if(F===void 0)throw new Error("Line cap style of '"+g+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Co=F,V(F+" J"),this};var bo=0;h.__private__.setLineJoin=h.setLineJoin=function(g){var F=h.CapJoinStyles[g];if(F===void 0)throw new Error("Line join style of '"+g+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return bo=F,V(F+" j"),this},h.__private__.setLineMiterLimit=h.__private__.setMiterLimit=h.setLineMiterLimit=h.setMiterLimit=function(g){if(g=g||0,isNaN(g))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return V(K(S(g))+" M"),this},h.GState=ku,h.setGState=function(g){(g=typeof g=="string"?Se[_t[g]]:dc(null,g)).equals(ue)||(V("/"+g.id+" gs"),ue=g)};var dc=function(g,F){if(!g||!_t[g]){var D=!1;for(var q in Se)if(Se.hasOwnProperty(q)&&Se[q].equals(F)){D=!0;break}if(D)F=Se[q];else{var rA="GS"+(Object.keys(Se).length+1).toString(10);Se[rA]=F,F.id=rA}return g&&(_t[g]=F.id),be.publish("addGState",F),F}};h.addGState=function(g,F){return dc(g,F),this},h.saveGraphicsState=function(){return V("q"),It.push({key:ne,size:IA,color:na}),this},h.restoreGraphicsState=function(){V("Q");var g=It.pop();return ne=g.key,IA=g.size,na=g.color,ue=null,this},h.setCurrentTransformationMatrix=function(g){return V(g.toString()+" cm"),this},h.comment=function(g){return V("#"+g),this};var es=function(g,F){var D=g||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return D},set:function(pA){isNaN(pA)||(D=parseFloat(pA))}});var q=F||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return q},set:function(pA){isNaN(pA)||(q=parseFloat(pA))}});var rA="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return rA},set:function(pA){rA=pA.toString()}}),this},Fo=function(g,F,D,q){es.call(this,g,F),this.type="rect";var rA=D||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return rA},set:function(UA){isNaN(UA)||(rA=parseFloat(UA))}});var pA=q||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return pA},set:function(UA){isNaN(UA)||(pA=parseFloat(UA))}}),this},Qo=function(){this.page=Le,this.currentPage=_,this.pages=EA.slice(0),this.pagesContext=ie.slice(0),this.x=Re,this.y=ge,this.matrix=Ge,this.width=ia(_),this.height=vi(_),this.outputDestination=NA,this.id="",this.objectNumber=-1};Qo.prototype.restore=function(){Le=this.page,_=this.currentPage,ie=this.pagesContext,EA=this.pages,Re=this.x,ge=this.y,Ge=this.matrix,Uo(_,this.width),Eo(_,this.height),NA=this.outputDestination};var pc=function(g,F,D,q,rA){Ir.push(new Qo),Le=_=0,EA=[],Re=g,ge=F,Ge=rA,po([D,q])},t0=function(g){if(vr[g])Ir.pop().restore();else{var F=new Qo,D="Xo"+(Object.keys(vt).length+1).toString(10);F.id=D,vr[g]=D,vt[D]=F,be.publish("addFormObject",F),Ir.pop().restore()}};for(var ts in h.beginFormObject=function(g,F,D,q,rA){return pc(g,F,D,q,rA),this},h.endFormObject=function(g){return t0(g),this},h.doFormObject=function(g,F){var D=vt[vr[g]];return V("q"),V(F.toString()+" cm"),V("/"+D.id+" Do"),V("Q"),this},h.getFormObject=function(g){var F=vt[vr[g]];return{x:F.x,y:F.y,width:F.width,height:F.height,matrix:F.matrix}},h.save=function(g,F){return g=g||"generated.pdf",(F=F||{}).returnPromise=F.returnPromise||!1,F.returnPromise===!1?(Hi(Xa(_n()),g),typeof Hi.unload=="function"&&ee.setTimeout&&setTimeout(Hi.unload,911),this):new Promise(function(D,q){try{var rA=Hi(Xa(_n()),g);typeof Hi.unload=="function"&&ee.setTimeout&&setTimeout(Hi.unload,911),D(rA)}catch(pA){q(pA.message)}})},te.API)te.API.hasOwnProperty(ts)&&(ts==="events"&&te.API.events.length?function(g,F){var D,q,rA;for(rA=F.length-1;rA!==-1;rA--)D=F[rA][0],q=F[rA][1],g.subscribe.apply(g,[D].concat(typeof q=="function"?[q]:q))}(be,te.API.events):h[ts]=te.API[ts]);var ia=h.getPageWidth=function(g){return(ie[g=g||_].mediaBox.topRightX-ie[g].mediaBox.bottomLeftX)/TA},Uo=h.setPageWidth=function(g,F){ie[g].mediaBox.topRightX=F*TA+ie[g].mediaBox.bottomLeftX},vi=h.getPageHeight=function(g){return(ie[g=g||_].mediaBox.topRightY-ie[g].mediaBox.bottomLeftY)/TA},Eo=h.setPageHeight=function(g,F){ie[g].mediaBox.topRightY=F*TA+ie[g].mediaBox.bottomLeftY};return h.internal={pdfEscape:lr,getStyle:uc,getFont:Jd,getFontSize:SA,getCharSpace:e0,getTextColor:A0,getLineHeight:fc,getLineHeightFactor:gc,getLineWidth:Za,write:JA,getHorizontalCoordinate:Pn,getVerticalCoordinate:di,getCoordinateString:Zd,getVerticalCoordinateString:pi,collections:{},newObject:qe,newAdditionalObject:fi,newObjectDeferred:We,newObjectDeferredBegin:$t,getFilters:Br,putStream:rr,events:be,scaleFactor:TA,pageSize:{getWidth:function(){return ia(_)},setWidth:function(g){Uo(_,g)},getHeight:function(){return vi(_)},setHeight:function(g){Eo(_,g)}},encryptionOptions:f,encryption:qt,getEncryptor:$d,output:Ya,getNumberOfPages:kd,pages:EA,out:V,f2:aA,f3:N,getPageInfo:oc,getPageInfoByObjId:ae,getCurrentPageInfo:qd,getPDFVersion:w,Point:es,Rectangle:Fo,Matrix:XA,hasHotfix:sc},Object.defineProperty(h.internal.pageSize,"width",{get:function(){return ia(_)},set:function(g){Uo(_,g)},enumerable:!0,configurable:!0}),Object.defineProperty(h.internal.pageSize,"height",{get:function(){return vi(_)},set:function(g){Eo(_,g)},enumerable:!0,configurable:!0}),Md.call(h,FA),ne="F1",nc(n,e),be.publish("initialized"),h}ya.prototype.lsbFirstWord=function(t){return String.fromCharCode(t>>0&255,t>>8&255,t>>16&255,t>>24&255)},ya.prototype.toHexString=function(t){return t.split("").map(function(A){return("0"+(255&A.charCodeAt(0)).toString(16)).slice(-2)}).join("")},ya.prototype.hexToBytes=function(t){for(var A=[],e=0;e<t.length;e+=2)A.push(String.fromCharCode(parseInt(t.substr(e,2),16)));return A.join("")},ya.prototype.processOwnerPassword=function(t,A){return Jf(Yf(A).substr(0,5),t)},ya.prototype.encryptor=function(t,A){var e=Yf(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&A,A>>8&255)).substr(0,10);return function(r){return Jf(e,r)}},ku.prototype.equals=function(t){var A,e="id,objectNumber,equals";if(!t||Qe(t)!==Qe(this))return!1;var r=0;for(A in this)if(!(e.indexOf(A)>=0)){if(this.hasOwnProperty(A)&&!t.hasOwnProperty(A)||this[A]!==t[A])return!1;r++}for(A in t)t.hasOwnProperty(A)&&e.indexOf(A)<0&&r--;return r===0},te.API={events:[]},te.version="2.5.1";var Ye=te.API,Zf=1,Pi=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Fa=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},se=function(t){return t.toFixed(2)},ii=function(t){return t.toFixed(5)};Ye.__acroform__={};var ar=function(t,A){t.prototype=Object.create(A.prototype),t.prototype.constructor=t},k1=function(t){return t*Zf},fn=function(t){var A=new V1,e=$A.internal.getHeight(t)||0,r=$A.internal.getWidth(t)||0;return A.BBox=[0,0,Number(se(r)),Number(se(e))],A},CQ=Ye.__acroform__.setBit=function(t,A){if(t=t||0,A=A||0,isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|=1<<A},bQ=Ye.__acroform__.clearBit=function(t,A){if(t=t||0,A=A||0,isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&=~(1<<A)},FQ=Ye.__acroform__.getBit=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<A?1:0},nt=Ye.__acroform__.getBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return FQ(t,A-1)},it=Ye.__acroform__.setBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return CQ(t,A-1)},at=Ye.__acroform__.clearBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return bQ(t,A-1)},QQ=Ye.__acroform__.calculateCoordinates=function(t,A){var e=A.internal.getHorizontalCoordinate,r=A.internal.getVerticalCoordinate,n=t[0],i=t[1],a=t[2],s=t[3],o={};return o.lowerLeft_X=e(n)||0,o.lowerLeft_Y=r(i+s)||0,o.upperRight_X=e(n+a)||0,o.upperRight_Y=r(i)||0,[Number(se(o.lowerLeft_X)),Number(se(o.lowerLeft_Y)),Number(se(o.upperRight_X)),Number(se(o.upperRight_Y))]},UQ=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var A=[],e=t._V||t.DV,r=Ah(t,e),n=t.scope.internal.getFont(t.fontName,t.fontStyle).id;A.push("/Tx BMC"),A.push("q"),A.push("BT"),A.push(t.scope.__private__.encodeColorString(t.color)),A.push("/"+n+" "+se(r.fontSize)+" Tf"),A.push("1 0 0 1 0 0 Tm"),A.push(r.text),A.push("ET"),A.push("Q"),A.push("EMC");var i=fn(t);return i.scope=t.scope,i.stream=A.join(`
`),i}},Ah=function(t,A){var e=t.fontSize===0?t.maxFontSize:t.fontSize,r={text:"",fontSize:""},n=(A=(A=A.substr(0,1)=="("?A.substr(1):A).substr(A.length-1)==")"?A.substr(0,A.length-1):A).split(" ");n=t.multiline?n.map(function(N){return N.split(`
`)}):n.map(function(N){return[N]});var i=e,a=$A.internal.getHeight(t)||0;a=a<0?-a:a;var s=$A.internal.getWidth(t)||0;s=s<0?-s:s;var o=function(N,S,M){if(N+1<n.length){var R=S+" "+n[N+1][0];return Ku(R,t,M).width<=s-4}return!1};i++;A:for(;i>0;){A="",i--;var l,f,d=Ku("3",t,i).height,p=t.multiline?a-i:(a-d)/2,h=p+=2,m=0,w=0,b=0;if(i<=0){A=`(...) Tj
`,A+="% Width of Text: "+Ku(A,t,i=12).width+", FieldWidth:"+s+`
`;break}for(var y="",U=0,T=0;T<n.length;T++)if(n.hasOwnProperty(T)){var k=!1;if(n[T].length!==1&&b!==n[T].length-1){if((d+2)*(U+2)+2>a)continue A;y+=n[T][b],k=!0,w=T,T--}else{y=(y+=n[T][b]+" ").substr(y.length-1)==" "?y.substr(0,y.length-1):y;var G=parseInt(T),j=o(G,y,i),K=T>=n.length-1;if(j&&!K){y+=" ",b=0;continue}if(j||K){if(K)w=G;else if(t.multiline&&(d+2)*(U+2)+2>a)continue A}else{if(!t.multiline||(d+2)*(U+2)+2>a)continue A;w=G}}for(var O="",Z=m;Z<=w;Z++){var aA=n[Z];if(t.multiline){if(Z===w){O+=aA[b]+" ",b=(b+1)%aA.length;continue}if(Z===m){O+=aA[aA.length-1]+" ";continue}}O+=aA[0]+" "}switch(O=O.substr(O.length-1)==" "?O.substr(0,O.length-1):O,f=Ku(O,t,i).width,t.textAlign){case"right":l=s-f-2;break;case"center":l=(s-f)/2;break;case"left":default:l=2}A+=se(l)+" "+se(h)+` Td
`,A+="("+Pi(O)+`) Tj
`,A+=-se(l)+` 0 Td
`,h=-(i+2),f=0,m=k?w:w+1,U++,y=""}break}return r.text=A,r.fontSize=i,r},Ku=function(t,A,e){var r=A.scope.internal.getFont(A.fontName,A.fontStyle),n=A.scope.getStringUnitWidth(t,{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:A.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:n}},EQ={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},xQ=function(t,A){var e={type:"reference",object:t};A.internal.getPageInfo(t.page).pageContext.annotations.find(function(r){return r.type===e.type&&r.object===e.object})===void 0&&A.internal.getPageInfo(t.page).pageContext.annotations.push(e)},IQ=function(t,A){for(var e in t)if(t.hasOwnProperty(e)){var r=e,n=t[e];A.internal.newObjectDeferredBegin(n.objId,!0),Qe(n)==="object"&&typeof n.putStream=="function"&&n.putStream(),delete t[r]}},SQ=function(t,A){if(A.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(Rr.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(EQ)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Zf=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new j1,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){(function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0})(t)}),t.internal.events.subscribe("buildDocument",function(){(function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];i.objId=void 0,i.hasAnnotation&&xQ(i,e)}})(t)}),t.internal.events.subscribe("putCatalog",function(){(function(e){if(e.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(t)}),t.internal.events.subscribe("postPutPages",function(e){(function(r,n){var i=!r;for(var a in r||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(a)){var s=r[a],o=[],l=s.Rect;if(s.Rect&&(s.Rect=QQ(s.Rect,n)),n.internal.newObjectDeferredBegin(s.objId,!0),s.DA=$A.createDefaultAppearanceStream(s),Qe(s)==="object"&&typeof s.getKeyValueListForStream=="function"&&(o=s.getKeyValueListForStream()),s.Rect=l,s.hasAppearanceStream&&!s.appearanceStreamContent){var f=UQ(s);o.push({key:"AP",value:"<</N "+f+">>"}),n.internal.acroformPlugin.xForms.push(f)}if(s.appearanceStreamContent){var d="";for(var p in s.appearanceStreamContent)if(s.appearanceStreamContent.hasOwnProperty(p)){var h=s.appearanceStreamContent[p];if(d+="/"+p+" ",d+="<<",Object.keys(h).length>=1||Array.isArray(h)){for(var a in h)if(h.hasOwnProperty(a)){var m=h[a];typeof m=="function"&&(m=m.call(n,s)),d+="/"+a+" "+m+" ",n.internal.acroformPlugin.xForms.indexOf(m)>=0||n.internal.acroformPlugin.xForms.push(m)}}else typeof(m=h)=="function"&&(m=m.call(n,s)),d+="/"+a+" "+m,n.internal.acroformPlugin.xForms.indexOf(m)>=0||n.internal.acroformPlugin.xForms.push(m);d+=">>"}o.push({key:"AP",value:`<<
`+d+">>"})}n.internal.putStream({additionalKeyValues:o,objectId:s.objId}),n.internal.out("endobj")}i&&IQ(n.internal.acroformPlugin.xForms,n)})(e,t)}),t.internal.acroformPlugin.isInitialized=!0}},K1=Ye.__acroform__.arrayToPdfArray=function(t,A,e){var r=function(a){return a};if(Array.isArray(t)){for(var n="[",i=0;i<t.length;i++)switch(i!==0&&(n+=" "),Qe(t[i])){case"boolean":case"number":case"object":n+=t[i].toString();break;case"string":t[i].substr(0,1)!=="/"?(A!==void 0&&e&&(r=e.internal.getEncryptor(A)),n+="("+Pi(r(t[i].toString()))+")"):n+=t[i].toString()}return n+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},eh=function(t,A,e){var r=function(n){return n};return A!==void 0&&e&&(r=e.internal.getEncryptor(A)),(t=t||"").toString(),t="("+Pi(r(t))+")"},hn=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};hn.prototype.toString=function(){return this.objId+" 0 R"},hn.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},hn.prototype.getKeyValueListForStream=function(){var t=[],A=Object.getOwnPropertyNames(this).filter(function(i){return i!="content"&&i!="appearanceStreamContent"&&i!="scope"&&i!="objId"&&i.substring(0,1)!="_"});for(var e in A)if(Object.getOwnPropertyDescriptor(this,A[e]).configurable===!1){var r=A[e],n=this[r];n&&(Array.isArray(n)?t.push({key:r,value:K1(n,this.objId,this.scope)}):n instanceof hn?(n.scope=this.scope,t.push({key:r,value:n.objId+" 0 R"})):typeof n!="function"&&t.push({key:r,value:n}))}return t};var V1=function(){hn.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 t,A=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return A},set:function(e){A=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){t=e.trim()},get:function(){return t||null}})};ar(V1,hn);var j1=function(){hn.call(this);var t,A=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return A.length>0?A:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return A}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(r){return r};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+Pi(e(t))+")"}},set:function(e){t=e}})};ar(j1,hn);var Rr=function t(){hn.call(this);var A=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return A},set:function(y){if(isNaN(y))throw new Error('Invalid value "'+y+'" for attribute F supplied.');A=y}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!nt(A,3)},set:function(y){y?this.F=it(A,3):this.F=at(A,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(y){if(isNaN(y))throw new Error('Invalid value "'+y+'" for attribute Ff supplied.');e=y}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(y){r=y!==void 0?y:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(y){r[0]=y}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(y){r[1]=y}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(y){r[2]=y}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(y){r[3]=y}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(y){switch(y){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=y;break;default:throw new Error('Invalid value "'+y+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof Gu)return;i="FieldObject"+t.FieldNum++}var y=function(U){return U};return this.scope&&(y=this.scope.internal.getEncryptor(this.objId)),"("+Pi(y(i))+")"},set:function(y){i=y.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(y){i=y}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(y){a=y}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(y){s=y}});var o=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return o},set:function(y){o=y}});var l=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return l===void 0?50/Zf:l},set:function(y){l=y}});var f="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return f},set:function(y){f=y}});var d="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!d||this instanceof Gu||this instanceof Di))return eh(d,this.objId,this.scope)},set:function(y){y=y.toString(),d=y}});var p=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof Ut?p:eh(p,this.objId,this.scope)},set:function(y){y=y.toString(),p=this instanceof Ut?y:y.substr(0,1)==="("?Fa(y.substr(1,y.length-2)):Fa(y)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ut?Fa(p.substr(1,p.length-1)):p},set:function(y){y=y.toString(),p=this instanceof Ut?"/"+y:y}});var h=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(h)return h},set:function(y){this.V=y}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof Ut?h:eh(h,this.objId,this.scope)},set:function(y){y=y.toString(),h=this instanceof Ut?y:y.substr(0,1)==="("?Fa(y.substr(1,y.length-2)):Fa(y)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ut?Fa(h.substr(1,h.length-1)):h},set:function(y){y=y.toString(),h=this instanceof Ut?"/"+y:y}}),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 m,w=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return w},set:function(y){y=!!y,w=y}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(m)return m},set:function(y){m=y}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,1)},set:function(y){y?this.Ff=it(this.Ff,1):this.Ff=at(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,2)},set:function(y){y?this.Ff=it(this.Ff,2):this.Ff=at(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,3)},set:function(y){y?this.Ff=it(this.Ff,3):this.Ff=at(this.Ff,3)}});var b=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(b!==null)return b},set:function(y){if([0,1,2].indexOf(y)===-1)throw new Error('Invalid value "'+y+'" for attribute Q supplied.');b=y}}),Object.defineProperty(this,"textAlign",{get:function(){var y;switch(b){case 0:default:y="left";break;case 1:y="center";break;case 2:y="right"}return y},configurable:!0,enumerable:!0,set:function(y){switch(y){case"right":case 2:b=2;break;case"center":case 1:b=1;break;case"left":case 0:default:b=0}}})};ar(Rr,hn);var Qa=function(){Rr.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var A=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return K1(A,this.objId,this.scope)},set:function(e){var r,n;n=[],typeof(r=e)=="string"&&(n=function(i,a,s){s||(s=1);for(var o,l=[];o=a.exec(i);)l.push(o[s]);return l}(r,/\((.*?)\)/g)),A=n}}),this.getOptions=function(){return A},this.setOptions=function(e){A=e,this.sort&&A.sort()},this.addOption=function(e){e=(e=e||"").toString(),A.push(e),this.sort&&A.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();A.indexOf(e)!==-1&&(A.splice(A.indexOf(e),1),r!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,18)},set:function(e){e?this.Ff=it(this.Ff,18):this.Ff=at(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,19)},set:function(e){this.combo===!0&&(e?this.Ff=it(this.Ff,19):this.Ff=at(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,20)},set:function(e){e?(this.Ff=it(this.Ff,20),A.sort()):this.Ff=at(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,22)},set:function(e){e?this.Ff=it(this.Ff,22):this.Ff=at(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,23)},set:function(e){e?this.Ff=it(this.Ff,23):this.Ff=at(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,27)},set:function(e){e?this.Ff=it(this.Ff,27):this.Ff=at(this.Ff,27)}}),this.hasAppearanceStream=!1};ar(Qa,Rr);var Ua=function(){Qa.call(this),this.fontName="helvetica",this.combo=!1};ar(Ua,Qa);var Ea=function(){Ua.call(this),this.combo=!0};ar(Ea,Ua);var Vu=function(){Ea.call(this),this.edit=!0};ar(Vu,Ea);var Ut=function(){Rr.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,15)},set:function(e){e?this.Ff=it(this.Ff,15):this.Ff=at(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,16)},set:function(e){e?this.Ff=it(this.Ff,16):this.Ff=at(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,17)},set:function(e){e?this.Ff=it(this.Ff,17):this.Ff=at(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,26)},set:function(e){e?this.Ff=it(this.Ff,26):this.Ff=at(this.Ff,26)}});var t,A={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(i){return i};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),Object.keys(A).length!==0){var r,n=[];for(r in n.push("<<"),A)n.push("/"+r+" ("+Pi(e(A[r]))+")");return n.push(">>"),n.join(`
`)}},set:function(e){Qe(e)==="object"&&(A=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return A.CA||""},set:function(e){typeof e=="string"&&(A.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};ar(Ut,Rr);var ju=function(){Ut.call(this),this.pushButton=!0};ar(ju,Ut);var xa=function(){Ut.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=A!==void 0?A:[]}})};ar(xa,Ut);var Gu=function(){var t,A;Rr.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return A},set:function(n){A=n}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var n=function(s){return s};this.scope&&(n=this.scope.internal.getEncryptor(this.objId));var i,a=[];for(i in a.push("<<"),r)a.push("/"+i+" ("+Pi(n(r[i]))+")");return a.push(">>"),a.join(`
`)},set:function(n){Qe(n)==="object"&&(r=n)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(n){typeof n=="string"&&(r.CA=n)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(n){e=n}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(n){e="/"+n}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=$A.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ar(Gu,Rr),xa.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var A in this.Kids)if(this.Kids.hasOwnProperty(A)){var e=this.Kids[A];e.appearanceStreamContent=t.createAppearanceStream(e.optionName),e.caption=t.getCA()}},xa.prototype.createOption=function(t){var A=new Gu;return A.Parent=this,A.optionName=t,this.Kids.push(A),LQ.call(this.scope,A),A};var $u=function(){Ut.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=$A.CheckBox.createAppearanceStream()};ar($u,Ut);var Di=function(){Rr.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,13)},set:function(A){A?this.Ff=it(this.Ff,13):this.Ff=at(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,21)},set:function(A){A?this.Ff=it(this.Ff,21):this.Ff=at(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,23)},set:function(A){A?this.Ff=it(this.Ff,23):this.Ff=at(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,24)},set:function(A){A?this.Ff=it(this.Ff,24):this.Ff=at(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,25)},set:function(A){A?this.Ff=it(this.Ff,25):this.Ff=at(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,26)},set:function(A){A?this.Ff=it(this.Ff,26):this.Ff=at(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(A){Number.isInteger(A)&&(t=A)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ar(Di,Rr);var qu=function(){Di.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!nt(this.Ff,14)},set:function(t){t?this.Ff=it(this.Ff,14):this.Ff=at(this.Ff,14)}}),this.password=!0};ar(qu,Di);var $A={CheckBox:{createAppearanceStream:function(){return{N:{On:$A.CheckBox.YesNormal},D:{On:$A.CheckBox.YesPushDown,Off:$A.CheckBox.OffPushDown}}},YesPushDown:function(t){var A=fn(t);A.scope=t.scope;var e=[],r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=Ah(t,t.caption);return e.push("0.749023 g"),e.push("0 0 "+se($A.internal.getWidth(t))+" "+se($A.internal.getHeight(t))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+r+" "+se(i.fontSize)+" Tf "+n),e.push("BT"),e.push(i.text),e.push("ET"),e.push("Q"),e.push("EMC"),A.stream=e.join(`
`),A},YesNormal:function(t){var A=fn(t);A.scope=t.scope;var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),n=[],i=$A.internal.getHeight(t),a=$A.internal.getWidth(t),s=Ah(t,t.caption);return n.push("1 g"),n.push("0 0 "+se(a)+" "+se(i)+" re"),n.push("f"),n.push("q"),n.push("0 0 1 rg"),n.push("0 0 "+se(a-1)+" "+se(i-1)+" re"),n.push("W"),n.push("n"),n.push("0 g"),n.push("BT"),n.push("/"+e+" "+se(s.fontSize)+" Tf "+r),n.push(s.text),n.push("ET"),n.push("Q"),A.stream=n.join(`
`),A},OffPushDown:function(t){var A=fn(t);A.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+se($A.internal.getWidth(t))+" "+se($A.internal.getHeight(t))+" re"),e.push("f"),A.stream=e.join(`
`),A}},RadioButton:{Circle:{createAppearanceStream:function(t){var A={D:{Off:$A.RadioButton.Circle.OffPushDown},N:{}};return A.N[t]=$A.RadioButton.Circle.YesNormal,A.D[t]=$A.RadioButton.Circle.YesPushDown,A},getCA:function(){return"l"},YesNormal:function(t){var A=fn(t);A.scope=t.scope;var e=[],r=$A.internal.getWidth(t)<=$A.internal.getHeight(t)?$A.internal.getWidth(t)/4:$A.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=$A.internal.Bezier_C,i=Number((r*n).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+ii($A.internal.getWidth(t)/2)+" "+ii($A.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),e.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),e.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),e.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
`),A},YesPushDown:function(t){var A=fn(t);A.scope=t.scope;var e=[],r=$A.internal.getWidth(t)<=$A.internal.getHeight(t)?$A.internal.getWidth(t)/4:$A.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*$A.internal.Bezier_C).toFixed(5)),a=Number((r*$A.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+ii($A.internal.getWidth(t)/2)+" "+ii($A.internal.getHeight(t)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+ii($A.internal.getWidth(t)/2)+" "+ii($A.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),e.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),e.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),e.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
`),A},OffPushDown:function(t){var A=fn(t);A.scope=t.scope;var e=[],r=$A.internal.getWidth(t)<=$A.internal.getHeight(t)?$A.internal.getWidth(t)/4:$A.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*$A.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+ii($A.internal.getWidth(t)/2)+" "+ii($A.internal.getHeight(t)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
`),A}},Cross:{createAppearanceStream:function(t){var A={D:{Off:$A.RadioButton.Cross.OffPushDown},N:{}};return A.N[t]=$A.RadioButton.Cross.YesNormal,A.D[t]=$A.RadioButton.Cross.YesPushDown,A},getCA:function(){return"8"},YesNormal:function(t){var A=fn(t);A.scope=t.scope;var e=[],r=$A.internal.calculateCross(t);return e.push("q"),e.push("1 1 "+se($A.internal.getWidth(t)-2)+" "+se($A.internal.getHeight(t)-2)+" re"),e.push("W"),e.push("n"),e.push(se(r.x1.x)+" "+se(r.x1.y)+" m"),e.push(se(r.x2.x)+" "+se(r.x2.y)+" l"),e.push(se(r.x4.x)+" "+se(r.x4.y)+" m"),e.push(se(r.x3.x)+" "+se(r.x3.y)+" l"),e.push("s"),e.push("Q"),A.stream=e.join(`
`),A},YesPushDown:function(t){var A=fn(t);A.scope=t.scope;var e=$A.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+se($A.internal.getWidth(t))+" "+se($A.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+se($A.internal.getWidth(t)-2)+" "+se($A.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(se(e.x1.x)+" "+se(e.x1.y)+" m"),r.push(se(e.x2.x)+" "+se(e.x2.y)+" l"),r.push(se(e.x4.x)+" "+se(e.x4.y)+" m"),r.push(se(e.x3.x)+" "+se(e.x3.y)+" l"),r.push("s"),r.push("Q"),A.stream=r.join(`
`),A},OffPushDown:function(t){var A=fn(t);A.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+se($A.internal.getWidth(t))+" "+se($A.internal.getHeight(t))+" re"),e.push("f"),A.stream=e.join(`
`),A}}},createDefaultAppearanceStream:function(t){var A=t.scope.internal.getFont(t.fontName,t.fontStyle).id,e=t.scope.__private__.encodeColorString(t.color);return"/"+A+" "+t.fontSize+" Tf "+e}};$A.internal={Bezier_C:.551915024494,calculateCross:function(t){var A=$A.internal.getWidth(t),e=$A.internal.getHeight(t),r=Math.min(A,e);return{x1:{x:(A-r)/2,y:(e-r)/2+r},x2:{x:(A-r)/2+r,y:(e-r)/2},x3:{x:(A-r)/2,y:(e-r)/2},x4:{x:(A-r)/2+r,y:(e-r)/2+r}}}},$A.internal.getWidth=function(t){var A=0;return Qe(t)==="object"&&(A=k1(t.Rect[2])),A},$A.internal.getHeight=function(t){var A=0;return Qe(t)==="object"&&(A=k1(t.Rect[3])),A};var LQ=Ye.addField=function(t){if(SQ(this,t),!(t instanceof Rr))throw new Error("Invalid argument passed to jsPDF.addField.");var A;return(A=t).scope.internal.acroformPlugin.printedOut&&(A.scope.internal.acroformPlugin.printedOut=!1,A.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),A.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(A),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};Ye.AcroFormChoiceField=Qa,Ye.AcroFormListBox=Ua,Ye.AcroFormComboBox=Ea,Ye.AcroFormEditBox=Vu,Ye.AcroFormButton=Ut,Ye.AcroFormPushButton=ju,Ye.AcroFormRadioButton=xa,Ye.AcroFormCheckBox=$u,Ye.AcroFormTextField=Di,Ye.AcroFormPasswordField=qu,Ye.AcroFormAppearance=$A,Ye.AcroForm={ChoiceField:Qa,ListBox:Ua,ComboBox:Ea,EditBox:Vu,Button:Ut,PushButton:ju,RadioButton:xa,CheckBox:$u,TextField:Di,PasswordField:qu,Appearance:$A},te.AcroForm={ChoiceField:Qa,ListBox:Ua,ComboBox:Ea,EditBox:Vu,Button:Ut,PushButton:ju,RadioButton:xa,CheckBox:$u,TextField:Di,PasswordField:qu,Appearance:$A};function G1(t){return t.reduce(function(A,e,r){return A[e]=r,A},{})}(function(t){t.__addimage__={};var A="UNKNOWN",e={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]]},r=t.__addimage__.getImageFileTypeByImageData=function(N,S){var M,R,iA,tA,lA,eA=A;if((S=S||A)==="RGBA"||N.data!==void 0&&N.data instanceof Uint8ClampedArray&&"height"in N&&"width"in N)return"RGBA";if(j(N))for(lA in e)for(iA=e[lA],M=0;M<iA.length;M+=1){for(tA=!0,R=0;R<iA[M].length;R+=1)if(iA[M][R]!==void 0&&iA[M][R]!==N[R]){tA=!1;break}if(tA===!0){eA=lA;break}}else for(lA in e)for(iA=e[lA],M=0;M<iA.length;M+=1){for(tA=!0,R=0;R<iA[M].length;R+=1)if(iA[M][R]!==void 0&&iA[M][R]!==N.charCodeAt(R)){tA=!1;break}if(tA===!0){eA=lA;break}}return eA===A&&S!==A&&(eA=S),eA},n=function N(S){for(var M=this.internal.write,R=this.internal.putStream,iA=(0,this.internal.getFilters)();iA.indexOf("FlateEncode")!==-1;)iA.splice(iA.indexOf("FlateEncode"),1);S.objectId=this.internal.newObject();var tA=[];if(tA.push({key:"Type",value:"/XObject"}),tA.push({key:"Subtype",value:"/Image"}),tA.push({key:"Width",value:S.width}),tA.push({key:"Height",value:S.height}),S.colorSpace===b.INDEXED?tA.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(S.palette.length/3-1)+" "+("sMask"in S&&S.sMask!==void 0?S.objectId+2:S.objectId+1)+" 0 R]"}):(tA.push({key:"ColorSpace",value:"/"+S.colorSpace}),S.colorSpace===b.DEVICE_CMYK&&tA.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),tA.push({key:"BitsPerComponent",value:S.bitsPerComponent}),"decodeParameters"in S&&S.decodeParameters!==void 0&&tA.push({key:"DecodeParms",value:"<<"+S.decodeParameters+">>"}),"transparency"in S&&Array.isArray(S.transparency)){for(var lA="",eA=0,cA=S.transparency.length;eA<cA;eA++)lA+=S.transparency[eA]+" "+S.transparency[eA]+" ";tA.push({key:"Mask",value:"["+lA+"]"})}S.sMask!==void 0&&tA.push({key:"SMask",value:S.objectId+1+" 0 R"});var sA=S.filter!==void 0?["/"+S.filter]:void 0;if(R({data:S.data,additionalKeyValues:tA,alreadyAppliedFilters:sA,objectId:S.objectId}),M("endobj"),"sMask"in S&&S.sMask!==void 0){var bA="/Predictor "+S.predictor+" /Colors 1 /BitsPerComponent "+S.bitsPerComponent+" /Columns "+S.width,Q={width:S.width,height:S.height,colorSpace:"DeviceGray",bitsPerComponent:S.bitsPerComponent,decodeParameters:bA,data:S.sMask};"filter"in S&&(Q.filter=S.filter),N.call(this,Q)}if(S.colorSpace===b.INDEXED){var _=this.internal.newObject();R({data:O(new Uint8Array(S.palette)),objectId:_}),M("endobj")}},i=function(){var N=this.internal.collections.addImage_images;for(var S in N)n.call(this,N[S])},a=function(){var N,S=this.internal.collections.addImage_images,M=this.internal.write;for(var R in S)M("/I"+(N=S[R]).index,N.objectId,"0","R")},s=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",i),this.internal.events.subscribe("putXobjectDict",a))},o=function(){var N=this.internal.collections.addImage_images;return s.call(this),N},l=function(){return Object.keys(this.internal.collections.addImage_images).length},f=function(N){return typeof t["process"+N.toUpperCase()]=="function"},d=function(N){return Qe(N)==="object"&&N.nodeType===1},p=function(N,S){if(N.nodeName==="IMG"&&N.hasAttribute("src")){var M=""+N.getAttribute("src");if(M.indexOf("data:image/")===0)return ks(unescape(M).split("base64,").pop());var R=t.loadFile(M,!0);if(R!==void 0)return R}if(N.nodeName==="CANVAS"){if(N.width===0||N.height===0)throw new Error("Given canvas must have data. Canvas width: "+N.width+", height: "+N.height);var iA;switch(S){case"PNG":iA="image/png";break;case"WEBP":iA="image/webp";break;case"JPEG":case"JPG":default:iA="image/jpeg"}return ks(N.toDataURL(iA,1).split("base64,").pop())}},h=function(N){var S=this.internal.collections.addImage_images;if(S){for(var M in S)if(N===S[M].alias)return S[M]}},m=function(N,S,M){return N||S||(N=-96,S=-96),N<0&&(N=-1*M.width*72/N/this.internal.scaleFactor),S<0&&(S=-1*M.height*72/S/this.internal.scaleFactor),N===0&&(N=S*M.width/M.height),S===0&&(S=N*M.height/M.width),[N,S]},w=function(N,S,M,R,iA,tA){var lA=m.call(this,M,R,iA),eA=this.internal.getCoordinateString,cA=this.internal.getVerticalCoordinateString,sA=o.call(this);if(M=lA[0],R=lA[1],sA[iA.index]=iA,tA){tA*=Math.PI/180;var bA=Math.cos(tA),Q=Math.sin(tA),_=function($){return $.toFixed(4)},P=[_(bA),_(Q),_(-1*Q),_(bA),0,0,"cm"]}this.internal.write("q"),tA?(this.internal.write([1,"0","0",1,eA(N),cA(S+R),"cm"].join(" ")),this.internal.write(P.join(" ")),this.internal.write([eA(M),"0","0",eA(R),"0","0","cm"].join(" "))):this.internal.write([eA(M),"0","0",eA(R),eA(N),cA(S+R),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+iA.index+" Do"),this.internal.write("Q")},b=t.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"};t.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=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},U=t.__addimage__.sHashCode=function(N){var S,M,R=0;if(typeof N=="string")for(M=N.length,S=0;S<M;S++)R=(R<<5)-R+N.charCodeAt(S),R|=0;else if(j(N))for(M=N.byteLength/2,S=0;S<M;S++)R=(R<<5)-R+N[S],R|=0;return R},T=t.__addimage__.validateStringAsBase64=function(N){(N=N||"").toString().trim();var S=!0;return N.length===0&&(S=!1),N.length%4!=0&&(S=!1),/^[A-Za-z0-9+/]+$/.test(N.substr(0,N.length-2))===!1&&(S=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(N.substr(-2))===!1&&(S=!1),S},k=t.__addimage__.extractImageFromDataUrl=function(N){var S=(N=N||"").split("base64,"),M=null;if(S.length===2){var R=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(S[0]);Array.isArray(R)&&(M={mimeType:R[1],charset:R[2],data:S[1]})}return M},G=t.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"};t.__addimage__.isArrayBuffer=function(N){return G()&&N instanceof ArrayBuffer};var j=t.__addimage__.isArrayBufferView=function(N){return G()&&typeof Uint32Array<"u"&&(N instanceof Int8Array||N instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&N instanceof Uint8ClampedArray||N instanceof Int16Array||N instanceof Uint16Array||N instanceof Int32Array||N instanceof Uint32Array||N instanceof Float32Array||N instanceof Float64Array)},K=t.__addimage__.binaryStringToUint8Array=function(N){for(var S=N.length,M=new Uint8Array(S),R=0;R<S;R++)M[R]=N.charCodeAt(R);return M},O=t.__addimage__.arrayBufferToBinaryString=function(N){for(var S="",M=j(N)?N:new Uint8Array(N),R=0;R<M.length;R+=8192)S+=String.fromCharCode.apply(null,M.subarray(R,R+8192));return S};t.addImage=function(){var N,S,M,R,iA,tA,lA,eA,cA;if(typeof arguments[1]=="number"?(S=A,M=arguments[1],R=arguments[2],iA=arguments[3],tA=arguments[4],lA=arguments[5],eA=arguments[6],cA=arguments[7]):(S=arguments[1],M=arguments[2],R=arguments[3],iA=arguments[4],tA=arguments[5],lA=arguments[6],eA=arguments[7],cA=arguments[8]),Qe(N=arguments[0])==="object"&&!d(N)&&"imageData"in N){var sA=N;N=sA.imageData,S=sA.format||S||A,M=sA.x||M||0,R=sA.y||R||0,iA=sA.w||sA.width||iA,tA=sA.h||sA.height||tA,lA=sA.alias||lA,eA=sA.compression||eA,cA=sA.rotation||sA.angle||cA}var bA=this.internal.getFilters();if(eA===void 0&&bA.indexOf("FlateEncode")!==-1&&(eA="SLOW"),isNaN(M)||isNaN(R))throw new Error("Invalid coordinates passed to jsPDF.addImage");s.call(this);var Q=Z.call(this,N,S,lA,eA);return w.call(this,M,R,iA,tA,Q,cA),this};var Z=function(N,S,M,R){var iA,tA,lA;if(typeof N=="string"&&r(N)===A){N=unescape(N);var eA=aA(N,!1);(eA!==""||(eA=t.loadFile(N,!0))!==void 0)&&(N=eA)}if(d(N)&&(N=p(N,S)),S=r(N,S),!f(S))throw new Error("addImage does not support files of type '"+S+"', please ensure that a plugin for '"+S+"' support is added.");if(((lA=M)==null||lA.length===0)&&(M=function(cA){return typeof cA=="string"||j(cA)?U(cA):j(cA.data)?U(cA.data):null}(N)),(iA=h.call(this,M))||(G()&&(N instanceof Uint8Array||S==="RGBA"||(tA=N,N=K(N))),iA=this["process"+S.toUpperCase()](N,l.call(this),M,function(cA){return cA&&typeof cA=="string"&&(cA=cA.toUpperCase()),cA in t.image_compression?cA:y.NONE}(R),tA)),!iA)throw new Error("An unknown error occurred whilst processing the image.");return iA},aA=t.__addimage__.convertBase64ToBinaryString=function(N,S){var M;S=typeof S!="boolean"||S;var R,iA="";if(typeof N=="string"){R=(M=k(N))!==null?M.data:N;try{iA=ks(R)}catch(tA){if(S)throw T(R)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+tA.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return iA};t.getImageProperties=function(N){var S,M,R="";if(d(N)&&(N=p(N)),typeof N=="string"&&r(N)===A&&((R=aA(N,!1))===""&&(R=t.loadFile(N)||""),N=R),M=r(N),!f(M))throw new Error("addImage does not support files of type '"+M+"', please ensure that a plugin for '"+M+"' support is added.");if(!G()||N instanceof Uint8Array||(N=K(N)),!(S=this["process"+M.toUpperCase()](N)))throw new Error("An unknown error occurred whilst processing the image");return S.fileType=M,S}})(te.API),function(t){var A=function(e){if(e!==void 0&&e!="")return!0};te.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(e){for(var r,n,i,a=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString,o=this.internal.getPageInfoByObjId(e.objId),l=e.pageContext.annotations,f=!1,d=0;d<l.length&&!f;d++)switch((r=l[d]).type){case"link":(A(r.options.url)||A(r.options.pageNumber))&&(f=!0);break;case"reference":case"text":case"freetext":f=!0}if(f!=0){this.internal.write("/Annots [");for(var p=0;p<l.length;p++){r=l[p];var h=this.internal.pdfEscape,m=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var w=this.internal.newAdditionalObject(),b=this.internal.newAdditionalObject(),y=this.internal.getEncryptor(w.objId),U=r.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+a(r.bounds.x)+" "+s(r.bounds.y+r.bounds.h)+" "+a(r.bounds.x+r.bounds.w)+" "+s(r.bounds.y)+"] ")+"/Contents ("+h(y(r.contents))+")",i+=" /Popup "+b.objId+" 0 R",i+=" /P "+o.objId+" 0 R",i+=" /T ("+h(y(U))+") >>",w.content=i;var T=w.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+a(r.bounds.x+30)+" "+s(r.bounds.y+r.bounds.h)+" "+a(r.bounds.x+r.bounds.w+30)+" "+s(r.bounds.y)+"] ")+" /Parent "+T,r.open&&(i+=" /Open true"),i+=" >>",b.content=i,this.internal.write(w.objId,"0 R",b.objId,"0 R");break;case"freetext":n="/Rect ["+a(r.bounds.x)+" "+s(r.bounds.y)+" "+a(r.bounds.x+r.bounds.w)+" "+s(r.bounds.y+r.bounds.h)+"] ";var k=r.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+h(m(r.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+k+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(r.options.name){var G=this.annotations._nameMap[r.options.name];r.options.pageNumber=G.page,r.options.top=G.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",i="",r.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+h(m(r.options.url))+") >>";else if(r.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,i+=" /FitV "+r.options.left+"]";break;case"XYZ":default:var j=s(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),i+=" /XYZ "+r.options.left+" "+j+" "+r.options.zoom+"]"}i!=""&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),t.createAnnotation=function(e){var r=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":r.pageContext.annotations.push(e)}},t.link=function(e,r,n,i,a){var s=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString;s.pageContext.annotations.push({finalBounds:{x:o(e),y:l(r),w:o(e+n),h:l(r+i)},options:a,type:"link"})},t.textWithLink=function(e,r,n,i){var a,s,o=this.getTextWidth(e),l=this.internal.getLineHeight()/this.internal.scaleFactor;if(i.maxWidth!==void 0){s=i.maxWidth;var f=this.splitTextToSize(e,s).length;a=Math.ceil(l*f)}else s=o,a=l;return this.text(e,r,n,i),n+=.2*l,i.align==="center"&&(r-=o/2),i.align==="right"&&(r-=o),this.link(r,n-l,s,a,i),o},t.getTextWidth=function(e){var r=this.internal.getFontSize();return this.getStringUnitWidth(e)*r/this.internal.scaleFactor}}(te.API),function(t){var A={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]},e={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];t.__arabicParser__={};var i=t.__arabicParser__.isInArabicSubstitutionA=function(w){return A[w.charCodeAt(0)]!==void 0},a=t.__arabicParser__.isArabicLetter=function(w){return typeof w=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(w)},s=t.__arabicParser__.isArabicEndLetter=function(w){return a(w)&&i(w)&&A[w.charCodeAt(0)].length<=2},o=t.__arabicParser__.isArabicAlfLetter=function(w){return a(w)&&n.indexOf(w.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(w){return a(w)&&i(w)&&A[w.charCodeAt(0)].length>=1};var l=t.__arabicParser__.arabicLetterHasFinalForm=function(w){return a(w)&&i(w)&&A[w.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(w){return a(w)&&i(w)&&A[w.charCodeAt(0)].length>=3};var f=t.__arabicParser__.arabicLetterHasMedialForm=function(w){return a(w)&&i(w)&&A[w.charCodeAt(0)].length==4},d=t.__arabicParser__.resolveLigatures=function(w){var b=0,y=e,U="",T=0;for(b=0;b<w.length;b+=1)y[w.charCodeAt(b)]!==void 0?(T++,typeof(y=y[w.charCodeAt(b)])=="number"&&(U+=String.fromCharCode(y),y=e,T=0),b===w.length-1&&(y=e,U+=w.charAt(b-(T-1)),b-=T-1,T=0)):(y=e,U+=w.charAt(b-T),b-=T,T=0);return U};t.__arabicParser__.isArabicDiacritic=function(w){return w!==void 0&&r[w.charCodeAt(0)]!==void 0};var p=t.__arabicParser__.getCorrectForm=function(w,b,y){return a(w)?i(w)===!1?-1:!l(w)||!a(b)&&!a(y)||!a(y)&&s(b)||s(w)&&!a(b)||s(w)&&o(b)||s(w)&&s(b)?0:f(w)&&a(b)&&!s(b)&&a(y)&&l(y)?3:s(w)||!a(y)?1:2:-1},h=function(w){var b=0,y=0,U=0,T="",k="",G="",j=(w=w||"").split("\\s+"),K=[];for(b=0;b<j.length;b+=1){for(K.push(""),y=0;y<j[b].length;y+=1)T=j[b][y],k=j[b][y-1],G=j[b][y+1],a(T)?(U=p(T,k,G),K[b]+=U!==-1?String.fromCharCode(A[T.charCodeAt(0)][U]):T):K[b]+=T;K[b]=d(K[b])}return K.join(" ")},m=t.__arabicParser__.processArabic=t.processArabic=function(){var w,b=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,y=[];if(Array.isArray(b)){var U=0;for(y=[],U=0;U<b.length;U+=1)Array.isArray(b[U])?y.push([h(b[U][0]),b[U][1],b[U][2]]):y.push([h(b[U])]);w=y}else w=h(b);return typeof arguments[0]=="string"?w:(arguments[0].text=w,arguments[0])};t.events.push(["preProcessText",m])}(te.API),te.API.autoPrint=function(t){var A;switch((t=t||{}).variant=t.variant||"non-conform",t.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){A=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 "+A+" 0 R")})}return this},function(t){var A=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(s){e=s}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(s){r=isNaN(s)||Number.isInteger(s)===!1||s<0?150:s,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(s){n=isNaN(s)||Number.isInteger(s)===!1||s<0?300:s,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var i=[];Object.defineProperty(this,"childNodes",{get:function(){return i},set:function(s){i=s}});var a={};Object.defineProperty(this,"style",{get:function(){return a},set:function(s){a=s}}),Object.defineProperty(this,"parentNode",{})};A.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},A.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new A,this.canvas.pdf=this}])}(te.API),function(t){var A={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},A),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new i,this.internal.__cell__.pages=1},i=function(){var o=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return o},set:function(w){o=w}});var l=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return l},set:function(w){l=w}});var f=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return f},set:function(w){f=w}});var d=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return d},set:function(w){d=w}});var p=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return p},set:function(w){p=w}});var h=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return h},set:function(w){h=w}});var m=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return m},set:function(w){m=w}}),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]},t.setHeaderFunction=function(o){return r.call(this),this.internal.__cell__.headerFunction=typeof o=="function"?o:void 0,this},t.getTextDimensions=function(o,l){r.call(this);var f=(l=l||{}).fontSize||this.getFontSize(),d=l.font||this.getFont(),p=l.scaleFactor||this.internal.scaleFactor,h=0,m=0,w=0,b=this;if(!Array.isArray(o)&&typeof o!="string"){if(typeof o!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");o=String(o)}var y=l.maxWidth;y>0?typeof o=="string"?o=this.splitTextToSize(o,y):Object.prototype.toString.call(o)==="[object Array]"&&(o=o.reduce(function(T,k){return T.concat(b.splitTextToSize(k,y))},[])):o=Array.isArray(o)?o:[o];for(var U=0;U<o.length;U++)h<(w=this.getStringUnitWidth(o[U],{font:d})*f)&&(h=w);return h!==0&&(m=o.length),{w:h/=p,h:Math.max((m*f*this.getLineHeightFactor()-f*(this.getLineHeightFactor()-1))/p,0)}},t.cellAddPage=function(){r.call(this),this.addPage();var o=this.internal.__cell__.margins||A;return this.internal.__cell__.lastCell=new i(o.left,o.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var a=t.cell=function(){var o;o=arguments[0]instanceof i?arguments[0]:new i(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var l=this.internal.__cell__.lastCell,f=this.internal.__cell__.padding,d=this.internal.__cell__.margins||A,p=this.internal.__cell__.tableHeaderRow,h=this.internal.__cell__.printHeaders;return l.lineNumber!==void 0&&(l.lineNumber===o.lineNumber?(o.x=(l.x||0)+(l.width||0),o.y=l.y||0):l.y+l.height+o.height+d.bottom>this.getPageHeight()?(this.cellAddPage(),o.y=d.top,h&&p&&(this.printHeaderRow(o.lineNumber,!0),o.y+=p[0].height)):o.y=l.y+l.height||o.y),o.text[0]!==void 0&&(this.rect(o.x,o.y,o.width,o.height,e===!0?"FD":void 0),o.align==="right"?this.text(o.text,o.x+o.width-f,o.y+f,{align:"right",baseline:"top"}):o.align==="center"?this.text(o.text,o.x+o.width/2,o.y+f,{align:"center",baseline:"top",maxWidth:o.width-f-f}):this.text(o.text,o.x+f,o.y+f,{align:"left",baseline:"top",maxWidth:o.width-f-f})),this.internal.__cell__.lastCell=o,this};t.table=function(o,l,f,d,p){if(r.call(this),!f)throw new Error("No data for PDF table.");var h,m,w,b,y=[],U=[],T=[],k={},G={},j=[],K=[],O=(p=p||{}).autoSize||!1,Z=p.printHeaders!==!1,aA=p.css&&p.css["font-size"]!==void 0?16*p.css["font-size"]:p.fontSize||12,N=p.margins||Object.assign({width:this.getPageWidth()},A),S=typeof p.padding=="number"?p.padding:3,M=p.headerBackgroundColor||"#c8c8c8",R=p.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=Z,this.internal.__cell__.margins=N,this.internal.__cell__.table_font_size=aA,this.internal.__cell__.padding=S,this.internal.__cell__.headerBackgroundColor=M,this.internal.__cell__.headerTextColor=R,this.setFontSize(aA),d==null)U=y=Object.keys(f[0]),T=y.map(function(){return"left"});else if(Array.isArray(d)&&Qe(d[0])==="object")for(y=d.map(function(sA){return sA.name}),U=d.map(function(sA){return sA.prompt||sA.name||""}),T=d.map(function(sA){return sA.align||"left"}),h=0;h<d.length;h+=1)G[d[h].name]=d[h].width*(19.049976/25.4);else Array.isArray(d)&&typeof d[0]=="string"&&(U=y=d,T=y.map(function(){return"left"}));if(O||Array.isArray(d)&&typeof d[0]=="string")for(h=0;h<y.length;h+=1){for(k[b=y[h]]=f.map(function(sA){return sA[b]}),this.setFont(void 0,"bold"),j.push(this.getTextDimensions(U[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),m=k[b],this.setFont(void 0,"normal"),w=0;w<m.length;w+=1)j.push(this.getTextDimensions(m[w],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);G[b]=Math.max.apply(null,j)+S+S,j=[]}if(Z){var iA={};for(h=0;h<y.length;h+=1)iA[y[h]]={},iA[y[h]].text=U[h],iA[y[h]].align=T[h];var tA=s.call(this,iA,G);K=y.map(function(sA){return new i(o,l,G[sA],tA,iA[sA].text,void 0,iA[sA].align)}),this.setTableHeaderRow(K),this.printHeaderRow(1,!1)}var lA=d.reduce(function(sA,bA){return sA[bA.name]=bA.align,sA},{});for(h=0;h<f.length;h+=1){"rowStart"in p&&p.rowStart instanceof Function&&p.rowStart({row:h,data:f[h]},this);var eA=s.call(this,f[h],G);for(w=0;w<y.length;w+=1){var cA=f[h][y[w]];"cellStart"in p&&p.cellStart instanceof Function&&p.cellStart({row:h,col:w,data:cA},this),a.call(this,new i(o,l,G[y[w]],eA,cA,h+2,lA[y[w]]))}}return this.internal.__cell__.table_x=o,this.internal.__cell__.table_y=l,this};var s=function(o,l){var f=this.internal.__cell__.padding,d=this.internal.__cell__.table_font_size,p=this.internal.scaleFactor;return Object.keys(o).map(function(h){var m=o[h];return this.splitTextToSize(m.hasOwnProperty("text")?m.text:m,l[h]-f-f)},this).map(function(h){return this.getLineHeightFactor()*h.length*d/p+f+f},this).reduce(function(h,m){return Math.max(h,m)},0)};t.setTableHeaderRow=function(o){r.call(this),this.internal.__cell__.tableHeaderRow=o},t.printHeaderRow=function(o,l){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var f;if(e=!0,typeof this.internal.__cell__.headerFunction=="function"){var d=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new i(d[0],d[1],d[2],d[3],void 0,-1)}this.setFont(void 0,"bold");for(var p=[],h=0;h<this.internal.__cell__.tableHeaderRow.length;h+=1){f=this.internal.__cell__.tableHeaderRow[h].clone(),l&&(f.y=this.internal.__cell__.margins.top||0,p.push(f)),f.lineNumber=o;var m=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),a.call(this,f),this.setTextColor(m)}p.length>0&&this.setTableHeaderRow(p),this.setFont(void 0,"normal"),e=!1}}(te.API);var $1={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},q1=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],th=G1(q1),W1=[100,200,300,400,500,600,700,800,900],NQ=G1(W1);function rh(t){var A=t.family.replace(/"|'/g,"").toLowerCase(),e=function(i){return $1[i=i||"normal"]?i:"normal"}(t.style),r=function(i){if(!i)return 400;if(typeof i=="number")return i>=100&&i<=900&&i%100==0?i:400;if(/^\d00$/.test(i))return parseInt(i);switch(i){case"bold":return 700;case"normal":default:return 400}}(t.weight),n=function(i){return typeof th[i=i||"normal"]=="number"?i:"normal"}(t.stretch);return{family:A,style:e,weight:r,stretch:n,src:t.src||[],ref:t.ref||{name:A,style:[n,e,r].join(" ")}}}function z1(t,A,e,r){var n;for(n=e;n>=0&&n<A.length;n+=r)if(t[A[n]])return t[A[n]];for(n=e;n>=0&&n<A.length;n-=r)if(t[A[n]])return t[A[n]]}var TQ={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},X1={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Y1(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function OQ(t,A,e){for(var r=(e=e||{}).defaultFontFamily||"times",n=Object.assign({},TQ,e.genericFontFamilies||{}),i=null,a=null,s=0;s<A.length;++s)if(n[(i=rh(A[s])).family]&&(i.family=n[i.family]),t.hasOwnProperty(i.family)){a=t[i.family];break}if(!(a=a||t[r]))throw new Error("Could not find a font-family for the rule '"+Y1(i)+"' and default family '"+r+"'.");if(a=function(o,l){if(l[o])return l[o];var f=th[o],d=f<=th.normal?-1:1,p=z1(l,q1,f,d);if(!p)throw new Error("Could not find a matching font-stretch value for "+o);return p}(i.stretch,a),a=function(o,l){if(l[o])return l[o];for(var f=$1[o],d=0;d<f.length;++d)if(l[f[d]])return l[f[d]];throw new Error("Could not find a matching font-style for "+o)}(i.style,a),!(a=function(o,l){if(l[o])return l[o];if(o===400&&l[500])return l[500];if(o===500&&l[400])return l[400];var f=NQ[o],d=z1(l,W1,f,o<400?-1:1);if(!d)throw new Error("Could not find a matching font-weight for value "+o);return d}(i.weight,a)))throw new Error("Failed to resolve a font for the rule '"+Y1(i)+"'.");return a}function J1(t){return t.trimLeft()}function HQ(t,A){for(var e=0;e<t.length;){if(t.charAt(e)===A)return[t.substring(0,e),t.substring(e+1)];e+=1}return null}function _Q(t){var A=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return A===null?null:[A[0],t.substring(A[0].length)]}var Wu,Z1,A2,nh=["times"];(function(t){var A,e,r,n,i,a,s,o,l,f=function(Q){return Q=Q||{},this.isStrokeTransparent=Q.isStrokeTransparent||!1,this.strokeOpacity=Q.strokeOpacity||1,this.strokeStyle=Q.strokeStyle||"#000000",this.fillStyle=Q.fillStyle||"#000000",this.isFillTransparent=Q.isFillTransparent||!1,this.fillOpacity=Q.fillOpacity||1,this.font=Q.font||"10px sans-serif",this.textBaseline=Q.textBaseline||"alphabetic",this.textAlign=Q.textAlign||"left",this.lineWidth=Q.lineWidth||1,this.lineJoin=Q.lineJoin||"miter",this.lineCap=Q.lineCap||"butt",this.path=Q.path||[],this.transform=Q.transform!==void 0?Q.transform.clone():new o,this.globalCompositeOperation=Q.globalCompositeOperation||"normal",this.globalAlpha=Q.globalAlpha||1,this.clip_path=Q.clip_path||[],this.currentPoint=Q.currentPoint||new a,this.miterLimit=Q.miterLimit||10,this.lastPoint=Q.lastPoint||new a,this.lineDashOffset=Q.lineDashOffset||0,this.lineDash=Q.lineDash||[],this.margin=Q.margin||[0,0,0,0],this.prevPageLastElemOffset=Q.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Q.ignoreClearRect!="boolean"||Q.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new d(this),A=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,n=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,a=this.internal.Point,s=this.internal.Rectangle,o=this.internal.Matrix,l=new f}]);var d=function(Q){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var _=Q;Object.defineProperty(this,"pdf",{get:function(){return _}});var P=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return P},set:function(gA){P=!!gA}});var $=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return $},set:function(gA){$=!!gA}});var W=0;Object.defineProperty(this,"posX",{get:function(){return W},set:function(gA){isNaN(gA)||(W=gA)}});var nA=0;Object.defineProperty(this,"posY",{get:function(){return nA},set:function(gA){isNaN(gA)||(nA=gA)}}),Object.defineProperty(this,"margin",{get:function(){return l.margin},set:function(gA){var V;typeof gA=="number"?V=[gA,gA,gA,gA]:((V=new Array(4))[0]=gA[0],V[1]=gA.length>=2?gA[1]:V[0],V[2]=gA.length>=3?gA[2]:V[0],V[3]=gA.length>=4?gA[3]:V[1]),l.margin=V}});var fA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return fA},set:function(gA){fA=gA}});var hA=0;Object.defineProperty(this,"lastBreak",{get:function(){return hA},set:function(gA){hA=gA}});var xA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return xA},set:function(gA){xA=gA}}),Object.defineProperty(this,"ctx",{get:function(){return l},set:function(gA){gA instanceof f&&(l=gA)}}),Object.defineProperty(this,"path",{get:function(){return l.path},set:function(gA){l.path=gA}});var EA=[];Object.defineProperty(this,"ctxStack",{get:function(){return EA},set:function(gA){EA=gA}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(gA){var V;V=p(gA),this.ctx.fillStyle=V.style,this.ctx.isFillTransparent=V.a===0,this.ctx.fillOpacity=V.a,this.pdf.setFillColor(V.r,V.g,V.b,{a:V.a}),this.pdf.setTextColor(V.r,V.g,V.b,{a:V.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(gA){var V=p(gA);this.ctx.strokeStyle=V.style,this.ctx.isStrokeTransparent=V.a===0,this.ctx.strokeOpacity=V.a,V.a===0?this.pdf.setDrawColor(255,255,255):(V.a,this.pdf.setDrawColor(V.r,V.g,V.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(gA){["butt","round","square"].indexOf(gA)!==-1&&(this.ctx.lineCap=gA,this.pdf.setLineCap(gA))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(gA){isNaN(gA)||(this.ctx.lineWidth=gA,this.pdf.setLineWidth(gA))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(gA){["bevel","round","miter"].indexOf(gA)!==-1&&(this.ctx.lineJoin=gA,this.pdf.setLineJoin(gA))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(gA){isNaN(gA)||(this.ctx.miterLimit=gA,this.pdf.setMiterLimit(gA))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(gA){this.ctx.textBaseline=gA}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(gA){["right","end","center","left","start"].indexOf(gA)!==-1&&(this.ctx.textAlign=gA)}});var _A=null;function NA(gA,V){if(_A===null){var JA=function(KA){var FA=[];return Object.keys(KA).forEach(function(IA){KA[IA].forEach(function(LA){var SA=null;switch(LA){case"bold":SA={family:IA,weight:"bold"};break;case"italic":SA={family:IA,style:"italic"};break;case"bolditalic":SA={family:IA,weight:"bold",style:"italic"};break;case"":case"normal":SA={family:IA}}SA!==null&&(SA.ref={name:IA,style:LA},FA.push(SA))})}),FA}(gA.getFontList());_A=function(KA){for(var FA={},IA=0;IA<KA.length;++IA){var LA=rh(KA[IA]),SA=LA.family,VA=LA.stretch,GA=LA.style,ZA=LA.weight;FA[SA]=FA[SA]||{},FA[SA][VA]=FA[SA][VA]||{},FA[SA][VA][GA]=FA[SA][VA][GA]||{},FA[SA][VA][GA][ZA]=LA}return FA}(JA.concat(V))}return _A}var jA=null;Object.defineProperty(this,"fontFaces",{get:function(){return jA},set:function(gA){_A=null,jA=gA}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(gA){var V;if(this.ctx.font=gA,(V=/^\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-z]+?)\s*$/i.exec(gA))!==null){var JA=V[1],KA=(V[2],V[3]),FA=V[4],IA=(V[5],V[6]),LA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(FA)[2];FA=Math.floor(LA==="px"?parseFloat(FA)*this.pdf.internal.scaleFactor:LA==="em"?parseFloat(FA)*this.pdf.getFontSize():parseFloat(FA)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(FA);var SA=function(zA){var ne,TA,Re=[],ge=zA.trim();if(ge==="")return nh;if(ge in X1)return[X1[ge]];for(;ge!=="";){switch(TA=null,ne=(ge=J1(ge)).charAt(0)){case'"':case"'":TA=HQ(ge.substring(1),ne);break;default:TA=_Q(ge)}if(TA===null||(Re.push(TA[0]),(ge=J1(TA[1]))!==""&&ge.charAt(0)!==","))return nh;ge=ge.replace(/^,/,"")}return Re}(IA);if(this.fontFaces){var VA=OQ(NA(this.pdf,this.fontFaces),SA.map(function(zA){return{family:zA,stretch:"normal",weight:KA,style:JA}}));this.pdf.setFont(VA.ref.name,VA.ref.style)}else{var GA="";(KA==="bold"||parseInt(KA,10)>=700||JA==="bold")&&(GA="bold"),JA==="italic"&&(GA+="italic"),GA.length===0&&(GA="normal");for(var ZA="",re={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"},he=0;he<SA.length;he++){if(this.pdf.internal.getFont(SA[he],GA,{noFallback:!0,disableWarning:!0})!==void 0){ZA=SA[he];break}if(GA==="bolditalic"&&this.pdf.internal.getFont(SA[he],"bold",{noFallback:!0,disableWarning:!0})!==void 0)ZA=SA[he],GA="bold";else if(this.pdf.internal.getFont(SA[he],"normal",{noFallback:!0,disableWarning:!0})!==void 0){ZA=SA[he],GA="normal";break}}if(ZA===""){for(var ye=0;ye<SA.length;ye++)if(re[SA[ye]]){ZA=re[SA[ye]];break}}ZA=ZA===""?"Times":ZA,this.pdf.setFont(ZA,GA)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(gA){this.ctx.globalCompositeOperation=gA}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(gA){this.ctx.globalAlpha=gA}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(gA){this.ctx.lineDashOffset=gA,bA.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(gA){this.ctx.lineDash=gA,bA.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(gA){this.ctx.ignoreClearRect=!!gA}})};d.prototype.setLineDash=function(Q){this.lineDash=Q},d.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},d.prototype.fill=function(){k.call(this,"fill",!1)},d.prototype.stroke=function(){k.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(Q,_){if(isNaN(Q)||isNaN(_))throw _e.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var P=this.ctx.transform.applyToPoint(new a(Q,_));this.path.push({type:"mt",x:P.x,y:P.y}),this.ctx.lastPoint=new a(Q,_)},d.prototype.closePath=function(){var Q=new a(0,0),_=0;for(_=this.path.length-1;_!==-1;_--)if(this.path[_].type==="begin"&&Qe(this.path[_+1])==="object"&&typeof this.path[_+1].x=="number"){Q=new a(this.path[_+1].x,this.path[_+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new a(Q.x,Q.y)},d.prototype.lineTo=function(Q,_){if(isNaN(Q)||isNaN(_))throw _e.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var P=this.ctx.transform.applyToPoint(new a(Q,_));this.path.push({type:"lt",x:P.x,y:P.y}),this.ctx.lastPoint=new a(P.x,P.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),k.call(this,null,!0)},d.prototype.quadraticCurveTo=function(Q,_,P,$){if(isNaN(P)||isNaN($)||isNaN(Q)||isNaN(_))throw _e.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var W=this.ctx.transform.applyToPoint(new a(P,$)),nA=this.ctx.transform.applyToPoint(new a(Q,_));this.path.push({type:"qct",x1:nA.x,y1:nA.y,x:W.x,y:W.y}),this.ctx.lastPoint=new a(W.x,W.y)},d.prototype.bezierCurveTo=function(Q,_,P,$,W,nA){if(isNaN(W)||isNaN(nA)||isNaN(Q)||isNaN(_)||isNaN(P)||isNaN($))throw _e.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var fA=this.ctx.transform.applyToPoint(new a(W,nA)),hA=this.ctx.transform.applyToPoint(new a(Q,_)),xA=this.ctx.transform.applyToPoint(new a(P,$));this.path.push({type:"bct",x1:hA.x,y1:hA.y,x2:xA.x,y2:xA.y,x:fA.x,y:fA.y}),this.ctx.lastPoint=new a(fA.x,fA.y)},d.prototype.arc=function(Q,_,P,$,W,nA){if(isNaN(Q)||isNaN(_)||isNaN(P)||isNaN($)||isNaN(W))throw _e.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(nA=!!nA,!this.ctx.transform.isIdentity){var fA=this.ctx.transform.applyToPoint(new a(Q,_));Q=fA.x,_=fA.y;var hA=this.ctx.transform.applyToPoint(new a(0,P)),xA=this.ctx.transform.applyToPoint(new a(0,0));P=Math.sqrt(Math.pow(hA.x-xA.x,2)+Math.pow(hA.y-xA.y,2))}Math.abs(W-$)>=2*Math.PI&&($=0,W=2*Math.PI),this.path.push({type:"arc",x:Q,y:_,radius:P,startAngle:$,endAngle:W,counterclockwise:nA})},d.prototype.arcTo=function(Q,_,P,$,W){throw new Error("arcTo not implemented.")},d.prototype.rect=function(Q,_,P,$){if(isNaN(Q)||isNaN(_)||isNaN(P)||isNaN($))throw _e.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Q,_),this.lineTo(Q+P,_),this.lineTo(Q+P,_+$),this.lineTo(Q,_+$),this.lineTo(Q,_),this.lineTo(Q+P,_),this.lineTo(Q,_)},d.prototype.fillRect=function(Q,_,P,$){if(isNaN(Q)||isNaN(_)||isNaN(P)||isNaN($))throw _e.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!h.call(this)){var W={};this.lineCap!=="butt"&&(W.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(W.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Q,_,P,$),this.fill(),W.hasOwnProperty("lineCap")&&(this.lineCap=W.lineCap),W.hasOwnProperty("lineJoin")&&(this.lineJoin=W.lineJoin)}},d.prototype.strokeRect=function(Q,_,P,$){if(isNaN(Q)||isNaN(_)||isNaN(P)||isNaN($))throw _e.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(Q,_,P,$),this.stroke())},d.prototype.clearRect=function(Q,_,P,$){if(isNaN(Q)||isNaN(_)||isNaN(P)||isNaN($))throw _e.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Q,_,P,$))},d.prototype.save=function(Q){Q=typeof Q!="boolean"||Q;for(var _=this.pdf.internal.getCurrentPageInfo().pageNumber,P=0;P<this.pdf.internal.getNumberOfPages();P++)this.pdf.setPage(P+1),this.pdf.internal.out("q");if(this.pdf.setPage(_),Q){this.ctx.fontSize=this.pdf.internal.getFontSize();var $=new f(this.ctx);this.ctxStack.push(this.ctx),this.ctx=$}},d.prototype.restore=function(Q){Q=typeof Q!="boolean"||Q;for(var _=this.pdf.internal.getCurrentPageInfo().pageNumber,P=0;P<this.pdf.internal.getNumberOfPages();P++)this.pdf.setPage(P+1),this.pdf.internal.out("Q");this.pdf.setPage(_),Q&&this.ctxStack.length!==0&&(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(Q){var _,P,$,W;if(Q.isCanvasGradient===!0&&(Q=Q.getColor()),!Q)return{r:0,g:0,b:0,a:0,style:Q};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Q))_=0,P=0,$=0,W=0;else{var nA=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Q);if(nA!==null)_=parseInt(nA[1]),P=parseInt(nA[2]),$=parseInt(nA[3]),W=1;else if((nA=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Q))!==null)_=parseInt(nA[1]),P=parseInt(nA[2]),$=parseInt(nA[3]),W=parseFloat(nA[4]);else{if(W=1,typeof Q=="string"&&Q.charAt(0)!=="#"){var fA=new H1(Q);Q=fA.ok?fA.toHex():"#000000"}Q.length===4?(_=Q.substring(1,2),_+=_,P=Q.substring(2,3),P+=P,$=Q.substring(3,4),$+=$):(_=Q.substring(1,3),P=Q.substring(3,5),$=Q.substring(5,7)),_=parseInt(_,16),P=parseInt(P,16),$=parseInt($,16)}}return{r:_,g:P,b:$,a:W,style:Q}},h=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},m=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};d.prototype.fillText=function(Q,_,P,$){if(isNaN(_)||isNaN(P)||typeof Q!="string")throw _e.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if($=isNaN($)?void 0:$,!h.call(this)){var W=eA(this.ctx.transform.rotation),nA=this.ctx.transform.scaleX;S.call(this,{text:Q,x:_,y:P,scale:nA,angle:W,align:this.textAlign,maxWidth:$})}},d.prototype.strokeText=function(Q,_,P,$){if(isNaN(_)||isNaN(P)||typeof Q!="string")throw _e.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){$=isNaN($)?void 0:$;var W=eA(this.ctx.transform.rotation),nA=this.ctx.transform.scaleX;S.call(this,{text:Q,x:_,y:P,scale:nA,renderingMode:"stroke",angle:W,align:this.textAlign,maxWidth:$})}},d.prototype.measureText=function(Q){if(typeof Q!="string")throw _e.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var _=this.pdf,P=this.pdf.internal.scaleFactor,$=_.internal.getFontSize(),W=_.getStringUnitWidth(Q)*$/_.internal.scaleFactor,nA=function(fA){var hA=(fA=fA||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return hA}}),this};return new nA({width:W*=Math.round(96*P/72*1e4)/1e4})},d.prototype.scale=function(Q,_){if(isNaN(Q)||isNaN(_))throw _e.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var P=new o(Q,0,0,_,0,0);this.ctx.transform=this.ctx.transform.multiply(P)},d.prototype.rotate=function(Q){if(isNaN(Q))throw _e.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var _=new o(Math.cos(Q),Math.sin(Q),-Math.sin(Q),Math.cos(Q),0,0);this.ctx.transform=this.ctx.transform.multiply(_)},d.prototype.translate=function(Q,_){if(isNaN(Q)||isNaN(_))throw _e.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var P=new o(1,0,0,1,Q,_);this.ctx.transform=this.ctx.transform.multiply(P)},d.prototype.transform=function(Q,_,P,$,W,nA){if(isNaN(Q)||isNaN(_)||isNaN(P)||isNaN($)||isNaN(W)||isNaN(nA))throw _e.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var fA=new o(Q,_,P,$,W,nA);this.ctx.transform=this.ctx.transform.multiply(fA)},d.prototype.setTransform=function(Q,_,P,$,W,nA){Q=isNaN(Q)?1:Q,_=isNaN(_)?0:_,P=isNaN(P)?0:P,$=isNaN($)?1:$,W=isNaN(W)?0:W,nA=isNaN(nA)?0:nA,this.ctx.transform=new o(Q,_,P,$,W,nA)};var w=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};d.prototype.drawImage=function(Q,_,P,$,W,nA,fA,hA,xA){var EA=this.pdf.getImageProperties(Q),_A=1,NA=1,jA=1,gA=1;$!==void 0&&hA!==void 0&&(jA=hA/$,gA=xA/W,_A=EA.width/$*hA/$,NA=EA.height/W*xA/W),nA===void 0&&(nA=_,fA=P,_=0,P=0),$!==void 0&&hA===void 0&&(hA=$,xA=W),$===void 0&&hA===void 0&&(hA=EA.width,xA=EA.height);for(var V,JA=this.ctx.transform.decompose(),KA=eA(JA.rotate.shx),FA=new o,IA=(FA=(FA=(FA=FA.multiply(JA.translate)).multiply(JA.skew)).multiply(JA.scale)).applyToRectangle(new s(nA-_*jA,fA-P*gA,$*_A,W*NA)),LA=b.call(this,IA),SA=[],VA=0;VA<LA.length;VA+=1)SA.indexOf(LA[VA])===-1&&SA.push(LA[VA]);if(T(SA),this.autoPaging)for(var GA=SA[0],ZA=SA[SA.length-1],re=GA;re<ZA+1;re++){this.pdf.setPage(re);var he=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ye=re===1?this.posY+this.margin[0]:this.margin[0],zA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ne=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],TA=re===1?0:zA+(re-2)*ne;if(this.ctx.clip_path.length!==0){var Re=this.path;V=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=U(V,this.posX+this.margin[3],-TA+ye+this.ctx.prevPageLastElemOffset),G.call(this,"fill",!0),this.path=Re}var ge=JSON.parse(JSON.stringify(IA));ge=U([ge],this.posX+this.margin[3],-TA+ye+this.ctx.prevPageLastElemOffset)[0];var Ge=(re>GA||re<ZA)&&w.call(this);Ge&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],he,ne,null).clip().discardPath()),this.pdf.addImage(Q,"JPEG",ge.x,ge.y,ge.w,ge.h,null,null,KA),Ge&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(Q,"JPEG",IA.x,IA.y,IA.w,IA.h,null,null,KA)};var b=function(Q,_,P){var $=[];_=_||this.pdf.internal.pageSize.width,P=P||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var W=this.posY+this.ctx.prevPageLastElemOffset;switch(Q.type){default:case"mt":case"lt":$.push(Math.floor((Q.y+W)/P)+1);break;case"arc":$.push(Math.floor((Q.y+W-Q.radius)/P)+1),$.push(Math.floor((Q.y+W+Q.radius)/P)+1);break;case"qct":var nA=cA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Q.x1,Q.y1,Q.x,Q.y);$.push(Math.floor((nA.y+W)/P)+1),$.push(Math.floor((nA.y+nA.h+W)/P)+1);break;case"bct":var fA=sA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Q.x1,Q.y1,Q.x2,Q.y2,Q.x,Q.y);$.push(Math.floor((fA.y+W)/P)+1),$.push(Math.floor((fA.y+fA.h+W)/P)+1);break;case"rect":$.push(Math.floor((Q.y+W)/P)+1),$.push(Math.floor((Q.y+Q.h+W)/P)+1)}for(var hA=0;hA<$.length;hA+=1)for(;this.pdf.internal.getNumberOfPages()<$[hA];)y.call(this);return $},y=function(){var Q=this.fillStyle,_=this.strokeStyle,P=this.font,$=this.lineCap,W=this.lineWidth,nA=this.lineJoin;this.pdf.addPage(),this.fillStyle=Q,this.strokeStyle=_,this.font=P,this.lineCap=$,this.lineWidth=W,this.lineJoin=nA},U=function(Q,_,P){for(var $=0;$<Q.length;$++)switch(Q[$].type){case"bct":Q[$].x2+=_,Q[$].y2+=P;case"qct":Q[$].x1+=_,Q[$].y1+=P;case"mt":case"lt":case"arc":default:Q[$].x+=_,Q[$].y+=P}return Q},T=function(Q){return Q.sort(function(_,P){return _-P})},k=function(Q,_){for(var P,$,W=this.fillStyle,nA=this.strokeStyle,fA=this.lineCap,hA=this.lineWidth,xA=Math.abs(hA*this.ctx.transform.scaleX),EA=this.lineJoin,_A=JSON.parse(JSON.stringify(this.path)),NA=JSON.parse(JSON.stringify(this.path)),jA=[],gA=0;gA<NA.length;gA++)if(NA[gA].x!==void 0)for(var V=b.call(this,NA[gA]),JA=0;JA<V.length;JA+=1)jA.indexOf(V[JA])===-1&&jA.push(V[JA]);for(var KA=0;KA<jA.length;KA++)for(;this.pdf.internal.getNumberOfPages()<jA[KA];)y.call(this);if(T(jA),this.autoPaging)for(var FA=jA[0],IA=jA[jA.length-1],LA=FA;LA<IA+1;LA++){this.pdf.setPage(LA),this.fillStyle=W,this.strokeStyle=nA,this.lineCap=fA,this.lineWidth=xA,this.lineJoin=EA;var SA=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],VA=LA===1?this.posY+this.margin[0]:this.margin[0],GA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ZA=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],re=LA===1?0:GA+(LA-2)*ZA;if(this.ctx.clip_path.length!==0){var he=this.path;P=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=U(P,this.posX+this.margin[3],-re+VA+this.ctx.prevPageLastElemOffset),G.call(this,Q,!0),this.path=he}if($=JSON.parse(JSON.stringify(_A)),this.path=U($,this.posX+this.margin[3],-re+VA+this.ctx.prevPageLastElemOffset),_===!1||LA===0){var ye=(LA>FA||LA<IA)&&w.call(this);ye&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],SA,ZA,null).clip().discardPath()),G.call(this,Q,_),ye&&this.pdf.restoreGraphicsState()}this.lineWidth=hA}else this.lineWidth=xA,G.call(this,Q,_),this.lineWidth=hA;this.path=_A},G=function(Q,_){if((Q!=="stroke"||_||!m.call(this))&&(Q==="stroke"||_||!h.call(this))){for(var P,$,W=[],nA=this.path,fA=0;fA<nA.length;fA++){var hA=nA[fA];switch(hA.type){case"begin":W.push({begin:!0});break;case"close":W.push({close:!0});break;case"mt":W.push({start:hA,deltas:[],abs:[]});break;case"lt":var xA=W.length;if(nA[fA-1]&&!isNaN(nA[fA-1].x)&&(P=[hA.x-nA[fA-1].x,hA.y-nA[fA-1].y],xA>0)){for(;xA>=0;xA--)if(W[xA-1].close!==!0&&W[xA-1].begin!==!0){W[xA-1].deltas.push(P),W[xA-1].abs.push(hA);break}}break;case"bct":P=[hA.x1-nA[fA-1].x,hA.y1-nA[fA-1].y,hA.x2-nA[fA-1].x,hA.y2-nA[fA-1].y,hA.x-nA[fA-1].x,hA.y-nA[fA-1].y],W[W.length-1].deltas.push(P);break;case"qct":var EA=nA[fA-1].x+2/3*(hA.x1-nA[fA-1].x),_A=nA[fA-1].y+2/3*(hA.y1-nA[fA-1].y),NA=hA.x+2/3*(hA.x1-hA.x),jA=hA.y+2/3*(hA.y1-hA.y),gA=hA.x,V=hA.y;P=[EA-nA[fA-1].x,_A-nA[fA-1].y,NA-nA[fA-1].x,jA-nA[fA-1].y,gA-nA[fA-1].x,V-nA[fA-1].y],W[W.length-1].deltas.push(P);break;case"arc":W.push({deltas:[],abs:[],arc:!0}),Array.isArray(W[W.length-1].abs)&&W[W.length-1].abs.push(hA)}}$=_?null:Q==="stroke"?"stroke":"fill";for(var JA=!1,KA=0;KA<W.length;KA++)if(W[KA].arc)for(var FA=W[KA].abs,IA=0;IA<FA.length;IA++){var LA=FA[IA];LA.type==="arc"?O.call(this,LA.x,LA.y,LA.radius,LA.startAngle,LA.endAngle,LA.counterclockwise,void 0,_,!JA):M.call(this,LA.x,LA.y),JA=!0}else if(W[KA].close===!0)this.pdf.internal.out("h"),JA=!1;else if(W[KA].begin!==!0){var SA=W[KA].start.x,VA=W[KA].start.y;R.call(this,W[KA].deltas,SA,VA),JA=!0}$&&Z.call(this,$),_&&aA.call(this)}},j=function(Q){var _=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,P=_*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Q-P;case"top":return Q+_-P;case"hanging":return Q+_-2*P;case"middle":return Q+_/2-P;case"ideographic":return Q;case"alphabetic":default:return Q}},K=function(Q){return Q+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};d.prototype.createLinearGradient=function(){var Q=function(){};return Q.colorStops=[],Q.addColorStop=function(_,P){this.colorStops.push([_,P])},Q.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Q.isCanvasGradient=!0,Q},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var O=function(Q,_,P,$,W,nA,fA,hA,xA){for(var EA=tA.call(this,P,$,W,nA),_A=0;_A<EA.length;_A++){var NA=EA[_A];_A===0&&(xA?N.call(this,NA.x1+Q,NA.y1+_):M.call(this,NA.x1+Q,NA.y1+_)),iA.call(this,Q,_,NA.x2,NA.y2,NA.x3,NA.y3,NA.x4,NA.y4)}hA?aA.call(this):Z.call(this,fA)},Z=function(Q){switch(Q){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},aA=function(){this.pdf.clip(),this.pdf.discardPath()},N=function(Q,_){this.pdf.internal.out(e(Q)+" "+r(_)+" m")},S=function(Q){var _;switch(Q.align){case"right":case"end":_="right";break;case"center":_="center";break;case"left":case"start":default:_="left"}var P=this.pdf.getTextDimensions(Q.text),$=j.call(this,Q.y),W=K.call(this,$)-P.h,nA=this.ctx.transform.applyToPoint(new a(Q.x,$)),fA=this.ctx.transform.decompose(),hA=new o;hA=(hA=(hA=hA.multiply(fA.translate)).multiply(fA.skew)).multiply(fA.scale);for(var xA,EA,_A,NA=this.ctx.transform.applyToRectangle(new s(Q.x,$,P.w,P.h)),jA=hA.applyToRectangle(new s(Q.x,W,P.w,P.h)),gA=b.call(this,jA),V=[],JA=0;JA<gA.length;JA+=1)V.indexOf(gA[JA])===-1&&V.push(gA[JA]);if(T(V),this.autoPaging)for(var KA=V[0],FA=V[V.length-1],IA=KA;IA<FA+1;IA++){this.pdf.setPage(IA);var LA=IA===1?this.posY+this.margin[0]:this.margin[0],SA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],VA=this.pdf.internal.pageSize.height-this.margin[2],GA=VA-this.margin[0],ZA=this.pdf.internal.pageSize.width-this.margin[1],re=ZA-this.margin[3],he=IA===1?0:SA+(IA-2)*GA;if(this.ctx.clip_path.length!==0){var ye=this.path;xA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=U(xA,this.posX+this.margin[3],-1*he+LA),G.call(this,"fill",!0),this.path=ye}var zA=U([JSON.parse(JSON.stringify(jA))],this.posX+this.margin[3],-he+LA+this.ctx.prevPageLastElemOffset)[0];Q.scale>=.01&&(EA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(EA*Q.scale),_A=this.lineWidth,this.lineWidth=_A*Q.scale);var ne=this.autoPaging!=="text";if(ne||zA.y+zA.h<=VA){if(ne||zA.y>=LA&&zA.x<=ZA){var TA=ne?Q.text:this.pdf.splitTextToSize(Q.text,Q.maxWidth||ZA-zA.x)[0],Re=U([JSON.parse(JSON.stringify(NA))],this.posX+this.margin[3],-he+LA+this.ctx.prevPageLastElemOffset)[0],ge=ne&&(IA>KA||IA<FA)&&w.call(this);ge&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],re,GA,null).clip().discardPath()),this.pdf.text(TA,Re.x,Re.y,{angle:Q.angle,align:_,renderingMode:Q.renderingMode}),ge&&this.pdf.restoreGraphicsState()}}else zA.y<VA&&(this.ctx.prevPageLastElemOffset+=VA-zA.y);Q.scale>=.01&&(this.pdf.setFontSize(EA),this.lineWidth=_A)}else Q.scale>=.01&&(EA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(EA*Q.scale),_A=this.lineWidth,this.lineWidth=_A*Q.scale),this.pdf.text(Q.text,nA.x+this.posX,nA.y+this.posY,{angle:Q.angle,align:_,renderingMode:Q.renderingMode,maxWidth:Q.maxWidth}),Q.scale>=.01&&(this.pdf.setFontSize(EA),this.lineWidth=_A)},M=function(Q,_,P,$){P=P||0,$=$||0,this.pdf.internal.out(e(Q+P)+" "+r(_+$)+" l")},R=function(Q,_,P){return this.pdf.lines(Q,_,P,null,null)},iA=function(Q,_,P,$,W,nA,fA,hA){this.pdf.internal.out([A(n(P+Q)),A(i($+_)),A(n(W+Q)),A(i(nA+_)),A(n(fA+Q)),A(i(hA+_)),"c"].join(" "))},tA=function(Q,_,P,$){for(var W=2*Math.PI,nA=Math.PI/2;_>P;)_-=W;var fA=Math.abs(P-_);fA<W&&$&&(fA=W-fA);for(var hA=[],xA=$?-1:1,EA=_;fA>1e-5;){var _A=EA+xA*Math.min(fA,nA);hA.push(lA.call(this,Q,EA,_A)),fA-=Math.abs(_A-EA),EA=_A}return hA},lA=function(Q,_,P){var $=(P-_)/2,W=Q*Math.cos($),nA=Q*Math.sin($),fA=W,hA=-nA,xA=fA*fA+hA*hA,EA=xA+fA*W+hA*nA,_A=4/3*(Math.sqrt(2*xA*EA)-EA)/(fA*nA-hA*W),NA=fA-_A*hA,jA=hA+_A*fA,gA=NA,V=-jA,JA=$+_,KA=Math.cos(JA),FA=Math.sin(JA);return{x1:Q*Math.cos(_),y1:Q*Math.sin(_),x2:NA*KA-jA*FA,y2:NA*FA+jA*KA,x3:gA*KA-V*FA,y3:gA*FA+V*KA,x4:Q*Math.cos(P),y4:Q*Math.sin(P)}},eA=function(Q){return 180*Q/Math.PI},cA=function(Q,_,P,$,W,nA){var fA=Q+.5*(P-Q),hA=_+.5*($-_),xA=W+.5*(P-W),EA=nA+.5*($-nA),_A=Math.min(Q,W,fA,xA),NA=Math.max(Q,W,fA,xA),jA=Math.min(_,nA,hA,EA),gA=Math.max(_,nA,hA,EA);return new s(_A,jA,NA-_A,gA-jA)},sA=function(Q,_,P,$,W,nA,fA,hA){var xA,EA,_A,NA,jA,gA,V,JA,KA,FA,IA,LA,SA,VA,GA=P-Q,ZA=$-_,re=W-P,he=nA-$,ye=fA-W,zA=hA-nA;for(EA=0;EA<41;EA++)KA=(V=(_A=Q+(xA=EA/40)*GA)+xA*((jA=P+xA*re)-_A))+xA*(jA+xA*(W+xA*ye-jA)-V),FA=(JA=(NA=_+xA*ZA)+xA*((gA=$+xA*he)-NA))+xA*(gA+xA*(nA+xA*zA-gA)-JA),EA==0?(IA=KA,LA=FA,SA=KA,VA=FA):(IA=Math.min(IA,KA),LA=Math.min(LA,FA),SA=Math.max(SA,KA),VA=Math.max(VA,FA));return new s(Math.round(IA),Math.round(LA),Math.round(SA-IA),Math.round(VA-LA))},bA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Q,_,P=(Q=this.ctx.lineDash,_=this.ctx.lineDashOffset,JSON.stringify({lineDash:Q,lineDashOffset:_}));this.prevLineDash!==P&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=P)}}})(te.API),function(t){var A=function(i){var a,s,o,l,f,d,p,h,m,w;for(s=[],o=0,l=(i+=a="\0\0\0\0".slice(i.length%4||4)).length;l>o;o+=4)(f=(i.charCodeAt(o)<<24)+(i.charCodeAt(o+1)<<16)+(i.charCodeAt(o+2)<<8)+i.charCodeAt(o+3))!==0?(d=(f=((f=((f=((f=(f-(w=f%85))/85)-(m=f%85))/85)-(h=f%85))/85)-(p=f%85))/85)%85,s.push(d+33,p+33,h+33,m+33,w+33)):s.push(122);return function(b,y){for(var U=y;U>0;U--)b.pop()}(s,a.length),String.fromCharCode.apply(String,s)+"~>"},e=function(i){var a,s,o,l,f,d=String,p="length",h=255,m="charCodeAt",w="slice",b="replace";for(i[w](-2),i=i[w](0,-2)[b](/\s/g,"")[b]("z","!!!!!"),o=[],l=0,f=(i+=a="uuuuu"[w](i[p]%5||5))[p];f>l;l+=5)s=52200625*(i[m](l)-33)+614125*(i[m](l+1)-33)+7225*(i[m](l+2)-33)+85*(i[m](l+3)-33)+(i[m](l+4)-33),o.push(h&s>>24,h&s>>16,h&s>>8,h&s);return function(y,U){for(var T=U;T>0;T--)y.pop()}(o,a[p]),d.fromCharCode.apply(d,o)},r=function(i){var a=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((i=i.replace(/\s/g,"")).indexOf(">")!==-1&&(i=i.substr(0,i.indexOf(">"))),i.length%2&&(i+="0"),a.test(i)===!1)return"";for(var s="",o=0;o<i.length;o+=2)s+=String.fromCharCode("0x"+(i[o]+i[o+1]));return s},n=function(i){for(var a=new Uint8Array(i.length),s=i.length;s--;)a[s]=i.charCodeAt(s);return i=(a=$f(a)).reduce(function(o,l){return o+String.fromCharCode(l)},"")};t.processDataByFilters=function(i,a){var s=0,o=i||"",l=[];for(typeof(a=a||[])=="string"&&(a=[a]),s=0;s<a.length;s+=1)switch(a[s]){case"ASCII85Decode":case"/ASCII85Decode":o=e(o),l.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":o=A(o),l.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":o=r(o),l.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":o=o.split("").map(function(f){return("0"+f.charCodeAt().toString(16)).slice(-2)}).join("")+">",l.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":o=n(o),l.push("/FlateDecode");break;default:throw new Error('The filter: "'+a[s]+'" is not implemented')}return{data:o,reverseChain:l.reverse().join(" ")}}}(te.API),function(t){t.loadFile=function(A,e,r){return function(n,i,a){i=i!==!1,a=typeof a=="function"?a:function(){};var s=void 0;try{s=function(o,l,f){var d=new XMLHttpRequest,p=0,h=function(m){var w=m.length,b=[],y=String.fromCharCode;for(p=0;p<w;p+=1)b.push(y(255&m.charCodeAt(p)));return b.join("")};if(d.open("GET",o,!l),d.overrideMimeType("text/plain; charset=x-user-defined"),l===!1&&(d.onload=function(){d.status===200?f(h(this.responseText)):f(void 0)}),d.send(null),l&&d.status===200)return h(d.responseText)}(n,i,a)}catch{}return s}(A,e,r)},t.loadImageFile=t.loadFile}(te.API),function(t){function A(){return(ee.html2canvas?Promise.resolve(ee.html2canvas):Promise.resolve().then(()=>tQ)).catch(function(a){return Promise.reject(new Error("Could not load html2canvas: "+a))}).then(function(a){return a.default?a.default:a})}function e(){return(ee.DOMPurify?Promise.resolve(ee.DOMPurify):Promise.resolve().then(()=>i3)).catch(function(a){return Promise.reject(new Error("Could not load dompurify: "+a))}).then(function(a){return a.default?a.default:a})}var r=function(a){var s=Qe(a);return s==="undefined"?"undefined":s==="string"||a instanceof String?"string":s==="number"||a instanceof Number?"number":s==="function"||a instanceof Function?"function":a&&a.constructor===Array?"array":a&&a.nodeType===1?"element":s==="object"?"object":"unknown"},n=function(a,s){var o=document.createElement(a);for(var l in s.className&&(o.className=s.className),s.innerHTML&&s.dompurify&&(o.innerHTML=s.dompurify.sanitize(s.innerHTML)),s.style)o.style[l]=s.style[l];return o},i=function a(s){var o=Object.assign(a.convert(Promise.resolve()),JSON.parse(JSON.stringify(a.template))),l=a.convert(Promise.resolve(),o);return l=(l=l.setProgress(1,a,1,[a])).set(s)};(i.prototype=Object.create(Promise.prototype)).constructor=i,i.convert=function(a,s){return a.__proto__=s||i.prototype,a},i.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"}},i.prototype.from=function(a,s){return this.then(function(){switch(s=s||function(o){switch(r(o)){case"string":return"string";case"element":return o.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(a)){case"string":return this.then(e).then(function(o){return this.set({src:n("div",{innerHTML:a,dompurify:o})})});case"element":return this.set({src:a});case"canvas":return this.set({canvas:a});case"img":return this.set({img:a});default:return this.error("Unknown source type.")}})},i.prototype.to=function(a){switch(a){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.")}},i.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 a={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||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},s=function o(l,f){for(var d=l.nodeType===3?document.createTextNode(l.nodeValue):l.cloneNode(!1),p=l.firstChild;p;p=p.nextSibling)f!==!0&&p.nodeType===1&&p.nodeName==="SCRIPT"||d.appendChild(o(p,f));return l.nodeType===1&&(l.nodeName==="CANVAS"?(d.width=l.width,d.height=l.height,d.getContext("2d").drawImage(l,0,0)):l.nodeName!=="TEXTAREA"&&l.nodeName!=="SELECT"||(d.value=l.value),d.addEventListener("load",function(){d.scrollTop=l.scrollTop,d.scrollLeft=l.scrollLeft},!0)),d}(this.prop.src,this.opt.html2canvas.javascriptEnabled);s.tagName==="BODY"&&(a.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=n("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=n("div",{className:"html2pdf__container",style:a}),this.prop.container.appendChild(s),this.prop.container.firstChild.appendChild(n("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"})},i.prototype.toCanvas=function(){var a=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(a).then(A).then(function(s){var o=Object.assign({},this.opt.html2canvas);return delete o.onrendered,s(this.prop.container,o)}).then(function(s){(this.opt.html2canvas.onrendered||function(){})(s),this.prop.canvas=s,document.body.removeChild(this.prop.overlay)})},i.prototype.toContext2d=function(){var a=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(a).then(A).then(function(s){var o=this.opt.jsPDF,l=this.opt.fontFaces,f=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,d=Object.assign({async:!0,allowTaint:!0,scale:f,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 d.onrendered,o.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,o.context2d.posX=this.opt.x,o.context2d.posY=this.opt.y,o.context2d.margin=this.opt.margin,o.context2d.fontFaces=l,l)for(var p=0;p<l.length;++p){var h=l[p],m=h.src.find(function(w){return w.format==="truetype"});m&&o.addFont(m.url,h.ref.name,h.ref.style)}return d.windowHeight=d.windowHeight||0,d.windowHeight=d.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):d.windowHeight,o.context2d.save(!0),s(this.prop.container,d)}).then(function(s){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(s),this.prop.canvas=s,document.body.removeChild(this.prop.overlay)})},i.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var a=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=a})},i.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},i.prototype.output=function(a,s,o){return(o=o||"pdf").toLowerCase()==="img"||o.toLowerCase()==="image"?this.outputImg(a,s):this.outputPdf(a,s)},i.prototype.outputPdf=function(a,s){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(a,s)})},i.prototype.outputImg=function(a){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(a){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 "'+a+'" is not supported.'}})},i.prototype.save=function(a){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(a?{filename:a}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},i.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},i.prototype.set=function(a){if(r(a)!=="object")return this;var s=Object.keys(a||{}).map(function(o){if(o in i.template.prop)return function(){this.prop[o]=a[o]};switch(o){case"margin":return this.setMargin.bind(this,a.margin);case"jsPDF":return function(){return this.opt.jsPDF=a.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,a.pageSize);default:return function(){this.opt[o]=a[o]}}},this);return this.then(function(){return this.thenList(s)})},i.prototype.get=function(a,s){return this.then(function(){var o=a in i.template.prop?this.prop[a]:this.opt[a];return s?s(o):o})},i.prototype.setMargin=function(a){return this.then(function(){switch(r(a)){case"number":a=[a,a,a,a];case"array":if(a.length===2&&(a=[a[0],a[1],a[0],a[1]]),a.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=a}).then(this.setPageSize)},i.prototype.setPageSize=function(a){function s(o,l){return Math.floor(o*l/72*96)}return this.then(function(){(a=a||te.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(a.inner={width:a.width-this.opt.margin[1]-this.opt.margin[3],height:a.height-this.opt.margin[0]-this.opt.margin[2]},a.inner.px={width:s(a.inner.width,a.k),height:s(a.inner.height,a.k)},a.inner.ratio=a.inner.height/a.inner.width),this.prop.pageSize=a})},i.prototype.setProgress=function(a,s,o,l){return a!=null&&(this.progress.val=a),s!=null&&(this.progress.state=s),o!=null&&(this.progress.n=o),l!=null&&(this.progress.stack=l),this.progress.ratio=this.progress.val/this.progress.state,this},i.prototype.updateProgress=function(a,s,o,l){return this.setProgress(a?this.progress.val+a:null,s||null,o?this.progress.n+o:null,l?this.progress.stack.concat(l):null)},i.prototype.then=function(a,s){var o=this;return this.thenCore(a,s,function(l,f){return o.updateProgress(null,null,1,[l]),Promise.prototype.then.call(this,function(d){return o.updateProgress(null,l),d}).then(l,f).then(function(d){return o.updateProgress(1),d})})},i.prototype.thenCore=function(a,s,o){o=o||Promise.prototype.then,a&&(a=a.bind(this)),s&&(s=s.bind(this));var l=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:i.convert(Object.assign({},this),Promise.prototype),f=o.call(l,a,s);return i.convert(f,this.__proto__)},i.prototype.thenExternal=function(a,s){return Promise.prototype.then.call(this,a,s)},i.prototype.thenList=function(a){var s=this;return a.forEach(function(o){s=s.thenCore(o)}),s},i.prototype.catch=function(a){a&&(a=a.bind(this));var s=Promise.prototype.catch.call(this,a);return i.convert(s,this)},i.prototype.catchExternal=function(a){return Promise.prototype.catch.call(this,a)},i.prototype.error=function(a){return this.then(function(){throw new Error(a)})},i.prototype.using=i.prototype.set,i.prototype.saveAs=i.prototype.save,i.prototype.export=i.prototype.output,i.prototype.run=i.prototype.then,te.getPageSize=function(a,s,o){if(Qe(a)==="object"){var l=a;a=l.orientation,s=l.unit||s,o=l.format||o}s=s||"mm",o=o||"a4",a=(""+(a||"P")).toLowerCase();var f,d=(""+o).toLowerCase(),p={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(s){case"pt":f=1;break;case"mm":f=72/25.4;break;case"cm":f=72/2.54;break;case"in":f=72;break;case"px":f=.75;break;case"pc":case"em":f=12;break;case"ex":f=6;break;default:throw"Invalid unit: "+s}var h,m=0,w=0;if(p.hasOwnProperty(d))m=p[d][1]/f,w=p[d][0]/f;else try{m=o[1],w=o[0]}catch{throw new Error("Invalid format: "+o)}if(a==="p"||a==="portrait")a="p",w>m&&(h=w,w=m,m=h);else{if(a!=="l"&&a!=="landscape")throw"Invalid orientation: "+a;a="l",m>w&&(h=w,w=m,m=h)}return{width:w,height:m,unit:s,k:f,orientation:a}},t.html=function(a,s){(s=s||{}).callback=s.callback||function(){},s.html2canvas=s.html2canvas||{},s.html2canvas.canvas=s.html2canvas.canvas||this.canvas,s.jsPDF=s.jsPDF||this,s.fontFaces=s.fontFaces?s.fontFaces.map(rh):null;var o=new i(s);return s.worker?o:o.from(a).doCallback()}}(te.API),te.API.addJS=function(t){return A2=t,this.internal.events.subscribe("postPutResources",function(){Wu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Wu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Z1=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+A2+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Wu!==void 0&&Z1!==void 0&&this.internal.out("/Names <</JavaScript "+Wu+" 0 R>>")}),this},function(t){var A;t.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),i=0;i<n.length;i++){var a=n[i],s=r.exec(a);if(s!=null){var o=s[1];e.internal.newObjectDeferredBegin(o,!1)}e.internal.write(a)}if(this.outline.createNamedDestinations){var l=this.internal.pages.length,f=[];for(i=0;i<l;i++){var d=e.internal.newObject();f.push(d);var p=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+p.objId+" 0 R /XYZ null null null]>> endobj")}var h=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<f.length;i++)e.internal.write("(page_"+(i+1)+")"+f[i]+" 0 R");e.internal.write(" ] >>","endobj"),A=e.internal.newObject(),e.internal.write("<< /Dests "+h+" 0 R"),e.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+A+" 0 R"))}]),t.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,i){var a={title:n,options:i,children:[]};return r==null&&(r=this.root),r.children.push(a),a},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(r){r.id=e.internal.newObjectDeferred();for(var n=0;n<r.children.length;n++)this.genIds_r(r.children[n])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<r.children.length;i++){var a=r.children[i];this.objStart(a),this.line("/Title "+this.makeString(a.title)),this.line("/Parent "+this.makeRef(r)),i>0&&this.line("/Prev "+this.makeRef(r.children[i-1])),i<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[i+1])),a.children.length>0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1])));var s=this.count=this.count_r({count:0},a);if(s>0&&this.line("/Count "+s),a.options&&a.options.pageNumber){var o=e.internal.getPageInfo(a.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var l=0;l<r.children.length;l++)this.renderItems(r.children[l])},e.outline.line=function(r){this.ctx.val+=r+`\r
`},e.outline.makeRef=function(r){return r.id+" 0 R"},e.outline.makeString=function(r){return"("+e.internal.pdfEscape(r)+")"},e.outline.objStart=function(r){this.ctx.val+=`\r
`+r.id+` 0 obj\r
<<\r
`},e.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},e.outline.count_r=function(r,n){for(var i=0;i<n.children.length;i++)r.count++,this.count_r(r,n.children[i]);return r.count}}])}(te.API),function(t){var A=[192,193,194,195,196,197,198,199];t.processJPEG=function(e,r,n,i,a,s){var o,l=this.decode.DCT_DECODE,f=null;if(typeof e=="string"||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=a||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(o=function(d){for(var p,h=256*d.charCodeAt(4)+d.charCodeAt(5),m=d.length,w={width:0,height:0,numcomponents:1},b=4;b<m;b+=2){if(b+=h,A.indexOf(d.charCodeAt(b+1))!==-1){p=256*d.charCodeAt(b+5)+d.charCodeAt(b+6),w={width:256*d.charCodeAt(b+7)+d.charCodeAt(b+8),height:p,numcomponents:d.charCodeAt(b+9)};break}h=256*d.charCodeAt(b+2)+d.charCodeAt(b+3)}return w}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}f={data:e,width:o.width,height:o.height,colorSpace:s,bitsPerComponent:8,filter:l,index:r,alias:n}}return f}}(te.API);var Ia,zu,e2,t2,r2,PQ=function(){var t,A,e;function r(i){var a,s,o,l,f,d,p,h,m,w,b,y,U,T;for(this.data=i,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},d=null;;){switch(a=this.readUInt32(),m=function(){var k,G;for(G=[],k=0;k<4;++k)G.push(String.fromCharCode(this.data[this.pos++]));return G}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(a);break;case"fcTL":d&&this.animation.frames.push(d),this.pos+=4,d={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},f=this.readUInt16(),l=this.readUInt16()||100,d.delay=1e3*f/l,d.disposeOp=this.data[this.pos++],d.blendOp=this.data[this.pos++],d.data=[];break;case"IDAT":case"fdAT":for(m==="fdAT"&&(this.pos+=4,a-=4),i=d?.data||this.imgData,y=0;0<=a?y<a:y>a;0<=a?++y:--y)i.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(o=this.palette.length/3,this.transparency.indexed=this.read(a),this.transparency.indexed.length>o)throw new Error("More transparent colors than palette size");if((w=o-this.transparency.indexed.length)>0)for(U=0;0<=w?U<w:U>w;0<=w?++U:--U)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(a)[0];break;case 2:this.transparency.rgb=this.read(a)}break;case"tEXt":p=(b=this.read(a)).indexOf(0),h=String.fromCharCode.apply(String,b.slice(0,p)),this.text[h]=String.fromCharCode.apply(String,b.slice(p+1));break;case"IEND":return d&&this.animation.frames.push(d),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(T=this.colorType)===4||T===6,s=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*s,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=a}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.prototype.read=function(i){var a,s;for(s=[],a=0;0<=i?a<i:a>i;0<=i?++a:--a)s.push(this.data[this.pos++]);return s},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(i){var a=this.pixelBitlength/8,s=new Uint8Array(this.width*this.height*a),o=0,l=this;if(i==null&&(i=this.imgData),i.length===0)return new Uint8Array(0);function f(d,p,h,m){var w,b,y,U,T,k,G,j,K,O,Z,aA,N,S,M,R,iA,tA,lA,eA,cA,sA=Math.ceil((l.width-d)/h),bA=Math.ceil((l.height-p)/m),Q=l.width==sA&&l.height==bA;for(S=a*sA,aA=Q?s:new Uint8Array(S*bA),k=i.length,N=0,b=0;N<bA&&o<k;){switch(i[o++]){case 0:for(U=iA=0;iA<S;U=iA+=1)aA[b++]=i[o++];break;case 1:for(U=tA=0;tA<S;U=tA+=1)w=i[o++],T=U<a?0:aA[b-a],aA[b++]=(w+T)%256;break;case 2:for(U=lA=0;lA<S;U=lA+=1)w=i[o++],y=(U-U%a)/a,M=N&&aA[(N-1)*S+y*a+U%a],aA[b++]=(M+w)%256;break;case 3:for(U=eA=0;eA<S;U=eA+=1)w=i[o++],y=(U-U%a)/a,T=U<a?0:aA[b-a],M=N&&aA[(N-1)*S+y*a+U%a],aA[b++]=(w+Math.floor((T+M)/2))%256;break;case 4:for(U=cA=0;cA<S;U=cA+=1)w=i[o++],y=(U-U%a)/a,T=U<a?0:aA[b-a],N===0?M=R=0:(M=aA[(N-1)*S+y*a+U%a],R=y&&aA[(N-1)*S+(y-1)*a+U%a]),G=T+M-R,j=Math.abs(G-T),O=Math.abs(G-M),Z=Math.abs(G-R),K=j<=O&&j<=Z?T:O<=Z?M:R,aA[b++]=(w+K)%256;break;default:throw new Error("Invalid filter algorithm: "+i[o-1])}if(!Q){var _=((p+N*m)*l.width+d)*a,P=N*S;for(U=0;U<sA;U+=1){for(var $=0;$<a;$+=1)s[_++]=aA[P++];_+=(h-1)*a}}N++}}return i=vQ(i),l.interlaceMethod==1?(f(0,0,8,8),f(4,0,8,8),f(0,4,4,8),f(2,0,4,4),f(0,2,2,4),f(1,0,2,2),f(0,1,1,2)):f(0,0,1,1),s},r.prototype.decodePalette=function(){var i,a,s,o,l,f,d,p,h;for(s=this.palette,f=this.transparency.indexed||[],l=new Uint8Array((f.length||0)+s.length),o=0,i=0,a=d=0,p=s.length;d<p;a=d+=3)l[o++]=s[a],l[o++]=s[a+1],l[o++]=s[a+2],l[o++]=(h=f[i++])!=null?h:255;return l},r.prototype.copyToImageData=function(i,a){var s,o,l,f,d,p,h,m,w,b,y;if(o=this.colors,w=null,s=this.hasAlphaChannel,this.palette.length&&(w=(y=this._decodedPalette)!=null?y:this._decodedPalette=this.decodePalette(),o=4,s=!0),m=(l=i.data||i).length,d=w||a,f=p=0,o===1)for(;f<m;)h=w?4*a[f/4]:p,b=d[h++],l[f++]=b,l[f++]=b,l[f++]=b,l[f++]=s?d[h++]:255,p=h;else for(;f<m;)h=w?4*a[f/4]:p,l[f++]=d[h++],l[f++]=d[h++],l[f++]=d[h++],l[f++]=s?d[h++]:255,p=h},r.prototype.decode=function(){var i;return i=new Uint8Array(this.width*this.height*4),this.copyToImageData(i,this.decodePixels()),i};var n=function(){if(Object.prototype.toString.call(ee)==="[object Window]"){try{A=ee.document.createElement("canvas"),e=A.getContext("2d")}catch{return!1}return!0}return!1};return n(),t=function(i){var a;if(n()===!0)return e.width=i.width,e.height=i.height,e.clearRect(0,0,i.width,i.height),e.putImageData(i,0,0),(a=new Image).src=A.toDataURL(),a;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(i){var a,s,o,l,f,d,p,h;if(this.animation){for(h=[],s=f=0,d=(p=this.animation.frames).length;f<d;s=++f)a=p[s],o=i.createImageData(a.width,a.height),l=this.decodePixels(new Uint8Array(a.data)),this.copyToImageData(o,l),a.imageData=o,h.push(a.image=t(o));return h}},r.prototype.renderFrame=function(i,a){var s,o,l;return s=(o=this.animation.frames)[a],l=o[a-1],a===0&&i.clearRect(0,0,this.width,this.height),l?.disposeOp===1?i.clearRect(l.xOffset,l.yOffset,l.width,l.height):l?.disposeOp===2&&i.putImageData(l.imageData,l.xOffset,l.yOffset),s.blendOp===0&&i.clearRect(s.xOffset,s.yOffset,s.width,s.height),i.drawImage(s.image,s.xOffset,s.yOffset)},r.prototype.animate=function(i){var a,s,o,l,f,d,p=this;return s=0,d=this.animation,l=d.numFrames,o=d.frames,f=d.numPlays,(a=function(){var h,m;if(h=s++%l,m=o[h],p.renderFrame(i,h),l>1&&s/l<f)return p.animation._timeout=setTimeout(a,m.delay)})()},r.prototype.stopAnimation=function(){var i;return clearTimeout((i=this.animation)!=null?i._timeout:void 0)},r.prototype.render=function(i){var a,s;return i._png&&i._png.stopAnimation(),i._png=this,i.width=this.width,i.height=this.height,a=i.getContext("2d"),this.animation?(this.decodeFrames(a),this.animate(a)):(s=a.createImageData(this.width,this.height),this.copyToImageData(s,this.decodePixels()),a.putImageData(s,0,0))},r}();/**
* @license
*
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* ====================================================================
*//**
* @license
* (c) Dean McNamee <dean@gmail.com>, 2013.
*
* https://github.com/deanm/omggif
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
* including animation and compression. It does not rely on any specific
* underlying system, so should run in the browser, Node, or Plask.
*/function DQ(t){var A=0;if(t[A++]!==71||t[A++]!==73||t[A++]!==70||t[A++]!==56||(t[A++]+1&253)!=56||t[A++]!==97)throw new Error("Invalid GIF 87a/89a header.");var e=t[A++]|t[A++]<<8,r=t[A++]|t[A++]<<8,n=t[A++],i=n>>7,a=1<<(7&n)+1;t[A++],t[A++];var s=null,o=null;i&&(s=A,o=a,A+=3*a);var l=!0,f=[],d=0,p=null,h=0,m=null;for(this.width=e,this.height=r;l&&A<t.length;)switch(t[A++]){case 33:switch(t[A++]){case 255:if(t[A]!==11||t[A+1]==78&&t[A+2]==69&&t[A+3]==84&&t[A+4]==83&&t[A+5]==67&&t[A+6]==65&&t[A+7]==80&&t[A+8]==69&&t[A+9]==50&&t[A+10]==46&&t[A+11]==48&&t[A+12]==3&&t[A+13]==1&&t[A+16]==0)A+=14,m=t[A++]|t[A++]<<8,A++;else for(A+=12;;){if(!((N=t[A++])>=0))throw Error("Invalid block size");if(N===0)break;A+=N}break;case 249:if(t[A++]!==4||t[A+4]!==0)throw new Error("Invalid graphics extension block.");var w=t[A++];d=t[A++]|t[A++]<<8,p=t[A++],!(1&w)&&(p=null),h=w>>2&7,A++;break;case 254:for(;;){if(!((N=t[A++])>=0))throw Error("Invalid block size");if(N===0)break;A+=N}break;default:throw new Error("Unknown graphic control label: 0x"+t[A-1].toString(16))}break;case 44:var b=t[A++]|t[A++]<<8,y=t[A++]|t[A++]<<8,U=t[A++]|t[A++]<<8,T=t[A++]|t[A++]<<8,k=t[A++],G=k>>6&1,j=1<<(7&k)+1,K=s,O=o,Z=!1;k>>7&&(Z=!0,K=A,O=j,A+=3*j);var aA=A;for(A++;;){var N;if(!((N=t[A++])>=0))throw Error("Invalid block size");if(N===0)break;A+=N}f.push({x:b,y,width:U,height:T,has_local_palette:Z,palette_offset:K,palette_size:O,data_offset:aA,data_length:A-aA,transparent_index:p,interlaced:!!G,delay:d,disposal:h});break;case 59:l=!1;break;default:throw new Error("Unknown gif block: 0x"+t[A-1].toString(16))}this.numFrames=function(){return f.length},this.loopCount=function(){return m},this.frameInfo=function(S){if(S<0||S>=f.length)throw new Error("Frame index out of range.");return f[S]},this.decodeAndBlitFrameBGRA=function(S,M){var R=this.frameInfo(S),iA=R.width*R.height,tA=new Uint8Array(iA);n2(t,R.data_offset,tA,iA);var lA=R.palette_offset,eA=R.transparent_index;eA===null&&(eA=256);var cA=R.width,sA=e-cA,bA=cA,Q=4*(R.y*e+R.x),_=4*((R.y+R.height)*e+R.x),P=Q,$=4*sA;R.interlaced===!0&&($+=4*e*7);for(var W=8,nA=0,fA=tA.length;nA<fA;++nA){var hA=tA[nA];if(bA===0&&(bA=cA,(P+=$)>=_&&($=4*sA+4*e*(W-1),P=Q+(cA+sA)*(W<<1),W>>=1)),hA===eA)P+=4;else{var xA=t[lA+3*hA],EA=t[lA+3*hA+1],_A=t[lA+3*hA+2];M[P++]=_A,M[P++]=EA,M[P++]=xA,M[P++]=255}--bA}},this.decodeAndBlitFrameRGBA=function(S,M){var R=this.frameInfo(S),iA=R.width*R.height,tA=new Uint8Array(iA);n2(t,R.data_offset,tA,iA);var lA=R.palette_offset,eA=R.transparent_index;eA===null&&(eA=256);var cA=R.width,sA=e-cA,bA=cA,Q=4*(R.y*e+R.x),_=4*((R.y+R.height)*e+R.x),P=Q,$=4*sA;R.interlaced===!0&&($+=4*e*7);for(var W=8,nA=0,fA=tA.length;nA<fA;++nA){var hA=tA[nA];if(bA===0&&(bA=cA,(P+=$)>=_&&($=4*sA+4*e*(W-1),P=Q+(cA+sA)*(W<<1),W>>=1)),hA===eA)P+=4;else{var xA=t[lA+3*hA],EA=t[lA+3*hA+1],_A=t[lA+3*hA+2];M[P++]=xA,M[P++]=EA,M[P++]=_A,M[P++]=255}--bA}}}function n2(t,A,e,r){for(var n=t[A++],i=1<<n,a=i+1,s=a+1,o=n+1,l=(1<<o)-1,f=0,d=0,p=0,h=t[A++],m=new Int32Array(4096),w=null;;){for(;f<16&&h!==0;)d|=t[A++]<<f,f+=8,h===1?h=t[A++]:--h;if(f<o)break;var b=d&l;if(d>>=o,f-=o,b!==i){if(b===a)break;for(var y=b<s?b:w,U=0,T=y;T>i;)T=m[T]>>8,++U;var k=T;if(p+U+(y!==b?1:0)>r)return void _e.log("Warning, gif stream longer than expected.");e[p++]=k;var G=p+=U;for(y!==b&&(e[p++]=k),T=y;U--;)T=m[T],e[--G]=255&T,T>>=8;w!==null&&s<4096&&(m[s++]=w<<8|k,s>=l+1&&o<12&&(++o,l=l<<1|1)),w=b}else s=a+1,l=(1<<(o=n+1))-1,w=null}return p!==r&&_e.log("Warning, gif stream shorter than expected."),e}/**
* @license
Copyright (c) 2008, Adobe Systems Incorporated
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Adobe Systems Incorporated nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/function ih(t){var A,e,r,n,i,a=Math.floor,s=new Array(64),o=new Array(64),l=new Array(64),f=new Array(64),d=new Array(65535),p=new Array(65535),h=new Array(64),m=new Array(64),w=[],b=0,y=7,U=new Array(64),T=new Array(64),k=new Array(64),G=new Array(256),j=new Array(2048),K=[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],O=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Z=[0,1,2,3,4,5,6,7,8,9,10,11],aA=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],N=[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],S=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],M=[0,1,2,3,4,5,6,7,8,9,10,11],R=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],iA=[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 tA(Q,_){for(var P=0,$=0,W=new Array,nA=1;nA<=16;nA++){for(var fA=1;fA<=Q[nA];fA++)W[_[$]]=[],W[_[$]][0]=P,W[_[$]][1]=nA,$++,P++;P*=2}return W}function lA(Q){for(var _=Q[0],P=Q[1]-1;P>=0;)_&1<<P&&(b|=1<<y),P--,--y<0&&(b==255?(eA(255),eA(0)):eA(b),y=7,b=0)}function eA(Q){w.push(Q)}function cA(Q){eA(Q>>8&255),eA(255&Q)}function sA(Q,_,P,$,W){for(var nA,fA=W[0],hA=W[240],xA=function(FA,IA){var LA,SA,VA,GA,ZA,re,he,ye,zA,ne,TA=0;for(zA=0;zA<8;++zA){LA=FA[TA],SA=FA[TA+1],VA=FA[TA+2],GA=FA[TA+3],ZA=FA[TA+4],re=FA[TA+5],he=FA[TA+6];var Re=LA+(ye=FA[TA+7]),ge=LA-ye,Ge=SA+he,pe=SA-he,Ue=VA+re,It=VA-re,we=GA+ZA,pt=GA-ZA,Se=Re+we,_t=Re-we,ue=Ge+Ue,Le=Ge-Ue;FA[TA]=Se+ue,FA[TA+4]=Se-ue;var ie=.707106781*(Le+_t);FA[TA+2]=_t+ie,FA[TA+6]=_t-ie;var be=.382683433*((Se=pt+It)-(Le=pe+ge)),Xr=.5411961*Se+be,vt=1.306562965*Le+be,vr=.707106781*(ue=It+pe),Ir=ge+vr,XA=ge-vr;FA[TA+5]=XA+Xr,FA[TA+3]=XA-Xr,FA[TA+1]=Ir+vt,FA[TA+7]=Ir-vt,TA+=8}for(TA=0,zA=0;zA<8;++zA){LA=FA[TA],SA=FA[TA+8],VA=FA[TA+16],GA=FA[TA+24],ZA=FA[TA+32],re=FA[TA+40],he=FA[TA+48];var er=LA+(ye=FA[TA+56]),Sr=LA-ye,$e=SA+he,qe=SA-he,We=VA+re,$t=VA-re,fi=GA+ZA,tr=GA-ZA,ut=er+fi,or=er-fi,ur=$e+We,Br=$e-We;FA[TA]=ut+ur,FA[TA+32]=ut-ur;var rr=.707106781*(Br+or);FA[TA+16]=or+rr,FA[TA+48]=or-rr;var Lr=.382683433*((ut=tr+$t)-(Br=qe+Sr)),qA=.5411961*ut+Lr,Y=1.306562965*Br+Lr,QA=.707106781*(ur=$t+qe),OA=Sr+QA,ve=Sr-QA;FA[TA+40]=ve+qA,FA[TA+24]=ve-qA,FA[TA+8]=OA+Y,FA[TA+56]=OA-Y,TA++}for(zA=0;zA<64;++zA)ne=FA[zA]*IA[zA],h[zA]=ne>0?ne+.5|0:ne-.5|0;return h}(Q,_),EA=0;EA<64;++EA)m[K[EA]]=xA[EA];var _A=m[0]-P;P=m[0],_A==0?lA($[0]):(lA($[p[nA=32767+_A]]),lA(d[nA]));for(var NA=63;NA>0&&m[NA]==0;)NA--;if(NA==0)return lA(fA),P;for(var jA,gA=1;gA<=NA;){for(var V=gA;m[gA]==0&&gA<=NA;)++gA;var JA=gA-V;if(JA>=16){jA=JA>>4;for(var KA=1;KA<=jA;++KA)lA(hA);JA&=15}nA=32767+m[gA],lA(W[(JA<<4)+p[nA]]),lA(d[nA]),gA++}return NA!=63&&lA(fA),P}function bA(Q){Q=Math.min(Math.max(Q,1),100),i!=Q&&(function(_){for(var P=[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],$=0;$<64;$++){var W=a((P[$]*_+50)/100);W=Math.min(Math.max(W,1),255),s[K[$]]=W}for(var nA=[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],fA=0;fA<64;fA++){var hA=a((nA[fA]*_+50)/100);hA=Math.min(Math.max(hA,1),255),o[K[fA]]=hA}for(var xA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],EA=0,_A=0;_A<8;_A++)for(var NA=0;NA<8;NA++)l[EA]=1/(s[K[EA]]*xA[_A]*xA[NA]*8),f[EA]=1/(o[K[EA]]*xA[_A]*xA[NA]*8),EA++}(Q<50?Math.floor(5e3/Q):Math.floor(200-2*Q)),i=Q)}this.encode=function(Q,_){_&&bA(_),w=new Array,b=0,y=7,cA(65496),cA(65504),cA(16),eA(74),eA(70),eA(73),eA(70),eA(0),eA(1),eA(1),eA(0),cA(1),cA(1),eA(0),eA(0),function(){cA(65499),cA(132),eA(0);for(var SA=0;SA<64;SA++)eA(s[SA]);eA(1);for(var VA=0;VA<64;VA++)eA(o[VA])}(),function(SA,VA){cA(65472),cA(17),eA(8),cA(VA),cA(SA),eA(3),eA(1),eA(17),eA(0),eA(2),eA(17),eA(1),eA(3),eA(17),eA(1)}(Q.width,Q.height),function(){cA(65476),cA(418),eA(0);for(var SA=0;SA<16;SA++)eA(O[SA+1]);for(var VA=0;VA<=11;VA++)eA(Z[VA]);eA(16);for(var GA=0;GA<16;GA++)eA(aA[GA+1]);for(var ZA=0;ZA<=161;ZA++)eA(N[ZA]);eA(1);for(var re=0;re<16;re++)eA(S[re+1]);for(var he=0;he<=11;he++)eA(M[he]);eA(17);for(var ye=0;ye<16;ye++)eA(R[ye+1]);for(var zA=0;zA<=161;zA++)eA(iA[zA])}(),cA(65498),cA(12),eA(3),eA(1),eA(0),eA(2),eA(17),eA(3),eA(17),eA(0),eA(63),eA(0);var P=0,$=0,W=0;b=0,y=7,this.encode.displayName="_encode_";for(var nA,fA,hA,xA,EA,_A,NA,jA,gA,V=Q.data,JA=Q.width,KA=Q.height,FA=4*JA,IA=0;IA<KA;){for(nA=0;nA<FA;){for(EA=FA*IA+nA,NA=-1,jA=0,gA=0;gA<64;gA++)_A=EA+(jA=gA>>3)*FA+(NA=4*(7&gA)),IA+jA>=KA&&(_A-=FA*(IA+1+jA-KA)),nA+NA>=FA&&(_A-=nA+NA-FA+4),fA=V[_A++],hA=V[_A++],xA=V[_A++],U[gA]=(j[fA]+j[hA+256>>0]+j[xA+512>>0]>>16)-128,T[gA]=(j[fA+768>>0]+j[hA+1024>>0]+j[xA+1280>>0]>>16)-128,k[gA]=(j[fA+1280>>0]+j[hA+1536>>0]+j[xA+1792>>0]>>16)-128;P=sA(U,l,P,A,r),$=sA(T,f,$,e,n),W=sA(k,f,W,e,n),nA+=32}IA+=8}if(y>=0){var LA=[];LA[1]=y+1,LA[0]=(1<<y+1)-1,lA(LA)}return cA(65497),new Uint8Array(w)},t=t||50,function(){for(var Q=String.fromCharCode,_=0;_<256;_++)G[_]=Q(_)}(),A=tA(O,Z),e=tA(S,M),r=tA(aA,N),n=tA(R,iA),function(){for(var Q=1,_=2,P=1;P<=15;P++){for(var $=Q;$<_;$++)p[32767+$]=P,d[32767+$]=[],d[32767+$][1]=P,d[32767+$][0]=$;for(var W=-(_-1);W<=-Q;W++)p[32767+W]=P,d[32767+W]=[],d[32767+W][1]=P,d[32767+W][0]=_-1+W;Q<<=1,_<<=1}}(),function(){for(var Q=0;Q<256;Q++)j[Q]=19595*Q,j[Q+256>>0]=38470*Q,j[Q+512>>0]=7471*Q+32768,j[Q+768>>0]=-11059*Q,j[Q+1024>>0]=-21709*Q,j[Q+1280>>0]=32768*Q+8421375,j[Q+1536>>0]=-27439*Q,j[Q+1792>>0]=-5329*Q}(),bA(t)}/**
* @license
* Copyright (c) 2017 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/function kr(t,A){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!A,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function i2(t){function A(O){if(!O)throw Error("assert :P")}function e(O,Z,aA){for(var N=0;4>N;N++)if(O[Z+N]!=aA.charCodeAt(N))return!0;return!1}function r(O,Z,aA,N,S){for(var M=0;M<S;M++)O[Z+M]=aA[N+M]}function n(O,Z,aA,N){for(var S=0;S<N;S++)O[Z+S]=aA}function i(O){return new Int32Array(O)}function a(O,Z){for(var aA=[],N=0;N<O;N++)aA.push(new Z);return aA}function s(O,Z){var aA=[];return function N(S,M,R){for(var iA=R[M],tA=0;tA<iA&&(S.push(R.length>M+1?[]:new Z),!(R.length<M+1));tA++)N(S[tA],M+1,R)}(aA,0,O),aA}var o=function(){var O=this;function Z(u,c){for(var v=1<<c-1>>>0;u&v;)v>>>=1;return v?(u&v-1)+v:u}function aA(u,c,v,B,C){A(!(B%v));do u[c+(B-=v)]=C;while(0<B)}function N(u,c,v,B,C){if(A(2328>=C),512>=C)var E=i(512);else if((E=i(C))==null)return 0;return function(x,I,L,H,z,oA){var uA,AA,mA=I,dA=1<<L,X=i(16),J=i(16);for(A(z!=0),A(H!=null),A(x!=null),A(0<L),AA=0;AA<z;++AA){if(15<H[AA])return 0;++X[H[AA]]}if(X[0]==z)return 0;for(J[1]=0,uA=1;15>uA;++uA){if(X[uA]>1<<uA)return 0;J[uA+1]=J[uA]+X[uA]}for(AA=0;AA<z;++AA)uA=H[AA],0<H[AA]&&(oA[J[uA]++]=AA);if(J[15]==1)return(H=new S).g=0,H.value=oA[0],aA(x,mA,1,dA,H),dA;var BA,yA=-1,wA=dA-1,RA=0,HA=1,Ae=1,PA=1<<L;for(AA=0,uA=1,z=2;uA<=L;++uA,z<<=1){if(HA+=Ae<<=1,0>(Ae-=X[uA]))return 0;for(;0<X[uA];--X[uA])(H=new S).g=uA,H.value=oA[AA++],aA(x,mA+RA,z,PA,H),RA=Z(RA,uA)}for(uA=L+1,z=2;15>=uA;++uA,z<<=1){if(HA+=Ae<<=1,0>(Ae-=X[uA]))return 0;for(;0<X[uA];--X[uA]){if(H=new S,(RA&wA)!=yA){for(mA+=PA,BA=1<<(yA=uA)-L;15>yA&&!(0>=(BA-=X[yA]));)++yA,BA<<=1;dA+=PA=1<<(BA=yA-L),x[I+(yA=RA&wA)].g=BA+L,x[I+yA].value=mA-I-yA}H.g=uA-L,H.value=oA[AA++],aA(x,mA+(RA>>L),z,PA,H),RA=Z(RA,uA)}}return HA!=2*J[15]-1?0:dA}(u,c,v,B,C,E)}function S(){this.value=this.g=0}function M(){this.value=this.g=0}function R(){this.G=a(5,S),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(cr,M)}function iA(u,c,v,B){A(u!=null),A(c!=null),A(2147483648>B),u.Ca=254,u.I=0,u.b=-8,u.Ka=0,u.oa=c,u.pa=v,u.Jd=c,u.Yc=v+B,u.Zc=4<=B?v+B-4+1:v,nA(u)}function tA(u,c){for(var v=0;0<c--;)v|=hA(u,128)<<c;return v}function lA(u,c){var v=tA(u,c);return fA(u)?-v:v}function eA(u,c,v,B){var C,E=0;for(A(u!=null),A(c!=null),A(4294967288>B),u.Sb=B,u.Ra=0,u.u=0,u.h=0,4<B&&(B=4),C=0;C<B;++C)E+=c[v+C]<<8*C;u.Ra=E,u.bb=B,u.oa=c,u.pa=v}function cA(u){for(;8<=u.u&&u.bb<u.Sb;)u.Ra>>>=8,u.Ra+=u.oa[u.pa+u.bb]<<ss-8>>>0,++u.bb,u.u-=8;P(u)&&(u.h=1,u.u=0)}function sA(u,c){if(A(0<=c),!u.h&&c<=as){var v=_(u)&is[c];return u.u+=c,cA(u),v}return u.h=1,u.u=0}function bA(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Q(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function _(u){return u.Ra>>>(u.u&ss-1)>>>0}function P(u){return A(u.bb<=u.Sb),u.h||u.bb==u.Sb&&u.u>ss}function $(u,c){u.u=c,u.h=P(u)}function W(u){u.u>=No&&(A(u.u>=No),cA(u))}function nA(u){A(u!=null&&u.oa!=null),u.pa<u.Zc?(u.I=(u.oa[u.pa++]|u.I<<8)>>>0,u.b+=8):(A(u!=null&&u.oa!=null),u.pa<u.Yc?(u.b+=8,u.I=u.oa[u.pa++]|u.I<<8):u.Ka?u.b=0:(u.I<<=8,u.b+=8,u.Ka=1))}function fA(u){return tA(u,1)}function hA(u,c){var v=u.Ca;0>u.b&&nA(u);var B=u.b,C=v*c>>>8,E=(u.I>>>B>C)+0;for(E?(v-=C,u.I-=C+1<<B>>>0):v=C+1,B=v,C=0;256<=B;)C+=8,B>>=8;return B=7^C+fr[B],u.b-=B,u.Ca=(v<<B)-1,E}function xA(u,c,v){u[c+0]=v>>24&255,u[c+1]=v>>16&255,u[c+2]=v>>8&255,u[c+3]=v>>0&255}function EA(u,c){return u[c+0]<<0|u[c+1]<<8}function _A(u,c){return EA(u,c)|u[c+2]<<16}function NA(u,c){return EA(u,c)|EA(u,c+2)<<16}function jA(u,c){var v=1<<c;return A(u!=null),A(0<c),u.X=i(v),u.X==null?0:(u.Mb=32-c,u.Xa=c,1)}function gA(u,c){A(u!=null),A(c!=null),A(u.Xa==c.Xa),r(c.X,0,u.X,0,1<<c.Xa)}function V(){this.X=[],this.Xa=this.Mb=0}function JA(u,c,v,B){A(v!=null),A(B!=null);var C=v[0],E=B[0];return C==0&&(C=(u*E+c/2)/c),E==0&&(E=(c*C+u/2)/u),0>=C||0>=E?0:(v[0]=C,B[0]=E,1)}function KA(u,c){return u+(1<<c)-1>>>c}function FA(u,c){return((4278255360&u)+(4278255360&c)>>>0&4278255360)+((16711935&u)+(16711935&c)>>>0&16711935)>>>0}function IA(u,c){O[c]=function(v,B,C,E,x,I,L){var H;for(H=0;H<x;++H){var z=O[u](I[L+H-1],C,E+H);I[L+H]=FA(v[B+H],z)}}}function LA(){this.ud=this.hd=this.jd=0}function SA(u,c){return((4278124286&(u^c))>>>1)+(u&c)>>>0}function VA(u){return 0<=u&&256>u?u:0>u?0:255<u?255:void 0}function GA(u,c){return VA(u+(u-c+.5>>1))}function ZA(u,c,v){return Math.abs(c-v)-Math.abs(u-v)}function re(u,c,v,B,C,E,x){for(B=E[x-1],v=0;v<C;++v)E[x+v]=B=FA(u[c+v],B)}function he(u,c,v,B,C){var E;for(E=0;E<v;++E){var x=u[c+E],I=x>>8&255,L=16711935&(L=(L=16711935&x)+((I<<16)+I));B[C+E]=(4278255360&x)+L>>>0}}function ye(u,c){c.jd=u>>0&255,c.hd=u>>8&255,c.ud=u>>16&255}function zA(u,c,v,B,C,E){var x;for(x=0;x<B;++x){var I=c[v+x],L=I>>>8,H=I,z=255&(z=(z=I>>>16)+((u.jd<<24>>24)*(L<<24>>24)>>>5));H=255&(H=(H=H+((u.hd<<24>>24)*(L<<24>>24)>>>5))+((u.ud<<24>>24)*(z<<24>>24)>>>5)),C[E+x]=(4278255360&I)+(z<<16)+H}}function ne(u,c,v,B,C){O[c]=function(E,x,I,L,H,z,oA,uA,AA){for(L=oA;L<uA;++L)for(oA=0;oA<AA;++oA)H[z++]=C(I[B(E[x++])])},O[u]=function(E,x,I,L,H,z,oA){var uA=8>>E.b,AA=E.Ea,mA=E.K[0],dA=E.w;if(8>uA)for(E=(1<<E.b)-1,dA=(1<<uA)-1;x<I;++x){var X,J=0;for(X=0;X<AA;++X)X&E||(J=B(L[H++])),z[oA++]=C(mA[J&dA]),J>>=uA}else O["VP8LMapColor"+v](L,H,mA,dA,z,oA,x,I,AA)}}function TA(u,c,v,B,C){for(v=c+v;c<v;){var E=u[c++];B[C++]=E>>16&255,B[C++]=E>>8&255,B[C++]=E>>0&255}}function Re(u,c,v,B,C){for(v=c+v;c<v;){var E=u[c++];B[C++]=E>>16&255,B[C++]=E>>8&255,B[C++]=E>>0&255,B[C++]=E>>24&255}}function ge(u,c,v,B,C){for(v=c+v;c<v;){var E=(x=u[c++])>>16&240|x>>12&15,x=x>>0&240|x>>28&15;B[C++]=E,B[C++]=x}}function Ge(u,c,v,B,C){for(v=c+v;c<v;){var E=(x=u[c++])>>16&248|x>>13&7,x=x>>5&224|x>>3&31;B[C++]=E,B[C++]=x}}function pe(u,c,v,B,C){for(v=c+v;c<v;){var E=u[c++];B[C++]=E>>0&255,B[C++]=E>>8&255,B[C++]=E>>16&255}}function Ue(u,c,v,B,C,E){if(E==0)for(v=c+v;c<v;)xA(B,((E=u[c++])[0]>>24|E[1]>>8&65280|E[2]<<8&16711680|E[3]<<24)>>>0),C+=32;else r(B,C,u,c,v)}function It(u,c){O[c][0]=O[u+"0"],O[c][1]=O[u+"1"],O[c][2]=O[u+"2"],O[c][3]=O[u+"3"],O[c][4]=O[u+"4"],O[c][5]=O[u+"5"],O[c][6]=O[u+"6"],O[c][7]=O[u+"7"],O[c][8]=O[u+"8"],O[c][9]=O[u+"9"],O[c][10]=O[u+"10"],O[c][11]=O[u+"11"],O[c][12]=O[u+"12"],O[c][13]=O[u+"13"],O[c][14]=O[u+"0"],O[c][15]=O[u+"0"]}function we(u){return u==o0||u==u0||u==Qc||u==l0}function pt(){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 _t(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new pt,this.f.kb=new Se,this.sd=null}function ue(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Le(){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 ie(u){return alert("todo:WebPSamplerProcessPlane"),u.T}function be(u,c){var v=u.T,B=c.ba.f.RGBA,C=B.eb,E=B.fb+u.ka*B.A,x=Hr[c.ba.S],I=u.y,L=u.O,H=u.f,z=u.N,oA=u.ea,uA=u.W,AA=c.cc,mA=c.dc,dA=c.Mc,X=c.Nc,J=u.ka,BA=u.ka+u.T,yA=u.U,wA=yA+1>>1;for(J==0?x(I,L,null,null,H,z,oA,uA,H,z,oA,uA,C,E,null,null,yA):(x(c.ec,c.fc,I,L,AA,mA,dA,X,H,z,oA,uA,C,E-B.A,C,E,yA),++v);J+2<BA;J+=2)AA=H,mA=z,dA=oA,X=uA,z+=u.Rc,uA+=u.Rc,E+=2*B.A,x(I,(L+=2*u.fa)-u.fa,I,L,AA,mA,dA,X,H,z,oA,uA,C,E-B.A,C,E,yA);return L+=u.fa,u.j+BA<u.o?(r(c.ec,c.fc,I,L,yA),r(c.cc,c.dc,H,z,wA),r(c.Mc,c.Nc,oA,uA,wA),v--):1&BA||x(I,L,null,null,H,z,oA,uA,H,z,oA,uA,C,E+B.A,null,null,yA),v}function Xr(u,c,v){var B=u.F,C=[u.J];if(B!=null){var E=u.U,x=c.ba.S,I=x==Fc||x==Qc;c=c.ba.f.RGBA;var L=[0],H=u.ka;L[0]=u.T,u.Kb&&(H==0?--L[0]:(--H,C[0]-=u.width),u.j+u.ka+u.T==u.o&&(L[0]=u.o-u.j-H));var z=c.eb;H=c.fb+H*c.A,u=wc(B,C[0],u.width,E,L,z,H+(I?0:3),c.A),A(v==L),u&&we(x)&&Ci(z,H,I,E,L,c.A)}return 0}function vt(u){var c=u.ma,v=c.ba.S,B=11>v,C=v==Cc||v==bc||v==Fc||v==s0||v==12||we(v);if(c.memory=null,c.Ib=null,c.Jb=null,c.Nd=null,!So(c.Oa,u,C?11:12))return 0;if(C&&we(v)&&UA(),u.da)alert("todo:use_scaling");else{if(B){if(c.Ib=ie,u.Kb){if(v=u.U+1>>1,c.memory=i(u.U+2*v),c.memory==null)return 0;c.ec=c.memory,c.fc=0,c.cc=c.ec,c.dc=c.fc+u.U,c.Mc=c.cc,c.Nc=c.dc+v,c.Ib=be,UA()}}else alert("todo:EmitYUV");C&&(c.Jb=Xr,B&&rA())}if(B&&!gm){for(u=0;256>u;++u)y_[u]=89858*(u-128)+Ec>>Uc,F_[u]=-22014*(u-128)+Ec,b_[u]=-45773*(u-128),C_[u]=113618*(u-128)+Ec>>Uc;for(u=Do;u<h0;++u)c=76283*(u-16)+Ec>>Uc,Q_[u-Do]=wr(c,255),U_[u-Do]=wr(c+8>>4,15);gm=1}return 1}function vr(u){var c=u.ma,v=u.U,B=u.T;return A(!(1&u.ka)),0>=v||0>=B?0:(v=c.Ib(u,c),c.Jb!=null&&c.Jb(u,c,v),c.Dc+=v,1)}function Ir(u){u.ma.memory=null}function XA(u,c,v,B){return sA(u,8)!=47?0:(c[0]=sA(u,14)+1,v[0]=sA(u,14)+1,B[0]=sA(u,1),sA(u,3)!=0?0:!u.h)}function er(u,c){if(4>u)return u+1;var v=u-2>>1;return(2+(1&u)<<v)+sA(c,v)+1}function Sr(u,c){return 120<c?c-120:1<=(v=((v=s_[c-1])>>4)*u+(8-(15&v)))?v:1;var v}function $e(u,c,v){var B=_(v),C=u[c+=255&B].g-8;return 0<C&&($(v,v.u+8),B=_(v),c+=u[c].value,c+=B&(1<<C)-1),$(v,v.u+u[c].g),u[c].value}function qe(u,c,v){return v.g+=u.g,v.value+=u.value<<c>>>0,A(8>=v.g),u.g}function We(u,c,v){var B=u.xc;return A((c=B==0?0:u.vc[u.md*(v>>B)+(c>>B)])<u.Wb),u.Ya[c]}function $t(u,c,v,B){var C=u.ab,E=u.c*c,x=u.C;c=x+c;var I=v,L=B;for(B=u.Ta,v=u.Ua;0<C--;){var H=u.gc[C],z=x,oA=c,uA=I,AA=L,mA=(L=B,I=v,H.Ea);switch(A(z<oA),A(oA<=H.nc),H.hc){case 2:Bc(uA,AA,(oA-z)*mA,L,I);break;case 0:var dA=z,X=oA,J=L,BA=I,yA=(PA=H).Ea;dA==0&&(r0(uA,AA,null,null,1,J,BA),re(uA,AA+1,0,0,yA-1,J,BA+1),AA+=yA,BA+=yA,++dA);for(var wA=1<<PA.b,RA=wA-1,HA=KA(yA,PA.b),Ae=PA.K,PA=PA.w+(dA>>PA.b)*HA;dA<X;){var Ee=Ae,Ne=PA,Fe=1;for(To(uA,AA,J,BA-yA,1,J,BA);Fe<yA;){var me=(Fe&~RA)+wA;me>yA&&(me=yA),(0,Bi[Ee[Ne++]>>8&15])(uA,AA+ +Fe,J,BA+Fe-yA,me-Fe,J,BA+Fe),Fe=me}AA+=yA,BA+=yA,++dA&RA||(PA+=HA)}oA!=H.nc&&r(L,I-mA,L,I+(oA-z-1)*mA,mA);break;case 1:for(mA=uA,X=AA,yA=(uA=H.Ea)-(BA=uA&~(J=(AA=1<<H.b)-1)),dA=KA(uA,H.b),wA=H.K,H=H.w+(z>>H.b)*dA;z<oA;){for(RA=wA,HA=H,Ae=new LA,PA=X+BA,Ee=X+uA;X<PA;)ye(RA[HA++],Ae),Nr(Ae,mA,X,AA,L,I),X+=AA,I+=AA;X<Ee&&(ye(RA[HA++],Ae),Nr(Ae,mA,X,yA,L,I),X+=yA,I+=yA),++z&J||(H+=dA)}break;case 3:if(uA==L&&AA==I&&0<H.b){for(X=L,uA=mA=I+(oA-z)*mA-(BA=(oA-z)*KA(H.Ea,H.b)),AA=L,J=I,dA=[],BA=(yA=BA)-1;0<=BA;--BA)dA[BA]=AA[J+BA];for(BA=yA-1;0<=BA;--BA)X[uA+BA]=dA[BA];en(H,z,oA,L,mA,L,I)}else en(H,z,oA,uA,AA,L,I)}I=B,L=v}L!=v&&r(B,v,I,L,E)}function fi(u,c){var v=u.V,B=u.Ba+u.c*u.C,C=c-u.C;if(A(c<=u.l.o),A(16>=C),0<C){var E=u.l,x=u.Ta,I=u.Ua,L=E.width;if($t(u,C,v,B),C=I=[I],A((v=u.C)<(B=c)),A(E.v<E.va),B>E.o&&(B=E.o),v<E.j){var H=E.j-v;v=E.j,C[0]+=H*L}if(v>=B?v=0:(C[0]+=4*E.v,E.ka=v-E.j,E.U=E.va-E.v,E.T=B-v,v=1),v){if(I=I[0],11>(v=u.ca).S){var z=v.f.RGBA,oA=(B=v.S,C=E.U,E=E.T,H=z.eb,z.A),uA=E;for(z=z.fb+u.Ma*z.A;0<uA--;){var AA=x,mA=I,dA=C,X=H,J=z;switch(B){case yc:tn(AA,mA,dA,X,J);break;case Cc:wi(AA,mA,dA,X,J);break;case o0:wi(AA,mA,dA,X,J),Ci(X,J,0,dA,1,0);break;case nm:os(AA,mA,dA,X,J);break;case bc:Ue(AA,mA,dA,X,J,1);break;case u0:Ue(AA,mA,dA,X,J,1),Ci(X,J,0,dA,1,0);break;case Fc:Ue(AA,mA,dA,X,J,0);break;case Qc:Ue(AA,mA,dA,X,J,0),Ci(X,J,1,dA,1,0);break;case s0:yn(AA,mA,dA,X,J);break;case l0:yn(AA,mA,dA,X,J),cs(X,J,dA,1,0);break;case im:Mn(AA,mA,dA,X,J);break;default:A(0)}I+=L,z+=oA}u.Ma+=E}else alert("todo:EmitRescaledRowsYUVA");A(u.Ma<=v.height)}}u.C=c,A(u.C<=u.i)}function tr(u){var c;if(0<u.ua)return 0;for(c=0;c<u.Wb;++c){var v=u.Ya[c].G,B=u.Ya[c].H;if(0<v[1][B[1]+0].g||0<v[2][B[2]+0].g||0<v[3][B[3]+0].g)return 0}return 1}function ut(u,c,v,B,C,E){if(u.Z!=0){var x=u.qd,I=u.rd;for(A(Fi[u.Z]!=null);c<v;++c)Fi[u.Z](x,I,B,C,B,C,E),x=B,I=C,C+=E;u.qd=x,u.rd=I}}function or(u,c){var v=u.l.ma,B=v.Z==0||v.Z==1?u.l.j:u.C;if(B=u.C<B?B:u.C,A(c<=u.l.o),c>B){var C=u.l.width,E=v.ca,x=v.tb+C*B,I=u.V,L=u.Ba+u.c*B,H=u.gc;A(u.ab==1),A(H[0].hc==3),n0(H[0],B,c,I,L,E,x),ut(v,B,c,E,x,C)}u.C=u.Ma=c}function ur(u,c,v,B,C,E,x){var I=u.$/B,L=u.$%B,H=u.m,z=u.s,oA=v+u.$,uA=oA;C=v+B*C;var AA=v+B*E,mA=280+z.ua,dA=u.Pb?I:16777216,X=0<z.ua?z.Wa:null,J=z.wc,BA=oA<AA?We(z,L,I):null;A(u.C<E),A(AA<=C);var yA=!1;A:for(;;){for(;yA||oA<AA;){var wA=0;if(I>=dA){var RA=oA-v;A((dA=u).Pb),dA.wd=dA.m,dA.xd=RA,0<dA.s.ua&&gA(dA.s.Wa,dA.s.vb),dA=I+u_}if(L&J||(BA=We(z,L,I)),A(BA!=null),BA.Qb&&(c[oA]=BA.qb,yA=!0),!yA)if(W(H),BA.jc){wA=H,RA=c;var HA=oA,Ae=BA.pd[_(wA)&cr-1];A(BA.jc),256>Ae.g?($(wA,wA.u+Ae.g),RA[HA]=Ae.value,wA=0):($(wA,wA.u+Ae.g-256),A(256<=Ae.value),wA=Ae.value),wA==0&&(yA=!0)}else wA=$e(BA.G[0],BA.H[0],H);if(H.h)break;if(yA||256>wA){if(!yA)if(BA.nd)c[oA]=(BA.qb|wA<<8)>>>0;else{if(W(H),yA=$e(BA.G[1],BA.H[1],H),W(H),RA=$e(BA.G[2],BA.H[2],H),HA=$e(BA.G[3],BA.H[3],H),H.h)break;c[oA]=(HA<<24|yA<<16|wA<<8|RA)>>>0}if(yA=!1,++oA,++L>=B&&(L=0,++I,x!=null&&I<=E&&!(I%16)&&x(u,I),X!=null))for(;uA<oA;)wA=c[uA++],X.X[(506832829*wA&4294967295)>>>X.Mb]=wA}else if(280>wA){if(wA=er(wA-256,H),RA=$e(BA.G[4],BA.H[4],H),W(H),RA=Sr(B,RA=er(RA,H)),H.h)break;if(oA-v<RA||C-oA<wA)break A;for(HA=0;HA<wA;++HA)c[oA+HA]=c[oA+HA-RA];for(oA+=wA,L+=wA;L>=B;)L-=B,++I,x!=null&&I<=E&&!(I%16)&&x(u,I);if(A(oA<=C),L&J&&(BA=We(z,L,I)),X!=null)for(;uA<oA;)wA=c[uA++],X.X[(506832829*wA&4294967295)>>>X.Mb]=wA}else{if(!(wA<mA))break A;for(yA=wA-280,A(X!=null);uA<oA;)wA=c[uA++],X.X[(506832829*wA&4294967295)>>>X.Mb]=wA;wA=oA,A(!(yA>>>(RA=X).Xa)),c[wA]=RA.X[yA],yA=!0}yA||A(H.h==P(H))}if(u.Pb&&H.h&&oA<C)A(u.m.h),u.a=5,u.m=u.wd,u.$=u.xd,0<u.s.ua&&gA(u.s.vb,u.s.Wa);else{if(H.h)break A;x?.(u,I>E?E:I),u.a=0,u.$=oA-v}return 1}return u.a=3,0}function Br(u){A(u!=null),u.vc=null,u.yc=null,u.Ya=null;var c=u.Wa;c!=null&&(c.X=null),u.vb=null,A(u!=null)}function rr(){var u=new t0;return u==null?null:(u.a=0,u.xb=om,It("Predictor","VP8LPredictors"),It("Predictor","VP8LPredictors_C"),It("PredictorAdd","VP8LPredictorsAdd"),It("PredictorAdd","VP8LPredictorsAdd_C"),Bc=he,Nr=zA,tn=TA,wi=Re,yn=ge,Mn=Ge,os=pe,O.VP8LMapColor32b=Oo,O.VP8LMapColor8b=i0,u)}function Lr(u,c,v,B,C){var E=1,x=[u],I=[c],L=B.m,H=B.s,z=null,oA=0;A:for(;;){if(v)for(;E&&sA(L,1);){var uA=x,AA=I,mA=B,dA=1,X=mA.m,J=mA.gc[mA.ab],BA=sA(X,2);if(mA.Oc&1<<BA)E=0;else{switch(mA.Oc|=1<<BA,J.hc=BA,J.Ea=uA[0],J.nc=AA[0],J.K=[null],++mA.ab,A(4>=mA.ab),BA){case 0:case 1:J.b=sA(X,3)+2,dA=Lr(KA(J.Ea,J.b),KA(J.nc,J.b),0,mA,J.K),J.K=J.K[0];break;case 3:var yA,wA=sA(X,8)+1,RA=16<wA?0:4<wA?1:2<wA?2:3;if(uA[0]=KA(J.Ea,RA),J.b=RA,yA=dA=Lr(wA,1,0,mA,J.K)){var HA,Ae=wA,PA=J,Ee=1<<(8>>PA.b),Ne=i(Ee);if(Ne==null)yA=0;else{var Fe=PA.K[0],me=PA.w;for(Ne[0]=PA.K[0][0],HA=1;HA<1*Ae;++HA)Ne[HA]=FA(Fe[me+HA],Ne[HA-1]);for(;HA<4*Ee;++HA)Ne[HA]=0;PA.K[0]=null,PA.K[0]=Ne,yA=1}}dA=yA;break;case 2:break;default:A(0)}E=dA}}if(x=x[0],I=I[0],E&&sA(L,1)&&!(E=1<=(oA=sA(L,4))&&11>=oA)){B.a=3;break A}var Pe;if(Pe=E)e:{var He,ce,mt,hr=B,yt=x,gr=I,Te=oA,yr=v,Cr=hr.m,Lt=hr.s,Pt=[null],nr=1,_r=0,Cn=o_[Te];t:for(;;){if(yr&&sA(Cr,1)){var Nt=sA(Cr,3)+2,jn=KA(yt,Nt),oa=KA(gr,Nt),fs=jn*oa;if(!Lr(jn,oa,0,hr,Pt))break t;for(Pt=Pt[0],Lt.xc=Nt,He=0;He<fs;++He){var Qi=Pt[He]>>8&65535;Pt[He]=Qi,Qi>=nr&&(nr=Qi+1)}}if(Cr.h)break t;for(ce=0;5>ce;++ce){var et=am[ce];!ce&&0<Te&&(et+=1<<Te),_r<et&&(_r=et)}var g0=a(nr*Cn,S),vm=nr,Bm=a(vm,R);if(Bm==null)var Ic=null;else A(65536>=vm),Ic=Bm;var Mo=i(_r);if(Ic==null||Mo==null||g0==null){hr.a=1;break t}var Sc=g0;for(He=mt=0;He<nr;++He){var sn=Ic[He],hs=sn.G,gs=sn.H,wm=0,Lc=1,mm=0;for(ce=0;5>ce;++ce){et=am[ce],hs[ce]=Sc,gs[ce]=mt,!ce&&0<Te&&(et+=1<<Te);n:{var Nc,d0=et,Tc=hr,Ro=Mo,I_=Sc,S_=mt,p0=0,Ui=Tc.m,L_=sA(Ui,1);if(n(Ro,0,0,d0),L_){var N_=sA(Ui,1)+1,T_=sA(Ui,1),ym=sA(Ui,T_==0?1:8);Ro[ym]=1,N_==2&&(Ro[ym=sA(Ui,8)]=1);var Oc=1}else{var Cm=i(19),bm=sA(Ui,4)+4;if(19<bm){Tc.a=3;var Hc=0;break n}for(Nc=0;Nc<bm;++Nc)Cm[a_[Nc]]=sA(Ui,3);var v0=void 0,ko=void 0,Fm=Tc,O_=Cm,_c=d0,Qm=Ro,B0=0,Ei=Fm.m,Um=8,Em=a(128,S);r:for(;N(Em,0,7,O_,19);){if(sA(Ei,1)){var H_=2+2*sA(Ei,3);if((v0=2+sA(Ei,H_))>_c)break r}else v0=_c;for(ko=0;ko<_c&&v0--;){W(Ei);var xm=Em[0+(127&_(Ei))];$(Ei,Ei.u+xm.g);var ds=xm.value;if(16>ds)Qm[ko++]=ds,ds!=0&&(Um=ds);else{var __=ds==16,Im=ds-16,P_=n_[Im],Sm=sA(Ei,r_[Im])+P_;if(ko+Sm>_c)break r;for(var D_=__?Um:0;0<Sm--;)Qm[ko++]=D_}}B0=1;break r}B0||(Fm.a=3),Oc=B0}(Oc=Oc&&!Ui.h)&&(p0=N(I_,S_,8,Ro,d0)),Oc&&p0!=0?Hc=p0:(Tc.a=3,Hc=0)}if(Hc==0)break t;if(Lc&&i_[ce]==1&&(Lc=Sc[mt].g==0),wm+=Sc[mt].g,mt+=Hc,3>=ce){var Ko,w0=Mo[0];for(Ko=1;Ko<et;++Ko)Mo[Ko]>w0&&(w0=Mo[Ko]);mm+=w0}}if(sn.nd=Lc,sn.Qb=0,Lc&&(sn.qb=(hs[3][gs[3]+0].value<<24|hs[1][gs[1]+0].value<<16|hs[2][gs[2]+0].value)>>>0,wm==0&&256>hs[0][gs[0]+0].value&&(sn.Qb=1,sn.qb+=hs[0][gs[0]+0].value<<8)),sn.jc=!sn.Qb&&6>mm,sn.jc){var Pc,Gn=sn;for(Pc=0;Pc<cr;++Pc){var xi=Pc,Ii=Gn.pd[xi],Dc=Gn.G[0][Gn.H[0]+xi];256<=Dc.value?(Ii.g=Dc.g+256,Ii.value=Dc.value):(Ii.g=0,Ii.value=0,xi>>=qe(Dc,8,Ii),xi>>=qe(Gn.G[1][Gn.H[1]+xi],16,Ii),xi>>=qe(Gn.G[2][Gn.H[2]+xi],0,Ii),qe(Gn.G[3][Gn.H[3]+xi],24,Ii))}}}Lt.vc=Pt,Lt.Wb=nr,Lt.Ya=Ic,Lt.yc=g0,Pe=1;break e}Pe=0}if(!(E=Pe)){B.a=3;break A}if(0<oA){if(H.ua=1<<oA,!jA(H.Wa,oA)){B.a=1,E=0;break A}}else H.ua=0;var m0=B,Lm=x,M_=I,y0=m0.s,C0=y0.xc;if(m0.c=Lm,m0.i=M_,y0.md=KA(Lm,C0),y0.wc=C0==0?-1:(1<<C0)-1,v){B.xb=p_;break A}if((z=i(x*I))==null){B.a=1,E=0;break A}E=(E=ur(B,z,0,x,I,I,null))&&!L.h;break A}return E?(C!=null?C[0]=z:(A(z==null),A(v)),B.$=0,v||Br(H)):Br(H),E}function qA(u,c){var v=u.c*u.i,B=v+c+16*c;return A(u.c<=c),u.V=i(B),u.V==null?(u.Ta=null,u.Ua=0,u.a=1,0):(u.Ta=u.V,u.Ua=u.Ba+v+c,1)}function Y(u,c){var v=u.C,B=c-v,C=u.V,E=u.Ba+u.c*v;for(A(c<=u.l.o);0<B;){var x=16<B?16:B,I=u.l.ma,L=u.l.width,H=L*x,z=I.ca,oA=I.tb+L*v,uA=u.Ta,AA=u.Ua;$t(u,x,C,E),J5(uA,AA,z,oA,H),ut(I,v,v+x,z,oA,L),B-=x,C+=x*u.c,v+=x}A(v==c),u.C=u.Ma=c}function QA(){this.ub=this.yd=this.td=this.Rb=0}function OA(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ve(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function bt(){this.Yb=function(){var u=[];return function c(v,B,C){for(var E=C[B],x=0;x<E&&(v.push(C.length>B+1?[]:0),!(C.length<B+1));x++)c(v[x],B+1,C)}(u,0,[3,11]),u}()}function Bt(){this.jb=i(3),this.Wc=s([4,8],bt),this.Xc=s([4,17],bt)}function lt(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function Yr(){this.ld=this.La=this.dd=this.tc=0}function ze(){this.Na=this.la=0}function ea(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function hi(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Zl(){this.uc=this.M=this.Nb=0,this.wa=Array(new Yr),this.Y=0,this.ya=Array(new hi),this.aa=0,this.l=new Wa}function Ac(){this.y=i(16),this.f=i(8),this.ea=i(8)}function Pd(){this.cb=this.a=0,this.sc="",this.m=new bA,this.Od=new QA,this.Kc=new OA,this.ed=new lt,this.Qa=new ve,this.Ic=this.$c=this.Aa=0,this.D=new Zl,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,bA),this.ia=0,this.pb=a(4,ea),this.Pa=new Bt,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ac),this.Hd=0,this.rb=Array(new ze),this.sb=0,this.wa=Array(new Yr),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 hi),this.L=this.aa=0,this.gd=s([4,2],Yr),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 Wa(){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 Dd(){var u=new Pd;return u!=null&&(u.a=0,u.sc="OK",u.cb=0,u.Xb=0,Po||(Po=rc)),u}function ct(u,c,v){return u.a==0&&(u.a=c,u.sc=v,u.cb=0),0}function ec(u,c,v){return 3<=v&&u[c+0]==157&&u[c+1]==1&&u[c+2]==42}function tc(u,c){if(u==null)return 0;if(u.a=0,u.sc="OK",c==null)return ct(u,2,"null VP8Io passed to VP8GetHeaders()");var v=c.data,B=c.w,C=c.ha;if(4>C)return ct(u,7,"Truncated header.");var E=v[B+0]|v[B+1]<<8|v[B+2]<<16,x=u.Od;if(x.Rb=!(1&E),x.td=E>>1&7,x.yd=E>>4&1,x.ub=E>>5,3<x.td)return ct(u,3,"Incorrect keyframe parameters.");if(!x.yd)return ct(u,4,"Frame not displayable.");B+=3,C-=3;var I=u.Kc;if(x.Rb){if(7>C)return ct(u,7,"cannot parse picture header");if(!ec(v,B,C))return ct(u,3,"Bad code word");I.c=16383&(v[B+4]<<8|v[B+3]),I.Td=v[B+4]>>6,I.i=16383&(v[B+6]<<8|v[B+5]),I.Ud=v[B+6]>>6,B+=7,C-=7,u.za=I.c+15>>4,u.Ub=I.i+15>>4,c.width=I.c,c.height=I.i,c.Da=0,c.j=0,c.v=0,c.va=c.width,c.o=c.height,c.da=0,c.ib=c.width,c.hb=c.height,c.U=c.width,c.T=c.height,n((E=u.Pa).jb,0,255,E.jb.length),A((E=u.Qa)!=null),E.Cb=0,E.Bb=0,E.Fb=1,n(E.Zb,0,0,E.Zb.length),n(E.Lb,0,0,E.Lb)}if(x.ub>C)return ct(u,7,"bad partition length");iA(E=u.m,v,B,x.ub),B+=x.ub,C-=x.ub,x.Rb&&(I.Ld=fA(E),I.Kd=fA(E)),I=u.Qa;var L,H=u.Pa;if(A(E!=null),A(I!=null),I.Cb=fA(E),I.Cb){if(I.Bb=fA(E),fA(E)){for(I.Fb=fA(E),L=0;4>L;++L)I.Zb[L]=fA(E)?lA(E,7):0;for(L=0;4>L;++L)I.Lb[L]=fA(E)?lA(E,6):0}if(I.Bb)for(L=0;3>L;++L)H.jb[L]=fA(E)?tA(E,8):255}else I.Bb=0;if(E.Ka)return ct(u,3,"cannot parse segment header");if((I=u.ed).zd=fA(E),I.Tb=tA(E,6),I.wb=tA(E,3),I.Pc=fA(E),I.Pc&&fA(E)){for(H=0;4>H;++H)fA(E)&&(I.vd[H]=lA(E,6));for(H=0;4>H;++H)fA(E)&&(I.od[H]=lA(E,6))}if(u.L=I.Tb==0?0:I.zd?1:2,E.Ka)return ct(u,3,"cannot parse filter header");var z=C;if(C=L=B,B=L+z,I=z,u.Xb=(1<<tA(u.m,2))-1,z<3*(H=u.Xb))v=7;else{for(L+=3*H,I-=3*H,z=0;z<H;++z){var oA=v[C+0]|v[C+1]<<8|v[C+2]<<16;oA>I&&(oA=I),iA(u.Jc[+z],v,L,oA),L+=oA,I-=oA,C+=3}iA(u.Jc[+H],v,L,I),v=L<B?0:5}if(v!=0)return ct(u,v,"cannot parse partitions");for(v=tA(L=u.m,7),C=fA(L)?lA(L,4):0,B=fA(L)?lA(L,4):0,I=fA(L)?lA(L,4):0,H=fA(L)?lA(L,4):0,L=fA(L)?lA(L,4):0,z=u.Qa,oA=0;4>oA;++oA){if(z.Cb){var uA=z.Zb[oA];z.Fb||(uA+=v)}else{if(0<oA){u.pb[oA]=u.pb[0];continue}uA=v}var AA=u.pb[oA];AA.Sc[0]=c0[wr(uA+C,127)],AA.Sc[1]=f0[wr(uA+0,127)],AA.Eb[0]=2*c0[wr(uA+B,127)],AA.Eb[1]=101581*f0[wr(uA+I,127)]>>16,8>AA.Eb[1]&&(AA.Eb[1]=8),AA.Qc[0]=c0[wr(uA+H,117)],AA.Qc[1]=f0[wr(uA+L,127)],AA.lc=uA+L}if(!x.Rb)return ct(u,4,"Not a key frame.");for(fA(E),x=u.Pa,v=0;4>v;++v){for(C=0;8>C;++C)for(B=0;3>B;++B)for(I=0;11>I;++I)H=hA(E,g_[v][C][B][I])?tA(E,8):f_[v][C][B][I],x.Wc[v][C].Yb[B][I]=H;for(C=0;17>C;++C)x.Xc[v][C]=x.Wc[v][d_[C]]}return u.kc=fA(E),u.kc&&(u.Bd=tA(E,8)),u.cb=1}function rc(u,c,v,B,C,E,x){var I=c[C].Yb[v];for(v=0;16>C;++C){if(!hA(u,I[v+0]))return C;for(;!hA(u,I[v+1]);)if(I=c[++C].Yb[0],v=0,C==16)return 16;var L=c[C+1].Yb;if(hA(u,I[v+2])){var H=u,z=0;if(hA(H,(uA=I)[(oA=v)+3]))if(hA(H,uA[oA+6])){for(I=0,oA=2*(z=hA(H,uA[oA+8]))+(uA=hA(H,uA[oA+9+z])),z=0,uA=l_[oA];uA[I];++I)z+=z+hA(H,uA[I]);z+=3+(8<<oA)}else hA(H,uA[oA+7])?(z=7+2*hA(H,165),z+=hA(H,145)):z=5+hA(H,159);else z=hA(H,uA[oA+4])?3+hA(H,uA[oA+5]):2;I=L[2]}else z=1,I=L[1];L=x+c_[C],0>(H=u).b&&nA(H);var oA,uA=H.b,AA=(oA=H.Ca>>1)-(H.I>>uA)>>31;--H.b,H.Ca+=AA,H.Ca|=1,H.I-=(oA+1&AA)<<uA,E[L]=((z^AA)-AA)*B[(0<C)+0]}return 16}function go(u){var c=u.rb[u.sb-1];c.la=0,c.Na=0,n(u.zc,0,0,u.zc.length),u.ja=0}function Md(u,c){if(u==null)return 0;if(c==null)return ct(u,2,"NULL VP8Io parameter in VP8Decode().");if(!u.cb&&!tc(u,c))return 0;if(A(u.cb),c.ac==null||c.ac(c)){c.ob&&(u.L=0);var v=xc[u.L];if(u.L==2?(u.yb=0,u.zb=0):(u.yb=c.v-v>>4,u.zb=c.j-v>>4,0>u.yb&&(u.yb=0),0>u.zb&&(u.zb=0)),u.Va=c.o+15+v>>4,u.Hb=c.va+15+v>>4,u.Hb>u.za&&(u.Hb=u.za),u.Va>u.Ub&&(u.Va=u.Ub),0<u.L){var B=u.ed;for(v=0;4>v;++v){var C;if(u.Qa.Cb){var E=u.Qa.Lb[v];u.Qa.Fb||(E+=B.Tb)}else E=B.Tb;for(C=0;1>=C;++C){var x=u.gd[v][C],I=E;if(B.Pc&&(I+=B.vd[0],C&&(I+=B.od[0])),0<(I=0>I?0:63<I?63:I)){var L=I;0<B.wb&&(L=4<B.wb?L>>2:L>>1)>9-B.wb&&(L=9-B.wb),1>L&&(L=1),x.dd=L,x.tc=2*I+L,x.ld=40<=I?2:15<=I?1:0}else x.tc=0;x.La=C}}}v=0}else ct(u,6,"Frame setup failed"),v=u.a;if(v=v==0){if(v){u.$c=0,0<u.Aa||(u.Ic=x_);A:{v=u.Ic,B=4*(L=u.za);var H=32*L,z=L+1,oA=0<u.L?L*(0<u.Aa?2:1):0,uA=(u.Aa==2?2:1)*L;if((x=B+832+(C=3*(16*v+xc[u.L])/2*H)+(E=u.Fa!=null&&0<u.Fa.length?u.Kc.c*u.Kc.i:0))!=x)v=0;else{if(x>u.Vb){if(u.Vb=0,u.Ec=i(x),u.Fc=0,u.Ec==null){v=ct(u,1,"no memory during frame initialization.");break A}u.Vb=x}x=u.Ec,I=u.Fc,u.Ac=x,u.Bc=I,I+=B,u.Gd=a(H,Ac),u.Hd=0,u.rb=a(z+1,ze),u.sb=1,u.wa=oA?a(oA,Yr):null,u.Y=0,u.D.Nb=0,u.D.wa=u.wa,u.D.Y=u.Y,0<u.Aa&&(u.D.Y+=L),A(!0),u.oc=x,u.pc=I,I+=832,u.ya=a(uA,hi),u.aa=0,u.D.ya=u.ya,u.D.aa=u.aa,u.Aa==2&&(u.D.aa+=L),u.R=16*L,u.B=8*L,L=(H=xc[u.L])*u.R,H=H/2*u.B,u.sa=x,u.ta=I+L,u.qa=u.sa,u.ra=u.ta+16*v*u.R+H,u.Ha=u.qa,u.Ia=u.ra+8*v*u.B+H,u.$c=0,I+=C,u.mb=E?x:null,u.nb=E?I:null,A(I+E<=u.Fc+u.Vb),go(u),n(u.Ac,u.Bc,0,B),v=1}}if(v){if(c.ka=0,c.y=u.sa,c.O=u.ta,c.f=u.qa,c.N=u.ra,c.ea=u.Ha,c.Vd=u.Ia,c.fa=u.R,c.Rc=u.B,c.F=null,c.J=0,!rm){for(v=-255;255>=v;++v)Z5[255+v]=0>v?-v:v;for(v=-1020;1020>=v;++v)Am[1020+v]=-128>v?-128:127<v?127:v;for(v=-112;112>=v;++v)em[112+v]=-16>v?-16:15<v?15:v;for(v=-255;510>=v;++v)tm[255+v]=0>v?0:255<v?255:v;rm=1}rn=Kd,us=Rd,mi=ic,nn=kd,Rn=ac,Ho=nc,aa=yo,ls=na,sa=e0,yi=Co,_o=A0,Tr=As,kn=bo,ke=dc,Ke=gc,ft=Pn,Ft=di,Kn=Zd,an[0]=mn,an[1]=Vd,an[2]=qd,an[3]=Wd,an[4]=uc,an[5]=Ja,an[6]=lc,an[7]=Bo,an[8]=Xd,an[9]=zd,bi[0]=sc,bi[1]=Gd,bi[2]=_n,bi[3]=Xa,bi[4]=qt,bi[5]=$d,bi[6]=oc,Vn[0]=gi,Vn[1]=jd,Vn[2]=Yd,Vn[3]=wo,Vn[4]=ra,Vn[5]=Jd,Vn[6]=mo,v=1}else v=0}v&&(v=function(AA,mA){for(AA.M=0;AA.M<AA.Va;++AA.M){var dA,X=AA.Jc[AA.M&AA.Xb],J=AA.m,BA=AA;for(dA=0;dA<BA.za;++dA){var yA=J,wA=BA,RA=wA.Ac,HA=wA.Bc+4*dA,Ae=wA.zc,PA=wA.ya[wA.aa+dA];if(wA.Qa.Bb?PA.$b=hA(yA,wA.Pa.jb[0])?2+hA(yA,wA.Pa.jb[2]):hA(yA,wA.Pa.jb[1]):PA.$b=0,wA.kc&&(PA.Ad=hA(yA,wA.Bd)),PA.Za=!hA(yA,145)+0,PA.Za){var Ee=PA.Ob,Ne=0;for(wA=0;4>wA;++wA){var Fe,me=Ae[0+wA];for(Fe=0;4>Fe;++Fe){me=h_[RA[HA+Fe]][me];for(var Pe=sm[hA(yA,me[0])];0<Pe;)Pe=sm[2*Pe+hA(yA,me[Pe])];me=-Pe,RA[HA+Fe]=me}r(Ee,Ne,RA,HA,4),Ne+=4,Ae[0+wA]=me}}else me=hA(yA,156)?hA(yA,128)?1:3:hA(yA,163)?2:0,PA.Ob[0]=me,n(RA,HA,me,4),n(Ae,0,me,4);PA.Dd=hA(yA,142)?hA(yA,114)?hA(yA,183)?1:3:2:0}if(BA.m.Ka)return ct(AA,7,"Premature end-of-partition0 encountered.");for(;AA.ja<AA.za;++AA.ja){if(BA=X,yA=(J=AA).rb[J.sb-1],RA=J.rb[J.sb+J.ja],dA=J.ya[J.aa+J.ja],HA=J.kc?dA.Ad:0)yA.la=RA.la=0,dA.Za||(yA.Na=RA.Na=0),dA.Hc=0,dA.Gc=0,dA.ia=0;else{var He,ce;if(yA=RA,RA=BA,HA=J.Pa.Xc,Ae=J.ya[J.aa+J.ja],PA=J.pb[Ae.$b],wA=Ae.ad,Ee=0,Ne=J.rb[J.sb-1],me=Fe=0,n(wA,Ee,0,384),Ae.Za)var mt=0,hr=HA[3];else{Pe=i(16);var yt=yA.Na+Ne.Na;if(yt=Po(RA,HA[1],yt,PA.Eb,0,Pe,0),yA.Na=Ne.Na=(0<yt)+0,1<yt)rn(Pe,0,wA,Ee);else{var gr=Pe[0]+3>>3;for(Pe=0;256>Pe;Pe+=16)wA[Ee+Pe]=gr}mt=1,hr=HA[0]}var Te=15&yA.la,yr=15&Ne.la;for(Pe=0;4>Pe;++Pe){var Cr=1&yr;for(gr=ce=0;4>gr;++gr)Te=Te>>1|(Cr=(yt=Po(RA,hr,yt=Cr+(1&Te),PA.Sc,mt,wA,Ee))>mt)<<7,ce=ce<<2|(3<yt?3:1<yt?2:wA[Ee+0]!=0),Ee+=16;Te>>=4,yr=yr>>1|Cr<<7,Fe=(Fe<<8|ce)>>>0}for(hr=Te,mt=yr>>4,He=0;4>He;He+=2){for(ce=0,Te=yA.la>>4+He,yr=Ne.la>>4+He,Pe=0;2>Pe;++Pe){for(Cr=1&yr,gr=0;2>gr;++gr)yt=Cr+(1&Te),Te=Te>>1|(Cr=0<(yt=Po(RA,HA[2],yt,PA.Qc,0,wA,Ee)))<<3,ce=ce<<2|(3<yt?3:1<yt?2:wA[Ee+0]!=0),Ee+=16;Te>>=2,yr=yr>>1|Cr<<5}me|=ce<<4*He,hr|=Te<<4<<He,mt|=(240&yr)<<He}yA.la=hr,Ne.la=mt,Ae.Hc=Fe,Ae.Gc=me,Ae.ia=43690&me?0:PA.ia,HA=!(Fe|me)}if(0<J.L&&(J.wa[J.Y+J.ja]=J.gd[dA.$b][dA.Za],J.wa[J.Y+J.ja].La|=!HA),BA.Ka)return ct(AA,7,"Premature end-of-file encountered.")}if(go(AA),J=mA,BA=1,dA=(X=AA).D,yA=0<X.L&&X.M>=X.zb&&X.M<=X.Va,X.Aa==0)A:{if(dA.M=X.M,dA.uc=yA,Io(X,dA),BA=1,dA=(ce=X.D).Nb,yA=(me=xc[X.L])*X.R,RA=me/2*X.B,Pe=16*dA*X.R,gr=8*dA*X.B,HA=X.sa,Ae=X.ta-yA+Pe,PA=X.qa,wA=X.ra-RA+gr,Ee=X.Ha,Ne=X.Ia-RA+gr,yr=(Te=ce.M)==0,Fe=Te>=X.Va-1,X.Aa==2&&Io(X,ce),ce.uc)for(Cr=(yt=X).D.M,A(yt.D.uc),ce=yt.yb;ce<yt.Hb;++ce){mt=ce,hr=Cr;var Lt=(Pt=(et=yt).D).Nb;He=et.R;var Pt=Pt.wa[Pt.Y+mt],nr=et.sa,_r=et.ta+16*Lt*He+16*mt,Cn=Pt.dd,Nt=Pt.tc;if(Nt!=0)if(A(3<=Nt),et.L==1)0<mt&&ft(nr,_r,He,Nt+4),Pt.La&&Kn(nr,_r,He,Nt),0<hr&&Ke(nr,_r,He,Nt+4),Pt.La&&Ft(nr,_r,He,Nt);else{var jn=et.B,oa=et.qa,fs=et.ra+8*Lt*jn+8*mt,Qi=et.Ha,et=et.Ia+8*Lt*jn+8*mt;Lt=Pt.ld,0<mt&&(ls(nr,_r,He,Nt+4,Cn,Lt),yi(oa,fs,Qi,et,jn,Nt+4,Cn,Lt)),Pt.La&&(Tr(nr,_r,He,Nt,Cn,Lt),ke(oa,fs,Qi,et,jn,Nt,Cn,Lt)),0<hr&&(aa(nr,_r,He,Nt+4,Cn,Lt),sa(oa,fs,Qi,et,jn,Nt+4,Cn,Lt)),Pt.La&&(_o(nr,_r,He,Nt,Cn,Lt),kn(oa,fs,Qi,et,jn,Nt,Cn,Lt))}}if(X.ia&&alert("todo:DitherRow"),J.put!=null){if(ce=16*Te,Te=16*(Te+1),yr?(J.y=X.sa,J.O=X.ta+Pe,J.f=X.qa,J.N=X.ra+gr,J.ea=X.Ha,J.W=X.Ia+gr):(ce-=me,J.y=HA,J.O=Ae,J.f=PA,J.N=wA,J.ea=Ee,J.W=Ne),Fe||(Te-=me),Te>J.o&&(Te=J.o),J.F=null,J.J=null,X.Fa!=null&&0<X.Fa.length&&ce<Te&&(J.J=Eo(X,J,ce,Te-ce),J.F=X.mb,J.F==null&&J.F.length==0)){BA=ct(X,3,"Could not decode alpha data.");break A}ce<J.j&&(me=J.j-ce,ce=J.j,A(!(1&me)),J.O+=X.R*me,J.N+=X.B*(me>>1),J.W+=X.B*(me>>1),J.F!=null&&(J.J+=J.width*me)),ce<Te&&(J.O+=J.v,J.N+=J.v>>1,J.W+=J.v>>1,J.F!=null&&(J.J+=J.v),J.ka=ce-J.j,J.U=J.va-J.v,J.T=Te-ce,BA=J.put(J))}dA+1!=X.Ic||Fe||(r(X.sa,X.ta-yA,HA,Ae+16*X.R,yA),r(X.qa,X.ra-RA,PA,wA+8*X.B,RA),r(X.Ha,X.Ia-RA,Ee,Ne+8*X.B,RA))}if(!BA)return ct(AA,6,"Output aborted.")}return 1}(u,c)),c.bc!=null&&c.bc(c),v&=1}return v?(u.cb=0,v):0}function Jr(u,c,v,B,C){C=u[c+v+32*B]+(C>>3),u[c+v+32*B]=-256&C?0>C?0:255:C}function za(u,c,v,B,C,E){Jr(u,c,0,v,B+C),Jr(u,c,1,v,B+E),Jr(u,c,2,v,B-E),Jr(u,c,3,v,B-C)}function lr(u){return(20091*u>>16)+u}function po(u,c,v,B){var C,E=0,x=i(16);for(C=0;4>C;++C){var I=u[c+0]+u[c+8],L=u[c+0]-u[c+8],H=(35468*u[c+4]>>16)-lr(u[c+12]),z=lr(u[c+4])+(35468*u[c+12]>>16);x[E+0]=I+z,x[E+1]=L+H,x[E+2]=L-H,x[E+3]=I-z,E+=4,c++}for(C=E=0;4>C;++C)I=(u=x[E+0]+4)+x[E+8],L=u-x[E+8],H=(35468*x[E+4]>>16)-lr(x[E+12]),Jr(v,B,0,0,I+(z=lr(x[E+4])+(35468*x[E+12]>>16))),Jr(v,B,1,0,L+H),Jr(v,B,2,0,L-H),Jr(v,B,3,0,I-z),E++,B+=32}function nc(u,c,v,B){var C=u[c+0]+4,E=35468*u[c+4]>>16,x=lr(u[c+4]),I=35468*u[c+1]>>16;za(v,B,0,C+x,u=lr(u[c+1]),I),za(v,B,1,C+E,u,I),za(v,B,2,C-E,u,I),za(v,B,3,C-x,u,I)}function Rd(u,c,v,B,C){po(u,c,v,B),C&&po(u,c+16,v,B+4)}function ic(u,c,v,B){us(u,c+0,v,B,1),us(u,c+32,v,B+128,1)}function kd(u,c,v,B){var C;for(u=u[c+0]+4,C=0;4>C;++C)for(c=0;4>c;++c)Jr(v,B,c,C,u)}function ac(u,c,v,B){u[c+0]&&nn(u,c+0,v,B),u[c+16]&&nn(u,c+16,v,B+4),u[c+32]&&nn(u,c+32,v,B+128),u[c+48]&&nn(u,c+48,v,B+128+4)}function Kd(u,c,v,B){var C,E=i(16);for(C=0;4>C;++C){var x=u[c+0+C]+u[c+12+C],I=u[c+4+C]+u[c+8+C],L=u[c+4+C]-u[c+8+C],H=u[c+0+C]-u[c+12+C];E[0+C]=x+I,E[8+C]=x-I,E[4+C]=H+L,E[12+C]=H-L}for(C=0;4>C;++C)x=(u=E[0+4*C]+3)+E[3+4*C],I=E[1+4*C]+E[2+4*C],L=E[1+4*C]-E[2+4*C],H=u-E[3+4*C],v[B+0]=x+I>>3,v[B+16]=H+L>>3,v[B+32]=x-I>>3,v[B+48]=H-L>>3,B+=64}function vo(u,c,v){var B,C=c-32,E=mr,x=255-u[C-1];for(B=0;B<v;++B){var I,L=E,H=x+u[c-1];for(I=0;I<v;++I)u[c+I]=L[H+u[C+I]];c+=32}}function Vd(u,c){vo(u,c,4)}function jd(u,c){vo(u,c,8)}function Gd(u,c){vo(u,c,16)}function _n(u,c){var v;for(v=0;16>v;++v)r(u,c+32*v,u,c-32,16)}function Xa(u,c){var v;for(v=16;0<v;--v)n(u,c,u[c-1],16),c+=32}function Ya(u,c,v){var B;for(B=0;16>B;++B)n(c,v+32*B,u,16)}function sc(u,c){var v,B=16;for(v=0;16>v;++v)B+=u[c-1+32*v]+u[c+v-32];Ya(B>>5,u,c)}function qt(u,c){var v,B=8;for(v=0;16>v;++v)B+=u[c-1+32*v];Ya(B>>4,u,c)}function $d(u,c){var v,B=8;for(v=0;16>v;++v)B+=u[c+v-32];Ya(B>>4,u,c)}function oc(u,c){Ya(128,u,c)}function ae(u,c,v){return u+2*c+v+2>>2}function qd(u,c){var v,B=c-32;for(B=new Uint8Array([ae(u[B-1],u[B+0],u[B+1]),ae(u[B+0],u[B+1],u[B+2]),ae(u[B+1],u[B+2],u[B+3]),ae(u[B+2],u[B+3],u[B+4])]),v=0;4>v;++v)r(u,c+32*v,B,0,B.length)}function Wd(u,c){var v=u[c-1],B=u[c-1+32],C=u[c-1+64],E=u[c-1+96];xA(u,c+0,16843009*ae(u[c-1-32],v,B)),xA(u,c+32,16843009*ae(v,B,C)),xA(u,c+64,16843009*ae(B,C,E)),xA(u,c+96,16843009*ae(C,E,E))}function mn(u,c){var v,B=4;for(v=0;4>v;++v)B+=u[c+v-32]+u[c-1+32*v];for(B>>=3,v=0;4>v;++v)n(u,c+32*v,B,4)}function uc(u,c){var v=u[c-1+0],B=u[c-1+32],C=u[c-1+64],E=u[c-1-32],x=u[c+0-32],I=u[c+1-32],L=u[c+2-32],H=u[c+3-32];u[c+0+96]=ae(B,C,u[c-1+96]),u[c+1+96]=u[c+0+64]=ae(v,B,C),u[c+2+96]=u[c+1+64]=u[c+0+32]=ae(E,v,B),u[c+3+96]=u[c+2+64]=u[c+1+32]=u[c+0+0]=ae(x,E,v),u[c+3+64]=u[c+2+32]=u[c+1+0]=ae(I,x,E),u[c+3+32]=u[c+2+0]=ae(L,I,x),u[c+3+0]=ae(H,L,I)}function lc(u,c){var v=u[c+1-32],B=u[c+2-32],C=u[c+3-32],E=u[c+4-32],x=u[c+5-32],I=u[c+6-32],L=u[c+7-32];u[c+0+0]=ae(u[c+0-32],v,B),u[c+1+0]=u[c+0+32]=ae(v,B,C),u[c+2+0]=u[c+1+32]=u[c+0+64]=ae(B,C,E),u[c+3+0]=u[c+2+32]=u[c+1+64]=u[c+0+96]=ae(C,E,x),u[c+3+32]=u[c+2+64]=u[c+1+96]=ae(E,x,I),u[c+3+64]=u[c+2+96]=ae(x,I,L),u[c+3+96]=ae(I,L,L)}function Ja(u,c){var v=u[c-1+0],B=u[c-1+32],C=u[c-1+64],E=u[c-1-32],x=u[c+0-32],I=u[c+1-32],L=u[c+2-32],H=u[c+3-32];u[c+0+0]=u[c+1+64]=E+x+1>>1,u[c+1+0]=u[c+2+64]=x+I+1>>1,u[c+2+0]=u[c+3+64]=I+L+1>>1,u[c+3+0]=L+H+1>>1,u[c+0+96]=ae(C,B,v),u[c+0+64]=ae(B,v,E),u[c+0+32]=u[c+1+96]=ae(v,E,x),u[c+1+32]=u[c+2+96]=ae(E,x,I),u[c+2+32]=u[c+3+96]=ae(x,I,L),u[c+3+32]=ae(I,L,H)}function Bo(u,c){var v=u[c+0-32],B=u[c+1-32],C=u[c+2-32],E=u[c+3-32],x=u[c+4-32],I=u[c+5-32],L=u[c+6-32],H=u[c+7-32];u[c+0+0]=v+B+1>>1,u[c+1+0]=u[c+0+64]=B+C+1>>1,u[c+2+0]=u[c+1+64]=C+E+1>>1,u[c+3+0]=u[c+2+64]=E+x+1>>1,u[c+0+32]=ae(v,B,C),u[c+1+32]=u[c+0+96]=ae(B,C,E),u[c+2+32]=u[c+1+96]=ae(C,E,x),u[c+3+32]=u[c+2+96]=ae(E,x,I),u[c+3+64]=ae(x,I,L),u[c+3+96]=ae(I,L,H)}function zd(u,c){var v=u[c-1+0],B=u[c-1+32],C=u[c-1+64],E=u[c-1+96];u[c+0+0]=v+B+1>>1,u[c+2+0]=u[c+0+32]=B+C+1>>1,u[c+2+32]=u[c+0+64]=C+E+1>>1,u[c+1+0]=ae(v,B,C),u[c+3+0]=u[c+1+32]=ae(B,C,E),u[c+3+32]=u[c+1+64]=ae(C,E,E),u[c+3+64]=u[c+2+64]=u[c+0+96]=u[c+1+96]=u[c+2+96]=u[c+3+96]=E}function Xd(u,c){var v=u[c-1+0],B=u[c-1+32],C=u[c-1+64],E=u[c-1+96],x=u[c-1-32],I=u[c+0-32],L=u[c+1-32],H=u[c+2-32];u[c+0+0]=u[c+2+32]=v+x+1>>1,u[c+0+32]=u[c+2+64]=B+v+1>>1,u[c+0+64]=u[c+2+96]=C+B+1>>1,u[c+0+96]=E+C+1>>1,u[c+3+0]=ae(I,L,H),u[c+2+0]=ae(x,I,L),u[c+1+0]=u[c+3+32]=ae(v,x,I),u[c+1+32]=u[c+3+64]=ae(B,v,x),u[c+1+64]=u[c+3+96]=ae(C,B,v),u[c+1+96]=ae(E,C,B)}function Yd(u,c){var v;for(v=0;8>v;++v)r(u,c+32*v,u,c-32,8)}function wo(u,c){var v;for(v=0;8>v;++v)n(u,c,u[c-1],8),c+=32}function ta(u,c,v){var B;for(B=0;8>B;++B)n(c,v+32*B,u,8)}function gi(u,c){var v,B=8;for(v=0;8>v;++v)B+=u[c+v-32]+u[c-1+32*v];ta(B>>4,u,c)}function Jd(u,c){var v,B=4;for(v=0;8>v;++v)B+=u[c+v-32];ta(B>>3,u,c)}function ra(u,c){var v,B=4;for(v=0;8>v;++v)B+=u[c-1+32*v];ta(B>>3,u,c)}function mo(u,c){ta(128,u,c)}function Za(u,c,v){var B=u[c-v],C=u[c+0],E=3*(C-B)+a0[1020+u[c-2*v]-u[c+v]],x=mc[112+(E+4>>3)];u[c-v]=mr[255+B+mc[112+(E+3>>3)]],u[c+0]=mr[255+C-x]}function cc(u,c,v,B){var C=u[c+0],E=u[c+v];return Or[255+u[c-2*v]-u[c-v]]>B||Or[255+E-C]>B}function fc(u,c,v,B){return 4*Or[255+u[c-v]-u[c+0]]+Or[255+u[c-2*v]-u[c+v]]<=B}function hc(u,c,v,B,C){var E=u[c-3*v],x=u[c-2*v],I=u[c-v],L=u[c+0],H=u[c+v],z=u[c+2*v],oA=u[c+3*v];return 4*Or[255+I-L]+Or[255+x-H]>B?0:Or[255+u[c-4*v]-E]<=C&&Or[255+E-x]<=C&&Or[255+x-I]<=C&&Or[255+oA-z]<=C&&Or[255+z-H]<=C&&Or[255+H-L]<=C}function gc(u,c,v,B){var C=2*B+1;for(B=0;16>B;++B)fc(u,c+B,v,C)&&Za(u,c+B,v)}function Pn(u,c,v,B){var C=2*B+1;for(B=0;16>B;++B)fc(u,c+B*v,1,C)&&Za(u,c+B*v,1)}function di(u,c,v,B){var C;for(C=3;0<C;--C)gc(u,c+=4*v,v,B)}function Zd(u,c,v,B){var C;for(C=3;0<C;--C)Pn(u,c+=4,v,B)}function pi(u,c,v,B,C,E,x,I){for(E=2*E+1;0<C--;){if(hc(u,c,v,E,x))if(cc(u,c,v,I))Za(u,c,v);else{var L=u,H=c,z=v,oA=L[H-2*z],uA=L[H-z],AA=L[H+0],mA=L[H+z],dA=L[H+2*z],X=27*(BA=a0[1020+3*(AA-uA)+a0[1020+oA-mA]])+63>>7,J=18*BA+63>>7,BA=9*BA+63>>7;L[H-3*z]=mr[255+L[H-3*z]+BA],L[H-2*z]=mr[255+oA+J],L[H-z]=mr[255+uA+X],L[H+0]=mr[255+AA-X],L[H+z]=mr[255+mA-J],L[H+2*z]=mr[255+dA-BA]}c+=B}}function Zr(u,c,v,B,C,E,x,I){for(E=2*E+1;0<C--;){if(hc(u,c,v,E,x))if(cc(u,c,v,I))Za(u,c,v);else{var L=u,H=c,z=v,oA=L[H-z],uA=L[H+0],AA=L[H+z],mA=mc[112+((dA=3*(uA-oA))+4>>3)],dA=mc[112+(dA+3>>3)],X=mA+1>>1;L[H-2*z]=mr[255+L[H-2*z]+X],L[H-z]=mr[255+oA+dA],L[H+0]=mr[255+uA-mA],L[H+z]=mr[255+AA-X]}c+=B}}function yo(u,c,v,B,C,E){pi(u,c,v,1,16,B,C,E)}function na(u,c,v,B,C,E){pi(u,c,1,v,16,B,C,E)}function A0(u,c,v,B,C,E){var x;for(x=3;0<x;--x)Zr(u,c+=4*v,v,1,16,B,C,E)}function As(u,c,v,B,C,E){var x;for(x=3;0<x;--x)Zr(u,c+=4,1,v,16,B,C,E)}function e0(u,c,v,B,C,E,x,I){pi(u,c,C,1,8,E,x,I),pi(v,B,C,1,8,E,x,I)}function Co(u,c,v,B,C,E,x,I){pi(u,c,1,C,8,E,x,I),pi(v,B,1,C,8,E,x,I)}function bo(u,c,v,B,C,E,x,I){Zr(u,c+4*C,C,1,8,E,x,I),Zr(v,B+4*C,C,1,8,E,x,I)}function dc(u,c,v,B,C,E,x,I){Zr(u,c+4,1,C,8,E,x,I),Zr(v,B+4,1,C,8,E,x,I)}function es(){this.ba=new _t,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Le,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Fo(){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 Qo(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function pc(){this.ua=0,this.Wa=new V,this.vb=new V,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new R,this.yc=new S}function t0(){this.xb=this.a=0,this.l=new Wa,this.ca=new _t,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Q,this.Pb=0,this.wd=new Q,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new pc,this.ab=0,this.gc=a(4,Qo),this.Oc=0}function ts(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Wa,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ia(u,c,v,B,C,E,x){for(u=u==null?0:u[c+0],c=0;c<x;++c)C[E+c]=u+v[B+c]&255,u=C[E+c]}function Uo(u,c,v,B,C,E,x){var I;if(u==null)ia(null,null,v,B,C,E,x);else for(I=0;I<x;++I)C[E+I]=u[c+I]+v[B+I]&255}function vi(u,c,v,B,C,E,x){if(u==null)ia(null,null,v,B,C,E,x);else{var I,L=u[c+0],H=L,z=L;for(I=0;I<x;++I)H=z+(L=u[c+I])-H,z=v[B+I]+(-256&H?0>H?0:255:H)&255,H=L,C[E+I]=z}}function Eo(u,c,v,B){var C=c.width,E=c.o;if(A(u!=null&&c!=null),0>v||0>=B||v+B>E)return null;if(!u.Cc){if(u.ga==null){var x;if(u.ga=new ts,(x=u.ga==null)||(x=c.width*c.o,A(u.Gb.length==0),u.Gb=i(x),u.Uc=0,u.Gb==null?x=0:(u.mb=u.Gb,u.nb=u.Uc,u.rc=null,x=1),x=!x),!x){x=u.ga;var I=u.Fa,L=u.P,H=u.qc,z=u.mb,oA=u.nb,uA=L+1,AA=H-1,mA=x.l;if(A(I!=null&&z!=null&&c!=null),Fi[0]=null,Fi[1]=ia,Fi[2]=Uo,Fi[3]=vi,x.ca=z,x.tb=oA,x.c=c.width,x.i=c.height,A(0<x.c&&0<x.i),1>=H)c=0;else if(x.$a=I[L+0]>>0&3,x.Z=I[L+0]>>2&3,x.Lc=I[L+0]>>4&3,L=I[L+0]>>6&3,0>x.$a||1<x.$a||4<=x.Z||1<x.Lc||L)c=0;else if(mA.put=vr,mA.ac=vt,mA.bc=Ir,mA.ma=x,mA.width=c.width,mA.height=c.height,mA.Da=c.Da,mA.v=c.v,mA.va=c.va,mA.j=c.j,mA.o=c.o,x.$a)A:{A(x.$a==1),c=rr();e:for(;;){if(c==null){c=0;break A}if(A(x!=null),x.mc=c,c.c=x.c,c.i=x.i,c.l=x.l,c.l.ma=x,c.l.width=x.c,c.l.height=x.i,c.a=0,eA(c.m,I,uA,AA),!Lr(x.c,x.i,1,c,null)||(c.ab==1&&c.gc[0].hc==3&&tr(c.s)?(x.ic=1,I=c.c*c.i,c.Ta=null,c.Ua=0,c.V=i(I),c.Ba=0,c.V==null?(c.a=1,c=0):c=1):(x.ic=0,c=qA(c,x.c)),!c))break e;c=1;break A}x.mc=null,c=0}else c=AA>=x.c*x.i;x=!c}if(x)return null;u.ga.Lc!=1?u.Ga=0:B=E-v}A(u.ga!=null),A(v+B<=E);A:{if(c=(I=u.ga).c,E=I.l.o,I.$a==0){if(uA=u.rc,AA=u.Vc,mA=u.Fa,L=u.P+1+v*c,H=u.mb,z=u.nb+v*c,A(L<=u.P+u.qc),I.Z!=0)for(A(Fi[I.Z]!=null),x=0;x<B;++x)Fi[I.Z](uA,AA,mA,L,H,z,c),uA=H,AA=z,z+=c,L+=c;else for(x=0;x<B;++x)r(H,z,mA,L,c),uA=H,AA=z,z+=c,L+=c;u.rc=uA,u.Vc=AA}else{if(A(I.mc!=null),c=v+B,A((x=I.mc)!=null),A(c<=x.i),x.C>=c)c=1;else if(I.ic||rA(),I.ic){I=x.V,uA=x.Ba,AA=x.c;var dA=x.i,X=(mA=1,L=x.$/AA,H=x.$%AA,z=x.m,oA=x.s,x.$),J=AA*dA,BA=AA*c,yA=oA.wc,wA=X<BA?We(oA,H,L):null;A(X<=J),A(c<=dA),A(tr(oA));e:for(;;){for(;!z.h&&X<BA;){if(H&yA||(wA=We(oA,H,L)),A(wA!=null),W(z),256>(dA=$e(wA.G[0],wA.H[0],z)))I[uA+X]=dA,++X,++H>=AA&&(H=0,++L<=c&&!(L%16)&&or(x,L));else{if(!(280>dA)){mA=0;break e}dA=er(dA-256,z);var RA,HA=$e(wA.G[4],wA.H[4],z);if(W(z),!(X>=(HA=Sr(AA,HA=er(HA,z)))&&J-X>=dA)){mA=0;break e}for(RA=0;RA<dA;++RA)I[uA+X+RA]=I[uA+X+RA-HA];for(X+=dA,H+=dA;H>=AA;)H-=AA,++L<=c&&!(L%16)&&or(x,L);X<BA&&H&yA&&(wA=We(oA,H,L))}A(z.h==P(z))}or(x,L>c?c:L);break e}!mA||z.h&&X<J?(mA=0,x.a=z.h?5:3):x.$=X,c=mA}else c=ur(x,x.V,x.Ba,x.c,x.i,c,Y);if(!c){B=0;break A}}v+B>=E&&(u.Cc=1),B=1}if(!B)return null;if(u.Cc&&((B=u.ga)!=null&&(B.mc=null),u.ga=null,0<u.Ga))return alert("todo:WebPDequantizeLevels"),null}return u.nb+v*C}function g(u,c,v,B,C,E){for(;0<C--;){var x,I=u,L=c+(v?1:0),H=u,z=c+(v?0:3);for(x=0;x<B;++x){var oA=H[z+4*x];oA!=255&&(oA*=32897,I[L+4*x+0]=I[L+4*x+0]*oA>>23,I[L+4*x+1]=I[L+4*x+1]*oA>>23,I[L+4*x+2]=I[L+4*x+2]*oA>>23)}c+=E}}function F(u,c,v,B,C){for(;0<B--;){var E;for(E=0;E<v;++E){var x=u[c+2*E+0],I=15&(H=u[c+2*E+1]),L=4369*I,H=(240&H|H>>4)*L>>16;u[c+2*E+0]=(240&x|x>>4)*L>>16&240|(15&x|x<<4)*L>>16>>4&15,u[c+2*E+1]=240&H|I}c+=C}}function D(u,c,v,B,C,E,x,I){var L,H,z=255;for(H=0;H<C;++H){for(L=0;L<B;++L){var oA=u[c+L];E[x+4*L]=oA,z&=oA}c+=v,x+=I}return z!=255}function q(u,c,v,B,C){var E;for(E=0;E<C;++E)v[B+E]=u[c+E]>>8}function rA(){Ci=g,cs=F,wc=D,J5=q}function pA(u,c,v){O[u]=function(B,C,E,x,I,L,H,z,oA,uA,AA,mA,dA,X,J,BA,yA){var wA,RA=yA-1>>1,HA=I[L+0]|H[z+0]<<16,Ae=oA[uA+0]|AA[mA+0]<<16;A(B!=null);var PA=3*HA+Ae+131074>>2;for(c(B[C+0],255&PA,PA>>16,dA,X),E!=null&&(PA=3*Ae+HA+131074>>2,c(E[x+0],255&PA,PA>>16,J,BA)),wA=1;wA<=RA;++wA){var Ee=I[L+wA]|H[z+wA]<<16,Ne=oA[uA+wA]|AA[mA+wA]<<16,Fe=HA+Ee+Ae+Ne+524296,me=Fe+2*(Ee+Ae)>>3;PA=me+HA>>1,HA=(Fe=Fe+2*(HA+Ne)>>3)+Ee>>1,c(B[C+2*wA-1],255&PA,PA>>16,dA,X+(2*wA-1)*v),c(B[C+2*wA-0],255&HA,HA>>16,dA,X+(2*wA-0)*v),E!=null&&(PA=Fe+Ae>>1,HA=me+Ne>>1,c(E[x+2*wA-1],255&PA,PA>>16,J,BA+(2*wA-1)*v),c(E[x+2*wA+0],255&HA,HA>>16,J,BA+(2*wA+0)*v)),HA=Ee,Ae=Ne}1&yA||(PA=3*HA+Ae+131074>>2,c(B[C+yA-1],255&PA,PA>>16,dA,X+(yA-1)*v),E!=null&&(PA=3*Ae+HA+131074>>2,c(E[x+yA-1],255&PA,PA>>16,J,BA+(yA-1)*v)))}}function UA(){Hr[yc]=v_,Hr[Cc]=um,Hr[nm]=B_,Hr[bc]=lm,Hr[Fc]=cm,Hr[s0]=fm,Hr[im]=w_,Hr[o0]=um,Hr[u0]=lm,Hr[Qc]=cm,Hr[l0]=fm}function MA(u){return u&~m_?0>u?0:255:u>>hm}function YA(u,c){return MA((19077*u>>8)+(26149*c>>8)-14234)}function le(u,c,v){return MA((19077*u>>8)-(6419*c>>8)-(13320*v>>8)+8708)}function de(u,c){return MA((19077*u>>8)+(33050*c>>8)-17685)}function Ce(u,c,v,B,C){B[C+0]=YA(u,v),B[C+1]=le(u,c,v),B[C+2]=de(u,c)}function Xe(u,c,v,B,C){B[C+0]=de(u,c),B[C+1]=le(u,c,v),B[C+2]=YA(u,v)}function At(u,c,v,B,C){var E=le(u,c,v);c=E<<3&224|de(u,c)>>3,B[C+0]=248&YA(u,v)|E>>5,B[C+1]=c}function wt(u,c,v,B,C){var E=240&de(u,c)|15;B[C+0]=240&YA(u,v)|le(u,c,v)>>4,B[C+1]=E}function Wt(u,c,v,B,C){B[C+0]=255,Ce(u,c,v,B,C+1)}function St(u,c,v,B,C){Xe(u,c,v,B,C),B[C+3]=255}function An(u,c,v,B,C){Ce(u,c,v,B,C),B[C+3]=255}function wr(u,c){return 0>u?0:u>c?c:u}function Dn(u,c,v){O[u]=function(B,C,E,x,I,L,H,z,oA){for(var uA=z+(-2&oA)*v;z!=uA;)c(B[C+0],E[x+0],I[L+0],H,z),c(B[C+1],E[x+0],I[L+0],H,z+v),C+=2,++x,++L,z+=2*v;1&oA&&c(B[C+0],E[x+0],I[L+0],H,z)}}function vc(u,c,v){return v==0?u==0?c==0?6:5:c==0?4:0:v}function xo(u,c,v,B,C){switch(u>>>30){case 3:us(c,v,B,C,0);break;case 2:Ho(c,v,B,C);break;case 1:nn(c,v,B,C)}}function Io(u,c){var v,B,C=c.M,E=c.Nb,x=u.oc,I=u.pc+40,L=u.oc,H=u.pc+584,z=u.oc,oA=u.pc+600;for(v=0;16>v;++v)x[I+32*v-1]=129;for(v=0;8>v;++v)L[H+32*v-1]=129,z[oA+32*v-1]=129;for(0<C?x[I-1-32]=L[H-1-32]=z[oA-1-32]=129:(n(x,I-32-1,127,21),n(L,H-32-1,127,9),n(z,oA-32-1,127,9)),B=0;B<u.za;++B){var uA=c.ya[c.aa+B];if(0<B){for(v=-1;16>v;++v)r(x,I+32*v-4,x,I+32*v+12,4);for(v=-1;8>v;++v)r(L,H+32*v-4,L,H+32*v+4,4),r(z,oA+32*v-4,z,oA+32*v+4,4)}var AA=u.Gd,mA=u.Hd+B,dA=uA.ad,X=uA.Hc;if(0<C&&(r(x,I-32,AA[mA].y,0,16),r(L,H-32,AA[mA].f,0,8),r(z,oA-32,AA[mA].ea,0,8)),uA.Za){var J=x,BA=I-32+16;for(0<C&&(B>=u.za-1?n(J,BA,AA[mA].y[15],4):r(J,BA,AA[mA+1].y,0,4)),v=0;4>v;v++)J[BA+128+v]=J[BA+256+v]=J[BA+384+v]=J[BA+0+v];for(v=0;16>v;++v,X<<=2)J=x,BA=I+dm[v],an[uA.Ob[v]](J,BA),xo(X,dA,16*+v,J,BA)}else if(J=vc(B,C,uA.Ob[0]),bi[J](x,I),X!=0)for(v=0;16>v;++v,X<<=2)xo(X,dA,16*+v,x,I+dm[v]);for(v=uA.Gc,J=vc(B,C,uA.Dd),Vn[J](L,H),Vn[J](z,oA),X=dA,J=L,BA=H,255&(uA=v>>0)&&(170&uA?mi(X,256,J,BA):Rn(X,256,J,BA)),uA=z,X=oA,255&(v>>=8)&&(170&v?mi(dA,320,uA,X):Rn(dA,320,uA,X)),C<u.Ub-1&&(r(AA[mA].y,0,x,I+480,16),r(AA[mA].f,0,L,H+224,8),r(AA[mA].ea,0,z,oA+224,8)),v=8*E*u.B,AA=u.sa,mA=u.ta+16*B+16*E*u.R,dA=u.qa,uA=u.ra+8*B+v,X=u.Ha,J=u.Ia+8*B+v,v=0;16>v;++v)r(AA,mA+v*u.R,x,I+32*v,16);for(v=0;8>v;++v)r(dA,uA+v*u.B,L,H+32*v,8),r(X,J+v*u.B,z,oA+32*v,8)}}function rs(u,c,v,B,C,E,x,I,L){var H=[0],z=[0],oA=0,uA=L!=null?L.kd:0,AA=L??new Fo;if(u==null||12>v)return 7;AA.data=u,AA.w=c,AA.ha=v,c=[c],v=[v],AA.gb=[AA.gb];A:{var mA=c,dA=v,X=AA.gb;if(A(u!=null),A(dA!=null),A(X!=null),X[0]=0,12<=dA[0]&&!e(u,mA[0],"RIFF")){if(e(u,mA[0]+8,"WEBP")){X=3;break A}var J=NA(u,mA[0]+4);if(12>J||4294967286<J){X=3;break A}if(uA&&J>dA[0]-8){X=7;break A}X[0]=J,mA[0]+=12,dA[0]-=12}X=0}if(X!=0)return X;for(J=0<AA.gb[0],v=v[0];;){A:{var BA=u;dA=c,X=v;var yA=H,wA=z,RA=mA=[0];if((PA=oA=[oA])[0]=0,8>X[0])X=7;else{if(!e(BA,dA[0],"VP8X")){if(NA(BA,dA[0]+4)!=10){X=3;break A}if(18>X[0]){X=7;break A}var HA=NA(BA,dA[0]+8),Ae=1+_A(BA,dA[0]+12);if(2147483648<=Ae*(BA=1+_A(BA,dA[0]+15))){X=3;break A}RA!=null&&(RA[0]=HA),yA!=null&&(yA[0]=Ae),wA!=null&&(wA[0]=BA),dA[0]+=18,X[0]-=18,PA[0]=1}X=0}}if(oA=oA[0],mA=mA[0],X!=0)return X;if(dA=!!(2&mA),!J&&oA)return 3;if(E!=null&&(E[0]=!!(16&mA)),x!=null&&(x[0]=dA),I!=null&&(I[0]=0),x=H[0],mA=z[0],oA&&dA&&L==null){X=0;break}if(4>v){X=7;break}if(J&&oA||!J&&!oA&&!e(u,c[0],"ALPH")){v=[v],AA.na=[AA.na],AA.P=[AA.P],AA.Sa=[AA.Sa];A:{HA=u,X=c,J=v;var PA=AA.gb;yA=AA.na,wA=AA.P,RA=AA.Sa,Ae=22,A(HA!=null),A(J!=null),BA=X[0];var Ee=J[0];for(A(yA!=null),A(RA!=null),yA[0]=null,wA[0]=null,RA[0]=0;;){if(X[0]=BA,J[0]=Ee,8>Ee){X=7;break A}var Ne=NA(HA,BA+4);if(4294967286<Ne){X=3;break A}var Fe=8+Ne+1&-2;if(Ae+=Fe,0<PA&&Ae>PA){X=3;break A}if(!e(HA,BA,"VP8 ")||!e(HA,BA,"VP8L")){X=0;break A}if(Ee[0]<Fe){X=7;break A}e(HA,BA,"ALPH")||(yA[0]=HA,wA[0]=BA+8,RA[0]=Ne),BA+=Fe,Ee-=Fe}}if(v=v[0],AA.na=AA.na[0],AA.P=AA.P[0],AA.Sa=AA.Sa[0],X!=0)break}v=[v],AA.Ja=[AA.Ja],AA.xa=[AA.xa];A:if(PA=u,X=c,J=v,yA=AA.gb[0],wA=AA.Ja,RA=AA.xa,HA=X[0],BA=!e(PA,HA,"VP8 "),Ae=!e(PA,HA,"VP8L"),A(PA!=null),A(J!=null),A(wA!=null),A(RA!=null),8>J[0])X=7;else{if(BA||Ae){if(PA=NA(PA,HA+4),12<=yA&&PA>yA-12){X=3;break A}if(uA&&PA>J[0]-8){X=7;break A}wA[0]=PA,X[0]+=8,J[0]-=8,RA[0]=Ae}else RA[0]=5<=J[0]&&PA[HA+0]==47&&!(PA[HA+4]>>5),wA[0]=J[0];X=0}if(v=v[0],AA.Ja=AA.Ja[0],AA.xa=AA.xa[0],c=c[0],X!=0)break;if(4294967286<AA.Ja)return 3;if(I==null||dA||(I[0]=AA.xa?2:1),x=[x],mA=[mA],AA.xa){if(5>v){X=7;break}I=x,uA=mA,dA=E,u==null||5>v?u=0:5<=v&&u[c+0]==47&&!(u[c+4]>>5)?(J=[0],PA=[0],yA=[0],eA(wA=new Q,u,c,v),XA(wA,J,PA,yA)?(I!=null&&(I[0]=J[0]),uA!=null&&(uA[0]=PA[0]),dA!=null&&(dA[0]=yA[0]),u=1):u=0):u=0}else{if(10>v){X=7;break}I=mA,u==null||10>v||!ec(u,c+3,v-3)?u=0:(uA=u[c+0]|u[c+1]<<8|u[c+2]<<16,dA=16383&(u[c+7]<<8|u[c+6]),u=16383&(u[c+9]<<8|u[c+8]),1&uA||3<(uA>>1&7)||!(uA>>4&1)||uA>>5>=AA.Ja||!dA||!u?u=0:(x&&(x[0]=dA),I&&(I[0]=u),u=1))}if(!u||(x=x[0],mA=mA[0],oA&&(H[0]!=x||z[0]!=mA)))return 3;L!=null&&(L[0]=AA,L.offset=c-L.w,A(4294967286>c-L.w),A(L.offset==L.ha-v));break}return X==0||X==7&&oA&&L==null?(E!=null&&(E[0]|=AA.na!=null&&0<AA.na.length),B!=null&&(B[0]=x),C!=null&&(C[0]=mA),0):X}function So(u,c,v){var B=c.width,C=c.height,E=0,x=0,I=B,L=C;if(c.Da=u!=null&&0<u.Da,c.Da&&(I=u.cd,L=u.bd,E=u.v,x=u.j,11>v||(E&=-2,x&=-2),0>E||0>x||0>=I||0>=L||E+I>B||x+L>C))return 0;if(c.v=E,c.j=x,c.va=E+I,c.o=x+L,c.U=I,c.T=L,c.da=u!=null&&0<u.da,c.da){if(!JA(I,L,v=[u.ib],E=[u.hb]))return 0;c.ib=v[0],c.hb=E[0]}return c.ob=u!=null&&u.ob,c.Kb=u==null||!u.Sd,c.da&&(c.ob=c.ib<3*B/4&&c.hb<3*C/4,c.Kb=0),1}function Lo(u){if(u==null)return 2;if(11>u.S){var c=u.f.RGBA;c.fb+=(u.height-1)*c.A,c.A=-c.A}else c=u.f.kb,u=u.height,c.O+=(u-1)*c.fa,c.fa=-c.fa,c.N+=(u-1>>1)*c.Ab,c.Ab=-c.Ab,c.W+=(u-1>>1)*c.Db,c.Db=-c.Db,c.F!=null&&(c.J+=(u-1)*c.lb,c.lb=-c.lb);return 0}function ns(u,c,v,B){if(B==null||0>=u||0>=c)return 2;if(v!=null){if(v.Da){var C=v.cd,E=v.bd,x=-2&v.v,I=-2&v.j;if(0>x||0>I||0>=C||0>=E||x+C>u||I+E>c)return 2;u=C,c=E}if(v.da){if(!JA(u,c,C=[v.ib],E=[v.hb]))return 2;u=C[0],c=E[0]}}B.width=u,B.height=c;A:{var L=B.width,H=B.height;if(u=B.S,0>=L||0>=H||!(u>=yc&&13>u))u=2;else{if(0>=B.Rd&&B.sd==null){x=E=C=c=0;var z=(I=L*pm[u])*H;if(11>u||(E=(H+1)/2*(c=(L+1)/2),u==12&&(x=(C=L)*H)),(H=i(z+2*E+x))==null){u=1;break A}B.sd=H,11>u?((L=B.f.RGBA).eb=H,L.fb=0,L.A=I,L.size=z):((L=B.f.kb).y=H,L.O=0,L.fa=I,L.Fd=z,L.f=H,L.N=0+z,L.Ab=c,L.Cd=E,L.ea=H,L.W=0+z+E,L.Db=c,L.Ed=E,u==12&&(L.F=H,L.J=0+z+2*E),L.Tc=x,L.lb=C)}if(c=1,C=B.S,E=B.width,x=B.height,C>=yc&&13>C)if(11>C)u=B.f.RGBA,c&=(I=Math.abs(u.A))*(x-1)+E<=u.size,c&=I>=E*pm[C],c&=u.eb!=null;else{u=B.f.kb,I=(E+1)/2,z=(x+1)/2,L=Math.abs(u.fa),H=Math.abs(u.Ab);var oA=Math.abs(u.Db),uA=Math.abs(u.lb),AA=uA*(x-1)+E;c&=L*(x-1)+E<=u.Fd,c&=H*(z-1)+I<=u.Cd,c=(c&=oA*(z-1)+I<=u.Ed)&L>=E&H>=I&oA>=I,c&=u.y!=null,c&=u.f!=null,c&=u.ea!=null,C==12&&(c&=uA>=E,c&=AA<=u.Tc,c&=u.F!=null)}else c=0;u=c?0:2}}return u!=0||v!=null&&v.fd&&(u=Lo(B)),u}var cr=64,is=[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],as=24,ss=32,No=8,fr=[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];IA("Predictor0","PredictorAdd0"),O.Predictor0=function(){return 4278190080},O.Predictor1=function(u){return u},O.Predictor2=function(u,c,v){return c[v+0]},O.Predictor3=function(u,c,v){return c[v+1]},O.Predictor4=function(u,c,v){return c[v-1]},O.Predictor5=function(u,c,v){return SA(SA(u,c[v+1]),c[v+0])},O.Predictor6=function(u,c,v){return SA(u,c[v-1])},O.Predictor7=function(u,c,v){return SA(u,c[v+0])},O.Predictor8=function(u,c,v){return SA(c[v-1],c[v+0])},O.Predictor9=function(u,c,v){return SA(c[v+0],c[v+1])},O.Predictor10=function(u,c,v){return SA(SA(u,c[v-1]),SA(c[v+0],c[v+1]))},O.Predictor11=function(u,c,v){var B=c[v+0];return 0>=ZA(B>>24&255,u>>24&255,(c=c[v-1])>>24&255)+ZA(B>>16&255,u>>16&255,c>>16&255)+ZA(B>>8&255,u>>8&255,c>>8&255)+ZA(255&B,255&u,255&c)?B:u},O.Predictor12=function(u,c,v){var B=c[v+0];return(VA((u>>24&255)+(B>>24&255)-((c=c[v-1])>>24&255))<<24|VA((u>>16&255)+(B>>16&255)-(c>>16&255))<<16|VA((u>>8&255)+(B>>8&255)-(c>>8&255))<<8|VA((255&u)+(255&B)-(255&c)))>>>0},O.Predictor13=function(u,c,v){var B=c[v-1];return(GA((u=SA(u,c[v+0]))>>24&255,B>>24&255)<<24|GA(u>>16&255,B>>16&255)<<16|GA(u>>8&255,B>>8&255)<<8|GA(u>>0&255,B>>0&255))>>>0};var r0=O.PredictorAdd0;O.PredictorAdd1=re,IA("Predictor2","PredictorAdd2"),IA("Predictor3","PredictorAdd3"),IA("Predictor4","PredictorAdd4"),IA("Predictor5","PredictorAdd5"),IA("Predictor6","PredictorAdd6"),IA("Predictor7","PredictorAdd7"),IA("Predictor8","PredictorAdd8"),IA("Predictor9","PredictorAdd9"),IA("Predictor10","PredictorAdd10"),IA("Predictor11","PredictorAdd11"),IA("Predictor12","PredictorAdd12"),IA("Predictor13","PredictorAdd13");var To=O.PredictorAdd2;ne("ColorIndexInverseTransform","MapARGB","32b",function(u){return u>>8&255},function(u){return u}),ne("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(u){return u},function(u){return u>>8&255});var Bc,en=O.ColorIndexInverseTransform,Oo=O.MapARGB,n0=O.VP8LColorIndexInverseTransformAlpha,i0=O.MapAlpha,Bi=O.VP8LPredictorsAdd=[];Bi.length=16,(O.VP8LPredictors=[]).length=16,(O.VP8LPredictorsAdd_C=[]).length=16,(O.VP8LPredictors_C=[]).length=16;var Nr,tn,wi,yn,Mn,os,rn,us,Ho,mi,nn,Rn,aa,ls,sa,yi,_o,Tr,kn,ke,Ke,ft,Ft,Kn,Ci,cs,wc,J5,Z5=i(511),Am=i(2041),em=i(225),tm=i(767),rm=0,a0=Am,mc=em,mr=tm,Or=Z5,yc=0,Cc=1,nm=2,bc=3,Fc=4,s0=5,im=6,o0=7,u0=8,Qc=9,l0=10,r_=[2,3,7],n_=[3,3,11],am=[280,256,256,256,40],i_=[0,1,1,1,0],a_=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],s_=[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],o_=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],u_=8,c0=[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],f0=[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],Po=null,l_=[[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]],c_=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],sm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],f_=[[[[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]]]],h_=[[[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]]],g_=[[[[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]]]],d_=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],bi=[],an=[],Vn=[],p_=1,om=2,Fi=[],Hr=[];pA("UpsampleRgbLinePair",Ce,3),pA("UpsampleBgrLinePair",Xe,3),pA("UpsampleRgbaLinePair",An,4),pA("UpsampleBgraLinePair",St,4),pA("UpsampleArgbLinePair",Wt,4),pA("UpsampleRgba4444LinePair",wt,2),pA("UpsampleRgb565LinePair",At,2);var v_=O.UpsampleRgbLinePair,B_=O.UpsampleBgrLinePair,um=O.UpsampleRgbaLinePair,lm=O.UpsampleBgraLinePair,cm=O.UpsampleArgbLinePair,fm=O.UpsampleRgba4444LinePair,w_=O.UpsampleRgb565LinePair,Uc=16,Ec=1<<Uc-1,Do=-227,h0=482,hm=6,m_=(256<<hm)-1,gm=0,y_=i(256),C_=i(256),b_=i(256),F_=i(256),Q_=i(h0-Do),U_=i(h0-Do);Dn("YuvToRgbRow",Ce,3),Dn("YuvToBgrRow",Xe,3),Dn("YuvToRgbaRow",An,4),Dn("YuvToBgraRow",St,4),Dn("YuvToArgbRow",Wt,4),Dn("YuvToRgba4444Row",wt,2),Dn("YuvToRgb565Row",At,2);var dm=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],xc=[0,2,8],E_=[8,7,6,4,4,2,2,2,1,1,1,1],x_=1;this.WebPDecodeRGBA=function(u,c,v,B,C){var E=Cc,x=new es,I=new _t;x.ba=I,I.S=E,I.width=[I.width],I.height=[I.height];var L=I.width,H=I.height,z=new ue;if(z==null||u==null)var oA=2;else A(z!=null),oA=rs(u,c,v,z.width,z.height,z.Pd,z.Qd,z.format,null);if(oA!=0?L=0:(L!=null&&(L[0]=z.width[0]),H!=null&&(H[0]=z.height[0]),L=1),L){I.width=I.width[0],I.height=I.height[0],B!=null&&(B[0]=I.width),C!=null&&(C[0]=I.height);A:{if(B=new Wa,(C=new Fo).data=u,C.w=c,C.ha=v,C.kd=1,c=[0],A(C!=null),((u=rs(C.data,C.w,C.ha,null,null,null,c,null,C))==0||u==7)&&c[0]&&(u=4),(c=u)==0){if(A(x!=null),B.data=C.data,B.w=C.w+C.offset,B.ha=C.ha-C.offset,B.put=vr,B.ac=vt,B.bc=Ir,B.ma=x,C.xa){if((u=rr())==null){x=1;break A}if(function(uA,AA){var mA=[0],dA=[0],X=[0];e:for(;;){if(uA==null)return 0;if(AA==null)return uA.a=2,0;if(uA.l=AA,uA.a=0,eA(uA.m,AA.data,AA.w,AA.ha),!XA(uA.m,mA,dA,X)){uA.a=3;break e}if(uA.xb=om,AA.width=mA[0],AA.height=dA[0],!Lr(mA[0],dA[0],1,uA,null))break e;return 1}return A(uA.a!=0),0}(u,B)){if(B=(c=ns(B.width,B.height,x.Oa,x.ba))==0){e:{B=u;t:for(;;){if(B==null){B=0;break e}if(A(B.s.yc!=null),A(B.s.Ya!=null),A(0<B.s.Wb),A((v=B.l)!=null),A((C=v.ma)!=null),B.xb!=0){if(B.ca=C.ba,B.tb=C.tb,A(B.ca!=null),!So(C.Oa,v,bc)){B.a=2;break t}if(!qA(B,v.width)||v.da)break t;if((v.da||we(B.ca.S))&&rA(),11>B.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),B.ca.f.kb.F!=null&&rA()),B.Pb&&0<B.s.ua&&B.s.vb.X==null&&!jA(B.s.vb,B.s.Wa.Xa)){B.a=1;break t}B.xb=0}if(!ur(B,B.V,B.Ba,B.c,B.i,v.o,fi))break t;C.Dc=B.Ma,B=1;break e}A(B.a!=0),B=0}B=!B}B&&(c=u.a)}else c=u.a}else{if((u=new Dd)==null){x=1;break A}if(u.Fa=C.na,u.P=C.P,u.qc=C.Sa,tc(u,B)){if((c=ns(B.width,B.height,x.Oa,x.ba))==0){if(u.Aa=0,v=x.Oa,A((C=u)!=null),v!=null){if(0<(L=0>(L=v.Md)?0:100<L?255:255*L/100)){for(H=z=0;4>H;++H)12>(oA=C.pb[H]).lc&&(oA.ia=L*E_[0>oA.lc?0:oA.lc]>>3),z|=oA.ia;z&&(alert("todo:VP8InitRandom"),C.ia=1)}C.Ga=v.Id,100<C.Ga?C.Ga=100:0>C.Ga&&(C.Ga=0)}Md(u,B)||(c=u.a)}}else c=u.a}c==0&&x.Oa!=null&&x.Oa.fd&&(c=Lo(x.ba))}x=c}E=x!=0?null:11>E?I.f.RGBA.eb:I.f.kb.y}else E=null;return E};var pm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function l(O,Z){for(var aA="",N=0;N<4;N++)aA+=String.fromCharCode(O[Z++]);return aA}function f(O,Z){return(O[Z+0]<<0|O[Z+1]<<8|O[Z+2]<<16)>>>0}function d(O,Z){return(O[Z+0]<<0|O[Z+1]<<8|O[Z+2]<<16|O[Z+3]<<24)>>>0}new o;var p=[0],h=[0],m=[],w=new o,b=t,y=function(O,Z){var aA={},N=0,S=!1,M=0,R=0;if(aA.frames=[],!function(_,P,$,W){for(var nA=0;nA<W;nA++)if(_[P+nA]!=$.charCodeAt(nA))return!0;return!1}(O,Z,"RIFF",4)){var iA,tA;for(d(O,Z+=4),Z+=8;Z<O.length;){var lA=l(O,Z),eA=d(O,Z+=4);Z+=4;var cA=eA+(1&eA);switch(lA){case"VP8 ":case"VP8L":aA.frames[N]===void 0&&(aA.frames[N]={}),(Q=aA.frames[N]).src_off=S?R:Z-8,Q.src_size=M+eA+8,N++,S&&(S=!1,M=0,R=0);break;case"VP8X":(Q=aA.header={}).feature_flags=O[Z];var sA=Z+4;Q.canvas_width=1+f(O,sA),sA+=3,Q.canvas_height=1+f(O,sA),sA+=3;break;case"ALPH":S=!0,M=cA+8,R=Z-8;break;case"ANIM":(Q=aA.header).bgcolor=d(O,Z),sA=Z+4,Q.loop_count=(iA=O)[(tA=sA)+0]<<0|iA[tA+1]<<8,sA+=2;break;case"ANMF":var bA,Q;(Q=aA.frames[N]={}).offset_x=2*f(O,Z),Z+=3,Q.offset_y=2*f(O,Z),Z+=3,Q.width=1+f(O,Z),Z+=3,Q.height=1+f(O,Z),Z+=3,Q.duration=f(O,Z),Z+=3,bA=O[Z++],Q.dispose=1&bA,Q.blend=bA>>1&1}lA!="ANMF"&&(Z+=cA)}return aA}}(b,0);y.response=b,y.rgbaoutput=!0,y.dataurl=!1;var U=y.header?y.header:null,T=y.frames?y.frames:null;if(U){U.loop_counter=U.loop_count,p=[U.canvas_height],h=[U.canvas_width];for(var k=0;k<T.length&&T[k].blend!=0;k++);}var G=T[0],j=w.WebPDecodeRGBA(b,G.src_off,G.src_size,h,p);G.rgba=j,G.imgwidth=h[0],G.imgheight=p[0];for(var K=0;K<h[0]*p[0]*4;K++)m[K]=j[K];return this.width=h,this.height=p,this.data=m,this}(function(t){var A=function(){return typeof $f=="function"},e=function(p,h,m,w){var b=4,y=a;switch(w){case t.image_compression.FAST:b=1,y=i;break;case t.image_compression.MEDIUM:b=6,y=s;break;case t.image_compression.SLOW:b=9,y=o}p=r(p,h,m,y);var U=$f(p,{level:b});return t.__addimage__.arrayBufferToBinaryString(U)},r=function(p,h,m,w){for(var b,y,U,T=p.length/h,k=new Uint8Array(p.length+T),G=f(),j=0;j<T;j+=1){if(U=j*h,b=p.subarray(U,U+h),w)k.set(w(b,m,y),U+j);else{for(var K,O=G.length,Z=[];K<O;K+=1)Z[K]=G[K](b,m,y);var aA=d(Z.concat());k.set(Z[aA],U+j)}y=b}return k},n=function(p){var h=Array.apply([],p);return h.unshift(0),h},i=function(p,h){var m,w=[],b=p.length;w[0]=1;for(var y=0;y<b;y+=1)m=p[y-h]||0,w[y+1]=p[y]-m+256&255;return w},a=function(p,h,m){var w,b=[],y=p.length;b[0]=2;for(var U=0;U<y;U+=1)w=m&&m[U]||0,b[U+1]=p[U]-w+256&255;return b},s=function(p,h,m){var w,b,y=[],U=p.length;y[0]=3;for(var T=0;T<U;T+=1)w=p[T-h]||0,b=m&&m[T]||0,y[T+1]=p[T]+256-(w+b>>>1)&255;return y},o=function(p,h,m){var w,b,y,U,T=[],k=p.length;T[0]=4;for(var G=0;G<k;G+=1)w=p[G-h]||0,b=m&&m[G]||0,y=m&&m[G-h]||0,U=l(w,b,y),T[G+1]=p[G]-U+256&255;return T},l=function(p,h,m){if(p===h&&h===m)return p;var w=Math.abs(h-m),b=Math.abs(p-m),y=Math.abs(p+h-m-m);return w<=b&&w<=y?p:b<=y?h:m},f=function(){return[n,i,a,s,o]},d=function(p){var h=p.map(function(m){return m.reduce(function(w,b){return w+Math.abs(b)},0)});return h.indexOf(Math.min.apply(null,h))};t.processPNG=function(p,h,m,w){var b,y,U,T,k,G,j,K,O,Z,aA,N,S,M,R,iA=this.decode.FLATE_DECODE,tA="";if(this.__addimage__.isArrayBuffer(p)&&(p=new Uint8Array(p)),this.__addimage__.isArrayBufferView(p)){if(p=(U=new PQ(p)).imgData,y=U.bits,b=U.colorSpace,k=U.colors,[4,6].indexOf(U.colorType)!==-1){if(U.bits===8){O=(K=U.pixelBitlength==32?new Uint32Array(U.decodePixels().buffer):U.pixelBitlength==16?new Uint16Array(U.decodePixels().buffer):new Uint8Array(U.decodePixels().buffer)).length,aA=new Uint8Array(O*U.colors),Z=new Uint8Array(O);var lA,eA=U.pixelBitlength-U.bits;for(M=0,R=0;M<O;M++){for(S=K[M],lA=0;lA<eA;)aA[R++]=S>>>lA&255,lA+=U.bits;Z[M]=S>>>lA&255}}if(U.bits===16){O=(K=new Uint32Array(U.decodePixels().buffer)).length,aA=new Uint8Array(O*(32/U.pixelBitlength)*U.colors),Z=new Uint8Array(O*(32/U.pixelBitlength)),N=U.colors>1,M=0,R=0;for(var cA=0;M<O;)S=K[M++],aA[R++]=S>>>0&255,N&&(aA[R++]=S>>>16&255,S=K[M++],aA[R++]=S>>>0&255),Z[cA++]=S>>>16&255;y=8}w!==t.image_compression.NONE&&A()?(p=e(aA,U.width*U.colors,U.colors,w),j=e(Z,U.width,1,w)):(p=aA,j=Z,iA=void 0)}if(U.colorType===3&&(b=this.color_spaces.INDEXED,G=U.palette,U.transparency.indexed)){var sA=U.transparency.indexed,bA=0;for(M=0,O=sA.length;M<O;++M)bA+=sA[M];if((bA/=255)===O-1&&sA.indexOf(0)!==-1)T=[sA.indexOf(0)];else if(bA!==O){for(K=U.decodePixels(),Z=new Uint8Array(K.length),M=0,O=K.length;M<O;M++)Z[M]=sA[K[M]];j=e(Z,U.width,1)}}var Q=function(_){var P;switch(_){case t.image_compression.FAST:P=11;break;case t.image_compression.MEDIUM:P=13;break;case t.image_compression.SLOW:P=14;break;default:P=12}return P}(w);return iA===this.decode.FLATE_DECODE&&(tA="/Predictor "+Q+" "),tA+="/Colors "+k+" /BitsPerComponent "+y+" /Columns "+U.width,(this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),(j&&this.__addimage__.isArrayBuffer(j)||this.__addimage__.isArrayBufferView(j))&&(j=this.__addimage__.arrayBufferToBinaryString(j)),{alias:m,data:p,index:h,filter:iA,decodeParameters:tA,transparency:T,palette:G,sMask:j,predictor:Q,width:U.width,height:U.height,bitsPerComponent:y,colorSpace:b}}}})(te.API),function(t){t.processGIF89A=function(A,e,r,n){var i=new DQ(A),a=i.width,s=i.height,o=[];i.decodeAndBlitFrameRGBA(0,o);var l={data:o,width:a,height:s},f=new ih(100).encode(l,100);return t.processJPEG.call(this,f,e,r,n)},t.processGIF87A=t.processGIF89A}(te.API),kr.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,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var A=0;A<t;A++){var e=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[A]={red:n,green:r,blue:e,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},kr.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,A=this.width*this.height*4;this.data=new Uint8Array(A),this[t]()}catch(e){_e.log("bit decode error:"+e)}},kr.prototype.bit1=function(){var t,A=Math.ceil(this.width/8),e=A%4;for(t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,n=0;n<A;n++)for(var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+8*n*4,s=0;s<8&&8*n+s<this.width;s++){var o=this.palette[i>>7-s&1];this.data[a+4*s]=o.blue,this.data[a+4*s+1]=o.green,this.data[a+4*s+2]=o.red,this.data[a+4*s+3]=255}e!==0&&(this.pos+=4-e)}},kr.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),A=t%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<t;n++){var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+2*n*4,s=i>>4,o=15&i,l=this.palette[s];if(this.data[a]=l.blue,this.data[a+1]=l.green,this.data[a+2]=l.red,this.data[a+3]=255,2*n+1>=this.width)break;l=this.palette[o],this.data[a+4]=l.blue,this.data[a+4+1]=l.green,this.data[a+4+2]=l.red,this.data[a+4+3]=255}A!==0&&(this.pos+=4-A)}},kr.prototype.bit8=function(){for(var t=this.width%4,A=this.height-1;A>=0;A--){for(var e=this.bottom_up?A:this.height-1-A,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=e*this.width*4+4*r;if(n<this.palette.length){var a=this.palette[n];this.data[i]=a.red,this.data[i+1]=a.green,this.data[i+2]=a.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}t!==0&&(this.pos+=4-t)}},kr.prototype.bit15=function(){for(var t=this.width%3,A=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(i&A)/A*255|0,s=(i>>5&A)/A*255|0,o=(i>>10&A)/A*255|0,l=i>>15?255:0,f=r*this.width*4+4*n;this.data[f]=o,this.data[f+1]=s,this.data[f+2]=a,this.data[f+3]=l}this.pos+=t}},kr.prototype.bit16=function(){for(var t=this.width%3,A=parseInt("11111",2),e=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&A)/A*255|0,o=(a>>5&e)/e*255|0,l=(a>>11)/A*255|0,f=n*this.width*4+4*i;this.data[f]=l,this.data[f+1]=o,this.data[f+2]=s,this.data[f+3]=255}this.pos+=t}},kr.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var A=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=A*this.width*4+4*e;this.data[a]=i,this.data[a+1]=n,this.data[a+2]=r,this.data[a+3]=255}this.pos+=this.width%4}},kr.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var A=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=A*this.width*4+4*e;this.data[s]=i,this.data[s+1]=n,this.data[s+2]=r,this.data[s+3]=a}},kr.prototype.getData=function(){return this.data},function(t){t.processBMP=function(A,e,r,n){var i=new kr(A,!1),a=i.width,s=i.height,o={data:i.getData(),width:a,height:s},l=new ih(100).encode(o,100);return t.processJPEG.call(this,l,e,r,n)}}(te.API),i2.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(A,e,r,n){var i=new i2(A),a=i.width,s=i.height,o={data:i.getData(),width:a,height:s},l=new ih(100).encode(o,100);return t.processJPEG.call(this,l,e,r,n)}}(te.API),te.API.processRGBA=function(t,A,e){for(var r=t.data,n=r.length,i=new Uint8Array(n/4*3),a=new Uint8Array(n/4),s=0,o=0,l=0;l<n;l+=4){var f=r[l],d=r[l+1],p=r[l+2],h=r[l+3];i[s++]=f,i[s++]=d,i[s++]=p,a[o++]=h}var m=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:m,index:A,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},te.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{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"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Ia=te.API,zu=Ia.getCharWidthsArray=function(t,A){var e,r,n=(A=A||{}).font||this.internal.getFont(),i=A.fontSize||this.internal.getFontSize(),a=A.charSpace||this.internal.getCharSpace(),s=A.widths?A.widths:n.metadata.Unicode.widths,o=s.fof?s.fof:1,l=A.kerning?A.kerning:n.metadata.Unicode.kerning,f=l.fof?l.fof:1,d=A.doKerning!==!1,p=0,h=t.length,m=0,w=s[0]||o,b=[];for(e=0;e<h;e++)r=t.charCodeAt(e),typeof n.metadata.widthOfString=="function"?b.push((n.metadata.widthOfGlyph(n.metadata.characterToGlyph(r))+a*(1e3/i)||0)/1e3):(p=d&&Qe(l[r])==="object"&&!isNaN(parseInt(l[r][m],10))?l[r][m]/f:0,b.push((s[r]||w)/o+p)),m=r;return b},e2=Ia.getStringUnitWidth=function(t,A){var e=(A=A||{}).fontSize||this.internal.getFontSize(),r=A.font||this.internal.getFont(),n=A.charSpace||this.internal.getCharSpace();return Ia.processArabic&&(t=Ia.processArabic(t)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(t,e,n)/e:zu.apply(this,arguments).reduce(function(i,a){return i+a},0)},t2=function(t,A,e,r){for(var n=[],i=0,a=t.length,s=0;i!==a&&s+A[i]<e;)s+=A[i],i++;n.push(t.slice(0,i));var o=i;for(s=0;i!==a;)s+A[i]>r&&(n.push(t.slice(o,i)),s=0,o=i),s+=A[i],i++;return o!==i&&n.push(t.slice(o,i)),n},r2=function(t,A,e){e||(e={});var r,n,i,a,s,o,l,f=[],d=[f],p=e.textIndent||0,h=0,m=0,w=t.split(" "),b=zu.apply(this,[" ",e])[0];if(o=e.lineIndent===-1?w[0].length+2:e.lineIndent||0){var y=Array(o).join(" "),U=[];w.map(function(k){(k=k.split(/\s*\n/)).length>1?U=U.concat(k.map(function(G,j){return(j&&G.length?`
`:"")+G})):U.push(k[0])}),w=U,o=e2.apply(this,[y,e])}for(i=0,a=w.length;i<a;i++){var T=0;if(r=w[i],o&&r[0]==`
`&&(r=r.substr(1),T=1),p+h+(m=(n=zu.apply(this,[r,e])).reduce(function(k,G){return k+G},0))>A||T){if(m>A){for(s=t2.apply(this,[r,n,A-(p+h),A]),f.push(s.shift()),f=[s.pop()];s.length;)d.push([s.shift()]);m=n.slice(r.length-(f[0]?f[0].length:0)).reduce(function(k,G){return k+G},0)}else f=[r];d.push(f),p=m+o,h=b}else f.push(r),p+=h+m,h=b}return l=o?function(k,G){return(G?y:"")+k.join(" ")}:function(k){return k.join(" ")},d.map(l)},Ia.splitTextToSize=function(t,A,e){var r,n=(e=e||{}).fontSize||this.internal.getFontSize(),i=function(f){if(f.widths&&f.kerning)return{widths:f.widths,kerning:f.kerning};var d=this.internal.getFont(f.fontName,f.fontStyle);return d.metadata.Unicode?{widths:d.metadata.Unicode.widths||{0:1},kerning:d.metadata.Unicode.kerning||{}}:{font:d.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,e);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var a=1*this.internal.scaleFactor*A/n;i.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/n:0,i.lineIndent=e.lineIndent;var s,o,l=[];for(s=0,o=r.length;s<o;s++)l=l.concat(r2.apply(this,[r[s],a,i]));return l},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var A="klmnopqrstuvwxyz",e={},r={},n=0;n<A.length;n++)e[A[n]]="0123456789abcdef"[n],r["0123456789abcdef"[n]]=A[n];var i=function(d){return"0x"+parseInt(d,10).toString(16)},a=t.__fontmetrics__.compress=function(d){var p,h,m,w,b=["{"];for(var y in d){if(p=d[y],isNaN(parseInt(y,10))?h="'"+y+"'":(y=parseInt(y,10),h=(h=i(y).slice(2)).slice(0,-1)+r[h.slice(-1)]),typeof p=="number")p<0?(m=i(p).slice(3),w="-"):(m=i(p).slice(2),w=""),m=w+m.slice(0,-1)+r[m.slice(-1)];else{if(Qe(p)!=="object")throw new Error("Don't know what to do with value type "+Qe(p)+".");m=a(p)}b.push(h+m)}return b.push("}"),b.join("")},s=t.__fontmetrics__.uncompress=function(d){if(typeof d!="string")throw new Error("Invalid argument passed to uncompress.");for(var p,h,m,w,b={},y=1,U=b,T=[],k="",G="",j=d.length-1,K=1;K<j;K+=1)(w=d[K])=="'"?p?(m=p.join(""),p=void 0):p=[]:p?p.push(w):w=="{"?(T.push([U,m]),U={},m=void 0):w=="}"?((h=T.pop())[0][h[1]]=U,m=void 0,U=h[0]):w=="-"?y=-1:m===void 0?e.hasOwnProperty(w)?(k+=e[w],m=parseInt(k,16)*y,y=1,k=""):k+=w:e.hasOwnProperty(w)?(G+=e[w],U[m]=parseInt(G,16)*y,y=1,m=void 0,G=""):G+=w;return b},o={codePages:["WinAnsiEncoding"],WinAnsiEncoding:s("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},l={Unicode:{Courier:o,"Courier-Bold":o,"Courier-BoldOblique":o,"Courier-Oblique":o,Helvetica:o,"Helvetica-Bold":o,"Helvetica-BoldOblique":o,"Helvetica-Oblique":o,"Times-Roman":o,"Times-Bold":o,"Times-BoldItalic":o,"Times-Italic":o}},f={Unicode:{"Courier-Oblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":s("{'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":s("{'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:s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":s("{'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:s("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:s("{'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":s("{'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:s("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":s("{'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":s("{'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":s("{'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}}}")}};t.events.push(["addFont",function(d){var p=d.font,h=f.Unicode[p.postScriptName];h&&(p.metadata.Unicode={},p.metadata.Unicode.widths=h.widths,p.metadata.Unicode.kerning=h.kerning);var m=l.Unicode[p.postScriptName];m&&(p.metadata.Unicode.encoding=m,p.encoding=m.codePages[0])}])}(te.API),function(t){var A=function(e){for(var r=e.length,n=new Uint8Array(r),i=0;i<r;i++)n[i]=e.charCodeAt(i);return n};t.API.events.push(["addFont",function(e){var r=void 0,n=e.font,i=e.instance;if(!n.isStandardFont){if(i===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");if(typeof(r=i.existsFileInVFS(n.postScriptName)===!1?i.loadFile(n.postScriptName):i.getFileFromVFS(n.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");(function(a,s){s=/^\x00\x01\x00\x00/.test(s)?A(s):A(ks(s)),a.metadata=t.API.TTFFont.open(s),a.metadata.Unicode=a.metadata.Unicode||{encoding:{},kerning:{},widths:[]},a.metadata.glyIdsUsed=[0]})(n,r)}}])}(te),function(t){function A(){return(ee.canvg?Promise.resolve(ee.canvg):Promise.resolve().then(()=>t_)).catch(function(e){return Promise.reject(new Error("Could not load canvg: "+e))}).then(function(e){return e.default?e.default:e})}te.API.addSvgAsImage=function(e,r,n,i,a,s,o,l){if(isNaN(r)||isNaN(n))throw _e.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(a))throw _e.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=i,f.height=a;var d=f.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,f.width,f.height);var p={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},h=this;return A().then(function(m){return m.fromString(d,e,p)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(m){return m.render(p)}).then(function(){h.addImage(f.toDataURL("image/jpeg",1),r,n,i,a,o,l)})}}(),te.API.putTotalPages=function(t){var A,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(A=new RegExp(t,"g"),e=this.internal.getNumberOfPages()):(A=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),e=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(A,e);return this},te.API.viewerPreferences=function(t,A){var e;t=t||{},A=A||!1;var r,n,i,a={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}},s=Object.keys(a),o=[],l=0,f=0,d=0;function p(m,w){var b,y=!1;for(b=0;b<m.length;b+=1)m[b]===w&&(y=!0);return y}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(a)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,t==="reset"||A===!0){var h=s.length;for(d=0;d<h;d+=1)e[s[d]].value=e[s[d]].defaultValue,e[s[d]].explicitSet=!1}if(Qe(t)==="object"){for(n in t)if(i=t[n],p(s,n)&&i!==void 0){if(e[n].type==="boolean"&&typeof i=="boolean")e[n].value=i;else if(e[n].type==="name"&&p(e[n].valueSet,i))e[n].value=i;else if(e[n].type==="integer"&&Number.isInteger(i))e[n].value=i;else if(e[n].type==="array"){for(l=0;l<i.length;l+=1)if(r=!0,i[l].length===1&&typeof i[l][0]=="number")o.push(String(i[l]-1));else if(i[l].length>1){for(f=0;f<i[l].length;f+=1)typeof i[l][f]!="number"&&(r=!1);r===!0&&o.push([i[l][0]-1,i[l][1]-1].join(" "))}e[n].value="["+o.join(" ")+"]"}else e[n].value=e[n].defaultValue;e[n].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var m,w=[];for(m in e)e[m].explicitSet===!0&&(e[m].type==="name"?w.push("/"+m+" /"+e[m].value):w.push("/"+m+" "+e[m].value));w.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+w.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},function(t){var A=function(){var r='<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>',n=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),i=unescape(encodeURIComponent(r)),a=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),s=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),l=i.length+a.length+s.length+n.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+l+" >>"),this.internal.write("stream"),this.internal.write(n+i+a+s+o),this.internal.write("endstream"),this.internal.write("endobj")},e=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(r,n){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:r,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",e),this.internal.events.subscribe("postPutResources",A)),this}}(te.API),function(t){var A=t.API,e=A.pdfEscape16=function(i,a){for(var s,o=a.metadata.Unicode.widths,l=["","0","00","000","0000"],f=[""],d=0,p=i.length;d<p;++d){if(s=a.metadata.characterToGlyph(i.charCodeAt(d)),a.metadata.glyIdsUsed.push(s),a.metadata.toUnicode[s]=i.charCodeAt(d),o.indexOf(s)==-1&&(o.push(s),o.push([parseInt(a.metadata.widthOfGlyph(s),10)])),s=="0")return f.join("");s=s.toString(16),f.push(l[4-s.length],s)}return f.join("")},r=function(i){var a,s,o,l,f,d,p;for(f=`/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (UCS)
/Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000><ffff>
endcodespacerange`,o=[],d=0,p=(s=Object.keys(i).sort(function(h,m){return h-m})).length;d<p;d++)a=s[d],o.length>=100&&(f+=`
`+o.length+` beginbfchar
`+o.join(`
`)+`
endbfchar`,o=[]),i[a]!==void 0&&i[a]!==null&&typeof i[a].toString=="function"&&(l=("0000"+i[a].toString(16)).slice(-4),a=("0000"+(+a).toString(16)).slice(-4),o.push("<"+a+"><"+l+">"));return o.length&&(f+=`
`+o.length+` beginbfchar
`+o.join(`
`)+`
endbfchar
`),f+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};A.events.push(["putFont",function(i){(function(a){var s=a.font,o=a.out,l=a.newObject,f=a.putStream;if(s.metadata instanceof t.API.TTFFont&&s.encoding==="Identity-H"){for(var d=s.metadata.Unicode.widths,p=s.metadata.subset.encode(s.metadata.glyIdsUsed,1),h="",m=0;m<p.length;m++)h+=String.fromCharCode(p[m]);var w=l();f({data:h,addLength1:!0,objectId:w}),o("endobj");var b=l();f({data:r(s.metadata.toUnicode),addLength1:!0,objectId:b}),o("endobj");var y=l();o("<<"),o("/Type /FontDescriptor"),o("/FontName /"+Ca(s.fontName)),o("/FontFile2 "+w+" 0 R"),o("/FontBBox "+t.API.PDFObject.convert(s.metadata.bbox)),o("/Flags "+s.metadata.flags),o("/StemV "+s.metadata.stemV),o("/ItalicAngle "+s.metadata.italicAngle),o("/Ascent "+s.metadata.ascender),o("/Descent "+s.metadata.decender),o("/CapHeight "+s.metadata.capHeight),o(">>"),o("endobj");var U=l();o("<<"),o("/Type /Font"),o("/BaseFont /"+Ca(s.fontName)),o("/FontDescriptor "+y+" 0 R"),o("/W "+t.API.PDFObject.convert(d)),o("/CIDToGIDMap /Identity"),o("/DW 1000"),o("/Subtype /CIDFontType2"),o("/CIDSystemInfo"),o("<<"),o("/Supplement 0"),o("/Registry (Adobe)"),o("/Ordering ("+s.encoding+")"),o(">>"),o(">>"),o("endobj"),s.objectNumber=l(),o("<<"),o("/Type /Font"),o("/Subtype /Type0"),o("/ToUnicode "+b+" 0 R"),o("/BaseFont /"+Ca(s.fontName)),o("/Encoding /"+s.encoding),o("/DescendantFonts ["+U+" 0 R]"),o(">>"),o("endobj"),s.isAlreadyPutted=!0}})(i)}]),A.events.push(["putFont",function(i){(function(a){var s=a.font,o=a.out,l=a.newObject,f=a.putStream;if(s.metadata instanceof t.API.TTFFont&&s.encoding==="WinAnsiEncoding"){for(var d=s.metadata.rawData,p="",h=0;h<d.length;h++)p+=String.fromCharCode(d[h]);var m=l();f({data:p,addLength1:!0,objectId:m}),o("endobj");var w=l();f({data:r(s.metadata.toUnicode),addLength1:!0,objectId:w}),o("endobj");var b=l();o("<<"),o("/Descent "+s.metadata.decender),o("/CapHeight "+s.metadata.capHeight),o("/StemV "+s.metadata.stemV),o("/Type /FontDescriptor"),o("/FontFile2 "+m+" 0 R"),o("/Flags 96"),o("/FontBBox "+t.API.PDFObject.convert(s.metadata.bbox)),o("/FontName /"+Ca(s.fontName)),o("/ItalicAngle "+s.metadata.italicAngle),o("/Ascent "+s.metadata.ascender),o(">>"),o("endobj"),s.objectNumber=l();for(var y=0;y<s.metadata.hmtx.widths.length;y++)s.metadata.hmtx.widths[y]=parseInt(s.metadata.hmtx.widths[y]*(1e3/s.metadata.head.unitsPerEm));o("<</Subtype/TrueType/Type/Font/ToUnicode "+w+" 0 R/BaseFont/"+Ca(s.fontName)+"/FontDescriptor "+b+" 0 R/Encoding/"+s.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(s.metadata.hmtx.widths)+">>"),o("endobj"),s.isAlreadyPutted=!0}})(i)}]);var n=function(i){var a,s=i.text||"",o=i.x,l=i.y,f=i.options||{},d=i.mutex||{},p=d.pdfEscape,h=d.activeFontKey,m=d.fonts,w=h,b="",y=0,U="",T=m[w].encoding;if(m[w].encoding!=="Identity-H")return{text:s,x:o,y:l,options:f,mutex:d};for(U=s,w=h,Array.isArray(s)&&(U=s[0]),y=0;y<U.length;y+=1)m[w].metadata.hasOwnProperty("cmap")&&(a=m[w].metadata.cmap.unicode.codeMap[U[y].charCodeAt(0)]),a||U[y].charCodeAt(0)<256&&m[w].metadata.hasOwnProperty("Unicode")?b+=U[y]:b+="";var k="";return parseInt(w.slice(1))<14||T==="WinAnsiEncoding"?k=p(b,w).split("").map(function(G){return G.charCodeAt(0).toString(16)}).join(""):T==="Identity-H"&&(k=e(b,m[w])),d.isHex=!0,{text:k,x:o,y:l,options:f,mutex:d}};A.events.push(["postProcessText",function(i){var a=i.text||"",s=[],o={text:a,x:i.x,y:i.y,options:i.options,mutex:i.mutex};if(Array.isArray(a)){var l=0;for(l=0;l<a.length;l+=1)Array.isArray(a[l])&&a[l].length===3?s.push([n(Object.assign({},o,{text:a[l][0]})).text,a[l][1],a[l][2]]):s.push(n(Object.assign({},o,{text:a[l]})).text);i.text=s}else i.text=n(Object.assign({},o,{text:a})).text}])}(te),function(t){var A=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(e){return A.call(this),this.internal.vFS[e]!==void 0},t.addFileToVFS=function(e,r){return A.call(this),this.internal.vFS[e]=r,this},t.getFileFromVFS=function(e){return A.call(this),this.internal.vFS[e]!==void 0?this.internal.vFS[e]:null}}(te.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(r){var n,i,a,s,o,l,f,d=A,p=[[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]],h=[[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]],m={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},w={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},b=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","","","","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],y=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)$/),U=!1,T=0;this.__bidiEngine__={};var k=function(N){var S=N.charCodeAt(),M=S>>8,R=w[M];return R!==void 0?d[256*R+(255&S)]:M===252||M===253?"AL":y.test(M)?"L":M===8?"R":"N"},G=function(N){for(var S,M=0;M<N.length;M++){if((S=k(N.charAt(M)))==="L")return!1;if(S==="R")return!0}return!1},j=function(N,S,M,R){var iA,tA,lA,eA,cA=S[R];switch(cA){case"L":case"R":U=!1;break;case"N":case"AN":break;case"EN":U&&(cA="AN");break;case"AL":U=!0,cA="R";break;case"WS":cA="N";break;case"CS":R<1||R+1>=S.length||(iA=M[R-1])!=="EN"&&iA!=="AN"||(tA=S[R+1])!=="EN"&&tA!=="AN"?cA="N":U&&(tA="AN"),cA=tA===iA?tA:"N";break;case"ES":cA=(iA=R>0?M[R-1]:"B")==="EN"&&R+1<S.length&&S[R+1]==="EN"?"EN":"N";break;case"ET":if(R>0&&M[R-1]==="EN"){cA="EN";break}if(U){cA="N";break}for(lA=R+1,eA=S.length;lA<eA&&S[lA]==="ET";)lA++;cA=lA<eA&&S[lA]==="EN"?"EN":"N";break;case"NSM":if(a&&!s){for(eA=S.length,lA=R+1;lA<eA&&S[lA]==="NSM";)lA++;if(lA<eA){var sA=N[R],bA=sA>=1425&&sA<=2303||sA===64286;if(iA=S[lA],bA&&(iA==="R"||iA==="AL")){cA="R";break}}}cA=R<1||(iA=S[R-1])==="B"?"N":M[R-1];break;case"B":U=!1,n=!0,cA=T;break;case"S":i=!0,cA="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":U=!1;break;case"BN":cA="N"}return cA},K=function(N,S,M){var R=N.split("");return M&&O(R,M,{hiLevel:T}),R.reverse(),S&&S.reverse(),R.join("")},O=function(N,S,M){var R,iA,tA,lA,eA,cA=-1,sA=N.length,bA=0,Q=[],_=T?h:p,P=[];for(U=!1,n=!1,i=!1,iA=0;iA<sA;iA++)P[iA]=k(N[iA]);for(tA=0;tA<sA;tA++){if(eA=bA,Q[tA]=j(N,P,Q,tA),R=240&(bA=_[eA][m[Q[tA]]]),bA&=15,S[tA]=lA=_[bA][5],R>0)if(R===16){for(iA=cA;iA<tA;iA++)S[iA]=1;cA=-1}else cA=-1;if(_[bA][6])cA===-1&&(cA=tA);else if(cA>-1){for(iA=cA;iA<tA;iA++)S[iA]=lA;cA=-1}P[tA]==="B"&&(S[tA]=0),M.hiLevel|=lA}i&&function($,W,nA){for(var fA=0;fA<nA;fA++)if($[fA]==="S"){W[fA]=T;for(var hA=fA-1;hA>=0&&$[hA]==="WS";hA--)W[hA]=T}}(P,S,sA)},Z=function(N,S,M,R,iA){if(!(iA.hiLevel<N)){if(N===1&&T===1&&!n)return S.reverse(),void(M&&M.reverse());for(var tA,lA,eA,cA,sA=S.length,bA=0;bA<sA;){if(R[bA]>=N){for(eA=bA+1;eA<sA&&R[eA]>=N;)eA++;for(cA=bA,lA=eA-1;cA<lA;cA++,lA--)tA=S[cA],S[cA]=S[lA],S[lA]=tA,M&&(tA=M[cA],M[cA]=M[lA],M[lA]=tA);bA=eA}bA++}}},aA=function(N,S,M){var R=N.split(""),iA={hiLevel:T};return M||(M=[]),O(R,M,iA),function(tA,lA,eA){if(eA.hiLevel!==0&&f)for(var cA,sA=0;sA<tA.length;sA++)lA[sA]===1&&(cA=b.indexOf(tA[sA]))>=0&&(tA[sA]=b[cA+1])}(R,M,iA),Z(2,R,S,M,iA),Z(1,R,S,M,iA),R.join("")};return this.__bidiEngine__.doBidiReorder=function(N,S,M){if(function(iA,tA){if(tA)for(var lA=0;lA<iA.length;lA++)tA[lA]=lA;s===void 0&&(s=G(iA)),l===void 0&&(l=G(iA))}(N,S),a||!o||l)if(a&&o&&s^l)T=s?1:0,N=K(N,S,M);else if(!a&&o&&l)T=s?1:0,N=aA(N,S,M),N=K(N,S);else if(!a||s||o||l){if(a&&!o&&s^l)N=K(N,S),s?(T=0,N=aA(N,S,M)):(T=1,N=aA(N,S,M),N=K(N,S));else if(a&&s&&!o&&l)T=1,N=aA(N,S,M),N=K(N,S);else if(!a&&!o&&s^l){var R=f;s?(T=1,N=aA(N,S,M),T=0,f=!1,N=aA(N,S,M),f=R):(T=0,N=aA(N,S,M),N=K(N,S),T=1,f=!1,N=aA(N,S,M),f=R,N=K(N,S))}}else T=0,N=aA(N,S,M);else T=s?1:0,N=aA(N,S,M);return N},this.__bidiEngine__.setOptions=function(N){N&&(a=N.isInputVisual,o=N.isOutputVisual,s=N.isInputRtl,l=N.isOutputRtl,f=N.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var A=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","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"],e=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(r){var n=r.text,i=(r.x,r.y,r.options||{}),a=(r.mutex,i.lang,[]);if(i.isInputVisual=typeof i.isInputVisual!="boolean"||i.isInputVisual,e.setOptions(i),Object.prototype.toString.call(n)==="[object Array]"){var s=0;for(a=[],s=0;s<n.length;s+=1)Object.prototype.toString.call(n[s])==="[object Array]"?a.push([e.doBidiReorder(n[s][0]),n[s][1],n[s][2]]):a.push([e.doBidiReorder(n[s])]);r.text=a}else r.text=e.doBidiReorder(n);e.setOptions({isInputVisual:!0})}])}(te),te.API.TTFFont=function(){function t(A){var e;if(this.rawData=A,e=this.contents=new ai(A),this.contents.pos=4,e.readString(4)==="ttcf")throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new ZQ(this),this.registerTTF()}return t.open=function(A){return new t(A)},t.prototype.parse=function(){return this.directory=new MQ(this.contents),this.head=new kQ(this),this.name=new $Q(this),this.cmap=new s2(this),this.toUnicode={},this.hhea=new KQ(this),this.maxp=new qQ(this),this.hmtx=new WQ(this),this.post=new jQ(this),this.os2=new VQ(this),this.loca=new JQ(this),this.glyf=new zQ(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]},t.prototype.registerTTF=function(){var A,e,r,n,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var a,s,o,l;for(l=[],a=0,s=(o=this.bbox).length;a<s;a++)A=o[a],l.push(Math.round(A*this.scaleFactor));return l}.call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),32768&(e=n>>16)&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):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=(i=this.familyClass)===1||i===2||i===3||i===4||i===5||i===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(A){var e;return((e=this.cmap.unicode)!=null?e.codeMap[A]:void 0)||0},t.prototype.widthOfGlyph=function(A){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(A).advance*e},t.prototype.widthOfString=function(A,e,r){var n,i,a,s;for(a=0,i=0,s=(A=""+A).length;0<=s?i<s:i>s;i=0<=s?++i:--i)n=A.charCodeAt(i),a+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/e)||0;return a*(e/1e3)},t.prototype.lineHeight=function(A,e){var r;return e==null&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*A},t}();var Kr,ai=function(){function t(A){this.data=A??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(A){return this.data[this.pos++]=A},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(A){return this.writeByte(A>>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A)},t.prototype.readInt32=function(){var A;return(A=this.readUInt32())>=2147483648?A-4294967296:A},t.prototype.writeInt32=function(A){return A<0&&(A+=4294967296),this.writeUInt32(A)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(A){return this.writeByte(A>>8&255),this.writeByte(255&A)},t.prototype.readInt16=function(){var A;return(A=this.readUInt16())>=32768?A-65536:A},t.prototype.writeInt16=function(A){return A<0&&(A+=65536),this.writeUInt16(A)},t.prototype.readString=function(A){var e,r;for(r=[],e=0;0<=A?e<A:e>A;e=0<=A?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(A){var e,r,n;for(n=[],e=0,r=A.length;0<=r?e<r:e>r;e=0<=r?++e:--e)n.push(this.writeByte(A.charCodeAt(e)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(A){return this.writeInt16(A)},t.prototype.readLongLong=function(){var A,e,r,n,i,a,s,o;return A=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),a=this.readByte(),s=this.readByte(),o=this.readByte(),128&A?-1*(72057594037927940*(255^A)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^i)+65536*(255^a)+256*(255^s)+(255^o)+1):72057594037927940*A+281474976710656*e+1099511627776*r+4294967296*n+16777216*i+65536*a+256*s+o},t.prototype.writeLongLong=function(A){var e,r;return e=Math.floor(A/4294967296),r=4294967295&A,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(A){return this.writeInt32(A)},t.prototype.read=function(A){var e,r;for(e=[],r=0;0<=A?r<A:r>A;r=0<=A?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(A){var e,r,n,i;for(i=[],r=0,n=A.length;r<n;r++)e=A[r],i.push(this.writeByte(e));return i},t}(),MQ=function(){var t;function A(e){var r,n,i;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,i=this.tableCount;0<=i?n<i:n>i;n=0<=i?++n:--n)r={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[r.tag]=r}return A.prototype.encode=function(e){var r,n,i,a,s,o,l,f,d,p,h,m,w;for(w in h=Object.keys(e).length,o=Math.log(2),d=16*Math.floor(Math.log(h)/o),a=Math.floor(d/o),f=16*h-d,(n=new ai).writeInt(this.scalarType),n.writeShort(h),n.writeShort(d),n.writeShort(a),n.writeShort(f),i=16*h,l=n.pos+i,s=null,m=[],e)for(p=e[w],n.writeString(w),n.writeInt(t(p)),n.writeInt(l),n.writeInt(p.length),m=m.concat(p),w==="head"&&(s=l),l+=p.length;l%4;)m.push(0),l++;return n.write(m),r=2981146554-t(n.data),n.pos=s+8,n.writeUInt32(r),n.data},t=function(e){var r,n,i,a;for(e=o2.call(e);e.length%4;)e.push(0);for(i=new ai(e),n=0,r=0,a=e.length;r<a;r=r+=4)n+=i.readUInt32();return 4294967295&n},A}(),RQ={}.hasOwnProperty,gn=function(t,A){for(var e in A)RQ.call(A,e)&&(t[e]=A[e]);function r(){this.constructor=t}return r.prototype=A.prototype,t.prototype=new r,t.__super__=A.prototype,t};Kr=function(){function t(A){var e;this.file=A,e=this.file.directory.tables[this.tag],this.exists=!!e,e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var kQ=function(t){function A(){return A.__super__.constructor.apply(this,arguments)}return gn(A,Kr),A.prototype.tag="head",A.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()},A.prototype.encode=function(e){var r;return(r=new ai).writeInt(this.version),r.writeInt(this.revision),r.writeInt(this.checkSumAdjustment),r.writeInt(this.magicNumber),r.writeShort(this.flags),r.writeShort(this.unitsPerEm),r.writeLongLong(this.created),r.writeLongLong(this.modified),r.writeShort(this.xMin),r.writeShort(this.yMin),r.writeShort(this.xMax),r.writeShort(this.yMax),r.writeShort(this.macStyle),r.writeShort(this.lowestRecPPEM),r.writeShort(this.fontDirectionHint),r.writeShort(e),r.writeShort(this.glyphDataFormat),r.data},A}(),a2=function(){function t(A,e){var r,n,i,a,s,o,l,f,d,p,h,m,w,b,y,U,T;switch(this.platformID=A.readUInt16(),this.encodingID=A.readShort(),this.offset=e+A.readInt(),d=A.pos,A.pos=this.offset,this.format=A.readUInt16(),this.length=A.readUInt16(),this.language=A.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(o=0;o<256;++o)this.codeMap[o]=A.readByte();break;case 4:for(h=A.readUInt16(),p=h/2,A.pos+=6,i=function(){var k,G;for(G=[],o=k=0;0<=p?k<p:k>p;o=0<=p?++k:--k)G.push(A.readUInt16());return G}(),A.pos+=2,w=function(){var k,G;for(G=[],o=k=0;0<=p?k<p:k>p;o=0<=p?++k:--k)G.push(A.readUInt16());return G}(),l=function(){var k,G;for(G=[],o=k=0;0<=p?k<p:k>p;o=0<=p?++k:--k)G.push(A.readUInt16());return G}(),f=function(){var k,G;for(G=[],o=k=0;0<=p?k<p:k>p;o=0<=p?++k:--k)G.push(A.readUInt16());return G}(),n=(this.length-A.pos+this.offset)/2,s=function(){var k,G;for(G=[],o=k=0;0<=n?k<n:k>n;o=0<=n?++k:--k)G.push(A.readUInt16());return G}(),o=y=0,T=i.length;y<T;o=++y)for(b=i[o],r=U=m=w[o];m<=b?U<=b:U>=b;r=m<=b?++U:--U)f[o]===0?a=r+l[o]:(a=s[f[o]/2+(r-m)-(p-o)]||0)!==0&&(a+=l[o]),this.codeMap[r]=65535&a}A.pos=d}return t.encode=function(A,e){var r,n,i,a,s,o,l,f,d,p,h,m,w,b,y,U,T,k,G,j,K,O,Z,aA,N,S,M,R,iA,tA,lA,eA,cA,sA,bA,Q,_,P,$,W,nA,fA,hA,xA,EA,_A;switch(R=new ai,a=Object.keys(A).sort(function(NA,jA){return NA-jA}),e){case"macroman":for(w=0,b=function(){var NA=[];for(m=0;m<256;++m)NA.push(0);return NA}(),U={0:0},i={},iA=0,cA=a.length;iA<cA;iA++)U[hA=A[n=a[iA]]]==null&&(U[hA]=++w),i[n]={old:A[n],new:U[A[n]]},b[n]=U[A[n]];return R.writeUInt16(1),R.writeUInt16(0),R.writeUInt32(12),R.writeUInt16(0),R.writeUInt16(262),R.writeUInt16(0),R.write(b),{charMap:i,subtable:R.data,maxGlyphID:w+1};case"unicode":for(S=[],d=[],T=0,U={},r={},y=l=null,tA=0,sA=a.length;tA<sA;tA++)U[G=A[n=a[tA]]]==null&&(U[G]=++T),r[n]={old:G,new:U[G]},s=U[G]-n,y!=null&&s===l||(y&&d.push(y),S.push(n),l=s),y=n;for(y&&d.push(y),d.push(65535),S.push(65535),aA=2*(Z=S.length),O=2*Math.pow(Math.log(Z)/Math.LN2,2),p=Math.log(O/2)/Math.LN2,K=2*Z-O,o=[],j=[],h=[],m=lA=0,bA=S.length;lA<bA;m=++lA){if(N=S[m],f=d[m],N===65535){o.push(0),j.push(0);break}if(N-(M=r[N].new)>=32768)for(o.push(0),j.push(2*(h.length+Z-m)),n=eA=N;N<=f?eA<=f:eA>=f;n=N<=f?++eA:--eA)h.push(r[n].new);else o.push(M-N),j.push(0)}for(R.writeUInt16(3),R.writeUInt16(1),R.writeUInt32(12),R.writeUInt16(4),R.writeUInt16(16+8*Z+2*h.length),R.writeUInt16(0),R.writeUInt16(aA),R.writeUInt16(O),R.writeUInt16(p),R.writeUInt16(K),nA=0,Q=d.length;nA<Q;nA++)n=d[nA],R.writeUInt16(n);for(R.writeUInt16(0),fA=0,_=S.length;fA<_;fA++)n=S[fA],R.writeUInt16(n);for(xA=0,P=o.length;xA<P;xA++)s=o[xA],R.writeUInt16(s);for(EA=0,$=j.length;EA<$;EA++)k=j[EA],R.writeUInt16(k);for(_A=0,W=h.length;_A<W;_A++)w=h[_A],R.writeUInt16(w);return{charMap:r,subtable:R.data,maxGlyphID:T+1}}},t}(),s2=function(t){function A(){return A.__super__.constructor.apply(this,arguments)}return gn(A,Kr),A.prototype.tag="cmap",A.prototype.parse=function(e){var r,n,i;for(e.pos=this.offset,this.version=e.readUInt16(),i=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=i?n<i:n>i;n=0<=i?++n:--n)r=new a2(e,this.offset),this.tables.push(r),r.isUnicode&&this.unicode==null&&(this.unicode=r);return!0},A.encode=function(e,r){var n,i;return r==null&&(r="macroman"),n=a2.encode(e,r),(i=new ai).writeUInt16(0),i.writeUInt16(1),n.table=i.data.concat(n.subtable),n},A}(),KQ=function(t){function A(){return A.__super__.constructor.apply(this,arguments)}return gn(A,Kr),A.prototype.tag="hhea",A.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()},A}(),VQ=function(t){function A(){return A.__super__.constructor.apply(this,arguments)}return gn(A,Kr),A.prototype.tag="OS/2",A.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 r,n;for(n=[],r=0;r<10;++r)n.push(e.readByte());return n}(),this.charRange=function(){var r,n;for(n=[],r=0;r<4;++r)n.push(e.readInt());return n}(),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 r,n;for(n=[],r=0;r<2;r=++r)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},A}(),jQ=function(t){function A(){return A.__super__.constructor.apply(this,arguments)}return gn(A,Kr),A.prototype.tag="post",A.prototype.parse=function(e){var r,n,i;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:break;case 131072:var a;for(n=e.readUInt16(),this.glyphNameIndex=[],a=0;0<=n?a<n:a>n;a=0<=n?++a:--a)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],i=[];e.pos<this.offset+this.length;)r=e.readByte(),i.push(this.names.push(e.readString(r)));return i;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 196608:break;case 262144:return this.map=function(){var s,o,l;for(l=[],a=s=0,o=this.file.maxp.numGlyphs;0<=o?s<o:s>o;a=0<=o?++s:--s)l.push(e.readUInt32());return l}.call(this)}},A}(),GQ=function(t,A){this.raw=t,this.length=t.length,this.platformID=A.platformID,this.encodingID=A.encodingID,this.languageID=A.languageID},$Q=function(t){function A(){return A.__super__.constructor.apply(this,arguments)}return gn(A,Kr),A.prototype.tag="name",A.prototype.parse=function(e){var r,n,i,a,s,o,l,f,d,p,h;for(e.pos=this.offset,e.readShort(),r=e.readShort(),o=e.readShort(),n=[],a=0;0<=r?a<r:a>r;a=0<=r?++a:--a)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+o+e.readShort()});for(l={},a=d=0,p=n.length;d<p;a=++d)i=n[a],e.pos=i.offset,f=e.readString(i.length),s=new GQ(f,i),l[h=i.nameID]==null&&(l[h]=[]),l[i.nameID].push(s);this.strings=l,this.copyright=l[0],this.fontFamily=l[1],this.fontSubfamily=l[2],this.uniqueSubfamily=l[3],this.fontName=l[4],this.version=l[5];try{this.postscriptName=l[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=l[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=l[7],this.manufacturer=l[8],this.designer=l[9],this.description=l[10],this.vendorUrl=l[11],this.designerUrl=l[12],this.license=l[13],this.licenseUrl=l[14],this.preferredFamily=l[15],this.preferredSubfamily=l[17],this.compatibleFull=l[18],this.sampleText=l[19]},A}(),qQ=function(t){function A(){return A.__super__.constructor.apply(this,arguments)}return gn(A,Kr),A.prototype.tag="maxp",A.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()},A}(),WQ=function(t){function A(){return A.__super__.constructor.apply(this,arguments)}return gn(A,Kr),A.prototype.tag="hmtx",A.prototype.parse=function(e){var r,n,i,a,s,o,l;for(e.pos=this.offset,this.metrics=[],r=0,o=this.file.hhea.numberOfMetrics;0<=o?r<o:r>o;r=0<=o?++r:--r)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(i=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var f,d;for(d=[],r=f=0;0<=i?f<i:f>i;r=0<=i?++f:--f)d.push(e.readInt16());return d}(),this.widths=function(){var f,d,p,h;for(h=[],f=0,d=(p=this.metrics).length;f<d;f++)a=p[f],h.push(a.advance);return h}.call(this),n=this.widths[this.widths.length-1],l=[],r=s=0;0<=i?s<i:s>i;r=0<=i?++s:--s)l.push(this.widths.push(n));return l},A.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]}},A}(),o2=[].slice,zQ=function(t){function A(){return A.__super__.constructor.apply(this,arguments)}return gn(A,Kr),A.prototype.tag="glyf",A.prototype.parse=function(){return this.cache={}},A.prototype.glyphFor=function(e){var r,n,i,a,s,o,l,f,d,p;return e in this.cache?this.cache[e]:(a=this.file.loca,r=this.file.contents,n=a.indexOf(e),(i=a.lengthOf(e))===0?this.cache[e]=null:(r.pos=this.offset+n,s=(o=new ai(r.read(i))).readShort(),f=o.readShort(),p=o.readShort(),l=o.readShort(),d=o.readShort(),this.cache[e]=s===-1?new YQ(o,f,p,l,d):new XQ(o,s,f,p,l,d),this.cache[e]))},A.prototype.encode=function(e,r,n){var i,a,s,o,l;for(s=[],a=[],o=0,l=r.length;o<l;o++)i=e[r[o]],a.push(s.length),i&&(s=s.concat(i.encode(n)));return a.push(s.length),{table:s,offsets:a}},A}(),XQ=function(){function t(A,e,r,n,i,a){this.raw=A,this.numberOfContours=e,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=a,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),YQ=function(){function t(A,e,r,n,i){var a,s;for(this.raw=A,this.xMin=e,this.yMin=r,this.xMax=n,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],a=this.raw;s=a.readShort(),this.glyphOffsets.push(a.pos),this.glyphIDs.push(a.readUInt16()),32&s;)a.pos+=1&s?4:2,128&s?a.pos+=8:64&s?a.pos+=4:8&s&&(a.pos+=2)}return t.prototype.encode=function(){var A,e,r;for(e=new ai(o2.call(this.raw.data)),A=0,r=this.glyphIDs.length;A<r;++A)e.pos=this.glyphOffsets[A];return e.data},t}(),JQ=function(t){function A(){return A.__super__.constructor.apply(this,arguments)}return gn(A,Kr),A.prototype.tag="loca",A.prototype.parse=function(e){var r,n;return e.pos=this.offset,r=this.file.head.indexToLocFormat,this.offsets=r===0?function(){var i,a;for(a=[],n=0,i=this.length;n<i;n+=2)a.push(2*e.readUInt16());return a}.call(this):function(){var i,a;for(a=[],n=0,i=this.length;n<i;n+=4)a.push(e.readUInt32());return a}.call(this)},A.prototype.indexOf=function(e){return this.offsets[e]},A.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},A.prototype.encode=function(e,r){for(var n=new Uint32Array(this.offsets.length),i=0,a=0,s=0;s<n.length;++s)if(n[s]=i,a<r.length&&r[a]==s){++a,n[s]=i;var o=this.offsets[s],l=this.offsets[s+1]-o;l>0&&(i+=l)}for(var f=new Array(4*n.length),d=0;d<n.length;++d)f[4*d+3]=255&n[d],f[4*d+2]=(65280&n[d])>>8,f[4*d+1]=(16711680&n[d])>>16,f[4*d]=(4278190080&n[d])>>24;return f},A}(),ZQ=function(){function t(A){this.font=A,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var A,e,r,n,i;for(e in n=this.font.cmap.tables[0].codeMap,A={},i=this.subset)r=i[e],A[e]=n[r];return A},t.prototype.glyphsFor=function(A){var e,r,n,i,a,s,o;for(n={},a=0,s=A.length;a<s;a++)n[i=A[a]]=this.font.glyf.glyphFor(i);for(i in e=[],n)(r=n[i])!=null&&r.compound&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(i in o=this.glyphsFor(e))r=o[i],n[i]=r;return n},t.prototype.encode=function(A,e){var r,n,i,a,s,o,l,f,d,p,h,m,w,b,y;for(n in r=s2.encode(this.generateCmap(),"unicode"),a=this.glyphsFor(A),h={0:0},y=r.charMap)h[(o=y[n]).old]=o.new;for(m in p=r.maxGlyphID,a)m in h||(h[m]=p++);return f=function(U){var T,k;for(T in k={},U)k[U[T]]=T;return k}(h),d=Object.keys(f).sort(function(U,T){return U-T}),w=function(){var U,T,k;for(k=[],U=0,T=d.length;U<T;U++)s=d[U],k.push(f[s]);return k}(),i=this.font.glyf.encode(a,w,h),l=this.font.loca.encode(i.offsets,w),b={cmap:this.font.cmap.raw(),glyf:i.table,loca:l,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(e)},this.font.os2.exists&&(b["OS/2"]=this.font.os2.raw()),this.font.directory.encode(b)},t}();te.API.PDFObject=function(){var t;function A(){}return t=function(e,r){return(Array(r+1).join("0")+e).slice(-r)},A.convert=function(e){var r,n,i,a;if(Array.isArray(e))return"["+function(){var s,o,l;for(l=[],s=0,o=e.length;s<o;s++)r=e[s],l.push(A.convert(r));return l}().join(" ")+"]";if(typeof e=="string")return"/"+e;if(e?.isString)return"("+e+")";if(e instanceof Date)return"(D:"+t(e.getUTCFullYear(),4)+t(e.getUTCMonth(),2)+t(e.getUTCDate(),2)+t(e.getUTCHours(),2)+t(e.getUTCMinutes(),2)+t(e.getUTCSeconds(),2)+"Z)";if({}.toString.call(e)==="[object Object]"){for(n in i=["<<"],e)a=e[n],i.push("/"+n+" "+A.convert(a));return i.push(">>"),i.join(`
`)}return""+e},A}();const u2=Mc.defineStore("StructStore",()=>{const t=vA.ref(),A=vA.ref();return{dataSource:t,selectedElement:A}}),Ks=t=>(vA.pushScopeId("data-v-83904042"),t=t(),vA.popScopeId(),t),AU={class:"node-container"},eU={class:"root-node"},tU=["colspan"],rU=["id"],nU={class:"section-list"},iU={class:"column-avatar"},aU=["src"],sU={class:"column-content"},oU={class:"header"},uU={class:"subheader"},lU={class:"caption"},cU={class:"column-side"},fU={key:0},hU=["colspan"],gU={class:"node-container"},dU={class:"nodeline"},pU=["colspan"],vU=[Ks(()=>vA.createElementVNode("div",{class:"nodeline-down"},null,-1))],BU={class:"nodeline"},wU=Ks(()=>vA.createElementVNode("td",{class:"nodeline-right"},null,-1)),mU=Ks(()=>vA.createElementVNode("td",{class:"nodeline-left nodeline-top"},null,-1)),yU=Ks(()=>vA.createElementVNode("td",{class:"nodeline-right nodeline-top"},null,-1)),CU=Ks(()=>vA.createElementVNode("td",{class:"nodeline-left"},null,-1)),bU={class:"node-children"},FU=vA.defineComponent({__name:"OrgChartNode",props:{dataSource:Object},setup(t){const A=t,{selectedElement:e}=Mc.storeToRefs(u2()),r=vA.toRefs(A).dataSource,n=vA.ref(!1);vA.onBeforeMount(()=>{A.dataSource?.depth<1?n.value=!0:n.value=!1}),vA.onBeforeUpdate(()=>{A.dataSource?.depth<1?n.value=!0:n.value=!1}),vA.onMounted(()=>{}),vA.watch(()=>A.dataSource,l=>{});const i=vA.ref();vA.watch(()=>n,l=>{}),vA.watchEffect(()=>{n.value?(i.value?.classList.remove("oncollapse"),i.value?.classList.add("onexpand")):(i.value?.classList.remove("onexpand"),i.value?.classList.add("oncollapse"))});const a=l=>{e.value=l},s=()=>{n.value=!n.value},o=()=>n.value;return(l,f)=>{const d=vA.resolveComponent("OrgChartNode",!0);return vA.openBlock(),vA.createElementBlock("table",AU,[vA.createElementVNode("tbody",null,[vA.createElementVNode("tr",eU,[vA.createElementVNode("td",{colspan:vA.unref(r)?.children&&vA.unref(r)?.children.length?vA.unref(r)?.children.length*2:0},[vA.createElementVNode("div",{class:vA.normalizeClass(vA.unref(r)?.personID==1?"element-container root-element":"element-container child-element"),id:vA.unref(r)?.personID,onClik:f[1]||(f[1]=p=>a(vA.unref(r)?.persosnID))},[vA.createElementVNode("div",nU,[vA.createElementVNode("div",iU,[vA.createElementVNode("img",{src:vA.unref(r)?.avatar&&vA.unref(r)?.avatar!==""?vA.unref(r)?.avatar:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIEdlbmVyYXRvcjogU1ZHIFJlcG8gTWl4ZXIgVG9vbHMgLS0+Cjxzdmcgd2lkdGg9IjgwMHB4IiBoZWlnaHQ9IjgwMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQogICAgPHBhdGggZD0ibSA4IDEgYyAtMS42NTYyNSAwIC0zIDEuMzQzNzUgLTMgMyBzIDEuMzQzNzUgMyAzIDMgcyAzIC0xLjM0Mzc1IDMgLTMgcyAtMS4zNDM3NSAtMyAtMyAtMyB6IG0gLTEuNSA3IGMgLTIuNDkyMTg4IDAgLTQuNSAyLjAwNzgxMiAtNC41IDQuNSB2IDAuNSBjIDAgMS4xMDkzNzUgMC44OTA2MjUgMiAyIDIgaCA4IGMgMS4xMDkzNzUgMCAyIC0wLjg5MDYyNSAyIC0yIHYgLTAuNSBjIDAgLTIuNDkyMTg4IC0yLjAwNzgxMiAtNC41IC00LjUgLTQuNSB6IG0gMCAwIiBmaWxsPSIjMmUzNDM2Ii8+DQo8L3N2Zz4=",alt:"{{ propDataSource?.name }}"},null,8,aU)]),vA.createElementVNode("div",sU,[vA.createElementVNode("div",oU,[vA.unref(r)?.name.trim()!==""?(vA.openBlock(),vA.createElementBlock(vA.Fragment,{key:0},[vA.createTextVNode(vA.toDisplayString(vA.unref(r)?.name),1)],64)):(vA.openBlock(),vA.createElementBlock(vA.Fragment,{key:1},[vA.createTextVNode(vA.toDisplayString(vA.unref(r)?.depth>0?"ว่าง":"")+" ",1)],64))]),vA.createElementVNode("div",uU,vA.toDisplayString(vA.unref(r)?.positionName?vA.unref(r)?.positionName:""),1),vA.createElementVNode("div",lU,vA.toDisplayString(vA.unref(r)?.departmentName?vA.unref(r)?.departmentName:""),1)]),vA.createElementVNode("div",cU,[vA.unref(r)?.children&&vA.unref(r)?.children.length>0?(vA.openBlock(),vA.createElementBlock("button",{key:0,ref_key:"sideButton",ref:i,class:"side-button",onClick:f[0]||(f[0]=p=>s())},null,512)):vA.createCommentVNode("",!0)])])],42,rU)],8,tU)]),vA.unref(r)?.children&&vA.unref(r)?.children.length?(vA.openBlock(),vA.createElementBlock("tr",fU,[vA.createElementVNode("td",{colspan:vA.unref(r)?.children&&vA.unref(r)?.children.length?vA.unref(r)?.children.length*2:0},[vA.createVNode(vA.Transition,{name:"slide-fade"},{default:vA.withCtx(()=>[vA.withDirectives(vA.createElementVNode("table",gU,[vA.createElementVNode("tr",dU,[vA.createElementVNode("td",{colspan:vA.unref(r)?.children.length*2},vU,8,pU)]),vA.createElementVNode("tr",BU,[wU,(vA.openBlock(!0),vA.createElementBlock(vA.Fragment,null,vA.renderList(vA.unref(r)?.children.length-1,p=>(vA.openBlock(),vA.createElementBlock(vA.Fragment,{key:p},[mU,yU],64))),128)),CU]),vA.createElementVNode("tr",bU,[(vA.openBlock(!0),vA.createElementBlock(vA.Fragment,null,vA.renderList(vA.unref(r)?.children,p=>(vA.openBlock(),vA.createElementBlock("td",{colspan:"2",key:p.id},[vA.createVNode(d,{dataSource:p},null,8,["dataSource"])]))),128))])],512),[[vA.vShow,o()]])]),_:1})],8,hU)])):vA.createCommentVNode("",!0)])])}}}),k_="",l2=(t,A)=>{const e=t.__vccOpts||t;for(const[r,n]of A)e[r]=n;return e},QU=l2(FU,[["__scopeId","data-v-83904042"]]),UU={class:"org-chart"},EU={class:"org-chart-container"},xU=vA.defineComponent({__name:"OrgChart",props:{dataSource:Object},emits:["onElementClick"],setup(t,{expose:A,emit:e}){const r=t,{dataSource:n,selectedElement:i}=Mc.storeToRefs(u2()),a=async(d=3)=>await Q1(document.querySelector(".org-chart-container"),{scale:d,width:document.querySelector(".org-chart-container").scrollWidth,height:document.querySelector(".org-chart-container").scrollHeight,useCORS:!0,allowTaint:!0});A({savePNG:async(d=3)=>{let p=await a(d),h=document.createElement("a");h.href=p.toDataURL("image/png"),h.download="org-chart.png",h.click(),h.remove()},savePDF:async(d=3)=>{let p=await a(d);const h=new te("l","px","a4");let m=h.internal.pageSize.getWidth(),w=h.internal.pageSize.getHeight(),b=m/p.width,y=w/p.height,U=b>y?y:b,T=p.width*U,k=p.height*U,G=(m-T)/2,j=(w-k)/2;h.addImage(p.toDataURL("image/png"),"PNG",G,j,T,k),h.save("org-chart.pdf")}}),vA.onMounted(()=>{}),vA.watch(()=>r.dataSource,d=>{n.value=d,f()}),vA.watch(i,()=>{e("onElementClick",i)});const l=async(d,p)=>{for(const h of d)h.depth=p;for(const h of d)typeof h.children<"u"&&h.children!==null&&h.children.length>0&&l(h.children,p+1)},f=async()=>{n.value.depth=0,n.value.children.length>0&&await l(n.value.children,1)};return(d,p)=>(vA.openBlock(),vA.createElementBlock("div",UU,[vA.createElementVNode("div",EU,[vA.createVNode(QU,{dataSource:vA.unref(n)},null,8,["dataSource"])])]))}}),K_="",IU=l2(xU,[["__scopeId","data-v-22da8111"]]);/*! @license DOMPurify 2.4.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.5/LICENSE */function si(t){return si=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},si(t)}function ah(t,A){return ah=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},ah(t,A)}function SU(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Xu(t,A,e){return SU()?Xu=Reflect.construct:Xu=function(n,i,a){var s=[null];s.push.apply(s,i);var o=Function.bind.apply(n,s),l=new o;return a&&ah(l,a.prototype),l},Xu.apply(null,arguments)}function Vr(t){return LU(t)||NU(t)||TU(t)||OU()}function LU(t){if(Array.isArray(t))return sh(t)}function NU(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function TU(t,A){if(t){if(typeof t=="string")return sh(t,A);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return sh(t,A)}}function sh(t,A){(A==null||A>t.length)&&(A=t.length);for(var e=0,r=new Array(A);e<A;e++)r[e]=t[e];return r}function OU(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var HU=Object.hasOwnProperty,c2=Object.setPrototypeOf,_U=Object.isFrozen,PU=Object.getPrototypeOf,DU=Object.getOwnPropertyDescriptor,Jt=Object.freeze,jr=Object.seal,MU=Object.create,f2=typeof Reflect<"u"&&Reflect,Yu=f2.apply,oh=f2.construct;Yu||(Yu=function(A,e,r){return A.apply(e,r)}),Jt||(Jt=function(A){return A}),jr||(jr=function(A){return A}),oh||(oh=function(A,e){return Xu(A,Vr(e))});var RU=Er(Array.prototype.forEach),h2=Er(Array.prototype.pop),Vs=Er(Array.prototype.push),Ju=Er(String.prototype.toLowerCase),uh=Er(String.prototype.toString),kU=Er(String.prototype.match),Gr=Er(String.prototype.replace),KU=Er(String.prototype.indexOf),VU=Er(String.prototype.trim),Zt=Er(RegExp.prototype.test),lh=jU(TypeError);function Er(t){return function(A){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return Yu(t,A,r)}}function jU(t){return function(){for(var A=arguments.length,e=new Array(A),r=0;r<A;r++)e[r]=arguments[r];return oh(t,e)}}function fe(t,A,e){e=e||Ju,c2&&c2(t,null);for(var r=A.length;r--;){var n=A[r];if(typeof n=="string"){var i=e(n);i!==n&&(_U(A)||(A[r]=i),n=i)}t[n]=!0}return t}function Mi(t){var A=MU(null),e;for(e in t)Yu(HU,t,[e])===!0&&(A[e]=t[e]);return A}function Zu(t,A){for(;t!==null;){var e=DU(t,A);if(e){if(e.get)return Er(e.get);if(typeof e.value=="function")return Er(e.value)}t=PU(t)}function r(n){return console.warn("fallback value for",n),null}return r}var g2=Jt(["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","section","select","shadow","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"]),ch=Jt(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),fh=Jt(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),GU=Jt(["animate","color-profile","cursor","discard","fedropshadow","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"]),hh=Jt(["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"]),$U=Jt(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),d2=Jt(["#text"]),p2=Jt(["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","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),gh=Jt(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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","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"]),v2=Jt(["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"]),Al=Jt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),qU=jr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),WU=jr(/<%[\w\W]*|[\w\W]*%>/gm),zU=jr(/\${[\w\W]*}/gm),XU=jr(/^data-[\-\w.\u00B7-\uFFFF]/),YU=jr(/^aria-[\-\w]+$/),JU=jr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ZU=jr(/^(?:\w+script|data):/i),A3=jr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),e3=jr(/^html$/i),t3=function(){return typeof window>"u"?null:window},r3=function(A,e){if(si(A)!=="object"||typeof A.createPolicy!="function")return null;var r=null,n="data-tt-policy-suffix";e.currentScript&&e.currentScript.hasAttribute(n)&&(r=e.currentScript.getAttribute(n));var i="dompurify"+(r?"#"+r:"");try{return A.createPolicy(i,{createHTML:function(s){return s},createScriptURL:function(s){return s}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function B2(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t3(),A=function(Y){return B2(Y)};if(A.version="2.4.5",A.removed=[],!t||!t.document||t.document.nodeType!==9)return A.isSupported=!1,A;var e=t.document,r=t.document,n=t.DocumentFragment,i=t.HTMLTemplateElement,a=t.Node,s=t.Element,o=t.NodeFilter,l=t.NamedNodeMap,f=l===void 0?t.NamedNodeMap||t.MozNamedAttrMap:l,d=t.HTMLFormElement,p=t.DOMParser,h=t.trustedTypes,m=s.prototype,w=Zu(m,"cloneNode"),b=Zu(m,"nextSibling"),y=Zu(m,"childNodes"),U=Zu(m,"parentNode");if(typeof i=="function"){var T=r.createElement("template");T.content&&T.content.ownerDocument&&(r=T.content.ownerDocument)}var k=r3(h,e),G=k?k.createHTML(""):"",j=r,K=j.implementation,O=j.createNodeIterator,Z=j.createDocumentFragment,aA=j.getElementsByTagName,N=e.importNode,S={};try{S=Mi(r).documentMode?r.documentMode:{}}catch{}var M={};A.isSupported=typeof U=="function"&&K&&typeof K.createHTMLDocument<"u"&&S!==9;var R=qU,iA=WU,tA=zU,lA=XU,eA=YU,cA=ZU,sA=A3,bA=JU,Q=null,_=fe({},[].concat(Vr(g2),Vr(ch),Vr(fh),Vr(hh),Vr(d2))),P=null,$=fe({},[].concat(Vr(p2),Vr(gh),Vr(v2),Vr(Al))),W=Object.seal(Object.create(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}})),nA=null,fA=null,hA=!0,xA=!0,EA=!1,_A=!0,NA=!1,jA=!1,gA=!1,V=!1,JA=!1,KA=!1,FA=!1,IA=!0,LA=!1,SA="user-content-",VA=!0,GA=!1,ZA={},re=null,he=fe({},["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"]),ye=null,zA=fe({},["audio","video","img","source","image","track"]),ne=null,TA=fe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Re="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",Ge="http://www.w3.org/1999/xhtml",pe=Ge,Ue=!1,It=null,we=fe({},[Re,ge,Ge],uh),pt,Se=["application/xhtml+xml","text/html"],_t="text/html",ue,Le=null,ie=r.createElement("form"),be=function(Y){return Y instanceof RegExp||Y instanceof Function},Xr=function(Y){Le&&Le===Y||((!Y||si(Y)!=="object")&&(Y={}),Y=Mi(Y),pt=Se.indexOf(Y.PARSER_MEDIA_TYPE)===-1?pt=_t:pt=Y.PARSER_MEDIA_TYPE,ue=pt==="application/xhtml+xml"?uh:Ju,Q="ALLOWED_TAGS"in Y?fe({},Y.ALLOWED_TAGS,ue):_,P="ALLOWED_ATTR"in Y?fe({},Y.ALLOWED_ATTR,ue):$,It="ALLOWED_NAMESPACES"in Y?fe({},Y.ALLOWED_NAMESPACES,uh):we,ne="ADD_URI_SAFE_ATTR"in Y?fe(Mi(TA),Y.ADD_URI_SAFE_ATTR,ue):TA,ye="ADD_DATA_URI_TAGS"in Y?fe(Mi(zA),Y.ADD_DATA_URI_TAGS,ue):zA,re="FORBID_CONTENTS"in Y?fe({},Y.FORBID_CONTENTS,ue):he,nA="FORBID_TAGS"in Y?fe({},Y.FORBID_TAGS,ue):{},fA="FORBID_ATTR"in Y?fe({},Y.FORBID_ATTR,ue):{},ZA="USE_PROFILES"in Y?Y.USE_PROFILES:!1,hA=Y.ALLOW_ARIA_ATTR!==!1,xA=Y.ALLOW_DATA_ATTR!==!1,EA=Y.ALLOW_UNKNOWN_PROTOCOLS||!1,_A=Y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,NA=Y.SAFE_FOR_TEMPLATES||!1,jA=Y.WHOLE_DOCUMENT||!1,JA=Y.RETURN_DOM||!1,KA=Y.RETURN_DOM_FRAGMENT||!1,FA=Y.RETURN_TRUSTED_TYPE||!1,V=Y.FORCE_BODY||!1,IA=Y.SANITIZE_DOM!==!1,LA=Y.SANITIZE_NAMED_PROPS||!1,VA=Y.KEEP_CONTENT!==!1,GA=Y.IN_PLACE||!1,bA=Y.ALLOWED_URI_REGEXP||bA,pe=Y.NAMESPACE||Ge,W=Y.CUSTOM_ELEMENT_HANDLING||{},Y.CUSTOM_ELEMENT_HANDLING&&be(Y.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=Y.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Y.CUSTOM_ELEMENT_HANDLING&&be(Y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(W.attributeNameCheck=Y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Y.CUSTOM_ELEMENT_HANDLING&&typeof Y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(W.allowCustomizedBuiltInElements=Y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),NA&&(xA=!1),KA&&(JA=!0),ZA&&(Q=fe({},Vr(d2)),P=[],ZA.html===!0&&(fe(Q,g2),fe(P,p2)),ZA.svg===!0&&(fe(Q,ch),fe(P,gh),fe(P,Al)),ZA.svgFilters===!0&&(fe(Q,fh),fe(P,gh),fe(P,Al)),ZA.mathMl===!0&&(fe(Q,hh),fe(P,v2),fe(P,Al))),Y.ADD_TAGS&&(Q===_&&(Q=Mi(Q)),fe(Q,Y.ADD_TAGS,ue)),Y.ADD_ATTR&&(P===$&&(P=Mi(P)),fe(P,Y.ADD_ATTR,ue)),Y.ADD_URI_SAFE_ATTR&&fe(ne,Y.ADD_URI_SAFE_ATTR,ue),Y.FORBID_CONTENTS&&(re===he&&(re=Mi(re)),fe(re,Y.FORBID_CONTENTS,ue)),VA&&(Q["#text"]=!0),jA&&fe(Q,["html","head","body"]),Q.table&&(fe(Q,["tbody"]),delete nA.tbody),Jt&&Jt(Y),Le=Y)},vt=fe({},["mi","mo","mn","ms","mtext"]),vr=fe({},["foreignobject","desc","title","annotation-xml"]),Ir=fe({},["title","style","font","a","script"]),XA=fe({},ch);fe(XA,fh),fe(XA,GU);var er=fe({},hh);fe(er,$U);var Sr=function(Y){var QA=U(Y);(!QA||!QA.tagName)&&(QA={namespaceURI:pe,tagName:"template"});var OA=Ju(Y.tagName),ve=Ju(QA.tagName);return It[Y.namespaceURI]?Y.namespaceURI===ge?QA.namespaceURI===Ge?OA==="svg":QA.namespaceURI===Re?OA==="svg"&&(ve==="annotation-xml"||vt[ve]):!!XA[OA]:Y.namespaceURI===Re?QA.namespaceURI===Ge?OA==="math":QA.namespaceURI===ge?OA==="math"&&vr[ve]:!!er[OA]:Y.namespaceURI===Ge?QA.namespaceURI===ge&&!vr[ve]||QA.namespaceURI===Re&&!vt[ve]?!1:!er[OA]&&(Ir[OA]||!XA[OA]):!!(pt==="application/xhtml+xml"&&It[Y.namespaceURI]):!1},$e=function(Y){Vs(A.removed,{element:Y});try{Y.parentNode.removeChild(Y)}catch{try{Y.outerHTML=G}catch{Y.remove()}}},qe=function(Y,QA){try{Vs(A.removed,{attribute:QA.getAttributeNode(Y),from:QA})}catch{Vs(A.removed,{attribute:null,from:QA})}if(QA.removeAttribute(Y),Y==="is"&&!P[Y])if(JA||KA)try{$e(QA)}catch{}else try{QA.setAttribute(Y,"")}catch{}},We=function(Y){var QA,OA;if(V)Y="<remove></remove>"+Y;else{var ve=kU(Y,/^[\r\n\t ]+/);OA=ve&&ve[0]}pt==="application/xhtml+xml"&&pe===Ge&&(Y='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Y+"</body></html>");var bt=k?k.createHTML(Y):Y;if(pe===Ge)try{QA=new p().parseFromString(bt,pt)}catch{}if(!QA||!QA.documentElement){QA=K.createDocument(pe,"template",null);try{QA.documentElement.innerHTML=Ue?G:bt}catch{}}var Bt=QA.body||QA.documentElement;return Y&&OA&&Bt.insertBefore(r.createTextNode(OA),Bt.childNodes[0]||null),pe===Ge?aA.call(QA,jA?"html":"body")[0]:jA?QA.documentElement:Bt},$t=function(Y){return O.call(Y.ownerDocument||Y,Y,o.SHOW_ELEMENT|o.SHOW_COMMENT|o.SHOW_TEXT,null,!1)},fi=function(Y){return Y instanceof d&&(typeof Y.nodeName!="string"||typeof Y.textContent!="string"||typeof Y.removeChild!="function"||!(Y.attributes instanceof f)||typeof Y.removeAttribute!="function"||typeof Y.setAttribute!="function"||typeof Y.namespaceURI!="string"||typeof Y.insertBefore!="function"||typeof Y.hasChildNodes!="function")},tr=function(Y){return si(a)==="object"?Y instanceof a:Y&&si(Y)==="object"&&typeof Y.nodeType=="number"&&typeof Y.nodeName=="string"},ut=function(Y,QA,OA){M[Y]&&RU(M[Y],function(ve){ve.call(A,QA,OA,Le)})},or=function(Y){var QA;if(ut("beforeSanitizeElements",Y,null),fi(Y)||Zt(/[\u0080-\uFFFF]/,Y.nodeName))return $e(Y),!0;var OA=ue(Y.nodeName);if(ut("uponSanitizeElement",Y,{tagName:OA,allowedTags:Q}),Y.hasChildNodes()&&!tr(Y.firstElementChild)&&(!tr(Y.content)||!tr(Y.content.firstElementChild))&&Zt(/<[/\w]/g,Y.innerHTML)&&Zt(/<[/\w]/g,Y.textContent)||OA==="select"&&Zt(/<template/i,Y.innerHTML))return $e(Y),!0;if(!Q[OA]||nA[OA]){if(!nA[OA]&&Br(OA)&&(W.tagNameCheck instanceof RegExp&&Zt(W.tagNameCheck,OA)||W.tagNameCheck instanceof Function&&W.tagNameCheck(OA)))return!1;if(VA&&!re[OA]){var ve=U(Y)||Y.parentNode,bt=y(Y)||Y.childNodes;if(bt&&ve)for(var Bt=bt.length,lt=Bt-1;lt>=0;--lt)ve.insertBefore(w(bt[lt],!0),b(Y))}return $e(Y),!0}return Y instanceof s&&!Sr(Y)||(OA==="noscript"||OA==="noembed")&&Zt(/<\/no(script|embed)/i,Y.innerHTML)?($e(Y),!0):(NA&&Y.nodeType===3&&(QA=Y.textContent,QA=Gr(QA,R," "),QA=Gr(QA,iA," "),QA=Gr(QA,tA," "),Y.textContent!==QA&&(Vs(A.removed,{element:Y.cloneNode()}),Y.textContent=QA)),ut("afterSanitizeElements",Y,null),!1)},ur=function(Y,QA,OA){if(IA&&(QA==="id"||QA==="name")&&(OA in r||OA in ie))return!1;if(!(xA&&!fA[QA]&&Zt(lA,QA))){if(!(hA&&Zt(eA,QA))){if(!P[QA]||fA[QA]){if(!(Br(Y)&&(W.tagNameCheck instanceof RegExp&&Zt(W.tagNameCheck,Y)||W.tagNameCheck instanceof Function&&W.tagNameCheck(Y))&&(W.attributeNameCheck instanceof RegExp&&Zt(W.attributeNameCheck,QA)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(QA))||QA==="is"&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&Zt(W.tagNameCheck,OA)||W.tagNameCheck instanceof Function&&W.tagNameCheck(OA))))return!1}else if(!ne[QA]){if(!Zt(bA,Gr(OA,sA,""))){if(!((QA==="src"||QA==="xlink:href"||QA==="href")&&Y!=="script"&&KU(OA,"data:")===0&&ye[Y])){if(!(EA&&!Zt(cA,Gr(OA,sA,"")))){if(OA)return!1}}}}}}return!0},Br=function(Y){return Y.indexOf("-")>0},rr=function(Y){var QA,OA,ve,bt;ut("beforeSanitizeAttributes",Y,null);var Bt=Y.attributes;if(Bt){var lt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:P};for(bt=Bt.length;bt--;){QA=Bt[bt];var Yr=QA,ze=Yr.name,ea=Yr.namespaceURI;if(OA=ze==="value"?QA.value:VU(QA.value),ve=ue(ze),lt.attrName=ve,lt.attrValue=OA,lt.keepAttr=!0,lt.forceKeepAttr=void 0,ut("uponSanitizeAttribute",Y,lt),OA=lt.attrValue,!lt.forceKeepAttr&&(qe(ze,Y),!!lt.keepAttr)){if(!_A&&Zt(/\/>/i,OA)){qe(ze,Y);continue}NA&&(OA=Gr(OA,R," "),OA=Gr(OA,iA," "),OA=Gr(OA,tA," "));var hi=ue(Y.nodeName);if(ur(hi,ve,OA)){if(LA&&(ve==="id"||ve==="name")&&(qe(ze,Y),OA=SA+OA),k&&si(h)==="object"&&typeof h.getAttributeType=="function"&&!ea)switch(h.getAttributeType(hi,ve)){case"TrustedHTML":OA=k.createHTML(OA);break;case"TrustedScriptURL":OA=k.createScriptURL(OA);break}try{ea?Y.setAttributeNS(ea,ze,OA):Y.setAttribute(ze,OA),h2(A.removed)}catch{}}}}ut("afterSanitizeAttributes",Y,null)}},Lr=function qA(Y){var QA,OA=$t(Y);for(ut("beforeSanitizeShadowDOM",Y,null);QA=OA.nextNode();)ut("uponSanitizeShadowNode",QA,null),!or(QA)&&(QA.content instanceof n&&qA(QA.content),rr(QA));ut("afterSanitizeShadowDOM",Y,null)};return A.sanitize=function(qA){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},QA,OA,ve,bt,Bt;if(Ue=!qA,Ue&&(qA="<!-->"),typeof qA!="string"&&!tr(qA)){if(typeof qA.toString!="function")throw lh("toString is not a function");if(qA=qA.toString(),typeof qA!="string")throw lh("dirty is not a string, aborting")}if(!A.isSupported){if(si(t.toStaticHTML)==="object"||typeof t.toStaticHTML=="function"){if(typeof qA=="string")return t.toStaticHTML(qA);if(tr(qA))return t.toStaticHTML(qA.outerHTML)}return qA}if(gA||Xr(Y),A.removed=[],typeof qA=="string"&&(GA=!1),GA){if(qA.nodeName){var lt=ue(qA.nodeName);if(!Q[lt]||nA[lt])throw lh("root node is forbidden and cannot be sanitized in-place")}}else if(qA instanceof a)QA=We("<!---->"),OA=QA.ownerDocument.importNode(qA,!0),OA.nodeType===1&&OA.nodeName==="BODY"||OA.nodeName==="HTML"?QA=OA:QA.appendChild(OA);else{if(!JA&&!NA&&!jA&&qA.indexOf("<")===-1)return k&&FA?k.createHTML(qA):qA;if(QA=We(qA),!QA)return JA?null:FA?G:""}QA&&V&&$e(QA.firstChild);for(var Yr=$t(GA?qA:QA);ve=Yr.nextNode();)ve.nodeType===3&&ve===bt||or(ve)||(ve.content instanceof n&&Lr(ve.content),rr(ve),bt=ve);if(bt=null,GA)return qA;if(JA){if(KA)for(Bt=Z.call(QA.ownerDocument);QA.firstChild;)Bt.appendChild(QA.firstChild);else Bt=QA;return(P.shadowroot||P.shadowrootmod)&&(Bt=N.call(e,Bt,!0)),Bt}var ze=jA?QA.outerHTML:QA.innerHTML;return jA&&Q["!doctype"]&&QA.ownerDocument&&QA.ownerDocument.doctype&&QA.ownerDocument.doctype.name&&Zt(e3,QA.ownerDocument.doctype.name)&&(ze="<!DOCTYPE "+QA.ownerDocument.doctype.name+`>
`+ze),NA&&(ze=Gr(ze,R," "),ze=Gr(ze,iA," "),ze=Gr(ze,tA," ")),k&&FA?k.createHTML(ze):ze},A.setConfig=function(qA){Xr(qA),gA=!0},A.clearConfig=function(){Le=null,gA=!1},A.isValidAttribute=function(qA,Y,QA){Le||Xr({});var OA=ue(qA),ve=ue(Y);return ur(OA,ve,QA)},A.addHook=function(qA,Y){typeof Y=="function"&&(M[qA]=M[qA]||[],Vs(M[qA],Y))},A.removeHook=function(qA){if(M[qA])return h2(M[qA])},A.removeHooks=function(qA){M[qA]&&(M[qA]=[])},A.removeAllHooks=function(){M={}},A}var n3=B2();const i3=Object.freeze(Object.defineProperty({__proto__:null,default:n3},Symbol.toStringTag,{value:"Module"}));var el=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},tl=function(t){return t&&t.Math==Math&&t},Et=tl(typeof globalThis=="object"&&globalThis)||tl(typeof window=="object"&&window)||tl(typeof self=="object"&&self)||tl(typeof el=="object"&&el)||function(){return this}()||Function("return this")(),Sa={},st=function(t){try{return!!t()}catch{return!0}},a3=st,dn=!a3(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),s3=st,rl=!s3(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),o3=rl,nl=Function.prototype.call,Ht=o3?nl.bind(nl):function(){return nl.apply(nl,arguments)},w2={},m2={}.propertyIsEnumerable,y2=Object.getOwnPropertyDescriptor,u3=y2&&!m2.call({1:2},1);w2.f=u3?function(A){var e=y2(this,A);return!!e&&e.enumerable}:m2;var il=function(t,A){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:A}},C2=rl,b2=Function.prototype,dh=b2.call,l3=C2&&b2.bind.bind(dh,dh),ot=C2?l3:function(t){return function(){return dh.apply(t,arguments)}},F2=ot,c3=F2({}.toString),f3=F2("".slice),Ri=function(t){return f3(c3(t),8,-1)},h3=ot,g3=st,d3=Ri,ph=Object,p3=h3("".split),Q2=g3(function(){return!ph("z").propertyIsEnumerable(0)})?function(t){return d3(t)=="String"?p3(t,""):ph(t)}:ph,ki=function(t){return t==null},v3=ki,B3=TypeError,pn=function(t){if(v3(t))throw B3("Can't call method on "+t);return t},w3=Q2,m3=pn,js=function(t){return w3(m3(t))},vh=typeof document=="object"&&document.all,y3=typeof vh>"u"&&vh!==void 0,U2={all:vh,IS_HTMLDDA:y3},E2=U2,C3=E2.all,Je=E2.IS_HTMLDDA?function(t){return typeof t=="function"||t===C3}:function(t){return typeof t=="function"},x2=Je,I2=U2,b3=I2.all,xn=I2.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:x2(t)||t===b3}:function(t){return typeof t=="object"?t!==null:x2(t)},Bh=Et,F3=Je,Q3=function(t){return F3(t)?t:void 0},Ki=function(t,A){return arguments.length<2?Q3(Bh[t]):Bh[t]&&Bh[t][A]},U3=ot,al=U3({}.isPrototypeOf),sl=typeof navigator<"u"&&String(navigator.userAgent)||"",S2=Et,wh=sl,L2=S2.process,N2=S2.Deno,T2=L2&&L2.versions||N2&&N2.version,O2=T2&&T2.v8,$r,ol;O2&&($r=O2.split("."),ol=$r[0]>0&&$r[0]<4?1:+($r[0]+$r[1])),!ol&&wh&&($r=wh.match(/Edge\/(\d+)/),(!$r||$r[1]>=74)&&($r=wh.match(/Chrome\/(\d+)/),$r&&(ol=+$r[1])));var mh=ol,H2=mh,E3=st,_2=!!Object.getOwnPropertySymbols&&!E3(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&H2&&H2<41}),x3=_2,P2=x3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",I3=Ki,S3=Je,L3=al,N3=P2,T3=Object,D2=N3?function(t){return typeof t=="symbol"}:function(t){var A=I3("Symbol");return S3(A)&&L3(A.prototype,T3(t))},O3=String,ul=function(t){try{return O3(t)}catch{return"Object"}},H3=Je,_3=ul,P3=TypeError,In=function(t){if(H3(t))return t;throw P3(_3(t)+" is not a function")},D3=In,M3=ki,La=function(t,A){var e=t[A];return M3(e)?void 0:D3(e)},yh=Ht,Ch=Je,bh=xn,R3=TypeError,k3=function(t,A){var e,r;if(A==="string"&&Ch(e=t.toString)&&!bh(r=yh(e,t))||Ch(e=t.valueOf)&&!bh(r=yh(e,t))||A!=="string"&&Ch(e=t.toString)&&!bh(r=yh(e,t)))return r;throw R3("Can't convert object to primitive value")},Gs={},K3={get exports(){return Gs},set exports(t){Gs=t}},M2=Et,V3=Object.defineProperty,Fh=function(t,A){try{V3(M2,t,{value:A,configurable:!0,writable:!0})}catch{M2[t]=A}return A},j3=Et,G3=Fh,R2="__core-js_shared__",$3=j3[R2]||G3(R2,{}),Qh=$3,k2=Qh;(K3.exports=function(t,A){return k2[t]||(k2[t]=A!==void 0?A:{})})("versions",[]).push({version:"3.30.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"});var q3=pn,W3=Object,ll=function(t){return W3(q3(t))},z3=ot,X3=ll,Y3=z3({}.hasOwnProperty),qr=Object.hasOwn||function(A,e){return Y3(X3(A),e)},J3=ot,Z3=0,AE=Math.random(),eE=J3(1 .toString),K2=function(t){return"Symbol("+(t===void 0?"":t)+")_"+eE(++Z3+AE,36)},tE=Et,rE=Gs,V2=qr,nE=K2,iE=_2,aE=P2,Na=tE.Symbol,Uh=rE("wks"),sE=aE?Na.for||Na:Na&&Na.withoutSetter||nE,xt=function(t){return V2(Uh,t)||(Uh[t]=iE&&V2(Na,t)?Na[t]:sE("Symbol."+t)),Uh[t]},oE=Ht,j2=xn,G2=D2,uE=La,lE=k3,cE=xt,fE=TypeError,hE=cE("toPrimitive"),gE=function(t,A){if(!j2(t)||G2(t))return t;var e=uE(t,hE),r;if(e){if(A===void 0&&(A="default"),r=oE(e,t,A),!j2(r)||G2(r))return r;throw fE("Can't convert object to primitive value")}return A===void 0&&(A="number"),lE(t,A)},dE=gE,pE=D2,Eh=function(t){var A=dE(t,"string");return pE(A)?A:A+""},vE=Et,$2=xn,xh=vE.document,BE=$2(xh)&&$2(xh.createElement),cl=function(t){return BE?xh.createElement(t):{}},wE=dn,mE=st,yE=cl,q2=!wE&&!mE(function(){return Object.defineProperty(yE("div"),"a",{get:function(){return 7}}).a!=7}),CE=dn,bE=Ht,FE=w2,QE=il,UE=js,EE=Eh,xE=qr,IE=q2,W2=Object.getOwnPropertyDescriptor;Sa.f=CE?W2:function(A,e){if(A=UE(A),e=EE(e),IE)try{return W2(A,e)}catch{}if(xE(A,e))return QE(!bE(FE.f,A,e),A[e])};var vn={},SE=dn,LE=st,z2=SE&&LE(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),NE=xn,TE=String,OE=TypeError,jt=function(t){if(NE(t))return t;throw OE(TE(t)+" is not an object")},HE=dn,_E=q2,PE=z2,fl=jt,X2=Eh,DE=TypeError,Ih=Object.defineProperty,ME=Object.getOwnPropertyDescriptor,Sh="enumerable",Lh="configurable",Nh="writable";vn.f=HE?PE?function(A,e,r){if(fl(A),e=X2(e),fl(r),typeof A=="function"&&e==="prototype"&&"value"in r&&Nh in r&&!r[Nh]){var n=ME(A,e);n&&n[Nh]&&(A[e]=r.value,r={configurable:Lh in r?r[Lh]:n[Lh],enumerable:Sh in r?r[Sh]:n[Sh],writable:!1})}return Ih(A,e,r)}:Ih:function(A,e,r){if(fl(A),e=X2(e),fl(r),_E)try{return Ih(A,e,r)}catch{}if("get"in r||"set"in r)throw DE("Accessors not supported");return"value"in r&&(A[e]=r.value),A};var RE=dn,kE=vn,KE=il,$s=RE?function(t,A,e){return kE.f(t,A,KE(1,e))}:function(t,A,e){return t[A]=e,t},hl={},VE={get exports(){return hl},set exports(t){hl=t}},Th=dn,jE=qr,Y2=Function.prototype,GE=Th&&Object.getOwnPropertyDescriptor,Oh=jE(Y2,"name"),$E=Oh&&function(){}.name==="something",qE=Oh&&(!Th||Th&&GE(Y2,"name").configurable),gl={EXISTS:Oh,PROPER:$E,CONFIGURABLE:qE},WE=ot,zE=Je,Hh=Qh,XE=WE(Function.toString);zE(Hh.inspectSource)||(Hh.inspectSource=function(t){return XE(t)});var _h=Hh.inspectSource,YE=Et,JE=Je,J2=YE.WeakMap,ZE=JE(J2)&&/native code/.test(String(J2)),Ax=Gs,ex=K2,Z2=Ax("keys"),Ph=function(t){return Z2[t]||(Z2[t]=ex(t))},Dh={},tx=ZE,Av=Et,rx=xn,nx=$s,Mh=qr,Rh=Qh,ix=Ph,ax=Dh,ev="Object already initialized",kh=Av.TypeError,sx=Av.WeakMap,dl,qs,pl,ox=function(t){return pl(t)?qs(t):dl(t,{})},ux=function(t){return function(A){var e;if(!rx(A)||(e=qs(A)).type!==t)throw kh("Incompatible receiver, "+t+" required");return e}};if(tx||Rh.state){var Bn=Rh.state||(Rh.state=new sx);Bn.get=Bn.get,Bn.has=Bn.has,Bn.set=Bn.set,dl=function(t,A){if(Bn.has(t))throw kh(ev);return A.facade=t,Bn.set(t,A),A},qs=function(t){return Bn.get(t)||{}},pl=function(t){return Bn.has(t)}}else{var Ta=ix("state");ax[Ta]=!0,dl=function(t,A){if(Mh(t,Ta))throw kh(ev);return A.facade=t,nx(t,Ta,A),A},qs=function(t){return Mh(t,Ta)?t[Ta]:{}},pl=function(t){return Mh(t,Ta)}}var vl={set:dl,get:qs,has:pl,enforce:ox,getterFor:ux},Kh=ot,lx=st,cx=Je,Bl=qr,Vh=dn,fx=gl.CONFIGURABLE,hx=_h,tv=vl,gx=tv.enforce,dx=tv.get,rv=String,wl=Object.defineProperty,px=Kh("".slice),vx=Kh("".replace),Bx=Kh([].join),wx=Vh&&!lx(function(){return wl(function(){},"length",{value:8}).length!==8}),mx=String(String).split("String"),yx=VE.exports=function(t,A,e){px(rv(A),0,7)==="Symbol("&&(A="["+vx(rv(A),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(A="get "+A),e&&e.setter&&(A="set "+A),(!Bl(t,"name")||fx&&t.name!==A)&&(Vh?wl(t,"name",{value:A,configurable:!0}):t.name=A),wx&&e&&Bl(e,"arity")&&t.length!==e.arity&&wl(t,"length",{value:e.arity});try{e&&Bl(e,"constructor")&&e.constructor?Vh&&wl(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var r=gx(t);return Bl(r,"source")||(r.source=Bx(mx,typeof A=="string"?A:"")),t};Function.prototype.toString=yx(function(){return cx(this)&&dx(this).source||hx(this)},"toString");var Cx=Je,bx=vn,Fx=hl,Qx=Fh,Vi=function(t,A,e,r){r||(r={});var n=r.enumerable,i=r.name!==void 0?r.name:A;if(Cx(e)&&Fx(e,i,r),r.global)n?t[A]=e:Qx(A,e);else{try{r.unsafe?t[A]&&(n=!0):delete t[A]}catch{}n?t[A]=e:bx.f(t,A,{value:e,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},nv={},Ux=Math.ceil,Ex=Math.floor,xx=Math.trunc||function(A){var e=+A;return(e>0?Ex:Ux)(e)},Ix=xx,ml=function(t){var A=+t;return A!==A||A===0?0:Ix(A)},Sx=ml,Lx=Math.max,Nx=Math.min,iv=function(t,A){var e=Sx(t);return e<0?Lx(e+A,0):Nx(e,A)},Tx=ml,Ox=Math.min,Oa=function(t){return t>0?Ox(Tx(t),9007199254740991):0},Hx=Oa,yl=function(t){return Hx(t.length)},_x=js,Px=iv,Dx=yl,av=function(t){return function(A,e,r){var n=_x(A),i=Dx(n),a=Px(r,i),s;if(t&&e!=e){for(;i>a;)if(s=n[a++],s!=s)return!0}else for(;i>a;a++)if((t||a in n)&&n[a]===e)return t||a||0;return!t&&-1}},sv={includes:av(!0),indexOf:av(!1)},Mx=ot,jh=qr,Rx=js,kx=sv.indexOf,Kx=Dh,ov=Mx([].push),uv=function(t,A){var e=Rx(t),r=0,n=[],i;for(i in e)!jh(Kx,i)&&jh(e,i)&&ov(n,i);for(;A.length>r;)jh(e,i=A[r++])&&(~kx(n,i)||ov(n,i));return n},Gh=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Vx=uv,jx=Gh,Gx=jx.concat("length","prototype");nv.f=Object.getOwnPropertyNames||function(A){return Vx(A,Gx)};var lv={};lv.f=Object.getOwnPropertySymbols;var $x=Ki,qx=ot,Wx=nv,zx=lv,Xx=jt,Yx=qx([].concat),Jx=$x("Reflect","ownKeys")||function(A){var e=Wx.f(Xx(A)),r=zx.f;return r?Yx(e,r(A)):e},cv=qr,Zx=Jx,AI=Sa,eI=vn,tI=function(t,A,e){for(var r=Zx(A),n=eI.f,i=AI.f,a=0;a<r.length;a++){var s=r[a];!cv(t,s)&&!(e&&cv(e,s))&&n(t,s,i(A,s))}},rI=st,nI=Je,iI=/#|\.prototype\./,Ws=function(t,A){var e=sI[aI(t)];return e==uI?!0:e==oI?!1:nI(A)?rI(A):!!A},aI=Ws.normalize=function(t){return String(t).replace(iI,".").toLowerCase()},sI=Ws.data={},oI=Ws.NATIVE="N",uI=Ws.POLYFILL="P",fv=Ws,$h=Et,lI=Sa.f,cI=$s,fI=Vi,hI=Fh,gI=tI,dI=fv,Ar=function(t,A){var e=t.target,r=t.global,n=t.stat,i,a,s,o,l,f;if(r?a=$h:n?a=$h[e]||hI(e,{}):a=($h[e]||{}).prototype,a)for(s in A){if(l=A[s],t.dontCallGetSet?(f=lI(a,s),o=f&&f.value):o=a[s],i=dI(r?s:e+(n?".":"#")+s,t.forced),!i&&o!==void 0){if(typeof l==typeof o)continue;gI(l,o)}(t.sham||o&&o.sham)&&cI(l,"sham",!0),fI(a,s,l,t)}},pI=Ri,zs=typeof process<"u"&&pI(process)=="process",vI=ot,BI=In,wI=function(t,A,e){try{return vI(BI(Object.getOwnPropertyDescriptor(t,A)[e]))}catch{}},mI=Je,yI=String,CI=TypeError,bI=function(t){if(typeof t=="object"||mI(t))return t;throw CI("Can't set "+yI(t)+" as a prototype")},FI=wI,QI=jt,UI=bI,hv=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,A={},e;try{e=FI(Object.prototype,"__proto__","set"),e(A,[]),t=A instanceof Array}catch{}return function(n,i){return QI(n),UI(i),t?e(n,i):n.__proto__=i,n}}():void 0),EI=vn.f,xI=qr,II=xt,gv=II("toStringTag"),qh=function(t,A,e){t&&!e&&(t=t.prototype),t&&!xI(t,gv)&&EI(t,gv,{configurable:!0,value:A})},dv=hl,SI=vn,LI=function(t,A,e){return e.get&&dv(e.get,A,{getter:!0}),e.set&&dv(e.set,A,{setter:!0}),SI.f(t,A,e)},NI=Ki,TI=LI,OI=xt,HI=dn,pv=OI("species"),_I=function(t){var A=NI(t);HI&&A&&!A[pv]&&TI(A,pv,{configurable:!0,get:function(){return this}})},PI=al,DI=TypeError,MI=function(t,A){if(PI(A,t))return t;throw DI("Incorrect invocation")},RI=xt,kI=RI("toStringTag"),vv={};vv[kI]="z";var KI=String(vv)==="[object z]",VI=KI,jI=Je,Cl=Ri,GI=xt,$I=GI("toStringTag"),qI=Object,WI=Cl(function(){return arguments}())=="Arguments",zI=function(t,A){try{return t[A]}catch{}},Wh=VI?Cl:function(t){var A,e,r;return t===void 0?"Undefined":t===null?"Null":typeof(e=zI(A=qI(t),$I))=="string"?e:WI?Cl(A):(r=Cl(A))=="Object"&&jI(A.callee)?"Arguments":r},XI=ot,YI=st,Bv=Je,JI=Wh,ZI=Ki,AS=_h,wv=function(){},eS=[],mv=ZI("Reflect","construct"),zh=/^\s*(?:class|function)\b/,tS=XI(zh.exec),rS=!zh.exec(wv),Xs=function(A){if(!Bv(A))return!1;try{return mv(wv,eS,A),!0}catch{return!1}},yv=function(A){if(!Bv(A))return!1;switch(JI(A)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return rS||!!tS(zh,AS(A))}catch{return!0}};yv.sham=!0;var nS=!mv||YI(function(){var t;return Xs(Xs.call)||!Xs(Object)||!Xs(function(){t=!0})||t})?yv:Xs,iS=nS,aS=ul,sS=TypeError,oS=function(t){if(iS(t))return t;throw sS(aS(t)+" is not a constructor")},Cv=jt,uS=oS,lS=ki,cS=xt,fS=cS("species"),bv=function(t,A){var e=Cv(t).constructor,r;return e===void 0||lS(r=Cv(e)[fS])?A:uS(r)},hS=rl,Fv=Function.prototype,Qv=Fv.apply,Uv=Fv.call,Xh=typeof Reflect=="object"&&Reflect.apply||(hS?Uv.bind(Qv):function(){return Uv.apply(Qv,arguments)}),gS=Ri,dS=ot,Ys=function(t){if(gS(t)==="Function")return dS(t)},Ev=Ys,pS=In,vS=rl,BS=Ev(Ev.bind),Yh=function(t,A){return pS(t),A===void 0?t:vS?BS(t,A):function(){return t.apply(A,arguments)}},wS=Ki,xv=wS("document","documentElement"),mS=ot,yS=mS([].slice),CS=TypeError,bS=function(t,A){if(t<A)throw CS("Not enough arguments");return t},FS=sl,Iv=/(?:ipad|iphone|ipod).*applewebkit/i.test(FS),pr=Et,QS=Xh,US=Yh,Sv=Je,ES=qr,Lv=st,Nv=xv,xS=yS,Tv=cl,IS=bS,SS=Iv,LS=zs,Jh=pr.setImmediate,Zh=pr.clearImmediate,NS=pr.process,Ag=pr.Dispatch,TS=pr.Function,Ov=pr.MessageChannel,OS=pr.String,eg=0,Js={},Hv="onreadystatechange",Zs,ji,tg,rg;Lv(function(){Zs=pr.location});var ng=function(t){if(ES(Js,t)){var A=Js[t];delete Js[t],A()}},ig=function(t){return function(){ng(t)}},_v=function(t){ng(t.data)},Pv=function(t){pr.postMessage(OS(t),Zs.protocol+"//"+Zs.host)};(!Jh||!Zh)&&(Jh=function(A){IS(arguments.length,1);var e=Sv(A)?A:TS(A),r=xS(arguments,1);return Js[++eg]=function(){QS(e,void 0,r)},ji(eg),eg},Zh=function(A){delete Js[A]},LS?ji=function(t){NS.nextTick(ig(t))}:Ag&&Ag.now?ji=function(t){Ag.now(ig(t))}:Ov&&!SS?(tg=new Ov,rg=tg.port2,tg.port1.onmessage=_v,ji=US(rg.postMessage,rg)):pr.addEventListener&&Sv(pr.postMessage)&&!pr.importScripts&&Zs&&Zs.protocol!=="file:"&&!Lv(Pv)?(ji=Pv,pr.addEventListener("message",_v,!1)):Hv in Tv("script")?ji=function(t){Nv.appendChild(Tv("script"))[Hv]=function(){Nv.removeChild(this),ng(t)}}:ji=function(t){setTimeout(ig(t),0)});var Dv={set:Jh,clear:Zh},Mv=function(){this.head=null,this.tail=null};Mv.prototype={add:function(t){var A={item:t,next:null},e=this.tail;e?e.next=A:this.head=A,this.tail=A},get:function(){var t=this.head;if(t){var A=this.head=t.next;return A===null&&(this.tail=null),t.item}}};var Rv=Mv,HS=sl,_S=/ipad|iphone|ipod/i.test(HS)&&typeof Pebble<"u",PS=sl,DS=/web0s(?!.*chrome)/i.test(PS),Gi=Et,kv=Yh,MS=Sa.f,ag=Dv.set,RS=Rv,kS=Iv,KS=_S,VS=DS,sg=zs,Kv=Gi.MutationObserver||Gi.WebKitMutationObserver,Vv=Gi.document,jv=Gi.process,bl=Gi.Promise,Gv=MS(Gi,"queueMicrotask"),og=Gv&&Gv.value,Ha,ug,lg,Fl,$v;if(!og){var Ql=new RS,Ul=function(){var t,A;for(sg&&(t=jv.domain)&&t.exit();A=Ql.get();)try{A()}catch(e){throw Ql.head&&Ha(),e}t&&t.enter()};!kS&&!sg&&!VS&&Kv&&Vv?(ug=!0,lg=Vv.createTextNode(""),new Kv(Ul).observe(lg,{characterData:!0}),Ha=function(){lg.data=ug=!ug}):!KS&&bl&&bl.resolve?(Fl=bl.resolve(void 0),Fl.constructor=bl,$v=kv(Fl.then,Fl),Ha=function(){$v(Ul)}):sg?Ha=function(){jv.nextTick(Ul)}:(ag=kv(ag,Gi),Ha=function(){ag(Ul)}),og=function(t){Ql.head||Ha(),Ql.add(t)}}var jS=og,GS=function(t,A){try{arguments.length==1?console.error(t):console.error(t,A)}catch{}},cg=function(t){try{return{error:!1,value:t()}}catch(A){return{error:!0,value:A}}},$S=Et,El=$S.Promise,qv=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",qS=qv,WS=zs,zS=!qS&&!WS&&typeof window=="object"&&typeof document=="object",XS=Et,Ao=El,YS=Je,JS=fv,ZS=_h,AL=xt,eL=zS,tL=qv,fg=mh;Ao&&Ao.prototype;var rL=AL("species"),hg=!1,Wv=YS(XS.PromiseRejectionEvent),nL=JS("Promise",function(){var t=ZS(Ao),A=t!==String(Ao);if(!A&&fg===66)return!0;if(!fg||fg<51||!/native code/.test(t)){var e=new Ao(function(i){i(1)}),r=function(i){i(function(){},function(){})},n=e.constructor={};if(n[rL]=r,hg=e.then(function(){})instanceof r,!hg)return!0}return!A&&(eL||tL)&&!Wv}),eo={CONSTRUCTOR:nL,REJECTION_EVENT:Wv,SUBCLASSING:hg},_a={},zv=In,iL=TypeError,aL=function(t){var A,e;this.promise=new t(function(r,n){if(A!==void 0||e!==void 0)throw iL("Bad Promise constructor");A=r,e=n}),this.resolve=zv(A),this.reject=zv(e)};_a.f=function(t){return new aL(t)};var sL=Ar,xl=zs,oi=Et,Pa=Ht,Xv=Vi,Yv=hv,oL=qh,uL=_I,lL=In,Il=Je,cL=xn,fL=MI,hL=bv,Jv=Dv.set,gg=jS,gL=GS,dL=cg,pL=Rv,Zv=vl,Sl=El,dg=eo,AB=_a,Ll="Promise",eB=dg.CONSTRUCTOR,vL=dg.REJECTION_EVENT,BL=dg.SUBCLASSING,pg=Zv.getterFor(Ll),wL=Zv.set,Da=Sl&&Sl.prototype,$i=Sl,Nl=Da,tB=oi.TypeError,vg=oi.document,Bg=oi.process,wg=AB.f,mL=wg,yL=!!(vg&&vg.createEvent&&oi.dispatchEvent),rB="unhandledrejection",CL="rejectionhandled",nB=0,iB=1,bL=2,mg=1,aB=2,Tl,sB,FL,oB,uB=function(t){var A;return cL(t)&&Il(A=t.then)?A:!1},lB=function(t,A){var e=A.value,r=A.state==iB,n=r?t.ok:t.fail,i=t.resolve,a=t.reject,s=t.domain,o,l,f;try{n?(r||(A.rejection===aB&&UL(A),A.rejection=mg),n===!0?o=e:(s&&s.enter(),o=n(e),s&&(s.exit(),f=!0)),o===t.promise?a(tB("Promise-chain cycle")):(l=uB(o))?Pa(l,o,i,a):i(o)):a(e)}catch(d){s&&!f&&s.exit(),a(d)}},cB=function(t,A){t.notified||(t.notified=!0,gg(function(){for(var e=t.reactions,r;r=e.get();)lB(r,t);t.notified=!1,A&&!t.rejection&&QL(t)}))},fB=function(t,A,e){var r,n;yL?(r=vg.createEvent("Event"),r.promise=A,r.reason=e,r.initEvent(t,!1,!0),oi.dispatchEvent(r)):r={promise:A,reason:e},!vL&&(n=oi["on"+t])?n(r):t===rB&&gL("Unhandled promise rejection",e)},QL=function(t){Pa(Jv,oi,function(){var A=t.facade,e=t.value,r=hB(t),n;if(r&&(n=dL(function(){xl?Bg.emit("unhandledRejection",e,A):fB(rB,A,e)}),t.rejection=xl||hB(t)?aB:mg,n.error))throw n.value})},hB=function(t){return t.rejection!==mg&&!t.parent},UL=function(t){Pa(Jv,oi,function(){var A=t.facade;xl?Bg.emit("rejectionHandled",A):fB(CL,A,t.value)})},Ma=function(t,A,e){return function(r){t(A,r,e)}},Ra=function(t,A,e){t.done||(t.done=!0,e&&(t=e),t.value=A,t.state=bL,cB(t,!0))},yg=function(t,A,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===A)throw tB("Promise can't be resolved itself");var r=uB(A);r?gg(function(){var n={done:!1};try{Pa(r,A,Ma(yg,n,t),Ma(Ra,n,t))}catch(i){Ra(n,i,t)}}):(t.value=A,t.state=iB,cB(t,!1))}catch(n){Ra({done:!1},n,t)}}};if(eB&&($i=function(A){fL(this,Nl),lL(A),Pa(Tl,this);var e=pg(this);try{A(Ma(yg,e),Ma(Ra,e))}catch(r){Ra(e,r)}},Nl=$i.prototype,Tl=function(A){wL(this,{type:Ll,done:!1,notified:!1,parent:!1,reactions:new pL,rejection:!1,state:nB,value:void 0})},Tl.prototype=Xv(Nl,"then",function(A,e){var r=pg(this),n=wg(hL(this,$i));return r.parent=!0,n.ok=Il(A)?A:!0,n.fail=Il(e)&&e,n.domain=xl?Bg.domain:void 0,r.state==nB?r.reactions.add(n):gg(function(){lB(n,r)}),n.promise}),sB=function(){var t=new Tl,A=pg(t);this.promise=t,this.resolve=Ma(yg,A),this.reject=Ma(Ra,A)},AB.f=wg=function(t){return t===$i||t===FL?new sB(t):mL(t)},Il(Sl)&&Da!==Object.prototype)){oB=Da.then,BL||Xv(Da,"then",function(A,e){var r=this;return new $i(function(n,i){Pa(oB,r,n,i)}).then(A,e)},{unsafe:!0});try{delete Da.constructor}catch{}Yv&&Yv(Da,Nl)}sL({global:!0,constructor:!0,wrap:!0,forced:eB},{Promise:$i}),oL($i,Ll,!1),uL(Ll);var to={},EL=xt,xL=to,IL=EL("iterator"),SL=Array.prototype,LL=function(t){return t!==void 0&&(xL.Array===t||SL[IL]===t)},NL=Wh,gB=La,TL=ki,OL=to,HL=xt,_L=HL("iterator"),dB=function(t){if(!TL(t))return gB(t,_L)||gB(t,"@@iterator")||OL[NL(t)]},PL=Ht,DL=In,ML=jt,RL=ul,kL=dB,KL=TypeError,VL=function(t,A){var e=arguments.length<2?kL(t):A;if(DL(e))return ML(PL(e,t));throw KL(RL(t)+" is not iterable")},jL=Ht,pB=jt,GL=La,$L=function(t,A,e){var r,n;pB(t);try{if(r=GL(t,"return"),!r){if(A==="throw")throw e;return e}r=jL(r,t)}catch(i){n=!0,r=i}if(A==="throw")throw e;if(n)throw r;return pB(r),e},qL=Yh,WL=Ht,zL=jt,XL=ul,YL=LL,JL=yl,vB=al,ZL=VL,AN=dB,BB=$L,eN=TypeError,Ol=function(t,A){this.stopped=t,this.result=A},wB=Ol.prototype,mB=function(t,A,e){var r=e&&e.that,n=!!(e&&e.AS_ENTRIES),i=!!(e&&e.IS_RECORD),a=!!(e&&e.IS_ITERATOR),s=!!(e&&e.INTERRUPTED),o=qL(A,r),l,f,d,p,h,m,w,b=function(U){return l&&BB(l,"normal",U),new Ol(!0,U)},y=function(U){return n?(zL(U),s?o(U[0],U[1],b):o(U[0],U[1])):s?o(U,b):o(U)};if(i)l=t.iterator;else if(a)l=t;else{if(f=AN(t),!f)throw eN(XL(t)+" is not iterable");if(YL(f)){for(d=0,p=JL(t);p>d;d++)if(h=y(t[d]),h&&vB(wB,h))return h;return new Ol(!1)}l=ZL(t,f)}for(m=i?t.next:l.next;!(w=WL(m,l)).done;){try{h=y(w.value)}catch(U){BB(l,"throw",U)}if(typeof h=="object"&&h&&vB(wB,h))return h}return new Ol(!1)},tN=xt,yB=tN("iterator"),CB=!1;try{var rN=0,bB={next:function(){return{done:!!rN++}},return:function(){CB=!0}};bB[yB]=function(){return this},Array.from(bB,function(){throw 2})}catch{}var nN=function(t,A){if(!A&&!CB)return!1;var e=!1;try{var r={};r[yB]=function(){return{next:function(){return{done:e=!0}}}},t(r)}catch{}return e},iN=El,aN=nN,sN=eo.CONSTRUCTOR,FB=sN||!aN(function(t){iN.all(t).then(void 0,function(){})}),oN=Ar,uN=Ht,lN=In,cN=_a,fN=cg,hN=mB,gN=FB;oN({target:"Promise",stat:!0,forced:gN},{all:function(A){var e=this,r=cN.f(e),n=r.resolve,i=r.reject,a=fN(function(){var s=lN(e.resolve),o=[],l=0,f=1;hN(A,function(d){var p=l++,h=!1;f++,uN(s,e,d).then(function(m){h||(h=!0,o[p]=m,--f||n(o))},i)}),--f||n(o)});return a.error&&i(a.value),r.promise}});var dN=Ar,pN=eo.CONSTRUCTOR,Cg=El,vN=Ki,BN=Je,wN=Vi,QB=Cg&&Cg.prototype;if(dN({target:"Promise",proto:!0,forced:pN,real:!0},{catch:function(t){return this.then(void 0,t)}}),BN(Cg)){var UB=vN("Promise").prototype.catch;QB.catch!==UB&&wN(QB,"catch",UB,{unsafe:!0})}var mN=Ar,yN=Ht,CN=In,bN=_a,FN=cg,QN=mB,UN=FB;mN({target:"Promise",stat:!0,forced:UN},{race:function(A){var e=this,r=bN.f(e),n=r.reject,i=FN(function(){var a=CN(e.resolve);QN(A,function(s){yN(a,e,s).then(r.resolve,n)})});return i.error&&n(i.value),r.promise}});var EN=Ar,xN=Ht,IN=_a,SN=eo.CONSTRUCTOR;EN({target:"Promise",stat:!0,forced:SN},{reject:function(A){var e=IN.f(this);return xN(e.reject,void 0,A),e.promise}});var LN=jt,NN=xn,TN=_a,ON=function(t,A){if(LN(t),NN(A)&&A.constructor===t)return A;var e=TN.f(t),r=e.resolve;return r(A),e.promise},HN=Ar,_N=Ki,PN=eo.CONSTRUCTOR,DN=ON;_N("Promise"),HN({target:"Promise",stat:!0,forced:PN},{resolve:function(A){return DN(this,A)}});function EB(t,A,e,r,n,i,a){try{var s=t[i](a),o=s.value}catch(l){e(l);return}s.done?A(o):Promise.resolve(o).then(r,n)}function Sn(t){return function(){var A=this,e=arguments;return new Promise(function(r,n){var i=t.apply(A,e);function a(o){EB(i,r,n,a,s,"next",o)}function s(o){EB(i,r,n,a,s,"throw",o)}a(void 0)})}}var MN=Wh,RN=String,wn=function(t){if(MN(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return RN(t)},kN=jt,xB=function(){var t=kN(this),A="";return t.hasIndices&&(A+="d"),t.global&&(A+="g"),t.ignoreCase&&(A+="i"),t.multiline&&(A+="m"),t.dotAll&&(A+="s"),t.unicode&&(A+="u"),t.unicodeSets&&(A+="v"),t.sticky&&(A+="y"),A},bg=st,KN=Et,Fg=KN.RegExp,Qg=bg(function(){var t=Fg("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),VN=Qg||bg(function(){return!Fg("a","y").sticky}),jN=Qg||bg(function(){var t=Fg("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),IB={BROKEN_CARET:jN,MISSED_STICKY:VN,UNSUPPORTED_Y:Qg},SB={},GN=uv,$N=Gh,qN=Object.keys||function(A){return GN(A,$N)},WN=dn,zN=z2,XN=vn,YN=jt,JN=js,ZN=qN;SB.f=WN&&!zN?Object.defineProperties:function(A,e){YN(A);for(var r=JN(e),n=ZN(e),i=n.length,a=0,s;i>a;)XN.f(A,s=n[a++],r[s]);return A};var A6=jt,e6=SB,LB=Gh,t6=Dh,r6=xv,n6=cl,i6=Ph,NB=">",TB="<",Ug="prototype",Eg="script",OB=i6("IE_PROTO"),xg=function(){},HB=function(t){return TB+Eg+NB+t+TB+"/"+Eg+NB},_B=function(t){t.write(HB("")),t.close();var A=t.parentWindow.Object;return t=null,A},a6=function(){var t=n6("iframe"),A="java"+Eg+":",e;return t.style.display="none",r6.appendChild(t),t.src=String(A),e=t.contentWindow.document,e.open(),e.write(HB("document.F=Object")),e.close(),e.F},Hl,_l=function(){try{Hl=new ActiveXObject("htmlfile")}catch{}_l=typeof document<"u"?document.domain&&Hl?_B(Hl):a6():_B(Hl);for(var t=LB.length;t--;)delete _l[Ug][LB[t]];return _l()};t6[OB]=!0;var Ig=Object.create||function(A,e){var r;return A!==null?(xg[Ug]=A6(A),r=new xg,xg[Ug]=null,r[OB]=A):r=_l(),e===void 0?r:e6.f(r,e)},s6=st,o6=Et,u6=o6.RegExp,l6=s6(function(){var t=u6(".","s");return!(t.dotAll&&t.exec(`
`)&&t.flags==="s")}),c6=st,f6=Et,h6=f6.RegExp,g6=c6(function(){var t=h6("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),ka=Ht,Pl=ot,d6=wn,p6=xB,v6=IB,B6=Gs,w6=Ig,m6=vl.get,y6=l6,C6=g6,b6=B6("native-string-replace",String.prototype.replace),Dl=RegExp.prototype.exec,Sg=Dl,F6=Pl("".charAt),Q6=Pl("".indexOf),U6=Pl("".replace),Lg=Pl("".slice),Ng=function(){var t=/a/,A=/b*/g;return ka(Dl,t,"a"),ka(Dl,A,"a"),t.lastIndex!==0||A.lastIndex!==0}(),PB=v6.BROKEN_CARET,Tg=/()??/.exec("")[1]!==void 0,E6=Ng||Tg||PB||y6||C6;E6&&(Sg=function(A){var e=this,r=m6(e),n=d6(A),i=r.raw,a,s,o,l,f,d,p;if(i)return i.lastIndex=e.lastIndex,a=ka(Sg,i,n),e.lastIndex=i.lastIndex,a;var h=r.groups,m=PB&&e.sticky,w=ka(p6,e),b=e.source,y=0,U=n;if(m&&(w=U6(w,"y",""),Q6(w,"g")===-1&&(w+="g"),U=Lg(n,e.lastIndex),e.lastIndex>0&&(!e.multiline||e.multiline&&F6(n,e.lastIndex-1)!==`
`)&&(b="(?: "+b+")",U=" "+U,y++),s=new RegExp("^(?:"+b+")",w)),Tg&&(s=new RegExp("^"+b+"$(?!\\s)",w)),Ng&&(o=e.lastIndex),l=ka(Dl,m?s:e,U),m?l?(l.input=Lg(l.input,y),l[0]=Lg(l[0],y),l.index=e.lastIndex,e.lastIndex+=l[0].length):e.lastIndex=0:Ng&&l&&(e.lastIndex=e.global?l.index+l[0].length:o),Tg&&l&&l.length>1&&ka(b6,l[0],s,function(){for(f=1;f<arguments.length-2;f++)arguments[f]===void 0&&(l[f]=void 0)}),l&&h)for(l.groups=d=w6(null),f=0;f<h.length;f++)p=h[f],d[p[0]]=l[p[1]];return l});var Ml=Sg,x6=Ar,DB=Ml;x6({target:"RegExp",proto:!0,forced:/./.exec!==DB},{exec:DB});var MB=Ys,RB=Vi,I6=Ml,kB=st,KB=xt,S6=$s,L6=KB("species"),Og=RegExp.prototype,Hg=function(t,A,e,r){var n=KB(t),i=!kB(function(){var l={};return l[n]=function(){return 7},""[t](l)!=7}),a=i&&!kB(function(){var l=!1,f=/a/;return t==="split"&&(f={},f.constructor={},f.constructor[L6]=function(){return f},f.flags="",f[n]=/./[n]),f.exec=function(){return l=!0,null},f[n](""),!l});if(!i||!a||e){var s=MB(/./[n]),o=A(n,""[t],function(l,f,d,p,h){var m=MB(l),w=f.exec;return w===I6||w===Og.exec?i&&!h?{done:!0,value:s(f,d,p)}:{done:!0,value:m(d,f,p)}:{done:!1}});RB(String.prototype,t,o[0]),RB(Og,n,o[1])}r&&S6(Og[n],"sham",!0)},_g=ot,N6=ml,T6=wn,O6=pn,H6=_g("".charAt),VB=_g("".charCodeAt),_6=_g("".slice),jB=function(t){return function(A,e){var r=T6(O6(A)),n=N6(e),i=r.length,a,s;return n<0||n>=i?t?"":void 0:(a=VB(r,n),a<55296||a>56319||n+1===i||(s=VB(r,n+1))<56320||s>57343?t?H6(r,n):a:t?_6(r,n,n+2):(a-55296<<10)+(s-56320)+65536)}},P6={codeAt:jB(!1),charAt:jB(!0)},D6=P6.charAt,Pg=function(t,A,e){return A+(e?D6(t,A).length:1)},GB=Ht,M6=jt,R6=Je,k6=Ri,K6=Ml,V6=TypeError,Dg=function(t,A){var e=t.exec;if(R6(e)){var r=GB(e,t,A);return r!==null&&M6(r),r}if(k6(t)==="RegExp")return GB(K6,t,A);throw V6("RegExp#exec called on incompatible receiver")},j6=Ht,G6=Hg,$6=jt,q6=ki,W6=Oa,Mg=wn,z6=pn,X6=La,Y6=Pg,$B=Dg;G6("match",function(t,A,e){return[function(n){var i=z6(this),a=q6(n)?void 0:X6(n,t);return a?j6(a,n,i):new RegExp(n)[t](Mg(i))},function(r){var n=$6(this),i=Mg(r),a=e(A,n,i);if(a.done)return a.value;if(!n.global)return $B(n,i);var s=n.unicode;n.lastIndex=0;for(var o=[],l=0,f;(f=$B(n,i))!==null;){var d=Mg(f[0]);o[l]=d,d===""&&(n.lastIndex=Y6(i,W6(n.lastIndex),s)),l++}return l===0?null:o}]});var Rg=ot,J6=ll,Z6=Math.floor,kg=Rg("".charAt),AT=Rg("".replace),Kg=Rg("".slice),eT=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,tT=/\$([$&'`]|\d{1,2})/g,rT=function(t,A,e,r,n,i){var a=e+t.length,s=r.length,o=tT;return n!==void 0&&(n=J6(n),o=eT),AT(i,o,function(l,f){var d;switch(kg(f,0)){case"$":return"$";case"&":return t;case"`":return Kg(A,0,e);case"'":return Kg(A,a);case"<":d=n[Kg(f,1,-1)];break;default:var p=+f;if(p===0)return l;if(p>s){var h=Z6(p/10);return h===0?l:h<=s?r[h-1]===void 0?kg(f,1):r[h-1]+kg(f,1):l}d=r[p-1]}return d===void 0?"":d})},nT=Xh,qB=Ht,Rl=ot,iT=Hg,aT=st,sT=jt,oT=Je,uT=ki,lT=ml,cT=Oa,Ka=wn,fT=pn,hT=Pg,gT=La,dT=rT,pT=Dg,vT=xt,Vg=vT("replace"),BT=Math.max,wT=Math.min,mT=Rl([].concat),jg=Rl([].push),WB=Rl("".indexOf),zB=Rl("".slice),yT=function(t){return t===void 0?t:String(t)},CT=function(){return"a".replace(/./,"$0")==="$0"}(),XB=function(){return/./[Vg]?/./[Vg]("a","$0")==="":!1}(),bT=!aT(function(){var t=/./;return t.exec=function(){var A=[];return A.groups={a:"7"},A},"".replace(t,"$<a>")!=="7"});iT("replace",function(t,A,e){var r=XB?"$":"$0";return[function(i,a){var s=fT(this),o=uT(i)?void 0:gT(i,Vg);return o?qB(o,i,s,a):qB(A,Ka(s),i,a)},function(n,i){var a=sT(this),s=Ka(n);if(typeof i=="string"&&WB(i,r)===-1&&WB(i,"$<")===-1){var o=e(A,a,s,i);if(o.done)return o.value}var l=oT(i);l||(i=Ka(i));var f=a.global;if(f){var d=a.unicode;a.lastIndex=0}for(var p=[];;){var h=pT(a,s);if(h===null||(jg(p,h),!f))break;var m=Ka(h[0]);m===""&&(a.lastIndex=hT(s,cT(a.lastIndex),d))}for(var w="",b=0,y=0;y<p.length;y++){h=p[y];for(var U=Ka(h[0]),T=BT(wT(lT(h.index),s.length),0),k=[],G=1;G<h.length;G++)jg(k,yT(h[G]));var j=h.groups;if(l){var K=mT([U],k,T,s);j!==void 0&&jg(K,j);var O=Ka(nT(i,void 0,K))}else O=dT(U,s,T,k,j,i);T>=b&&(w+=zB(s,b,T)+O,b=T+U.length)}return w+zB(s,b)}]},!bT||!CT||XB);var FT=xn,QT=Ri,UT=xt,ET=UT("match"),YB=function(t){var A;return FT(t)&&((A=t[ET])!==void 0?!!A:QT(t)=="RegExp")},xT=YB,IT=TypeError,Gg=function(t){if(xT(t))throw IT("The method doesn't accept regular expressions");return t},ST=xt,LT=ST("match"),$g=function(t){var A=/./;try{"/./"[t](A)}catch{try{return A[LT]=!1,"/./"[t](A)}catch{}}return!1},NT=Ar,JB=Ys,TT=Sa.f,OT=Oa,ZB=wn,HT=Gg,_T=pn,PT=$g,Aw=JB("".startsWith),DT=JB("".slice),MT=Math.min,ew=PT("startsWith"),RT=!ew&&!!function(){var t=TT(String.prototype,"startsWith");return t&&!t.writable}();NT({target:"String",proto:!0,forced:!RT&&!ew},{startsWith:function(A){var e=ZB(_T(this));HT(A);var r=OT(MT(arguments.length>1?arguments[1]:void 0,e.length)),n=ZB(A);return Aw?Aw(e,n,r):DT(e,r,r+n.length)===n}});var kT=xt,KT=Ig,VT=vn.f,qg=kT("unscopables"),Wg=Array.prototype;Wg[qg]==null&&VT(Wg,qg,{configurable:!0,value:KT(null)});var jT=function(t){Wg[qg][t]=!0},GT=st,$T=!GT(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),qT=qr,WT=Je,zT=ll,XT=Ph,YT=$T,tw=XT("IE_PROTO"),zg=Object,JT=zg.prototype,rw=YT?zg.getPrototypeOf:function(t){var A=zT(t);if(qT(A,tw))return A[tw];var e=A.constructor;return WT(e)&&A instanceof e?e.prototype:A instanceof zg?JT:null},ZT=st,A8=Je,e8=xn,nw=rw,t8=Vi,r8=xt,Xg=r8("iterator"),iw=!1,qi,Yg,Jg;[].keys&&(Jg=[].keys(),"next"in Jg?(Yg=nw(nw(Jg)),Yg!==Object.prototype&&(qi=Yg)):iw=!0);var n8=!e8(qi)||ZT(function(){var t={};return qi[Xg].call(t)!==t});n8&&(qi={}),A8(qi[Xg])||t8(qi,Xg,function(){return this});var aw={IteratorPrototype:qi,BUGGY_SAFARI_ITERATORS:iw},i8=aw.IteratorPrototype,a8=Ig,s8=il,o8=qh,u8=to,l8=function(){return this},c8=function(t,A,e,r){var n=A+" Iterator";return t.prototype=a8(i8,{next:s8(+!r,e)}),o8(t,n,!1),u8[n]=l8,t},f8=Ar,h8=Ht,sw=gl,g8=Je,d8=c8,ow=rw,uw=hv,p8=qh,v8=$s,Zg=Vi,B8=xt,w8=to,lw=aw,m8=sw.PROPER,y8=sw.CONFIGURABLE,cw=lw.IteratorPrototype,kl=lw.BUGGY_SAFARI_ITERATORS,ro=B8("iterator"),fw="keys",no="values",hw="entries",C8=function(){return this},b8=function(t,A,e,r,n,i,a){d8(e,A,r);var s=function(y){if(y===n&&p)return p;if(!kl&&y in f)return f[y];switch(y){case fw:return function(){return new e(this,y)};case no:return function(){return new e(this,y)};case hw:return function(){return new e(this,y)}}return function(){return new e(this)}},o=A+" Iterator",l=!1,f=t.prototype,d=f[ro]||f["@@iterator"]||n&&f[n],p=!kl&&d||s(n),h=A=="Array"&&f.entries||d,m,w,b;if(h&&(m=ow(h.call(new t)),m!==Object.prototype&&m.next&&(ow(m)!==cw&&(uw?uw(m,cw):g8(m[ro])||Zg(m,ro,C8)),p8(m,o,!0))),m8&&n==no&&d&&d.name!==no&&(y8?v8(f,"name",no):(l=!0,p=function(){return h8(d,this)})),n)if(w={values:s(no),keys:i?p:s(fw),entries:s(hw)},a)for(b in w)(kl||l||!(b in f))&&Zg(f,b,w[b]);else f8({target:A,proto:!0,forced:kl||l},w);return f[ro]!==p&&Zg(f,ro,p,{name:n}),w8[A]=p,w},F8=function(t,A){return{value:t,done:A}},Q8=js,Ad=jT,gw=to,dw=vl,U8=vn.f,E8=b8,Kl=F8,x8=dn,pw="Array Iterator",I8=dw.set,S8=dw.getterFor(pw),L8=E8(Array,"Array",function(t,A){I8(this,{type:pw,target:Q8(t),index:0,kind:A})},function(){var t=S8(this),A=t.target,e=t.kind,r=t.index++;return!A||r>=A.length?(t.target=void 0,Kl(void 0,!0)):e=="keys"?Kl(r,!1):e=="values"?Kl(A[r],!1):Kl([r,A[r]],!1)},"values"),vw=gw.Arguments=gw.Array;if(Ad("keys"),Ad("values"),Ad("entries"),x8&&vw.name!=="values")try{U8(vw,"name",{value:"values"})}catch{}var N8={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},T8=cl,ed=T8("span").classList,Bw=ed&&ed.constructor&&ed.constructor.prototype,O8=Bw===Object.prototype?void 0:Bw,ww=Et,mw=N8,H8=O8,io=L8,td=$s,yw=xt,rd=yw("iterator"),Cw=yw("toStringTag"),nd=io.values,bw=function(t,A){if(t){if(t[rd]!==nd)try{td(t,rd,nd)}catch{t[rd]=nd}if(t[Cw]||td(t,Cw,A),mw[A]){for(var e in io)if(t[e]!==io[e])try{td(t,e,io[e])}catch{t[e]=io[e]}}}};for(var id in mw)bw(ww[id]&&ww[id].prototype,id);bw(H8,"DOMTokenList");function _8(t,A){if(Qe(t)!=="object"||t===null)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var r=e.call(t,A||"default");if(Qe(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(t)}function P8(t){var A=_8(t,"string");return Qe(A)==="symbol"?A:String(A)}function ad(t,A,e){return A=P8(A),A in t?Object.defineProperty(t,A,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[A]=e,t}var D8=In,M8=ll,R8=Q2,k8=yl,K8=TypeError,Fw=function(t){return function(A,e,r,n){D8(e);var i=M8(A),a=R8(i),s=k8(i),o=t?s-1:0,l=t?-1:1;if(r<2)for(;;){if(o in a){n=a[o],o+=l;break}if(o+=l,t?o<0:s<=o)throw K8("Reduce of empty array with no initial value")}for(;t?o>=0:s>o;o+=l)o in a&&(n=e(n,a[o],o,i));return n}},V8={left:Fw(!1),right:Fw(!0)},j8=st,Qw=function(t,A){var e=[][t];return!!e&&j8(function(){e.call(null,A||function(){return 1},1)})},G8=Ar,$8=V8.left,q8=Qw,Uw=mh,W8=zs,z8=!W8&&Uw>79&&Uw<83,X8=z8||!q8("reduce");G8({target:"Array",proto:!0,forced:X8},{reduce:function(A){var e=arguments.length;return $8(this,A,e,e>1?arguments[1]:void 0)}});var Y8=Ar,Ew=Ys,J8=Sa.f,Z8=Oa,xw=wn,AO=Gg,eO=pn,tO=$g,Iw=Ew("".endsWith),rO=Ew("".slice),nO=Math.min,Sw=tO("endsWith"),iO=!Sw&&!!function(){var t=J8(String.prototype,"endsWith");return t&&!t.writable}();Y8({target:"String",proto:!0,forced:!iO&&!Sw},{endsWith:function(A){var e=xw(eO(this));AO(A);var r=arguments.length>1?arguments[1]:void 0,n=e.length,i=r===void 0?n:nO(Z8(r),n),a=xw(A);return Iw?Iw(e,a,i):rO(e,i-a.length,i)===a}});var aO=Eh,sO=vn,oO=il,uO=function(t,A,e){var r=aO(A);r in t?sO.f(t,r,oO(0,e)):t[r]=e},Lw=iv,lO=yl,cO=uO,fO=Array,hO=Math.max,gO=function(t,A,e){for(var r=lO(t),n=Lw(A,r),i=Lw(e===void 0?r:e,r),a=fO(hO(i-n,0)),s=0;n<i;n++,s++)cO(a,s,t[n]);return a.length=s,a},dO=Xh,ao=Ht,sd=ot,pO=Hg,vO=jt,BO=ki,wO=YB,Nw=pn,mO=bv,yO=Pg,CO=Oa,od=wn,bO=La,Tw=gO,Ow=Dg,FO=Ml,QO=IB,UO=st,Va=QO.UNSUPPORTED_Y,Hw=4294967295,EO=Math.min,_w=[].push,xO=sd(/./.exec),ja=sd(_w),so=sd("".slice),IO=!UO(function(){var t=/(?:)/,A=t.exec;t.exec=function(){return A.apply(this,arguments)};var e="ab".split(t);return e.length!==2||e[0]!=="a"||e[1]!=="b"});pO("split",function(t,A,e){var r;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?r=function(n,i){var a=od(Nw(this)),s=i===void 0?Hw:i>>>0;if(s===0)return[];if(n===void 0)return[a];if(!wO(n))return ao(A,a,n,s);for(var o=[],l=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(n.sticky?"y":""),f=0,d=new RegExp(n.source,l+"g"),p,h,m;(p=ao(FO,d,a))&&(h=d.lastIndex,!(h>f&&(ja(o,so(a,f,p.index)),p.length>1&&p.index<a.length&&dO(_w,o,Tw(p,1)),m=p[0].length,f=h,o.length>=s)));)d.lastIndex===p.index&&d.lastIndex++;return f===a.length?(m||!xO(d,""))&&ja(o,""):ja(o,so(a,f)),o.length>s?Tw(o,0,s):o}:"0".split(void 0,0).length?r=function(n,i){return n===void 0&&i===0?[]:ao(A,this,n,i)}:r=A,[function(i,a){var s=Nw(this),o=BO(i)?void 0:bO(i,t);return o?ao(o,i,s,a):ao(r,od(s),i,a)},function(n,i){var a=vO(this),s=od(n),o=e(r,a,s,i,r!==A);if(o.done)return o.value;var l=mO(a,RegExp),f=a.unicode,d=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Va?"g":"y"),p=new l(Va?"^(?:"+a.source+")":a,d),h=i===void 0?Hw:i>>>0;if(h===0)return[];if(s.length===0)return Ow(p,s)===null?[s]:[];for(var m=0,w=0,b=[];w<s.length;){p.lastIndex=Va?0:w;var y=Ow(p,Va?so(s,w):s),U;if(y===null||(U=EO(CO(p.lastIndex+(Va?w:0)),s.length))===m)w=yO(s,w,f);else{if(ja(b,so(s,m,w)),b.length===h)return b;for(var T=1;T<=y.length-1;T++)if(ja(b,y[T]),b.length===h)return b;w=m=U}}return ja(b,so(s,m)),b}]},!IO,Va);var Wi={},SO={get exports(){return Wi},set exports(t){Wi=t}},ud={},Vl={get exports(){return ud},set exports(t){ud=t}};(function(){var t,A,e,r,n,i;typeof performance<"u"&&performance!==null&&performance.now?Vl.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Vl.exports=function(){return(t()-n)/1e6},A=process.hrtime,t=function(){var a;return a=A(),a[0]*1e9+a[1]},r=t(),i=process.uptime()*1e9,n=r-i):Date.now?(Vl.exports=function(){return Date.now()-e},e=Date.now()):(Vl.exports=function(){return new Date().getTime()-e},e=new Date().getTime())}).call(el);for(var LO=ud,Ln=typeof window>"u"?el:window,jl=["moz","webkit"],Ga="AnimationFrame",$a=Ln["request"+Ga],oo=Ln["cancel"+Ga]||Ln["cancelRequest"+Ga],uo=0;!$a&&uo<jl.length;uo++)$a=Ln[jl[uo]+"Request"+Ga],oo=Ln[jl[uo]+"Cancel"+Ga]||Ln[jl[uo]+"CancelRequest"+Ga];if(!$a||!oo){var ld=0,Pw=0,zi=[],NO=1e3/60;$a=function(t){if(zi.length===0){var A=LO(),e=Math.max(0,NO-(A-ld));ld=e+A,setTimeout(function(){var r=zi.slice(0);zi.length=0;for(var n=0;n<r.length;n++)if(!r[n].cancelled)try{r[n].callback(ld)}catch(i){setTimeout(function(){throw i},0)}},Math.round(e))}return zi.push({handle:++Pw,callback:t,cancelled:!1}),Pw},oo=function(t){for(var A=0;A<zi.length;A++)zi[A].handle===t&&(zi[A].cancelled=!0)}}SO.exports=function(t){return $a.call(Ln,t)},Wi.cancel=function(){oo.apply(Ln,arguments)},Wi.polyfill=function(t){t||(t=Ln),t.requestAnimationFrame=$a,t.cancelAnimationFrame=oo};var Dw=`
\v\f\r    \u2028\u2029\uFEFF`,TO=ot,OO=pn,HO=wn,cd=Dw,Mw=TO("".replace),_O=RegExp("^["+cd+"]+"),PO=RegExp("(^|[^"+cd+"])["+cd+"]+$"),fd=function(t){return function(A){var e=HO(OO(A));return t&1&&(e=Mw(e,_O,"")),t&2&&(e=Mw(e,PO,"$1")),e}},DO={start:fd(1),end:fd(2),trim:fd(3)},MO=gl.PROPER,RO=st,Rw=Dw,kw="…",kO=function(t){return RO(function(){return!!Rw[t]()||kw[t]()!==kw||MO&&Rw[t].name!==t})},KO=Ar,VO=DO.trim,jO=kO;KO({target:"String",proto:!0,forced:jO("trim")},{trim:function(){return VO(this)}});var hd=function(t){this.ok=!1,this.alpha=1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t=t.replace(/ /g,""),t=t.toLowerCase();var A={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"};t=A[t]||t;for(var e=[{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(o){return[parseInt(o[1]),parseInt(o[2]),parseInt(o[3]),parseFloat(o[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(o){return[parseInt(o[1]),parseInt(o[2]),parseInt(o[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(o){return[parseInt(o[1],16),parseInt(o[2],16),parseInt(o[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(o){return[parseInt(o[1]+o[1],16),parseInt(o[2]+o[2],16),parseInt(o[3]+o[3],16)]}}],r=0;r<e.length;r++){var n=e[r].re,i=e[r].process,a=n.exec(t);if(a){var s=i(a);this.r=s[0],this.g=s[1],this.b=s[2],s.length>3&&(this.alpha=s[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 o=this.r.toString(16),l=this.g.toString(16),f=this.b.toString(16);return o.length==1&&(o="0"+o),l.length==1&&(l="0"+l),f.length==1&&(f="0"+f),"#"+o+l+f},this.getHelpXML=function(){for(var o=new Array,l=0;l<e.length;l++)for(var f=e[l].example,d=0;d<f.length;d++)o[o.length]=f[d];for(var p in A)o[o.length]=p;var h=document.createElement("ul");h.setAttribute("id","rgbcolor-examples");for(var l=0;l<o.length;l++)try{var m=document.createElement("li"),w=new RGBColor(o[l]),b=document.createElement("div");b.style.cssText="margin: 3px; border: 1px solid black; background:"+w.toHex()+"; color:"+w.toHex(),b.appendChild(document.createTextNode("test"));var y=document.createTextNode(" "+o[l]+" -> "+w.toRGB()+" -> "+w.toHex());m.appendChild(b),m.appendChild(y),h.appendChild(m)}catch{}return h}},GO=Ar,$O=Ys,qO=sv.indexOf,WO=Qw,gd=$O([].indexOf),Kw=!!gd&&1/gd([1],1,-0)<0,zO=Kw||!WO("indexOf");GO({target:"Array",proto:!0,forced:zO},{indexOf:function(A){var e=arguments.length>1?arguments[1]:void 0;return Kw?gd(this,A,e)||0:qO(this,A,e)}});var XO=Ar,YO=ot,JO=Gg,ZO=pn,Vw=wn,AH=$g,eH=YO("".indexOf);XO({target:"String",proto:!0,forced:!AH("includes")},{includes:function(A){return!!~eH(Vw(ZO(this)),Vw(JO(A)),arguments.length>1?arguments[1]:void 0)}});var tH=Ri,rH=Array.isArray||function(A){return tH(A)=="Array"},nH=Ar,iH=ot,aH=rH,sH=iH([].reverse),jw=[1,2];nH({target:"Array",proto:!0,forced:String(jw)===String(jw.reverse())},{reverse:function(){return aH(this)&&(this.length=this.length),sH(this)}});/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var Gw=function(t,A){return(Gw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])})(t,A)};function $w(t,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function e(){this.constructor=t}Gw(t,A),t.prototype=A===null?Object.create(A):(e.prototype=A.prototype,new e)}function oH(t){var A="";Array.isArray(t)||(t=[t]);for(var e=0;e<t.length;e++){var r=t[e];if(r.type===CA.CLOSE_PATH)A+="z";else if(r.type===CA.HORIZ_LINE_TO)A+=(r.relative?"h":"H")+r.x;else if(r.type===CA.VERT_LINE_TO)A+=(r.relative?"v":"V")+r.y;else if(r.type===CA.MOVE_TO)A+=(r.relative?"m":"M")+r.x+" "+r.y;else if(r.type===CA.LINE_TO)A+=(r.relative?"l":"L")+r.x+" "+r.y;else if(r.type===CA.CURVE_TO)A+=(r.relative?"c":"C")+r.x1+" "+r.y1+" "+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===CA.SMOOTH_CURVE_TO)A+=(r.relative?"s":"S")+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===CA.QUAD_TO)A+=(r.relative?"q":"Q")+r.x1+" "+r.y1+" "+r.x+" "+r.y;else if(r.type===CA.SMOOTH_QUAD_TO)A+=(r.relative?"t":"T")+r.x+" "+r.y;else{if(r.type!==CA.ARC)throw new Error('Unexpected command type "'+r.type+'" at index '+e+".");A+=(r.relative?"a":"A")+r.rX+" "+r.rY+" "+r.xRot+" "+ +r.lArcFlag+" "+ +r.sweepFlag+" "+r.x+" "+r.y}}return A}function dd(t,A){var e=t[0],r=t[1];return[e*Math.cos(A)-r*Math.sin(A),e*Math.sin(A)+r*Math.cos(A)]}function Wr(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];for(var e=0;e<t.length;e++)if(typeof t[e]!="number")throw new Error("assertNumbers arguments["+e+"] is not a number. "+typeof t[e]+" == typeof "+t[e]);return!0}var ui=Math.PI;function pd(t,A,e){t.lArcFlag=t.lArcFlag===0?0:1,t.sweepFlag=t.sweepFlag===0?0:1;var r=t.rX,n=t.rY,i=t.x,a=t.y;r=Math.abs(t.rX),n=Math.abs(t.rY);var s=dd([(A-i)/2,(e-a)/2],-t.xRot/180*ui),o=s[0],l=s[1],f=Math.pow(o,2)/Math.pow(r,2)+Math.pow(l,2)/Math.pow(n,2);1<f&&(r*=Math.sqrt(f),n*=Math.sqrt(f)),t.rX=r,t.rY=n;var d=Math.pow(r,2)*Math.pow(l,2)+Math.pow(n,2)*Math.pow(o,2),p=(t.lArcFlag!==t.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(r,2)*Math.pow(n,2)-d)/d)),h=r*l/n*p,m=-n*o/r*p,w=dd([h,m],t.xRot/180*ui);t.cX=w[0]+(A+i)/2,t.cY=w[1]+(e+a)/2,t.phi1=Math.atan2((l-m)/n,(o-h)/r),t.phi2=Math.atan2((-l-m)/n,(-o-h)/r),t.sweepFlag===0&&t.phi2>t.phi1&&(t.phi2-=2*ui),t.sweepFlag===1&&t.phi2<t.phi1&&(t.phi2+=2*ui),t.phi1*=180/ui,t.phi2*=180/ui}function qw(t,A,e){Wr(t,A,e);var r=t*t+A*A-e*e;if(0>r)return[];if(r===0)return[[t*e/(t*t+A*A),A*e/(t*t+A*A)]];var n=Math.sqrt(r);return[[(t*e+A*n)/(t*t+A*A),(A*e-t*n)/(t*t+A*A)],[(t*e-A*n)/(t*t+A*A),(A*e+t*n)/(t*t+A*A)]]}var gt,Nn=Math.PI/180;function Ww(t,A,e){return(1-e)*t+e*A}function zw(t,A,e,r){return t+Math.cos(r/180*ui)*A+Math.sin(r/180*ui)*e}function Xw(t,A,e,r){var n=1e-6,i=A-t,a=e-A,s=3*i+3*(r-e)-6*a,o=6*(a-i),l=3*i;return Math.abs(s)<n?[-l/o]:function(f,d,p){p===void 0&&(p=1e-6);var h=f*f/4-d;if(h<-p)return[];if(h<=p)return[-f/2];var m=Math.sqrt(h);return[-f/2-m,-f/2+m]}(o/s,l/s,n)}function Yw(t,A,e,r,n){var i=1-n;return t*(i*i*i)+A*(3*i*i*n)+e*(3*i*n*n)+r*(n*n*n)}(function(t){function A(){return n(function(s,o,l){return s.relative&&(s.x1!==void 0&&(s.x1+=o),s.y1!==void 0&&(s.y1+=l),s.x2!==void 0&&(s.x2+=o),s.y2!==void 0&&(s.y2+=l),s.x!==void 0&&(s.x+=o),s.y!==void 0&&(s.y+=l),s.relative=!1),s})}function e(){var s=NaN,o=NaN,l=NaN,f=NaN;return n(function(d,p,h){return d.type&CA.SMOOTH_CURVE_TO&&(d.type=CA.CURVE_TO,s=isNaN(s)?p:s,o=isNaN(o)?h:o,d.x1=d.relative?p-s:2*p-s,d.y1=d.relative?h-o:2*h-o),d.type&CA.CURVE_TO?(s=d.relative?p+d.x2:d.x2,o=d.relative?h+d.y2:d.y2):(s=NaN,o=NaN),d.type&CA.SMOOTH_QUAD_TO&&(d.type=CA.QUAD_TO,l=isNaN(l)?p:l,f=isNaN(f)?h:f,d.x1=d.relative?p-l:2*p-l,d.y1=d.relative?h-f:2*h-f),d.type&CA.QUAD_TO?(l=d.relative?p+d.x1:d.x1,f=d.relative?h+d.y1:d.y1):(l=NaN,f=NaN),d})}function r(){var s=NaN,o=NaN;return n(function(l,f,d){if(l.type&CA.SMOOTH_QUAD_TO&&(l.type=CA.QUAD_TO,s=isNaN(s)?f:s,o=isNaN(o)?d:o,l.x1=l.relative?f-s:2*f-s,l.y1=l.relative?d-o:2*d-o),l.type&CA.QUAD_TO){s=l.relative?f+l.x1:l.x1,o=l.relative?d+l.y1:l.y1;var p=l.x1,h=l.y1;l.type=CA.CURVE_TO,l.x1=((l.relative?0:f)+2*p)/3,l.y1=((l.relative?0:d)+2*h)/3,l.x2=(l.x+2*p)/3,l.y2=(l.y+2*h)/3}else s=NaN,o=NaN;return l})}function n(s){var o=0,l=0,f=NaN,d=NaN;return function(p){if(isNaN(f)&&!(p.type&CA.MOVE_TO))throw new Error("path must start with moveto");var h=s(p,o,l,f,d);return p.type&CA.CLOSE_PATH&&(o=f,l=d),p.x!==void 0&&(o=p.relative?o+p.x:p.x),p.y!==void 0&&(l=p.relative?l+p.y:p.y),p.type&CA.MOVE_TO&&(f=o,d=l),h}}function i(s,o,l,f,d,p){return Wr(s,o,l,f,d,p),n(function(h,m,w,b){var y=h.x1,U=h.x2,T=h.relative&&!isNaN(b),k=h.x!==void 0?h.x:T?0:m,G=h.y!==void 0?h.y:T?0:w;function j(Q){return Q*Q}h.type&CA.HORIZ_LINE_TO&&o!==0&&(h.type=CA.LINE_TO,h.y=h.relative?0:w),h.type&CA.VERT_LINE_TO&&l!==0&&(h.type=CA.LINE_TO,h.x=h.relative?0:m),h.x!==void 0&&(h.x=h.x*s+G*l+(T?0:d)),h.y!==void 0&&(h.y=k*o+h.y*f+(T?0:p)),h.x1!==void 0&&(h.x1=h.x1*s+h.y1*l+(T?0:d)),h.y1!==void 0&&(h.y1=y*o+h.y1*f+(T?0:p)),h.x2!==void 0&&(h.x2=h.x2*s+h.y2*l+(T?0:d)),h.y2!==void 0&&(h.y2=U*o+h.y2*f+(T?0:p));var K=s*f-o*l;if(h.xRot!==void 0&&(s!==1||o!==0||l!==0||f!==1))if(K===0)delete h.rX,delete h.rY,delete h.xRot,delete h.lArcFlag,delete h.sweepFlag,h.type=CA.LINE_TO;else{var O=h.xRot*Math.PI/180,Z=Math.sin(O),aA=Math.cos(O),N=1/j(h.rX),S=1/j(h.rY),M=j(aA)*N+j(Z)*S,R=2*Z*aA*(N-S),iA=j(Z)*N+j(aA)*S,tA=M*f*f-R*o*f+iA*o*o,lA=R*(s*f+o*l)-2*(M*l*f+iA*s*o),eA=M*l*l-R*s*l+iA*s*s,cA=(Math.atan2(lA,tA-eA)+Math.PI)%Math.PI/2,sA=Math.sin(cA),bA=Math.cos(cA);h.rX=Math.abs(K)/Math.sqrt(tA*j(bA)+lA*sA*bA+eA*j(sA)),h.rY=Math.abs(K)/Math.sqrt(tA*j(sA)-lA*sA*bA+eA*j(bA)),h.xRot=180*cA/Math.PI}return h.sweepFlag!==void 0&&0>K&&(h.sweepFlag=+!h.sweepFlag),h})}function a(){return function(s){var o={};for(var l in s)o[l]=s[l];return o}}t.ROUND=function(s){function o(l){return Math.round(l*s)/s}return s===void 0&&(s=1e13),Wr(s),function(l){return l.x1!==void 0&&(l.x1=o(l.x1)),l.y1!==void 0&&(l.y1=o(l.y1)),l.x2!==void 0&&(l.x2=o(l.x2)),l.y2!==void 0&&(l.y2=o(l.y2)),l.x!==void 0&&(l.x=o(l.x)),l.y!==void 0&&(l.y=o(l.y)),l.rX!==void 0&&(l.rX=o(l.rX)),l.rY!==void 0&&(l.rY=o(l.rY)),l}},t.TO_ABS=A,t.TO_REL=function(){return n(function(s,o,l){return s.relative||(s.x1!==void 0&&(s.x1-=o),s.y1!==void 0&&(s.y1-=l),s.x2!==void 0&&(s.x2-=o),s.y2!==void 0&&(s.y2-=l),s.x!==void 0&&(s.x-=o),s.y!==void 0&&(s.y-=l),s.relative=!0),s})},t.NORMALIZE_HVZ=function(s,o,l){return s===void 0&&(s=!0),o===void 0&&(o=!0),l===void 0&&(l=!0),n(function(f,d,p,h,m){if(isNaN(h)&&!(f.type&CA.MOVE_TO))throw new Error("path must start with moveto");return o&&f.type&CA.HORIZ_LINE_TO&&(f.type=CA.LINE_TO,f.y=f.relative?0:p),l&&f.type&CA.VERT_LINE_TO&&(f.type=CA.LINE_TO,f.x=f.relative?0:d),s&&f.type&CA.CLOSE_PATH&&(f.type=CA.LINE_TO,f.x=f.relative?h-d:h,f.y=f.relative?m-p:m),f.type&CA.ARC&&(f.rX===0||f.rY===0)&&(f.type=CA.LINE_TO,delete f.rX,delete f.rY,delete f.xRot,delete f.lArcFlag,delete f.sweepFlag),f})},t.NORMALIZE_ST=e,t.QT_TO_C=r,t.INFO=n,t.SANITIZE=function(s){s===void 0&&(s=0),Wr(s);var o=NaN,l=NaN,f=NaN,d=NaN;return n(function(p,h,m,w,b){var y=Math.abs,U=!1,T=0,k=0;if(p.type&CA.SMOOTH_CURVE_TO&&(T=isNaN(o)?0:h-o,k=isNaN(l)?0:m-l),p.type&(CA.CURVE_TO|CA.SMOOTH_CURVE_TO)?(o=p.relative?h+p.x2:p.x2,l=p.relative?m+p.y2:p.y2):(o=NaN,l=NaN),p.type&CA.SMOOTH_QUAD_TO?(f=isNaN(f)?h:2*h-f,d=isNaN(d)?m:2*m-d):p.type&CA.QUAD_TO?(f=p.relative?h+p.x1:p.x1,d=p.relative?m+p.y1:p.y2):(f=NaN,d=NaN),p.type&CA.LINE_COMMANDS||p.type&CA.ARC&&(p.rX===0||p.rY===0||!p.lArcFlag)||p.type&CA.CURVE_TO||p.type&CA.SMOOTH_CURVE_TO||p.type&CA.QUAD_TO||p.type&CA.SMOOTH_QUAD_TO){var G=p.x===void 0?0:p.relative?p.x:p.x-h,j=p.y===void 0?0:p.relative?p.y:p.y-m;T=isNaN(f)?p.x1===void 0?T:p.relative?p.x:p.x1-h:f-h,k=isNaN(d)?p.y1===void 0?k:p.relative?p.y:p.y1-m:d-m;var K=p.x2===void 0?0:p.relative?p.x:p.x2-h,O=p.y2===void 0?0:p.relative?p.y:p.y2-m;y(G)<=s&&y(j)<=s&&y(T)<=s&&y(k)<=s&&y(K)<=s&&y(O)<=s&&(U=!0)}return p.type&CA.CLOSE_PATH&&y(h-w)<=s&&y(m-b)<=s&&(U=!0),U?[]:p})},t.MATRIX=i,t.ROTATE=function(s,o,l){o===void 0&&(o=0),l===void 0&&(l=0),Wr(s,o,l);var f=Math.sin(s),d=Math.cos(s);return i(d,f,-f,d,o-o*d+l*f,l-o*f-l*d)},t.TRANSLATE=function(s,o){return o===void 0&&(o=0),Wr(s,o),i(1,0,0,1,s,o)},t.SCALE=function(s,o){return o===void 0&&(o=s),Wr(s,o),i(s,0,0,o,0,0)},t.SKEW_X=function(s){return Wr(s),i(1,0,Math.atan(s),1,0,0)},t.SKEW_Y=function(s){return Wr(s),i(1,Math.atan(s),0,1,0,0)},t.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Wr(s),i(-1,0,0,1,s,0)},t.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Wr(s),i(1,0,0,-1,0,s)},t.A_TO_C=function(){return n(function(s,o,l){return CA.ARC===s.type?function(f,d,p){var h,m,w,b;f.cX||pd(f,d,p);for(var y=Math.min(f.phi1,f.phi2),U=Math.max(f.phi1,f.phi2)-y,T=Math.ceil(U/90),k=new Array(T),G=d,j=p,K=0;K<T;K++){var O=Ww(f.phi1,f.phi2,K/T),Z=Ww(f.phi1,f.phi2,(K+1)/T),aA=Z-O,N=4/3*Math.tan(aA*Nn/4),S=[Math.cos(O*Nn)-N*Math.sin(O*Nn),Math.sin(O*Nn)+N*Math.cos(O*Nn)],M=S[0],R=S[1],iA=[Math.cos(Z*Nn),Math.sin(Z*Nn)],tA=iA[0],lA=iA[1],eA=[tA+N*Math.sin(Z*Nn),lA-N*Math.cos(Z*Nn)],cA=eA[0],sA=eA[1];k[K]={relative:f.relative,type:CA.CURVE_TO};var bA=function(Q,_){var P=dd([Q*f.rX,_*f.rY],f.xRot),$=P[0],W=P[1];return[f.cX+$,f.cY+W]};h=bA(M,R),k[K].x1=h[0],k[K].y1=h[1],m=bA(cA,sA),k[K].x2=m[0],k[K].y2=m[1],w=bA(tA,lA),k[K].x=w[0],k[K].y=w[1],f.relative&&(k[K].x1-=G,k[K].y1-=j,k[K].x2-=G,k[K].y2-=j,k[K].x-=G,k[K].y-=j),G=(b=[k[K].x,k[K].y])[0],j=b[1]}return k}(s,s.relative?0:o,s.relative?0:l):s})},t.ANNOTATE_ARCS=function(){return n(function(s,o,l){return s.relative&&(o=0,l=0),CA.ARC===s.type&&pd(s,o,l),s})},t.CLONE=a,t.CALCULATE_BOUNDS=function(){var s=function(p){var h={};for(var m in p)h[m]=p[m];return h},o=A(),l=r(),f=e(),d=n(function(p,h,m){var w=f(l(o(s(p))));function b(sA){sA>d.maxX&&(d.maxX=sA),sA<d.minX&&(d.minX=sA)}function y(sA){sA>d.maxY&&(d.maxY=sA),sA<d.minY&&(d.minY=sA)}if(w.type&CA.DRAWING_COMMANDS&&(b(h),y(m)),w.type&CA.HORIZ_LINE_TO&&b(w.x),w.type&CA.VERT_LINE_TO&&y(w.y),w.type&CA.LINE_TO&&(b(w.x),y(w.y)),w.type&CA.CURVE_TO){b(w.x),y(w.y);for(var U=0,T=Xw(h,w.x1,w.x2,w.x);U<T.length;U++)0<(cA=T[U])&&1>cA&&b(Yw(h,w.x1,w.x2,w.x,cA));for(var k=0,G=Xw(m,w.y1,w.y2,w.y);k<G.length;k++)0<(cA=G[k])&&1>cA&&y(Yw(m,w.y1,w.y2,w.y,cA))}if(w.type&CA.ARC){b(w.x),y(w.y),pd(w,h,m);for(var j=w.xRot/180*Math.PI,K=Math.cos(j)*w.rX,O=Math.sin(j)*w.rX,Z=-Math.sin(j)*w.rY,aA=Math.cos(j)*w.rY,N=w.phi1<w.phi2?[w.phi1,w.phi2]:-180>w.phi2?[w.phi2+360,w.phi1+360]:[w.phi2,w.phi1],S=N[0],M=N[1],R=function(sA){var bA=sA[0],Q=sA[1],_=180*Math.atan2(Q,bA)/Math.PI;return _<S?_+360:_},iA=0,tA=qw(Z,-K,0).map(R);iA<tA.length;iA++)(cA=tA[iA])>S&&cA<M&&b(zw(w.cX,K,Z,cA));for(var lA=0,eA=qw(aA,-O,0).map(R);lA<eA.length;lA++){var cA;(cA=eA[lA])>S&&cA<M&&y(zw(w.cY,O,aA,cA))}}return p});return d.minX=1/0,d.maxX=-1/0,d.minY=1/0,d.maxY=-1/0,d}})(gt||(gt={}));var zr,Jw=function(){function t(){}return t.prototype.round=function(A){return this.transform(gt.ROUND(A))},t.prototype.toAbs=function(){return this.transform(gt.TO_ABS())},t.prototype.toRel=function(){return this.transform(gt.TO_REL())},t.prototype.normalizeHVZ=function(A,e,r){return this.transform(gt.NORMALIZE_HVZ(A,e,r))},t.prototype.normalizeST=function(){return this.transform(gt.NORMALIZE_ST())},t.prototype.qtToC=function(){return this.transform(gt.QT_TO_C())},t.prototype.aToC=function(){return this.transform(gt.A_TO_C())},t.prototype.sanitize=function(A){return this.transform(gt.SANITIZE(A))},t.prototype.translate=function(A,e){return this.transform(gt.TRANSLATE(A,e))},t.prototype.scale=function(A,e){return this.transform(gt.SCALE(A,e))},t.prototype.rotate=function(A,e,r){return this.transform(gt.ROTATE(A,e,r))},t.prototype.matrix=function(A,e,r,n,i,a){return this.transform(gt.MATRIX(A,e,r,n,i,a))},t.prototype.skewX=function(A){return this.transform(gt.SKEW_X(A))},t.prototype.skewY=function(A){return this.transform(gt.SKEW_Y(A))},t.prototype.xSymmetry=function(A){return this.transform(gt.X_AXIS_SYMMETRY(A))},t.prototype.ySymmetry=function(A){return this.transform(gt.Y_AXIS_SYMMETRY(A))},t.prototype.annotateArcs=function(){return this.transform(gt.ANNOTATE_ARCS())},t}(),uH=function(t){return t===" "||t===" "||t==="\r"||t===`
`},Zw=function(t){return"0".charCodeAt(0)<=t.charCodeAt(0)&&t.charCodeAt(0)<="9".charCodeAt(0)},lH=function(t){function A(){var e=t.call(this)||this;return e.curNumber="",e.curCommandType=-1,e.curCommandRelative=!1,e.canParseCommandOrComma=!0,e.curNumberHasExp=!1,e.curNumberHasExpDigits=!1,e.curNumberHasDecimal=!1,e.curArgs=[],e}return $w(A,t),A.prototype.finish=function(e){if(e===void 0&&(e=[]),this.parse(" ",e),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return e},A.prototype.parse=function(e,r){var n=this;r===void 0&&(r=[]);for(var i=function(d){r.push(d),n.curArgs.length=0,n.canParseCommandOrComma=!0},a=0;a<e.length;a++){var s=e[a],o=!(this.curCommandType!==CA.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),l=Zw(s)&&(this.curNumber==="0"&&s==="0"||o);if(!Zw(s)||l)if(s!=="e"&&s!=="E")if(s!=="-"&&s!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(s!=="."||this.curNumberHasExp||this.curNumberHasDecimal||o){if(this.curNumber&&this.curCommandType!==-1){var f=Number(this.curNumber);if(isNaN(f))throw new SyntaxError("Invalid number ending at "+a);if(this.curCommandType===CA.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>f)throw new SyntaxError('Expected positive number, got "'+f+'" at index "'+a+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+a+'"')}this.curArgs.push(f),this.curArgs.length===cH[this.curCommandType]&&(CA.HORIZ_LINE_TO===this.curCommandType?i({type:CA.HORIZ_LINE_TO,relative:this.curCommandRelative,x:f}):CA.VERT_LINE_TO===this.curCommandType?i({type:CA.VERT_LINE_TO,relative:this.curCommandRelative,y:f}):this.curCommandType===CA.MOVE_TO||this.curCommandType===CA.LINE_TO||this.curCommandType===CA.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),CA.MOVE_TO===this.curCommandType&&(this.curCommandType=CA.LINE_TO)):this.curCommandType===CA.CURVE_TO?i({type:CA.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===CA.SMOOTH_CURVE_TO?i({type:CA.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===CA.QUAD_TO?i({type:CA.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===CA.ARC&&i({type:CA.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(!uH(s))if(s===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(s!=="+"&&s!=="-"&&s!==".")if(l)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+a+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+a+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,s!=="z"&&s!=="Z")if(s==="h"||s==="H")this.curCommandType=CA.HORIZ_LINE_TO,this.curCommandRelative=s==="h";else if(s==="v"||s==="V")this.curCommandType=CA.VERT_LINE_TO,this.curCommandRelative=s==="v";else if(s==="m"||s==="M")this.curCommandType=CA.MOVE_TO,this.curCommandRelative=s==="m";else if(s==="l"||s==="L")this.curCommandType=CA.LINE_TO,this.curCommandRelative=s==="l";else if(s==="c"||s==="C")this.curCommandType=CA.CURVE_TO,this.curCommandRelative=s==="c";else if(s==="s"||s==="S")this.curCommandType=CA.SMOOTH_CURVE_TO,this.curCommandRelative=s==="s";else if(s==="q"||s==="Q")this.curCommandType=CA.QUAD_TO,this.curCommandRelative=s==="q";else if(s==="t"||s==="T")this.curCommandType=CA.SMOOTH_QUAD_TO,this.curCommandRelative=s==="t";else{if(s!=="a"&&s!=="A")throw new SyntaxError('Unexpected character "'+s+'" at index '+a+".");this.curCommandType=CA.ARC,this.curCommandRelative=s==="a"}else r.push({type:CA.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 r},A.prototype.transform=function(e){return Object.create(this,{parse:{value:function(r,n){n===void 0&&(n=[]);for(var i=0,a=Object.getPrototypeOf(this).parse.call(this,r);i<a.length;i++){var s=a[i],o=e(s);Array.isArray(o)?n.push.apply(n,o):n.push(o)}return n}}})},A}(Jw),CA=function(t){function A(e){var r=t.call(this)||this;return r.commands=typeof e=="string"?A.parse(e):e,r}return $w(A,t),A.prototype.encode=function(){return A.encode(this.commands)},A.prototype.getBounds=function(){var e=gt.CALCULATE_BOUNDS();return this.transform(e),e},A.prototype.transform=function(e){for(var r=[],n=0,i=this.commands;n<i.length;n++){var a=e(i[n]);Array.isArray(a)?r.push.apply(r,a):r.push(a)}return this.commands=r,this},A.encode=function(e){return oH(e)},A.parse=function(e){var r=new lH,n=[];return r.parse(e,n),r.finish(n),n},A.CLOSE_PATH=1,A.MOVE_TO=2,A.HORIZ_LINE_TO=4,A.VERT_LINE_TO=8,A.LINE_TO=16,A.CURVE_TO=32,A.SMOOTH_CURVE_TO=64,A.QUAD_TO=128,A.SMOOTH_QUAD_TO=256,A.ARC=512,A.LINE_COMMANDS=A.LINE_TO|A.HORIZ_LINE_TO|A.VERT_LINE_TO,A.DRAWING_COMMANDS=A.HORIZ_LINE_TO|A.VERT_LINE_TO|A.LINE_TO|A.CURVE_TO|A.SMOOTH_CURVE_TO|A.QUAD_TO|A.SMOOTH_QUAD_TO|A.ARC,A}(Jw),cH=((zr={})[CA.MOVE_TO]=2,zr[CA.LINE_TO]=2,zr[CA.HORIZ_LINE_TO]=1,zr[CA.VERT_LINE_TO]=1,zr[CA.CLOSE_PATH]=0,zr[CA.QUAD_TO]=4,zr[CA.SMOOTH_QUAD_TO]=2,zr[CA.CURVE_TO]=6,zr[CA.SMOOTH_CURVE_TO]=4,zr[CA.ARC]=7,zr),fH=Ht,hH=qr,gH=al,dH=xB,A5=RegExp.prototype,pH=function(t){var A=t.flags;return A===void 0&&!("flags"in A5)&&!hH(t,"flags")&&gH(A5,t)?fH(dH,t):A},vH=gl.PROPER,BH=Vi,wH=jt,e5=wn,mH=st,yH=pH,vd="toString",CH=RegExp.prototype,t5=CH[vd],bH=mH(function(){return t5.call({source:"a",flags:"b"})!="/a/b"}),FH=vH&&t5.name!=vd;(bH||FH)&&BH(RegExp.prototype,vd,function(){var A=wH(this),e=e5(A.source),r=e5(yH(A));return"/"+e+"/"+r},{unsafe:!0});function Gl(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Gl=function(A){return typeof A}:Gl=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},Gl(t)}function QH(t,A){if(!(t instanceof A))throw new TypeError("Cannot call a class as a function")}var UH=[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],EH=[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 xH(t,A,e,r,n){if(typeof t=="string"&&(t=document.getElementById(t)),!t||Gl(t)!=="object"||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var i=t.getContext("2d");try{return i.getImageData(A,e,r,n)}catch(a){throw new Error("unable to access image data: "+a)}}function IH(t,A,e,r,n,i){if(!(isNaN(i)||i<1)){i|=0;var a=xH(t,A,e,r,n);a=SH(a,A,e,r,n,i),t.getContext("2d").putImageData(a,A,e)}}function SH(t,A,e,r,n,i){for(var a=t.data,s=2*i+1,o=r-1,l=n-1,f=i+1,d=f*(f+1)/2,p=new r5,h=p,m,w=1;w<s;w++)h=h.next=new r5,w===f&&(m=h);h.next=p;for(var b=null,y=null,U=0,T=0,k=UH[i],G=EH[i],j=0;j<n;j++){h=p;for(var K=a[T],O=a[T+1],Z=a[T+2],aA=a[T+3],N=0;N<f;N++)h.r=K,h.g=O,h.b=Z,h.a=aA,h=h.next;for(var S=0,M=0,R=0,iA=0,tA=f*K,lA=f*O,eA=f*Z,cA=f*aA,sA=d*K,bA=d*O,Q=d*Z,_=d*aA,P=1;P<f;P++){var $=T+((o<P?o:P)<<2),W=a[$],nA=a[$+1],fA=a[$+2],hA=a[$+3],xA=f-P;sA+=(h.r=W)*xA,bA+=(h.g=nA)*xA,Q+=(h.b=fA)*xA,_+=(h.a=hA)*xA,S+=W,M+=nA,R+=fA,iA+=hA,h=h.next}b=p,y=m;for(var EA=0;EA<r;EA++){var _A=_*k>>G;if(a[T+3]=_A,_A!==0){var NA=255/_A;a[T]=(sA*k>>G)*NA,a[T+1]=(bA*k>>G)*NA,a[T+2]=(Q*k>>G)*NA}else a[T]=a[T+1]=a[T+2]=0;sA-=tA,bA-=lA,Q-=eA,_-=cA,tA-=b.r,lA-=b.g,eA-=b.b,cA-=b.a;var jA=EA+i+1;jA=U+(jA<o?jA:o)<<2,S+=b.r=a[jA],M+=b.g=a[jA+1],R+=b.b=a[jA+2],iA+=b.a=a[jA+3],sA+=S,bA+=M,Q+=R,_+=iA,b=b.next;var gA=y,V=gA.r,JA=gA.g,KA=gA.b,FA=gA.a;tA+=V,lA+=JA,eA+=KA,cA+=FA,S-=V,M-=JA,R-=KA,iA-=FA,y=y.next,T+=4}U+=r}for(var IA=0;IA<r;IA++){T=IA<<2;var LA=a[T],SA=a[T+1],VA=a[T+2],GA=a[T+3],ZA=f*LA,re=f*SA,he=f*VA,ye=f*GA,zA=d*LA,ne=d*SA,TA=d*VA,Re=d*GA;h=p;for(var ge=0;ge<f;ge++)h.r=LA,h.g=SA,h.b=VA,h.a=GA,h=h.next;for(var Ge=r,pe=0,Ue=0,It=0,we=0,pt=1;pt<=i;pt++){T=Ge+IA<<2;var Se=f-pt;zA+=(h.r=LA=a[T])*Se,ne+=(h.g=SA=a[T+1])*Se,TA+=(h.b=VA=a[T+2])*Se,Re+=(h.a=GA=a[T+3])*Se,we+=LA,pe+=SA,Ue+=VA,It+=GA,h=h.next,pt<l&&(Ge+=r)}T=IA,b=p,y=m;for(var _t=0;_t<n;_t++){var ue=T<<2;a[ue+3]=GA=Re*k>>G,GA>0?(GA=255/GA,a[ue]=(zA*k>>G)*GA,a[ue+1]=(ne*k>>G)*GA,a[ue+2]=(TA*k>>G)*GA):a[ue]=a[ue+1]=a[ue+2]=0,zA-=ZA,ne-=re,TA-=he,Re-=ye,ZA-=b.r,re-=b.g,he-=b.b,ye-=b.a,ue=IA+((ue=_t+f)<l?ue:l)*r<<2,zA+=we+=b.r=a[ue],ne+=pe+=b.g=a[ue+1],TA+=Ue+=b.b=a[ue+2],Re+=It+=b.a=a[ue+3],b=b.next,ZA+=LA=y.r,re+=SA=y.g,he+=VA=y.b,ye+=GA=y.a,we-=LA,pe-=SA,Ue-=VA,It-=GA,y=y.next,T+=r}}return t}var r5=function t(){QH(this,t),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};function LH(){var{DOMParser:t}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas(e,r){return new OffscreenCanvas(e,r)},createImage(e){return Sn(function*(){var r=yield fetch(e),n=yield r.blob(),i=yield createImageBitmap(n);return i})()}};return(typeof DOMParser<"u"||typeof t>"u")&&Reflect.deleteProperty(A,"DOMParser"),A}function NH(t){var{DOMParser:A,canvas:e,fetch:r}=t;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:A,fetch:r,createCanvas:e.createCanvas,createImage:e.loadImage}}var TH=Object.freeze({__proto__:null,offscreen:LH,node:NH});function Xi(t){return t.replace(/(?!\u3000)\s+/gm," ")}function n5(t){return t.replace(/^[\n \t]+/,"")}function i5(t){return t.replace(/[\n \t]+$/,"")}function sr(t){var A=(t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return A.map(parseFloat)}var OH=/^[A-Z-]+$/;function a5(t){return OH.test(t)?t.toLowerCase():t}function Bd(t){var A=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(t)||[];return A[2]||A[3]||A[4]}function s5(t){if(!t.startsWith("rgb"))return t;var A=3,e=t.replace(/\d+(\.\d+)?/g,(r,n)=>A--&&n?String(Math.round(parseFloat(r))):r);return e}var HH=/(\[[^\]]+\])/g,_H=/(#[^\s+>~.[:]+)/g,PH=/(\.[^\s+>~.[:]+)/g,DH=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,MH=/(:[\w-]+\([^)]*\))/gi,RH=/(:[^\s+>~.[:]+)/g,kH=/([^\s+>~.[:]+)/g;function Yi(t,A){var e=A.exec(t);return e?[t.replace(A," "),e.length]:[t,0]}function o5(t){var A=[0,0,0],e=t.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),r=0;return[e,r]=Yi(e,HH),A[1]+=r,[e,r]=Yi(e,_H),A[0]+=r,[e,r]=Yi(e,PH),A[1]+=r,[e,r]=Yi(e,DH),A[2]+=r,[e,r]=Yi(e,MH),A[1]+=r,[e,r]=Yi(e,RH),A[1]+=r,e=e.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[e,r]=Yi(e,kH),A[2]+=r,A.join("")}var Ji=1e-8;function wd(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function $l(t,A){return(t[0]*A[0]+t[1]*A[1])/(wd(t)*wd(A))}function md(t,A){return(t[0]*A[1]<t[1]*A[0]?-1:1)*Math.acos($l(t,A))}function yd(t){return t*t*t}function Cd(t){return 3*t*t*(1-t)}function bd(t){return 3*t*(1-t)*(1-t)}function Fd(t){return(1-t)*(1-t)*(1-t)}function Qd(t){return t*t}function Ud(t){return 2*t*(1-t)}function Ed(t){return(1-t)*(1-t)}class WA{constructor(A,e,r){this.document=A,this.name=e,this.value=r,this.isNormalizedColor=!1}static empty(A){return new WA(A,"EMPTY","")}split(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",{document:e,name:r}=this;return Xi(this.getString()).trim().split(A).map(n=>new WA(e,r,n))}hasValue(A){var{value:e}=this;return e!==null&&e!==""&&(A||e!==0)&&typeof e<"u"}isString(A){var{value:e}=this,r=typeof e=="string";return!r||!A?r:A.test(e)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var A=this.getString();switch(!0){case A.endsWith("px"):case/^[0-9]+$/.test(A):return!0;default:return!1}}setValue(A){return this.value=A,this}getValue(A){return typeof A>"u"||this.hasValue()?this.value:A}getNumber(A){if(!this.hasValue())return typeof A>"u"?0:parseFloat(A);var{value:e}=this,r=parseFloat(e);return this.isString(/%$/)&&(r/=100),r}getString(A){return typeof A>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(A)}getColor(A){var e=this.getString(A);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=s5(e),this.value=e),e}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var[r,n]=typeof A=="boolean"?[void 0,A]:[A],{viewPort:i}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(i.computeSize("x"),i.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(i.computeSize("x"),i.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*i.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*i.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 this.getNumber()*15;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(/%$/)&&n):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*i.computeSize(r);default:{var a=this.getNumber();return e&&a<1?a*i.computeSize(r):a}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3: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 A=this.getString(),e=/#([^)'"]+)/.exec(A);return e&&(e=e[1]),e||(e=A),this.document.definitions[e]}getFillStyleDefinition(A,e){var r=this.getDefinition();if(!r)return null;if(typeof r.createGradient=="function")return r.createGradient(this.document.ctx,A,e);if(typeof r.createPattern=="function"){if(r.getHrefAttribute().hasValue()){var n=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),n.hasValue()&&r.getAttribute("patternTransform",!0).setValue(n.value)}return r.createPattern(this.document.ctx,A,e)}return null}getTextBaseline(){return this.hasValue()?WA.textBaselineMapping[this.getString()]:null}addOpacity(A){for(var e=this.getColor(),r=e.length,n=0,i=0;i<r&&(e[i]===","&&n++,n!==3);i++);if(A.hasValue()&&this.isString()&&n!==3){var a=new hd(e);a.ok&&(a.alpha=A.getNumber(),e=a.toRGBA())}return new WA(this.document,this.name,e)}}WA.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 u5{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(A,e){this.viewPorts.push({width:A,height:e})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:A}=this;return A[A.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(A){return typeof A=="number"?A:A==="x"?this.width:A==="y"?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class Ze{constructor(A,e){this.x=A,this.y=e}static parse(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,[r=e,n=e]=sr(A);return new Ze(r,n)}static parseScale(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[r=e,n=r]=sr(A);return new Ze(r,n)}static parsePath(A){for(var e=sr(A),r=e.length,n=[],i=0;i<r;i+=2)n.push(new Ze(e[i],e[i+1]));return n}angleTo(A){return Math.atan2(A.y-this.y,A.x-this.x)}applyTransform(A){var{x:e,y:r}=this,n=e*A[0]+r*A[2]+A[4],i=e*A[1]+r*A[3]+A[5];this.x=n,this.y=i}}class l5{constructor(A){this.screen=A,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:A,onClick:e,onMouseMove:r}=this,n=A.ctx.canvas;n.onclick=e,n.onmousemove=r,this.working=!0}}stop(){if(this.working){var A=this.screen.ctx.canvas;this.working=!1,A.onclick=null,A.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:A,events:e,eventElements:r}=this,{style:n}=A.ctx.canvas;n&&(n.cursor=""),e.forEach((i,a)=>{for(var{run:s}=i,o=r[a];o;)s(o),o=o.parent}),this.events=[],this.eventElements=[]}}checkPath(A,e){if(!(!this.working||!e)){var{events:r,eventElements:n}=this;r.forEach((i,a)=>{var{x:s,y:o}=i;!n[a]&&e.isPointInPath&&e.isPointInPath(s,o)&&(n[a]=A)})}}checkBoundingBox(A,e){if(!(!this.working||!e)){var{events:r,eventElements:n}=this;r.forEach((i,a)=>{var{x:s,y:o}=i;!n[a]&&e.isPointInBox(s,o)&&(n[a]=A)})}}mapXY(A,e){for(var{window:r,ctx:n}=this.screen,i=new Ze(A,e),a=n.canvas;a;)i.x-=a.offsetLeft,i.y-=a.offsetTop,a=a.offsetParent;return r.scrollX&&(i.x+=r.scrollX),r.scrollY&&(i.y+=r.scrollY),i}onClick(A){var{x:e,y:r}=this.mapXY(A.clientX,A.clientY);this.events.push({type:"onclick",x:e,y:r,run(n){n.onClick&&n.onClick()}})}onMouseMove(A){var{x:e,y:r}=this.mapXY(A.clientX,A.clientY);this.events.push({type:"onmousemove",x:e,y:r,run(n){n.onMouseMove&&n.onMouseMove()}})}}var c5=typeof window<"u"?window:null,f5=typeof fetch<"u"?fetch.bind(void 0):null;class lo{constructor(A){var{fetch:e=f5,window:r=c5}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.ctx=A,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new u5,this.mouse=new l5(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=r,this.fetch=e}wait(A){this.waits.push(A)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var A=this.waits.every(e=>e());return A&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=A,A}setDefaults(A){A.strokeStyle="rgba(0,0,0,0)",A.lineCap="butt",A.lineJoin="miter",A.miterLimit=4}setViewBox(A){var{document:e,ctx:r,aspectRatio:n,width:i,desiredWidth:a,height:s,desiredHeight:o,minX:l=0,minY:f=0,refX:d,refY:p,clip:h=!1,clipX:m=0,clipY:w=0}=A,b=Xi(n).replace(/^defer\s/,""),[y,U]=b.split(" "),T=y||"xMidYMid",k=U||"meet",G=i/a,j=s/o,K=Math.min(G,j),O=Math.max(G,j),Z=a,aA=o;k==="meet"&&(Z*=K,aA*=K),k==="slice"&&(Z*=O,aA*=O);var N=new WA(e,"refX",d),S=new WA(e,"refY",p),M=N.hasValue()&&S.hasValue();if(M&&r.translate(-K*N.getPixels("x"),-K*S.getPixels("y")),h){var R=K*m,iA=K*w;r.beginPath(),r.moveTo(R,iA),r.lineTo(i,iA),r.lineTo(i,s),r.lineTo(R,s),r.closePath(),r.clip()}if(!M){var tA=k==="meet"&&K===j,lA=k==="slice"&&O===j,eA=k==="meet"&&K===G,cA=k==="slice"&&O===G;T.startsWith("xMid")&&(tA||lA)&&r.translate(i/2-Z/2,0),T.endsWith("YMid")&&(eA||cA)&&r.translate(0,s/2-aA/2),T.startsWith("xMax")&&(tA||lA)&&r.translate(i-Z,0),T.endsWith("YMax")&&(eA||cA)&&r.translate(0,s-aA)}switch(!0){case T==="none":r.scale(G,j);break;case k==="meet":r.scale(K,K);break;case k==="slice":r.scale(O,O);break}r.translate(-l,-f)}start(A){var{enableRedraw:e=!1,ignoreMouse:r=!1,ignoreAnimation:n=!1,ignoreDimensions:i=!1,ignoreClear:a=!1,forceRedraw:s,scaleWidth:o,scaleHeight:l,offsetX:f,offsetY:d}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:p,mouse:h}=this,m=1e3/p;if(this.frameDuration=m,this.readyPromise=new Promise(T=>{this.resolveReady=T}),this.isReady()&&this.render(A,i,a,o,l,f,d),!!e){var w=Date.now(),b=w,y=0,U=()=>{w=Date.now(),y=w-b,y>=m&&(b=w-y%m,this.shouldUpdate(n,s)&&(this.render(A,i,a,o,l,f,d),h.runEvents())),this.intervalId=Wi(U)};r||h.start(),this.intervalId=Wi(U)}}stop(){this.intervalId&&(Wi.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(A,e){if(!A){var{frameDuration:r}=this,n=this.animations.reduce((i,a)=>a.update(r)||i,!1);if(n)return!0}return!!(typeof e=="function"&&e()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(A,e,r,n,i,a,s){var{CLIENT_WIDTH:o,CLIENT_HEIGHT:l,viewPort:f,ctx:d,isFirstRender:p}=this,h=d.canvas;f.clear(),h.width&&h.height?f.setCurrent(h.width,h.height):f.setCurrent(o,l);var m=A.getStyle("width"),w=A.getStyle("height");!e&&(p||typeof n!="number"&&typeof i!="number")&&(m.hasValue()&&(h.width=m.getPixels("x"),h.style&&(h.style.width="".concat(h.width,"px"))),w.hasValue()&&(h.height=w.getPixels("y"),h.style&&(h.style.height="".concat(h.height,"px"))));var b=h.clientWidth||h.width,y=h.clientHeight||h.height;if(e&&m.hasValue()&&w.hasValue()&&(b=m.getPixels("x"),y=w.getPixels("y")),f.setCurrent(b,y),typeof a=="number"&&A.getAttribute("x",!0).setValue(a),typeof s=="number"&&A.getAttribute("y",!0).setValue(s),typeof n=="number"||typeof i=="number"){var U=sr(A.getAttribute("viewBox").getString()),T=0,k=0;if(typeof n=="number"){var G=A.getStyle("width");G.hasValue()?T=G.getPixels("x")/n:isNaN(U[2])||(T=U[2]/n)}if(typeof i=="number"){var j=A.getStyle("height");j.hasValue()?k=j.getPixels("y")/i:isNaN(U[3])||(k=U[3]/i)}T||(T=k),k||(k=T),A.getAttribute("width",!0).setValue(n),A.getAttribute("height",!0).setValue(i);var K=A.getStyle("transform",!0,!0);K.setValue("".concat(K.getString()," scale(").concat(1/T,", ").concat(1/k,")"))}r||d.clearRect(0,0,b,y),A.render(d),p&&(this.isFirstRender=!1)}}lo.defaultWindow=c5,lo.defaultFetch=f5;var{defaultFetch:KH}=lo,VH=typeof DOMParser<"u"?DOMParser:null;class ql{constructor(){var{fetch:A=KH,DOMParser:e=VH}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=A,this.DOMParser=e}parse(A){var e=this;return Sn(function*(){return A.startsWith("<")?e.parseFromString(A):e.load(A)})()}parseFromString(A){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(A,"image/svg+xml"))}catch{return this.checkDocument(e.parseFromString(A,"text/xml"))}}checkDocument(A){var e=A.getElementsByTagName("parsererror")[0];if(e)throw new Error(e.textContent);return A}load(A){var e=this;return Sn(function*(){var r=yield e.fetch(A),n=yield r.text();return e.parseFromString(n)})()}}class h5{constructor(A,e){this.type="translate",this.point=null,this.point=Ze.parse(e)}apply(A){var{x:e,y:r}=this.point;A.translate(e||0,r||0)}unapply(A){var{x:e,y:r}=this.point;A.translate(-1*e||0,-1*r||0)}applyToPoint(A){var{x:e,y:r}=this.point;A.applyTransform([1,0,0,1,e||0,r||0])}}class g5{constructor(A,e,r){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var n=sr(e);this.angle=new WA(A,"angle",n[0]),this.originX=r[0],this.originY=r[1],this.cx=n[1]||0,this.cy=n[2]||0}apply(A){var{cx:e,cy:r,originX:n,originY:i,angle:a}=this,s=e+n.getPixels("x"),o=r+i.getPixels("y");A.translate(s,o),A.rotate(a.getRadians()),A.translate(-s,-o)}unapply(A){var{cx:e,cy:r,originX:n,originY:i,angle:a}=this,s=e+n.getPixels("x"),o=r+i.getPixels("y");A.translate(s,o),A.rotate(-1*a.getRadians()),A.translate(-s,-o)}applyToPoint(A){var{cx:e,cy:r,angle:n}=this,i=n.getRadians();A.applyTransform([1,0,0,1,e||0,r||0]),A.applyTransform([Math.cos(i),Math.sin(i),-Math.sin(i),Math.cos(i),0,0]),A.applyTransform([1,0,0,1,-e||0,-r||0])}}class d5{constructor(A,e,r){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var n=Ze.parseScale(e);(n.x===0||n.y===0)&&(n.x=Ji,n.y=Ji),this.scale=n,this.originX=r[0],this.originY=r[1]}apply(A){var{scale:{x:e,y:r},originX:n,originY:i}=this,a=n.getPixels("x"),s=i.getPixels("y");A.translate(a,s),A.scale(e,r||e),A.translate(-a,-s)}unapply(A){var{scale:{x:e,y:r},originX:n,originY:i}=this,a=n.getPixels("x"),s=i.getPixels("y");A.translate(a,s),A.scale(1/e,1/r||e),A.translate(-a,-s)}applyToPoint(A){var{x:e,y:r}=this.scale;A.applyTransform([e||0,0,0,r||0,0,0])}}class xd{constructor(A,e,r){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=sr(e),this.originX=r[0],this.originY=r[1]}apply(A){var{originX:e,originY:r,matrix:n}=this,i=e.getPixels("x"),a=r.getPixels("y");A.translate(i,a),A.transform(n[0],n[1],n[2],n[3],n[4],n[5]),A.translate(-i,-a)}unapply(A){var{originX:e,originY:r,matrix:n}=this,i=n[0],a=n[2],s=n[4],o=n[1],l=n[3],f=n[5],d=0,p=0,h=1,m=1/(i*(l*h-f*p)-a*(o*h-f*d)+s*(o*p-l*d)),w=e.getPixels("x"),b=r.getPixels("y");A.translate(w,b),A.transform(m*(l*h-f*p),m*(f*d-o*h),m*(s*p-a*h),m*(i*h-s*d),m*(a*f-s*l),m*(s*o-i*f)),A.translate(-w,-b)}applyToPoint(A){A.applyTransform(this.matrix)}}class Id extends xd{constructor(A,e,r){super(A,e,r),this.type="skew",this.angle=null,this.angle=new WA(A,"angle",e)}}class p5 extends Id{constructor(A,e,r){super(A,e,r),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class v5 extends Id{constructor(A,e,r){super(A,e,r),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}function jH(t){return Xi(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function GH(t){var[A,e]=t.split("(");return[A.trim(),e.trim().replace(")","")]}class li{constructor(A,e,r){this.document=A,this.transforms=[];var n=jH(e);n.forEach(i=>{if(i!=="none"){var[a,s]=GH(i),o=li.transformTypes[a];typeof o<"u"&&this.transforms.push(new o(this.document,s,r))}})}static fromElement(A,e){var r=e.getStyle("transform",!1,!0),[n,i=n]=e.getStyle("transform-origin",!1,!0).split(),a=[n,i];return r.hasValue()?new li(A,r.getString(),a):null}apply(A){for(var{transforms:e}=this,r=e.length,n=0;n<r;n++)e[n].apply(A)}unapply(A){for(var{transforms:e}=this,r=e.length,n=r-1;n>=0;n--)e[n].unapply(A)}applyToPoint(A){for(var{transforms:e}=this,r=e.length,n=0;n<r;n++)e[n].applyToPoint(A)}}li.transformTypes={translate:h5,rotate:g5,scale:d5,matrix:xd,skewX:p5,skewY:v5};class Me{constructor(A,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=A,this.node=e,this.captureTextNodes=r,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!(!e||e.nodeType!==1)){if(Array.from(e.attributes).forEach(s=>{var o=a5(s.nodeName);this.attributes[o]=new WA(A,o,s.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var n=this.getAttribute("style").getString().split(";").map(s=>s.trim());n.forEach(s=>{if(s){var[o,l]=s.split(":").map(f=>f.trim());this.styles[o]=new WA(A,o,l)}})}var{definitions:i}=A,a=this.getAttribute("id");a.hasValue()&&(i[a.getString()]||(i[a.getString()]=this)),Array.from(e.childNodes).forEach(s=>{if(s.nodeType===1)this.addChild(s);else if(r&&(s.nodeType===3||s.nodeType===4)){var o=A.createTextNode(s);o.getText().length>0&&this.addChild(o)}})}}getAttribute(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.attributes[A];if(!r&&e){var n=new WA(this.document,A,"");return this.attributes[A]=n,n}return r||WA.empty(this.document)}getHrefAttribute(){for(var A in this.attributes)if(A==="href"||A.endsWith(":href"))return this.attributes[A];return WA.empty(this.document)}getStyle(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=this.styles[A];if(n)return n;var i=this.getAttribute(A);if(i!=null&&i.hasValue())return this.styles[A]=i,i;if(!r){var{parent:a}=this;if(a){var s=a.getStyle(A);if(s!=null&&s.hasValue())return s}}if(e){var o=new WA(this.document,A,"");return this.styles[A]=o,o}return n||WA.empty(this.document)}render(A){if(!(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")){if(A.save(),this.getStyle("mask").hasValue()){var e=this.getStyle("mask").getDefinition();e&&(this.applyEffects(A),e.apply(A,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(A),r.apply(A,this))}else this.setContext(A),this.renderChildren(A),this.clearContext(A);A.restore()}}setContext(A){}applyEffects(A){var e=li.fromElement(this.document,this);e&&e.apply(A);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var n=r.getDefinition();n&&n.apply(A)}}clearContext(A){}renderChildren(A){this.children.forEach(e=>{e.render(A)})}addChild(A){var e=A instanceof Me?A:this.document.createElement(A);e.parent=this,Me.ignoreChildTypes.includes(e.type)||this.children.push(e)}matchesSelector(A){var e,{node:r}=this;if(typeof r.matches=="function")return r.matches(A);var n=(e=r.getAttribute)===null||e===void 0?void 0:e.call(r,"class");return!n||n===""?!1:n.split(" ").some(i=>".".concat(i)===A)}addStylesFromStyleDefinition(){var{styles:A,stylesSpecificity:e}=this.document;for(var r in A)if(!r.startsWith("@")&&this.matchesSelector(r)){var n=A[r],i=e[r];if(n)for(var a in n){var s=this.stylesSpecificity[a];typeof s>"u"&&(s="000"),i>=s&&(this.styles[a]=n[a],this.stylesSpecificity[a]=i)}}}removeStyles(A,e){var r=e.reduce((n,i)=>{var a=A.getStyle(i);if(!a.hasValue())return n;var s=a.getString();return a.setValue(""),[...n,[i,s]]},[]);return r}restoreStyles(A,e){e.forEach(r=>{var[n,i]=r;A.getStyle(n,!0).setValue(i)})}isFirstChild(){var A;return((A=this.parent)===null||A===void 0?void 0:A.children.indexOf(this))===0}}Me.ignoreChildTypes=["title"];class B5 extends Me{constructor(A,e,r){super(A,e,r)}}function $H(t){var A=t.trim();return/^('|")/.test(A)?A:'"'.concat(A,'"')}function qH(t){return typeof process>"u"?t:t.trim().split(",").map($H).join(",")}function WH(t){if(!t)return"";var A=t.trim().toLowerCase();switch(A){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return A;default:return/^oblique\s+(-|)\d+deg$/.test(A)?A:""}}function zH(t){if(!t)return"";var A=t.trim().toLowerCase();switch(A){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return A;default:return/^[\d.]+$/.test(A)?A:""}}class Gt{constructor(A,e,r,n,i,a){var s=a?typeof a=="string"?Gt.parse(a):a:{};this.fontFamily=i||s.fontFamily,this.fontSize=n||s.fontSize,this.fontStyle=A||s.fontStyle,this.fontWeight=r||s.fontWeight,this.fontVariant=e||s.fontVariant}static parse(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,r="",n="",i="",a="",s="",o=Xi(A).trim().split(" "),l={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return o.forEach(f=>{switch(!0){case(!l.fontStyle&&Gt.styles.includes(f)):f!=="inherit"&&(r=f),l.fontStyle=!0;break;case(!l.fontVariant&&Gt.variants.includes(f)):f!=="inherit"&&(n=f),l.fontStyle=!0,l.fontVariant=!0;break;case(!l.fontWeight&&Gt.weights.includes(f)):f!=="inherit"&&(i=f),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0;break;case!l.fontSize:f!=="inherit"&&([a]=f.split("/")),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0,l.fontSize=!0;break;default:f!=="inherit"&&(s+=f)}}),new Gt(r,n,i,a,s,e)}toString(){return[WH(this.fontStyle),this.fontVariant,zH(this.fontWeight),this.fontSize,qH(this.fontFamily)].join(" ").trim()}}Gt.styles="normal|italic|oblique|inherit",Gt.variants="normal|small-caps|inherit",Gt.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class xr{constructor(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=A,this.y1=e,this.x2=r,this.y2=n,this.addPoint(A,e),this.addPoint(r,n)}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(A,e){typeof A<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=A,this.x2=A),A<this.x1&&(this.x1=A),A>this.x2&&(this.x2=A)),typeof e<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))}addX(A){this.addPoint(A,null)}addY(A){this.addPoint(null,A)}addBoundingBox(A){if(A){var{x1:e,y1:r,x2:n,y2:i}=A;this.addPoint(e,r),this.addPoint(n,i)}}sumCubic(A,e,r,n,i){return Math.pow(1-A,3)*e+3*Math.pow(1-A,2)*A*r+3*(1-A)*Math.pow(A,2)*n+Math.pow(A,3)*i}bezierCurveAdd(A,e,r,n,i){var a=6*e-12*r+6*n,s=-3*e+9*r-9*n+3*i,o=3*r-3*e;if(s===0){if(a===0)return;var l=-o/a;0<l&&l<1&&(A?this.addX(this.sumCubic(l,e,r,n,i)):this.addY(this.sumCubic(l,e,r,n,i)));return}var f=Math.pow(a,2)-4*o*s;if(!(f<0)){var d=(-a+Math.sqrt(f))/(2*s);0<d&&d<1&&(A?this.addX(this.sumCubic(d,e,r,n,i)):this.addY(this.sumCubic(d,e,r,n,i)));var p=(-a-Math.sqrt(f))/(2*s);0<p&&p<1&&(A?this.addX(this.sumCubic(p,e,r,n,i)):this.addY(this.sumCubic(p,e,r,n,i)))}}addBezierCurve(A,e,r,n,i,a,s,o){this.addPoint(A,e),this.addPoint(s,o),this.bezierCurveAdd(!0,A,r,i,s),this.bezierCurveAdd(!1,e,n,a,o)}addQuadraticCurve(A,e,r,n,i,a){var s=A+.6666666666666666*(r-A),o=e+2/3*(n-e),l=s+1/3*(i-A),f=o+1/3*(a-e);this.addBezierCurve(A,e,s,l,o,f,i,a)}isPointInBox(A,e){var{x1:r,y1:n,x2:i,y2:a}=this;return r<=A&&A<=i&&n<=e&&e<=a}}class oe extends CA{constructor(A){super(A.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 Ze(0,0),this.control=new Ze(0,0),this.current=new Ze(0,0),this.points=[],this.angles=[]}isEnd(){var{i:A,commands:e}=this;return A>=e.length-1}next(){var A=this.commands[++this.i];return this.previousCommand=this.command,this.command=A,A}getPoint(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",r=new Ze(this.command[A],this.command[e]);return this.makeAbsolute(r)}getAsControlPoint(A,e){var r=this.getPoint(A,e);return this.control=r,r}getAsCurrentPoint(A,e){var r=this.getPoint(A,e);return this.current=r,r}getReflectedControlPoint(){var A=this.previousCommand.type;if(A!==CA.CURVE_TO&&A!==CA.SMOOTH_CURVE_TO&&A!==CA.QUAD_TO&&A!==CA.SMOOTH_QUAD_TO)return this.current;var{current:{x:e,y:r},control:{x:n,y:i}}=this,a=new Ze(2*e-n,2*r-i);return a}makeAbsolute(A){if(this.command.relative){var{x:e,y:r}=this.current;A.x+=e,A.y+=r}return A}addMarker(A,e,r){var{points:n,angles:i}=this;r&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=n[n.length-1].angleTo(r)),this.addMarkerAngle(A,e?e.angleTo(A):null)}addMarkerAngle(A,e){this.points.push(A),this.angles.push(e)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:A}=this,e=A.length,r=0;r<e;r++)if(!A[r]){for(var n=r+1;n<e;n++)if(A[n]){A[r]=A[n];break}}return A}}class ci extends Me{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var A=1,e=this;e;){var r=e.getStyle("opacity",!1,!0);r.hasValue(!0)&&(A*=r.getNumber()),e=e.parent}return A}setContext(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!e){var r=this.getStyle("fill"),n=this.getStyle("fill-opacity"),i=this.getStyle("stroke"),a=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var s=r.getFillStyleDefinition(this,n);s&&(A.fillStyle=s)}else if(r.hasValue()){r.getString()==="currentColor"&&r.setValue(this.getStyle("color").getColor());var o=r.getColor();o!=="inherit"&&(A.fillStyle=o==="none"?"rgba(0,0,0,0)":o)}if(n.hasValue()){var l=new WA(this.document,"fill",A.fillStyle).addOpacity(n).getColor();A.fillStyle=l}if(i.isUrlDefinition()){var f=i.getFillStyleDefinition(this,a);f&&(A.strokeStyle=f)}else if(i.hasValue()){i.getString()==="currentColor"&&i.setValue(this.getStyle("color").getColor());var d=i.getString();d!=="inherit"&&(A.strokeStyle=d==="none"?"rgba(0,0,0,0)":d)}if(a.hasValue()){var p=new WA(this.document,"stroke",A.strokeStyle).addOpacity(a).getString();A.strokeStyle=p}var h=this.getStyle("stroke-width");if(h.hasValue()){var m=h.getPixels();A.lineWidth=m||Ji}var w=this.getStyle("stroke-linecap"),b=this.getStyle("stroke-linejoin"),y=this.getStyle("stroke-miterlimit"),U=this.getStyle("stroke-dasharray"),T=this.getStyle("stroke-dashoffset");if(w.hasValue()&&(A.lineCap=w.getString()),b.hasValue()&&(A.lineJoin=b.getString()),y.hasValue()&&(A.miterLimit=y.getNumber()),U.hasValue()&&U.getString()!=="none"){var k=sr(U.getString());typeof A.setLineDash<"u"?A.setLineDash(k):typeof A.webkitLineDash<"u"?A.webkitLineDash=k:typeof A.mozDash<"u"&&!(k.length===1&&k[0]===0)&&(A.mozDash=k);var G=T.getPixels();typeof A.lineDashOffset<"u"?A.lineDashOffset=G:typeof A.webkitLineDashOffset<"u"?A.webkitLineDashOffset=G:typeof A.mozDashOffset<"u"&&(A.mozDashOffset=G)}}if(this.modifiedEmSizeStack=!1,typeof A.font<"u"){var j=this.getStyle("font"),K=this.getStyle("font-style"),O=this.getStyle("font-variant"),Z=this.getStyle("font-weight"),aA=this.getStyle("font-size"),N=this.getStyle("font-family"),S=new Gt(K.getString(),O.getString(),Z.getString(),aA.hasValue()?"".concat(aA.getPixels(!0),"px"):"",N.getString(),Gt.parse(j.getString(),A.font));K.setValue(S.fontStyle),O.setValue(S.fontVariant),Z.setValue(S.fontWeight),aA.setValue(S.fontSize),N.setValue(S.fontFamily),A.font=S.toString(),aA.isPixels()&&(this.document.emSize=aA.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(A),A.globalAlpha=this.calculateOpacity())}clearContext(A){super.clearContext(A),this.modifiedEmSizeStack&&this.document.popEmSize()}}class Ie extends ci{constructor(A,e,r){super(A,e,r),this.type="path",this.pathParser=null,this.pathParser=new oe(this.getAttribute("d").getString())}path(A){var{pathParser:e}=this,r=new xr;for(e.reset(),A&&A.beginPath();!e.isEnd();)switch(e.next().type){case oe.MOVE_TO:this.pathM(A,r);break;case oe.LINE_TO:this.pathL(A,r);break;case oe.HORIZ_LINE_TO:this.pathH(A,r);break;case oe.VERT_LINE_TO:this.pathV(A,r);break;case oe.CURVE_TO:this.pathC(A,r);break;case oe.SMOOTH_CURVE_TO:this.pathS(A,r);break;case oe.QUAD_TO:this.pathQ(A,r);break;case oe.SMOOTH_QUAD_TO:this.pathT(A,r);break;case oe.ARC:this.pathA(A,r);break;case oe.CLOSE_PATH:this.pathZ(A,r);break}return r}getBoundingBox(A){return this.path()}getMarkers(){var{pathParser:A}=this,e=A.getMarkerPoints(),r=A.getMarkerAngles(),n=e.map((i,a)=>[i,r[a]]);return n}renderChildren(A){this.path(A),this.document.screen.mouse.checkPath(this,A);var e=this.getStyle("fill-rule");A.fillStyle!==""&&(e.getString("inherit")!=="inherit"?A.fill(e.getString()):A.fill()),A.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(A.save(),A.setTransform(1,0,0,1,0,0),A.stroke(),A.restore()):A.stroke());var r=this.getMarkers();if(r){var n=r.length-1,i=this.getStyle("marker-start"),a=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(i.isUrlDefinition()){var o=i.getDefinition(),[l,f]=r[0];o.render(A,l,f)}if(a.isUrlDefinition())for(var d=a.getDefinition(),p=1;p<n;p++){var[h,m]=r[p];d.render(A,h,m)}if(s.isUrlDefinition()){var w=s.getDefinition(),[b,y]=r[n];w.render(A,b,y)}}}static pathM(A){var e=A.getAsCurrentPoint();return A.start=A.current,{point:e}}pathM(A,e){var{pathParser:r}=this,{point:n}=Ie.pathM(r),{x:i,y:a}=n;r.addMarker(n),e.addPoint(i,a),A&&A.moveTo(i,a)}static pathL(A){var{current:e}=A,r=A.getAsCurrentPoint();return{current:e,point:r}}pathL(A,e){var{pathParser:r}=this,{current:n,point:i}=Ie.pathL(r),{x:a,y:s}=i;r.addMarker(i,n),e.addPoint(a,s),A&&A.lineTo(a,s)}static pathH(A){var{current:e,command:r}=A,n=new Ze((r.relative?e.x:0)+r.x,e.y);return A.current=n,{current:e,point:n}}pathH(A,e){var{pathParser:r}=this,{current:n,point:i}=Ie.pathH(r),{x:a,y:s}=i;r.addMarker(i,n),e.addPoint(a,s),A&&A.lineTo(a,s)}static pathV(A){var{current:e,command:r}=A,n=new Ze(e.x,(r.relative?e.y:0)+r.y);return A.current=n,{current:e,point:n}}pathV(A,e){var{pathParser:r}=this,{current:n,point:i}=Ie.pathV(r),{x:a,y:s}=i;r.addMarker(i,n),e.addPoint(a,s),A&&A.lineTo(a,s)}static pathC(A){var{current:e}=A,r=A.getPoint("x1","y1"),n=A.getAsControlPoint("x2","y2"),i=A.getAsCurrentPoint();return{current:e,point:r,controlPoint:n,currentPoint:i}}pathC(A,e){var{pathParser:r}=this,{current:n,point:i,controlPoint:a,currentPoint:s}=Ie.pathC(r);r.addMarker(s,a,i),e.addBezierCurve(n.x,n.y,i.x,i.y,a.x,a.y,s.x,s.y),A&&A.bezierCurveTo(i.x,i.y,a.x,a.y,s.x,s.y)}static pathS(A){var{current:e}=A,r=A.getReflectedControlPoint(),n=A.getAsControlPoint("x2","y2"),i=A.getAsCurrentPoint();return{current:e,point:r,controlPoint:n,currentPoint:i}}pathS(A,e){var{pathParser:r}=this,{current:n,point:i,controlPoint:a,currentPoint:s}=Ie.pathS(r);r.addMarker(s,a,i),e.addBezierCurve(n.x,n.y,i.x,i.y,a.x,a.y,s.x,s.y),A&&A.bezierCurveTo(i.x,i.y,a.x,a.y,s.x,s.y)}static pathQ(A){var{current:e}=A,r=A.getAsControlPoint("x1","y1"),n=A.getAsCurrentPoint();return{current:e,controlPoint:r,currentPoint:n}}pathQ(A,e){var{pathParser:r}=this,{current:n,controlPoint:i,currentPoint:a}=Ie.pathQ(r);r.addMarker(a,i,i),e.addQuadraticCurve(n.x,n.y,i.x,i.y,a.x,a.y),A&&A.quadraticCurveTo(i.x,i.y,a.x,a.y)}static pathT(A){var{current:e}=A,r=A.getReflectedControlPoint();A.control=r;var n=A.getAsCurrentPoint();return{current:e,controlPoint:r,currentPoint:n}}pathT(A,e){var{pathParser:r}=this,{current:n,controlPoint:i,currentPoint:a}=Ie.pathT(r);r.addMarker(a,i,i),e.addQuadraticCurve(n.x,n.y,i.x,i.y,a.x,a.y),A&&A.quadraticCurveTo(i.x,i.y,a.x,a.y)}static pathA(A){var{current:e,command:r}=A,{rX:n,rY:i,xRot:a,lArcFlag:s,sweepFlag:o}=r,l=a*(Math.PI/180),f=A.getAsCurrentPoint(),d=new Ze(Math.cos(l)*(e.x-f.x)/2+Math.sin(l)*(e.y-f.y)/2,-Math.sin(l)*(e.x-f.x)/2+Math.cos(l)*(e.y-f.y)/2),p=Math.pow(d.x,2)/Math.pow(n,2)+Math.pow(d.y,2)/Math.pow(i,2);p>1&&(n*=Math.sqrt(p),i*=Math.sqrt(p));var h=(s===o?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(i,2)-Math.pow(n,2)*Math.pow(d.y,2)-Math.pow(i,2)*Math.pow(d.x,2))/(Math.pow(n,2)*Math.pow(d.y,2)+Math.pow(i,2)*Math.pow(d.x,2)));isNaN(h)&&(h=0);var m=new Ze(h*n*d.y/i,h*-i*d.x/n),w=new Ze((e.x+f.x)/2+Math.cos(l)*m.x-Math.sin(l)*m.y,(e.y+f.y)/2+Math.sin(l)*m.x+Math.cos(l)*m.y),b=md([1,0],[(d.x-m.x)/n,(d.y-m.y)/i]),y=[(d.x-m.x)/n,(d.y-m.y)/i],U=[(-d.x-m.x)/n,(-d.y-m.y)/i],T=md(y,U);return $l(y,U)<=-1&&(T=Math.PI),$l(y,U)>=1&&(T=0),{currentPoint:f,rX:n,rY:i,sweepFlag:o,xAxisRotation:l,centp:w,a1:b,ad:T}}pathA(A,e){var{pathParser:r}=this,{currentPoint:n,rX:i,rY:a,sweepFlag:s,xAxisRotation:o,centp:l,a1:f,ad:d}=Ie.pathA(r),p=1-s?1:-1,h=f+p*(d/2),m=new Ze(l.x+i*Math.cos(h),l.y+a*Math.sin(h));if(r.addMarkerAngle(m,h-p*Math.PI/2),r.addMarkerAngle(n,h-p*Math.PI),e.addPoint(n.x,n.y),A&&!isNaN(f)&&!isNaN(d)){var w=i>a?i:a,b=i>a?1:i/a,y=i>a?a/i:1;A.translate(l.x,l.y),A.rotate(o),A.scale(b,y),A.arc(0,0,w,f,f+d,!!(1-s)),A.scale(1/b,1/y),A.rotate(-o),A.translate(-l.x,-l.y)}}static pathZ(A){A.current=A.start}pathZ(A,e){Ie.pathZ(this.pathParser),A&&e.x1!==e.x2&&e.y1!==e.y2&&A.closePath()}}class Sd extends Ie{constructor(A,e,r){super(A,e,r),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 Tn extends ci{constructor(A,e,r){super(A,e,new.target===Tn?!0:r),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(A,e);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(A.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(A){if(this.type!=="text")return this.getTElementBoundingBox(A);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(A);var e=null;return this.children.forEach((r,n)=>{var i=this.getChildBoundingBox(A,this,this,n);e?e.addBoundingBox(i):e=i}),e}getFontSize(){var{document:A,parent:e}=this,r=Gt.parse(A.ctx.font).fontSize,n=e.getStyle("font-size").getNumber(r);return n}getTElementBoundingBox(A){var e=this.getFontSize();return new xr(this.x,this.y-e,this.x+this.measureText(A),this.y)}getGlyph(A,e,r){var n=e[r],i=null;if(A.isArabic){var a=e.length,s=e[r-1],o=e[r+1],l="isolated";if((r===0||s===" ")&&r<a-1&&o!==" "&&(l="terminal"),r>0&&s!==" "&&r<a-1&&o!==" "&&(l="medial"),r>0&&s!==" "&&(r===a-1||o===" ")&&(l="initial"),typeof A.glyphs[n]<"u"){var f=A.glyphs[n];i=f instanceof Sd?f:f[l]}}else i=A.glyphs[n];return i||(i=A.missingGlyph),i}getText(){return""}getTextFromNode(A){var e=A||this.node,r=Array.from(e.parentNode.childNodes),n=r.indexOf(e),i=r.length-1,a=Xi(e.textContent||"");return n===0&&(a=n5(a)),n===i&&(a=i5(a)),a}renderChildren(A){if(this.type!=="text"){this.renderTElementChildren(A);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(A),this.children.forEach((r,n)=>{this.renderChild(A,this,this,n)});var{mouse:e}=this.document.screen;e.isWorking()&&e.checkBoundingBox(this,this.getBoundingBox(A))}renderTElementChildren(A){var{document:e,parent:r}=this,n=this.getText(),i=r.getStyle("font-family").getDefinition();if(i){for(var{unitsPerEm:a}=i.fontFace,s=Gt.parse(e.ctx.font),o=r.getStyle("font-size").getNumber(s.fontSize),l=r.getStyle("font-style").getString(s.fontStyle),f=o/a,d=i.isRTL?n.split("").reverse().join(""):n,p=sr(r.getAttribute("dx").getString()),h=d.length,m=0;m<h;m++){var w=this.getGlyph(i,d,m);A.translate(this.x,this.y),A.scale(f,-f);var b=A.lineWidth;A.lineWidth=A.lineWidth*a/o,l==="italic"&&A.transform(1,0,.4,1,0,0),w.render(A),l==="italic"&&A.transform(1,0,-.4,1,0,0),A.lineWidth=b,A.scale(1/f,-1/f),A.translate(-this.x,-this.y),this.x+=o*(w.horizAdvX||i.horizAdvX)/a,typeof p[m]<"u"&&!isNaN(p[m])&&(this.x+=p[m])}return}var{x:y,y:U}=this;A.fillStyle&&A.fillText(n,y,U),A.strokeStyle&&A.strokeText(n,y,U)}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var A=this.leafTexts[this.textChunkStart],e=A.getStyle("text-anchor").getString("start"),r=!1,n=0;e==="start"&&!r||e==="end"&&r?n=A.x-this.minX:e==="end"&&!r||e==="start"&&r?n=A.x-this.maxX:n=A.x-(this.minX+this.maxX)/2;for(var i=this.textChunkStart;i<this.leafTexts.length;i++)this.leafTexts[i].x+=n;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(A){this.children.forEach((e,r)=>{this.adjustChildCoordinatesRecursiveCore(A,this,this,r)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(A,e,r,n){var i=r.children[n];i.children.length>0?i.children.forEach((a,s)=>{e.adjustChildCoordinatesRecursiveCore(A,e,i,s)}):this.adjustChildCoordinates(A,e,r,n)}adjustChildCoordinates(A,e,r,n){var i=r.children[n];if(typeof i.measureText!="function")return i;A.save(),i.setContext(A,!0);var a=i.getAttribute("x"),s=i.getAttribute("y"),o=i.getAttribute("dx"),l=i.getAttribute("dy"),f=i.getStyle("font-family").getDefinition(),d=!!f&&f.isRTL;n===0&&(a.hasValue()||a.setValue(i.getInheritedAttribute("x")),s.hasValue()||s.setValue(i.getInheritedAttribute("y")),o.hasValue()||o.setValue(i.getInheritedAttribute("dx")),l.hasValue()||l.setValue(i.getInheritedAttribute("dy")));var p=i.measureText(A);return d&&(e.x-=p),a.hasValue()?(e.applyAnchoring(),i.x=a.getPixels("x"),o.hasValue()&&(i.x+=o.getPixels("x"))):(o.hasValue()&&(e.x+=o.getPixels("x")),i.x=e.x),e.x=i.x,d||(e.x+=p),s.hasValue()?(i.y=s.getPixels("y"),l.hasValue()&&(i.y+=l.getPixels("y"))):(l.hasValue()&&(e.y+=l.getPixels("y")),i.y=e.y),e.y=i.y,e.leafTexts.push(i),e.minX=Math.min(e.minX,i.x,i.x+p),e.maxX=Math.max(e.maxX,i.x,i.x+p),i.clearContext(A),A.restore(),i}getChildBoundingBox(A,e,r,n){var i=r.children[n];if(typeof i.getBoundingBox!="function")return null;var a=i.getBoundingBox(A);return a?(i.children.forEach((s,o)=>{var l=e.getChildBoundingBox(A,e,i,o);a.addBoundingBox(l)}),a):null}renderChild(A,e,r,n){var i=r.children[n];i.render(A),i.children.forEach((a,s)=>{e.renderChild(A,e,i,s)})}measureText(A){var{measureCache:e}=this;if(~e)return e;var r=this.getText(),n=this.measureTargetText(A,r);return this.measureCache=n,n}measureTargetText(A,e){if(!e.length)return 0;var{parent:r}=this,n=r.getStyle("font-family").getDefinition();if(n){for(var i=this.getFontSize(),a=n.isRTL?e.split("").reverse().join(""):e,s=sr(r.getAttribute("dx").getString()),o=a.length,l=0,f=0;f<o;f++){var d=this.getGlyph(n,a,f);l+=(d.horizAdvX||n.horizAdvX)*i/n.fontFace.unitsPerEm,typeof s[f]<"u"&&!isNaN(s[f])&&(l+=s[f])}return l}if(!A.measureText)return e.length*10;A.save(),this.setContext(A,!0);var{width:p}=A.measureText(e);return this.clearContext(A),A.restore(),p}getInheritedAttribute(A){for(var e=this;e instanceof Tn&&e.isFirstChild();){var r=e.parent.getAttribute(A);if(r.hasValue(!0))return r.getValue("0");e=e.parent}return null}}class co extends Tn{constructor(A,e,r){super(A,e,new.target===co?!0:r),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class XH extends co{constructor(){super(...arguments),this.type="textNode"}}class qa extends ci{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(A){var e,{document:r}=this,{screen:n,window:i}=r,a=A.canvas;if(n.setDefaults(A),a.style&&typeof A.font<"u"&&i&&typeof i.getComputedStyle<"u"){A.font=i.getComputedStyle(a).getPropertyValue("font");var s=new WA(r,"fontSize",Gt.parse(A.font).fontSize);s.hasValue()&&(r.rootEmSize=s.getPixels("y"),r.emSize=r.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:l}=n.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 f=this.getAttribute("refX"),d=this.getAttribute("refY"),p=this.getAttribute("viewBox"),h=p.hasValue()?sr(p.getString()):null,m=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",w=0,b=0,y=0,U=0;h&&(w=h[0],b=h[1]),this.root||(o=this.getStyle("width").getPixels("x"),l=this.getStyle("height").getPixels("y"),this.type==="marker"&&(y=w,U=b,w=0,b=0)),n.viewPort.setCurrent(o,l),this.node&&(!this.parent||((e=this.node.parentNode)===null||e===void 0?void 0:e.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(A),A.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),h&&(o=h[2],l=h[3]),r.setViewBox({ctx:A,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:n.viewPort.width,desiredWidth:o,height:n.viewPort.height,desiredHeight:l,minX:w,minY:b,refX:f.getValue(),refY:d.getValue(),clip:m,clipX:y,clipY:U}),h&&(n.viewPort.removeCurrent(),n.viewPort.setCurrent(o,l))}clearContext(A){super.clearContext(A),this.document.screen.viewPort.removeCurrent()}resize(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=this.getAttribute("width",!0),i=this.getAttribute("height",!0),a=this.getAttribute("viewBox"),s=this.getAttribute("style"),o=n.getNumber(0),l=i.getNumber(0);if(r)if(typeof r=="string")this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var f=this.getAttribute("preserveAspectRatio");f.hasValue()&&f.setValue(f.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(n.setValue(A),i.setValue(e),a.hasValue()||a.setValue("0 0 ".concat(o||A," ").concat(l||e)),s.hasValue()){var d=this.getStyle("width"),p=this.getStyle("height");d.hasValue()&&d.setValue("".concat(A,"px")),p.hasValue()&&p.setValue("".concat(e,"px"))}}}class Ld extends Ie{constructor(){super(...arguments),this.type="rect"}path(A){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),n=this.getStyle("width",!1,!0).getPixels("x"),i=this.getStyle("height",!1,!0).getPixels("y"),a=this.getAttribute("rx"),s=this.getAttribute("ry"),o=a.getPixels("x"),l=s.getPixels("y");if(a.hasValue()&&!s.hasValue()&&(l=o),s.hasValue()&&!a.hasValue()&&(o=l),o=Math.min(o,n/2),l=Math.min(l,i/2),A){var f=4*((Math.sqrt(2)-1)/3);A.beginPath(),i>0&&n>0&&(A.moveTo(e+o,r),A.lineTo(e+n-o,r),A.bezierCurveTo(e+n-o+f*o,r,e+n,r+l-f*l,e+n,r+l),A.lineTo(e+n,r+i-l),A.bezierCurveTo(e+n,r+i-l+f*l,e+n-o+f*o,r+i,e+n-o,r+i),A.lineTo(e+o,r+i),A.bezierCurveTo(e+o-f*o,r+i,e,r+i-l+f*l,e,r+i-l),A.lineTo(e,r+l),A.bezierCurveTo(e,r+l-f*l,e+o-f*o,r,e+o,r),A.closePath())}return new xr(e,r,e+n,r+i)}getMarkers(){return null}}class w5 extends Ie{constructor(){super(...arguments),this.type="circle"}path(A){var e=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),n=this.getAttribute("r").getPixels();return A&&n>0&&(A.beginPath(),A.arc(e,r,n,0,Math.PI*2,!1),A.closePath()),new xr(e-n,r-n,e+n,r+n)}getMarkers(){return null}}class m5 extends Ie{constructor(){super(...arguments),this.type="ellipse"}path(A){var e=4*((Math.sqrt(2)-1)/3),r=this.getAttribute("rx").getPixels("x"),n=this.getAttribute("ry").getPixels("y"),i=this.getAttribute("cx").getPixels("x"),a=this.getAttribute("cy").getPixels("y");return A&&r>0&&n>0&&(A.beginPath(),A.moveTo(i+r,a),A.bezierCurveTo(i+r,a+e*n,i+e*r,a+n,i,a+n),A.bezierCurveTo(i-e*r,a+n,i-r,a+e*n,i-r,a),A.bezierCurveTo(i-r,a-e*n,i-e*r,a-n,i,a-n),A.bezierCurveTo(i+e*r,a-n,i+r,a-e*n,i+r,a),A.closePath()),new xr(i-r,a-n,i+r,a+n)}getMarkers(){return null}}class y5 extends Ie{constructor(){super(...arguments),this.type="line"}getPoints(){return[new Ze(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Ze(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(A){var[{x:e,y:r},{x:n,y:i}]=this.getPoints();return A&&(A.beginPath(),A.moveTo(e,r),A.lineTo(n,i)),new xr(e,r,n,i)}getMarkers(){var[A,e]=this.getPoints(),r=A.angleTo(e);return[[A,r],[e,r]]}}class Nd extends Ie{constructor(A,e,r){super(A,e,r),this.type="polyline",this.points=[],this.points=Ze.parsePath(this.getAttribute("points").getString())}path(A){var{points:e}=this,[{x:r,y:n}]=e,i=new xr(r,n);return A&&(A.beginPath(),A.moveTo(r,n)),e.forEach(a=>{var{x:s,y:o}=a;i.addPoint(s,o),A&&A.lineTo(s,o)}),i}getMarkers(){var{points:A}=this,e=A.length-1,r=[];return A.forEach((n,i)=>{i!==e&&r.push([n,n.angleTo(A[i+1])])}),r.length>0&&r.push([A[A.length-1],r[r.length-1][1]]),r}}class C5 extends Nd{constructor(){super(...arguments),this.type="polygon"}path(A){var e=super.path(A),[{x:r,y:n}]=this.points;return A&&(A.lineTo(r,n),A.closePath()),e}}class b5 extends Me{constructor(){super(...arguments),this.type="pattern"}createPattern(A,e,r){var n=this.getStyle("width").getPixels("x",!0),i=this.getStyle("height").getPixels("y",!0),a=new qa(this.document,null);a.attributes.viewBox=new WA(this.document,"viewBox",this.getAttribute("viewBox").getValue()),a.attributes.width=new WA(this.document,"width","".concat(n,"px")),a.attributes.height=new WA(this.document,"height","".concat(i,"px")),a.attributes.transform=new WA(this.document,"transform",this.getAttribute("patternTransform").getValue()),a.children=this.children;var s=this.document.createCanvas(n,i),o=s.getContext("2d"),l=this.getAttribute("x"),f=this.getAttribute("y");l.hasValue()&&f.hasValue()&&o.translate(l.getPixels("x",!0),f.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var d=-1;d<=1;d++)for(var p=-1;p<=1;p++)o.save(),a.attributes.x=new WA(this.document,"x",d*s.width),a.attributes.y=new WA(this.document,"y",p*s.height),a.render(o),o.restore();var h=A.createPattern(s,"repeat");return h}}class F5 extends Me{constructor(){super(...arguments),this.type="marker"}render(A,e,r){if(e){var{x:n,y:i}=e,a=this.getAttribute("orient").getString("auto"),s=this.getAttribute("markerUnits").getString("strokeWidth");A.translate(n,i),a==="auto"&&A.rotate(r),s==="strokeWidth"&&A.scale(A.lineWidth,A.lineWidth),A.save();var o=new qa(this.document,null);o.type=this.type,o.attributes.viewBox=new WA(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.refX=new WA(this.document,"refX",this.getAttribute("refX").getValue()),o.attributes.refY=new WA(this.document,"refY",this.getAttribute("refY").getValue()),o.attributes.width=new WA(this.document,"width",this.getAttribute("markerWidth").getValue()),o.attributes.height=new WA(this.document,"height",this.getAttribute("markerHeight").getValue()),o.attributes.overflow=new WA(this.document,"overflow",this.getAttribute("overflow").getValue()),o.attributes.fill=new WA(this.document,"fill",this.getAttribute("fill").getColor("black")),o.attributes.stroke=new WA(this.document,"stroke",this.getAttribute("stroke").getValue("none")),o.children=this.children,o.render(A),A.restore(),s==="strokeWidth"&&A.scale(1/A.lineWidth,1/A.lineWidth),a==="auto"&&A.rotate(-r),A.translate(-n,-i)}}}class Q5 extends Me{constructor(){super(...arguments),this.type="defs"}render(){}}class Wl extends ci{constructor(){super(...arguments),this.type="g"}getBoundingBox(A){var e=new xr;return this.children.forEach(r=>{e.addBoundingBox(r.getBoundingBox(A))}),e}}class Td extends Me{constructor(A,e,r){super(A,e,r),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:n,children:i}=this;i.forEach(a=>{a.type==="stop"&&n.push(a)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(A,e,r){var n=this;this.getHrefAttribute().hasValue()&&(n=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(n));var{stops:i}=n,a=this.getGradient(A,e);if(!a)return this.addParentOpacity(r,i[i.length-1].color);if(i.forEach(b=>{a.addColorStop(b.offset,this.addParentOpacity(r,b.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:o,viewPort:l}=s.screen,[f]=l.viewPorts,d=new Ld(s,null);d.attributes.x=new WA(s,"x",-o/3),d.attributes.y=new WA(s,"y",-o/3),d.attributes.width=new WA(s,"width",o),d.attributes.height=new WA(s,"height",o);var p=new Wl(s,null);p.attributes.transform=new WA(s,"transform",this.getAttribute("gradientTransform").getValue()),p.children=[d];var h=new qa(s,null);h.attributes.x=new WA(s,"x",0),h.attributes.y=new WA(s,"y",0),h.attributes.width=new WA(s,"width",f.width),h.attributes.height=new WA(s,"height",f.height),h.children=[p];var m=s.createCanvas(f.width,f.height),w=m.getContext("2d");return w.fillStyle=a,h.render(w),w.createPattern(m,"no-repeat")}return a}inheritStopContainer(A){this.attributesToInherit.forEach(e=>{!this.getAttribute(e).hasValue()&&A.getAttribute(e).hasValue()&&this.getAttribute(e,!0).setValue(A.getAttribute(e).getValue())})}addParentOpacity(A,e){if(A.hasValue()){var r=new WA(this.document,"color",e);return r.addOpacity(A).getColor()}return e}}class U5 extends Td{constructor(A,e,r){super(A,e,r),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(A,e){var r=this.getGradientUnits()==="objectBoundingBox",n=r?e.getBoundingBox(A):null;if(r&&!n)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 i=r?n.x+n.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),a=r?n.y+n.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=r?n.x+n.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),o=r?n.y+n.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return i===s&&a===o?null:A.createLinearGradient(i,a,s,o)}}class E5 extends Td{constructor(A,e,r){super(A,e,r),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(A,e){var r=this.getGradientUnits()==="objectBoundingBox",n=e.getBoundingBox(A);if(r&&!n)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 i=r?n.x+n.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),a=r?n.y+n.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=i,o=a;this.getAttribute("fx").hasValue()&&(s=r?n.x+n.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(o=r?n.y+n.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var l=r?(n.width+n.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),f=this.getAttribute("fr").getPixels();return A.createRadialGradient(s,o,f,i,a,l)}}class x5 extends Me{constructor(A,e,r){super(A,e,r),this.type="stop";var n=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),i=this.getStyle("stop-opacity"),a=this.getStyle("stop-color",!0);a.getString()===""&&a.setValue("#000"),i.hasValue()&&(a=a.addOpacity(i)),this.offset=n,this.color=a.getColor()}}class zl extends Me{constructor(A,e,r){super(A,e,r),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,A.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 WA(A,"values",null);var n=this.getAttribute("values");n.hasValue()&&this.values.setValue(n.getString().split(";"))}getProperty(){var A=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return A==="CSS"?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}calcValue(){var{initialUnits:A}=this,{progress:e,from:r,to:n}=this.getProgress(),i=r.getNumber()+(n.getNumber()-r.getNumber())*e;return A==="%"&&(i*=100),"".concat(i).concat(A)}update(A){var{parent:e}=this,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var n=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(n==="freeze"&&!this.frozen)this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=r.getString();else if(n==="remove"&&!this.removed)return this.removed=!0,r.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=A;var i=!1;if(this.begin<this.duration){var a=this.calcValue(),s=this.getAttribute("type");if(s.hasValue()){var o=s.getString();a="".concat(o,"(").concat(a,")")}r.setValue(a),i=!0}return i}getProgress(){var{document:A,values:e}=this,r={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(e.hasValue()){var n=r.progress*(e.getValue().length-1),i=Math.floor(n),a=Math.ceil(n);r.from=new WA(A,"from",parseFloat(e.getValue()[i])),r.to=new WA(A,"to",parseFloat(e.getValue()[a])),r.progress=(n-i)/(a-i)}else r.from=this.from,r.to=this.to;return r}}class I5 extends zl{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:A,from:e,to:r}=this.getProgress(),n=new hd(e.getColor()),i=new hd(r.getColor());if(n.ok&&i.ok){var a=n.r+(i.r-n.r)*A,s=n.g+(i.g-n.g)*A,o=n.b+(i.b-n.b)*A;return"rgb(".concat(Math.floor(a),", ").concat(Math.floor(s),", ").concat(Math.floor(o),")")}return this.getAttribute("from").getColor()}}class S5 extends zl{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:A,from:e,to:r}=this.getProgress(),n=sr(e.getString()),i=sr(r.getString()),a=n.map((s,o)=>{var l=i[o];return s+(l-s)*A}).join(" ");return a}}class L5 extends Me{constructor(A,e,r){super(A,e,r),this.type="font",this.glyphs={},this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:n}=A,{children:i}=this;for(var a of i)switch(a.type){case"font-face":{this.fontFace=a;var s=a.getStyle("font-family");s.hasValue()&&(n[s.getString()]=this);break}case"missing-glyph":this.missingGlyph=a;break;case"glyph":{var o=a;o.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[o.unicode]>"u"&&(this.glyphs[o.unicode]={}),this.glyphs[o.unicode][o.arabicForm]=o):this.glyphs[o.unicode]=o;break}}}render(){}}class N5 extends Me{constructor(A,e,r){super(A,e,r),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 T5 extends Ie{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class O5 extends Tn{constructor(){super(...arguments),this.type="tref"}getText(){var A=this.getHrefAttribute().getDefinition();if(A){var e=A.children[0];if(e)return e.getText()}return""}}class H5 extends Tn{constructor(A,e,r){super(A,e,r),this.type="a";var{childNodes:n}=e,i=n[0],a=n.length>0&&Array.from(n).every(s=>s.nodeType===3);this.hasText=a,this.text=a?this.getTextFromNode(i):""}getText(){return this.text}renderChildren(A){if(this.hasText){super.renderChildren(A);var{document:e,x:r,y:n}=this,{mouse:i}=e.screen,a=new WA(e,"fontSize",Gt.parse(e.ctx.font).fontSize);i.isWorking()&&i.checkBoundingBox(this,new xr(r,n-a.getPixels("y"),r+this.measureText(A),n))}else if(this.children.length>0){var s=new Wl(this.document,null);s.children=this.children,s.parent=this,s.render(A)}}onClick(){var{window:A}=this.document;A&&A.open(this.getHrefAttribute().getString())}onMouseMove(){var A=this.document.ctx;A.canvas.style.cursor="pointer"}}function _5(t,A){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);A&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,r)}return e}function Xl(t){for(var A=1;A<arguments.length;A++){var e=arguments[A]!=null?arguments[A]:{};A%2?_5(Object(e),!0).forEach(function(r){ad(t,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):_5(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}class P5 extends Tn{constructor(A,e,r){super(A,e,r),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var n=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(n)}getText(){return this.text}path(A){var{dataArray:e}=this;A&&A.beginPath(),e.forEach(r=>{var{type:n,points:i}=r;switch(n){case oe.LINE_TO:A&&A.lineTo(i[0],i[1]);break;case oe.MOVE_TO:A&&A.moveTo(i[0],i[1]);break;case oe.CURVE_TO:A&&A.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);break;case oe.QUAD_TO:A&&A.quadraticCurveTo(i[0],i[1],i[2],i[3]);break;case oe.ARC:{var[a,s,o,l,f,d,p,h]=i,m=o>l?o:l,w=o>l?1:o/l,b=o>l?l/o:1;A&&(A.translate(a,s),A.rotate(p),A.scale(w,b),A.arc(0,0,m,f,f+d,!!(1-h)),A.scale(1/w,1/b),A.rotate(-p),A.translate(-a,-s));break}case oe.CLOSE_PATH:A&&A.closePath();break}})}renderChildren(A){this.setTextData(A),A.save();var e=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),{glyphInfo:n}=this,i=A.fillStyle;e==="underline"&&A.beginPath(),n.forEach((a,s)=>{var{p0:o,p1:l,rotation:f,text:d}=a;A.save(),A.translate(o.x,o.y),A.rotate(f),A.fillStyle&&A.fillText(d,0,0),A.strokeStyle&&A.strokeText(d,0,0),A.restore(),e==="underline"&&(s===0&&A.moveTo(o.x,o.y+r/8),A.lineTo(l.x,l.y+r/5))}),e==="underline"&&(A.lineWidth=r/20,A.strokeStyle=i,A.stroke(),A.closePath()),A.restore()}getLetterSpacingAt(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[A]||0}findSegmentToFitChar(A,e,r,n,i,a,s,o,l){var f=a,d=this.measureText(A,o);o===" "&&e==="justify"&&r<n&&(d+=(n-r)/i),l>-1&&(f+=this.getLetterSpacingAt(l));var p=this.textHeight/20,h=this.getEquidistantPointOnPath(f,p,0),m=this.getEquidistantPointOnPath(f+d,p,0),w={p0:h,p1:m},b=h&&m?Math.atan2(m.y-h.y,m.x-h.x):0;if(s){var y=Math.cos(Math.PI/2+b)*s,U=Math.cos(-b)*s;w.p0=Xl(Xl({},h),{},{x:h.x+y,y:h.y+U}),w.p1=Xl(Xl({},m),{},{x:m.x+y,y:m.y+U})}return f+=d,{offset:f,segment:w,rotation:b}}measureText(A,e){var{measuresCache:r}=this,n=e||this.getText();if(r.has(n))return r.get(n);var i=this.measureTargetText(A,n);return r.set(n,i),i}setTextData(A){if(!this.glyphInfo){var e=this.getText(),r=e.split(""),n=e.split(" ").length-1,i=this.parent.getAttribute("dx").split().map(k=>k.getPixels("x")),a=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),o=this.getStyle("letter-spacing"),l=this.parent.getStyle("letter-spacing"),f=0;!o.hasValue()||o.getValue()==="inherit"?f=l.getPixels():o.hasValue()&&o.getValue()!=="initial"&&o.getValue()!=="unset"&&(f=o.getPixels());var d=[],p=e.length;this.letterSpacingCache=d;for(var h=0;h<p;h++)d.push(typeof i[h]<"u"?i[h]:f);var m=d.reduce((k,G,j)=>j===0?0:k+G||0,0),w=this.measureText(A),b=Math.max(w+m,0);this.textWidth=w,this.textHeight=this.getFontSize(),this.glyphInfo=[];var y=this.getPathLength(),U=this.getStyle("startOffset").getNumber(0)*y,T=0;(s==="middle"||s==="center")&&(T=-b/2),(s==="end"||s==="right")&&(T=-b),T+=U,r.forEach((k,G)=>{var{offset:j,segment:K,rotation:O}=this.findSegmentToFitChar(A,s,b,y,n,T,a,k,G);T=j,!(!K.p0||!K.p1)&&this.glyphInfo.push({text:r[G],p0:K.p0,p1:K.p1,rotation:O})})}}parsePathData(A){if(this.pathLength=-1,!A)return[];var e=[],{pathParser:r}=A;for(r.reset();!r.isEnd();){var{current:n}=r,i=n?n.x:0,a=n?n.y:0,s=r.next(),o=s.type,l=[];switch(s.type){case oe.MOVE_TO:this.pathM(r,l);break;case oe.LINE_TO:o=this.pathL(r,l);break;case oe.HORIZ_LINE_TO:o=this.pathH(r,l);break;case oe.VERT_LINE_TO:o=this.pathV(r,l);break;case oe.CURVE_TO:this.pathC(r,l);break;case oe.SMOOTH_CURVE_TO:o=this.pathS(r,l);break;case oe.QUAD_TO:this.pathQ(r,l);break;case oe.SMOOTH_QUAD_TO:o=this.pathT(r,l);break;case oe.ARC:l=this.pathA(r);break;case oe.CLOSE_PATH:Ie.pathZ(r);break}s.type!==oe.CLOSE_PATH?e.push({type:o,points:l,start:{x:i,y:a},pathLength:this.calcLength(i,a,o,l)}):e.push({type:oe.CLOSE_PATH,points:[],pathLength:0})}return e}pathM(A,e){var{x:r,y:n}=Ie.pathM(A).point;e.push(r,n)}pathL(A,e){var{x:r,y:n}=Ie.pathL(A).point;return e.push(r,n),oe.LINE_TO}pathH(A,e){var{x:r,y:n}=Ie.pathH(A).point;return e.push(r,n),oe.LINE_TO}pathV(A,e){var{x:r,y:n}=Ie.pathV(A).point;return e.push(r,n),oe.LINE_TO}pathC(A,e){var{point:r,controlPoint:n,currentPoint:i}=Ie.pathC(A);e.push(r.x,r.y,n.x,n.y,i.x,i.y)}pathS(A,e){var{point:r,controlPoint:n,currentPoint:i}=Ie.pathS(A);return e.push(r.x,r.y,n.x,n.y,i.x,i.y),oe.CURVE_TO}pathQ(A,e){var{controlPoint:r,currentPoint:n}=Ie.pathQ(A);e.push(r.x,r.y,n.x,n.y)}pathT(A,e){var{controlPoint:r,currentPoint:n}=Ie.pathT(A);return e.push(r.x,r.y,n.x,n.y),oe.QUAD_TO}pathA(A){var{rX:e,rY:r,sweepFlag:n,xAxisRotation:i,centp:a,a1:s,ad:o}=Ie.pathA(A);return n===0&&o>0&&(o-=2*Math.PI),n===1&&o<0&&(o+=2*Math.PI),[a.x,a.y,e,r,s,o,i,n]}calcLength(A,e,r,n){var i=0,a=null,s=null,o=0;switch(r){case oe.LINE_TO:return this.getLineLength(A,e,n[0],n[1]);case oe.CURVE_TO:for(i=0,a=this.getPointOnCubicBezier(0,A,e,n[0],n[1],n[2],n[3],n[4],n[5]),o=.01;o<=1;o+=.01)s=this.getPointOnCubicBezier(o,A,e,n[0],n[1],n[2],n[3],n[4],n[5]),i+=this.getLineLength(a.x,a.y,s.x,s.y),a=s;return i;case oe.QUAD_TO:for(i=0,a=this.getPointOnQuadraticBezier(0,A,e,n[0],n[1],n[2],n[3]),o=.01;o<=1;o+=.01)s=this.getPointOnQuadraticBezier(o,A,e,n[0],n[1],n[2],n[3]),i+=this.getLineLength(a.x,a.y,s.x,s.y),a=s;return i;case oe.ARC:{i=0;var l=n[4],f=n[5],d=n[4]+f,p=Math.PI/180;if(Math.abs(l-d)<p&&(p=Math.abs(l-d)),a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],l,0),f<0)for(o=l-p;o>d;o-=p)s=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],o,0),i+=this.getLineLength(a.x,a.y,s.x,s.y),a=s;else for(o=l+p;o<d;o+=p)s=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],o,0),i+=this.getLineLength(a.x,a.y,s.x,s.y),a=s;return s=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],d,0),i+=this.getLineLength(a.x,a.y,s.x,s.y),i}}return 0}getPointOnLine(A,e,r,n,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:r,o=(i-r)/(n-e+Ji),l=Math.sqrt(A*A/(1+o*o));n<e&&(l*=-1);var f=o*l,d=null;if(n===e)d={x:a,y:s+f};else if((s-r)/(a-e+Ji)===o)d={x:a+l,y:s+f};else{var p=0,h=0,m=this.getLineLength(e,r,n,i);if(m<Ji)return null;var w=(a-e)*(n-e)+(s-r)*(i-r);w/=m*m,p=e+w*(n-e),h=r+w*(i-r);var b=this.getLineLength(a,s,p,h),y=Math.sqrt(A*A-b*b);l=Math.sqrt(y*y/(1+o*o)),n<e&&(l*=-1),f=o*l,d={x:p+l,y:h+f}}return d}getPointOnPath(A){var e=this.getPathLength(),r=0,n=null;if(A<-5e-5||A-5e-5>e)return null;var{dataArray:i}=this;for(var a of i){if(a&&(a.pathLength<5e-5||r+a.pathLength+5e-5<A)){r+=a.pathLength;continue}var s=A-r,o=0;switch(a.type){case oe.LINE_TO:n=this.getPointOnLine(s,a.start.x,a.start.y,a.points[0],a.points[1],a.start.x,a.start.y);break;case oe.ARC:{var l=a.points[4],f=a.points[5],d=a.points[4]+f;if(o=l+s/a.pathLength*f,f<0&&o<d||f>=0&&o>d)break;n=this.getPointOnEllipticalArc(a.points[0],a.points[1],a.points[2],a.points[3],o,a.points[6]);break}case oe.CURVE_TO:o=s/a.pathLength,o>1&&(o=1),n=this.getPointOnCubicBezier(o,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3],a.points[4],a.points[5]);break;case oe.QUAD_TO:o=s/a.pathLength,o>1&&(o=1),n=this.getPointOnQuadraticBezier(o,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3]);break}if(n)return n;break}return null}getLineLength(A,e,r,n){return Math.sqrt((r-A)*(r-A)+(n-e)*(n-e))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((A,e)=>e.pathLength>0?A+e.pathLength:A,0)),this.pathLength}getPointOnCubicBezier(A,e,r,n,i,a,s,o,l){var f=o*yd(A)+a*Cd(A)+n*bd(A)+e*Fd(A),d=l*yd(A)+s*Cd(A)+i*bd(A)+r*Fd(A);return{x:f,y:d}}getPointOnQuadraticBezier(A,e,r,n,i,a,s){var o=a*Qd(A)+n*Ud(A)+e*Ed(A),l=s*Qd(A)+i*Ud(A)+r*Ed(A);return{x:o,y:l}}getPointOnEllipticalArc(A,e,r,n,i,a){var s=Math.cos(a),o=Math.sin(a),l={x:r*Math.cos(i),y:n*Math.sin(i)};return{x:A+(l.x*s-l.y*o),y:e+(l.x*o+l.y*s)}}buildEquidistantCache(A,e){var r=this.getPathLength(),n=e||.25,i=A||r/100;if(!this.equidistantCache||this.equidistantCache.step!==i||this.equidistantCache.precision!==n){this.equidistantCache={step:i,precision:n,points:[]};for(var a=0,s=0;s<=r;s+=n){var o=this.getPointOnPath(s),l=this.getPointOnPath(s+n);!o||!l||(a+=this.getLineLength(o.x,o.y,l.x,l.y),a>=i&&(this.equidistantCache.points.push({x:o.x,y:o.y,distance:s}),a-=i))}}}getEquidistantPointOnPath(A,e,r){if(this.buildEquidistantCache(e,r),A<0||A-this.getPathLength()>5e-5)return null;var n=Math.round(A/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[n]||null}}var YH=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class D5 extends ci{constructor(A,e,r){super(A,e,r),this.type="image",this.loaded=!1;var n=this.getHrefAttribute().getString();if(n){var i=n.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(n);A.images.push(this),i?this.loadSvg(n):this.loadImage(n),this.isSvg=i}}loadImage(A){var e=this;return Sn(function*(){try{var r=yield e.document.createImage(A);e.image=r}catch(n){console.error('Error while loading image "'.concat(A,'":'),n)}e.loaded=!0})()}loadSvg(A){var e=this;return Sn(function*(){var r=YH.exec(A);if(r){var n=r[5];r[4]==="base64"?e.image=atob(n):e.image=decodeURIComponent(n)}else try{var i=yield e.document.fetch(A),a=yield i.text();e.image=a}catch(s){console.error('Error while loading image "'.concat(A,'":'),s)}e.loaded=!0})()}renderChildren(A){var{document:e,image:r,loaded:n}=this,i=this.getAttribute("x").getPixels("x"),a=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),o=this.getStyle("height").getPixels("y");if(!(!n||!r||!s||!o)){if(A.save(),A.translate(i,a),this.isSvg){var l=e.canvg.forkString(A,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:o});l.document.documentElement.parent=this,l.render()}else{var f=this.image;e.setViewBox({ctx:A,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:f.width,height:o,desiredHeight:f.height}),this.loaded&&(typeof f.complete>"u"||f.complete)&&A.drawImage(f,0,0)}A.restore()}}getBoundingBox(){var A=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),n=this.getStyle("height").getPixels("y");return new xr(A,e,A+r,e+n)}}class M5 extends ci{constructor(){super(...arguments),this.type="symbol"}render(A){}}class R5{constructor(A){this.document=A,this.loaded=!1,A.fonts.push(this)}load(A,e){var r=this;return Sn(function*(){try{var{document:n}=r,i=yield n.canvg.parser.load(e),a=i.getElementsByTagName("font");Array.from(a).forEach(s=>{var o=n.createElement(s);n.definitions[A]=o})}catch(s){console.error('Error while loading font "'.concat(e,'":'),s)}r.loaded=!0})()}}class Od extends Me{constructor(A,e,r){super(A,e,r),this.type="style";var n=Xi(Array.from(e.childNodes).map(a=>a.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),i=n.split("}");i.forEach(a=>{var s=a.trim();if(s){var o=s.split("{"),l=o[0].split(","),f=o[1].split(";");l.forEach(d=>{var p=d.trim();if(p){var h=A.styles[p]||{};if(f.forEach(b=>{var y=b.indexOf(":"),U=b.substr(0,y).trim(),T=b.substr(y+1,b.length-y).trim();U&&T&&(h[U]=new WA(A,U,T))}),A.styles[p]=h,A.stylesSpecificity[p]=o5(p),p==="@font-face"){var m=h["font-family"].getString().replace(/"|'/g,""),w=h.src.getString().split(",");w.forEach(b=>{if(b.indexOf('format("svg")')>0){var y=Bd(b);y&&new R5(A).load(m,y)}})}}})}})}}Od.parseExternalUrl=Bd;class k5 extends ci{constructor(){super(...arguments),this.type="use"}setContext(A){super.setContext(A);var e=this.getAttribute("x"),r=this.getAttribute("y");e.hasValue()&&A.translate(e.getPixels("x"),0),r.hasValue()&&A.translate(0,r.getPixels("y"))}path(A){var{element:e}=this;e&&e.path(A)}renderChildren(A){var{document:e,element:r}=this;if(r){var n=r;if(r.type==="symbol"&&(n=new qa(e,null),n.attributes.viewBox=new WA(e,"viewBox",r.getAttribute("viewBox").getString()),n.attributes.preserveAspectRatio=new WA(e,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),n.attributes.overflow=new WA(e,"overflow",r.getAttribute("overflow").getString()),n.children=r.children,r.styles.opacity=new WA(e,"opacity",this.calculateOpacity())),n.type==="svg"){var i=this.getStyle("width",!1,!0),a=this.getStyle("height",!1,!0);i.hasValue()&&(n.attributes.width=new WA(e,"width",i.getString())),a.hasValue()&&(n.attributes.height=new WA(e,"height",a.getString()))}var s=n.parent;n.parent=this,n.render(A),n.parent=s}}getBoundingBox(A){var{element:e}=this;return e?e.getBoundingBox(A):null}elementTransform(){var{document:A,element:e}=this;return li.fromElement(A,e)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function Yl(t,A,e,r,n,i){return t[e*r*4+A*4+i]}function Jl(t,A,e,r,n,i,a){t[e*r*4+A*4+i]=a}function dt(t,A,e){var r=t[A];return r*e}function On(t,A,e,r){return A+Math.cos(t)*e+Math.sin(t)*r}class Hd extends Me{constructor(A,e,r){super(A,e,r),this.type="feColorMatrix";var n=sr(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":{var i=n[0];n=[.213+.787*i,.715-.715*i,.072-.072*i,0,0,.213-.213*i,.715+.285*i,.072-.072*i,0,0,.213-.213*i,.715-.715*i,.072+.928*i,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var a=n[0]*Math.PI/180;n=[On(a,.213,.787,-.213),On(a,.715,-.715,-.715),On(a,.072,-.072,.928),0,0,On(a,.213,-.213,.143),On(a,.715,.285,.14),On(a,.072,-.072,-.283),0,0,On(a,.213,-.213,-.787),On(a,.715,-.715,.715),On(a,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":n=[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];break}this.matrix=n,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(A,e,r,n,i){for(var{includeOpacity:a,matrix:s}=this,o=A.getImageData(0,0,n,i),l=0;l<i;l++)for(var f=0;f<n;f++){var d=Yl(o.data,f,l,n,i,0),p=Yl(o.data,f,l,n,i,1),h=Yl(o.data,f,l,n,i,2),m=Yl(o.data,f,l,n,i,3),w=dt(s,0,d)+dt(s,1,p)+dt(s,2,h)+dt(s,3,m)+dt(s,4,1),b=dt(s,5,d)+dt(s,6,p)+dt(s,7,h)+dt(s,8,m)+dt(s,9,1),y=dt(s,10,d)+dt(s,11,p)+dt(s,12,h)+dt(s,13,m)+dt(s,14,1),U=dt(s,15,d)+dt(s,16,p)+dt(s,17,h)+dt(s,18,m)+dt(s,19,1);a&&(w=0,b=0,y=0,U*=m/255),Jl(o.data,f,l,n,i,0,w),Jl(o.data,f,l,n,i,1,b),Jl(o.data,f,l,n,i,2,y),Jl(o.data,f,l,n,i,3,U)}A.clearRect(0,0,n,i),A.putImageData(o,0,0)}}class fo extends Me{constructor(){super(...arguments),this.type="mask"}apply(A,e){var{document:r}=this,n=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y");if(!a&&!s){var o=new xr;this.children.forEach(m=>{o.addBoundingBox(m.getBoundingBox(A))}),n=Math.floor(o.x1),i=Math.floor(o.y1),a=Math.floor(o.width),s=Math.floor(o.height)}var l=this.removeStyles(e,fo.ignoreStyles),f=r.createCanvas(n+a,i+s),d=f.getContext("2d");r.screen.setDefaults(d),this.renderChildren(d),new Hd(r,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(d,0,0,n+a,i+s);var p=r.createCanvas(n+a,i+s),h=p.getContext("2d");r.screen.setDefaults(h),e.render(h),h.globalCompositeOperation="destination-in",h.fillStyle=d.createPattern(f,"no-repeat"),h.fillRect(0,0,n+a,i+s),A.fillStyle=h.createPattern(p,"no-repeat"),A.fillRect(0,0,n+a,i+s),this.restoreStyles(e,l)}render(A){}}fo.ignoreStyles=["mask","transform","clip-path"];var K5=()=>{};class V5 extends Me{constructor(){super(...arguments),this.type="clipPath"}apply(A){var{document:e}=this,r=Reflect.getPrototypeOf(A),{beginPath:n,closePath:i}=A;r&&(r.beginPath=K5,r.closePath=K5),Reflect.apply(n,A,[]),this.children.forEach(a=>{if(!(typeof a.path>"u")){var s=typeof a.elementTransform<"u"?a.elementTransform():null;s||(s=li.fromElement(e,a)),s&&s.apply(A),a.path(A),r&&(r.closePath=i),s&&s.unapply(A)}}),Reflect.apply(i,A,[]),A.clip(),r&&(r.beginPath=n,r.closePath=i)}render(A){}}class ho extends Me{constructor(){super(...arguments),this.type="filter"}apply(A,e){var{document:r,children:n}=this,i=e.getBoundingBox(A);if(i){var a=0,s=0;n.forEach(y=>{var U=y.extraFilterDistance||0;a=Math.max(a,U),s=Math.max(s,U)});var o=Math.floor(i.width),l=Math.floor(i.height),f=o+2*a,d=l+2*s;if(!(f<1||d<1)){var p=Math.floor(i.x),h=Math.floor(i.y),m=this.removeStyles(e,ho.ignoreStyles),w=r.createCanvas(f,d),b=w.getContext("2d");r.screen.setDefaults(b),b.translate(-p+a,-h+s),e.render(b),n.forEach(y=>{typeof y.apply=="function"&&y.apply(b,0,0,f,d)}),A.drawImage(w,0,0,f,d,p-a,h-s,f,d),this.restoreStyles(e,m)}}}render(A){}}ho.ignoreStyles=["filter","transform","clip-path"];class j5 extends Me{constructor(A,e,r){super(A,e,r),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(A,e,r,n,i){}}class G5 extends Me{constructor(){super(...arguments),this.type="feMorphology"}apply(A,e,r,n,i){}}class $5 extends Me{constructor(){super(...arguments),this.type="feComposite"}apply(A,e,r,n,i){}}class q5 extends Me{constructor(A,e,r){super(A,e,r),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(A,e,r,n,i){var{document:a,blurRadius:s}=this,o=a.window?a.window.document.body:null,l=A.canvas;l.id=a.getUniqueId(),o&&(l.style.display="none",o.appendChild(l)),IH(l,e,r,n,i,s),o&&o.removeChild(l)}}class W5 extends Me{constructor(){super(...arguments),this.type="title"}}class z5 extends Me{constructor(){super(...arguments),this.type="desc"}}var JH={svg:qa,rect:Ld,circle:w5,ellipse:m5,line:y5,polyline:Nd,polygon:C5,path:Ie,pattern:b5,marker:F5,defs:Q5,linearGradient:U5,radialGradient:E5,stop:x5,animate:zl,animateColor:I5,animateTransform:S5,font:L5,"font-face":N5,"missing-glyph":T5,glyph:Sd,text:Tn,tspan:co,tref:O5,a:H5,textPath:P5,image:D5,g:Wl,symbol:M5,style:Od,use:k5,mask:fo,clipPath:V5,filter:ho,feDropShadow:j5,feMorphology:G5,feComposite:$5,feColorMatrix:Hd,feGaussianBlur:q5,title:W5,desc:z5};function X5(t,A){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);A&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,r)}return e}function ZH(t){for(var A=1;A<arguments.length;A++){var e=arguments[A]!=null?arguments[A]:{};A%2?X5(Object(e),!0).forEach(function(r){ad(t,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):X5(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}function A_(t,A){var e=document.createElement("canvas");return e.width=t,e.height=A,e}function e_(t){return _d.apply(this,arguments)}function _d(){return _d=Sn(function*(t){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=document.createElement("img");return A&&(e.crossOrigin="Anonymous"),new Promise((r,n)=>{e.onload=()=>{r(e)},e.onerror=(i,a,s,o,l)=>{n(l)},e.src=t})}),_d.apply(this,arguments)}class Hn{constructor(A){var{rootEmSize:e=12,emSize:r=12,createCanvas:n=Hn.createCanvas,createImage:i=Hn.createImage,anonymousCrossOrigin:a}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.canvg=A,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=A.screen,this.rootEmSize=e,this.emSize=r,this.createCanvas=n,this.createImage=this.bindCreateImage(i,a),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(A,e){return typeof e=="boolean"?(r,n)=>A(r,typeof n=="boolean"?n:e):A}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:A}=this;return A[A.length-1]}set emSize(A){var{emSizeStack:e}=this;e.push(A)}popEmSize(){var{emSizeStack:A}=this;A.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(A=>A.loaded)}isFontsLoaded(){return this.fonts.every(A=>A.loaded)}createDocumentElement(A){var e=this.createElement(A.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e,e}createElement(A){var e=A.nodeName.replace(/^[^:]+:/,""),r=Hn.elementTypes[e];return typeof r<"u"?new r(this,A):new B5(this,A)}createTextNode(A){return new XH(this,A)}setViewBox(A){this.screen.setViewBox(ZH({document:this},A))}}Hn.createCanvas=A_,Hn.createImage=e_,Hn.elementTypes=JH;function Y5(t,A){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);A&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,r)}return e}function Zi(t){for(var A=1;A<arguments.length;A++){var e=arguments[A]!=null?arguments[A]:{};A%2?Y5(Object(e),!0).forEach(function(r){ad(t,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Y5(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}class Aa{constructor(A,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new ql(r),this.screen=new lo(A,r),this.options=r;var n=new Hn(this,r),i=n.createDocumentElement(e);this.document=n,this.documentElement=i}static from(A,e){var r=arguments;return Sn(function*(){var n=r.length>2&&r[2]!==void 0?r[2]:{},i=new ql(n),a=yield i.parse(e);return new Aa(A,a,n)})()}static fromString(A,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=new ql(r),i=n.parseFromString(e);return new Aa(A,i,r)}fork(A,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Aa.from(A,e,Zi(Zi({},this.options),r))}forkString(A,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Aa.fromString(A,e,Zi(Zi({},this.options),r))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var A=arguments,e=this;return Sn(function*(){var r=A.length>0&&A[0]!==void 0?A[0]:{};e.start(Zi({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},r)),yield e.ready(),e.stop()})()}start(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{documentElement:e,screen:r,options:n}=this;r.start(e,Zi(Zi({enableRedraw:!0},n),A))}stop(){this.screen.stop()}resize(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(A,e,r)}}const t_=Object.freeze(Object.defineProperty({__proto__:null,AElement:H5,AnimateColorElement:I5,AnimateElement:zl,AnimateTransformElement:S5,BoundingBox:xr,CB1:yd,CB2:Cd,CB3:bd,CB4:Fd,Canvg:Aa,CircleElement:w5,ClipPathElement:V5,DefsElement:Q5,DescElement:z5,Document:Hn,Element:Me,EllipseElement:m5,FeColorMatrixElement:Hd,FeCompositeElement:$5,FeDropShadowElement:j5,FeGaussianBlurElement:q5,FeMorphologyElement:G5,FilterElement:ho,Font:Gt,FontElement:L5,FontFaceElement:N5,GElement:Wl,GlyphElement:Sd,GradientElement:Td,ImageElement:D5,LineElement:y5,LinearGradientElement:U5,MarkerElement:F5,MaskElement:fo,Matrix:xd,MissingGlyphElement:T5,Mouse:l5,PSEUDO_ZERO:Ji,Parser:ql,PathElement:Ie,PathParser:oe,PatternElement:b5,Point:Ze,PolygonElement:C5,PolylineElement:Nd,Property:WA,QB1:Qd,QB2:Ud,QB3:Ed,RadialGradientElement:E5,RectElement:Ld,RenderedElement:ci,Rotate:g5,SVGElement:qa,SVGFontLoader:R5,Scale:d5,Screen:lo,Skew:Id,SkewX:p5,SkewY:v5,StopElement:x5,StyleElement:Od,SymbolElement:M5,TRefElement:O5,TSpanElement:co,TextElement:Tn,TextPathElement:P5,TitleElement:W5,Transform:li,Translate:h5,UnknownElement:B5,UseElement:k5,ViewPort:u5,compressSpaces:Xi,default:Aa,getSelectorSpecificity:o5,normalizeAttributeName:a5,normalizeColor:s5,parseExternalUrl:Bd,presets:TH,toNumbers:sr,trimLeft:n5,trimRight:i5,vectorMagnitude:wd,vectorsAngle:md,vectorsRatio:$l},Symbol.toStringTag,{value:"Module"}));$n.OrgChart=IU,Object.defineProperty($n,Symbol.toStringTag,{value:"Module"})});