p5.zine 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +600 -0
- package/README.md +31 -38
- package/dist/p5.zine.js +570 -0
- package/dist/p5.zine.legacy.js +570 -0
- package/package.json +21 -3
- package/.github/workflows/build.yml +0 -27
- package/build.js +0 -77
- package/scripts/smoke-test.js +0 -53
- package/src/adapters/p5-1.js +0 -65
- package/src/adapters/p5-2.js +0 -46
- package/src/custom.js +0 -430
- package/src/html.js +0 -6
- package/src/index.js +0 -3
- package/src/index.legacy.js +0 -3
- package/src/index.modern.js +0 -3
- package/src/page-size.js +0 -143
- package/src/style.js +0 -28
- package/src/ui.css +0 -245
- package/src/ui.html +0 -33
- package/src/zine.js +0 -1003
- package/test/compat.html +0 -95
- package/test/index.html +0 -19
- package/test/index.legacy.html +0 -19
- package/test/sketch.js +0 -21
|
@@ -0,0 +1,570 @@
|
|
|
1
|
+
/* ==========================================================
|
|
2
|
+
*
|
|
3
|
+
* p5.zine
|
|
4
|
+
* Copyright (c) 2026 Munus Shih, Tuan Huang, Iley Cao
|
|
5
|
+
*
|
|
6
|
+
* Licensed under GNU General Public License.
|
|
7
|
+
* https://www.gnu.org/licenses
|
|
8
|
+
===========================================================*/
|
|
9
|
+
(()=>{var Ib=Object.create;var ug=Object.defineProperty;var Sb=Object.getOwnPropertyDescriptor;var Lb=Object.getOwnPropertyNames;var Nb=Object.getPrototypeOf,Tb=Object.prototype.hasOwnProperty;var ds=(r,A)=>()=>(r&&(A=r(r=0)),A);var pA=(r,A)=>()=>(A||r((A={exports:{}}).exports,A),A.exports),Hb=(r,A)=>{for(var e in A)ug(r,e,{get:A[e],enumerable:!0})},Ob=(r,A,e,t)=>{if(A&&typeof A=="object"||typeof A=="function")for(let n of Lb(A))!Tb.call(r,n)&&n!==e&&ug(r,n,{get:()=>A[n],enumerable:!(t=Sb(A,n))||t.enumerable});return r};var Tr=(r,A,e)=>(e=r!=null?Ib(Nb(r)):{},Ob(A||!r||!r.__esModule?ug(e,"default",{value:r,enumerable:!0}):e,r));function $e(r){"@babel/helpers - typeof";return $e=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},$e(r)}var mc=ds(()=>{});var a1=pA((wg,mg)=>{/*!
|
|
10
|
+
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
11
|
+
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
12
|
+
* Released under MIT License
|
|
13
|
+
*/(function(r,A){typeof wg=="object"&&typeof mg<"u"?mg.exports=A():typeof define=="function"&&define.amd?define(A):(r=typeof globalThis<"u"?globalThis:r||self,r.html2canvas=A())})(wg,function(){"use strict";/*! *****************************************************************************
|
|
14
|
+
Copyright (c) Microsoft Corporation.
|
|
15
|
+
|
|
16
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
17
|
+
purpose with or without fee is hereby granted.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
20
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
21
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
22
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
23
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
24
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
25
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
26
|
+
***************************************************************************** */var r=function(l,u){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,h){f.__proto__=h}||function(f,h){for(var y in h)Object.prototype.hasOwnProperty.call(h,y)&&(f[y]=h[y])},r(l,u)};function A(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");r(l,u);function f(){this.constructor=l}l.prototype=u===null?Object.create(u):(f.prototype=u.prototype,new f)}var e=function(){return e=Object.assign||function(u){for(var f,h=1,y=arguments.length;h<y;h++){f=arguments[h];for(var F in f)Object.prototype.hasOwnProperty.call(f,F)&&(u[F]=f[F])}return u},e.apply(this,arguments)};function t(l,u,f,h){function y(F){return F instanceof f?F:new f(function(T){T(F)})}return new(f||(f=Promise))(function(F,T){function k(oA){try{iA(h.next(oA))}catch(dA){T(dA)}}function R(oA){try{iA(h.throw(oA))}catch(dA){T(dA)}}function iA(oA){oA.done?F(oA.value):y(oA.value).then(k,R)}iA((h=h.apply(l,u||[])).next())})}function n(l,u){var f={label:0,sent:function(){if(F[0]&1)throw F[1];return F[1]},trys:[],ops:[]},h,y,F,T;return T={next:k(0),throw:k(1),return:k(2)},typeof Symbol=="function"&&(T[Symbol.iterator]=function(){return this}),T;function k(iA){return function(oA){return R([iA,oA])}}function R(iA){if(h)throw new TypeError("Generator is already executing.");for(;f;)try{if(h=1,y&&(F=iA[0]&2?y.return:iA[0]?y.throw||((F=y.return)&&F.call(y),0):y.next)&&!(F=F.call(y,iA[1])).done)return F;switch(y=0,F&&(iA=[iA[0]&2,F.value]),iA[0]){case 0:case 1:F=iA;break;case 4:return f.label++,{value:iA[1],done:!1};case 5:f.label++,y=iA[1],iA=[0];continue;case 7:iA=f.ops.pop(),f.trys.pop();continue;default:if(F=f.trys,!(F=F.length>0&&F[F.length-1])&&(iA[0]===6||iA[0]===2)){f=0;continue}if(iA[0]===3&&(!F||iA[1]>F[0]&&iA[1]<F[3])){f.label=iA[1];break}if(iA[0]===6&&f.label<F[1]){f.label=F[1],F=iA;break}if(F&&f.label<F[2]){f.label=F[2],f.ops.push(iA);break}F[2]&&f.ops.pop(),f.trys.pop();continue}iA=u.call(l,f)}catch(oA){iA=[6,oA],y=0}finally{h=F=0}if(iA[0]&5)throw iA[1];return{value:iA[0]?iA[1]:void 0,done:!0}}}function i(l,u,f){if(f||arguments.length===2)for(var h=0,y=u.length,F;h<y;h++)(F||!(h in u))&&(F||(F=Array.prototype.slice.call(u,0,h)),F[h]=u[h]);return l.concat(F||u)}for(var a=function(){function l(u,f,h,y){this.left=u,this.top=f,this.width=h,this.height=y}return l.prototype.add=function(u,f,h,y){return new l(this.left+u,this.top+f,this.width+h,this.height+y)},l.fromClientRect=function(u,f){return new l(f.left+u.windowBounds.left,f.top+u.windowBounds.top,f.width,f.height)},l.fromDOMRectList=function(u,f){var h=Array.from(f).find(function(y){return y.width!==0});return h?new l(h.left+u.windowBounds.left,h.top+u.windowBounds.top,h.width,h.height):l.EMPTY},l.EMPTY=new l(0,0,0,0),l}(),s=function(l,u){return a.fromClientRect(l,u.getBoundingClientRect())},c=function(l){var u=l.body,f=l.documentElement;if(!u||!f)throw new Error("Unable to get document size");var h=Math.max(Math.max(u.scrollWidth,f.scrollWidth),Math.max(u.offsetWidth,f.offsetWidth),Math.max(u.clientWidth,f.clientWidth)),y=Math.max(Math.max(u.scrollHeight,f.scrollHeight),Math.max(u.offsetHeight,f.offsetHeight),Math.max(u.clientHeight,f.clientHeight));return new a(0,0,h,y)},d=function(l){for(var u=[],f=0,h=l.length;f<h;){var y=l.charCodeAt(f++);if(y>=55296&&y<=56319&&f<h){var F=l.charCodeAt(f++);(F&64512)===56320?u.push(((y&1023)<<10)+(F&1023)+65536):(u.push(y),f--)}else u.push(y)}return u},v=function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];if(String.fromCodePoint)return String.fromCodePoint.apply(String,l);var f=l.length;if(!f)return"";for(var h=[],y=-1,F="";++y<f;){var T=l[y];T<=65535?h.push(T):(T-=65536,h.push((T>>10)+55296,T%1024+56320)),(y+1===f||h.length>16384)&&(F+=String.fromCharCode.apply(String,h),h.length=0)}return F},m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",C=typeof Uint8Array>"u"?[]:new Uint8Array(256),p=0;p<m.length;p++)C[m.charCodeAt(p)]=p;for(var x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Q=typeof Uint8Array>"u"?[]:new Uint8Array(256),S=0;S<x.length;S++)Q[x.charCodeAt(S)]=S;for(var U=function(l){var u=l.length*.75,f=l.length,h,y=0,F,T,k,R;l[l.length-1]==="="&&(u--,l[l.length-2]==="="&&u--);var iA=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(u):new Array(u),oA=Array.isArray(iA)?iA:new Uint8Array(iA);for(h=0;h<f;h+=4)F=Q[l.charCodeAt(h)],T=Q[l.charCodeAt(h+1)],k=Q[l.charCodeAt(h+2)],R=Q[l.charCodeAt(h+3)],oA[y++]=F<<2|T>>4,oA[y++]=(T&15)<<4|k>>2,oA[y++]=(k&3)<<6|R&63;return iA},P=function(l){for(var u=l.length,f=[],h=0;h<u;h+=2)f.push(l[h+1]<<8|l[h]);return f},q=function(l){for(var u=l.length,f=[],h=0;h<u;h+=4)f.push(l[h+3]<<24|l[h+2]<<16|l[h+1]<<8|l[h]);return f},Y=5,uA=11,wA=2,J=uA-Y,z=65536>>Y,hA=1<<Y,CA=hA-1,_=1024>>Y,M=z+_,$=M,G=32,yA=$+G,fA=65536>>uA,UA=1<<J,AA=UA-1,vA=function(l,u,f){return l.slice?l.slice(u,f):new Uint16Array(Array.prototype.slice.call(l,u,f))},QA=function(l,u,f){return l.slice?l.slice(u,f):new Uint32Array(Array.prototype.slice.call(l,u,f))},jA=function(l,u){var f=U(l),h=Array.isArray(f)?q(f):new Uint32Array(f),y=Array.isArray(f)?P(f):new Uint16Array(f),F=24,T=vA(y,F/2,h[4]/2),k=h[5]===2?vA(y,(F+h[4])/2):QA(h,Math.ceil((F+h[4])/4));return new L(h[0],h[1],h[2],h[3],T,k)},L=function(){function l(u,f,h,y,F,T){this.initialValue=u,this.errorValue=f,this.highStart=h,this.highValueIndex=y,this.index=F,this.data=T}return l.prototype.get=function(u){var f;if(u>=0){if(u<55296||u>56319&&u<=65535)return f=this.index[u>>Y],f=(f<<wA)+(u&CA),this.data[f];if(u<=65535)return f=this.index[z+(u-55296>>Y)],f=(f<<wA)+(u&CA),this.data[f];if(u<this.highStart)return f=yA-fA+(u>>uA),f=this.index[f],f+=u>>Y&AA,f=this.index[f],f=(f<<wA)+(u&CA),this.data[f];if(u<=1114111)return this.data[this.highValueIndex]}return this.errorValue},l}(),V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",X=typeof Uint8Array>"u"?[]:new Uint8Array(256),Z=0;Z<V.length;Z++)X[V.charCodeAt(Z)]=Z;var sA="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==",mA=50,FA=1,bA=2,VA=3,MA=4,Ae=5,$A=7,pe=8,EA=9,W=10,Ce=11,ce=12,KA=13,zA=14,XA=15,WA=16,oe=17,he=18,Ie=19,LA=20,OA=21,JA=22,GA=23,ue=24,_A=25,De=26,be=27,gt=28,Ge=29,We=30,xr=31,Me=32,Vt=33,Je=34,Ar=35,ut=36,lt=37,Fe=38,ze=39,Nt=40,Ut=41,Er=42,jr=43,we=[9001,65288],Gr="!",Se="\xD7",er="\xF7",bt=jA(sA),Re=[We,ut],tr=[FA,bA,VA,Ae],Dn=[W,pe],zr=[be,De],sn=tr.concat(Dn),Wr=[Fe,ze,Nt,Je,Ar],on=[XA,KA],un=function(l,u){u===void 0&&(u="strict");var f=[],h=[],y=[];return l.forEach(function(F,T){var k=bt.get(F);if(k>mA?(y.push(!0),k-=mA):y.push(!1),["normal","auto","loose"].indexOf(u)!==-1&&[8208,8211,12316,12448].indexOf(F)!==-1)return h.push(T),f.push(WA);if(k===MA||k===Ce){if(T===0)return h.push(T),f.push(We);var R=f[T-1];return sn.indexOf(R)===-1?(h.push(h[T-1]),f.push(R)):(h.push(T),f.push(We))}if(h.push(T),k===xr)return f.push(u==="strict"?OA:lt);if(k===Er||k===Ge)return f.push(We);if(k===jr)return F>=131072&&F<=196605||F>=196608&&F<=262141?f.push(lt):f.push(We);f.push(k)}),[h,f,y]},Ir=function(l,u,f,h){var y=h[f];if(Array.isArray(l)?l.indexOf(y)!==-1:l===y)for(var F=f;F<=h.length;){F++;var T=h[F];if(T===u)return!0;if(T!==W)break}if(y===W)for(var F=f;F>0;){F--;var k=h[F];if(Array.isArray(l)?l.indexOf(k)!==-1:l===k)for(var R=f;R<=h.length;){R++;var T=h[R];if(T===u)return!0;if(T!==W)break}if(k!==W)break}return!1},Pr=function(l,u){for(var f=l;f>=0;){var h=u[f];if(h===W)f--;else return h}return 0},dt=function(l,u,f,h,y){if(f[h]===0)return Se;var F=h-1;if(Array.isArray(y)&&y[F]===!0)return Se;var T=F-1,k=F+1,R=u[F],iA=T>=0?u[T]:0,oA=u[k];if(R===bA&&oA===VA)return Se;if(tr.indexOf(R)!==-1)return Gr;if(tr.indexOf(oA)!==-1||Dn.indexOf(oA)!==-1)return Se;if(Pr(F,u)===pe)return er;if(bt.get(l[F])===Ce||(R===Me||R===Vt)&&bt.get(l[k])===Ce||R===$A||oA===$A||R===EA||[W,KA,XA].indexOf(R)===-1&&oA===EA||[oe,he,Ie,ue,gt].indexOf(oA)!==-1||Pr(F,u)===JA||Ir(GA,JA,F,u)||Ir([oe,he],OA,F,u)||Ir(ce,ce,F,u))return Se;if(R===W)return er;if(R===GA||oA===GA)return Se;if(oA===WA||R===WA)return er;if([KA,XA,OA].indexOf(oA)!==-1||R===zA||iA===ut&&on.indexOf(R)!==-1||R===gt&&oA===ut||oA===LA||Re.indexOf(oA)!==-1&&R===_A||Re.indexOf(R)!==-1&&oA===_A||R===be&&[lt,Me,Vt].indexOf(oA)!==-1||[lt,Me,Vt].indexOf(R)!==-1&&oA===De||Re.indexOf(R)!==-1&&zr.indexOf(oA)!==-1||zr.indexOf(R)!==-1&&Re.indexOf(oA)!==-1||[be,De].indexOf(R)!==-1&&(oA===_A||[JA,XA].indexOf(oA)!==-1&&u[k+1]===_A)||[JA,XA].indexOf(R)!==-1&&oA===_A||R===_A&&[_A,gt,ue].indexOf(oA)!==-1)return Se;if([_A,gt,ue,oe,he].indexOf(oA)!==-1)for(var dA=F;dA>=0;){var SA=u[dA];if(SA===_A)return Se;if([gt,ue].indexOf(SA)!==-1)dA--;else break}if([be,De].indexOf(oA)!==-1)for(var dA=[oe,he].indexOf(R)!==-1?T:F;dA>=0;){var SA=u[dA];if(SA===_A)return Se;if([gt,ue].indexOf(SA)!==-1)dA--;else break}if(Fe===R&&[Fe,ze,Je,Ar].indexOf(oA)!==-1||[ze,Je].indexOf(R)!==-1&&[ze,Nt].indexOf(oA)!==-1||[Nt,Ar].indexOf(R)!==-1&&oA===Nt||Wr.indexOf(R)!==-1&&[LA,De].indexOf(oA)!==-1||Wr.indexOf(oA)!==-1&&R===be||Re.indexOf(R)!==-1&&Re.indexOf(oA)!==-1||R===ue&&Re.indexOf(oA)!==-1||Re.concat(_A).indexOf(R)!==-1&&oA===JA&&we.indexOf(l[k])===-1||Re.concat(_A).indexOf(oA)!==-1&&R===he)return Se;if(R===Ut&&oA===Ut){for(var le=f[F],YA=1;le>0&&(le--,u[le]===Ut);)YA++;if(YA%2!==0)return Se}return R===Me&&oA===Vt?Se:er},di=function(l,u){u||(u={lineBreak:"normal",wordBreak:"normal"});var f=un(l,u.lineBreak),h=f[0],y=f[1],F=f[2];(u.wordBreak==="break-all"||u.wordBreak==="break-word")&&(y=y.map(function(k){return[_A,We,Er].indexOf(k)!==-1?lt:k}));var T=u.wordBreak==="keep-all"?F.map(function(k,R){return k&&l[R]>=19968&&l[R]<=40959}):void 0;return[h,y,T]},yt=function(){function l(u,f,h,y){this.codePoints=u,this.required=f===Gr,this.start=h,this.end=y}return l.prototype.slice=function(){return v.apply(void 0,this.codePoints.slice(this.start,this.end))},l}(),pi=function(l,u){var f=d(l),h=di(f,u),y=h[0],F=h[1],T=h[2],k=f.length,R=0,iA=0;return{next:function(){if(iA>=k)return{done:!0,value:null};for(var oA=Se;iA<k&&(oA=dt(f,F,y,++iA,T))===Se;);if(oA!==Se||iA===k){var dA=new yt(f,oA,R,iA);return R=iA,{value:dA,done:!1}}return{done:!0,value:null}}}},ct=1,$n=2,Mn=4,fa=8,ln=10,Ri=47,Ai=92,mn=9,ga=32,_r=34,Rn=61,ei=35,ti=36,pt=37,yn=39,ri=40,kn=41,da=95,jt=45,Br=33,cn=60,Rt=62,ki=64,pa=91,qa=93,Ki=61,Va=123,Cn=63,qi=125,Sr=124,ni=126,va=128,Vi=65533,hn=42,Gt=43,ji=44,ja=58,Ye=59,Xr=46,Ga=0,xe=8,Ba=11,za=14,fn=31,Wa=127,cr=-1,Kn=48,Gi=97,wr=101,zi=102,Xa=117,Wi=122,bn=65,Dr=69,Yr=70,ii=85,Xi=90,Ft=function(l){return l>=Kn&&l<=57},wa=function(l){return l>=55296&&l<=57343},qn=function(l){return Ft(l)||l>=bn&&l<=Yr||l>=Gi&&l<=zi},de=function(l){return l>=Gi&&l<=Wi},nA=function(l){return l>=bn&&l<=Xi},DA=function(l){return de(l)||nA(l)},ZA=function(l){return l>=va},qe=function(l){return l===ln||l===mn||l===ga},vt=function(l){return DA(l)||ZA(l)||l===da},nt=function(l){return vt(l)||Ft(l)||l===jt},xt=function(l){return l>=Ga&&l<=xe||l===Ba||l>=za&&l<=fn||l===Wa},Tt=function(l,u){return l!==Ai?!1:u!==ln},Bt=function(l,u,f){return l===jt?vt(u)||Tt(u,f):vt(l)?!0:!!(l===Ai&&Tt(l,u))},Fn=function(l,u,f){return l===Gt||l===jt?Ft(u)?!0:u===Xr&&Ft(f):Ft(l===Xr?u:l)},Ya=function(l){var u=0,f=1;(l[u]===Gt||l[u]===jt)&&(l[u]===jt&&(f=-1),u++);for(var h=[];Ft(l[u]);)h.push(l[u++]);var y=h.length?parseInt(v.apply(void 0,h),10):0;l[u]===Xr&&u++;for(var F=[];Ft(l[u]);)F.push(l[u++]);var T=F.length,k=T?parseInt(v.apply(void 0,F),10):0;(l[u]===Dr||l[u]===wr)&&u++;var R=1;(l[u]===Gt||l[u]===jt)&&(l[u]===jt&&(R=-1),u++);for(var iA=[];Ft(l[u]);)iA.push(l[u++]);var oA=iA.length?parseInt(v.apply(void 0,iA),10):0;return f*(y+k*Math.pow(10,-T))*Math.pow(10,R*oA)},Ja={type:2},Is={type:3},co={type:4},Za={type:13},Ss={type:8},Ls={type:21},ho={type:9},Fu={type:10},$a={type:11},ma={type:12},Ns={type:14},Vn={type:23},Ts={type:1},B={type:25},I={type:24},j={type:26},eA={type:27},gA={type:28},IA={type:29},RA={type:31},re={type:32},Be=function(){function l(){this._value=[]}return l.prototype.write=function(u){this._value=this._value.concat(d(u))},l.prototype.read=function(){for(var u=[],f=this.consumeToken();f!==re;)u.push(f),f=this.consumeToken();return u},l.prototype.consumeToken=function(){var u=this.consumeCodePoint();switch(u){case _r:return this.consumeStringToken(_r);case ei:var f=this.peekCodePoint(0),h=this.peekCodePoint(1),y=this.peekCodePoint(2);if(nt(f)||Tt(h,y)){var F=Bt(f,h,y)?$n:ct,T=this.consumeName();return{type:5,value:T,flags:F}}break;case ti:if(this.peekCodePoint(0)===Rn)return this.consumeCodePoint(),Za;break;case yn:return this.consumeStringToken(yn);case ri:return Ja;case kn:return Is;case hn:if(this.peekCodePoint(0)===Rn)return this.consumeCodePoint(),Ns;break;case Gt:if(Fn(u,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(u),this.consumeNumericToken();break;case ji:return co;case jt:var k=u,R=this.peekCodePoint(0),iA=this.peekCodePoint(1);if(Fn(k,R,iA))return this.reconsumeCodePoint(u),this.consumeNumericToken();if(Bt(k,R,iA))return this.reconsumeCodePoint(u),this.consumeIdentLikeToken();if(R===jt&&iA===Rt)return this.consumeCodePoint(),this.consumeCodePoint(),I;break;case Xr:if(Fn(u,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(u),this.consumeNumericToken();break;case Ri:if(this.peekCodePoint(0)===hn)for(this.consumeCodePoint();;){var oA=this.consumeCodePoint();if(oA===hn&&(oA=this.consumeCodePoint(),oA===Ri))return this.consumeToken();if(oA===cr)return this.consumeToken()}break;case ja:return j;case Ye:return eA;case cn:if(this.peekCodePoint(0)===Br&&this.peekCodePoint(1)===jt&&this.peekCodePoint(2)===jt)return this.consumeCodePoint(),this.consumeCodePoint(),B;break;case ki:var dA=this.peekCodePoint(0),SA=this.peekCodePoint(1),le=this.peekCodePoint(2);if(Bt(dA,SA,le)){var T=this.consumeName();return{type:7,value:T}}break;case pa:return gA;case Ai:if(Tt(u,this.peekCodePoint(0)))return this.reconsumeCodePoint(u),this.consumeIdentLikeToken();break;case qa:return IA;case Ki:if(this.peekCodePoint(0)===Rn)return this.consumeCodePoint(),Ss;break;case Va:return $a;case qi:return ma;case Xa:case ii:var YA=this.peekCodePoint(0),ne=this.peekCodePoint(1);return YA===Gt&&(qn(ne)||ne===Cn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(u),this.consumeIdentLikeToken();case Sr:if(this.peekCodePoint(0)===Rn)return this.consumeCodePoint(),ho;if(this.peekCodePoint(0)===Sr)return this.consumeCodePoint(),Ls;break;case ni:if(this.peekCodePoint(0)===Rn)return this.consumeCodePoint(),Fu;break;case cr:return re}return qe(u)?(this.consumeWhiteSpace(),RA):Ft(u)?(this.reconsumeCodePoint(u),this.consumeNumericToken()):vt(u)?(this.reconsumeCodePoint(u),this.consumeIdentLikeToken()):{type:6,value:v(u)}},l.prototype.consumeCodePoint=function(){var u=this._value.shift();return typeof u>"u"?-1:u},l.prototype.reconsumeCodePoint=function(u){this._value.unshift(u)},l.prototype.peekCodePoint=function(u){return u>=this._value.length?-1:this._value[u]},l.prototype.consumeUnicodeRangeToken=function(){for(var u=[],f=this.consumeCodePoint();qn(f)&&u.length<6;)u.push(f),f=this.consumeCodePoint();for(var h=!1;f===Cn&&u.length<6;)u.push(f),f=this.consumeCodePoint(),h=!0;if(h){var y=parseInt(v.apply(void 0,u.map(function(R){return R===Cn?Kn:R})),16),F=parseInt(v.apply(void 0,u.map(function(R){return R===Cn?Yr:R})),16);return{type:30,start:y,end:F}}var T=parseInt(v.apply(void 0,u),16);if(this.peekCodePoint(0)===jt&&qn(this.peekCodePoint(1))){this.consumeCodePoint(),f=this.consumeCodePoint();for(var k=[];qn(f)&&k.length<6;)k.push(f),f=this.consumeCodePoint();var F=parseInt(v.apply(void 0,k),16);return{type:30,start:T,end:F}}else return{type:30,start:T,end:T}},l.prototype.consumeIdentLikeToken=function(){var u=this.consumeName();return u.toLowerCase()==="url"&&this.peekCodePoint(0)===ri?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ri?(this.consumeCodePoint(),{type:19,value:u}):{type:20,value:u}},l.prototype.consumeUrlToken=function(){var u=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===cr)return{type:22,value:""};var f=this.peekCodePoint(0);if(f===yn||f===_r){var h=this.consumeStringToken(this.consumeCodePoint());return h.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===cr||this.peekCodePoint(0)===kn)?(this.consumeCodePoint(),{type:22,value:h.value}):(this.consumeBadUrlRemnants(),Vn)}for(;;){var y=this.consumeCodePoint();if(y===cr||y===kn)return{type:22,value:v.apply(void 0,u)};if(qe(y))return this.consumeWhiteSpace(),this.peekCodePoint(0)===cr||this.peekCodePoint(0)===kn?(this.consumeCodePoint(),{type:22,value:v.apply(void 0,u)}):(this.consumeBadUrlRemnants(),Vn);if(y===_r||y===yn||y===ri||xt(y))return this.consumeBadUrlRemnants(),Vn;if(y===Ai)if(Tt(y,this.peekCodePoint(0)))u.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Vn;else u.push(y)}},l.prototype.consumeWhiteSpace=function(){for(;qe(this.peekCodePoint(0));)this.consumeCodePoint()},l.prototype.consumeBadUrlRemnants=function(){for(;;){var u=this.consumeCodePoint();if(u===kn||u===cr)return;Tt(u,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},l.prototype.consumeStringSlice=function(u){for(var f=5e4,h="";u>0;){var y=Math.min(f,u);h+=v.apply(void 0,this._value.splice(0,y)),u-=y}return this._value.shift(),h},l.prototype.consumeStringToken=function(u){var f="",h=0;do{var y=this._value[h];if(y===cr||y===void 0||y===u)return f+=this.consumeStringSlice(h),{type:0,value:f};if(y===ln)return this._value.splice(0,h),Ts;if(y===Ai){var F=this._value[h+1];F!==cr&&F!==void 0&&(F===ln?(f+=this.consumeStringSlice(h),h=-1,this._value.shift()):Tt(y,F)&&(f+=this.consumeStringSlice(h),f+=v(this.consumeEscapedCodePoint()),h=-1))}h++}while(!0)},l.prototype.consumeNumber=function(){var u=[],f=Mn,h=this.peekCodePoint(0);for((h===Gt||h===jt)&&u.push(this.consumeCodePoint());Ft(this.peekCodePoint(0));)u.push(this.consumeCodePoint());h=this.peekCodePoint(0);var y=this.peekCodePoint(1);if(h===Xr&&Ft(y))for(u.push(this.consumeCodePoint(),this.consumeCodePoint()),f=fa;Ft(this.peekCodePoint(0));)u.push(this.consumeCodePoint());h=this.peekCodePoint(0),y=this.peekCodePoint(1);var F=this.peekCodePoint(2);if((h===Dr||h===wr)&&((y===Gt||y===jt)&&Ft(F)||Ft(y)))for(u.push(this.consumeCodePoint(),this.consumeCodePoint()),f=fa;Ft(this.peekCodePoint(0));)u.push(this.consumeCodePoint());return[Ya(u),f]},l.prototype.consumeNumericToken=function(){var u=this.consumeNumber(),f=u[0],h=u[1],y=this.peekCodePoint(0),F=this.peekCodePoint(1),T=this.peekCodePoint(2);if(Bt(y,F,T)){var k=this.consumeName();return{type:15,number:f,flags:h,unit:k}}return y===pt?(this.consumeCodePoint(),{type:16,number:f,flags:h}):{type:17,number:f,flags:h}},l.prototype.consumeEscapedCodePoint=function(){var u=this.consumeCodePoint();if(qn(u)){for(var f=v(u);qn(this.peekCodePoint(0))&&f.length<6;)f+=v(this.consumeCodePoint());qe(this.peekCodePoint(0))&&this.consumeCodePoint();var h=parseInt(f,16);return h===0||wa(h)||h>1114111?Vi:h}return u===cr?Vi:u},l.prototype.consumeName=function(){for(var u="";;){var f=this.consumeCodePoint();if(nt(f))u+=v(f);else if(Tt(f,this.peekCodePoint(0)))u+=v(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(f),u}},l}(),Te=function(){function l(u){this._tokens=u}return l.create=function(u){var f=new Be;return f.write(u),new l(f.read())},l.parseValue=function(u){return l.create(u).parseComponentValue()},l.parseValues=function(u){return l.create(u).parseComponentValues()},l.prototype.parseComponentValue=function(){for(var u=this.consumeToken();u.type===31;)u=this.consumeToken();if(u.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(u);var f=this.consumeComponentValue();do u=this.consumeToken();while(u.type===31);if(u.type===32)return f;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},l.prototype.parseComponentValues=function(){for(var u=[];;){var f=this.consumeComponentValue();if(f.type===32)return u;u.push(f),u.push()}},l.prototype.consumeComponentValue=function(){var u=this.consumeToken();switch(u.type){case 11:case 28:case 2:return this.consumeSimpleBlock(u.type);case 19:return this.consumeFunction(u)}return u},l.prototype.consumeSimpleBlock=function(u){for(var f={type:u,values:[]},h=this.consumeToken();;){if(h.type===32||gn(h,u))return f;this.reconsumeToken(h),f.values.push(this.consumeComponentValue()),h=this.consumeToken()}},l.prototype.consumeFunction=function(u){for(var f={name:u.value,values:[],type:18};;){var h=this.consumeToken();if(h.type===32||h.type===3)return f;this.reconsumeToken(h),f.values.push(this.consumeComponentValue())}},l.prototype.consumeToken=function(){var u=this._tokens.shift();return typeof u>"u"?re:u},l.prototype.reconsumeToken=function(u){this._tokens.unshift(u)},l}(),Ee=function(l){return l.type===15},ke=function(l){return l.type===17},Qe=function(l){return l.type===20},Ht=function(l){return l.type===0},Ot=function(l,u){return Qe(l)&&l.value===u},mr=function(l){return l.type!==31},Et=function(l){return l.type!==31&&l.type!==4},zt=function(l){var u=[],f=[];return l.forEach(function(h){if(h.type===4){if(f.length===0)throw new Error("Error parsing function args, zero tokens for arg");u.push(f),f=[];return}h.type!==31&&f.push(h)}),f.length&&u.push(f),u},gn=function(l,u){return u===11&&l.type===12||u===28&&l.type===29?!0:u===2&&l.type===3},yr=function(l){return l.type===17||l.type===15},It=function(l){return l.type===16||yr(l)},As=function(l){return l.length>1?[l[0],l[1]]:[l[0]]},kt={type:17,number:0,flags:Mn},Yi={type:16,number:50,flags:Mn},Qn={type:16,number:100,flags:Mn},vi=function(l,u,f){var h=l[0],y=l[1];return[tt(h,u),tt(typeof y<"u"?y:h,f)]},tt=function(l,u){if(l.type===16)return l.number/100*u;if(Ee(l))switch(l.unit){case"rem":case"em":return 16*l.number;case"px":default:return l.number}return l.number},hr="deg",ya="grad",Ca="rad",ba="turn",Ji={name:"angle",parse:function(l,u){if(u.type===15)switch(u.unit){case hr:return Math.PI*u.number/180;case ya:return Math.PI/200*u.number;case Ca:return u.number;case ba:return Math.PI*2*u.number}throw new Error("Unsupported angle type")}},Mr=function(l){return l.type===15&&(l.unit===hr||l.unit===ya||l.unit===Ca||l.unit===ba)},fo=function(l){var u=l.filter(Qe).map(function(f){return f.value}).join(" ");switch(u){case"to bottom right":case"to right bottom":case"left top":case"top left":return[kt,kt];case"to top":case"bottom":return Lr(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[kt,Qn];case"to right":case"left":return Lr(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Qn,Qn];case"to bottom":case"top":return Lr(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Qn,kt];case"to left":case"right":return Lr(270)}return 0},Lr=function(l){return Math.PI*l/180},jn={name:"color",parse:function(l,u){if(u.type===18){var f=kr[u.name];if(typeof f>"u")throw new Error('Attempting to parse an unsupported color function "'+u.name+'"');return f(l,u.values)}if(u.type===5){if(u.value.length===3){var h=u.value.substring(0,1),y=u.value.substring(1,2),F=u.value.substring(2,3);return Gn(parseInt(h+h,16),parseInt(y+y,16),parseInt(F+F,16),1)}if(u.value.length===4){var h=u.value.substring(0,1),y=u.value.substring(1,2),F=u.value.substring(2,3),T=u.value.substring(3,4);return Gn(parseInt(h+h,16),parseInt(y+y,16),parseInt(F+F,16),parseInt(T+T,16)/255)}if(u.value.length===6){var h=u.value.substring(0,2),y=u.value.substring(2,4),F=u.value.substring(4,6);return Gn(parseInt(h,16),parseInt(y,16),parseInt(F,16),1)}if(u.value.length===8){var h=u.value.substring(0,2),y=u.value.substring(2,4),F=u.value.substring(4,6),T=u.value.substring(6,8);return Gn(parseInt(h,16),parseInt(y,16),parseInt(F,16),parseInt(T,16)/255)}}if(u.type===20){var k=Cr[u.value.toUpperCase()];if(typeof k<"u")return k}return Cr.TRANSPARENT}},rr=function(l){return(255&l)===0},St=function(l){var u=255&l,f=255&l>>8,h=255&l>>16,y=255&l>>24;return u<255?"rgba("+y+","+h+","+f+","+u/255+")":"rgb("+y+","+h+","+f+")"},Gn=function(l,u,f,h){return(l<<24|u<<16|f<<8|Math.round(h*255)<<0)>>>0},Hs=function(l,u){if(l.type===17)return l.number;if(l.type===16){var f=u===3?1:255;return u===3?l.number/100*f:Math.round(l.number/100*f)}return 0},Bi=function(l,u){var f=u.filter(Et);if(f.length===3){var h=f.map(Hs),y=h[0],F=h[1],T=h[2];return Gn(y,F,T,1)}if(f.length===4){var k=f.map(Hs),y=k[0],F=k[1],T=k[2],R=k[3];return Gn(y,F,T,R)}return 0};function wi(l,u,f){return f<0&&(f+=1),f>=1&&(f-=1),f<1/6?(u-l)*f*6+l:f<1/2?u:f<2/3?(u-l)*6*(2/3-f)+l:l}var Rr=function(l,u){var f=u.filter(Et),h=f[0],y=f[1],F=f[2],T=f[3],k=(h.type===17?Lr(h.number):Ji.parse(l,h))/(Math.PI*2),R=It(y)?y.number/100:0,iA=It(F)?F.number/100:0,oA=typeof T<"u"&&It(T)?tt(T,1):1;if(R===0)return Gn(iA*255,iA*255,iA*255,1);var dA=iA<=.5?iA*(R+1):iA+R-iA*R,SA=iA*2-dA,le=wi(SA,dA,k+1/3),YA=wi(SA,dA,k),ne=wi(SA,dA,k-1/3);return Gn(le*255,YA*255,ne*255,oA)},kr={hsl:Rr,hsla:Rr,rgb:Bi,rgba:Bi},Un=function(l,u){return jn.parse(l,Te.create(u).parseComponentValue())},Cr={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},mi={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(l,u){return u.map(function(f){if(Qe(f))switch(f.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},es={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},xn=function(l,u){var f=jn.parse(l,u[0]),h=u[1];return h&&It(h)?{color:f,stop:h}:{color:f,stop:null}},Pt=function(l,u){var f=l[0],h=l[l.length-1];f.stop===null&&(f.stop=kt),h.stop===null&&(h.stop=Qn);for(var y=[],F=0,T=0;T<l.length;T++){var k=l[T].stop;if(k!==null){var R=tt(k,u);R>F?y.push(R):y.push(F),F=R}else y.push(null)}for(var iA=null,T=0;T<y.length;T++){var oA=y[T];if(oA===null)iA===null&&(iA=T);else if(iA!==null){for(var dA=T-iA,SA=y[iA-1],le=(oA-SA)/(dA+1),YA=1;YA<=dA;YA++)y[iA+YA-1]=le*YA;iA=null}}return l.map(function(ne,Ke){var ve=ne.color;return{color:ve,stop:Math.max(Math.min(1,y[Ke]/u),0)}})},Os=function(l,u,f){var h=u/2,y=f/2,F=tt(l[0],u)-h,T=y-tt(l[1],f);return(Math.atan2(T,F)+Math.PI*2)%(Math.PI*2)},Kr=function(l,u,f){var h=typeof l=="number"?l:Os(l,u,f),y=Math.abs(u*Math.sin(h))+Math.abs(f*Math.cos(h)),F=u/2,T=f/2,k=y/2,R=Math.sin(h-Math.PI/2)*k,iA=Math.cos(h-Math.PI/2)*k;return[y,F-iA,F+iA,T-R,T+R]},_t=function(l,u){return Math.sqrt(l*l+u*u)},Fa=function(l,u,f,h,y){var F=[[0,0],[0,u],[l,0],[l,u]];return F.reduce(function(T,k){var R=k[0],iA=k[1],oA=_t(f-R,h-iA);return(y?oA<T.optimumDistance:oA>T.optimumDistance)?{optimumCorner:k,optimumDistance:oA}:T},{optimumDistance:y?1/0:-1/0,optimumCorner:null}).optimumCorner},go=function(l,u,f,h,y){var F=0,T=0;switch(l.size){case 0:l.shape===0?F=T=Math.min(Math.abs(u),Math.abs(u-h),Math.abs(f),Math.abs(f-y)):l.shape===1&&(F=Math.min(Math.abs(u),Math.abs(u-h)),T=Math.min(Math.abs(f),Math.abs(f-y)));break;case 2:if(l.shape===0)F=T=Math.min(_t(u,f),_t(u,f-y),_t(u-h,f),_t(u-h,f-y));else if(l.shape===1){var k=Math.min(Math.abs(f),Math.abs(f-y))/Math.min(Math.abs(u),Math.abs(u-h)),R=Fa(h,y,u,f,!0),iA=R[0],oA=R[1];F=_t(iA-u,(oA-f)/k),T=k*F}break;case 1:l.shape===0?F=T=Math.max(Math.abs(u),Math.abs(u-h),Math.abs(f),Math.abs(f-y)):l.shape===1&&(F=Math.max(Math.abs(u),Math.abs(u-h)),T=Math.max(Math.abs(f),Math.abs(f-y)));break;case 3:if(l.shape===0)F=T=Math.max(_t(u,f),_t(u,f-y),_t(u-h,f),_t(u-h,f-y));else if(l.shape===1){var k=Math.max(Math.abs(f),Math.abs(f-y))/Math.max(Math.abs(u),Math.abs(u-h)),dA=Fa(h,y,u,f,!1),iA=dA[0],oA=dA[1];F=_t(iA-u,(oA-f)/k),T=k*F}break}return Array.isArray(l.size)&&(F=tt(l.size[0],h),T=l.size.length===2?tt(l.size[1],y):F),[F,T]},Ps=function(l,u){var f=Lr(180),h=[];return zt(u).forEach(function(y,F){if(F===0){var T=y[0];if(T.type===20&&T.value==="to"){f=fo(y);return}else if(Mr(T)){f=Ji.parse(l,T);return}}var k=xn(l,y);h.push(k)}),{angle:f,stops:h,type:1}},ai=function(l,u){var f=Lr(180),h=[];return zt(u).forEach(function(y,F){if(F===0){var T=y[0];if(T.type===20&&["top","left","right","bottom"].indexOf(T.value)!==-1){f=fo(y);return}else if(Mr(T)){f=(Ji.parse(l,T)+Lr(270))%Lr(360);return}}var k=xn(l,y);h.push(k)}),{angle:f,stops:h,type:1}},Qa=function(l,u){var f=Lr(180),h=[],y=1,F=0,T=3,k=[];return zt(u).forEach(function(R,iA){var oA=R[0];if(iA===0){if(Qe(oA)&&oA.value==="linear"){y=1;return}else if(Qe(oA)&&oA.value==="radial"){y=2;return}}if(oA.type===18){if(oA.name==="from"){var dA=jn.parse(l,oA.values[0]);h.push({stop:kt,color:dA})}else if(oA.name==="to"){var dA=jn.parse(l,oA.values[0]);h.push({stop:Qn,color:dA})}else if(oA.name==="color-stop"){var SA=oA.values.filter(Et);if(SA.length===2){var dA=jn.parse(l,SA[1]),le=SA[0];ke(le)&&h.push({stop:{type:16,number:le.number*100,flags:le.flags},color:dA})}}}}),y===1?{angle:(f+Lr(180))%Lr(360),stops:h,type:y}:{size:T,shape:F,stops:h,position:k,type:y}},yi="closest-side",Zi="farthest-side",Ua="closest-corner",$i="farthest-corner",Ci="circle",ts="ellipse",dn="cover",pn="contain",wt=function(l,u){var f=0,h=3,y=[],F=[];return zt(u).forEach(function(T,k){var R=!0;if(k===0){var iA=!1;R=T.reduce(function(dA,SA){if(iA)if(Qe(SA))switch(SA.value){case"center":return F.push(Yi),dA;case"top":case"left":return F.push(kt),dA;case"right":case"bottom":return F.push(Qn),dA}else(It(SA)||yr(SA))&&F.push(SA);else if(Qe(SA))switch(SA.value){case Ci:return f=0,!1;case ts:return f=1,!1;case"at":return iA=!0,!1;case yi:return h=0,!1;case dn:case Zi:return h=1,!1;case pn:case Ua:return h=2,!1;case $i:return h=3,!1}else if(yr(SA)||It(SA))return Array.isArray(h)||(h=[]),h.push(SA),!1;return dA},R)}if(R){var oA=xn(l,T);y.push(oA)}}),{size:h,shape:f,stops:y,position:F,type:2}},it=function(l,u){var f=0,h=3,y=[],F=[];return zt(u).forEach(function(T,k){var R=!0;if(k===0?R=T.reduce(function(oA,dA){if(Qe(dA))switch(dA.value){case"center":return F.push(Yi),!1;case"top":case"left":return F.push(kt),!1;case"right":case"bottom":return F.push(Qn),!1}else if(It(dA)||yr(dA))return F.push(dA),!1;return oA},R):k===1&&(R=T.reduce(function(oA,dA){if(Qe(dA))switch(dA.value){case Ci:return f=0,!1;case ts:return f=1,!1;case pn:case yi:return h=0,!1;case Zi:return h=1,!1;case Ua:return h=2,!1;case dn:case $i:return h=3,!1}else if(yr(dA)||It(dA))return Array.isArray(h)||(h=[]),h.push(dA),!1;return oA},R)),R){var iA=xn(l,T);y.push(iA)}}),{size:h,shape:f,stops:y,position:F,type:2}},Kt=function(l){return l.type===1},nr=function(l){return l.type===2},zn={name:"image",parse:function(l,u){if(u.type===22){var f={url:u.value,type:0};return l.cache.addImage(u.value),f}if(u.type===18){var h=xa[u.name];if(typeof h>"u")throw new Error('Attempting to parse an unsupported image function "'+u.name+'"');return h(l,u.values)}throw new Error("Unsupported image type "+u.type)}};function _s(l){return!(l.type===20&&l.value==="none")&&(l.type!==18||!!xa[l.name])}var xa={"linear-gradient":Ps,"-moz-linear-gradient":ai,"-ms-linear-gradient":ai,"-o-linear-gradient":ai,"-webkit-linear-gradient":ai,"radial-gradient":wt,"-moz-radial-gradient":it,"-ms-radial-gradient":it,"-o-radial-gradient":it,"-webkit-radial-gradient":it,"-webkit-gradient":Qa},po={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(l,u){if(u.length===0)return[];var f=u[0];return f.type===20&&f.value==="none"?[]:u.filter(function(h){return Et(h)&&_s(h)}).map(function(h){return zn.parse(l,h)})}},Qu={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(l,u){return u.map(function(f){if(Qe(f))switch(f.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},vo={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(l,u){return zt(u).map(function(f){return f.filter(It)}).map(As)}},vn={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(l,u){return zt(u).map(function(f){return f.filter(Qe).map(function(h){return h.value}).join(" ")}).map(En)}},En=function(l){switch(l){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}},bi;(function(l){l.AUTO="auto",l.CONTAIN="contain",l.COVER="cover"})(bi||(bi={}));var Bo={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(l,u){return zt(u).map(function(f){return f.filter(_l)})}},_l=function(l){return Qe(l)||It(l)},Ea=function(l){return{name:"border-"+l+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},wo=Ea("top"),Uu=Ea("right"),Dl=Ea("bottom"),xu=Ea("left"),rs=function(l){return{name:"border-radius-"+l,initialValue:"0 0",prefix:!1,type:1,parse:function(u,f){return As(f.filter(It))}}},mo=rs("top-left"),Eu=rs("top-right"),Ff=rs("bottom-right"),Qf=rs("bottom-left"),Ds=function(l){return{name:"border-"+l+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(u,f){switch(f){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Uf=Ds("top"),xf=Ds("right"),Ef=Ds("bottom"),If=Ds("left"),yo=function(l){return{name:"border-"+l+"-width",initialValue:"0",type:0,prefix:!1,parse:function(u,f){return Ee(f)?f.number:0}}},Iu=yo("top"),Su=yo("right"),Ms=yo("bottom"),Sf=yo("left"),Lf={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ml={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(l,u){switch(u){case"rtl":return 1;case"ltr":default:return 0}}},Nf={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(l,u){return u.filter(Qe).reduce(function(f,h){return f|Tf(h.value)},0)}},Tf=function(l){switch(l){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},Hf={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(l,u){switch(u){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Of={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(l,u){return u.type===20&&u.value==="normal"?0:u.type===17||u.type===15?u.number:0}},Wn;(function(l){l.NORMAL="normal",l.STRICT="strict"})(Wn||(Wn={}));var Xn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(l,u){switch(u){case"strict":return Wn.STRICT;case"normal":default:return Wn.NORMAL}}},Fi={name:"line-height",initialValue:"normal",prefix:!1,type:4},Rl=function(l,u){return Qe(l)&&l.value==="normal"?1.2*u:l.type===17?u*l.number:It(l)?tt(l,u):u},kl={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(l,u){return u.type===20&&u.value==="none"?null:zn.parse(l,u)}},Aa={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(l,u){switch(u){case"inside":return 0;case"outside":default:return 1}}},Jr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(l,u){switch(u){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}}},Co=function(l){return{name:"margin-"+l,initialValue:"0",prefix:!1,type:4}},Pf=Co("top"),Kl=Co("right"),ql=Co("bottom"),Vl=Co("left"),jl={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(l,u){return u.filter(Qe).map(function(f){switch(f.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},_f={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(l,u){switch(u){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ia=function(l){return{name:"padding-"+l,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},bo=Ia("top"),Rs=Ia("right"),Lu=Ia("bottom"),Gl=Ia("left"),Df={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(l,u){switch(u){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},zl={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(l,u){switch(u){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Mf={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(l,u){return u.length===1&&Ot(u[0],"none")?[]:zt(u).map(function(f){for(var h={color:Cr.TRANSPARENT,offsetX:kt,offsetY:kt,blur:kt},y=0,F=0;F<f.length;F++){var T=f[F];yr(T)?(y===0?h.offsetX=T:y===1?h.offsetY=T:h.blur=T,y++):h.color=jn.parse(l,T)}return h})}},Rf={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(l,u){switch(u){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},kf={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(l,u){if(u.type===20&&u.value==="none")return null;if(u.type===18){var f=Vf[u.name];if(typeof f>"u")throw new Error('Attempting to parse an unsupported transform function "'+u.name+'"');return f(u.values)}return null}},Kf=function(l){var u=l.filter(function(f){return f.type===17}).map(function(f){return f.number});return u.length===6?u:null},qf=function(l){var u=l.filter(function(R){return R.type===17}).map(function(R){return R.number}),f=u[0],h=u[1];u[2],u[3];var y=u[4],F=u[5];u[6],u[7],u[8],u[9],u[10],u[11];var T=u[12],k=u[13];return u[14],u[15],u.length===16?[f,h,y,F,T,k]:null},Vf={matrix:Kf,matrix3d:qf},Nu={type:16,number:50,flags:Mn},Fo=[Nu,Nu],jf={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(l,u){var f=u.filter(It);return f.length!==2?Fo:[f[0],f[1]]}},Gf={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(l,u){switch(u){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},ns;(function(l){l.NORMAL="normal",l.BREAK_ALL="break-all",l.KEEP_ALL="keep-all"})(ns||(ns={}));for(var o={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(l,u){switch(u){case"break-all":return ns.BREAK_ALL;case"keep-all":return ns.KEEP_ALL;case"normal":default:return ns.NORMAL}}},g={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(l,u){if(u.type===20)return{auto:!0,order:0};if(ke(u))return{auto:!1,order:u.number};throw new Error("Invalid z-index number parsed")}},w={name:"time",parse:function(l,u){if(u.type===15)switch(u.unit.toLowerCase()){case"s":return 1e3*u.number;case"ms":return u.number}throw new Error("Unsupported time type")}},b={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(l,u){return ke(u)?u.number:1}},E={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},N={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(l,u){return u.filter(Qe).map(function(f){switch(f.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(f){return f!==0})}},H={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(l,u){var f=[],h=[];return u.forEach(function(y){switch(y.type){case 20:case 0:f.push(y.value);break;case 17:f.push(y.number.toString());break;case 4:h.push(f.join(" ")),f.length=0;break}}),f.length&&h.push(f.join(" ")),h.map(function(y){return y.indexOf(" ")===-1?y:"'"+y+"'"})}},O={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},D={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(l,u){if(ke(u))return u.number;if(Qe(u))switch(u.value){case"bold":return 700;case"normal":default:return 400}return 400}},K={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(l,u){return u.filter(Qe).map(function(f){return f.value})}},tA={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(l,u){switch(u){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},cA=function(l,u){return(l&u)!==0},BA={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(l,u){if(u.length===0)return[];var f=u[0];return f.type===20&&f.value==="none"?[]:u}},lA={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(l,u){if(u.length===0)return null;var f=u[0];if(f.type===20&&f.value==="none")return null;for(var h=[],y=u.filter(mr),F=0;F<y.length;F++){var T=y[F],k=y[F+1];if(T.type===20){var R=k&&ke(k)?k.number:1;h.push({counter:T.value,increment:R})}}return h}},HA={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(l,u){if(u.length===0)return[];for(var f=[],h=u.filter(mr),y=0;y<h.length;y++){var F=h[y],T=h[y+1];if(Qe(F)&&F.value!=="none"){var k=T&&ke(T)?T.number:0;f.push({counter:F.value,reset:k})}}return f}},xA={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(l,u){return u.filter(Ee).map(function(f){return w.parse(l,f)})}},rA={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(l,u){if(u.length===0)return null;var f=u[0];if(f.type===20&&f.value==="none")return null;var h=[],y=u.filter(Ht);if(y.length%2!==0)return null;for(var F=0;F<y.length;F+=2){var T=y[F].value,k=y[F+1].value;h.push({open:T,close:k})}return h}},aA=function(l,u,f){if(!l)return"";var h=l[Math.min(u,l.length-1)];return h?f?h.open:h.close:""},NA={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(l,u){return u.length===1&&Ot(u[0],"none")?[]:zt(u).map(function(f){for(var h={color:255,offsetX:kt,offsetY:kt,blur:kt,spread:kt,inset:!1},y=0,F=0;F<f.length;F++){var T=f[F];Ot(T,"inset")?h.inset=!0:yr(T)?(y===0?h.offsetX=T:y===1?h.offsetY=T:y===2?h.blur=T:h.spread=T,y++):h.color=jn.parse(l,T)}return h})}},PA={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(l,u){var f=[0,1,2],h=[];return u.filter(Qe).forEach(function(y){switch(y.value){case"stroke":h.push(1);break;case"fill":h.push(0);break;case"markers":h.push(2);break}}),f.forEach(function(y){h.indexOf(y)===-1&&h.push(y)}),h}},TA={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},ie={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(l,u){return Ee(u)?u.number:0}},ee=function(){function l(u,f){var h,y;this.animationDuration=qA(u,xA,f.animationDuration),this.backgroundClip=qA(u,mi,f.backgroundClip),this.backgroundColor=qA(u,es,f.backgroundColor),this.backgroundImage=qA(u,po,f.backgroundImage),this.backgroundOrigin=qA(u,Qu,f.backgroundOrigin),this.backgroundPosition=qA(u,vo,f.backgroundPosition),this.backgroundRepeat=qA(u,vn,f.backgroundRepeat),this.backgroundSize=qA(u,Bo,f.backgroundSize),this.borderTopColor=qA(u,wo,f.borderTopColor),this.borderRightColor=qA(u,Uu,f.borderRightColor),this.borderBottomColor=qA(u,Dl,f.borderBottomColor),this.borderLeftColor=qA(u,xu,f.borderLeftColor),this.borderTopLeftRadius=qA(u,mo,f.borderTopLeftRadius),this.borderTopRightRadius=qA(u,Eu,f.borderTopRightRadius),this.borderBottomRightRadius=qA(u,Ff,f.borderBottomRightRadius),this.borderBottomLeftRadius=qA(u,Qf,f.borderBottomLeftRadius),this.borderTopStyle=qA(u,Uf,f.borderTopStyle),this.borderRightStyle=qA(u,xf,f.borderRightStyle),this.borderBottomStyle=qA(u,Ef,f.borderBottomStyle),this.borderLeftStyle=qA(u,If,f.borderLeftStyle),this.borderTopWidth=qA(u,Iu,f.borderTopWidth),this.borderRightWidth=qA(u,Su,f.borderRightWidth),this.borderBottomWidth=qA(u,Ms,f.borderBottomWidth),this.borderLeftWidth=qA(u,Sf,f.borderLeftWidth),this.boxShadow=qA(u,NA,f.boxShadow),this.color=qA(u,Lf,f.color),this.direction=qA(u,Ml,f.direction),this.display=qA(u,Nf,f.display),this.float=qA(u,Hf,f.cssFloat),this.fontFamily=qA(u,H,f.fontFamily),this.fontSize=qA(u,O,f.fontSize),this.fontStyle=qA(u,tA,f.fontStyle),this.fontVariant=qA(u,K,f.fontVariant),this.fontWeight=qA(u,D,f.fontWeight),this.letterSpacing=qA(u,Of,f.letterSpacing),this.lineBreak=qA(u,Xn,f.lineBreak),this.lineHeight=qA(u,Fi,f.lineHeight),this.listStyleImage=qA(u,kl,f.listStyleImage),this.listStylePosition=qA(u,Aa,f.listStylePosition),this.listStyleType=qA(u,Jr,f.listStyleType),this.marginTop=qA(u,Pf,f.marginTop),this.marginRight=qA(u,Kl,f.marginRight),this.marginBottom=qA(u,ql,f.marginBottom),this.marginLeft=qA(u,Vl,f.marginLeft),this.opacity=qA(u,b,f.opacity);var F=qA(u,jl,f.overflow);this.overflowX=F[0],this.overflowY=F[F.length>1?1:0],this.overflowWrap=qA(u,_f,f.overflowWrap),this.paddingTop=qA(u,bo,f.paddingTop),this.paddingRight=qA(u,Rs,f.paddingRight),this.paddingBottom=qA(u,Lu,f.paddingBottom),this.paddingLeft=qA(u,Gl,f.paddingLeft),this.paintOrder=qA(u,PA,f.paintOrder),this.position=qA(u,zl,f.position),this.textAlign=qA(u,Df,f.textAlign),this.textDecorationColor=qA(u,E,(h=f.textDecorationColor)!==null&&h!==void 0?h:f.color),this.textDecorationLine=qA(u,N,(y=f.textDecorationLine)!==null&&y!==void 0?y:f.textDecoration),this.textShadow=qA(u,Mf,f.textShadow),this.textTransform=qA(u,Rf,f.textTransform),this.transform=qA(u,kf,f.transform),this.transformOrigin=qA(u,jf,f.transformOrigin),this.visibility=qA(u,Gf,f.visibility),this.webkitTextStrokeColor=qA(u,TA,f.webkitTextStrokeColor),this.webkitTextStrokeWidth=qA(u,ie,f.webkitTextStrokeWidth),this.wordBreak=qA(u,o,f.wordBreak),this.zIndex=qA(u,g,f.zIndex)}return l.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},l.prototype.isTransparent=function(){return rr(this.backgroundColor)},l.prototype.isTransformed=function(){return this.transform!==null},l.prototype.isPositioned=function(){return this.position!==0},l.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},l.prototype.isFloating=function(){return this.float!==0},l.prototype.isInlineLevel=function(){return cA(this.display,4)||cA(this.display,33554432)||cA(this.display,268435456)||cA(this.display,536870912)||cA(this.display,67108864)||cA(this.display,134217728)},l}(),me=function(){function l(u,f){this.content=qA(u,BA,f.content),this.quotes=qA(u,rA,f.quotes)}return l}(),te=function(){function l(u,f){this.counterIncrement=qA(u,lA,f.counterIncrement),this.counterReset=qA(u,HA,f.counterReset)}return l}(),qA=function(l,u,f){var h=new Be,y=f!==null&&typeof f<"u"?f.toString():u.initialValue;h.write(y);var F=new Te(h.read());switch(u.type){case 2:var T=F.parseComponentValue();return u.parse(l,Qe(T)?T.value:u.initialValue);case 0:return u.parse(l,F.parseComponentValue());case 1:return u.parse(l,F.parseComponentValues());case 4:return F.parseComponentValue();case 3:switch(u.format){case"angle":return Ji.parse(l,F.parseComponentValue());case"color":return jn.parse(l,F.parseComponentValue());case"image":return zn.parse(l,F.parseComponentValue());case"length":var k=F.parseComponentValue();return yr(k)?k:kt;case"length-percentage":var R=F.parseComponentValue();return It(R)?R:kt;case"time":return w.parse(l,F.parseComponentValue())}break}},at="data-html2canvas-debug",Ze=function(l){var u=l.getAttribute(at);switch(u){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ve=function(l,u){var f=Ze(l);return f===1||u===f},Xe=function(){function l(u,f){if(this.context=u,this.textNodes=[],this.elements=[],this.flags=0,Ve(f,3))debugger;this.styles=new ee(u,window.getComputedStyle(f,null)),Zf(f)&&(this.styles.animationDuration.some(function(h){return h>0})&&(f.style.animationDuration="0s"),this.styles.transform!==null&&(f.style.transform="none")),this.bounds=s(this.context,f),Ve(f,4)&&(this.flags|=16)}return l}(),ht="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qt=typeof Uint8Array>"u"?[]:new Uint8Array(256),br=0;br<Oe.length;br++)Qt[Oe.charCodeAt(br)]=br;for(var Wt=function(l){var u=l.length*.75,f=l.length,h,y=0,F,T,k,R;l[l.length-1]==="="&&(u--,l[l.length-2]==="="&&u--);var iA=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(u):new Array(u),oA=Array.isArray(iA)?iA:new Uint8Array(iA);for(h=0;h<f;h+=4)F=Qt[l.charCodeAt(h)],T=Qt[l.charCodeAt(h+1)],k=Qt[l.charCodeAt(h+2)],R=Qt[l.charCodeAt(h+3)],oA[y++]=F<<2|T>>4,oA[y++]=(T&15)<<4|k>>2,oA[y++]=(k&3)<<6|R&63;return iA},Zr=function(l){for(var u=l.length,f=[],h=0;h<u;h+=2)f.push(l[h+1]<<8|l[h]);return f},st=function(l){for(var u=l.length,f=[],h=0;h<u;h+=4)f.push(l[h+3]<<24|l[h+2]<<16|l[h+1]<<8|l[h]);return f},ir=5,qr=11,Xt=2,Fr=qr-ir,Nr=65536>>ir,In=1<<ir,Sn=In-1,fr=1024>>ir,Qi=Nr+fr,Sa=Qi,is=32,ea=Sa+is,Dt=65536>>qr,Tu=1<<Fr,Wl=Tu-1,Hu=function(l,u,f){return l.slice?l.slice(u,f):new Uint16Array(Array.prototype.slice.call(l,u,f))},Qo=function(l,u,f){return l.slice?l.slice(u,f):new Uint32Array(Array.prototype.slice.call(l,u,f))},ks=function(l,u){var f=Wt(l),h=Array.isArray(f)?st(f):new Uint32Array(f),y=Array.isArray(f)?Zr(f):new Uint16Array(f),F=24,T=Hu(y,F/2,h[4]/2),k=h[5]===2?Hu(y,(F+h[4])/2):Qo(h,Math.ceil((F+h[4])/4));return new Uo(h[0],h[1],h[2],h[3],T,k)},Uo=function(){function l(u,f,h,y,F,T){this.initialValue=u,this.errorValue=f,this.highStart=h,this.highValueIndex=y,this.index=F,this.data=T}return l.prototype.get=function(u){var f;if(u>=0){if(u<55296||u>56319&&u<=65535)return f=this.index[u>>ir],f=(f<<Xt)+(u&Sn),this.data[f];if(u<=65535)return f=this.index[Nr+(u-55296>>ir)],f=(f<<Xt)+(u&Sn),this.data[f];if(u<this.highStart)return f=ea-Dt+(u>>qr),f=this.index[f],f+=u>>ir&Wl,f=this.index[f],f=(f<<Xt)+(u&Sn),this.data[f];if(u<=1114111)return this.data[this.highValueIndex]}return this.errorValue},l}(),Ln="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",as=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ui=0;Ui<Ln.length;Ui++)as[Ln.charCodeAt(Ui)]=Ui;var Xl=1,ss=2,xo=3,Ks=4,Eo=5,Io=7,os=8,Ou=9,Pu=10,So=11,xi=12,Yl=13,Jl=14,_u=15,Zl=function(l){for(var u=[],f=0,h=l.length;f<h;){var y=l.charCodeAt(f++);if(y>=55296&&y<=56319&&f<h){var F=l.charCodeAt(f++);(F&64512)===56320?u.push(((y&1023)<<10)+(F&1023)+65536):(u.push(y),f--)}else u.push(y)}return u},Lo=function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];if(String.fromCodePoint)return String.fromCodePoint.apply(String,l);var f=l.length;if(!f)return"";for(var h=[],y=-1,F="";++y<f;){var T=l[y];T<=65535?h.push(T):(T-=65536,h.push((T>>10)+55296,T%1024+56320)),(y+1===f||h.length>16384)&&(F+=String.fromCharCode.apply(String,h),h.length=0)}return F},$l=ks(ht),Bn="\xD7",us="\xF7",Du=function(l){return $l.get(l)},qs=function(l,u,f){var h=f-2,y=u[h],F=u[f-1],T=u[f];if(F===ss&&T===xo)return Bn;if(F===ss||F===xo||F===Ks||T===ss||T===xo||T===Ks)return us;if(F===os&&[os,Ou,So,xi].indexOf(T)!==-1||(F===So||F===Ou)&&(T===Ou||T===Pu)||(F===xi||F===Pu)&&T===Pu||T===Yl||T===Eo||T===Io||F===Xl)return Bn;if(F===Yl&&T===Jl){for(;y===Eo;)y=u[--h];if(y===Jl)return Bn}if(F===_u&&T===_u){for(var k=0;y===_u;)k++,y=u[--h];if(k%2===0)return Bn}return us},Ac=function(l){var u=Zl(l),f=u.length,h=0,y=0,F=u.map(Du);return{next:function(){if(h>=f)return{done:!0,value:null};for(var T=Bn;h<f&&(T=qs(u,F,++h))===Bn;);if(T!==Bn||h===f){var k=Lo.apply(null,u.slice(y,h));return y=h,{value:k,done:!1}}return{done:!0,value:null}}}},zf=function(l){for(var u=Ac(l),f=[],h;!(h=u.next()).done;)h.value&&f.push(h.value.slice());return f},No=function(l){var u=123;if(l.createRange){var f=l.createRange();if(f.getBoundingClientRect){var h=l.createElement("boundtest");h.style.height=u+"px",h.style.display="block",l.body.appendChild(h),f.selectNode(h);var y=f.getBoundingClientRect(),F=Math.round(y.height);if(l.body.removeChild(h),F===u)return!0}}return!1},ec=function(l){var u=l.createElement("boundtest");u.style.width="50px",u.style.display="block",u.style.fontSize="12px",u.style.letterSpacing="0px",u.style.wordSpacing="0px",l.body.appendChild(u);var f=l.createRange();u.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var h=u.firstChild,y=d(h.data).map(function(R){return v(R)}),F=0,T={},k=y.every(function(R,iA){f.setStart(h,F),f.setEnd(h,F+R.length);var oA=f.getBoundingClientRect();F+=R.length;var dA=oA.x>T.x||oA.y>T.y;return T=oA,iA===0?!0:dA});return l.body.removeChild(u),k},Mu=function(){return typeof new Image().crossOrigin<"u"},ta=function(){return typeof new XMLHttpRequest().responseType=="string"},tc=function(l){var u=new Image,f=l.createElement("canvas"),h=f.getContext("2d");if(!h)return!1;u.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{h.drawImage(u,0,0),f.toDataURL()}catch{return!1}return!0},Ru=function(l){return l[0]===0&&l[1]===255&&l[2]===0&&l[3]===255},Wf=function(l){var u=l.createElement("canvas"),f=100;u.width=f,u.height=f;var h=u.getContext("2d");if(!h)return Promise.reject(!1);h.fillStyle="rgb(0, 255, 0)",h.fillRect(0,0,f,f);var y=new Image,F=u.toDataURL();y.src=F;var T=To(f,f,0,0,y);return h.fillStyle="red",h.fillRect(0,0,f,f),La(T).then(function(k){h.drawImage(k,0,0);var R=h.getImageData(0,0,f,f).data;h.fillStyle="red",h.fillRect(0,0,f,f);var iA=l.createElement("div");return iA.style.backgroundImage="url("+F+")",iA.style.height=f+"px",Ru(R)?La(To(f,f,0,0,iA)):Promise.reject(!1)}).then(function(k){return h.drawImage(k,0,0),Ru(h.getImageData(0,0,f,f).data)}).catch(function(){return!1})},To=function(l,u,f,h,y){var F="http://www.w3.org/2000/svg",T=document.createElementNS(F,"svg"),k=document.createElementNS(F,"foreignObject");return T.setAttributeNS(null,"width",l.toString()),T.setAttributeNS(null,"height",u.toString()),k.setAttributeNS(null,"width","100%"),k.setAttributeNS(null,"height","100%"),k.setAttributeNS(null,"x",f.toString()),k.setAttributeNS(null,"y",h.toString()),k.setAttributeNS(null,"externalResourcesRequired","true"),T.appendChild(k),k.appendChild(y),T},La=function(l){return new Promise(function(u,f){var h=new Image;h.onload=function(){return u(h)},h.onerror=f,h.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(l))})},Qr={get SUPPORT_RANGE_BOUNDS(){var l=No(document);return Object.defineProperty(Qr,"SUPPORT_RANGE_BOUNDS",{value:l}),l},get SUPPORT_WORD_BREAKING(){var l=Qr.SUPPORT_RANGE_BOUNDS&&ec(document);return Object.defineProperty(Qr,"SUPPORT_WORD_BREAKING",{value:l}),l},get SUPPORT_SVG_DRAWING(){var l=tc(document);return Object.defineProperty(Qr,"SUPPORT_SVG_DRAWING",{value:l}),l},get SUPPORT_FOREIGNOBJECT_DRAWING(){var l=typeof Array.from=="function"&&typeof window.fetch=="function"?Wf(document):Promise.resolve(!1);return Object.defineProperty(Qr,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:l}),l},get SUPPORT_CORS_IMAGES(){var l=Mu();return Object.defineProperty(Qr,"SUPPORT_CORS_IMAGES",{value:l}),l},get SUPPORT_RESPONSE_TYPE(){var l=ta();return Object.defineProperty(Qr,"SUPPORT_RESPONSE_TYPE",{value:l}),l},get SUPPORT_CORS_XHR(){var l="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Qr,"SUPPORT_CORS_XHR",{value:l}),l},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var l=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Qr,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:l}),l}},ls=function(){function l(u,f){this.text=u,this.bounds=f}return l}(),Xf=function(l,u,f,h){var y=Ho(u,f),F=[],T=0;return y.forEach(function(k){if(f.textDecorationLine.length||k.trim().length>0)if(Qr.SUPPORT_RANGE_BOUNDS){var R=nc(h,T,k.length).getClientRects();if(R.length>1){var iA=Na(k),oA=0;iA.forEach(function(SA){F.push(new ls(SA,a.fromDOMRectList(l,nc(h,oA+T,SA.length).getClientRects()))),oA+=SA.length})}else F.push(new ls(k,a.fromDOMRectList(l,R)))}else{var dA=h.splitText(k.length);F.push(new ls(k,rc(l,h))),h=dA}else Qr.SUPPORT_RANGE_BOUNDS||(h=h.splitText(k.length));T+=k.length}),F},rc=function(l,u){var f=u.ownerDocument;if(f){var h=f.createElement("html2canvaswrapper");h.appendChild(u.cloneNode(!0));var y=u.parentNode;if(y){y.replaceChild(h,u);var F=s(l,h);return h.firstChild&&y.replaceChild(h.firstChild,h),F}}return a.EMPTY},nc=function(l,u,f){var h=l.ownerDocument;if(!h)throw new Error("Node has no owner document");var y=h.createRange();return y.setStart(l,u),y.setEnd(l,u+f),y},Na=function(l){if(Qr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var u=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(u.segment(l)).map(function(f){return f.segment})}return zf(l)},ku=function(l,u){if(Qr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var f=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(f.segment(l)).map(function(h){return h.segment})}return ra(l,u)},Ho=function(l,u){return u.letterSpacing!==0?Na(l):ku(l,u)},Ei=[32,160,4961,65792,65793,4153,4241],ra=function(l,u){for(var f=pi(l,{lineBreak:u.lineBreak,wordBreak:u.overflowWrap==="break-word"?"break-word":u.wordBreak}),h=[],y,F=function(){if(y.value){var T=y.value.slice(),k=d(T),R="";k.forEach(function(iA){Ei.indexOf(iA)===-1?R+=v(iA):(R.length&&h.push(R),h.push(v(iA)),R="")}),R.length&&h.push(R)}};!(y=f.next()).done;)F();return h},na=function(){function l(u,f,h){this.text=Oo(f.data,h.textTransform),this.textBounds=Xf(u,this.text,h,f)}return l}(),Oo=function(l,u){switch(u){case 1:return l.toLowerCase();case 3:return l.replace(Ku,ic);case 2:return l.toUpperCase();default:return l}},Ku=/(^|\s|:|-|\(|\))([a-z])/g,ic=function(l,u,f){return l.length>0?u+f.toUpperCase():l},ac=function(l){A(u,l);function u(f,h){var y=l.call(this,f,h)||this;return y.src=h.currentSrc||h.src,y.intrinsicWidth=h.naturalWidth,y.intrinsicHeight=h.naturalHeight,y.context.cache.addImage(y.src),y}return u}(Xe),Po=function(l){A(u,l);function u(f,h){var y=l.call(this,f,h)||this;return y.canvas=h,y.intrinsicWidth=h.width,y.intrinsicHeight=h.height,y}return u}(Xe),_o=function(l){A(u,l);function u(f,h){var y=l.call(this,f,h)||this,F=new XMLSerializer,T=s(f,h);return h.setAttribute("width",T.width+"px"),h.setAttribute("height",T.height+"px"),y.svg="data:image/svg+xml,"+encodeURIComponent(F.serializeToString(h)),y.intrinsicWidth=h.width.baseVal.value,y.intrinsicHeight=h.height.baseVal.value,y.context.cache.addImage(y.svg),y}return u}(Xe),l0=function(l){A(u,l);function u(f,h){var y=l.call(this,f,h)||this;return y.value=h.value,y}return u}(Xe),Yf=function(l){A(u,l);function u(f,h){var y=l.call(this,f,h)||this;return y.start=h.start,y.reversed=typeof h.reversed=="boolean"&&h.reversed===!0,y}return u}(Xe),vC=[{type:15,flags:0,unit:"px",number:3}],BC=[{type:16,flags:0,number:50}],wC=function(l){return l.width>l.height?new a(l.left+(l.width-l.height)/2,l.top,l.height,l.height):l.width<l.height?new a(l.left,l.top+(l.height-l.width)/2,l.width,l.width):l},mC=function(l){var u=l.type===yC?new Array(l.value.length+1).join("\u2022"):l.value;return u.length===0?l.placeholder||"":u},sc="checkbox",oc="radio",yC="password",c0=707406591,Jf=function(l){A(u,l);function u(f,h){var y=l.call(this,f,h)||this;switch(y.type=h.type.toLowerCase(),y.checked=h.checked,y.value=mC(h),(y.type===sc||y.type===oc)&&(y.styles.backgroundColor=3739148031,y.styles.borderTopColor=y.styles.borderRightColor=y.styles.borderBottomColor=y.styles.borderLeftColor=2779096575,y.styles.borderTopWidth=y.styles.borderRightWidth=y.styles.borderBottomWidth=y.styles.borderLeftWidth=1,y.styles.borderTopStyle=y.styles.borderRightStyle=y.styles.borderBottomStyle=y.styles.borderLeftStyle=1,y.styles.backgroundClip=[0],y.styles.backgroundOrigin=[0],y.bounds=wC(y.bounds)),y.type){case sc:y.styles.borderTopRightRadius=y.styles.borderTopLeftRadius=y.styles.borderBottomRightRadius=y.styles.borderBottomLeftRadius=vC;break;case oc:y.styles.borderTopRightRadius=y.styles.borderTopLeftRadius=y.styles.borderBottomRightRadius=y.styles.borderBottomLeftRadius=BC;break}return y}return u}(Xe),h0=function(l){A(u,l);function u(f,h){var y=l.call(this,f,h)||this,F=h.options[h.selectedIndex||0];return y.value=F&&F.text||"",y}return u}(Xe),f0=function(l){A(u,l);function u(f,h){var y=l.call(this,f,h)||this;return y.value=h.value,y}return u}(Xe),g0=function(l){A(u,l);function u(f,h){var y=l.call(this,f,h)||this;y.src=h.src,y.width=parseInt(h.width,10)||0,y.height=parseInt(h.height,10)||0,y.backgroundColor=y.styles.backgroundColor;try{if(h.contentWindow&&h.contentWindow.document&&h.contentWindow.document.documentElement){y.tree=p0(f,h.contentWindow.document.documentElement);var F=h.contentWindow.document.documentElement?Un(f,getComputedStyle(h.contentWindow.document.documentElement).backgroundColor):Cr.TRANSPARENT,T=h.contentWindow.document.body?Un(f,getComputedStyle(h.contentWindow.document.body).backgroundColor):Cr.TRANSPARENT;y.backgroundColor=rr(F)?rr(T)?y.styles.backgroundColor:T:F}}catch{}return y}return u}(Xe),CC=["OL","UL","MENU"],uc=function(l,u,f,h){for(var y=u.firstChild,F=void 0;y;y=F)if(F=y.nextSibling,v0(y)&&y.data.trim().length>0)f.textNodes.push(new na(l,y,f.styles));else if(Do(y))if(b0(y)&&y.assignedNodes)y.assignedNodes().forEach(function(k){return uc(l,k,f,h)});else{var T=d0(l,y);T.styles.isVisible()&&(bC(y,T,h)?T.flags|=4:FC(T.styles)&&(T.flags|=2),CC.indexOf(y.tagName)!==-1&&(T.flags|=8),f.elements.push(T),y.slot,y.shadowRoot?uc(l,y.shadowRoot,T,h):!cc(y)&&!B0(y)&&!hc(y)&&uc(l,y,T,h))}},d0=function(l,u){return Ag(u)?new ac(l,u):w0(u)?new Po(l,u):B0(u)?new _o(l,u):QC(u)?new l0(l,u):UC(u)?new Yf(l,u):xC(u)?new Jf(l,u):hc(u)?new h0(l,u):cc(u)?new f0(l,u):y0(u)?new g0(l,u):new Xe(l,u)},p0=function(l,u){var f=d0(l,u);return f.flags|=4,uc(l,u,f,f),f},bC=function(l,u,f){return u.styles.isPositionedWithZIndex()||u.styles.opacity<1||u.styles.isTransformed()||$f(l)&&f.styles.isTransparent()},FC=function(l){return l.isPositioned()||l.isFloating()},v0=function(l){return l.nodeType===Node.TEXT_NODE},Do=function(l){return l.nodeType===Node.ELEMENT_NODE},Zf=function(l){return Do(l)&&typeof l.style<"u"&&!lc(l)},lc=function(l){return typeof l.className=="object"},QC=function(l){return l.tagName==="LI"},UC=function(l){return l.tagName==="OL"},xC=function(l){return l.tagName==="INPUT"},EC=function(l){return l.tagName==="HTML"},B0=function(l){return l.tagName==="svg"},$f=function(l){return l.tagName==="BODY"},w0=function(l){return l.tagName==="CANVAS"},m0=function(l){return l.tagName==="VIDEO"},Ag=function(l){return l.tagName==="IMG"},y0=function(l){return l.tagName==="IFRAME"},C0=function(l){return l.tagName==="STYLE"},IC=function(l){return l.tagName==="SCRIPT"},cc=function(l){return l.tagName==="TEXTAREA"},hc=function(l){return l.tagName==="SELECT"},b0=function(l){return l.tagName==="SLOT"},F0=function(l){return l.tagName.indexOf("-")>0},SC=function(){function l(){this.counters={}}return l.prototype.getCounterValue=function(u){var f=this.counters[u];return f&&f.length?f[f.length-1]:1},l.prototype.getCounterValues=function(u){var f=this.counters[u];return f||[]},l.prototype.pop=function(u){var f=this;u.forEach(function(h){return f.counters[h].pop()})},l.prototype.parse=function(u){var f=this,h=u.counterIncrement,y=u.counterReset,F=!0;h!==null&&h.forEach(function(k){var R=f.counters[k.counter];R&&k.increment!==0&&(F=!1,R.length||R.push(1),R[Math.max(0,R.length-1)]+=k.increment)});var T=[];return F&&y.forEach(function(k){var R=f.counters[k.counter];T.push(k.counter),R||(R=f.counters[k.counter]=[]),R.push(k.reset)}),T},l}(),Q0={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"]},U0={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:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},LC={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:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},NC={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:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Mo=function(l,u,f,h,y,F){return l<u||l>f?Vu(l,y,F.length>0):h.integers.reduce(function(T,k,R){for(;l>=k;)l-=k,T+=h.values[R];return T},"")+F},x0=function(l,u,f,h){var y="";do f||l--,y=h(l)+y,l/=u;while(l*u>=u);return y},ar=function(l,u,f,h,y){var F=f-u+1;return(l<0?"-":"")+(x0(Math.abs(l),F,h,function(T){return v(Math.floor(T%F)+u)})+y)},Vs=function(l,u,f){f===void 0&&(f=". ");var h=u.length;return x0(Math.abs(l),h,!1,function(y){return u[Math.floor(y%h)]})+f},Ro=1,cs=2,hs=4,qu=8,Ta=function(l,u,f,h,y,F){if(l<-9999||l>9999)return Vu(l,4,y.length>0);var T=Math.abs(l),k=y;if(T===0)return u[0]+k;for(var R=0;T>0&&R<=4;R++){var iA=T%10;iA===0&&cA(F,Ro)&&k!==""?k=u[iA]+k:iA>1||iA===1&&R===0||iA===1&&R===1&&cA(F,cs)||iA===1&&R===1&&cA(F,hs)&&l>100||iA===1&&R>1&&cA(F,qu)?k=u[iA]+(R>0?f[R-1]:"")+k:iA===1&&R>0&&(k=f[R-1]+k),T=Math.floor(T/10)}return(l<0?h:"")+k},E0="\u5341\u767E\u5343\u842C",I0="\u62FE\u4F70\u4EDF\u842C",S0="\u30DE\u30A4\u30CA\u30B9",eg="\uB9C8\uC774\uB108\uC2A4",Vu=function(l,u,f){var h=f?". ":"",y=f?"\u3001":"",F=f?", ":"",T=f?" ":"";switch(u){case 0:return"\u2022"+T;case 1:return"\u25E6"+T;case 2:return"\u25FE"+T;case 5:var k=ar(l,48,57,!0,h);return k.length<4?"0"+k:k;case 4:return Vs(l,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",y);case 6:return Mo(l,1,3999,Q0,3,h).toLowerCase();case 7:return Mo(l,1,3999,Q0,3,h);case 8:return ar(l,945,969,!1,h);case 9:return ar(l,97,122,!1,h);case 10:return ar(l,65,90,!1,h);case 11:return ar(l,1632,1641,!0,h);case 12:case 49:return Mo(l,1,9999,U0,3,h);case 35:return Mo(l,1,9999,U0,3,h).toLowerCase();case 13:return ar(l,2534,2543,!0,h);case 14:case 30:return ar(l,6112,6121,!0,h);case 15:return Vs(l,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",y);case 16:return Vs(l,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",y);case 17:case 48:return Ta(l,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",E0,"\u8CA0",y,cs|hs|qu);case 47:return Ta(l,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",I0,"\u8CA0",y,Ro|cs|hs|qu);case 42:return Ta(l,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",E0,"\u8D1F",y,cs|hs|qu);case 41:return Ta(l,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",I0,"\u8D1F",y,Ro|cs|hs|qu);case 26:return Ta(l,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",S0,y,0);case 25:return Ta(l,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",S0,y,Ro|cs|hs);case 31:return Ta(l,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",eg,F,Ro|cs|hs);case 33:return Ta(l,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",eg,F,0);case 32:return Ta(l,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",eg,F,Ro|cs|hs);case 18:return ar(l,2406,2415,!0,h);case 20:return Mo(l,1,19999,NC,3,h);case 21:return ar(l,2790,2799,!0,h);case 22:return ar(l,2662,2671,!0,h);case 22:return Mo(l,1,10999,LC,3,h);case 23:return Vs(l,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Vs(l,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return ar(l,3302,3311,!0,h);case 28:return Vs(l,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",y);case 29:return Vs(l,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",y);case 34:return ar(l,3792,3801,!0,h);case 37:return ar(l,6160,6169,!0,h);case 38:return ar(l,4160,4169,!0,h);case 39:return ar(l,2918,2927,!0,h);case 40:return ar(l,1776,1785,!0,h);case 43:return ar(l,3046,3055,!0,h);case 44:return ar(l,3174,3183,!0,h);case 45:return ar(l,3664,3673,!0,h);case 46:return ar(l,3872,3881,!0,h);case 3:default:return ar(l,48,57,!0,h)}},L0="data-html2canvas-ignore",N0=function(){function l(u,f,h){if(this.context=u,this.options=h,this.scrolledElements=[],this.referenceElement=f,this.counters=new SC,this.quoteDepth=0,!f.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(f.ownerDocument.documentElement,!1)}return l.prototype.toIFrame=function(u,f){var h=this,y=TC(u,f);if(!y.contentWindow)return Promise.reject("Unable to find iframe window");var F=u.defaultView.pageXOffset,T=u.defaultView.pageYOffset,k=y.contentWindow,R=k.document,iA=PC(y).then(function(){return t(h,void 0,void 0,function(){var oA,dA;return n(this,function(SA){switch(SA.label){case 0:return this.scrolledElements.forEach(RC),k&&(k.scrollTo(f.left,f.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(k.scrollY!==f.top||k.scrollX!==f.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(k.scrollX-f.left,k.scrollY-f.top,0,0))),oA=this.options.onclone,dA=this.clonedReferenceElement,typeof dA>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:R.fonts&&R.fonts.ready?[4,R.fonts.ready]:[3,2];case 1:SA.sent(),SA.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,OC(R)]:[3,4];case 3:SA.sent(),SA.label=4;case 4:return typeof oA=="function"?[2,Promise.resolve().then(function(){return oA(R,dA)}).then(function(){return y})]:[2,y]}})})});return R.open(),R.write(DC(document.doctype)+"<html></html>"),MC(this.referenceElement.ownerDocument,F,T),R.replaceChild(R.adoptNode(this.documentElement),R.documentElement),R.close(),iA},l.prototype.createElementClone=function(u){if(Ve(u,2))debugger;if(w0(u))return this.createCanvasClone(u);if(m0(u))return this.createVideoClone(u);if(C0(u))return this.createStyleClone(u);var f=u.cloneNode(!1);return Ag(f)&&(Ag(u)&&u.currentSrc&&u.currentSrc!==u.src&&(f.src=u.currentSrc,f.srcset=""),f.loading==="lazy"&&(f.loading="eager")),F0(f)?this.createCustomElementClone(f):f},l.prototype.createCustomElementClone=function(u){var f=document.createElement("html2canvascustomelement");return tg(u.style,f),f},l.prototype.createStyleClone=function(u){try{var f=u.sheet;if(f&&f.cssRules){var h=[].slice.call(f.cssRules,0).reduce(function(F,T){return T&&typeof T.cssText=="string"?F+T.cssText:F},""),y=u.cloneNode(!1);return y.textContent=h,y}}catch(F){if(this.context.logger.error("Unable to access cssRules property",F),F.name!=="SecurityError")throw F}return u.cloneNode(!1)},l.prototype.createCanvasClone=function(u){var f;if(this.options.inlineImages&&u.ownerDocument){var h=u.ownerDocument.createElement("img");try{return h.src=u.toDataURL(),h}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",u)}}var y=u.cloneNode(!1);try{y.width=u.width,y.height=u.height;var F=u.getContext("2d"),T=y.getContext("2d");if(T)if(!this.options.allowTaint&&F)T.putImageData(F.getImageData(0,0,u.width,u.height),0,0);else{var k=(f=u.getContext("webgl2"))!==null&&f!==void 0?f:u.getContext("webgl");if(k){var R=k.getContextAttributes();R?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",u)}T.drawImage(u,0,0)}return y}catch{this.context.logger.info("Unable to clone canvas as it is tainted",u)}return y},l.prototype.createVideoClone=function(u){var f=u.ownerDocument.createElement("canvas");f.width=u.offsetWidth,f.height=u.offsetHeight;var h=f.getContext("2d");try{return h&&(h.drawImage(u,0,0,f.width,f.height),this.options.allowTaint||h.getImageData(0,0,f.width,f.height)),f}catch{this.context.logger.info("Unable to clone video as it is tainted",u)}var y=u.ownerDocument.createElement("canvas");return y.width=u.offsetWidth,y.height=u.offsetHeight,y},l.prototype.appendChildNode=function(u,f,h){(!Do(f)||!IC(f)&&!f.hasAttribute(L0)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(f)))&&(!this.options.copyStyles||!Do(f)||!C0(f))&&u.appendChild(this.cloneNode(f,h))},l.prototype.cloneChildNodes=function(u,f,h){for(var y=this,F=u.shadowRoot?u.shadowRoot.firstChild:u.firstChild;F;F=F.nextSibling)if(Do(F)&&b0(F)&&typeof F.assignedNodes=="function"){var T=F.assignedNodes();T.length&&T.forEach(function(k){return y.appendChildNode(f,k,h)})}else this.appendChildNode(f,F,h)},l.prototype.cloneNode=function(u,f){if(v0(u))return document.createTextNode(u.data);if(!u.ownerDocument)return u.cloneNode(!1);var h=u.ownerDocument.defaultView;if(h&&Do(u)&&(Zf(u)||lc(u))){var y=this.createElementClone(u);y.style.transitionProperty="none";var F=h.getComputedStyle(u),T=h.getComputedStyle(u,":before"),k=h.getComputedStyle(u,":after");this.referenceElement===u&&Zf(y)&&(this.clonedReferenceElement=y),$f(y)&&qC(y);var R=this.counters.parse(new te(this.context,F)),iA=this.resolvePseudoContent(u,y,T,ju.BEFORE);F0(u)&&(f=!0),m0(u)||this.cloneChildNodes(u,y,f),iA&&y.insertBefore(iA,y.firstChild);var oA=this.resolvePseudoContent(u,y,k,ju.AFTER);return oA&&y.appendChild(oA),this.counters.pop(R),(F&&(this.options.copyStyles||lc(u))&&!y0(u)||f)&&tg(F,y),(u.scrollTop!==0||u.scrollLeft!==0)&&this.scrolledElements.push([y,u.scrollLeft,u.scrollTop]),(cc(u)||hc(u))&&(cc(y)||hc(y))&&(y.value=u.value),y}return u.cloneNode(!1)},l.prototype.resolvePseudoContent=function(u,f,h,y){var F=this;if(h){var T=h.content,k=f.ownerDocument;if(!(!k||!T||T==="none"||T==="-moz-alt-content"||h.display==="none")){this.counters.parse(new te(this.context,h));var R=new me(this.context,h),iA=k.createElement("html2canvaspseudoelement");tg(h,iA),R.content.forEach(function(dA){if(dA.type===0)iA.appendChild(k.createTextNode(dA.value));else if(dA.type===22){var SA=k.createElement("img");SA.src=dA.value,SA.style.opacity="1",iA.appendChild(SA)}else if(dA.type===18){if(dA.name==="attr"){var le=dA.values.filter(Qe);le.length&&iA.appendChild(k.createTextNode(u.getAttribute(le[0].value)||""))}else if(dA.name==="counter"){var YA=dA.values.filter(Et),ne=YA[0],Ke=YA[1];if(ne&&Qe(ne)){var ve=F.counters.getCounterValue(ne.value),fe=Ke&&Qe(Ke)?Jr.parse(F.context,Ke.value):3;iA.appendChild(k.createTextNode(Vu(ve,fe,!1)))}}else if(dA.name==="counters"){var rt=dA.values.filter(Et),ne=rt[0],je=rt[1],Ke=rt[2];if(ne&&Qe(ne)){var Ne=F.counters.getCounterValues(ne.value),se=Ke&&Qe(Ke)?Jr.parse(F.context,Ke.value):3,At=je&&je.type===0?je.value:"",et=Ne.map(function(Nn){return Vu(Nn,se,!1)}).join(At);iA.appendChild(k.createTextNode(et))}}}else if(dA.type===20)switch(dA.value){case"open-quote":iA.appendChild(k.createTextNode(aA(R.quotes,F.quoteDepth++,!0)));break;case"close-quote":iA.appendChild(k.createTextNode(aA(R.quotes,--F.quoteDepth,!1)));break;default:iA.appendChild(k.createTextNode(dA.value))}}),iA.className=rg+" "+ng;var oA=y===ju.BEFORE?" "+rg:" "+ng;return lc(f)?f.className.baseValue+=oA:f.className+=oA,iA}}},l.destroy=function(u){return u.parentNode?(u.parentNode.removeChild(u),!0):!1},l}(),ju;(function(l){l[l.BEFORE=0]="BEFORE",l[l.AFTER=1]="AFTER"})(ju||(ju={}));var TC=function(l,u){var f=l.createElement("iframe");return f.className="html2canvas-container",f.style.visibility="hidden",f.style.position="fixed",f.style.left="-10000px",f.style.top="0px",f.style.border="0",f.width=u.width.toString(),f.height=u.height.toString(),f.scrolling="no",f.setAttribute(L0,"true"),l.body.appendChild(f),f},HC=function(l){return new Promise(function(u){if(l.complete){u();return}if(!l.src){u();return}l.onload=u,l.onerror=u})},OC=function(l){return Promise.all([].slice.call(l.images,0).map(HC))},PC=function(l){return new Promise(function(u,f){var h=l.contentWindow;if(!h)return f("No window assigned for iframe");var y=h.document;h.onload=l.onload=function(){h.onload=l.onload=null;var F=setInterval(function(){y.body.childNodes.length>0&&y.readyState==="complete"&&(clearInterval(F),u(l))},50)}})},_C=["all","d","content"],tg=function(l,u){for(var f=l.length-1;f>=0;f--){var h=l.item(f);_C.indexOf(h)===-1&&u.style.setProperty(h,l.getPropertyValue(h))}return u},DC=function(l){var u="";return l&&(u+="<!DOCTYPE ",l.name&&(u+=l.name),l.internalSubset&&(u+=l.internalSubset),l.publicId&&(u+='"'+l.publicId+'"'),l.systemId&&(u+='"'+l.systemId+'"'),u+=">"),u},MC=function(l,u,f){l&&l.defaultView&&(u!==l.defaultView.pageXOffset||f!==l.defaultView.pageYOffset)&&l.defaultView.scrollTo(u,f)},RC=function(l){var u=l[0],f=l[1],h=l[2];u.scrollLeft=f,u.scrollTop=h},kC=":before",KC=":after",rg="___html2canvas___pseudoelement_before",ng="___html2canvas___pseudoelement_after",T0=`{
|
|
27
|
+
content: "" !important;
|
|
28
|
+
display: none !important;
|
|
29
|
+
}`,qC=function(l){VC(l,"."+rg+kC+T0+`
|
|
30
|
+
.`+ng+KC+T0)},VC=function(l,u){var f=l.ownerDocument;if(f){var h=f.createElement("style");h.textContent=u,l.appendChild(h)}},H0=function(){function l(){}return l.getOrigin=function(u){var f=l._link;return f?(f.href=u,f.href=f.href,f.protocol+f.hostname+f.port):"about:blank"},l.isSameOrigin=function(u){return l.getOrigin(u)===l._origin},l.setContext=function(u){l._link=u.document.createElement("a"),l._origin=l.getOrigin(u.location.href)},l._origin="about:blank",l}(),jC=function(){function l(u,f){this.context=u,this._options=f,this._cache={}}return l.prototype.addImage=function(u){var f=Promise.resolve();return this.has(u)||(ag(u)||XC(u))&&(this._cache[u]=this.loadImage(u)).catch(function(){}),f},l.prototype.match=function(u){return this._cache[u]},l.prototype.loadImage=function(u){return t(this,void 0,void 0,function(){var f,h,y,F,T=this;return n(this,function(k){switch(k.label){case 0:return f=H0.isSameOrigin(u),h=!ig(u)&&this._options.useCORS===!0&&Qr.SUPPORT_CORS_IMAGES&&!f,y=!ig(u)&&!f&&!ag(u)&&typeof this._options.proxy=="string"&&Qr.SUPPORT_CORS_XHR&&!h,!f&&this._options.allowTaint===!1&&!ig(u)&&!ag(u)&&!y&&!h?[2]:(F=u,y?[4,this.proxy(F)]:[3,2]);case 1:F=k.sent(),k.label=2;case 2:return this.context.logger.debug("Added image "+u.substring(0,256)),[4,new Promise(function(R,iA){var oA=new Image;oA.onload=function(){return R(oA)},oA.onerror=iA,(YC(F)||h)&&(oA.crossOrigin="anonymous"),oA.src=F,oA.complete===!0&&setTimeout(function(){return R(oA)},500),T._options.imageTimeout>0&&setTimeout(function(){return iA("Timed out ("+T._options.imageTimeout+"ms) loading image")},T._options.imageTimeout)})];case 3:return[2,k.sent()]}})})},l.prototype.has=function(u){return typeof this._cache[u]<"u"},l.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},l.prototype.proxy=function(u){var f=this,h=this._options.proxy;if(!h)throw new Error("No proxy defined");var y=u.substring(0,256);return new Promise(function(F,T){var k=Qr.SUPPORT_RESPONSE_TYPE?"blob":"text",R=new XMLHttpRequest;R.onload=function(){if(R.status===200)if(k==="text")F(R.response);else{var dA=new FileReader;dA.addEventListener("load",function(){return F(dA.result)},!1),dA.addEventListener("error",function(SA){return T(SA)},!1),dA.readAsDataURL(R.response)}else T("Failed to proxy resource "+y+" with status code "+R.status)},R.onerror=T;var iA=h.indexOf("?")>-1?"&":"?";if(R.open("GET",""+h+iA+"url="+encodeURIComponent(u)+"&responseType="+k),k!=="text"&&R instanceof XMLHttpRequest&&(R.responseType=k),f._options.imageTimeout){var oA=f._options.imageTimeout;R.timeout=oA,R.ontimeout=function(){return T("Timed out ("+oA+"ms) proxying "+y)}}R.send()})},l}(),GC=/^data:image\/svg\+xml/i,zC=/^data:image\/.*;base64,/i,WC=/^data:image\/.*/i,XC=function(l){return Qr.SUPPORT_SVG_DRAWING||!JC(l)},ig=function(l){return WC.test(l)},YC=function(l){return zC.test(l)},ag=function(l){return l.substr(0,4)==="blob"},JC=function(l){return l.substr(-3).toLowerCase()==="svg"||GC.test(l)},ae=function(){function l(u,f){this.type=0,this.x=u,this.y=f}return l.prototype.add=function(u,f){return new l(this.x+u,this.y+f)},l}(),ko=function(l,u,f){return new ae(l.x+(u.x-l.x)*f,l.y+(u.y-l.y)*f)},fc=function(){function l(u,f,h,y){this.type=1,this.start=u,this.startControl=f,this.endControl=h,this.end=y}return l.prototype.subdivide=function(u,f){var h=ko(this.start,this.startControl,u),y=ko(this.startControl,this.endControl,u),F=ko(this.endControl,this.end,u),T=ko(h,y,u),k=ko(y,F,u),R=ko(T,k,u);return f?new l(this.start,h,T,R):new l(R,k,F,this.end)},l.prototype.add=function(u,f){return new l(this.start.add(u,f),this.startControl.add(u,f),this.endControl.add(u,f),this.end.add(u,f))},l.prototype.reverse=function(){return new l(this.end,this.endControl,this.startControl,this.start)},l}(),si=function(l){return l.type===1},ZC=function(){function l(u){var f=u.styles,h=u.bounds,y=vi(f.borderTopLeftRadius,h.width,h.height),F=y[0],T=y[1],k=vi(f.borderTopRightRadius,h.width,h.height),R=k[0],iA=k[1],oA=vi(f.borderBottomRightRadius,h.width,h.height),dA=oA[0],SA=oA[1],le=vi(f.borderBottomLeftRadius,h.width,h.height),YA=le[0],ne=le[1],Ke=[];Ke.push((F+R)/h.width),Ke.push((YA+dA)/h.width),Ke.push((T+ne)/h.height),Ke.push((iA+SA)/h.height);var ve=Math.max.apply(Math,Ke);ve>1&&(F/=ve,T/=ve,R/=ve,iA/=ve,dA/=ve,SA/=ve,YA/=ve,ne/=ve);var fe=h.width-R,rt=h.height-SA,je=h.width-dA,Ne=h.height-ne,se=f.borderTopWidth,At=f.borderRightWidth,et=f.borderBottomWidth,He=f.borderLeftWidth,gr=tt(f.paddingTop,u.bounds.width),Nn=tt(f.paddingRight,u.bounds.width),Yn=tt(f.paddingBottom,u.bounds.width),mt=tt(f.paddingLeft,u.bounds.width);this.topLeftBorderDoubleOuterBox=F>0||T>0?Mt(h.left+He/3,h.top+se/3,F-He/3,T-se/3,ft.TOP_LEFT):new ae(h.left+He/3,h.top+se/3),this.topRightBorderDoubleOuterBox=F>0||T>0?Mt(h.left+fe,h.top+se/3,R-At/3,iA-se/3,ft.TOP_RIGHT):new ae(h.left+h.width-At/3,h.top+se/3),this.bottomRightBorderDoubleOuterBox=dA>0||SA>0?Mt(h.left+je,h.top+rt,dA-At/3,SA-et/3,ft.BOTTOM_RIGHT):new ae(h.left+h.width-At/3,h.top+h.height-et/3),this.bottomLeftBorderDoubleOuterBox=YA>0||ne>0?Mt(h.left+He/3,h.top+Ne,YA-He/3,ne-et/3,ft.BOTTOM_LEFT):new ae(h.left+He/3,h.top+h.height-et/3),this.topLeftBorderDoubleInnerBox=F>0||T>0?Mt(h.left+He*2/3,h.top+se*2/3,F-He*2/3,T-se*2/3,ft.TOP_LEFT):new ae(h.left+He*2/3,h.top+se*2/3),this.topRightBorderDoubleInnerBox=F>0||T>0?Mt(h.left+fe,h.top+se*2/3,R-At*2/3,iA-se*2/3,ft.TOP_RIGHT):new ae(h.left+h.width-At*2/3,h.top+se*2/3),this.bottomRightBorderDoubleInnerBox=dA>0||SA>0?Mt(h.left+je,h.top+rt,dA-At*2/3,SA-et*2/3,ft.BOTTOM_RIGHT):new ae(h.left+h.width-At*2/3,h.top+h.height-et*2/3),this.bottomLeftBorderDoubleInnerBox=YA>0||ne>0?Mt(h.left+He*2/3,h.top+Ne,YA-He*2/3,ne-et*2/3,ft.BOTTOM_LEFT):new ae(h.left+He*2/3,h.top+h.height-et*2/3),this.topLeftBorderStroke=F>0||T>0?Mt(h.left+He/2,h.top+se/2,F-He/2,T-se/2,ft.TOP_LEFT):new ae(h.left+He/2,h.top+se/2),this.topRightBorderStroke=F>0||T>0?Mt(h.left+fe,h.top+se/2,R-At/2,iA-se/2,ft.TOP_RIGHT):new ae(h.left+h.width-At/2,h.top+se/2),this.bottomRightBorderStroke=dA>0||SA>0?Mt(h.left+je,h.top+rt,dA-At/2,SA-et/2,ft.BOTTOM_RIGHT):new ae(h.left+h.width-At/2,h.top+h.height-et/2),this.bottomLeftBorderStroke=YA>0||ne>0?Mt(h.left+He/2,h.top+Ne,YA-He/2,ne-et/2,ft.BOTTOM_LEFT):new ae(h.left+He/2,h.top+h.height-et/2),this.topLeftBorderBox=F>0||T>0?Mt(h.left,h.top,F,T,ft.TOP_LEFT):new ae(h.left,h.top),this.topRightBorderBox=R>0||iA>0?Mt(h.left+fe,h.top,R,iA,ft.TOP_RIGHT):new ae(h.left+h.width,h.top),this.bottomRightBorderBox=dA>0||SA>0?Mt(h.left+je,h.top+rt,dA,SA,ft.BOTTOM_RIGHT):new ae(h.left+h.width,h.top+h.height),this.bottomLeftBorderBox=YA>0||ne>0?Mt(h.left,h.top+Ne,YA,ne,ft.BOTTOM_LEFT):new ae(h.left,h.top+h.height),this.topLeftPaddingBox=F>0||T>0?Mt(h.left+He,h.top+se,Math.max(0,F-He),Math.max(0,T-se),ft.TOP_LEFT):new ae(h.left+He,h.top+se),this.topRightPaddingBox=R>0||iA>0?Mt(h.left+Math.min(fe,h.width-At),h.top+se,fe>h.width+At?0:Math.max(0,R-At),Math.max(0,iA-se),ft.TOP_RIGHT):new ae(h.left+h.width-At,h.top+se),this.bottomRightPaddingBox=dA>0||SA>0?Mt(h.left+Math.min(je,h.width-He),h.top+Math.min(rt,h.height-et),Math.max(0,dA-At),Math.max(0,SA-et),ft.BOTTOM_RIGHT):new ae(h.left+h.width-At,h.top+h.height-et),this.bottomLeftPaddingBox=YA>0||ne>0?Mt(h.left+He,h.top+Math.min(Ne,h.height-et),Math.max(0,YA-He),Math.max(0,ne-et),ft.BOTTOM_LEFT):new ae(h.left+He,h.top+h.height-et),this.topLeftContentBox=F>0||T>0?Mt(h.left+He+mt,h.top+se+gr,Math.max(0,F-(He+mt)),Math.max(0,T-(se+gr)),ft.TOP_LEFT):new ae(h.left+He+mt,h.top+se+gr),this.topRightContentBox=R>0||iA>0?Mt(h.left+Math.min(fe,h.width+He+mt),h.top+se+gr,fe>h.width+He+mt?0:R-He+mt,iA-(se+gr),ft.TOP_RIGHT):new ae(h.left+h.width-(At+Nn),h.top+se+gr),this.bottomRightContentBox=dA>0||SA>0?Mt(h.left+Math.min(je,h.width-(He+mt)),h.top+Math.min(rt,h.height+se+gr),Math.max(0,dA-(At+Nn)),SA-(et+Yn),ft.BOTTOM_RIGHT):new ae(h.left+h.width-(At+Nn),h.top+h.height-(et+Yn)),this.bottomLeftContentBox=YA>0||ne>0?Mt(h.left+He+mt,h.top+Ne,Math.max(0,YA-(He+mt)),ne-(et+Yn),ft.BOTTOM_LEFT):new ae(h.left+He+mt,h.top+h.height-(et+Yn))}return l}(),ft;(function(l){l[l.TOP_LEFT=0]="TOP_LEFT",l[l.TOP_RIGHT=1]="TOP_RIGHT",l[l.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",l[l.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(ft||(ft={}));var Mt=function(l,u,f,h,y){var F=4*((Math.sqrt(2)-1)/3),T=f*F,k=h*F,R=l+f,iA=u+h;switch(y){case ft.TOP_LEFT:return new fc(new ae(l,iA),new ae(l,iA-k),new ae(R-T,u),new ae(R,u));case ft.TOP_RIGHT:return new fc(new ae(l,u),new ae(l+T,u),new ae(R,iA-k),new ae(R,iA));case ft.BOTTOM_RIGHT:return new fc(new ae(R,u),new ae(R,u+k),new ae(l+T,iA),new ae(l,iA));case ft.BOTTOM_LEFT:default:return new fc(new ae(R,iA),new ae(R-T,iA),new ae(l,u+k),new ae(l,u))}},gc=function(l){return[l.topLeftBorderBox,l.topRightBorderBox,l.bottomRightBorderBox,l.bottomLeftBorderBox]},$C=function(l){return[l.topLeftContentBox,l.topRightContentBox,l.bottomRightContentBox,l.bottomLeftContentBox]},dc=function(l){return[l.topLeftPaddingBox,l.topRightPaddingBox,l.bottomRightPaddingBox,l.bottomLeftPaddingBox]},Ab=function(){function l(u,f,h){this.offsetX=u,this.offsetY=f,this.matrix=h,this.type=0,this.target=6}return l}(),pc=function(){function l(u,f){this.path=u,this.target=f,this.type=1}return l}(),eb=function(){function l(u){this.opacity=u,this.type=2,this.target=6}return l}(),tb=function(l){return l.type===0},O0=function(l){return l.type===1},rb=function(l){return l.type===2},P0=function(l,u){return l.length===u.length?l.some(function(f,h){return f===u[h]}):!1},nb=function(l,u,f,h,y){return l.map(function(F,T){switch(T){case 0:return F.add(u,f);case 1:return F.add(u+h,f);case 2:return F.add(u+h,f+y);case 3:return F.add(u,f+y)}return F})},_0=function(){function l(u){this.element=u,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return l}(),D0=function(){function l(u,f){if(this.container=u,this.parent=f,this.effects=[],this.curves=new ZC(this.container),this.container.styles.opacity<1&&this.effects.push(new eb(this.container.styles.opacity)),this.container.styles.transform!==null){var h=this.container.bounds.left+this.container.styles.transformOrigin[0].number,y=this.container.bounds.top+this.container.styles.transformOrigin[1].number,F=this.container.styles.transform;this.effects.push(new Ab(h,y,F))}if(this.container.styles.overflowX!==0){var T=gc(this.curves),k=dc(this.curves);P0(T,k)?this.effects.push(new pc(T,6)):(this.effects.push(new pc(T,2)),this.effects.push(new pc(k,4)))}}return l.prototype.getEffects=function(u){for(var f=[2,3].indexOf(this.container.styles.position)===-1,h=this.parent,y=this.effects.slice(0);h;){var F=h.effects.filter(function(R){return!O0(R)});if(f||h.container.styles.position!==0||!h.parent){if(y.unshift.apply(y,F),f=[2,3].indexOf(h.container.styles.position)===-1,h.container.styles.overflowX!==0){var T=gc(h.curves),k=dc(h.curves);P0(T,k)||y.unshift(new pc(k,6))}}else y.unshift.apply(y,F);h=h.parent}return y.filter(function(R){return cA(R.target,u)})},l}(),sg=function(l,u,f,h){l.container.elements.forEach(function(y){var F=cA(y.flags,4),T=cA(y.flags,2),k=new D0(y,l);cA(y.styles.display,2048)&&h.push(k);var R=cA(y.flags,8)?[]:h;if(F||T){var iA=F||y.styles.isPositioned()?f:u,oA=new _0(k);if(y.styles.isPositioned()||y.styles.opacity<1||y.styles.isTransformed()){var dA=y.styles.zIndex.order;if(dA<0){var SA=0;iA.negativeZIndex.some(function(YA,ne){return dA>YA.element.container.styles.zIndex.order?(SA=ne,!1):SA>0}),iA.negativeZIndex.splice(SA,0,oA)}else if(dA>0){var le=0;iA.positiveZIndex.some(function(YA,ne){return dA>=YA.element.container.styles.zIndex.order?(le=ne+1,!1):le>0}),iA.positiveZIndex.splice(le,0,oA)}else iA.zeroOrAutoZIndexOrTransformedOrOpacity.push(oA)}else y.styles.isFloating()?iA.nonPositionedFloats.push(oA):iA.nonPositionedInlineLevel.push(oA);sg(k,oA,F?oA:f,R)}else y.styles.isInlineLevel()?u.inlineLevel.push(k):u.nonInlineLevel.push(k),sg(k,u,f,R);cA(y.flags,8)&&M0(y,R)})},M0=function(l,u){for(var f=l instanceof Yf?l.start:1,h=l instanceof Yf?l.reversed:!1,y=0;y<u.length;y++){var F=u[y];F.container instanceof l0&&typeof F.container.value=="number"&&F.container.value!==0&&(f=F.container.value),F.listValue=Vu(f,F.container.styles.listStyleType,!0),f+=h?-1:1}},ib=function(l){var u=new D0(l,null),f=new _0(u),h=[];return sg(u,f,f,h),M0(u.container,h),f},R0=function(l,u){switch(u){case 0:return oi(l.topLeftBorderBox,l.topLeftPaddingBox,l.topRightBorderBox,l.topRightPaddingBox);case 1:return oi(l.topRightBorderBox,l.topRightPaddingBox,l.bottomRightBorderBox,l.bottomRightPaddingBox);case 2:return oi(l.bottomRightBorderBox,l.bottomRightPaddingBox,l.bottomLeftBorderBox,l.bottomLeftPaddingBox);case 3:default:return oi(l.bottomLeftBorderBox,l.bottomLeftPaddingBox,l.topLeftBorderBox,l.topLeftPaddingBox)}},ab=function(l,u){switch(u){case 0:return oi(l.topLeftBorderBox,l.topLeftBorderDoubleOuterBox,l.topRightBorderBox,l.topRightBorderDoubleOuterBox);case 1:return oi(l.topRightBorderBox,l.topRightBorderDoubleOuterBox,l.bottomRightBorderBox,l.bottomRightBorderDoubleOuterBox);case 2:return oi(l.bottomRightBorderBox,l.bottomRightBorderDoubleOuterBox,l.bottomLeftBorderBox,l.bottomLeftBorderDoubleOuterBox);case 3:default:return oi(l.bottomLeftBorderBox,l.bottomLeftBorderDoubleOuterBox,l.topLeftBorderBox,l.topLeftBorderDoubleOuterBox)}},sb=function(l,u){switch(u){case 0:return oi(l.topLeftBorderDoubleInnerBox,l.topLeftPaddingBox,l.topRightBorderDoubleInnerBox,l.topRightPaddingBox);case 1:return oi(l.topRightBorderDoubleInnerBox,l.topRightPaddingBox,l.bottomRightBorderDoubleInnerBox,l.bottomRightPaddingBox);case 2:return oi(l.bottomRightBorderDoubleInnerBox,l.bottomRightPaddingBox,l.bottomLeftBorderDoubleInnerBox,l.bottomLeftPaddingBox);case 3:default:return oi(l.bottomLeftBorderDoubleInnerBox,l.bottomLeftPaddingBox,l.topLeftBorderDoubleInnerBox,l.topLeftPaddingBox)}},ob=function(l,u){switch(u){case 0:return vc(l.topLeftBorderStroke,l.topRightBorderStroke);case 1:return vc(l.topRightBorderStroke,l.bottomRightBorderStroke);case 2:return vc(l.bottomRightBorderStroke,l.bottomLeftBorderStroke);case 3:default:return vc(l.bottomLeftBorderStroke,l.topLeftBorderStroke)}},vc=function(l,u){var f=[];return si(l)?f.push(l.subdivide(.5,!1)):f.push(l),si(u)?f.push(u.subdivide(.5,!0)):f.push(u),f},oi=function(l,u,f,h){var y=[];return si(l)?y.push(l.subdivide(.5,!1)):y.push(l),si(f)?y.push(f.subdivide(.5,!0)):y.push(f),si(h)?y.push(h.subdivide(.5,!0).reverse()):y.push(h),si(u)?y.push(u.subdivide(.5,!1).reverse()):y.push(u),y},k0=function(l){var u=l.bounds,f=l.styles;return u.add(f.borderLeftWidth,f.borderTopWidth,-(f.borderRightWidth+f.borderLeftWidth),-(f.borderTopWidth+f.borderBottomWidth))},Bc=function(l){var u=l.styles,f=l.bounds,h=tt(u.paddingLeft,f.width),y=tt(u.paddingRight,f.width),F=tt(u.paddingTop,f.width),T=tt(u.paddingBottom,f.width);return f.add(h+u.borderLeftWidth,F+u.borderTopWidth,-(u.borderRightWidth+u.borderLeftWidth+h+y),-(u.borderTopWidth+u.borderBottomWidth+F+T))},ub=function(l,u){return l===0?u.bounds:l===2?Bc(u):k0(u)},lb=function(l,u){return l===0?u.bounds:l===2?Bc(u):k0(u)},og=function(l,u,f){var h=ub(qo(l.styles.backgroundOrigin,u),l),y=lb(qo(l.styles.backgroundClip,u),l),F=cb(qo(l.styles.backgroundSize,u),f,h),T=F[0],k=F[1],R=vi(qo(l.styles.backgroundPosition,u),h.width-T,h.height-k),iA=hb(qo(l.styles.backgroundRepeat,u),R,F,h,y),oA=Math.round(h.left+R[0]),dA=Math.round(h.top+R[1]);return[iA,oA,dA,T,k]},Ko=function(l){return Qe(l)&&l.value===bi.AUTO},wc=function(l){return typeof l=="number"},cb=function(l,u,f){var h=u[0],y=u[1],F=u[2],T=l[0],k=l[1];if(!T)return[0,0];if(It(T)&&k&&It(k))return[tt(T,f.width),tt(k,f.height)];var R=wc(F);if(Qe(T)&&(T.value===bi.CONTAIN||T.value===bi.COVER)){if(wc(F)){var iA=f.width/f.height;return iA<F!=(T.value===bi.COVER)?[f.width,f.width/F]:[f.height*F,f.height]}return[f.width,f.height]}var oA=wc(h),dA=wc(y),SA=oA||dA;if(Ko(T)&&(!k||Ko(k))){if(oA&&dA)return[h,y];if(!R&&!SA)return[f.width,f.height];if(SA&&R){var le=oA?h:y*F,YA=dA?y:h/F;return[le,YA]}var ne=oA?h:f.width,Ke=dA?y:f.height;return[ne,Ke]}if(R){var ve=0,fe=0;return It(T)?ve=tt(T,f.width):It(k)&&(fe=tt(k,f.height)),Ko(T)?ve=fe*F:(!k||Ko(k))&&(fe=ve/F),[ve,fe]}var rt=null,je=null;if(It(T)?rt=tt(T,f.width):k&&It(k)&&(je=tt(k,f.height)),rt!==null&&(!k||Ko(k))&&(je=oA&&dA?rt/h*y:f.height),je!==null&&Ko(T)&&(rt=oA&&dA?je/y*h:f.width),rt!==null&&je!==null)return[rt,je];throw new Error("Unable to calculate background-size for element")},qo=function(l,u){var f=l[u];return typeof f>"u"?l[0]:f},hb=function(l,u,f,h,y){var F=u[0],T=u[1],k=f[0],R=f[1];switch(l){case 2:return[new ae(Math.round(h.left),Math.round(h.top+T)),new ae(Math.round(h.left+h.width),Math.round(h.top+T)),new ae(Math.round(h.left+h.width),Math.round(R+h.top+T)),new ae(Math.round(h.left),Math.round(R+h.top+T))];case 3:return[new ae(Math.round(h.left+F),Math.round(h.top)),new ae(Math.round(h.left+F+k),Math.round(h.top)),new ae(Math.round(h.left+F+k),Math.round(h.height+h.top)),new ae(Math.round(h.left+F),Math.round(h.height+h.top))];case 1:return[new ae(Math.round(h.left+F),Math.round(h.top+T)),new ae(Math.round(h.left+F+k),Math.round(h.top+T)),new ae(Math.round(h.left+F+k),Math.round(h.top+T+R)),new ae(Math.round(h.left+F),Math.round(h.top+T+R))];default:return[new ae(Math.round(y.left),Math.round(y.top)),new ae(Math.round(y.left+y.width),Math.round(y.top)),new ae(Math.round(y.left+y.width),Math.round(y.height+y.top)),new ae(Math.round(y.left),Math.round(y.height+y.top))]}},fb="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",K0="Hidden Text",gb=function(){function l(u){this._data={},this._document=u}return l.prototype.parseMetrics=function(u,f){var h=this._document.createElement("div"),y=this._document.createElement("img"),F=this._document.createElement("span"),T=this._document.body;h.style.visibility="hidden",h.style.fontFamily=u,h.style.fontSize=f,h.style.margin="0",h.style.padding="0",h.style.whiteSpace="nowrap",T.appendChild(h),y.src=fb,y.width=1,y.height=1,y.style.margin="0",y.style.padding="0",y.style.verticalAlign="baseline",F.style.fontFamily=u,F.style.fontSize=f,F.style.margin="0",F.style.padding="0",F.appendChild(this._document.createTextNode(K0)),h.appendChild(F),h.appendChild(y);var k=y.offsetTop-F.offsetTop+2;h.removeChild(F),h.appendChild(this._document.createTextNode(K0)),h.style.lineHeight="normal",y.style.verticalAlign="super";var R=y.offsetTop-h.offsetTop+2;return T.removeChild(h),{baseline:k,middle:R}},l.prototype.getMetrics=function(u,f){var h=u+" "+f;return typeof this._data[h]>"u"&&(this._data[h]=this.parseMetrics(u,f)),this._data[h]},l}(),q0=function(){function l(u,f){this.context=u,this.options=f}return l}(),db=1e4,pb=function(l){A(u,l);function u(f,h){var y=l.call(this,f,h)||this;return y._activeEffects=[],y.canvas=h.canvas?h.canvas:document.createElement("canvas"),y.ctx=y.canvas.getContext("2d"),h.canvas||(y.canvas.width=Math.floor(h.width*h.scale),y.canvas.height=Math.floor(h.height*h.scale),y.canvas.style.width=h.width+"px",y.canvas.style.height=h.height+"px"),y.fontMetrics=new gb(document),y.ctx.scale(y.options.scale,y.options.scale),y.ctx.translate(-h.x,-h.y),y.ctx.textBaseline="bottom",y._activeEffects=[],y.context.logger.debug("Canvas renderer initialized ("+h.width+"x"+h.height+") with scale "+h.scale),y}return u.prototype.applyEffects=function(f){for(var h=this;this._activeEffects.length;)this.popEffect();f.forEach(function(y){return h.applyEffect(y)})},u.prototype.applyEffect=function(f){this.ctx.save(),rb(f)&&(this.ctx.globalAlpha=f.opacity),tb(f)&&(this.ctx.translate(f.offsetX,f.offsetY),this.ctx.transform(f.matrix[0],f.matrix[1],f.matrix[2],f.matrix[3],f.matrix[4],f.matrix[5]),this.ctx.translate(-f.offsetX,-f.offsetY)),O0(f)&&(this.path(f.path),this.ctx.clip()),this._activeEffects.push(f)},u.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},u.prototype.renderStack=function(f){return t(this,void 0,void 0,function(){var h;return n(this,function(y){switch(y.label){case 0:return h=f.element.container.styles,h.isVisible()?[4,this.renderStackContent(f)]:[3,2];case 1:y.sent(),y.label=2;case 2:return[2]}})})},u.prototype.renderNode=function(f){return t(this,void 0,void 0,function(){return n(this,function(h){switch(h.label){case 0:if(cA(f.container.flags,16))debugger;return f.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(f)]:[3,3];case 1:return h.sent(),[4,this.renderNodeContent(f)];case 2:h.sent(),h.label=3;case 3:return[2]}})})},u.prototype.renderTextWithLetterSpacing=function(f,h,y){var F=this;if(h===0)this.ctx.fillText(f.text,f.bounds.left,f.bounds.top+y);else{var T=Na(f.text);T.reduce(function(k,R){return F.ctx.fillText(R,k,f.bounds.top+y),k+F.ctx.measureText(R).width},f.bounds.left)}},u.prototype.createFontStyle=function(f){var h=f.fontVariant.filter(function(T){return T==="normal"||T==="small-caps"}).join(""),y=yb(f.fontFamily).join(", "),F=Ee(f.fontSize)?""+f.fontSize.number+f.fontSize.unit:f.fontSize.number+"px";return[[f.fontStyle,h,f.fontWeight,F,y].join(" "),y,F]},u.prototype.renderTextNode=function(f,h){return t(this,void 0,void 0,function(){var y,F,T,k,R,iA,oA,dA,SA=this;return n(this,function(le){return y=this.createFontStyle(h),F=y[0],T=y[1],k=y[2],this.ctx.font=F,this.ctx.direction=h.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",R=this.fontMetrics.getMetrics(T,k),iA=R.baseline,oA=R.middle,dA=h.paintOrder,f.textBounds.forEach(function(YA){dA.forEach(function(ne){switch(ne){case 0:SA.ctx.fillStyle=St(h.color),SA.renderTextWithLetterSpacing(YA,h.letterSpacing,iA);var Ke=h.textShadow;Ke.length&&YA.text.trim().length&&(Ke.slice(0).reverse().forEach(function(ve){SA.ctx.shadowColor=St(ve.color),SA.ctx.shadowOffsetX=ve.offsetX.number*SA.options.scale,SA.ctx.shadowOffsetY=ve.offsetY.number*SA.options.scale,SA.ctx.shadowBlur=ve.blur.number,SA.renderTextWithLetterSpacing(YA,h.letterSpacing,iA)}),SA.ctx.shadowColor="",SA.ctx.shadowOffsetX=0,SA.ctx.shadowOffsetY=0,SA.ctx.shadowBlur=0),h.textDecorationLine.length&&(SA.ctx.fillStyle=St(h.textDecorationColor||h.color),h.textDecorationLine.forEach(function(ve){switch(ve){case 1:SA.ctx.fillRect(YA.bounds.left,Math.round(YA.bounds.top+iA),YA.bounds.width,1);break;case 2:SA.ctx.fillRect(YA.bounds.left,Math.round(YA.bounds.top),YA.bounds.width,1);break;case 3:SA.ctx.fillRect(YA.bounds.left,Math.ceil(YA.bounds.top+oA),YA.bounds.width,1);break}}));break;case 1:h.webkitTextStrokeWidth&&YA.text.trim().length&&(SA.ctx.strokeStyle=St(h.webkitTextStrokeColor),SA.ctx.lineWidth=h.webkitTextStrokeWidth,SA.ctx.lineJoin=window.chrome?"miter":"round",SA.ctx.strokeText(YA.text,YA.bounds.left,YA.bounds.top+iA)),SA.ctx.strokeStyle="",SA.ctx.lineWidth=0,SA.ctx.lineJoin="miter";break}})}),[2]})})},u.prototype.renderReplacedElement=function(f,h,y){if(y&&f.intrinsicWidth>0&&f.intrinsicHeight>0){var F=Bc(f),T=dc(h);this.path(T),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(y,0,0,f.intrinsicWidth,f.intrinsicHeight,F.left,F.top,F.width,F.height),this.ctx.restore()}},u.prototype.renderNodeContent=function(f){return t(this,void 0,void 0,function(){var h,y,F,T,k,R,fe,fe,iA,oA,dA,SA,je,le,YA,Ne,ne,Ke,ve,fe,rt,je,Ne;return n(this,function(se){switch(se.label){case 0:this.applyEffects(f.getEffects(4)),h=f.container,y=f.curves,F=h.styles,T=0,k=h.textNodes,se.label=1;case 1:return T<k.length?(R=k[T],[4,this.renderTextNode(R,F)]):[3,4];case 2:se.sent(),se.label=3;case 3:return T++,[3,1];case 4:if(!(h instanceof ac))return[3,8];se.label=5;case 5:return se.trys.push([5,7,,8]),[4,this.context.cache.match(h.src)];case 6:return fe=se.sent(),this.renderReplacedElement(h,y,fe),[3,8];case 7:return se.sent(),this.context.logger.error("Error loading image "+h.src),[3,8];case 8:if(h instanceof Po&&this.renderReplacedElement(h,y,h.canvas),!(h instanceof _o))return[3,12];se.label=9;case 9:return se.trys.push([9,11,,12]),[4,this.context.cache.match(h.svg)];case 10:return fe=se.sent(),this.renderReplacedElement(h,y,fe),[3,12];case 11:return se.sent(),this.context.logger.error("Error loading svg "+h.svg.substring(0,255)),[3,12];case 12:return h instanceof g0&&h.tree?(iA=new u(this.context,{scale:this.options.scale,backgroundColor:h.backgroundColor,x:0,y:0,width:h.width,height:h.height}),[4,iA.render(h.tree)]):[3,14];case 13:oA=se.sent(),h.width&&h.height&&this.ctx.drawImage(oA,0,0,h.width,h.height,h.bounds.left,h.bounds.top,h.bounds.width,h.bounds.height),se.label=14;case 14:if(h instanceof Jf&&(dA=Math.min(h.bounds.width,h.bounds.height),h.type===sc?h.checked&&(this.ctx.save(),this.path([new ae(h.bounds.left+dA*.39363,h.bounds.top+dA*.79),new ae(h.bounds.left+dA*.16,h.bounds.top+dA*.5549),new ae(h.bounds.left+dA*.27347,h.bounds.top+dA*.44071),new ae(h.bounds.left+dA*.39694,h.bounds.top+dA*.5649),new ae(h.bounds.left+dA*.72983,h.bounds.top+dA*.23),new ae(h.bounds.left+dA*.84,h.bounds.top+dA*.34085),new ae(h.bounds.left+dA*.39363,h.bounds.top+dA*.79)]),this.ctx.fillStyle=St(c0),this.ctx.fill(),this.ctx.restore()):h.type===oc&&h.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(h.bounds.left+dA/2,h.bounds.top+dA/2,dA/4,0,Math.PI*2,!0),this.ctx.fillStyle=St(c0),this.ctx.fill(),this.ctx.restore())),vb(h)&&h.value.length){switch(SA=this.createFontStyle(F),je=SA[0],le=SA[1],YA=this.fontMetrics.getMetrics(je,le).baseline,this.ctx.font=je,this.ctx.fillStyle=St(F.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=wb(h.styles.textAlign),Ne=Bc(h),ne=0,h.styles.textAlign){case 1:ne+=Ne.width/2;break;case 2:ne+=Ne.width;break}Ke=Ne.add(ne,0,0,-Ne.height/2+1),this.ctx.save(),this.path([new ae(Ne.left,Ne.top),new ae(Ne.left+Ne.width,Ne.top),new ae(Ne.left+Ne.width,Ne.top+Ne.height),new ae(Ne.left,Ne.top+Ne.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new ls(h.value,Ke),F.letterSpacing,YA),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!cA(h.styles.display,2048))return[3,20];if(h.styles.listStyleImage===null)return[3,19];if(ve=h.styles.listStyleImage,ve.type!==0)return[3,18];fe=void 0,rt=ve.url,se.label=15;case 15:return se.trys.push([15,17,,18]),[4,this.context.cache.match(rt)];case 16:return fe=se.sent(),this.ctx.drawImage(fe,h.bounds.left-(fe.width+10),h.bounds.top),[3,18];case 17:return se.sent(),this.context.logger.error("Error loading list-style-image "+rt),[3,18];case 18:return[3,20];case 19:f.listValue&&h.styles.listStyleType!==-1&&(je=this.createFontStyle(F)[0],this.ctx.font=je,this.ctx.fillStyle=St(F.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Ne=new a(h.bounds.left,h.bounds.top+tt(h.styles.paddingTop,h.bounds.width),h.bounds.width,Rl(F.lineHeight,F.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new ls(f.listValue,Ne),F.letterSpacing,Rl(F.lineHeight,F.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),se.label=20;case 20:return[2]}})})},u.prototype.renderStackContent=function(f){return t(this,void 0,void 0,function(){var h,y,ve,F,T,ve,k,R,ve,iA,oA,ve,dA,SA,ve,le,YA,ve,ne,Ke,ve;return n(this,function(fe){switch(fe.label){case 0:if(cA(f.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(f.element)];case 1:fe.sent(),h=0,y=f.negativeZIndex,fe.label=2;case 2:return h<y.length?(ve=y[h],[4,this.renderStack(ve)]):[3,5];case 3:fe.sent(),fe.label=4;case 4:return h++,[3,2];case 5:return[4,this.renderNodeContent(f.element)];case 6:fe.sent(),F=0,T=f.nonInlineLevel,fe.label=7;case 7:return F<T.length?(ve=T[F],[4,this.renderNode(ve)]):[3,10];case 8:fe.sent(),fe.label=9;case 9:return F++,[3,7];case 10:k=0,R=f.nonPositionedFloats,fe.label=11;case 11:return k<R.length?(ve=R[k],[4,this.renderStack(ve)]):[3,14];case 12:fe.sent(),fe.label=13;case 13:return k++,[3,11];case 14:iA=0,oA=f.nonPositionedInlineLevel,fe.label=15;case 15:return iA<oA.length?(ve=oA[iA],[4,this.renderStack(ve)]):[3,18];case 16:fe.sent(),fe.label=17;case 17:return iA++,[3,15];case 18:dA=0,SA=f.inlineLevel,fe.label=19;case 19:return dA<SA.length?(ve=SA[dA],[4,this.renderNode(ve)]):[3,22];case 20:fe.sent(),fe.label=21;case 21:return dA++,[3,19];case 22:le=0,YA=f.zeroOrAutoZIndexOrTransformedOrOpacity,fe.label=23;case 23:return le<YA.length?(ve=YA[le],[4,this.renderStack(ve)]):[3,26];case 24:fe.sent(),fe.label=25;case 25:return le++,[3,23];case 26:ne=0,Ke=f.positiveZIndex,fe.label=27;case 27:return ne<Ke.length?(ve=Ke[ne],[4,this.renderStack(ve)]):[3,30];case 28:fe.sent(),fe.label=29;case 29:return ne++,[3,27];case 30:return[2]}})})},u.prototype.mask=function(f){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(f.slice(0).reverse()),this.ctx.closePath()},u.prototype.path=function(f){this.ctx.beginPath(),this.formatPath(f),this.ctx.closePath()},u.prototype.formatPath=function(f){var h=this;f.forEach(function(y,F){var T=si(y)?y.start:y;F===0?h.ctx.moveTo(T.x,T.y):h.ctx.lineTo(T.x,T.y),si(y)&&h.ctx.bezierCurveTo(y.startControl.x,y.startControl.y,y.endControl.x,y.endControl.y,y.end.x,y.end.y)})},u.prototype.renderRepeat=function(f,h,y,F){this.path(f),this.ctx.fillStyle=h,this.ctx.translate(y,F),this.ctx.fill(),this.ctx.translate(-y,-F)},u.prototype.resizeImage=function(f,h,y){var F;if(f.width===h&&f.height===y)return f;var T=(F=this.canvas.ownerDocument)!==null&&F!==void 0?F:document,k=T.createElement("canvas");k.width=Math.max(1,h),k.height=Math.max(1,y);var R=k.getContext("2d");return R.drawImage(f,0,0,f.width,f.height,0,0,h,y),k},u.prototype.renderBackgroundImage=function(f){return t(this,void 0,void 0,function(){var h,y,F,T,k,R;return n(this,function(iA){switch(iA.label){case 0:h=f.styles.backgroundImage.length-1,y=function(oA){var dA,SA,le,gr,Tn,Hn,mt,Vr,et,YA,gr,Tn,Hn,mt,Vr,ne,Ke,ve,fe,rt,je,Ne,se,At,et,He,gr,Nn,Yn,mt,Vr,fs,Tn,Hn,js,ia,gs,Gs,zs,Ha,Ws,Oa;return n(this,function(Vo){switch(Vo.label){case 0:if(oA.type!==0)return[3,5];dA=void 0,SA=oA.url,Vo.label=1;case 1:return Vo.trys.push([1,3,,4]),[4,F.context.cache.match(SA)];case 2:return dA=Vo.sent(),[3,4];case 3:return Vo.sent(),F.context.logger.error("Error loading background-image "+SA),[3,4];case 4:return dA&&(le=og(f,h,[dA.width,dA.height,dA.width/dA.height]),gr=le[0],Tn=le[1],Hn=le[2],mt=le[3],Vr=le[4],et=F.ctx.createPattern(F.resizeImage(dA,mt,Vr),"repeat"),F.renderRepeat(gr,et,Tn,Hn)),[3,6];case 5:Kt(oA)?(YA=og(f,h,[null,null,null]),gr=YA[0],Tn=YA[1],Hn=YA[2],mt=YA[3],Vr=YA[4],ne=Kr(oA.angle,mt,Vr),Ke=ne[0],ve=ne[1],fe=ne[2],rt=ne[3],je=ne[4],Ne=document.createElement("canvas"),Ne.width=mt,Ne.height=Vr,se=Ne.getContext("2d"),At=se.createLinearGradient(ve,rt,fe,je),Pt(oA.stops,Ke).forEach(function(Gu){return At.addColorStop(Gu.stop,St(Gu.color))}),se.fillStyle=At,se.fillRect(0,0,mt,Vr),mt>0&&Vr>0&&(et=F.ctx.createPattern(Ne,"repeat"),F.renderRepeat(gr,et,Tn,Hn))):nr(oA)&&(He=og(f,h,[null,null,null]),gr=He[0],Nn=He[1],Yn=He[2],mt=He[3],Vr=He[4],fs=oA.position.length===0?[Yi]:oA.position,Tn=tt(fs[0],mt),Hn=tt(fs[fs.length-1],Vr),js=go(oA,Tn,Hn,mt,Vr),ia=js[0],gs=js[1],ia>0&&gs>0&&(Gs=F.ctx.createRadialGradient(Nn+Tn,Yn+Hn,0,Nn+Tn,Yn+Hn,ia),Pt(oA.stops,ia*2).forEach(function(Gu){return Gs.addColorStop(Gu.stop,St(Gu.color))}),F.path(gr),F.ctx.fillStyle=Gs,ia!==gs?(zs=f.bounds.left+.5*f.bounds.width,Ha=f.bounds.top+.5*f.bounds.height,Ws=gs/ia,Oa=1/Ws,F.ctx.save(),F.ctx.translate(zs,Ha),F.ctx.transform(1,0,0,Ws,0,0),F.ctx.translate(-zs,-Ha),F.ctx.fillRect(Nn,Oa*(Yn-Ha)+Ha,mt,Vr*Oa),F.ctx.restore()):F.ctx.fill())),Vo.label=6;case 6:return h--,[2]}})},F=this,T=0,k=f.styles.backgroundImage.slice(0).reverse(),iA.label=1;case 1:return T<k.length?(R=k[T],[5,y(R)]):[3,4];case 2:iA.sent(),iA.label=3;case 3:return T++,[3,1];case 4:return[2]}})})},u.prototype.renderSolidBorder=function(f,h,y){return t(this,void 0,void 0,function(){return n(this,function(F){return this.path(R0(y,h)),this.ctx.fillStyle=St(f),this.ctx.fill(),[2]})})},u.prototype.renderDoubleBorder=function(f,h,y,F){return t(this,void 0,void 0,function(){var T,k;return n(this,function(R){switch(R.label){case 0:return h<3?[4,this.renderSolidBorder(f,y,F)]:[3,2];case 1:return R.sent(),[2];case 2:return T=ab(F,y),this.path(T),this.ctx.fillStyle=St(f),this.ctx.fill(),k=sb(F,y),this.path(k),this.ctx.fill(),[2]}})})},u.prototype.renderNodeBackgroundAndBorders=function(f){return t(this,void 0,void 0,function(){var h,y,F,T,k,R,iA,oA,dA=this;return n(this,function(SA){switch(SA.label){case 0:return this.applyEffects(f.getEffects(2)),h=f.container.styles,y=!rr(h.backgroundColor)||h.backgroundImage.length,F=[{style:h.borderTopStyle,color:h.borderTopColor,width:h.borderTopWidth},{style:h.borderRightStyle,color:h.borderRightColor,width:h.borderRightWidth},{style:h.borderBottomStyle,color:h.borderBottomColor,width:h.borderBottomWidth},{style:h.borderLeftStyle,color:h.borderLeftColor,width:h.borderLeftWidth}],T=Bb(qo(h.backgroundClip,0),f.curves),y||h.boxShadow.length?(this.ctx.save(),this.path(T),this.ctx.clip(),rr(h.backgroundColor)||(this.ctx.fillStyle=St(h.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(f.container)]):[3,2];case 1:SA.sent(),this.ctx.restore(),h.boxShadow.slice(0).reverse().forEach(function(le){dA.ctx.save();var YA=gc(f.curves),ne=le.inset?0:db,Ke=nb(YA,-ne+(le.inset?1:-1)*le.spread.number,(le.inset?1:-1)*le.spread.number,le.spread.number*(le.inset?-2:2),le.spread.number*(le.inset?-2:2));le.inset?(dA.path(YA),dA.ctx.clip(),dA.mask(Ke)):(dA.mask(YA),dA.ctx.clip(),dA.path(Ke)),dA.ctx.shadowOffsetX=le.offsetX.number+ne,dA.ctx.shadowOffsetY=le.offsetY.number,dA.ctx.shadowColor=St(le.color),dA.ctx.shadowBlur=le.blur.number,dA.ctx.fillStyle=le.inset?St(le.color):"rgba(0,0,0,1)",dA.ctx.fill(),dA.ctx.restore()}),SA.label=2;case 2:k=0,R=0,iA=F,SA.label=3;case 3:return R<iA.length?(oA=iA[R],oA.style!==0&&!rr(oA.color)&&oA.width>0?oA.style!==2?[3,5]:[4,this.renderDashedDottedBorder(oA.color,oA.width,k,f.curves,2)]:[3,11]):[3,13];case 4:return SA.sent(),[3,11];case 5:return oA.style!==3?[3,7]:[4,this.renderDashedDottedBorder(oA.color,oA.width,k,f.curves,3)];case 6:return SA.sent(),[3,11];case 7:return oA.style!==4?[3,9]:[4,this.renderDoubleBorder(oA.color,oA.width,k,f.curves)];case 8:return SA.sent(),[3,11];case 9:return[4,this.renderSolidBorder(oA.color,k,f.curves)];case 10:SA.sent(),SA.label=11;case 11:k++,SA.label=12;case 12:return R++,[3,3];case 13:return[2]}})})},u.prototype.renderDashedDottedBorder=function(f,h,y,F,T){return t(this,void 0,void 0,function(){var k,R,iA,oA,dA,SA,le,YA,ne,Ke,ve,fe,rt,je,Ne,se,Ne,se;return n(this,function(At){return this.ctx.save(),k=ob(F,y),R=R0(F,y),T===2&&(this.path(R),this.ctx.clip()),si(R[0])?(iA=R[0].start.x,oA=R[0].start.y):(iA=R[0].x,oA=R[0].y),si(R[1])?(dA=R[1].end.x,SA=R[1].end.y):(dA=R[1].x,SA=R[1].y),y===0||y===2?le=Math.abs(iA-dA):le=Math.abs(oA-SA),this.ctx.beginPath(),T===3?this.formatPath(k):this.formatPath(R.slice(0,2)),YA=h<3?h*3:h*2,ne=h<3?h*2:h,T===3&&(YA=h,ne=h),Ke=!0,le<=YA*2?Ke=!1:le<=YA*2+ne?(ve=le/(2*YA+ne),YA*=ve,ne*=ve):(fe=Math.floor((le+ne)/(YA+ne)),rt=(le-fe*YA)/(fe-1),je=(le-(fe+1)*YA)/fe,ne=je<=0||Math.abs(ne-rt)<Math.abs(ne-je)?rt:je),Ke&&(T===3?this.ctx.setLineDash([0,YA+ne]):this.ctx.setLineDash([YA,ne])),T===3?(this.ctx.lineCap="round",this.ctx.lineWidth=h):this.ctx.lineWidth=h*2+1.1,this.ctx.strokeStyle=St(f),this.ctx.stroke(),this.ctx.setLineDash([]),T===2&&(si(R[0])&&(Ne=R[3],se=R[0],this.ctx.beginPath(),this.formatPath([new ae(Ne.end.x,Ne.end.y),new ae(se.start.x,se.start.y)]),this.ctx.stroke()),si(R[1])&&(Ne=R[1],se=R[2],this.ctx.beginPath(),this.formatPath([new ae(Ne.end.x,Ne.end.y),new ae(se.start.x,se.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},u.prototype.render=function(f){return t(this,void 0,void 0,function(){var h;return n(this,function(y){switch(y.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=St(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),h=ib(f),[4,this.renderStack(h)];case 1:return y.sent(),this.applyEffects([]),[2,this.canvas]}})})},u}(q0),vb=function(l){return l instanceof f0||l instanceof h0?!0:l instanceof Jf&&l.type!==oc&&l.type!==sc},Bb=function(l,u){switch(l){case 0:return gc(u);case 2:return $C(u);case 1:default:return dc(u)}},wb=function(l){switch(l){case 1:return"center";case 2:return"right";case 0:default:return"left"}},mb=["-apple-system","system-ui"],yb=function(l){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?l.filter(function(u){return mb.indexOf(u)===-1}):l},Cb=function(l){A(u,l);function u(f,h){var y=l.call(this,f,h)||this;return y.canvas=h.canvas?h.canvas:document.createElement("canvas"),y.ctx=y.canvas.getContext("2d"),y.options=h,y.canvas.width=Math.floor(h.width*h.scale),y.canvas.height=Math.floor(h.height*h.scale),y.canvas.style.width=h.width+"px",y.canvas.style.height=h.height+"px",y.ctx.scale(y.options.scale,y.options.scale),y.ctx.translate(-h.x,-h.y),y.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+h.width+"x"+h.height+" at "+h.x+","+h.y+") with scale "+h.scale),y}return u.prototype.render=function(f){return t(this,void 0,void 0,function(){var h,y;return n(this,function(F){switch(F.label){case 0:return h=To(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,f),[4,bb(h)];case 1:return y=F.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=St(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(y,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},u}(q0),bb=function(l){return new Promise(function(u,f){var h=new Image;h.onload=function(){u(h)},h.onerror=f,h.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(l))})},Fb=function(){function l(u){var f=u.id,h=u.enabled;this.id=f,this.enabled=h,this.start=Date.now()}return l.prototype.debug=function(){for(var u=[],f=0;f<arguments.length;f++)u[f]=arguments[f];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,i([this.id,this.getTime()+"ms"],u)):this.info.apply(this,u))},l.prototype.getTime=function(){return Date.now()-this.start},l.prototype.info=function(){for(var u=[],f=0;f<arguments.length;f++)u[f]=arguments[f];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,i([this.id,this.getTime()+"ms"],u))},l.prototype.warn=function(){for(var u=[],f=0;f<arguments.length;f++)u[f]=arguments[f];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,i([this.id,this.getTime()+"ms"],u)):this.info.apply(this,u))},l.prototype.error=function(){for(var u=[],f=0;f<arguments.length;f++)u[f]=arguments[f];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,i([this.id,this.getTime()+"ms"],u)):this.info.apply(this,u))},l.instances={},l}(),Qb=function(){function l(u,f){var h;this.windowBounds=f,this.instanceName="#"+l.instanceCount++,this.logger=new Fb({id:this.instanceName,enabled:u.logging}),this.cache=(h=u.cache)!==null&&h!==void 0?h:new jC(this,u)}return l.instanceCount=1,l}(),Ub=function(l,u){return u===void 0&&(u={}),xb(l,u)};typeof window<"u"&&H0.setContext(window);var xb=function(l,u){return t(void 0,void 0,void 0,function(){var f,h,y,F,T,k,R,iA,oA,dA,SA,le,YA,ne,Ke,ve,fe,rt,je,Ne,At,se,At,et,He,gr,Nn,Yn,mt,Vr,fs,Tn,Hn,js,ia,gs,Gs,zs,Ha,Ws;return n(this,function(Oa){switch(Oa.label){case 0:if(!l||typeof l!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(f=l.ownerDocument,!f)throw new Error("Element is not attached to a Document");if(h=f.defaultView,!h)throw new Error("Document is not attached to a Window");return y={allowTaint:(et=u.allowTaint)!==null&&et!==void 0?et:!1,imageTimeout:(He=u.imageTimeout)!==null&&He!==void 0?He:15e3,proxy:u.proxy,useCORS:(gr=u.useCORS)!==null&&gr!==void 0?gr:!1},F=e({logging:(Nn=u.logging)!==null&&Nn!==void 0?Nn:!0,cache:u.cache},y),T={windowWidth:(Yn=u.windowWidth)!==null&&Yn!==void 0?Yn:h.innerWidth,windowHeight:(mt=u.windowHeight)!==null&&mt!==void 0?mt:h.innerHeight,scrollX:(Vr=u.scrollX)!==null&&Vr!==void 0?Vr:h.pageXOffset,scrollY:(fs=u.scrollY)!==null&&fs!==void 0?fs:h.pageYOffset},k=new a(T.scrollX,T.scrollY,T.windowWidth,T.windowHeight),R=new Qb(F,k),iA=(Tn=u.foreignObjectRendering)!==null&&Tn!==void 0?Tn:!1,oA={allowTaint:(Hn=u.allowTaint)!==null&&Hn!==void 0?Hn:!1,onclone:u.onclone,ignoreElements:u.ignoreElements,inlineImages:iA,copyStyles:iA},R.logger.debug("Starting document clone with size "+k.width+"x"+k.height+" scrolled to "+-k.left+","+-k.top),dA=new N0(R,l,oA),SA=dA.clonedReferenceElement,SA?[4,dA.toIFrame(f,k)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return le=Oa.sent(),YA=$f(SA)||EC(SA)?c(SA.ownerDocument):s(R,SA),ne=YA.width,Ke=YA.height,ve=YA.left,fe=YA.top,rt=Eb(R,SA,u.backgroundColor),je={canvas:u.canvas,backgroundColor:rt,scale:(ia=(js=u.scale)!==null&&js!==void 0?js:h.devicePixelRatio)!==null&&ia!==void 0?ia:1,x:((gs=u.x)!==null&&gs!==void 0?gs:0)+ve,y:((Gs=u.y)!==null&&Gs!==void 0?Gs:0)+fe,width:(zs=u.width)!==null&&zs!==void 0?zs:Math.ceil(ne),height:(Ha=u.height)!==null&&Ha!==void 0?Ha:Math.ceil(Ke)},iA?(R.logger.debug("Document cloned, using foreign object rendering"),At=new Cb(R,je),[4,At.render(SA)]):[3,3];case 2:return Ne=Oa.sent(),[3,5];case 3:return R.logger.debug("Document cloned, element located at "+ve+","+fe+" with size "+ne+"x"+Ke+" using computed rendering"),R.logger.debug("Starting DOM parsing"),se=p0(R,SA),rt===se.styles.backgroundColor&&(se.styles.backgroundColor=Cr.TRANSPARENT),R.logger.debug("Starting renderer for element at "+je.x+","+je.y+" with size "+je.width+"x"+je.height),At=new pb(R,je),[4,At.render(se)];case 4:Ne=Oa.sent(),Oa.label=5;case 5:return(!((Ws=u.removeContainer)!==null&&Ws!==void 0)||Ws)&&(N0.destroy(le)||R.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),R.logger.debug("Finished rendering"),[2,Ne]}})})},Eb=function(l,u,f){var h=u.ownerDocument,y=h.documentElement?Un(l,getComputedStyle(h.documentElement).backgroundColor):Cr.TRANSPARENT,F=h.body?Un(l,getComputedStyle(h.body).backgroundColor):Cr.TRANSPARENT,T=typeof f=="string"?Un(l,f):f===null?Cr.TRANSPARENT:4294967295;return u===h.documentElement?rr(y)?rr(F)?T:F:y:T};return Ub})});var s1=pA((yg,Cg)=>{/*! @license DOMPurify 2.5.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.8/LICENSE */(function(r,A){typeof yg=="object"&&typeof Cg<"u"?Cg.exports=A():typeof define=="function"&&define.amd?define(A):(r=typeof globalThis<"u"?globalThis:r||self,r.DOMPurify=A())})(yg,function(){"use strict";function r(LA){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(OA){return typeof OA}:function(OA){return OA&&typeof Symbol=="function"&&OA.constructor===Symbol&&OA!==Symbol.prototype?"symbol":typeof OA},r(LA)}function A(LA,OA){return A=Object.setPrototypeOf||function(GA,ue){return GA.__proto__=ue,GA},A(LA,OA)}function e(){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 t(LA,OA,JA){return e()?t=Reflect.construct:t=function(ue,_A,De){var be=[null];be.push.apply(be,_A);var gt=Function.bind.apply(ue,be),Ge=new gt;return De&&A(Ge,De.prototype),Ge},t.apply(null,arguments)}function n(LA){return i(LA)||a(LA)||s(LA)||d()}function i(LA){if(Array.isArray(LA))return c(LA)}function a(LA){if(typeof Symbol<"u"&&LA[Symbol.iterator]!=null||LA["@@iterator"]!=null)return Array.from(LA)}function s(LA,OA){if(LA){if(typeof LA=="string")return c(LA,OA);var JA=Object.prototype.toString.call(LA).slice(8,-1);if(JA==="Object"&&LA.constructor&&(JA=LA.constructor.name),JA==="Map"||JA==="Set")return Array.from(LA);if(JA==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(JA))return c(LA,OA)}}function c(LA,OA){(OA==null||OA>LA.length)&&(OA=LA.length);for(var JA=0,GA=new Array(OA);JA<OA;JA++)GA[JA]=LA[JA];return GA}function d(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
31
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=Object.hasOwnProperty,m=Object.setPrototypeOf,C=Object.isFrozen,p=Object.getPrototypeOf,x=Object.getOwnPropertyDescriptor,Q=Object.freeze,S=Object.seal,U=Object.create,P=typeof Reflect<"u"&&Reflect,q=P.apply,Y=P.construct;q||(q=function(OA,JA,GA){return OA.apply(JA,GA)}),Q||(Q=function(OA){return OA}),S||(S=function(OA){return OA}),Y||(Y=function(OA,JA){return t(OA,n(JA))});var uA=fA(Array.prototype.forEach),wA=fA(Array.prototype.pop),J=fA(Array.prototype.push),z=fA(String.prototype.toLowerCase),hA=fA(String.prototype.toString),CA=fA(String.prototype.match),_=fA(String.prototype.replace),M=fA(String.prototype.indexOf),$=fA(String.prototype.trim),G=fA(RegExp.prototype.test),yA=UA(TypeError);function fA(LA){return function(OA){for(var JA=arguments.length,GA=new Array(JA>1?JA-1:0),ue=1;ue<JA;ue++)GA[ue-1]=arguments[ue];return q(LA,OA,GA)}}function UA(LA){return function(){for(var OA=arguments.length,JA=new Array(OA),GA=0;GA<OA;GA++)JA[GA]=arguments[GA];return Y(LA,JA)}}function AA(LA,OA,JA){var GA;JA=(GA=JA)!==null&&GA!==void 0?GA:z,m&&m(LA,null);for(var ue=OA.length;ue--;){var _A=OA[ue];if(typeof _A=="string"){var De=JA(_A);De!==_A&&(C(OA)||(OA[ue]=De),_A=De)}LA[_A]=!0}return LA}function vA(LA){var OA=U(null),JA;for(JA in LA)q(v,LA,[JA])===!0&&(OA[JA]=LA[JA]);return OA}function QA(LA,OA){for(;LA!==null;){var JA=x(LA,OA);if(JA){if(JA.get)return fA(JA.get);if(typeof JA.value=="function")return fA(JA.value)}LA=p(LA)}function GA(ue){return console.warn("fallback value for",ue),null}return GA}var jA=Q(["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"]),L=Q(["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"]),V=Q(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),X=Q(["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"]),Z=Q(["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"]),sA=Q(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),mA=Q(["#text"]),FA=Q(["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"]),bA=Q(["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"]),VA=Q(["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"]),MA=Q(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ae=S(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$A=S(/<%[\w\W]*|[\w\W]*%>/gm),pe=S(/\${[\w\W]*}/gm),EA=S(/^data-[\-\w.\u00B7-\uFFFF]+$/),W=S(/^aria-[\-\w]+$/),Ce=S(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ce=S(/^(?:\w+script|data):/i),KA=S(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),zA=S(/^html$/i),XA=S(/^[a-z][.\w]*(-[.\w]+)+$/i),WA=function(){return typeof window>"u"?null:window},oe=function(OA,JA){if(r(OA)!=="object"||typeof OA.createPolicy!="function")return null;var GA=null,ue="data-tt-policy-suffix";JA.currentScript&&JA.currentScript.hasAttribute(ue)&&(GA=JA.currentScript.getAttribute(ue));var _A="dompurify"+(GA?"#"+GA:"");try{return OA.createPolicy(_A,{createHTML:function(be){return be},createScriptURL:function(be){return be}})}catch{return console.warn("TrustedTypes policy "+_A+" could not be created."),null}};function he(){var LA=arguments.length>0&&arguments[0]!==void 0?arguments[0]:WA(),OA=function(nA){return he(nA)};if(OA.version="2.5.8",OA.removed=[],!LA||!LA.document||LA.document.nodeType!==9)return OA.isSupported=!1,OA;var JA=LA.document,GA=LA.document,ue=LA.DocumentFragment,_A=LA.HTMLTemplateElement,De=LA.Node,be=LA.Element,gt=LA.NodeFilter,Ge=LA.NamedNodeMap,We=Ge===void 0?LA.NamedNodeMap||LA.MozNamedAttrMap:Ge,xr=LA.HTMLFormElement,Me=LA.DOMParser,Vt=LA.trustedTypes,Je=be.prototype,Ar=QA(Je,"cloneNode"),ut=QA(Je,"nextSibling"),lt=QA(Je,"childNodes"),Fe=QA(Je,"parentNode");if(typeof _A=="function"){var ze=GA.createElement("template");ze.content&&ze.content.ownerDocument&&(GA=ze.content.ownerDocument)}var Nt=oe(Vt,JA),Ut=Nt?Nt.createHTML(""):"",Er=GA,jr=Er.implementation,we=Er.createNodeIterator,Gr=Er.createDocumentFragment,Se=Er.getElementsByTagName,er=JA.importNode,bt={};try{bt=vA(GA).documentMode?GA.documentMode:{}}catch{}var Re={};OA.isSupported=typeof Fe=="function"&&jr&&jr.createHTMLDocument!==void 0&&bt!==9;var tr=Ae,Dn=$A,zr=pe,sn=EA,Wr=W,on=ce,un=KA,Ir=XA,Pr=Ce,dt=null,di=AA({},[].concat(n(jA),n(L),n(V),n(Z),n(mA))),yt=null,pi=AA({},[].concat(n(FA),n(bA),n(VA),n(MA))),ct=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}})),$n=null,Mn=null,fa=!0,ln=!0,Ri=!1,Ai=!0,mn=!1,ga=!0,_r=!1,Rn=!1,ei=!1,ti=!1,pt=!1,yn=!1,ri=!0,kn=!1,da="user-content-",jt=!0,Br=!1,cn={},Rt=null,ki=AA({},["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"]),pa=null,qa=AA({},["audio","video","img","source","image","track"]),Ki=null,Va=AA({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Cn="http://www.w3.org/1998/Math/MathML",qi="http://www.w3.org/2000/svg",Sr="http://www.w3.org/1999/xhtml",ni=Sr,va=!1,Vi=null,hn=AA({},[Cn,qi,Sr],hA),Gt,ji=["application/xhtml+xml","text/html"],ja="text/html",Ye,Xr=null,Ga=GA.createElement("form"),xe=function(nA){return nA instanceof RegExp||nA instanceof Function},Ba=function(nA){Xr&&Xr===nA||((!nA||r(nA)!=="object")&&(nA={}),nA=vA(nA),Gt=ji.indexOf(nA.PARSER_MEDIA_TYPE)===-1?Gt=ja:Gt=nA.PARSER_MEDIA_TYPE,Ye=Gt==="application/xhtml+xml"?hA:z,dt="ALLOWED_TAGS"in nA?AA({},nA.ALLOWED_TAGS,Ye):di,yt="ALLOWED_ATTR"in nA?AA({},nA.ALLOWED_ATTR,Ye):pi,Vi="ALLOWED_NAMESPACES"in nA?AA({},nA.ALLOWED_NAMESPACES,hA):hn,Ki="ADD_URI_SAFE_ATTR"in nA?AA(vA(Va),nA.ADD_URI_SAFE_ATTR,Ye):Va,pa="ADD_DATA_URI_TAGS"in nA?AA(vA(qa),nA.ADD_DATA_URI_TAGS,Ye):qa,Rt="FORBID_CONTENTS"in nA?AA({},nA.FORBID_CONTENTS,Ye):ki,$n="FORBID_TAGS"in nA?AA({},nA.FORBID_TAGS,Ye):{},Mn="FORBID_ATTR"in nA?AA({},nA.FORBID_ATTR,Ye):{},cn="USE_PROFILES"in nA?nA.USE_PROFILES:!1,fa=nA.ALLOW_ARIA_ATTR!==!1,ln=nA.ALLOW_DATA_ATTR!==!1,Ri=nA.ALLOW_UNKNOWN_PROTOCOLS||!1,Ai=nA.ALLOW_SELF_CLOSE_IN_ATTR!==!1,mn=nA.SAFE_FOR_TEMPLATES||!1,ga=nA.SAFE_FOR_XML!==!1,_r=nA.WHOLE_DOCUMENT||!1,ti=nA.RETURN_DOM||!1,pt=nA.RETURN_DOM_FRAGMENT||!1,yn=nA.RETURN_TRUSTED_TYPE||!1,ei=nA.FORCE_BODY||!1,ri=nA.SANITIZE_DOM!==!1,kn=nA.SANITIZE_NAMED_PROPS||!1,jt=nA.KEEP_CONTENT!==!1,Br=nA.IN_PLACE||!1,Pr=nA.ALLOWED_URI_REGEXP||Pr,ni=nA.NAMESPACE||Sr,ct=nA.CUSTOM_ELEMENT_HANDLING||{},nA.CUSTOM_ELEMENT_HANDLING&&xe(nA.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ct.tagNameCheck=nA.CUSTOM_ELEMENT_HANDLING.tagNameCheck),nA.CUSTOM_ELEMENT_HANDLING&&xe(nA.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ct.attributeNameCheck=nA.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),nA.CUSTOM_ELEMENT_HANDLING&&typeof nA.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ct.allowCustomizedBuiltInElements=nA.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),mn&&(ln=!1),pt&&(ti=!0),cn&&(dt=AA({},n(mA)),yt=[],cn.html===!0&&(AA(dt,jA),AA(yt,FA)),cn.svg===!0&&(AA(dt,L),AA(yt,bA),AA(yt,MA)),cn.svgFilters===!0&&(AA(dt,V),AA(yt,bA),AA(yt,MA)),cn.mathMl===!0&&(AA(dt,Z),AA(yt,VA),AA(yt,MA))),nA.ADD_TAGS&&(dt===di&&(dt=vA(dt)),AA(dt,nA.ADD_TAGS,Ye)),nA.ADD_ATTR&&(yt===pi&&(yt=vA(yt)),AA(yt,nA.ADD_ATTR,Ye)),nA.ADD_URI_SAFE_ATTR&&AA(Ki,nA.ADD_URI_SAFE_ATTR,Ye),nA.FORBID_CONTENTS&&(Rt===ki&&(Rt=vA(Rt)),AA(Rt,nA.FORBID_CONTENTS,Ye)),jt&&(dt["#text"]=!0),_r&&AA(dt,["html","head","body"]),dt.table&&(AA(dt,["tbody"]),delete $n.tbody),Q&&Q(nA),Xr=nA)},za=AA({},["mi","mo","mn","ms","mtext"]),fn=AA({},["annotation-xml"]),Wa=AA({},["title","style","font","a","script"]),cr=AA({},L);AA(cr,V),AA(cr,X);var Kn=AA({},Z);AA(Kn,sA);var Gi=function(nA){var DA=Fe(nA);(!DA||!DA.tagName)&&(DA={namespaceURI:ni,tagName:"template"});var ZA=z(nA.tagName),qe=z(DA.tagName);return Vi[nA.namespaceURI]?nA.namespaceURI===qi?DA.namespaceURI===Sr?ZA==="svg":DA.namespaceURI===Cn?ZA==="svg"&&(qe==="annotation-xml"||za[qe]):!!cr[ZA]:nA.namespaceURI===Cn?DA.namespaceURI===Sr?ZA==="math":DA.namespaceURI===qi?ZA==="math"&&fn[qe]:!!Kn[ZA]:nA.namespaceURI===Sr?DA.namespaceURI===qi&&!fn[qe]||DA.namespaceURI===Cn&&!za[qe]?!1:!Kn[ZA]&&(Wa[ZA]||!cr[ZA]):!!(Gt==="application/xhtml+xml"&&Vi[nA.namespaceURI]):!1},wr=function(nA){J(OA.removed,{element:nA});try{nA.parentNode.removeChild(nA)}catch{try{nA.outerHTML=Ut}catch{nA.remove()}}},zi=function(nA,DA){try{J(OA.removed,{attribute:DA.getAttributeNode(nA),from:DA})}catch{J(OA.removed,{attribute:null,from:DA})}if(DA.removeAttribute(nA),nA==="is"&&!yt[nA])if(ti||pt)try{wr(DA)}catch{}else try{DA.setAttribute(nA,"")}catch{}},Xa=function(nA){var DA,ZA;if(ei)nA="<remove></remove>"+nA;else{var qe=CA(nA,/^[\r\n\t ]+/);ZA=qe&&qe[0]}Gt==="application/xhtml+xml"&&ni===Sr&&(nA='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+nA+"</body></html>");var vt=Nt?Nt.createHTML(nA):nA;if(ni===Sr)try{DA=new Me().parseFromString(vt,Gt)}catch{}if(!DA||!DA.documentElement){DA=jr.createDocument(ni,"template",null);try{DA.documentElement.innerHTML=va?Ut:vt}catch{}}var nt=DA.body||DA.documentElement;return nA&&ZA&&nt.insertBefore(GA.createTextNode(ZA),nt.childNodes[0]||null),ni===Sr?Se.call(DA,_r?"html":"body")[0]:_r?DA.documentElement:nt},Wi=function(nA){return we.call(nA.ownerDocument||nA,nA,gt.SHOW_ELEMENT|gt.SHOW_COMMENT|gt.SHOW_TEXT|gt.SHOW_PROCESSING_INSTRUCTION|gt.SHOW_CDATA_SECTION,null,!1)},bn=function(nA){return nA instanceof xr&&(typeof nA.nodeName!="string"||typeof nA.textContent!="string"||typeof nA.removeChild!="function"||!(nA.attributes instanceof We)||typeof nA.removeAttribute!="function"||typeof nA.setAttribute!="function"||typeof nA.namespaceURI!="string"||typeof nA.insertBefore!="function"||typeof nA.hasChildNodes!="function")},Dr=function(nA){return r(De)==="object"?nA instanceof De:nA&&r(nA)==="object"&&typeof nA.nodeType=="number"&&typeof nA.nodeName=="string"},Yr=function(nA,DA,ZA){Re[nA]&&uA(Re[nA],function(qe){qe.call(OA,DA,ZA,Xr)})},ii=function(nA){var DA;if(Yr("beforeSanitizeElements",nA,null),bn(nA)||G(/[\u0080-\uFFFF]/,nA.nodeName))return wr(nA),!0;var ZA=Ye(nA.nodeName);if(Yr("uponSanitizeElement",nA,{tagName:ZA,allowedTags:dt}),nA.hasChildNodes()&&!Dr(nA.firstElementChild)&&(!Dr(nA.content)||!Dr(nA.content.firstElementChild))&&G(/<[/\w]/g,nA.innerHTML)&&G(/<[/\w]/g,nA.textContent)||ZA==="select"&&G(/<template/i,nA.innerHTML)||nA.nodeType===7||ga&&nA.nodeType===8&&G(/<[/\w]/g,nA.data))return wr(nA),!0;if(!dt[ZA]||$n[ZA]){if(!$n[ZA]&&Ft(ZA)&&(ct.tagNameCheck instanceof RegExp&&G(ct.tagNameCheck,ZA)||ct.tagNameCheck instanceof Function&&ct.tagNameCheck(ZA)))return!1;if(jt&&!Rt[ZA]){var qe=Fe(nA)||nA.parentNode,vt=lt(nA)||nA.childNodes;if(vt&&qe)for(var nt=vt.length,xt=nt-1;xt>=0;--xt){var Tt=Ar(vt[xt],!0);Tt.__removalCount=(nA.__removalCount||0)+1,qe.insertBefore(Tt,ut(nA))}}return wr(nA),!0}return nA instanceof be&&!Gi(nA)||(ZA==="noscript"||ZA==="noembed"||ZA==="noframes")&&G(/<\/no(script|embed|frames)/i,nA.innerHTML)?(wr(nA),!0):(mn&&nA.nodeType===3&&(DA=nA.textContent,DA=_(DA,tr," "),DA=_(DA,Dn," "),DA=_(DA,zr," "),nA.textContent!==DA&&(J(OA.removed,{element:nA.cloneNode()}),nA.textContent=DA)),Yr("afterSanitizeElements",nA,null),!1)},Xi=function(nA,DA,ZA){if(ri&&(DA==="id"||DA==="name")&&(ZA in GA||ZA in Ga))return!1;if(!(ln&&!Mn[DA]&&G(sn,DA))){if(!(fa&&G(Wr,DA))){if(!yt[DA]||Mn[DA]){if(!(Ft(nA)&&(ct.tagNameCheck instanceof RegExp&&G(ct.tagNameCheck,nA)||ct.tagNameCheck instanceof Function&&ct.tagNameCheck(nA))&&(ct.attributeNameCheck instanceof RegExp&&G(ct.attributeNameCheck,DA)||ct.attributeNameCheck instanceof Function&&ct.attributeNameCheck(DA))||DA==="is"&&ct.allowCustomizedBuiltInElements&&(ct.tagNameCheck instanceof RegExp&&G(ct.tagNameCheck,ZA)||ct.tagNameCheck instanceof Function&&ct.tagNameCheck(ZA))))return!1}else if(!Ki[DA]){if(!G(Pr,_(ZA,un,""))){if(!((DA==="src"||DA==="xlink:href"||DA==="href")&&nA!=="script"&&M(ZA,"data:")===0&&pa[nA])){if(!(Ri&&!G(on,_(ZA,un,"")))){if(ZA)return!1}}}}}}return!0},Ft=function(nA){return nA!=="annotation-xml"&&CA(nA,Ir)},wa=function(nA){var DA,ZA,qe,vt;Yr("beforeSanitizeAttributes",nA,null);var nt=nA.attributes;if(!(!nt||bn(nA))){var xt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:yt};for(vt=nt.length;vt--;){DA=nt[vt];var Tt=DA,Bt=Tt.name,Fn=Tt.namespaceURI;if(ZA=Bt==="value"?DA.value:$(DA.value),qe=Ye(Bt),xt.attrName=qe,xt.attrValue=ZA,xt.keepAttr=!0,xt.forceKeepAttr=void 0,Yr("uponSanitizeAttribute",nA,xt),ZA=xt.attrValue,!xt.forceKeepAttr&&(zi(Bt,nA),!!xt.keepAttr)){if(!Ai&&G(/\/>/i,ZA)){zi(Bt,nA);continue}mn&&(ZA=_(ZA,tr," "),ZA=_(ZA,Dn," "),ZA=_(ZA,zr," "));var Ya=Ye(nA.nodeName);if(Xi(Ya,qe,ZA)){if(kn&&(qe==="id"||qe==="name")&&(zi(Bt,nA),ZA=da+ZA),ga&&G(/((--!?|])>)|<\/(style|title)/i,ZA)){zi(Bt,nA);continue}if(Nt&&r(Vt)==="object"&&typeof Vt.getAttributeType=="function"&&!Fn)switch(Vt.getAttributeType(Ya,qe)){case"TrustedHTML":{ZA=Nt.createHTML(ZA);break}case"TrustedScriptURL":{ZA=Nt.createScriptURL(ZA);break}}try{Fn?nA.setAttributeNS(Fn,Bt,ZA):nA.setAttribute(Bt,ZA),bn(nA)?wr(nA):wA(OA.removed)}catch{}}}}Yr("afterSanitizeAttributes",nA,null)}},qn=function de(nA){var DA,ZA=Wi(nA);for(Yr("beforeSanitizeShadowDOM",nA,null);DA=ZA.nextNode();)Yr("uponSanitizeShadowNode",DA,null),ii(DA),wa(DA),DA.content instanceof ue&&de(DA.content);Yr("afterSanitizeShadowDOM",nA,null)};return OA.sanitize=function(de){var nA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},DA,ZA,qe,vt,nt;if(va=!de,va&&(de="<!-->"),typeof de!="string"&&!Dr(de))if(typeof de.toString=="function"){if(de=de.toString(),typeof de!="string")throw yA("dirty is not a string, aborting")}else throw yA("toString is not a function");if(!OA.isSupported){if(r(LA.toStaticHTML)==="object"||typeof LA.toStaticHTML=="function"){if(typeof de=="string")return LA.toStaticHTML(de);if(Dr(de))return LA.toStaticHTML(de.outerHTML)}return de}if(Rn||Ba(nA),OA.removed=[],typeof de=="string"&&(Br=!1),Br){if(de.nodeName){var xt=Ye(de.nodeName);if(!dt[xt]||$n[xt])throw yA("root node is forbidden and cannot be sanitized in-place")}}else if(de instanceof De)DA=Xa("<!---->"),ZA=DA.ownerDocument.importNode(de,!0),ZA.nodeType===1&&ZA.nodeName==="BODY"||ZA.nodeName==="HTML"?DA=ZA:DA.appendChild(ZA);else{if(!ti&&!mn&&!_r&&de.indexOf("<")===-1)return Nt&&yn?Nt.createHTML(de):de;if(DA=Xa(de),!DA)return ti?null:yn?Ut:""}DA&&ei&&wr(DA.firstChild);for(var Tt=Wi(Br?de:DA);qe=Tt.nextNode();)qe.nodeType===3&&qe===vt||(ii(qe),wa(qe),qe.content instanceof ue&&qn(qe.content),vt=qe);if(vt=null,Br)return de;if(ti){if(pt)for(nt=Gr.call(DA.ownerDocument);DA.firstChild;)nt.appendChild(DA.firstChild);else nt=DA;return(yt.shadowroot||yt.shadowrootmod)&&(nt=er.call(JA,nt,!0)),nt}var Bt=_r?DA.outerHTML:DA.innerHTML;return _r&&dt["!doctype"]&&DA.ownerDocument&&DA.ownerDocument.doctype&&DA.ownerDocument.doctype.name&&G(zA,DA.ownerDocument.doctype.name)&&(Bt="<!DOCTYPE "+DA.ownerDocument.doctype.name+`>
|
|
32
|
+
`+Bt),mn&&(Bt=_(Bt,tr," "),Bt=_(Bt,Dn," "),Bt=_(Bt,zr," ")),Nt&&yn?Nt.createHTML(Bt):Bt},OA.setConfig=function(de){Ba(de),Rn=!0},OA.clearConfig=function(){Xr=null,Rn=!1},OA.isValidAttribute=function(de,nA,DA){Xr||Ba({});var ZA=Ye(de),qe=Ye(nA);return Xi(ZA,qe,DA)},OA.addHook=function(de,nA){typeof nA=="function"&&(Re[de]=Re[de]||[],J(Re[de],nA))},OA.removeHook=function(de){if(Re[de])return wA(Re[de])},OA.removeHooks=function(de){Re[de]&&(Re[de]=[])},OA.removeAllHooks=function(){Re={}},OA}var Ie=he();return Ie})});var qt=pA((bg,o1)=>{"use strict";var Yu=function(r){return r&&r.Math===Math&&r};o1.exports=Yu(typeof globalThis=="object"&&globalThis)||Yu(typeof window=="object"&&window)||Yu(typeof self=="object"&&self)||Yu(typeof global=="object"&&global)||Yu(typeof bg=="object"&&bg)||function(){return this}()||Function("return this")()});var Yt=pA((q6,u1)=>{"use strict";u1.exports=function(r){try{return!!r()}catch{return!0}}});var ui=pA((V6,l1)=>{"use strict";var Zb=Yt();l1.exports=!Zb(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var Ju=pA((j6,c1)=>{"use strict";var $b=Yt();c1.exports=!$b(function(){var r=function(){}.bind();return typeof r!="function"||r.hasOwnProperty("prototype")})});var Hr=pA((G6,h1)=>{"use strict";var A4=Ju(),Fc=Function.prototype.call;h1.exports=A4?Fc.bind(Fc):function(){return Fc.apply(Fc,arguments)}});var p1=pA(d1=>{"use strict";var f1={}.propertyIsEnumerable,g1=Object.getOwnPropertyDescriptor,e4=g1&&!f1.call({1:2},1);d1.f=e4?function(A){var e=g1(this,A);return!!e&&e.enumerable}:f1});var Qc=pA((W6,v1)=>{"use strict";v1.exports=function(r,A){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:A}}});var Jt=pA((X6,m1)=>{"use strict";var B1=Ju(),w1=Function.prototype,Fg=w1.call,t4=B1&&w1.bind.bind(Fg,Fg);m1.exports=B1?t4:function(r){return function(){return Fg.apply(r,arguments)}}});var vs=pA((Y6,C1)=>{"use strict";var y1=Jt(),r4=y1({}.toString),n4=y1("".slice);C1.exports=function(r){return n4(r4(r),8,-1)}});var Ug=pA((J6,b1)=>{"use strict";var i4=Jt(),a4=Yt(),s4=vs(),Qg=Object,o4=i4("".split);b1.exports=a4(function(){return!Qg("z").propertyIsEnumerable(0)})?function(r){return s4(r)==="String"?o4(r,""):Qg(r)}:Qg});var Bs=pA((Z6,F1)=>{"use strict";F1.exports=function(r){return r==null}});var li=pA(($6,Q1)=>{"use strict";var u4=Bs(),l4=TypeError;Q1.exports=function(r){if(u4(r))throw new l4("Can't call method on "+r);return r}});var jo=pA((AT,U1)=>{"use strict";var c4=Ug(),h4=li();U1.exports=function(r){return c4(h4(r))}});var Zt=pA((eT,x1)=>{"use strict";var xg=typeof document=="object"&&document.all;x1.exports=typeof xg>"u"&&xg!==void 0?function(r){return typeof r=="function"||r===xg}:function(r){return typeof r=="function"}});var ci=pA((tT,E1)=>{"use strict";var f4=Zt();E1.exports=function(r){return typeof r=="object"?r!==null:f4(r)}});var ws=pA((rT,I1)=>{"use strict";var Eg=qt(),g4=Zt(),d4=function(r){return g4(r)?r:void 0};I1.exports=function(r,A){return arguments.length<2?d4(Eg[r]):Eg[r]&&Eg[r][A]}});var Zu=pA((nT,S1)=>{"use strict";var p4=Jt();S1.exports=p4({}.isPrototypeOf)});var Go=pA((iT,T1)=>{"use strict";var v4=qt(),L1=v4.navigator,N1=L1&&L1.userAgent;T1.exports=N1?String(N1):""});var xc=pA((aT,M1)=>{"use strict";var D1=qt(),Ig=Go(),H1=D1.process,O1=D1.Deno,P1=H1&&H1.versions||O1&&O1.version,_1=P1&&P1.v8,Li,Uc;_1&&(Li=_1.split("."),Uc=Li[0]>0&&Li[0]<4?1:+(Li[0]+Li[1]));!Uc&&Ig&&(Li=Ig.match(/Edge\/(\d+)/),(!Li||Li[1]>=74)&&(Li=Ig.match(/Chrome\/(\d+)/),Li&&(Uc=+Li[1])));M1.exports=Uc});var Sg=pA((sT,k1)=>{"use strict";var R1=xc(),B4=Yt(),w4=qt(),m4=w4.String;k1.exports=!!Object.getOwnPropertySymbols&&!B4(function(){var r=Symbol("symbol detection");return!m4(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&R1&&R1<41})});var Lg=pA((oT,K1)=>{"use strict";var y4=Sg();K1.exports=y4&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Ng=pA((uT,q1)=>{"use strict";var C4=ws(),b4=Zt(),F4=Zu(),Q4=Lg(),U4=Object;q1.exports=Q4?function(r){return typeof r=="symbol"}:function(r){var A=C4("Symbol");return b4(A)&&F4(A.prototype,U4(r))}});var $u=pA((lT,V1)=>{"use strict";var x4=String;V1.exports=function(r){try{return x4(r)}catch{return"Object"}}});var sa=pA((cT,j1)=>{"use strict";var E4=Zt(),I4=$u(),S4=TypeError;j1.exports=function(r){if(E4(r))return r;throw new S4(I4(r)+" is not a function")}});var Xs=pA((hT,G1)=>{"use strict";var L4=sa(),N4=Bs();G1.exports=function(r,A){var e=r[A];return N4(e)?void 0:L4(e)}});var W1=pA((fT,z1)=>{"use strict";var Tg=Hr(),Hg=Zt(),Og=ci(),T4=TypeError;z1.exports=function(r,A){var e,t;if(A==="string"&&Hg(e=r.toString)&&!Og(t=Tg(e,r))||Hg(e=r.valueOf)&&!Og(t=Tg(e,r))||A!=="string"&&Hg(e=r.toString)&&!Og(t=Tg(e,r)))return t;throw new T4("Can't convert object to primitive value")}});var Ni=pA((gT,X1)=>{"use strict";X1.exports=!1});var Ec=pA((dT,J1)=>{"use strict";var Y1=qt(),H4=Object.defineProperty;J1.exports=function(r,A){try{H4(Y1,r,{value:A,configurable:!0,writable:!0})}catch{Y1[r]=A}return A}});var Ic=pA((pT,Av)=>{"use strict";var O4=Ni(),P4=qt(),_4=Ec(),Z1="__core-js_shared__",$1=Av.exports=P4[Z1]||_4(Z1,{});($1.versions||($1.versions=[])).push({version:"3.39.0",mode:O4?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var Sc=pA((vT,tv)=>{"use strict";var ev=Ic();tv.exports=function(r,A){return ev[r]||(ev[r]=A||{})}});var Al=pA((BT,rv)=>{"use strict";var D4=li(),M4=Object;rv.exports=function(r){return M4(D4(r))}});var hi=pA((wT,nv)=>{"use strict";var R4=Jt(),k4=Al(),K4=R4({}.hasOwnProperty);nv.exports=Object.hasOwn||function(A,e){return K4(k4(A),e)}});var Pg=pA((mT,iv)=>{"use strict";var q4=Jt(),V4=0,j4=Math.random(),G4=q4(1 .toString);iv.exports=function(r){return"Symbol("+(r===void 0?"":r)+")_"+G4(++V4+j4,36)}});var Ur=pA((yT,sv)=>{"use strict";var z4=qt(),W4=Sc(),av=hi(),X4=Pg(),Y4=Sg(),J4=Lg(),zo=z4.Symbol,_g=W4("wks"),Z4=J4?zo.for||zo:zo&&zo.withoutSetter||X4;sv.exports=function(r){return av(_g,r)||(_g[r]=Y4&&av(zo,r)?zo[r]:Z4("Symbol."+r)),_g[r]}});var cv=pA((CT,lv)=>{"use strict";var $4=Hr(),ov=ci(),uv=Ng(),AF=Xs(),eF=W1(),tF=Ur(),rF=TypeError,nF=tF("toPrimitive");lv.exports=function(r,A){if(!ov(r)||uv(r))return r;var e=AF(r,nF),t;if(e){if(A===void 0&&(A="default"),t=$4(e,r,A),!ov(t)||uv(t))return t;throw new rF("Can't convert object to primitive value")}return A===void 0&&(A="number"),eF(r,A)}});var Dg=pA((bT,hv)=>{"use strict";var iF=cv(),aF=Ng();hv.exports=function(r){var A=iF(r,"string");return aF(A)?A:A+""}});var el=pA((FT,gv)=>{"use strict";var sF=qt(),fv=ci(),Mg=sF.document,oF=fv(Mg)&&fv(Mg.createElement);gv.exports=function(r){return oF?Mg.createElement(r):{}}});var Rg=pA((QT,dv)=>{"use strict";var uF=ui(),lF=Yt(),cF=el();dv.exports=!uF&&!lF(function(){return Object.defineProperty(cF("div"),"a",{get:function(){return 7}}).a!==7})});var tl=pA(vv=>{"use strict";var hF=ui(),fF=Hr(),gF=p1(),dF=Qc(),pF=jo(),vF=Dg(),BF=hi(),wF=Rg(),pv=Object.getOwnPropertyDescriptor;vv.f=hF?pv:function(A,e){if(A=pF(A),e=vF(e),wF)try{return pv(A,e)}catch{}if(BF(A,e))return dF(!fF(gF.f,A,e),A[e])}});var kg=pA((xT,Bv)=>{"use strict";var mF=ui(),yF=Yt();Bv.exports=mF&&yF(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var An=pA((ET,wv)=>{"use strict";var CF=ci(),bF=String,FF=TypeError;wv.exports=function(r){if(CF(r))return r;throw new FF(bF(r)+" is not an object")}});var Da=pA(yv=>{"use strict";var QF=ui(),UF=Rg(),xF=kg(),Lc=An(),mv=Dg(),EF=TypeError,Kg=Object.defineProperty,IF=Object.getOwnPropertyDescriptor,qg="enumerable",Vg="configurable",jg="writable";yv.f=QF?xF?function(A,e,t){if(Lc(A),e=mv(e),Lc(t),typeof A=="function"&&e==="prototype"&&"value"in t&&jg in t&&!t[jg]){var n=IF(A,e);n&&n[jg]&&(A[e]=t.value,t={configurable:Vg in t?t[Vg]:n[Vg],enumerable:qg in t?t[qg]:n[qg],writable:!1})}return Kg(A,e,t)}:Kg:function(A,e,t){if(Lc(A),e=mv(e),Lc(t),UF)try{return Kg(A,e,t)}catch{}if("get"in t||"set"in t)throw new EF("Accessors not supported");return"value"in t&&(A[e]=t.value),A}});var Wo=pA((ST,Cv)=>{"use strict";var SF=ui(),LF=Da(),NF=Qc();Cv.exports=SF?function(r,A,e){return LF.f(r,A,NF(1,e))}:function(r,A,e){return r[A]=e,r}});var rl=pA((LT,Fv)=>{"use strict";var Gg=ui(),TF=hi(),bv=Function.prototype,HF=Gg&&Object.getOwnPropertyDescriptor,zg=TF(bv,"name"),OF=zg&&function(){}.name==="something",PF=zg&&(!Gg||Gg&&HF(bv,"name").configurable);Fv.exports={EXISTS:zg,PROPER:OF,CONFIGURABLE:PF}});var Nc=pA((NT,Qv)=>{"use strict";var _F=Jt(),DF=Zt(),Wg=Ic(),MF=_F(Function.toString);DF(Wg.inspectSource)||(Wg.inspectSource=function(r){return MF(r)});Qv.exports=Wg.inspectSource});var Ev=pA((TT,xv)=>{"use strict";var RF=qt(),kF=Zt(),Uv=RF.WeakMap;xv.exports=kF(Uv)&&/native code/.test(String(Uv))});var Tc=pA((HT,Sv)=>{"use strict";var KF=Sc(),qF=Pg(),Iv=KF("keys");Sv.exports=function(r){return Iv[r]||(Iv[r]=qF(r))}});var Hc=pA((OT,Lv)=>{"use strict";Lv.exports={}});var il=pA((PT,Hv)=>{"use strict";var VF=Ev(),Tv=qt(),jF=ci(),GF=Wo(),Xg=hi(),Yg=Ic(),zF=Tc(),WF=Hc(),Nv="Object already initialized",Jg=Tv.TypeError,XF=Tv.WeakMap,Oc,nl,Pc,YF=function(r){return Pc(r)?nl(r):Oc(r,{})},JF=function(r){return function(A){var e;if(!jF(A)||(e=nl(A)).type!==r)throw new Jg("Incompatible receiver, "+r+" required");return e}};VF||Yg.state?(Ti=Yg.state||(Yg.state=new XF),Ti.get=Ti.get,Ti.has=Ti.has,Ti.set=Ti.set,Oc=function(r,A){if(Ti.has(r))throw new Jg(Nv);return A.facade=r,Ti.set(r,A),A},nl=function(r){return Ti.get(r)||{}},Pc=function(r){return Ti.has(r)}):(Ys=zF("state"),WF[Ys]=!0,Oc=function(r,A){if(Xg(r,Ys))throw new Jg(Nv);return A.facade=r,GF(r,Ys,A),A},nl=function(r){return Xg(r,Ys)?r[Ys]:{}},Pc=function(r){return Xg(r,Ys)});var Ti,Ys;Hv.exports={set:Oc,get:nl,has:Pc,enforce:YF,getterFor:JF}});var Ad=pA((_T,_v)=>{"use strict";var $g=Jt(),ZF=Yt(),$F=Zt(),_c=hi(),Zg=ui(),AQ=rl().CONFIGURABLE,eQ=Nc(),Pv=il(),tQ=Pv.enforce,rQ=Pv.get,Ov=String,Dc=Object.defineProperty,nQ=$g("".slice),iQ=$g("".replace),aQ=$g([].join),sQ=Zg&&!ZF(function(){return Dc(function(){},"length",{value:8}).length!==8}),oQ=String(String).split("String"),uQ=_v.exports=function(r,A,e){nQ(Ov(A),0,7)==="Symbol("&&(A="["+iQ(Ov(A),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(A="get "+A),e&&e.setter&&(A="set "+A),(!_c(r,"name")||AQ&&r.name!==A)&&(Zg?Dc(r,"name",{value:A,configurable:!0}):r.name=A),sQ&&e&&_c(e,"arity")&&r.length!==e.arity&&Dc(r,"length",{value:e.arity});try{e&&_c(e,"constructor")&&e.constructor?Zg&&Dc(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch{}var t=tQ(r);return _c(t,"source")||(t.source=aQ(oQ,typeof A=="string"?A:"")),r};Function.prototype.toString=uQ(function(){return $F(this)&&rQ(this).source||eQ(this)},"toString")});var ms=pA((DT,Dv)=>{"use strict";var lQ=Zt(),cQ=Da(),hQ=Ad(),fQ=Ec();Dv.exports=function(r,A,e,t){t||(t={});var n=t.enumerable,i=t.name!==void 0?t.name:A;if(lQ(e)&&hQ(e,i,t),t.global)n?r[A]=e:fQ(A,e);else{try{t.unsafe?r[A]&&(n=!0):delete r[A]}catch{}n?r[A]=e:cQ.f(r,A,{value:e,enumerable:!1,configurable:!t.nonConfigurable,writable:!t.nonWritable})}return r}});var Rv=pA((MT,Mv)=>{"use strict";var gQ=Math.ceil,dQ=Math.floor;Mv.exports=Math.trunc||function(A){var e=+A;return(e>0?dQ:gQ)(e)}});var al=pA((RT,kv)=>{"use strict";var pQ=Rv();kv.exports=function(r){var A=+r;return A!==A||A===0?0:pQ(A)}});var qv=pA((kT,Kv)=>{"use strict";var vQ=al(),BQ=Math.max,wQ=Math.min;Kv.exports=function(r,A){var e=vQ(r);return e<0?BQ(e+A,0):wQ(e,A)}});var Js=pA((KT,Vv)=>{"use strict";var mQ=al(),yQ=Math.min;Vv.exports=function(r){var A=mQ(r);return A>0?yQ(A,9007199254740991):0}});var Mc=pA((qT,jv)=>{"use strict";var CQ=Js();jv.exports=function(r){return CQ(r.length)}});var ed=pA((VT,zv)=>{"use strict";var bQ=jo(),FQ=qv(),QQ=Mc(),Gv=function(r){return function(A,e,t){var n=bQ(A),i=QQ(n);if(i===0)return!r&&-1;var a=FQ(t,i),s;if(r&&e!==e){for(;i>a;)if(s=n[a++],s!==s)return!0}else for(;i>a;a++)if((r||a in n)&&n[a]===e)return r||a||0;return!r&&-1}};zv.exports={includes:Gv(!0),indexOf:Gv(!1)}});var rd=pA((jT,Xv)=>{"use strict";var UQ=Jt(),td=hi(),xQ=jo(),EQ=ed().indexOf,IQ=Hc(),Wv=UQ([].push);Xv.exports=function(r,A){var e=xQ(r),t=0,n=[],i;for(i in e)!td(IQ,i)&&td(e,i)&&Wv(n,i);for(;A.length>t;)td(e,i=A[t++])&&(~EQ(n,i)||Wv(n,i));return n}});var Rc=pA((GT,Yv)=>{"use strict";Yv.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Zv=pA(Jv=>{"use strict";var SQ=rd(),LQ=Rc(),NQ=LQ.concat("length","prototype");Jv.f=Object.getOwnPropertyNames||function(A){return SQ(A,NQ)}});var A2=pA($v=>{"use strict";$v.f=Object.getOwnPropertySymbols});var t2=pA((XT,e2)=>{"use strict";var TQ=ws(),HQ=Jt(),OQ=Zv(),PQ=A2(),_Q=An(),DQ=HQ([].concat);e2.exports=TQ("Reflect","ownKeys")||function(A){var e=OQ.f(_Q(A)),t=PQ.f;return t?DQ(e,t(A)):e}});var i2=pA((YT,n2)=>{"use strict";var r2=hi(),MQ=t2(),RQ=tl(),kQ=Da();n2.exports=function(r,A,e){for(var t=MQ(A),n=kQ.f,i=RQ.f,a=0;a<t.length;a++){var s=t[a];!r2(r,s)&&!(e&&r2(e,s))&&n(r,s,i(A,s))}}});var nd=pA((JT,a2)=>{"use strict";var KQ=Yt(),qQ=Zt(),VQ=/#|\.prototype\./,sl=function(r,A){var e=GQ[jQ(r)];return e===WQ?!0:e===zQ?!1:qQ(A)?KQ(A):!!A},jQ=sl.normalize=function(r){return String(r).replace(VQ,".").toLowerCase()},GQ=sl.data={},zQ=sl.NATIVE="N",WQ=sl.POLYFILL="P";a2.exports=sl});var en=pA((ZT,s2)=>{"use strict";var kc=qt(),XQ=tl().f,YQ=Wo(),JQ=ms(),ZQ=Ec(),$Q=i2(),AU=nd();s2.exports=function(r,A){var e=r.target,t=r.global,n=r.stat,i,a,s,c,d,v;if(t?a=kc:n?a=kc[e]||ZQ(e,{}):a=kc[e]&&kc[e].prototype,a)for(s in A){if(d=A[s],r.dontCallGetSet?(v=XQ(a,s),c=v&&v.value):c=a[s],i=AU(t?s:e+(n?".":"#")+s,r.forced),!i&&c!==void 0){if(typeof d==typeof c)continue;$Q(d,c)}(r.sham||c&&c.sham)&&YQ(d,"sham",!0),JQ(a,s,d,r)}}});var id=pA(($T,o2)=>{"use strict";var ol=qt(),eU=Go(),tU=vs(),Kc=function(r){return eU.slice(0,r.length)===r};o2.exports=function(){return Kc("Bun/")?"BUN":Kc("Cloudflare-Workers")?"CLOUDFLARE":Kc("Deno/")?"DENO":Kc("Node.js/")?"NODE":ol.Bun&&typeof Bun.version=="string"?"BUN":ol.Deno&&typeof Deno.version=="object"?"DENO":tU(ol.process)==="process"?"NODE":ol.window&&ol.document?"BROWSER":"REST"}()});var ul=pA((A8,u2)=>{"use strict";var rU=id();u2.exports=rU==="NODE"});var c2=pA((e8,l2)=>{"use strict";var nU=Jt(),iU=sa();l2.exports=function(r,A,e){try{return nU(iU(Object.getOwnPropertyDescriptor(r,A)[e]))}catch{}}});var f2=pA((t8,h2)=>{"use strict";var aU=ci();h2.exports=function(r){return aU(r)||r===null}});var d2=pA((r8,g2)=>{"use strict";var sU=f2(),oU=String,uU=TypeError;g2.exports=function(r){if(sU(r))return r;throw new uU("Can't set "+oU(r)+" as a prototype")}});var ad=pA((n8,p2)=>{"use strict";var lU=c2(),cU=ci(),hU=li(),fU=d2();p2.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r=!1,A={},e;try{e=lU(Object.prototype,"__proto__","set"),e(A,[]),r=A instanceof Array}catch{}return function(n,i){return hU(n),fU(i),cU(n)&&(r?e(n,i):n.__proto__=i),n}}():void 0)});var ll=pA((i8,B2)=>{"use strict";var gU=Da().f,dU=hi(),pU=Ur(),v2=pU("toStringTag");B2.exports=function(r,A,e){r&&!e&&(r=r.prototype),r&&!dU(r,v2)&&gU(r,v2,{configurable:!0,value:A})}});var y2=pA((a8,m2)=>{"use strict";var w2=Ad(),vU=Da();m2.exports=function(r,A,e){return e.get&&w2(e.get,A,{getter:!0}),e.set&&w2(e.set,A,{setter:!0}),vU.f(r,A,e)}});var F2=pA((s8,b2)=>{"use strict";var BU=ws(),wU=y2(),mU=Ur(),yU=ui(),C2=mU("species");b2.exports=function(r){var A=BU(r);yU&&A&&!A[C2]&&wU(A,C2,{configurable:!0,get:function(){return this}})}});var U2=pA((o8,Q2)=>{"use strict";var CU=Zu(),bU=TypeError;Q2.exports=function(r,A){if(CU(A,r))return r;throw new bU("Incorrect invocation")}});var I2=pA((u8,E2)=>{"use strict";var FU=Ur(),QU=FU("toStringTag"),x2={};x2[QU]="z";E2.exports=String(x2)==="[object z]"});var Vc=pA((l8,S2)=>{"use strict";var UU=I2(),xU=Zt(),qc=vs(),EU=Ur(),IU=EU("toStringTag"),SU=Object,LU=qc(function(){return arguments}())==="Arguments",NU=function(r,A){try{return r[A]}catch{}};S2.exports=UU?qc:function(r){var A,e,t;return r===void 0?"Undefined":r===null?"Null":typeof(e=NU(A=SU(r),IU))=="string"?e:LU?qc(A):(t=qc(A))==="Object"&&xU(A.callee)?"Arguments":t}});var P2=pA((c8,O2)=>{"use strict";var TU=Jt(),HU=Yt(),L2=Zt(),OU=Vc(),PU=ws(),_U=Nc(),N2=function(){},T2=PU("Reflect","construct"),sd=/^\s*(?:class|function)\b/,DU=TU(sd.exec),MU=!sd.test(N2),cl=function(A){if(!L2(A))return!1;try{return T2(N2,[],A),!0}catch{return!1}},H2=function(A){if(!L2(A))return!1;switch(OU(A)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return MU||!!DU(sd,_U(A))}catch{return!0}};H2.sham=!0;O2.exports=!T2||HU(function(){var r;return cl(cl.call)||!cl(Object)||!cl(function(){r=!0})||r})?H2:cl});var D2=pA((h8,_2)=>{"use strict";var RU=P2(),kU=$u(),KU=TypeError;_2.exports=function(r){if(RU(r))return r;throw new KU(kU(r)+" is not a constructor")}});var od=pA((f8,R2)=>{"use strict";var M2=An(),qU=D2(),VU=Bs(),jU=Ur(),GU=jU("species");R2.exports=function(r,A){var e=M2(r).constructor,t;return e===void 0||VU(t=M2(e)[GU])?A:qU(t)}});var ud=pA((g8,V2)=>{"use strict";var zU=Ju(),q2=Function.prototype,k2=q2.apply,K2=q2.call;V2.exports=typeof Reflect=="object"&&Reflect.apply||(zU?K2.bind(k2):function(){return K2.apply(k2,arguments)})});var hl=pA((d8,j2)=>{"use strict";var WU=vs(),XU=Jt();j2.exports=function(r){if(WU(r)==="Function")return XU(r)}});var jc=pA((p8,z2)=>{"use strict";var G2=hl(),YU=sa(),JU=Ju(),ZU=G2(G2.bind);z2.exports=function(r,A){return YU(r),A===void 0?r:JU?ZU(r,A):function(){return r.apply(A,arguments)}}});var ld=pA((v8,W2)=>{"use strict";var $U=ws();W2.exports=$U("document","documentElement")});var Y2=pA((B8,X2)=>{"use strict";var A3=Jt();X2.exports=A3([].slice)});var Z2=pA((w8,J2)=>{"use strict";var e3=TypeError;J2.exports=function(r,A){if(r<A)throw new e3("Not enough arguments");return r}});var cd=pA((m8,$2)=>{"use strict";var t3=Go();$2.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(t3)});var md=pA((y8,oB)=>{"use strict";var Zn=qt(),r3=ud(),n3=jc(),AB=Zt(),i3=hi(),sB=Yt(),eB=ld(),a3=Y2(),tB=el(),s3=Z2(),o3=cd(),u3=ul(),vd=Zn.setImmediate,Bd=Zn.clearImmediate,l3=Zn.process,hd=Zn.Dispatch,c3=Zn.Function,rB=Zn.MessageChannel,h3=Zn.String,fd=0,fl={},nB="onreadystatechange",gl,Zs,gd,dd;sB(function(){gl=Zn.location});var wd=function(r){if(i3(fl,r)){var A=fl[r];delete fl[r],A()}},pd=function(r){return function(){wd(r)}},iB=function(r){wd(r.data)},aB=function(r){Zn.postMessage(h3(r),gl.protocol+"//"+gl.host)};(!vd||!Bd)&&(vd=function(A){s3(arguments.length,1);var e=AB(A)?A:c3(A),t=a3(arguments,1);return fl[++fd]=function(){r3(e,void 0,t)},Zs(fd),fd},Bd=function(A){delete fl[A]},u3?Zs=function(r){l3.nextTick(pd(r))}:hd&&hd.now?Zs=function(r){hd.now(pd(r))}:rB&&!o3?(gd=new rB,dd=gd.port2,gd.port1.onmessage=iB,Zs=n3(dd.postMessage,dd)):Zn.addEventListener&&AB(Zn.postMessage)&&!Zn.importScripts&&gl&&gl.protocol!=="file:"&&!sB(aB)?(Zs=aB,Zn.addEventListener("message",iB,!1)):nB in tB("script")?Zs=function(r){eB.appendChild(tB("script"))[nB]=function(){eB.removeChild(this),wd(r)}}:Zs=function(r){setTimeout(pd(r),0)});oB.exports={set:vd,clear:Bd}});var cB=pA((C8,lB)=>{"use strict";var uB=qt(),f3=ui(),g3=Object.getOwnPropertyDescriptor;lB.exports=function(r){if(!f3)return uB[r];var A=g3(uB,r);return A&&A.value}});var yd=pA((b8,fB)=>{"use strict";var hB=function(){this.head=null,this.tail=null};hB.prototype={add:function(r){var A={item:r,next:null},e=this.tail;e?e.next=A:this.head=A,this.tail=A},get:function(){var r=this.head;if(r){var A=this.head=r.next;return A===null&&(this.tail=null),r.item}}};fB.exports=hB});var dB=pA((F8,gB)=>{"use strict";var d3=Go();gB.exports=/ipad|iphone|ipod/i.test(d3)&&typeof Pebble<"u"});var vB=pA((Q8,pB)=>{"use strict";var p3=Go();pB.exports=/web0s(?!.*chrome)/i.test(p3)});var FB=pA((U8,bB)=>{"use strict";var Yo=qt(),v3=cB(),BB=jc(),Cd=md().set,B3=yd(),w3=cd(),m3=dB(),y3=vB(),bd=ul(),wB=Yo.MutationObserver||Yo.WebKitMutationObserver,mB=Yo.document,yB=Yo.process,Gc=Yo.Promise,Ud=v3("queueMicrotask"),Xo,Fd,Qd,zc,CB;Ud||(dl=new B3,pl=function(){var r,A;for(bd&&(r=yB.domain)&&r.exit();A=dl.get();)try{A()}catch(e){throw dl.head&&Xo(),e}r&&r.enter()},!w3&&!bd&&!y3&&wB&&mB?(Fd=!0,Qd=mB.createTextNode(""),new wB(pl).observe(Qd,{characterData:!0}),Xo=function(){Qd.data=Fd=!Fd}):!m3&&Gc&&Gc.resolve?(zc=Gc.resolve(void 0),zc.constructor=Gc,CB=BB(zc.then,zc),Xo=function(){CB(pl)}):bd?Xo=function(){yB.nextTick(pl)}:(Cd=BB(Cd,Yo),Xo=function(){Cd(pl)}),Ud=function(r){dl.head||Xo(),dl.add(r)});var dl,pl;bB.exports=Ud});var UB=pA((x8,QB)=>{"use strict";QB.exports=function(r,A){try{arguments.length===1?console.error(r):console.error(r,A)}catch{}}});var Wc=pA((E8,xB)=>{"use strict";xB.exports=function(r){try{return{error:!1,value:r()}}catch(A){return{error:!0,value:A}}}});var Jo=pA((I8,EB)=>{"use strict";var C3=qt();EB.exports=C3.Promise});var Zo=pA((S8,NB)=>{"use strict";var b3=qt(),vl=Jo(),F3=Zt(),Q3=nd(),U3=Nc(),x3=Ur(),IB=id(),E3=Ni(),xd=xc(),SB=vl&&vl.prototype,I3=x3("species"),Ed=!1,LB=F3(b3.PromiseRejectionEvent),S3=Q3("Promise",function(){var r=U3(vl),A=r!==String(vl);if(!A&&xd===66||E3&&!(SB.catch&&SB.finally))return!0;if(!xd||xd<51||!/native code/.test(r)){var e=new vl(function(i){i(1)}),t=function(i){i(function(){},function(){})},n=e.constructor={};if(n[I3]=t,Ed=e.then(function(){})instanceof t,!Ed)return!0}return!A&&(IB==="BROWSER"||IB==="DENO")&&!LB});NB.exports={CONSTRUCTOR:S3,REJECTION_EVENT:LB,SUBCLASSING:Ed}});var $o=pA((L8,HB)=>{"use strict";var TB=sa(),L3=TypeError,N3=function(r){var A,e;this.promise=new r(function(t,n){if(A!==void 0||e!==void 0)throw new L3("Bad Promise constructor");A=t,e=n}),this.resolve=TB(A),this.reject=TB(e)};HB.exports.f=function(r){return new N3(r)}});var $B=pA(()=>{"use strict";var T3=en(),H3=Ni(),Zc=ul(),ys=qt(),ru=Hr(),OB=ms(),PB=ad(),O3=ll(),P3=F2(),_3=sa(),Jc=Zt(),D3=ci(),M3=U2(),R3=od(),kB=md().set,Td=FB(),k3=UB(),K3=Wc(),q3=yd(),KB=il(),$c=Jo(),Hd=Zo(),qB=$o(),Ah="Promise",VB=Hd.CONSTRUCTOR,V3=Hd.REJECTION_EVENT,j3=Hd.SUBCLASSING,Id=KB.getterFor(Ah),G3=KB.set,Au=$c&&$c.prototype,$s=$c,Xc=Au,jB=ys.TypeError,Sd=ys.document,Od=ys.process,Ld=qB.f,z3=Ld,W3=!!(Sd&&Sd.createEvent&&ys.dispatchEvent),GB="unhandledrejection",X3="rejectionhandled",_B=0,zB=1,Y3=2,Pd=1,WB=2,Yc,DB,J3,MB,XB=function(r){var A;return D3(r)&&Jc(A=r.then)?A:!1},YB=function(r,A){var e=A.value,t=A.state===zB,n=t?r.ok:r.fail,i=r.resolve,a=r.reject,s=r.domain,c,d,v;try{n?(t||(A.rejection===WB&&$3(A),A.rejection=Pd),n===!0?c=e:(s&&s.enter(),c=n(e),s&&(s.exit(),v=!0)),c===r.promise?a(new jB("Promise-chain cycle")):(d=XB(c))?ru(d,c,i,a):i(c)):a(e)}catch(m){s&&!v&&s.exit(),a(m)}},JB=function(r,A){r.notified||(r.notified=!0,Td(function(){for(var e=r.reactions,t;t=e.get();)YB(t,r);r.notified=!1,A&&!r.rejection&&Z3(r)}))},ZB=function(r,A,e){var t,n;W3?(t=Sd.createEvent("Event"),t.promise=A,t.reason=e,t.initEvent(r,!1,!0),ys.dispatchEvent(t)):t={promise:A,reason:e},!V3&&(n=ys["on"+r])?n(t):r===GB&&k3("Unhandled promise rejection",e)},Z3=function(r){ru(kB,ys,function(){var A=r.facade,e=r.value,t=RB(r),n;if(t&&(n=K3(function(){Zc?Od.emit("unhandledRejection",e,A):ZB(GB,A,e)}),r.rejection=Zc||RB(r)?WB:Pd,n.error))throw n.value})},RB=function(r){return r.rejection!==Pd&&!r.parent},$3=function(r){ru(kB,ys,function(){var A=r.facade;Zc?Od.emit("rejectionHandled",A):ZB(X3,A,r.value)})},eu=function(r,A,e){return function(t){r(A,t,e)}},tu=function(r,A,e){r.done||(r.done=!0,e&&(r=e),r.value=A,r.state=Y3,JB(r,!0))},Nd=function(r,A,e){if(!r.done){r.done=!0,e&&(r=e);try{if(r.facade===A)throw new jB("Promise can't be resolved itself");var t=XB(A);t?Td(function(){var n={done:!1};try{ru(t,A,eu(Nd,n,r),eu(tu,n,r))}catch(i){tu(n,i,r)}}):(r.value=A,r.state=zB,JB(r,!1))}catch(n){tu({done:!1},n,r)}}};if(VB&&($s=function(A){M3(this,Xc),_3(A),ru(Yc,this);var e=Id(this);try{A(eu(Nd,e),eu(tu,e))}catch(t){tu(e,t)}},Xc=$s.prototype,Yc=function(A){G3(this,{type:Ah,done:!1,notified:!1,parent:!1,reactions:new q3,rejection:!1,state:_B,value:null})},Yc.prototype=OB(Xc,"then",function(A,e){var t=Id(this),n=Ld(R3(this,$s));return t.parent=!0,n.ok=Jc(A)?A:!0,n.fail=Jc(e)&&e,n.domain=Zc?Od.domain:void 0,t.state===_B?t.reactions.add(n):Td(function(){YB(n,t)}),n.promise}),DB=function(){var r=new Yc,A=Id(r);this.promise=r,this.resolve=eu(Nd,A),this.reject=eu(tu,A)},qB.f=Ld=function(r){return r===$s||r===J3?new DB(r):z3(r)},!H3&&Jc($c)&&Au!==Object.prototype)){MB=Au.then,j3||OB(Au,"then",function(A,e){var t=this;return new $s(function(n,i){ru(MB,t,n,i)}).then(A,e)},{unsafe:!0});try{delete Au.constructor}catch{}PB&&PB(Au,Xc)}T3({global:!0,constructor:!0,wrap:!0,forced:VB},{Promise:$s});O3($s,Ah,!1,!0);P3(Ah)});var nu=pA((H8,Aw)=>{"use strict";Aw.exports={}});var tw=pA((O8,ew)=>{"use strict";var Ax=Ur(),ex=nu(),tx=Ax("iterator"),rx=Array.prototype;ew.exports=function(r){return r!==void 0&&(ex.Array===r||rx[tx]===r)}});var _d=pA((P8,nw)=>{"use strict";var nx=Vc(),rw=Xs(),ix=Bs(),ax=nu(),sx=Ur(),ox=sx("iterator");nw.exports=function(r){if(!ix(r))return rw(r,ox)||rw(r,"@@iterator")||ax[nx(r)]}});var aw=pA((_8,iw)=>{"use strict";var ux=Hr(),lx=sa(),cx=An(),hx=$u(),fx=_d(),gx=TypeError;iw.exports=function(r,A){var e=arguments.length<2?fx(r):A;if(lx(e))return cx(ux(e,r));throw new gx(hx(r)+" is not iterable")}});var uw=pA((D8,ow)=>{"use strict";var dx=Hr(),sw=An(),px=Xs();ow.exports=function(r,A,e){var t,n;sw(r);try{if(t=px(r,"return"),!t){if(A==="throw")throw e;return e}t=dx(t,r)}catch(i){n=!0,t=i}if(A==="throw")throw e;if(n)throw t;return sw(t),e}});var Dd=pA((M8,fw)=>{"use strict";var vx=jc(),Bx=Hr(),wx=An(),mx=$u(),yx=tw(),Cx=Mc(),lw=Zu(),bx=aw(),Fx=_d(),cw=uw(),Qx=TypeError,eh=function(r,A){this.stopped=r,this.result=A},hw=eh.prototype;fw.exports=function(r,A,e){var t=e&&e.that,n=!!(e&&e.AS_ENTRIES),i=!!(e&&e.IS_RECORD),a=!!(e&&e.IS_ITERATOR),s=!!(e&&e.INTERRUPTED),c=vx(A,t),d,v,m,C,p,x,Q,S=function(P){return d&&cw(d,"normal",P),new eh(!0,P)},U=function(P){return n?(wx(P),s?c(P[0],P[1],S):c(P[0],P[1])):s?c(P,S):c(P)};if(i)d=r.iterator;else if(a)d=r;else{if(v=Fx(r),!v)throw new Qx(mx(r)+" is not iterable");if(yx(v)){for(m=0,C=Cx(r);C>m;m++)if(p=U(r[m]),p&&lw(hw,p))return p;return new eh(!1)}d=bx(r,v)}for(x=i?r.next:d.next;!(Q=Bx(x,d)).done;){try{p=U(Q.value)}catch(P){cw(d,"throw",P)}if(typeof p=="object"&&p&&lw(hw,p))return p}return new eh(!1)}});var Bw=pA((R8,vw)=>{"use strict";var Ux=Ur(),dw=Ux("iterator"),pw=!1;try{gw=0,Md={next:function(){return{done:!!gw++}},return:function(){pw=!0}},Md[dw]=function(){return this},Array.from(Md,function(){throw 2})}catch{}var gw,Md;vw.exports=function(r,A){try{if(!A&&!pw)return!1}catch{return!1}var e=!1;try{var t={};t[dw]=function(){return{next:function(){return{done:e=!0}}}},r(t)}catch{}return e}});var Rd=pA((k8,ww)=>{"use strict";var xx=Jo(),Ex=Bw(),Ix=Zo().CONSTRUCTOR;ww.exports=Ix||!Ex(function(r){xx.all(r).then(void 0,function(){})})});var mw=pA(()=>{"use strict";var Sx=en(),Lx=Hr(),Nx=sa(),Tx=$o(),Hx=Wc(),Ox=Dd(),Px=Rd();Sx({target:"Promise",stat:!0,forced:Px},{all:function(A){var e=this,t=Tx.f(e),n=t.resolve,i=t.reject,a=Hx(function(){var s=Nx(e.resolve),c=[],d=0,v=1;Ox(A,function(m){var C=d++,p=!1;v++,Lx(s,e,m).then(function(x){p||(p=!0,c[C]=x,--v||n(c))},i)}),--v||n(c)});return a.error&&i(a.value),t.promise}})});var Cw=pA(()=>{"use strict";var _x=en(),Dx=Ni(),Mx=Zo().CONSTRUCTOR,Kd=Jo(),Rx=ws(),kx=Zt(),Kx=ms(),yw=Kd&&Kd.prototype;_x({target:"Promise",proto:!0,forced:Mx,real:!0},{catch:function(r){return this.then(void 0,r)}});!Dx&&kx(Kd)&&(kd=Rx("Promise").prototype.catch,yw.catch!==kd&&Kx(yw,"catch",kd,{unsafe:!0}));var kd});var bw=pA(()=>{"use strict";var qx=en(),Vx=Hr(),jx=sa(),Gx=$o(),zx=Wc(),Wx=Dd(),Xx=Rd();qx({target:"Promise",stat:!0,forced:Xx},{race:function(A){var e=this,t=Gx.f(e),n=t.reject,i=zx(function(){var a=jx(e.resolve);Wx(A,function(s){Vx(a,e,s).then(t.resolve,n)})});return i.error&&n(i.value),t.promise}})});var Fw=pA(()=>{"use strict";var Yx=en(),Jx=$o(),Zx=Zo().CONSTRUCTOR;Yx({target:"Promise",stat:!0,forced:Zx},{reject:function(A){var e=Jx.f(this),t=e.reject;return t(A),e.promise}})});var Uw=pA((Y8,Qw)=>{"use strict";var $x=An(),AE=ci(),eE=$o();Qw.exports=function(r,A){if($x(r),AE(A)&&A.constructor===r)return A;var e=eE.f(r),t=e.resolve;return t(A),e.promise}});var Iw=pA(()=>{"use strict";var tE=en(),rE=ws(),xw=Ni(),nE=Jo(),Ew=Zo().CONSTRUCTOR,iE=Uw(),aE=rE("Promise"),sE=xw&&!Ew;tE({target:"Promise",stat:!0,forced:xw||Ew},{resolve:function(A){return iE(sE&&this===aE?nE:this,A)}})});var Sw=pA(()=>{"use strict";$B();mw();Cw();bw();Fw();Iw()});function Lw(r,A,e,t,n,i,a){try{var s=r[i](a),c=s.value}catch(d){return void e(d)}s.done?A(c):Promise.resolve(c).then(t,n)}function oa(r){return function(){var A=this,e=arguments;return new Promise(function(t,n){var i=r.apply(A,e);function a(c){Lw(i,t,n,a,s,"next",c)}function s(c){Lw(i,t,n,a,s,"throw",c)}a(void 0)})}}var Nw=ds(()=>{});var Hi=pA((tH,Tw)=>{"use strict";var oE=Vc(),uE=String;Tw.exports=function(r){if(oE(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return uE(r)}});var qd=pA((rH,Hw)=>{"use strict";var lE=An();Hw.exports=function(){var r=lE(this),A="";return r.hasIndices&&(A+="d"),r.global&&(A+="g"),r.ignoreCase&&(A+="i"),r.multiline&&(A+="m"),r.dotAll&&(A+="s"),r.unicode&&(A+="u"),r.unicodeSets&&(A+="v"),r.sticky&&(A+="y"),A}});var zd=pA((nH,Ow)=>{"use strict";var Vd=Yt(),cE=qt(),jd=cE.RegExp,Gd=Vd(function(){var r=jd("a","y");return r.lastIndex=2,r.exec("abcd")!==null}),hE=Gd||Vd(function(){return!jd("a","y").sticky}),fE=Gd||Vd(function(){var r=jd("^r","gy");return r.lastIndex=2,r.exec("str")!==null});Ow.exports={BROKEN_CARET:fE,MISSED_STICKY:hE,UNSUPPORTED_Y:Gd}});var _w=pA((iH,Pw)=>{"use strict";var gE=rd(),dE=Rc();Pw.exports=Object.keys||function(A){return gE(A,dE)}});var Mw=pA(Dw=>{"use strict";var pE=ui(),vE=kg(),BE=Da(),wE=An(),mE=jo(),yE=_w();Dw.f=pE&&!vE?Object.defineProperties:function(A,e){wE(A);for(var t=mE(e),n=yE(e),i=n.length,a=0,s;i>a;)BE.f(A,s=n[a++],t[s]);return A}});var Bl=pA((sH,Gw)=>{"use strict";var CE=An(),bE=Mw(),Rw=Rc(),FE=Hc(),QE=ld(),UE=el(),xE=Tc(),kw=">",Kw="<",Xd="prototype",Yd="script",Vw=xE("IE_PROTO"),Wd=function(){},jw=function(r){return Kw+Yd+kw+r+Kw+"/"+Yd+kw},qw=function(r){r.write(jw("")),r.close();var A=r.parentWindow.Object;return r=null,A},EE=function(){var r=UE("iframe"),A="java"+Yd+":",e;return r.style.display="none",QE.appendChild(r),r.src=String(A),e=r.contentWindow.document,e.open(),e.write(jw("document.F=Object")),e.close(),e.F},th,rh=function(){try{th=new ActiveXObject("htmlfile")}catch{}rh=typeof document<"u"?document.domain&&th?qw(th):EE():qw(th);for(var r=Rw.length;r--;)delete rh[Xd][Rw[r]];return rh()};FE[Vw]=!0;Gw.exports=Object.create||function(A,e){var t;return A!==null?(Wd[Xd]=CE(A),t=new Wd,Wd[Xd]=null,t[Vw]=A):t=rh(),e===void 0?t:bE.f(t,e)}});var Ww=pA((oH,zw)=>{"use strict";var IE=Yt(),SE=qt(),LE=SE.RegExp;zw.exports=IE(function(){var r=LE(".","s");return!(r.dotAll&&r.test(`
|
|
33
|
+
`)&&r.flags==="s")})});var Yw=pA((uH,Xw)=>{"use strict";var NE=Yt(),TE=qt(),HE=TE.RegExp;Xw.exports=NE(function(){var r=HE("(?<a>b)","g");return r.exec("b").groups.a!=="b"||"b".replace(r,"$<a>c")!=="bc"})});var ah=pA((lH,Zw)=>{"use strict";var iu=Hr(),ih=Jt(),OE=Hi(),PE=qd(),_E=zd(),DE=Sc(),ME=Bl(),RE=il().get,kE=Ww(),KE=Yw(),qE=DE("native-string-replace",String.prototype.replace),nh=RegExp.prototype.exec,Zd=nh,VE=ih("".charAt),jE=ih("".indexOf),GE=ih("".replace),Jd=ih("".slice),$d=function(){var r=/a/,A=/b*/g;return iu(nh,r,"a"),iu(nh,A,"a"),r.lastIndex!==0||A.lastIndex!==0}(),Jw=_E.BROKEN_CARET,Ap=/()??/.exec("")[1]!==void 0,zE=$d||Ap||Jw||kE||KE;zE&&(Zd=function(A){var e=this,t=RE(e),n=OE(A),i=t.raw,a,s,c,d,v,m,C;if(i)return i.lastIndex=e.lastIndex,a=iu(Zd,i,n),e.lastIndex=i.lastIndex,a;var p=t.groups,x=Jw&&e.sticky,Q=iu(PE,e),S=e.source,U=0,P=n;if(x&&(Q=GE(Q,"y",""),jE(Q,"g")===-1&&(Q+="g"),P=Jd(n,e.lastIndex),e.lastIndex>0&&(!e.multiline||e.multiline&&VE(n,e.lastIndex-1)!==`
|
|
34
|
+
`)&&(S="(?: "+S+")",P=" "+P,U++),s=new RegExp("^(?:"+S+")",Q)),Ap&&(s=new RegExp("^"+S+"$(?!\\s)",Q)),$d&&(c=e.lastIndex),d=iu(nh,x?s:e,P),x?d?(d.input=Jd(d.input,U),d[0]=Jd(d[0],U),d.index=e.lastIndex,e.lastIndex+=d[0].length):e.lastIndex=0:$d&&d&&(e.lastIndex=e.global?d.index+d[0].length:c),Ap&&d&&d.length>1&&iu(qE,d[0],s,function(){for(v=1;v<arguments.length-2;v++)arguments[v]===void 0&&(d[v]=void 0)}),d&&p)for(d.groups=m=ME(null),v=0;v<p.length;v++)C=p[v],m[C[0]]=d[C[1]];return d});Zw.exports=Zd});var A5=pA(()=>{"use strict";var WE=en(),$w=ah();WE({target:"RegExp",proto:!0,forced:/./.exec!==$w},{exec:$w})});var sh=pA((fH,i5)=>{"use strict";A5();var e5=Hr(),t5=ms(),XE=ah(),r5=Yt(),n5=Ur(),YE=Wo(),JE=n5("species"),ep=RegExp.prototype;i5.exports=function(r,A,e,t){var n=n5(r),i=!r5(function(){var d={};return d[n]=function(){return 7},""[r](d)!==7}),a=i&&!r5(function(){var d=!1,v=/a/;return r==="split"&&(v={},v.constructor={},v.constructor[JE]=function(){return v},v.flags="",v[n]=/./[n]),v.exec=function(){return d=!0,null},v[n](""),!d});if(!i||!a||e){var s=/./[n],c=A(n,""[r],function(d,v,m,C,p){var x=v.exec;return x===XE||x===ep.exec?i&&!p?{done:!0,value:e5(s,v,m,C)}:{done:!0,value:e5(d,m,v,C)}:{done:!1}});t5(String.prototype,r,c[0]),t5(ep,n,c[1])}t&&YE(ep[n],"sham",!0)}});var u5=pA((gH,o5)=>{"use strict";var tp=Jt(),ZE=al(),$E=Hi(),AI=li(),eI=tp("".charAt),a5=tp("".charCodeAt),tI=tp("".slice),s5=function(r){return function(A,e){var t=$E(AI(A)),n=ZE(e),i=t.length,a,s;return n<0||n>=i?r?"":void 0:(a=a5(t,n),a<55296||a>56319||n+1===i||(s=a5(t,n+1))<56320||s>57343?r?eI(t,n):a:r?tI(t,n,n+2):(a-55296<<10)+(s-56320)+65536)}};o5.exports={codeAt:s5(!1),charAt:s5(!0)}});var oh=pA((dH,l5)=>{"use strict";var rI=u5().charAt;l5.exports=function(r,A,e){return A+(e?rI(r,A).length:1)}});var uh=pA((pH,h5)=>{"use strict";var c5=Hr(),nI=An(),iI=Zt(),aI=vs(),sI=ah(),oI=TypeError;h5.exports=function(r,A){var e=r.exec;if(iI(e)){var t=c5(e,r,A);return t!==null&&nI(t),t}if(aI(r)==="RegExp")return c5(sI,r,A);throw new oI("RegExp#exec called on incompatible receiver")}});var g5=pA(()=>{"use strict";var uI=Hr(),lI=sh(),cI=An(),hI=Bs(),fI=Js(),rp=Hi(),gI=li(),dI=Xs(),pI=oh(),f5=uh();lI("match",function(r,A,e){return[function(n){var i=gI(this),a=hI(n)?void 0:dI(n,r);return a?uI(a,n,i):new RegExp(n)[r](rp(i))},function(t){var n=cI(this),i=rp(t),a=e(A,n,i);if(a.done)return a.value;if(!n.global)return f5(n,i);var s=n.unicode;n.lastIndex=0;for(var c=[],d=0,v;(v=f5(n,i))!==null;){var m=rp(v[0]);c[d]=m,m===""&&(n.lastIndex=pI(i,fI(n.lastIndex),s)),d++}return d===0?null:c}]})});var v5=pA((wH,d5)=>{"use strict";var ap=Jt(),vI=Al(),BI=Math.floor,np=ap("".charAt),wI=ap("".replace),ip=ap("".slice),mI=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,yI=/\$([$&'`]|\d{1,2})/g;d5.exports=function(r,A,e,t,n,i){var a=e+r.length,s=t.length,c=yI;return n!==void 0&&(n=vI(n),c=mI),wI(i,c,function(d,v){var m;switch(np(v,0)){case"$":return"$";case"&":return r;case"`":return ip(A,0,e);case"'":return ip(A,a);case"<":m=n[ip(v,1,-1)];break;default:var C=+v;if(C===0)return d;if(C>s){var p=BI(C/10);return p===0?d:p<=s?t[p-1]===void 0?np(v,1):t[p-1]+np(v,1):d}m=t[C-1]}return m===void 0?"":m})}});var C5=pA(()=>{"use strict";var CI=ud(),B5=Hr(),lh=Jt(),bI=sh(),FI=Yt(),QI=An(),UI=Zt(),xI=Bs(),EI=al(),II=Js(),au=Hi(),SI=li(),LI=oh(),NI=Xs(),TI=v5(),HI=uh(),OI=Ur(),op=OI("replace"),PI=Math.max,_I=Math.min,DI=lh([].concat),sp=lh([].push),w5=lh("".indexOf),m5=lh("".slice),MI=function(r){return r===void 0?r:String(r)},RI=function(){return"a".replace(/./,"$0")==="$0"}(),y5=function(){return/./[op]?/./[op]("a","$0")==="":!1}(),kI=!FI(function(){var r=/./;return r.exec=function(){var A=[];return A.groups={a:"7"},A},"".replace(r,"$<a>")!=="7"});bI("replace",function(r,A,e){var t=y5?"$":"$0";return[function(i,a){var s=SI(this),c=xI(i)?void 0:NI(i,op);return c?B5(c,i,s,a):B5(A,au(s),i,a)},function(n,i){var a=QI(this),s=au(n);if(typeof i=="string"&&w5(i,t)===-1&&w5(i,"$<")===-1){var c=e(A,a,s,i);if(c.done)return c.value}var d=UI(i);d||(i=au(i));var v=a.global,m;v&&(m=a.unicode,a.lastIndex=0);for(var C=[],p;p=HI(a,s),!(p===null||(sp(C,p),!v));){var x=au(p[0]);x===""&&(a.lastIndex=LI(s,II(a.lastIndex),m))}for(var Q="",S=0,U=0;U<C.length;U++){p=C[U];for(var P=au(p[0]),q=PI(_I(EI(p.index),s.length),0),Y=[],uA,wA=1;wA<p.length;wA++)sp(Y,MI(p[wA]));var J=p.groups;if(d){var z=DI([P],Y,q,s);J!==void 0&&sp(z,J),uA=au(CI(i,void 0,z))}else uA=TI(P,s,q,Y,J,i);q>=S&&(Q+=m5(s,S,q)+uA,S=q+P.length)}return Q+m5(s,S)}]},!kI||!RI||y5)});var F5=pA((CH,b5)=>{"use strict";var KI=ci(),qI=vs(),VI=Ur(),jI=VI("match");b5.exports=function(r){var A;return KI(r)&&((A=r[jI])!==void 0?!!A:qI(r)==="RegExp")}});var ch=pA((bH,Q5)=>{"use strict";var GI=F5(),zI=TypeError;Q5.exports=function(r){if(GI(r))throw new zI("The method doesn't accept regular expressions");return r}});var hh=pA((FH,U5)=>{"use strict";var WI=Ur(),XI=WI("match");U5.exports=function(r){var A=/./;try{"/./"[r](A)}catch{try{return A[XI]=!1,"/./"[r](A)}catch{}}return!1}});var I5=pA(()=>{"use strict";var YI=en(),JI=hl(),ZI=tl().f,$I=Js(),x5=Hi(),AS=ch(),eS=li(),tS=hh(),rS=Ni(),nS=JI("".slice),iS=Math.min,E5=tS("startsWith"),aS=!rS&&!E5&&!!function(){var r=ZI(String.prototype,"startsWith");return r&&!r.writable}();YI({target:"String",proto:!0,forced:!aS&&!E5},{startsWith:function(A){var e=x5(eS(this));AS(A);var t=$I(iS(arguments.length>1?arguments[1]:void 0,e.length)),n=x5(A);return nS(e,t,t+n.length)===n}})});var L5=pA((xH,S5)=>{"use strict";var sS=Ur(),oS=Bl(),uS=Da().f,up=sS("unscopables"),lp=Array.prototype;lp[up]===void 0&&uS(lp,up,{configurable:!0,value:oS(null)});S5.exports=function(r){lp[up][r]=!0}});var T5=pA((EH,N5)=>{"use strict";var lS=Yt();N5.exports=!lS(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})});var hp=pA((IH,O5)=>{"use strict";var cS=hi(),hS=Zt(),fS=Al(),gS=Tc(),dS=T5(),H5=gS("IE_PROTO"),cp=Object,pS=cp.prototype;O5.exports=dS?cp.getPrototypeOf:function(r){var A=fS(r);if(cS(A,H5))return A[H5];var e=A.constructor;return hS(e)&&A instanceof e?e.prototype:A instanceof cp?pS:null}});var pp=pA((SH,D5)=>{"use strict";var vS=Yt(),BS=Zt(),wS=ci(),mS=Bl(),P5=hp(),yS=ms(),CS=Ur(),bS=Ni(),dp=CS("iterator"),_5=!1,Ma,fp,gp;[].keys&&(gp=[].keys(),"next"in gp?(fp=P5(P5(gp)),fp!==Object.prototype&&(Ma=fp)):_5=!0);var FS=!wS(Ma)||vS(function(){var r={};return Ma[dp].call(r)!==r});FS?Ma={}:bS&&(Ma=mS(Ma));BS(Ma[dp])||yS(Ma,dp,function(){return this});D5.exports={IteratorPrototype:Ma,BUGGY_SAFARI_ITERATORS:_5}});var R5=pA((LH,M5)=>{"use strict";var QS=pp().IteratorPrototype,US=Bl(),xS=Qc(),ES=ll(),IS=nu(),SS=function(){return this};M5.exports=function(r,A,e,t){var n=A+" Iterator";return r.prototype=US(QS,{next:xS(+!t,e)}),ES(r,n,!1,!0),IS[n]=SS,r}});var J5=pA((NH,Y5)=>{"use strict";var LS=en(),NS=Hr(),fh=Ni(),W5=rl(),TS=Zt(),HS=R5(),k5=hp(),K5=ad(),OS=ll(),PS=Wo(),vp=ms(),_S=Ur(),q5=nu(),X5=pp(),DS=W5.PROPER,MS=W5.CONFIGURABLE,V5=X5.IteratorPrototype,gh=X5.BUGGY_SAFARI_ITERATORS,wl=_S("iterator"),j5="keys",ml="values",G5="entries",z5=function(){return this};Y5.exports=function(r,A,e,t,n,i,a){HS(e,A,t);var s=function(U){if(U===n&&C)return C;if(!gh&&U&&U in v)return v[U];switch(U){case j5:return function(){return new e(this,U)};case ml:return function(){return new e(this,U)};case G5:return function(){return new e(this,U)}}return function(){return new e(this)}},c=A+" Iterator",d=!1,v=r.prototype,m=v[wl]||v["@@iterator"]||n&&v[n],C=!gh&&m||s(n),p=A==="Array"&&v.entries||m,x,Q,S;if(p&&(x=k5(p.call(new r)),x!==Object.prototype&&x.next&&(!fh&&k5(x)!==V5&&(K5?K5(x,V5):TS(x[wl])||vp(x,wl,z5)),OS(x,c,!0,!0),fh&&(q5[c]=z5))),DS&&n===ml&&m&&m.name!==ml&&(!fh&&MS?PS(v,"name",ml):(d=!0,C=function(){return NS(m,this)})),n)if(Q={values:s(ml),keys:i?C:s(j5),entries:s(G5)},a)for(S in Q)(gh||d||!(S in v))&&vp(v,S,Q[S]);else LS({target:A,proto:!0,forced:gh||d},Q);return(!fh||a)&&v[wl]!==C&&vp(v,wl,C,{name:n}),q5[A]=C,Q}});var $5=pA((TH,Z5)=>{"use strict";Z5.exports=function(r,A){return{value:r,done:A}}});var wp=pA((HH,nm)=>{"use strict";var RS=jo(),Bp=L5(),Am=nu(),tm=il(),kS=Da().f,KS=J5(),dh=$5(),qS=Ni(),VS=ui(),rm="Array Iterator",jS=tm.set,GS=tm.getterFor(rm);nm.exports=KS(Array,"Array",function(r,A){jS(this,{type:rm,target:RS(r),index:0,kind:A})},function(){var r=GS(this),A=r.target,e=r.index++;if(!A||e>=A.length)return r.target=null,dh(void 0,!0);switch(r.kind){case"keys":return dh(e,!1);case"values":return dh(A[e],!1)}return dh([e,A[e]],!1)},"values");var em=Am.Arguments=Am.Array;Bp("keys");Bp("values");Bp("entries");if(!qS&&VS&&em.name!=="values")try{kS(em,"name",{value:"values"})}catch{}});var am=pA((OH,im)=>{"use strict";im.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var um=pA((PH,om)=>{"use strict";var zS=el(),mp=zS("span").classList,sm=mp&&mp.constructor&&mp.constructor.prototype;om.exports=sm===Object.prototype?void 0:sm});var gm=pA(()=>{"use strict";var lm=qt(),hm=am(),WS=um(),yl=wp(),cm=Wo(),XS=ll(),YS=Ur(),yp=YS("iterator"),Cp=yl.values,fm=function(r,A){if(r){if(r[yp]!==Cp)try{cm(r,yp,Cp)}catch{r[yp]=Cp}if(XS(r,A,!0),hm[A]){for(var e in yl)if(r[e]!==yl[e])try{cm(r,e,yl[e])}catch{r[e]=yl[e]}}}};for(ph in hm)fm(lm[ph]&&lm[ph].prototype,ph);var ph;fm(WS,"DOMTokenList")});function dm(r,A){if($e(r)!="object"||!r)return r;var e=r[Symbol.toPrimitive];if(e!==void 0){var t=e.call(r,A||"default");if($e(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(r)}var pm=ds(()=>{mc()});function vm(r){var A=dm(r,"string");return $e(A)=="symbol"?A:A+""}var Bm=ds(()=>{mc();pm()});function vh(r,A,e){return(A=vm(A))in r?Object.defineProperty(r,A,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[A]=e,r}var wm=ds(()=>{Bm()});var Fm=pA((GH,bm)=>{"use strict";var JS=sa(),ZS=Al(),$S=Ug(),AL=Mc(),mm=TypeError,ym="Reduce of empty array with no initial value",Cm=function(r){return function(A,e,t,n){var i=ZS(A),a=$S(i),s=AL(i);if(JS(e),s===0&&t<2)throw new mm(ym);var c=r?s-1:0,d=r?-1:1;if(t<2)for(;;){if(c in a){n=a[c],c+=d;break}if(c+=d,r?c<0:s<=c)throw new mm(ym)}for(;r?c>=0:s>c;c+=d)c in a&&(n=e(n,a[c],c,i));return n}};bm.exports={left:Cm(!1),right:Cm(!0)}});var bp=pA((zH,Qm)=>{"use strict";var eL=Yt();Qm.exports=function(r,A){var e=[][r];return!!e&&eL(function(){e.call(null,A||function(){return 1},1)})}});var xm=pA(()=>{"use strict";var tL=en(),rL=Fm().left,nL=bp(),Um=xc(),iL=ul(),aL=!iL&&Um>79&&Um<83,sL=aL||!nL("reduce");tL({target:"Array",proto:!0,forced:sL},{reduce:function(A){var e=arguments.length;return rL(this,A,e,e>1?arguments[1]:void 0)}})});var Sm=pA(()=>{"use strict";var oL=en(),uL=hl(),lL=tl().f,cL=Js(),Em=Hi(),hL=ch(),fL=li(),gL=hh(),dL=Ni(),pL=uL("".slice),vL=Math.min,Im=gL("endsWith"),BL=!dL&&!Im&&!!function(){var r=lL(String.prototype,"endsWith");return r&&!r.writable}();oL({target:"String",proto:!0,forced:!BL&&!Im},{endsWith:function(A){var e=Em(fL(this));hL(A);var t=arguments.length>1?arguments[1]:void 0,n=e.length,i=t===void 0?n:vL(cL(t),n),a=Em(A);return pL(e,i-a.length,i)===a}})});var Om=pA(()=>{"use strict";var Fp=Hr(),Hm=Jt(),wL=sh(),mL=An(),yL=Bs(),CL=li(),bL=od(),FL=oh(),QL=Js(),Lm=Hi(),UL=Xs(),Nm=uh(),xL=zd(),EL=Yt(),su=xL.UNSUPPORTED_Y,IL=4294967295,SL=Math.min,Qp=Hm([].push),Up=Hm("".slice),LL=!EL(function(){var r=/(?:)/,A=r.exec;r.exec=function(){return A.apply(this,arguments)};var e="ab".split(r);return e.length!==2||e[0]!=="a"||e[1]!=="b"}),Tm="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;wL("split",function(r,A,e){var t="0".split(void 0,0).length?function(n,i){return n===void 0&&i===0?[]:Fp(A,this,n,i)}:A;return[function(i,a){var s=CL(this),c=yL(i)?void 0:UL(i,r);return c?Fp(c,i,s,a):Fp(t,Lm(s),i,a)},function(n,i){var a=mL(this),s=Lm(n);if(!Tm){var c=e(t,a,s,i,t!==A);if(c.done)return c.value}var d=bL(a,RegExp),v=a.unicode,m=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(su?"g":"y"),C=new d(su?"^(?:"+a.source+")":a,m),p=i===void 0?IL:i>>>0;if(p===0)return[];if(s.length===0)return Nm(C,s)===null?[s]:[];for(var x=0,Q=0,S=[];Q<s.length;){C.lastIndex=su?0:Q;var U=Nm(C,su?Up(s,Q):s),P;if(U===null||(P=SL(QL(C.lastIndex+(su?Q:0)),s.length))===x)Q=FL(s,Q,v);else{if(Qp(S,Up(s,x,Q)),S.length===p)return S;for(var q=1;q<=U.length-1;q++)if(Qp(S,U[q]),S.length===p)return S;Q=x=P}}return Qp(S,Up(s,x)),S}]},Tm||!LL,su)});var _m=pA((Pm,Cl)=>{(function(){var r,A,e,t,n,i;typeof performance<"u"&&performance!==null&&performance.now?Cl.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Cl.exports=function(){return(r()-n)/1e6},A=process.hrtime,r=function(){var a;return a=A(),a[0]*1e9+a[1]},t=r(),i=process.uptime()*1e9,n=t-i):Date.now?(Cl.exports=function(){return Date.now()-e},e=Date.now()):(Cl.exports=function(){return new Date().getTime()-e},e=new Date().getTime())}).call(Pm)});var Mm=pA((AO,mh)=>{var NL=_m(),Ra=typeof window>"u"?global:window,Bh=["moz","webkit"],uu="AnimationFrame",lu=Ra["request"+uu],bl=Ra["cancel"+uu]||Ra["cancelRequest"+uu];for(ou=0;!lu&&ou<Bh.length;ou++)lu=Ra[Bh[ou]+"Request"+uu],bl=Ra[Bh[ou]+"Cancel"+uu]||Ra[Bh[ou]+"CancelRequest"+uu];var ou;(!lu||!bl)&&(wh=0,xp=0,Cs=[],Dm=1e3/60,lu=function(r){if(Cs.length===0){var A=NL(),e=Math.max(0,Dm-(A-wh));wh=e+A,setTimeout(function(){var t=Cs.slice(0);Cs.length=0;for(var n=0;n<t.length;n++)if(!t[n].cancelled)try{t[n].callback(wh)}catch(i){setTimeout(function(){throw i},0)}},Math.round(e))}return Cs.push({handle:++xp,callback:r,cancelled:!1}),xp},bl=function(r){for(var A=0;A<Cs.length;A++)Cs[A].handle===r&&(Cs[A].cancelled=!0)});var wh,xp,Cs,Dm;mh.exports=function(r){return lu.call(Ra,r)};mh.exports.cancel=function(){bl.apply(Ra,arguments)};mh.exports.polyfill=function(r){r||(r=Ra),r.requestAnimationFrame=lu,r.cancelAnimationFrame=bl}});var Ep=pA((eO,Rm)=>{"use strict";Rm.exports=`
|
|
35
|
+
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var qm=pA((tO,Km)=>{"use strict";var TL=Jt(),HL=li(),OL=Hi(),Sp=Ep(),km=TL("".replace),PL=RegExp("^["+Sp+"]+"),_L=RegExp("(^|[^"+Sp+"])["+Sp+"]+$"),Ip=function(r){return function(A){var e=OL(HL(A));return r&1&&(e=km(e,PL,"")),r&2&&(e=km(e,_L,"$1")),e}};Km.exports={start:Ip(1),end:Ip(2),trim:Ip(3)}});var zm=pA((rO,Gm)=>{"use strict";var DL=rl().PROPER,ML=Yt(),Vm=Ep(),jm="\u200B\x85\u180E";Gm.exports=function(r){return ML(function(){return!!Vm[r]()||jm[r]()!==jm||DL&&Vm[r].name!==r})}});var Wm=pA(()=>{"use strict";var RL=en(),kL=qm().trim,KL=zm();RL({target:"String",proto:!0,forced:KL("trim")},{trim:function(){return kL(this)}})});var Ym=pA((aO,Xm)=>{Xm.exports=function(r){this.ok=!1,this.alpha=1,r.charAt(0)=="#"&&(r=r.substr(1,6)),r=r.replace(/ /g,""),r=r.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"};r=A[r]||r;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(c){return[parseInt(c[1]),parseInt(c[2]),parseInt(c[3]),parseFloat(c[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(c){return[parseInt(c[1]),parseInt(c[2]),parseInt(c[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(c){return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(c){return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]}}],t=0;t<e.length;t++){var n=e[t].re,i=e[t].process,a=n.exec(r);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 c=this.r.toString(16),d=this.g.toString(16),v=this.b.toString(16);return c.length==1&&(c="0"+c),d.length==1&&(d="0"+d),v.length==1&&(v="0"+v),"#"+c+d+v},this.getHelpXML=function(){for(var c=new Array,d=0;d<e.length;d++)for(var v=e[d].example,m=0;m<v.length;m++)c[c.length]=v[m];for(var C in A)c[c.length]=C;var p=document.createElement("ul");p.setAttribute("id","rgbcolor-examples");for(var d=0;d<c.length;d++)try{var x=document.createElement("li"),Q=new RGBColor(c[d]),S=document.createElement("div");S.style.cssText="margin: 3px; border: 1px solid black; background:"+Q.toHex()+"; color:"+Q.toHex(),S.appendChild(document.createTextNode("test"));var U=document.createTextNode(" "+c[d]+" -> "+Q.toRGB()+" -> "+Q.toHex());x.appendChild(S),x.appendChild(U),p.appendChild(x)}catch{}return p}}});var Zm=pA(()=>{"use strict";var qL=en(),VL=hl(),jL=ed().indexOf,GL=bp(),Lp=VL([].indexOf),Jm=!!Lp&&1/Lp([1],1,-0)<0,zL=Jm||!GL("indexOf");qL({target:"Array",proto:!0,forced:zL},{indexOf:function(A){var e=arguments.length>1?arguments[1]:void 0;return Jm?Lp(this,A,e)||0:jL(this,A,e)}})});var Ay=pA(()=>{"use strict";var WL=en(),XL=Jt(),YL=ch(),JL=li(),$m=Hi(),ZL=hh(),$L=XL("".indexOf);WL({target:"String",proto:!0,forced:!ZL("includes")},{includes:function(A){return!!~$L($m(JL(this)),$m(YL(A)),arguments.length>1?arguments[1]:void 0)}})});var ty=pA((cO,ey)=>{"use strict";var AN=vs();ey.exports=Array.isArray||function(A){return AN(A)==="Array"}});var ny=pA(()=>{"use strict";var eN=en(),tN=Jt(),rN=ty(),nN=tN([].reverse),ry=[1,2];eN({target:"Array",proto:!0,forced:String(ry)===String(ry.reverse())},{reverse:function(){return rN(this)&&(this.length=this.length),nN(this)}})});function hy(r,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=r}cy(r,A),r.prototype=A===null?Object.create(A):(e.prototype=A.prototype,new e)}function iN(r){var A="";Array.isArray(r)||(r=[r]);for(var e=0;e<r.length;e++){var t=r[e];if(t.type===kA.CLOSE_PATH)A+="z";else if(t.type===kA.HORIZ_LINE_TO)A+=(t.relative?"h":"H")+t.x;else if(t.type===kA.VERT_LINE_TO)A+=(t.relative?"v":"V")+t.y;else if(t.type===kA.MOVE_TO)A+=(t.relative?"m":"M")+t.x+" "+t.y;else if(t.type===kA.LINE_TO)A+=(t.relative?"l":"L")+t.x+" "+t.y;else if(t.type===kA.CURVE_TO)A+=(t.relative?"c":"C")+t.x1+" "+t.y1+" "+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===kA.SMOOTH_CURVE_TO)A+=(t.relative?"s":"S")+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===kA.QUAD_TO)A+=(t.relative?"q":"Q")+t.x1+" "+t.y1+" "+t.x+" "+t.y;else if(t.type===kA.SMOOTH_QUAD_TO)A+=(t.relative?"t":"T")+t.x+" "+t.y;else{if(t.type!==kA.ARC)throw new Error('Unexpected command type "'+t.type+'" at index '+e+".");A+=(t.relative?"a":"A")+t.rX+" "+t.rY+" "+t.xRot+" "+ +t.lArcFlag+" "+ +t.sweepFlag+" "+t.x+" "+t.y}}return A}function Tp(r,A){var e=r[0],t=r[1];return[e*Math.cos(A)-t*Math.sin(A),e*Math.sin(A)+t*Math.cos(A)]}function Pi(){for(var r=[],A=0;A<arguments.length;A++)r[A]=arguments[A];for(var e=0;e<r.length;e++)if(typeof r[e]!="number")throw new Error("assertNumbers arguments["+e+"] is not a number. "+typeof r[e]+" == typeof "+r[e]);return!0}function Np(r,A,e){r.lArcFlag=r.lArcFlag===0?0:1,r.sweepFlag=r.sweepFlag===0?0:1;var t=r.rX,n=r.rY,i=r.x,a=r.y;t=Math.abs(r.rX),n=Math.abs(r.rY);var s=Tp([(A-i)/2,(e-a)/2],-r.xRot/180*bs),c=s[0],d=s[1],v=Math.pow(c,2)/Math.pow(t,2)+Math.pow(d,2)/Math.pow(n,2);1<v&&(t*=Math.sqrt(v),n*=Math.sqrt(v)),r.rX=t,r.rY=n;var m=Math.pow(t,2)*Math.pow(d,2)+Math.pow(n,2)*Math.pow(c,2),C=(r.lArcFlag!==r.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(t,2)*Math.pow(n,2)-m)/m)),p=t*d/n*C,x=-n*c/t*C,Q=Tp([p,x],r.xRot/180*bs);r.cX=Q[0]+(A+i)/2,r.cY=Q[1]+(e+a)/2,r.phi1=Math.atan2((d-x)/n,(c-p)/t),r.phi2=Math.atan2((-d-x)/n,(-c-p)/t),r.sweepFlag===0&&r.phi2>r.phi1&&(r.phi2-=2*bs),r.sweepFlag===1&&r.phi2<r.phi1&&(r.phi2+=2*bs),r.phi1*=180/bs,r.phi2*=180/bs}function iy(r,A,e){Pi(r,A,e);var t=r*r+A*A-e*e;if(0>t)return[];if(t===0)return[[r*e/(r*r+A*A),A*e/(r*r+A*A)]];var n=Math.sqrt(t);return[[(r*e+A*n)/(r*r+A*A),(A*e-r*n)/(r*r+A*A)],[(r*e-A*n)/(r*r+A*A),(A*e+r*n)/(r*r+A*A)]]}function ay(r,A,e){return(1-e)*r+e*A}function sy(r,A,e,t){return r+Math.cos(t/180*bs)*A+Math.sin(t/180*bs)*e}function oy(r,A,e,t){var n=1e-6,i=A-r,a=e-A,s=3*i+3*(t-e)-6*a,c=6*(a-i),d=3*i;return Math.abs(s)<n?[-d/c]:function(v,m,C){C===void 0&&(C=1e-6);var p=v*v/4-m;if(p<-C)return[];if(p<=C)return[-v/2];var x=Math.sqrt(p);return[-v/2-x,-v/2+x]}(c/s,d/s,n)}function uy(r,A,e,t,n){var i=1-n;return r*(i*i*i)+A*(3*i*i*n)+e*(3*i*n*n)+t*(n*n*n)}var cy,bs,dr,ka,Oi,fy,aN,ly,sN,kA,oN,gy=ds(()=>{/*! *****************************************************************************
|
|
36
|
+
Copyright (c) Microsoft Corporation.
|
|
37
|
+
|
|
38
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
39
|
+
purpose with or without fee is hereby granted.
|
|
40
|
+
|
|
41
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
42
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
43
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
44
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
45
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
46
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
47
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
48
|
+
***************************************************************************** */cy=function(r,A){return(cy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(r,A)};bs=Math.PI;ka=Math.PI/180;(function(r){function A(){return n(function(s,c,d){return s.relative&&(s.x1!==void 0&&(s.x1+=c),s.y1!==void 0&&(s.y1+=d),s.x2!==void 0&&(s.x2+=c),s.y2!==void 0&&(s.y2+=d),s.x!==void 0&&(s.x+=c),s.y!==void 0&&(s.y+=d),s.relative=!1),s})}function e(){var s=NaN,c=NaN,d=NaN,v=NaN;return n(function(m,C,p){return m.type&kA.SMOOTH_CURVE_TO&&(m.type=kA.CURVE_TO,s=isNaN(s)?C:s,c=isNaN(c)?p:c,m.x1=m.relative?C-s:2*C-s,m.y1=m.relative?p-c:2*p-c),m.type&kA.CURVE_TO?(s=m.relative?C+m.x2:m.x2,c=m.relative?p+m.y2:m.y2):(s=NaN,c=NaN),m.type&kA.SMOOTH_QUAD_TO&&(m.type=kA.QUAD_TO,d=isNaN(d)?C:d,v=isNaN(v)?p:v,m.x1=m.relative?C-d:2*C-d,m.y1=m.relative?p-v:2*p-v),m.type&kA.QUAD_TO?(d=m.relative?C+m.x1:m.x1,v=m.relative?p+m.y1:m.y1):(d=NaN,v=NaN),m})}function t(){var s=NaN,c=NaN;return n(function(d,v,m){if(d.type&kA.SMOOTH_QUAD_TO&&(d.type=kA.QUAD_TO,s=isNaN(s)?v:s,c=isNaN(c)?m:c,d.x1=d.relative?v-s:2*v-s,d.y1=d.relative?m-c:2*m-c),d.type&kA.QUAD_TO){s=d.relative?v+d.x1:d.x1,c=d.relative?m+d.y1:d.y1;var C=d.x1,p=d.y1;d.type=kA.CURVE_TO,d.x1=((d.relative?0:v)+2*C)/3,d.y1=((d.relative?0:m)+2*p)/3,d.x2=(d.x+2*C)/3,d.y2=(d.y+2*p)/3}else s=NaN,c=NaN;return d})}function n(s){var c=0,d=0,v=NaN,m=NaN;return function(C){if(isNaN(v)&&!(C.type&kA.MOVE_TO))throw new Error("path must start with moveto");var p=s(C,c,d,v,m);return C.type&kA.CLOSE_PATH&&(c=v,d=m),C.x!==void 0&&(c=C.relative?c+C.x:C.x),C.y!==void 0&&(d=C.relative?d+C.y:C.y),C.type&kA.MOVE_TO&&(v=c,m=d),p}}function i(s,c,d,v,m,C){return Pi(s,c,d,v,m,C),n(function(p,x,Q,S){var U=p.x1,P=p.x2,q=p.relative&&!isNaN(S),Y=p.x!==void 0?p.x:q?0:x,uA=p.y!==void 0?p.y:q?0:Q;function wA(L){return L*L}p.type&kA.HORIZ_LINE_TO&&c!==0&&(p.type=kA.LINE_TO,p.y=p.relative?0:Q),p.type&kA.VERT_LINE_TO&&d!==0&&(p.type=kA.LINE_TO,p.x=p.relative?0:x),p.x!==void 0&&(p.x=p.x*s+uA*d+(q?0:m)),p.y!==void 0&&(p.y=Y*c+p.y*v+(q?0:C)),p.x1!==void 0&&(p.x1=p.x1*s+p.y1*d+(q?0:m)),p.y1!==void 0&&(p.y1=U*c+p.y1*v+(q?0:C)),p.x2!==void 0&&(p.x2=p.x2*s+p.y2*d+(q?0:m)),p.y2!==void 0&&(p.y2=P*c+p.y2*v+(q?0:C));var J=s*v-c*d;if(p.xRot!==void 0&&(s!==1||c!==0||d!==0||v!==1))if(J===0)delete p.rX,delete p.rY,delete p.xRot,delete p.lArcFlag,delete p.sweepFlag,p.type=kA.LINE_TO;else{var z=p.xRot*Math.PI/180,hA=Math.sin(z),CA=Math.cos(z),_=1/wA(p.rX),M=1/wA(p.rY),$=wA(CA)*_+wA(hA)*M,G=2*hA*CA*(_-M),yA=wA(hA)*_+wA(CA)*M,fA=$*v*v-G*c*v+yA*c*c,UA=G*(s*v+c*d)-2*($*d*v+yA*s*c),AA=$*d*d-G*s*d+yA*s*s,vA=(Math.atan2(UA,fA-AA)+Math.PI)%Math.PI/2,QA=Math.sin(vA),jA=Math.cos(vA);p.rX=Math.abs(J)/Math.sqrt(fA*wA(jA)+UA*QA*jA+AA*wA(QA)),p.rY=Math.abs(J)/Math.sqrt(fA*wA(QA)-UA*QA*jA+AA*wA(jA)),p.xRot=180*vA/Math.PI}return p.sweepFlag!==void 0&&0>J&&(p.sweepFlag=+!p.sweepFlag),p})}function a(){return function(s){var c={};for(var d in s)c[d]=s[d];return c}}r.ROUND=function(s){function c(d){return Math.round(d*s)/s}return s===void 0&&(s=1e13),Pi(s),function(d){return d.x1!==void 0&&(d.x1=c(d.x1)),d.y1!==void 0&&(d.y1=c(d.y1)),d.x2!==void 0&&(d.x2=c(d.x2)),d.y2!==void 0&&(d.y2=c(d.y2)),d.x!==void 0&&(d.x=c(d.x)),d.y!==void 0&&(d.y=c(d.y)),d.rX!==void 0&&(d.rX=c(d.rX)),d.rY!==void 0&&(d.rY=c(d.rY)),d}},r.TO_ABS=A,r.TO_REL=function(){return n(function(s,c,d){return s.relative||(s.x1!==void 0&&(s.x1-=c),s.y1!==void 0&&(s.y1-=d),s.x2!==void 0&&(s.x2-=c),s.y2!==void 0&&(s.y2-=d),s.x!==void 0&&(s.x-=c),s.y!==void 0&&(s.y-=d),s.relative=!0),s})},r.NORMALIZE_HVZ=function(s,c,d){return s===void 0&&(s=!0),c===void 0&&(c=!0),d===void 0&&(d=!0),n(function(v,m,C,p,x){if(isNaN(p)&&!(v.type&kA.MOVE_TO))throw new Error("path must start with moveto");return c&&v.type&kA.HORIZ_LINE_TO&&(v.type=kA.LINE_TO,v.y=v.relative?0:C),d&&v.type&kA.VERT_LINE_TO&&(v.type=kA.LINE_TO,v.x=v.relative?0:m),s&&v.type&kA.CLOSE_PATH&&(v.type=kA.LINE_TO,v.x=v.relative?p-m:p,v.y=v.relative?x-C:x),v.type&kA.ARC&&(v.rX===0||v.rY===0)&&(v.type=kA.LINE_TO,delete v.rX,delete v.rY,delete v.xRot,delete v.lArcFlag,delete v.sweepFlag),v})},r.NORMALIZE_ST=e,r.QT_TO_C=t,r.INFO=n,r.SANITIZE=function(s){s===void 0&&(s=0),Pi(s);var c=NaN,d=NaN,v=NaN,m=NaN;return n(function(C,p,x,Q,S){var U=Math.abs,P=!1,q=0,Y=0;if(C.type&kA.SMOOTH_CURVE_TO&&(q=isNaN(c)?0:p-c,Y=isNaN(d)?0:x-d),C.type&(kA.CURVE_TO|kA.SMOOTH_CURVE_TO)?(c=C.relative?p+C.x2:C.x2,d=C.relative?x+C.y2:C.y2):(c=NaN,d=NaN),C.type&kA.SMOOTH_QUAD_TO?(v=isNaN(v)?p:2*p-v,m=isNaN(m)?x:2*x-m):C.type&kA.QUAD_TO?(v=C.relative?p+C.x1:C.x1,m=C.relative?x+C.y1:C.y2):(v=NaN,m=NaN),C.type&kA.LINE_COMMANDS||C.type&kA.ARC&&(C.rX===0||C.rY===0||!C.lArcFlag)||C.type&kA.CURVE_TO||C.type&kA.SMOOTH_CURVE_TO||C.type&kA.QUAD_TO||C.type&kA.SMOOTH_QUAD_TO){var uA=C.x===void 0?0:C.relative?C.x:C.x-p,wA=C.y===void 0?0:C.relative?C.y:C.y-x;q=isNaN(v)?C.x1===void 0?q:C.relative?C.x:C.x1-p:v-p,Y=isNaN(m)?C.y1===void 0?Y:C.relative?C.y:C.y1-x:m-x;var J=C.x2===void 0?0:C.relative?C.x:C.x2-p,z=C.y2===void 0?0:C.relative?C.y:C.y2-x;U(uA)<=s&&U(wA)<=s&&U(q)<=s&&U(Y)<=s&&U(J)<=s&&U(z)<=s&&(P=!0)}return C.type&kA.CLOSE_PATH&&U(p-Q)<=s&&U(x-S)<=s&&(P=!0),P?[]:C})},r.MATRIX=i,r.ROTATE=function(s,c,d){c===void 0&&(c=0),d===void 0&&(d=0),Pi(s,c,d);var v=Math.sin(s),m=Math.cos(s);return i(m,v,-v,m,c-c*m+d*v,d-c*v-d*m)},r.TRANSLATE=function(s,c){return c===void 0&&(c=0),Pi(s,c),i(1,0,0,1,s,c)},r.SCALE=function(s,c){return c===void 0&&(c=s),Pi(s,c),i(s,0,0,c,0,0)},r.SKEW_X=function(s){return Pi(s),i(1,0,Math.atan(s),1,0,0)},r.SKEW_Y=function(s){return Pi(s),i(1,Math.atan(s),0,1,0,0)},r.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Pi(s),i(-1,0,0,1,s,0)},r.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Pi(s),i(1,0,0,-1,0,s)},r.A_TO_C=function(){return n(function(s,c,d){return kA.ARC===s.type?function(v,m,C){var p,x,Q,S;v.cX||Np(v,m,C);for(var U=Math.min(v.phi1,v.phi2),P=Math.max(v.phi1,v.phi2)-U,q=Math.ceil(P/90),Y=new Array(q),uA=m,wA=C,J=0;J<q;J++){var z=ay(v.phi1,v.phi2,J/q),hA=ay(v.phi1,v.phi2,(J+1)/q),CA=hA-z,_=4/3*Math.tan(CA*ka/4),M=[Math.cos(z*ka)-_*Math.sin(z*ka),Math.sin(z*ka)+_*Math.cos(z*ka)],$=M[0],G=M[1],yA=[Math.cos(hA*ka),Math.sin(hA*ka)],fA=yA[0],UA=yA[1],AA=[fA+_*Math.sin(hA*ka),UA-_*Math.cos(hA*ka)],vA=AA[0],QA=AA[1];Y[J]={relative:v.relative,type:kA.CURVE_TO};var jA=function(L,V){var X=Tp([L*v.rX,V*v.rY],v.xRot),Z=X[0],sA=X[1];return[v.cX+Z,v.cY+sA]};p=jA($,G),Y[J].x1=p[0],Y[J].y1=p[1],x=jA(vA,QA),Y[J].x2=x[0],Y[J].y2=x[1],Q=jA(fA,UA),Y[J].x=Q[0],Y[J].y=Q[1],v.relative&&(Y[J].x1-=uA,Y[J].y1-=wA,Y[J].x2-=uA,Y[J].y2-=wA,Y[J].x-=uA,Y[J].y-=wA),uA=(S=[Y[J].x,Y[J].y])[0],wA=S[1]}return Y}(s,s.relative?0:c,s.relative?0:d):s})},r.ANNOTATE_ARCS=function(){return n(function(s,c,d){return s.relative&&(c=0,d=0),kA.ARC===s.type&&Np(s,c,d),s})},r.CLONE=a,r.CALCULATE_BOUNDS=function(){var s=function(C){var p={};for(var x in C)p[x]=C[x];return p},c=A(),d=t(),v=e(),m=n(function(C,p,x){var Q=v(d(c(s(C))));function S(QA){QA>m.maxX&&(m.maxX=QA),QA<m.minX&&(m.minX=QA)}function U(QA){QA>m.maxY&&(m.maxY=QA),QA<m.minY&&(m.minY=QA)}if(Q.type&kA.DRAWING_COMMANDS&&(S(p),U(x)),Q.type&kA.HORIZ_LINE_TO&&S(Q.x),Q.type&kA.VERT_LINE_TO&&U(Q.y),Q.type&kA.LINE_TO&&(S(Q.x),U(Q.y)),Q.type&kA.CURVE_TO){S(Q.x),U(Q.y);for(var P=0,q=oy(p,Q.x1,Q.x2,Q.x);P<q.length;P++)0<(vA=q[P])&&1>vA&&S(uy(p,Q.x1,Q.x2,Q.x,vA));for(var Y=0,uA=oy(x,Q.y1,Q.y2,Q.y);Y<uA.length;Y++)0<(vA=uA[Y])&&1>vA&&U(uy(x,Q.y1,Q.y2,Q.y,vA))}if(Q.type&kA.ARC){S(Q.x),U(Q.y),Np(Q,p,x);for(var wA=Q.xRot/180*Math.PI,J=Math.cos(wA)*Q.rX,z=Math.sin(wA)*Q.rX,hA=-Math.sin(wA)*Q.rY,CA=Math.cos(wA)*Q.rY,_=Q.phi1<Q.phi2?[Q.phi1,Q.phi2]:-180>Q.phi2?[Q.phi2+360,Q.phi1+360]:[Q.phi2,Q.phi1],M=_[0],$=_[1],G=function(QA){var jA=QA[0],L=QA[1],V=180*Math.atan2(L,jA)/Math.PI;return V<M?V+360:V},yA=0,fA=iy(hA,-J,0).map(G);yA<fA.length;yA++)(vA=fA[yA])>M&&vA<$&&S(sy(Q.cX,J,hA,vA));for(var UA=0,AA=iy(CA,-z,0).map(G);UA<AA.length;UA++){var vA;(vA=AA[UA])>M&&vA<$&&U(sy(Q.cY,z,CA,vA))}}return C});return m.minX=1/0,m.maxX=-1/0,m.minY=1/0,m.maxY=-1/0,m}})(dr||(dr={}));fy=function(){function r(){}return r.prototype.round=function(A){return this.transform(dr.ROUND(A))},r.prototype.toAbs=function(){return this.transform(dr.TO_ABS())},r.prototype.toRel=function(){return this.transform(dr.TO_REL())},r.prototype.normalizeHVZ=function(A,e,t){return this.transform(dr.NORMALIZE_HVZ(A,e,t))},r.prototype.normalizeST=function(){return this.transform(dr.NORMALIZE_ST())},r.prototype.qtToC=function(){return this.transform(dr.QT_TO_C())},r.prototype.aToC=function(){return this.transform(dr.A_TO_C())},r.prototype.sanitize=function(A){return this.transform(dr.SANITIZE(A))},r.prototype.translate=function(A,e){return this.transform(dr.TRANSLATE(A,e))},r.prototype.scale=function(A,e){return this.transform(dr.SCALE(A,e))},r.prototype.rotate=function(A,e,t){return this.transform(dr.ROTATE(A,e,t))},r.prototype.matrix=function(A,e,t,n,i,a){return this.transform(dr.MATRIX(A,e,t,n,i,a))},r.prototype.skewX=function(A){return this.transform(dr.SKEW_X(A))},r.prototype.skewY=function(A){return this.transform(dr.SKEW_Y(A))},r.prototype.xSymmetry=function(A){return this.transform(dr.X_AXIS_SYMMETRY(A))},r.prototype.ySymmetry=function(A){return this.transform(dr.Y_AXIS_SYMMETRY(A))},r.prototype.annotateArcs=function(){return this.transform(dr.ANNOTATE_ARCS())},r}(),aN=function(r){return r===" "||r===" "||r==="\r"||r===`
|
|
49
|
+
`},ly=function(r){return 48<=r.charCodeAt(0)&&r.charCodeAt(0)<=57},sN=function(r){function A(){var e=r.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 hy(A,r),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,t){var n=this;t===void 0&&(t=[]);for(var i=function(m){t.push(m),n.curArgs.length=0,n.canParseCommandOrComma=!0},a=0;a<e.length;a++){var s=e[a],c=!(this.curCommandType!==kA.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),d=ly(s)&&(this.curNumber==="0"&&s==="0"||c);if(!ly(s)||d)if(s!=="e"&&s!=="E")if(s!=="-"&&s!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(s!=="."||this.curNumberHasExp||this.curNumberHasDecimal||c){if(this.curNumber&&this.curCommandType!==-1){var v=Number(this.curNumber);if(isNaN(v))throw new SyntaxError("Invalid number ending at "+a);if(this.curCommandType===kA.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>v)throw new SyntaxError('Expected positive number, got "'+v+'" 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(v),this.curArgs.length===oN[this.curCommandType]&&(kA.HORIZ_LINE_TO===this.curCommandType?i({type:kA.HORIZ_LINE_TO,relative:this.curCommandRelative,x:v}):kA.VERT_LINE_TO===this.curCommandType?i({type:kA.VERT_LINE_TO,relative:this.curCommandRelative,y:v}):this.curCommandType===kA.MOVE_TO||this.curCommandType===kA.LINE_TO||this.curCommandType===kA.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),kA.MOVE_TO===this.curCommandType&&(this.curCommandType=kA.LINE_TO)):this.curCommandType===kA.CURVE_TO?i({type:kA.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===kA.SMOOTH_CURVE_TO?i({type:kA.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===kA.QUAD_TO?i({type:kA.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===kA.ARC&&i({type:kA.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(!aN(s))if(s===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(s!=="+"&&s!=="-"&&s!==".")if(d)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=kA.HORIZ_LINE_TO,this.curCommandRelative=s==="h";else if(s==="v"||s==="V")this.curCommandType=kA.VERT_LINE_TO,this.curCommandRelative=s==="v";else if(s==="m"||s==="M")this.curCommandType=kA.MOVE_TO,this.curCommandRelative=s==="m";else if(s==="l"||s==="L")this.curCommandType=kA.LINE_TO,this.curCommandRelative=s==="l";else if(s==="c"||s==="C")this.curCommandType=kA.CURVE_TO,this.curCommandRelative=s==="c";else if(s==="s"||s==="S")this.curCommandType=kA.SMOOTH_CURVE_TO,this.curCommandRelative=s==="s";else if(s==="q"||s==="Q")this.curCommandType=kA.QUAD_TO,this.curCommandRelative=s==="q";else if(s==="t"||s==="T")this.curCommandType=kA.SMOOTH_QUAD_TO,this.curCommandRelative=s==="t";else{if(s!=="a"&&s!=="A")throw new SyntaxError('Unexpected character "'+s+'" at index '+a+".");this.curCommandType=kA.ARC,this.curCommandRelative=s==="a"}else t.push({type:kA.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal=s==="."}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return t},A.prototype.transform=function(e){return Object.create(this,{parse:{value:function(t,n){n===void 0&&(n=[]);for(var i=0,a=Object.getPrototypeOf(this).parse.call(this,t);i<a.length;i++){var s=a[i],c=e(s);Array.isArray(c)?n.push.apply(n,c):n.push(c)}return n}}})},A}(fy),kA=function(r){function A(e){var t=r.call(this)||this;return t.commands=typeof e=="string"?A.parse(e):e,t}return hy(A,r),A.prototype.encode=function(){return A.encode(this.commands)},A.prototype.getBounds=function(){var e=dr.CALCULATE_BOUNDS();return this.transform(e),e},A.prototype.transform=function(e){for(var t=[],n=0,i=this.commands;n<i.length;n++){var a=e(i[n]);Array.isArray(a)?t.push.apply(t,a):t.push(a)}return this.commands=t,this},A.encode=function(e){return iN(e)},A.parse=function(e){var t=new sN,n=[];return t.parse(e,n),t.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}(fy),oN=((Oi={})[kA.MOVE_TO]=2,Oi[kA.LINE_TO]=2,Oi[kA.HORIZ_LINE_TO]=1,Oi[kA.VERT_LINE_TO]=1,Oi[kA.CLOSE_PATH]=0,Oi[kA.QUAD_TO]=4,Oi[kA.SMOOTH_QUAD_TO]=2,Oi[kA.CURVE_TO]=6,Oi[kA.SMOOTH_CURVE_TO]=4,Oi[kA.ARC]=7,Oi)});var vy=pA((dO,py)=>{"use strict";var uN=Hr(),lN=hi(),cN=Zu(),hN=qd(),dy=RegExp.prototype;py.exports=function(r){var A=r.flags;return A===void 0&&!("flags"in dy)&&!lN(r,"flags")&&cN(dy,r)?uN(hN,r):A}});var yy=pA(()=>{"use strict";var fN=rl().PROPER,gN=ms(),dN=An(),By=Hi(),pN=Yt(),vN=vy(),Hp="toString",wy=RegExp.prototype,my=wy[Hp],BN=pN(function(){return my.call({source:"a",flags:"b"})!=="/a/b"}),wN=fN&&my.name!==Hp;(BN||wN)&&gN(wy,Hp,function(){var A=dN(this),e=By(A.source),t=By(vN(A));return"/"+e+"/"+t},{unsafe:!0})});function yh(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?yh=function(A){return typeof A}:yh=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},yh(r)}function mN(r,A){if(!(r instanceof A))throw new TypeError("Cannot call a class as a function")}function bN(r,A,e,t,n){if(typeof r=="string"&&(r=document.getElementById(r)),!r||yh(r)!=="object"||!("getContext"in r))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var i=r.getContext("2d");try{return i.getImageData(A,e,t,n)}catch(a){throw new Error("unable to access image data: "+a)}}function by(r,A,e,t,n,i){if(!(isNaN(i)||i<1)){i|=0;var a=bN(r,A,e,t,n);a=FN(a,A,e,t,n,i),r.getContext("2d").putImageData(a,A,e)}}function FN(r,A,e,t,n,i){for(var a=r.data,s=2*i+1,c=t-1,d=n-1,v=i+1,m=v*(v+1)/2,C=new Cy,p=C,x,Q=1;Q<s;Q++)p=p.next=new Cy,Q===v&&(x=p);p.next=C;for(var S=null,U=null,P=0,q=0,Y=yN[i],uA=CN[i],wA=0;wA<n;wA++){p=C;for(var J=a[q],z=a[q+1],hA=a[q+2],CA=a[q+3],_=0;_<v;_++)p.r=J,p.g=z,p.b=hA,p.a=CA,p=p.next;for(var M=0,$=0,G=0,yA=0,fA=v*J,UA=v*z,AA=v*hA,vA=v*CA,QA=m*J,jA=m*z,L=m*hA,V=m*CA,X=1;X<v;X++){var Z=q+((c<X?c:X)<<2),sA=a[Z],mA=a[Z+1],FA=a[Z+2],bA=a[Z+3],VA=v-X;QA+=(p.r=sA)*VA,jA+=(p.g=mA)*VA,L+=(p.b=FA)*VA,V+=(p.a=bA)*VA,M+=sA,$+=mA,G+=FA,yA+=bA,p=p.next}S=C,U=x;for(var MA=0;MA<t;MA++){var Ae=V*Y>>>uA;if(a[q+3]=Ae,Ae!==0){var $A=255/Ae;a[q]=(QA*Y>>>uA)*$A,a[q+1]=(jA*Y>>>uA)*$A,a[q+2]=(L*Y>>>uA)*$A}else a[q]=a[q+1]=a[q+2]=0;QA-=fA,jA-=UA,L-=AA,V-=vA,fA-=S.r,UA-=S.g,AA-=S.b,vA-=S.a;var pe=MA+i+1;pe=P+(pe<c?pe:c)<<2,M+=S.r=a[pe],$+=S.g=a[pe+1],G+=S.b=a[pe+2],yA+=S.a=a[pe+3],QA+=M,jA+=$,L+=G,V+=yA,S=S.next;var EA=U,W=EA.r,Ce=EA.g,ce=EA.b,KA=EA.a;fA+=W,UA+=Ce,AA+=ce,vA+=KA,M-=W,$-=Ce,G-=ce,yA-=KA,U=U.next,q+=4}P+=t}for(var zA=0;zA<t;zA++){q=zA<<2;var XA=a[q],WA=a[q+1],oe=a[q+2],he=a[q+3],Ie=v*XA,LA=v*WA,OA=v*oe,JA=v*he,GA=m*XA,ue=m*WA,_A=m*oe,De=m*he;p=C;for(var be=0;be<v;be++)p.r=XA,p.g=WA,p.b=oe,p.a=he,p=p.next;for(var gt=t,Ge=0,We=0,xr=0,Me=0,Vt=1;Vt<=i;Vt++){q=gt+zA<<2;var Je=v-Vt;GA+=(p.r=XA=a[q])*Je,ue+=(p.g=WA=a[q+1])*Je,_A+=(p.b=oe=a[q+2])*Je,De+=(p.a=he=a[q+3])*Je,Me+=XA,Ge+=WA,We+=oe,xr+=he,p=p.next,Vt<d&&(gt+=t)}q=zA,S=C,U=x;for(var Ar=0;Ar<n;Ar++){var ut=q<<2;a[ut+3]=he=De*Y>>>uA,he>0?(he=255/he,a[ut]=(GA*Y>>>uA)*he,a[ut+1]=(ue*Y>>>uA)*he,a[ut+2]=(_A*Y>>>uA)*he):a[ut]=a[ut+1]=a[ut+2]=0,GA-=Ie,ue-=LA,_A-=OA,De-=JA,Ie-=S.r,LA-=S.g,OA-=S.b,JA-=S.a,ut=zA+((ut=Ar+v)<d?ut:d)*t<<2,GA+=Me+=S.r=a[ut],ue+=Ge+=S.g=a[ut+1],_A+=We+=S.b=a[ut+2],De+=xr+=S.a=a[ut+3],S=S.next,Ie+=XA=U.r,LA+=WA=U.g,OA+=oe=U.b,JA+=he=U.a,Me-=XA,Ge-=WA,We-=oe,xr-=he,U=U.next,q+=t}}return r}var yN,CN,Cy,Fy=ds(()=>{yN=[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],CN=[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];Cy=function r(){mN(this,r),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}});var Py={};Hb(Py,{AElement:()=>Zh,AnimateColorElement:()=>Gh,AnimateElement:()=>fu,AnimateTransformElement:()=>zh,BoundingBox:()=>Pn,CB1:()=>_p,CB2:()=>Dp,CB3:()=>Mp,CB4:()=>Rp,Canvg:()=>Gp,CircleElement:()=>Ph,ClipPathElement:()=>nf,DefsElement:()=>Kh,DescElement:()=>cf,Document:()=>io,Element:()=>Lt,EllipseElement:()=>_h,FeColorMatrixElement:()=>Nl,FeCompositeElement:()=>of,FeDropShadowElement:()=>af,FeGaussianBlurElement:()=>uf,FeMorphologyElement:()=>sf,FilterElement:()=>Hl,Font:()=>fi,FontElement:()=>Wh,FontFaceElement:()=>Xh,GElement:()=>hu,GlyphElement:()=>Ul,GradientElement:()=>Sl,ImageElement:()=>Af,LineElement:()=>Dh,LinearGradientElement:()=>qh,MarkerElement:()=>kh,MaskElement:()=>Tl,Matrix:()=>Fl,MissingGlyphElement:()=>Yh,Mouse:()=>Ih,PSEUDO_ZERO:()=>to,Parser:()=>cu,PathElement:()=>sr,PathParser:()=>Pe,PatternElement:()=>Rh,Point:()=>vr,PolygonElement:()=>Mh,PolylineElement:()=>Il,Property:()=>ye,QB1:()=>kp,QB2:()=>Kp,QB3:()=>qp,RadialGradientElement:()=>Vh,RectElement:()=>El,RenderedElement:()=>ua,Rotate:()=>Lh,SVGElement:()=>Qs,SVGFontLoader:()=>tf,Scale:()=>Nh,Screen:()=>ro,Skew:()=>Ql,SkewX:()=>Th,SkewY:()=>Hh,StopElement:()=>jh,StyleElement:()=>Ll,SymbolElement:()=>ef,TRefElement:()=>Jh,TSpanElement:()=>xl,TextElement:()=>Fs,TextPathElement:()=>$h,TitleElement:()=>lf,Transform:()=>no,Translate:()=>Sh,UnknownElement:()=>Oh,UseElement:()=>rf,ViewPort:()=>Eh,compressSpaces:()=>ao,default:()=>Gp,getSelectorSpecificity:()=>Ty,normalizeAttributeName:()=>Ly,normalizeColor:()=>Ny,parseExternalUrl:()=>zp,presets:()=>xN,toNumbers:()=>On,trimLeft:()=>Iy,trimRight:()=>Sy,vectorMagnitude:()=>Op,vectorsAngle:()=>Pp,vectorsRatio:()=>xh});function QN(){var{DOMParser:r}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:r,createCanvas(e,t){return new OffscreenCanvas(e,t)},createImage(e){return oa(function*(){var t=yield fetch(e),n=yield t.blob(),i=yield createImageBitmap(n);return i})()}};return(typeof DOMParser<"u"||typeof r>"u")&&Reflect.deleteProperty(A,"DOMParser"),A}function UN(r){var{DOMParser:A,canvas:e,fetch:t}=r;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:A,fetch:t,createCanvas:e.createCanvas,createImage:e.loadImage}}function ao(r){return r.replace(/(?!\u3000)\s+/gm," ")}function Iy(r){return r.replace(/^[\n \t]+/,"")}function Sy(r){return r.replace(/[\n \t]+$/,"")}function On(r){var A=(r||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return A.map(parseFloat)}function Ly(r){return EN.test(r)?r.toLowerCase():r}function zp(r){var A=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(r)||[];return A[2]||A[3]||A[4]}function Ny(r){if(!r.startsWith("rgb"))return r;var A=3,e=r.replace(/\d+(\.\d+)?/g,(t,n)=>A--&&n?String(Math.round(parseFloat(t))):t);return e}function Ao(r,A){var e=A.exec(r);return e?[r.replace(A," "),e.length]:[r,0]}function Ty(r){var A=[0,0,0],e=r.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),t=0;return[e,t]=Ao(e,IN),A[1]+=t,[e,t]=Ao(e,SN),A[0]+=t,[e,t]=Ao(e,LN),A[1]+=t,[e,t]=Ao(e,NN),A[2]+=t,[e,t]=Ao(e,TN),A[1]+=t,[e,t]=Ao(e,HN),A[1]+=t,e=e.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[e,t]=Ao(e,ON),A[2]+=t,A.join("")}function Op(r){return Math.sqrt(Math.pow(r[0],2)+Math.pow(r[1],2))}function xh(r,A){return(r[0]*A[0]+r[1]*A[1])/(Op(r)*Op(A))}function Pp(r,A){return(r[0]*A[1]<r[1]*A[0]?-1:1)*Math.acos(xh(r,A))}function _p(r){return r*r*r}function Dp(r){return 3*r*r*(1-r)}function Mp(r){return 3*r*(1-r)*(1-r)}function Rp(r){return(1-r)*(1-r)*(1-r)}function kp(r){return r*r}function Kp(r){return 2*r*(1-r)}function qp(r){return(1-r)*(1-r)}function DN(r){return ao(r).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function MN(r){var[A,e]=r.split("(");return[A.trim(),e.trim().replace(")","")]}function RN(r){var A=r.trim();return/^('|")/.test(A)?A:'"'.concat(A,'"')}function kN(r){return typeof process>"u"?r:r.trim().split(",").map(RN).join(",")}function KN(r){if(!r)return"";var A=r.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 qN(r){if(!r)return"";var A=r.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:""}}function Qy(r,A){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);A&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),e.push.apply(e,t)}return e}function Ch(r){for(var A=1;A<arguments.length;A++){var e=arguments[A]!=null?arguments[A]:{};A%2?Qy(Object(e),!0).forEach(function(t){vh(r,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):Qy(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})}return r}function bh(r,A,e,t,n,i){return r[e*t*4+A*4+i]}function Fh(r,A,e,t,n,i,a){r[e*t*4+A*4+i]=a}function pr(r,A,e){var t=r[A];return t*e}function Ka(r,A,e,t){return A+Math.cos(r)*e+Math.sin(r)*t}function xy(r,A){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);A&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),e.push.apply(e,t)}return e}function GN(r){for(var A=1;A<arguments.length;A++){var e=arguments[A]!=null?arguments[A]:{};A%2?xy(Object(e),!0).forEach(function(t){vh(r,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):xy(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})}return r}function zN(r,A){var e=document.createElement("canvas");return e.width=r,e.height=A,e}function WN(r){return jp.apply(this,arguments)}function jp(){return jp=oa(function*(r){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=document.createElement("img");return A&&(e.crossOrigin="Anonymous"),new Promise((t,n)=>{e.onload=()=>{t(e)},e.onerror=(i,a,s,c,d)=>{n(d)},e.src=r})}),jp.apply(this,arguments)}function Ey(r,A){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);A&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),e.push.apply(e,t)}return e}function eo(r){for(var A=1;A<arguments.length;A++){var e=arguments[A]!=null?arguments[A]:{};A%2?Ey(Object(e),!0).forEach(function(t){vh(r,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):Ey(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})}return r}var wO,yO,CO,bO,FO,QO,xO,EO,IO,Qh,SO,Uh,LO,NO,TO,OO,xN,EN,IN,SN,LN,NN,TN,HN,ON,to,ye,Eh,vr,Ih,Hy,Oy,ro,PN,_N,cu,Sh,Lh,Nh,Fl,Ql,Th,Hh,no,Lt,Oh,fi,Pn,Pe,ua,sr,Ul,Fs,xl,Vp,Qs,El,Ph,_h,Dh,Il,Mh,Rh,kh,Kh,hu,Sl,qh,Vh,jh,fu,Gh,zh,Wh,Xh,Yh,Jh,Zh,$h,VN,Af,ef,tf,Ll,rf,Nl,Tl,Uy,nf,Hl,af,sf,of,uf,lf,cf,jN,io,Gp,_y=ds(()=>{wO=Tr(Sw(),1);Nw();yO=Tr(g5(),1),CO=Tr(C5(),1),bO=Tr(I5(),1),FO=Tr(wp(),1),QO=Tr(gm(),1);wm();xO=Tr(xm(),1),EO=Tr(Sm(),1),IO=Tr(Om(),1),Qh=Tr(Mm(),1),SO=Tr(Wm(),1),Uh=Tr(Ym(),1),LO=Tr(Zm(),1),NO=Tr(Ay(),1),TO=Tr(ny(),1);gy();OO=Tr(yy(),1);Fy();xN=Object.freeze({__proto__:null,offscreen:QN,node:UN});EN=/^[A-Z-]+$/;IN=/(\[[^\]]+\])/g,SN=/(#[^\s+>~.[:]+)/g,LN=/(\.[^\s+>~.[:]+)/g,NN=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,TN=/(:[\w-]+\([^)]*\))/gi,HN=/(:[^\s+>~.[:]+)/g,ON=/([^\s+>~.[:]+)/g;to=1e-8;ye=class r{constructor(A,e,t){this.document=A,this.name=e,this.value=t,this.isNormalizedColor=!1}static empty(A){return new r(A,"EMPTY","")}split(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",{document:e,name:t}=this;return ao(this.getString()).trim().split(A).map(n=>new r(e,t,n))}hasValue(A){var{value:e}=this;return e!==null&&e!==""&&(A||e!==0)&&typeof e<"u"}isString(A){var{value:e}=this,t=typeof e=="string";return!t||!A?t: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,t=parseFloat(e);return this.isString(/%$/)&&(t/=100),t}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=Ny(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[t,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(t);default:{var a=this.getNumber();return e&&a<1?a*i.computeSize(t):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 t=this.getDefinition();if(!t)return null;if(typeof t.createGradient=="function")return t.createGradient(this.document.ctx,A,e);if(typeof t.createPattern=="function"){if(t.getHrefAttribute().hasValue()){var n=t.getAttribute("patternTransform");t=t.getHrefAttribute().getDefinition(),n.hasValue()&&t.getAttribute("patternTransform",!0).setValue(n.value)}return t.createPattern(this.document.ctx,A,e)}return null}getTextBaseline(){return this.hasValue()?r.textBaselineMapping[this.getString()]:null}addOpacity(A){for(var e=this.getColor(),t=e.length,n=0,i=0;i<t&&(e[i]===","&&n++,n!==3);i++);if(A.hasValue()&&this.isString()&&n!==3){var a=new Uh.default(e);a.ok&&(a.alpha=A.getNumber(),e=a.toRGBA())}return new r(this.document,this.name,e)}};ye.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"};Eh=class{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)}},vr=class r{constructor(A,e){this.x=A,this.y=e}static parse(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,[t=e,n=e]=On(A);return new r(t,n)}static parseScale(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[t=e,n=t]=On(A);return new r(t,n)}static parsePath(A){for(var e=On(A),t=e.length,n=[],i=0;i<t;i+=2)n.push(new r(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:t}=this,n=e*A[0]+t*A[2]+A[4],i=e*A[1]+t*A[3]+A[5];this.x=n,this.y=i}},Ih=class{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:t}=this,n=A.ctx.canvas;n.onclick=e,n.onmousemove=t,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:t}=this,{style:n}=A.ctx.canvas;n&&(n.cursor=""),e.forEach((i,a)=>{for(var{run:s}=i,c=t[a];c;)s(c),c=c.parent}),this.events=[],this.eventElements=[]}}checkPath(A,e){if(!(!this.working||!e)){var{events:t,eventElements:n}=this;t.forEach((i,a)=>{var{x:s,y:c}=i;!n[a]&&e.isPointInPath&&e.isPointInPath(s,c)&&(n[a]=A)})}}checkBoundingBox(A,e){if(!(!this.working||!e)){var{events:t,eventElements:n}=this;t.forEach((i,a)=>{var{x:s,y:c}=i;!n[a]&&e.isPointInBox(s,c)&&(n[a]=A)})}}mapXY(A,e){for(var{window:t,ctx:n}=this.screen,i=new vr(A,e),a=n.canvas;a;)i.x-=a.offsetLeft,i.y-=a.offsetTop,a=a.offsetParent;return t.scrollX&&(i.x+=t.scrollX),t.scrollY&&(i.y+=t.scrollY),i}onClick(A){var{x:e,y:t}=this.mapXY(A.clientX,A.clientY);this.events.push({type:"onclick",x:e,y:t,run(n){n.onClick&&n.onClick()}})}onMouseMove(A){var{x:e,y:t}=this.mapXY(A.clientX,A.clientY);this.events.push({type:"onmousemove",x:e,y:t,run(n){n.onMouseMove&&n.onMouseMove()}})}},Hy=typeof window<"u"?window:null,Oy=typeof fetch<"u"?fetch.bind(void 0):null,ro=class{constructor(A){var{fetch:e=Oy,window:t=Hy}=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 Eh,this.mouse=new Ih(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=t,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:t,aspectRatio:n,width:i,desiredWidth:a,height:s,desiredHeight:c,minX:d=0,minY:v=0,refX:m,refY:C,clip:p=!1,clipX:x=0,clipY:Q=0}=A,S=ao(n).replace(/^defer\s/,""),[U,P]=S.split(" "),q=U||"xMidYMid",Y=P||"meet",uA=i/a,wA=s/c,J=Math.min(uA,wA),z=Math.max(uA,wA),hA=a,CA=c;Y==="meet"&&(hA*=J,CA*=J),Y==="slice"&&(hA*=z,CA*=z);var _=new ye(e,"refX",m),M=new ye(e,"refY",C),$=_.hasValue()&&M.hasValue();if($&&t.translate(-J*_.getPixels("x"),-J*M.getPixels("y")),p){var G=J*x,yA=J*Q;t.beginPath(),t.moveTo(G,yA),t.lineTo(i,yA),t.lineTo(i,s),t.lineTo(G,s),t.closePath(),t.clip()}if(!$){var fA=Y==="meet"&&J===wA,UA=Y==="slice"&&z===wA,AA=Y==="meet"&&J===uA,vA=Y==="slice"&&z===uA;q.startsWith("xMid")&&(fA||UA)&&t.translate(i/2-hA/2,0),q.endsWith("YMid")&&(AA||vA)&&t.translate(0,s/2-CA/2),q.startsWith("xMax")&&(fA||UA)&&t.translate(i-hA,0),q.endsWith("YMax")&&(AA||vA)&&t.translate(0,s-CA)}switch(!0){case q==="none":t.scale(uA,wA);break;case Y==="meet":t.scale(J,J);break;case Y==="slice":t.scale(z,z);break}t.translate(-d,-v)}start(A){var{enableRedraw:e=!1,ignoreMouse:t=!1,ignoreAnimation:n=!1,ignoreDimensions:i=!1,ignoreClear:a=!1,forceRedraw:s,scaleWidth:c,scaleHeight:d,offsetX:v,offsetY:m}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:C,mouse:p}=this,x=1e3/C;if(this.frameDuration=x,this.readyPromise=new Promise(q=>{this.resolveReady=q}),this.isReady()&&this.render(A,i,a,c,d,v,m),!!e){var Q=Date.now(),S=Q,U=0,P=()=>{Q=Date.now(),U=Q-S,U>=x&&(S=Q-U%x,this.shouldUpdate(n,s)&&(this.render(A,i,a,c,d,v,m),p.runEvents())),this.intervalId=(0,Qh.default)(P)};t||p.start(),this.intervalId=(0,Qh.default)(P)}}stop(){this.intervalId&&(Qh.default.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(A,e){if(!A){var{frameDuration:t}=this,n=this.animations.reduce((i,a)=>a.update(t)||i,!1);if(n)return!0}return!!(typeof e=="function"&&e()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(A,e,t,n,i,a,s){var{CLIENT_WIDTH:c,CLIENT_HEIGHT:d,viewPort:v,ctx:m,isFirstRender:C}=this,p=m.canvas;v.clear(),p.width&&p.height?v.setCurrent(p.width,p.height):v.setCurrent(c,d);var x=A.getStyle("width"),Q=A.getStyle("height");!e&&(C||typeof n!="number"&&typeof i!="number")&&(x.hasValue()&&(p.width=x.getPixels("x"),p.style&&(p.style.width="".concat(p.width,"px"))),Q.hasValue()&&(p.height=Q.getPixels("y"),p.style&&(p.style.height="".concat(p.height,"px"))));var S=p.clientWidth||p.width,U=p.clientHeight||p.height;if(e&&x.hasValue()&&Q.hasValue()&&(S=x.getPixels("x"),U=Q.getPixels("y")),v.setCurrent(S,U),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 P=On(A.getAttribute("viewBox").getString()),q=0,Y=0;if(typeof n=="number"){var uA=A.getStyle("width");uA.hasValue()?q=uA.getPixels("x")/n:isNaN(P[2])||(q=P[2]/n)}if(typeof i=="number"){var wA=A.getStyle("height");wA.hasValue()?Y=wA.getPixels("y")/i:isNaN(P[3])||(Y=P[3]/i)}q||(q=Y),Y||(Y=q),A.getAttribute("width",!0).setValue(n),A.getAttribute("height",!0).setValue(i);var J=A.getStyle("transform",!0,!0);J.setValue("".concat(J.getString()," scale(").concat(1/q,", ").concat(1/Y,")"))}t||m.clearRect(0,0,S,U),A.render(m),C&&(this.isFirstRender=!1)}};ro.defaultWindow=Hy;ro.defaultFetch=Oy;({defaultFetch:PN}=ro),_N=typeof DOMParser<"u"?DOMParser:null,cu=class{constructor(){var{fetch:A=PN,DOMParser:e=_N}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=A,this.DOMParser=e}parse(A){var e=this;return oa(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 oa(function*(){var t=yield e.fetch(A),n=yield t.text();return e.parseFromString(n)})()}},Sh=class{constructor(A,e){this.type="translate",this.point=null,this.point=vr.parse(e)}apply(A){var{x:e,y:t}=this.point;A.translate(e||0,t||0)}unapply(A){var{x:e,y:t}=this.point;A.translate(-1*e||0,-1*t||0)}applyToPoint(A){var{x:e,y:t}=this.point;A.applyTransform([1,0,0,1,e||0,t||0])}},Lh=class{constructor(A,e,t){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var n=On(e);this.angle=new ye(A,"angle",n[0]),this.originX=t[0],this.originY=t[1],this.cx=n[1]||0,this.cy=n[2]||0}apply(A){var{cx:e,cy:t,originX:n,originY:i,angle:a}=this,s=e+n.getPixels("x"),c=t+i.getPixels("y");A.translate(s,c),A.rotate(a.getRadians()),A.translate(-s,-c)}unapply(A){var{cx:e,cy:t,originX:n,originY:i,angle:a}=this,s=e+n.getPixels("x"),c=t+i.getPixels("y");A.translate(s,c),A.rotate(-1*a.getRadians()),A.translate(-s,-c)}applyToPoint(A){var{cx:e,cy:t,angle:n}=this,i=n.getRadians();A.applyTransform([1,0,0,1,e||0,t||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,-t||0])}},Nh=class{constructor(A,e,t){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var n=vr.parseScale(e);(n.x===0||n.y===0)&&(n.x=to,n.y=to),this.scale=n,this.originX=t[0],this.originY=t[1]}apply(A){var{scale:{x:e,y:t},originX:n,originY:i}=this,a=n.getPixels("x"),s=i.getPixels("y");A.translate(a,s),A.scale(e,t||e),A.translate(-a,-s)}unapply(A){var{scale:{x:e,y:t},originX:n,originY:i}=this,a=n.getPixels("x"),s=i.getPixels("y");A.translate(a,s),A.scale(1/e,1/t||e),A.translate(-a,-s)}applyToPoint(A){var{x:e,y:t}=this.scale;A.applyTransform([e||0,0,0,t||0,0,0])}},Fl=class{constructor(A,e,t){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=On(e),this.originX=t[0],this.originY=t[1]}apply(A){var{originX:e,originY:t,matrix:n}=this,i=e.getPixels("x"),a=t.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:t,matrix:n}=this,i=n[0],a=n[2],s=n[4],c=n[1],d=n[3],v=n[5],m=0,C=0,p=1,x=1/(i*(d*p-v*C)-a*(c*p-v*m)+s*(c*C-d*m)),Q=e.getPixels("x"),S=t.getPixels("y");A.translate(Q,S),A.transform(x*(d*p-v*C),x*(v*m-c*p),x*(s*C-a*p),x*(i*p-s*m),x*(a*v-s*d),x*(s*c-i*v)),A.translate(-Q,-S)}applyToPoint(A){A.applyTransform(this.matrix)}},Ql=class extends Fl{constructor(A,e,t){super(A,e,t),this.type="skew",this.angle=null,this.angle=new ye(A,"angle",e)}},Th=class extends Ql{constructor(A,e,t){super(A,e,t),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}},Hh=class extends Ql{constructor(A,e,t){super(A,e,t),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}};no=class r{constructor(A,e,t){this.document=A,this.transforms=[];var n=DN(e);n.forEach(i=>{if(i!=="none"){var[a,s]=MN(i),c=r.transformTypes[a];typeof c<"u"&&this.transforms.push(new c(this.document,s,t))}})}static fromElement(A,e){var t=e.getStyle("transform",!1,!0),[n,i=n]=e.getStyle("transform-origin",!1,!0).split(),a=[n,i];return t.hasValue()?new r(A,t.getString(),a):null}apply(A){for(var{transforms:e}=this,t=e.length,n=0;n<t;n++)e[n].apply(A)}unapply(A){for(var{transforms:e}=this,t=e.length,n=t-1;n>=0;n--)e[n].unapply(A)}applyToPoint(A){for(var{transforms:e}=this,t=e.length,n=0;n<t;n++)e[n].applyToPoint(A)}};no.transformTypes={translate:Sh,rotate:Lh,scale:Nh,matrix:Fl,skewX:Th,skewY:Hh};Lt=class r{constructor(A,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=A,this.node=e,this.captureTextNodes=t,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 c=Ly(s.nodeName);this.attributes[c]=new ye(A,c,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[c,d]=s.split(":").map(v=>v.trim());this.styles[c]=new ye(A,c,d)}})}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(t&&(s.nodeType===3||s.nodeType===4)){var c=A.createTextNode(s);c.getText().length>0&&this.addChild(c)}})}}getAttribute(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=this.attributes[A];if(!t&&e){var n=new ye(this.document,A,"");return this.attributes[A]=n,n}return t||ye.empty(this.document)}getHrefAttribute(){for(var A in this.attributes)if(A==="href"||A.endsWith(":href"))return this.attributes[A];return ye.empty(this.document)}getStyle(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=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(!t){var{parent:a}=this;if(a){var s=a.getStyle(A);if(s!=null&&s.hasValue())return s}}if(e){var c=new ye(this.document,A,"");return this.styles[A]=c,c}return n||ye.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 t=this.getStyle("filter").getDefinition();t&&(this.applyEffects(A),t.apply(A,this))}else this.setContext(A),this.renderChildren(A),this.clearContext(A);A.restore()}}setContext(A){}applyEffects(A){var e=no.fromElement(this.document,this);e&&e.apply(A);var t=this.getStyle("clip-path",!1,!0);if(t.hasValue()){var n=t.getDefinition();n&&n.apply(A)}}clearContext(A){}renderChildren(A){this.children.forEach(e=>{e.render(A)})}addChild(A){var e=A instanceof r?A:this.document.createElement(A);e.parent=this,r.ignoreChildTypes.includes(e.type)||this.children.push(e)}matchesSelector(A){var e,{node:t}=this;if(typeof t.matches=="function")return t.matches(A);var n=(e=t.getAttribute)===null||e===void 0?void 0:e.call(t,"class");return!n||n===""?!1:n.split(" ").some(i=>".".concat(i)===A)}addStylesFromStyleDefinition(){var{styles:A,stylesSpecificity:e}=this.document;for(var t in A)if(!t.startsWith("@")&&this.matchesSelector(t)){var n=A[t],i=e[t];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 t=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 t}restoreStyles(A,e){e.forEach(t=>{var[n,i]=t;A.getStyle(n,!0).setValue(i)})}isFirstChild(){var A;return((A=this.parent)===null||A===void 0?void 0:A.children.indexOf(this))===0}};Lt.ignoreChildTypes=["title"];Oh=class extends Lt{constructor(A,e,t){super(A,e,t)}};fi=class r{constructor(A,e,t,n,i,a){var s=a?typeof a=="string"?r.parse(a):a:{};this.fontFamily=i||s.fontFamily,this.fontSize=n||s.fontSize,this.fontStyle=A||s.fontStyle,this.fontWeight=t||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,t="",n="",i="",a="",s="",c=ao(A).trim().split(" "),d={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return c.forEach(v=>{switch(!0){case(!d.fontStyle&&r.styles.includes(v)):v!=="inherit"&&(t=v),d.fontStyle=!0;break;case(!d.fontVariant&&r.variants.includes(v)):v!=="inherit"&&(n=v),d.fontStyle=!0,d.fontVariant=!0;break;case(!d.fontWeight&&r.weights.includes(v)):v!=="inherit"&&(i=v),d.fontStyle=!0,d.fontVariant=!0,d.fontWeight=!0;break;case!d.fontSize:v!=="inherit"&&([a]=v.split("/")),d.fontStyle=!0,d.fontVariant=!0,d.fontWeight=!0,d.fontSize=!0;break;default:v!=="inherit"&&(s+=v)}}),new r(t,n,i,a,s,e)}toString(){return[KN(this.fontStyle),this.fontVariant,qN(this.fontWeight),this.fontSize,kN(this.fontFamily)].join(" ").trim()}};fi.styles="normal|italic|oblique|inherit";fi.variants="normal|small-caps|inherit";fi.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";Pn=class{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,t=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=t,this.y2=n,this.addPoint(A,e),this.addPoint(t,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:t,x2:n,y2:i}=A;this.addPoint(e,t),this.addPoint(n,i)}}sumCubic(A,e,t,n,i){return Math.pow(1-A,3)*e+3*Math.pow(1-A,2)*A*t+3*(1-A)*Math.pow(A,2)*n+Math.pow(A,3)*i}bezierCurveAdd(A,e,t,n,i){var a=6*e-12*t+6*n,s=-3*e+9*t-9*n+3*i,c=3*t-3*e;if(s===0){if(a===0)return;var d=-c/a;0<d&&d<1&&(A?this.addX(this.sumCubic(d,e,t,n,i)):this.addY(this.sumCubic(d,e,t,n,i)));return}var v=Math.pow(a,2)-4*c*s;if(!(v<0)){var m=(-a+Math.sqrt(v))/(2*s);0<m&&m<1&&(A?this.addX(this.sumCubic(m,e,t,n,i)):this.addY(this.sumCubic(m,e,t,n,i)));var C=(-a-Math.sqrt(v))/(2*s);0<C&&C<1&&(A?this.addX(this.sumCubic(C,e,t,n,i)):this.addY(this.sumCubic(C,e,t,n,i)))}}addBezierCurve(A,e,t,n,i,a,s,c){this.addPoint(A,e),this.addPoint(s,c),this.bezierCurveAdd(!0,A,t,i,s),this.bezierCurveAdd(!1,e,n,a,c)}addQuadraticCurve(A,e,t,n,i,a){var s=A+.6666666666666666*(t-A),c=e+2/3*(n-e),d=s+1/3*(i-A),v=c+1/3*(a-e);this.addBezierCurve(A,e,s,d,c,v,i,a)}isPointInBox(A,e){var{x1:t,y1:n,x2:i,y2:a}=this;return t<=A&&A<=i&&n<=e&&e<=a}},Pe=class extends kA{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 vr(0,0),this.control=new vr(0,0),this.current=new vr(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",t=new vr(this.command[A],this.command[e]);return this.makeAbsolute(t)}getAsControlPoint(A,e){var t=this.getPoint(A,e);return this.control=t,t}getAsCurrentPoint(A,e){var t=this.getPoint(A,e);return this.current=t,t}getReflectedControlPoint(){var A=this.previousCommand.type;if(A!==kA.CURVE_TO&&A!==kA.SMOOTH_CURVE_TO&&A!==kA.QUAD_TO&&A!==kA.SMOOTH_QUAD_TO)return this.current;var{current:{x:e,y:t},control:{x:n,y:i}}=this,a=new vr(2*e-n,2*t-i);return a}makeAbsolute(A){if(this.command.relative){var{x:e,y:t}=this.current;A.x+=e,A.y+=t}return A}addMarker(A,e,t){var{points:n,angles:i}=this;t&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=n[n.length-1].angleTo(t)),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,t=0;t<e;t++)if(!A[t]){for(var n=t+1;n<e;n++)if(A[n]){A[t]=A[n];break}}return A}},ua=class extends Lt{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var A=1,e=this;e;){var t=e.getStyle("opacity",!1,!0);t.hasValue(!0)&&(A*=t.getNumber()),e=e.parent}return A}setContext(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!e){var t=this.getStyle("fill"),n=this.getStyle("fill-opacity"),i=this.getStyle("stroke"),a=this.getStyle("stroke-opacity");if(t.isUrlDefinition()){var s=t.getFillStyleDefinition(this,n);s&&(A.fillStyle=s)}else if(t.hasValue()){t.getString()==="currentColor"&&t.setValue(this.getStyle("color").getColor());var c=t.getColor();c!=="inherit"&&(A.fillStyle=c==="none"?"rgba(0,0,0,0)":c)}if(n.hasValue()){var d=new ye(this.document,"fill",A.fillStyle).addOpacity(n).getColor();A.fillStyle=d}if(i.isUrlDefinition()){var v=i.getFillStyleDefinition(this,a);v&&(A.strokeStyle=v)}else if(i.hasValue()){i.getString()==="currentColor"&&i.setValue(this.getStyle("color").getColor());var m=i.getString();m!=="inherit"&&(A.strokeStyle=m==="none"?"rgba(0,0,0,0)":m)}if(a.hasValue()){var C=new ye(this.document,"stroke",A.strokeStyle).addOpacity(a).getString();A.strokeStyle=C}var p=this.getStyle("stroke-width");if(p.hasValue()){var x=p.getPixels();A.lineWidth=x||to}var Q=this.getStyle("stroke-linecap"),S=this.getStyle("stroke-linejoin"),U=this.getStyle("stroke-miterlimit"),P=this.getStyle("stroke-dasharray"),q=this.getStyle("stroke-dashoffset");if(Q.hasValue()&&(A.lineCap=Q.getString()),S.hasValue()&&(A.lineJoin=S.getString()),U.hasValue()&&(A.miterLimit=U.getNumber()),P.hasValue()&&P.getString()!=="none"){var Y=On(P.getString());typeof A.setLineDash<"u"?A.setLineDash(Y):typeof A.webkitLineDash<"u"?A.webkitLineDash=Y:typeof A.mozDash<"u"&&!(Y.length===1&&Y[0]===0)&&(A.mozDash=Y);var uA=q.getPixels();typeof A.lineDashOffset<"u"?A.lineDashOffset=uA:typeof A.webkitLineDashOffset<"u"?A.webkitLineDashOffset=uA:typeof A.mozDashOffset<"u"&&(A.mozDashOffset=uA)}}if(this.modifiedEmSizeStack=!1,typeof A.font<"u"){var wA=this.getStyle("font"),J=this.getStyle("font-style"),z=this.getStyle("font-variant"),hA=this.getStyle("font-weight"),CA=this.getStyle("font-size"),_=this.getStyle("font-family"),M=new fi(J.getString(),z.getString(),hA.getString(),CA.hasValue()?"".concat(CA.getPixels(!0),"px"):"",_.getString(),fi.parse(wA.getString(),A.font));J.setValue(M.fontStyle),z.setValue(M.fontVariant),hA.setValue(M.fontWeight),CA.setValue(M.fontSize),_.setValue(M.fontFamily),A.font=M.toString(),CA.isPixels()&&(this.document.emSize=CA.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(A),A.globalAlpha=this.calculateOpacity())}clearContext(A){super.clearContext(A),this.modifiedEmSizeStack&&this.document.popEmSize()}},sr=class r extends ua{constructor(A,e,t){super(A,e,t),this.type="path",this.pathParser=null,this.pathParser=new Pe(this.getAttribute("d").getString())}path(A){var{pathParser:e}=this,t=new Pn;for(e.reset(),A&&A.beginPath();!e.isEnd();)switch(e.next().type){case Pe.MOVE_TO:this.pathM(A,t);break;case Pe.LINE_TO:this.pathL(A,t);break;case Pe.HORIZ_LINE_TO:this.pathH(A,t);break;case Pe.VERT_LINE_TO:this.pathV(A,t);break;case Pe.CURVE_TO:this.pathC(A,t);break;case Pe.SMOOTH_CURVE_TO:this.pathS(A,t);break;case Pe.QUAD_TO:this.pathQ(A,t);break;case Pe.SMOOTH_QUAD_TO:this.pathT(A,t);break;case Pe.ARC:this.pathA(A,t);break;case Pe.CLOSE_PATH:this.pathZ(A,t);break}return t}getBoundingBox(A){return this.path()}getMarkers(){var{pathParser:A}=this,e=A.getMarkerPoints(),t=A.getMarkerAngles(),n=e.map((i,a)=>[i,t[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 t=this.getMarkers();if(t){var n=t.length-1,i=this.getStyle("marker-start"),a=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(i.isUrlDefinition()){var c=i.getDefinition(),[d,v]=t[0];c.render(A,d,v)}if(a.isUrlDefinition())for(var m=a.getDefinition(),C=1;C<n;C++){var[p,x]=t[C];m.render(A,p,x)}if(s.isUrlDefinition()){var Q=s.getDefinition(),[S,U]=t[n];Q.render(A,S,U)}}}static pathM(A){var e=A.getAsCurrentPoint();return A.start=A.current,{point:e}}pathM(A,e){var{pathParser:t}=this,{point:n}=r.pathM(t),{x:i,y:a}=n;t.addMarker(n),e.addPoint(i,a),A&&A.moveTo(i,a)}static pathL(A){var{current:e}=A,t=A.getAsCurrentPoint();return{current:e,point:t}}pathL(A,e){var{pathParser:t}=this,{current:n,point:i}=r.pathL(t),{x:a,y:s}=i;t.addMarker(i,n),e.addPoint(a,s),A&&A.lineTo(a,s)}static pathH(A){var{current:e,command:t}=A,n=new vr((t.relative?e.x:0)+t.x,e.y);return A.current=n,{current:e,point:n}}pathH(A,e){var{pathParser:t}=this,{current:n,point:i}=r.pathH(t),{x:a,y:s}=i;t.addMarker(i,n),e.addPoint(a,s),A&&A.lineTo(a,s)}static pathV(A){var{current:e,command:t}=A,n=new vr(e.x,(t.relative?e.y:0)+t.y);return A.current=n,{current:e,point:n}}pathV(A,e){var{pathParser:t}=this,{current:n,point:i}=r.pathV(t),{x:a,y:s}=i;t.addMarker(i,n),e.addPoint(a,s),A&&A.lineTo(a,s)}static pathC(A){var{current:e}=A,t=A.getPoint("x1","y1"),n=A.getAsControlPoint("x2","y2"),i=A.getAsCurrentPoint();return{current:e,point:t,controlPoint:n,currentPoint:i}}pathC(A,e){var{pathParser:t}=this,{current:n,point:i,controlPoint:a,currentPoint:s}=r.pathC(t);t.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,t=A.getReflectedControlPoint(),n=A.getAsControlPoint("x2","y2"),i=A.getAsCurrentPoint();return{current:e,point:t,controlPoint:n,currentPoint:i}}pathS(A,e){var{pathParser:t}=this,{current:n,point:i,controlPoint:a,currentPoint:s}=r.pathS(t);t.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,t=A.getAsControlPoint("x1","y1"),n=A.getAsCurrentPoint();return{current:e,controlPoint:t,currentPoint:n}}pathQ(A,e){var{pathParser:t}=this,{current:n,controlPoint:i,currentPoint:a}=r.pathQ(t);t.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,t=A.getReflectedControlPoint();A.control=t;var n=A.getAsCurrentPoint();return{current:e,controlPoint:t,currentPoint:n}}pathT(A,e){var{pathParser:t}=this,{current:n,controlPoint:i,currentPoint:a}=r.pathT(t);t.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:t}=A,{rX:n,rY:i,xRot:a,lArcFlag:s,sweepFlag:c}=t,d=a*(Math.PI/180),v=A.getAsCurrentPoint(),m=new vr(Math.cos(d)*(e.x-v.x)/2+Math.sin(d)*(e.y-v.y)/2,-Math.sin(d)*(e.x-v.x)/2+Math.cos(d)*(e.y-v.y)/2),C=Math.pow(m.x,2)/Math.pow(n,2)+Math.pow(m.y,2)/Math.pow(i,2);C>1&&(n*=Math.sqrt(C),i*=Math.sqrt(C));var p=(s===c?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(i,2)-Math.pow(n,2)*Math.pow(m.y,2)-Math.pow(i,2)*Math.pow(m.x,2))/(Math.pow(n,2)*Math.pow(m.y,2)+Math.pow(i,2)*Math.pow(m.x,2)));isNaN(p)&&(p=0);var x=new vr(p*n*m.y/i,p*-i*m.x/n),Q=new vr((e.x+v.x)/2+Math.cos(d)*x.x-Math.sin(d)*x.y,(e.y+v.y)/2+Math.sin(d)*x.x+Math.cos(d)*x.y),S=Pp([1,0],[(m.x-x.x)/n,(m.y-x.y)/i]),U=[(m.x-x.x)/n,(m.y-x.y)/i],P=[(-m.x-x.x)/n,(-m.y-x.y)/i],q=Pp(U,P);return xh(U,P)<=-1&&(q=Math.PI),xh(U,P)>=1&&(q=0),{currentPoint:v,rX:n,rY:i,sweepFlag:c,xAxisRotation:d,centp:Q,a1:S,ad:q}}pathA(A,e){var{pathParser:t}=this,{currentPoint:n,rX:i,rY:a,sweepFlag:s,xAxisRotation:c,centp:d,a1:v,ad:m}=r.pathA(t),C=1-s?1:-1,p=v+C*(m/2),x=new vr(d.x+i*Math.cos(p),d.y+a*Math.sin(p));if(t.addMarkerAngle(x,p-C*Math.PI/2),t.addMarkerAngle(n,p-C*Math.PI),e.addPoint(n.x,n.y),A&&!isNaN(v)&&!isNaN(m)){var Q=i>a?i:a,S=i>a?1:i/a,U=i>a?a/i:1;A.translate(d.x,d.y),A.rotate(c),A.scale(S,U),A.arc(0,0,Q,v,v+m,!!(1-s)),A.scale(1/S,1/U),A.rotate(-c),A.translate(-d.x,-d.y)}}static pathZ(A){A.current=A.start}pathZ(A,e){r.pathZ(this.pathParser),A&&e.x1!==e.x2&&e.y1!==e.y2&&A.closePath()}},Ul=class extends sr{constructor(A,e,t){super(A,e,t),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}},Fs=class r extends ua{constructor(A,e,t){super(A,e,new.target===r?!0:t),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 t=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();t&&(A.textBaseline=t)}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((t,n)=>{var i=this.getChildBoundingBox(A,this,this,n);e?e.addBoundingBox(i):e=i}),e}getFontSize(){var{document:A,parent:e}=this,t=fi.parse(A.ctx.font).fontSize,n=e.getStyle("font-size").getNumber(t);return n}getTElementBoundingBox(A){var e=this.getFontSize();return new Pn(this.x,this.y-e,this.x+this.measureText(A),this.y)}getGlyph(A,e,t){var n=e[t],i=null;if(A.isArabic){var a=e.length,s=e[t-1],c=e[t+1],d="isolated";if((t===0||s===" ")&&t<a-1&&c!==" "&&(d="terminal"),t>0&&s!==" "&&t<a-1&&c!==" "&&(d="medial"),t>0&&s!==" "&&(t===a-1||c===" ")&&(d="initial"),typeof A.glyphs[n]<"u"){var v=A.glyphs[n];i=v instanceof Ul?v:v[d]}}else i=A.glyphs[n];return i||(i=A.missingGlyph),i}getText(){return""}getTextFromNode(A){var e=A||this.node,t=Array.from(e.parentNode.childNodes),n=t.indexOf(e),i=t.length-1,a=ao(e.textContent||"");return n===0&&(a=Iy(a)),n===i&&(a=Sy(a)),a}renderChildren(A){if(this.type!=="text"){this.renderTElementChildren(A);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(A),this.children.forEach((t,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:t}=this,n=this.getText(),i=t.getStyle("font-family").getDefinition();if(i){for(var{unitsPerEm:a}=i.fontFace,s=fi.parse(e.ctx.font),c=t.getStyle("font-size").getNumber(s.fontSize),d=t.getStyle("font-style").getString(s.fontStyle),v=c/a,m=i.isRTL?n.split("").reverse().join(""):n,C=On(t.getAttribute("dx").getString()),p=m.length,x=0;x<p;x++){var Q=this.getGlyph(i,m,x);A.translate(this.x,this.y),A.scale(v,-v);var S=A.lineWidth;A.lineWidth=A.lineWidth*a/c,d==="italic"&&A.transform(1,0,.4,1,0,0),Q.render(A),d==="italic"&&A.transform(1,0,-.4,1,0,0),A.lineWidth=S,A.scale(1/v,-1/v),A.translate(-this.x,-this.y),this.x+=c*(Q.horizAdvX||i.horizAdvX)/a,typeof C[x]<"u"&&!isNaN(C[x])&&(this.x+=C[x])}return}var{x:U,y:P}=this;A.fillStyle&&A.fillText(n,U,P),A.strokeStyle&&A.strokeText(n,U,P)}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var A=this.leafTexts[this.textChunkStart],e=A.getStyle("text-anchor").getString("start"),t=!1,n=0;e==="start"&&!t||e==="end"&&t?n=A.x-this.minX:e==="end"&&!t||e==="start"&&t?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,t)=>{this.adjustChildCoordinatesRecursiveCore(A,this,this,t)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(A,e,t,n){var i=t.children[n];i.children.length>0?i.children.forEach((a,s)=>{e.adjustChildCoordinatesRecursiveCore(A,e,i,s)}):this.adjustChildCoordinates(A,e,t,n)}adjustChildCoordinates(A,e,t,n){var i=t.children[n];if(typeof i.measureText!="function")return i;A.save(),i.setContext(A,!0);var a=i.getAttribute("x"),s=i.getAttribute("y"),c=i.getAttribute("dx"),d=i.getAttribute("dy"),v=i.getStyle("font-family").getDefinition(),m=!!v&&v.isRTL;n===0&&(a.hasValue()||a.setValue(i.getInheritedAttribute("x")),s.hasValue()||s.setValue(i.getInheritedAttribute("y")),c.hasValue()||c.setValue(i.getInheritedAttribute("dx")),d.hasValue()||d.setValue(i.getInheritedAttribute("dy")));var C=i.measureText(A);return m&&(e.x-=C),a.hasValue()?(e.applyAnchoring(),i.x=a.getPixels("x"),c.hasValue()&&(i.x+=c.getPixels("x"))):(c.hasValue()&&(e.x+=c.getPixels("x")),i.x=e.x),e.x=i.x,m||(e.x+=C),s.hasValue()?(i.y=s.getPixels("y"),d.hasValue()&&(i.y+=d.getPixels("y"))):(d.hasValue()&&(e.y+=d.getPixels("y")),i.y=e.y),e.y=i.y,e.leafTexts.push(i),e.minX=Math.min(e.minX,i.x,i.x+C),e.maxX=Math.max(e.maxX,i.x,i.x+C),i.clearContext(A),A.restore(),i}getChildBoundingBox(A,e,t,n){var i=t.children[n];if(typeof i.getBoundingBox!="function")return null;var a=i.getBoundingBox(A);return a?(i.children.forEach((s,c)=>{var d=e.getChildBoundingBox(A,e,i,c);a.addBoundingBox(d)}),a):null}renderChild(A,e,t,n){var i=t.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 t=this.getText(),n=this.measureTargetText(A,t);return this.measureCache=n,n}measureTargetText(A,e){if(!e.length)return 0;var{parent:t}=this,n=t.getStyle("font-family").getDefinition();if(n){for(var i=this.getFontSize(),a=n.isRTL?e.split("").reverse().join(""):e,s=On(t.getAttribute("dx").getString()),c=a.length,d=0,v=0;v<c;v++){var m=this.getGlyph(n,a,v);d+=(m.horizAdvX||n.horizAdvX)*i/n.fontFace.unitsPerEm,typeof s[v]<"u"&&!isNaN(s[v])&&(d+=s[v])}return d}if(!A.measureText)return e.length*10;A.save(),this.setContext(A,!0);var{width:C}=A.measureText(e);return this.clearContext(A),A.restore(),C}getInheritedAttribute(A){for(var e=this;e instanceof r&&e.isFirstChild();){var t=e.parent.getAttribute(A);if(t.hasValue(!0))return t.getValue("0");e=e.parent}return null}},xl=class r extends Fs{constructor(A,e,t){super(A,e,new.target===r?!0:t),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}},Vp=class extends xl{constructor(){super(...arguments),this.type="textNode"}},Qs=class extends ua{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(A){var e,{document:t}=this,{screen:n,window:i}=t,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 ye(t,"fontSize",fi.parse(A.font).fontSize);s.hasValue()&&(t.rootEmSize=s.getPixels("y"),t.emSize=t.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:c,height:d}=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 v=this.getAttribute("refX"),m=this.getAttribute("refY"),C=this.getAttribute("viewBox"),p=C.hasValue()?On(C.getString()):null,x=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",Q=0,S=0,U=0,P=0;p&&(Q=p[0],S=p[1]),this.root||(c=this.getStyle("width").getPixels("x"),d=this.getStyle("height").getPixels("y"),this.type==="marker"&&(U=Q,P=S,Q=0,S=0)),n.viewPort.setCurrent(c,d),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")),p&&(c=p[2],d=p[3]),t.setViewBox({ctx:A,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:n.viewPort.width,desiredWidth:c,height:n.viewPort.height,desiredHeight:d,minX:Q,minY:S,refX:v.getValue(),refY:m.getValue(),clip:x,clipX:U,clipY:P}),p&&(n.viewPort.removeCurrent(),n.viewPort.setCurrent(c,d))}clearContext(A){super.clearContext(A),this.document.screen.viewPort.removeCurrent()}resize(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A,t=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"),c=n.getNumber(0),d=i.getNumber(0);if(t)if(typeof t=="string")this.getAttribute("preserveAspectRatio",!0).setValue(t);else{var v=this.getAttribute("preserveAspectRatio");v.hasValue()&&v.setValue(v.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(n.setValue(A),i.setValue(e),a.hasValue()||a.setValue("0 0 ".concat(c||A," ").concat(d||e)),s.hasValue()){var m=this.getStyle("width"),C=this.getStyle("height");m.hasValue()&&m.setValue("".concat(A,"px")),C.hasValue()&&C.setValue("".concat(e,"px"))}}},El=class extends sr{constructor(){super(...arguments),this.type="rect"}path(A){var e=this.getAttribute("x").getPixels("x"),t=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"),c=a.getPixels("x"),d=s.getPixels("y");if(a.hasValue()&&!s.hasValue()&&(d=c),s.hasValue()&&!a.hasValue()&&(c=d),c=Math.min(c,n/2),d=Math.min(d,i/2),A){var v=4*((Math.sqrt(2)-1)/3);A.beginPath(),i>0&&n>0&&(A.moveTo(e+c,t),A.lineTo(e+n-c,t),A.bezierCurveTo(e+n-c+v*c,t,e+n,t+d-v*d,e+n,t+d),A.lineTo(e+n,t+i-d),A.bezierCurveTo(e+n,t+i-d+v*d,e+n-c+v*c,t+i,e+n-c,t+i),A.lineTo(e+c,t+i),A.bezierCurveTo(e+c-v*c,t+i,e,t+i-d+v*d,e,t+i-d),A.lineTo(e,t+d),A.bezierCurveTo(e,t+d-v*d,e+c-v*c,t,e+c,t),A.closePath())}return new Pn(e,t,e+n,t+i)}getMarkers(){return null}},Ph=class extends sr{constructor(){super(...arguments),this.type="circle"}path(A){var e=this.getAttribute("cx").getPixels("x"),t=this.getAttribute("cy").getPixels("y"),n=this.getAttribute("r").getPixels();return A&&n>0&&(A.beginPath(),A.arc(e,t,n,0,Math.PI*2,!1),A.closePath()),new Pn(e-n,t-n,e+n,t+n)}getMarkers(){return null}},_h=class extends sr{constructor(){super(...arguments),this.type="ellipse"}path(A){var e=4*((Math.sqrt(2)-1)/3),t=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&&t>0&&n>0&&(A.beginPath(),A.moveTo(i+t,a),A.bezierCurveTo(i+t,a+e*n,i+e*t,a+n,i,a+n),A.bezierCurveTo(i-e*t,a+n,i-t,a+e*n,i-t,a),A.bezierCurveTo(i-t,a-e*n,i-e*t,a-n,i,a-n),A.bezierCurveTo(i+e*t,a-n,i+t,a-e*n,i+t,a),A.closePath()),new Pn(i-t,a-n,i+t,a+n)}getMarkers(){return null}},Dh=class extends sr{constructor(){super(...arguments),this.type="line"}getPoints(){return[new vr(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new vr(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(A){var[{x:e,y:t},{x:n,y:i}]=this.getPoints();return A&&(A.beginPath(),A.moveTo(e,t),A.lineTo(n,i)),new Pn(e,t,n,i)}getMarkers(){var[A,e]=this.getPoints(),t=A.angleTo(e);return[[A,t],[e,t]]}},Il=class extends sr{constructor(A,e,t){super(A,e,t),this.type="polyline",this.points=[],this.points=vr.parsePath(this.getAttribute("points").getString())}path(A){var{points:e}=this,[{x:t,y:n}]=e,i=new Pn(t,n);return A&&(A.beginPath(),A.moveTo(t,n)),e.forEach(a=>{var{x:s,y:c}=a;i.addPoint(s,c),A&&A.lineTo(s,c)}),i}getMarkers(){var{points:A}=this,e=A.length-1,t=[];return A.forEach((n,i)=>{i!==e&&t.push([n,n.angleTo(A[i+1])])}),t.length>0&&t.push([A[A.length-1],t[t.length-1][1]]),t}},Mh=class extends Il{constructor(){super(...arguments),this.type="polygon"}path(A){var e=super.path(A),[{x:t,y:n}]=this.points;return A&&(A.lineTo(t,n),A.closePath()),e}},Rh=class extends Lt{constructor(){super(...arguments),this.type="pattern"}createPattern(A,e,t){var n=this.getStyle("width").getPixels("x",!0),i=this.getStyle("height").getPixels("y",!0),a=new Qs(this.document,null);a.attributes.viewBox=new ye(this.document,"viewBox",this.getAttribute("viewBox").getValue()),a.attributes.width=new ye(this.document,"width","".concat(n,"px")),a.attributes.height=new ye(this.document,"height","".concat(i,"px")),a.attributes.transform=new ye(this.document,"transform",this.getAttribute("patternTransform").getValue()),a.children=this.children;var s=this.document.createCanvas(n,i),c=s.getContext("2d"),d=this.getAttribute("x"),v=this.getAttribute("y");d.hasValue()&&v.hasValue()&&c.translate(d.getPixels("x",!0),v.getPixels("y",!0)),t.hasValue()?this.styles["fill-opacity"]=t:Reflect.deleteProperty(this.styles,"fill-opacity");for(var m=-1;m<=1;m++)for(var C=-1;C<=1;C++)c.save(),a.attributes.x=new ye(this.document,"x",m*s.width),a.attributes.y=new ye(this.document,"y",C*s.height),a.render(c),c.restore();var p=A.createPattern(s,"repeat");return p}},kh=class extends Lt{constructor(){super(...arguments),this.type="marker"}render(A,e,t){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(t),s==="strokeWidth"&&A.scale(A.lineWidth,A.lineWidth),A.save();var c=new Qs(this.document,null);c.type=this.type,c.attributes.viewBox=new ye(this.document,"viewBox",this.getAttribute("viewBox").getValue()),c.attributes.refX=new ye(this.document,"refX",this.getAttribute("refX").getValue()),c.attributes.refY=new ye(this.document,"refY",this.getAttribute("refY").getValue()),c.attributes.width=new ye(this.document,"width",this.getAttribute("markerWidth").getValue()),c.attributes.height=new ye(this.document,"height",this.getAttribute("markerHeight").getValue()),c.attributes.overflow=new ye(this.document,"overflow",this.getAttribute("overflow").getValue()),c.attributes.fill=new ye(this.document,"fill",this.getAttribute("fill").getColor("black")),c.attributes.stroke=new ye(this.document,"stroke",this.getAttribute("stroke").getValue("none")),c.children=this.children,c.render(A),A.restore(),s==="strokeWidth"&&A.scale(1/A.lineWidth,1/A.lineWidth),a==="auto"&&A.rotate(-t),A.translate(-n,-i)}}},Kh=class extends Lt{constructor(){super(...arguments),this.type="defs"}render(){}},hu=class extends ua{constructor(){super(...arguments),this.type="g"}getBoundingBox(A){var e=new Pn;return this.children.forEach(t=>{e.addBoundingBox(t.getBoundingBox(A))}),e}},Sl=class extends Lt{constructor(A,e,t){super(A,e,t),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,t){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(t,i[i.length-1].color);if(i.forEach(S=>{a.addColorStop(S.offset,this.addParentOpacity(t,S.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:c,viewPort:d}=s.screen,[v]=d.viewPorts,m=new El(s,null);m.attributes.x=new ye(s,"x",-c/3),m.attributes.y=new ye(s,"y",-c/3),m.attributes.width=new ye(s,"width",c),m.attributes.height=new ye(s,"height",c);var C=new hu(s,null);C.attributes.transform=new ye(s,"transform",this.getAttribute("gradientTransform").getValue()),C.children=[m];var p=new Qs(s,null);p.attributes.x=new ye(s,"x",0),p.attributes.y=new ye(s,"y",0),p.attributes.width=new ye(s,"width",v.width),p.attributes.height=new ye(s,"height",v.height),p.children=[C];var x=s.createCanvas(v.width,v.height),Q=x.getContext("2d");return Q.fillStyle=a,p.render(Q),Q.createPattern(x,"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 t=new ye(this.document,"color",e);return t.addOpacity(A).getColor()}return e}},qh=class extends Sl{constructor(A,e,t){super(A,e,t),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(A,e){var t=this.getGradientUnits()==="objectBoundingBox",n=t?e.getBoundingBox(A):null;if(t&&!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=t?n.x+n.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),a=t?n.y+n.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=t?n.x+n.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),c=t?n.y+n.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return i===s&&a===c?null:A.createLinearGradient(i,a,s,c)}},Vh=class extends Sl{constructor(A,e,t){super(A,e,t),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(A,e){var t=this.getGradientUnits()==="objectBoundingBox",n=e.getBoundingBox(A);if(t&&!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=t?n.x+n.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),a=t?n.y+n.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=i,c=a;this.getAttribute("fx").hasValue()&&(s=t?n.x+n.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(c=t?n.y+n.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var d=t?(n.width+n.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),v=this.getAttribute("fr").getPixels();return A.createRadialGradient(s,c,v,i,a,d)}},jh=class extends Lt{constructor(A,e,t){super(A,e,t),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()}},fu=class extends Lt{constructor(A,e,t){super(A,e,t),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 ye(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:t,to:n}=this.getProgress(),i=t.getNumber()+(n.getNumber()-t.getNumber())*e;return A==="%"&&(i*=100),"".concat(i).concat(A)}update(A){var{parent:e}=this,t=this.getProperty();if(this.initialValue||(this.initialValue=t.getString(),this.initialUnits=t.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=t.getString();else if(n==="remove"&&!this.removed)return this.removed=!0,t.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 c=s.getString();a="".concat(c,"(").concat(a,")")}t.setValue(a),i=!0}return i}getProgress(){var{document:A,values:e}=this,t={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(e.hasValue()){var n=t.progress*(e.getValue().length-1),i=Math.floor(n),a=Math.ceil(n);t.from=new ye(A,"from",parseFloat(e.getValue()[i])),t.to=new ye(A,"to",parseFloat(e.getValue()[a])),t.progress=(n-i)/(a-i)}else t.from=this.from,t.to=this.to;return t}},Gh=class extends fu{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:A,from:e,to:t}=this.getProgress(),n=new Uh.default(e.getColor()),i=new Uh.default(t.getColor());if(n.ok&&i.ok){var a=n.r+(i.r-n.r)*A,s=n.g+(i.g-n.g)*A,c=n.b+(i.b-n.b)*A;return"rgb(".concat(Math.floor(a),", ").concat(Math.floor(s),", ").concat(Math.floor(c),")")}return this.getAttribute("from").getColor()}},zh=class extends fu{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:A,from:e,to:t}=this.getProgress(),n=On(e.getString()),i=On(t.getString()),a=n.map((s,c)=>{var d=i[c];return s+(d-s)*A}).join(" ");return a}},Wh=class extends Lt{constructor(A,e,t){super(A,e,t),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 c=a;c.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[c.unicode]>"u"&&(this.glyphs[c.unicode]={}),this.glyphs[c.unicode][c.arabicForm]=c):this.glyphs[c.unicode]=c;break}}}render(){}},Xh=class extends Lt{constructor(A,e,t){super(A,e,t),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}},Yh=class extends sr{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}},Jh=class extends Fs{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""}},Zh=class extends Fs{constructor(A,e,t){super(A,e,t),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:t,y:n}=this,{mouse:i}=e.screen,a=new ye(e,"fontSize",fi.parse(e.ctx.font).fontSize);i.isWorking()&&i.checkBoundingBox(this,new Pn(t,n-a.getPixels("y"),t+this.measureText(A),n))}else if(this.children.length>0){var s=new hu(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"}};$h=class extends Fs{constructor(A,e,t){super(A,e,t),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(t=>{var{type:n,points:i}=t;switch(n){case Pe.LINE_TO:A&&A.lineTo(i[0],i[1]);break;case Pe.MOVE_TO:A&&A.moveTo(i[0],i[1]);break;case Pe.CURVE_TO:A&&A.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);break;case Pe.QUAD_TO:A&&A.quadraticCurveTo(i[0],i[1],i[2],i[3]);break;case Pe.ARC:{var[a,s,c,d,v,m,C,p]=i,x=c>d?c:d,Q=c>d?1:c/d,S=c>d?d/c:1;A&&(A.translate(a,s),A.rotate(C),A.scale(Q,S),A.arc(0,0,x,v,v+m,!!(1-p)),A.scale(1/Q,1/S),A.rotate(-C),A.translate(-a,-s));break}case Pe.CLOSE_PATH:A&&A.closePath();break}})}renderChildren(A){this.setTextData(A),A.save();var e=this.parent.getStyle("text-decoration").getString(),t=this.getFontSize(),{glyphInfo:n}=this,i=A.fillStyle;e==="underline"&&A.beginPath(),n.forEach((a,s)=>{var{p0:c,p1:d,rotation:v,text:m}=a;A.save(),A.translate(c.x,c.y),A.rotate(v),A.fillStyle&&A.fillText(m,0,0),A.strokeStyle&&A.strokeText(m,0,0),A.restore(),e==="underline"&&(s===0&&A.moveTo(c.x,c.y+t/8),A.lineTo(d.x,d.y+t/5))}),e==="underline"&&(A.lineWidth=t/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,t,n,i,a,s,c,d){var v=a,m=this.measureText(A,c);c===" "&&e==="justify"&&t<n&&(m+=(n-t)/i),d>-1&&(v+=this.getLetterSpacingAt(d));var C=this.textHeight/20,p=this.getEquidistantPointOnPath(v,C,0),x=this.getEquidistantPointOnPath(v+m,C,0),Q={p0:p,p1:x},S=p&&x?Math.atan2(x.y-p.y,x.x-p.x):0;if(s){var U=Math.cos(Math.PI/2+S)*s,P=Math.cos(-S)*s;Q.p0=Ch(Ch({},p),{},{x:p.x+U,y:p.y+P}),Q.p1=Ch(Ch({},x),{},{x:x.x+U,y:x.y+P})}return v+=m,{offset:v,segment:Q,rotation:S}}measureText(A,e){var{measuresCache:t}=this,n=e||this.getText();if(t.has(n))return t.get(n);var i=this.measureTargetText(A,n);return t.set(n,i),i}setTextData(A){if(!this.glyphInfo){var e=this.getText(),t=e.split(""),n=e.split(" ").length-1,i=this.parent.getAttribute("dx").split().map(Y=>Y.getPixels("x")),a=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),c=this.getStyle("letter-spacing"),d=this.parent.getStyle("letter-spacing"),v=0;!c.hasValue()||c.getValue()==="inherit"?v=d.getPixels():c.hasValue()&&c.getValue()!=="initial"&&c.getValue()!=="unset"&&(v=c.getPixels());var m=[],C=e.length;this.letterSpacingCache=m;for(var p=0;p<C;p++)m.push(typeof i[p]<"u"?i[p]:v);var x=m.reduce((Y,uA,wA)=>wA===0?0:Y+uA||0,0),Q=this.measureText(A),S=Math.max(Q+x,0);this.textWidth=Q,this.textHeight=this.getFontSize(),this.glyphInfo=[];var U=this.getPathLength(),P=this.getStyle("startOffset").getNumber(0)*U,q=0;(s==="middle"||s==="center")&&(q=-S/2),(s==="end"||s==="right")&&(q=-S),q+=P,t.forEach((Y,uA)=>{var{offset:wA,segment:J,rotation:z}=this.findSegmentToFitChar(A,s,S,U,n,q,a,Y,uA);q=wA,!(!J.p0||!J.p1)&&this.glyphInfo.push({text:t[uA],p0:J.p0,p1:J.p1,rotation:z})})}}parsePathData(A){if(this.pathLength=-1,!A)return[];var e=[],{pathParser:t}=A;for(t.reset();!t.isEnd();){var{current:n}=t,i=n?n.x:0,a=n?n.y:0,s=t.next(),c=s.type,d=[];switch(s.type){case Pe.MOVE_TO:this.pathM(t,d);break;case Pe.LINE_TO:c=this.pathL(t,d);break;case Pe.HORIZ_LINE_TO:c=this.pathH(t,d);break;case Pe.VERT_LINE_TO:c=this.pathV(t,d);break;case Pe.CURVE_TO:this.pathC(t,d);break;case Pe.SMOOTH_CURVE_TO:c=this.pathS(t,d);break;case Pe.QUAD_TO:this.pathQ(t,d);break;case Pe.SMOOTH_QUAD_TO:c=this.pathT(t,d);break;case Pe.ARC:d=this.pathA(t);break;case Pe.CLOSE_PATH:sr.pathZ(t);break}s.type!==Pe.CLOSE_PATH?e.push({type:c,points:d,start:{x:i,y:a},pathLength:this.calcLength(i,a,c,d)}):e.push({type:Pe.CLOSE_PATH,points:[],pathLength:0})}return e}pathM(A,e){var{x:t,y:n}=sr.pathM(A).point;e.push(t,n)}pathL(A,e){var{x:t,y:n}=sr.pathL(A).point;return e.push(t,n),Pe.LINE_TO}pathH(A,e){var{x:t,y:n}=sr.pathH(A).point;return e.push(t,n),Pe.LINE_TO}pathV(A,e){var{x:t,y:n}=sr.pathV(A).point;return e.push(t,n),Pe.LINE_TO}pathC(A,e){var{point:t,controlPoint:n,currentPoint:i}=sr.pathC(A);e.push(t.x,t.y,n.x,n.y,i.x,i.y)}pathS(A,e){var{point:t,controlPoint:n,currentPoint:i}=sr.pathS(A);return e.push(t.x,t.y,n.x,n.y,i.x,i.y),Pe.CURVE_TO}pathQ(A,e){var{controlPoint:t,currentPoint:n}=sr.pathQ(A);e.push(t.x,t.y,n.x,n.y)}pathT(A,e){var{controlPoint:t,currentPoint:n}=sr.pathT(A);return e.push(t.x,t.y,n.x,n.y),Pe.QUAD_TO}pathA(A){var{rX:e,rY:t,sweepFlag:n,xAxisRotation:i,centp:a,a1:s,ad:c}=sr.pathA(A);return n===0&&c>0&&(c-=2*Math.PI),n===1&&c<0&&(c+=2*Math.PI),[a.x,a.y,e,t,s,c,i,n]}calcLength(A,e,t,n){var i=0,a=null,s=null,c=0;switch(t){case Pe.LINE_TO:return this.getLineLength(A,e,n[0],n[1]);case Pe.CURVE_TO:for(i=0,a=this.getPointOnCubicBezier(0,A,e,n[0],n[1],n[2],n[3],n[4],n[5]),c=.01;c<=1;c+=.01)s=this.getPointOnCubicBezier(c,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 Pe.QUAD_TO:for(i=0,a=this.getPointOnQuadraticBezier(0,A,e,n[0],n[1],n[2],n[3]),c=.01;c<=1;c+=.01)s=this.getPointOnQuadraticBezier(c,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 Pe.ARC:{i=0;var d=n[4],v=n[5],m=n[4]+v,C=Math.PI/180;if(Math.abs(d-m)<C&&(C=Math.abs(d-m)),a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],d,0),v<0)for(c=d-C;c>m;c-=C)s=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],c,0),i+=this.getLineLength(a.x,a.y,s.x,s.y),a=s;else for(c=d+C;c<m;c+=C)s=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],c,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],m,0),i+=this.getLineLength(a.x,a.y,s.x,s.y),i}}return 0}getPointOnLine(A,e,t,n,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:t,c=(i-t)/(n-e+to),d=Math.sqrt(A*A/(1+c*c));n<e&&(d*=-1);var v=c*d,m=null;if(n===e)m={x:a,y:s+v};else if((s-t)/(a-e+to)===c)m={x:a+d,y:s+v};else{var C=0,p=0,x=this.getLineLength(e,t,n,i);if(x<to)return null;var Q=(a-e)*(n-e)+(s-t)*(i-t);Q/=x*x,C=e+Q*(n-e),p=t+Q*(i-t);var S=this.getLineLength(a,s,C,p),U=Math.sqrt(A*A-S*S);d=Math.sqrt(U*U/(1+c*c)),n<e&&(d*=-1),v=c*d,m={x:C+d,y:p+v}}return m}getPointOnPath(A){var e=this.getPathLength(),t=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||t+a.pathLength+5e-5<A)){t+=a.pathLength;continue}var s=A-t,c=0;switch(a.type){case Pe.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 Pe.ARC:{var d=a.points[4],v=a.points[5],m=a.points[4]+v;if(c=d+s/a.pathLength*v,v<0&&c<m||v>=0&&c>m)break;n=this.getPointOnEllipticalArc(a.points[0],a.points[1],a.points[2],a.points[3],c,a.points[6]);break}case Pe.CURVE_TO:c=s/a.pathLength,c>1&&(c=1),n=this.getPointOnCubicBezier(c,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 Pe.QUAD_TO:c=s/a.pathLength,c>1&&(c=1),n=this.getPointOnQuadraticBezier(c,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,t,n){return Math.sqrt((t-A)*(t-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,t,n,i,a,s,c,d){var v=c*_p(A)+a*Dp(A)+n*Mp(A)+e*Rp(A),m=d*_p(A)+s*Dp(A)+i*Mp(A)+t*Rp(A);return{x:v,y:m}}getPointOnQuadraticBezier(A,e,t,n,i,a,s){var c=a*kp(A)+n*Kp(A)+e*qp(A),d=s*kp(A)+i*Kp(A)+t*qp(A);return{x:c,y:d}}getPointOnEllipticalArc(A,e,t,n,i,a){var s=Math.cos(a),c=Math.sin(a),d={x:t*Math.cos(i),y:n*Math.sin(i)};return{x:A+(d.x*s-d.y*c),y:e+(d.x*c+d.y*s)}}buildEquidistantCache(A,e){var t=this.getPathLength(),n=e||.25,i=A||t/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<=t;s+=n){var c=this.getPointOnPath(s),d=this.getPointOnPath(s+n);!c||!d||(a+=this.getLineLength(c.x,c.y,d.x,d.y),a>=i&&(this.equidistantCache.points.push({x:c.x,y:c.y,distance:s}),a-=i))}}}getEquidistantPointOnPath(A,e,t){if(this.buildEquidistantCache(e,t),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}},VN=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,Af=class extends ua{constructor(A,e,t){super(A,e,t),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 oa(function*(){try{var t=yield e.document.createImage(A);e.image=t}catch(n){console.error('Error while loading image "'.concat(A,'":'),n)}e.loaded=!0})()}loadSvg(A){var e=this;return oa(function*(){var t=VN.exec(A);if(t){var n=t[5];t[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:t,loaded:n}=this,i=this.getAttribute("x").getPixels("x"),a=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),c=this.getStyle("height").getPixels("y");if(!(!n||!t||!s||!c)){if(A.save(),A.translate(i,a),this.isSvg){var d=e.canvg.forkString(A,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:c});d.document.documentElement.parent=this,d.render()}else{var v=this.image;e.setViewBox({ctx:A,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:v.width,height:c,desiredHeight:v.height}),this.loaded&&(typeof v.complete>"u"||v.complete)&&A.drawImage(v,0,0)}A.restore()}}getBoundingBox(){var A=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),t=this.getStyle("width").getPixels("x"),n=this.getStyle("height").getPixels("y");return new Pn(A,e,A+t,e+n)}},ef=class extends ua{constructor(){super(...arguments),this.type="symbol"}render(A){}},tf=class{constructor(A){this.document=A,this.loaded=!1,A.fonts.push(this)}load(A,e){var t=this;return oa(function*(){try{var{document:n}=t,i=yield n.canvg.parser.load(e),a=i.getElementsByTagName("font");Array.from(a).forEach(s=>{var c=n.createElement(s);n.definitions[A]=c})}catch(s){console.error('Error while loading font "'.concat(e,'":'),s)}t.loaded=!0})()}},Ll=class extends Lt{constructor(A,e,t){super(A,e,t),this.type="style";var n=ao(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 c=s.split("{"),d=c[0].split(","),v=c[1].split(";");d.forEach(m=>{var C=m.trim();if(C){var p=A.styles[C]||{};if(v.forEach(S=>{var U=S.indexOf(":"),P=S.substr(0,U).trim(),q=S.substr(U+1,S.length-U).trim();P&&q&&(p[P]=new ye(A,P,q))}),A.styles[C]=p,A.stylesSpecificity[C]=Ty(C),C==="@font-face"){var x=p["font-family"].getString().replace(/"|'/g,""),Q=p.src.getString().split(",");Q.forEach(S=>{if(S.indexOf('format("svg")')>0){var U=zp(S);U&&new tf(A).load(x,U)}})}}})}})}};Ll.parseExternalUrl=zp;rf=class extends ua{constructor(){super(...arguments),this.type="use"}setContext(A){super.setContext(A);var e=this.getAttribute("x"),t=this.getAttribute("y");e.hasValue()&&A.translate(e.getPixels("x"),0),t.hasValue()&&A.translate(0,t.getPixels("y"))}path(A){var{element:e}=this;e&&e.path(A)}renderChildren(A){var{document:e,element:t}=this;if(t){var n=t;if(t.type==="symbol"&&(n=new Qs(e,null),n.attributes.viewBox=new ye(e,"viewBox",t.getAttribute("viewBox").getString()),n.attributes.preserveAspectRatio=new ye(e,"preserveAspectRatio",t.getAttribute("preserveAspectRatio").getString()),n.attributes.overflow=new ye(e,"overflow",t.getAttribute("overflow").getString()),n.children=t.children,t.styles.opacity=new ye(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 ye(e,"width",i.getString())),a.hasValue()&&(n.attributes.height=new ye(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 no.fromElement(A,e)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}};Nl=class extends Lt{constructor(A,e,t){super(A,e,t),this.type="feColorMatrix";var n=On(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=[Ka(a,.213,.787,-.213),Ka(a,.715,-.715,-.715),Ka(a,.072,-.072,.928),0,0,Ka(a,.213,-.213,.143),Ka(a,.715,.285,.14),Ka(a,.072,-.072,-.283),0,0,Ka(a,.213,-.213,-.787),Ka(a,.715,-.715,.715),Ka(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,t,n,i){for(var{includeOpacity:a,matrix:s}=this,c=A.getImageData(0,0,n,i),d=0;d<i;d++)for(var v=0;v<n;v++){var m=bh(c.data,v,d,n,i,0),C=bh(c.data,v,d,n,i,1),p=bh(c.data,v,d,n,i,2),x=bh(c.data,v,d,n,i,3),Q=pr(s,0,m)+pr(s,1,C)+pr(s,2,p)+pr(s,3,x)+pr(s,4,1),S=pr(s,5,m)+pr(s,6,C)+pr(s,7,p)+pr(s,8,x)+pr(s,9,1),U=pr(s,10,m)+pr(s,11,C)+pr(s,12,p)+pr(s,13,x)+pr(s,14,1),P=pr(s,15,m)+pr(s,16,C)+pr(s,17,p)+pr(s,18,x)+pr(s,19,1);a&&(Q=0,S=0,U=0,P*=x/255),Fh(c.data,v,d,n,i,0,Q),Fh(c.data,v,d,n,i,1,S),Fh(c.data,v,d,n,i,2,U),Fh(c.data,v,d,n,i,3,P)}A.clearRect(0,0,n,i),A.putImageData(c,0,0)}},Tl=class r extends Lt{constructor(){super(...arguments),this.type="mask"}apply(A,e){var{document:t}=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 c=new Pn;this.children.forEach(x=>{c.addBoundingBox(x.getBoundingBox(A))}),n=Math.floor(c.x1),i=Math.floor(c.y1),a=Math.floor(c.width),s=Math.floor(c.height)}var d=this.removeStyles(e,r.ignoreStyles),v=t.createCanvas(n+a,i+s),m=v.getContext("2d");t.screen.setDefaults(m),this.renderChildren(m),new Nl(t,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(m,0,0,n+a,i+s);var C=t.createCanvas(n+a,i+s),p=C.getContext("2d");t.screen.setDefaults(p),e.render(p),p.globalCompositeOperation="destination-in",p.fillStyle=m.createPattern(v,"no-repeat"),p.fillRect(0,0,n+a,i+s),A.fillStyle=p.createPattern(C,"no-repeat"),A.fillRect(0,0,n+a,i+s),this.restoreStyles(e,d)}render(A){}};Tl.ignoreStyles=["mask","transform","clip-path"];Uy=()=>{},nf=class extends Lt{constructor(){super(...arguments),this.type="clipPath"}apply(A){var{document:e}=this,t=Reflect.getPrototypeOf(A),{beginPath:n,closePath:i}=A;t&&(t.beginPath=Uy,t.closePath=Uy),Reflect.apply(n,A,[]),this.children.forEach(a=>{if(!(typeof a.path>"u")){var s=typeof a.elementTransform<"u"?a.elementTransform():null;s||(s=no.fromElement(e,a)),s&&s.apply(A),a.path(A),t&&(t.closePath=i),s&&s.unapply(A)}}),Reflect.apply(i,A,[]),A.clip(),t&&(t.beginPath=n,t.closePath=i)}render(A){}},Hl=class r extends Lt{constructor(){super(...arguments),this.type="filter"}apply(A,e){var{document:t,children:n}=this,i=e.getBoundingBox(A);if(i){var a=0,s=0;n.forEach(U=>{var P=U.extraFilterDistance||0;a=Math.max(a,P),s=Math.max(s,P)});var c=Math.floor(i.width),d=Math.floor(i.height),v=c+2*a,m=d+2*s;if(!(v<1||m<1)){var C=Math.floor(i.x),p=Math.floor(i.y),x=this.removeStyles(e,r.ignoreStyles),Q=t.createCanvas(v,m),S=Q.getContext("2d");t.screen.setDefaults(S),S.translate(-C+a,-p+s),e.render(S),n.forEach(U=>{typeof U.apply=="function"&&U.apply(S,0,0,v,m)}),A.drawImage(Q,0,0,v,m,C-a,p-s,v,m),this.restoreStyles(e,x)}}}render(A){}};Hl.ignoreStyles=["filter","transform","clip-path"];af=class extends Lt{constructor(A,e,t){super(A,e,t),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(A,e,t,n,i){}},sf=class extends Lt{constructor(){super(...arguments),this.type="feMorphology"}apply(A,e,t,n,i){}},of=class extends Lt{constructor(){super(...arguments),this.type="feComposite"}apply(A,e,t,n,i){}},uf=class extends Lt{constructor(A,e,t){super(A,e,t),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(A,e,t,n,i){var{document:a,blurRadius:s}=this,c=a.window?a.window.document.body:null,d=A.canvas;d.id=a.getUniqueId(),c&&(d.style.display="none",c.appendChild(d)),by(d,e,t,n,i,s),c&&c.removeChild(d)}},lf=class extends Lt{constructor(){super(...arguments),this.type="title"}},cf=class extends Lt{constructor(){super(...arguments),this.type="desc"}},jN={svg:Qs,rect:El,circle:Ph,ellipse:_h,line:Dh,polyline:Il,polygon:Mh,path:sr,pattern:Rh,marker:kh,defs:Kh,linearGradient:qh,radialGradient:Vh,stop:jh,animate:fu,animateColor:Gh,animateTransform:zh,font:Wh,"font-face":Xh,"missing-glyph":Yh,glyph:Ul,text:Fs,tspan:xl,tref:Jh,a:Zh,textPath:$h,image:Af,g:hu,symbol:ef,style:Ll,use:rf,mask:Tl,clipPath:nf,filter:Hl,feDropShadow:af,feMorphology:sf,feComposite:of,feColorMatrix:Nl,feGaussianBlur:uf,title:lf,desc:cf};io=class r{constructor(A){var{rootEmSize:e=12,emSize:t=12,createCanvas:n=r.createCanvas,createImage:i=r.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=t,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"?(t,n)=>A(t,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(/^[^:]+:/,""),t=r.elementTypes[e];return typeof t<"u"?new t(this,A):new Oh(this,A)}createTextNode(A){return new Vp(this,A)}setViewBox(A){this.screen.setViewBox(GN({document:this},A))}};io.createCanvas=zN;io.createImage=WN;io.elementTypes=jN;Gp=class r{constructor(A,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new cu(t),this.screen=new ro(A,t),this.options=t;var n=new io(this,t),i=n.createDocumentElement(e);this.document=n,this.documentElement=i}static from(A,e){var t=arguments;return oa(function*(){var n=t.length>2&&t[2]!==void 0?t[2]:{},i=new cu(n),a=yield i.parse(e);return new r(A,a,n)})()}static fromString(A,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=new cu(t),i=n.parseFromString(e);return new r(A,i,t)}fork(A,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return r.from(A,e,eo(eo({},this.options),t))}forkString(A,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return r.fromString(A,e,eo(eo({},this.options),t))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var A=arguments,e=this;return oa(function*(){var t=A.length>0&&A[0]!==void 0?A[0]:{};e.start(eo({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t)),yield e.ready(),e.stop()})()}start(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{documentElement:e,screen:t,options:n}=this;t.start(e,eo(eo({enableRedraw:!0},n),A))}stop(){this.screen.stop()}resize(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(A,e,t)}}});var V0=`<base target="_blank">
|
|
50
|
+
<nav>
|
|
51
|
+
<div class="title">
|
|
52
|
+
<h1 id="genTitle">GenZ(ine)</h1>
|
|
53
|
+
<h2 id="author">by Munus Shih</h2>
|
|
54
|
+
</div>
|
|
55
|
+
</nav>
|
|
56
|
+
|
|
57
|
+
<div class="desktop">
|
|
58
|
+
<input type="button" value="*download .png*" id="download-jpg"
|
|
59
|
+
class="button alt" />
|
|
60
|
+
<input type="button" value="*download .pdf*" id="download-pdf"
|
|
61
|
+
class="button alt" />
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<div class="label" id="nav-label">
|
|
65
|
+
<a href="https://github.com/munusshih/p5.zine" target="_blank"
|
|
66
|
+
rel="noopener noreferrer">
|
|
67
|
+
>made with p5.zine
|
|
68
|
+
</a>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
<div id="myCanvas"></div>
|
|
72
|
+
|
|
73
|
+
<footer>
|
|
74
|
+
<div class="label" id="footer-label">
|
|
75
|
+
This zine is about...
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<p id="des">
|
|
79
|
+
This zine is about...
|
|
80
|
+
</p>
|
|
81
|
+
</footer>
|
|
82
|
+
`;document.addEventListener("DOMContentLoaded",function(){document.body.insertAdjacentHTML("beforeend",V0)});var j0=`@import url('https://fonts.googleapis.com/css2?family=Averia+Libre&family=Bebas+Neue&family=Bungee+Shade&family=Faster+One&family=Inconsolata&family=Playfair+Display:ital@1&family=Rubik+Puddles&family=Ultra&display=swap');
|
|
83
|
+
|
|
84
|
+
html[data-theme=light] {
|
|
85
|
+
--color-text: #333;
|
|
86
|
+
--accent-color: #ed225d;
|
|
87
|
+
--line-color: #ddd;
|
|
88
|
+
--color-background: #fff;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
html[data-theme=dark] {
|
|
92
|
+
--color-text: #fff;
|
|
93
|
+
--accent-color: #ed225d;
|
|
94
|
+
--line-color: #ddd;
|
|
95
|
+
--color-background: #000;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
* {
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
html,
|
|
103
|
+
body {
|
|
104
|
+
margin: 0;
|
|
105
|
+
padding: 0;
|
|
106
|
+
padding-top: 30px;
|
|
107
|
+
background: url(https://munusshih.github.io/p5.genzine/bg.png) repeat fixed var(--color-background);
|
|
108
|
+
scroll-behavior: smooth;
|
|
109
|
+
transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 420ms !important;
|
|
110
|
+
transition-delay: 0 !important;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
canvas {
|
|
114
|
+
display: block;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
p {
|
|
118
|
+
text-align: center;
|
|
119
|
+
font-family: "Inconsolata", monospace;
|
|
120
|
+
color: var(--accent-color);
|
|
121
|
+
font-size: 12px;
|
|
122
|
+
letter-spacing: -0.1px;
|
|
123
|
+
overflow-wrap: break-word;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
nav {
|
|
127
|
+
position: fixed;
|
|
128
|
+
background: none;
|
|
129
|
+
width: 100%;
|
|
130
|
+
text-align: left;
|
|
131
|
+
top: 0px;
|
|
132
|
+
padding-bottom: 0.5em;
|
|
133
|
+
padding-left: 1em;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.desktop {
|
|
137
|
+
position: fixed;
|
|
138
|
+
bottom: 0em;
|
|
139
|
+
padding-right: 0.5em;
|
|
140
|
+
width: 100%;
|
|
141
|
+
height: 2.5em;
|
|
142
|
+
text-align: right;
|
|
143
|
+
padding-top: 0.5em;
|
|
144
|
+
padding-bottom: 3.25em;
|
|
145
|
+
border-top: 1px solid var(--accent-color);
|
|
146
|
+
background: var(--color-background);
|
|
147
|
+
color: var(--color-text);
|
|
148
|
+
margin-top: 0.5em;
|
|
149
|
+
margin-right: 0.5em;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
nav .title {
|
|
153
|
+
display: inline-block;
|
|
154
|
+
text-align: left;
|
|
155
|
+
margin: 0px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
nav .title h1 {
|
|
159
|
+
display: inline-block;
|
|
160
|
+
color: var(--accent-color);
|
|
161
|
+
font-size: 1.8em;
|
|
162
|
+
line-height: 1;
|
|
163
|
+
padding-top: 20px;
|
|
164
|
+
margin: 0;
|
|
165
|
+
margin-right: 10px;
|
|
166
|
+
vertical-align: text-bottom;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
nav .title h2 {
|
|
170
|
+
display: inline-block;
|
|
171
|
+
margin-right: 20px;
|
|
172
|
+
color: var(--color-text);
|
|
173
|
+
font-weight: 100;
|
|
174
|
+
font-family: monospace;
|
|
175
|
+
font-size: 1em;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
nav .title h2 a {
|
|
179
|
+
color: var(--color-text);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
nav .title h2 a:hover {
|
|
183
|
+
color: var(--line-color);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.label {
|
|
187
|
+
position: fixed;
|
|
188
|
+
background: var(--accent-color);
|
|
189
|
+
padding: 0.5em;
|
|
190
|
+
font-family: monospace;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.label a {
|
|
194
|
+
text-decoration: none;
|
|
195
|
+
color: white;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
#nav-label {
|
|
199
|
+
position: fixed;
|
|
200
|
+
right: 0em;
|
|
201
|
+
top: 0em;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
#myCanvas {
|
|
205
|
+
display: flex;
|
|
206
|
+
flex-direction: column;
|
|
207
|
+
align-items: center;
|
|
208
|
+
gap: 24px;
|
|
209
|
+
padding: 24px 0 40px;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
#myCanvas.zine-pages {
|
|
213
|
+
width: 100%;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.zine-page {
|
|
217
|
+
display: flex;
|
|
218
|
+
flex-direction: column;
|
|
219
|
+
align-items: flex-start;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.zine-page-label {
|
|
223
|
+
font-family: monospace;
|
|
224
|
+
color: var(--accent-color);
|
|
225
|
+
font-size: 12px;
|
|
226
|
+
margin: 0 0 6px 0;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.zine-page-canvas {
|
|
230
|
+
display: block;
|
|
231
|
+
border: 1px solid var(--accent-color);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.zine-preview-hidden .zine-page-label {
|
|
235
|
+
display: none;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.zine-preview-hidden .zine-page-canvas {
|
|
239
|
+
border-color: transparent;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
#footer-label {
|
|
243
|
+
position: relative;
|
|
244
|
+
text-align: left;
|
|
245
|
+
width: 15em;
|
|
246
|
+
padding-left: 0.5em;
|
|
247
|
+
color: white;
|
|
248
|
+
left: 0em;
|
|
249
|
+
top: -3.7em;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
footer {
|
|
253
|
+
width: 100%;
|
|
254
|
+
text-align: center;
|
|
255
|
+
padding: 20px;
|
|
256
|
+
border-top: 1px solid var(--accent-color);
|
|
257
|
+
margin-bottom: 6em;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
footer p {
|
|
261
|
+
margin: auto;
|
|
262
|
+
text-align: center;
|
|
263
|
+
max-width: 700px;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.button {
|
|
267
|
+
border: 0px solid var(--accent-color);
|
|
268
|
+
color: var(--accent-color);
|
|
269
|
+
text-align: center;
|
|
270
|
+
text-decoration: none;
|
|
271
|
+
vertical-align: super;
|
|
272
|
+
display: inline-block;
|
|
273
|
+
font-size: 13px;
|
|
274
|
+
margin: 4px 10px;
|
|
275
|
+
height: 40px;
|
|
276
|
+
min-width: 40px;
|
|
277
|
+
line-height: 40px;
|
|
278
|
+
font-family: "Inconsolata", monospace;
|
|
279
|
+
border: 1px solid var(--accent-color);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.button:hover {
|
|
283
|
+
color: var(--accent-color);
|
|
284
|
+
cursor: pointer;
|
|
285
|
+
border-bottom: 1px dashed var(--accent-color);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.alt {
|
|
289
|
+
background: var(--color-background);
|
|
290
|
+
color: var(--accent-color);
|
|
291
|
+
margin: 0em;
|
|
292
|
+
margin-top: 0.3em;
|
|
293
|
+
margin-left: 0.3em;
|
|
294
|
+
border-radius: 20px;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.alt:hover {
|
|
298
|
+
background: var(--accent-color);
|
|
299
|
+
color: white;
|
|
300
|
+
cursor: pointer;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
hr {
|
|
304
|
+
margin-top: 50px;
|
|
305
|
+
margin-bottom: 50px;
|
|
306
|
+
border: 0.1px solid var(--accent-color);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
#doc,
|
|
310
|
+
#doc p {
|
|
311
|
+
text-align: left;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
h3 {
|
|
315
|
+
font-family: "Inconsolata", monospace;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
span {
|
|
319
|
+
color: grey;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
@media screen and (max-width: 500px) {
|
|
323
|
+
canvas {
|
|
324
|
+
margin-top: 4em;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
`;var G0=document.createElement("style");G0.innerText=j0;document.head.appendChild(G0);window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.setAttribute("data-theme","light");window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",r=>{(r.matches?"dark":"light")==="dark"?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.setAttribute("data-theme","light")});mc();var $r=Uint8Array,Jn=Uint16Array,vg=Int32Array,yc=new $r([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]),Cc=new $r([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]),fg=new $r([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Y0=function(r,A){for(var e=new Jn(31),t=0;t<31;++t)e[t]=A+=1<<r[t-1];for(var n=new vg(e[30]),t=1;t<30;++t)for(var i=e[t];i<e[t+1];++i)n[i]=i-e[t]<<5|t;return{b:e,r:n}},J0=Y0(yc,2),Z0=J0.b,gg=J0.r;Z0[28]=258,gg[258]=28;var $0=Y0(Cc,0),Db=$0.b,z0=$0.r,dg=new Jn(32768);for(ot=0;ot<32768;++ot)Pa=(ot&43690)>>1|(ot&21845)<<1,Pa=(Pa&52428)>>2|(Pa&13107)<<2,Pa=(Pa&61680)>>4|(Pa&3855)<<4,dg[ot]=((Pa&65280)>>8|(Pa&255)<<8)>>1;var Pa,ot,aa=function(r,A,e){for(var t=r.length,n=0,i=new Jn(A);n<t;++n)r[n]&&++i[r[n]-1];var a=new Jn(A);for(n=1;n<A;++n)a[n]=a[n-1]+i[n-1]<<1;var s;if(e){s=new Jn(1<<A);var c=15-A;for(n=0;n<t;++n)if(r[n])for(var d=n<<4|r[n],v=A-r[n],m=a[r[n]-1]++<<v,C=m|(1<<v)-1;m<=C;++m)s[dg[m]>>c]=d}else for(s=new Jn(t),n=0;n<t;++n)r[n]&&(s[n]=dg[a[r[n]-1]++]>>15-r[n]);return s},ps=new $r(288);for(ot=0;ot<144;++ot)ps[ot]=8;var ot;for(ot=144;ot<256;++ot)ps[ot]=9;var ot;for(ot=256;ot<280;++ot)ps[ot]=7;var ot;for(ot=280;ot<288;++ot)ps[ot]=8;var ot,Xu=new $r(32);for(ot=0;ot<32;++ot)Xu[ot]=5;var ot,Mb=aa(ps,9,0),Rb=aa(ps,9,1),kb=aa(Xu,5,0),Kb=aa(Xu,5,1),lg=function(r){for(var A=r[0],e=1;e<r.length;++e)r[e]>A&&(A=r[e]);return A},Ii=function(r,A,e){var t=A/8|0;return(r[t]|r[t+1]<<8)>>(A&7)&e},cg=function(r,A){var e=A/8|0;return(r[e]|r[e+1]<<8|r[e+2]<<16)>>(A&7)},Bg=function(r){return(r+7)/8|0},A1=function(r,A,e){return(A==null||A<0)&&(A=0),(e==null||e>r.length)&&(e=r.length),new $r(r.subarray(A,e))};var qb=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Si=function(r,A,e){var t=new Error(A||qb[r]);if(t.code=r,Error.captureStackTrace&&Error.captureStackTrace(t,Si),!e)throw t;return t},Vb=function(r,A,e,t){var n=r.length,i=t?t.length:0;if(!n||A.f&&!A.l)return e||new $r(0);var a=!e,s=a||A.i!=2,c=A.i;a&&(e=new $r(n*3));var d=function(MA){var Ae=e.length;if(MA>Ae){var $A=new $r(Math.max(Ae*2,MA));$A.set(e),e=$A}},v=A.f||0,m=A.p||0,C=A.b||0,p=A.l,x=A.d,Q=A.m,S=A.n,U=n*8;do{if(!p){v=Ii(r,m,1);var P=Ii(r,m+1,3);if(m+=3,P)if(P==1)p=Rb,x=Kb,Q=9,S=5;else if(P==2){var wA=Ii(r,m,31)+257,J=Ii(r,m+10,15)+4,z=wA+Ii(r,m+5,31)+1;m+=14;for(var hA=new $r(z),CA=new $r(19),_=0;_<J;++_)CA[fg[_]]=Ii(r,m+_*3,7);m+=J*3;for(var M=lg(CA),$=(1<<M)-1,G=aa(CA,M,1),_=0;_<z;){var yA=G[Ii(r,m,$)];m+=yA&15;var q=yA>>4;if(q<16)hA[_++]=q;else{var fA=0,UA=0;for(q==16?(UA=3+Ii(r,m,3),m+=2,fA=hA[_-1]):q==17?(UA=3+Ii(r,m,7),m+=3):q==18&&(UA=11+Ii(r,m,127),m+=7);UA--;)hA[_++]=fA}}var AA=hA.subarray(0,wA),vA=hA.subarray(wA);Q=lg(AA),S=lg(vA),p=aa(AA,Q,1),x=aa(vA,S,1)}else Si(1);else{var q=Bg(m)+4,Y=r[q-4]|r[q-3]<<8,uA=q+Y;if(uA>n){c&&Si(0);break}s&&d(C+Y),e.set(r.subarray(q,uA),C),A.b=C+=Y,A.p=m=uA*8,A.f=v;continue}if(m>U){c&&Si(0);break}}s&&d(C+131072);for(var QA=(1<<Q)-1,jA=(1<<S)-1,L=m;;L=m){var fA=p[cg(r,m)&QA],V=fA>>4;if(m+=fA&15,m>U){c&&Si(0);break}if(fA||Si(2),V<256)e[C++]=V;else if(V==256){L=m,p=null;break}else{var X=V-254;if(V>264){var _=V-257,Z=yc[_];X=Ii(r,m,(1<<Z)-1)+Z0[_],m+=Z}var sA=x[cg(r,m)&jA],mA=sA>>4;sA||Si(3),m+=sA&15;var vA=Db[mA];if(mA>3){var Z=Cc[mA];vA+=cg(r,m)&(1<<Z)-1,m+=Z}if(m>U){c&&Si(0);break}s&&d(C+131072);var FA=C+X;if(C<vA){var bA=i-vA,VA=Math.min(vA,FA);for(bA+C<0&&Si(3);C<VA;++C)e[C]=t[bA+C]}for(;C<FA;++C)e[C]=e[C-vA]}}A.l=p,A.p=L,A.b=C,A.f=v,p&&(v=1,A.m=Q,A.d=x,A.n=S)}while(!v);return C!=e.length&&a?A1(e,0,C):e.subarray(0,C)},_a=function(r,A,e){e<<=A&7;var t=A/8|0;r[t]|=e,r[t+1]|=e>>8},zu=function(r,A,e){e<<=A&7;var t=A/8|0;r[t]|=e,r[t+1]|=e>>8,r[t+2]|=e>>16},hg=function(r,A){for(var e=[],t=0;t<r.length;++t)r[t]&&e.push({s:t,f:r[t]});var n=e.length,i=e.slice();if(!n)return{t:t1,l:0};if(n==1){var a=new $r(e[0].s+1);return a[e[0].s]=1,{t:a,l:1}}e.sort(function(uA,wA){return uA.f-wA.f}),e.push({s:-1,f:25001});var s=e[0],c=e[1],d=0,v=1,m=2;for(e[0]={s:-1,f:s.f+c.f,l:s,r:c};v!=n-1;)s=e[e[d].f<e[m].f?d++:m++],c=e[d!=v&&e[d].f<e[m].f?d++:m++],e[v++]={s:-1,f:s.f+c.f,l:s,r:c};for(var C=i[0].s,t=1;t<n;++t)i[t].s>C&&(C=i[t].s);var p=new Jn(C+1),x=pg(e[v-1],p,0);if(x>A){var t=0,Q=0,S=x-A,U=1<<S;for(i.sort(function(wA,J){return p[J.s]-p[wA.s]||wA.f-J.f});t<n;++t){var P=i[t].s;if(p[P]>A)Q+=U-(1<<x-p[P]),p[P]=A;else break}for(Q>>=S;Q>0;){var q=i[t].s;p[q]<A?Q-=1<<A-p[q]++-1:++t}for(;t>=0&&Q;--t){var Y=i[t].s;p[Y]==A&&(--p[Y],++Q)}x=A}return{t:new $r(p),l:x}},pg=function(r,A,e){return r.s==-1?Math.max(pg(r.l,A,e+1),pg(r.r,A,e+1)):A[r.s]=e},W0=function(r){for(var A=r.length;A&&!r[--A];);for(var e=new Jn(++A),t=0,n=r[0],i=1,a=function(c){e[t++]=c},s=1;s<=A;++s)if(r[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=r[s]}return{c:e.subarray(0,t),n:A}},Wu=function(r,A){for(var e=0,t=0;t<A.length;++t)e+=r[t]*A[t];return e},e1=function(r,A,e){var t=e.length,n=Bg(A+2);r[n]=t&255,r[n+1]=t>>8,r[n+2]=r[n]^255,r[n+3]=r[n+1]^255;for(var i=0;i<t;++i)r[n+i+4]=e[i];return(n+4+t)*8},X0=function(r,A,e,t,n,i,a,s,c,d,v){_a(A,v++,e),++n[256];for(var m=hg(n,15),C=m.t,p=m.l,x=hg(i,15),Q=x.t,S=x.l,U=W0(C),P=U.c,q=U.n,Y=W0(Q),uA=Y.c,wA=Y.n,J=new Jn(19),z=0;z<P.length;++z)++J[P[z]&31];for(var z=0;z<uA.length;++z)++J[uA[z]&31];for(var hA=hg(J,7),CA=hA.t,_=hA.l,M=19;M>4&&!CA[fg[M-1]];--M);var $=d+5<<3,G=Wu(n,ps)+Wu(i,Xu)+a,yA=Wu(n,C)+Wu(i,Q)+a+14+3*M+Wu(J,CA)+2*J[16]+3*J[17]+7*J[18];if(c>=0&&$<=G&&$<=yA)return e1(A,v,r.subarray(c,c+d));var fA,UA,AA,vA;if(_a(A,v,1+(yA<G)),v+=2,yA<G){fA=aa(C,p,0),UA=C,AA=aa(Q,S,0),vA=Q;var QA=aa(CA,_,0);_a(A,v,q-257),_a(A,v+5,wA-1),_a(A,v+10,M-4),v+=14;for(var z=0;z<M;++z)_a(A,v+3*z,CA[fg[z]]);v+=3*M;for(var jA=[P,uA],L=0;L<2;++L)for(var V=jA[L],z=0;z<V.length;++z){var X=V[z]&31;_a(A,v,QA[X]),v+=CA[X],X>15&&(_a(A,v,V[z]>>5&127),v+=V[z]>>12)}}else fA=Mb,UA=ps,AA=kb,vA=Xu;for(var z=0;z<s;++z){var Z=t[z];if(Z>255){var X=Z>>18&31;zu(A,v,fA[X+257]),v+=UA[X+257],X>7&&(_a(A,v,Z>>23&31),v+=yc[X]);var sA=Z&31;zu(A,v,AA[sA]),v+=vA[sA],sA>3&&(zu(A,v,Z>>5&8191),v+=Cc[sA])}else zu(A,v,fA[Z]),v+=UA[Z]}return zu(A,v,fA[256]),v+UA[256]},jb=new vg([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),t1=new $r(0),Gb=function(r,A,e,t,n,i){var a=i.z||r.length,s=new $r(t+a+5*(1+Math.ceil(a/7e3))+n),c=s.subarray(t,s.length-n),d=i.l,v=(i.r||0)&7;if(A){v&&(c[0]=i.r>>3);for(var m=jb[A-1],C=m>>13,p=m&8191,x=(1<<e)-1,Q=i.p||new Jn(32768),S=i.h||new Jn(x+1),U=Math.ceil(e/3),P=2*U,q=function(pe){return(r[pe]^r[pe+1]<<U^r[pe+2]<<P)&x},Y=new vg(25e3),uA=new Jn(288),wA=new Jn(32),J=0,z=0,hA=i.i||0,CA=0,_=i.w||0,M=0;hA+2<a;++hA){var $=q(hA),G=hA&32767,yA=S[$];if(Q[G]=yA,S[$]=G,_<=hA){var fA=a-hA;if((J>7e3||CA>24576)&&(fA>423||!d)){v=X0(r,c,0,Y,uA,wA,z,CA,M,hA-M,v),CA=J=z=0,M=hA;for(var UA=0;UA<286;++UA)uA[UA]=0;for(var UA=0;UA<30;++UA)wA[UA]=0}var AA=2,vA=0,QA=p,jA=G-yA&32767;if(fA>2&&$==q(hA-jA))for(var L=Math.min(C,fA)-1,V=Math.min(32767,hA),X=Math.min(258,fA);jA<=V&&--QA&&G!=yA;){if(r[hA+AA]==r[hA+AA-jA]){for(var Z=0;Z<X&&r[hA+Z]==r[hA+Z-jA];++Z);if(Z>AA){if(AA=Z,vA=jA,Z>L)break;for(var sA=Math.min(jA,Z-2),mA=0,UA=0;UA<sA;++UA){var FA=hA-jA+UA&32767,bA=Q[FA],VA=FA-bA&32767;VA>mA&&(mA=VA,yA=FA)}}}G=yA,yA=Q[G],jA+=G-yA&32767}if(vA){Y[CA++]=268435456|gg[AA]<<18|z0[vA];var MA=gg[AA]&31,Ae=z0[vA]&31;z+=yc[MA]+Cc[Ae],++uA[257+MA],++wA[Ae],_=hA+AA,++J}else Y[CA++]=r[hA],++uA[r[hA]]}}for(hA=Math.max(hA,_);hA<a;++hA)Y[CA++]=r[hA],++uA[r[hA]];v=X0(r,c,d,Y,uA,wA,z,CA,M,hA-M,v),d||(i.r=v&7|c[v/8|0]<<3,v-=7,i.h=S,i.p=Q,i.i=hA,i.w=_)}else{for(var hA=i.w||0;hA<a+d;hA+=65535){var $A=hA+65535;$A>=a&&(c[v/8|0]=d,$A=a),v=e1(c,v+1,r.subarray(hA,$A))}i.i=a}return A1(s,0,t+Bg(v)+n)};var r1=function(){var r=1,A=0;return{p:function(e){for(var t=r,n=A,i=e.length|0,a=0;a!=i;){for(var s=Math.min(a+2655,i);a<s;++a)n+=t+=e[a];t=(t&65535)+15*(t>>16),n=(n&65535)+15*(n>>16)}r=t,A=n},d:function(){return r%=65521,A%=65521,(r&255)<<24|(r&65280)<<8|(A&255)<<8|A>>8}}},zb=function(r,A,e,t,n){if(!n&&(n={l:1},A.dictionary)){var i=A.dictionary.subarray(-32768),a=new $r(i.length+r.length);a.set(i),a.set(r,i.length),r=a,n.w=i.length}return Gb(r,A.level==null?6:A.level,A.mem==null?n.l?Math.ceil(Math.max(8,Math.min(13,Math.log(r.length)))*1.5):20:12+A.mem,e,t,n)};var n1=function(r,A,e){for(;e;++A)r[A]=e,e>>>=8};var Wb=function(r,A){var e=A.level,t=e==0?0:e<6?1:e==9?3:2;if(r[0]=120,r[1]=t<<6|(A.dictionary&&32),r[1]|=31-(r[0]<<8|r[1])%31,A.dictionary){var n=r1();n.p(A.dictionary),n1(r,2,n.d())}},Xb=function(r,A){return((r[0]&15)!=8||r[0]>>4>7||(r[0]<<8|r[1])%31)&&Si(6,"invalid zlib data"),(r[1]>>5&1)==+!A&&Si(6,"invalid zlib data: "+(r[1]&32?"need":"unexpected")+" dictionary"),(r[1]>>3&4)+2};function bc(r,A){A||(A={});var e=r1();e.p(r);var t=zb(r,A,A.dictionary?6:2,4);return Wb(t,A),n1(t,t.length-4,e.d()),t}function i1(r,A){return Vb(r.subarray(Xb(r,A&&A.dictionary),-4),{i:2},A&&A.out,A&&A.dictionary)}var Yb=typeof TextDecoder<"u"&&new TextDecoder,Jb=0;try{Yb.decode(t1,{stream:!0}),Jb=1}catch{}/** @license
|
|
328
|
+
*
|
|
329
|
+
* jsPDF - PDF Document creation from JavaScript
|
|
330
|
+
* Version 2.5.2 Built on 2024-09-17T13:29:57.859Z
|
|
331
|
+
* CommitID 00000000
|
|
332
|
+
*
|
|
333
|
+
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
334
|
+
* 2015-2021 yWorks GmbH, http://www.yworks.com
|
|
335
|
+
* 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
|
|
336
|
+
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
|
|
337
|
+
* 2010 Aaron Spike, https://github.com/acspike
|
|
338
|
+
* 2012 Willow Systems Corporation, https://github.com/willowsystems
|
|
339
|
+
* 2012 Pablo Hess, https://github.com/pablohess
|
|
340
|
+
* 2012 Florian Jenett, https://github.com/fjenett
|
|
341
|
+
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
342
|
+
* 2013 Youssef Beddad, https://github.com/lifof
|
|
343
|
+
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
344
|
+
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
345
|
+
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
346
|
+
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
347
|
+
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
348
|
+
* 2014 James Makes, https://github.com/dollaruw
|
|
349
|
+
* 2014 Diego Casorran, https://github.com/diegocr
|
|
350
|
+
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
351
|
+
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
352
|
+
*
|
|
353
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
|
354
|
+
* a copy of this software and associated documentation files (the
|
|
355
|
+
* "Software"), to deal in the Software without restriction, including
|
|
356
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
|
357
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
358
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
|
359
|
+
* the following conditions:
|
|
360
|
+
*
|
|
361
|
+
* The above copyright notice and this permission notice shall be
|
|
362
|
+
* included in all copies or substantial portions of the Software.
|
|
363
|
+
*
|
|
364
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
365
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
366
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
367
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
368
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
369
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
370
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
371
|
+
*
|
|
372
|
+
* Contributor(s):
|
|
373
|
+
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
374
|
+
* kim3er, mfo, alnorth, Flamenco
|
|
375
|
+
*/var Le=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function Wp(){Le.console&&typeof Le.console.log=="function"&&Le.console.log.apply(Le.console,arguments)}var Ct={log:Wp,warn:function(r){Le.console&&(typeof Le.console.warn=="function"?Le.console.warn.apply(Le.console,arguments):Wp.call(null,arguments))},error:function(r){Le.console&&(typeof Le.console.error=="function"?Le.console.error.apply(Le.console,arguments):Wp(r))}};function Xp(r,A,e){var t=new XMLHttpRequest;t.open("GET",r),t.responseType="blob",t.onload=function(){so(t.response,A,e)},t.onerror=function(){Ct.error("could not download file")},t.send()}function Dy(r){var A=new XMLHttpRequest;A.open("HEAD",r,!1);try{A.send()}catch{}return A.status>=200&&A.status<=299}function hf(r){try{r.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),r.dispatchEvent(A)}}var Ol,A0,so=Le.saveAs||((typeof window>"u"?"undefined":$e(window))!=="object"||window!==Le?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(r,A,e){var t=Le.URL||Le.webkitURL,n=document.createElement("a");A=A||r.name||"download",n.download=A,n.rel="noopener",typeof r=="string"?(n.href=r,n.origin!==location.origin?Dy(n.href)?Xp(r,A,e):hf(n,n.target="_blank"):hf(n)):(n.href=t.createObjectURL(r),setTimeout(function(){t.revokeObjectURL(n.href)},4e4),setTimeout(function(){hf(n)},0))}:"msSaveOrOpenBlob"in navigator?function(r,A,e){if(A=A||r.name||"download",typeof r=="string")if(Dy(r))Xp(r,A,e);else{var t=document.createElement("a");t.href=r,t.target="_blank",setTimeout(function(){hf(t)})}else navigator.msSaveOrOpenBlob(function(n,i){return i===void 0?i={autoBom:!1}:$e(i)!=="object"&&(Ct.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(["\uFEFF",n],{type:n.type}):n}(r,e),A)}:function(r,A,e,t){if((t=t||open("","_blank"))&&(t.document.title=t.document.body.innerText="downloading..."),typeof r=="string")return Xp(r,A,e);var n=r.type==="application/octet-stream",i=/constructor/i.test(Le.HTMLElement)||Le.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||n&&i)&&(typeof FileReader>"u"?"undefined":$e(FileReader))==="object"){var s=new FileReader;s.onloadend=function(){var v=s.result;v=a?v:v.replace(/^data:[^;]*;/,"data:attachment/file;"),t?t.location.href=v:location=v,t=null},s.readAsDataURL(r)}else{var c=Le.URL||Le.webkitURL,d=c.createObjectURL(r);t?t.location=d:location.href=d,t=null,setTimeout(function(){c.revokeObjectURL(d)},4e4)}});/**
|
|
376
|
+
* A class to parse color values
|
|
377
|
+
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|
378
|
+
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
|
379
|
+
* @license Use it if you like it
|
|
380
|
+
*/function eC(r){var A;r=r||"",this.ok=!1,r.charAt(0)=="#"&&(r=r.substr(1,6)),r={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"}[r=(r=r.replace(/ /g,"")).toLowerCase()]||r;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)]}}],t=0;t<e.length;t++){var n=e[t].re,i=e[t].process,a=n.exec(r);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),c=this.g.toString(16),d=this.b.toString(16);return s.length==1&&(s="0"+s),c.length==1&&(c="0"+c),d.length==1&&(d="0"+d),"#"+s+c+d}}/**
|
|
381
|
+
* @license
|
|
382
|
+
* Joseph Myers does not specify a particular license for his work.
|
|
383
|
+
*
|
|
384
|
+
* Author: Joseph Myers
|
|
385
|
+
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
|
386
|
+
*
|
|
387
|
+
* Modified by: Owen Leong
|
|
388
|
+
*/function Yp(r,A){var e=r[0],t=r[1],n=r[2],i=r[3];e=tn(e,t,n,i,A[0],7,-680876936),i=tn(i,e,t,n,A[1],12,-389564586),n=tn(n,i,e,t,A[2],17,606105819),t=tn(t,n,i,e,A[3],22,-1044525330),e=tn(e,t,n,i,A[4],7,-176418897),i=tn(i,e,t,n,A[5],12,1200080426),n=tn(n,i,e,t,A[6],17,-1473231341),t=tn(t,n,i,e,A[7],22,-45705983),e=tn(e,t,n,i,A[8],7,1770035416),i=tn(i,e,t,n,A[9],12,-1958414417),n=tn(n,i,e,t,A[10],17,-42063),t=tn(t,n,i,e,A[11],22,-1990404162),e=tn(e,t,n,i,A[12],7,1804603682),i=tn(i,e,t,n,A[13],12,-40341101),n=tn(n,i,e,t,A[14],17,-1502002290),e=rn(e,t=tn(t,n,i,e,A[15],22,1236535329),n,i,A[1],5,-165796510),i=rn(i,e,t,n,A[6],9,-1069501632),n=rn(n,i,e,t,A[11],14,643717713),t=rn(t,n,i,e,A[0],20,-373897302),e=rn(e,t,n,i,A[5],5,-701558691),i=rn(i,e,t,n,A[10],9,38016083),n=rn(n,i,e,t,A[15],14,-660478335),t=rn(t,n,i,e,A[4],20,-405537848),e=rn(e,t,n,i,A[9],5,568446438),i=rn(i,e,t,n,A[14],9,-1019803690),n=rn(n,i,e,t,A[3],14,-187363961),t=rn(t,n,i,e,A[8],20,1163531501),e=rn(e,t,n,i,A[13],5,-1444681467),i=rn(i,e,t,n,A[2],9,-51403784),n=rn(n,i,e,t,A[7],14,1735328473),e=nn(e,t=rn(t,n,i,e,A[12],20,-1926607734),n,i,A[5],4,-378558),i=nn(i,e,t,n,A[8],11,-2022574463),n=nn(n,i,e,t,A[11],16,1839030562),t=nn(t,n,i,e,A[14],23,-35309556),e=nn(e,t,n,i,A[1],4,-1530992060),i=nn(i,e,t,n,A[4],11,1272893353),n=nn(n,i,e,t,A[7],16,-155497632),t=nn(t,n,i,e,A[10],23,-1094730640),e=nn(e,t,n,i,A[13],4,681279174),i=nn(i,e,t,n,A[0],11,-358537222),n=nn(n,i,e,t,A[3],16,-722521979),t=nn(t,n,i,e,A[6],23,76029189),e=nn(e,t,n,i,A[9],4,-640364487),i=nn(i,e,t,n,A[12],11,-421815835),n=nn(n,i,e,t,A[15],16,530742520),e=an(e,t=nn(t,n,i,e,A[2],23,-995338651),n,i,A[0],6,-198630844),i=an(i,e,t,n,A[7],10,1126891415),n=an(n,i,e,t,A[14],15,-1416354905),t=an(t,n,i,e,A[5],21,-57434055),e=an(e,t,n,i,A[12],6,1700485571),i=an(i,e,t,n,A[3],10,-1894986606),n=an(n,i,e,t,A[10],15,-1051523),t=an(t,n,i,e,A[1],21,-2054922799),e=an(e,t,n,i,A[8],6,1873313359),i=an(i,e,t,n,A[15],10,-30611744),n=an(n,i,e,t,A[6],15,-1560198380),t=an(t,n,i,e,A[13],21,1309151649),e=an(e,t,n,i,A[4],6,-145523070),i=an(i,e,t,n,A[11],10,-1120210379),n=an(n,i,e,t,A[2],15,718787259),t=an(t,n,i,e,A[9],21,-343485551),r[0]=xs(e,r[0]),r[1]=xs(t,r[1]),r[2]=xs(n,r[2]),r[3]=xs(i,r[3])}function Cf(r,A,e,t,n,i){return A=xs(xs(A,r),xs(t,i)),xs(A<<n|A>>>32-n,e)}function tn(r,A,e,t,n,i,a){return Cf(A&e|~A&t,r,A,n,i,a)}function rn(r,A,e,t,n,i,a){return Cf(A&t|e&~t,r,A,n,i,a)}function nn(r,A,e,t,n,i,a){return Cf(A^e^t,r,A,n,i,a)}function an(r,A,e,t,n,i,a){return Cf(e^(A|~t),r,A,n,i,a)}function tC(r){var A,e=r.length,t=[1732584193,-271733879,-1732584194,271733878];for(A=64;A<=r.length;A+=64)Yp(t,XN(r.substring(A-64,A)));r=r.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<r.length;A++)n[A>>2]|=r.charCodeAt(A)<<(A%4<<3);if(n[A>>2]|=128<<(A%4<<3),A>55)for(Yp(t,n),A=0;A<16;A++)n[A]=0;return n[14]=8*e,Yp(t,n),t}function XN(r){var A,e=[];for(A=0;A<64;A+=4)e[A>>2]=r.charCodeAt(A)+(r.charCodeAt(A+1)<<8)+(r.charCodeAt(A+2)<<16)+(r.charCodeAt(A+3)<<24);return e}Ol=Le.atob.bind(Le),A0=Le.btoa.bind(Le);var My="0123456789abcdef".split("");function YN(r){for(var A="",e=0;e<4;e++)A+=My[r>>8*e+4&15]+My[r>>8*e&15];return A}function JN(r){return String.fromCharCode((255&r)>>0,(65280&r)>>8,(16711680&r)>>16,(4278190080&r)>>24)}function e0(r){return tC(r).map(JN).join("")}var ZN=function(r){for(var A=0;A<r.length;A++)r[A]=YN(r[A]);return r.join("")}(tC("hello"))!="5d41402abc4b2a76b9719d911017c592";function xs(r,A){if(ZN){var e=(65535&r)+(65535&A);return(r>>16)+(A>>16)+(e>>16)<<16|65535&e}return r+A&4294967295}/**
|
|
389
|
+
* @license
|
|
390
|
+
* FPDF is released under a permissive license: there is no usage restriction.
|
|
391
|
+
* You may embed it freely in your application (commercial or not), with or
|
|
392
|
+
* without modifications.
|
|
393
|
+
*
|
|
394
|
+
* Reference: http://www.fpdf.org/en/script/script37.php
|
|
395
|
+
*/function t0(r,A){var e,t,n,i;if(r!==e){for(var a=(n=r,i=1+(256/r.length>>0),new Array(i+1).join(n)),s=[],c=0;c<256;c++)s[c]=c;var d=0;for(c=0;c<256;c++){var v=s[c];d=(d+v+a.charCodeAt(c))%256,s[c]=s[d],s[d]=v}e=r,t=s}else s=t;var m=A.length,C=0,p=0,x="";for(c=0;c<m;c++)p=(p+(v=s[C=(C+1)%256]))%256,s[C]=s[p],s[p]=v,a=s[(s[C]+s[p])%256],x+=String.fromCharCode(A.charCodeAt(c)^a);return x}/**
|
|
396
|
+
* @license
|
|
397
|
+
* Licensed under the MIT License.
|
|
398
|
+
* http://opensource.org/licenses/mit-license
|
|
399
|
+
* Author: Owen Leong (@owenl131)
|
|
400
|
+
* Date: 15 Oct 2020
|
|
401
|
+
* References:
|
|
402
|
+
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
|
403
|
+
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
|
404
|
+
* http://www.fpdf.org/en/script/script37.php
|
|
405
|
+
*/var Ry={print:4,modify:8,copy:16,"annot-forms":32};function pu(r,A,e,t){this.v=1,this.r=2;var n=192;r.forEach(function(s){if(Ry.perm!==void 0)throw new Error("Invalid permission: "+s);n+=Ry[s]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";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=e0(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(t)).substr(0,5),this.U=t0(this.encryptionKey,this.padding)}function vu(r){if(/[^\u0000-\u00ff]/.test(r))throw new Error("Invalid PDF Name Object: "+r+", Only accept ASCII characters.");for(var A="",e=r.length,t=0;t<e;t++){var n=r.charCodeAt(t);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+=r[t]}return A}function ky(r){if($e(r)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var A={};this.subscribe=function(e,t,n){if(n=n||!1,typeof e!="string"||typeof t!="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]=[t,!!n],i},this.unsubscribe=function(e){for(var t in A)if(A[t][e])return delete A[t][e],Object.keys(A[t]).length===0&&delete A[t],!0;return!1},this.publish=function(e){if(A.hasOwnProperty(e)){var t=Array.prototype.slice.call(arguments,1),n=[];for(var i in A[e]){var a=A[e][i];try{a[0].apply(r,t)}catch(s){Le.console&&Ct.error("jsPDF PubSub Error",s.message,s)}a[1]&&n.push(i)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return A}}function mf(r){if(!(this instanceof mf))return new mf(r);var A="opacity,stroke-opacity".split(",");for(var e in r)r.hasOwnProperty(e)&&A.indexOf(e)>=0&&(this[e]=r[e]);this.id="",this.objectNumber=-1}function rC(r,A){this.gState=r,this.matrix=A,this.id="",this.objectNumber=-1}function oo(r,A,e,t,n){if(!(this instanceof oo))return new oo(r,A,e,t,n);this.type=r==="axial"?2:3,this.coords=A,this.colors=e,rC.call(this,t,n)}function Bu(r,A,e,t,n){if(!(this instanceof Bu))return new Bu(r,A,e,t,n);this.boundingBox=r,this.xStep=A,this.yStep=e,this.stream="",this.cloneIndex=0,rC.call(this,t,n)}function Ue(r){var A,e=typeof arguments[0]=="string"?arguments[0]:"p",t=arguments[1],n=arguments[2],i=arguments[3],a=[],s=1,c=16,d="S",v=null;$e(r=r||{})==="object"&&(e=r.orientation,t=r.unit||t,n=r.format||n,i=r.compress||r.compressPdf||i,(v=r.encryption||null)!==null&&(v.userPassword=v.userPassword||"",v.ownerPassword=v.ownerPassword||"",v.userPermissions=v.userPermissions||[]),s=typeof r.userUnit=="number"?Math.abs(r.userUnit):1,r.precision!==void 0&&(A=r.precision),r.floatPrecision!==void 0&&(c=r.floatPrecision),d=r.defaultPathOperation||"S"),a=r.filters||(i===!0?["FlateEncode"]:a),t=t||"mm",e=(""+(e||"P")).toLowerCase();var m=r.putOnlyUsedFonts||!1,C={},p={internal:{},__private__:{}};p.__private__.PubSub=ky;var x="1.3",Q=p.__private__.getPdfVersion=function(){return x};p.__private__.setPdfVersion=function(B){x=B};var S={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]};p.__private__.getPageFormats=function(){return S};var U=p.__private__.getPageFormat=function(B){return S[B]};n=n||"a4";var P={COMPAT:"compat",ADVANCED:"advanced"},q=P.COMPAT;function Y(){this.saveGraphicsState(),W(new we(_A,0,0,-_A,0,Vn()*_A).toString()+" cm"),this.setFontSize(this.getFontSize()/_A),d="n",q=P.ADVANCED}function uA(){this.restoreGraphicsState(),d="S",q=P.COMPAT}var wA=p.__private__.combineFontStyleAndFontWeight=function(B,I){if(B=="bold"&&I=="normal"||B=="bold"&&I==400||B=="normal"&&I=="italic"||B=="bold"&&I=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return I&&(B=I==400||I==="normal"?B==="italic"?"italic":"normal":I!=700&&I!=="bold"||B!=="normal"?(I==700?"bold":I)+""+B:"bold"),B};p.advancedAPI=function(B){var I=q===P.COMPAT;return I&&Y.call(this),typeof B!="function"||(B(this),I&&uA.call(this)),this},p.compatAPI=function(B){var I=q===P.ADVANCED;return I&&uA.call(this),typeof B!="function"||(B(this),I&&Y.call(this)),this},p.isAdvancedAPI=function(){return q===P.ADVANCED};var J,z=function(B){if(q!==P.ADVANCED)throw new Error(B+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},hA=p.roundToPrecision=p.__private__.roundToPrecision=function(B,I){var j=A||I;if(isNaN(B)||isNaN(j))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return B.toFixed(j).replace(/0+$/,"")};J=p.hpf=p.__private__.hpf=typeof c=="number"?function(B){if(isNaN(B))throw new Error("Invalid argument passed to jsPDF.hpf");return hA(B,c)}:c==="smart"?function(B){if(isNaN(B))throw new Error("Invalid argument passed to jsPDF.hpf");return hA(B,B>-1&&B<1?16:5)}:function(B){if(isNaN(B))throw new Error("Invalid argument passed to jsPDF.hpf");return hA(B,16)};var CA=p.f2=p.__private__.f2=function(B){if(isNaN(B))throw new Error("Invalid argument passed to jsPDF.f2");return hA(B,2)},_=p.__private__.f3=function(B){if(isNaN(B))throw new Error("Invalid argument passed to jsPDF.f3");return hA(B,3)},M=p.scale=p.__private__.scale=function(B){if(isNaN(B))throw new Error("Invalid argument passed to jsPDF.scale");return q===P.COMPAT?B*_A:q===P.ADVANCED?B:void 0},$=function(B){return q===P.COMPAT?Vn()-B:q===P.ADVANCED?B:void 0},G=function(B){return M($(B))};p.__private__.setPrecision=p.setPrecision=function(B){typeof parseInt(B,10)=="number"&&(A=parseInt(B,10))};var yA,fA="00000000000000000000000000000000",UA=p.__private__.getFileId=function(){return fA},AA=p.__private__.setFileId=function(B){return fA=B!==void 0&&/^[a-fA-F0-9]{32}$/.test(B)?B.toUpperCase():fA.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),v!==null&&(Ye=new pu(v.userPermissions,v.userPassword,v.ownerPassword,fA)),fA};p.setFileId=function(B){return AA(B),this},p.getFileId=function(){return UA()};var vA=p.__private__.convertDateToPDFDate=function(B){var I=B.getTimezoneOffset(),j=I<0?"+":"-",eA=Math.floor(Math.abs(I/60)),gA=Math.abs(I%60),IA=[j,X(eA),"'",X(gA),"'"].join("");return["D:",B.getFullYear(),X(B.getMonth()+1),X(B.getDate()),X(B.getHours()),X(B.getMinutes()),X(B.getSeconds()),IA].join("")},QA=p.__private__.convertPDFDateToDate=function(B){var I=parseInt(B.substr(2,4),10),j=parseInt(B.substr(6,2),10)-1,eA=parseInt(B.substr(8,2),10),gA=parseInt(B.substr(10,2),10),IA=parseInt(B.substr(12,2),10),RA=parseInt(B.substr(14,2),10);return new Date(I,j,eA,gA,IA,RA,0)},jA=p.__private__.setCreationDate=function(B){var I;if(B===void 0&&(B=new Date),B instanceof Date)I=vA(B);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(B))throw new Error("Invalid argument passed to jsPDF.setCreationDate");I=B}return yA=I},L=p.__private__.getCreationDate=function(B){var I=yA;return B==="jsDate"&&(I=QA(yA)),I};p.setCreationDate=function(B){return jA(B),this},p.getCreationDate=function(B){return L(B)};var V,X=p.__private__.padd2=function(B){return("0"+parseInt(B)).slice(-2)},Z=p.__private__.padd2Hex=function(B){return("00"+(B=B.toString())).substr(B.length)},sA=0,mA=[],FA=[],bA=0,VA=[],MA=[],Ae=!1,$A=FA,pe=function(){sA=0,bA=0,FA=[],mA=[],VA=[],zr=Re(),sn=Re()};p.__private__.setCustomOutputDestination=function(B){Ae=!0,$A=B};var EA=function(B){Ae||($A=B)};p.__private__.resetCustomOutputDestination=function(){Ae=!1,$A=FA};var W=p.__private__.out=function(B){return B=B.toString(),bA+=B.length+1,$A.push(B),$A},Ce=p.__private__.write=function(B){return W(arguments.length===1?B.toString():Array.prototype.join.call(arguments," "))},ce=p.__private__.getArrayBuffer=function(B){for(var I=B.length,j=new ArrayBuffer(I),eA=new Uint8Array(j);I--;)eA[I]=B.charCodeAt(I);return j},KA=[["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]];p.__private__.getStandardFonts=function(){return KA};var zA=r.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(B){return zA=q===P.ADVANCED?B/_A:B,this};var XA,WA=p.__private__.getFontSize=p.getFontSize=function(){return q===P.COMPAT?zA:zA*_A},oe=r.R2L||!1;p.__private__.setR2L=p.setR2L=function(B){return oe=B,this},p.__private__.getR2L=p.getR2L=function(){return oe};var he,Ie=p.__private__.setZoomMode=function(B){var I=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(B))XA=B;else if(isNaN(B)){if(I.indexOf(B)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+B+'" is not recognized.');XA=B}else XA=parseInt(B,10)};p.__private__.getZoomMode=function(){return XA};var LA,OA=p.__private__.setPageMode=function(B){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(B)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+B+'" is not recognized.');he=B};p.__private__.getPageMode=function(){return he};var JA=p.__private__.setLayoutMode=function(B){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(B)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+B+'" is not recognized.');LA=B};p.__private__.getLayoutMode=function(){return LA},p.__private__.setDisplayMode=p.setDisplayMode=function(B,I,j){return Ie(B),JA(I),OA(j),this};var GA={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(B){if(Object.keys(GA).indexOf(B)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return GA[B]},p.__private__.getDocumentProperties=function(){return GA},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(B){for(var I in GA)GA.hasOwnProperty(I)&&B[I]&&(GA[I]=B[I]);return this},p.__private__.setDocumentProperty=function(B,I){if(Object.keys(GA).indexOf(B)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return GA[B]=I};var ue,_A,De,be,gt,Ge={},We={},xr=[],Me={},Vt={},Je={},Ar={},ut=null,lt=0,Fe=[],ze=new ky(p),Nt=r.hotfixes||[],Ut={},Er={},jr=[],we=function B(I,j,eA,gA,IA,RA){if(!(this instanceof B))return new B(I,j,eA,gA,IA,RA);isNaN(I)&&(I=1),isNaN(j)&&(j=0),isNaN(eA)&&(eA=0),isNaN(gA)&&(gA=1),isNaN(IA)&&(IA=0),isNaN(RA)&&(RA=0),this._matrix=[I,j,eA,gA,IA,RA]};Object.defineProperty(we.prototype,"sx",{get:function(){return this._matrix[0]},set:function(B){this._matrix[0]=B}}),Object.defineProperty(we.prototype,"shy",{get:function(){return this._matrix[1]},set:function(B){this._matrix[1]=B}}),Object.defineProperty(we.prototype,"shx",{get:function(){return this._matrix[2]},set:function(B){this._matrix[2]=B}}),Object.defineProperty(we.prototype,"sy",{get:function(){return this._matrix[3]},set:function(B){this._matrix[3]=B}}),Object.defineProperty(we.prototype,"tx",{get:function(){return this._matrix[4]},set:function(B){this._matrix[4]=B}}),Object.defineProperty(we.prototype,"ty",{get:function(){return this._matrix[5]},set:function(B){this._matrix[5]=B}}),Object.defineProperty(we.prototype,"a",{get:function(){return this._matrix[0]},set:function(B){this._matrix[0]=B}}),Object.defineProperty(we.prototype,"b",{get:function(){return this._matrix[1]},set:function(B){this._matrix[1]=B}}),Object.defineProperty(we.prototype,"c",{get:function(){return this._matrix[2]},set:function(B){this._matrix[2]=B}}),Object.defineProperty(we.prototype,"d",{get:function(){return this._matrix[3]},set:function(B){this._matrix[3]=B}}),Object.defineProperty(we.prototype,"e",{get:function(){return this._matrix[4]},set:function(B){this._matrix[4]=B}}),Object.defineProperty(we.prototype,"f",{get:function(){return this._matrix[5]},set:function(B){this._matrix[5]=B}}),Object.defineProperty(we.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(we.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(we.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(we.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),we.prototype.join=function(B){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(J).join(B)},we.prototype.multiply=function(B){var I=B.sx*this.sx+B.shy*this.shx,j=B.sx*this.shy+B.shy*this.sy,eA=B.shx*this.sx+B.sy*this.shx,gA=B.shx*this.shy+B.sy*this.sy,IA=B.tx*this.sx+B.ty*this.shx+this.tx,RA=B.tx*this.shy+B.ty*this.sy+this.ty;return new we(I,j,eA,gA,IA,RA)},we.prototype.decompose=function(){var B=this.sx,I=this.shy,j=this.shx,eA=this.sy,gA=this.tx,IA=this.ty,RA=Math.sqrt(B*B+I*I),re=(B/=RA)*j+(I/=RA)*eA;j-=B*re,eA-=I*re;var Be=Math.sqrt(j*j+eA*eA);return re/=Be,B*(eA/=Be)<I*(j/=Be)&&(B=-B,I=-I,re=-re,RA=-RA),{scale:new we(RA,0,0,Be,0,0),translate:new we(1,0,0,1,gA,IA),rotate:new we(B,I,-I,B,0,0),skew:new we(1,0,re,1,0,0)}},we.prototype.toString=function(B){return this.join(" ")},we.prototype.inversed=function(){var B=this.sx,I=this.shy,j=this.shx,eA=this.sy,gA=this.tx,IA=this.ty,RA=1/(B*eA-I*j),re=eA*RA,Be=-I*RA,Te=-j*RA,Ee=B*RA;return new we(re,Be,Te,Ee,-re*gA-Te*IA,-Be*gA-Ee*IA)},we.prototype.applyToPoint=function(B){var I=B.x*this.sx+B.y*this.shx+this.tx,j=B.x*this.shy+B.y*this.sy+this.ty;return new Za(I,j)},we.prototype.applyToRectangle=function(B){var I=this.applyToPoint(B),j=this.applyToPoint(new Za(B.x+B.w,B.y+B.h));return new Ss(I.x,I.y,j.x-I.x,j.y-I.y)},we.prototype.clone=function(){var B=this.sx,I=this.shy,j=this.shx,eA=this.sy,gA=this.tx,IA=this.ty;return new we(B,I,j,eA,gA,IA)},p.Matrix=we;var Gr=p.matrixMult=function(B,I){return I.multiply(B)},Se=new we(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=Se;var er=function(B,I){if(!Vt[B]){var j=(I instanceof oo?"Sh":"P")+(Object.keys(Me).length+1).toString(10);I.id=j,Vt[B]=j,Me[j]=I,ze.publish("addPattern",I)}};p.ShadingPattern=oo,p.TilingPattern=Bu,p.addShadingPattern=function(B,I){return z("addShadingPattern()"),er(B,I),this},p.beginTilingPattern=function(B){z("beginTilingPattern()"),ho(B.boundingBox[0],B.boundingBox[1],B.boundingBox[2]-B.boundingBox[0],B.boundingBox[3]-B.boundingBox[1],B.matrix)},p.endTilingPattern=function(B,I){z("endTilingPattern()"),I.stream=MA[V].join(`
|
|
406
|
+
`),er(B,I),ze.publish("endTilingPattern",I),jr.pop().restore()};var bt=p.__private__.newObject=function(){var B=Re();return tr(B,!0),B},Re=p.__private__.newObjectDeferred=function(){return sA++,mA[sA]=function(){return bA},sA},tr=function(B,I){return I=typeof I=="boolean"&&I,mA[B]=bA,I&&W(B+" 0 obj"),B},Dn=p.__private__.newAdditionalObject=function(){var B={objId:Re(),content:""};return VA.push(B),B},zr=Re(),sn=Re(),Wr=p.__private__.decodeColorString=function(B){var I=B.split(" ");if(I.length!==2||I[1]!=="g"&&I[1]!=="G")I.length===5&&(I[4]==="k"||I[4]==="K")&&(I=[(1-I[0])*(1-I[3]),(1-I[1])*(1-I[3]),(1-I[2])*(1-I[3]),"r"]);else{var j=parseFloat(I[0]);I=[j,j,j,"r"]}for(var eA="#",gA=0;gA<3;gA++)eA+=("0"+Math.floor(255*parseFloat(I[gA])).toString(16)).slice(-2);return eA},on=p.__private__.encodeColorString=function(B){var I;typeof B=="string"&&(B={ch1:B});var j=B.ch1,eA=B.ch2,gA=B.ch3,IA=B.ch4,RA=B.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof j=="string"&&j.charAt(0)!=="#"){var re=new eC(j);if(re.ok)j=re.toHex();else if(!/^\d*\.?\d*$/.test(j))throw new Error('Invalid color "'+j+'" passed to jsPDF.encodeColorString.')}if(typeof j=="string"&&/^#[0-9A-Fa-f]{3}$/.test(j)&&(j="#"+j[1]+j[1]+j[2]+j[2]+j[3]+j[3]),typeof j=="string"&&/^#[0-9A-Fa-f]{6}$/.test(j)){var Be=parseInt(j.substr(1),16);j=Be>>16&255,eA=Be>>8&255,gA=255&Be}if(eA===void 0||IA===void 0&&j===eA&&eA===gA)if(typeof j=="string")I=j+" "+RA[0];else switch(B.precision){case 2:I=CA(j/255)+" "+RA[0];break;case 3:default:I=_(j/255)+" "+RA[0]}else if(IA===void 0||$e(IA)==="object"){if(IA&&!isNaN(IA.a)&&IA.a===0)return I=["1.","1.","1.",RA[1]].join(" ");if(typeof j=="string")I=[j,eA,gA,RA[1]].join(" ");else switch(B.precision){case 2:I=[CA(j/255),CA(eA/255),CA(gA/255),RA[1]].join(" ");break;default:case 3:I=[_(j/255),_(eA/255),_(gA/255),RA[1]].join(" ")}}else if(typeof j=="string")I=[j,eA,gA,IA,RA[2]].join(" ");else switch(B.precision){case 2:I=[CA(j),CA(eA),CA(gA),CA(IA),RA[2]].join(" ");break;case 3:default:I=[_(j),_(eA),_(gA),_(IA),RA[2]].join(" ")}return I},un=p.__private__.getFilters=function(){return a},Ir=p.__private__.putStream=function(B){var I=(B=B||{}).data||"",j=B.filters||un(),eA=B.alreadyAppliedFilters||[],gA=B.addLength1||!1,IA=I.length,RA=B.objectId,re=function(mr){return mr};if(v!==null&&RA===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");v!==null&&(re=Ye.encryptor(RA,0));var Be={};j===!0&&(j=["FlateEncode"]);var Te=B.additionalKeyValues||[],Ee=(Be=Ue.API.processDataByFilters!==void 0?Ue.API.processDataByFilters(I,j):{data:I,reverseChain:[]}).reverseChain+(Array.isArray(eA)?eA.join(" "):eA.toString());if(Be.data.length!==0&&(Te.push({key:"Length",value:Be.data.length}),gA===!0&&Te.push({key:"Length1",value:IA})),Ee.length!=0)if(Ee.split("/").length-1==1)Te.push({key:"Filter",value:Ee});else{Te.push({key:"Filter",value:"["+Ee+"]"});for(var ke=0;ke<Te.length;ke+=1)if(Te[ke].key==="DecodeParms"){for(var Qe=[],Ht=0;Ht<Be.reverseChain.split("/").length-1;Ht+=1)Qe.push("null");Qe.push(Te[ke].value),Te[ke].value="["+Qe.join(" ")+"]"}}W("<<");for(var Ot=0;Ot<Te.length;Ot++)W("/"+Te[Ot].key+" "+Te[Ot].value);W(">>"),Be.data.length!==0&&(W("stream"),W(re(Be.data)),W("endstream"))},Pr=p.__private__.putPage=function(B){var I=B.number,j=B.data,eA=B.objId,gA=B.contentsObjId;tr(eA,!0),W("<</Type /Page"),W("/Parent "+B.rootDictionaryObjId+" 0 R"),W("/Resources "+B.resourceDictionaryObjId+" 0 R"),W("/MediaBox ["+parseFloat(J(B.mediaBox.bottomLeftX))+" "+parseFloat(J(B.mediaBox.bottomLeftY))+" "+J(B.mediaBox.topRightX)+" "+J(B.mediaBox.topRightY)+"]"),B.cropBox!==null&&W("/CropBox ["+J(B.cropBox.bottomLeftX)+" "+J(B.cropBox.bottomLeftY)+" "+J(B.cropBox.topRightX)+" "+J(B.cropBox.topRightY)+"]"),B.bleedBox!==null&&W("/BleedBox ["+J(B.bleedBox.bottomLeftX)+" "+J(B.bleedBox.bottomLeftY)+" "+J(B.bleedBox.topRightX)+" "+J(B.bleedBox.topRightY)+"]"),B.trimBox!==null&&W("/TrimBox ["+J(B.trimBox.bottomLeftX)+" "+J(B.trimBox.bottomLeftY)+" "+J(B.trimBox.topRightX)+" "+J(B.trimBox.topRightY)+"]"),B.artBox!==null&&W("/ArtBox ["+J(B.artBox.bottomLeftX)+" "+J(B.artBox.bottomLeftY)+" "+J(B.artBox.topRightX)+" "+J(B.artBox.topRightY)+"]"),typeof B.userUnit=="number"&&B.userUnit!==1&&W("/UserUnit "+B.userUnit),ze.publish("putPage",{objId:eA,pageContext:Fe[I],pageNumber:I,page:j}),W("/Contents "+gA+" 0 R"),W(">>"),W("endobj");var IA=j.join(`
|
|
407
|
+
`);return q===P.ADVANCED&&(IA+=`
|
|
408
|
+
Q`),tr(gA,!0),Ir({data:IA,filters:un(),objectId:gA}),W("endobj"),eA},dt=p.__private__.putPages=function(){var B,I,j=[];for(B=1;B<=lt;B++)Fe[B].objId=Re(),Fe[B].contentsObjId=Re();for(B=1;B<=lt;B++)j.push(Pr({number:B,data:MA[B],objId:Fe[B].objId,contentsObjId:Fe[B].contentsObjId,mediaBox:Fe[B].mediaBox,cropBox:Fe[B].cropBox,bleedBox:Fe[B].bleedBox,trimBox:Fe[B].trimBox,artBox:Fe[B].artBox,userUnit:Fe[B].userUnit,rootDictionaryObjId:zr,resourceDictionaryObjId:sn}));tr(zr,!0),W("<</Type /Pages");var eA="/Kids [";for(I=0;I<lt;I++)eA+=j[I]+" 0 R ";W(eA+"]"),W("/Count "+lt),W(">>"),W("endobj"),ze.publish("postPutPages")},di=function(B){ze.publish("putFont",{font:B,out:W,newObject:bt,putStream:Ir}),B.isAlreadyPutted!==!0&&(B.objectNumber=bt(),W("<<"),W("/Type /Font"),W("/BaseFont /"+vu(B.postScriptName)),W("/Subtype /Type1"),typeof B.encoding=="string"&&W("/Encoding /"+B.encoding),W("/FirstChar 32"),W("/LastChar 255"),W(">>"),W("endobj"))},yt=function(){for(var B in Ge)Ge.hasOwnProperty(B)&&(m===!1||m===!0&&C.hasOwnProperty(B))&&di(Ge[B])},pi=function(B){B.objectNumber=bt();var I=[];I.push({key:"Type",value:"/XObject"}),I.push({key:"Subtype",value:"/Form"}),I.push({key:"BBox",value:"["+[J(B.x),J(B.y),J(B.x+B.width),J(B.y+B.height)].join(" ")+"]"}),I.push({key:"Matrix",value:"["+B.matrix.toString()+"]"});var j=B.pages[1].join(`
|
|
409
|
+
`);Ir({data:j,additionalKeyValues:I,objectId:B.objectNumber}),W("endobj")},ct=function(){for(var B in Ut)Ut.hasOwnProperty(B)&&pi(Ut[B])},$n=function(B,I){var j,eA=[],gA=1/(I-1);for(j=0;j<1;j+=gA)eA.push(j);if(eA.push(1),B[0].offset!=0){var IA={offset:0,color:B[0].color};B.unshift(IA)}if(B[B.length-1].offset!=1){var RA={offset:1,color:B[B.length-1].color};B.push(RA)}for(var re="",Be=0,Te=0;Te<eA.length;Te++){for(j=eA[Te];j>B[Be+1].offset;)Be++;var Ee=B[Be].offset,ke=(j-Ee)/(B[Be+1].offset-Ee),Qe=B[Be].color,Ht=B[Be+1].color;re+=Z(Math.round((1-ke)*Qe[0]+ke*Ht[0]).toString(16))+Z(Math.round((1-ke)*Qe[1]+ke*Ht[1]).toString(16))+Z(Math.round((1-ke)*Qe[2]+ke*Ht[2]).toString(16))}return re.trim()},Mn=function(B,I){I||(I=21);var j=bt(),eA=$n(B.colors,I),gA=[];gA.push({key:"FunctionType",value:"0"}),gA.push({key:"Domain",value:"[0.0 1.0]"}),gA.push({key:"Size",value:"["+I+"]"}),gA.push({key:"BitsPerSample",value:"8"}),gA.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),gA.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Ir({data:eA,additionalKeyValues:gA,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:j}),W("endobj"),B.objectNumber=bt(),W("<< /ShadingType "+B.type),W("/ColorSpace /DeviceRGB");var IA="/Coords ["+J(parseFloat(B.coords[0]))+" "+J(parseFloat(B.coords[1]))+" ";B.type===2?IA+=J(parseFloat(B.coords[2]))+" "+J(parseFloat(B.coords[3])):IA+=J(parseFloat(B.coords[2]))+" "+J(parseFloat(B.coords[3]))+" "+J(parseFloat(B.coords[4]))+" "+J(parseFloat(B.coords[5])),W(IA+="]"),B.matrix&&W("/Matrix ["+B.matrix.toString()+"]"),W("/Function "+j+" 0 R"),W("/Extend [true true]"),W(">>"),W("endobj")},fa=function(B,I){var j=Re(),eA=bt();I.push({resourcesOid:j,objectOid:eA}),B.objectNumber=eA;var gA=[];gA.push({key:"Type",value:"/Pattern"}),gA.push({key:"PatternType",value:"1"}),gA.push({key:"PaintType",value:"1"}),gA.push({key:"TilingType",value:"1"}),gA.push({key:"BBox",value:"["+B.boundingBox.map(J).join(" ")+"]"}),gA.push({key:"XStep",value:J(B.xStep)}),gA.push({key:"YStep",value:J(B.yStep)}),gA.push({key:"Resources",value:j+" 0 R"}),B.matrix&&gA.push({key:"Matrix",value:"["+B.matrix.toString()+"]"}),Ir({data:B.stream,additionalKeyValues:gA,objectId:B.objectNumber}),W("endobj")},ln=function(B){var I;for(I in Me)Me.hasOwnProperty(I)&&(Me[I]instanceof oo?Mn(Me[I]):Me[I]instanceof Bu&&fa(Me[I],B))},Ri=function(B){for(var I in B.objectNumber=bt(),W("<<"),B)switch(I){case"opacity":W("/ca "+CA(B[I]));break;case"stroke-opacity":W("/CA "+CA(B[I]))}W(">>"),W("endobj")},Ai=function(){var B;for(B in Je)Je.hasOwnProperty(B)&&Ri(Je[B])},mn=function(){for(var B in W("/XObject <<"),Ut)Ut.hasOwnProperty(B)&&Ut[B].objectNumber>=0&&W("/"+B+" "+Ut[B].objectNumber+" 0 R");ze.publish("putXobjectDict"),W(">>")},ga=function(){Ye.oid=bt(),W("<<"),W("/Filter /Standard"),W("/V "+Ye.v),W("/R "+Ye.r),W("/U <"+Ye.toHexString(Ye.U)+">"),W("/O <"+Ye.toHexString(Ye.O)+">"),W("/P "+Ye.P),W(">>"),W("endobj")},_r=function(){for(var B in W("/Font <<"),Ge)Ge.hasOwnProperty(B)&&(m===!1||m===!0&&C.hasOwnProperty(B))&&W("/"+B+" "+Ge[B].objectNumber+" 0 R");W(">>")},Rn=function(){if(Object.keys(Me).length>0){for(var B in W("/Shading <<"),Me)Me.hasOwnProperty(B)&&Me[B]instanceof oo&&Me[B].objectNumber>=0&&W("/"+B+" "+Me[B].objectNumber+" 0 R");ze.publish("putShadingPatternDict"),W(">>")}},ei=function(B){if(Object.keys(Me).length>0){for(var I in W("/Pattern <<"),Me)Me.hasOwnProperty(I)&&Me[I]instanceof p.TilingPattern&&Me[I].objectNumber>=0&&Me[I].objectNumber<B&&W("/"+I+" "+Me[I].objectNumber+" 0 R");ze.publish("putTilingPatternDict"),W(">>")}},ti=function(){if(Object.keys(Je).length>0){var B;for(B in W("/ExtGState <<"),Je)Je.hasOwnProperty(B)&&Je[B].objectNumber>=0&&W("/"+B+" "+Je[B].objectNumber+" 0 R");ze.publish("putGStateDict"),W(">>")}},pt=function(B){tr(B.resourcesOid,!0),W("<<"),W("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),_r(),Rn(),ei(B.objectOid),ti(),mn(),W(">>"),W("endobj")},yn=function(){var B=[];yt(),Ai(),ct(),ln(B),ze.publish("putResources"),B.forEach(pt),pt({resourcesOid:sn,objectOid:Number.MAX_SAFE_INTEGER}),ze.publish("postPutResources")},ri=function(){ze.publish("putAdditionalObjects");for(var B=0;B<VA.length;B++){var I=VA[B];tr(I.objId,!0),W(I.content),W("endobj")}ze.publish("postPutAdditionalObjects")},kn=function(B){We[B.fontName]=We[B.fontName]||{},We[B.fontName][B.fontStyle]=B.id},da=function(B,I,j,eA,gA){var IA={id:"F"+(Object.keys(Ge).length+1).toString(10),postScriptName:B,fontName:I,fontStyle:j,encoding:eA,isStandardFont:gA||!1,metadata:{}};return ze.publish("addFont",{font:IA,instance:this}),Ge[IA.id]=IA,kn(IA),IA.id},jt=function(B){for(var I=0,j=KA.length;I<j;I++){var eA=da.call(this,B[I][0],B[I][1],B[I][2],KA[I][3],!0);m===!1&&(C[eA]=!0);var gA=B[I][0].split("-");kn({id:eA,fontName:gA[0],fontStyle:gA[1]||""})}ze.publish("addFonts",{fonts:Ge,dictionary:We})},Br=function(B){return B.foo=function(){try{return B.apply(this,arguments)}catch(eA){var I=eA.stack||"";~I.indexOf(" at ")&&(I=I.split(" at ")[1]);var j="Error in function "+I.split(`
|
|
410
|
+
`)[0].split("<")[0]+": "+eA.message;if(!Le.console)throw new Error(j);Le.console.error(j,eA),Le.alert&&alert(j)}},B.foo.bar=B,B.foo},cn=function(B,I){var j,eA,gA,IA,RA,re,Be,Te,Ee;if(gA=(I=I||{}).sourceEncoding||"Unicode",RA=I.outputEncoding,(I.autoencode||RA)&&Ge[ue].metadata&&Ge[ue].metadata[gA]&&Ge[ue].metadata[gA].encoding&&(IA=Ge[ue].metadata[gA].encoding,!RA&&Ge[ue].encoding&&(RA=Ge[ue].encoding),!RA&&IA.codePages&&(RA=IA.codePages[0]),typeof RA=="string"&&(RA=IA[RA]),RA)){for(Be=!1,re=[],j=0,eA=B.length;j<eA;j++)(Te=RA[B.charCodeAt(j)])?re.push(String.fromCharCode(Te)):re.push(B[j]),re[j].charCodeAt(0)>>8&&(Be=!0);B=re.join("")}for(j=B.length;Be===void 0&&j!==0;)B.charCodeAt(j-1)>>8&&(Be=!0),j--;if(!Be)return B;for(re=I.noBOM?[]:[254,255],j=0,eA=B.length;j<eA;j++){if((Ee=(Te=B.charCodeAt(j))>>8)>>8)throw new Error("Character at position "+j+" of string '"+B+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");re.push(Ee),re.push(Te-(Ee<<8))}return String.fromCharCode.apply(void 0,re)},Rt=p.__private__.pdfEscape=p.pdfEscape=function(B,I){return cn(B,I).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ki=p.__private__.beginPage=function(B){MA[++lt]=[],Fe[lt]={objId:0,contentsObjId:0,userUnit:Number(s),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(B[0]),topRightY:Number(B[1])}},Ki(lt),EA(MA[V])},pa=function(B,I){var j,eA,gA;switch(e=I||e,typeof B=="string"&&(j=U(B.toLowerCase()),Array.isArray(j)&&(eA=j[0],gA=j[1])),Array.isArray(B)&&(eA=B[0]*_A,gA=B[1]*_A),isNaN(eA)&&(eA=n[0],gA=n[1]),(eA>14400||gA>14400)&&(Ct.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),eA=Math.min(14400,eA),gA=Math.min(14400,gA)),n=[eA,gA],e.substr(0,1)){case"l":gA>eA&&(n=[gA,eA]);break;case"p":eA>gA&&(n=[gA,eA])}ki(n),wa(Xi),W(nt),Ja!==0&&W(Ja+" J"),Is!==0&&W(Is+" j"),ze.publish("addPage",{pageNumber:lt})},qa=function(B){B>0&&B<=lt&&(MA.splice(B,1),Fe.splice(B,1),lt--,V>lt&&(V=lt),this.setPage(V))},Ki=function(B){B>0&&B<=lt&&(V=B)},Va=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return MA.length-1},Cn=function(B,I,j){var eA,gA=void 0;return j=j||{},B=B!==void 0?B:Ge[ue].fontName,I=I!==void 0?I:Ge[ue].fontStyle,eA=B.toLowerCase(),We[eA]!==void 0&&We[eA][I]!==void 0?gA=We[eA][I]:We[B]!==void 0&&We[B][I]!==void 0?gA=We[B][I]:j.disableWarning===!1&&Ct.warn("Unable to look up font label for font '"+B+"', '"+I+"'. Refer to getFontList() for available fonts."),gA||j.noFallback||(gA=We.times[I])==null&&(gA=We.times.normal),gA},qi=p.__private__.putInfo=function(){var B=bt(),I=function(eA){return eA};for(var j in v!==null&&(I=Ye.encryptor(B,0)),W("<<"),W("/Producer ("+Rt(I("jsPDF "+Ue.version))+")"),GA)GA.hasOwnProperty(j)&&GA[j]&&W("/"+j.substr(0,1).toUpperCase()+j.substr(1)+" ("+Rt(I(GA[j]))+")");W("/CreationDate ("+Rt(I(yA))+")"),W(">>"),W("endobj")},Sr=p.__private__.putCatalog=function(B){var I=(B=B||{}).rootDictionaryObjId||zr;switch(bt(),W("<<"),W("/Type /Catalog"),W("/Pages "+I+" 0 R"),XA||(XA="fullwidth"),XA){case"fullwidth":W("/OpenAction [3 0 R /FitH null]");break;case"fullheight":W("/OpenAction [3 0 R /FitV null]");break;case"fullpage":W("/OpenAction [3 0 R /Fit]");break;case"original":W("/OpenAction [3 0 R /XYZ null null 1]");break;default:var j=""+XA;j.substr(j.length-1)==="%"&&(XA=parseInt(XA)/100),typeof XA=="number"&&W("/OpenAction [3 0 R /XYZ null null "+CA(XA)+"]")}switch(LA||(LA="continuous"),LA){case"continuous":W("/PageLayout /OneColumn");break;case"single":W("/PageLayout /SinglePage");break;case"two":case"twoleft":W("/PageLayout /TwoColumnLeft");break;case"tworight":W("/PageLayout /TwoColumnRight")}he&&W("/PageMode /"+he),ze.publish("putCatalog"),W(">>"),W("endobj")},ni=p.__private__.putTrailer=function(){W("trailer"),W("<<"),W("/Size "+(sA+1)),W("/Root "+sA+" 0 R"),W("/Info "+(sA-1)+" 0 R"),v!==null&&W("/Encrypt "+Ye.oid+" 0 R"),W("/ID [ <"+fA+"> <"+fA+"> ]"),W(">>")},va=p.__private__.putHeader=function(){W("%PDF-"+x),W("%\xBA\xDF\xAC\xE0")},Vi=p.__private__.putXRef=function(){var B="0000000000";W("xref"),W("0 "+(sA+1)),W("0000000000 65535 f ");for(var I=1;I<=sA;I++)typeof mA[I]=="function"?W((B+mA[I]()).slice(-10)+" 00000 n "):mA[I]!==void 0?W((B+mA[I]).slice(-10)+" 00000 n "):W("0000000000 00000 n ")},hn=p.__private__.buildDocument=function(){pe(),EA(FA),ze.publish("buildDocument"),va(),dt(),ri(),yn(),v!==null&&ga(),qi(),Sr();var B=bA;return Vi(),ni(),W("startxref"),W(""+B),W("%%EOF"),EA(MA[V]),FA.join(`
|
|
411
|
+
`)},Gt=p.__private__.getBlob=function(B){return new Blob([ce(B)],{type:"application/pdf"})},ji=p.output=p.__private__.output=Br(function(B,I){switch(typeof(I=I||{})=="string"?I={filename:I}:I.filename=I.filename||"generated.pdf",B){case void 0:return hn();case"save":p.save(I.filename);break;case"arraybuffer":return ce(hn());case"blob":return Gt(hn());case"bloburi":case"bloburl":if(Le.URL!==void 0&&typeof Le.URL.createObjectURL=="function")return Le.URL&&Le.URL.createObjectURL(Gt(hn()))||void 0;Ct.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var j="",eA=hn();try{j=A0(eA)}catch{j=A0(unescape(encodeURIComponent(eA)))}return"data:application/pdf;filename="+I.filename+";base64,"+j;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Le)==="[object Window]"){var gA="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",IA=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';I.pdfObjectUrl&&(gA=I.pdfObjectUrl,IA="");var RA='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+gA+'"'+IA+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(I)+");<\/script></body></html>",re=Le.open();return re!==null&&re.document.write(RA),re}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Le)==="[object Window]"){var Be='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(I.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+I.filename+'" width="500px" height="400px" /></body></html>',Te=Le.open();if(Te!==null){Te.document.write(Be);var Ee=this;Te.document.documentElement.querySelector("#pdfViewer").onload=function(){Te.document.title=I.filename,Te.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Ee.output("bloburl"))}}return Te}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Le)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var ke='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",I)+'"></iframe></body></html>',Qe=Le.open();if(Qe!==null&&(Qe.document.write(ke),Qe.document.title=I.filename),Qe||typeof safari>"u")return Qe;break;case"datauri":case"dataurl":return Le.document.location.href=this.output("datauristring",I);default:return null}}),ja=function(B){return Array.isArray(Nt)===!0&&Nt.indexOf(B)>-1};switch(t){case"pt":_A=1;break;case"mm":_A=72/25.4;break;case"cm":_A=72/2.54;break;case"in":_A=72;break;case"px":_A=ja("px_scaling")==1?.75:96/72;break;case"pc":case"em":_A=12;break;case"ex":_A=6;break;default:if(typeof t!="number")throw new Error("Invalid unit: "+t);_A=t}var Ye=null;jA(),AA();var Xr=function(B){return v!==null?Ye.encryptor(B,0):function(I){return I}},Ga=p.__private__.getPageInfo=p.getPageInfo=function(B){if(isNaN(B)||B%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Fe[B].objId,pageNumber:B,pageContext:Fe[B]}},xe=p.__private__.getPageInfoByObjId=function(B){if(isNaN(B)||B%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var I in Fe)if(Fe[I].objId===B)break;return Ga(I)},Ba=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:Fe[V].objId,pageNumber:V,pageContext:Fe[V]}};p.addPage=function(){return pa.apply(this,arguments),this},p.setPage=function(){return Ki.apply(this,arguments),EA.call(this,MA[V]),this},p.insertPage=function(B){return this.addPage(),this.movePage(V,B),this},p.movePage=function(B,I){var j,eA;if(B>I){j=MA[B],eA=Fe[B];for(var gA=B;gA>I;gA--)MA[gA]=MA[gA-1],Fe[gA]=Fe[gA-1];MA[I]=j,Fe[I]=eA,this.setPage(I)}else if(B<I){j=MA[B],eA=Fe[B];for(var IA=B;IA<I;IA++)MA[IA]=MA[IA+1],Fe[IA]=Fe[IA+1];MA[I]=j,Fe[I]=eA,this.setPage(I)}return this},p.deletePage=function(){return qa.apply(this,arguments),this},p.__private__.text=p.text=function(B,I,j,eA,gA){var IA,RA,re,Be,Te,Ee,ke,Qe,Ht,Ot=(eA=eA||{}).scope||this;if(typeof B=="number"&&typeof I=="number"&&(typeof j=="string"||Array.isArray(j))){var mr=j;j=I,I=B,B=mr}if(arguments[3]instanceof we?(z("The transform parameter of text() with a Matrix value"),Ht=gA):(re=arguments[4],Be=arguments[5],$e(ke=arguments[3])==="object"&&ke!==null||(typeof re=="string"&&(Be=re,re=null),typeof ke=="string"&&(Be=ke,ke=null),typeof ke=="number"&&(re=ke,ke=null),eA={flags:ke,angle:re,align:Be})),isNaN(I)||isNaN(j)||B==null)throw new Error("Invalid arguments passed to jsPDF.text");if(B.length===0)return Ot;var Et="",zt=!1,gn=typeof eA.lineHeightFactor=="number"?eA.lineHeightFactor:ii,yr=Ot.internal.scaleFactor;function It(wt){return wt=wt.split(" ").join(Array(eA.TabLen||9).join(" ")),Rt(wt,ke)}function As(wt){for(var it,Kt=wt.concat(),nr=[],zn=Kt.length;zn--;)typeof(it=Kt.shift())=="string"?nr.push(it):Array.isArray(wt)&&(it.length===1||it[1]===void 0&&it[2]===void 0)?nr.push(it[0]):nr.push([it[0],it[1],it[2]]);return nr}function kt(wt,it){var Kt;if(typeof wt=="string")Kt=it(wt)[0];else if(Array.isArray(wt)){for(var nr,zn,_s=wt.concat(),xa=[],po=_s.length;po--;)typeof(nr=_s.shift())=="string"?xa.push(it(nr)[0]):Array.isArray(nr)&&typeof nr[0]=="string"&&(zn=it(nr[0],nr[1],nr[2]),xa.push([zn[0],zn[1],zn[2]]));Kt=xa}return Kt}var Yi=!1,Qn=!0;if(typeof B=="string")Yi=!0;else if(Array.isArray(B)){var vi=B.concat();RA=[];for(var tt,hr=vi.length;hr--;)(typeof(tt=vi.shift())!="string"||Array.isArray(tt)&&typeof tt[0]!="string")&&(Qn=!1);Yi=Qn}if(Yi===!1)throw new Error('Type of text must be string or Array. "'+B+'" is not recognized.');typeof B=="string"&&(B=B.match(/[\r?\n]/)?B.split(/\r\n|\r|\n/g):[B]);var ya=zA/Ot.internal.scaleFactor,Ca=ya*(gn-1);switch(eA.baseline){case"bottom":j-=Ca;break;case"top":j+=ya-Ca;break;case"hanging":j+=ya-2*Ca;break;case"middle":j+=ya/2-Ca}if((Ee=eA.maxWidth||0)>0&&(typeof B=="string"?B=Ot.splitTextToSize(B,Ee):Object.prototype.toString.call(B)==="[object Array]"&&(B=B.reduce(function(wt,it){return wt.concat(Ot.splitTextToSize(it,Ee))},[]))),IA={text:B,x:I,y:j,options:eA,mutex:{pdfEscape:Rt,activeFontKey:ue,fonts:Ge,activeFontSize:zA}},ze.publish("preProcessText",IA),B=IA.text,re=(eA=IA.options).angle,!(Ht instanceof we)&&re&&typeof re=="number"){re*=Math.PI/180,eA.rotationDirection===0&&(re=-re),q===P.ADVANCED&&(re=-re);var ba=Math.cos(re),Ji=Math.sin(re);Ht=new we(ba,Ji,-Ji,ba,0,0)}else re&&re instanceof we&&(Ht=re);q!==P.ADVANCED||Ht||(Ht=Se),(Te=eA.charSpace||Fn)!==void 0&&(Et+=J(M(Te))+` Tc
|
|
412
|
+
`,this.setCharSpace(this.getCharSpace()||0)),(Qe=eA.horizontalScale)!==void 0&&(Et+=J(100*Qe)+` Tz
|
|
413
|
+
`),eA.lang;var Mr=-1,fo=eA.renderingMode!==void 0?eA.renderingMode:eA.stroke,Lr=Ot.internal.getCurrentPageInfo().pageContext;switch(fo){case 0:case!1:case"fill":Mr=0;break;case 1:case!0:case"stroke":Mr=1;break;case 2:case"fillThenStroke":Mr=2;break;case 3:case"invisible":Mr=3;break;case 4:case"fillAndAddForClipping":Mr=4;break;case 5:case"strokeAndAddPathForClipping":Mr=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Mr=6;break;case 7:case"addToPathForClipping":Mr=7}var jn=Lr.usedRenderingMode!==void 0?Lr.usedRenderingMode:-1;Mr!==-1?Et+=Mr+` Tr
|
|
414
|
+
`:jn!==-1&&(Et+=`0 Tr
|
|
415
|
+
`),Mr!==-1&&(Lr.usedRenderingMode=Mr),Be=eA.align||"left";var rr,St=zA*gn,Gn=Ot.internal.pageSize.getWidth(),Hs=Ge[ue];Te=eA.charSpace||Fn,Ee=eA.maxWidth||0,ke=Object.assign({autoencode:!0,noBOM:!0},eA.flags);var Bi=[],wi=function(wt){return Ot.getStringUnitWidth(wt,{font:Hs,charSpace:Te,fontSize:zA,doKerning:!1})*zA/yr};if(Object.prototype.toString.call(B)==="[object Array]"){var Rr;RA=As(B),Be!=="left"&&(rr=RA.map(wi));var kr,Un=0;if(Be==="right"){I-=rr[0],B=[],hr=RA.length;for(var Cr=0;Cr<hr;Cr++)Cr===0?(kr=DA(I),Rr=ZA(j)):(kr=M(Un-rr[Cr]),Rr=-St),B.push([RA[Cr],kr,Rr]),Un=rr[Cr]}else if(Be==="center"){I-=rr[0]/2,B=[],hr=RA.length;for(var mi=0;mi<hr;mi++)mi===0?(kr=DA(I),Rr=ZA(j)):(kr=M((Un-rr[mi])/2),Rr=-St),B.push([RA[mi],kr,Rr]),Un=rr[mi]}else if(Be==="left"){B=[],hr=RA.length;for(var es=0;es<hr;es++)B.push(RA[es])}else if(Be==="justify"&&Hs.encoding==="Identity-H"){B=[],hr=RA.length,Ee=Ee!==0?Ee:Gn;for(var xn=0,Pt=0;Pt<hr;Pt++)if(Rr=Pt===0?ZA(j):-St,kr=Pt===0?DA(I):xn,Pt<hr-1){var Os=M((Ee-rr[Pt])/(RA[Pt].split(" ").length-1)),Kr=RA[Pt].split(" ");B.push([Kr[0]+" ",kr,Rr]),xn=0;for(var _t=1;_t<Kr.length;_t++){var Fa=(wi(Kr[_t-1]+" "+Kr[_t])-wi(Kr[_t]))*yr+Os;_t==Kr.length-1?B.push([Kr[_t],Fa,0]):B.push([Kr[_t]+" ",Fa,0]),xn-=Fa}}else B.push([RA[Pt],kr,Rr]);B.push(["",xn,0])}else{if(Be!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(B=[],hr=RA.length,Ee=Ee!==0?Ee:Gn,Pt=0;Pt<hr;Pt++)Rr=Pt===0?ZA(j):-St,kr=Pt===0?DA(I):0,Pt<hr-1?Bi.push(J(M((Ee-rr[Pt])/(RA[Pt].split(" ").length-1)))):Bi.push(0),B.push([RA[Pt],kr,Rr])}}var go=typeof eA.R2L=="boolean"?eA.R2L:oe;go===!0&&(B=kt(B,function(wt,it,Kt){return[wt.split("").reverse().join(""),it,Kt]})),IA={text:B,x:I,y:j,options:eA,mutex:{pdfEscape:Rt,activeFontKey:ue,fonts:Ge,activeFontSize:zA}},ze.publish("postProcessText",IA),B=IA.text,zt=IA.mutex.isHex||!1;var Ps=Ge[ue].encoding;Ps!=="WinAnsiEncoding"&&Ps!=="StandardEncoding"||(B=kt(B,function(wt,it,Kt){return[It(wt),it,Kt]})),RA=As(B),B=[];for(var ai,Qa,yi,Zi=0,Ua=1,$i=Array.isArray(RA[0])?Ua:Zi,Ci="",ts=function(wt,it,Kt){var nr="";return Kt instanceof we?(Kt=typeof eA.angle=="number"?Gr(Kt,new we(1,0,0,1,wt,it)):Gr(new we(1,0,0,1,wt,it),Kt),q===P.ADVANCED&&(Kt=Gr(new we(1,0,0,-1,0,0),Kt)),nr=Kt.join(" ")+` Tm
|
|
416
|
+
`):nr=J(wt)+" "+J(it)+` Td
|
|
417
|
+
`,nr},dn=0;dn<RA.length;dn++){switch(Ci="",$i){case Ua:yi=(zt?"<":"(")+RA[dn][0]+(zt?">":")"),ai=parseFloat(RA[dn][1]),Qa=parseFloat(RA[dn][2]);break;case Zi:yi=(zt?"<":"(")+RA[dn]+(zt?">":")"),ai=DA(I),Qa=ZA(j)}Bi!==void 0&&Bi[dn]!==void 0&&(Ci=Bi[dn]+` Tw
|
|
418
|
+
`),dn===0?B.push(Ci+ts(ai,Qa,Ht)+yi):$i===Zi?B.push(Ci+yi):$i===Ua&&B.push(Ci+ts(ai,Qa,Ht)+yi)}B=$i===Zi?B.join(` Tj
|
|
419
|
+
T* `):B.join(` Tj
|
|
420
|
+
`),B+=` Tj
|
|
421
|
+
`;var pn=`BT
|
|
422
|
+
/`;return pn+=ue+" "+zA+` Tf
|
|
423
|
+
`,pn+=J(zA*gn)+` TL
|
|
424
|
+
`,pn+=Tt+`
|
|
425
|
+
`,pn+=Et,pn+=B,W(pn+="ET"),C[ue]=!0,Ot};var za=p.__private__.clip=p.clip=function(B){return W(B==="evenodd"?"W*":"W"),this};p.clipEvenOdd=function(){return za("evenodd")},p.__private__.discardPath=p.discardPath=function(){return W("n"),this};var fn=p.__private__.isValidStyle=function(B){var I=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(B)!==-1&&(I=!0),I};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(B){return fn(B)&&(d=B),this};var Wa=p.__private__.getStyle=p.getStyle=function(B){var I=d;switch(B){case"D":case"S":I="S";break;case"F":I="f";break;case"FD":case"DF":I="B";break;case"f":case"f*":case"B":case"B*":I=B}return I},cr=p.close=function(){return W("h"),this};p.stroke=function(){return W("S"),this},p.fill=function(B){return Kn("f",B),this},p.fillEvenOdd=function(B){return Kn("f*",B),this},p.fillStroke=function(B){return Kn("B",B),this},p.fillStrokeEvenOdd=function(B){return Kn("B*",B),this};var Kn=function(B,I){$e(I)==="object"?zi(I,B):W(B)},Gi=function(B){B===null||q===P.ADVANCED&&B===void 0||(B=Wa(B),W(B))};function wr(B,I,j,eA,gA){var IA=new Bu(I||this.boundingBox,j||this.xStep,eA||this.yStep,this.gState,gA||this.matrix);IA.stream=this.stream;var RA=B+"$$"+this.cloneIndex+++"$$";return er(RA,IA),IA}var zi=function(B,I){var j=Vt[B.key],eA=Me[j];if(eA instanceof oo)W("q"),W(Xa(I)),eA.gState&&p.setGState(eA.gState),W(B.matrix.toString()+" cm"),W("/"+j+" sh"),W("Q");else if(eA instanceof Bu){var gA=new we(1,0,0,-1,0,Vn());B.matrix&&(gA=gA.multiply(B.matrix||Se),j=wr.call(eA,B.key,B.boundingBox,B.xStep,B.yStep,gA).id),W("q"),W("/Pattern cs"),W("/"+j+" scn"),eA.gState&&p.setGState(eA.gState),W(I),W("Q")}},Xa=function(B){switch(B){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"}},Wi=p.moveTo=function(B,I){return W(J(M(B))+" "+J(G(I))+" m"),this},bn=p.lineTo=function(B,I){return W(J(M(B))+" "+J(G(I))+" l"),this},Dr=p.curveTo=function(B,I,j,eA,gA,IA){return W([J(M(B)),J(G(I)),J(M(j)),J(G(eA)),J(M(gA)),J(G(IA)),"c"].join(" ")),this};p.__private__.line=p.line=function(B,I,j,eA,gA){if(isNaN(B)||isNaN(I)||isNaN(j)||isNaN(eA)||!fn(gA))throw new Error("Invalid arguments passed to jsPDF.line");return q===P.COMPAT?this.lines([[j-B,eA-I]],B,I,[1,1],gA||"S"):this.lines([[j-B,eA-I]],B,I,[1,1]).stroke()},p.__private__.lines=p.lines=function(B,I,j,eA,gA,IA){var RA,re,Be,Te,Ee,ke,Qe,Ht,Ot,mr,Et,zt;if(typeof B=="number"&&(zt=j,j=I,I=B,B=zt),eA=eA||[1,1],IA=IA||!1,isNaN(I)||isNaN(j)||!Array.isArray(B)||!Array.isArray(eA)||!fn(gA)||typeof IA!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Wi(I,j),RA=eA[0],re=eA[1],Te=B.length,mr=I,Et=j,Be=0;Be<Te;Be++)(Ee=B[Be]).length===2?(mr=Ee[0]*RA+mr,Et=Ee[1]*re+Et,bn(mr,Et)):(ke=Ee[0]*RA+mr,Qe=Ee[1]*re+Et,Ht=Ee[2]*RA+mr,Ot=Ee[3]*re+Et,mr=Ee[4]*RA+mr,Et=Ee[5]*re+Et,Dr(ke,Qe,Ht,Ot,mr,Et));return IA&&cr(),Gi(gA),this},p.path=function(B){for(var I=0;I<B.length;I++){var j=B[I],eA=j.c;switch(j.op){case"m":Wi(eA[0],eA[1]);break;case"l":bn(eA[0],eA[1]);break;case"c":Dr.apply(this,eA);break;case"h":cr()}}return this},p.__private__.rect=p.rect=function(B,I,j,eA,gA){if(isNaN(B)||isNaN(I)||isNaN(j)||isNaN(eA)||!fn(gA))throw new Error("Invalid arguments passed to jsPDF.rect");return q===P.COMPAT&&(eA=-eA),W([J(M(B)),J(G(I)),J(M(j)),J(M(eA)),"re"].join(" ")),Gi(gA),this},p.__private__.triangle=p.triangle=function(B,I,j,eA,gA,IA,RA){if(isNaN(B)||isNaN(I)||isNaN(j)||isNaN(eA)||isNaN(gA)||isNaN(IA)||!fn(RA))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[j-B,eA-I],[gA-j,IA-eA],[B-gA,I-IA]],B,I,[1,1],RA,!0),this},p.__private__.roundedRect=p.roundedRect=function(B,I,j,eA,gA,IA,RA){if(isNaN(B)||isNaN(I)||isNaN(j)||isNaN(eA)||isNaN(gA)||isNaN(IA)||!fn(RA))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var re=4/3*(Math.SQRT2-1);return gA=Math.min(gA,.5*j),IA=Math.min(IA,.5*eA),this.lines([[j-2*gA,0],[gA*re,0,gA,IA-IA*re,gA,IA],[0,eA-2*IA],[0,IA*re,-gA*re,IA,-gA,IA],[2*gA-j,0],[-gA*re,0,-gA,-IA*re,-gA,-IA],[0,2*IA-eA],[0,-IA*re,gA*re,-IA,gA,-IA]],B+gA,I,[1,1],RA,!0),this},p.__private__.ellipse=p.ellipse=function(B,I,j,eA,gA){if(isNaN(B)||isNaN(I)||isNaN(j)||isNaN(eA)||!fn(gA))throw new Error("Invalid arguments passed to jsPDF.ellipse");var IA=4/3*(Math.SQRT2-1)*j,RA=4/3*(Math.SQRT2-1)*eA;return Wi(B+j,I),Dr(B+j,I-RA,B+IA,I-eA,B,I-eA),Dr(B-IA,I-eA,B-j,I-RA,B-j,I),Dr(B-j,I+RA,B-IA,I+eA,B,I+eA),Dr(B+IA,I+eA,B+j,I+RA,B+j,I),Gi(gA),this},p.__private__.circle=p.circle=function(B,I,j,eA){if(isNaN(B)||isNaN(I)||isNaN(j)||!fn(eA))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(B,I,j,j,eA)},p.setFont=function(B,I,j){return j&&(I=wA(I,j)),ue=Cn(B,I,{disableWarning:!1}),this};var Yr=p.__private__.getFont=p.getFont=function(){return Ge[Cn.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var B,I,j={};for(B in We)if(We.hasOwnProperty(B))for(I in j[B]=[],We[B])We[B].hasOwnProperty(I)&&j[B].push(I);return j},p.addFont=function(B,I,j,eA,gA){var IA=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&IA.indexOf(arguments[3])!==-1?gA=arguments[3]:arguments[3]&&IA.indexOf(arguments[3])==-1&&(j=wA(j,eA)),gA=gA||"Identity-H",da.call(this,B,I,j,gA)};var ii,Xi=r.lineWidth||.200025,Ft=p.__private__.getLineWidth=p.getLineWidth=function(){return Xi},wa=p.__private__.setLineWidth=p.setLineWidth=function(B){return Xi=B,W(J(M(B))+" w"),this};p.__private__.setLineDash=Ue.API.setLineDash=Ue.API.setLineDashPattern=function(B,I){if(B=B||[],I=I||0,isNaN(I)||!Array.isArray(B))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return B=B.map(function(j){return J(M(j))}).join(" "),I=J(M(I)),W("["+B+"] "+I+" d"),this};var qn=p.__private__.getLineHeight=p.getLineHeight=function(){return zA*ii};p.__private__.getLineHeight=p.getLineHeight=function(){return zA*ii};var de=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(B){return typeof(B=B||1.15)=="number"&&(ii=B),this},nA=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return ii};de(r.lineHeight);var DA=p.__private__.getHorizontalCoordinate=function(B){return M(B)},ZA=p.__private__.getVerticalCoordinate=function(B){return q===P.ADVANCED?B:Fe[V].mediaBox.topRightY-Fe[V].mediaBox.bottomLeftY-M(B)},qe=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(B){return J(DA(B))},vt=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(B){return J(ZA(B))},nt=r.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return Wr(nt)},p.__private__.setStrokeColor=p.setDrawColor=function(B,I,j,eA){return nt=on({ch1:B,ch2:I,ch3:j,ch4:eA,pdfColorType:"draw",precision:2}),W(nt),this};var xt=r.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return Wr(xt)},p.__private__.setFillColor=p.setFillColor=function(B,I,j,eA){return xt=on({ch1:B,ch2:I,ch3:j,ch4:eA,pdfColorType:"fill",precision:2}),W(xt),this};var Tt=r.textColor||"0 g",Bt=p.__private__.getTextColor=p.getTextColor=function(){return Wr(Tt)};p.__private__.setTextColor=p.setTextColor=function(B,I,j,eA){return Tt=on({ch1:B,ch2:I,ch3:j,ch4:eA,pdfColorType:"text",precision:3}),this};var Fn=r.charSpace,Ya=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(Fn||0)};p.__private__.setCharSpace=p.setCharSpace=function(B){if(isNaN(B))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Fn=B,this};var Ja=0;p.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},p.__private__.setLineCap=p.setLineCap=function(B){var I=p.CapJoinStyles[B];if(I===void 0)throw new Error("Line cap style of '"+B+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ja=I,W(I+" J"),this};var Is=0;p.__private__.setLineJoin=p.setLineJoin=function(B){var I=p.CapJoinStyles[B];if(I===void 0)throw new Error("Line join style of '"+B+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Is=I,W(I+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function(B){if(B=B||0,isNaN(B))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return W(J(M(B))+" M"),this},p.GState=mf,p.setGState=function(B){(B=typeof B=="string"?Je[Ar[B]]:co(null,B)).equals(ut)||(W("/"+B.id+" gs"),ut=B)};var co=function(B,I){if(!B||!Ar[B]){var j=!1;for(var eA in Je)if(Je.hasOwnProperty(eA)&&Je[eA].equals(I)){j=!0;break}if(j)I=Je[eA];else{var gA="GS"+(Object.keys(Je).length+1).toString(10);Je[gA]=I,I.id=gA}return B&&(Ar[B]=I.id),ze.publish("addGState",I),I}};p.addGState=function(B,I){return co(B,I),this},p.saveGraphicsState=function(){return W("q"),xr.push({key:ue,size:zA,color:Tt}),this},p.restoreGraphicsState=function(){W("Q");var B=xr.pop();return ue=B.key,zA=B.size,Tt=B.color,ut=null,this},p.setCurrentTransformationMatrix=function(B){return W(B.toString()+" cm"),this},p.comment=function(B){return W("#"+B),this};var Za=function(B,I){var j=B||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return j},set:function(IA){isNaN(IA)||(j=parseFloat(IA))}});var eA=I||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return eA},set:function(IA){isNaN(IA)||(eA=parseFloat(IA))}});var gA="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return gA},set:function(IA){gA=IA.toString()}}),this},Ss=function(B,I,j,eA){Za.call(this,B,I),this.type="rect";var gA=j||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return gA},set:function(RA){isNaN(RA)||(gA=parseFloat(RA))}});var IA=eA||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return IA},set:function(RA){isNaN(RA)||(IA=parseFloat(RA))}}),this},Ls=function(){this.page=lt,this.currentPage=V,this.pages=MA.slice(0),this.pagesContext=Fe.slice(0),this.x=De,this.y=be,this.matrix=gt,this.width=ma(V),this.height=Vn(V),this.outputDestination=$A,this.id="",this.objectNumber=-1};Ls.prototype.restore=function(){lt=this.page,V=this.currentPage,Fe=this.pagesContext,MA=this.pages,De=this.x,be=this.y,gt=this.matrix,Ns(V,this.width),Ts(V,this.height),$A=this.outputDestination};var ho=function(B,I,j,eA,gA){jr.push(new Ls),lt=V=0,MA=[],De=B,be=I,gt=gA,ki([j,eA])},Fu=function(B){if(Er[B])jr.pop().restore();else{var I=new Ls,j="Xo"+(Object.keys(Ut).length+1).toString(10);I.id=j,Er[B]=j,Ut[j]=I,ze.publish("addFormObject",I),jr.pop().restore()}};for(var $a in p.beginFormObject=function(B,I,j,eA,gA){return ho(B,I,j,eA,gA),this},p.endFormObject=function(B){return Fu(B),this},p.doFormObject=function(B,I){var j=Ut[Er[B]];return W("q"),W(I.toString()+" cm"),W("/"+j.id+" Do"),W("Q"),this},p.getFormObject=function(B){var I=Ut[Er[B]];return{x:I.x,y:I.y,width:I.width,height:I.height,matrix:I.matrix}},p.save=function(B,I){return B=B||"generated.pdf",(I=I||{}).returnPromise=I.returnPromise||!1,I.returnPromise===!1?(so(Gt(hn()),B),typeof so.unload=="function"&&Le.setTimeout&&setTimeout(so.unload,911),this):new Promise(function(j,eA){try{var gA=so(Gt(hn()),B);typeof so.unload=="function"&&Le.setTimeout&&setTimeout(so.unload,911),j(gA)}catch(IA){eA(IA.message)}})},Ue.API)Ue.API.hasOwnProperty($a)&&($a==="events"&&Ue.API.events.length?function(B,I){var j,eA,gA;for(gA=I.length-1;gA!==-1;gA--)j=I[gA][0],eA=I[gA][1],B.subscribe.apply(B,[j].concat(typeof eA=="function"?[eA]:eA))}(ze,Ue.API.events):p[$a]=Ue.API[$a]);var ma=p.getPageWidth=function(B){return(Fe[B=B||V].mediaBox.topRightX-Fe[B].mediaBox.bottomLeftX)/_A},Ns=p.setPageWidth=function(B,I){Fe[B].mediaBox.topRightX=I*_A+Fe[B].mediaBox.bottomLeftX},Vn=p.getPageHeight=function(B){return(Fe[B=B||V].mediaBox.topRightY-Fe[B].mediaBox.bottomLeftY)/_A},Ts=p.setPageHeight=function(B,I){Fe[B].mediaBox.topRightY=I*_A+Fe[B].mediaBox.bottomLeftY};return p.internal={pdfEscape:Rt,getStyle:Wa,getFont:Yr,getFontSize:WA,getCharSpace:Ya,getTextColor:Bt,getLineHeight:qn,getLineHeightFactor:nA,getLineWidth:Ft,write:Ce,getHorizontalCoordinate:DA,getVerticalCoordinate:ZA,getCoordinateString:qe,getVerticalCoordinateString:vt,collections:{},newObject:bt,newAdditionalObject:Dn,newObjectDeferred:Re,newObjectDeferredBegin:tr,getFilters:un,putStream:Ir,events:ze,scaleFactor:_A,pageSize:{getWidth:function(){return ma(V)},setWidth:function(B){Ns(V,B)},getHeight:function(){return Vn(V)},setHeight:function(B){Ts(V,B)}},encryptionOptions:v,encryption:Ye,getEncryptor:Xr,output:ji,getNumberOfPages:Va,pages:MA,out:W,f2:CA,f3:_,getPageInfo:Ga,getPageInfoByObjId:xe,getCurrentPageInfo:Ba,getPDFVersion:Q,Point:Za,Rectangle:Ss,Matrix:we,hasHotfix:ja},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return ma(V)},set:function(B){Ns(V,B)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return Vn(V)},set:function(B){Ts(V,B)},enumerable:!0,configurable:!0}),jt.call(p,KA),ue="F1",pa(n,e),ze.publish("initialized"),p}pu.prototype.lsbFirstWord=function(r){return String.fromCharCode(r>>0&255,r>>8&255,r>>16&255,r>>24&255)},pu.prototype.toHexString=function(r){return r.split("").map(function(A){return("0"+(255&A.charCodeAt(0)).toString(16)).slice(-2)}).join("")},pu.prototype.hexToBytes=function(r){for(var A=[],e=0;e<r.length;e+=2)A.push(String.fromCharCode(parseInt(r.substr(e,2),16)));return A.join("")},pu.prototype.processOwnerPassword=function(r,A){return t0(e0(A).substr(0,5),r)},pu.prototype.encryptor=function(r,A){var e=e0(this.encryptionKey+String.fromCharCode(255&r,r>>8&255,r>>16&255,255&A,A>>8&255)).substr(0,10);return function(t){return t0(e,t)}},mf.prototype.equals=function(r){var A,e="id,objectNumber,equals";if(!r||$e(r)!==$e(this))return!1;var t=0;for(A in this)if(!(e.indexOf(A)>=0)){if(this.hasOwnProperty(A)&&!r.hasOwnProperty(A)||this[A]!==r[A])return!1;t++}for(A in r)r.hasOwnProperty(A)&&e.indexOf(A)<0&&t--;return t===0},Ue.API={events:[]},Ue.version="2.5.2";var $t=Ue.API,a0=1,lo=function(r){return r.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},gu=function(r){return r.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},_e=function(r){return r.toFixed(2)},Us=function(r){return r.toFixed(5)};$t.__acroform__={};var _n=function(r,A){r.prototype=Object.create(A.prototype),r.prototype.constructor=r},Ky=function(r){return r*a0},la=function(r){var A=new iC,e=ge.internal.getHeight(r)||0,t=ge.internal.getWidth(r)||0;return A.BBox=[0,0,Number(_e(t)),Number(_e(e))],A},$N=$t.__acroform__.setBit=function(r,A){if(r=r||0,A=A||0,isNaN(r)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return r|=1<<A},A6=$t.__acroform__.clearBit=function(r,A){if(r=r||0,A=A||0,isNaN(r)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return r&=~(1<<A)},e6=$t.__acroform__.getBit=function(r,A){if(isNaN(r)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return r&1<<A?1:0},or=$t.__acroform__.getBitForPdf=function(r,A){if(isNaN(r)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return e6(r,A-1)},ur=$t.__acroform__.setBitForPdf=function(r,A){if(isNaN(r)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return $N(r,A-1)},lr=$t.__acroform__.clearBitForPdf=function(r,A){if(isNaN(r)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return A6(r,A-1)},t6=$t.__acroform__.calculateCoordinates=function(r,A){var e=A.internal.getHorizontalCoordinate,t=A.internal.getVerticalCoordinate,n=r[0],i=r[1],a=r[2],s=r[3],c={};return c.lowerLeft_X=e(n)||0,c.lowerLeft_Y=t(i+s)||0,c.upperRight_X=e(n+a)||0,c.upperRight_Y=t(i)||0,[Number(_e(c.lowerLeft_X)),Number(_e(c.lowerLeft_Y)),Number(_e(c.upperRight_X)),Number(_e(c.upperRight_Y))]},r6=function(r){if(r.appearanceStreamContent)return r.appearanceStreamContent;if(r.V||r.DV){var A=[],e=r._V||r.DV,t=r0(r,e),n=r.scope.internal.getFont(r.fontName,r.fontStyle).id;A.push("/Tx BMC"),A.push("q"),A.push("BT"),A.push(r.scope.__private__.encodeColorString(r.color)),A.push("/"+n+" "+_e(t.fontSize)+" Tf"),A.push("1 0 0 1 0 0 Tm"),A.push(t.text),A.push("ET"),A.push("Q"),A.push("EMC");var i=la(r);return i.scope=r.scope,i.stream=A.join(`
|
|
426
|
+
`),i}},r0=function(r,A){var e=r.fontSize===0?r.maxFontSize:r.fontSize,t={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=r.multiline?n.map(function(_){return _.split(`
|
|
427
|
+
`)}):n.map(function(_){return[_]});var i=e,a=ge.internal.getHeight(r)||0;a=a<0?-a:a;var s=ge.internal.getWidth(r)||0;s=s<0?-s:s;var c=function(_,M,$){if(_+1<n.length){var G=M+" "+n[_+1][0];return ff(G,r,$).width<=s-4}return!1};i++;A:for(;i>0;){A="",i--;var d,v,m=ff("3",r,i).height,C=r.multiline?a-i:(a-m)/2,p=C+=2,x=0,Q=0,S=0;if(i<=0){A=`(...) Tj
|
|
428
|
+
`,A+="% Width of Text: "+ff(A,r,i=12).width+", FieldWidth:"+s+`
|
|
429
|
+
`;break}for(var U="",P=0,q=0;q<n.length;q++)if(n.hasOwnProperty(q)){var Y=!1;if(n[q].length!==1&&S!==n[q].length-1){if((m+2)*(P+2)+2>a)continue A;U+=n[q][S],Y=!0,Q=q,q--}else{U=(U+=n[q][S]+" ").substr(U.length-1)==" "?U.substr(0,U.length-1):U;var uA=parseInt(q),wA=c(uA,U,i),J=q>=n.length-1;if(wA&&!J){U+=" ",S=0;continue}if(wA||J){if(J)Q=uA;else if(r.multiline&&(m+2)*(P+2)+2>a)continue A}else{if(!r.multiline||(m+2)*(P+2)+2>a)continue A;Q=uA}}for(var z="",hA=x;hA<=Q;hA++){var CA=n[hA];if(r.multiline){if(hA===Q){z+=CA[S]+" ",S=(S+1)%CA.length;continue}if(hA===x){z+=CA[CA.length-1]+" ";continue}}z+=CA[0]+" "}switch(z=z.substr(z.length-1)==" "?z.substr(0,z.length-1):z,v=ff(z,r,i).width,r.textAlign){case"right":d=s-v-2;break;case"center":d=(s-v)/2;break;case"left":default:d=2}A+=_e(d)+" "+_e(p)+` Td
|
|
430
|
+
`,A+="("+lo(z)+`) Tj
|
|
431
|
+
`,A+=-_e(d)+` 0 Td
|
|
432
|
+
`,p=-(i+2),v=0,x=Y?Q:Q+1,P++,U=""}break}return t.text=A,t.fontSize=i,t},ff=function(r,A,e){var t=A.scope.internal.getFont(A.fontName,A.fontStyle),n=A.scope.getStringUnitWidth(r,{font:t,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:A.scope.getStringUnitWidth("3",{font:t,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:n}},n6={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},i6=function(r,A){var e={type:"reference",object:r};A.internal.getPageInfo(r.page).pageContext.annotations.find(function(t){return t.type===e.type&&t.object===e.object})===void 0&&A.internal.getPageInfo(r.page).pageContext.annotations.push(e)},a6=function(r,A){for(var e in r)if(r.hasOwnProperty(e)){var t=e,n=r[e];A.internal.newObjectDeferredBegin(n.objId,!0),$e(n)==="object"&&typeof n.putStream=="function"&&n.putStream(),delete r[t]}},s6=function(r,A){if(A.scope=r,r.internal!==void 0&&(r.internal.acroformPlugin===void 0||r.internal.acroformPlugin.isInitialized===!1)){if(Di.FieldNum=0,r.internal.acroformPlugin=JSON.parse(JSON.stringify(n6)),r.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");a0=r.internal.scaleFactor,r.internal.acroformPlugin.acroFormDictionaryRoot=new aC,r.internal.acroformPlugin.acroFormDictionaryRoot.scope=r,r.internal.acroformPlugin.acroFormDictionaryRoot._eventID=r.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})(r)}),r.internal.events.subscribe("buildDocument",function(){(function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];i.objId=void 0,i.hasAnnotation&&i6(i,e)}})(r)}),r.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")})(r)}),r.internal.events.subscribe("postPutPages",function(e){(function(t,n){var i=!t;for(var a in t||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(a)){var s=t[a],c=[],d=s.Rect;if(s.Rect&&(s.Rect=t6(s.Rect,n)),n.internal.newObjectDeferredBegin(s.objId,!0),s.DA=ge.createDefaultAppearanceStream(s),$e(s)==="object"&&typeof s.getKeyValueListForStream=="function"&&(c=s.getKeyValueListForStream()),s.Rect=d,s.hasAppearanceStream&&!s.appearanceStreamContent){var v=r6(s);c.push({key:"AP",value:"<</N "+v+">>"}),n.internal.acroformPlugin.xForms.push(v)}if(s.appearanceStreamContent){var m="";for(var C in s.appearanceStreamContent)if(s.appearanceStreamContent.hasOwnProperty(C)){var p=s.appearanceStreamContent[C];if(m+="/"+C+" ",m+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var a in p)if(p.hasOwnProperty(a)){var x=p[a];typeof x=="function"&&(x=x.call(n,s)),m+="/"+a+" "+x+" ",n.internal.acroformPlugin.xForms.indexOf(x)>=0||n.internal.acroformPlugin.xForms.push(x)}}else typeof(x=p)=="function"&&(x=x.call(n,s)),m+="/"+a+" "+x,n.internal.acroformPlugin.xForms.indexOf(x)>=0||n.internal.acroformPlugin.xForms.push(x);m+=">>"}c.push({key:"AP",value:`<<
|
|
433
|
+
`+m+">>"})}n.internal.putStream({additionalKeyValues:c,objectId:s.objId}),n.internal.out("endobj")}i&&a6(n.internal.acroformPlugin.xForms,n)})(e,r)}),r.internal.acroformPlugin.isInitialized=!0}},nC=$t.__acroform__.arrayToPdfArray=function(r,A,e){var t=function(a){return a};if(Array.isArray(r)){for(var n="[",i=0;i<r.length;i++)switch(i!==0&&(n+=" "),$e(r[i])){case"boolean":case"number":case"object":n+=r[i].toString();break;case"string":r[i].substr(0,1)!=="/"?(A!==void 0&&e&&(t=e.internal.getEncryptor(A)),n+="("+lo(t(r[i].toString()))+")"):n+=r[i].toString()}return n+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Jp=function(r,A,e){var t=function(n){return n};return A!==void 0&&e&&(t=e.internal.getEncryptor(A)),(r=r||"").toString(),r="("+lo(t(r))+")"},ca=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(r){this._objId=r}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ca.prototype.toString=function(){return this.objId+" 0 R"},ca.prototype.putStream=function(){var r=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:r,objectId:this.objId}),this.scope.internal.out("endobj")},ca.prototype.getKeyValueListForStream=function(){var r=[],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 t=A[e],n=this[t];n&&(Array.isArray(n)?r.push({key:t,value:nC(n,this.objId,this.scope)}):n instanceof ca?(n.scope=this.scope,r.push({key:t,value:n.objId+" 0 R"})):typeof n!="function"&&r.push({key:t,value:n}))}return r};var iC=function(){ca.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 r,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){r=e.trim()},get:function(){return r||null}})};_n(iC,ca);var aC=function(){ca.call(this);var r,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(r){var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+lo(e(r))+")"}},set:function(e){r=e}})};_n(aC,ca);var Di=function r(){ca.call(this);var A=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return A},set:function(U){if(isNaN(U))throw new Error('Invalid value "'+U+'" for attribute F supplied.');A=U}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!or(A,3)},set:function(U){U?this.F=ur(A,3):this.F=lr(A,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(U){if(isNaN(U))throw new Error('Invalid value "'+U+'" for attribute Ff supplied.');e=U}});var t=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(t.length!==0)return t},set:function(U){t=U!==void 0?U:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!t||isNaN(t[0])?0:t[0]},set:function(U){t[0]=U}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!t||isNaN(t[1])?0:t[1]},set:function(U){t[1]=U}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!t||isNaN(t[2])?0:t[2]},set:function(U){t[2]=U}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!t||isNaN(t[3])?0:t[3]},set:function(U){t[3]=U}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(U){switch(U){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=U;break;default:throw new Error('Invalid value "'+U+'" 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 yf)return;i="FieldObject"+r.FieldNum++}var U=function(P){return P};return this.scope&&(U=this.scope.internal.getEncryptor(this.objId)),"("+lo(U(i))+")"},set:function(U){i=U.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(U){i=U}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(U){a=U}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(U){s=U}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(U){c=U}});var d=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return d===void 0?50/a0:d},set:function(U){d=U}});var v="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return v},set:function(U){v=U}});var m="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!m||this instanceof yf||this instanceof uo))return Jp(m,this.objId,this.scope)},set:function(U){U=U.toString(),m=U}});var C=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(C)return this instanceof Or?C:Jp(C,this.objId,this.scope)},set:function(U){U=U.toString(),C=this instanceof Or?U:U.substr(0,1)==="("?gu(U.substr(1,U.length-2)):gu(U)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Or?gu(C.substr(1,C.length-1)):C},set:function(U){U=U.toString(),C=this instanceof Or?"/"+U:U}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(U){this.V=U}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof Or?p:Jp(p,this.objId,this.scope)},set:function(U){U=U.toString(),p=this instanceof Or?U:U.substr(0,1)==="("?gu(U.substr(1,U.length-2)):gu(U)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Or?gu(p.substr(1,p.length-1)):p},set:function(U){U=U.toString(),p=this instanceof Or?"/"+U:U}}),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 x,Q=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Q},set:function(U){U=!!U,Q=U}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(x)return x},set:function(U){x=U}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,1)},set:function(U){U?this.Ff=ur(this.Ff,1):this.Ff=lr(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,2)},set:function(U){U?this.Ff=ur(this.Ff,2):this.Ff=lr(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,3)},set:function(U){U?this.Ff=ur(this.Ff,3):this.Ff=lr(this.Ff,3)}});var S=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(S!==null)return S},set:function(U){if([0,1,2].indexOf(U)===-1)throw new Error('Invalid value "'+U+'" for attribute Q supplied.');S=U}}),Object.defineProperty(this,"textAlign",{get:function(){var U;switch(S){case 0:default:U="left";break;case 1:U="center";break;case 2:U="right"}return U},configurable:!0,enumerable:!0,set:function(U){switch(U){case"right":case 2:S=2;break;case"center":case 1:S=1;break;case"left":case 0:default:S=0}}})};_n(Di,ca);var wu=function(){Di.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var r=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return r},set:function(e){r=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return r},set:function(e){r=e}});var A=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return nC(A,this.objId,this.scope)},set:function(e){var t,n;n=[],typeof(t=e)=="string"&&(n=function(i,a,s){s||(s=1);for(var c,d=[];c=a.exec(i);)d.push(c[s]);return d}(t,/\((.*?)\)/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,t){for(t=t||!1,e=(e=e||"").toString();A.indexOf(e)!==-1&&(A.splice(A.indexOf(e),1),t!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,18)},set:function(e){e?this.Ff=ur(this.Ff,18):this.Ff=lr(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,19)},set:function(e){this.combo===!0&&(e?this.Ff=ur(this.Ff,19):this.Ff=lr(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,20)},set:function(e){e?(this.Ff=ur(this.Ff,20),A.sort()):this.Ff=lr(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,22)},set:function(e){e?this.Ff=ur(this.Ff,22):this.Ff=lr(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,23)},set:function(e){e?this.Ff=ur(this.Ff,23):this.Ff=lr(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,27)},set:function(e){e?this.Ff=ur(this.Ff,27):this.Ff=lr(this.Ff,27)}}),this.hasAppearanceStream=!1};_n(wu,Di);var mu=function(){wu.call(this),this.fontName="helvetica",this.combo=!1};_n(mu,wu);var yu=function(){mu.call(this),this.combo=!0};_n(yu,mu);var pf=function(){yu.call(this),this.edit=!0};_n(pf,yu);var Or=function(){Di.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,15)},set:function(e){e?this.Ff=ur(this.Ff,15):this.Ff=lr(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,16)},set:function(e){e?this.Ff=ur(this.Ff,16):this.Ff=lr(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,17)},set:function(e){e?this.Ff=ur(this.Ff,17):this.Ff=lr(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,26)},set:function(e){e?this.Ff=ur(this.Ff,26):this.Ff=lr(this.Ff,26)}});var r,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 t,n=[];for(t in n.push("<<"),A)n.push("/"+t+" ("+lo(e(A[t]))+")");return n.push(">>"),n.join(`
|
|
434
|
+
`)}},set:function(e){$e(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 r},set:function(e){r=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(e){r="/"+e}})};_n(Or,Di);var vf=function(){Or.call(this),this.pushButton=!0};_n(vf,Or);var Cu=function(){Or.call(this),this.radio=!0,this.pushButton=!1;var r=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return r},set:function(A){r=A!==void 0?A:[]}})};_n(Cu,Or);var yf=function(){var r,A;Di.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return r},set:function(n){r=n}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return A},set:function(n){A=n}});var e,t={};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("<<"),t)a.push("/"+i+" ("+lo(n(t[i]))+")");return a.push(">>"),a.join(`
|
|
435
|
+
`)},set:function(n){$e(n)==="object"&&(t=n)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(n){typeof n=="string"&&(t.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=ge.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};_n(yf,Di),Cu.prototype.setAppearance=function(r){if(!("createAppearanceStream"in r)||!("getCA"in r))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=r.createAppearanceStream(e.optionName),e.caption=r.getCA()}},Cu.prototype.createOption=function(r){var A=new yf;return A.Parent=this,A.optionName=r,this.Kids.push(A),o6.call(this.scope,A),A};var Bf=function(){Or.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ge.CheckBox.createAppearanceStream()};_n(Bf,Or);var uo=function(){Di.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,13)},set:function(A){A?this.Ff=ur(this.Ff,13):this.Ff=lr(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,21)},set:function(A){A?this.Ff=ur(this.Ff,21):this.Ff=lr(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,23)},set:function(A){A?this.Ff=ur(this.Ff,23):this.Ff=lr(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,24)},set:function(A){A?this.Ff=ur(this.Ff,24):this.Ff=lr(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,25)},set:function(A){A?this.Ff=ur(this.Ff,25):this.Ff=lr(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,26)},set:function(A){A?this.Ff=ur(this.Ff,26):this.Ff=lr(this.Ff,26)}});var r=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return r},set:function(A){r=A}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return r},set:function(A){Number.isInteger(A)&&(r=A)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};_n(uo,Di);var wf=function(){uo.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!or(this.Ff,14)},set:function(r){r?this.Ff=ur(this.Ff,14):this.Ff=lr(this.Ff,14)}}),this.password=!0};_n(wf,uo);var ge={CheckBox:{createAppearanceStream:function(){return{N:{On:ge.CheckBox.YesNormal},D:{On:ge.CheckBox.YesPushDown,Off:ge.CheckBox.OffPushDown}}},YesPushDown:function(r){var A=la(r);A.scope=r.scope;var e=[],t=r.scope.internal.getFont(r.fontName,r.fontStyle).id,n=r.scope.__private__.encodeColorString(r.color),i=r0(r,r.caption);return e.push("0.749023 g"),e.push("0 0 "+_e(ge.internal.getWidth(r))+" "+_e(ge.internal.getHeight(r))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+t+" "+_e(i.fontSize)+" Tf "+n),e.push("BT"),e.push(i.text),e.push("ET"),e.push("Q"),e.push("EMC"),A.stream=e.join(`
|
|
436
|
+
`),A},YesNormal:function(r){var A=la(r);A.scope=r.scope;var e=r.scope.internal.getFont(r.fontName,r.fontStyle).id,t=r.scope.__private__.encodeColorString(r.color),n=[],i=ge.internal.getHeight(r),a=ge.internal.getWidth(r),s=r0(r,r.caption);return n.push("1 g"),n.push("0 0 "+_e(a)+" "+_e(i)+" re"),n.push("f"),n.push("q"),n.push("0 0 1 rg"),n.push("0 0 "+_e(a-1)+" "+_e(i-1)+" re"),n.push("W"),n.push("n"),n.push("0 g"),n.push("BT"),n.push("/"+e+" "+_e(s.fontSize)+" Tf "+t),n.push(s.text),n.push("ET"),n.push("Q"),A.stream=n.join(`
|
|
437
|
+
`),A},OffPushDown:function(r){var A=la(r);A.scope=r.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+_e(ge.internal.getWidth(r))+" "+_e(ge.internal.getHeight(r))+" re"),e.push("f"),A.stream=e.join(`
|
|
438
|
+
`),A}},RadioButton:{Circle:{createAppearanceStream:function(r){var A={D:{Off:ge.RadioButton.Circle.OffPushDown},N:{}};return A.N[r]=ge.RadioButton.Circle.YesNormal,A.D[r]=ge.RadioButton.Circle.YesPushDown,A},getCA:function(){return"l"},YesNormal:function(r){var A=la(r);A.scope=r.scope;var e=[],t=ge.internal.getWidth(r)<=ge.internal.getHeight(r)?ge.internal.getWidth(r)/4:ge.internal.getHeight(r)/4;t=Number((.9*t).toFixed(5));var n=ge.internal.Bezier_C,i=Number((t*n).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+Us(ge.internal.getWidth(r)/2)+" "+Us(ge.internal.getHeight(r)/2)+" cm"),e.push(t+" 0 m"),e.push(t+" "+i+" "+i+" "+t+" 0 "+t+" c"),e.push("-"+i+" "+t+" -"+t+" "+i+" -"+t+" 0 c"),e.push("-"+t+" -"+i+" -"+i+" -"+t+" 0 -"+t+" c"),e.push(i+" -"+t+" "+t+" -"+i+" "+t+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
|
|
439
|
+
`),A},YesPushDown:function(r){var A=la(r);A.scope=r.scope;var e=[],t=ge.internal.getWidth(r)<=ge.internal.getHeight(r)?ge.internal.getWidth(r)/4:ge.internal.getHeight(r)/4;t=Number((.9*t).toFixed(5));var n=Number((2*t).toFixed(5)),i=Number((n*ge.internal.Bezier_C).toFixed(5)),a=Number((t*ge.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+Us(ge.internal.getWidth(r)/2)+" "+Us(ge.internal.getHeight(r)/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 "+Us(ge.internal.getWidth(r)/2)+" "+Us(ge.internal.getHeight(r)/2)+" cm"),e.push(t+" 0 m"),e.push(t+" "+a+" "+a+" "+t+" 0 "+t+" c"),e.push("-"+a+" "+t+" -"+t+" "+a+" -"+t+" 0 c"),e.push("-"+t+" -"+a+" -"+a+" -"+t+" 0 -"+t+" c"),e.push(a+" -"+t+" "+t+" -"+a+" "+t+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
|
|
440
|
+
`),A},OffPushDown:function(r){var A=la(r);A.scope=r.scope;var e=[],t=ge.internal.getWidth(r)<=ge.internal.getHeight(r)?ge.internal.getWidth(r)/4:ge.internal.getHeight(r)/4;t=Number((.9*t).toFixed(5));var n=Number((2*t).toFixed(5)),i=Number((n*ge.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+Us(ge.internal.getWidth(r)/2)+" "+Us(ge.internal.getHeight(r)/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(`
|
|
441
|
+
`),A}},Cross:{createAppearanceStream:function(r){var A={D:{Off:ge.RadioButton.Cross.OffPushDown},N:{}};return A.N[r]=ge.RadioButton.Cross.YesNormal,A.D[r]=ge.RadioButton.Cross.YesPushDown,A},getCA:function(){return"8"},YesNormal:function(r){var A=la(r);A.scope=r.scope;var e=[],t=ge.internal.calculateCross(r);return e.push("q"),e.push("1 1 "+_e(ge.internal.getWidth(r)-2)+" "+_e(ge.internal.getHeight(r)-2)+" re"),e.push("W"),e.push("n"),e.push(_e(t.x1.x)+" "+_e(t.x1.y)+" m"),e.push(_e(t.x2.x)+" "+_e(t.x2.y)+" l"),e.push(_e(t.x4.x)+" "+_e(t.x4.y)+" m"),e.push(_e(t.x3.x)+" "+_e(t.x3.y)+" l"),e.push("s"),e.push("Q"),A.stream=e.join(`
|
|
442
|
+
`),A},YesPushDown:function(r){var A=la(r);A.scope=r.scope;var e=ge.internal.calculateCross(r),t=[];return t.push("0.749023 g"),t.push("0 0 "+_e(ge.internal.getWidth(r))+" "+_e(ge.internal.getHeight(r))+" re"),t.push("f"),t.push("q"),t.push("1 1 "+_e(ge.internal.getWidth(r)-2)+" "+_e(ge.internal.getHeight(r)-2)+" re"),t.push("W"),t.push("n"),t.push(_e(e.x1.x)+" "+_e(e.x1.y)+" m"),t.push(_e(e.x2.x)+" "+_e(e.x2.y)+" l"),t.push(_e(e.x4.x)+" "+_e(e.x4.y)+" m"),t.push(_e(e.x3.x)+" "+_e(e.x3.y)+" l"),t.push("s"),t.push("Q"),A.stream=t.join(`
|
|
443
|
+
`),A},OffPushDown:function(r){var A=la(r);A.scope=r.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+_e(ge.internal.getWidth(r))+" "+_e(ge.internal.getHeight(r))+" re"),e.push("f"),A.stream=e.join(`
|
|
444
|
+
`),A}}},createDefaultAppearanceStream:function(r){var A=r.scope.internal.getFont(r.fontName,r.fontStyle).id,e=r.scope.__private__.encodeColorString(r.color);return"/"+A+" "+r.fontSize+" Tf "+e}};ge.internal={Bezier_C:.551915024494,calculateCross:function(r){var A=ge.internal.getWidth(r),e=ge.internal.getHeight(r),t=Math.min(A,e);return{x1:{x:(A-t)/2,y:(e-t)/2+t},x2:{x:(A-t)/2+t,y:(e-t)/2},x3:{x:(A-t)/2,y:(e-t)/2},x4:{x:(A-t)/2+t,y:(e-t)/2+t}}}},ge.internal.getWidth=function(r){var A=0;return $e(r)==="object"&&(A=Ky(r.Rect[2])),A},ge.internal.getHeight=function(r){var A=0;return $e(r)==="object"&&(A=Ky(r.Rect[3])),A};var o6=$t.addField=function(r){if(s6(this,r),!(r instanceof Di))throw new Error("Invalid argument passed to jsPDF.addField.");var A;return(A=r).scope.internal.acroformPlugin.printedOut&&(A.scope.internal.acroformPlugin.printedOut=!1,A.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),A.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(A),r.page=r.scope.internal.getCurrentPageInfo().pageNumber,this};$t.AcroFormChoiceField=wu,$t.AcroFormListBox=mu,$t.AcroFormComboBox=yu,$t.AcroFormEditBox=pf,$t.AcroFormButton=Or,$t.AcroFormPushButton=vf,$t.AcroFormRadioButton=Cu,$t.AcroFormCheckBox=Bf,$t.AcroFormTextField=uo,$t.AcroFormPasswordField=wf,$t.AcroFormAppearance=ge,$t.AcroForm={ChoiceField:wu,ListBox:mu,ComboBox:yu,EditBox:pf,Button:Or,PushButton:vf,RadioButton:Cu,CheckBox:Bf,TextField:uo,PasswordField:wf,Appearance:ge},Ue.AcroForm={ChoiceField:wu,ListBox:mu,ComboBox:yu,EditBox:pf,Button:Or,PushButton:vf,RadioButton:Cu,CheckBox:Bf,TextField:uo,PasswordField:wf,Appearance:ge};var MO=Ue.AcroForm;function sC(r){return r.reduce(function(A,e,t){return A[e]=t,A},{})}(function(r){r.__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]]},t=r.__addimage__.getImageFileTypeByImageData=function(_,M){var $,G,yA,fA,UA,AA=A;if((M=M||A)==="RGBA"||_.data!==void 0&&_.data instanceof Uint8ClampedArray&&"height"in _&&"width"in _)return"RGBA";if(wA(_))for(UA in e)for(yA=e[UA],$=0;$<yA.length;$+=1){for(fA=!0,G=0;G<yA[$].length;G+=1)if(yA[$][G]!==void 0&&yA[$][G]!==_[G]){fA=!1;break}if(fA===!0){AA=UA;break}}else for(UA in e)for(yA=e[UA],$=0;$<yA.length;$+=1){for(fA=!0,G=0;G<yA[$].length;G+=1)if(yA[$][G]!==void 0&&yA[$][G]!==_.charCodeAt(G)){fA=!1;break}if(fA===!0){AA=UA;break}}return AA===A&&M!==A&&(AA=M),AA},n=function _(M){for(var $=this.internal.write,G=this.internal.putStream,yA=(0,this.internal.getFilters)();yA.indexOf("FlateEncode")!==-1;)yA.splice(yA.indexOf("FlateEncode"),1);M.objectId=this.internal.newObject();var fA=[];if(fA.push({key:"Type",value:"/XObject"}),fA.push({key:"Subtype",value:"/Image"}),fA.push({key:"Width",value:M.width}),fA.push({key:"Height",value:M.height}),M.colorSpace===S.INDEXED?fA.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(M.palette.length/3-1)+" "+("sMask"in M&&M.sMask!==void 0?M.objectId+2:M.objectId+1)+" 0 R]"}):(fA.push({key:"ColorSpace",value:"/"+M.colorSpace}),M.colorSpace===S.DEVICE_CMYK&&fA.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),fA.push({key:"BitsPerComponent",value:M.bitsPerComponent}),"decodeParameters"in M&&M.decodeParameters!==void 0&&fA.push({key:"DecodeParms",value:"<<"+M.decodeParameters+">>"}),"transparency"in M&&Array.isArray(M.transparency)){for(var UA="",AA=0,vA=M.transparency.length;AA<vA;AA++)UA+=M.transparency[AA]+" "+M.transparency[AA]+" ";fA.push({key:"Mask",value:"["+UA+"]"})}M.sMask!==void 0&&fA.push({key:"SMask",value:M.objectId+1+" 0 R"});var QA=M.filter!==void 0?["/"+M.filter]:void 0;if(G({data:M.data,additionalKeyValues:fA,alreadyAppliedFilters:QA,objectId:M.objectId}),$("endobj"),"sMask"in M&&M.sMask!==void 0){var jA="/Predictor "+M.predictor+" /Colors 1 /BitsPerComponent "+M.bitsPerComponent+" /Columns "+M.width,L={width:M.width,height:M.height,colorSpace:"DeviceGray",bitsPerComponent:M.bitsPerComponent,decodeParameters:jA,data:M.sMask};"filter"in M&&(L.filter=M.filter),_.call(this,L)}if(M.colorSpace===S.INDEXED){var V=this.internal.newObject();G({data:z(new Uint8Array(M.palette)),objectId:V}),$("endobj")}},i=function(){var _=this.internal.collections.addImage_images;for(var M in _)n.call(this,_[M])},a=function(){var _,M=this.internal.collections.addImage_images,$=this.internal.write;for(var G in M)$("/I"+(_=M[G]).index,_.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))},c=function(){var _=this.internal.collections.addImage_images;return s.call(this),_},d=function(){return Object.keys(this.internal.collections.addImage_images).length},v=function(_){return typeof r["process"+_.toUpperCase()]=="function"},m=function(_){return $e(_)==="object"&&_.nodeType===1},C=function(_,M){if(_.nodeName==="IMG"&&_.hasAttribute("src")){var $=""+_.getAttribute("src");if($.indexOf("data:image/")===0)return Ol(unescape($).split("base64,").pop());var G=r.loadFile($,!0);if(G!==void 0)return G}if(_.nodeName==="CANVAS"){if(_.width===0||_.height===0)throw new Error("Given canvas must have data. Canvas width: "+_.width+", height: "+_.height);var yA;switch(M){case"PNG":yA="image/png";break;case"WEBP":yA="image/webp";break;case"JPEG":case"JPG":default:yA="image/jpeg"}return Ol(_.toDataURL(yA,1).split("base64,").pop())}},p=function(_){var M=this.internal.collections.addImage_images;if(M){for(var $ in M)if(_===M[$].alias)return M[$]}},x=function(_,M,$){return _||M||(_=-96,M=-96),_<0&&(_=-1*$.width*72/_/this.internal.scaleFactor),M<0&&(M=-1*$.height*72/M/this.internal.scaleFactor),_===0&&(_=M*$.width/$.height),M===0&&(M=_*$.height/$.width),[_,M]},Q=function(_,M,$,G,yA,fA){var UA=x.call(this,$,G,yA),AA=this.internal.getCoordinateString,vA=this.internal.getVerticalCoordinateString,QA=c.call(this);if($=UA[0],G=UA[1],QA[yA.index]=yA,fA){fA*=Math.PI/180;var jA=Math.cos(fA),L=Math.sin(fA),V=function(Z){return Z.toFixed(4)},X=[V(jA),V(L),V(-1*L),V(jA),0,0,"cm"]}this.internal.write("q"),fA?(this.internal.write([1,"0","0",1,AA(_),vA(M+G),"cm"].join(" ")),this.internal.write(X.join(" ")),this.internal.write([AA($),"0","0",AA(G),"0","0","cm"].join(" "))):this.internal.write([AA($),"0","0",AA(G),AA(_),vA(M+G),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+yA.index+" Do"),this.internal.write("Q")},S=r.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"};r.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 U=r.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},P=r.__addimage__.sHashCode=function(_){var M,$,G=0;if(typeof _=="string")for($=_.length,M=0;M<$;M++)G=(G<<5)-G+_.charCodeAt(M),G|=0;else if(wA(_))for($=_.byteLength/2,M=0;M<$;M++)G=(G<<5)-G+_[M],G|=0;return G},q=r.__addimage__.validateStringAsBase64=function(_){(_=_||"").toString().trim();var M=!0;return _.length===0&&(M=!1),_.length%4!=0&&(M=!1),/^[A-Za-z0-9+/]+$/.test(_.substr(0,_.length-2))===!1&&(M=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(_.substr(-2))===!1&&(M=!1),M},Y=r.__addimage__.extractImageFromDataUrl=function(_){var M=(_=_||"").split("base64,"),$=null;if(M.length===2){var G=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(M[0]);Array.isArray(G)&&($={mimeType:G[1],charset:G[2],data:M[1]})}return $},uA=r.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"};r.__addimage__.isArrayBuffer=function(_){return uA()&&_ instanceof ArrayBuffer};var wA=r.__addimage__.isArrayBufferView=function(_){return uA()&&typeof Uint32Array<"u"&&(_ instanceof Int8Array||_ instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&_ instanceof Uint8ClampedArray||_ instanceof Int16Array||_ instanceof Uint16Array||_ instanceof Int32Array||_ instanceof Uint32Array||_ instanceof Float32Array||_ instanceof Float64Array)},J=r.__addimage__.binaryStringToUint8Array=function(_){for(var M=_.length,$=new Uint8Array(M),G=0;G<M;G++)$[G]=_.charCodeAt(G);return $},z=r.__addimage__.arrayBufferToBinaryString=function(_){for(var M="",$=wA(_)?_:new Uint8Array(_),G=0;G<$.length;G+=8192)M+=String.fromCharCode.apply(null,$.subarray(G,G+8192));return M};r.addImage=function(){var _,M,$,G,yA,fA,UA,AA,vA;if(typeof arguments[1]=="number"?(M=A,$=arguments[1],G=arguments[2],yA=arguments[3],fA=arguments[4],UA=arguments[5],AA=arguments[6],vA=arguments[7]):(M=arguments[1],$=arguments[2],G=arguments[3],yA=arguments[4],fA=arguments[5],UA=arguments[6],AA=arguments[7],vA=arguments[8]),$e(_=arguments[0])==="object"&&!m(_)&&"imageData"in _){var QA=_;_=QA.imageData,M=QA.format||M||A,$=QA.x||$||0,G=QA.y||G||0,yA=QA.w||QA.width||yA,fA=QA.h||QA.height||fA,UA=QA.alias||UA,AA=QA.compression||AA,vA=QA.rotation||QA.angle||vA}var jA=this.internal.getFilters();if(AA===void 0&&jA.indexOf("FlateEncode")!==-1&&(AA="SLOW"),isNaN($)||isNaN(G))throw new Error("Invalid coordinates passed to jsPDF.addImage");s.call(this);var L=hA.call(this,_,M,UA,AA);return Q.call(this,$,G,yA,fA,L,vA),this};var hA=function(_,M,$,G){var yA,fA,UA;if(typeof _=="string"&&t(_)===A){_=unescape(_);var AA=CA(_,!1);(AA!==""||(AA=r.loadFile(_,!0))!==void 0)&&(_=AA)}if(m(_)&&(_=C(_,M)),M=t(_,M),!v(M))throw new Error("addImage does not support files of type '"+M+"', please ensure that a plugin for '"+M+"' support is added.");if(((UA=$)==null||UA.length===0)&&($=function(vA){return typeof vA=="string"||wA(vA)?P(vA):wA(vA.data)?P(vA.data):null}(_)),(yA=p.call(this,$))||(uA()&&(_ instanceof Uint8Array||M==="RGBA"||(fA=_,_=J(_))),yA=this["process"+M.toUpperCase()](_,d.call(this),$,function(vA){return vA&&typeof vA=="string"&&(vA=vA.toUpperCase()),vA in r.image_compression?vA:U.NONE}(G),fA)),!yA)throw new Error("An unknown error occurred whilst processing the image.");return yA},CA=r.__addimage__.convertBase64ToBinaryString=function(_,M){var $;M=typeof M!="boolean"||M;var G,yA="";if(typeof _=="string"){G=($=Y(_))!==null?$.data:_;try{yA=Ol(G)}catch(fA){if(M)throw q(G)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+fA.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return yA};r.getImageProperties=function(_){var M,$,G="";if(m(_)&&(_=C(_)),typeof _=="string"&&t(_)===A&&((G=CA(_,!1))===""&&(G=r.loadFile(_)||""),_=G),$=t(_),!v($))throw new Error("addImage does not support files of type '"+$+"', please ensure that a plugin for '"+$+"' support is added.");if(!uA()||_ instanceof Uint8Array||(_=J(_)),!(M=this["process"+$.toUpperCase()](_)))throw new Error("An unknown error occurred whilst processing the image");return M.fileType=$,M}})(Ue.API),function(r){var A=function(e){if(e!==void 0&&e!="")return!0};Ue.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),r.events.push(["putPage",function(e){for(var t,n,i,a=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString,c=this.internal.getPageInfoByObjId(e.objId),d=e.pageContext.annotations,v=!1,m=0;m<d.length&&!v;m++)switch((t=d[m]).type){case"link":(A(t.options.url)||A(t.options.pageNumber))&&(v=!0);break;case"reference":case"text":case"freetext":v=!0}if(v!=0){this.internal.write("/Annots [");for(var C=0;C<d.length;C++){t=d[C];var p=this.internal.pdfEscape,x=this.internal.getEncryptor(e.objId);switch(t.type){case"reference":this.internal.write(" "+t.object.objId+" 0 R ");break;case"text":var Q=this.internal.newAdditionalObject(),S=this.internal.newAdditionalObject(),U=this.internal.getEncryptor(Q.objId),P=t.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+a(t.bounds.x)+" "+s(t.bounds.y+t.bounds.h)+" "+a(t.bounds.x+t.bounds.w)+" "+s(t.bounds.y)+"] ")+"/Contents ("+p(U(t.contents))+")",i+=" /Popup "+S.objId+" 0 R",i+=" /P "+c.objId+" 0 R",i+=" /T ("+p(U(P))+") >>",Q.content=i;var q=Q.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+a(t.bounds.x+30)+" "+s(t.bounds.y+t.bounds.h)+" "+a(t.bounds.x+t.bounds.w+30)+" "+s(t.bounds.y)+"] ")+" /Parent "+q,t.open&&(i+=" /Open true"),i+=" >>",S.content=i,this.internal.write(Q.objId,"0 R",S.objId,"0 R");break;case"freetext":n="/Rect ["+a(t.bounds.x)+" "+s(t.bounds.y)+" "+a(t.bounds.x+t.bounds.w)+" "+s(t.bounds.y+t.bounds.h)+"] ";var Y=t.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+p(x(t.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Y+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(t.options.name){var uA=this.annotations._nameMap[t.options.name];t.options.pageNumber=uA.page,t.options.top=uA.y}else t.options.top||(t.options.top=0);if(n="/Rect ["+t.finalBounds.x+" "+t.finalBounds.y+" "+t.finalBounds.w+" "+t.finalBounds.h+"] ",i="",t.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+p(x(t.options.url))+") >>";else if(t.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(t.options.pageNumber).objId+" 0 R",t.options.magFactor=t.options.magFactor||"XYZ",t.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+t.options.top+"]";break;case"FitV":t.options.left=t.options.left||0,i+=" /FitV "+t.options.left+"]";break;case"XYZ":default:var wA=s(t.options.top);t.options.left=t.options.left||0,t.options.zoom===void 0&&(t.options.zoom=0),i+=" /XYZ "+t.options.left+" "+wA+" "+t.options.zoom+"]"}i!=""&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),r.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},r.link=function(e,t,n,i,a){var s=this.internal.getCurrentPageInfo(),c=this.internal.getCoordinateString,d=this.internal.getVerticalCoordinateString;s.pageContext.annotations.push({finalBounds:{x:c(e),y:d(t),w:c(e+n),h:d(t+i)},options:a,type:"link"})},r.textWithLink=function(e,t,n,i){var a,s,c=this.getTextWidth(e),d=this.internal.getLineHeight()/this.internal.scaleFactor;if(i.maxWidth!==void 0){s=i.maxWidth;var v=this.splitTextToSize(e,s).length;a=Math.ceil(d*v)}else s=c,a=d;return this.text(e,t,n,i),n+=.2*d,i.align==="center"&&(t-=c/2),i.align==="right"&&(t-=c),this.link(t,n-d,s,a,i),c},r.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(Ue.API),function(r){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}},t={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];r.__arabicParser__={};var i=r.__arabicParser__.isInArabicSubstitutionA=function(Q){return A[Q.charCodeAt(0)]!==void 0},a=r.__arabicParser__.isArabicLetter=function(Q){return typeof Q=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Q)},s=r.__arabicParser__.isArabicEndLetter=function(Q){return a(Q)&&i(Q)&&A[Q.charCodeAt(0)].length<=2},c=r.__arabicParser__.isArabicAlfLetter=function(Q){return a(Q)&&n.indexOf(Q.charCodeAt(0))>=0};r.__arabicParser__.arabicLetterHasIsolatedForm=function(Q){return a(Q)&&i(Q)&&A[Q.charCodeAt(0)].length>=1};var d=r.__arabicParser__.arabicLetterHasFinalForm=function(Q){return a(Q)&&i(Q)&&A[Q.charCodeAt(0)].length>=2};r.__arabicParser__.arabicLetterHasInitialForm=function(Q){return a(Q)&&i(Q)&&A[Q.charCodeAt(0)].length>=3};var v=r.__arabicParser__.arabicLetterHasMedialForm=function(Q){return a(Q)&&i(Q)&&A[Q.charCodeAt(0)].length==4},m=r.__arabicParser__.resolveLigatures=function(Q){var S=0,U=e,P="",q=0;for(S=0;S<Q.length;S+=1)U[Q.charCodeAt(S)]!==void 0?(q++,typeof(U=U[Q.charCodeAt(S)])=="number"&&(P+=String.fromCharCode(U),U=e,q=0),S===Q.length-1&&(U=e,P+=Q.charAt(S-(q-1)),S-=q-1,q=0)):(U=e,P+=Q.charAt(S-q),S-=q,q=0);return P};r.__arabicParser__.isArabicDiacritic=function(Q){return Q!==void 0&&t[Q.charCodeAt(0)]!==void 0};var C=r.__arabicParser__.getCorrectForm=function(Q,S,U){return a(Q)?i(Q)===!1?-1:!d(Q)||!a(S)&&!a(U)||!a(U)&&s(S)||s(Q)&&!a(S)||s(Q)&&c(S)||s(Q)&&s(S)?0:v(Q)&&a(S)&&!s(S)&&a(U)&&d(U)?3:s(Q)||!a(U)?1:2:-1},p=function(Q){var S=0,U=0,P=0,q="",Y="",uA="",wA=(Q=Q||"").split("\\s+"),J=[];for(S=0;S<wA.length;S+=1){for(J.push(""),U=0;U<wA[S].length;U+=1)q=wA[S][U],Y=wA[S][U-1],uA=wA[S][U+1],a(q)?(P=C(q,Y,uA),J[S]+=P!==-1?String.fromCharCode(A[q.charCodeAt(0)][P]):q):J[S]+=q;J[S]=m(J[S])}return J.join(" ")},x=r.__arabicParser__.processArabic=r.processArabic=function(){var Q,S=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,U=[];if(Array.isArray(S)){var P=0;for(U=[],P=0;P<S.length;P+=1)Array.isArray(S[P])?U.push([p(S[P][0]),S[P][1],S[P][2]]):U.push([p(S[P])]);Q=U}else Q=p(S);return typeof arguments[0]=="string"?Q:(arguments[0].text=Q,arguments[0])};r.events.push(["preProcessText",x])}(Ue.API),Ue.API.autoPrint=function(r){var A;switch((r=r||{}).variant=r.variant||"non-conform",r.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(r){var A=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(s){e=s}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(s){t=isNaN(s)||Number.isInteger(s)===!1||s<0?150:s,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+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,t){var n;if((e=e||"2d")!=="2d")return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},A.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},r.events.push(["initialized",function(){this.canvas=new A,this.canvas.pdf=this}])}(Ue.API),function(r){var A={left:0,top:0,bottom:0,right:0},e=!1,t=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 c=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return c},set:function(Q){c=Q}});var d=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return d},set:function(Q){d=Q}});var v=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return v},set:function(Q){v=Q}});var m=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return m},set:function(Q){m=Q}});var C=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return C},set:function(Q){C=Q}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(Q){p=Q}});var x=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return x},set:function(Q){x=Q}}),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]},r.setHeaderFunction=function(c){return t.call(this),this.internal.__cell__.headerFunction=typeof c=="function"?c:void 0,this},r.getTextDimensions=function(c,d){t.call(this);var v=(d=d||{}).fontSize||this.getFontSize(),m=d.font||this.getFont(),C=d.scaleFactor||this.internal.scaleFactor,p=0,x=0,Q=0,S=this;if(!Array.isArray(c)&&typeof c!="string"){if(typeof c!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");c=String(c)}var U=d.maxWidth;U>0?typeof c=="string"?c=this.splitTextToSize(c,U):Object.prototype.toString.call(c)==="[object Array]"&&(c=c.reduce(function(q,Y){return q.concat(S.splitTextToSize(Y,U))},[])):c=Array.isArray(c)?c:[c];for(var P=0;P<c.length;P++)p<(Q=this.getStringUnitWidth(c[P],{font:m})*v)&&(p=Q);return p!==0&&(x=c.length),{w:p/=C,h:Math.max((x*v*this.getLineHeightFactor()-v*(this.getLineHeightFactor()-1))/C,0)}},r.cellAddPage=function(){t.call(this),this.addPage();var c=this.internal.__cell__.margins||A;return this.internal.__cell__.lastCell=new i(c.left,c.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var a=r.cell=function(){var c;c=arguments[0]instanceof i?arguments[0]:new i(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),t.call(this);var d=this.internal.__cell__.lastCell,v=this.internal.__cell__.padding,m=this.internal.__cell__.margins||A,C=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return d.lineNumber!==void 0&&(d.lineNumber===c.lineNumber?(c.x=(d.x||0)+(d.width||0),c.y=d.y||0):d.y+d.height+c.height+m.bottom>this.getPageHeight()?(this.cellAddPage(),c.y=m.top,p&&C&&(this.printHeaderRow(c.lineNumber,!0),c.y+=C[0].height)):c.y=d.y+d.height||c.y),c.text[0]!==void 0&&(this.rect(c.x,c.y,c.width,c.height,e===!0?"FD":void 0),c.align==="right"?this.text(c.text,c.x+c.width-v,c.y+v,{align:"right",baseline:"top"}):c.align==="center"?this.text(c.text,c.x+c.width/2,c.y+v,{align:"center",baseline:"top",maxWidth:c.width-v-v}):this.text(c.text,c.x+v,c.y+v,{align:"left",baseline:"top",maxWidth:c.width-v-v})),this.internal.__cell__.lastCell=c,this};r.table=function(c,d,v,m,C){if(t.call(this),!v)throw new Error("No data for PDF table.");var p,x,Q,S,U=[],P=[],q=[],Y={},uA={},wA=[],J=[],z=(C=C||{}).autoSize||!1,hA=C.printHeaders!==!1,CA=C.css&&C.css["font-size"]!==void 0?16*C.css["font-size"]:C.fontSize||12,_=C.margins||Object.assign({width:this.getPageWidth()},A),M=typeof C.padding=="number"?C.padding:3,$=C.headerBackgroundColor||"#c8c8c8",G=C.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=hA,this.internal.__cell__.margins=_,this.internal.__cell__.table_font_size=CA,this.internal.__cell__.padding=M,this.internal.__cell__.headerBackgroundColor=$,this.internal.__cell__.headerTextColor=G,this.setFontSize(CA),m==null)P=U=Object.keys(v[0]),q=U.map(function(){return"left"});else if(Array.isArray(m)&&$e(m[0])==="object")for(U=m.map(function(QA){return QA.name}),P=m.map(function(QA){return QA.prompt||QA.name||""}),q=m.map(function(QA){return QA.align||"left"}),p=0;p<m.length;p+=1)uA[m[p].name]=m[p].width*(19.049976/25.4);else Array.isArray(m)&&typeof m[0]=="string"&&(P=U=m,q=U.map(function(){return"left"}));if(z||Array.isArray(m)&&typeof m[0]=="string")for(p=0;p<U.length;p+=1){for(Y[S=U[p]]=v.map(function(QA){return QA[S]}),this.setFont(void 0,"bold"),wA.push(this.getTextDimensions(P[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),x=Y[S],this.setFont(void 0,"normal"),Q=0;Q<x.length;Q+=1)wA.push(this.getTextDimensions(x[Q],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);uA[S]=Math.max.apply(null,wA)+M+M,wA=[]}if(hA){var yA={};for(p=0;p<U.length;p+=1)yA[U[p]]={},yA[U[p]].text=P[p],yA[U[p]].align=q[p];var fA=s.call(this,yA,uA);J=U.map(function(QA){return new i(c,d,uA[QA],fA,yA[QA].text,void 0,yA[QA].align)}),this.setTableHeaderRow(J),this.printHeaderRow(1,!1)}var UA=m.reduce(function(QA,jA){return QA[jA.name]=jA.align,QA},{});for(p=0;p<v.length;p+=1){"rowStart"in C&&C.rowStart instanceof Function&&C.rowStart({row:p,data:v[p]},this);var AA=s.call(this,v[p],uA);for(Q=0;Q<U.length;Q+=1){var vA=v[p][U[Q]];"cellStart"in C&&C.cellStart instanceof Function&&C.cellStart({row:p,col:Q,data:vA},this),a.call(this,new i(c,d,uA[U[Q]],AA,vA,p+2,UA[U[Q]]))}}return this.internal.__cell__.table_x=c,this.internal.__cell__.table_y=d,this};var s=function(c,d){var v=this.internal.__cell__.padding,m=this.internal.__cell__.table_font_size,C=this.internal.scaleFactor;return Object.keys(c).map(function(p){var x=c[p];return this.splitTextToSize(x.hasOwnProperty("text")?x.text:x,d[p]-v-v)},this).map(function(p){return this.getLineHeightFactor()*p.length*m/C+v+v},this).reduce(function(p,x){return Math.max(p,x)},0)};r.setTableHeaderRow=function(c){t.call(this),this.internal.__cell__.tableHeaderRow=c},r.printHeaderRow=function(c,d){if(t.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var v;if(e=!0,typeof this.internal.__cell__.headerFunction=="function"){var m=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new i(m[0],m[1],m[2],m[3],void 0,-1)}this.setFont(void 0,"bold");for(var C=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){v=this.internal.__cell__.tableHeaderRow[p].clone(),d&&(v.y=this.internal.__cell__.margins.top||0,C.push(v)),v.lineNumber=c;var x=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),a.call(this,v),this.setTextColor(x)}C.length>0&&this.setTableHeaderRow(C),this.setFont(void 0,"normal"),e=!1}}(Ue.API);var oC={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},uC=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],n0=sC(uC),lC=[100,200,300,400,500,600,700,800,900],u6=sC(lC);function i0(r){var A=r.family.replace(/"|'/g,"").toLowerCase(),e=function(i){return oC[i=i||"normal"]?i:"normal"}(r.style),t=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}}(r.weight),n=function(i){return typeof n0[i=i||"normal"]=="number"?i:"normal"}(r.stretch);return{family:A,style:e,weight:t,stretch:n,src:r.src||[],ref:r.ref||{name:A,style:[n,e,t].join(" ")}}}function qy(r,A,e,t){var n;for(n=e;n>=0&&n<A.length;n+=t)if(r[A[n]])return r[A[n]];for(n=e;n>=0&&n<A.length;n-=t)if(r[A[n]])return r[A[n]]}var l6={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Vy={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function jy(r){return[r.stretch,r.style,r.weight,r.family].join(" ")}function c6(r,A,e){for(var t=(e=e||{}).defaultFontFamily||"times",n=Object.assign({},l6,e.genericFontFamilies||{}),i=null,a=null,s=0;s<A.length;++s)if(n[(i=i0(A[s])).family]&&(i.family=n[i.family]),r.hasOwnProperty(i.family)){a=r[i.family];break}if(!(a=a||r[t]))throw new Error("Could not find a font-family for the rule '"+jy(i)+"' and default family '"+t+"'.");if(a=function(c,d){if(d[c])return d[c];var v=n0[c],m=v<=n0.normal?-1:1,C=qy(d,uC,v,m);if(!C)throw new Error("Could not find a matching font-stretch value for "+c);return C}(i.stretch,a),a=function(c,d){if(d[c])return d[c];for(var v=oC[c],m=0;m<v.length;++m)if(d[v[m]])return d[v[m]];throw new Error("Could not find a matching font-style for "+c)}(i.style,a),!(a=function(c,d){if(d[c])return d[c];if(c===400&&d[500])return d[500];if(c===500&&d[400])return d[400];var v=u6[c],m=qy(d,lC,v,c<400?-1:1);if(!m)throw new Error("Could not find a matching font-weight for value "+c);return m}(i.weight,a)))throw new Error("Failed to resolve a font for the rule '"+jy(i)+"'.");return a}function Gy(r){return r.trimLeft()}function h6(r,A){for(var e=0;e<r.length;){if(r.charAt(e)===A)return[r.substring(0,e),r.substring(e+1)];e+=1}return null}function f6(r){var A=r.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return A===null?null:[A[0],r.substring(A[0].length)]}var gf,zy,Wy,Zp=["times"];(function(r){var A,e,t,n,i,a,s,c,d,v=function(L){return L=L||{},this.isStrokeTransparent=L.isStrokeTransparent||!1,this.strokeOpacity=L.strokeOpacity||1,this.strokeStyle=L.strokeStyle||"#000000",this.fillStyle=L.fillStyle||"#000000",this.isFillTransparent=L.isFillTransparent||!1,this.fillOpacity=L.fillOpacity||1,this.font=L.font||"10px sans-serif",this.textBaseline=L.textBaseline||"alphabetic",this.textAlign=L.textAlign||"left",this.lineWidth=L.lineWidth||1,this.lineJoin=L.lineJoin||"miter",this.lineCap=L.lineCap||"butt",this.path=L.path||[],this.transform=L.transform!==void 0?L.transform.clone():new c,this.globalCompositeOperation=L.globalCompositeOperation||"normal",this.globalAlpha=L.globalAlpha||1,this.clip_path=L.clip_path||[],this.currentPoint=L.currentPoint||new a,this.miterLimit=L.miterLimit||10,this.lastPoint=L.lastPoint||new a,this.lineDashOffset=L.lineDashOffset||0,this.lineDash=L.lineDash||[],this.margin=L.margin||[0,0,0,0],this.prevPageLastElemOffset=L.prevPageLastElemOffset||0,this.ignoreClearRect=typeof L.ignoreClearRect!="boolean"||L.ignoreClearRect,this};r.events.push(["initialized",function(){this.context2d=new m(this),A=this.internal.f2,e=this.internal.getCoordinateString,t=this.internal.getVerticalCoordinateString,n=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,a=this.internal.Point,s=this.internal.Rectangle,c=this.internal.Matrix,d=new v}]);var m=function(L){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var V=L;Object.defineProperty(this,"pdf",{get:function(){return V}});var X=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return X},set:function(EA){X=!!EA}});var Z=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Z},set:function(EA){Z=!!EA}});var sA=0;Object.defineProperty(this,"posX",{get:function(){return sA},set:function(EA){isNaN(EA)||(sA=EA)}});var mA=0;Object.defineProperty(this,"posY",{get:function(){return mA},set:function(EA){isNaN(EA)||(mA=EA)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(EA){var W;typeof EA=="number"?W=[EA,EA,EA,EA]:((W=new Array(4))[0]=EA[0],W[1]=EA.length>=2?EA[1]:W[0],W[2]=EA.length>=3?EA[2]:W[0],W[3]=EA.length>=4?EA[3]:W[1]),d.margin=W}});var FA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return FA},set:function(EA){FA=EA}});var bA=0;Object.defineProperty(this,"lastBreak",{get:function(){return bA},set:function(EA){bA=EA}});var VA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return VA},set:function(EA){VA=EA}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(EA){EA instanceof v&&(d=EA)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(EA){d.path=EA}});var MA=[];Object.defineProperty(this,"ctxStack",{get:function(){return MA},set:function(EA){MA=EA}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(EA){var W;W=C(EA),this.ctx.fillStyle=W.style,this.ctx.isFillTransparent=W.a===0,this.ctx.fillOpacity=W.a,this.pdf.setFillColor(W.r,W.g,W.b,{a:W.a}),this.pdf.setTextColor(W.r,W.g,W.b,{a:W.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(EA){var W=C(EA);this.ctx.strokeStyle=W.style,this.ctx.isStrokeTransparent=W.a===0,this.ctx.strokeOpacity=W.a,W.a===0?this.pdf.setDrawColor(255,255,255):(W.a,this.pdf.setDrawColor(W.r,W.g,W.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(EA){["butt","round","square"].indexOf(EA)!==-1&&(this.ctx.lineCap=EA,this.pdf.setLineCap(EA))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(EA){isNaN(EA)||(this.ctx.lineWidth=EA,this.pdf.setLineWidth(EA))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(EA){["bevel","round","miter"].indexOf(EA)!==-1&&(this.ctx.lineJoin=EA,this.pdf.setLineJoin(EA))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(EA){isNaN(EA)||(this.ctx.miterLimit=EA,this.pdf.setMiterLimit(EA))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(EA){this.ctx.textBaseline=EA}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(EA){["right","end","center","left","start"].indexOf(EA)!==-1&&(this.ctx.textAlign=EA)}});var Ae=null;function $A(EA,W){if(Ae===null){var Ce=function(ce){var KA=[];return Object.keys(ce).forEach(function(zA){ce[zA].forEach(function(XA){var WA=null;switch(XA){case"bold":WA={family:zA,weight:"bold"};break;case"italic":WA={family:zA,style:"italic"};break;case"bolditalic":WA={family:zA,weight:"bold",style:"italic"};break;case"":case"normal":WA={family:zA}}WA!==null&&(WA.ref={name:zA,style:XA},KA.push(WA))})}),KA}(EA.getFontList());Ae=function(ce){for(var KA={},zA=0;zA<ce.length;++zA){var XA=i0(ce[zA]),WA=XA.family,oe=XA.stretch,he=XA.style,Ie=XA.weight;KA[WA]=KA[WA]||{},KA[WA][oe]=KA[WA][oe]||{},KA[WA][oe][he]=KA[WA][oe][he]||{},KA[WA][oe][he][Ie]=XA}return KA}(Ce.concat(W))}return Ae}var pe=null;Object.defineProperty(this,"fontFaces",{get:function(){return pe},set:function(EA){Ae=null,pe=EA}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(EA){var W;if(this.ctx.font=EA,(W=/^\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(EA))!==null){var Ce=W[1],ce=(W[2],W[3]),KA=W[4],zA=(W[5],W[6]),XA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(KA)[2];KA=Math.floor(XA==="px"?parseFloat(KA)*this.pdf.internal.scaleFactor:XA==="em"?parseFloat(KA)*this.pdf.getFontSize():parseFloat(KA)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(KA);var WA=function(GA){var ue,_A,De=[],be=GA.trim();if(be==="")return Zp;if(be in Vy)return[Vy[be]];for(;be!=="";){switch(_A=null,ue=(be=Gy(be)).charAt(0)){case'"':case"'":_A=h6(be.substring(1),ue);break;default:_A=f6(be)}if(_A===null||(De.push(_A[0]),(be=Gy(_A[1]))!==""&&be.charAt(0)!==","))return Zp;be=be.replace(/^,/,"")}return De}(zA);if(this.fontFaces){var oe=c6($A(this.pdf,this.fontFaces),WA.map(function(GA){return{family:GA,stretch:"normal",weight:ce,style:Ce}}));this.pdf.setFont(oe.ref.name,oe.ref.style)}else{var he="";(ce==="bold"||parseInt(ce,10)>=700||Ce==="bold")&&(he="bold"),Ce==="italic"&&(he+="italic"),he.length===0&&(he="normal");for(var Ie="",LA={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"},OA=0;OA<WA.length;OA++){if(this.pdf.internal.getFont(WA[OA],he,{noFallback:!0,disableWarning:!0})!==void 0){Ie=WA[OA];break}if(he==="bolditalic"&&this.pdf.internal.getFont(WA[OA],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Ie=WA[OA],he="bold";else if(this.pdf.internal.getFont(WA[OA],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Ie=WA[OA],he="normal";break}}if(Ie===""){for(var JA=0;JA<WA.length;JA++)if(LA[WA[JA]]){Ie=LA[WA[JA]];break}}Ie=Ie===""?"Times":Ie,this.pdf.setFont(Ie,he)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(EA){this.ctx.globalCompositeOperation=EA}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(EA){this.ctx.globalAlpha=EA}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(EA){this.ctx.lineDashOffset=EA,jA.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(EA){this.ctx.lineDash=EA,jA.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(EA){this.ctx.ignoreClearRect=!!EA}})};m.prototype.setLineDash=function(L){this.lineDash=L},m.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},m.prototype.fill=function(){Y.call(this,"fill",!1)},m.prototype.stroke=function(){Y.call(this,"stroke",!1)},m.prototype.beginPath=function(){this.path=[{type:"begin"}]},m.prototype.moveTo=function(L,V){if(isNaN(L)||isNaN(V))throw Ct.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var X=this.ctx.transform.applyToPoint(new a(L,V));this.path.push({type:"mt",x:X.x,y:X.y}),this.ctx.lastPoint=new a(L,V)},m.prototype.closePath=function(){var L=new a(0,0),V=0;for(V=this.path.length-1;V!==-1;V--)if(this.path[V].type==="begin"&&$e(this.path[V+1])==="object"&&typeof this.path[V+1].x=="number"){L=new a(this.path[V+1].x,this.path[V+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new a(L.x,L.y)},m.prototype.lineTo=function(L,V){if(isNaN(L)||isNaN(V))throw Ct.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var X=this.ctx.transform.applyToPoint(new a(L,V));this.path.push({type:"lt",x:X.x,y:X.y}),this.ctx.lastPoint=new a(X.x,X.y)},m.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Y.call(this,null,!0)},m.prototype.quadraticCurveTo=function(L,V,X,Z){if(isNaN(X)||isNaN(Z)||isNaN(L)||isNaN(V))throw Ct.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var sA=this.ctx.transform.applyToPoint(new a(X,Z)),mA=this.ctx.transform.applyToPoint(new a(L,V));this.path.push({type:"qct",x1:mA.x,y1:mA.y,x:sA.x,y:sA.y}),this.ctx.lastPoint=new a(sA.x,sA.y)},m.prototype.bezierCurveTo=function(L,V,X,Z,sA,mA){if(isNaN(sA)||isNaN(mA)||isNaN(L)||isNaN(V)||isNaN(X)||isNaN(Z))throw Ct.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var FA=this.ctx.transform.applyToPoint(new a(sA,mA)),bA=this.ctx.transform.applyToPoint(new a(L,V)),VA=this.ctx.transform.applyToPoint(new a(X,Z));this.path.push({type:"bct",x1:bA.x,y1:bA.y,x2:VA.x,y2:VA.y,x:FA.x,y:FA.y}),this.ctx.lastPoint=new a(FA.x,FA.y)},m.prototype.arc=function(L,V,X,Z,sA,mA){if(isNaN(L)||isNaN(V)||isNaN(X)||isNaN(Z)||isNaN(sA))throw Ct.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(mA=!!mA,!this.ctx.transform.isIdentity){var FA=this.ctx.transform.applyToPoint(new a(L,V));L=FA.x,V=FA.y;var bA=this.ctx.transform.applyToPoint(new a(0,X)),VA=this.ctx.transform.applyToPoint(new a(0,0));X=Math.sqrt(Math.pow(bA.x-VA.x,2)+Math.pow(bA.y-VA.y,2))}Math.abs(sA-Z)>=2*Math.PI&&(Z=0,sA=2*Math.PI),this.path.push({type:"arc",x:L,y:V,radius:X,startAngle:Z,endAngle:sA,counterclockwise:mA})},m.prototype.arcTo=function(L,V,X,Z,sA){throw new Error("arcTo not implemented.")},m.prototype.rect=function(L,V,X,Z){if(isNaN(L)||isNaN(V)||isNaN(X)||isNaN(Z))throw Ct.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(L,V),this.lineTo(L+X,V),this.lineTo(L+X,V+Z),this.lineTo(L,V+Z),this.lineTo(L,V),this.lineTo(L+X,V),this.lineTo(L,V)},m.prototype.fillRect=function(L,V,X,Z){if(isNaN(L)||isNaN(V)||isNaN(X)||isNaN(Z))throw Ct.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var sA={};this.lineCap!=="butt"&&(sA.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(sA.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(L,V,X,Z),this.fill(),sA.hasOwnProperty("lineCap")&&(this.lineCap=sA.lineCap),sA.hasOwnProperty("lineJoin")&&(this.lineJoin=sA.lineJoin)}},m.prototype.strokeRect=function(L,V,X,Z){if(isNaN(L)||isNaN(V)||isNaN(X)||isNaN(Z))throw Ct.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");x.call(this)||(this.beginPath(),this.rect(L,V,X,Z),this.stroke())},m.prototype.clearRect=function(L,V,X,Z){if(isNaN(L)||isNaN(V)||isNaN(X)||isNaN(Z))throw Ct.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(L,V,X,Z))},m.prototype.save=function(L){L=typeof L!="boolean"||L;for(var V=this.pdf.internal.getCurrentPageInfo().pageNumber,X=0;X<this.pdf.internal.getNumberOfPages();X++)this.pdf.setPage(X+1),this.pdf.internal.out("q");if(this.pdf.setPage(V),L){this.ctx.fontSize=this.pdf.internal.getFontSize();var Z=new v(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Z}},m.prototype.restore=function(L){L=typeof L!="boolean"||L;for(var V=this.pdf.internal.getCurrentPageInfo().pageNumber,X=0;X<this.pdf.internal.getNumberOfPages();X++)this.pdf.setPage(X+1),this.pdf.internal.out("Q");this.pdf.setPage(V),L&&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)},m.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var C=function(L){var V,X,Z,sA;if(L.isCanvasGradient===!0&&(L=L.getColor()),!L)return{r:0,g:0,b:0,a:0,style:L};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(L))V=0,X=0,Z=0,sA=0;else{var mA=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(L);if(mA!==null)V=parseInt(mA[1]),X=parseInt(mA[2]),Z=parseInt(mA[3]),sA=1;else if((mA=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(L))!==null)V=parseInt(mA[1]),X=parseInt(mA[2]),Z=parseInt(mA[3]),sA=parseFloat(mA[4]);else{if(sA=1,typeof L=="string"&&L.charAt(0)!=="#"){var FA=new eC(L);L=FA.ok?FA.toHex():"#000000"}L.length===4?(V=L.substring(1,2),V+=V,X=L.substring(2,3),X+=X,Z=L.substring(3,4),Z+=Z):(V=L.substring(1,3),X=L.substring(3,5),Z=L.substring(5,7)),V=parseInt(V,16),X=parseInt(X,16),Z=parseInt(Z,16)}}return{r:V,g:X,b:Z,a:sA,style:L}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},x=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};m.prototype.fillText=function(L,V,X,Z){if(isNaN(V)||isNaN(X)||typeof L!="string")throw Ct.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Z=isNaN(Z)?void 0:Z,!p.call(this)){var sA=AA(this.ctx.transform.rotation),mA=this.ctx.transform.scaleX;M.call(this,{text:L,x:V,y:X,scale:mA,angle:sA,align:this.textAlign,maxWidth:Z})}},m.prototype.strokeText=function(L,V,X,Z){if(isNaN(V)||isNaN(X)||typeof L!="string")throw Ct.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!x.call(this)){Z=isNaN(Z)?void 0:Z;var sA=AA(this.ctx.transform.rotation),mA=this.ctx.transform.scaleX;M.call(this,{text:L,x:V,y:X,scale:mA,renderingMode:"stroke",angle:sA,align:this.textAlign,maxWidth:Z})}},m.prototype.measureText=function(L){if(typeof L!="string")throw Ct.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var V=this.pdf,X=this.pdf.internal.scaleFactor,Z=V.internal.getFontSize(),sA=V.getStringUnitWidth(L)*Z/V.internal.scaleFactor,mA=function(FA){var bA=(FA=FA||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return bA}}),this};return new mA({width:sA*=Math.round(96*X/72*1e4)/1e4})},m.prototype.scale=function(L,V){if(isNaN(L)||isNaN(V))throw Ct.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var X=new c(L,0,0,V,0,0);this.ctx.transform=this.ctx.transform.multiply(X)},m.prototype.rotate=function(L){if(isNaN(L))throw Ct.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var V=new c(Math.cos(L),Math.sin(L),-Math.sin(L),Math.cos(L),0,0);this.ctx.transform=this.ctx.transform.multiply(V)},m.prototype.translate=function(L,V){if(isNaN(L)||isNaN(V))throw Ct.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var X=new c(1,0,0,1,L,V);this.ctx.transform=this.ctx.transform.multiply(X)},m.prototype.transform=function(L,V,X,Z,sA,mA){if(isNaN(L)||isNaN(V)||isNaN(X)||isNaN(Z)||isNaN(sA)||isNaN(mA))throw Ct.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var FA=new c(L,V,X,Z,sA,mA);this.ctx.transform=this.ctx.transform.multiply(FA)},m.prototype.setTransform=function(L,V,X,Z,sA,mA){L=isNaN(L)?1:L,V=isNaN(V)?0:V,X=isNaN(X)?0:X,Z=isNaN(Z)?1:Z,sA=isNaN(sA)?0:sA,mA=isNaN(mA)?0:mA,this.ctx.transform=new c(L,V,X,Z,sA,mA)};var Q=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};m.prototype.drawImage=function(L,V,X,Z,sA,mA,FA,bA,VA){var MA=this.pdf.getImageProperties(L),Ae=1,$A=1,pe=1,EA=1;Z!==void 0&&bA!==void 0&&(pe=bA/Z,EA=VA/sA,Ae=MA.width/Z*bA/Z,$A=MA.height/sA*VA/sA),mA===void 0&&(mA=V,FA=X,V=0,X=0),Z!==void 0&&bA===void 0&&(bA=Z,VA=sA),Z===void 0&&bA===void 0&&(bA=MA.width,VA=MA.height);for(var W,Ce=this.ctx.transform.decompose(),ce=AA(Ce.rotate.shx),KA=new c,zA=(KA=(KA=(KA=KA.multiply(Ce.translate)).multiply(Ce.skew)).multiply(Ce.scale)).applyToRectangle(new s(mA-V*pe,FA-X*EA,Z*Ae,sA*$A)),XA=S.call(this,zA),WA=[],oe=0;oe<XA.length;oe+=1)WA.indexOf(XA[oe])===-1&&WA.push(XA[oe]);if(q(WA),this.autoPaging)for(var he=WA[0],Ie=WA[WA.length-1],LA=he;LA<Ie+1;LA++){this.pdf.setPage(LA);var OA=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],JA=LA===1?this.posY+this.margin[0]:this.margin[0],GA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ue=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],_A=LA===1?0:GA+(LA-2)*ue;if(this.ctx.clip_path.length!==0){var De=this.path;W=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=P(W,this.posX+this.margin[3],-_A+JA+this.ctx.prevPageLastElemOffset),uA.call(this,"fill",!0),this.path=De}var be=JSON.parse(JSON.stringify(zA));be=P([be],this.posX+this.margin[3],-_A+JA+this.ctx.prevPageLastElemOffset)[0];var gt=(LA>he||LA<Ie)&&Q.call(this);gt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],OA,ue,null).clip().discardPath()),this.pdf.addImage(L,"JPEG",be.x,be.y,be.w,be.h,null,null,ce),gt&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(L,"JPEG",zA.x,zA.y,zA.w,zA.h,null,null,ce)};var S=function(L,V,X){var Z=[];V=V||this.pdf.internal.pageSize.width,X=X||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var sA=this.posY+this.ctx.prevPageLastElemOffset;switch(L.type){default:case"mt":case"lt":Z.push(Math.floor((L.y+sA)/X)+1);break;case"arc":Z.push(Math.floor((L.y+sA-L.radius)/X)+1),Z.push(Math.floor((L.y+sA+L.radius)/X)+1);break;case"qct":var mA=vA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,L.x1,L.y1,L.x,L.y);Z.push(Math.floor((mA.y+sA)/X)+1),Z.push(Math.floor((mA.y+mA.h+sA)/X)+1);break;case"bct":var FA=QA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,L.x1,L.y1,L.x2,L.y2,L.x,L.y);Z.push(Math.floor((FA.y+sA)/X)+1),Z.push(Math.floor((FA.y+FA.h+sA)/X)+1);break;case"rect":Z.push(Math.floor((L.y+sA)/X)+1),Z.push(Math.floor((L.y+L.h+sA)/X)+1)}for(var bA=0;bA<Z.length;bA+=1)for(;this.pdf.internal.getNumberOfPages()<Z[bA];)U.call(this);return Z},U=function(){var L=this.fillStyle,V=this.strokeStyle,X=this.font,Z=this.lineCap,sA=this.lineWidth,mA=this.lineJoin;this.pdf.addPage(),this.fillStyle=L,this.strokeStyle=V,this.font=X,this.lineCap=Z,this.lineWidth=sA,this.lineJoin=mA},P=function(L,V,X){for(var Z=0;Z<L.length;Z++)switch(L[Z].type){case"bct":L[Z].x2+=V,L[Z].y2+=X;case"qct":L[Z].x1+=V,L[Z].y1+=X;case"mt":case"lt":case"arc":default:L[Z].x+=V,L[Z].y+=X}return L},q=function(L){return L.sort(function(V,X){return V-X})},Y=function(L,V){for(var X,Z,sA=this.fillStyle,mA=this.strokeStyle,FA=this.lineCap,bA=this.lineWidth,VA=Math.abs(bA*this.ctx.transform.scaleX),MA=this.lineJoin,Ae=JSON.parse(JSON.stringify(this.path)),$A=JSON.parse(JSON.stringify(this.path)),pe=[],EA=0;EA<$A.length;EA++)if($A[EA].x!==void 0)for(var W=S.call(this,$A[EA]),Ce=0;Ce<W.length;Ce+=1)pe.indexOf(W[Ce])===-1&&pe.push(W[Ce]);for(var ce=0;ce<pe.length;ce++)for(;this.pdf.internal.getNumberOfPages()<pe[ce];)U.call(this);if(q(pe),this.autoPaging)for(var KA=pe[0],zA=pe[pe.length-1],XA=KA;XA<zA+1;XA++){this.pdf.setPage(XA),this.fillStyle=sA,this.strokeStyle=mA,this.lineCap=FA,this.lineWidth=VA,this.lineJoin=MA;var WA=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],oe=XA===1?this.posY+this.margin[0]:this.margin[0],he=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ie=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],LA=XA===1?0:he+(XA-2)*Ie;if(this.ctx.clip_path.length!==0){var OA=this.path;X=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=P(X,this.posX+this.margin[3],-LA+oe+this.ctx.prevPageLastElemOffset),uA.call(this,L,!0),this.path=OA}if(Z=JSON.parse(JSON.stringify(Ae)),this.path=P(Z,this.posX+this.margin[3],-LA+oe+this.ctx.prevPageLastElemOffset),V===!1||XA===0){var JA=(XA>KA||XA<zA)&&Q.call(this);JA&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],WA,Ie,null).clip().discardPath()),uA.call(this,L,V),JA&&this.pdf.restoreGraphicsState()}this.lineWidth=bA}else this.lineWidth=VA,uA.call(this,L,V),this.lineWidth=bA;this.path=Ae},uA=function(L,V){if((L!=="stroke"||V||!x.call(this))&&(L==="stroke"||V||!p.call(this))){for(var X,Z,sA=[],mA=this.path,FA=0;FA<mA.length;FA++){var bA=mA[FA];switch(bA.type){case"begin":sA.push({begin:!0});break;case"close":sA.push({close:!0});break;case"mt":sA.push({start:bA,deltas:[],abs:[]});break;case"lt":var VA=sA.length;if(mA[FA-1]&&!isNaN(mA[FA-1].x)&&(X=[bA.x-mA[FA-1].x,bA.y-mA[FA-1].y],VA>0)){for(;VA>=0;VA--)if(sA[VA-1].close!==!0&&sA[VA-1].begin!==!0){sA[VA-1].deltas.push(X),sA[VA-1].abs.push(bA);break}}break;case"bct":X=[bA.x1-mA[FA-1].x,bA.y1-mA[FA-1].y,bA.x2-mA[FA-1].x,bA.y2-mA[FA-1].y,bA.x-mA[FA-1].x,bA.y-mA[FA-1].y],sA[sA.length-1].deltas.push(X);break;case"qct":var MA=mA[FA-1].x+2/3*(bA.x1-mA[FA-1].x),Ae=mA[FA-1].y+2/3*(bA.y1-mA[FA-1].y),$A=bA.x+2/3*(bA.x1-bA.x),pe=bA.y+2/3*(bA.y1-bA.y),EA=bA.x,W=bA.y;X=[MA-mA[FA-1].x,Ae-mA[FA-1].y,$A-mA[FA-1].x,pe-mA[FA-1].y,EA-mA[FA-1].x,W-mA[FA-1].y],sA[sA.length-1].deltas.push(X);break;case"arc":sA.push({deltas:[],abs:[],arc:!0}),Array.isArray(sA[sA.length-1].abs)&&sA[sA.length-1].abs.push(bA)}}Z=V?null:L==="stroke"?"stroke":"fill";for(var Ce=!1,ce=0;ce<sA.length;ce++)if(sA[ce].arc)for(var KA=sA[ce].abs,zA=0;zA<KA.length;zA++){var XA=KA[zA];XA.type==="arc"?z.call(this,XA.x,XA.y,XA.radius,XA.startAngle,XA.endAngle,XA.counterclockwise,void 0,V,!Ce):$.call(this,XA.x,XA.y),Ce=!0}else if(sA[ce].close===!0)this.pdf.internal.out("h"),Ce=!1;else if(sA[ce].begin!==!0){var WA=sA[ce].start.x,oe=sA[ce].start.y;G.call(this,sA[ce].deltas,WA,oe),Ce=!0}Z&&hA.call(this,Z),V&&CA.call(this)}},wA=function(L){var V=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,X=V*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return L-X;case"top":return L+V-X;case"hanging":return L+V-2*X;case"middle":return L+V/2-X;case"ideographic":return L;case"alphabetic":default:return L}},J=function(L){return L+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};m.prototype.createLinearGradient=function(){var L=function(){};return L.colorStops=[],L.addColorStop=function(V,X){this.colorStops.push([V,X])},L.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},L.isCanvasGradient=!0,L},m.prototype.createPattern=function(){return this.createLinearGradient()},m.prototype.createRadialGradient=function(){return this.createLinearGradient()};var z=function(L,V,X,Z,sA,mA,FA,bA,VA){for(var MA=fA.call(this,X,Z,sA,mA),Ae=0;Ae<MA.length;Ae++){var $A=MA[Ae];Ae===0&&(VA?_.call(this,$A.x1+L,$A.y1+V):$.call(this,$A.x1+L,$A.y1+V)),yA.call(this,L,V,$A.x2,$A.y2,$A.x3,$A.y3,$A.x4,$A.y4)}bA?CA.call(this):hA.call(this,FA)},hA=function(L){switch(L){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},CA=function(){this.pdf.clip(),this.pdf.discardPath()},_=function(L,V){this.pdf.internal.out(e(L)+" "+t(V)+" m")},M=function(L){var V;switch(L.align){case"right":case"end":V="right";break;case"center":V="center";break;case"left":case"start":default:V="left"}var X=this.pdf.getTextDimensions(L.text),Z=wA.call(this,L.y),sA=J.call(this,Z)-X.h,mA=this.ctx.transform.applyToPoint(new a(L.x,Z)),FA=this.ctx.transform.decompose(),bA=new c;bA=(bA=(bA=bA.multiply(FA.translate)).multiply(FA.skew)).multiply(FA.scale);for(var VA,MA,Ae,$A=this.ctx.transform.applyToRectangle(new s(L.x,Z,X.w,X.h)),pe=bA.applyToRectangle(new s(L.x,sA,X.w,X.h)),EA=S.call(this,pe),W=[],Ce=0;Ce<EA.length;Ce+=1)W.indexOf(EA[Ce])===-1&&W.push(EA[Ce]);if(q(W),this.autoPaging)for(var ce=W[0],KA=W[W.length-1],zA=ce;zA<KA+1;zA++){this.pdf.setPage(zA);var XA=zA===1?this.posY+this.margin[0]:this.margin[0],WA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],oe=this.pdf.internal.pageSize.height-this.margin[2],he=oe-this.margin[0],Ie=this.pdf.internal.pageSize.width-this.margin[1],LA=Ie-this.margin[3],OA=zA===1?0:WA+(zA-2)*he;if(this.ctx.clip_path.length!==0){var JA=this.path;VA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=P(VA,this.posX+this.margin[3],-1*OA+XA),uA.call(this,"fill",!0),this.path=JA}var GA=P([JSON.parse(JSON.stringify(pe))],this.posX+this.margin[3],-OA+XA+this.ctx.prevPageLastElemOffset)[0];L.scale>=.01&&(MA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(MA*L.scale),Ae=this.lineWidth,this.lineWidth=Ae*L.scale);var ue=this.autoPaging!=="text";if(ue||GA.y+GA.h<=oe){if(ue||GA.y>=XA&&GA.x<=Ie){var _A=ue?L.text:this.pdf.splitTextToSize(L.text,L.maxWidth||Ie-GA.x)[0],De=P([JSON.parse(JSON.stringify($A))],this.posX+this.margin[3],-OA+XA+this.ctx.prevPageLastElemOffset)[0],be=ue&&(zA>ce||zA<KA)&&Q.call(this);be&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],LA,he,null).clip().discardPath()),this.pdf.text(_A,De.x,De.y,{angle:L.angle,align:V,renderingMode:L.renderingMode}),be&&this.pdf.restoreGraphicsState()}}else GA.y<oe&&(this.ctx.prevPageLastElemOffset+=oe-GA.y);L.scale>=.01&&(this.pdf.setFontSize(MA),this.lineWidth=Ae)}else L.scale>=.01&&(MA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(MA*L.scale),Ae=this.lineWidth,this.lineWidth=Ae*L.scale),this.pdf.text(L.text,mA.x+this.posX,mA.y+this.posY,{angle:L.angle,align:V,renderingMode:L.renderingMode,maxWidth:L.maxWidth}),L.scale>=.01&&(this.pdf.setFontSize(MA),this.lineWidth=Ae)},$=function(L,V,X,Z){X=X||0,Z=Z||0,this.pdf.internal.out(e(L+X)+" "+t(V+Z)+" l")},G=function(L,V,X){return this.pdf.lines(L,V,X,null,null)},yA=function(L,V,X,Z,sA,mA,FA,bA){this.pdf.internal.out([A(n(X+L)),A(i(Z+V)),A(n(sA+L)),A(i(mA+V)),A(n(FA+L)),A(i(bA+V)),"c"].join(" "))},fA=function(L,V,X,Z){for(var sA=2*Math.PI,mA=Math.PI/2;V>X;)V-=sA;var FA=Math.abs(X-V);FA<sA&&Z&&(FA=sA-FA);for(var bA=[],VA=Z?-1:1,MA=V;FA>1e-5;){var Ae=MA+VA*Math.min(FA,mA);bA.push(UA.call(this,L,MA,Ae)),FA-=Math.abs(Ae-MA),MA=Ae}return bA},UA=function(L,V,X){var Z=(X-V)/2,sA=L*Math.cos(Z),mA=L*Math.sin(Z),FA=sA,bA=-mA,VA=FA*FA+bA*bA,MA=VA+FA*sA+bA*mA,Ae=4/3*(Math.sqrt(2*VA*MA)-MA)/(FA*mA-bA*sA),$A=FA-Ae*bA,pe=bA+Ae*FA,EA=$A,W=-pe,Ce=Z+V,ce=Math.cos(Ce),KA=Math.sin(Ce);return{x1:L*Math.cos(V),y1:L*Math.sin(V),x2:$A*ce-pe*KA,y2:$A*KA+pe*ce,x3:EA*ce-W*KA,y3:EA*KA+W*ce,x4:L*Math.cos(X),y4:L*Math.sin(X)}},AA=function(L){return 180*L/Math.PI},vA=function(L,V,X,Z,sA,mA){var FA=L+.5*(X-L),bA=V+.5*(Z-V),VA=sA+.5*(X-sA),MA=mA+.5*(Z-mA),Ae=Math.min(L,sA,FA,VA),$A=Math.max(L,sA,FA,VA),pe=Math.min(V,mA,bA,MA),EA=Math.max(V,mA,bA,MA);return new s(Ae,pe,$A-Ae,EA-pe)},QA=function(L,V,X,Z,sA,mA,FA,bA){var VA,MA,Ae,$A,pe,EA,W,Ce,ce,KA,zA,XA,WA,oe,he=X-L,Ie=Z-V,LA=sA-X,OA=mA-Z,JA=FA-sA,GA=bA-mA;for(MA=0;MA<41;MA++)ce=(W=(Ae=L+(VA=MA/40)*he)+VA*((pe=X+VA*LA)-Ae))+VA*(pe+VA*(sA+VA*JA-pe)-W),KA=(Ce=($A=V+VA*Ie)+VA*((EA=Z+VA*OA)-$A))+VA*(EA+VA*(mA+VA*GA-EA)-Ce),MA==0?(zA=ce,XA=KA,WA=ce,oe=KA):(zA=Math.min(zA,ce),XA=Math.min(XA,KA),WA=Math.max(WA,ce),oe=Math.max(oe,KA));return new s(Math.round(zA),Math.round(XA),Math.round(WA-zA),Math.round(oe-XA))},jA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var L,V,X=(L=this.ctx.lineDash,V=this.ctx.lineDashOffset,JSON.stringify({lineDash:L,lineDashOffset:V}));this.prevLineDash!==X&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=X)}}})(Ue.API),function(r){var A=function(i){var a,s,c,d,v,m,C,p,x,Q;for(/[^\x00-\xFF]/.test(i),s=[],c=0,d=(i+=a="\0\0\0\0".slice(i.length%4||4)).length;d>c;c+=4)(v=(i.charCodeAt(c)<<24)+(i.charCodeAt(c+1)<<16)+(i.charCodeAt(c+2)<<8)+i.charCodeAt(c+3))!==0?(m=(v=((v=((v=((v=(v-(Q=v%85))/85)-(x=v%85))/85)-(p=v%85))/85)-(C=v%85))/85)%85,s.push(m+33,C+33,p+33,x+33,Q+33)):s.push(122);return function(S,U){for(var P=U;P>0;P--)S.pop()}(s,a.length),String.fromCharCode.apply(String,s)+"~>"},e=function(i){var a,s,c,d,v,m=String,C="length",p=255,x="charCodeAt",Q="slice",S="replace";for(i[Q](-2),i=i[Q](0,-2)[S](/\s/g,"")[S]("z","!!!!!"),c=[],d=0,v=(i+=a="uuuuu"[Q](i[C]%5||5))[C];v>d;d+=5)s=52200625*(i[x](d)-33)+614125*(i[x](d+1)-33)+7225*(i[x](d+2)-33)+85*(i[x](d+3)-33)+(i[x](d+4)-33),c.push(p&s>>24,p&s>>16,p&s>>8,p&s);return function(U,P){for(var q=P;q>0;q--)U.pop()}(c,a[C]),m.fromCharCode.apply(m,c)},t=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="",c=0;c<i.length;c+=2)s+=String.fromCharCode("0x"+(i[c]+i[c+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=bc(a)).reduce(function(c,d){return c+String.fromCharCode(d)},"")};r.processDataByFilters=function(i,a){var s=0,c=i||"",d=[];for(typeof(a=a||[])=="string"&&(a=[a]),s=0;s<a.length;s+=1)switch(a[s]){case"ASCII85Decode":case"/ASCII85Decode":c=e(c),d.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":c=A(c),d.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":c=t(c),d.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":c=c.split("").map(function(v){return("0"+v.charCodeAt().toString(16)).slice(-2)}).join("")+">",d.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":c=n(c),d.push("/FlateDecode");break;default:throw new Error('The filter: "'+a[s]+'" is not implemented')}return{data:c,reverseChain:d.reverse().join(" ")}}}(Ue.API),function(r){r.loadFile=function(A,e,t){return function(n,i,a){i=i!==!1,a=typeof a=="function"?a:function(){};var s=void 0;try{s=function(c,d,v){var m=new XMLHttpRequest,C=0,p=function(x){var Q=x.length,S=[],U=String.fromCharCode;for(C=0;C<Q;C+=1)S.push(U(255&x.charCodeAt(C)));return S.join("")};if(m.open("GET",c,!d),m.overrideMimeType("text/plain; charset=x-user-defined"),d===!1&&(m.onload=function(){m.status===200?v(p(this.responseText)):v(void 0)}),m.send(null),d&&m.status===200)return p(m.responseText)}(n,i,a)}catch{}return s}(A,e,t)},r.loadImageFile=r.loadFile}(Ue.API),function(r){function A(){return(Le.html2canvas?Promise.resolve(Le.html2canvas):Promise.resolve().then(()=>Tr(a1()))).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(Le.DOMPurify?Promise.resolve(Le.DOMPurify):Promise.resolve().then(()=>Tr(s1()))).catch(function(a){return Promise.reject(new Error("Could not load dompurify: "+a))}).then(function(a){return a.default?a.default:a})}var t=function(a){var s=$e(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 c=document.createElement(a);for(var d in s.className&&(c.className=s.className),s.innerHTML&&s.dompurify&&(c.innerHTML=s.dompurify.sanitize(s.innerHTML)),s.style)c.style[d]=s.style[d];return c},i=function a(s){var c=Object.assign(a.convert(Promise.resolve()),JSON.parse(JSON.stringify(a.template))),d=a.convert(Promise.resolve(),c);return d=(d=d.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(c){switch(t(c)){case"string":return"string";case"element":return c.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(a)){case"string":return this.then(e).then(function(c){return this.set({src:n("div",{innerHTML:a,dompurify:c})})});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 c(d,v){for(var m=d.nodeType===3?document.createTextNode(d.nodeValue):d.cloneNode(!1),C=d.firstChild;C;C=C.nextSibling)v!==!0&&C.nodeType===1&&C.nodeName==="SCRIPT"||m.appendChild(c(C,v));return d.nodeType===1&&(d.nodeName==="CANVAS"?(m.width=d.width,m.height=d.height,m.getContext("2d").drawImage(d,0,0)):d.nodeName!=="TEXTAREA"&&d.nodeName!=="SELECT"||(m.value=d.value),m.addEventListener("load",function(){m.scrollTop=d.scrollTop,m.scrollLeft=d.scrollLeft},!0)),m}(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 c=Object.assign({},this.opt.html2canvas);return delete c.onrendered,s(this.prop.container,c)}).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 c=this.opt.jsPDF,d=this.opt.fontFaces,v=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,m=Object.assign({async:!0,allowTaint:!0,scale:v,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 m.onrendered,c.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,c.context2d.posX=this.opt.x,c.context2d.posY=this.opt.y,c.context2d.margin=this.opt.margin,c.context2d.fontFaces=d,d)for(var C=0;C<d.length;++C){var p=d[C],x=p.src.find(function(Q){return Q.format==="truetype"});x&&c.addFont(x.url,p.ref.name,p.ref.style)}return m.windowHeight=m.windowHeight||0,m.windowHeight=m.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):m.windowHeight,c.context2d.save(!0),s(this.prop.container,m)}).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,c){return(c=c||"pdf").toLowerCase()==="img"||c.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(t(a)!=="object")return this;var s=Object.keys(a||{}).map(function(c){if(c in i.template.prop)return function(){this.prop[c]=a[c]};switch(c){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[c]=a[c]}}},this);return this.then(function(){return this.thenList(s)})},i.prototype.get=function(a,s){return this.then(function(){var c=a in i.template.prop?this.prop[a]:this.opt[a];return s?s(c):c})},i.prototype.setMargin=function(a){return this.then(function(){switch(t(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(c,d){return Math.floor(c*d/72*96)}return this.then(function(){(a=a||Ue.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,c,d){return a!=null&&(this.progress.val=a),s!=null&&(this.progress.state=s),c!=null&&(this.progress.n=c),d!=null&&(this.progress.stack=d),this.progress.ratio=this.progress.val/this.progress.state,this},i.prototype.updateProgress=function(a,s,c,d){return this.setProgress(a?this.progress.val+a:null,s||null,c?this.progress.n+c:null,d?this.progress.stack.concat(d):null)},i.prototype.then=function(a,s){var c=this;return this.thenCore(a,s,function(d,v){return c.updateProgress(null,null,1,[d]),Promise.prototype.then.call(this,function(m){return c.updateProgress(null,d),m}).then(d,v).then(function(m){return c.updateProgress(1),m})})},i.prototype.thenCore=function(a,s,c){c=c||Promise.prototype.then,a&&(a=a.bind(this)),s&&(s=s.bind(this));var d=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:i.convert(Object.assign({},this),Promise.prototype),v=c.call(d,a,s);return i.convert(v,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(c){s=s.thenCore(c)}),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,Ue.getPageSize=function(a,s,c){if($e(a)==="object"){var d=a;a=d.orientation,s=d.unit||s,c=d.format||c}s=s||"mm",c=c||"a4",a=(""+(a||"P")).toLowerCase();var v,m=(""+c).toLowerCase(),C={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":v=1;break;case"mm":v=72/25.4;break;case"cm":v=72/2.54;break;case"in":v=72;break;case"px":v=.75;break;case"pc":case"em":v=12;break;case"ex":v=6;break;default:throw"Invalid unit: "+s}var p,x=0,Q=0;if(C.hasOwnProperty(m))x=C[m][1]/v,Q=C[m][0]/v;else try{x=c[1],Q=c[0]}catch{throw new Error("Invalid format: "+c)}if(a==="p"||a==="portrait")a="p",Q>x&&(p=Q,Q=x,x=p);else{if(a!=="l"&&a!=="landscape")throw"Invalid orientation: "+a;a="l",x>Q&&(p=Q,Q=x,x=p)}return{width:Q,height:x,unit:s,k:v,orientation:a}},r.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(i0):null;var c=new i(s);return s.worker?c:c.from(a).doCallback()}}(Ue.API),Ue.API.addJS=function(r){return Wy=r,this.internal.events.subscribe("postPutResources",function(){gf=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(gf+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),zy=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Wy+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){gf!==void 0&&zy!==void 0&&this.internal.out("/Names <</JavaScript "+gf+" 0 R>>")}),this},function(r){var A;r.events.push(["postPutResources",function(){var e=this,t=/^(\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=t.exec(a);if(s!=null){var c=s[1];e.internal.newObjectDeferredBegin(c,!1)}e.internal.write(a)}if(this.outline.createNamedDestinations){var d=this.internal.pages.length,v=[];for(i=0;i<d;i++){var m=e.internal.newObject();v.push(m);var C=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+C.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<v.length;i++)e.internal.write("(page_"+(i+1)+")"+v[i]+" 0 R");e.internal.write(" ] >>","endobj"),A=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 0 R"),e.internal.write(">>","endobj")}}]),r.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"))}]),r.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(t,n,i){var a={title:n,options:i,children:[]};return t==null&&(t=this.root),t.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(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(t){this.objStart(t),this.line("/Type /Outlines"),t.children.length>0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<t.children.length;i++){var a=t.children[i];this.objStart(a),this.line("/Title "+this.makeString(a.title)),this.line("/Parent "+this.makeRef(t)),i>0&&this.line("/Prev "+this.makeRef(t.children[i-1])),i<t.children.length-1&&this.line("/Next "+this.makeRef(t.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 c=e.internal.getPageInfo(a.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var d=0;d<t.children.length;d++)this.renderItems(t.children[d])},e.outline.line=function(t){this.ctx.val+=t+`\r
|
|
445
|
+
`},e.outline.makeRef=function(t){return t.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(t){this.ctx.val+=`\r
|
|
446
|
+
`+t.id+` 0 obj\r
|
|
447
|
+
<<\r
|
|
448
|
+
`},e.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|
449
|
+
endobj\r
|
|
450
|
+
`},e.outline.count_r=function(t,n){for(var i=0;i<n.children.length;i++)t.count++,this.count_r(t,n.children[i]);return t.count}}])}(Ue.API),function(r){var A=[192,193,194,195,196,197,198,199];r.processJPEG=function(e,t,n,i,a,s){var c,d=this.decode.DCT_DECODE,v=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,(c=function(m){for(var C,p=256*m.charCodeAt(4)+m.charCodeAt(5),x=m.length,Q={width:0,height:0,numcomponents:1},S=4;S<x;S+=2){if(S+=p,A.indexOf(m.charCodeAt(S+1))!==-1){C=256*m.charCodeAt(S+5)+m.charCodeAt(S+6),Q={width:256*m.charCodeAt(S+7)+m.charCodeAt(S+8),height:C,numcomponents:m.charCodeAt(S+9)};break}p=256*m.charCodeAt(S+2)+m.charCodeAt(S+3)}return Q}(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}v={data:e,width:c.width,height:c.height,colorSpace:s,bitsPerComponent:8,filter:d,index:t,alias:n}}return v}}(Ue.API);var du,df,Xy,Yy,Jy,g6=function(){var r,A,e;function t(i){var a,s,c,d,v,m,C,p,x,Q,S,U,P,q;for(this.data=i,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},m=null;;){switch(a=this.readUInt32(),x=function(){var Y,uA;for(uA=[],Y=0;Y<4;++Y)uA.push(String.fromCharCode(this.data[this.pos++]));return uA}.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":m&&this.animation.frames.push(m),this.pos+=4,m={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},v=this.readUInt16(),d=this.readUInt16()||100,m.delay=1e3*v/d,m.disposeOp=this.data[this.pos++],m.blendOp=this.data[this.pos++],m.data=[];break;case"IDAT":case"fdAT":for(x==="fdAT"&&(this.pos+=4,a-=4),i=m?.data||this.imgData,U=0;0<=a?U<a:U>a;0<=a?++U:--U)i.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(c=this.palette.length/3,this.transparency.indexed=this.read(a),this.transparency.indexed.length>c)throw new Error("More transparent colors than palette size");if((Q=c-this.transparency.indexed.length)>0)for(P=0;0<=Q?P<Q:P>Q;0<=Q?++P:--P)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":C=(S=this.read(a)).indexOf(0),p=String.fromCharCode.apply(String,S.slice(0,C)),this.text[p]=String.fromCharCode.apply(String,S.slice(C+1));break;case"IEND":return m&&this.animation.frames.push(m),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(q=this.colorType)===4||q===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")}}t.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},t.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},t.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},t.prototype.decodePixels=function(i){var a=this.pixelBitlength/8,s=new Uint8Array(this.width*this.height*a),c=0,d=this;if(i==null&&(i=this.imgData),i.length===0)return new Uint8Array(0);function v(m,C,p,x){var Q,S,U,P,q,Y,uA,wA,J,z,hA,CA,_,M,$,G,yA,fA,UA,AA,vA,QA=Math.ceil((d.width-m)/p),jA=Math.ceil((d.height-C)/x),L=d.width==QA&&d.height==jA;for(M=a*QA,CA=L?s:new Uint8Array(M*jA),Y=i.length,_=0,S=0;_<jA&&c<Y;){switch(i[c++]){case 0:for(P=yA=0;yA<M;P=yA+=1)CA[S++]=i[c++];break;case 1:for(P=fA=0;fA<M;P=fA+=1)Q=i[c++],q=P<a?0:CA[S-a],CA[S++]=(Q+q)%256;break;case 2:for(P=UA=0;UA<M;P=UA+=1)Q=i[c++],U=(P-P%a)/a,$=_&&CA[(_-1)*M+U*a+P%a],CA[S++]=($+Q)%256;break;case 3:for(P=AA=0;AA<M;P=AA+=1)Q=i[c++],U=(P-P%a)/a,q=P<a?0:CA[S-a],$=_&&CA[(_-1)*M+U*a+P%a],CA[S++]=(Q+Math.floor((q+$)/2))%256;break;case 4:for(P=vA=0;vA<M;P=vA+=1)Q=i[c++],U=(P-P%a)/a,q=P<a?0:CA[S-a],_===0?$=G=0:($=CA[(_-1)*M+U*a+P%a],G=U&&CA[(_-1)*M+(U-1)*a+P%a]),uA=q+$-G,wA=Math.abs(uA-q),z=Math.abs(uA-$),hA=Math.abs(uA-G),J=wA<=z&&wA<=hA?q:z<=hA?$:G,CA[S++]=(Q+J)%256;break;default:throw new Error("Invalid filter algorithm: "+i[c-1])}if(!L){var V=((C+_*x)*d.width+m)*a,X=_*M;for(P=0;P<QA;P+=1){for(var Z=0;Z<a;Z+=1)s[V++]=CA[X++];V+=(p-1)*a}}_++}}return i=i1(i),d.interlaceMethod==1?(v(0,0,8,8),v(4,0,8,8),v(0,4,4,8),v(2,0,4,4),v(0,2,2,4),v(1,0,2,2),v(0,1,1,2)):v(0,0,1,1),s},t.prototype.decodePalette=function(){var i,a,s,c,d,v,m,C,p;for(s=this.palette,v=this.transparency.indexed||[],d=new Uint8Array((v.length||0)+s.length),c=0,i=0,a=m=0,C=s.length;m<C;a=m+=3)d[c++]=s[a],d[c++]=s[a+1],d[c++]=s[a+2],d[c++]=(p=v[i++])!=null?p:255;return d},t.prototype.copyToImageData=function(i,a){var s,c,d,v,m,C,p,x,Q,S,U;if(c=this.colors,Q=null,s=this.hasAlphaChannel,this.palette.length&&(Q=(U=this._decodedPalette)!=null?U:this._decodedPalette=this.decodePalette(),c=4,s=!0),x=(d=i.data||i).length,m=Q||a,v=C=0,c===1)for(;v<x;)p=Q?4*a[v/4]:C,S=m[p++],d[v++]=S,d[v++]=S,d[v++]=S,d[v++]=s?m[p++]:255,C=p;else for(;v<x;)p=Q?4*a[v/4]:C,d[v++]=m[p++],d[v++]=m[p++],d[v++]=m[p++],d[v++]=s?m[p++]:255,C=p},t.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(Le)==="[object Window]"){try{A=Le.document.createElement("canvas"),e=A.getContext("2d")}catch{return!1}return!0}return!1};return n(),r=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.")},t.prototype.decodeFrames=function(i){var a,s,c,d,v,m,C,p;if(this.animation){for(p=[],s=v=0,m=(C=this.animation.frames).length;v<m;s=++v)a=C[s],c=i.createImageData(a.width,a.height),d=this.decodePixels(new Uint8Array(a.data)),this.copyToImageData(c,d),a.imageData=c,p.push(a.image=r(c));return p}},t.prototype.renderFrame=function(i,a){var s,c,d;return s=(c=this.animation.frames)[a],d=c[a-1],a===0&&i.clearRect(0,0,this.width,this.height),d?.disposeOp===1?i.clearRect(d.xOffset,d.yOffset,d.width,d.height):d?.disposeOp===2&&i.putImageData(d.imageData,d.xOffset,d.yOffset),s.blendOp===0&&i.clearRect(s.xOffset,s.yOffset,s.width,s.height),i.drawImage(s.image,s.xOffset,s.yOffset)},t.prototype.animate=function(i){var a,s,c,d,v,m,C=this;return s=0,m=this.animation,d=m.numFrames,c=m.frames,v=m.numPlays,(a=function(){var p,x;if(p=s++%d,x=c[p],C.renderFrame(i,p),d>1&&s/d<v)return C.animation._timeout=setTimeout(a,x.delay)})()},t.prototype.stopAnimation=function(){var i;return clearTimeout((i=this.animation)!=null?i._timeout:void 0)},t.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))},t}();/**
|
|
451
|
+
* @license
|
|
452
|
+
*
|
|
453
|
+
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
|
|
454
|
+
*
|
|
455
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
|
456
|
+
* a copy of this software and associated documentation files (the
|
|
457
|
+
* "Software"), to deal in the Software without restriction, including
|
|
458
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
|
459
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
460
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
|
461
|
+
* the following conditions:
|
|
462
|
+
*
|
|
463
|
+
* The above copyright notice and this permission notice shall be
|
|
464
|
+
* included in all copies or substantial portions of the Software.
|
|
465
|
+
*
|
|
466
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
467
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
468
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
469
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
470
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
471
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
472
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
473
|
+
* ====================================================================
|
|
474
|
+
*//**
|
|
475
|
+
* @license
|
|
476
|
+
* (c) Dean McNamee <dean@gmail.com>, 2013.
|
|
477
|
+
*
|
|
478
|
+
* https://github.com/deanm/omggif
|
|
479
|
+
*
|
|
480
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
481
|
+
* of this software and associated documentation files (the "Software"), to
|
|
482
|
+
* deal in the Software without restriction, including without limitation the
|
|
483
|
+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
484
|
+
* sell copies of the Software, and to permit persons to whom the Software is
|
|
485
|
+
* furnished to do so, subject to the following conditions:
|
|
486
|
+
*
|
|
487
|
+
* The above copyright notice and this permission notice shall be included in
|
|
488
|
+
* all copies or substantial portions of the Software.
|
|
489
|
+
*
|
|
490
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
491
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
492
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
493
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
494
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
495
|
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
496
|
+
* IN THE SOFTWARE.
|
|
497
|
+
*
|
|
498
|
+
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
|
|
499
|
+
* including animation and compression. It does not rely on any specific
|
|
500
|
+
* underlying system, so should run in the browser, Node, or Plask.
|
|
501
|
+
*/function d6(r){var A=0;if(r[A++]!==71||r[A++]!==73||r[A++]!==70||r[A++]!==56||(r[A++]+1&253)!=56||r[A++]!==97)throw new Error("Invalid GIF 87a/89a header.");var e=r[A++]|r[A++]<<8,t=r[A++]|r[A++]<<8,n=r[A++],i=n>>7,a=1<<(7&n)+1;r[A++],r[A++];var s=null,c=null;i&&(s=A,c=a,A+=3*a);var d=!0,v=[],m=0,C=null,p=0,x=null;for(this.width=e,this.height=t;d&&A<r.length;)switch(r[A++]){case 33:switch(r[A++]){case 255:if(r[A]!==11||r[A+1]==78&&r[A+2]==69&&r[A+3]==84&&r[A+4]==83&&r[A+5]==67&&r[A+6]==65&&r[A+7]==80&&r[A+8]==69&&r[A+9]==50&&r[A+10]==46&&r[A+11]==48&&r[A+12]==3&&r[A+13]==1&&r[A+16]==0)A+=14,x=r[A++]|r[A++]<<8,A++;else for(A+=12;;){if(!((_=r[A++])>=0))throw Error("Invalid block size");if(_===0)break;A+=_}break;case 249:if(r[A++]!==4||r[A+4]!==0)throw new Error("Invalid graphics extension block.");var Q=r[A++];m=r[A++]|r[A++]<<8,C=r[A++],!(1&Q)&&(C=null),p=Q>>2&7,A++;break;case 254:for(;;){if(!((_=r[A++])>=0))throw Error("Invalid block size");if(_===0)break;A+=_}break;default:throw new Error("Unknown graphic control label: 0x"+r[A-1].toString(16))}break;case 44:var S=r[A++]|r[A++]<<8,U=r[A++]|r[A++]<<8,P=r[A++]|r[A++]<<8,q=r[A++]|r[A++]<<8,Y=r[A++],uA=Y>>6&1,wA=1<<(7&Y)+1,J=s,z=c,hA=!1;Y>>7&&(hA=!0,J=A,z=wA,A+=3*wA);var CA=A;for(A++;;){var _;if(!((_=r[A++])>=0))throw Error("Invalid block size");if(_===0)break;A+=_}v.push({x:S,y:U,width:P,height:q,has_local_palette:hA,palette_offset:J,palette_size:z,data_offset:CA,data_length:A-CA,transparent_index:C,interlaced:!!uA,delay:m,disposal:p});break;case 59:d=!1;break;default:throw new Error("Unknown gif block: 0x"+r[A-1].toString(16))}this.numFrames=function(){return v.length},this.loopCount=function(){return x},this.frameInfo=function(M){if(M<0||M>=v.length)throw new Error("Frame index out of range.");return v[M]},this.decodeAndBlitFrameBGRA=function(M,$){var G=this.frameInfo(M),yA=G.width*G.height,fA=new Uint8Array(yA);Zy(r,G.data_offset,fA,yA);var UA=G.palette_offset,AA=G.transparent_index;AA===null&&(AA=256);var vA=G.width,QA=e-vA,jA=vA,L=4*(G.y*e+G.x),V=4*((G.y+G.height)*e+G.x),X=L,Z=4*QA;G.interlaced===!0&&(Z+=4*e*7);for(var sA=8,mA=0,FA=fA.length;mA<FA;++mA){var bA=fA[mA];if(jA===0&&(jA=vA,(X+=Z)>=V&&(Z=4*QA+4*e*(sA-1),X=L+(vA+QA)*(sA<<1),sA>>=1)),bA===AA)X+=4;else{var VA=r[UA+3*bA],MA=r[UA+3*bA+1],Ae=r[UA+3*bA+2];$[X++]=Ae,$[X++]=MA,$[X++]=VA,$[X++]=255}--jA}},this.decodeAndBlitFrameRGBA=function(M,$){var G=this.frameInfo(M),yA=G.width*G.height,fA=new Uint8Array(yA);Zy(r,G.data_offset,fA,yA);var UA=G.palette_offset,AA=G.transparent_index;AA===null&&(AA=256);var vA=G.width,QA=e-vA,jA=vA,L=4*(G.y*e+G.x),V=4*((G.y+G.height)*e+G.x),X=L,Z=4*QA;G.interlaced===!0&&(Z+=4*e*7);for(var sA=8,mA=0,FA=fA.length;mA<FA;++mA){var bA=fA[mA];if(jA===0&&(jA=vA,(X+=Z)>=V&&(Z=4*QA+4*e*(sA-1),X=L+(vA+QA)*(sA<<1),sA>>=1)),bA===AA)X+=4;else{var VA=r[UA+3*bA],MA=r[UA+3*bA+1],Ae=r[UA+3*bA+2];$[X++]=VA,$[X++]=MA,$[X++]=Ae,$[X++]=255}--jA}}}function Zy(r,A,e,t){for(var n=r[A++],i=1<<n,a=i+1,s=a+1,c=n+1,d=(1<<c)-1,v=0,m=0,C=0,p=r[A++],x=new Int32Array(4096),Q=null;;){for(;v<16&&p!==0;)m|=r[A++]<<v,v+=8,p===1?p=r[A++]:--p;if(v<c)break;var S=m&d;if(m>>=c,v-=c,S!==i){if(S===a)break;for(var U=S<s?S:Q,P=0,q=U;q>i;)q=x[q]>>8,++P;var Y=q;if(C+P+(U!==S?1:0)>t)return void Ct.log("Warning, gif stream longer than expected.");e[C++]=Y;var uA=C+=P;for(U!==S&&(e[C++]=Y),q=U;P--;)q=x[q],e[--uA]=255&q,q>>=8;Q!==null&&s<4096&&(x[s++]=Q<<8|Y,s>=d+1&&c<12&&(++c,d=d<<1|1)),Q=S}else s=a+1,d=(1<<(c=n+1))-1,Q=null}return C!==t&&Ct.log("Warning, gif stream shorter than expected."),e}/**
|
|
502
|
+
* @license
|
|
503
|
+
Copyright (c) 2008, Adobe Systems Incorporated
|
|
504
|
+
All rights reserved.
|
|
505
|
+
|
|
506
|
+
Redistribution and use in source and binary forms, with or without
|
|
507
|
+
modification, are permitted provided that the following conditions are
|
|
508
|
+
met:
|
|
509
|
+
|
|
510
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
511
|
+
this list of conditions and the following disclaimer.
|
|
512
|
+
|
|
513
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
514
|
+
notice, this list of conditions and the following disclaimer in the
|
|
515
|
+
documentation and/or other materials provided with the distribution.
|
|
516
|
+
|
|
517
|
+
* Neither the name of Adobe Systems Incorporated nor the names of its
|
|
518
|
+
contributors may be used to endorse or promote products derived from
|
|
519
|
+
this software without specific prior written permission.
|
|
520
|
+
|
|
521
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
522
|
+
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
523
|
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
524
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
525
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
526
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
527
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
528
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
529
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
530
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
531
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
532
|
+
*/function $p(r){var A,e,t,n,i,a=Math.floor,s=new Array(64),c=new Array(64),d=new Array(64),v=new Array(64),m=new Array(65535),C=new Array(65535),p=new Array(64),x=new Array(64),Q=[],S=0,U=7,P=new Array(64),q=new Array(64),Y=new Array(64),uA=new Array(256),wA=new Array(2048),J=[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],z=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],hA=[0,1,2,3,4,5,6,7,8,9,10,11],CA=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_=[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],M=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],$=[0,1,2,3,4,5,6,7,8,9,10,11],G=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],yA=[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 fA(L,V){for(var X=0,Z=0,sA=new Array,mA=1;mA<=16;mA++){for(var FA=1;FA<=L[mA];FA++)sA[V[Z]]=[],sA[V[Z]][0]=X,sA[V[Z]][1]=mA,Z++,X++;X*=2}return sA}function UA(L){for(var V=L[0],X=L[1]-1;X>=0;)V&1<<X&&(S|=1<<U),X--,--U<0&&(S==255?(AA(255),AA(0)):AA(S),U=7,S=0)}function AA(L){Q.push(L)}function vA(L){AA(L>>8&255),AA(255&L)}function QA(L,V,X,Z,sA){for(var mA,FA=sA[0],bA=sA[240],VA=function(KA,zA){var XA,WA,oe,he,Ie,LA,OA,JA,GA,ue,_A=0;for(GA=0;GA<8;++GA){XA=KA[_A],WA=KA[_A+1],oe=KA[_A+2],he=KA[_A+3],Ie=KA[_A+4],LA=KA[_A+5],OA=KA[_A+6];var De=XA+(JA=KA[_A+7]),be=XA-JA,gt=WA+OA,Ge=WA-OA,We=oe+LA,xr=oe-LA,Me=he+Ie,Vt=he-Ie,Je=De+Me,Ar=De-Me,ut=gt+We,lt=gt-We;KA[_A]=Je+ut,KA[_A+4]=Je-ut;var Fe=.707106781*(lt+Ar);KA[_A+2]=Ar+Fe,KA[_A+6]=Ar-Fe;var ze=.382683433*((Je=Vt+xr)-(lt=Ge+be)),Nt=.5411961*Je+ze,Ut=1.306562965*lt+ze,Er=.707106781*(ut=xr+Ge),jr=be+Er,we=be-Er;KA[_A+5]=we+Nt,KA[_A+3]=we-Nt,KA[_A+1]=jr+Ut,KA[_A+7]=jr-Ut,_A+=8}for(_A=0,GA=0;GA<8;++GA){XA=KA[_A],WA=KA[_A+8],oe=KA[_A+16],he=KA[_A+24],Ie=KA[_A+32],LA=KA[_A+40],OA=KA[_A+48];var Gr=XA+(JA=KA[_A+56]),Se=XA-JA,er=WA+OA,bt=WA-OA,Re=oe+LA,tr=oe-LA,Dn=he+Ie,zr=he-Ie,sn=Gr+Dn,Wr=Gr-Dn,on=er+Re,un=er-Re;KA[_A]=sn+on,KA[_A+32]=sn-on;var Ir=.707106781*(un+Wr);KA[_A+16]=Wr+Ir,KA[_A+48]=Wr-Ir;var Pr=.382683433*((sn=zr+tr)-(un=bt+Se)),dt=.5411961*sn+Pr,di=1.306562965*un+Pr,yt=.707106781*(on=tr+bt),pi=Se+yt,ct=Se-yt;KA[_A+40]=ct+dt,KA[_A+24]=ct-dt,KA[_A+8]=pi+di,KA[_A+56]=pi-di,_A++}for(GA=0;GA<64;++GA)ue=KA[GA]*zA[GA],p[GA]=ue>0?ue+.5|0:ue-.5|0;return p}(L,V),MA=0;MA<64;++MA)x[J[MA]]=VA[MA];var Ae=x[0]-X;X=x[0],Ae==0?UA(Z[0]):(UA(Z[C[mA=32767+Ae]]),UA(m[mA]));for(var $A=63;$A>0&&x[$A]==0;)$A--;if($A==0)return UA(FA),X;for(var pe,EA=1;EA<=$A;){for(var W=EA;x[EA]==0&&EA<=$A;)++EA;var Ce=EA-W;if(Ce>=16){pe=Ce>>4;for(var ce=1;ce<=pe;++ce)UA(bA);Ce&=15}mA=32767+x[EA],UA(sA[(Ce<<4)+C[mA]]),UA(m[mA]),EA++}return $A!=63&&UA(FA),X}function jA(L){L=Math.min(Math.max(L,1),100),i!=L&&(function(V){for(var X=[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],Z=0;Z<64;Z++){var sA=a((X[Z]*V+50)/100);sA=Math.min(Math.max(sA,1),255),s[J[Z]]=sA}for(var mA=[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 bA=a((mA[FA]*V+50)/100);bA=Math.min(Math.max(bA,1),255),c[J[FA]]=bA}for(var VA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],MA=0,Ae=0;Ae<8;Ae++)for(var $A=0;$A<8;$A++)d[MA]=1/(s[J[MA]]*VA[Ae]*VA[$A]*8),v[MA]=1/(c[J[MA]]*VA[Ae]*VA[$A]*8),MA++}(L<50?Math.floor(5e3/L):Math.floor(200-2*L)),i=L)}this.encode=function(L,V){V&&jA(V),Q=new Array,S=0,U=7,vA(65496),vA(65504),vA(16),AA(74),AA(70),AA(73),AA(70),AA(0),AA(1),AA(1),AA(0),vA(1),vA(1),AA(0),AA(0),function(){vA(65499),vA(132),AA(0);for(var WA=0;WA<64;WA++)AA(s[WA]);AA(1);for(var oe=0;oe<64;oe++)AA(c[oe])}(),function(WA,oe){vA(65472),vA(17),AA(8),vA(oe),vA(WA),AA(3),AA(1),AA(17),AA(0),AA(2),AA(17),AA(1),AA(3),AA(17),AA(1)}(L.width,L.height),function(){vA(65476),vA(418),AA(0);for(var WA=0;WA<16;WA++)AA(z[WA+1]);for(var oe=0;oe<=11;oe++)AA(hA[oe]);AA(16);for(var he=0;he<16;he++)AA(CA[he+1]);for(var Ie=0;Ie<=161;Ie++)AA(_[Ie]);AA(1);for(var LA=0;LA<16;LA++)AA(M[LA+1]);for(var OA=0;OA<=11;OA++)AA($[OA]);AA(17);for(var JA=0;JA<16;JA++)AA(G[JA+1]);for(var GA=0;GA<=161;GA++)AA(yA[GA])}(),vA(65498),vA(12),AA(3),AA(1),AA(0),AA(2),AA(17),AA(3),AA(17),AA(0),AA(63),AA(0);var X=0,Z=0,sA=0;S=0,U=7,this.encode.displayName="_encode_";for(var mA,FA,bA,VA,MA,Ae,$A,pe,EA,W=L.data,Ce=L.width,ce=L.height,KA=4*Ce,zA=0;zA<ce;){for(mA=0;mA<KA;){for(MA=KA*zA+mA,$A=-1,pe=0,EA=0;EA<64;EA++)Ae=MA+(pe=EA>>3)*KA+($A=4*(7&EA)),zA+pe>=ce&&(Ae-=KA*(zA+1+pe-ce)),mA+$A>=KA&&(Ae-=mA+$A-KA+4),FA=W[Ae++],bA=W[Ae++],VA=W[Ae++],P[EA]=(wA[FA]+wA[bA+256>>0]+wA[VA+512>>0]>>16)-128,q[EA]=(wA[FA+768>>0]+wA[bA+1024>>0]+wA[VA+1280>>0]>>16)-128,Y[EA]=(wA[FA+1280>>0]+wA[bA+1536>>0]+wA[VA+1792>>0]>>16)-128;X=QA(P,d,X,A,t),Z=QA(q,v,Z,e,n),sA=QA(Y,v,sA,e,n),mA+=32}zA+=8}if(U>=0){var XA=[];XA[1]=U+1,XA[0]=(1<<U+1)-1,UA(XA)}return vA(65497),new Uint8Array(Q)},r=r||50,function(){for(var L=String.fromCharCode,V=0;V<256;V++)uA[V]=L(V)}(),A=fA(z,hA),e=fA(M,$),t=fA(CA,_),n=fA(G,yA),function(){for(var L=1,V=2,X=1;X<=15;X++){for(var Z=L;Z<V;Z++)C[32767+Z]=X,m[32767+Z]=[],m[32767+Z][1]=X,m[32767+Z][0]=Z;for(var sA=-(V-1);sA<=-L;sA++)C[32767+sA]=X,m[32767+sA]=[],m[32767+sA][1]=X,m[32767+sA][0]=V-1+sA;L<<=1,V<<=1}}(),function(){for(var L=0;L<256;L++)wA[L]=19595*L,wA[L+256>>0]=38470*L,wA[L+512>>0]=7471*L+32768,wA[L+768>>0]=-11059*L,wA[L+1024>>0]=-21709*L,wA[L+1280>>0]=32768*L+8421375,wA[L+1536>>0]=-27439*L,wA[L+1792>>0]=-5329*L}(),jA(r)}/**
|
|
533
|
+
* @license
|
|
534
|
+
* Copyright (c) 2017 Aras Abbasi
|
|
535
|
+
*
|
|
536
|
+
* Licensed under the MIT License.
|
|
537
|
+
* http://opensource.org/licenses/mit-license
|
|
538
|
+
*/function _i(r,A){if(this.pos=0,this.buffer=r,this.datav=new DataView(r.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 $y(r){function A(z){if(!z)throw Error("assert :P")}function e(z,hA,CA){for(var _=0;4>_;_++)if(z[hA+_]!=CA.charCodeAt(_))return!0;return!1}function t(z,hA,CA,_,M){for(var $=0;$<M;$++)z[hA+$]=CA[_+$]}function n(z,hA,CA,_){for(var M=0;M<_;M++)z[hA+M]=CA}function i(z){return new Int32Array(z)}function a(z,hA){for(var CA=[],_=0;_<z;_++)CA.push(new hA);return CA}function s(z,hA){var CA=[];return function _(M,$,G){for(var yA=G[$],fA=0;fA<yA&&(M.push(G.length>$+1?[]:new hA),!(G.length<$+1));fA++)_(M[fA],$+1,G)}(CA,0,z),CA}var c=function(){var z=this;function hA(o,g){for(var w=1<<g-1>>>0;o&w;)w>>>=1;return w?(o&w-1)+w:o}function CA(o,g,w,b,E){A(!(b%w));do o[g+(b-=w)]=E;while(0<b)}function _(o,g,w,b,E){if(A(2328>=E),512>=E)var N=i(512);else if((N=i(E))==null)return 0;return function(H,O,D,K,tA,cA){var BA,lA,HA=O,xA=1<<D,rA=i(16),aA=i(16);for(A(tA!=0),A(K!=null),A(H!=null),A(0<D),lA=0;lA<tA;++lA){if(15<K[lA])return 0;++rA[K[lA]]}if(rA[0]==tA)return 0;for(aA[1]=0,BA=1;15>BA;++BA){if(rA[BA]>1<<BA)return 0;aA[BA+1]=aA[BA]+rA[BA]}for(lA=0;lA<tA;++lA)BA=K[lA],0<K[lA]&&(cA[aA[BA]++]=lA);if(aA[15]==1)return(K=new M).g=0,K.value=cA[0],CA(H,HA,1,xA,K),xA;var NA,PA=-1,TA=xA-1,ie=0,ee=1,me=1,te=1<<D;for(lA=0,BA=1,tA=2;BA<=D;++BA,tA<<=1){if(ee+=me<<=1,0>(me-=rA[BA]))return 0;for(;0<rA[BA];--rA[BA])(K=new M).g=BA,K.value=cA[lA++],CA(H,HA+ie,tA,te,K),ie=hA(ie,BA)}for(BA=D+1,tA=2;15>=BA;++BA,tA<<=1){if(ee+=me<<=1,0>(me-=rA[BA]))return 0;for(;0<rA[BA];--rA[BA]){if(K=new M,(ie&TA)!=PA){for(HA+=te,NA=1<<(PA=BA)-D;15>PA&&!(0>=(NA-=rA[PA]));)++PA,NA<<=1;xA+=te=1<<(NA=PA-D),H[O+(PA=ie&TA)].g=NA+D,H[O+PA].value=HA-O-PA}K.g=BA-D,K.value=cA[lA++],CA(H,HA+(ie>>D),tA,te,K),ie=hA(ie,BA)}}return ee!=2*aA[15]-1?0:xA}(o,g,w,b,E,N)}function M(){this.value=this.g=0}function $(){this.value=this.g=0}function G(){this.G=a(5,M),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(hr,$)}function yA(o,g,w,b){A(o!=null),A(g!=null),A(2147483648>b),o.Ca=254,o.I=0,o.b=-8,o.Ka=0,o.oa=g,o.pa=w,o.Jd=g,o.Yc=w+b,o.Zc=4<=b?w+b-4+1:w,mA(o)}function fA(o,g){for(var w=0;0<g--;)w|=bA(o,128)<<g;return w}function UA(o,g){var w=fA(o,g);return FA(o)?-w:w}function AA(o,g,w,b){var E,N=0;for(A(o!=null),A(g!=null),A(4294967288>b),o.Sb=b,o.Ra=0,o.u=0,o.h=0,4<b&&(b=4),E=0;E<b;++E)N+=g[w+E]<<8*E;o.Ra=N,o.bb=b,o.oa=g,o.pa=w}function vA(o){for(;8<=o.u&&o.bb<o.Sb;)o.Ra>>>=8,o.Ra+=o.oa[o.pa+o.bb]<<ba-8>>>0,++o.bb,o.u-=8;X(o)&&(o.h=1,o.u=0)}function QA(o,g){if(A(0<=g),!o.h&&g<=Ca){var w=V(o)&ya[g];return o.u+=g,vA(o),w}return o.h=1,o.u=0}function jA(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function L(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function V(o){return o.Ra>>>(o.u&ba-1)>>>0}function X(o){return A(o.bb<=o.Sb),o.h||o.bb==o.Sb&&o.u>ba}function Z(o,g){o.u=g,o.h=X(o)}function sA(o){o.u>=Ji&&(A(o.u>=Ji),vA(o))}function mA(o){A(o!=null&&o.oa!=null),o.pa<o.Zc?(o.I=(o.oa[o.pa++]|o.I<<8)>>>0,o.b+=8):(A(o!=null&&o.oa!=null),o.pa<o.Yc?(o.b+=8,o.I=o.oa[o.pa++]|o.I<<8):o.Ka?o.b=0:(o.I<<=8,o.b+=8,o.Ka=1))}function FA(o){return fA(o,1)}function bA(o,g){var w=o.Ca;0>o.b&&mA(o);var b=o.b,E=w*g>>>8,N=(o.I>>>b>E)+0;for(N?(w-=E,o.I-=E+1<<b>>>0):w=E+1,b=w,E=0;256<=b;)E+=8,b>>=8;return b=7^E+Mr[b],o.b-=b,o.Ca=(w<<b)-1,N}function VA(o,g,w){o[g+0]=w>>24&255,o[g+1]=w>>16&255,o[g+2]=w>>8&255,o[g+3]=w>>0&255}function MA(o,g){return o[g+0]<<0|o[g+1]<<8}function Ae(o,g){return MA(o,g)|o[g+2]<<16}function $A(o,g){return MA(o,g)|MA(o,g+2)<<16}function pe(o,g){var w=1<<g;return A(o!=null),A(0<g),o.X=i(w),o.X==null?0:(o.Mb=32-g,o.Xa=g,1)}function EA(o,g){A(o!=null),A(g!=null),A(o.Xa==g.Xa),t(g.X,0,o.X,0,1<<g.Xa)}function W(){this.X=[],this.Xa=this.Mb=0}function Ce(o,g,w,b){A(w!=null),A(b!=null);var E=w[0],N=b[0];return E==0&&(E=(o*N+g/2)/g),N==0&&(N=(g*E+o/2)/o),0>=E||0>=N?0:(w[0]=E,b[0]=N,1)}function ce(o,g){return o+(1<<g)-1>>>g}function KA(o,g){return((4278255360&o)+(4278255360&g)>>>0&4278255360)+((16711935&o)+(16711935&g)>>>0&16711935)>>>0}function zA(o,g){z[g]=function(w,b,E,N,H,O,D){var K;for(K=0;K<H;++K){var tA=z[o](O[D+K-1],E,N+K);O[D+K]=KA(w[b+K],tA)}}}function XA(){this.ud=this.hd=this.jd=0}function WA(o,g){return((4278124286&(o^g))>>>1)+(o&g)>>>0}function oe(o){return 0<=o&&256>o?o:0>o?0:255<o?255:void 0}function he(o,g){return oe(o+(o-g+.5>>1))}function Ie(o,g,w){return Math.abs(g-w)-Math.abs(o-w)}function LA(o,g,w,b,E,N,H){for(b=N[H-1],w=0;w<E;++w)N[H+w]=b=KA(o[g+w],b)}function OA(o,g,w,b,E){var N;for(N=0;N<w;++N){var H=o[g+N],O=H>>8&255,D=16711935&(D=(D=16711935&H)+((O<<16)+O));b[E+N]=(4278255360&H)+D>>>0}}function JA(o,g){g.jd=o>>0&255,g.hd=o>>8&255,g.ud=o>>16&255}function GA(o,g,w,b,E,N){var H;for(H=0;H<b;++H){var O=g[w+H],D=O>>>8,K=O,tA=255&(tA=(tA=O>>>16)+((o.jd<<24>>24)*(D<<24>>24)>>>5));K=255&(K=(K=K+((o.hd<<24>>24)*(D<<24>>24)>>>5))+((o.ud<<24>>24)*(tA<<24>>24)>>>5)),E[N+H]=(4278255360&O)+(tA<<16)+K}}function ue(o,g,w,b,E){z[g]=function(N,H,O,D,K,tA,cA,BA,lA){for(D=cA;D<BA;++D)for(cA=0;cA<lA;++cA)K[tA++]=E(O[b(N[H++])])},z[o]=function(N,H,O,D,K,tA,cA){var BA=8>>N.b,lA=N.Ea,HA=N.K[0],xA=N.w;if(8>BA)for(N=(1<<N.b)-1,xA=(1<<BA)-1;H<O;++H){var rA,aA=0;for(rA=0;rA<lA;++rA)rA&N||(aA=b(D[K++])),tA[cA++]=E(HA[aA&xA]),aA>>=BA}else z["VP8LMapColor"+w](D,K,HA,xA,tA,cA,H,O,lA)}}function _A(o,g,w,b,E){for(w=g+w;g<w;){var N=o[g++];b[E++]=N>>16&255,b[E++]=N>>8&255,b[E++]=N>>0&255}}function De(o,g,w,b,E){for(w=g+w;g<w;){var N=o[g++];b[E++]=N>>16&255,b[E++]=N>>8&255,b[E++]=N>>0&255,b[E++]=N>>24&255}}function be(o,g,w,b,E){for(w=g+w;g<w;){var N=(H=o[g++])>>16&240|H>>12&15,H=H>>0&240|H>>28&15;b[E++]=N,b[E++]=H}}function gt(o,g,w,b,E){for(w=g+w;g<w;){var N=(H=o[g++])>>16&248|H>>13&7,H=H>>5&224|H>>3&31;b[E++]=N,b[E++]=H}}function Ge(o,g,w,b,E){for(w=g+w;g<w;){var N=o[g++];b[E++]=N>>0&255,b[E++]=N>>8&255,b[E++]=N>>16&255}}function We(o,g,w,b,E,N){if(N==0)for(w=g+w;g<w;)VA(b,((N=o[g++])[0]>>24|N[1]>>8&65280|N[2]<<8&16711680|N[3]<<24)>>>0),E+=32;else t(b,E,o,g,w)}function xr(o,g){z[g][0]=z[o+"0"],z[g][1]=z[o+"1"],z[g][2]=z[o+"2"],z[g][3]=z[o+"3"],z[g][4]=z[o+"4"],z[g][5]=z[o+"5"],z[g][6]=z[o+"6"],z[g][7]=z[o+"7"],z[g][8]=z[o+"8"],z[g][9]=z[o+"9"],z[g][10]=z[o+"10"],z[g][11]=z[o+"11"],z[g][12]=z[o+"12"],z[g][13]=z[o+"13"],z[g][14]=z[o+"0"],z[g][15]=z[o+"0"]}function Me(o){return o==xu||o==rs||o==mo||o==Eu}function Vt(){this.eb=[],this.size=this.A=this.fb=0}function Je(){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 Ar(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Vt,this.f.kb=new Je,this.sd=null}function ut(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function lt(){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 Fe(o){return alert("todo:WebPSamplerProcessPlane"),o.T}function ze(o,g){var w=o.T,b=g.ba.f.RGBA,E=b.eb,N=b.fb+o.ka*b.A,H=Jr[g.ba.S],O=o.y,D=o.O,K=o.f,tA=o.N,cA=o.ea,BA=o.W,lA=g.cc,HA=g.dc,xA=g.Mc,rA=g.Nc,aA=o.ka,NA=o.ka+o.T,PA=o.U,TA=PA+1>>1;for(aA==0?H(O,D,null,null,K,tA,cA,BA,K,tA,cA,BA,E,N,null,null,PA):(H(g.ec,g.fc,O,D,lA,HA,xA,rA,K,tA,cA,BA,E,N-b.A,E,N,PA),++w);aA+2<NA;aA+=2)lA=K,HA=tA,xA=cA,rA=BA,tA+=o.Rc,BA+=o.Rc,N+=2*b.A,H(O,(D+=2*o.fa)-o.fa,O,D,lA,HA,xA,rA,K,tA,cA,BA,E,N-b.A,E,N,PA);return D+=o.fa,o.j+NA<o.o?(t(g.ec,g.fc,O,D,PA),t(g.cc,g.dc,K,tA,TA),t(g.Mc,g.Nc,cA,BA,TA),w--):1&NA||H(O,D,null,null,K,tA,cA,BA,K,tA,cA,BA,E,N+b.A,null,null,PA),w}function Nt(o,g,w){var b=o.F,E=[o.J];if(b!=null){var N=o.U,H=g.ba.S,O=H==wo||H==mo;g=g.ba.f.RGBA;var D=[0],K=o.ka;D[0]=o.T,o.Kb&&(K==0?--D[0]:(--K,E[0]-=o.width),o.j+o.ka+o.T==o.o&&(D[0]=o.o-o.j-K));var tA=g.eb;K=g.fb+K*g.A,o=it(b,E[0],o.width,N,D,tA,K+(O?0:3),g.A),A(w==D),o&&Me(H)&&pn(tA,K,O,N,D,g.A)}return 0}function Ut(o){var g=o.ma,w=g.ba.S,b=11>w,E=w==Bo||w==Ea||w==wo||w==Uu||w==12||Me(w);if(g.memory=null,g.Ib=null,g.Jb=null,g.Nd=null,!Qn(g.Oa,o,E?11:12))return 0;if(E&&Me(w)&&RA(),o.da)alert("todo:use_scaling");else{if(b){if(g.Ib=Fe,o.Kb){if(w=o.U+1>>1,g.memory=i(o.U+2*w),g.memory==null)return 0;g.ec=g.memory,g.fc=0,g.cc=g.ec,g.dc=g.fc+o.U,g.Mc=g.cc,g.Nc=g.dc+w,g.Ib=ze,RA()}}else alert("todo:EmitYUV");E&&(g.Jb=Nt,b&&gA())}if(b&&!zl){for(o=0;256>o;++o)Mf[o]=89858*(o-128)+bo>>Ia,Kf[o]=-22014*(o-128)+bo,kf[o]=-45773*(o-128),Rf[o]=113618*(o-128)+bo>>Ia;for(o=Rs;o<Lu;++o)g=76283*(o-16)+bo>>Ia,qf[o-Rs]=gn(g,255),Vf[o-Rs]=gn(g+8>>4,15);zl=1}return 1}function Er(o){var g=o.ma,w=o.U,b=o.T;return A(!(1&o.ka)),0>=w||0>=b?0:(w=g.Ib(o,g),g.Jb!=null&&g.Jb(o,g,w),g.Dc+=w,1)}function jr(o){o.ma.memory=null}function we(o,g,w,b){return QA(o,8)!=47?0:(g[0]=QA(o,14)+1,w[0]=QA(o,14)+1,b[0]=QA(o,1),QA(o,3)!=0?0:!o.h)}function Gr(o,g){if(4>o)return o+1;var w=o-2>>1;return(2+(1&o)<<w)+QA(g,w)+1}function Se(o,g){return 120<g?g-120:1<=(w=((w=Ef[g-1])>>4)*o+(8-(15&w)))?w:1;var w}function er(o,g,w){var b=V(w),E=o[g+=255&b].g-8;return 0<E&&(Z(w,w.u+8),b=V(w),g+=o[g].value,g+=b&(1<<E)-1),Z(w,w.u+o[g].g),o[g].value}function bt(o,g,w){return w.g+=o.g,w.value+=o.value<<g>>>0,A(8>=w.g),o.g}function Re(o,g,w){var b=o.xc;return A((g=b==0?0:o.vc[o.md*(w>>b)+(g>>b)])<o.Wb),o.Ya[g]}function tr(o,g,w,b){var E=o.ab,N=o.c*g,H=o.C;g=H+g;var O=w,D=b;for(b=o.Ta,w=o.Ua;0<E--;){var K=o.gc[E],tA=H,cA=g,BA=O,lA=D,HA=(D=b,O=w,K.Ea);switch(A(tA<cA),A(cA<=K.nc),K.hc){case 2:jn(BA,lA,(cA-tA)*HA,D,O);break;case 0:var xA=tA,rA=cA,aA=D,NA=O,PA=(te=K).Ea;xA==0&&(fo(BA,lA,null,null,1,aA,NA),LA(BA,lA+1,0,0,PA-1,aA,NA+1),lA+=PA,NA+=PA,++xA);for(var TA=1<<te.b,ie=TA-1,ee=ce(PA,te.b),me=te.K,te=te.w+(xA>>te.b)*ee;xA<rA;){var qA=me,at=te,Ze=1;for(Lr(BA,lA,aA,NA-PA,1,aA,NA);Ze<PA;){var Ve=(Ze&~ie)+TA;Ve>PA&&(Ve=PA),(0,Bi[qA[at++]>>8&15])(BA,lA+ +Ze,aA,NA+Ze-PA,Ve-Ze,aA,NA+Ze),Ze=Ve}lA+=PA,NA+=PA,++xA&ie||(te+=ee)}cA!=K.nc&&t(D,O-HA,D,O+(cA-tA-1)*HA,HA);break;case 1:for(HA=BA,rA=lA,PA=(BA=K.Ea)-(NA=BA&~(aA=(lA=1<<K.b)-1)),xA=ce(BA,K.b),TA=K.K,K=K.w+(tA>>K.b)*xA;tA<cA;){for(ie=TA,ee=K,me=new XA,te=rA+NA,qA=rA+BA;rA<te;)JA(ie[ee++],me),wi(me,HA,rA,lA,D,O),rA+=lA,O+=lA;rA<qA&&(JA(ie[ee++],me),wi(me,HA,rA,PA,D,O),rA+=PA,O+=PA),++tA&aA||(K+=xA)}break;case 3:if(BA==D&&lA==O&&0<K.b){for(rA=D,BA=HA=O+(cA-tA)*HA-(NA=(cA-tA)*ce(K.Ea,K.b)),lA=D,aA=O,xA=[],NA=(PA=NA)-1;0<=NA;--NA)xA[NA]=lA[aA+NA];for(NA=PA-1;0<=NA;--NA)rA[BA+NA]=xA[NA];rr(K,tA,cA,D,HA,D,O)}else rr(K,tA,cA,BA,lA,D,O)}O=b,D=w}D!=w&&t(b,w,O,D,N)}function Dn(o,g){var w=o.V,b=o.Ba+o.c*o.C,E=g-o.C;if(A(g<=o.l.o),A(16>=E),0<E){var N=o.l,H=o.Ta,O=o.Ua,D=N.width;if(tr(o,E,w,b),E=O=[O],A((w=o.C)<(b=g)),A(N.v<N.va),b>N.o&&(b=N.o),w<N.j){var K=N.j-w;w=N.j,E[0]+=K*D}if(w>=b?w=0:(E[0]+=4*N.v,N.ka=w-N.j,N.U=N.va-N.v,N.T=b-w,w=1),w){if(O=O[0],11>(w=o.ca).S){var tA=w.f.RGBA,cA=(b=w.S,E=N.U,N=N.T,K=tA.eb,tA.A),BA=N;for(tA=tA.fb+o.Ma*tA.A;0<BA--;){var lA=H,HA=O,xA=E,rA=K,aA=tA;switch(b){case bi:Rr(lA,HA,xA,rA,aA);break;case Bo:kr(lA,HA,xA,rA,aA);break;case xu:kr(lA,HA,xA,rA,aA),pn(rA,aA,0,xA,1,0);break;case _l:mi(lA,HA,xA,rA,aA);break;case Ea:We(lA,HA,xA,rA,aA,1);break;case rs:We(lA,HA,xA,rA,aA,1),pn(rA,aA,0,xA,1,0);break;case wo:We(lA,HA,xA,rA,aA,0);break;case mo:We(lA,HA,xA,rA,aA,0),pn(rA,aA,1,xA,1,0);break;case Uu:Un(lA,HA,xA,rA,aA);break;case Eu:Un(lA,HA,xA,rA,aA),wt(rA,aA,xA,1,0);break;case Dl:Cr(lA,HA,xA,rA,aA);break;default:A(0)}O+=D,tA+=cA}o.Ma+=N}else alert("todo:EmitRescaledRowsYUVA");A(o.Ma<=w.height)}}o.C=g,A(o.C<=o.i)}function zr(o){var g;if(0<o.ua)return 0;for(g=0;g<o.Wb;++g){var w=o.Ya[g].G,b=o.Ya[g].H;if(0<w[1][b[1]+0].g||0<w[2][b[2]+0].g||0<w[3][b[3]+0].g)return 0}return 1}function sn(o,g,w,b,E,N){if(o.Z!=0){var H=o.qd,O=o.rd;for(A(Aa[o.Z]!=null);g<w;++g)Aa[o.Z](H,O,b,E,b,E,N),H=b,O=E,E+=N;o.qd=H,o.rd=O}}function Wr(o,g){var w=o.l.ma,b=w.Z==0||w.Z==1?o.l.j:o.C;if(b=o.C<b?b:o.C,A(g<=o.l.o),g>b){var E=o.l.width,N=w.ca,H=w.tb+E*b,O=o.V,D=o.Ba+o.c*b,K=o.gc;A(o.ab==1),A(K[0].hc==3),Gn(K[0],b,g,O,D,N,H),sn(w,b,g,N,H,E)}o.C=o.Ma=g}function on(o,g,w,b,E,N,H){var O=o.$/b,D=o.$%b,K=o.m,tA=o.s,cA=w+o.$,BA=cA;E=w+b*E;var lA=w+b*N,HA=280+tA.ua,xA=o.Pb?O:16777216,rA=0<tA.ua?tA.Wa:null,aA=tA.wc,NA=cA<lA?Re(tA,D,O):null;A(o.C<N),A(lA<=E);var PA=!1;A:for(;;){for(;PA||cA<lA;){var TA=0;if(O>=xA){var ie=cA-w;A((xA=o).Pb),xA.wd=xA.m,xA.xd=ie,0<xA.s.ua&&EA(xA.s.Wa,xA.s.vb),xA=O+yo}if(D&aA||(NA=Re(tA,D,O)),A(NA!=null),NA.Qb&&(g[cA]=NA.qb,PA=!0),!PA)if(sA(K),NA.jc){TA=K,ie=g;var ee=cA,me=NA.pd[V(TA)&hr-1];A(NA.jc),256>me.g?(Z(TA,TA.u+me.g),ie[ee]=me.value,TA=0):(Z(TA,TA.u+me.g-256),A(256<=me.value),TA=me.value),TA==0&&(PA=!0)}else TA=er(NA.G[0],NA.H[0],K);if(K.h)break;if(PA||256>TA){if(!PA)if(NA.nd)g[cA]=(NA.qb|TA<<8)>>>0;else{if(sA(K),PA=er(NA.G[1],NA.H[1],K),sA(K),ie=er(NA.G[2],NA.H[2],K),ee=er(NA.G[3],NA.H[3],K),K.h)break;g[cA]=(ee<<24|PA<<16|TA<<8|ie)>>>0}if(PA=!1,++cA,++D>=b&&(D=0,++O,H!=null&&O<=N&&!(O%16)&&H(o,O),rA!=null))for(;BA<cA;)TA=g[BA++],rA.X[(506832829*TA&4294967295)>>>rA.Mb]=TA}else if(280>TA){if(TA=Gr(TA-256,K),ie=er(NA.G[4],NA.H[4],K),sA(K),ie=Se(b,ie=Gr(ie,K)),K.h)break;if(cA-w<ie||E-cA<TA)break A;for(ee=0;ee<TA;++ee)g[cA+ee]=g[cA+ee-ie];for(cA+=TA,D+=TA;D>=b;)D-=b,++O,H!=null&&O<=N&&!(O%16)&&H(o,O);if(A(cA<=E),D&aA&&(NA=Re(tA,D,O)),rA!=null)for(;BA<cA;)TA=g[BA++],rA.X[(506832829*TA&4294967295)>>>rA.Mb]=TA}else{if(!(TA<HA))break A;for(PA=TA-280,A(rA!=null);BA<cA;)TA=g[BA++],rA.X[(506832829*TA&4294967295)>>>rA.Mb]=TA;TA=cA,A(!(PA>>>(ie=rA).Xa)),g[TA]=ie.X[PA],PA=!0}PA||A(K.h==X(K))}if(o.Pb&&K.h&&cA<E)A(o.m.h),o.a=5,o.m=o.wd,o.$=o.xd,0<o.s.ua&&EA(o.s.vb,o.s.Wa);else{if(K.h)break A;H?.(o,O>N?N:O),o.a=0,o.$=cA-w}return 1}return o.a=3,0}function un(o){A(o!=null),o.vc=null,o.yc=null,o.Ya=null;var g=o.Wa;g!=null&&(g.X=null),o.vb=null,A(o!=null)}function Ir(){var o=new Fu;return o==null?null:(o.a=0,o.xb=kl,xr("Predictor","VP8LPredictors"),xr("Predictor","VP8LPredictors_C"),xr("PredictorAdd","VP8LPredictorsAdd"),xr("PredictorAdd","VP8LPredictorsAdd_C"),jn=OA,wi=GA,Rr=_A,kr=De,Un=be,Cr=gt,mi=Ge,z.VP8LMapColor32b=St,z.VP8LMapColor8b=Hs,o)}function Pr(o,g,w,b,E){var N=1,H=[o],O=[g],D=b.m,K=b.s,tA=null,cA=0;A:for(;;){if(w)for(;N&&QA(D,1);){var BA=H,lA=O,HA=b,xA=1,rA=HA.m,aA=HA.gc[HA.ab],NA=QA(rA,2);if(HA.Oc&1<<NA)N=0;else{switch(HA.Oc|=1<<NA,aA.hc=NA,aA.Ea=BA[0],aA.nc=lA[0],aA.K=[null],++HA.ab,A(4>=HA.ab),NA){case 0:case 1:aA.b=QA(rA,3)+2,xA=Pr(ce(aA.Ea,aA.b),ce(aA.nc,aA.b),0,HA,aA.K),aA.K=aA.K[0];break;case 3:var PA,TA=QA(rA,8)+1,ie=16<TA?0:4<TA?1:2<TA?2:3;if(BA[0]=ce(aA.Ea,ie),aA.b=ie,PA=xA=Pr(TA,1,0,HA,aA.K)){var ee,me=TA,te=aA,qA=1<<(8>>te.b),at=i(qA);if(at==null)PA=0;else{var Ze=te.K[0],Ve=te.w;for(at[0]=te.K[0][0],ee=1;ee<1*me;++ee)at[ee]=KA(Ze[Ve+ee],at[ee-1]);for(;ee<4*qA;++ee)at[ee]=0;te.K[0]=null,te.K[0]=at,PA=1}}xA=PA;break;case 2:break;default:A(0)}N=xA}}if(H=H[0],O=O[0],N&&QA(D,1)&&!(N=1<=(cA=QA(D,4))&&11>=cA)){b.a=3;break A}var Xe;if(Xe=N)e:{var ht,Oe,Qt,br=b,Wt=H,Zr=O,st=cA,ir=w,qr=br.m,Xt=br.s,Fr=[null],Nr=1,In=0,Sn=If[st];t:for(;;){if(ir&&QA(qr,1)){var fr=QA(qr,3)+2,Qi=ce(Wt,fr),Sa=ce(Zr,fr),is=Qi*Sa;if(!Pr(Qi,Sa,0,br,Fr))break t;for(Fr=Fr[0],Xt.xc=fr,ht=0;ht<is;++ht){var ea=Fr[ht]>>8&65535;Fr[ht]=ea,ea>=Nr&&(Nr=ea+1)}}if(qr.h)break t;for(Oe=0;5>Oe;++Oe){var Dt=Ds[Oe];!Oe&&0<st&&(Dt+=1<<st),In<Dt&&(In=Dt)}var Tu=a(Nr*Sn,M),Wl=Nr,Hu=a(Wl,G);if(Hu==null)var Qo=null;else A(65536>=Wl),Qo=Hu;var ks=i(In);if(Qo==null||ks==null||Tu==null){br.a=1;break t}var Uo=Tu;for(ht=Qt=0;ht<Nr;++ht){var Ln=Qo[ht],as=Ln.G,Ui=Ln.H,Xl=0,ss=1,xo=0;for(Oe=0;5>Oe;++Oe){Dt=Ds[Oe],as[Oe]=Uo,Ui[Oe]=Qt,!Oe&&0<st&&(Dt+=1<<st);n:{var Ks,Eo=Dt,Io=br,os=ks,Ou=Uo,Pu=Qt,So=0,xi=Io.m,Yl=QA(xi,1);if(n(os,0,0,Eo),Yl){var Jl=QA(xi,1)+1,_u=QA(xi,1),Zl=QA(xi,_u==0?1:8);os[Zl]=1,Jl==2&&(os[Zl=QA(xi,8)]=1);var Lo=1}else{var $l=i(19),Bn=QA(xi,4)+4;if(19<Bn){Io.a=3;var us=0;break n}for(Ks=0;Ks<Bn;++Ks)$l[xf[Ks]]=QA(xi,3);var Du=void 0,qs=void 0,Ac=Io,zf=$l,No=Eo,ec=os,Mu=0,ta=Ac.m,tc=8,Ru=a(128,M);r:for(;_(Ru,0,7,zf,19);){if(QA(ta,1)){var Wf=2+2*QA(ta,3);if((Du=2+QA(ta,Wf))>No)break r}else Du=No;for(qs=0;qs<No&&Du--;){sA(ta);var To=Ru[0+(127&V(ta))];Z(ta,ta.u+To.g);var La=To.value;if(16>La)ec[qs++]=La,La!=0&&(tc=La);else{var Qr=La==16,ls=La-16,Xf=Qf[ls],rc=QA(ta,Ff[ls])+Xf;if(qs+rc>No)break r;for(var nc=Qr?tc:0;0<rc--;)ec[qs++]=nc}}Mu=1;break r}Mu||(Ac.a=3),Lo=Mu}(Lo=Lo&&!xi.h)&&(So=_(Ou,Pu,8,os,Eo)),Lo&&So!=0?us=So:(Io.a=3,us=0)}if(us==0)break t;if(ss&&Uf[Oe]==1&&(ss=Uo[Qt].g==0),Xl+=Uo[Qt].g,Qt+=us,3>=Oe){var Na,ku=ks[0];for(Na=1;Na<Dt;++Na)ks[Na]>ku&&(ku=ks[Na]);xo+=ku}}if(Ln.nd=ss,Ln.Qb=0,ss&&(Ln.qb=(as[3][Ui[3]+0].value<<24|as[1][Ui[1]+0].value<<16|as[2][Ui[2]+0].value)>>>0,Xl==0&&256>as[0][Ui[0]+0].value&&(Ln.Qb=1,Ln.qb+=as[0][Ui[0]+0].value<<8)),Ln.jc=!Ln.Qb&&6>xo,Ln.jc){var Ho,Ei=Ln;for(Ho=0;Ho<hr;++Ho){var ra=Ho,na=Ei.pd[ra],Oo=Ei.G[0][Ei.H[0]+ra];256<=Oo.value?(na.g=Oo.g+256,na.value=Oo.value):(na.g=0,na.value=0,ra>>=bt(Oo,8,na),ra>>=bt(Ei.G[1][Ei.H[1]+ra],16,na),ra>>=bt(Ei.G[2][Ei.H[2]+ra],0,na),bt(Ei.G[3][Ei.H[3]+ra],24,na))}}}Xt.vc=Fr,Xt.Wb=Nr,Xt.Ya=Qo,Xt.yc=Tu,Xe=1;break e}Xe=0}if(!(N=Xe)){b.a=3;break A}if(0<cA){if(K.ua=1<<cA,!pe(K.Wa,cA)){b.a=1,N=0;break A}}else K.ua=0;var Ku=b,ic=H,ac=O,Po=Ku.s,_o=Po.xc;if(Ku.c=ic,Ku.i=ac,Po.md=ce(ic,_o),Po.wc=_o==0?-1:(1<<_o)-1,w){b.xb=Rl;break A}if((tA=i(H*O))==null){b.a=1,N=0;break A}N=(N=on(b,tA,0,H,O,O,null))&&!D.h;break A}return N?(E!=null?E[0]=tA:(A(tA==null),A(w)),b.$=0,w||un(K)):un(K),N}function dt(o,g){var w=o.c*o.i,b=w+g+16*g;return A(o.c<=g),o.V=i(b),o.V==null?(o.Ta=null,o.Ua=0,o.a=1,0):(o.Ta=o.V,o.Ua=o.Ba+w+g,1)}function di(o,g){var w=o.C,b=g-w,E=o.V,N=o.Ba+o.c*w;for(A(g<=o.l.o);0<b;){var H=16<b?16:b,O=o.l.ma,D=o.l.width,K=D*H,tA=O.ca,cA=O.tb+D*w,BA=o.Ta,lA=o.Ua;tr(o,H,E,N),Kt(BA,lA,tA,cA,K),sn(O,w,w+H,tA,cA,D),b-=H,E+=H*o.c,w+=H}A(w==g),o.C=o.Ma=g}function yt(){this.ub=this.yd=this.td=this.Rb=0}function pi(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ct(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function $n(){this.Yb=function(){var o=[];return function g(w,b,E){for(var N=E[b],H=0;H<N&&(w.push(E.length>b+1?[]:0),!(E.length<b+1));H++)g(w[H],b+1,E)}(o,0,[3,11]),o}()}function Mn(){this.jb=i(3),this.Wc=s([4,8],$n),this.Xc=s([4,17],$n)}function fa(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function ln(){this.ld=this.La=this.dd=this.tc=0}function Ri(){this.Na=this.la=0}function Ai(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function mn(){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 ga(){this.uc=this.M=this.Nb=0,this.wa=Array(new ln),this.Y=0,this.ya=Array(new mn),this.aa=0,this.l=new ei}function _r(){this.y=i(16),this.f=i(8),this.ea=i(8)}function Rn(){this.cb=this.a=0,this.sc="",this.m=new jA,this.Od=new yt,this.Kc=new pi,this.ed=new fa,this.Qa=new ct,this.Ic=this.$c=this.Aa=0,this.D=new ga,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,jA),this.ia=0,this.pb=a(4,Ai),this.Pa=new Mn,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new _r),this.Hd=0,this.rb=Array(new Ri),this.sb=0,this.wa=Array(new ln),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 mn),this.L=this.aa=0,this.gd=s([4,2],ln),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 ei(){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 ti(){var o=new Rn;return o!=null&&(o.a=0,o.sc="OK",o.cb=0,o.Xb=0,Ms||(Ms=kn)),o}function pt(o,g,w){return o.a==0&&(o.a=g,o.sc=w,o.cb=0),0}function yn(o,g,w){return 3<=w&&o[g+0]==157&&o[g+1]==1&&o[g+2]==42}function ri(o,g){if(o==null)return 0;if(o.a=0,o.sc="OK",g==null)return pt(o,2,"null VP8Io passed to VP8GetHeaders()");var w=g.data,b=g.w,E=g.ha;if(4>E)return pt(o,7,"Truncated header.");var N=w[b+0]|w[b+1]<<8|w[b+2]<<16,H=o.Od;if(H.Rb=!(1&N),H.td=N>>1&7,H.yd=N>>4&1,H.ub=N>>5,3<H.td)return pt(o,3,"Incorrect keyframe parameters.");if(!H.yd)return pt(o,4,"Frame not displayable.");b+=3,E-=3;var O=o.Kc;if(H.Rb){if(7>E)return pt(o,7,"cannot parse picture header");if(!yn(w,b,E))return pt(o,3,"Bad code word");O.c=16383&(w[b+4]<<8|w[b+3]),O.Td=w[b+4]>>6,O.i=16383&(w[b+6]<<8|w[b+5]),O.Ud=w[b+6]>>6,b+=7,E-=7,o.za=O.c+15>>4,o.Ub=O.i+15>>4,g.width=O.c,g.height=O.i,g.Da=0,g.j=0,g.v=0,g.va=g.width,g.o=g.height,g.da=0,g.ib=g.width,g.hb=g.height,g.U=g.width,g.T=g.height,n((N=o.Pa).jb,0,255,N.jb.length),A((N=o.Qa)!=null),N.Cb=0,N.Bb=0,N.Fb=1,n(N.Zb,0,0,N.Zb.length),n(N.Lb,0,0,N.Lb)}if(H.ub>E)return pt(o,7,"bad partition length");yA(N=o.m,w,b,H.ub),b+=H.ub,E-=H.ub,H.Rb&&(O.Ld=FA(N),O.Kd=FA(N)),O=o.Qa;var D,K=o.Pa;if(A(N!=null),A(O!=null),O.Cb=FA(N),O.Cb){if(O.Bb=FA(N),FA(N)){for(O.Fb=FA(N),D=0;4>D;++D)O.Zb[D]=FA(N)?UA(N,7):0;for(D=0;4>D;++D)O.Lb[D]=FA(N)?UA(N,6):0}if(O.Bb)for(D=0;3>D;++D)K.jb[D]=FA(N)?fA(N,8):255}else O.Bb=0;if(N.Ka)return pt(o,3,"cannot parse segment header");if((O=o.ed).zd=FA(N),O.Tb=fA(N,6),O.wb=fA(N,3),O.Pc=FA(N),O.Pc&&FA(N)){for(K=0;4>K;++K)FA(N)&&(O.vd[K]=UA(N,6));for(K=0;4>K;++K)FA(N)&&(O.od[K]=UA(N,6))}if(o.L=O.Tb==0?0:O.zd?1:2,N.Ka)return pt(o,3,"cannot parse filter header");var tA=E;if(E=D=b,b=D+tA,O=tA,o.Xb=(1<<fA(o.m,2))-1,tA<3*(K=o.Xb))w=7;else{for(D+=3*K,O-=3*K,tA=0;tA<K;++tA){var cA=w[E+0]|w[E+1]<<8|w[E+2]<<16;cA>O&&(cA=O),yA(o.Jc[+tA],w,D,cA),D+=cA,O-=cA,E+=3}yA(o.Jc[+K],w,D,O),w=D<b?0:5}if(w!=0)return pt(o,w,"cannot parse partitions");for(w=fA(D=o.m,7),E=FA(D)?UA(D,4):0,b=FA(D)?UA(D,4):0,O=FA(D)?UA(D,4):0,K=FA(D)?UA(D,4):0,D=FA(D)?UA(D,4):0,tA=o.Qa,cA=0;4>cA;++cA){if(tA.Cb){var BA=tA.Zb[cA];tA.Fb||(BA+=w)}else{if(0<cA){o.pb[cA]=o.pb[0];continue}BA=w}var lA=o.pb[cA];lA.Sc[0]=Iu[gn(BA+E,127)],lA.Sc[1]=Su[gn(BA+0,127)],lA.Eb[0]=2*Iu[gn(BA+b,127)],lA.Eb[1]=101581*Su[gn(BA+O,127)]>>16,8>lA.Eb[1]&&(lA.Eb[1]=8),lA.Qc[0]=Iu[gn(BA+K,117)],lA.Qc[1]=Su[gn(BA+D,127)],lA.lc=BA+D}if(!H.Rb)return pt(o,4,"Not a key frame.");for(FA(N),H=o.Pa,w=0;4>w;++w){for(E=0;8>E;++E)for(b=0;3>b;++b)for(O=0;11>O;++O)K=bA(N,Hf[w][E][b][O])?fA(N,8):Nf[w][E][b][O],H.Wc[w][E].Yb[b][O]=K;for(E=0;17>E;++E)H.Xc[w][E]=H.Wc[w][Of[E]]}return o.kc=FA(N),o.kc&&(o.Bd=fA(N,8)),o.cb=1}function kn(o,g,w,b,E,N,H){var O=g[E].Yb[w];for(w=0;16>E;++E){if(!bA(o,O[w+0]))return E;for(;!bA(o,O[w+1]);)if(O=g[++E].Yb[0],w=0,E==16)return 16;var D=g[E+1].Yb;if(bA(o,O[w+2])){var K=o,tA=0;if(bA(K,(BA=O)[(cA=w)+3]))if(bA(K,BA[cA+6])){for(O=0,cA=2*(tA=bA(K,BA[cA+8]))+(BA=bA(K,BA[cA+9+tA])),tA=0,BA=Sf[cA];BA[O];++O)tA+=tA+bA(K,BA[O]);tA+=3+(8<<cA)}else bA(K,BA[cA+7])?(tA=7+2*bA(K,165),tA+=bA(K,145)):tA=5+bA(K,159);else tA=bA(K,BA[cA+4])?3+bA(K,BA[cA+5]):2;O=D[2]}else tA=1,O=D[1];D=H+Lf[E],0>(K=o).b&&mA(K);var cA,BA=K.b,lA=(cA=K.Ca>>1)-(K.I>>BA)>>31;--K.b,K.Ca+=lA,K.Ca|=1,K.I-=(cA+1&lA)<<BA,N[D]=((tA^lA)-lA)*b[(0<E)+0]}return 16}function da(o){var g=o.rb[o.sb-1];g.la=0,g.Na=0,n(o.zc,0,0,o.zc.length),o.ja=0}function jt(o,g){if(o==null)return 0;if(g==null)return pt(o,2,"NULL VP8Io parameter in VP8Decode().");if(!o.cb&&!ri(o,g))return 0;if(A(o.cb),g.ac==null||g.ac(g)){g.ob&&(o.L=0);var w=Fo[o.L];if(o.L==2?(o.yb=0,o.zb=0):(o.yb=g.v-w>>4,o.zb=g.j-w>>4,0>o.yb&&(o.yb=0),0>o.zb&&(o.zb=0)),o.Va=g.o+15+w>>4,o.Hb=g.va+15+w>>4,o.Hb>o.za&&(o.Hb=o.za),o.Va>o.Ub&&(o.Va=o.Ub),0<o.L){var b=o.ed;for(w=0;4>w;++w){var E;if(o.Qa.Cb){var N=o.Qa.Lb[w];o.Qa.Fb||(N+=b.Tb)}else N=b.Tb;for(E=0;1>=E;++E){var H=o.gd[w][E],O=N;if(b.Pc&&(O+=b.vd[0],E&&(O+=b.od[0])),0<(O=0>O?0:63<O?63:O)){var D=O;0<b.wb&&(D=4<b.wb?D>>2:D>>1)>9-b.wb&&(D=9-b.wb),1>D&&(D=1),H.dd=D,H.tc=2*O+D,H.ld=40<=O?2:15<=O?1:0}else H.tc=0;H.La=E}}}w=0}else pt(o,6,"Frame setup failed"),w=o.a;if(w=w==0){if(w){o.$c=0,0<o.Aa||(o.Ic=Gf);A:{w=o.Ic,b=4*(D=o.za);var K=32*D,tA=D+1,cA=0<o.L?D*(0<o.Aa?2:1):0,BA=(o.Aa==2?2:1)*D;if((H=b+832+(E=3*(16*w+Fo[o.L])/2*K)+(N=o.Fa!=null&&0<o.Fa.length?o.Kc.c*o.Kc.i:0))!=H)w=0;else{if(H>o.Vb){if(o.Vb=0,o.Ec=i(H),o.Fc=0,o.Ec==null){w=pt(o,1,"no memory during frame initialization.");break A}o.Vb=H}H=o.Ec,O=o.Fc,o.Ac=H,o.Bc=O,O+=b,o.Gd=a(K,_r),o.Hd=0,o.rb=a(tA+1,Ri),o.sb=1,o.wa=cA?a(cA,ln):null,o.Y=0,o.D.Nb=0,o.D.wa=o.wa,o.D.Y=o.Y,0<o.Aa&&(o.D.Y+=D),A(!0),o.oc=H,o.pc=O,O+=832,o.ya=a(BA,mn),o.aa=0,o.D.ya=o.ya,o.D.aa=o.aa,o.Aa==2&&(o.D.aa+=D),o.R=16*D,o.B=8*D,D=(K=Fo[o.L])*o.R,K=K/2*o.B,o.sa=H,o.ta=O+D,o.qa=o.sa,o.ra=o.ta+16*w*o.R+K,o.Ha=o.qa,o.Ia=o.ra+8*w*o.B+K,o.$c=0,O+=E,o.mb=N?H:null,o.nb=N?O:null,A(O+N<=o.Fc+o.Vb),da(o),n(o.Ac,o.Bc,0,b),w=1}}if(w){if(g.ka=0,g.y=o.sa,g.O=o.ta,g.f=o.qa,g.N=o.ra,g.ea=o.Ha,g.Vd=o.Ia,g.fa=o.R,g.Rc=o.B,g.F=null,g.J=0,!po){for(w=-255;255>=w;++w)nr[255+w]=0>w?-w:w;for(w=-1020;1020>=w;++w)zn[1020+w]=-128>w?-128:127<w?127:w;for(w=-112;112>=w;++w)_s[112+w]=-16>w?-16:15<w?15:w;for(w=-255;510>=w;++w)xa[255+w]=0>w?0:255<w?255:w;po=1}es=qi,xn=qa,Os=Ki,Kr=Va,_t=Cn,Pt=pa,Fa=xt,go=Tt,Ps=Ya,ai=Ja,Qa=Bt,yi=Fn,Zi=Is,Ua=co,$i=nA,Ci=DA,ts=ZA,dn=qe,Xn[0]=fn,Xn[1]=ni,Xn[2]=Ba,Xn[3]=za,Xn[4]=Wa,Xn[5]=Kn,Xn[6]=cr,Xn[7]=Gi,Xn[8]=zi,Xn[9]=wr,Wn[0]=ja,Wn[1]=Vi,Wn[2]=hn,Wn[3]=Gt,Wn[4]=Ye,Wn[5]=Xr,Wn[6]=Ga,Fi[0]=Dr,Fi[1]=va,Fi[2]=Xa,Fi[3]=Wi,Fi[4]=ii,Fi[5]=Yr,Fi[6]=Xi,w=1}else w=0}w&&(w=function(lA,HA){for(lA.M=0;lA.M<lA.Va;++lA.M){var xA,rA=lA.Jc[lA.M&lA.Xb],aA=lA.m,NA=lA;for(xA=0;xA<NA.za;++xA){var PA=aA,TA=NA,ie=TA.Ac,ee=TA.Bc+4*xA,me=TA.zc,te=TA.ya[TA.aa+xA];if(TA.Qa.Bb?te.$b=bA(PA,TA.Pa.jb[0])?2+bA(PA,TA.Pa.jb[2]):bA(PA,TA.Pa.jb[1]):te.$b=0,TA.kc&&(te.Ad=bA(PA,TA.Bd)),te.Za=!bA(PA,145)+0,te.Za){var qA=te.Ob,at=0;for(TA=0;4>TA;++TA){var Ze,Ve=me[0+TA];for(Ze=0;4>Ze;++Ze){Ve=Tf[ie[ee+Ze]][Ve];for(var Xe=Ml[bA(PA,Ve[0])];0<Xe;)Xe=Ml[2*Xe+bA(PA,Ve[Xe])];Ve=-Xe,ie[ee+Ze]=Ve}t(qA,at,ie,ee,4),at+=4,me[0+TA]=Ve}}else Ve=bA(PA,156)?bA(PA,128)?1:3:bA(PA,163)?2:0,te.Ob[0]=Ve,n(ie,ee,Ve,4),n(me,0,Ve,4);te.Dd=bA(PA,142)?bA(PA,114)?bA(PA,183)?1:3:2:0}if(NA.m.Ka)return pt(lA,7,"Premature end-of-partition0 encountered.");for(;lA.ja<lA.za;++lA.ja){if(NA=rA,PA=(aA=lA).rb[aA.sb-1],ie=aA.rb[aA.sb+aA.ja],xA=aA.ya[aA.aa+aA.ja],ee=aA.kc?xA.Ad:0)PA.la=ie.la=0,xA.Za||(PA.Na=ie.Na=0),xA.Hc=0,xA.Gc=0,xA.ia=0;else{var ht,Oe;if(PA=ie,ie=NA,ee=aA.Pa.Xc,me=aA.ya[aA.aa+aA.ja],te=aA.pb[me.$b],TA=me.ad,qA=0,at=aA.rb[aA.sb-1],Ve=Ze=0,n(TA,qA,0,384),me.Za)var Qt=0,br=ee[3];else{Xe=i(16);var Wt=PA.Na+at.Na;if(Wt=Ms(ie,ee[1],Wt,te.Eb,0,Xe,0),PA.Na=at.Na=(0<Wt)+0,1<Wt)es(Xe,0,TA,qA);else{var Zr=Xe[0]+3>>3;for(Xe=0;256>Xe;Xe+=16)TA[qA+Xe]=Zr}Qt=1,br=ee[0]}var st=15&PA.la,ir=15&at.la;for(Xe=0;4>Xe;++Xe){var qr=1&ir;for(Zr=Oe=0;4>Zr;++Zr)st=st>>1|(qr=(Wt=Ms(ie,br,Wt=qr+(1&st),te.Sc,Qt,TA,qA))>Qt)<<7,Oe=Oe<<2|(3<Wt?3:1<Wt?2:TA[qA+0]!=0),qA+=16;st>>=4,ir=ir>>1|qr<<7,Ze=(Ze<<8|Oe)>>>0}for(br=st,Qt=ir>>4,ht=0;4>ht;ht+=2){for(Oe=0,st=PA.la>>4+ht,ir=at.la>>4+ht,Xe=0;2>Xe;++Xe){for(qr=1&ir,Zr=0;2>Zr;++Zr)Wt=qr+(1&st),st=st>>1|(qr=0<(Wt=Ms(ie,ee[2],Wt,te.Qc,0,TA,qA)))<<3,Oe=Oe<<2|(3<Wt?3:1<Wt?2:TA[qA+0]!=0),qA+=16;st>>=2,ir=ir>>1|qr<<5}Ve|=Oe<<4*ht,br|=st<<4<<ht,Qt|=(240&ir)<<ht}PA.la=br,at.la=Qt,me.Hc=Ze,me.Gc=Ve,me.ia=43690&Ve?0:te.ia,ee=!(Ze|Ve)}if(0<aA.L&&(aA.wa[aA.Y+aA.ja]=aA.gd[xA.$b][xA.Za],aA.wa[aA.Y+aA.ja].La|=!ee),NA.Ka)return pt(lA,7,"Premature end-of-file encountered.")}if(da(lA),aA=HA,NA=1,xA=(rA=lA).D,PA=0<rA.L&&rA.M>=rA.zb&&rA.M<=rA.Va,rA.Aa==0)A:{if(xA.M=rA.M,xA.uc=PA,kt(rA,xA),NA=1,xA=(Oe=rA.D).Nb,PA=(Ve=Fo[rA.L])*rA.R,ie=Ve/2*rA.B,Xe=16*xA*rA.R,Zr=8*xA*rA.B,ee=rA.sa,me=rA.ta-PA+Xe,te=rA.qa,TA=rA.ra-ie+Zr,qA=rA.Ha,at=rA.Ia-ie+Zr,ir=(st=Oe.M)==0,Ze=st>=rA.Va-1,rA.Aa==2&&kt(rA,Oe),Oe.uc)for(qr=(Wt=rA).D.M,A(Wt.D.uc),Oe=Wt.yb;Oe<Wt.Hb;++Oe){Qt=Oe,br=qr;var Xt=(Fr=(Dt=Wt).D).Nb;ht=Dt.R;var Fr=Fr.wa[Fr.Y+Qt],Nr=Dt.sa,In=Dt.ta+16*Xt*ht+16*Qt,Sn=Fr.dd,fr=Fr.tc;if(fr!=0)if(A(3<=fr),Dt.L==1)0<Qt&&Ci(Nr,In,ht,fr+4),Fr.La&&dn(Nr,In,ht,fr),0<br&&$i(Nr,In,ht,fr+4),Fr.La&&ts(Nr,In,ht,fr);else{var Qi=Dt.B,Sa=Dt.qa,is=Dt.ra+8*Xt*Qi+8*Qt,ea=Dt.Ha,Dt=Dt.Ia+8*Xt*Qi+8*Qt;Xt=Fr.ld,0<Qt&&(go(Nr,In,ht,fr+4,Sn,Xt),ai(Sa,is,ea,Dt,Qi,fr+4,Sn,Xt)),Fr.La&&(yi(Nr,In,ht,fr,Sn,Xt),Ua(Sa,is,ea,Dt,Qi,fr,Sn,Xt)),0<br&&(Fa(Nr,In,ht,fr+4,Sn,Xt),Ps(Sa,is,ea,Dt,Qi,fr+4,Sn,Xt)),Fr.La&&(Qa(Nr,In,ht,fr,Sn,Xt),Zi(Sa,is,ea,Dt,Qi,fr,Sn,Xt))}}if(rA.ia&&alert("todo:DitherRow"),aA.put!=null){if(Oe=16*st,st=16*(st+1),ir?(aA.y=rA.sa,aA.O=rA.ta+Xe,aA.f=rA.qa,aA.N=rA.ra+Zr,aA.ea=rA.Ha,aA.W=rA.Ia+Zr):(Oe-=Ve,aA.y=ee,aA.O=me,aA.f=te,aA.N=TA,aA.ea=qA,aA.W=at),Ze||(st-=Ve),st>aA.o&&(st=aA.o),aA.F=null,aA.J=null,rA.Fa!=null&&0<rA.Fa.length&&Oe<st&&(aA.J=Ts(rA,aA,Oe,st-Oe),aA.F=rA.mb,aA.F==null&&aA.F.length==0)){NA=pt(rA,3,"Could not decode alpha data.");break A}Oe<aA.j&&(Ve=aA.j-Oe,Oe=aA.j,A(!(1&Ve)),aA.O+=rA.R*Ve,aA.N+=rA.B*(Ve>>1),aA.W+=rA.B*(Ve>>1),aA.F!=null&&(aA.J+=aA.width*Ve)),Oe<st&&(aA.O+=aA.v,aA.N+=aA.v>>1,aA.W+=aA.v>>1,aA.F!=null&&(aA.J+=aA.v),aA.ka=Oe-aA.j,aA.U=aA.va-aA.v,aA.T=st-Oe,NA=aA.put(aA))}xA+1!=rA.Ic||Ze||(t(rA.sa,rA.ta-PA,ee,me+16*rA.R,PA),t(rA.qa,rA.ra-ie,te,TA+8*rA.B,ie),t(rA.Ha,rA.Ia-ie,qA,at+8*rA.B,ie))}if(!NA)return pt(lA,6,"Output aborted.")}return 1}(o,g)),g.bc!=null&&g.bc(g),w&=1}return w?(o.cb=0,w):0}function Br(o,g,w,b,E){E=o[g+w+32*b]+(E>>3),o[g+w+32*b]=-256&E?0>E?0:255:E}function cn(o,g,w,b,E,N){Br(o,g,0,w,b+E),Br(o,g,1,w,b+N),Br(o,g,2,w,b-N),Br(o,g,3,w,b-E)}function Rt(o){return(20091*o>>16)+o}function ki(o,g,w,b){var E,N=0,H=i(16);for(E=0;4>E;++E){var O=o[g+0]+o[g+8],D=o[g+0]-o[g+8],K=(35468*o[g+4]>>16)-Rt(o[g+12]),tA=Rt(o[g+4])+(35468*o[g+12]>>16);H[N+0]=O+tA,H[N+1]=D+K,H[N+2]=D-K,H[N+3]=O-tA,N+=4,g++}for(E=N=0;4>E;++E)O=(o=H[N+0]+4)+H[N+8],D=o-H[N+8],K=(35468*H[N+4]>>16)-Rt(H[N+12]),Br(w,b,0,0,O+(tA=Rt(H[N+4])+(35468*H[N+12]>>16))),Br(w,b,1,0,D+K),Br(w,b,2,0,D-K),Br(w,b,3,0,O-tA),N++,b+=32}function pa(o,g,w,b){var E=o[g+0]+4,N=35468*o[g+4]>>16,H=Rt(o[g+4]),O=35468*o[g+1]>>16;cn(w,b,0,E+H,o=Rt(o[g+1]),O),cn(w,b,1,E+N,o,O),cn(w,b,2,E-N,o,O),cn(w,b,3,E-H,o,O)}function qa(o,g,w,b,E){ki(o,g,w,b),E&&ki(o,g+16,w,b+4)}function Ki(o,g,w,b){xn(o,g+0,w,b,1),xn(o,g+32,w,b+128,1)}function Va(o,g,w,b){var E;for(o=o[g+0]+4,E=0;4>E;++E)for(g=0;4>g;++g)Br(w,b,g,E,o)}function Cn(o,g,w,b){o[g+0]&&Kr(o,g+0,w,b),o[g+16]&&Kr(o,g+16,w,b+4),o[g+32]&&Kr(o,g+32,w,b+128),o[g+48]&&Kr(o,g+48,w,b+128+4)}function qi(o,g,w,b){var E,N=i(16);for(E=0;4>E;++E){var H=o[g+0+E]+o[g+12+E],O=o[g+4+E]+o[g+8+E],D=o[g+4+E]-o[g+8+E],K=o[g+0+E]-o[g+12+E];N[0+E]=H+O,N[8+E]=H-O,N[4+E]=K+D,N[12+E]=K-D}for(E=0;4>E;++E)H=(o=N[0+4*E]+3)+N[3+4*E],O=N[1+4*E]+N[2+4*E],D=N[1+4*E]-N[2+4*E],K=o-N[3+4*E],w[b+0]=H+O>>3,w[b+16]=K+D>>3,w[b+32]=H-O>>3,w[b+48]=K-D>>3,b+=64}function Sr(o,g,w){var b,E=g-32,N=vn,H=255-o[E-1];for(b=0;b<w;++b){var O,D=N,K=H+o[g-1];for(O=0;O<w;++O)o[g+O]=D[K+o[E+O]];g+=32}}function ni(o,g){Sr(o,g,4)}function va(o,g){Sr(o,g,8)}function Vi(o,g){Sr(o,g,16)}function hn(o,g){var w;for(w=0;16>w;++w)t(o,g+32*w,o,g-32,16)}function Gt(o,g){var w;for(w=16;0<w;--w)n(o,g,o[g-1],16),g+=32}function ji(o,g,w){var b;for(b=0;16>b;++b)n(g,w+32*b,o,16)}function ja(o,g){var w,b=16;for(w=0;16>w;++w)b+=o[g-1+32*w]+o[g+w-32];ji(b>>5,o,g)}function Ye(o,g){var w,b=8;for(w=0;16>w;++w)b+=o[g-1+32*w];ji(b>>4,o,g)}function Xr(o,g){var w,b=8;for(w=0;16>w;++w)b+=o[g+w-32];ji(b>>4,o,g)}function Ga(o,g){ji(128,o,g)}function xe(o,g,w){return o+2*g+w+2>>2}function Ba(o,g){var w,b=g-32;for(b=new Uint8Array([xe(o[b-1],o[b+0],o[b+1]),xe(o[b+0],o[b+1],o[b+2]),xe(o[b+1],o[b+2],o[b+3]),xe(o[b+2],o[b+3],o[b+4])]),w=0;4>w;++w)t(o,g+32*w,b,0,b.length)}function za(o,g){var w=o[g-1],b=o[g-1+32],E=o[g-1+64],N=o[g-1+96];VA(o,g+0,16843009*xe(o[g-1-32],w,b)),VA(o,g+32,16843009*xe(w,b,E)),VA(o,g+64,16843009*xe(b,E,N)),VA(o,g+96,16843009*xe(E,N,N))}function fn(o,g){var w,b=4;for(w=0;4>w;++w)b+=o[g+w-32]+o[g-1+32*w];for(b>>=3,w=0;4>w;++w)n(o,g+32*w,b,4)}function Wa(o,g){var w=o[g-1+0],b=o[g-1+32],E=o[g-1+64],N=o[g-1-32],H=o[g+0-32],O=o[g+1-32],D=o[g+2-32],K=o[g+3-32];o[g+0+96]=xe(b,E,o[g-1+96]),o[g+1+96]=o[g+0+64]=xe(w,b,E),o[g+2+96]=o[g+1+64]=o[g+0+32]=xe(N,w,b),o[g+3+96]=o[g+2+64]=o[g+1+32]=o[g+0+0]=xe(H,N,w),o[g+3+64]=o[g+2+32]=o[g+1+0]=xe(O,H,N),o[g+3+32]=o[g+2+0]=xe(D,O,H),o[g+3+0]=xe(K,D,O)}function cr(o,g){var w=o[g+1-32],b=o[g+2-32],E=o[g+3-32],N=o[g+4-32],H=o[g+5-32],O=o[g+6-32],D=o[g+7-32];o[g+0+0]=xe(o[g+0-32],w,b),o[g+1+0]=o[g+0+32]=xe(w,b,E),o[g+2+0]=o[g+1+32]=o[g+0+64]=xe(b,E,N),o[g+3+0]=o[g+2+32]=o[g+1+64]=o[g+0+96]=xe(E,N,H),o[g+3+32]=o[g+2+64]=o[g+1+96]=xe(N,H,O),o[g+3+64]=o[g+2+96]=xe(H,O,D),o[g+3+96]=xe(O,D,D)}function Kn(o,g){var w=o[g-1+0],b=o[g-1+32],E=o[g-1+64],N=o[g-1-32],H=o[g+0-32],O=o[g+1-32],D=o[g+2-32],K=o[g+3-32];o[g+0+0]=o[g+1+64]=N+H+1>>1,o[g+1+0]=o[g+2+64]=H+O+1>>1,o[g+2+0]=o[g+3+64]=O+D+1>>1,o[g+3+0]=D+K+1>>1,o[g+0+96]=xe(E,b,w),o[g+0+64]=xe(b,w,N),o[g+0+32]=o[g+1+96]=xe(w,N,H),o[g+1+32]=o[g+2+96]=xe(N,H,O),o[g+2+32]=o[g+3+96]=xe(H,O,D),o[g+3+32]=xe(O,D,K)}function Gi(o,g){var w=o[g+0-32],b=o[g+1-32],E=o[g+2-32],N=o[g+3-32],H=o[g+4-32],O=o[g+5-32],D=o[g+6-32],K=o[g+7-32];o[g+0+0]=w+b+1>>1,o[g+1+0]=o[g+0+64]=b+E+1>>1,o[g+2+0]=o[g+1+64]=E+N+1>>1,o[g+3+0]=o[g+2+64]=N+H+1>>1,o[g+0+32]=xe(w,b,E),o[g+1+32]=o[g+0+96]=xe(b,E,N),o[g+2+32]=o[g+1+96]=xe(E,N,H),o[g+3+32]=o[g+2+96]=xe(N,H,O),o[g+3+64]=xe(H,O,D),o[g+3+96]=xe(O,D,K)}function wr(o,g){var w=o[g-1+0],b=o[g-1+32],E=o[g-1+64],N=o[g-1+96];o[g+0+0]=w+b+1>>1,o[g+2+0]=o[g+0+32]=b+E+1>>1,o[g+2+32]=o[g+0+64]=E+N+1>>1,o[g+1+0]=xe(w,b,E),o[g+3+0]=o[g+1+32]=xe(b,E,N),o[g+3+32]=o[g+1+64]=xe(E,N,N),o[g+3+64]=o[g+2+64]=o[g+0+96]=o[g+1+96]=o[g+2+96]=o[g+3+96]=N}function zi(o,g){var w=o[g-1+0],b=o[g-1+32],E=o[g-1+64],N=o[g-1+96],H=o[g-1-32],O=o[g+0-32],D=o[g+1-32],K=o[g+2-32];o[g+0+0]=o[g+2+32]=w+H+1>>1,o[g+0+32]=o[g+2+64]=b+w+1>>1,o[g+0+64]=o[g+2+96]=E+b+1>>1,o[g+0+96]=N+E+1>>1,o[g+3+0]=xe(O,D,K),o[g+2+0]=xe(H,O,D),o[g+1+0]=o[g+3+32]=xe(w,H,O),o[g+1+32]=o[g+3+64]=xe(b,w,H),o[g+1+64]=o[g+3+96]=xe(E,b,w),o[g+1+96]=xe(N,E,b)}function Xa(o,g){var w;for(w=0;8>w;++w)t(o,g+32*w,o,g-32,8)}function Wi(o,g){var w;for(w=0;8>w;++w)n(o,g,o[g-1],8),g+=32}function bn(o,g,w){var b;for(b=0;8>b;++b)n(g,w+32*b,o,8)}function Dr(o,g){var w,b=8;for(w=0;8>w;++w)b+=o[g+w-32]+o[g-1+32*w];bn(b>>4,o,g)}function Yr(o,g){var w,b=4;for(w=0;8>w;++w)b+=o[g+w-32];bn(b>>3,o,g)}function ii(o,g){var w,b=4;for(w=0;8>w;++w)b+=o[g-1+32*w];bn(b>>3,o,g)}function Xi(o,g){bn(128,o,g)}function Ft(o,g,w){var b=o[g-w],E=o[g+0],N=3*(E-b)+Qu[1020+o[g-2*w]-o[g+w]],H=vo[112+(N+4>>3)];o[g-w]=vn[255+b+vo[112+(N+3>>3)]],o[g+0]=vn[255+E-H]}function wa(o,g,w,b){var E=o[g+0],N=o[g+w];return En[255+o[g-2*w]-o[g-w]]>b||En[255+N-E]>b}function qn(o,g,w,b){return 4*En[255+o[g-w]-o[g+0]]+En[255+o[g-2*w]-o[g+w]]<=b}function de(o,g,w,b,E){var N=o[g-3*w],H=o[g-2*w],O=o[g-w],D=o[g+0],K=o[g+w],tA=o[g+2*w],cA=o[g+3*w];return 4*En[255+O-D]+En[255+H-K]>b?0:En[255+o[g-4*w]-N]<=E&&En[255+N-H]<=E&&En[255+H-O]<=E&&En[255+cA-tA]<=E&&En[255+tA-K]<=E&&En[255+K-D]<=E}function nA(o,g,w,b){var E=2*b+1;for(b=0;16>b;++b)qn(o,g+b,w,E)&&Ft(o,g+b,w)}function DA(o,g,w,b){var E=2*b+1;for(b=0;16>b;++b)qn(o,g+b*w,1,E)&&Ft(o,g+b*w,1)}function ZA(o,g,w,b){var E;for(E=3;0<E;--E)nA(o,g+=4*w,w,b)}function qe(o,g,w,b){var E;for(E=3;0<E;--E)DA(o,g+=4,w,b)}function vt(o,g,w,b,E,N,H,O){for(N=2*N+1;0<E--;){if(de(o,g,w,N,H))if(wa(o,g,w,O))Ft(o,g,w);else{var D=o,K=g,tA=w,cA=D[K-2*tA],BA=D[K-tA],lA=D[K+0],HA=D[K+tA],xA=D[K+2*tA],rA=27*(NA=Qu[1020+3*(lA-BA)+Qu[1020+cA-HA]])+63>>7,aA=18*NA+63>>7,NA=9*NA+63>>7;D[K-3*tA]=vn[255+D[K-3*tA]+NA],D[K-2*tA]=vn[255+cA+aA],D[K-tA]=vn[255+BA+rA],D[K+0]=vn[255+lA-rA],D[K+tA]=vn[255+HA-aA],D[K+2*tA]=vn[255+xA-NA]}g+=b}}function nt(o,g,w,b,E,N,H,O){for(N=2*N+1;0<E--;){if(de(o,g,w,N,H))if(wa(o,g,w,O))Ft(o,g,w);else{var D=o,K=g,tA=w,cA=D[K-tA],BA=D[K+0],lA=D[K+tA],HA=vo[112+((xA=3*(BA-cA))+4>>3)],xA=vo[112+(xA+3>>3)],rA=HA+1>>1;D[K-2*tA]=vn[255+D[K-2*tA]+rA],D[K-tA]=vn[255+cA+xA],D[K+0]=vn[255+BA-HA],D[K+tA]=vn[255+lA-rA]}g+=b}}function xt(o,g,w,b,E,N){vt(o,g,w,1,16,b,E,N)}function Tt(o,g,w,b,E,N){vt(o,g,1,w,16,b,E,N)}function Bt(o,g,w,b,E,N){var H;for(H=3;0<H;--H)nt(o,g+=4*w,w,1,16,b,E,N)}function Fn(o,g,w,b,E,N){var H;for(H=3;0<H;--H)nt(o,g+=4,1,w,16,b,E,N)}function Ya(o,g,w,b,E,N,H,O){vt(o,g,E,1,8,N,H,O),vt(w,b,E,1,8,N,H,O)}function Ja(o,g,w,b,E,N,H,O){vt(o,g,1,E,8,N,H,O),vt(w,b,1,E,8,N,H,O)}function Is(o,g,w,b,E,N,H,O){nt(o,g+4*E,E,1,8,N,H,O),nt(w,b+4*E,E,1,8,N,H,O)}function co(o,g,w,b,E,N,H,O){nt(o,g+4,1,E,8,N,H,O),nt(w,b+4,1,E,8,N,H,O)}function Za(){this.ba=new Ar,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new lt,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Ss(){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 Ls(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ho(){this.ua=0,this.Wa=new W,this.vb=new W,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new G,this.yc=new M}function Fu(){this.xb=this.a=0,this.l=new ei,this.ca=new Ar,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new L,this.Pb=0,this.wd=new L,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ho,this.ab=0,this.gc=a(4,Ls),this.Oc=0}function $a(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ei,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ma(o,g,w,b,E,N,H){for(o=o==null?0:o[g+0],g=0;g<H;++g)E[N+g]=o+w[b+g]&255,o=E[N+g]}function Ns(o,g,w,b,E,N,H){var O;if(o==null)ma(null,null,w,b,E,N,H);else for(O=0;O<H;++O)E[N+O]=o[g+O]+w[b+O]&255}function Vn(o,g,w,b,E,N,H){if(o==null)ma(null,null,w,b,E,N,H);else{var O,D=o[g+0],K=D,tA=D;for(O=0;O<H;++O)K=tA+(D=o[g+O])-K,tA=w[b+O]+(-256&K?0>K?0:255:K)&255,K=D,E[N+O]=tA}}function Ts(o,g,w,b){var E=g.width,N=g.o;if(A(o!=null&&g!=null),0>w||0>=b||w+b>N)return null;if(!o.Cc){if(o.ga==null){var H;if(o.ga=new $a,(H=o.ga==null)||(H=g.width*g.o,A(o.Gb.length==0),o.Gb=i(H),o.Uc=0,o.Gb==null?H=0:(o.mb=o.Gb,o.nb=o.Uc,o.rc=null,H=1),H=!H),!H){H=o.ga;var O=o.Fa,D=o.P,K=o.qc,tA=o.mb,cA=o.nb,BA=D+1,lA=K-1,HA=H.l;if(A(O!=null&&tA!=null&&g!=null),Aa[0]=null,Aa[1]=ma,Aa[2]=Ns,Aa[3]=Vn,H.ca=tA,H.tb=cA,H.c=g.width,H.i=g.height,A(0<H.c&&0<H.i),1>=K)g=0;else if(H.$a=O[D+0]>>0&3,H.Z=O[D+0]>>2&3,H.Lc=O[D+0]>>4&3,D=O[D+0]>>6&3,0>H.$a||1<H.$a||4<=H.Z||1<H.Lc||D)g=0;else if(HA.put=Er,HA.ac=Ut,HA.bc=jr,HA.ma=H,HA.width=g.width,HA.height=g.height,HA.Da=g.Da,HA.v=g.v,HA.va=g.va,HA.j=g.j,HA.o=g.o,H.$a)A:{A(H.$a==1),g=Ir();e:for(;;){if(g==null){g=0;break A}if(A(H!=null),H.mc=g,g.c=H.c,g.i=H.i,g.l=H.l,g.l.ma=H,g.l.width=H.c,g.l.height=H.i,g.a=0,AA(g.m,O,BA,lA),!Pr(H.c,H.i,1,g,null)||(g.ab==1&&g.gc[0].hc==3&&zr(g.s)?(H.ic=1,O=g.c*g.i,g.Ta=null,g.Ua=0,g.V=i(O),g.Ba=0,g.V==null?(g.a=1,g=0):g=1):(H.ic=0,g=dt(g,H.c)),!g))break e;g=1;break A}H.mc=null,g=0}else g=lA>=H.c*H.i;H=!g}if(H)return null;o.ga.Lc!=1?o.Ga=0:b=N-w}A(o.ga!=null),A(w+b<=N);A:{if(g=(O=o.ga).c,N=O.l.o,O.$a==0){if(BA=o.rc,lA=o.Vc,HA=o.Fa,D=o.P+1+w*g,K=o.mb,tA=o.nb+w*g,A(D<=o.P+o.qc),O.Z!=0)for(A(Aa[O.Z]!=null),H=0;H<b;++H)Aa[O.Z](BA,lA,HA,D,K,tA,g),BA=K,lA=tA,tA+=g,D+=g;else for(H=0;H<b;++H)t(K,tA,HA,D,g),BA=K,lA=tA,tA+=g,D+=g;o.rc=BA,o.Vc=lA}else{if(A(O.mc!=null),g=w+b,A((H=O.mc)!=null),A(g<=H.i),H.C>=g)g=1;else if(O.ic||gA(),O.ic){O=H.V,BA=H.Ba,lA=H.c;var xA=H.i,rA=(HA=1,D=H.$/lA,K=H.$%lA,tA=H.m,cA=H.s,H.$),aA=lA*xA,NA=lA*g,PA=cA.wc,TA=rA<NA?Re(cA,K,D):null;A(rA<=aA),A(g<=xA),A(zr(cA));e:for(;;){for(;!tA.h&&rA<NA;){if(K&PA||(TA=Re(cA,K,D)),A(TA!=null),sA(tA),256>(xA=er(TA.G[0],TA.H[0],tA)))O[BA+rA]=xA,++rA,++K>=lA&&(K=0,++D<=g&&!(D%16)&&Wr(H,D));else{if(!(280>xA)){HA=0;break e}xA=Gr(xA-256,tA);var ie,ee=er(TA.G[4],TA.H[4],tA);if(sA(tA),!(rA>=(ee=Se(lA,ee=Gr(ee,tA)))&&aA-rA>=xA)){HA=0;break e}for(ie=0;ie<xA;++ie)O[BA+rA+ie]=O[BA+rA+ie-ee];for(rA+=xA,K+=xA;K>=lA;)K-=lA,++D<=g&&!(D%16)&&Wr(H,D);rA<NA&&K&PA&&(TA=Re(cA,K,D))}A(tA.h==X(tA))}Wr(H,D>g?g:D);break e}!HA||tA.h&&rA<aA?(HA=0,H.a=tA.h?5:3):H.$=rA,g=HA}else g=on(H,H.V,H.Ba,H.c,H.i,g,di);if(!g){b=0;break A}}w+b>=N&&(o.Cc=1),b=1}if(!b)return null;if(o.Cc&&((b=o.ga)!=null&&(b.mc=null),o.ga=null,0<o.Ga))return alert("todo:WebPDequantizeLevels"),null}return o.nb+w*E}function B(o,g,w,b,E,N){for(;0<E--;){var H,O=o,D=g+(w?1:0),K=o,tA=g+(w?0:3);for(H=0;H<b;++H){var cA=K[tA+4*H];cA!=255&&(cA*=32897,O[D+4*H+0]=O[D+4*H+0]*cA>>23,O[D+4*H+1]=O[D+4*H+1]*cA>>23,O[D+4*H+2]=O[D+4*H+2]*cA>>23)}g+=N}}function I(o,g,w,b,E){for(;0<b--;){var N;for(N=0;N<w;++N){var H=o[g+2*N+0],O=15&(K=o[g+2*N+1]),D=4369*O,K=(240&K|K>>4)*D>>16;o[g+2*N+0]=(240&H|H>>4)*D>>16&240|(15&H|H<<4)*D>>16>>4&15,o[g+2*N+1]=240&K|O}g+=E}}function j(o,g,w,b,E,N,H,O){var D,K,tA=255;for(K=0;K<E;++K){for(D=0;D<b;++D){var cA=o[g+D];N[H+4*D]=cA,tA&=cA}g+=w,H+=O}return tA!=255}function eA(o,g,w,b,E){var N;for(N=0;N<E;++N)w[b+N]=o[g+N]>>8}function gA(){pn=B,wt=I,it=j,Kt=eA}function IA(o,g,w){z[o]=function(b,E,N,H,O,D,K,tA,cA,BA,lA,HA,xA,rA,aA,NA,PA){var TA,ie=PA-1>>1,ee=O[D+0]|K[tA+0]<<16,me=cA[BA+0]|lA[HA+0]<<16;A(b!=null);var te=3*ee+me+131074>>2;for(g(b[E+0],255&te,te>>16,xA,rA),N!=null&&(te=3*me+ee+131074>>2,g(N[H+0],255&te,te>>16,aA,NA)),TA=1;TA<=ie;++TA){var qA=O[D+TA]|K[tA+TA]<<16,at=cA[BA+TA]|lA[HA+TA]<<16,Ze=ee+qA+me+at+524296,Ve=Ze+2*(qA+me)>>3;te=Ve+ee>>1,ee=(Ze=Ze+2*(ee+at)>>3)+qA>>1,g(b[E+2*TA-1],255&te,te>>16,xA,rA+(2*TA-1)*w),g(b[E+2*TA-0],255&ee,ee>>16,xA,rA+(2*TA-0)*w),N!=null&&(te=Ze+me>>1,ee=Ve+at>>1,g(N[H+2*TA-1],255&te,te>>16,aA,NA+(2*TA-1)*w),g(N[H+2*TA+0],255&ee,ee>>16,aA,NA+(2*TA+0)*w)),ee=qA,me=at}1&PA||(te=3*ee+me+131074>>2,g(b[E+PA-1],255&te,te>>16,xA,rA+(PA-1)*w),N!=null&&(te=3*me+ee+131074>>2,g(N[H+PA-1],255&te,te>>16,aA,NA+(PA-1)*w)))}}function RA(){Jr[bi]=Co,Jr[Bo]=Kl,Jr[_l]=Pf,Jr[Ea]=ql,Jr[wo]=Vl,Jr[Uu]=jl,Jr[Dl]=_f,Jr[xu]=Kl,Jr[rs]=ql,Jr[mo]=Vl,Jr[Eu]=jl}function re(o){return o&~Df?0>o?0:255:o>>Gl}function Be(o,g){return re((19077*o>>8)+(26149*g>>8)-14234)}function Te(o,g,w){return re((19077*o>>8)-(6419*g>>8)-(13320*w>>8)+8708)}function Ee(o,g){return re((19077*o>>8)+(33050*g>>8)-17685)}function ke(o,g,w,b,E){b[E+0]=Be(o,w),b[E+1]=Te(o,g,w),b[E+2]=Ee(o,g)}function Qe(o,g,w,b,E){b[E+0]=Ee(o,g),b[E+1]=Te(o,g,w),b[E+2]=Be(o,w)}function Ht(o,g,w,b,E){var N=Te(o,g,w);g=N<<3&224|Ee(o,g)>>3,b[E+0]=248&Be(o,w)|N>>5,b[E+1]=g}function Ot(o,g,w,b,E){var N=240&Ee(o,g)|15;b[E+0]=240&Be(o,w)|Te(o,g,w)>>4,b[E+1]=N}function mr(o,g,w,b,E){b[E+0]=255,ke(o,g,w,b,E+1)}function Et(o,g,w,b,E){Qe(o,g,w,b,E),b[E+3]=255}function zt(o,g,w,b,E){ke(o,g,w,b,E),b[E+3]=255}function gn(o,g){return 0>o?0:o>g?g:o}function yr(o,g,w){z[o]=function(b,E,N,H,O,D,K,tA,cA){for(var BA=tA+(-2&cA)*w;tA!=BA;)g(b[E+0],N[H+0],O[D+0],K,tA),g(b[E+1],N[H+0],O[D+0],K,tA+w),E+=2,++H,++D,tA+=2*w;1&cA&&g(b[E+0],N[H+0],O[D+0],K,tA)}}function It(o,g,w){return w==0?o==0?g==0?6:5:g==0?4:0:w}function As(o,g,w,b,E){switch(o>>>30){case 3:xn(g,w,b,E,0);break;case 2:Pt(g,w,b,E);break;case 1:Kr(g,w,b,E)}}function kt(o,g){var w,b,E=g.M,N=g.Nb,H=o.oc,O=o.pc+40,D=o.oc,K=o.pc+584,tA=o.oc,cA=o.pc+600;for(w=0;16>w;++w)H[O+32*w-1]=129;for(w=0;8>w;++w)D[K+32*w-1]=129,tA[cA+32*w-1]=129;for(0<E?H[O-1-32]=D[K-1-32]=tA[cA-1-32]=129:(n(H,O-32-1,127,21),n(D,K-32-1,127,9),n(tA,cA-32-1,127,9)),b=0;b<o.za;++b){var BA=g.ya[g.aa+b];if(0<b){for(w=-1;16>w;++w)t(H,O+32*w-4,H,O+32*w+12,4);for(w=-1;8>w;++w)t(D,K+32*w-4,D,K+32*w+4,4),t(tA,cA+32*w-4,tA,cA+32*w+4,4)}var lA=o.Gd,HA=o.Hd+b,xA=BA.ad,rA=BA.Hc;if(0<E&&(t(H,O-32,lA[HA].y,0,16),t(D,K-32,lA[HA].f,0,8),t(tA,cA-32,lA[HA].ea,0,8)),BA.Za){var aA=H,NA=O-32+16;for(0<E&&(b>=o.za-1?n(aA,NA,lA[HA].y[15],4):t(aA,NA,lA[HA+1].y,0,4)),w=0;4>w;w++)aA[NA+128+w]=aA[NA+256+w]=aA[NA+384+w]=aA[NA+0+w];for(w=0;16>w;++w,rA<<=2)aA=H,NA=O+Nu[w],Xn[BA.Ob[w]](aA,NA),As(rA,xA,16*+w,aA,NA)}else if(aA=It(b,E,BA.Ob[0]),Wn[aA](H,O),rA!=0)for(w=0;16>w;++w,rA<<=2)As(rA,xA,16*+w,H,O+Nu[w]);for(w=BA.Gc,aA=It(b,E,BA.Dd),Fi[aA](D,K),Fi[aA](tA,cA),rA=xA,aA=D,NA=K,255&(BA=w>>0)&&(170&BA?Os(rA,256,aA,NA):_t(rA,256,aA,NA)),BA=tA,rA=cA,255&(w>>=8)&&(170&w?Os(xA,320,BA,rA):_t(xA,320,BA,rA)),E<o.Ub-1&&(t(lA[HA].y,0,H,O+480,16),t(lA[HA].f,0,D,K+224,8),t(lA[HA].ea,0,tA,cA+224,8)),w=8*N*o.B,lA=o.sa,HA=o.ta+16*b+16*N*o.R,xA=o.qa,BA=o.ra+8*b+w,rA=o.Ha,aA=o.Ia+8*b+w,w=0;16>w;++w)t(lA,HA+w*o.R,H,O+32*w,16);for(w=0;8>w;++w)t(xA,BA+w*o.B,D,K+32*w,8),t(rA,aA+w*o.B,tA,cA+32*w,8)}}function Yi(o,g,w,b,E,N,H,O,D){var K=[0],tA=[0],cA=0,BA=D!=null?D.kd:0,lA=D??new Ss;if(o==null||12>w)return 7;lA.data=o,lA.w=g,lA.ha=w,g=[g],w=[w],lA.gb=[lA.gb];A:{var HA=g,xA=w,rA=lA.gb;if(A(o!=null),A(xA!=null),A(rA!=null),rA[0]=0,12<=xA[0]&&!e(o,HA[0],"RIFF")){if(e(o,HA[0]+8,"WEBP")){rA=3;break A}var aA=$A(o,HA[0]+4);if(12>aA||4294967286<aA){rA=3;break A}if(BA&&aA>xA[0]-8){rA=7;break A}rA[0]=aA,HA[0]+=12,xA[0]-=12}rA=0}if(rA!=0)return rA;for(aA=0<lA.gb[0],w=w[0];;){A:{var NA=o;xA=g,rA=w;var PA=K,TA=tA,ie=HA=[0];if((te=cA=[cA])[0]=0,8>rA[0])rA=7;else{if(!e(NA,xA[0],"VP8X")){if($A(NA,xA[0]+4)!=10){rA=3;break A}if(18>rA[0]){rA=7;break A}var ee=$A(NA,xA[0]+8),me=1+Ae(NA,xA[0]+12);if(2147483648<=me*(NA=1+Ae(NA,xA[0]+15))){rA=3;break A}ie!=null&&(ie[0]=ee),PA!=null&&(PA[0]=me),TA!=null&&(TA[0]=NA),xA[0]+=18,rA[0]-=18,te[0]=1}rA=0}}if(cA=cA[0],HA=HA[0],rA!=0)return rA;if(xA=!!(2&HA),!aA&&cA)return 3;if(N!=null&&(N[0]=!!(16&HA)),H!=null&&(H[0]=xA),O!=null&&(O[0]=0),H=K[0],HA=tA[0],cA&&xA&&D==null){rA=0;break}if(4>w){rA=7;break}if(aA&&cA||!aA&&!cA&&!e(o,g[0],"ALPH")){w=[w],lA.na=[lA.na],lA.P=[lA.P],lA.Sa=[lA.Sa];A:{ee=o,rA=g,aA=w;var te=lA.gb;PA=lA.na,TA=lA.P,ie=lA.Sa,me=22,A(ee!=null),A(aA!=null),NA=rA[0];var qA=aA[0];for(A(PA!=null),A(ie!=null),PA[0]=null,TA[0]=null,ie[0]=0;;){if(rA[0]=NA,aA[0]=qA,8>qA){rA=7;break A}var at=$A(ee,NA+4);if(4294967286<at){rA=3;break A}var Ze=8+at+1&-2;if(me+=Ze,0<te&&me>te){rA=3;break A}if(!e(ee,NA,"VP8 ")||!e(ee,NA,"VP8L")){rA=0;break A}if(qA[0]<Ze){rA=7;break A}e(ee,NA,"ALPH")||(PA[0]=ee,TA[0]=NA+8,ie[0]=at),NA+=Ze,qA-=Ze}}if(w=w[0],lA.na=lA.na[0],lA.P=lA.P[0],lA.Sa=lA.Sa[0],rA!=0)break}w=[w],lA.Ja=[lA.Ja],lA.xa=[lA.xa];A:if(te=o,rA=g,aA=w,PA=lA.gb[0],TA=lA.Ja,ie=lA.xa,ee=rA[0],NA=!e(te,ee,"VP8 "),me=!e(te,ee,"VP8L"),A(te!=null),A(aA!=null),A(TA!=null),A(ie!=null),8>aA[0])rA=7;else{if(NA||me){if(te=$A(te,ee+4),12<=PA&&te>PA-12){rA=3;break A}if(BA&&te>aA[0]-8){rA=7;break A}TA[0]=te,rA[0]+=8,aA[0]-=8,ie[0]=me}else ie[0]=5<=aA[0]&&te[ee+0]==47&&!(te[ee+4]>>5),TA[0]=aA[0];rA=0}if(w=w[0],lA.Ja=lA.Ja[0],lA.xa=lA.xa[0],g=g[0],rA!=0)break;if(4294967286<lA.Ja)return 3;if(O==null||xA||(O[0]=lA.xa?2:1),H=[H],HA=[HA],lA.xa){if(5>w){rA=7;break}O=H,BA=HA,xA=N,o==null||5>w?o=0:5<=w&&o[g+0]==47&&!(o[g+4]>>5)?(aA=[0],te=[0],PA=[0],AA(TA=new L,o,g,w),we(TA,aA,te,PA)?(O!=null&&(O[0]=aA[0]),BA!=null&&(BA[0]=te[0]),xA!=null&&(xA[0]=PA[0]),o=1):o=0):o=0}else{if(10>w){rA=7;break}O=HA,o==null||10>w||!yn(o,g+3,w-3)?o=0:(BA=o[g+0]|o[g+1]<<8|o[g+2]<<16,xA=16383&(o[g+7]<<8|o[g+6]),o=16383&(o[g+9]<<8|o[g+8]),1&BA||3<(BA>>1&7)||!(BA>>4&1)||BA>>5>=lA.Ja||!xA||!o?o=0:(H&&(H[0]=xA),O&&(O[0]=o),o=1))}if(!o||(H=H[0],HA=HA[0],cA&&(K[0]!=H||tA[0]!=HA)))return 3;D!=null&&(D[0]=lA,D.offset=g-D.w,A(4294967286>g-D.w),A(D.offset==D.ha-w));break}return rA==0||rA==7&&cA&&D==null?(N!=null&&(N[0]|=lA.na!=null&&0<lA.na.length),b!=null&&(b[0]=H),E!=null&&(E[0]=HA),0):rA}function Qn(o,g,w){var b=g.width,E=g.height,N=0,H=0,O=b,D=E;if(g.Da=o!=null&&0<o.Da,g.Da&&(O=o.cd,D=o.bd,N=o.v,H=o.j,11>w||(N&=-2,H&=-2),0>N||0>H||0>=O||0>=D||N+O>b||H+D>E))return 0;if(g.v=N,g.j=H,g.va=N+O,g.o=H+D,g.U=O,g.T=D,g.da=o!=null&&0<o.da,g.da){if(!Ce(O,D,w=[o.ib],N=[o.hb]))return 0;g.ib=w[0],g.hb=N[0]}return g.ob=o!=null&&o.ob,g.Kb=o==null||!o.Sd,g.da&&(g.ob=g.ib<3*b/4&&g.hb<3*E/4,g.Kb=0),1}function vi(o){if(o==null)return 2;if(11>o.S){var g=o.f.RGBA;g.fb+=(o.height-1)*g.A,g.A=-g.A}else g=o.f.kb,o=o.height,g.O+=(o-1)*g.fa,g.fa=-g.fa,g.N+=(o-1>>1)*g.Ab,g.Ab=-g.Ab,g.W+=(o-1>>1)*g.Db,g.Db=-g.Db,g.F!=null&&(g.J+=(o-1)*g.lb,g.lb=-g.lb);return 0}function tt(o,g,w,b){if(b==null||0>=o||0>=g)return 2;if(w!=null){if(w.Da){var E=w.cd,N=w.bd,H=-2&w.v,O=-2&w.j;if(0>H||0>O||0>=E||0>=N||H+E>o||O+N>g)return 2;o=E,g=N}if(w.da){if(!Ce(o,g,E=[w.ib],N=[w.hb]))return 2;o=E[0],g=N[0]}}b.width=o,b.height=g;A:{var D=b.width,K=b.height;if(o=b.S,0>=D||0>=K||!(o>=bi&&13>o))o=2;else{if(0>=b.Rd&&b.sd==null){H=N=E=g=0;var tA=(O=D*ns[o])*K;if(11>o||(N=(K+1)/2*(g=(D+1)/2),o==12&&(H=(E=D)*K)),(K=i(tA+2*N+H))==null){o=1;break A}b.sd=K,11>o?((D=b.f.RGBA).eb=K,D.fb=0,D.A=O,D.size=tA):((D=b.f.kb).y=K,D.O=0,D.fa=O,D.Fd=tA,D.f=K,D.N=0+tA,D.Ab=g,D.Cd=N,D.ea=K,D.W=0+tA+N,D.Db=g,D.Ed=N,o==12&&(D.F=K,D.J=0+tA+2*N),D.Tc=H,D.lb=E)}if(g=1,E=b.S,N=b.width,H=b.height,E>=bi&&13>E)if(11>E)o=b.f.RGBA,g&=(O=Math.abs(o.A))*(H-1)+N<=o.size,g&=O>=N*ns[E],g&=o.eb!=null;else{o=b.f.kb,O=(N+1)/2,tA=(H+1)/2,D=Math.abs(o.fa),K=Math.abs(o.Ab);var cA=Math.abs(o.Db),BA=Math.abs(o.lb),lA=BA*(H-1)+N;g&=D*(H-1)+N<=o.Fd,g&=K*(tA-1)+O<=o.Cd,g=(g&=cA*(tA-1)+O<=o.Ed)&D>=N&K>=O&cA>=O,g&=o.y!=null,g&=o.f!=null,g&=o.ea!=null,E==12&&(g&=BA>=N,g&=lA<=o.Tc,g&=o.F!=null)}else g=0;o=g?0:2}}return o!=0||w!=null&&w.fd&&(o=vi(b)),o}var hr=64,ya=[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],Ca=24,ba=32,Ji=8,Mr=[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];zA("Predictor0","PredictorAdd0"),z.Predictor0=function(){return 4278190080},z.Predictor1=function(o){return o},z.Predictor2=function(o,g,w){return g[w+0]},z.Predictor3=function(o,g,w){return g[w+1]},z.Predictor4=function(o,g,w){return g[w-1]},z.Predictor5=function(o,g,w){return WA(WA(o,g[w+1]),g[w+0])},z.Predictor6=function(o,g,w){return WA(o,g[w-1])},z.Predictor7=function(o,g,w){return WA(o,g[w+0])},z.Predictor8=function(o,g,w){return WA(g[w-1],g[w+0])},z.Predictor9=function(o,g,w){return WA(g[w+0],g[w+1])},z.Predictor10=function(o,g,w){return WA(WA(o,g[w-1]),WA(g[w+0],g[w+1]))},z.Predictor11=function(o,g,w){var b=g[w+0];return 0>=Ie(b>>24&255,o>>24&255,(g=g[w-1])>>24&255)+Ie(b>>16&255,o>>16&255,g>>16&255)+Ie(b>>8&255,o>>8&255,g>>8&255)+Ie(255&b,255&o,255&g)?b:o},z.Predictor12=function(o,g,w){var b=g[w+0];return(oe((o>>24&255)+(b>>24&255)-((g=g[w-1])>>24&255))<<24|oe((o>>16&255)+(b>>16&255)-(g>>16&255))<<16|oe((o>>8&255)+(b>>8&255)-(g>>8&255))<<8|oe((255&o)+(255&b)-(255&g)))>>>0},z.Predictor13=function(o,g,w){var b=g[w-1];return(he((o=WA(o,g[w+0]))>>24&255,b>>24&255)<<24|he(o>>16&255,b>>16&255)<<16|he(o>>8&255,b>>8&255)<<8|he(o>>0&255,b>>0&255))>>>0};var fo=z.PredictorAdd0;z.PredictorAdd1=LA,zA("Predictor2","PredictorAdd2"),zA("Predictor3","PredictorAdd3"),zA("Predictor4","PredictorAdd4"),zA("Predictor5","PredictorAdd5"),zA("Predictor6","PredictorAdd6"),zA("Predictor7","PredictorAdd7"),zA("Predictor8","PredictorAdd8"),zA("Predictor9","PredictorAdd9"),zA("Predictor10","PredictorAdd10"),zA("Predictor11","PredictorAdd11"),zA("Predictor12","PredictorAdd12"),zA("Predictor13","PredictorAdd13");var Lr=z.PredictorAdd2;ue("ColorIndexInverseTransform","MapARGB","32b",function(o){return o>>8&255},function(o){return o}),ue("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(o){return o},function(o){return o>>8&255});var jn,rr=z.ColorIndexInverseTransform,St=z.MapARGB,Gn=z.VP8LColorIndexInverseTransformAlpha,Hs=z.MapAlpha,Bi=z.VP8LPredictorsAdd=[];Bi.length=16,(z.VP8LPredictors=[]).length=16,(z.VP8LPredictorsAdd_C=[]).length=16,(z.VP8LPredictors_C=[]).length=16;var wi,Rr,kr,Un,Cr,mi,es,xn,Pt,Os,Kr,_t,Fa,go,Ps,ai,Qa,yi,Zi,Ua,$i,Ci,ts,dn,pn,wt,it,Kt,nr=i(511),zn=i(2041),_s=i(225),xa=i(767),po=0,Qu=zn,vo=_s,vn=xa,En=nr,bi=0,Bo=1,_l=2,Ea=3,wo=4,Uu=5,Dl=6,xu=7,rs=8,mo=9,Eu=10,Ff=[2,3,7],Qf=[3,3,11],Ds=[280,256,256,256,40],Uf=[0,1,1,1,0],xf=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Ef=[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],If=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],yo=8,Iu=[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],Su=[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],Ms=null,Sf=[[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]],Lf=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Ml=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Nf=[[[[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]]]],Tf=[[[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]]],Hf=[[[[255,255,255,255,255,255,255,255,255,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]]]],Of=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Wn=[],Xn=[],Fi=[],Rl=1,kl=2,Aa=[],Jr=[];IA("UpsampleRgbLinePair",ke,3),IA("UpsampleBgrLinePair",Qe,3),IA("UpsampleRgbaLinePair",zt,4),IA("UpsampleBgraLinePair",Et,4),IA("UpsampleArgbLinePair",mr,4),IA("UpsampleRgba4444LinePair",Ot,2),IA("UpsampleRgb565LinePair",Ht,2);var Co=z.UpsampleRgbLinePair,Pf=z.UpsampleBgrLinePair,Kl=z.UpsampleRgbaLinePair,ql=z.UpsampleBgraLinePair,Vl=z.UpsampleArgbLinePair,jl=z.UpsampleRgba4444LinePair,_f=z.UpsampleRgb565LinePair,Ia=16,bo=1<<Ia-1,Rs=-227,Lu=482,Gl=6,Df=(256<<Gl)-1,zl=0,Mf=i(256),Rf=i(256),kf=i(256),Kf=i(256),qf=i(Lu-Rs),Vf=i(Lu-Rs);yr("YuvToRgbRow",ke,3),yr("YuvToBgrRow",Qe,3),yr("YuvToRgbaRow",zt,4),yr("YuvToBgraRow",Et,4),yr("YuvToArgbRow",mr,4),yr("YuvToRgba4444Row",Ot,2),yr("YuvToRgb565Row",Ht,2);var Nu=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Fo=[0,2,8],jf=[8,7,6,4,4,2,2,2,1,1,1,1],Gf=1;this.WebPDecodeRGBA=function(o,g,w,b,E){var N=Bo,H=new Za,O=new Ar;H.ba=O,O.S=N,O.width=[O.width],O.height=[O.height];var D=O.width,K=O.height,tA=new ut;if(tA==null||o==null)var cA=2;else A(tA!=null),cA=Yi(o,g,w,tA.width,tA.height,tA.Pd,tA.Qd,tA.format,null);if(cA!=0?D=0:(D!=null&&(D[0]=tA.width[0]),K!=null&&(K[0]=tA.height[0]),D=1),D){O.width=O.width[0],O.height=O.height[0],b!=null&&(b[0]=O.width),E!=null&&(E[0]=O.height);A:{if(b=new ei,(E=new Ss).data=o,E.w=g,E.ha=w,E.kd=1,g=[0],A(E!=null),((o=Yi(E.data,E.w,E.ha,null,null,null,g,null,E))==0||o==7)&&g[0]&&(o=4),(g=o)==0){if(A(H!=null),b.data=E.data,b.w=E.w+E.offset,b.ha=E.ha-E.offset,b.put=Er,b.ac=Ut,b.bc=jr,b.ma=H,E.xa){if((o=Ir())==null){H=1;break A}if(function(BA,lA){var HA=[0],xA=[0],rA=[0];e:for(;;){if(BA==null)return 0;if(lA==null)return BA.a=2,0;if(BA.l=lA,BA.a=0,AA(BA.m,lA.data,lA.w,lA.ha),!we(BA.m,HA,xA,rA)){BA.a=3;break e}if(BA.xb=kl,lA.width=HA[0],lA.height=xA[0],!Pr(HA[0],xA[0],1,BA,null))break e;return 1}return A(BA.a!=0),0}(o,b)){if(b=(g=tt(b.width,b.height,H.Oa,H.ba))==0){e:{b=o;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((w=b.l)!=null),A((E=w.ma)!=null),b.xb!=0){if(b.ca=E.ba,b.tb=E.tb,A(b.ca!=null),!Qn(E.Oa,w,Ea)){b.a=2;break t}if(!dt(b,w.width)||w.da)break t;if((w.da||Me(b.ca.S))&&gA(),11>b.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),b.ca.f.kb.F!=null&&gA()),b.Pb&&0<b.s.ua&&b.s.vb.X==null&&!pe(b.s.vb,b.s.Wa.Xa)){b.a=1;break t}b.xb=0}if(!on(b,b.V,b.Ba,b.c,b.i,w.o,Dn))break t;E.Dc=b.Ma,b=1;break e}A(b.a!=0),b=0}b=!b}b&&(g=o.a)}else g=o.a}else{if((o=new ti)==null){H=1;break A}if(o.Fa=E.na,o.P=E.P,o.qc=E.Sa,ri(o,b)){if((g=tt(b.width,b.height,H.Oa,H.ba))==0){if(o.Aa=0,w=H.Oa,A((E=o)!=null),w!=null){if(0<(D=0>(D=w.Md)?0:100<D?255:255*D/100)){for(K=tA=0;4>K;++K)12>(cA=E.pb[K]).lc&&(cA.ia=D*jf[0>cA.lc?0:cA.lc]>>3),tA|=cA.ia;tA&&(alert("todo:VP8InitRandom"),E.ia=1)}E.Ga=w.Id,100<E.Ga?E.Ga=100:0>E.Ga&&(E.Ga=0)}jt(o,b)||(g=o.a)}}else g=o.a}g==0&&H.Oa!=null&&H.Oa.fd&&(g=vi(H.ba))}H=g}N=H!=0?null:11>N?O.f.RGBA.eb:O.f.kb.y}else N=null;return N};var ns=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function d(z,hA){for(var CA="",_=0;_<4;_++)CA+=String.fromCharCode(z[hA++]);return CA}function v(z,hA){return(z[hA+0]<<0|z[hA+1]<<8|z[hA+2]<<16)>>>0}function m(z,hA){return(z[hA+0]<<0|z[hA+1]<<8|z[hA+2]<<16|z[hA+3]<<24)>>>0}new c;var C=[0],p=[0],x=[],Q=new c,S=r,U=function(z,hA){var CA={},_=0,M=!1,$=0,G=0;if(CA.frames=[],!function(V,X,Z,sA){for(var mA=0;mA<sA;mA++)if(V[X+mA]!=Z.charCodeAt(mA))return!0;return!1}(z,hA,"RIFF",4)){var yA,fA;for(m(z,hA+=4),hA+=8;hA<z.length;){var UA=d(z,hA),AA=m(z,hA+=4);hA+=4;var vA=AA+(1&AA);switch(UA){case"VP8 ":case"VP8L":CA.frames[_]===void 0&&(CA.frames[_]={}),(L=CA.frames[_]).src_off=M?G:hA-8,L.src_size=$+AA+8,_++,M&&(M=!1,$=0,G=0);break;case"VP8X":(L=CA.header={}).feature_flags=z[hA];var QA=hA+4;L.canvas_width=1+v(z,QA),QA+=3,L.canvas_height=1+v(z,QA),QA+=3;break;case"ALPH":M=!0,$=vA+8,G=hA-8;break;case"ANIM":(L=CA.header).bgcolor=m(z,hA),QA=hA+4,L.loop_count=(yA=z)[(fA=QA)+0]<<0|yA[fA+1]<<8,QA+=2;break;case"ANMF":var jA,L;(L=CA.frames[_]={}).offset_x=2*v(z,hA),hA+=3,L.offset_y=2*v(z,hA),hA+=3,L.width=1+v(z,hA),hA+=3,L.height=1+v(z,hA),hA+=3,L.duration=v(z,hA),hA+=3,jA=z[hA++],L.dispose=1&jA,L.blend=jA>>1&1}UA!="ANMF"&&(hA+=vA)}return CA}}(S,0);U.response=S,U.rgbaoutput=!0,U.dataurl=!1;var P=U.header?U.header:null,q=U.frames?U.frames:null;if(P){P.loop_counter=P.loop_count,C=[P.canvas_height],p=[P.canvas_width];for(var Y=0;Y<q.length&&q[Y].blend!=0;Y++);}var uA=q[0],wA=Q.WebPDecodeRGBA(S,uA.src_off,uA.src_size,p,C);uA.rgba=wA,uA.imgwidth=p[0],uA.imgheight=C[0];for(var J=0;J<p[0]*C[0]*4;J++)x[J]=wA[J];return this.width=p,this.height=C,this.data=x,this}(function(r){var A=function(){return typeof bc=="function"},e=function(C,p,x,Q){var S=4,U=a;switch(Q){case r.image_compression.FAST:S=1,U=i;break;case r.image_compression.MEDIUM:S=6,U=s;break;case r.image_compression.SLOW:S=9,U=c}C=t(C,p,x,U);var P=bc(C,{level:S});return r.__addimage__.arrayBufferToBinaryString(P)},t=function(C,p,x,Q){for(var S,U,P,q=C.length/p,Y=new Uint8Array(C.length+q),uA=v(),wA=0;wA<q;wA+=1){if(P=wA*p,S=C.subarray(P,P+p),Q)Y.set(Q(S,x,U),P+wA);else{for(var J,z=uA.length,hA=[];J<z;J+=1)hA[J]=uA[J](S,x,U);var CA=m(hA.concat());Y.set(hA[CA],P+wA)}U=S}return Y},n=function(C){var p=Array.apply([],C);return p.unshift(0),p},i=function(C,p){var x,Q=[],S=C.length;Q[0]=1;for(var U=0;U<S;U+=1)x=C[U-p]||0,Q[U+1]=C[U]-x+256&255;return Q},a=function(C,p,x){var Q,S=[],U=C.length;S[0]=2;for(var P=0;P<U;P+=1)Q=x&&x[P]||0,S[P+1]=C[P]-Q+256&255;return S},s=function(C,p,x){var Q,S,U=[],P=C.length;U[0]=3;for(var q=0;q<P;q+=1)Q=C[q-p]||0,S=x&&x[q]||0,U[q+1]=C[q]+256-(Q+S>>>1)&255;return U},c=function(C,p,x){var Q,S,U,P,q=[],Y=C.length;q[0]=4;for(var uA=0;uA<Y;uA+=1)Q=C[uA-p]||0,S=x&&x[uA]||0,U=x&&x[uA-p]||0,P=d(Q,S,U),q[uA+1]=C[uA]-P+256&255;return q},d=function(C,p,x){if(C===p&&p===x)return C;var Q=Math.abs(p-x),S=Math.abs(C-x),U=Math.abs(C+p-x-x);return Q<=S&&Q<=U?C:S<=U?p:x},v=function(){return[n,i,a,s,c]},m=function(C){var p=C.map(function(x){return x.reduce(function(Q,S){return Q+Math.abs(S)},0)});return p.indexOf(Math.min.apply(null,p))};r.processPNG=function(C,p,x,Q){var S,U,P,q,Y,uA,wA,J,z,hA,CA,_,M,$,G,yA=this.decode.FLATE_DECODE,fA="";if(this.__addimage__.isArrayBuffer(C)&&(C=new Uint8Array(C)),this.__addimage__.isArrayBufferView(C)){if(C=(P=new g6(C)).imgData,U=P.bits,S=P.colorSpace,Y=P.colors,[4,6].indexOf(P.colorType)!==-1){if(P.bits===8){z=(J=P.pixelBitlength==32?new Uint32Array(P.decodePixels().buffer):P.pixelBitlength==16?new Uint16Array(P.decodePixels().buffer):new Uint8Array(P.decodePixels().buffer)).length,CA=new Uint8Array(z*P.colors),hA=new Uint8Array(z);var UA,AA=P.pixelBitlength-P.bits;for($=0,G=0;$<z;$++){for(M=J[$],UA=0;UA<AA;)CA[G++]=M>>>UA&255,UA+=P.bits;hA[$]=M>>>UA&255}}if(P.bits===16){z=(J=new Uint32Array(P.decodePixels().buffer)).length,CA=new Uint8Array(z*(32/P.pixelBitlength)*P.colors),hA=new Uint8Array(z*(32/P.pixelBitlength)),_=P.colors>1,$=0,G=0;for(var vA=0;$<z;)M=J[$++],CA[G++]=M>>>0&255,_&&(CA[G++]=M>>>16&255,M=J[$++],CA[G++]=M>>>0&255),hA[vA++]=M>>>16&255;U=8}Q!==r.image_compression.NONE&&A()?(C=e(CA,P.width*P.colors,P.colors,Q),wA=e(hA,P.width,1,Q)):(C=CA,wA=hA,yA=void 0)}if(P.colorType===3&&(S=this.color_spaces.INDEXED,uA=P.palette,P.transparency.indexed)){var QA=P.transparency.indexed,jA=0;for($=0,z=QA.length;$<z;++$)jA+=QA[$];if((jA/=255)===z-1&&QA.indexOf(0)!==-1)q=[QA.indexOf(0)];else if(jA!==z){for(J=P.decodePixels(),hA=new Uint8Array(J.length),$=0,z=J.length;$<z;$++)hA[$]=QA[J[$]];wA=e(hA,P.width,1)}}var L=function(V){var X;switch(V){case r.image_compression.FAST:X=11;break;case r.image_compression.MEDIUM:X=13;break;case r.image_compression.SLOW:X=14;break;default:X=12}return X}(Q);return yA===this.decode.FLATE_DECODE&&(fA="/Predictor "+L+" "),fA+="/Colors "+Y+" /BitsPerComponent "+U+" /Columns "+P.width,(this.__addimage__.isArrayBuffer(C)||this.__addimage__.isArrayBufferView(C))&&(C=this.__addimage__.arrayBufferToBinaryString(C)),(wA&&this.__addimage__.isArrayBuffer(wA)||this.__addimage__.isArrayBufferView(wA))&&(wA=this.__addimage__.arrayBufferToBinaryString(wA)),{alias:x,data:C,index:p,filter:yA,decodeParameters:fA,transparency:q,palette:uA,sMask:wA,predictor:L,width:P.width,height:P.height,bitsPerComponent:U,colorSpace:S}}}})(Ue.API),function(r){r.processGIF89A=function(A,e,t,n){var i=new d6(A),a=i.width,s=i.height,c=[];i.decodeAndBlitFrameRGBA(0,c);var d={data:c,width:a,height:s},v=new $p(100).encode(d,100);return r.processJPEG.call(this,v,e,t,n)},r.processGIF87A=r.processGIF89A}(Ue.API),_i.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 r=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(r);for(var A=0;A<r;A++){var e=this.datav.getUint8(this.pos++,!0),t=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:t,blue:e,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},_i.prototype.parseBGR=function(){this.pos=this.offset;try{var r="bit"+this.bitPP,A=this.width*this.height*4;this.data=new Uint8Array(A),this[r]()}catch(e){Ct.log("bit decode error:"+e)}},_i.prototype.bit1=function(){var r,A=Math.ceil(this.width/8),e=A%4;for(r=this.height-1;r>=0;r--){for(var t=this.bottom_up?r:this.height-1-r,n=0;n<A;n++)for(var i=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+8*n*4,s=0;s<8&&8*n+s<this.width;s++){var c=this.palette[i>>7-s&1];this.data[a+4*s]=c.blue,this.data[a+4*s+1]=c.green,this.data[a+4*s+2]=c.red,this.data[a+4*s+3]=255}e!==0&&(this.pos+=4-e)}},_i.prototype.bit4=function(){for(var r=Math.ceil(this.width/2),A=r%4,e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<r;n++){var i=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+2*n*4,s=i>>4,c=15&i,d=this.palette[s];if(this.data[a]=d.blue,this.data[a+1]=d.green,this.data[a+2]=d.red,this.data[a+3]=255,2*n+1>=this.width)break;d=this.palette[c],this.data[a+4]=d.blue,this.data[a+4+1]=d.green,this.data[a+4+2]=d.red,this.data[a+4+3]=255}A!==0&&(this.pos+=4-A)}},_i.prototype.bit8=function(){for(var r=this.width%4,A=this.height-1;A>=0;A--){for(var e=this.bottom_up?A:this.height-1-A,t=0;t<this.width;t++){var n=this.datav.getUint8(this.pos++,!0),i=e*this.width*4+4*t;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}r!==0&&(this.pos+=4-r)}},_i.prototype.bit15=function(){for(var r=this.width%3,A=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var t=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,c=(i>>10&A)/A*255|0,d=i>>15?255:0,v=t*this.width*4+4*n;this.data[v]=c,this.data[v+1]=s,this.data[v+2]=a,this.data[v+3]=d}this.pos+=r}},_i.prototype.bit16=function(){for(var r=this.width%3,A=parseInt("11111",2),e=parseInt("111111",2),t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&A)/A*255|0,c=(a>>5&e)/e*255|0,d=(a>>11)/A*255|0,v=n*this.width*4+4*i;this.data[v]=d,this.data[v+1]=c,this.data[v+2]=s,this.data[v+3]=255}this.pos+=r}},_i.prototype.bit24=function(){for(var r=this.height-1;r>=0;r--){for(var A=this.bottom_up?r:this.height-1-r,e=0;e<this.width;e++){var t=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]=t,this.data[a+3]=255}this.pos+=this.width%4}},_i.prototype.bit32=function(){for(var r=this.height-1;r>=0;r--)for(var A=this.bottom_up?r:this.height-1-r,e=0;e<this.width;e++){var t=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]=t,this.data[s+3]=a}},_i.prototype.getData=function(){return this.data},function(r){r.processBMP=function(A,e,t,n){var i=new _i(A,!1),a=i.width,s=i.height,c={data:i.getData(),width:a,height:s},d=new $p(100).encode(c,100);return r.processJPEG.call(this,d,e,t,n)}}(Ue.API),$y.prototype.getData=function(){return this.data},function(r){r.processWEBP=function(A,e,t,n){var i=new $y(A,!1),a=i.width,s=i.height,c={data:i.getData(),width:a,height:s},d=new $p(100).encode(c,100);return r.processJPEG.call(this,d,e,t,n)}}(Ue.API),Ue.API.processRGBA=function(r,A,e){for(var t=r.data,n=t.length,i=new Uint8Array(n/4*3),a=new Uint8Array(n/4),s=0,c=0,d=0;d<n;d+=4){var v=t[d],m=t[d+1],C=t[d+2],p=t[d+3];i[s++]=v,i[s++]=m,i[s++]=C,a[c++]=p}var x=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:x,index:A,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:r.width,height:r.height}},Ue.API.setLanguage=function(r){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"}[r]!==void 0&&(this.internal.languageSettings.languageCode=r,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},du=Ue.API,df=du.getCharWidthsArray=function(r,A){var e,t,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,c=s.fof?s.fof:1,d=A.kerning?A.kerning:n.metadata.Unicode.kerning,v=d.fof?d.fof:1,m=A.doKerning!==!1,C=0,p=r.length,x=0,Q=s[0]||c,S=[];for(e=0;e<p;e++)t=r.charCodeAt(e),typeof n.metadata.widthOfString=="function"?S.push((n.metadata.widthOfGlyph(n.metadata.characterToGlyph(t))+a*(1e3/i)||0)/1e3):(C=m&&$e(d[t])==="object"&&!isNaN(parseInt(d[t][x],10))?d[t][x]/v:0,S.push((s[t]||Q)/c+C)),x=t;return S},Xy=du.getStringUnitWidth=function(r,A){var e=(A=A||{}).fontSize||this.internal.getFontSize(),t=A.font||this.internal.getFont(),n=A.charSpace||this.internal.getCharSpace();return du.processArabic&&(r=du.processArabic(r)),typeof t.metadata.widthOfString=="function"?t.metadata.widthOfString(r,e,n)/e:df.apply(this,arguments).reduce(function(i,a){return i+a},0)},Yy=function(r,A,e,t){for(var n=[],i=0,a=r.length,s=0;i!==a&&s+A[i]<e;)s+=A[i],i++;n.push(r.slice(0,i));var c=i;for(s=0;i!==a;)s+A[i]>t&&(n.push(r.slice(c,i)),s=0,c=i),s+=A[i],i++;return c!==i&&n.push(r.slice(c,i)),n},Jy=function(r,A,e){e||(e={});var t,n,i,a,s,c,d,v=[],m=[v],C=e.textIndent||0,p=0,x=0,Q=r.split(" "),S=df.apply(this,[" ",e])[0];if(c=e.lineIndent===-1?Q[0].length+2:e.lineIndent||0){var U=Array(c).join(" "),P=[];Q.map(function(Y){(Y=Y.split(/\s*\n/)).length>1?P=P.concat(Y.map(function(uA,wA){return(wA&&uA.length?`
|
|
539
|
+
`:"")+uA})):P.push(Y[0])}),Q=P,c=Xy.apply(this,[U,e])}for(i=0,a=Q.length;i<a;i++){var q=0;if(t=Q[i],c&&t[0]==`
|
|
540
|
+
`&&(t=t.substr(1),q=1),C+p+(x=(n=df.apply(this,[t,e])).reduce(function(Y,uA){return Y+uA},0))>A||q){if(x>A){for(s=Yy.apply(this,[t,n,A-(C+p),A]),v.push(s.shift()),v=[s.pop()];s.length;)m.push([s.shift()]);x=n.slice(t.length-(v[0]?v[0].length:0)).reduce(function(Y,uA){return Y+uA},0)}else v=[t];m.push(v),C=x+c,p=S}else v.push(t),C+=p+x,p=S}return d=c?function(Y,uA){return(uA?U:"")+Y.join(" ")}:function(Y){return Y.join(" ")},m.map(d)},du.splitTextToSize=function(r,A,e){var t,n=(e=e||{}).fontSize||this.internal.getFontSize(),i=function(v){if(v.widths&&v.kerning)return{widths:v.widths,kerning:v.kerning};var m=this.internal.getFont(v.fontName,v.fontStyle);return m.metadata.Unicode?{widths:m.metadata.Unicode.widths||{0:1},kerning:m.metadata.Unicode.kerning||{}}:{font:m.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,e);t=Array.isArray(r)?r:String(r).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,c,d=[];for(s=0,c=t.length;s<c;s++)d=d.concat(Jy.apply(this,[t[s],a,i]));return d},function(r){r.__fontmetrics__=r.__fontmetrics__||{};for(var A="klmnopqrstuvwxyz",e={},t={},n=0;n<A.length;n++)e[A[n]]="0123456789abcdef"[n],t["0123456789abcdef"[n]]=A[n];var i=function(m){return"0x"+parseInt(m,10).toString(16)},a=r.__fontmetrics__.compress=function(m){var C,p,x,Q,S=["{"];for(var U in m){if(C=m[U],isNaN(parseInt(U,10))?p="'"+U+"'":(U=parseInt(U,10),p=(p=i(U).slice(2)).slice(0,-1)+t[p.slice(-1)]),typeof C=="number")C<0?(x=i(C).slice(3),Q="-"):(x=i(C).slice(2),Q=""),x=Q+x.slice(0,-1)+t[x.slice(-1)];else{if($e(C)!=="object")throw new Error("Don't know what to do with value type "+$e(C)+".");x=a(C)}S.push(p+x)}return S.push("}"),S.join("")},s=r.__fontmetrics__.uncompress=function(m){if(typeof m!="string")throw new Error("Invalid argument passed to uncompress.");for(var C,p,x,Q,S={},U=1,P=S,q=[],Y="",uA="",wA=m.length-1,J=1;J<wA;J+=1)(Q=m[J])=="'"?C?(x=C.join(""),C=void 0):C=[]:C?C.push(Q):Q=="{"?(q.push([P,x]),P={},x=void 0):Q=="}"?((p=q.pop())[0][p[1]]=P,x=void 0,P=p[0]):Q=="-"?U=-1:x===void 0?e.hasOwnProperty(Q)?(Y+=e[Q],x=parseInt(Y,16)*U,U=1,Y=""):Y+=Q:e.hasOwnProperty(Q)?(uA+=e[Q],P[x]=parseInt(uA,16)*U,U=1,x=void 0,uA=""):uA+=Q;return S},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:s("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},d={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},v={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}}}")}};r.events.push(["addFont",function(m){var C=m.font,p=v.Unicode[C.postScriptName];p&&(C.metadata.Unicode={},C.metadata.Unicode.widths=p.widths,C.metadata.Unicode.kerning=p.kerning);var x=d.Unicode[C.postScriptName];x&&(C.metadata.Unicode.encoding=x,C.encoding=x.codePages[0])}])}(Ue.API),function(r){var A=function(e){for(var t=e.length,n=new Uint8Array(t),i=0;i<t;i++)n[i]=e.charCodeAt(i);return n};r.API.events.push(["addFont",function(e){var t=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(t=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(Ol(s)),a.metadata=r.API.TTFFont.open(s),a.metadata.Unicode=a.metadata.Unicode||{encoding:{},kerning:{},widths:[]},a.metadata.glyIdsUsed=[0]})(n,t)}}])}(Ue),function(r){function A(){return(Le.canvg?Promise.resolve(Le.canvg):Promise.resolve().then(()=>(_y(),Py))).catch(function(e){return Promise.reject(new Error("Could not load canvg: "+e))}).then(function(e){return e.default?e.default:e})}Ue.API.addSvgAsImage=function(e,t,n,i,a,s,c,d){if(isNaN(t)||isNaN(n))throw Ct.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(a))throw Ct.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var v=document.createElement("canvas");v.width=i,v.height=a;var m=v.getContext("2d");m.fillStyle="#fff",m.fillRect(0,0,v.width,v.height);var C={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},p=this;return A().then(function(x){return x.fromString(m,e,C)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(x){return x.render(C)}).then(function(){p.addImage(v.toDataURL("image/jpeg",1),t,n,i,a,c,d)})}}(),Ue.API.putTotalPages=function(r){var A,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(A=new RegExp(r,"g"),e=this.internal.getNumberOfPages()):(A=new RegExp(this.pdfEscape16(r,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var t=1;t<=this.internal.getNumberOfPages();t++)for(var n=0;n<this.internal.pages[t].length;n++)this.internal.pages[t][n]=this.internal.pages[t][n].replace(A,e);return this},Ue.API.viewerPreferences=function(r,A){var e;r=r||{},A=A||!1;var t,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),c=[],d=0,v=0,m=0;function C(x,Q){var S,U=!1;for(S=0;S<x.length;S+=1)x[S]===Q&&(U=!0);return U}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,r==="reset"||A===!0){var p=s.length;for(m=0;m<p;m+=1)e[s[m]].value=e[s[m]].defaultValue,e[s[m]].explicitSet=!1}if($e(r)==="object"){for(n in r)if(i=r[n],C(s,n)&&i!==void 0){if(e[n].type==="boolean"&&typeof i=="boolean")e[n].value=i;else if(e[n].type==="name"&&C(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(d=0;d<i.length;d+=1)if(t=!0,i[d].length===1&&typeof i[d][0]=="number")c.push(String(i[d]-1));else if(i[d].length>1){for(v=0;v<i[d].length;v+=1)typeof i[d][v]!="number"&&(t=!1);t===!0&&c.push([i[d][0]-1,i[d][1]-1].join(" "))}e[n].value="["+c.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 x,Q=[];for(x in e)e[x].explicitSet===!0&&(e[x].type==="name"?Q.push("/"+x+" /"+e[x].value):Q.push("/"+x+" "+e[x].value));Q.length!==0&&this.internal.write(`/ViewerPreferences
|
|
541
|
+
<<
|
|
542
|
+
`+Q.join(`
|
|
543
|
+
`)+`
|
|
544
|
+
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},function(r){var A=function(){var t='<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(t)),a=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),s=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),c=unescape(encodeURIComponent("</x:xmpmeta>")),d=i.length+a.length+s.length+n.length+c.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+d+" >>"),this.internal.write("stream"),this.internal.write(n+i+a+s+c),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")};r.addMetadata=function(t,n){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:t,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",e),this.internal.events.subscribe("postPutResources",A)),this}}(Ue.API),function(r){var A=r.API,e=A.pdfEscape16=function(i,a){for(var s,c=a.metadata.Unicode.widths,d=["","0","00","000","0000"],v=[""],m=0,C=i.length;m<C;++m){if(s=a.metadata.characterToGlyph(i.charCodeAt(m)),a.metadata.glyIdsUsed.push(s),a.metadata.toUnicode[s]=i.charCodeAt(m),c.indexOf(s)==-1&&(c.push(s),c.push([parseInt(a.metadata.widthOfGlyph(s),10)])),s=="0")return v.join("");s=s.toString(16),v.push(d[4-s.length],s)}return v.join("")},t=function(i){var a,s,c,d,v,m,C;for(v=`/CIDInit /ProcSet findresource begin
|
|
545
|
+
12 dict begin
|
|
546
|
+
begincmap
|
|
547
|
+
/CIDSystemInfo <<
|
|
548
|
+
/Registry (Adobe)
|
|
549
|
+
/Ordering (UCS)
|
|
550
|
+
/Supplement 0
|
|
551
|
+
>> def
|
|
552
|
+
/CMapName /Adobe-Identity-UCS def
|
|
553
|
+
/CMapType 2 def
|
|
554
|
+
1 begincodespacerange
|
|
555
|
+
<0000><ffff>
|
|
556
|
+
endcodespacerange`,c=[],m=0,C=(s=Object.keys(i).sort(function(p,x){return p-x})).length;m<C;m++)a=s[m],c.length>=100&&(v+=`
|
|
557
|
+
`+c.length+` beginbfchar
|
|
558
|
+
`+c.join(`
|
|
559
|
+
`)+`
|
|
560
|
+
endbfchar`,c=[]),i[a]!==void 0&&i[a]!==null&&typeof i[a].toString=="function"&&(d=("0000"+i[a].toString(16)).slice(-4),a=("0000"+(+a).toString(16)).slice(-4),c.push("<"+a+"><"+d+">"));return c.length&&(v+=`
|
|
561
|
+
`+c.length+` beginbfchar
|
|
562
|
+
`+c.join(`
|
|
563
|
+
`)+`
|
|
564
|
+
endbfchar
|
|
565
|
+
`),v+=`endcmap
|
|
566
|
+
CMapName currentdict /CMap defineresource pop
|
|
567
|
+
end
|
|
568
|
+
end`};A.events.push(["putFont",function(i){(function(a){var s=a.font,c=a.out,d=a.newObject,v=a.putStream;if(s.metadata instanceof r.API.TTFFont&&s.encoding==="Identity-H"){for(var m=s.metadata.Unicode.widths,C=s.metadata.subset.encode(s.metadata.glyIdsUsed,1),p="",x=0;x<C.length;x++)p+=String.fromCharCode(C[x]);var Q=d();v({data:p,addLength1:!0,objectId:Q}),c("endobj");var S=d();v({data:t(s.metadata.toUnicode),addLength1:!0,objectId:S}),c("endobj");var U=d();c("<<"),c("/Type /FontDescriptor"),c("/FontName /"+vu(s.fontName)),c("/FontFile2 "+Q+" 0 R"),c("/FontBBox "+r.API.PDFObject.convert(s.metadata.bbox)),c("/Flags "+s.metadata.flags),c("/StemV "+s.metadata.stemV),c("/ItalicAngle "+s.metadata.italicAngle),c("/Ascent "+s.metadata.ascender),c("/Descent "+s.metadata.decender),c("/CapHeight "+s.metadata.capHeight),c(">>"),c("endobj");var P=d();c("<<"),c("/Type /Font"),c("/BaseFont /"+vu(s.fontName)),c("/FontDescriptor "+U+" 0 R"),c("/W "+r.API.PDFObject.convert(m)),c("/CIDToGIDMap /Identity"),c("/DW 1000"),c("/Subtype /CIDFontType2"),c("/CIDSystemInfo"),c("<<"),c("/Supplement 0"),c("/Registry (Adobe)"),c("/Ordering ("+s.encoding+")"),c(">>"),c(">>"),c("endobj"),s.objectNumber=d(),c("<<"),c("/Type /Font"),c("/Subtype /Type0"),c("/ToUnicode "+S+" 0 R"),c("/BaseFont /"+vu(s.fontName)),c("/Encoding /"+s.encoding),c("/DescendantFonts ["+P+" 0 R]"),c(">>"),c("endobj"),s.isAlreadyPutted=!0}})(i)}]),A.events.push(["putFont",function(i){(function(a){var s=a.font,c=a.out,d=a.newObject,v=a.putStream;if(s.metadata instanceof r.API.TTFFont&&s.encoding==="WinAnsiEncoding"){for(var m=s.metadata.rawData,C="",p=0;p<m.length;p++)C+=String.fromCharCode(m[p]);var x=d();v({data:C,addLength1:!0,objectId:x}),c("endobj");var Q=d();v({data:t(s.metadata.toUnicode),addLength1:!0,objectId:Q}),c("endobj");var S=d();c("<<"),c("/Descent "+s.metadata.decender),c("/CapHeight "+s.metadata.capHeight),c("/StemV "+s.metadata.stemV),c("/Type /FontDescriptor"),c("/FontFile2 "+x+" 0 R"),c("/Flags 96"),c("/FontBBox "+r.API.PDFObject.convert(s.metadata.bbox)),c("/FontName /"+vu(s.fontName)),c("/ItalicAngle "+s.metadata.italicAngle),c("/Ascent "+s.metadata.ascender),c(">>"),c("endobj"),s.objectNumber=d();for(var U=0;U<s.metadata.hmtx.widths.length;U++)s.metadata.hmtx.widths[U]=parseInt(s.metadata.hmtx.widths[U]*(1e3/s.metadata.head.unitsPerEm));c("<</Subtype/TrueType/Type/Font/ToUnicode "+Q+" 0 R/BaseFont/"+vu(s.fontName)+"/FontDescriptor "+S+" 0 R/Encoding/"+s.encoding+" /FirstChar 29 /LastChar 255 /Widths "+r.API.PDFObject.convert(s.metadata.hmtx.widths)+">>"),c("endobj"),s.isAlreadyPutted=!0}})(i)}]);var n=function(i){var a,s=i.text||"",c=i.x,d=i.y,v=i.options||{},m=i.mutex||{},C=m.pdfEscape,p=m.activeFontKey,x=m.fonts,Q=p,S="",U=0,P="",q=x[Q].encoding;if(x[Q].encoding!=="Identity-H")return{text:s,x:c,y:d,options:v,mutex:m};for(P=s,Q=p,Array.isArray(s)&&(P=s[0]),U=0;U<P.length;U+=1)x[Q].metadata.hasOwnProperty("cmap")&&(a=x[Q].metadata.cmap.unicode.codeMap[P[U].charCodeAt(0)]),a||P[U].charCodeAt(0)<256&&x[Q].metadata.hasOwnProperty("Unicode")?S+=P[U]:S+="";var Y="";return parseInt(Q.slice(1))<14||q==="WinAnsiEncoding"?Y=C(S,Q).split("").map(function(uA){return uA.charCodeAt(0).toString(16)}).join(""):q==="Identity-H"&&(Y=e(S,x[Q])),m.isHex=!0,{text:Y,x:c,y:d,options:v,mutex:m}};A.events.push(["postProcessText",function(i){var a=i.text||"",s=[],c={text:a,x:i.x,y:i.y,options:i.options,mutex:i.mutex};if(Array.isArray(a)){var d=0;for(d=0;d<a.length;d+=1)Array.isArray(a[d])&&a[d].length===3?s.push([n(Object.assign({},c,{text:a[d][0]})).text,a[d][1],a[d][2]]):s.push(n(Object.assign({},c,{text:a[d]})).text);i.text=s}else i.text=n(Object.assign({},c,{text:a})).text}])}(Ue),function(r){var A=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};r.existsFileInVFS=function(e){return A.call(this),this.internal.vFS[e]!==void 0},r.addFileToVFS=function(e,t){return A.call(this),this.internal.vFS[e]=t,this},r.getFileFromVFS=function(e){return A.call(this),this.internal.vFS[e]!==void 0?this.internal.vFS[e]:null}}(Ue.API),function(r){r.__bidiEngine__=r.prototype.__bidiEngine__=function(t){var n,i,a,s,c,d,v,m=A,C=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],p=[[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]],x={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Q={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},S=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],U=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)$/),P=!1,q=0;this.__bidiEngine__={};var Y=function(_){var M=_.charCodeAt(),$=M>>8,G=Q[$];return G!==void 0?m[256*G+(255&M)]:$===252||$===253?"AL":U.test($)?"L":$===8?"R":"N"},uA=function(_){for(var M,$=0;$<_.length;$++){if((M=Y(_.charAt($)))==="L")return!1;if(M==="R")return!0}return!1},wA=function(_,M,$,G){var yA,fA,UA,AA,vA=M[G];switch(vA){case"L":case"R":P=!1;break;case"N":case"AN":break;case"EN":P&&(vA="AN");break;case"AL":P=!0,vA="R";break;case"WS":vA="N";break;case"CS":G<1||G+1>=M.length||(yA=$[G-1])!=="EN"&&yA!=="AN"||(fA=M[G+1])!=="EN"&&fA!=="AN"?vA="N":P&&(fA="AN"),vA=fA===yA?fA:"N";break;case"ES":vA=(yA=G>0?$[G-1]:"B")==="EN"&&G+1<M.length&&M[G+1]==="EN"?"EN":"N";break;case"ET":if(G>0&&$[G-1]==="EN"){vA="EN";break}if(P){vA="N";break}for(UA=G+1,AA=M.length;UA<AA&&M[UA]==="ET";)UA++;vA=UA<AA&&M[UA]==="EN"?"EN":"N";break;case"NSM":if(a&&!s){for(AA=M.length,UA=G+1;UA<AA&&M[UA]==="NSM";)UA++;if(UA<AA){var QA=_[G],jA=QA>=1425&&QA<=2303||QA===64286;if(yA=M[UA],jA&&(yA==="R"||yA==="AL")){vA="R";break}}}vA=G<1||(yA=M[G-1])==="B"?"N":$[G-1];break;case"B":P=!1,n=!0,vA=q;break;case"S":i=!0,vA="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":P=!1;break;case"BN":vA="N"}return vA},J=function(_,M,$){var G=_.split("");return $&&z(G,$,{hiLevel:q}),G.reverse(),M&&M.reverse(),G.join("")},z=function(_,M,$){var G,yA,fA,UA,AA,vA=-1,QA=_.length,jA=0,L=[],V=q?p:C,X=[];for(P=!1,n=!1,i=!1,yA=0;yA<QA;yA++)X[yA]=Y(_[yA]);for(fA=0;fA<QA;fA++){if(AA=jA,L[fA]=wA(_,X,L,fA),G=240&(jA=V[AA][x[L[fA]]]),jA&=15,M[fA]=UA=V[jA][5],G>0)if(G===16){for(yA=vA;yA<fA;yA++)M[yA]=1;vA=-1}else vA=-1;if(V[jA][6])vA===-1&&(vA=fA);else if(vA>-1){for(yA=vA;yA<fA;yA++)M[yA]=UA;vA=-1}X[fA]==="B"&&(M[fA]=0),$.hiLevel|=UA}i&&function(Z,sA,mA){for(var FA=0;FA<mA;FA++)if(Z[FA]==="S"){sA[FA]=q;for(var bA=FA-1;bA>=0&&Z[bA]==="WS";bA--)sA[bA]=q}}(X,M,QA)},hA=function(_,M,$,G,yA){if(!(yA.hiLevel<_)){if(_===1&&q===1&&!n)return M.reverse(),void($&&$.reverse());for(var fA,UA,AA,vA,QA=M.length,jA=0;jA<QA;){if(G[jA]>=_){for(AA=jA+1;AA<QA&&G[AA]>=_;)AA++;for(vA=jA,UA=AA-1;vA<UA;vA++,UA--)fA=M[vA],M[vA]=M[UA],M[UA]=fA,$&&(fA=$[vA],$[vA]=$[UA],$[UA]=fA);jA=AA}jA++}}},CA=function(_,M,$){var G=_.split(""),yA={hiLevel:q};return $||($=[]),z(G,$,yA),function(fA,UA,AA){if(AA.hiLevel!==0&&v)for(var vA,QA=0;QA<fA.length;QA++)UA[QA]===1&&(vA=S.indexOf(fA[QA]))>=0&&(fA[QA]=S[vA+1])}(G,$,yA),hA(2,G,M,$,yA),hA(1,G,M,$,yA),G.join("")};return this.__bidiEngine__.doBidiReorder=function(_,M,$){if(function(yA,fA){if(fA)for(var UA=0;UA<yA.length;UA++)fA[UA]=UA;s===void 0&&(s=uA(yA)),d===void 0&&(d=uA(yA))}(_,M),a||!c||d)if(a&&c&&s^d)q=s?1:0,_=J(_,M,$);else if(!a&&c&&d)q=s?1:0,_=CA(_,M,$),_=J(_,M);else if(!a||s||c||d){if(a&&!c&&s^d)_=J(_,M),s?(q=0,_=CA(_,M,$)):(q=1,_=CA(_,M,$),_=J(_,M));else if(a&&s&&!c&&d)q=1,_=CA(_,M,$),_=J(_,M);else if(!a&&!c&&s^d){var G=v;s?(q=1,_=CA(_,M,$),q=0,v=!1,_=CA(_,M,$),v=G):(q=0,_=CA(_,M,$),_=J(_,M),q=1,v=!1,_=CA(_,M,$),v=G,_=J(_,M))}}else q=0,_=CA(_,M,$);else q=s?1:0,_=CA(_,M,$);return _},this.__bidiEngine__.setOptions=function(_){_&&(a=_.isInputVisual,c=_.isOutputVisual,s=_.isInputRtl,d=_.isOutputRtl,v=_.isSymmetricSwapping)},this.__bidiEngine__.setOptions(t),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 r.__bidiEngine__({isInputVisual:!0});r.API.events.push(["postProcessText",function(t){var n=t.text,i=(t.x,t.y,t.options||{}),a=(t.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])]);t.text=a}else t.text=e.doBidiReorder(n);e.setOptions({isInputVisual:!0})}])}(Ue),Ue.API.TTFFont=function(){function r(A){var e;if(this.rawData=A,e=this.contents=new Es(A),this.contents.pos=4,e.readString(4)==="ttcf")throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new S6(this),this.registerTTF()}return r.open=function(A){return new r(A)},r.prototype.parse=function(){return this.directory=new p6(this.contents),this.head=new B6(this),this.name=new b6(this),this.cmap=new cC(this),this.toUnicode={},this.hhea=new w6(this),this.maxp=new F6(this),this.hmtx=new Q6(this),this.post=new y6(this),this.os2=new m6(this),this.loca=new I6(this),this.glyf=new U6(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]},r.prototype.registerTTF=function(){var A,e,t,n,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var a,s,c,d;for(d=[],a=0,s=(c=this.bbox).length;a<s;a++)A=c[a],d.push(Math.round(A*this.scaleFactor));return d}.call(this),this.stemV=0,this.post.exists?(t=255&(n=this.post.italic_angle),32768&(e=n>>16)&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+t)):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")},r.prototype.characterToGlyph=function(A){var e;return((e=this.cmap.unicode)!=null?e.codeMap[A]:void 0)||0},r.prototype.widthOfGlyph=function(A){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(A).advance*e},r.prototype.widthOfString=function(A,e,t){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))+t*(1e3/e)||0;return a*(e/1e3)},r.prototype.lineHeight=function(A,e){var t;return e==null&&(e=!1),t=e?this.lineGap:0,(this.ascender+t-this.decender)/1e3*A},r}();var Mi,Es=function(){function r(A){this.data=A??[],this.pos=0,this.length=this.data.length}return r.prototype.readByte=function(){return this.data[this.pos++]},r.prototype.writeByte=function(A){return this.data[this.pos++]=A},r.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},r.prototype.writeUInt32=function(A){return this.writeByte(A>>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A)},r.prototype.readInt32=function(){var A;return(A=this.readUInt32())>=2147483648?A-4294967296:A},r.prototype.writeInt32=function(A){return A<0&&(A+=4294967296),this.writeUInt32(A)},r.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},r.prototype.writeUInt16=function(A){return this.writeByte(A>>8&255),this.writeByte(255&A)},r.prototype.readInt16=function(){var A;return(A=this.readUInt16())>=32768?A-65536:A},r.prototype.writeInt16=function(A){return A<0&&(A+=65536),this.writeUInt16(A)},r.prototype.readString=function(A){var e,t;for(t=[],e=0;0<=A?e<A:e>A;e=0<=A?++e:--e)t[e]=String.fromCharCode(this.readByte());return t.join("")},r.prototype.writeString=function(A){var e,t,n;for(n=[],e=0,t=A.length;0<=t?e<t:e>t;e=0<=t?++e:--e)n.push(this.writeByte(A.charCodeAt(e)));return n},r.prototype.readShort=function(){return this.readInt16()},r.prototype.writeShort=function(A){return this.writeInt16(A)},r.prototype.readLongLong=function(){var A,e,t,n,i,a,s,c;return A=this.readByte(),e=this.readByte(),t=this.readByte(),n=this.readByte(),i=this.readByte(),a=this.readByte(),s=this.readByte(),c=this.readByte(),128&A?-1*(72057594037927940*(255^A)+281474976710656*(255^e)+1099511627776*(255^t)+4294967296*(255^n)+16777216*(255^i)+65536*(255^a)+256*(255^s)+(255^c)+1):72057594037927940*A+281474976710656*e+1099511627776*t+4294967296*n+16777216*i+65536*a+256*s+c},r.prototype.writeLongLong=function(A){var e,t;return e=Math.floor(A/4294967296),t=4294967295&A,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},r.prototype.readInt=function(){return this.readInt32()},r.prototype.writeInt=function(A){return this.writeInt32(A)},r.prototype.read=function(A){var e,t;for(e=[],t=0;0<=A?t<A:t>A;t=0<=A?++t:--t)e.push(this.readByte());return e},r.prototype.write=function(A){var e,t,n,i;for(i=[],t=0,n=A.length;t<n;t++)e=A[t],i.push(this.writeByte(e));return i},r}(),p6=function(){var r;function A(e){var t,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)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return A.prototype.encode=function(e){var t,n,i,a,s,c,d,v,m,C,p,x,Q;for(Q in p=Object.keys(e).length,c=Math.log(2),m=16*Math.floor(Math.log(p)/c),a=Math.floor(m/c),v=16*p-m,(n=new Es).writeInt(this.scalarType),n.writeShort(p),n.writeShort(m),n.writeShort(a),n.writeShort(v),i=16*p,d=n.pos+i,s=null,x=[],e)for(C=e[Q],n.writeString(Q),n.writeInt(r(C)),n.writeInt(d),n.writeInt(C.length),x=x.concat(C),Q==="head"&&(s=d),d+=C.length;d%4;)x.push(0),d++;return n.write(x),t=2981146554-r(n.data),n.pos=s+8,n.writeUInt32(t),n.data},r=function(e){var t,n,i,a;for(e=hC.call(e);e.length%4;)e.push(0);for(i=new Es(e),n=0,t=0,a=e.length;t<a;t=t+=4)n+=i.readUInt32();return 4294967295&n},A}(),v6={}.hasOwnProperty,ha=function(r,A){for(var e in A)v6.call(A,e)&&(r[e]=A[e]);function t(){this.constructor=r}return t.prototype=A.prototype,r.prototype=new t,r.__super__=A.prototype,r};Mi=function(){function r(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 r.prototype.parse=function(){},r.prototype.encode=function(){},r.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},r}();var B6=function(r){function A(){return A.__super__.constructor.apply(this,arguments)}return ha(A,Mi),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 t;return(t=new Es).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},A}(),AC=function(){function r(A,e){var t,n,i,a,s,c,d,v,m,C,p,x,Q,S,U,P,q;switch(this.platformID=A.readUInt16(),this.encodingID=A.readShort(),this.offset=e+A.readInt(),m=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(c=0;c<256;++c)this.codeMap[c]=A.readByte();break;case 4:for(p=A.readUInt16(),C=p/2,A.pos+=6,i=function(){var Y,uA;for(uA=[],c=Y=0;0<=C?Y<C:Y>C;c=0<=C?++Y:--Y)uA.push(A.readUInt16());return uA}(),A.pos+=2,Q=function(){var Y,uA;for(uA=[],c=Y=0;0<=C?Y<C:Y>C;c=0<=C?++Y:--Y)uA.push(A.readUInt16());return uA}(),d=function(){var Y,uA;for(uA=[],c=Y=0;0<=C?Y<C:Y>C;c=0<=C?++Y:--Y)uA.push(A.readUInt16());return uA}(),v=function(){var Y,uA;for(uA=[],c=Y=0;0<=C?Y<C:Y>C;c=0<=C?++Y:--Y)uA.push(A.readUInt16());return uA}(),n=(this.length-A.pos+this.offset)/2,s=function(){var Y,uA;for(uA=[],c=Y=0;0<=n?Y<n:Y>n;c=0<=n?++Y:--Y)uA.push(A.readUInt16());return uA}(),c=U=0,q=i.length;U<q;c=++U)for(S=i[c],t=P=x=Q[c];x<=S?P<=S:P>=S;t=x<=S?++P:--P)v[c]===0?a=t+d[c]:(a=s[v[c]/2+(t-x)-(C-c)]||0)!==0&&(a+=d[c]),this.codeMap[t]=65535&a}A.pos=m}return r.encode=function(A,e){var t,n,i,a,s,c,d,v,m,C,p,x,Q,S,U,P,q,Y,uA,wA,J,z,hA,CA,_,M,$,G,yA,fA,UA,AA,vA,QA,jA,L,V,X,Z,sA,mA,FA,bA,VA,MA,Ae;switch(G=new Es,a=Object.keys(A).sort(function($A,pe){return $A-pe}),e){case"macroman":for(Q=0,S=function(){var $A=[];for(x=0;x<256;++x)$A.push(0);return $A}(),P={0:0},i={},yA=0,vA=a.length;yA<vA;yA++)P[bA=A[n=a[yA]]]==null&&(P[bA]=++Q),i[n]={old:A[n],new:P[A[n]]},S[n]=P[A[n]];return G.writeUInt16(1),G.writeUInt16(0),G.writeUInt32(12),G.writeUInt16(0),G.writeUInt16(262),G.writeUInt16(0),G.write(S),{charMap:i,subtable:G.data,maxGlyphID:Q+1};case"unicode":for(M=[],m=[],q=0,P={},t={},U=d=null,fA=0,QA=a.length;fA<QA;fA++)P[uA=A[n=a[fA]]]==null&&(P[uA]=++q),t[n]={old:uA,new:P[uA]},s=P[uA]-n,U!=null&&s===d||(U&&m.push(U),M.push(n),d=s),U=n;for(U&&m.push(U),m.push(65535),M.push(65535),CA=2*(hA=M.length),z=2*Math.pow(Math.log(hA)/Math.LN2,2),C=Math.log(z/2)/Math.LN2,J=2*hA-z,c=[],wA=[],p=[],x=UA=0,jA=M.length;UA<jA;x=++UA){if(_=M[x],v=m[x],_===65535){c.push(0),wA.push(0);break}if(_-($=t[_].new)>=32768)for(c.push(0),wA.push(2*(p.length+hA-x)),n=AA=_;_<=v?AA<=v:AA>=v;n=_<=v?++AA:--AA)p.push(t[n].new);else c.push($-_),wA.push(0)}for(G.writeUInt16(3),G.writeUInt16(1),G.writeUInt32(12),G.writeUInt16(4),G.writeUInt16(16+8*hA+2*p.length),G.writeUInt16(0),G.writeUInt16(CA),G.writeUInt16(z),G.writeUInt16(C),G.writeUInt16(J),mA=0,L=m.length;mA<L;mA++)n=m[mA],G.writeUInt16(n);for(G.writeUInt16(0),FA=0,V=M.length;FA<V;FA++)n=M[FA],G.writeUInt16(n);for(VA=0,X=c.length;VA<X;VA++)s=c[VA],G.writeUInt16(s);for(MA=0,Z=wA.length;MA<Z;MA++)Y=wA[MA],G.writeUInt16(Y);for(Ae=0,sA=p.length;Ae<sA;Ae++)Q=p[Ae],G.writeUInt16(Q);return{charMap:t,subtable:G.data,maxGlyphID:q+1}}},r}(),cC=function(r){function A(){return A.__super__.constructor.apply(this,arguments)}return ha(A,Mi),A.prototype.tag="cmap",A.prototype.parse=function(e){var t,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)t=new AC(e,this.offset),this.tables.push(t),t.isUnicode&&this.unicode==null&&(this.unicode=t);return!0},A.encode=function(e,t){var n,i;return t==null&&(t="macroman"),n=AC.encode(e,t),(i=new Es).writeUInt16(0),i.writeUInt16(1),n.table=i.data.concat(n.subtable),n},A}(),w6=function(r){function A(){return A.__super__.constructor.apply(this,arguments)}return ha(A,Mi),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}(),m6=function(r){function A(){return A.__super__.constructor.apply(this,arguments)}return ha(A,Mi),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 t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)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 t,n;for(n=[],t=0;t<2;t=++t)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}(),y6=function(r){function A(){return A.__super__.constructor.apply(this,arguments)}return ha(A,Mi),A.prototype.tag="post",A.prototype.parse=function(e){var t,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;)t=e.readByte(),i.push(this.names.push(e.readString(t)));return i;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 196608:break;case 262144:return this.map=function(){var s,c,d;for(d=[],a=s=0,c=this.file.maxp.numGlyphs;0<=c?s<c:s>c;a=0<=c?++s:--s)d.push(e.readUInt32());return d}.call(this)}},A}(),C6=function(r,A){this.raw=r,this.length=r.length,this.platformID=A.platformID,this.encodingID=A.encodingID,this.languageID=A.languageID},b6=function(r){function A(){return A.__super__.constructor.apply(this,arguments)}return ha(A,Mi),A.prototype.tag="name",A.prototype.parse=function(e){var t,n,i,a,s,c,d,v,m,C,p;for(e.pos=this.offset,e.readShort(),t=e.readShort(),c=e.readShort(),n=[],a=0;0<=t?a<t:a>t;a=0<=t?++a:--a)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+c+e.readShort()});for(d={},a=m=0,C=n.length;m<C;a=++m)i=n[a],e.pos=i.offset,v=e.readString(i.length),s=new C6(v,i),d[p=i.nameID]==null&&(d[p]=[]),d[i.nameID].push(s);this.strings=d,this.copyright=d[0],this.fontFamily=d[1],this.fontSubfamily=d[2],this.uniqueSubfamily=d[3],this.fontName=d[4],this.version=d[5];try{this.postscriptName=d[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=d[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=d[7],this.manufacturer=d[8],this.designer=d[9],this.description=d[10],this.vendorUrl=d[11],this.designerUrl=d[12],this.license=d[13],this.licenseUrl=d[14],this.preferredFamily=d[15],this.preferredSubfamily=d[17],this.compatibleFull=d[18],this.sampleText=d[19]},A}(),F6=function(r){function A(){return A.__super__.constructor.apply(this,arguments)}return ha(A,Mi),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}(),Q6=function(r){function A(){return A.__super__.constructor.apply(this,arguments)}return ha(A,Mi),A.prototype.tag="hmtx",A.prototype.parse=function(e){var t,n,i,a,s,c,d;for(e.pos=this.offset,this.metrics=[],t=0,c=this.file.hhea.numberOfMetrics;0<=c?t<c:t>c;t=0<=c?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(i=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var v,m;for(m=[],t=v=0;0<=i?v<i:v>i;t=0<=i?++v:--v)m.push(e.readInt16());return m}(),this.widths=function(){var v,m,C,p;for(p=[],v=0,m=(C=this.metrics).length;v<m;v++)a=C[v],p.push(a.advance);return p}.call(this),n=this.widths[this.widths.length-1],d=[],t=s=0;0<=i?s<i:s>i;t=0<=i?++s:--s)d.push(this.widths.push(n));return d},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}(),hC=[].slice,U6=function(r){function A(){return A.__super__.constructor.apply(this,arguments)}return ha(A,Mi),A.prototype.tag="glyf",A.prototype.parse=function(){return this.cache={}},A.prototype.glyphFor=function(e){var t,n,i,a,s,c,d,v,m,C;return e in this.cache?this.cache[e]:(a=this.file.loca,t=this.file.contents,n=a.indexOf(e),(i=a.lengthOf(e))===0?this.cache[e]=null:(t.pos=this.offset+n,s=(c=new Es(t.read(i))).readShort(),v=c.readShort(),C=c.readShort(),d=c.readShort(),m=c.readShort(),this.cache[e]=s===-1?new E6(c,v,C,d,m):new x6(c,s,v,C,d,m),this.cache[e]))},A.prototype.encode=function(e,t,n){var i,a,s,c,d;for(s=[],a=[],c=0,d=t.length;c<d;c++)i=e[t[c]],a.push(s.length),i&&(s=s.concat(i.encode(n)));return a.push(s.length),{table:s,offsets:a}},A}(),x6=function(){function r(A,e,t,n,i,a){this.raw=A,this.numberOfContours=e,this.xMin=t,this.yMin=n,this.xMax=i,this.yMax=a,this.compound=!1}return r.prototype.encode=function(){return this.raw.data},r}(),E6=function(){function r(A,e,t,n,i){var a,s;for(this.raw=A,this.xMin=e,this.yMin=t,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 r.prototype.encode=function(){var A,e,t;for(e=new Es(hC.call(this.raw.data)),A=0,t=this.glyphIDs.length;A<t;++A)e.pos=this.glyphOffsets[A];return e.data},r}(),I6=function(r){function A(){return A.__super__.constructor.apply(this,arguments)}return ha(A,Mi),A.prototype.tag="loca",A.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=t===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,t){for(var n=new Uint32Array(this.offsets.length),i=0,a=0,s=0;s<n.length;++s)if(n[s]=i,a<t.length&&t[a]==s){++a,n[s]=i;var c=this.offsets[s],d=this.offsets[s+1]-c;d>0&&(i+=d)}for(var v=new Array(4*n.length),m=0;m<n.length;++m)v[4*m+3]=255&n[m],v[4*m+2]=(65280&n[m])>>8,v[4*m+1]=(16711680&n[m])>>16,v[4*m]=(4278190080&n[m])>>24;return v},A}(),S6=function(){function r(A){this.font=A,this.subset={},this.unicodes={},this.next=33}return r.prototype.generateCmap=function(){var A,e,t,n,i;for(e in n=this.font.cmap.tables[0].codeMap,A={},i=this.subset)t=i[e],A[e]=n[t];return A},r.prototype.glyphsFor=function(A){var e,t,n,i,a,s,c;for(n={},a=0,s=A.length;a<s;a++)n[i=A[a]]=this.font.glyf.glyphFor(i);for(i in e=[],n)(t=n[i])!=null&&t.compound&&e.push.apply(e,t.glyphIDs);if(e.length>0)for(i in c=this.glyphsFor(e))t=c[i],n[i]=t;return n},r.prototype.encode=function(A,e){var t,n,i,a,s,c,d,v,m,C,p,x,Q,S,U;for(n in t=cC.encode(this.generateCmap(),"unicode"),a=this.glyphsFor(A),p={0:0},U=t.charMap)p[(c=U[n]).old]=c.new;for(x in C=t.maxGlyphID,a)x in p||(p[x]=C++);return v=function(P){var q,Y;for(q in Y={},P)Y[P[q]]=q;return Y}(p),m=Object.keys(v).sort(function(P,q){return P-q}),Q=function(){var P,q,Y;for(Y=[],P=0,q=m.length;P<q;P++)s=m[P],Y.push(v[s]);return Y}(),i=this.font.glyf.encode(a,Q,p),d=this.font.loca.encode(i.offsets,Q),S={cmap:this.font.cmap.raw(),glyf:i.table,loca:d,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&&(S["OS/2"]=this.font.os2.raw()),this.font.directory.encode(S)},r}();Ue.API.PDFObject=function(){var r;function A(){}return r=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},A.convert=function(e){var t,n,i,a;if(Array.isArray(e))return"["+function(){var s,c,d;for(d=[],s=0,c=e.length;s<c;s++)t=e[s],d.push(A.convert(t));return d}().join(" ")+"]";if(typeof e=="string")return"/"+e;if(e?.isString)return"("+e+")";if(e instanceof Date)return"(D:"+r(e.getUTCFullYear(),4)+r(e.getUTCMonth(),2)+r(e.getUTCDate(),2)+r(e.getUTCHours(),2)+r(e.getUTCMinutes(),2)+r(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(`
|
|
569
|
+
`)}return""+e},A}();var s0={in:1,inch:1,inches:1,cm:.39370078740157477,mm:.03937007874015748,pt:.013888888888888888,px:null};function L6(r){let e=String(r).trim().toLowerCase().match(/^([0-9]*\.?[0-9]+)\s*([a-z%]*)$/);return e?{number:Number(e[1]),unit:e[2]||null}:null}function bf(r,A={}){if(r===null||typeof r>"u")return null;let e=typeof A.dpi=="number"?A.dpi:96,t=A.defaultUnit||null;if(typeof r=="number")return t&&s0[t]?r*s0[t]*e:r;let n=L6(r);if(!n)return null;let i=n.unit||t||"px";if(i==="px")return n.number;let a=s0[i];return a?n.number*a*e:null}function fC(r={},A={}){let e=typeof r.pageDPI=="number"?r.pageDPI:typeof r.paperDPI=="number"?r.paperDPI:typeof r.dpi=="number"?r.dpi:96,t=typeof r.pageUnit=="string"?r.pageUnit:typeof r.paperUnit=="string"?r.paperUnit:typeof r.unit=="string"?r.unit:null,n=null,i=null;if(r.pageSize&&(Array.isArray(r.pageSize)?(n=r.pageSize[0],i=r.pageSize[1]):typeof r.pageSize=="object"&&(n=r.pageSize.width,i=r.pageSize.height)),typeof r.pageWidth<"u"&&(n=r.pageWidth),typeof r.pageHeight<"u"&&(i=r.pageHeight),typeof n>"u"||n===null||typeof i>"u"||i===null){let v=null,m=null;r.paperSize&&(Array.isArray(r.paperSize)?(v=r.paperSize[0],m=r.paperSize[1]):typeof r.paperSize=="object"&&(v=r.paperSize.width,m=r.paperSize.height)),typeof r.paperWidth<"u"&&(v=r.paperWidth),typeof r.paperHeight<"u"&&(m=r.paperHeight);let C=bf(v,{dpi:e,defaultUnit:t}),p=bf(m,{dpi:e,defaultUnit:t});typeof C=="number"&&typeof p=="number"&&(n=p/4,i=C/2)}let a=bf(n,{dpi:e,defaultUnit:t}),s=bf(i,{dpi:e,defaultUnit:t}),c=typeof a=="number"?a:A.width,d=typeof s=="number"?s:A.height;return typeof a=="number"&&typeof s!="number"&&A.ratio&&(d=a/A.ratio),typeof s=="number"&&typeof a!="number"&&A.ratio&&(c=s*A.ratio),{width:c,height:d,dpi:e}}var gC=[{key:"cover",label:"cover",pageSize:"single",widthMultiplier:1},{key:"one",label:"one",pageSize:"full",widthMultiplier:2},{key:"two",label:"two",pageSize:"full",widthMultiplier:2},{key:"three",label:"three",pageSize:"full",widthMultiplier:2},{key:"back",label:"back",pageSize:"single",widthMultiplier:1}],bu={maxSinglePageWidth:400,rWidth:198,rHeight:306,pWidth:800,frameRate:10,pixelDensity:1},wn={CANVAS:"canvas",PAGES:"pages"},Pl=null;function gi(r){return typeof window<"u"&&r===window&&typeof p5<"u"&&p5.instance?p5.instance:r}var o0=class{constructor(A,e,t,n){this.key=e.key,this.label=e.label,this.pageSize=e.pageSize,this.widthMultiplier=e.widthMultiplier,this.graphics=A.createGraphics(t*e.widthMultiplier,n),this.graphics.pageSize=e.pageSize,this.canvasEl=this.graphics.canvas||this.graphics.elt||null,this.wrapper=null,this.labelEl=null}},u0=class{constructor(A){this.p=gi(A),this.canvas=null,this.pages=[],this.pageMap=new Map,this.graphicsMap=new Map,this.pageContainer=null,this.borderYes=!0,this.previewMode=wn.PAGES,this.lastPointer=null,this.pointerBound=!1,this.maxSinglePageWidth=bu.maxSinglePageWidth,this.rWidth=bu.rWidth,this.rHeight=bu.rHeight,this.pageRatio=this.rWidth/this.rHeight,this.pWidth=bu.pWidth,this.pHeight=this.pWidth/this.pageRatio,this.pageDPI=96,this.aWidth=0,this.aHeight=0,this.gap=0,this.frameRate=bu.frameRate,this.pixelDensity=bu.pixelDensity,this.downloadBackground="#ffffff",this.downloadFormat="png",this.mousePadding=0,this.clampMouse=!0}init(){this.applyConfig(),this.createRootCanvas(),this.previewMode===wn.CANVAS&&this.updateAdaptiveWidth(),this.createPages(),this.applyCoreSettings(),this.updateTitle(),this.updateDownloadLabels(),this.initCapture(),this.previewMode===wn.CANVAS?this.resizeCanvas():(this.mountPages(),this.layoutPages(),this.bindPointerTracking())}applyConfig(){if(typeof window>"u")return;typeof window.zine=="object"&&window.zine!==null&&(this.frameRate=typeof window.zine.frameRate<"u"?window.zine.frameRate:this.frameRate,this.pixelDensity=typeof window.zine.pixelDensity<"u"?window.zine.pixelDensity:this.pixelDensity);let{width:A,height:e,dpi:t}=fC(window.zine||{},{width:this.pWidth,height:this.pHeight,ratio:this.pageRatio});typeof A=="number"&&typeof e=="number"&&(this.pWidth=A,this.pHeight=e,this.pageRatio=A/e),typeof t=="number"&&(this.pageDPI=t);let n=window.zine?.preview;if(n===wn.CANVAS?this.previewMode=wn.CANVAS:(n===wn.PAGES||n==="dom")&&(this.previewMode=wn.PAGES),typeof window.zine?.downloadBackground<"u"&&(this.downloadBackground=window.zine.downloadBackground),typeof window.zine?.downloadFormat=="string"){let i=window.zine.downloadFormat.toLowerCase();(i==="png"||i==="jpg"||i==="jpeg")&&(this.downloadFormat=i==="jpeg"?"jpg":i)}typeof window.zine?.mousePadding=="number"&&(this.mousePadding=window.zine.mousePadding),typeof window.zine?.mouseClamp=="boolean"&&(this.clampMouse=window.zine.mouseClamp)}createRootCanvas(){if(this.previewMode===wn.CANVAS){let A=this.getWindowWidth();this.canvas=this.p.createCanvas(A-17,A*3.3),this.canvas.parent("#myCanvas");return}this.canvas=this.p.createCanvas(1,1),this.canvas.hide()}getWindowWidth(){return typeof windowWidth<"u"?windowWidth:typeof this.p.windowWidth<"u"?this.p.windowWidth:typeof window<"u"?window.innerWidth:this.p.width||0}getMaxCanvasWidth(){return this.maxSinglePageWidth*2/.7}createPages(){this.pages=gC.map(e=>new o0(this.p,e,this.pWidth,this.pHeight)),this.pageMap=new Map(this.pages.map(e=>[e.key,e])),this.graphicsMap=new Map(this.pages.map(e=>[e.graphics,e])),this.pages.forEach(e=>{typeof e.graphics.pixelDensity=="function"&&e.graphics.pixelDensity(this.pixelDensity),typeof e.graphics.frameRate=="function"&&e.graphics.frameRate(this.frameRate)});let A=this.pages.map(e=>e.graphics);this.pages.forEach(e=>{this.p[e.key]=e.graphics}),this.p.all=A}mountPages(){if(typeof document>"u")return;let A=document.querySelector("#myCanvas")||document.body;this.pageContainer=A,A.classList.add("zine-pages"),A.querySelectorAll(".zine-page").forEach(e=>e.remove()),this.pages.forEach(e=>{let t=e.canvasEl||e.graphics.canvas||e.graphics.elt;if(!t)return;let n=document.createElement("div");n.className="zine-page";let i=document.createElement("div");i.className="zine-page-label",i.textContent=e.label||"",t.classList.add("zine-page-canvas"),t.style.display="block",n.appendChild(i),n.appendChild(t),A.appendChild(n),e.canvasEl=t,e.wrapper=n,e.labelEl=i}),this.setPreviewChromeVisible(this.borderYes)}layoutPages(){if(!this.pageContainer)return;let A=this.pageContainer.clientWidth||(typeof window<"u"?window.innerWidth:0),t=Math.max(0,A-32);this.pages.forEach(n=>{let i=n.canvasEl;if(!i)return;let a=t>0?Math.min(1,t/n.graphics.width):1,s=Math.round(n.graphics.width*a),c=Math.round(n.graphics.height*a);i.style.width=`${s}px`,i.style.height=`${c}px`,n.wrapper&&(n.wrapper.style.width=`${s}px`)})}setPreviewChromeVisible(A){this.pageContainer&&this.pageContainer.classList.toggle("zine-preview-hidden",!A)}bindPointerTracking(){if(this.pointerBound||typeof window>"u")return;this.pointerBound=!0;let A=e=>{this.lastPointer={x:e.clientX,y:e.clientY}};window.addEventListener("pointermove",A),window.addEventListener("pointerdown",A),this.pointerHandler=A}applyCoreSettings(){this.p.pixelDensity(this.pixelDensity),this.p.frameRate(this.frameRate),this.p.angleMode(this.p.DEGREES),this.p.noStroke()}updateAdaptiveWidth(){this.previewMode===wn.CANVAS&&(this.aWidth=Math.min(this.p.width/2*.7,this.maxSinglePageWidth),this.aHeight=this.pageRatio?this.aWidth/this.pageRatio:this.aWidth,this.gap=this.aWidth/4)}resizeCanvas(){if(this.previewMode!==wn.CANVAS){this.layoutPages();return}let A=this.getWindowWidth(),e=this.getMaxCanvasWidth();A>=e?this.p.resizeCanvas(e,e*3.3):this.p.resizeCanvas(A-17,A*3.3)}updateTitle(){if(!(typeof window>"u")&&typeof window.zine=="object"&&window.zine!==null){let A=document.querySelector("#genTitle"),e=document.querySelector("#author"),t=document.querySelector("#des");A&&(A.innerHTML=window.zine?.title||"Default Title"),e&&(e.innerHTML=window.zine?.author?`by <a href="${window.zine?.personalUrl||"#"}">${window.zine?.author}</a>`:"by Unknown Author"),t&&(t.innerHTML=window.zine?.description||"No description available.")}}updateDownloadLabels(){if(typeof document>"u")return;let A=document.getElementById("download-jpg");if(!A)return;let e=this.downloadFormat==="png"?"png":"jpg";A.value=`*download .${e}*`}initCapture(){typeof window>"u"||typeof window.zine<"u"&&(window.zine?.cam===!1||window.zine?.cam==="false"||window.zine?.cam==="False"||window.zine?.cam==="FALSE")||(this.p.selfie=this.p.createCapture(this.p.VIDEO),this.p.selfie.hide())}getLayout(){if(this.previewMode!==wn.CANVAS)return[];let A=this.p.width;return this.pages.map((e,t)=>{let n=e.pageSize==="single",i=this.aWidth*(n?1:2),a=this.aHeight,s=A/2-(n?this.aWidth/2:this.aWidth),c=this.gap+(this.aHeight+this.gap)*t;return{page:e,index:t,x:s,y:c,width:i,height:a,isSingle:n}})}drawPreview(){if(this.previewMode!==wn.CANVAS||!this.borderYes)return;let A=this.p,e=this.getLayout();A.push(),e.forEach(t=>{A.image(t.page.graphics,t.x,t.y,t.width,t.height)}),A.noStroke(),A.fill("#ed225d"),A.textSize(15),A.textFont("monospace"),e.forEach(t=>{t.page.label&&A.text(t.page.label,t.x,t.y-10)}),A.noFill(),A.stroke("#ed225d"),A.strokeWeight(1),e.forEach(t=>{t.isSingle?A.rect(t.x,t.y,this.aWidth,this.aHeight):(A.rect(t.x,t.y,this.aWidth,this.aHeight),A.rect(t.x+this.aWidth,t.y,this.aWidth,this.aHeight))}),A.pop()}setPagesPixelDensity(A){this.pages.forEach(e=>{e.graphics.pixelDensity(A)})}applyPreviewPixelDensity(){let A=this.pixelDensity;typeof this.p.pixelDensity=="function"&&this.p.pixelDensity()!==A&&this.p.pixelDensity(A),this.pages.forEach(e=>{typeof e.graphics.pixelDensity=="function"&&e.graphics.pixelDensity()!==A&&e.graphics.pixelDensity(A),typeof e.graphics.frameRate=="function"&&e.graphics.frameRate(this.frameRate)})}updateMousePositions(){let A=this.pages.map(e=>e.graphics);this.updateMousePositionsFor(A)}updateMousePositionsFor(A){if(!A||A.length===0)return;let e=this.mousePadding??0;if(this.previewMode===wn.CANVAS){if(this.aWidth===0)return;let t=this.pWidth/this.aWidth;A.forEach((n,i)=>{if(!n)return;let a=n.width===this.pWidth,s=this.p.width/2-(a?this.aWidth/2:this.aWidth),c=this.gap+(this.aHeight+this.gap)*i,d=this.clampMouse?0:-e,v=this.clampMouse?n.width:n.width+e,m=this.clampMouse?n.height:n.height+e,C=(this.p.mouseX-s)*t,p=(this.p.mouseY-c)*t,x=C>=0&&C<=n.width&&p>=0&&p<=n.height;if(n.mouseHere=x,!x){n.mouseX=null,n.mouseY=null;return}n.mouseX=this.p.constrain(C,d,v),n.mouseY=this.p.constrain(p,d,m)});return}this.updateMousePositionsFromPointer(A)}updateMousePositionsFromPointer(A){if(!this.lastPointer)return;let e=this.mousePadding??0;A.forEach(t=>{let i=this.graphicsMap.get(t)?.canvasEl;if(!i)return;let a=i.getBoundingClientRect();if(a.width===0||a.height===0)return;let s=t.width/a.width,c=t.height/a.height,d=(this.lastPointer.x-a.left)*s,v=(this.lastPointer.y-a.top)*c,m=this.clampMouse?0:-e,C=this.clampMouse?t.width:t.width+e,p=this.clampMouse?t.height:t.height+e,x=this.lastPointer.x>=a.left&&this.lastPointer.x<=a.right&&this.lastPointer.y>=a.top&&this.lastPointer.y<=a.bottom;if(t.mouseHere=x,!x){t.mouseX=null,t.mouseY=null;return}t.mouseX=this.p.constrain(d,m,C),t.mouseY=this.p.constrain(v,m,p)})}getPage(A){return this.pageMap.get(A)?.graphics||null}getDownloadBackground(){return this.downloadBackground===null||this.downloadBackground===!1||this.downloadBackground==="transparent"||this.downloadBackground==="none"?null:this.downloadBackground||"#ffffff"}buildPageExportGraphic(A){let e=this.p.createGraphics(A.width,A.height);e.pixelDensity(this.pixelDensity);let t=this.getDownloadBackground();return t?e.background(t):e.clear(),e.image(A,0,0),e}drawPrintLayout(A,e){let t=e?90:A.HALF_PI,n=this.getPage("cover"),i=this.getPage("one"),a=this.getPage("two"),s=this.getPage("three"),c=this.getPage("back");A.push(),A.rotate(t),A.translate(A.height-this.pWidth,-this.pHeight),A.image(n,0,0),A.pop(),A.push(),A.rotate(-t),A.translate(-A.height,this.pHeight),A.image(i,0,0),A.pop(),A.push(),A.rotate(-t),A.translate(-A.height/2,this.pHeight),A.image(a,0,0),A.pop(),A.push(),A.rotate(t),A.translate(0,-this.pHeight),A.image(s,0,0),A.pop(),A.push(),A.rotate(t),A.translate(A.height-this.pWidth*2,-this.pHeight),A.image(c,0,0),A.pop()}buildPrintGraphics(){let A=this.p.createGraphics(this.pHeight*2,this.pWidth*4),e=this.p.angleMode()==="degrees";A.angleMode(e?A.DEGREES:A.RADIANS),A.pixelDensity(this.pixelDensity);let t=this.getDownloadBackground();return t?A.background(t):A.clear(),this.drawPrintLayout(A,e),A}printSetting(){let A=this.p,e=A.angleMode()==="degrees",t={width:A.width,height:A.height};A.push(),A.resizeCanvas(this.pHeight*2,this.pWidth*4),A.clear(),A.background(255),this.drawPrintLayout(A,e),A.pop(),this.previewMode!==wn.CANVAS&&A.resizeCanvas(t.width,t.height)}downloadJPG(){this.borderYes=!1,this.setPreviewChromeVisible(!1);let A=`${this.p.hour()}${this.p.minute()}${this.p.second()}`,e=this.downloadFormat==="png"?"png":"jpg";[{page:this.getPage("cover"),index:0},{page:this.getPage("one"),index:1},{page:this.getPage("two"),index:2},{page:this.getPage("three"),index:3},{page:this.getPage("back"),index:4}].forEach(({page:n,index:i})=>{if(!n)return;let a=this.buildPageExportGraphic(n);a.save(`${i}-genZ${A}.${e}`),typeof a.remove=="function"&&a.remove()}),this.borderYes=!0,this.setPreviewChromeVisible(!0)}downloadPDF(){this.borderYes=!1,this.setPreviewChromeVisible(!1);try{let A=this.buildPrintGraphics(),e=A?.canvas||A?.elt||A;if(!e)return;let t=e.toDataURL("image/jpeg",1),n=this.pHeight*2,i=this.pWidth*4,a=this.pageDPI||96,s=n/a,c=i/a,d=s>c?"l":"p",v=new Ue({orientation:d,unit:"in",format:[s,c]});v.addImage(t,"JPEG",0,0,s,c);let m;typeof window<"u"&&typeof window.zine=="object"&&window.zine!==null&&typeof window.zine?.title<"u"?m=window.zine.title:m="(gen)zine",/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())?window.open(v.output("bloburl",{filename:m})):v.save(`${m}.pdf`),typeof A?.remove=="function"&&A.remove()}finally{this.borderYes=!0,this.setPreviewChromeVisible(!0)}}};function dC(r,A,e){A.selfie=null,gC.forEach(t=>{A[t.key]=null}),A.all=[],A.initZine=function(){let t=gi(this);t._zine=new u0(t),Pl=t._zine,t._zine.init()},A.setupZine=function(){let t=gi(this);t._zine&&(t._zine.applyPreviewPixelDensity(),t._zine.updateMousePositions())},A.drawZine=function(){let t=gi(this);t._zine&&t._zine.drawPreview()},A.mousePosition=function(){let t=gi(this);t._zine&&t._zine.updateMousePositions()},A.changePixelDensity=function(t){let n=gi(this);n._zine&&n._zine.setPagesPixelDensity(t)},A.zinePageSize=function(t,n,i={}){if(!(typeof window>"u")){if(this._zine){console.warn("zinePageSize() should be called before setup; reload to apply changes.");return}window.zine=typeof window.zine=="object"&&window.zine!==null?window.zine:{},typeof t<"u"&&(window.zine.pageWidth=t),typeof n<"u"&&(window.zine.pageHeight=n),delete window.zine.paperWidth,delete window.zine.paperHeight,delete window.zine.paperSize,i&&typeof i=="object"&&(typeof i.dpi=="number"&&(window.zine.pageDPI=i.dpi),typeof i.unit=="string"&&(window.zine.pageUnit=i.unit))}},A.zinePaperSize=function(t,n,i={}){if(!(typeof window>"u")){if(this._zine){console.warn("zinePaperSize() should be called before setup; reload to apply changes.");return}window.zine=typeof window.zine=="object"&&window.zine!==null?window.zine:{},typeof t<"u"&&(window.zine.paperWidth=t),typeof n<"u"&&(window.zine.paperHeight=n),delete window.zine.pageWidth,delete window.zine.pageHeight,delete window.zine.pageSize,i&&typeof i=="object"&&(typeof i.dpi=="number"&&(window.zine.paperDPI=i.dpi),typeof i.unit=="string"&&(window.zine.paperUnit=i.unit))}},A.calMousePos=function(t){let n=gi(this);n._zine&&n._zine.updateMousePositionsFor(t||n._zine.pages.map(i=>i.graphics))},A.changeTitle=function(){let t=gi(this);t._zine&&t._zine.updateTitle()},A.updateAdaptiveWidth=function(){let t=gi(this);t._zine&&t._zine.updateAdaptiveWidth()},A.resizeZineCanvas=function(){let t=gi(this);t._zine&&t._zine.resizeCanvas()},A.printSetting=function(){let t=gi(this);t._zine&&t._zine.printSetting()},A.windowResized=function(){let t=gi(this);t._zine&&(t._zine.previewMode===wn.CANVAS&&t._zine.updateAdaptiveWidth(),t._zine.resizeCanvas())},e&&(e.postsetup=function(){typeof this.initZine=="function"&&this.initZine()},e.predraw=function(){typeof this.setupZine=="function"&&this.setupZine()},e.postdraw=function(){typeof this.drawZine=="function"&&this.drawZine()})}document.addEventListener("DOMContentLoaded",function(){document.getElementById("download-jpg").addEventListener("click",N6),document.getElementById("download-pdf").addEventListener("click",T6)});function N6(){Pl&&Pl.downloadJPG()}function T6(){Pl&&Pl.downloadPDF()}function pC(r,A){let e=(t,n)=>{A[t]=n,r?.Graphics?.prototype&&(r.Graphics.prototype[t]=n)};e("Background",function(t,n,i){if(typeof t=="string")if(t.indexOf("rgb")>-1){let a=t.slice(t.indexOf("(")+1,t.indexOf(")")).split(",");this.background(a.map(s=>Number(s)))}else this.background(t);this.background(t,n,i)}),e("selfieBackground",function(t,n,i){this.push(),this.translate(this.width,0),this.scale(-1,1),t!=null&&n!=null&&i!=null&&this.tint(t,n,i),selfie.height>selfie.width?this.image(selfie,0,0,this.width,this.height*selfie.height/selfie.width):this.image(selfie,-50,0,this.width*selfie.width/selfie.height,this.height),this.pop()}),e("rightCamera",function(){image(capture,0,0,this.width,this.width*capture.height/capture.width)}),e("randomLayout",function(t=["word"],n=7,i=5,a=20,s=!1){let c=n*10;this.push(),this.translate(this.width/2,this.height/2);for(let d=0;d<a;d++)for(let v=0;v<t.length;v++)if(s&&this.textSize(random(20,100)),typeof t[v]=="string")this.text(t[v],random(-(this.width/10)*i,this.width/10*i),random(-(this.height/10)*i,this.height/10*i));else if(typeof t[v]=="object"){let m=t[v].width/t[v].height;this.image(t[v],random(-(this.width/10)*i,this.width/10*i),random(-(this.height/10)*i,this.height/10*i),c*m*2,c*2)}this.pop()}),e("gridLayout",function(t=["word"],n=7,i=5,a=15,s=!1){this.push(),this.translate(10,30);let c=0,d=0,v=0,m=n*10;for(let C=0;C<a;C++)for(let p=0;p<t.length;p++){if(s){let x=int(random(5,10));c=floor(v/x),d=v%i}else c=floor(v/i),d=v%i;if(typeof t[p]=="string")this.text(t[p],d*m*2.5,c*m*2.5);else if(typeof t[p]=="object"){let x=t[p].width/t[p].height;this.image(t[p],d*m*2.5-m/2,c*m*2.5-m,m*x*2,m*2)}v++}this.pop()}),e("glitchLayout",function(t=["word"],n=7,i=5,a=20,s=!1){let c;s?c=random(100):c=random(10,20);for(let d=0;d<a;d++){let v=random(1,i);for(let m=0;m<t.length;m++){let C=random(this.width),p=random(this.height);for(let x=0;x<v;x++)if(typeof t[m]=="string")this.text(t[m],C+x*20,p+sin(x*c)*30);else if(typeof t[m]=="object"){let Q=t[m].width/t[m].height;this.image(t[m],C+x*30,p+sin(x*c)*40,10*Q*2*n+x*5,10*2*n)}}}}),e("leftBackground",function(t,n,i){if(this.push(),this.noStroke(),typeof t=="string")if(t.indexOf("rgb")>-1){let a=t.slice(t.indexOf("(")+1,t.indexOf(")")).split(",");this.fill(a.map(s=>Number(s)))}else this.fill(t);else this.fill(t,n,i);this.rect(0,0,this.width/2,this.height),this.pop()}),e("rightBackground",function(t,n,i){if(this.push(),this.noStroke(),typeof t=="string")if(t.indexOf("rgb")>-1){let a=t.slice(t.indexOf("(")+1,t.indexOf(")")).split(",");this.fill(a.map(s=>Number(s)))}else this.fill(t);else this.fill(t,n,i);this.rect(this.width/2,0,this.width/2,this.height),this.pop()}),e("fullPage",function(t){let n;if(typeof t=="object")if(t.width>t.height){n=this.height;let i=t.width/t.height;this.image(t,0,0,n*i,n)}else{n=this.width;let i=t.height/t.width;this.image(t,0,0,n,n*i)}else this.text(t,10,10,this.width-20)}),e("leftPage",function(t,n,i){if(this.push(),this.translate(n,i),typeof t=="object"){if(this.push(),t.width>t.height){size=this.height;let a=t.width/t.height;this.image(t,0,0,size*a,size)}else{size=this.width/2;let a=t.height/t.width;this.image(t,0,0,size,size*a)}this.pop()}else this.push(),typeof t=="string"&&this.text(t,10,10,this.width/2-20),this.pop();this.pop()}),e("rightPage",function(t,n,i){if(this.push(),this.translate(n,i),typeof t=="object"){if(this.push(),this.translate(this.width/2,0),typeof t=="object")if(t.width>t.height){size=this.height;let a=t.width/t.height;this.image(t,0,0,size*a,size)}else{size=this.width/2;let a=t.height/t.width;this.image(t,0,0,size,size*a)}this.pop()}else this.push(),this.translate(this.width/2,0),typeof t=="string"&&this.text(t,10,10,this.width/2-20),this.pop();this.pop()}),e("textSet",function(t="Averia Libre",n=20,i=LEFT,a=n,s){typeof s<"u"&&typeof s!==null&&this.fill(s),this.textFont(t),this.textSize(n),this.textAlign(i),this.textLeading(a)}),e("textBox",function(t,n=0,i=0,a=this.width,s=this.height,c=50,d=!1){let v=t.split(`
|
|
570
|
+
`),m=this.textAscent()+this.textDescent(),C=i,p=n,x=this.textAlign().horizontal,Q=this.textAlign().vertical,S=[],U=0,P=0;for(let q of v){let Y=q.split(" "),uA=Y[0];for(let wA=1;wA<Y.length+1;wA++){let J=Y[wA],z=uA+" "+J;wA<Y.length&&ceil(this.textWidth(z))<a?uA=z:(P++,C+=m,C+m>i+s&&(S[U]=P,P=0,C=i,p+=a+c,U++),uA=J)}}S[U]=P,C=i,p=n,U=0,P=0;for(let q of v){let Y=q.split(" "),uA=Y[0];for(let wA=1;wA<Y.length+1;wA++){let J=Y[wA],z=uA+" "+J;if(wA<Y.length&&ceil(this.textWidth(z))<a)uA=z;else{let hA=0,CA=0;x===this.CENTER?hA=a/2:x===this.RIGHT&&(hA=a),Q===this.CENTER?CA=ceil((s-(S[U]-1)*m)/2):Q===this.BOTTOM&&(CA=ceil(s-(S[U]-1)*m)),this.text(uA,p+hA,C+CA),C+=m,C+m>i+s&&(C=i,p+=a+c,U++),uA=J}}}if(d===!0){this.push(),this.stroke(0,0,255),this.strokeWeight(1),this.noFill();let q=Math.ceil((p-n)/(a+c))+1;for(let Y=0;Y<q;Y++)this.rect(n+Y*(a+c),i,a,s);this.pop()}})}function H6(r){typeof p5>"u"||typeof p5.prototype.registerMethod=="function"&&(r.presetup&&p5.prototype.registerMethod("beforeSetup",r.presetup),r.postsetup&&p5.prototype.registerMethod("afterSetup",r.postsetup),r.predraw&&p5.prototype.registerMethod("pre",r.predraw),r.postdraw&&p5.prototype.registerMethod("post",r.postdraw),r.remove&&p5.prototype.registerMethod("remove",r.remove))}function O6(){if(typeof p5>"u")return;let r={};dC(p5,p5.prototype,r),pC(p5,p5.prototype);let A=p5.prototype.initZine;p5.prototype.initZine=function(){if(typeof A=="function"&&A.call(this),typeof window>"u")return;["cover","one","two","three","back"].forEach(t=>{this[t]&&(window[t]=this[t])}),this.selfie&&(window.selfie=this.selfie),this.all&&(window.all=this.all)},H6(r)}O6();})();
|